Socket
Socket
Sign inDemoInstall

gsap-trial

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gsap-trial - npm Package Compare versions

Comparing version 3.11.5 to 3.12.0

4

CSSPlugin.js
/*!
* CSSPlugin 3.11.5
* CSSPlugin 3.12.0
* https://greensock.com

@@ -89,3 +89,3 @@ *

if (property in _transformProps) {
if (property in _transformProps && style) {
this.tfm = this.tfm || {};

@@ -92,0 +92,0 @@

/*!
* CSSRulePlugin 3.11.5
* CSSRulePlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let e,t,s,l,r=()=>"undefined"!=typeof window,n=()=>e||r()&&(e=window.gsap)&&e.registerPlugin&&e,i=()=>(t||(o(),l||console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")),t),o=i=>{e=i||n(),r()&&(s=document),e&&(l=e.plugins.css,l&&(t=1))};const u={version:"3.11.5",name:"cssRule",init(e,t,r,n,o){if(!i()||void 0===e.cssText)return!1;let u=e._gsProxy=e._gsProxy||s.createElement("div");this.ss=e,this.style=u.style,u.style.cssText=e.cssText,l.prototype.init.call(this,u,t,r,n,o)},render(e,t){let s,l=t._pt,r=t.style,n=t.ss;for(;l;)l.r(e,l.d),l=l._next;for(s=r.length;--s>-1;)n[r[s]]=r[r[s]]},getRule(e){i();let t,l,r,n,o=s.all?"rules":"cssRules",u=s.styleSheets,c=u.length,g=":"===e.charAt(0);for(e=(g?"":",")+e.split("::").join(":").toLowerCase()+",",g&&(n=[]);c--;){try{if(l=u[c][o],!l)continue;t=l.length}catch(e){console.warn(e);continue}for(;--t>-1;)if(r=l[t],r.selectorText&&-1!==(","+r.selectorText.split("::").join(":").toLowerCase()+",").indexOf(e)){if(!g)return r.style;n.push(r.style)}}return n},register:o};n()&&e.registerPlugin(u);export default u;export{u as CSSRulePlugin};
let e,t,s,l,r=()=>"undefined"!=typeof window,n=()=>e||r()&&(e=window.gsap)&&e.registerPlugin&&e,i=()=>(t||(o(),l||console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")),t),o=i=>{e=i||n(),r()&&(s=document),e&&(l=e.plugins.css,l&&(t=1))};const u={version:"3.12.0",name:"cssRule",init(e,t,r,n,o){if(!i()||void 0===e.cssText)return!1;let u=e._gsProxy=e._gsProxy||s.createElement("div");this.ss=e,this.style=u.style,u.style.cssText=e.cssText,l.prototype.init.call(this,u,t,r,n,o)},render(e,t){let s,l=t._pt,r=t.style,n=t.ss;for(;l;)l.r(e,l.d),l=l._next;for(s=r.length;--s>-1;)n[r[s]]=r[r[s]]},getRule(e){i();let t,l,r,n,o=s.all?"rules":"cssRules",u=s.styleSheets,c=u.length,g=":"===e.charAt(0);for(e=(g?"":",")+e.split("::").join(":").toLowerCase()+",",g&&(n=[]);c--;){try{if(l=u[c][o],!l)continue;t=l.length}catch(e){console.warn(e);continue}for(;--t>-1;)if(r=l[t],r.selectorText&&-1!==(","+r.selectorText.split("::").join(":").toLowerCase()+",").indexOf(e)){if(!g)return r.style;n.push(r.style)}}return n},register:o};n()&&e.registerPlugin(u);export default u;export{u as CSSRulePlugin};
/*!
* CustomBounce 3.11.5
* CustomBounce 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

let e,n,t,o=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,i=i=>{e=o(),t=e&&e.parseEase("_CE"),t?(n=1,e.parseEase("bounce").config=e=>"object"==typeof e?d("",e):d("bounce("+e+")",{strength:+e})):i&&console.warn("Please gsap.registerPlugin(CustomEase, CustomBounce)")},s=e=>{let n,t=e.length,o=1/e[t-2];for(n=2;n<t;n+=2)e[n]=~~(e[n]*o*1e3)/1e3;e[t-2]=1},r=function(){return String.fromCharCode.apply(null,arguments)},a=r(103,114,101,101,110,115,111,99,107,46,99,111,109),u=function(e){var n="undefined"!=typeof window,t=0===(n?window.location.href:"").indexOf(r(102,105,108,101,58,47,47))||-1!==e.indexOf(r(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(r(49,50,55,46,48,32,48,46,49)),o=[a,r(99,111,100,101,112,101,110,46,105,111),r(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),r(99,111,100,101,112,101,110,46,100,101,118),r(99,111,100,101,112,101,110,46,97,112,112),r(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),r(112,101,110,115,46,99,108,111,117,100),r(99,115,115,45,116,114,105,99,107,115,46,99,111,109),r(99,100,112,110,46,105,111),r(112,101,110,115,46,105,111),r(103,97,110,110,111,110,46,116,118),r(99,111,100,101,99,97,110,121,111,110,46,110,101,116),r(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),r(99,101,114,101,98,114,97,120,46,99,111,46,117,107),r(116,121,109,112,97,110,117,115,46,110,101,116),r(116,119,101,101,110,109,97,120,46,99,111,109),r(112,108,110,107,114,46,99,111),r(104,111,116,106,97,114,46,99,111,109),r(119,101,98,112,97,99,107,98,105,110,46,99,111,109),r(97,114,99,104,105,118,101,46,111,114,103),r(99,111,100,101,115,97,110,100,98,111,120,46,105,111),r(99,115,98,46,97,112,112),r(115,116,97,99,107,98,108,105,116,122,46,99,111,109),r(115,116,97,99,107,98,108,105,116,122,46,105,111),r(99,111,100,105,101,114,46,105,111),r(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),r(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),r(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),r(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),r(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),r(106,115,102,105,100,100,108,101,46,110,101,116)],i=function(){n&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",i):(document.removeEventListener("readystatechange",i),n&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(r(37,99,87,97,114,110,105,110,103),r(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(r(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"CustomBounce"+r(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(r(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),r(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},s=o.length;for(setTimeout(i,50);--s>-1;)if(-1!==e.indexOf(o[s]))return!0;return t||!setTimeout((function(){n&&(window.location.href=r(104,116,116,112,115,58,47,47)+a+r(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=CustomBounce&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),d=(e,o)=>{if(n||i(1),o=o||{},u){let n,i,r,a,u,d,c,f=.999,l=Math.min(f,o.strength||.7),g=l,w=(o.squash||0)/100,h=w,p=1/.03,m=.2,y=1,C=.1,v=[0,0,.07,0,.1,1,.1,1],x=[0,0,0,0,.1,0,.1,0];for(u=0;u<200&&(m*=g*((g+1)/2),y*=l*l,d=C+m,r=C+.49*m,a=1-y,n=C+y/p,i=r+.8*(r-n),w&&(C+=w,n+=w,r+=w,i+=w,d+=w,c=w/h,x.push(C-w,0,C-w,c,C-w/2,c,C,c,C,0,C,0,C,-.6*c,C+(d-C)/6,0,d,0),v.push(C-w,1,C,1,C,1),w*=l*l),v.push(C,1,n,a,r,a,i,a,d,1,d,1),l*=.95,p=y/(d-i),C=d,!(a>f));u++);if(o.endAtStart&&"false"!==o.endAtStart){if(r=-.1,v.unshift(r,1,r,1,-.07,0),h)for(w=2.5*h,r-=w,v.unshift(r,1,r,1,r,1),x.splice(0,6),x.unshift(r,0,r,0,r,1,r+w/2,1,r+w,1,r+w,0,r+w,0,r+w,-.6,r+w+.033,0),u=0;u<x.length;u+=2)x[u]-=r;for(u=0;u<v.length;u+=2)v[u]-=r,v[u+1]=1-v[u+1]}return w&&(s(x),x[2]="C"+x[2],t(o.squashID||e+"-squash","M"+x.join(","))),s(v),v[2]="C"+v[2],t(e,"M"+v.join(","))}};class c{constructor(e,n){this.ease=d(e,n)}static create(e,n){return d(e,n)}static register(n){e=n,i()}}o()&&e.registerPlugin(c),c.version="3.11.5";export default c;export{c as CustomBounce};
let e,t,n,o=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,i=i=>{e=o(),n=e&&e.parseEase("_CE"),n?(t=1,e.parseEase("bounce").config=e=>"object"==typeof e?c("",e):c("bounce("+e+")",{strength:+e})):i&&console.warn("Please gsap.registerPlugin(CustomEase, CustomBounce)")},s=e=>{let t,n=e.length,o=1/e[n-2];for(t=2;t<n;t+=2)e[t]=~~(e[t]*o*1e3)/1e3;e[n-2]=1},r=function(){return String.fromCharCode.apply(null,arguments)},a=r(103,114,101,101,110,115,111,99,107,46,99,111,109),u=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,d=function(t){var n="undefined"!=typeof window,o=0===(n?window.location.href:"").indexOf(r(102,105,108,101,58,47,47))||-1!==t.indexOf(r(108,111,99,97,108,104,111,115,116))||u.test(t),i=[a,r(99,111,100,101,112,101,110,46,105,111),r(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),r(99,111,100,101,112,101,110,46,100,101,118),r(99,111,100,101,112,101,110,46,97,112,112),r(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),r(112,101,110,115,46,99,108,111,117,100),r(99,115,115,45,116,114,105,99,107,115,46,99,111,109),r(99,100,112,110,46,105,111),r(112,101,110,115,46,105,111),r(103,97,110,110,111,110,46,116,118),r(99,111,100,101,99,97,110,121,111,110,46,110,101,116),r(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),r(99,101,114,101,98,114,97,120,46,99,111,46,117,107),r(116,121,109,112,97,110,117,115,46,110,101,116),r(116,119,101,101,110,109,97,120,46,99,111,109),r(112,108,110,107,114,46,99,111),r(104,111,116,106,97,114,46,99,111,109),r(119,101,98,112,97,99,107,98,105,110,46,99,111,109),r(97,114,99,104,105,118,101,46,111,114,103),r(99,111,100,101,115,97,110,100,98,111,120,46,105,111),r(99,115,98,46,97,112,112),r(115,116,97,99,107,98,108,105,116,122,46,99,111,109),r(115,116,97,99,107,98,108,105,116,122,46,105,111),r(99,111,100,105,101,114,46,105,111),r(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),r(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),r(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),r(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),r(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),r(106,115,102,105,100,100,108,101,46,110,101,116)],s=function(){if(n)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",s);else{document.removeEventListener("readystatechange",s);var t="object"==typeof e?e:n&&window.gsap;n&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(r(37,99,87,97,114,110,105,110,103),r(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(r(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"CustomBounce"+r(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(r(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),r(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},d=i.length;for(setTimeout(s,50);--d>-1;)if(-1!==t.indexOf(i[d]))return!0;return o||!setTimeout((function(){n&&(window.location.href=r(104,116,116,112,115,58,47,47)+a+r(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=CustomBounce&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),c=(e,o)=>{if(t||i(1),o=o||{},d){let t,i,r,a,u,d,c,f=.999,l=Math.min(f,o.strength||.7),g=l,h=(o.squash||0)/100,w=h,p=1/.03,m=.2,y=1,C=.1,v=[0,0,.07,0,.1,1,.1,1],E=[0,0,0,0,.1,0,.1,0];for(u=0;u<200&&(m*=g*((g+1)/2),y*=l*l,d=C+m,r=C+.49*m,a=1-y,t=C+y/p,i=r+.8*(r-t),h&&(C+=h,t+=h,r+=h,i+=h,d+=h,c=h/w,E.push(C-h,0,C-h,c,C-h/2,c,C,c,C,0,C,0,C,-.6*c,C+(d-C)/6,0,d,0),v.push(C-h,1,C,1,C,1),h*=l*l),v.push(C,1,t,a,r,a,i,a,d,1,d,1),l*=.95,p=y/(d-i),C=d,!(a>f));u++);if(o.endAtStart&&"false"!==o.endAtStart){if(r=-.1,v.unshift(r,1,r,1,-.07,0),w)for(h=2.5*w,r-=h,v.unshift(r,1,r,1,r,1),E.splice(0,6),E.unshift(r,0,r,0,r,1,r+h/2,1,r+h,1,r+h,0,r+h,0,r+h,-.6,r+h+.033,0),u=0;u<E.length;u+=2)E[u]-=r;for(u=0;u<v.length;u+=2)v[u]-=r,v[u+1]=1-v[u+1]}return h&&(s(E),E[2]="C"+E[2],n(o.squashID||e+"-squash","M"+E.join(","))),s(v),v[2]="C"+v[2],n(e,"M"+v.join(","))}};class f{constructor(e,t){this.ease=c(e,t)}static create(e,t){return c(e,t)}static register(t){e=t,i()}}o()&&e.registerPlugin(f),f.version="3.12.0";export default f;export{f as CustomBounce};
/*!
* CustomEase 3.11.5
* CustomEase 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let e=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,t=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,n=Math.PI/180,s=Math.sin,i=Math.cos,o=Math.abs,a=Math.sqrt,r=e=>Math.round(1e5*e)/1e5||0;function l(e,t,r,l,h,c,g,u,f){if(e===u&&t===f)return;r=o(r),l=o(l);let d=h%360*n,x=i(d),p=s(d),y=Math.PI,w=2*y,m=(e-u)/2,M=(t-f)/2,C=x*m+p*M,E=-p*m+x*M,b=C*C,v=E*E,S=b/(r*r)+v/(l*l);S>1&&(r=a(S)*r,l=a(S)*l);let N=r*r,L=l*l,O=(N*L-N*v-L*b)/(N*v+L*b);O<0&&(O=0);let P=(c===g?-1:1)*a(O),A=P*(r*E/l),D=P*(-l*C/r),V=(e+u)/2+(x*A-p*D),T=(t+f)/2+(p*A+x*D),_=(C-A)/r,q=(E-D)/l,G=(-C-A)/r,I=(-E-D)/l,R=_*_+q*q,W=(q<0?-1:1)*Math.acos(_/a(R)),j=(_*I-q*G<0?-1:1)*Math.acos((_*G+q*I)/a(R*(G*G+I*I)));isNaN(j)&&(j=y),!g&&j>0?j-=w:g&&j<0&&(j+=w),W%=w,j%=w;let z,H=Math.ceil(o(j)/(w/4)),Q=[],Z=j/H,U=4/3*s(Z/2)/(1+i(Z/2)),Y=x*r,k=p*r,B=p*-l,F=x*l;for(z=0;z<H;z++)C=i(h=W+z*Z),E=s(h),_=i(h+=Z),q=s(h),Q.push(C-U*E,E+U*C,_+U*q,q-U*_,_,q);for(z=0;z<Q.length;z+=2)C=Q[z],E=Q[z+1],Q[z]=C*Y+E*B+V,Q[z+1]=C*k+E*F+T;return Q[z-2]=u,Q[z-1]=f,Q}let h,c,g=()=>h||"undefined"!=typeof window&&(h=window.gsap)&&h.registerPlugin&&h,u=()=>{h=g(),h?(h.registerEase("_CE",M.create),c=1):console.warn("Please gsap.registerPlugin(CustomEase)")},f=e=>~~(1e3*e+(e<0?-.5:.5))/1e3,d=function(){return String.fromCharCode.apply(null,arguments)},x=d(103,114,101,101,110,115,111,99,107,46,99,111,109),p=function(e){var t="undefined"!=typeof window,n=0===(t?window.location.href:"").indexOf(d(102,105,108,101,58,47,47))||-1!==e.indexOf(d(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(d(49,50,55,46,48,32,48,46,49)),s=[x,d(99,111,100,101,112,101,110,46,105,111),d(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),d(99,111,100,101,112,101,110,46,100,101,118),d(99,111,100,101,112,101,110,46,97,112,112),d(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),d(112,101,110,115,46,99,108,111,117,100),d(99,115,115,45,116,114,105,99,107,115,46,99,111,109),d(99,100,112,110,46,105,111),d(112,101,110,115,46,105,111),d(103,97,110,110,111,110,46,116,118),d(99,111,100,101,99,97,110,121,111,110,46,110,101,116),d(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),d(99,101,114,101,98,114,97,120,46,99,111,46,117,107),d(116,121,109,112,97,110,117,115,46,110,101,116),d(116,119,101,101,110,109,97,120,46,99,111,109),d(112,108,110,107,114,46,99,111),d(104,111,116,106,97,114,46,99,111,109),d(119,101,98,112,97,99,107,98,105,110,46,99,111,109),d(97,114,99,104,105,118,101,46,111,114,103),d(99,111,100,101,115,97,110,100,98,111,120,46,105,111),d(99,115,98,46,97,112,112),d(115,116,97,99,107,98,108,105,116,122,46,99,111,109),d(115,116,97,99,107,98,108,105,116,122,46,105,111),d(99,111,100,105,101,114,46,105,111),d(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),d(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),d(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),d(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),d(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),d(106,115,102,105,100,100,108,101,46,110,101,116)],i=function(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",i):(document.removeEventListener("readystatechange",i),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(d(37,99,87,97,114,110,105,110,103),d(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(d(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"CustomEase"+d(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(d(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),d(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},o=s.length;for(setTimeout(i,50);--o>-1;)if(-1!==e.indexOf(s[o]))return!0;return n||!setTimeout((function(){t&&(window.location.href=d(104,116,116,112,115,58,47,47)+x+d(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=CustomEase&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),y=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,w=/[cLlsSaAhHvVtTqQ]/g,m=function(e,t,n,s,i,o,a,r,l,h,c){let g,u=(e+n)/2,f=(t+s)/2,d=(n+i)/2,x=(s+o)/2,p=(i+a)/2,y=(o+r)/2,w=(u+d)/2,M=(f+x)/2,C=(d+p)/2,E=(x+y)/2,b=(w+C)/2,v=(M+E)/2,S=a-e,N=r-t,L=Math.abs((n-a)*N-(s-r)*S),O=Math.abs((i-a)*N-(o-r)*S);return h||(h=[{x:e,y:t},{x:a,y:r}],c=1),h.splice(c||h.length-1,0,{x:b,y:v}),(L+O)*(L+O)>l*(S*S+N*N)&&(g=h.length,m(e,t,u,f,w,M,b,v,l,h,c),m(b,v,C,E,p,y,a,r,l,h,c+1+(h.length-g))),h};class M{constructor(e,t,n){c||u(),this.id=e,p&&this.setData(t,n)}setData(n,s){s=s||{};let i,a,r,c,g,u,f,d,x,p=(n=n||"0,0,1,1").match(y),M=1,C=[],E=[],b=s.precision||1,v=b<=1;if(this.data=n,(w.test(n)||~n.indexOf("M")&&n.indexOf("C")<0)&&(p=function(n){let s,i,a,r,h,c,g,u,f,d,x,p,y,w,m,M=(n+"").replace(t,e=>{let t=+e;return t<1e-4&&t>-1e-4?0:t}).match(e)||[],C=[],E=0,b=0,v=M.length,S=0,N="ERROR: malformed path: "+n,L=function(e,t,n,s){d=(n-e)/3,x=(s-t)/3,g.push(e+d,t+x,n-d,s-x,n,s)};if(!n||!isNaN(M[0])||isNaN(M[1]))return console.log(N),C;for(s=0;s<v;s++)if(y=h,isNaN(M[s])?(h=M[s].toUpperCase(),c=h!==M[s]):s--,a=+M[s+1],r=+M[s+2],c&&(a+=E,r+=b),s||(u=a,f=r),"M"===h)g&&(g.length<8?C.length-=1:S+=g.length),E=u=a,b=f=r,g=[a,r],C.push(g),s+=2,h="L";else if("C"===h)g||(g=[0,0]),c||(E=b=0),g.push(a,r,E+1*M[s+3],b+1*M[s+4],E+=1*M[s+5],b+=1*M[s+6]),s+=6;else if("S"===h)d=E,x=b,"C"!==y&&"S"!==y||(d+=E-g[g.length-4],x+=b-g[g.length-3]),c||(E=b=0),g.push(d,x,a,r,E+=1*M[s+3],b+=1*M[s+4]),s+=4;else if("Q"===h)d=E+2/3*(a-E),x=b+2/3*(r-b),c||(E=b=0),E+=1*M[s+3],b+=1*M[s+4],g.push(d,x,E+2/3*(a-E),b+2/3*(r-b),E,b),s+=4;else if("T"===h)d=E-g[g.length-4],x=b-g[g.length-3],g.push(E+d,b+x,a+2/3*(E+1.5*d-a),r+2/3*(b+1.5*x-r),E=a,b=r),s+=2;else if("H"===h)L(E,b,E=a,b),s+=1;else if("V"===h)L(E,b,E,b=a+(c?b-E:0)),s+=1;else if("L"===h||"Z"===h)"Z"===h&&(a=u,r=f,g.closed=!0),("L"===h||o(E-a)>.5||o(b-r)>.5)&&(L(E,b,a,r),"L"===h&&(s+=2)),E=a,b=r;else if("A"===h){if(w=M[s+4],m=M[s+5],d=M[s+6],x=M[s+7],i=7,w.length>1&&(w.length<3?(x=d,d=m,i--):(x=m,d=w.substr(2),i-=2),m=w.charAt(1),w=w.charAt(0)),p=l(E,b,+M[s+1],+M[s+2],+M[s+3],+w,+m,(c?E:0)+1*d,(c?b:0)+1*x),s+=i,p)for(i=0;i<p.length;i++)g.push(p[i]);E=g[g.length-2],b=g[g.length-1]}else console.log(N);return s=g.length,s<6?(C.pop(),s=0):g[0]===g[s-2]&&g[1]===g[s-1]&&(g.closed=!0),C.totalPoints=S+s,C}(n)[0]),i=p.length,4===i)p.unshift(0,0),p.push(1,1),i=8;else if((i-2)%6)throw"Invalid CustomEase";for(0==+p[0]&&1==+p[i-2]||((e,t,n)=>{n||0===n||(n=Math.max(+e[e.length-1],+e[1]));let s,i=-1*+e[0],o=-n,a=e.length,r=1/(+e[a-2]+i),l=-t||(Math.abs(+e[a-1]-+e[1])<.01*(+e[a-2]-+e[0])?(e=>{let t,n=e.length,s=1e20;for(t=1;t<n;t+=6)+e[t]<s&&(s=+e[t]);return s})(e)+o:+e[a-1]+o);for(l=l?1/l:-r,s=0;s<a;s+=2)e[s]=(+e[s]+i)*r,e[s+1]=(+e[s+1]+o)*l})(p,s.height,s.originY),this.segment=p,c=2;c<i;c+=6)a={x:+p[c-2],y:+p[c-1]},r={x:+p[c+4],y:+p[c+5]},C.push(a,r),m(a.x,a.y,+p[c],+p[c+1],+p[c+2],+p[c+3],r.x,r.y,1/(2e5*b),C,C.length-1);for(i=C.length,c=0;c<i;c++)f=C[c],d=C[c-1]||f,(f.x>d.x||d.y!==f.y&&d.x===f.x||f===d)&&f.x<=1?(d.cx=f.x-d.x,d.cy=f.y-d.y,d.n=f,d.nx=f.x,v&&c>1&&Math.abs(d.cy/d.cx-C[c-2].cy/C[c-2].cx)>2&&(v=0),d.cx<M&&(d.cx?M=d.cx:(d.cx=.001,c===i-1&&(d.x-=.001,M=Math.min(M,.001),v=0)))):(C.splice(c--,1),i--);if(i=1/M+1|0,g=1/i,u=0,f=C[0],v){for(c=0;c<i;c++)x=c*g,f.nx<x&&(f=C[++u]),a=f.y+(x-f.x)/f.cx*f.cy,E[c]={x:x,cx:g,y:a,cy:0,nx:9},c&&(E[c-1].cy=a-E[c-1].y);E[i-1].cy=C[C.length-1].y-a}else{for(c=0;c<i;c++)f.nx<c*g&&(f=C[++u]),E[c]=f;u<C.length-1&&(E[c-1]=C[C.length-2])}return this.ease=e=>{let t=E[e*i|0]||E[i-1];return t.nx<e&&(t=t.n),t.y+(e-t.x)/t.cx*t.cy},this.ease.custom=this,this.id&&h&&h.registerEase(this.id,this.ease),this}getSVGData(e){return M.getSVGData(this,e)}static create(e,t,n){return new M(e,t,n).ease}static register(e){h=e,u()}static get(e){return h.parseEase(e)}static getSVGData(e,t){let n,s,i,o,a,l,c,g,u,d,x=(t=t||{}).width||100,p=t.height||100,y=t.x||0,w=(t.y||0)+p,m=h.utils.toArray(t.path)[0];if(t.invert&&(p=-p,w=0),"string"==typeof e&&(e=h.parseEase(e)),e.custom&&(e=e.custom),e instanceof M)n=function(e){"number"==typeof e[0]&&(e=[e]);let t,n,s,i,o="",a=e.length;for(n=0;n<a;n++){for(i=e[n],o+="M"+r(i[0])+","+r(i[1])+" C",t=i.length,s=2;s<t;s++)o+=r(i[s++])+","+r(i[s++])+" "+r(i[s++])+","+r(i[s++])+" "+r(i[s++])+","+r(i[s])+" ";i.closed&&(o+="z")}return o}(function(e,t,n,s,i,o,a){let r,l,h,c,g,u=e.length;for(;--u>-1;)for(r=e[u],l=r.length,h=0;h<l;h+=2)c=r[h],g=r[h+1],r[h]=c*t+g*s+o,r[h+1]=c*n+g*i+a;return e._dirty=1,e}([e.segment],x,0,0,-p,y,w));else{for(n=[y,w],c=Math.max(5,200*(t.precision||1)),o=1/c,c+=2,g=5/c,u=f(y+o*x),d=f(w+e(o)*-p),s=(d-w)/(u-y),i=2;i<c;i++)a=f(y+i*o*x),l=f(w+e(i*o)*-p),(Math.abs((l-d)/(a-u)-s)>g||i===c-1)&&(n.push(u,d),s=(l-d)/(a-u)),u=a,d=l;n="M"+n.join(",")}return m&&m.setAttribute("d",n),n}}g()&&h.registerPlugin(M),M.version="3.11.5";export default M;export{M as CustomEase};
let e=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,t=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,n=Math.PI/180,s=Math.sin,i=Math.cos,o=Math.abs,r=Math.sqrt,a=e=>Math.round(1e5*e)/1e5||0;function l(e,t,a,l,h,c,g,u,f){if(e===u&&t===f)return;a=o(a),l=o(l);let d=h%360*n,x=i(d),p=s(d),y=Math.PI,m=2*y,w=(e-u)/2,M=(t-f)/2,C=x*w+p*M,E=-p*w+x*M,b=C*C,v=E*E,S=b/(a*a)+v/(l*l);S>1&&(a=r(S)*a,l=r(S)*l);let N=a*a,L=l*l,P=(N*L-N*v-L*b)/(N*v+L*b);P<0&&(P=0);let A=(c===g?-1:1)*r(P),O=A*(a*E/l),D=A*(-l*C/a),V=(e+u)/2+(x*O-p*D),T=(t+f)/2+(p*O+x*D),_=(C-O)/a,j=(E-D)/l,q=(-C-O)/a,G=(-E-D)/l,I=_*_+j*j,R=(j<0?-1:1)*Math.acos(_/r(I)),W=(_*G-j*q<0?-1:1)*Math.acos((_*q+j*G)/r(I*(q*q+G*G)));isNaN(W)&&(W=y),!g&&W>0?W-=m:g&&W<0&&(W+=m),R%=m,W%=m;let z,H=Math.ceil(o(W)/(m/4)),Q=[],Z=W/H,U=4/3*s(Z/2)/(1+i(Z/2)),Y=x*a,$=p*a,k=p*-l,B=x*l;for(z=0;z<H;z++)C=i(h=R+z*Z),E=s(h),_=i(h+=Z),j=s(h),Q.push(C-U*E,E+U*C,_+U*j,j-U*_,_,j);for(z=0;z<Q.length;z+=2)C=Q[z],E=Q[z+1],Q[z]=C*Y+E*k+V,Q[z+1]=C*$+E*B+T;return Q[z-2]=u,Q[z-1]=f,Q}let h,c,g=()=>h||"undefined"!=typeof window&&(h=window.gsap)&&h.registerPlugin&&h,u=()=>{h=g(),h?(h.registerEase("_CE",C.create),c=1):console.warn("Please gsap.registerPlugin(CustomEase)")},f=e=>~~(1e3*e+(e<0?-.5:.5))/1e3,d=function(){return String.fromCharCode.apply(null,arguments)},x=d(103,114,101,101,110,115,111,99,107,46,99,111,109),p=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,y=function(e){var t="undefined"!=typeof window,n=0===(t?window.location.href:"").indexOf(d(102,105,108,101,58,47,47))||-1!==e.indexOf(d(108,111,99,97,108,104,111,115,116))||p.test(e),s=[x,d(99,111,100,101,112,101,110,46,105,111),d(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),d(99,111,100,101,112,101,110,46,100,101,118),d(99,111,100,101,112,101,110,46,97,112,112),d(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),d(112,101,110,115,46,99,108,111,117,100),d(99,115,115,45,116,114,105,99,107,115,46,99,111,109),d(99,100,112,110,46,105,111),d(112,101,110,115,46,105,111),d(103,97,110,110,111,110,46,116,118),d(99,111,100,101,99,97,110,121,111,110,46,110,101,116),d(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),d(99,101,114,101,98,114,97,120,46,99,111,46,117,107),d(116,121,109,112,97,110,117,115,46,110,101,116),d(116,119,101,101,110,109,97,120,46,99,111,109),d(112,108,110,107,114,46,99,111),d(104,111,116,106,97,114,46,99,111,109),d(119,101,98,112,97,99,107,98,105,110,46,99,111,109),d(97,114,99,104,105,118,101,46,111,114,103),d(99,111,100,101,115,97,110,100,98,111,120,46,105,111),d(99,115,98,46,97,112,112),d(115,116,97,99,107,98,108,105,116,122,46,99,111,109),d(115,116,97,99,107,98,108,105,116,122,46,105,111),d(99,111,100,105,101,114,46,105,111),d(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),d(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),d(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),d(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),d(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),d(106,115,102,105,100,100,108,101,46,110,101,116)],i=function(){if(t)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",i);else{document.removeEventListener("readystatechange",i);var e="object"==typeof h?h:t&&window.gsap;t&&window.console&&!window._gsapWarned&&"object"==typeof e&&!1!==e.config().trialWarn&&(console.log(d(37,99,87,97,114,110,105,110,103),d(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(d(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"CustomEase"+d(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(d(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),d(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},o=s.length;for(setTimeout(i,50);--o>-1;)if(-1!==e.indexOf(s[o]))return!0;return n||!setTimeout((function(){t&&(window.location.href=d(104,116,116,112,115,58,47,47)+x+d(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=CustomEase&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),m=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,w=/[cLlsSaAhHvVtTqQ]/g,M=function(e,t,n,s,i,o,r,a,l,h,c){let g,u=(e+n)/2,f=(t+s)/2,d=(n+i)/2,x=(s+o)/2,p=(i+r)/2,y=(o+a)/2,m=(u+d)/2,w=(f+x)/2,C=(d+p)/2,E=(x+y)/2,b=(m+C)/2,v=(w+E)/2,S=r-e,N=a-t,L=Math.abs((n-r)*N-(s-a)*S),P=Math.abs((i-r)*N-(o-a)*S);return h||(h=[{x:e,y:t},{x:r,y:a}],c=1),h.splice(c||h.length-1,0,{x:b,y:v}),(L+P)*(L+P)>l*(S*S+N*N)&&(g=h.length,M(e,t,u,f,m,w,b,v,l,h,c),M(b,v,C,E,p,y,r,a,l,h,c+1+(h.length-g))),h};class C{constructor(e,t,n){c||u(),this.id=e,y&&this.setData(t,n)}setData(n,s){s=s||{};let i,r,a,c,g,u,f,d,x,p=(n=n||"0,0,1,1").match(m),y=1,C=[],E=[],b=s.precision||1,v=b<=1;if(this.data=n,(w.test(n)||~n.indexOf("M")&&n.indexOf("C")<0)&&(p=function(n){let s,i,r,a,h,c,g,u,f,d,x,p,y,m,w,M=(n+"").replace(t,e=>{let t=+e;return t<1e-4&&t>-1e-4?0:t}).match(e)||[],C=[],E=0,b=0,v=M.length,S=0,N="ERROR: malformed path: "+n,L=function(e,t,n,s){d=(n-e)/3,x=(s-t)/3,g.push(e+d,t+x,n-d,s-x,n,s)};if(!n||!isNaN(M[0])||isNaN(M[1]))return console.log(N),C;for(s=0;s<v;s++)if(y=h,isNaN(M[s])?(h=M[s].toUpperCase(),c=h!==M[s]):s--,r=+M[s+1],a=+M[s+2],c&&(r+=E,a+=b),s||(u=r,f=a),"M"===h)g&&(g.length<8?C.length-=1:S+=g.length),E=u=r,b=f=a,g=[r,a],C.push(g),s+=2,h="L";else if("C"===h)g||(g=[0,0]),c||(E=b=0),g.push(r,a,E+1*M[s+3],b+1*M[s+4],E+=1*M[s+5],b+=1*M[s+6]),s+=6;else if("S"===h)d=E,x=b,"C"!==y&&"S"!==y||(d+=E-g[g.length-4],x+=b-g[g.length-3]),c||(E=b=0),g.push(d,x,r,a,E+=1*M[s+3],b+=1*M[s+4]),s+=4;else if("Q"===h)d=E+2/3*(r-E),x=b+2/3*(a-b),c||(E=b=0),E+=1*M[s+3],b+=1*M[s+4],g.push(d,x,E+2/3*(r-E),b+2/3*(a-b),E,b),s+=4;else if("T"===h)d=E-g[g.length-4],x=b-g[g.length-3],g.push(E+d,b+x,r+2/3*(E+1.5*d-r),a+2/3*(b+1.5*x-a),E=r,b=a),s+=2;else if("H"===h)L(E,b,E=r,b),s+=1;else if("V"===h)L(E,b,E,b=r+(c?b-E:0)),s+=1;else if("L"===h||"Z"===h)"Z"===h&&(r=u,a=f,g.closed=!0),("L"===h||o(E-r)>.5||o(b-a)>.5)&&(L(E,b,r,a),"L"===h&&(s+=2)),E=r,b=a;else if("A"===h){if(m=M[s+4],w=M[s+5],d=M[s+6],x=M[s+7],i=7,m.length>1&&(m.length<3?(x=d,d=w,i--):(x=w,d=m.substr(2),i-=2),w=m.charAt(1),m=m.charAt(0)),p=l(E,b,+M[s+1],+M[s+2],+M[s+3],+m,+w,(c?E:0)+1*d,(c?b:0)+1*x),s+=i,p)for(i=0;i<p.length;i++)g.push(p[i]);E=g[g.length-2],b=g[g.length-1]}else console.log(N);return s=g.length,s<6?(C.pop(),s=0):g[0]===g[s-2]&&g[1]===g[s-1]&&(g.closed=!0),C.totalPoints=S+s,C}(n)[0]),i=p.length,4===i)p.unshift(0,0),p.push(1,1),i=8;else if((i-2)%6)throw"Invalid CustomEase";for(0==+p[0]&&1==+p[i-2]||((e,t,n)=>{n||0===n||(n=Math.max(+e[e.length-1],+e[1]));let s,i=-1*+e[0],o=-n,r=e.length,a=1/(+e[r-2]+i),l=-t||(Math.abs(+e[r-1]-+e[1])<.01*(+e[r-2]-+e[0])?(e=>{let t,n=e.length,s=1e20;for(t=1;t<n;t+=6)+e[t]<s&&(s=+e[t]);return s})(e)+o:+e[r-1]+o);for(l=l?1/l:-a,s=0;s<r;s+=2)e[s]=(+e[s]+i)*a,e[s+1]=(+e[s+1]+o)*l})(p,s.height,s.originY),this.segment=p,c=2;c<i;c+=6)r={x:+p[c-2],y:+p[c-1]},a={x:+p[c+4],y:+p[c+5]},C.push(r,a),M(r.x,r.y,+p[c],+p[c+1],+p[c+2],+p[c+3],a.x,a.y,1/(2e5*b),C,C.length-1);for(i=C.length,c=0;c<i;c++)f=C[c],d=C[c-1]||f,(f.x>d.x||d.y!==f.y&&d.x===f.x||f===d)&&f.x<=1?(d.cx=f.x-d.x,d.cy=f.y-d.y,d.n=f,d.nx=f.x,v&&c>1&&Math.abs(d.cy/d.cx-C[c-2].cy/C[c-2].cx)>2&&(v=0),d.cx<y&&(d.cx?y=d.cx:(d.cx=.001,c===i-1&&(d.x-=.001,y=Math.min(y,.001),v=0)))):(C.splice(c--,1),i--);if(i=1/y+1|0,g=1/i,u=0,f=C[0],v){for(c=0;c<i;c++)x=c*g,f.nx<x&&(f=C[++u]),r=f.y+(x-f.x)/f.cx*f.cy,E[c]={x:x,cx:g,y:r,cy:0,nx:9},c&&(E[c-1].cy=r-E[c-1].y);E[i-1].cy=C[C.length-1].y-r}else{for(c=0;c<i;c++)f.nx<c*g&&(f=C[++u]),E[c]=f;u<C.length-1&&(E[c-1]=C[C.length-2])}return this.ease=e=>{let t=E[e*i|0]||E[i-1];return t.nx<e&&(t=t.n),t.y+(e-t.x)/t.cx*t.cy},this.ease.custom=this,this.id&&h&&h.registerEase(this.id,this.ease),this}getSVGData(e){return C.getSVGData(this,e)}static create(e,t,n){return new C(e,t,n).ease}static register(e){h=e,u()}static get(e){return h.parseEase(e)}static getSVGData(e,t){let n,s,i,o,r,l,c,g,u,d,x=(t=t||{}).width||100,p=t.height||100,y=t.x||0,m=(t.y||0)+p,w=h.utils.toArray(t.path)[0];if(t.invert&&(p=-p,m=0),"string"==typeof e&&(e=h.parseEase(e)),e.custom&&(e=e.custom),e instanceof C)n=function(e){"number"==typeof e[0]&&(e=[e]);let t,n,s,i,o="",r=e.length;for(n=0;n<r;n++){for(i=e[n],o+="M"+a(i[0])+","+a(i[1])+" C",t=i.length,s=2;s<t;s++)o+=a(i[s++])+","+a(i[s++])+" "+a(i[s++])+","+a(i[s++])+" "+a(i[s++])+","+a(i[s])+" ";i.closed&&(o+="z")}return o}(function(e,t,n,s,i,o,r){let a,l,h,c,g,u=e.length;for(;--u>-1;)for(a=e[u],l=a.length,h=0;h<l;h+=2)c=a[h],g=a[h+1],a[h]=c*t+g*s+o,a[h+1]=c*n+g*i+r;return e._dirty=1,e}([e.segment],x,0,0,-p,y,m));else{for(n=[y,m],c=Math.max(5,200*(t.precision||1)),o=1/c,c+=2,g=5/c,u=f(y+o*x),d=f(m+e(o)*-p),s=(d-m)/(u-y),i=2;i<c;i++)r=f(y+i*o*x),l=f(m+e(i*o)*-p),(Math.abs((l-d)/(r-u)-s)>g||i===c-1)&&(n.push(u,d),s=(l-d)/(r-u)),u=r,d=l;n="M"+n.join(",")}return w&&w.setAttribute("d",n),n}}g()&&h.registerPlugin(C),C.version="3.12.0";export default C;export{C as CustomEase};
/*!
* CustomWiggle 3.11.5
* CustomWiggle 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

let e,t,n,o=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,i={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"},a=e=>e,s=a=>{if(!t)if(e=o(),n=e&&e.parseEase("_CE"),n){for(let e in i)i[e]=n("",i[e]);t=1,d("wiggle").config=e=>"object"==typeof e?d("",e):d("wiggle("+e+")",{wiggles:+e})}else a&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")},r=(t,o)=>("function"!=typeof t&&(t=e.parseEase(t)||n("",t)),t.custom||!o?t:e=>1-t(e)),g=function(){return String.fromCharCode.apply(null,arguments)},u=g(103,114,101,101,110,115,111,99,107,46,99,111,109),l=function(e){var t="undefined"!=typeof window,n=0===(t?window.location.href:"").indexOf(g(102,105,108,101,58,47,47))||-1!==e.indexOf(g(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(g(49,50,55,46,48,32,48,46,49)),o=[u,g(99,111,100,101,112,101,110,46,105,111),g(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),g(99,111,100,101,112,101,110,46,100,101,118),g(99,111,100,101,112,101,110,46,97,112,112),g(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),g(112,101,110,115,46,99,108,111,117,100),g(99,115,115,45,116,114,105,99,107,115,46,99,111,109),g(99,100,112,110,46,105,111),g(112,101,110,115,46,105,111),g(103,97,110,110,111,110,46,116,118),g(99,111,100,101,99,97,110,121,111,110,46,110,101,116),g(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),g(99,101,114,101,98,114,97,120,46,99,111,46,117,107),g(116,121,109,112,97,110,117,115,46,110,101,116),g(116,119,101,101,110,109,97,120,46,99,111,109),g(112,108,110,107,114,46,99,111),g(104,111,116,106,97,114,46,99,111,109),g(119,101,98,112,97,99,107,98,105,110,46,99,111,109),g(97,114,99,104,105,118,101,46,111,114,103),g(99,111,100,101,115,97,110,100,98,111,120,46,105,111),g(99,115,98,46,97,112,112),g(115,116,97,99,107,98,108,105,116,122,46,99,111,109),g(115,116,97,99,107,98,108,105,116,122,46,105,111),g(99,111,100,105,101,114,46,105,111),g(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),g(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),g(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),g(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),g(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),g(106,115,102,105,100,100,108,101,46,110,101,116)],i=function(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",i):(document.removeEventListener("readystatechange",i),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(g(37,99,87,97,114,110,105,110,103),g(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(g(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"CustomWiggle"+g(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(g(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),g(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},a=o.length;for(setTimeout(i,50);--a>-1;)if(-1!==e.indexOf(o[a]))return!0;return n||!setTimeout((function(){t&&(window.location.href=g(104,116,116,112,115,58,47,47)+u+g(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=CustomWiggle&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),d=(e,o)=>{t||s(1);let g,u,d,c,f,p,w,h,m,y=0|((o=o||{}).wiggles||10),C=1/y,E=C/2,M="anticipate"===o.type,O=i[o.type]||i.easeOut,v=a;if(l){if(M&&(v=O,O=i.easeOut),o.timingEase&&(v=r(o.timingEase)),o.amplitudeEase&&(O=r(o.amplitudeEase,!0)),p=v(E),w=M?-O(E):O(E),h=[0,0,p/4,0,p/2,w,p,w],"random"===o.type){for(h.length=4,g=v(C),u=2*Math.random()-1,m=2;m<y;m++)E=g,w=u,g=v(C*m),u=2*Math.random()-1,d=Math.atan2(u-h[h.length-3],g-h[h.length-4]),c=Math.cos(d)*C,f=Math.sin(d)*C,h.push(E-c,w-f,E,w,E+c,w+f);h.push(g,0,1,0)}else{for(m=1;m<y;m++)h.push(v(E+C/2),w),E+=C,w=(w>0?-1:1)*O(m*C),p=v(E),h.push(v(E-C/2),w,p,w);h.push(v(E+C/4),w,v(E+C/4),0,1,0)}for(m=h.length;--m>-1;)h[m]=~~(1e3*h[m])/1e3;return h[2]="C"+h[2],n(e,"M"+h.join(","))}};class c{constructor(e,t){this.ease=d(e,t)}static create(e,t){return d(e,t)}static register(t){e=t,s()}}o()&&e.registerPlugin(c),c.version="3.11.5";export default c;export{c as CustomWiggle};
let e,t,n,o=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,i={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"},a=e=>e,s=a=>{if(!t)if(e=o(),n=e&&e.parseEase("_CE"),n){for(let e in i)i[e]=n("",i[e]);t=1,f("wiggle").config=e=>"object"==typeof e?f("",e):f("wiggle("+e+")",{wiggles:+e})}else a&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")},r=(t,o)=>("function"!=typeof t&&(t=e.parseEase(t)||n("",t)),t.custom||!o?t:e=>1-t(e)),l=function(){return String.fromCharCode.apply(null,arguments)},u=l(103,114,101,101,110,115,111,99,107,46,99,111,109),g=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,d=function(t){var n="undefined"!=typeof window,o=0===(n?window.location.href:"").indexOf(l(102,105,108,101,58,47,47))||-1!==t.indexOf(l(108,111,99,97,108,104,111,115,116))||g.test(t),i=[u,l(99,111,100,101,112,101,110,46,105,111),l(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),l(99,111,100,101,112,101,110,46,100,101,118),l(99,111,100,101,112,101,110,46,97,112,112),l(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),l(112,101,110,115,46,99,108,111,117,100),l(99,115,115,45,116,114,105,99,107,115,46,99,111,109),l(99,100,112,110,46,105,111),l(112,101,110,115,46,105,111),l(103,97,110,110,111,110,46,116,118),l(99,111,100,101,99,97,110,121,111,110,46,110,101,116),l(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),l(99,101,114,101,98,114,97,120,46,99,111,46,117,107),l(116,121,109,112,97,110,117,115,46,110,101,116),l(116,119,101,101,110,109,97,120,46,99,111,109),l(112,108,110,107,114,46,99,111),l(104,111,116,106,97,114,46,99,111,109),l(119,101,98,112,97,99,107,98,105,110,46,99,111,109),l(97,114,99,104,105,118,101,46,111,114,103),l(99,111,100,101,115,97,110,100,98,111,120,46,105,111),l(99,115,98,46,97,112,112),l(115,116,97,99,107,98,108,105,116,122,46,99,111,109),l(115,116,97,99,107,98,108,105,116,122,46,105,111),l(99,111,100,105,101,114,46,105,111),l(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),l(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),l(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),l(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),l(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),l(106,115,102,105,100,100,108,101,46,110,101,116)],a=function(){if(n)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",a);else{document.removeEventListener("readystatechange",a);var t="object"==typeof e?e:n&&window.gsap;n&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(l(37,99,87,97,114,110,105,110,103),l(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(l(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"CustomWiggle"+l(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(l(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),l(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},s=i.length;for(setTimeout(a,50);--s>-1;)if(-1!==t.indexOf(i[s]))return!0;return o||!setTimeout((function(){n&&(window.location.href=l(104,116,116,112,115,58,47,47)+u+l(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=CustomWiggle&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),f=(e,o)=>{t||s(1);let l,u,g,f,c,p,w,h,m,y=0|((o=o||{}).wiggles||10),C=1/y,E=C/2,M="anticipate"===o.type,v=i[o.type]||i.easeOut,O=a;if(d){if(M&&(O=v,v=i.easeOut),o.timingEase&&(O=r(o.timingEase)),o.amplitudeEase&&(v=r(o.amplitudeEase,!0)),p=O(E),w=M?-v(E):v(E),h=[0,0,p/4,0,p/2,w,p,w],"random"===o.type){for(h.length=4,l=O(C),u=2*Math.random()-1,m=2;m<y;m++)E=l,w=u,l=O(C*m),u=2*Math.random()-1,g=Math.atan2(u-h[h.length-3],l-h[h.length-4]),f=Math.cos(g)*C,c=Math.sin(g)*C,h.push(E-f,w-c,E,w,E+f,w+c);h.push(l,0,1,0)}else{for(m=1;m<y;m++)h.push(O(E+C/2),w),E+=C,w=(w>0?-1:1)*v(m*C),p=O(E),h.push(O(E-C/2),w,p,w);h.push(O(E+C/4),w,O(E+C/4),0,1,0)}for(m=h.length;--m>-1;)h[m]=~~(1e3*h[m])/1e3;return h[2]="C"+h[2],n(e,"M"+h.join(","))}};class c{constructor(e,t){this.ease=f(e,t)}static create(e,t){return f(e,t)}static register(t){e=t,s()}}o()&&e.registerPlugin(c),c.version="3.12.0";export default c;export{c as CustomWiggle};
/*!
* CSSRulePlugin 3.11.5
* CSSRulePlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function h(){return"undefined"!=typeof window}function i(){return t||h()&&(t=window.gsap)&&t.registerPlugin&&t}function j(){return n||(s(),o||console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")),n}var t,n,c,o,s=function _initCore(e){t=e||i(),h()&&(c=document),t&&(o=t.plugins.css)&&(n=1)},r={version:"3.11.5",name:"cssRule",init:function init(e,t,n,i,s){if(!j()||void 0===e.cssText)return!1;var r=e._gsProxy=e._gsProxy||c.createElement("div");this.ss=e,this.style=r.style,r.style.cssText=e.cssText,o.prototype.init.call(this,r,t,n,i,s)},render:function render(e,t){for(var n,i=t._pt,s=t.style,r=t.ss;i;)i.r(e,i.d),i=i._next;for(n=s.length;-1<--n;)r[s[n]]=s[s[n]]},getRule:function getRule(e){j();var t,n,i,s,r=c.all?"rules":"cssRules",o=c.styleSheets,l=o.length,u=":"===e.charAt(0);for(e=(u?"":",")+e.split("::").join(":").toLowerCase()+",",u&&(s=[]);l--;){try{if(!(n=o[l][r]))continue;t=n.length}catch(e){console.warn(e);continue}for(;-1<--t;)if((i=n[t]).selectorText&&-1!==(","+i.selectorText.split("::").join(":").toLowerCase()+",").indexOf(e)){if(!u)return i.style;s.push(i.style)}}return s},register:s};i()&&t.registerPlugin(r),e.CSSRulePlugin=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function h(){return"undefined"!=typeof window}function i(){return t||h()&&(t=window.gsap)&&t.registerPlugin&&t}function j(){return n||(s(),o||console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")),n}var t,n,c,o,s=function _initCore(e){t=e||i(),h()&&(c=document),t&&(o=t.plugins.css)&&(n=1)},r={version:"3.12.0",name:"cssRule",init:function init(e,t,n,i,s){if(!j()||void 0===e.cssText)return!1;var r=e._gsProxy=e._gsProxy||c.createElement("div");this.ss=e,this.style=r.style,r.style.cssText=e.cssText,o.prototype.init.call(this,r,t,n,i,s)},render:function render(e,t){for(var n,i=t._pt,s=t.style,r=t.ss;i;)i.r(e,i.d),i=i._next;for(n=s.length;-1<--n;)r[s[n]]=s[s[n]]},getRule:function getRule(e){j();var t,n,i,s,r=c.all?"rules":"cssRules",o=c.styleSheets,l=o.length,u=":"===e.charAt(0);for(e=(u?"":",")+e.split("::").join(":").toLowerCase()+",",u&&(s=[]);l--;){try{if(!(n=o[l][r]))continue;t=n.length}catch(e){console.warn(e);continue}for(;-1<--t;)if((i=n[t]).selectorText&&-1!==(","+i.selectorText.split("::").join(":").toLowerCase()+",").indexOf(e)){if(!u)return i.style;s.push(i.style)}}return s},register:s};i()&&t.registerPlugin(r),e.CSSRulePlugin=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* CustomBounce 3.11.5
* CustomBounce 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).window=e.window||{})}(this,function(e){"use strict";function g(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n}function h(e){n=g(),(B=n&&n.parseEase("_CE"))?(x=1,n.parseEase("bounce").config=function(e){return"object"==typeof e?t("",e):t("bounce("+e+")",{strength:+e})}):e&&console.warn("Please gsap.registerPlugin(CustomEase, CustomBounce)")}function i(e){var n,t=e.length,o=1/e[t-2];for(n=2;n<t;n+=2)e[n]=~~(e[n]*o*1e3)/1e3;e[t-2]=1}function l(){return String.fromCharCode.apply(null,arguments)}var n,x,B,r="CustomBounce",u=l(103,114,101,101,110,115,111,99,107,46,99,111,109),b=function(e){var n="undefined"!=typeof window,t=0===(n?window.location.href:"").indexOf(l(102,105,108,101,58,47,47))||-1!==e.indexOf(l(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(l(49,50,55,46,48,32,48,46,49)),o=[u,l(99,111,100,101,112,101,110,46,105,111),l(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),l(99,111,100,101,112,101,110,46,100,101,118),l(99,111,100,101,112,101,110,46,97,112,112),l(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),l(112,101,110,115,46,99,108,111,117,100),l(99,115,115,45,116,114,105,99,107,115,46,99,111,109),l(99,100,112,110,46,105,111),l(112,101,110,115,46,105,111),l(103,97,110,110,111,110,46,116,118),l(99,111,100,101,99,97,110,121,111,110,46,110,101,116),l(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),l(99,101,114,101,98,114,97,120,46,99,111,46,117,107),l(116,121,109,112,97,110,117,115,46,110,101,116),l(116,119,101,101,110,109,97,120,46,99,111,109),l(112,108,110,107,114,46,99,111),l(104,111,116,106,97,114,46,99,111,109),l(119,101,98,112,97,99,107,98,105,110,46,99,111,109),l(97,114,99,104,105,118,101,46,111,114,103),l(99,111,100,101,115,97,110,100,98,111,120,46,105,111),l(99,115,98,46,97,112,112),l(115,116,97,99,107,98,108,105,116,122,46,99,111,109),l(115,116,97,99,107,98,108,105,116,122,46,105,111),l(99,111,100,105,101,114,46,105,111),l(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),l(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),l(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),l(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),l(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),l(106,115,102,105,100,100,108,101,46,110,101,116)],i=o.length;for(setTimeout(function checkWarn(){n&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),n&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(l(37,99,87,97,114,110,105,110,103),l(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(l(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+r+l(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(l(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),l(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--i;)if(-1!==e.indexOf(o[i]))return!0;return t||!setTimeout(function(){n&&(window.location.href=l(104,116,116,112,115,58,47,47)+u+l(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+r+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),t=function _create(e,n){if(x||h(1),n=n||{},b){var t,o,l,r,u,s,a,c=Math.min(.999,n.strength||.7),f=c,d=(n.squash||0)/100,g=d,w=1/.03,p=.2,m=1,y=.1,C=[0,0,.07,0,.1,1,.1,1],v=[0,0,0,0,.1,0,.1,0];for(u=0;u<200&&(s=y+(p*=f*((f+1)/2)),r=1-(m*=c*c),o=(l=y+.49*p)+.8*(l-(t=y+m/w)),d&&(y+=d,t+=d,l+=d,o+=d,s+=d,a=d/g,v.push(y-d,0,y-d,a,y-d/2,a,y,a,y,0,y,0,y,-.6*a,y+(s-y)/6,0,s,0),C.push(y-d,1,y,1,y,1),d*=c*c),C.push(y,1,t,r,l,r,o,r,s,1,s,1),c*=.95,w=m/(s-o),y=s,!(.999<r));u++);if(n.endAtStart&&"false"!==n.endAtStart){if(l=-.1,C.unshift(l,1,l,1,-.07,0),g)for(l-=d=2.5*g,C.unshift(l,1,l,1,l,1),v.splice(0,6),v.unshift(l,0,l,0,l,1,l+d/2,1,l+d,1,l+d,0,l+d,0,l+d,-.6,l+d+.033,0),u=0;u<v.length;u+=2)v[u]-=l;for(u=0;u<C.length;u+=2)C[u]-=l,C[u+1]=1-C[u+1]}return d&&(i(v),v[2]="C"+v[2],B(n.squashID||e+"-squash","M"+v.join(","))),i(C),C[2]="C"+C[2],B(e,"M"+C.join(","))}},o=(CustomBounce.create=function create(e,n){return t(e,n)},CustomBounce.register=function register(e){n=e,h()},CustomBounce);function CustomBounce(e,n){this.ease=t(e,n)}g()&&n.registerPlugin(o),o.version="3.11.5",e.CustomBounce=o,e.default=o;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).window=e.window||{})}(this,function(e){"use strict";function g(){return r||"undefined"!=typeof window&&(r=window.gsap)&&r.registerPlugin&&r}function h(e){r=g(),(j=r&&r.parseEase("_CE"))?(b=1,r.parseEase("bounce").config=function(e){return"object"==typeof e?t("",e):t("bounce("+e+")",{strength:+e})}):e&&console.warn("Please gsap.registerPlugin(CustomEase, CustomBounce)")}function i(e){var n,t=e.length,o=1/e[t-2];for(n=2;n<t;n+=2)e[n]=~~(e[n]*o*1e3)/1e3;e[t-2]=1}function l(){return String.fromCharCode.apply(null,arguments)}var r,b,j,u="CustomBounce",s=l(103,114,101,101,110,115,111,99,107,46,99,111,109),c=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,B=function(e){var n="undefined"!=typeof window,t=0===(n?window.location.href:"").indexOf(l(102,105,108,101,58,47,47))||-1!==e.indexOf(l(108,111,99,97,108,104,111,115,116))||c.test(e),o=[s,l(99,111,100,101,112,101,110,46,105,111),l(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),l(99,111,100,101,112,101,110,46,100,101,118),l(99,111,100,101,112,101,110,46,97,112,112),l(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),l(112,101,110,115,46,99,108,111,117,100),l(99,115,115,45,116,114,105,99,107,115,46,99,111,109),l(99,100,112,110,46,105,111),l(112,101,110,115,46,105,111),l(103,97,110,110,111,110,46,116,118),l(99,111,100,101,99,97,110,121,111,110,46,110,101,116),l(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),l(99,101,114,101,98,114,97,120,46,99,111,46,117,107),l(116,121,109,112,97,110,117,115,46,110,101,116),l(116,119,101,101,110,109,97,120,46,99,111,109),l(112,108,110,107,114,46,99,111),l(104,111,116,106,97,114,46,99,111,109),l(119,101,98,112,97,99,107,98,105,110,46,99,111,109),l(97,114,99,104,105,118,101,46,111,114,103),l(99,111,100,101,115,97,110,100,98,111,120,46,105,111),l(99,115,98,46,97,112,112),l(115,116,97,99,107,98,108,105,116,122,46,99,111,109),l(115,116,97,99,107,98,108,105,116,122,46,105,111),l(99,111,100,105,101,114,46,105,111),l(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),l(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),l(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),l(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),l(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),l(106,115,102,105,100,100,108,101,46,110,101,116)],i=o.length;for(setTimeout(function checkWarn(){if(n)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var e="object"==typeof r?r:n&&window.gsap;n&&window.console&&!window._gsapWarned&&"object"==typeof e&&!1!==e.config().trialWarn&&(console.log(l(37,99,87,97,114,110,105,110,103),l(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(l(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+u+l(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(l(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),l(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--i;)if(-1!==e.indexOf(o[i]))return!0;return t||!setTimeout(function(){n&&(window.location.href=l(104,116,116,112,115,58,47,47)+s+l(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+u+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),t=function _create(e,n){if(b||h(1),n=n||{},B){var t,o,l,r,u,s,c,a=Math.min(.999,n.strength||.7),f=a,d=(n.squash||0)/100,g=d,p=1/.03,w=.2,m=1,y=.1,C=[0,0,.07,0,.1,1,.1,1],v=[0,0,0,0,.1,0,.1,0];for(u=0;u<200&&(s=y+(w*=f*((f+1)/2)),r=1-(m*=a*a),o=(l=y+.49*w)+.8*(l-(t=y+m/p)),d&&(y+=d,t+=d,l+=d,o+=d,s+=d,c=d/g,v.push(y-d,0,y-d,c,y-d/2,c,y,c,y,0,y,0,y,-.6*c,y+(s-y)/6,0,s,0),C.push(y-d,1,y,1,y,1),d*=a*a),C.push(y,1,t,r,l,r,o,r,s,1,s,1),a*=.95,p=m/(s-o),y=s,!(.999<r));u++);if(n.endAtStart&&"false"!==n.endAtStart){if(l=-.1,C.unshift(l,1,l,1,-.07,0),g)for(l-=d=2.5*g,C.unshift(l,1,l,1,l,1),v.splice(0,6),v.unshift(l,0,l,0,l,1,l+d/2,1,l+d,1,l+d,0,l+d,0,l+d,-.6,l+d+.033,0),u=0;u<v.length;u+=2)v[u]-=l;for(u=0;u<C.length;u+=2)C[u]-=l,C[u+1]=1-C[u+1]}return d&&(i(v),v[2]="C"+v[2],j(n.squashID||e+"-squash","M"+v.join(","))),i(C),C[2]="C"+C[2],j(e,"M"+C.join(","))}},n=(CustomBounce.create=function create(e,n){return t(e,n)},CustomBounce.register=function register(e){r=e,h()},CustomBounce);function CustomBounce(e,n){this.ease=t(e,n)}g()&&r.registerPlugin(n),n.version="3.12.0",e.CustomBounce=n,e.default=n;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* CustomEase 3.11.5
* CustomEase 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function m(e){return Math.round(1e5*e)/1e5||0}var b=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,w=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,Y=Math.PI/180,k=Math.sin,B=Math.cos,F=Math.abs,J=Math.sqrt;function arcToSegment(e,t,n,s,a,r,i,o,h){if(e!==o||t!==h){n=F(n),s=F(s);var u=a%360*Y,f=B(u),c=k(u),l=Math.PI,g=2*l,x=(e-o)/2,d=(t-h)/2,m=f*x+c*d,p=-c*x+f*d,y=m*m,M=p*p,v=y/(n*n)+M/(s*s);1<v&&(n=J(v)*n,s=J(v)*s);var C=n*n,E=s*s,b=(C*E-C*M-E*y)/(C*M+E*y);b<0&&(b=0);var w=(r===i?-1:1)*J(b),P=n*p/s*w,S=-s*m/n*w,N=f*P-c*S+(e+o)/2,D=c*P+f*S+(t+h)/2,T=(m-P)/n,V=(p-S)/s,_=(-m-P)/n,q=(-p-S)/s,A=T*T+V*V,R=(V<0?-1:1)*Math.acos(T/J(A)),G=(T*q-V*_<0?-1:1)*Math.acos((T*_+V*q)/J(A*(_*_+q*q)));isNaN(G)&&(G=l),!i&&0<G?G-=g:i&&G<0&&(G+=g),R%=g,G%=g;var L,O=Math.ceil(F(G)/(g/4)),j=[],z=G/O,I=4/3*k(z/2)/(1+B(z/2)),H=f*n,Q=c*n,Z=c*-s,U=f*s;for(L=0;L<O;L++)m=B(a=R+L*z),p=k(a),T=B(a+=z),V=k(a),j.push(m-I*p,p+I*m,T+I*V,V-I*T,T,V);for(L=0;L<j.length;L+=2)m=j[L],p=j[L+1],j[L]=m*H+p*Z+N,j[L+1]=m*Q+p*U+D;return j[L-2]=o,j[L-1]=h,j}}function stringToRawPath(e){function db(e,t,n,s){f=(n-e)/3,c=(s-t)/3,o.push(e+f,t+c,n-f,s-c,n,s)}var t,n,s,a,r,i,o,h,u,f,c,l,g,x,d,m=(e+"").replace(w,function(e){var t=+e;return t<1e-4&&-1e-4<t?0:t}).match(b)||[],p=[],y=0,M=0,v=m.length,C=0,E="ERROR: malformed path: "+e;if(!e||!isNaN(m[0])||isNaN(m[1]))return console.log(E),p;for(t=0;t<v;t++)if(g=r,isNaN(m[t])?i=(r=m[t].toUpperCase())!==m[t]:t--,s=+m[t+1],a=+m[t+2],i&&(s+=y,a+=M),t||(h=s,u=a),"M"===r)o&&(o.length<8?--p.length:C+=o.length),y=h=s,M=u=a,o=[s,a],p.push(o),t+=2,r="L";else if("C"===r)i||(y=M=0),(o=o||[0,0]).push(s,a,y+1*m[t+3],M+1*m[t+4],y+=1*m[t+5],M+=1*m[t+6]),t+=6;else if("S"===r)f=y,c=M,"C"!==g&&"S"!==g||(f+=y-o[o.length-4],c+=M-o[o.length-3]),i||(y=M=0),o.push(f,c,s,a,y+=1*m[t+3],M+=1*m[t+4]),t+=4;else if("Q"===r)f=y+2/3*(s-y),c=M+2/3*(a-M),i||(y=M=0),y+=1*m[t+3],M+=1*m[t+4],o.push(f,c,y+2/3*(s-y),M+2/3*(a-M),y,M),t+=4;else if("T"===r)f=y-o[o.length-4],c=M-o[o.length-3],o.push(y+f,M+c,s+2/3*(y+1.5*f-s),a+2/3*(M+1.5*c-a),y=s,M=a),t+=2;else if("H"===r)db(y,M,y=s,M),t+=1;else if("V"===r)db(y,M,y,M=s+(i?M-y:0)),t+=1;else if("L"===r||"Z"===r)"Z"===r&&(s=h,a=u,o.closed=!0),("L"===r||.5<F(y-s)||.5<F(M-a))&&(db(y,M,s,a),"L"===r&&(t+=2)),y=s,M=a;else if("A"===r){if(x=m[t+4],d=m[t+5],f=m[t+6],c=m[t+7],n=7,1<x.length&&(x.length<3?(c=f,f=d,n--):(c=d,f=x.substr(2),n-=2),d=x.charAt(1),x=x.charAt(0)),l=arcToSegment(y,M,+m[t+1],+m[t+2],+m[t+3],+x,+d,(i?y:0)+1*f,(i?M:0)+1*c),t+=n,l)for(n=0;n<l.length;n++)o.push(l[n]);y=o[o.length-2],M=o[o.length-1]}else console.log(E);return(t=o.length)<6?(p.pop(),t=0):o[0]===o[t-2]&&o[1]===o[t-1]&&(o.closed=!0),p.totalPoints=C+t,p}function p(){return M||"undefined"!=typeof window&&(M=window.gsap)&&M.registerPlugin&&M}function q(){(M=p())?(M.registerEase("_CE",n.create),a=1):console.warn("Please gsap.registerPlugin(CustomEase)")}function s(e){return~~(1e3*e+(e<0?-.5:.5))/1e3}function x(e,t,n,s,a,r,i,o,h,u,f){var c,l=(e+n)/2,g=(t+s)/2,d=(n+a)/2,m=(s+r)/2,p=(a+i)/2,y=(r+o)/2,M=(l+d)/2,v=(g+m)/2,C=(d+p)/2,E=(m+y)/2,b=(M+C)/2,w=(v+E)/2,P=i-e,S=o-t,N=Math.abs((n-i)*S-(s-o)*P),D=Math.abs((a-i)*S-(r-o)*P);return u||(u=[{x:e,y:t},{x:i,y:o}],f=1),u.splice(f||u.length-1,0,{x:b,y:w}),h*(P*P+S*S)<(N+D)*(N+D)&&(c=u.length,x(e,t,l,g,M,v,b,w,h,u,f),x(b,w,C,E,p,y,i,o,h,u,f+1+(u.length-c))),u}var M,a,t,y=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,v=/[cLlsSaAhHvVtTqQ]/g,n=((t=CustomEase.prototype).setData=function setData(e,t){t=t||{};var n,s,a,r,i,o,h,u,f,c=(e=e||"0,0,1,1").match(y),l=1,g=[],d=[],m=t.precision||1,p=m<=1;if(this.data=e,(v.test(e)||~e.indexOf("M")&&e.indexOf("C")<0)&&(c=stringToRawPath(e)[0]),4===(n=c.length))c.unshift(0,0),c.push(1,1),n=8;else if((n-2)%6)throw"Invalid CustomEase";for(0==+c[0]&&1==+c[n-2]||function _normalize(e,t,n){n||0===n||(n=Math.max(+e[e.length-1],+e[1]));var s,a=-1*e[0],r=-n,i=e.length,o=1/(+e[i-2]+a),h=-t||(Math.abs(e[i-1]-e[1])<.01*(e[i-2]-e[0])?function _findMinimum(e){var t,n=e.length,s=1e20;for(t=1;t<n;t+=6)+e[t]<s&&(s=+e[t]);return s}(e)+r:+e[i-1]+r);for(h=h?1/h:-o,s=0;s<i;s+=2)e[s]=(+e[s]+a)*o,e[s+1]=(+e[s+1]+r)*h}(c,t.height,t.originY),this.segment=c,r=2;r<n;r+=6)s={x:+c[r-2],y:+c[r-1]},a={x:+c[r+4],y:+c[r+5]},g.push(s,a),x(s.x,s.y,+c[r],+c[r+1],+c[r+2],+c[r+3],a.x,a.y,1/(2e5*m),g,g.length-1);for(n=g.length,r=0;r<n;r++)h=g[r],u=g[r-1]||h,(h.x>u.x||u.y!==h.y&&u.x===h.x||h===u)&&h.x<=1?(u.cx=h.x-u.x,u.cy=h.y-u.y,u.n=h,u.nx=h.x,p&&1<r&&2<Math.abs(u.cy/u.cx-g[r-2].cy/g[r-2].cx)&&(p=0),u.cx<l&&(u.cx?l=u.cx:(u.cx=.001,r===n-1&&(u.x-=.001,l=Math.min(l,.001),p=0)))):(g.splice(r--,1),n--);if(i=1/(n=1/l+1|0),h=g[o=0],p){for(r=0;r<n;r++)f=r*i,h.nx<f&&(h=g[++o]),s=h.y+(f-h.x)/h.cx*h.cy,d[r]={x:f,cx:i,y:s,cy:0,nx:9},r&&(d[r-1].cy=s-d[r-1].y);d[n-1].cy=g[g.length-1].y-s}else{for(r=0;r<n;r++)h.nx<r*i&&(h=g[++o]),d[r]=h;o<g.length-1&&(d[r-1]=g[g.length-2])}return this.ease=function(e){var t=d[e*n|0]||d[n-1];return t.nx<e&&(t=t.n),t.y+(e-t.x)/t.cx*t.cy},(this.ease.custom=this).id&&M&&M.registerEase(this.id,this.ease),this},t.getSVGData=function getSVGData(e){return CustomEase.getSVGData(this,e)},CustomEase.create=function create(e,t,n){return new CustomEase(e,t,n).ease},CustomEase.register=function register(e){M=e,q()},CustomEase.get=function get(e){return M.parseEase(e)},CustomEase.getSVGData=function getSVGData(e,t){var n,a,r,i,o,h,u,f,c,l,g=(t=t||{}).width||100,x=t.height||100,d=t.x||0,p=(t.y||0)+x,y=M.utils.toArray(t.path)[0];if(t.invert&&(x=-x,p=0),"string"==typeof e&&(e=M.parseEase(e)),e.custom&&(e=e.custom),e instanceof CustomEase)n=function rawPathToString(e){!function _isNumber(e){return"number"==typeof e}(e[0])||(e=[e]);var t,n,s,a,r="",i=e.length;for(n=0;n<i;n++){for(a=e[n],r+="M"+m(a[0])+","+m(a[1])+" C",t=a.length,s=2;s<t;s++)r+=m(a[s++])+","+m(a[s++])+" "+m(a[s++])+","+m(a[s++])+" "+m(a[s++])+","+m(a[s])+" ";a.closed&&(r+="z")}return r}(function transformRawPath(e,t,n,s,a,r,i){for(var o,h,u,f,c,l=e.length;-1<--l;)for(h=(o=e[l]).length,u=0;u<h;u+=2)f=o[u],c=o[u+1],o[u]=f*t+c*s+r,o[u+1]=f*n+c*a+i;return e._dirty=1,e}([e.segment],g,0,0,-x,d,p));else{for(n=[d,p],i=1/(u=Math.max(5,200*(t.precision||1))),f=5/(u+=2),c=s(d+i*g),a=((l=s(p+e(i)*-x))-p)/(c-d),r=2;r<u;r++)o=s(d+r*i*g),h=s(p+e(r*i)*-x),(Math.abs((h-l)/(o-c)-a)>f||r===u-1)&&(n.push(c,l),a=(h-l)/(o-c)),c=o,l=h;n="M"+n.join(",")}return y&&y.setAttribute("d",n),n},CustomEase);function CustomEase(e,t,n){a||q(),this.id=e,this.setData(t,n)}p()&&M.registerPlugin(n),n.version="3.11.5",e.CustomEase=n,e.default=n;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function m(e){return Math.round(1e5*e)/1e5||0}var b=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,w=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,Y=Math.PI/180,k=Math.sin,B=Math.cos,F=Math.abs,J=Math.sqrt;function arcToSegment(e,t,n,s,a,r,i,o,h){if(e!==o||t!==h){n=F(n),s=F(s);var u=a%360*Y,f=B(u),c=k(u),l=Math.PI,g=2*l,x=(e-o)/2,d=(t-h)/2,m=f*x+c*d,p=-c*x+f*d,y=m*m,M=p*p,v=y/(n*n)+M/(s*s);1<v&&(n=J(v)*n,s=J(v)*s);var C=n*n,E=s*s,b=(C*E-C*M-E*y)/(C*M+E*y);b<0&&(b=0);var w=(r===i?-1:1)*J(b),P=n*p/s*w,S=-s*m/n*w,N=f*P-c*S+(e+o)/2,D=c*P+f*S+(t+h)/2,T=(m-P)/n,V=(p-S)/s,_=(-m-P)/n,q=(-p-S)/s,A=T*T+V*V,R=(V<0?-1:1)*Math.acos(T/J(A)),G=(T*q-V*_<0?-1:1)*Math.acos((T*_+V*q)/J(A*(_*_+q*q)));isNaN(G)&&(G=l),!i&&0<G?G-=g:i&&G<0&&(G+=g),R%=g,G%=g;var L,O=Math.ceil(F(G)/(g/4)),j=[],z=G/O,I=4/3*k(z/2)/(1+B(z/2)),H=f*n,Q=c*n,Z=c*-s,U=f*s;for(L=0;L<O;L++)m=B(a=R+L*z),p=k(a),T=B(a+=z),V=k(a),j.push(m-I*p,p+I*m,T+I*V,V-I*T,T,V);for(L=0;L<j.length;L+=2)m=j[L],p=j[L+1],j[L]=m*H+p*Z+N,j[L+1]=m*Q+p*U+D;return j[L-2]=o,j[L-1]=h,j}}function stringToRawPath(e){function db(e,t,n,s){f=(n-e)/3,c=(s-t)/3,o.push(e+f,t+c,n-f,s-c,n,s)}var t,n,s,a,r,i,o,h,u,f,c,l,g,x,d,m=(e+"").replace(w,function(e){var t=+e;return t<1e-4&&-1e-4<t?0:t}).match(b)||[],p=[],y=0,M=0,v=m.length,C=0,E="ERROR: malformed path: "+e;if(!e||!isNaN(m[0])||isNaN(m[1]))return console.log(E),p;for(t=0;t<v;t++)if(g=r,isNaN(m[t])?i=(r=m[t].toUpperCase())!==m[t]:t--,s=+m[t+1],a=+m[t+2],i&&(s+=y,a+=M),t||(h=s,u=a),"M"===r)o&&(o.length<8?--p.length:C+=o.length),y=h=s,M=u=a,o=[s,a],p.push(o),t+=2,r="L";else if("C"===r)i||(y=M=0),(o=o||[0,0]).push(s,a,y+1*m[t+3],M+1*m[t+4],y+=1*m[t+5],M+=1*m[t+6]),t+=6;else if("S"===r)f=y,c=M,"C"!==g&&"S"!==g||(f+=y-o[o.length-4],c+=M-o[o.length-3]),i||(y=M=0),o.push(f,c,s,a,y+=1*m[t+3],M+=1*m[t+4]),t+=4;else if("Q"===r)f=y+2/3*(s-y),c=M+2/3*(a-M),i||(y=M=0),y+=1*m[t+3],M+=1*m[t+4],o.push(f,c,y+2/3*(s-y),M+2/3*(a-M),y,M),t+=4;else if("T"===r)f=y-o[o.length-4],c=M-o[o.length-3],o.push(y+f,M+c,s+2/3*(y+1.5*f-s),a+2/3*(M+1.5*c-a),y=s,M=a),t+=2;else if("H"===r)db(y,M,y=s,M),t+=1;else if("V"===r)db(y,M,y,M=s+(i?M-y:0)),t+=1;else if("L"===r||"Z"===r)"Z"===r&&(s=h,a=u,o.closed=!0),("L"===r||.5<F(y-s)||.5<F(M-a))&&(db(y,M,s,a),"L"===r&&(t+=2)),y=s,M=a;else if("A"===r){if(x=m[t+4],d=m[t+5],f=m[t+6],c=m[t+7],n=7,1<x.length&&(x.length<3?(c=f,f=d,n--):(c=d,f=x.substr(2),n-=2),d=x.charAt(1),x=x.charAt(0)),l=arcToSegment(y,M,+m[t+1],+m[t+2],+m[t+3],+x,+d,(i?y:0)+1*f,(i?M:0)+1*c),t+=n,l)for(n=0;n<l.length;n++)o.push(l[n]);y=o[o.length-2],M=o[o.length-1]}else console.log(E);return(t=o.length)<6?(p.pop(),t=0):o[0]===o[t-2]&&o[1]===o[t-1]&&(o.closed=!0),p.totalPoints=C+t,p}function p(){return M||"undefined"!=typeof window&&(M=window.gsap)&&M.registerPlugin&&M}function q(){(M=p())?(M.registerEase("_CE",n.create),a=1):console.warn("Please gsap.registerPlugin(CustomEase)")}function s(e){return~~(1e3*e+(e<0?-.5:.5))/1e3}function x(e,t,n,s,a,r,i,o,h,u,f){var c,l=(e+n)/2,g=(t+s)/2,d=(n+a)/2,m=(s+r)/2,p=(a+i)/2,y=(r+o)/2,M=(l+d)/2,v=(g+m)/2,C=(d+p)/2,E=(m+y)/2,b=(M+C)/2,w=(v+E)/2,P=i-e,S=o-t,N=Math.abs((n-i)*S-(s-o)*P),D=Math.abs((a-i)*S-(r-o)*P);return u||(u=[{x:e,y:t},{x:i,y:o}],f=1),u.splice(f||u.length-1,0,{x:b,y:w}),h*(P*P+S*S)<(N+D)*(N+D)&&(c=u.length,x(e,t,l,g,M,v,b,w,h,u,f),x(b,w,C,E,p,y,i,o,h,u,f+1+(u.length-c))),u}var M,a,t,y=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,v=/[cLlsSaAhHvVtTqQ]/g,n=((t=CustomEase.prototype).setData=function setData(e,t){t=t||{};var n,s,a,r,i,o,h,u,f,c=(e=e||"0,0,1,1").match(y),l=1,g=[],d=[],m=t.precision||1,p=m<=1;if(this.data=e,(v.test(e)||~e.indexOf("M")&&e.indexOf("C")<0)&&(c=stringToRawPath(e)[0]),4===(n=c.length))c.unshift(0,0),c.push(1,1),n=8;else if((n-2)%6)throw"Invalid CustomEase";for(0==+c[0]&&1==+c[n-2]||function _normalize(e,t,n){n||0===n||(n=Math.max(+e[e.length-1],+e[1]));var s,a=-1*e[0],r=-n,i=e.length,o=1/(+e[i-2]+a),h=-t||(Math.abs(e[i-1]-e[1])<.01*(e[i-2]-e[0])?function _findMinimum(e){var t,n=e.length,s=1e20;for(t=1;t<n;t+=6)+e[t]<s&&(s=+e[t]);return s}(e)+r:+e[i-1]+r);for(h=h?1/h:-o,s=0;s<i;s+=2)e[s]=(+e[s]+a)*o,e[s+1]=(+e[s+1]+r)*h}(c,t.height,t.originY),this.segment=c,r=2;r<n;r+=6)s={x:+c[r-2],y:+c[r-1]},a={x:+c[r+4],y:+c[r+5]},g.push(s,a),x(s.x,s.y,+c[r],+c[r+1],+c[r+2],+c[r+3],a.x,a.y,1/(2e5*m),g,g.length-1);for(n=g.length,r=0;r<n;r++)h=g[r],u=g[r-1]||h,(h.x>u.x||u.y!==h.y&&u.x===h.x||h===u)&&h.x<=1?(u.cx=h.x-u.x,u.cy=h.y-u.y,u.n=h,u.nx=h.x,p&&1<r&&2<Math.abs(u.cy/u.cx-g[r-2].cy/g[r-2].cx)&&(p=0),u.cx<l&&(u.cx?l=u.cx:(u.cx=.001,r===n-1&&(u.x-=.001,l=Math.min(l,.001),p=0)))):(g.splice(r--,1),n--);if(i=1/(n=1/l+1|0),h=g[o=0],p){for(r=0;r<n;r++)f=r*i,h.nx<f&&(h=g[++o]),s=h.y+(f-h.x)/h.cx*h.cy,d[r]={x:f,cx:i,y:s,cy:0,nx:9},r&&(d[r-1].cy=s-d[r-1].y);d[n-1].cy=g[g.length-1].y-s}else{for(r=0;r<n;r++)h.nx<r*i&&(h=g[++o]),d[r]=h;o<g.length-1&&(d[r-1]=g[g.length-2])}return this.ease=function(e){var t=d[e*n|0]||d[n-1];return t.nx<e&&(t=t.n),t.y+(e-t.x)/t.cx*t.cy},(this.ease.custom=this).id&&M&&M.registerEase(this.id,this.ease),this},t.getSVGData=function getSVGData(e){return CustomEase.getSVGData(this,e)},CustomEase.create=function create(e,t,n){return new CustomEase(e,t,n).ease},CustomEase.register=function register(e){M=e,q()},CustomEase.get=function get(e){return M.parseEase(e)},CustomEase.getSVGData=function getSVGData(e,t){var n,a,r,i,o,h,u,f,c,l,g=(t=t||{}).width||100,x=t.height||100,d=t.x||0,p=(t.y||0)+x,y=M.utils.toArray(t.path)[0];if(t.invert&&(x=-x,p=0),"string"==typeof e&&(e=M.parseEase(e)),e.custom&&(e=e.custom),e instanceof CustomEase)n=function rawPathToString(e){!function _isNumber(e){return"number"==typeof e}(e[0])||(e=[e]);var t,n,s,a,r="",i=e.length;for(n=0;n<i;n++){for(a=e[n],r+="M"+m(a[0])+","+m(a[1])+" C",t=a.length,s=2;s<t;s++)r+=m(a[s++])+","+m(a[s++])+" "+m(a[s++])+","+m(a[s++])+" "+m(a[s++])+","+m(a[s])+" ";a.closed&&(r+="z")}return r}(function transformRawPath(e,t,n,s,a,r,i){for(var o,h,u,f,c,l=e.length;-1<--l;)for(h=(o=e[l]).length,u=0;u<h;u+=2)f=o[u],c=o[u+1],o[u]=f*t+c*s+r,o[u+1]=f*n+c*a+i;return e._dirty=1,e}([e.segment],g,0,0,-x,d,p));else{for(n=[d,p],i=1/(u=Math.max(5,200*(t.precision||1))),f=5/(u+=2),c=s(d+i*g),a=((l=s(p+e(i)*-x))-p)/(c-d),r=2;r<u;r++)o=s(d+r*i*g),h=s(p+e(r*i)*-x),(Math.abs((h-l)/(o-c)-a)>f||r===u-1)&&(n.push(c,l),a=(h-l)/(o-c)),c=o,l=h;n="M"+n.join(",")}return y&&y.setAttribute("d",n),n},CustomEase);function CustomEase(e,t,n){a||q(),this.id=e,this.setData(t,n)}p()&&M.registerPlugin(n),n.version="3.12.0",e.CustomEase=n,e.default=n;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* CustomWiggle 3.11.5
* CustomWiggle 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((n=n||self).window=n.window||{})}(this,function(e){"use strict";function g(){return t||"undefined"!=typeof window&&(t=window.gsap)&&t.registerPlugin&&t}function i(n){return n}function j(n){if(!y)if(t=g(),C=t&&t.parseEase("_CE")){for(var e in W)W[e]=C("",W[e]);y=1,o("wiggle").config=function(n){return"object"==typeof n?o("",n):o("wiggle("+n+")",{wiggles:+n})}}else n&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")}function k(e,n){return"function"!=typeof e&&(e=t.parseEase(e)||C("",e)),e.custom||!n?e:function(n){return 1-e(n)}}function n(){return String.fromCharCode.apply(null,arguments)}var t,y,C,W={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"},a="CustomWiggle",u=n(103,114,101,101,110,115,111,99,107,46,99,111,109),M=function(e){var t="undefined"!=typeof window,i=0===(t?window.location.href:"").indexOf(n(102,105,108,101,58,47,47))||-1!==e.indexOf(n(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(n(49,50,55,46,48,32,48,46,49)),o=[u,n(99,111,100,101,112,101,110,46,105,111),n(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),n(99,111,100,101,112,101,110,46,100,101,118),n(99,111,100,101,112,101,110,46,97,112,112),n(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),n(112,101,110,115,46,99,108,111,117,100),n(99,115,115,45,116,114,105,99,107,115,46,99,111,109),n(99,100,112,110,46,105,111),n(112,101,110,115,46,105,111),n(103,97,110,110,111,110,46,116,118),n(99,111,100,101,99,97,110,121,111,110,46,110,101,116),n(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),n(99,101,114,101,98,114,97,120,46,99,111,46,117,107),n(116,121,109,112,97,110,117,115,46,110,101,116),n(116,119,101,101,110,109,97,120,46,99,111,109),n(112,108,110,107,114,46,99,111),n(104,111,116,106,97,114,46,99,111,109),n(119,101,98,112,97,99,107,98,105,110,46,99,111,109),n(97,114,99,104,105,118,101,46,111,114,103),n(99,111,100,101,115,97,110,100,98,111,120,46,105,111),n(99,115,98,46,97,112,112),n(115,116,97,99,107,98,108,105,116,122,46,99,111,109),n(115,116,97,99,107,98,108,105,116,122,46,105,111),n(99,111,100,105,101,114,46,105,111),n(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),n(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),n(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),n(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),n(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),n(106,115,102,105,100,100,108,101,46,110,101,116)],r=o.length;for(setTimeout(function checkWarn(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(n(37,99,87,97,114,110,105,110,103),n(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(n(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+a+n(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(n(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),n(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--r;)if(-1!==e.indexOf(o[r]))return!0;return i||!setTimeout(function(){t&&(window.location.href=n(104,116,116,112,115,58,47,47)+u+n(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+a+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),o=function _create(n,e){y||j(1);var t,o,r,a,u,s,f,g,c,d=0|((e=e||{}).wiggles||10),l=1/d,p=l/2,w="anticipate"===e.type,m=W[e.type]||W.easeOut,h=i;if(M){if(w&&(h=m,m=W.easeOut),e.timingEase&&(h=k(e.timingEase)),e.amplitudeEase&&(m=k(e.amplitudeEase,!0)),g=[0,0,(s=h(p))/4,0,s/2,f=w?-m(p):m(p),s,f],"random"===e.type){for(g.length=4,t=h(l),o=2*Math.random()-1,c=2;c<d;c++)p=t,f=o,t=h(l*c),o=2*Math.random()-1,r=Math.atan2(o-g[g.length-3],t-g[g.length-4]),a=Math.cos(r)*l,u=Math.sin(r)*l,g.push(p-a,f-u,p,f,p+a,f+u);g.push(t,0,1,0)}else{for(c=1;c<d;c++)g.push(h(p+l/2),f),p+=l,f=(0<f?-1:1)*m(c*l),s=h(p),g.push(h(p-l/2),f,s,f);g.push(h(p+l/4),f,h(p+l/4),0,1,0)}for(c=g.length;-1<--c;)g[c]=~~(1e3*g[c])/1e3;return g[2]="C"+g[2],C(n,"M"+g.join(","))}},r=(CustomWiggle.create=function create(n,e){return o(n,e)},CustomWiggle.register=function register(n){t=n,j()},CustomWiggle);function CustomWiggle(n,e){this.ease=o(n,e)}g()&&t.registerPlugin(r),r.version="3.11.5",e.CustomWiggle=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((n=n||self).window=n.window||{})}(this,function(e){"use strict";function g(){return a||"undefined"!=typeof window&&(a=window.gsap)&&a.registerPlugin&&a}function i(n){return n}function j(n){if(!y)if(a=g(),C=a&&a.parseEase("_CE")){for(var e in W)W[e]=C("",W[e]);y=1,t("wiggle").config=function(n){return"object"==typeof n?t("",n):t("wiggle("+n+")",{wiggles:+n})}}else n&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")}function k(e,n){return"function"!=typeof e&&(e=a.parseEase(e)||C("",e)),e.custom||!n?e:function(n){return 1-e(n)}}function n(){return String.fromCharCode.apply(null,arguments)}var a,y,C,W={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"},s="CustomWiggle",u=n(103,114,101,101,110,115,111,99,107,46,99,111,109),f=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,v=function(e){var t="undefined"!=typeof window,o=0===(t?window.location.href:"").indexOf(n(102,105,108,101,58,47,47))||-1!==e.indexOf(n(108,111,99,97,108,104,111,115,116))||f.test(e),i=[u,n(99,111,100,101,112,101,110,46,105,111),n(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),n(99,111,100,101,112,101,110,46,100,101,118),n(99,111,100,101,112,101,110,46,97,112,112),n(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),n(112,101,110,115,46,99,108,111,117,100),n(99,115,115,45,116,114,105,99,107,115,46,99,111,109),n(99,100,112,110,46,105,111),n(112,101,110,115,46,105,111),n(103,97,110,110,111,110,46,116,118),n(99,111,100,101,99,97,110,121,111,110,46,110,101,116),n(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),n(99,101,114,101,98,114,97,120,46,99,111,46,117,107),n(116,121,109,112,97,110,117,115,46,110,101,116),n(116,119,101,101,110,109,97,120,46,99,111,109),n(112,108,110,107,114,46,99,111),n(104,111,116,106,97,114,46,99,111,109),n(119,101,98,112,97,99,107,98,105,110,46,99,111,109),n(97,114,99,104,105,118,101,46,111,114,103),n(99,111,100,101,115,97,110,100,98,111,120,46,105,111),n(99,115,98,46,97,112,112),n(115,116,97,99,107,98,108,105,116,122,46,99,111,109),n(115,116,97,99,107,98,108,105,116,122,46,105,111),n(99,111,100,105,101,114,46,105,111),n(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),n(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),n(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),n(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),n(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),n(106,115,102,105,100,100,108,101,46,110,101,116)],r=i.length;for(setTimeout(function checkWarn(){if(t)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var e="object"==typeof a?a:t&&window.gsap;t&&window.console&&!window._gsapWarned&&"object"==typeof e&&!1!==e.config().trialWarn&&(console.log(n(37,99,87,97,114,110,105,110,103),n(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(n(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+s+n(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(n(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),n(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--r;)if(-1!==e.indexOf(i[r]))return!0;return o||!setTimeout(function(){t&&(window.location.href=n(104,116,116,112,115,58,47,47)+u+n(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+s+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),t=function _create(n,e){y||j(1);var t,o,r,a,s,u,f,c,g,d=0|((e=e||{}).wiggles||10),l=1/d,p=l/2,w="anticipate"===e.type,m=W[e.type]||W.easeOut,h=i;if(v){if(w&&(h=m,m=W.easeOut),e.timingEase&&(h=k(e.timingEase)),e.amplitudeEase&&(m=k(e.amplitudeEase,!0)),c=[0,0,(u=h(p))/4,0,u/2,f=w?-m(p):m(p),u,f],"random"===e.type){for(c.length=4,t=h(l),o=2*Math.random()-1,g=2;g<d;g++)p=t,f=o,t=h(l*g),o=2*Math.random()-1,r=Math.atan2(o-c[c.length-3],t-c[c.length-4]),a=Math.cos(r)*l,s=Math.sin(r)*l,c.push(p-a,f-s,p,f,p+a,f+s);c.push(t,0,1,0)}else{for(g=1;g<d;g++)c.push(h(p+l/2),f),p+=l,f=(0<f?-1:1)*m(g*l),u=h(p),c.push(h(p-l/2),f,u,f);c.push(h(p+l/4),f,h(p+l/4),0,1,0)}for(g=c.length;-1<--g;)c[g]=~~(1e3*c[g])/1e3;return c[2]="C"+c[2],C(n,"M"+c.join(","))}},o=(CustomWiggle.create=function create(n,e){return t(n,e)},CustomWiggle.register=function register(n){a=n,j()},CustomWiggle);function CustomWiggle(n,e){this.ease=t(n,e)}g()&&a.registerPlugin(o),o.version="3.12.0",e.CustomWiggle=o,e.default=o;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* Draggable 3.11.5
* Draggable 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){if(e.parentNode&&(h||T(e))){var n=L(e),o=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r=n?t?"rect":"g":"div",i=2!==t?0:100,a=3===t?100:0,l="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",s=h.createElementNS?h.createElementNS(o.replace(/^https/,"http"),r):h.createElement(r);return t&&(n?(g=g||w(e),s.setAttribute("width",.01),s.setAttribute("height",.01),s.setAttribute("transform","translate("+i+","+a+")"),g.appendChild(s)):(f||((f=w(e)).style.cssText=l),s.style.cssText=l+"width:0.1px;height:0.1px;top:"+a+"px;left:"+i+"px",f.appendChild(s))),s}throw"Need document and parent."}function A(e,t,n,o,r,i,a){return e.a=t,e.b=n,e.c=o,e.d=r,e.e=i,e.f=a,e}var h,u,r,i,f,g,x,m,y,t,v="transform",b=v+"Origin",T=function _setDoc(e){var t=e.ownerDocument||e;!(v in e.style)&&"msTransform"in e.style&&(b=(v="msTransform")+"Origin");for(;t.parentNode&&(t=t.parentNode););if(u=window,x=new ge,t){r=(h=t).documentElement,i=t.body,(m=h.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=t.createElement("div"),o=t.createElement("div");i.appendChild(n),n.appendChild(o),n.style.position="static",n.style[v]="translate3d(0,0,1px)",y=o.offsetParent!==n,i.removeChild(n)}return t},D=function _forceNonZeroScale(e){for(var t,n;e&&e!==i;)(n=e._gsap)&&n.uncache&&n.get(e,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),t?t.push(n):t=[n]),e=e.parentNode;return t},M=[],E=[],S=function _getDocScrollTop(){return u.pageYOffset||h.scrollTop||r.scrollTop||i.scrollTop||0},P=function _getDocScrollLeft(){return u.pageXOffset||h.scrollLeft||r.scrollLeft||i.scrollLeft||0},L=function _svgOwner(e){return e.ownerSVGElement||("svg"===(e.tagName+"").toLowerCase()?e:null)},C=function _isFixed(e){return"fixed"===u.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?_isFixed(e):void 0)},N=function _placeSiblings(e,t){var n,o,r,i,a,l,s=L(e),c=e===s,d=s?M:E,p=e.parentNode;if(e===u)return e;if(d.length||d.push(w(e,1),w(e,2),w(e,3)),n=s?g:f,s)c?(i=-(r=function _getCTM(e){var t,n=e.getCTM();return n||(t=e.style[v],e.style[v]="none",e.appendChild(m),n=m.getCTM(),e.removeChild(m),t?e.style[v]=t:e.style.removeProperty(v.replace(/([A-Z])/g,"-$1").toLowerCase())),n||x.clone()}(e)).e/r.a,a=-r.f/r.d,o=x):e.getBBox?(r=e.getBBox(),i=(o=(o=e.transform?e.transform.baseVal:{}).numberOfItems?1<o.numberOfItems?function _consolidate(e){for(var t=new ge,n=0;n<e.numberOfItems;n++)t.multiply(e.getItem(n).matrix);return t}(o):o.getItem(0).matrix:x).a*r.x+o.c*r.y,a=o.b*r.x+o.d*r.y):(o=new ge,i=a=0),t&&"g"===e.tagName.toLowerCase()&&(i=a=0),(c?s:p).appendChild(n),n.setAttribute("transform","matrix("+o.a+","+o.b+","+o.c+","+o.d+","+(o.e+i)+","+(o.f+a)+")");else{if(i=a=0,y)for(o=e.offsetParent,r=e;(r=r&&r.parentNode)&&r!==o&&r.parentNode;)4<(u.getComputedStyle(r)[v]+"").length&&(i=r.offsetLeft,a=r.offsetTop,r=0);if("absolute"!==(l=u.getComputedStyle(e)).position&&"fixed"!==l.position)for(o=e.offsetParent;p&&p!==o;)i+=p.scrollLeft||0,a+=p.scrollTop||0,p=p.parentNode;(r=n.style).top=e.offsetTop-a+"px",r.left=e.offsetLeft-i+"px",r[v]=l[v],r[b]=l[b],r.position="fixed"===l.position?"fixed":"absolute",e.parentNode.appendChild(n)}return n},ge=((t=Matrix2D.prototype).inverse=function inverse(){var e=this.a,t=this.b,n=this.c,o=this.d,r=this.e,i=this.f,a=e*o-t*n||1e-10;return A(this,o/a,-t/a,-n/a,e/a,(n*i-o*r)/a,-(e*i-t*r)/a)},t.multiply=function multiply(e){var t=this.a,n=this.b,o=this.c,r=this.d,i=this.e,a=this.f,l=e.a,s=e.c,c=e.b,d=e.d,p=e.e,u=e.f;return A(this,l*t+c*o,l*n+c*r,s*t+d*o,s*n+d*r,i+p*t+u*o,a+p*n+u*r)},t.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)},t.equals=function equals(e){var t=this.a,n=this.b,o=this.c,r=this.d,i=this.e,a=this.f;return t===e.a&&n===e.b&&o===e.c&&r===e.d&&i===e.e&&a===e.f},t.apply=function apply(e,t){void 0===t&&(t={});var n=e.x,o=e.y,r=this.a,i=this.b,a=this.c,l=this.d,s=this.e,c=this.f;return t.x=n*r+o*a+s||0,t.y=n*i+o*l+c||0,t},Matrix2D);function Matrix2D(e,t,n,o,r,i){void 0===e&&(e=1),void 0===t&&(t=0),void 0===n&&(n=0),void 0===o&&(o=1),void 0===r&&(r=0),void 0===i&&(i=0),A(this,e,t,n,o,r,i)}function getGlobalMatrix(e,t,n,o){if(!e||!e.parentNode||(h||T(e)).documentElement===e)return new ge;var r=D(e),i=L(e)?M:E,a=N(e,n),l=i[0].getBoundingClientRect(),s=i[1].getBoundingClientRect(),c=i[2].getBoundingClientRect(),d=a.parentNode,p=!o&&C(e),u=new ge((s.left-l.left)/100,(s.top-l.top)/100,(c.left-l.left)/100,(c.top-l.top)/100,l.left+(p?0:P()),l.top+(p?0:S()));if(d.removeChild(a),r)for(l=r.length;l--;)(s=r[l]).scaleX=s.scaleY=0,s.renderTransform(1,s);return t?u.inverse():u}function X(){return"undefined"!=typeof window}function Y(){return xe||X()&&(xe=window.gsap)&&xe.registerPlugin&&xe}function Z(e){return"function"==typeof e}function $(e){return"object"==typeof e}function _(e){return void 0===e}function aa(){return!1}function da(e){return Math.round(1e4*e)/1e4}function fa(e,t){var n=ye.createElementNS?ye.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ye.createElement(e);return n.style?n:ye.createElement(e)}function ra(e,t){var n,o={};for(n in e)o[n]=t?e[n]*t:e[n];return o}function ta(e,t){for(var n,o=e.length;o--;)t?e[o].style.touchAction=t:e[o].style.removeProperty("touch-action"),(n=e[o].children)&&n.length&&ta(n,t)}function ua(){return Be.forEach(function(e){return e()})}function wa(){return!Be.length&&xe.ticker.remove(ua)}function xa(e){for(var t=Be.length;t--;)Be[t]===e&&Be.splice(t,1);xe.to(wa,{overwrite:!0,delay:15,duration:0,onComplete:wa,data:"_draggable"})}function za(e,t,n,o){if(e.addEventListener){var r=Me[t];o=o||(d?{passive:!1}:null),e.addEventListener(r||t,n,o),r&&t!==r&&e.addEventListener(t,n,o)}}function Aa(e,t,n,o){if(e.removeEventListener){var r=Me[t];e.removeEventListener(r||t,n,o),r&&t!==r&&e.removeEventListener(t,n,o)}}function Ba(e){e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation()}function Da(e){Ee=e.touches&&Ce<e.touches.length,Aa(e.target,"touchend",Da)}function Ea(e){Ee=e.touches&&Ce<e.touches.length,za(e.target,"touchend",Da)}function Fa(e){return me.pageYOffset||e.scrollTop||e.documentElement.scrollTop||e.body.scrollTop||0}function Ga(e){return me.pageXOffset||e.scrollLeft||e.documentElement.scrollLeft||e.body.scrollLeft||0}function Ha(e,t){za(e,"scroll",t),We(e.parentNode)||Ha(e.parentNode,t)}function Ia(e,t){Aa(e,"scroll",t),We(e.parentNode)||Ia(e.parentNode,t)}function Ka(e,t){var n="x"===t?"Width":"Height",o="scroll"+n,r="client"+n;return Math.max(0,We(e)?Math.max(ve[o],l[o])-(me["inner"+n]||ve[r]||l[r]):e[o]-e[r])}function La(e,t){var n=Ka(e,"x"),o=Ka(e,"y");We(e)?e=Qe:La(e.parentNode,t),e._gsMaxScrollX=n,e._gsMaxScrollY=o,t||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)}function Ma(e,t,n){var o=e.style;o&&(_(o[t])&&(t=c(t,e)||t),null==n?o.removeProperty&&o.removeProperty(t.replace(/([A-Z])/g,"-$1").toLowerCase()):o[t]=n)}function Na(e){return me.getComputedStyle(e instanceof Element?e:e.host||(e.parentNode||{}).host||e)}function Pa(e){if(e===me)return p.left=p.top=0,p.width=p.right=ve.clientWidth||e.innerWidth||l.clientWidth||0,p.height=p.bottom=(e.innerHeight||0)-20<ve.clientHeight?ve.clientHeight:e.innerHeight||l.clientHeight||0,p;var t=e.ownerDocument||ye,n=_(e.pageX)?e.nodeType||_(e.left)||_(e.top)?Te(e)[0].getBoundingClientRect():e:{left:e.pageX-Ga(t),top:e.pageY-Fa(t),right:e.pageX-Ga(t)+1,bottom:e.pageY-Fa(t)+1};return _(n.right)&&!_(n.width)?(n.right=n.left+n.width,n.bottom=n.top+n.height):_(n.width)&&(n={width:n.right-n.left,height:n.bottom-n.top,right:n.right,left:n.left,bottom:n.bottom,top:n.top}),n}function Qa(e,t,n){var o,r=e.vars,i=r[n],a=e._listeners[t];return Z(i)&&(o=i.apply(r.callbackScope||e,r[n+"Params"]||[e.pointerEvent])),a&&!1===e.dispatchEvent(t)&&(o=!1),o}function Ra(e,t){var n,o,r,i=Te(e)[0];return i.nodeType||i===me?B(i,t):_(e.left)?{left:o=e.min||e.minX||e.minRotation||0,top:n=e.min||e.minY||0,width:(e.max||e.maxX||e.maxRotation||0)-o,height:(e.max||e.maxY||0)-n}:(r={x:0,y:0},{left:e.left-r.x,top:e.top-r.y,width:e.width,height:e.height})}function Ua(r,i,e,t,a,n){var o,l,s,c={};if(i)if(1!==a&&i instanceof Array){if(c.end=o=[],s=i.length,$(i[0]))for(l=0;l<s;l++)o[l]=ra(i[l],a);else for(l=0;l<s;l++)o[l]=i[l]*a;e+=1.1,t-=1.1}else Z(i)?c.end=function(e){var t,n,o=i.call(r,e);if(1!==a)if($(o)){for(n in t={},o)t[n]=o[n]*a;o=t}else o*=a;return o}:c.end=i;return!e&&0!==e||(c.max=e),!t&&0!==t||(c.min=t),n&&(c.velocity=0),c}function Va(e){var t;return!(!e||!e.getAttribute||e===l)&&(!("true"!==(t=e.getAttribute("data-clickable"))&&("false"===t||!e.onclick&&!o.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||Va(e.parentNode))}function Wa(e,t){for(var n,o=e.length;o--;)(n=e[o]).ondragstart=n.onselectstart=t?null:aa,xe.set(n,{lazy:!0,userSelect:t?"text":"none"})}function $a(i,r){i=xe.utils.toArray(i)[0],r=r||{};var a,l,s,e,c,d,p=document.createElement("div"),u=p.style,t=i.firstChild,h=0,f=0,g=i.scrollTop,x=i.scrollLeft,m=i.scrollWidth,y=i.scrollHeight,v=0,w=0,b=0;k&&!1!==r.force3D?(c="translate3d(",d="px,0px)"):R&&(c="translate(",d="px)"),this.scrollTop=function(e,t){if(!arguments.length)return-this.top();this.top(-e,t)},this.scrollLeft=function(e,t){if(!arguments.length)return-this.left();this.left(-e,t)},this.left=function(e,t){if(!arguments.length)return-(i.scrollLeft+f);var n=i.scrollLeft-x,o=f;if((2<n||n<-2)&&!t)return x=i.scrollLeft,xe.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-x),void(r.onKill&&r.onKill());(e=-e)<0?(f=e-.5|0,e=0):w<e?(f=e-w|0,e=w):f=0,(f||o)&&(this._skip||(u[R]=c+-f+"px,"+-h+d),0<=f+v&&(u.paddingRight=f+v+"px")),i.scrollLeft=0|e,x=i.scrollLeft},this.top=function(e,t){if(!arguments.length)return-(i.scrollTop+h);var n=i.scrollTop-g,o=h;if((2<n||n<-2)&&!t)return g=i.scrollTop,xe.killTweensOf(this,{top:1,scrollTop:1}),this.top(-g),void(r.onKill&&r.onKill());(e=-e)<0?(h=e-.5|0,e=0):b<e?(h=e-b|0,e=b):h=0,(h||o)&&(this._skip||(u[R]=c+-f+"px,"+-h+d)),i.scrollTop=0|e,g=i.scrollTop},this.maxScrollTop=function(){return b},this.maxScrollLeft=function(){return w},this.disable=function(){for(t=p.firstChild;t;)e=t.nextSibling,i.appendChild(t),t=e;i===p.parentNode&&i.removeChild(p)},this.enable=function(){if((t=i.firstChild)!==p){for(;t;)e=t.nextSibling,p.appendChild(t),t=e;i.appendChild(p),this.calibrate()}},this.calibrate=function(e){var t,n,o,r=i.clientWidth===a;g=i.scrollTop,x=i.scrollLeft,r&&i.clientHeight===l&&p.offsetHeight===s&&m===i.scrollWidth&&y===i.scrollHeight&&!e||((h||f)&&(n=this.left(),o=this.top(),this.left(-i.scrollLeft),this.top(-i.scrollTop)),t=Na(i),r&&!e||(u.display="block",u.width="auto",u.paddingRight="0px",(v=Math.max(0,i.scrollWidth-i.clientWidth))&&(v+=parseFloat(t.paddingLeft)+(O?parseFloat(t.paddingRight):0))),u.display="inline-block",u.position="relative",u.overflow="visible",u.verticalAlign="top",u.boxSizing="content-box",u.width="100%",u.paddingRight=v+"px",O&&(u.paddingBottom=t.paddingBottom),a=i.clientWidth,l=i.clientHeight,m=i.scrollWidth,y=i.scrollHeight,w=i.scrollWidth-a,b=i.scrollHeight-l,s=p.offsetHeight,u.display="block",(n||o)&&(this.left(n),this.top(o)))},this.content=p,this.element=i,this._skip=!1,this.enable()}function _a(e){if(X()&&document.body){var t=window&&window.navigator;me=window,ye=document,ve=ye.documentElement,l=ye.body,s=fa("div"),Pe=!!window.PointerEvent,(we=fa("div")).style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",Xe="grab"===we.style.cursor?"grab":"move",_e=t&&-1!==t.userAgent.toLowerCase().indexOf("android"),De="ontouchstart"in ve&&"orientation"in me||t&&(0<t.MaxTouchPoints||0<t.msMaxTouchPoints),o=fa("div"),r=fa("div"),i=r.style,a=l,i.display="inline-block",i.position="relative",o.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",o.appendChild(r),a.appendChild(o),n=r.offsetHeight+18>o.scrollHeight,a.removeChild(o),O=n,Me=function(e){for(var t=e.split(","),n=(("onpointerdown"in s?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in s?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":e).split(",")),o={},r=4;-1<--r;)o[t[r]]=n[r],o[n[r]]=t[r];try{ve.addEventListener("test",null,Object.defineProperty({},"passive",{get:function get(){d=1}}))}catch(e){}return o}("touchstart,touchmove,touchend,touchcancel"),za(ye,"touchcancel",aa),za(me,"touchmove",aa),l&&l.addEventListener("touchstart",aa),za(ye,"contextmenu",function(){for(var e in ze)ze[e].isPressed&&ze[e].endDrag()}),xe=be=Y()}var n,o,r,i,a;xe?(Se=xe.plugins.inertia,Le=xe.core.context||function(){},c=xe.utils.checkPrefix,R=c(R),Ne=c(Ne),Te=xe.utils.toArray,Ye=xe.core.getStyleSaver,k=!!c("perspective")):e&&console.warn("Please gsap.registerPlugin(Draggable)")}var xe,me,ye,ve,l,s,we,be,c,Te,d,De,Me,Ee,_e,Se,Xe,Pe,Le,Ye,k,O,n,Ce=0,R="transform",Ne="transformOrigin",ke=Array.isArray,Ae=180/Math.PI,Oe=1e20,a=new ge,Re=Date.now||function(){return(new Date).getTime()},Be=[],ze={},Fe=0,o=/^(?:a|input|textarea|button|select)$/i,Ie=0,He={},Qe={},We=function _isRoot(e){return!(e&&e!==ve&&9!==e.nodeType&&e!==ye.body&&e!==me&&e.nodeType&&e.parentNode)},p={},Ge={},B=function _getElementBounds(e,t){t=Te(t)[0];var n,o,r,i,a,l,s,c,d,p,u,h,f,g=e.getBBox&&e.ownerSVGElement,x=e.ownerDocument||ye;if(e===me)r=Fa(x),o=(n=Ga(x))+(x.documentElement.clientWidth||e.innerWidth||x.body.clientWidth||0),i=r+((e.innerHeight||0)-20<x.documentElement.clientHeight?x.documentElement.clientHeight:e.innerHeight||x.body.clientHeight||0);else{if(t===me||_(t))return e.getBoundingClientRect();n=r=0,g?(u=(p=e.getBBox()).width,h=p.height):(e.viewBox&&(p=e.viewBox.baseVal)&&(n=p.x||0,r=p.y||0,u=p.width,h=p.height),u||(p="border-box"===(f=Na(e)).boxSizing,u=(parseFloat(f.width)||e.clientWidth||0)+(p?0:parseFloat(f.borderLeftWidth)+parseFloat(f.borderRightWidth)),h=(parseFloat(f.height)||e.clientHeight||0)+(p?0:parseFloat(f.borderTopWidth)+parseFloat(f.borderBottomWidth)))),o=u,i=h}return e===t?{left:n,top:r,width:o-n,height:i-r}:(l=(a=getGlobalMatrix(t,!0).multiply(getGlobalMatrix(e))).apply({x:n,y:r}),s=a.apply({x:o,y:r}),c=a.apply({x:o,y:i}),d=a.apply({x:n,y:i}),{left:n=Math.min(l.x,s.x,c.x,d.x),top:r=Math.min(l.y,s.y,c.y,d.y),width:Math.max(l.x,s.x,c.x,d.x)-n,height:Math.max(l.y,s.y,c.y,d.y)-r})},z=((n=EventDispatcher.prototype).addEventListener=function addEventListener(e,t){var n=this._listeners[e]||(this._listeners[e]=[]);~n.indexOf(t)||n.push(t)},n.removeEventListener=function removeEventListener(e,t){var n=this._listeners[e],o=n&&n.indexOf(t);0<=o&&n.splice(o,1)},n.dispatchEvent=function dispatchEvent(t){var n,o=this;return(this._listeners[t]||[]).forEach(function(e){return!1===e.call(o,{type:t,target:o.target})&&(n=!1)}),n},EventDispatcher);function EventDispatcher(e){this._listeners={},this.target=e||this}var Ke,F=(function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(Draggable,Ke=z),Draggable.register=function register(e){xe=e,_a()},Draggable.create=function create(e,t){return be||_a(!0),Te(e).map(function(e){return new Draggable(e,t)})},Draggable.get=function get(e){return ze[(Te(e)[0]||{})._gsDragID]},Draggable.timeSinceDrag=function timeSinceDrag(){return(Re()-Ie)/1e3},Draggable.hitTest=function hitTest(e,t,n){if(e===t)return!1;var o,r,i,a=Pa(e),l=Pa(t),s=a.top,c=a.left,d=a.right,p=a.bottom,u=a.width,h=a.height,f=l.left>d||l.right<c||l.top>p||l.bottom<s;return f||!n?!f:(i=-1!==(n+"").indexOf("%"),n=parseFloat(n)||0,(o={left:Math.max(c,l.left),top:Math.max(s,l.top)}).width=Math.min(d,l.right)-o.left,o.height=Math.min(p,l.bottom)-o.top,!(o.width<0||o.height<0)&&(i?u*h*(n*=.01)<=(r=o.width*o.height)||r>=l.width*l.height*n:o.width>n&&o.height>n))},Draggable);function Draggable(h,p){var e;e=Ke.call(this)||this,be||_a(1),h=Te(h)[0],e.styles=Ye&&Ye(h,"transform,left,top"),Se=Se||xe.plugins.inertia,e.vars=p=ra(p||{}),e.target=h,e.x=e.y=e.rotation=0,e.dragResistance=parseFloat(p.dragResistance)||0,e.edgeResistance=isNaN(p.edgeResistance)?1:parseFloat(p.edgeResistance)||0,e.lockAxis=p.lockAxis,e.autoScroll=p.autoScroll||0,e.lockedAxis=null,e.allowEventDefault=!!p.allowEventDefault,xe.getProperty(h,"x");function Qg(e,t){return parseFloat(se.get(h,e,t))}function xh(e){return Ba(e),e.stopImmediatePropagation&&e.stopImmediatePropagation(),!1}function yh(e){if(q.autoScroll&&q.isDragging&&(te||Y)){var t,n,o,r,i,a,l,s,c=h,d=15*q.autoScroll;for(te=!1,Qe.scrollTop=null!=me.pageYOffset?me.pageYOffset:null!=de.documentElement.scrollTop?de.documentElement.scrollTop:de.body.scrollTop,Qe.scrollLeft=null!=me.pageXOffset?me.pageXOffset:null!=de.documentElement.scrollLeft?de.documentElement.scrollLeft:de.body.scrollLeft,r=q.pointerX-Qe.scrollLeft,i=q.pointerY-Qe.scrollTop;c&&!n;)t=(n=We(c.parentNode))?Qe:c.parentNode,o=n?{bottom:Math.max(ve.clientHeight,me.innerHeight||0),right:Math.max(ve.clientWidth,me.innerWidth||0),left:0,top:0}:t.getBoundingClientRect(),a=l=0,U&&((s=t._gsMaxScrollY-t.scrollTop)<0?l=s:i>o.bottom-re&&s?(te=!0,l=Math.min(s,d*(1-Math.max(0,o.bottom-i)/re)|0)):i<o.top+ne&&t.scrollTop&&(te=!0,l=-Math.min(t.scrollTop,d*(1-Math.max(0,i-o.top)/ne)|0)),l&&(t.scrollTop+=l)),V&&((s=t._gsMaxScrollX-t.scrollLeft)<0?a=s:r>o.right-oe&&s?(te=!0,a=Math.min(s,d*(1-Math.max(0,o.right-r)/oe)|0)):r<o.left+ie&&t.scrollLeft&&(te=!0,a=-Math.min(t.scrollLeft,d*(1-Math.max(0,r-o.left)/ie)|0)),a&&(t.scrollLeft+=a)),n&&(a||l)&&(me.scrollTo(t.scrollLeft,t.scrollTop),he(q.pointerX+a,q.pointerY+l)),c=t}if(Y){var p=q.x,u=q.y;W?(q.deltaX=p-parseFloat(se.rotation),q.rotation=p,se.rotation=p+"deg",se.renderTransform(1,se)):f?(U&&(q.deltaY=u-f.top(),f.top(u)),V&&(q.deltaX=p-f.left(),f.left(p))):Q?(U&&(q.deltaY=u-parseFloat(se.y),se.y=u+"px"),V&&(q.deltaX=p-parseFloat(se.x),se.x=p+"px"),se.renderTransform(1,se)):(U&&(q.deltaY=u-parseFloat(h.style.top||0),h.style.top=u+"px"),V&&(q.deltaX=p-parseFloat(h.style.left||0),h.style.left=p+"px")),!g||e||z||(!(z=!0)===Qa(q,"drag","onDrag")&&(V&&(q.x-=q.deltaX),U&&(q.y-=q.deltaY),yh(!0)),z=!1)}Y=!1}function zh(e,t){var n,o,r=q.x,i=q.y;h._gsap||(se=xe.core.getCache(h)),se.uncache&&xe.getProperty(h,"x"),Q?(q.x=parseFloat(se.x),q.y=parseFloat(se.y)):W?q.x=q.rotation=parseFloat(se.rotation):f?(q.y=f.top(),q.x=f.left()):(q.y=parseFloat(h.style.top||(o=Na(h))&&o.top)||0,q.x=parseFloat(h.style.left||(o||{}).left)||0),(C||N||k)&&!t&&(q.isDragging||q.isThrowing)&&(k&&(He.x=q.x,He.y=q.y,(n=k(He)).x!==q.x&&(q.x=n.x,Y=!0),n.y!==q.y&&(q.y=n.y,Y=!0)),C&&(n=C(q.x))!==q.x&&(q.x=n,W&&(q.rotation=n),Y=!0),N&&((n=N(q.y))!==q.y&&(q.y=n),Y=!0)),Y&&yh(!0),e||(q.deltaX=q.x-r,q.deltaY=q.y-i,Qa(q,"throwupdate","onThrowUpdate"))}function Ah(a,l,s,n){return null==l&&(l=-Oe),null==s&&(s=Oe),Z(a)?function(e){var t=q.isPressed?1-q.edgeResistance:1;return a.call(q,(s<e?s+(e-s)*t:e<l?l+(e-l)*t:e)*n)*n}:ke(a)?function(e){for(var t,n,o=a.length,r=0,i=Oe;-1<--o;)(n=(t=a[o])-e)<0&&(n=-n),n<i&&l<=t&&t<=s&&(r=o,i=n);return a[r]}:isNaN(a)?function(e){return e}:function(){return a*n}}function Ch(){var e,t,n,o;M=!1,f?(f.calibrate(),q.minX=S=-f.maxScrollLeft(),q.minY=P=-f.maxScrollTop(),q.maxX=E=q.maxY=X=0,M=!0):p.bounds&&(e=Ra(p.bounds,h.parentNode),W?(q.minX=S=e.left,q.maxX=E=e.left+e.width,q.minY=P=q.maxY=X=0):_(p.bounds.maxX)&&_(p.bounds.maxY)?(t=Ra(h,h.parentNode),q.minX=S=Math.round(Qg(G,"px")+e.left-t.left),q.minY=P=Math.round(Qg(K,"px")+e.top-t.top),q.maxX=E=Math.round(S+(e.width-t.width)),q.maxY=X=Math.round(P+(e.height-t.height))):(e=p.bounds,q.minX=S=e.minX,q.minY=P=e.minY,q.maxX=E=e.maxX,q.maxY=X=e.maxY),E<S&&(q.minX=E,q.maxX=E=S,S=q.minX),X<P&&(q.minY=X,q.maxY=X=P,P=q.minY),W&&(q.minRotation=S,q.maxRotation=E),M=!0),p.liveSnap&&(n=!0===p.liveSnap?p.snap||{}:p.liveSnap,o=ke(n)||Z(n),W?(C=Ah(o?n:n.rotation,S,E,1),N=null):n.points?k=function buildPointSnapFunc(s,l,c,d,p,u,h){return u=u&&u<Oe?u*u:Oe,Z(s)?function(e){var t,n,o,r=q.isPressed?1-q.edgeResistance:1,i=e.x,a=e.y;return e.x=i=c<i?c+(i-c)*r:i<l?l+(i-l)*r:i,e.y=a=p<a?p+(a-p)*r:a<d?d+(a-d)*r:a,(t=s.call(q,e))!==e&&(e.x=t.x,e.y=t.y),1!==h&&(e.x*=h,e.y*=h),u<Oe&&(n=e.x-i,o=e.y-a,u<n*n+o*o&&(e.x=i,e.y=a)),e}:ke(s)?function(e){for(var t,n,o,r,i=s.length,a=0,l=Oe;-1<--i;)(r=(t=(o=s[i]).x-e.x)*t+(n=o.y-e.y)*n)<l&&(a=i,l=r);return l<=u?s[a]:e}:function(e){return e}}(o?n:n.points,S,E,P,X,n.radius,f?-1:1):(V&&(C=Ah(o?n:n.x||n.left||n.scrollLeft,S,E,f?-1:1)),U&&(N=Ah(o?n:n.y||n.top||n.scrollTop,P,X,f?-1:1))))}function Dh(){q.isThrowing=!1,Qa(q,"throwcomplete","onThrowComplete")}function Eh(){q.isThrowing=!1}function Fh(e,t){var n,o,r,i;e&&Se?(!0===e&&(n=p.snap||p.liveSnap||{},o=ke(n)||Z(n),e={resistance:(p.throwResistance||p.resistance||1e3)/(W?10:1)},W?e.rotation=Ua(q,o?n:n.rotation,E,S,1,t):(V&&(e[G]=Ua(q,o?n:n.points||n.x||n.left,E,S,f?-1:1,t||"x"===q.lockedAxis)),U&&(e[K]=Ua(q,o?n:n.points||n.y||n.top,X,P,f?-1:1,t||"y"===q.lockedAxis)),(n.points||ke(n)&&$(n[0]))&&(e.linkedProps=G+","+K,e.radius=n.radius))),q.isThrowing=!0,i=isNaN(p.overshootTolerance)?1===p.edgeResistance?0:1-q.edgeResistance+.2:p.overshootTolerance,e.duration||(e.duration={max:Math.max(p.minDuration||0,"maxDuration"in p?p.maxDuration:2),min:isNaN(p.minDuration)?0===i||$(e)&&1e3<e.resistance?0:.5:p.minDuration,overshoot:i}),q.tween=r=xe.to(f||h,{inertia:e,data:"_draggable",onComplete:Dh,onInterrupt:Eh,onUpdate:p.fastMode?Qa:zh,onUpdateParams:p.fastMode?[q,"onthrowupdate","onThrowUpdate"]:n&&n.radius?[!1,!0]:[]}),p.fastMode||(f&&(f._skip=!0),r.render(1e9,!0,!0),zh(!0,!0),q.endX=q.x,q.endY=q.y,W&&(q.endRotation=q.x),r.play(0),zh(!0,!0),f&&(f._skip=!1))):M&&q.applyBounds()}function Gh(e){var t,n=A;A=getGlobalMatrix(h.parentNode,!0),e&&q.isPressed&&!A.equals(n||new ge)&&(t=n.inverse().apply({x:w,y:b}),A.apply(t,t),w=t.x,b=t.y),A.equals(a)&&(A=null)}function Hh(){var e,t,n,o=1-q.edgeResistance,r=ce?Ga(de):0,i=ce?Fa(de):0;Q&&(se.x=Qg(G,"px")+"px",se.y=Qg(K,"px")+"px",se.renderTransform()),Gh(!1),Ge.x=q.pointerX-r,Ge.y=q.pointerY-i,A&&A.apply(Ge,Ge),w=Ge.x,b=Ge.y,Y&&(he(q.pointerX,q.pointerY),yh(!0)),d=getGlobalMatrix(h),f?(Ch(),D=f.top(),T=f.left()):(pe()?(zh(!0,!0),Ch()):q.applyBounds(),W?(e=h.ownerSVGElement?[se.xOrigin-h.getBBox().x,se.yOrigin-h.getBBox().y]:(Na(h)[Ne]||"0 0").split(" "),L=q.rotationOrigin=getGlobalMatrix(h).apply({x:parseFloat(e[0])||0,y:parseFloat(e[1])||0}),zh(!0,!0),t=q.pointerX-L.x-r,n=L.y-q.pointerY+i,T=q.x,D=q.y=Math.atan2(n,t)*Ae):(D=Qg(K,"px"),T=Qg(G,"px"))),M&&o&&(E<T?T=E+(T-E)/o:T<S&&(T=S-(S-T)/o),W||(X<D?D=X+(D-X)/o:D<P&&(D=P-(P-D)/o))),q.startX=T=da(T),q.startY=D=da(D)}function Jh(){!we.parentNode||pe()||q.isDragging||we.parentNode.removeChild(we)}function Kh(e,t){var n;if(!u||q.isPressed||!e||!("mousedown"!==e.type&&"pointerdown"!==e.type||t)&&Re()-le<30&&Me[q.pointerEvent.type])I&&e&&u&&Ba(e);else{if(O=pe(),H=!1,q.pointerEvent=e,Me[e.type]?(v=~e.type.indexOf("touch")?e.currentTarget||e.target:de,za(v,"touchend",fe),za(v,"touchmove",ue),za(v,"touchcancel",fe),za(de,"touchstart",Ea)):(v=null,za(de,"mousemove",ue)),B=null,Pe&&v||(za(de,"mouseup",fe),e&&e.target&&za(e.target,"mouseup",fe)),y=ae.call(q,e.target)&&!1===p.dragClickables&&!t)return za(e.target,"change",fe),Qa(q,"pressInit","onPressInit"),Qa(q,"press","onPress"),Wa(J,!0),void(I=!1);if(R=!(!v||V==U||!1===q.vars.allowNativeTouchScrolling||q.vars.allowContextMenu&&e&&(e.ctrlKey||2<e.which))&&(V?"y":"x"),(I=!R&&!q.allowEventDefault)&&(Ba(e),za(me,"touchforcechange",Ba)),e.changedTouches?(e=x=e.changedTouches[0],m=e.identifier):e.pointerId?m=e.pointerId:x=m=null,Ce++,function _addToRenderQueue(e){Be.push(e),1===Be.length&&xe.ticker.add(ua)}(yh),b=q.pointerY=e.pageY,w=q.pointerX=e.pageX,Qa(q,"pressInit","onPressInit"),(R||q.autoScroll)&&La(h.parentNode),!h.parentNode||!q.autoScroll||f||W||!h.parentNode._gsMaxScrollX||we.parentNode||h.getBBox||(we.style.width=h.parentNode.scrollWidth+"px",h.parentNode.appendChild(we)),Hh(),q.tween&&q.tween.kill(),q.isThrowing=!1,xe.killTweensOf(f||h,o,!0),f&&xe.killTweensOf(h,{scrollTo:1},!0),q.tween=q.lockedAxis=null,!p.zIndexBoost&&(W||f||!1===p.zIndexBoost)||(h.style.zIndex=Draggable.zIndex++),q.isPressed=!0,g=!(!p.onDrag&&!q._listeners.drag),s=!(!p.onMove&&!q._listeners.move),!1!==p.cursor||p.activeCursor)for(n=J.length;-1<--n;)xe.set(J[n],{cursor:p.activeCursor||p.cursor||("grab"===Xe?"grabbing":Xe)});Qa(q,"press","onPress")}}function Oh(e){if(e&&q.isDragging&&!f){var t=e.target||h.parentNode,n=t.scrollLeft-t._gsScrollX,o=t.scrollTop-t._gsScrollY;(n||o)&&(A?(w-=n*A.a+o*A.c,b-=o*A.d+n*A.b):(w-=n,b-=o),t._gsScrollX+=n,t._gsScrollY+=o,he(q.pointerX,q.pointerY))}}function Ph(e){var t=Re(),n=t-le<100,o=t-ee<50,r=n&&F===le,i=q.pointerEvent&&q.pointerEvent.defaultPrevented,a=n&&c===le,l=e.isTrusted||null==e.isTrusted&&n&&r;if((r||o&&!1!==q.vars.suppressClickOnDrag)&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),n&&(!q.pointerEvent||!q.pointerEvent.defaultPrevented)&&(!r||l&&!a))return l&&r&&(c=le),void(F=le);(q.isPressed||o||n)&&(l&&e.detail&&n&&!i||Ba(e)),n||o||H||(e&&e.target&&(q.pointerEvent=e),Qa(q,"click","onClick"))}function Qh(e){return A?{x:e.x*A.a+e.y*A.c+A.e,y:e.x*A.b+e.y*A.d+A.f}:{x:e.x,y:e.y}}var u,f,w,b,T,D,M,g,s,E,S,X,P,x,m,L,Y,t,C,N,k,y,v,A,O,R,B,z,F,c,I,d,H,n=(p.type||"x,y").toLowerCase(),Q=~n.indexOf("x")||~n.indexOf("y"),W=-1!==n.indexOf("rotation"),G=W?"rotation":Q?"x":"left",K=Q?"y":"top",V=!(!~n.indexOf("x")&&!~n.indexOf("left")&&"scroll"!==n),U=!(!~n.indexOf("y")&&!~n.indexOf("top")&&"scroll"!==n),j=p.minimumMovement||2,q=_assertThisInitialized(e),J=Te(p.trigger||p.handle||h),o={},ee=0,te=!1,ne=p.autoScrollMarginTop||40,oe=p.autoScrollMarginRight||40,re=p.autoScrollMarginBottom||40,ie=p.autoScrollMarginLeft||40,ae=p.clickableTest||Va,le=0,se=h._gsap||xe.core.getCache(h),ce=function _isFixed(e){return"fixed"===Na(e).position||((e=e.parentNode)&&1===e.nodeType?_isFixed(e):void 0)}(h),de=h.ownerDocument||ye,pe=function isTweening(){return q.tween&&q.tween.isActive()},ue=function onMove(e){var t,n,o,r,i,a,l=e;if(u&&!Ee&&q.isPressed&&e){if(t=(q.pointerEvent=e).changedTouches){if((e=t[0])!==x&&e.identifier!==m){for(r=t.length;-1<--r&&(e=t[r]).identifier!==m&&e.target!==h;);if(r<0)return}}else if(e.pointerId&&m&&e.pointerId!==m)return;v&&R&&!B&&(Ge.x=e.pageX-(ce?Ga(de):0),Ge.y=e.pageY-(ce?Fa(de):0),A&&A.apply(Ge,Ge),n=Ge.x,o=Ge.y,((i=Math.abs(n-w))!==(a=Math.abs(o-b))&&(j<i||j<a)||_e&&R===B)&&(B=a<i&&V?"x":"y",R&&B!==R&&za(me,"touchforcechange",Ba),!1!==q.vars.lockAxisOnTouchScroll&&V&&U&&(q.lockedAxis="x"===B?"y":"x",Z(q.vars.onLockAxis)&&q.vars.onLockAxis.call(q,l)),_e&&R===B))?fe(l):(I=q.allowEventDefault||R&&(!B||R===B)||!1===l.cancelable?I&&!1:(Ba(l),!0),q.autoScroll&&(te=!0),he(e.pageX,e.pageY,s))}else I&&e&&u&&Ba(e)},he=function setPointerPosition(e,t,n){var o,r,i,a,l,s,c=1-q.dragResistance,d=1-q.edgeResistance,p=q.pointerX,u=q.pointerY,h=D,f=q.x,g=q.y,x=q.endX,m=q.endY,y=q.endRotation,v=Y;q.pointerX=e,q.pointerY=t,ce&&(e-=Ga(de),t-=Fa(de)),W?(a=Math.atan2(L.y-t,e-L.x)*Ae,180<(l=q.y-a)?(D-=360,q.y=a):l<-180&&(D+=360,q.y=a),i=q.x!==T||Math.abs(D-a)>j?(q.y=a,T+(D-a)*c):T):(A&&(s=e*A.a+t*A.c+A.e,t=e*A.b+t*A.d+A.f,e=s),(r=t-b)<j&&-j<r&&(r=0),(o=e-w)<j&&-j<o&&(o=0),(q.lockAxis||q.lockedAxis)&&(o||r)&&((s=q.lockedAxis)||(q.lockedAxis=s=V&&Math.abs(o)>Math.abs(r)?"y":U?"x":null,s&&Z(q.vars.onLockAxis)&&q.vars.onLockAxis.call(q,q.pointerEvent)),"y"===s?r=0:"x"===s&&(o=0)),i=da(T+o*c),a=da(D+r*c)),(C||N||k)&&(q.x!==i||q.y!==a&&!W)&&(k&&(He.x=i,He.y=a,s=k(He),i=da(s.x),a=da(s.y)),C&&(i=da(C(i))),N&&(a=da(N(a)))),M&&(E<i?i=E+Math.round((i-E)*d):i<S&&(i=S+Math.round((i-S)*d)),W||(X<a?a=Math.round(X+(a-X)*d):a<P&&(a=Math.round(P+(a-P)*d)))),q.x===i&&(q.y===a||W)||(W?(q.endRotation=q.x=q.endX=i,Y=!0):(U&&(q.y=q.endY=a,Y=!0),V&&(q.x=q.endX=i,Y=!0)),n&&!1===Qa(q,"move","onMove")?(q.pointerX=p,q.pointerY=u,D=h,q.x=f,q.y=g,q.endX=x,q.endY=m,q.endRotation=y,Y=v):!q.isDragging&&q.isPressed&&(q.isDragging=H=!0,Qa(q,"dragstart","onDragStart")))},fe=function onRelease(e,t){if(u&&q.isPressed&&(!e||null==m||t||!(e.pointerId&&e.pointerId!==m&&e.target!==h||e.changedTouches&&!function _hasTouchID(e,t){for(var n=e.length;n--;)if(e[n].identifier===t)return!0}(e.changedTouches,m)))){q.isPressed=!1;var n,o,r,i,a,l=e,s=q.isDragging,c=q.vars.allowContextMenu&&e&&(e.ctrlKey||2<e.which),d=xe.delayedCall(.001,Jh);if(v?(Aa(v,"touchend",onRelease),Aa(v,"touchmove",ue),Aa(v,"touchcancel",onRelease),Aa(de,"touchstart",Ea)):Aa(de,"mousemove",ue),Aa(me,"touchforcechange",Ba),Pe&&v||(Aa(de,"mouseup",onRelease),e&&e.target&&Aa(e.target,"mouseup",onRelease)),Y=!1,s&&(ee=Ie=Re(),q.isDragging=!1),xa(yh),y&&!c)return e&&(Aa(e.target,"change",onRelease),q.pointerEvent=l),Wa(J,!1),Qa(q,"release","onRelease"),Qa(q,"click","onClick"),void(y=!1);for(o=J.length;-1<--o;)Ma(J[o],"cursor",p.cursor||(!1!==p.cursor?Xe:null));if(Ce--,e){if((n=e.changedTouches)&&(e=n[0])!==x&&e.identifier!==m){for(o=n.length;-1<--o&&(e=n[o]).identifier!==m&&e.target!==h;);if(o<0&&!t)return}q.pointerEvent=l,q.pointerX=e.pageX,q.pointerY=e.pageY}return c&&l?(Ba(l),I=!0,Qa(q,"release","onRelease")):l&&!s?(I=!1,O&&(p.snap||p.bounds)&&Fh(p.inertia||p.throwProps),Qa(q,"release","onRelease"),_e&&"touchmove"===l.type||-1!==l.type.indexOf("cancel")||(Qa(q,"click","onClick"),Re()-le<300&&Qa(q,"doubleclick","onDoubleClick"),i=l.target||h,le=Re(),a=function syntheticClick(){le===F||!q.enabled()||q.isPressed||l.defaultPrevented||(i.click?i.click():de.createEvent&&((r=de.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,me,1,q.pointerEvent.screenX,q.pointerEvent.screenY,q.pointerX,q.pointerY,!1,!1,!1,!1,0,null),i.dispatchEvent(r)))},_e||l.defaultPrevented||xe.delayedCall(.05,a))):(Fh(p.inertia||p.throwProps),q.allowEventDefault||!l||!1===p.dragClickables&&ae.call(q,l.target)||!s||R&&(!B||R!==B)||!1===l.cancelable?I=!1:(I=!0,Ba(l)),Qa(q,"release","onRelease")),pe()&&d.duration(q.tween.duration()),s&&Qa(q,"dragend","onDragEnd"),!0}I&&e&&u&&Ba(e)};return(t=Draggable.get(h))&&t.kill(),e.startDrag=function(e,t){var n,o,r,i;Kh(e||q.pointerEvent,!0),t&&!q.hitTest(e||q.pointerEvent)&&(n=Pa(e||q.pointerEvent),o=Pa(h),r=Qh({x:n.left+n.width/2,y:n.top+n.height/2}),i=Qh({x:o.left+o.width/2,y:o.top+o.height/2}),w-=r.x-i.x,b-=r.y-i.y),q.isDragging||(q.isDragging=H=!0,Qa(q,"dragstart","onDragStart"))},e.drag=ue,e.endDrag=function(e){return fe(e||q.pointerEvent,!0)},e.timeSinceDrag=function(){return q.isDragging?0:(Re()-ee)/1e3},e.timeSinceClick=function(){return(Re()-le)/1e3},e.hitTest=function(e,t){return Draggable.hitTest(q.target,e,t)},e.getDirection=function(e,t){var n,o,r,i,a,l,s="velocity"===e&&Se?e:$(e)&&!W?"element":"start";return"element"===s&&(a=Pa(q.target),l=Pa(e)),n="start"===s?q.x-T:"velocity"===s?Se.getVelocity(h,G):a.left+a.width/2-(l.left+l.width/2),W?n<0?"counter-clockwise":"clockwise":(t=t||2,o="start"===s?q.y-D:"velocity"===s?Se.getVelocity(h,K):a.top+a.height/2-(l.top+l.height/2),i=(r=Math.abs(n/o))<1/t?"":n<0?"left":"right",r<t&&(""!==i&&(i+="-"),i+=o<0?"up":"down"),i)},e.applyBounds=function(e,t){var n,o,r,i,a,l;if(e&&p.bounds!==e)return p.bounds=e,q.update(!0,t);if(zh(!0),Ch(),M&&!pe()){if(n=q.x,o=q.y,E<n?n=E:n<S&&(n=S),X<o?o=X:o<P&&(o=P),(q.x!==n||q.y!==o)&&(r=!0,q.x=q.endX=n,W?q.endRotation=n:q.y=q.endY=o,yh(Y=!0),q.autoScroll&&!q.isDragging))for(La(h.parentNode),i=h,Qe.scrollTop=null!=me.pageYOffset?me.pageYOffset:null!=de.documentElement.scrollTop?de.documentElement.scrollTop:de.body.scrollTop,Qe.scrollLeft=null!=me.pageXOffset?me.pageXOffset:null!=de.documentElement.scrollLeft?de.documentElement.scrollLeft:de.body.scrollLeft;i&&!l;)a=(l=We(i.parentNode))?Qe:i.parentNode,U&&a.scrollTop>a._gsMaxScrollY&&(a.scrollTop=a._gsMaxScrollY),V&&a.scrollLeft>a._gsMaxScrollX&&(a.scrollLeft=a._gsMaxScrollX),i=a;q.isThrowing&&(r||q.endX>E||q.endX<S||q.endY>X||q.endY<P)&&Fh(p.inertia||p.throwProps,r)}return q},e.update=function(e,t,n){if(t&&q.isPressed){var o=getGlobalMatrix(h),r=d.apply({x:q.x-T,y:q.y-D}),i=getGlobalMatrix(h.parentNode,!0);i.apply({x:o.e-r.x,y:o.f-r.y},r),q.x-=r.x-i.e,q.y-=r.y-i.f,yh(!0),Hh()}var a=q.x,l=q.y;return Gh(!t),e?q.applyBounds():(Y&&n&&yh(!0),zh(!0)),t&&(he(q.pointerX,q.pointerY),Y&&yh(!0)),q.isPressed&&!t&&(V&&.01<Math.abs(a-q.x)||U&&.01<Math.abs(l-q.y)&&!W)&&Hh(),q.autoScroll&&(La(h.parentNode,q.isDragging),te=q.isDragging,yh(!0),Ia(h,Oh),Ha(h,Oh)),q},e.enable=function(e){var t,n,o,r={lazy:!0};if(!1!==p.cursor&&(r.cursor=p.cursor||Xe),xe.utils.checkPrefix("touchCallout")&&(r.touchCallout="none"),"soft"!==e){for(ta(J,V==U?"none":p.allowNativeTouchScrolling&&h.scrollHeight===h.clientHeight==(h.scrollWidth===h.clientHeight)||p.allowEventDefault?"manipulation":V?"pan-y":"pan-x"),n=J.length;-1<--n;)o=J[n],Pe||za(o,"mousedown",Kh),za(o,"touchstart",Kh),za(o,"click",Ph,!0),xe.set(o,r),o.getBBox&&o.ownerSVGElement&&V!=U&&xe.set(o.ownerSVGElement,{touchAction:p.allowNativeTouchScrolling||p.allowEventDefault?"manipulation":V?"pan-y":"pan-x"}),p.allowContextMenu||za(o,"contextmenu",xh);Wa(J,!1)}return Ha(h,Oh),u=!0,Se&&"soft"!==e&&Se.track(f||h,Q?"x,y":W?"rotation":"top,left"),h._gsDragID=t="d"+Fe++,ze[t]=q,f&&(f.enable(),f.element._gsDragID=t),(p.bounds||W)&&Hh(),p.bounds&&q.applyBounds(),q},e.disable=function(e){for(var t,n=q.isDragging,o=J.length;-1<--o;)Ma(J[o],"cursor",null);if("soft"!==e){for(ta(J,null),o=J.length;-1<--o;)t=J[o],Ma(t,"touchCallout",null),Aa(t,"mousedown",Kh),Aa(t,"touchstart",Kh),Aa(t,"click",Ph,!0),Aa(t,"contextmenu",xh);Wa(J,!0),v&&(Aa(v,"touchcancel",fe),Aa(v,"touchend",fe),Aa(v,"touchmove",ue)),Aa(de,"mouseup",fe),Aa(de,"mousemove",ue)}return Ia(h,Oh),u=!1,Se&&"soft"!==e&&Se.untrack(f||h,Q?"x,y":W?"rotation":"top,left"),f&&f.disable(),xa(yh),q.isDragging=q.isPressed=y=!1,n&&Qa(q,"dragend","onDragEnd"),q},e.enabled=function(e,t){return arguments.length?e?q.enable(t):q.disable(t):u},e.kill=function(){return q.isThrowing=!1,q.tween&&q.tween.kill(),q.disable(),xe.set(J,{clearProps:"userSelect"}),delete ze[h._gsDragID],q},e.revert=function(){this.kill(),this.styles&&this.styles.revert()},~n.indexOf("scroll")&&(f=e.scrollProxy=new $a(h,function _extend(e,t){for(var n in t)n in e||(e[n]=t[n]);return e}({onKill:function onKill(){q.isPressed&&fe(null)}},p)),h.style.overflowY=U&&!De?"auto":"hidden",h.style.overflowX=V&&!De?"auto":"hidden",h=f.content),W?o.rotation=1:(V&&(o[G]=1),U&&(o[K]=1)),se.force3D=!("force3D"in p)||p.force3D,Le(_assertThisInitialized(e)),e.enable(),e}!function _setDefaults(e,t){for(var n in t)n in e||(e[n]=t[n])}(F.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),F.zIndex=1e3,F.version="3.11.5",Y()&&xe.registerPlugin(F),e.Draggable=F,e.default=F;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){if(e.parentNode&&(h||T(e))){var n=L(e),o=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r=n?t?"rect":"g":"div",i=2!==t?0:100,a=3===t?100:0,l="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",s=h.createElementNS?h.createElementNS(o.replace(/^https/,"http"),r):h.createElement(r);return t&&(n?(g=g||w(e),s.setAttribute("width",.01),s.setAttribute("height",.01),s.setAttribute("transform","translate("+i+","+a+")"),g.appendChild(s)):(f||((f=w(e)).style.cssText=l),s.style.cssText=l+"width:0.1px;height:0.1px;top:"+a+"px;left:"+i+"px",f.appendChild(s))),s}throw"Need document and parent."}function A(e,t,n,o,r,i,a){return e.a=t,e.b=n,e.c=o,e.d=r,e.e=i,e.f=a,e}var h,u,r,i,f,g,x,m,y,t,v="transform",b=v+"Origin",T=function _setDoc(e){var t=e.ownerDocument||e;!(v in e.style)&&"msTransform"in e.style&&(b=(v="msTransform")+"Origin");for(;t.parentNode&&(t=t.parentNode););if(u=window,x=new ge,t){r=(h=t).documentElement,i=t.body,(m=h.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=t.createElement("div"),o=t.createElement("div");i.appendChild(n),n.appendChild(o),n.style.position="static",n.style[v]="translate3d(0,0,1px)",y=o.offsetParent!==n,i.removeChild(n)}return t},D=function _forceNonZeroScale(e){for(var t,n;e&&e!==i;)(n=e._gsap)&&n.uncache&&n.get(e,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),t?t.push(n):t=[n]),e=e.parentNode;return t},M=[],E=[],S=function _getDocScrollTop(){return u.pageYOffset||h.scrollTop||r.scrollTop||i.scrollTop||0},P=function _getDocScrollLeft(){return u.pageXOffset||h.scrollLeft||r.scrollLeft||i.scrollLeft||0},L=function _svgOwner(e){return e.ownerSVGElement||("svg"===(e.tagName+"").toLowerCase()?e:null)},C=function _isFixed(e){return"fixed"===u.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?_isFixed(e):void 0)},N=function _placeSiblings(e,t){var n,o,r,i,a,l,s=L(e),c=e===s,d=s?M:E,p=e.parentNode;if(e===u)return e;if(d.length||d.push(w(e,1),w(e,2),w(e,3)),n=s?g:f,s)c?(i=-(r=function _getCTM(e){var t,n=e.getCTM();return n||(t=e.style[v],e.style[v]="none",e.appendChild(m),n=m.getCTM(),e.removeChild(m),t?e.style[v]=t:e.style.removeProperty(v.replace(/([A-Z])/g,"-$1").toLowerCase())),n||x.clone()}(e)).e/r.a,a=-r.f/r.d,o=x):e.getBBox?(r=e.getBBox(),i=(o=(o=e.transform?e.transform.baseVal:{}).numberOfItems?1<o.numberOfItems?function _consolidate(e){for(var t=new ge,n=0;n<e.numberOfItems;n++)t.multiply(e.getItem(n).matrix);return t}(o):o.getItem(0).matrix:x).a*r.x+o.c*r.y,a=o.b*r.x+o.d*r.y):(o=new ge,i=a=0),t&&"g"===e.tagName.toLowerCase()&&(i=a=0),(c?s:p).appendChild(n),n.setAttribute("transform","matrix("+o.a+","+o.b+","+o.c+","+o.d+","+(o.e+i)+","+(o.f+a)+")");else{if(i=a=0,y)for(o=e.offsetParent,r=e;(r=r&&r.parentNode)&&r!==o&&r.parentNode;)4<(u.getComputedStyle(r)[v]+"").length&&(i=r.offsetLeft,a=r.offsetTop,r=0);if("absolute"!==(l=u.getComputedStyle(e)).position&&"fixed"!==l.position)for(o=e.offsetParent;p&&p!==o;)i+=p.scrollLeft||0,a+=p.scrollTop||0,p=p.parentNode;(r=n.style).top=e.offsetTop-a+"px",r.left=e.offsetLeft-i+"px",r[v]=l[v],r[b]=l[b],r.position="fixed"===l.position?"fixed":"absolute",e.parentNode.appendChild(n)}return n},ge=((t=Matrix2D.prototype).inverse=function inverse(){var e=this.a,t=this.b,n=this.c,o=this.d,r=this.e,i=this.f,a=e*o-t*n||1e-10;return A(this,o/a,-t/a,-n/a,e/a,(n*i-o*r)/a,-(e*i-t*r)/a)},t.multiply=function multiply(e){var t=this.a,n=this.b,o=this.c,r=this.d,i=this.e,a=this.f,l=e.a,s=e.c,c=e.b,d=e.d,p=e.e,u=e.f;return A(this,l*t+c*o,l*n+c*r,s*t+d*o,s*n+d*r,i+p*t+u*o,a+p*n+u*r)},t.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)},t.equals=function equals(e){var t=this.a,n=this.b,o=this.c,r=this.d,i=this.e,a=this.f;return t===e.a&&n===e.b&&o===e.c&&r===e.d&&i===e.e&&a===e.f},t.apply=function apply(e,t){void 0===t&&(t={});var n=e.x,o=e.y,r=this.a,i=this.b,a=this.c,l=this.d,s=this.e,c=this.f;return t.x=n*r+o*a+s||0,t.y=n*i+o*l+c||0,t},Matrix2D);function Matrix2D(e,t,n,o,r,i){void 0===e&&(e=1),void 0===t&&(t=0),void 0===n&&(n=0),void 0===o&&(o=1),void 0===r&&(r=0),void 0===i&&(i=0),A(this,e,t,n,o,r,i)}function getGlobalMatrix(e,t,n,o){if(!e||!e.parentNode||(h||T(e)).documentElement===e)return new ge;var r=D(e),i=L(e)?M:E,a=N(e,n),l=i[0].getBoundingClientRect(),s=i[1].getBoundingClientRect(),c=i[2].getBoundingClientRect(),d=a.parentNode,p=!o&&C(e),u=new ge((s.left-l.left)/100,(s.top-l.top)/100,(c.left-l.left)/100,(c.top-l.top)/100,l.left+(p?0:P()),l.top+(p?0:S()));if(d.removeChild(a),r)for(l=r.length;l--;)(s=r[l]).scaleX=s.scaleY=0,s.renderTransform(1,s);return t?u.inverse():u}function X(){return"undefined"!=typeof window}function Y(){return xe||X()&&(xe=window.gsap)&&xe.registerPlugin&&xe}function Z(e){return"function"==typeof e}function $(e){return"object"==typeof e}function _(e){return void 0===e}function aa(){return!1}function da(e){return Math.round(1e4*e)/1e4}function fa(e,t){var n=ye.createElementNS?ye.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ye.createElement(e);return n.style?n:ye.createElement(e)}function ra(e,t){var n,o={};for(n in e)o[n]=t?e[n]*t:e[n];return o}function ta(e,t){for(var n,o=e.length;o--;)t?e[o].style.touchAction=t:e[o].style.removeProperty("touch-action"),(n=e[o].children)&&n.length&&ta(n,t)}function ua(){return Be.forEach(function(e){return e()})}function wa(){return!Be.length&&xe.ticker.remove(ua)}function xa(e){for(var t=Be.length;t--;)Be[t]===e&&Be.splice(t,1);xe.to(wa,{overwrite:!0,delay:15,duration:0,onComplete:wa,data:"_draggable"})}function za(e,t,n,o){if(e.addEventListener){var r=Me[t];o=o||(d?{passive:!1}:null),e.addEventListener(r||t,n,o),r&&t!==r&&e.addEventListener(t,n,o)}}function Aa(e,t,n,o){if(e.removeEventListener){var r=Me[t];e.removeEventListener(r||t,n,o),r&&t!==r&&e.removeEventListener(t,n,o)}}function Ba(e){e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation()}function Da(e){Ee=e.touches&&Ce<e.touches.length,Aa(e.target,"touchend",Da)}function Ea(e){Ee=e.touches&&Ce<e.touches.length,za(e.target,"touchend",Da)}function Fa(e){return me.pageYOffset||e.scrollTop||e.documentElement.scrollTop||e.body.scrollTop||0}function Ga(e){return me.pageXOffset||e.scrollLeft||e.documentElement.scrollLeft||e.body.scrollLeft||0}function Ha(e,t){za(e,"scroll",t),We(e.parentNode)||Ha(e.parentNode,t)}function Ia(e,t){Aa(e,"scroll",t),We(e.parentNode)||Ia(e.parentNode,t)}function Ka(e,t){var n="x"===t?"Width":"Height",o="scroll"+n,r="client"+n;return Math.max(0,We(e)?Math.max(ve[o],l[o])-(me["inner"+n]||ve[r]||l[r]):e[o]-e[r])}function La(e,t){var n=Ka(e,"x"),o=Ka(e,"y");We(e)?e=Qe:La(e.parentNode,t),e._gsMaxScrollX=n,e._gsMaxScrollY=o,t||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)}function Ma(e,t,n){var o=e.style;o&&(_(o[t])&&(t=c(t,e)||t),null==n?o.removeProperty&&o.removeProperty(t.replace(/([A-Z])/g,"-$1").toLowerCase()):o[t]=n)}function Na(e){return me.getComputedStyle(e instanceof Element?e:e.host||(e.parentNode||{}).host||e)}function Pa(e){if(e===me)return p.left=p.top=0,p.width=p.right=ve.clientWidth||e.innerWidth||l.clientWidth||0,p.height=p.bottom=(e.innerHeight||0)-20<ve.clientHeight?ve.clientHeight:e.innerHeight||l.clientHeight||0,p;var t=e.ownerDocument||ye,n=_(e.pageX)?e.nodeType||_(e.left)||_(e.top)?Te(e)[0].getBoundingClientRect():e:{left:e.pageX-Ga(t),top:e.pageY-Fa(t),right:e.pageX-Ga(t)+1,bottom:e.pageY-Fa(t)+1};return _(n.right)&&!_(n.width)?(n.right=n.left+n.width,n.bottom=n.top+n.height):_(n.width)&&(n={width:n.right-n.left,height:n.bottom-n.top,right:n.right,left:n.left,bottom:n.bottom,top:n.top}),n}function Qa(e,t,n){var o,r=e.vars,i=r[n],a=e._listeners[t];return Z(i)&&(o=i.apply(r.callbackScope||e,r[n+"Params"]||[e.pointerEvent])),a&&!1===e.dispatchEvent(t)&&(o=!1),o}function Ra(e,t){var n,o,r,i=Te(e)[0];return i.nodeType||i===me?B(i,t):_(e.left)?{left:o=e.min||e.minX||e.minRotation||0,top:n=e.min||e.minY||0,width:(e.max||e.maxX||e.maxRotation||0)-o,height:(e.max||e.maxY||0)-n}:(r={x:0,y:0},{left:e.left-r.x,top:e.top-r.y,width:e.width,height:e.height})}function Ua(r,i,e,t,a,n){var o,l,s,c={};if(i)if(1!==a&&i instanceof Array){if(c.end=o=[],s=i.length,$(i[0]))for(l=0;l<s;l++)o[l]=ra(i[l],a);else for(l=0;l<s;l++)o[l]=i[l]*a;e+=1.1,t-=1.1}else Z(i)?c.end=function(e){var t,n,o=i.call(r,e);if(1!==a)if($(o)){for(n in t={},o)t[n]=o[n]*a;o=t}else o*=a;return o}:c.end=i;return!e&&0!==e||(c.max=e),!t&&0!==t||(c.min=t),n&&(c.velocity=0),c}function Va(e){var t;return!(!e||!e.getAttribute||e===l)&&(!("true"!==(t=e.getAttribute("data-clickable"))&&("false"===t||!o.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||Va(e.parentNode))}function Wa(e,t){for(var n,o=e.length;o--;)(n=e[o]).ondragstart=n.onselectstart=t?null:aa,xe.set(n,{lazy:!0,userSelect:t?"text":"none"})}function $a(i,r){i=xe.utils.toArray(i)[0],r=r||{};var a,l,s,e,c,d,p=document.createElement("div"),u=p.style,t=i.firstChild,h=0,f=0,g=i.scrollTop,x=i.scrollLeft,m=i.scrollWidth,y=i.scrollHeight,v=0,w=0,b=0;k&&!1!==r.force3D?(c="translate3d(",d="px,0px)"):R&&(c="translate(",d="px)"),this.scrollTop=function(e,t){if(!arguments.length)return-this.top();this.top(-e,t)},this.scrollLeft=function(e,t){if(!arguments.length)return-this.left();this.left(-e,t)},this.left=function(e,t){if(!arguments.length)return-(i.scrollLeft+f);var n=i.scrollLeft-x,o=f;if((2<n||n<-2)&&!t)return x=i.scrollLeft,xe.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-x),void(r.onKill&&r.onKill());(e=-e)<0?(f=e-.5|0,e=0):w<e?(f=e-w|0,e=w):f=0,(f||o)&&(this._skip||(u[R]=c+-f+"px,"+-h+d),0<=f+v&&(u.paddingRight=f+v+"px")),i.scrollLeft=0|e,x=i.scrollLeft},this.top=function(e,t){if(!arguments.length)return-(i.scrollTop+h);var n=i.scrollTop-g,o=h;if((2<n||n<-2)&&!t)return g=i.scrollTop,xe.killTweensOf(this,{top:1,scrollTop:1}),this.top(-g),void(r.onKill&&r.onKill());(e=-e)<0?(h=e-.5|0,e=0):b<e?(h=e-b|0,e=b):h=0,(h||o)&&(this._skip||(u[R]=c+-f+"px,"+-h+d)),i.scrollTop=0|e,g=i.scrollTop},this.maxScrollTop=function(){return b},this.maxScrollLeft=function(){return w},this.disable=function(){for(t=p.firstChild;t;)e=t.nextSibling,i.appendChild(t),t=e;i===p.parentNode&&i.removeChild(p)},this.enable=function(){if((t=i.firstChild)!==p){for(;t;)e=t.nextSibling,p.appendChild(t),t=e;i.appendChild(p),this.calibrate()}},this.calibrate=function(e){var t,n,o,r=i.clientWidth===a;g=i.scrollTop,x=i.scrollLeft,r&&i.clientHeight===l&&p.offsetHeight===s&&m===i.scrollWidth&&y===i.scrollHeight&&!e||((h||f)&&(n=this.left(),o=this.top(),this.left(-i.scrollLeft),this.top(-i.scrollTop)),t=Na(i),r&&!e||(u.display="block",u.width="auto",u.paddingRight="0px",(v=Math.max(0,i.scrollWidth-i.clientWidth))&&(v+=parseFloat(t.paddingLeft)+(O?parseFloat(t.paddingRight):0))),u.display="inline-block",u.position="relative",u.overflow="visible",u.verticalAlign="top",u.boxSizing="content-box",u.width="100%",u.paddingRight=v+"px",O&&(u.paddingBottom=t.paddingBottom),a=i.clientWidth,l=i.clientHeight,m=i.scrollWidth,y=i.scrollHeight,w=i.scrollWidth-a,b=i.scrollHeight-l,s=p.offsetHeight,u.display="block",(n||o)&&(this.left(n),this.top(o)))},this.content=p,this.element=i,this._skip=!1,this.enable()}function _a(e){if(X()&&document.body){var t=window&&window.navigator;me=window,ye=document,ve=ye.documentElement,l=ye.body,s=fa("div"),Pe=!!window.PointerEvent,(we=fa("div")).style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",Xe="grab"===we.style.cursor?"grab":"move",_e=t&&-1!==t.userAgent.toLowerCase().indexOf("android"),De="ontouchstart"in ve&&"orientation"in me||t&&(0<t.MaxTouchPoints||0<t.msMaxTouchPoints),o=fa("div"),r=fa("div"),i=r.style,a=l,i.display="inline-block",i.position="relative",o.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",o.appendChild(r),a.appendChild(o),n=r.offsetHeight+18>o.scrollHeight,a.removeChild(o),O=n,Me=function(e){for(var t=e.split(","),n=(("onpointerdown"in s?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in s?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":e).split(",")),o={},r=4;-1<--r;)o[t[r]]=n[r],o[n[r]]=t[r];try{ve.addEventListener("test",null,Object.defineProperty({},"passive",{get:function get(){d=1}}))}catch(e){}return o}("touchstart,touchmove,touchend,touchcancel"),za(ye,"touchcancel",aa),za(me,"touchmove",aa),l&&l.addEventListener("touchstart",aa),za(ye,"contextmenu",function(){for(var e in ze)ze[e].isPressed&&ze[e].endDrag()}),xe=be=Y()}var n,o,r,i,a;xe?(Se=xe.plugins.inertia,Le=xe.core.context||function(){},c=xe.utils.checkPrefix,R=c(R),Ne=c(Ne),Te=xe.utils.toArray,Ye=xe.core.getStyleSaver,k=!!c("perspective")):e&&console.warn("Please gsap.registerPlugin(Draggable)")}var xe,me,ye,ve,l,s,we,be,c,Te,d,De,Me,Ee,_e,Se,Xe,Pe,Le,Ye,k,O,n,Ce=0,R="transform",Ne="transformOrigin",ke=Array.isArray,Ae=180/Math.PI,Oe=1e20,a=new ge,Re=Date.now||function(){return(new Date).getTime()},Be=[],ze={},Fe=0,o=/^(?:a|input|textarea|button|select)$/i,Ie=0,He={},Qe={},We=function _isRoot(e){return!(e&&e!==ve&&9!==e.nodeType&&e!==ye.body&&e!==me&&e.nodeType&&e.parentNode)},p={},Ge={},B=function _getElementBounds(e,t){t=Te(t)[0];var n,o,r,i,a,l,s,c,d,p,u,h,f,g=e.getBBox&&e.ownerSVGElement,x=e.ownerDocument||ye;if(e===me)r=Fa(x),o=(n=Ga(x))+(x.documentElement.clientWidth||e.innerWidth||x.body.clientWidth||0),i=r+((e.innerHeight||0)-20<x.documentElement.clientHeight?x.documentElement.clientHeight:e.innerHeight||x.body.clientHeight||0);else{if(t===me||_(t))return e.getBoundingClientRect();n=r=0,g?(u=(p=e.getBBox()).width,h=p.height):(e.viewBox&&(p=e.viewBox.baseVal)&&(n=p.x||0,r=p.y||0,u=p.width,h=p.height),u||(p="border-box"===(f=Na(e)).boxSizing,u=(parseFloat(f.width)||e.clientWidth||0)+(p?0:parseFloat(f.borderLeftWidth)+parseFloat(f.borderRightWidth)),h=(parseFloat(f.height)||e.clientHeight||0)+(p?0:parseFloat(f.borderTopWidth)+parseFloat(f.borderBottomWidth)))),o=u,i=h}return e===t?{left:n,top:r,width:o-n,height:i-r}:(l=(a=getGlobalMatrix(t,!0).multiply(getGlobalMatrix(e))).apply({x:n,y:r}),s=a.apply({x:o,y:r}),c=a.apply({x:o,y:i}),d=a.apply({x:n,y:i}),{left:n=Math.min(l.x,s.x,c.x,d.x),top:r=Math.min(l.y,s.y,c.y,d.y),width:Math.max(l.x,s.x,c.x,d.x)-n,height:Math.max(l.y,s.y,c.y,d.y)-r})},z=((n=EventDispatcher.prototype).addEventListener=function addEventListener(e,t){var n=this._listeners[e]||(this._listeners[e]=[]);~n.indexOf(t)||n.push(t)},n.removeEventListener=function removeEventListener(e,t){var n=this._listeners[e],o=n&&n.indexOf(t);0<=o&&n.splice(o,1)},n.dispatchEvent=function dispatchEvent(t){var n,o=this;return(this._listeners[t]||[]).forEach(function(e){return!1===e.call(o,{type:t,target:o.target})&&(n=!1)}),n},EventDispatcher);function EventDispatcher(e){this._listeners={},this.target=e||this}var Ke,F=(function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(Draggable,Ke=z),Draggable.register=function register(e){xe=e,_a()},Draggable.create=function create(e,t){return be||_a(!0),Te(e).map(function(e){return new Draggable(e,t)})},Draggable.get=function get(e){return ze[(Te(e)[0]||{})._gsDragID]},Draggable.timeSinceDrag=function timeSinceDrag(){return(Re()-Ie)/1e3},Draggable.hitTest=function hitTest(e,t,n){if(e===t)return!1;var o,r,i,a=Pa(e),l=Pa(t),s=a.top,c=a.left,d=a.right,p=a.bottom,u=a.width,h=a.height,f=l.left>d||l.right<c||l.top>p||l.bottom<s;return f||!n?!f:(i=-1!==(n+"").indexOf("%"),n=parseFloat(n)||0,(o={left:Math.max(c,l.left),top:Math.max(s,l.top)}).width=Math.min(d,l.right)-o.left,o.height=Math.min(p,l.bottom)-o.top,!(o.width<0||o.height<0)&&(i?u*h*(n*=.01)<=(r=o.width*o.height)||r>=l.width*l.height*n:o.width>n&&o.height>n))},Draggable);function Draggable(h,p){var e;e=Ke.call(this)||this,be||_a(1),h=Te(h)[0],e.styles=Ye&&Ye(h,"transform,left,top"),Se=Se||xe.plugins.inertia,e.vars=p=ra(p||{}),e.target=h,e.x=e.y=e.rotation=0,e.dragResistance=parseFloat(p.dragResistance)||0,e.edgeResistance=isNaN(p.edgeResistance)?1:parseFloat(p.edgeResistance)||0,e.lockAxis=p.lockAxis,e.autoScroll=p.autoScroll||0,e.lockedAxis=null,e.allowEventDefault=!!p.allowEventDefault,xe.getProperty(h,"x");function Qg(e,t){return parseFloat(se.get(h,e,t))}function xh(e){return Ba(e),e.stopImmediatePropagation&&e.stopImmediatePropagation(),!1}function yh(e){if(q.autoScroll&&q.isDragging&&(te||Y)){var t,n,o,r,i,a,l,s,c=h,d=15*q.autoScroll;for(te=!1,Qe.scrollTop=null!=me.pageYOffset?me.pageYOffset:null!=de.documentElement.scrollTop?de.documentElement.scrollTop:de.body.scrollTop,Qe.scrollLeft=null!=me.pageXOffset?me.pageXOffset:null!=de.documentElement.scrollLeft?de.documentElement.scrollLeft:de.body.scrollLeft,r=q.pointerX-Qe.scrollLeft,i=q.pointerY-Qe.scrollTop;c&&!n;)t=(n=We(c.parentNode))?Qe:c.parentNode,o=n?{bottom:Math.max(ve.clientHeight,me.innerHeight||0),right:Math.max(ve.clientWidth,me.innerWidth||0),left:0,top:0}:t.getBoundingClientRect(),a=l=0,U&&((s=t._gsMaxScrollY-t.scrollTop)<0?l=s:i>o.bottom-re&&s?(te=!0,l=Math.min(s,d*(1-Math.max(0,o.bottom-i)/re)|0)):i<o.top+ne&&t.scrollTop&&(te=!0,l=-Math.min(t.scrollTop,d*(1-Math.max(0,i-o.top)/ne)|0)),l&&(t.scrollTop+=l)),V&&((s=t._gsMaxScrollX-t.scrollLeft)<0?a=s:r>o.right-oe&&s?(te=!0,a=Math.min(s,d*(1-Math.max(0,o.right-r)/oe)|0)):r<o.left+ie&&t.scrollLeft&&(te=!0,a=-Math.min(t.scrollLeft,d*(1-Math.max(0,r-o.left)/ie)|0)),a&&(t.scrollLeft+=a)),n&&(a||l)&&(me.scrollTo(t.scrollLeft,t.scrollTop),he(q.pointerX+a,q.pointerY+l)),c=t}if(Y){var p=q.x,u=q.y;W?(q.deltaX=p-parseFloat(se.rotation),q.rotation=p,se.rotation=p+"deg",se.renderTransform(1,se)):f?(U&&(q.deltaY=u-f.top(),f.top(u)),V&&(q.deltaX=p-f.left(),f.left(p))):Q?(U&&(q.deltaY=u-parseFloat(se.y),se.y=u+"px"),V&&(q.deltaX=p-parseFloat(se.x),se.x=p+"px"),se.renderTransform(1,se)):(U&&(q.deltaY=u-parseFloat(h.style.top||0),h.style.top=u+"px"),V&&(q.deltaX=p-parseFloat(h.style.left||0),h.style.left=p+"px")),!g||e||z||(!(z=!0)===Qa(q,"drag","onDrag")&&(V&&(q.x-=q.deltaX),U&&(q.y-=q.deltaY),yh(!0)),z=!1)}Y=!1}function zh(e,t){var n,o,r=q.x,i=q.y;h._gsap||(se=xe.core.getCache(h)),se.uncache&&xe.getProperty(h,"x"),Q?(q.x=parseFloat(se.x),q.y=parseFloat(se.y)):W?q.x=q.rotation=parseFloat(se.rotation):f?(q.y=f.top(),q.x=f.left()):(q.y=parseFloat(h.style.top||(o=Na(h))&&o.top)||0,q.x=parseFloat(h.style.left||(o||{}).left)||0),(C||N||k)&&!t&&(q.isDragging||q.isThrowing)&&(k&&(He.x=q.x,He.y=q.y,(n=k(He)).x!==q.x&&(q.x=n.x,Y=!0),n.y!==q.y&&(q.y=n.y,Y=!0)),C&&(n=C(q.x))!==q.x&&(q.x=n,W&&(q.rotation=n),Y=!0),N&&((n=N(q.y))!==q.y&&(q.y=n),Y=!0)),Y&&yh(!0),e||(q.deltaX=q.x-r,q.deltaY=q.y-i,Qa(q,"throwupdate","onThrowUpdate"))}function Ah(a,l,s,n){return null==l&&(l=-Oe),null==s&&(s=Oe),Z(a)?function(e){var t=q.isPressed?1-q.edgeResistance:1;return a.call(q,(s<e?s+(e-s)*t:e<l?l+(e-l)*t:e)*n)*n}:ke(a)?function(e){for(var t,n,o=a.length,r=0,i=Oe;-1<--o;)(n=(t=a[o])-e)<0&&(n=-n),n<i&&l<=t&&t<=s&&(r=o,i=n);return a[r]}:isNaN(a)?function(e){return e}:function(){return a*n}}function Ch(){var e,t,n,o;M=!1,f?(f.calibrate(),q.minX=S=-f.maxScrollLeft(),q.minY=P=-f.maxScrollTop(),q.maxX=E=q.maxY=X=0,M=!0):p.bounds&&(e=Ra(p.bounds,h.parentNode),W?(q.minX=S=e.left,q.maxX=E=e.left+e.width,q.minY=P=q.maxY=X=0):_(p.bounds.maxX)&&_(p.bounds.maxY)?(t=Ra(h,h.parentNode),q.minX=S=Math.round(Qg(G,"px")+e.left-t.left),q.minY=P=Math.round(Qg(K,"px")+e.top-t.top),q.maxX=E=Math.round(S+(e.width-t.width)),q.maxY=X=Math.round(P+(e.height-t.height))):(e=p.bounds,q.minX=S=e.minX,q.minY=P=e.minY,q.maxX=E=e.maxX,q.maxY=X=e.maxY),E<S&&(q.minX=E,q.maxX=E=S,S=q.minX),X<P&&(q.minY=X,q.maxY=X=P,P=q.minY),W&&(q.minRotation=S,q.maxRotation=E),M=!0),p.liveSnap&&(n=!0===p.liveSnap?p.snap||{}:p.liveSnap,o=ke(n)||Z(n),W?(C=Ah(o?n:n.rotation,S,E,1),N=null):n.points?k=function buildPointSnapFunc(s,l,c,d,p,u,h){return u=u&&u<Oe?u*u:Oe,Z(s)?function(e){var t,n,o,r=q.isPressed?1-q.edgeResistance:1,i=e.x,a=e.y;return e.x=i=c<i?c+(i-c)*r:i<l?l+(i-l)*r:i,e.y=a=p<a?p+(a-p)*r:a<d?d+(a-d)*r:a,(t=s.call(q,e))!==e&&(e.x=t.x,e.y=t.y),1!==h&&(e.x*=h,e.y*=h),u<Oe&&(n=e.x-i,o=e.y-a,u<n*n+o*o&&(e.x=i,e.y=a)),e}:ke(s)?function(e){for(var t,n,o,r,i=s.length,a=0,l=Oe;-1<--i;)(r=(t=(o=s[i]).x-e.x)*t+(n=o.y-e.y)*n)<l&&(a=i,l=r);return l<=u?s[a]:e}:function(e){return e}}(o?n:n.points,S,E,P,X,n.radius,f?-1:1):(V&&(C=Ah(o?n:n.x||n.left||n.scrollLeft,S,E,f?-1:1)),U&&(N=Ah(o?n:n.y||n.top||n.scrollTop,P,X,f?-1:1))))}function Dh(){q.isThrowing=!1,Qa(q,"throwcomplete","onThrowComplete")}function Eh(){q.isThrowing=!1}function Fh(e,t){var n,o,r,i;e&&Se?(!0===e&&(n=p.snap||p.liveSnap||{},o=ke(n)||Z(n),e={resistance:(p.throwResistance||p.resistance||1e3)/(W?10:1)},W?e.rotation=Ua(q,o?n:n.rotation,E,S,1,t):(V&&(e[G]=Ua(q,o?n:n.points||n.x||n.left,E,S,f?-1:1,t||"x"===q.lockedAxis)),U&&(e[K]=Ua(q,o?n:n.points||n.y||n.top,X,P,f?-1:1,t||"y"===q.lockedAxis)),(n.points||ke(n)&&$(n[0]))&&(e.linkedProps=G+","+K,e.radius=n.radius))),q.isThrowing=!0,i=isNaN(p.overshootTolerance)?1===p.edgeResistance?0:1-q.edgeResistance+.2:p.overshootTolerance,e.duration||(e.duration={max:Math.max(p.minDuration||0,"maxDuration"in p?p.maxDuration:2),min:isNaN(p.minDuration)?0===i||$(e)&&1e3<e.resistance?0:.5:p.minDuration,overshoot:i}),q.tween=r=xe.to(f||h,{inertia:e,data:"_draggable",onComplete:Dh,onInterrupt:Eh,onUpdate:p.fastMode?Qa:zh,onUpdateParams:p.fastMode?[q,"onthrowupdate","onThrowUpdate"]:n&&n.radius?[!1,!0]:[]}),p.fastMode||(f&&(f._skip=!0),r.render(1e9,!0,!0),zh(!0,!0),q.endX=q.x,q.endY=q.y,W&&(q.endRotation=q.x),r.play(0),zh(!0,!0),f&&(f._skip=!1))):M&&q.applyBounds()}function Gh(e){var t,n=A;A=getGlobalMatrix(h.parentNode,!0),e&&q.isPressed&&!A.equals(n||new ge)&&(t=n.inverse().apply({x:w,y:b}),A.apply(t,t),w=t.x,b=t.y),A.equals(a)&&(A=null)}function Hh(){var e,t,n,o=1-q.edgeResistance,r=ce?Ga(de):0,i=ce?Fa(de):0;Q&&(se.x=Qg(G,"px")+"px",se.y=Qg(K,"px")+"px",se.renderTransform()),Gh(!1),Ge.x=q.pointerX-r,Ge.y=q.pointerY-i,A&&A.apply(Ge,Ge),w=Ge.x,b=Ge.y,Y&&(he(q.pointerX,q.pointerY),yh(!0)),d=getGlobalMatrix(h),f?(Ch(),D=f.top(),T=f.left()):(pe()?(zh(!0,!0),Ch()):q.applyBounds(),W?(e=h.ownerSVGElement?[se.xOrigin-h.getBBox().x,se.yOrigin-h.getBBox().y]:(Na(h)[Ne]||"0 0").split(" "),L=q.rotationOrigin=getGlobalMatrix(h).apply({x:parseFloat(e[0])||0,y:parseFloat(e[1])||0}),zh(!0,!0),t=q.pointerX-L.x-r,n=L.y-q.pointerY+i,T=q.x,D=q.y=Math.atan2(n,t)*Ae):(D=Qg(K,"px"),T=Qg(G,"px"))),M&&o&&(E<T?T=E+(T-E)/o:T<S&&(T=S-(S-T)/o),W||(X<D?D=X+(D-X)/o:D<P&&(D=P-(P-D)/o))),q.startX=T=da(T),q.startY=D=da(D)}function Jh(){!we.parentNode||pe()||q.isDragging||we.parentNode.removeChild(we)}function Kh(e,t){var n;if(!u||q.isPressed||!e||!("mousedown"!==e.type&&"pointerdown"!==e.type||t)&&Re()-le<30&&Me[q.pointerEvent.type])I&&e&&u&&Ba(e);else{if(O=pe(),H=!1,q.pointerEvent=e,Me[e.type]?(v=~e.type.indexOf("touch")?e.currentTarget||e.target:de,za(v,"touchend",fe),za(v,"touchmove",ue),za(v,"touchcancel",fe),za(de,"touchstart",Ea)):(v=null,za(de,"mousemove",ue)),B=null,Pe&&v||(za(de,"mouseup",fe),e&&e.target&&za(e.target,"mouseup",fe)),y=ae.call(q,e.target)&&!1===p.dragClickables&&!t)return za(e.target,"change",fe),Qa(q,"pressInit","onPressInit"),Qa(q,"press","onPress"),Wa(J,!0),void(I=!1);if(R=!(!v||V==U||!1===q.vars.allowNativeTouchScrolling||q.vars.allowContextMenu&&e&&(e.ctrlKey||2<e.which))&&(V?"y":"x"),(I=!R&&!q.allowEventDefault)&&(Ba(e),za(me,"touchforcechange",Ba)),e.changedTouches?(e=x=e.changedTouches[0],m=e.identifier):e.pointerId?m=e.pointerId:x=m=null,Ce++,function _addToRenderQueue(e){Be.push(e),1===Be.length&&xe.ticker.add(ua)}(yh),b=q.pointerY=e.pageY,w=q.pointerX=e.pageX,Qa(q,"pressInit","onPressInit"),(R||q.autoScroll)&&La(h.parentNode),!h.parentNode||!q.autoScroll||f||W||!h.parentNode._gsMaxScrollX||we.parentNode||h.getBBox||(we.style.width=h.parentNode.scrollWidth+"px",h.parentNode.appendChild(we)),Hh(),q.tween&&q.tween.kill(),q.isThrowing=!1,xe.killTweensOf(f||h,o,!0),f&&xe.killTweensOf(h,{scrollTo:1},!0),q.tween=q.lockedAxis=null,!p.zIndexBoost&&(W||f||!1===p.zIndexBoost)||(h.style.zIndex=Draggable.zIndex++),q.isPressed=!0,g=!(!p.onDrag&&!q._listeners.drag),s=!(!p.onMove&&!q._listeners.move),!1!==p.cursor||p.activeCursor)for(n=J.length;-1<--n;)xe.set(J[n],{cursor:p.activeCursor||p.cursor||("grab"===Xe?"grabbing":Xe)});Qa(q,"press","onPress")}}function Oh(e){if(e&&q.isDragging&&!f){var t=e.target||h.parentNode,n=t.scrollLeft-t._gsScrollX,o=t.scrollTop-t._gsScrollY;(n||o)&&(A?(w-=n*A.a+o*A.c,b-=o*A.d+n*A.b):(w-=n,b-=o),t._gsScrollX+=n,t._gsScrollY+=o,he(q.pointerX,q.pointerY))}}function Ph(e){var t=Re(),n=t-le<100,o=t-ee<50,r=n&&F===le,i=q.pointerEvent&&q.pointerEvent.defaultPrevented,a=n&&c===le,l=e.isTrusted||null==e.isTrusted&&n&&r;if((r||o&&!1!==q.vars.suppressClickOnDrag)&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),n&&(!q.pointerEvent||!q.pointerEvent.defaultPrevented)&&(!r||l&&!a))return l&&r&&(c=le),void(F=le);(q.isPressed||o||n)&&(l&&e.detail&&n&&!i||Ba(e)),n||o||H||(e&&e.target&&(q.pointerEvent=e),Qa(q,"click","onClick"))}function Qh(e){return A?{x:e.x*A.a+e.y*A.c+A.e,y:e.x*A.b+e.y*A.d+A.f}:{x:e.x,y:e.y}}var u,f,w,b,T,D,M,g,s,E,S,X,P,x,m,L,Y,t,C,N,k,y,v,A,O,R,B,z,F,c,I,d,H,n=(p.type||"x,y").toLowerCase(),Q=~n.indexOf("x")||~n.indexOf("y"),W=-1!==n.indexOf("rotation"),G=W?"rotation":Q?"x":"left",K=Q?"y":"top",V=!(!~n.indexOf("x")&&!~n.indexOf("left")&&"scroll"!==n),U=!(!~n.indexOf("y")&&!~n.indexOf("top")&&"scroll"!==n),j=p.minimumMovement||2,q=_assertThisInitialized(e),J=Te(p.trigger||p.handle||h),o={},ee=0,te=!1,ne=p.autoScrollMarginTop||40,oe=p.autoScrollMarginRight||40,re=p.autoScrollMarginBottom||40,ie=p.autoScrollMarginLeft||40,ae=p.clickableTest||Va,le=0,se=h._gsap||xe.core.getCache(h),ce=function _isFixed(e){return"fixed"===Na(e).position||((e=e.parentNode)&&1===e.nodeType?_isFixed(e):void 0)}(h),de=h.ownerDocument||ye,pe=function isTweening(){return q.tween&&q.tween.isActive()},ue=function onMove(e){var t,n,o,r,i,a,l=e;if(u&&!Ee&&q.isPressed&&e){if(t=(q.pointerEvent=e).changedTouches){if((e=t[0])!==x&&e.identifier!==m){for(r=t.length;-1<--r&&(e=t[r]).identifier!==m&&e.target!==h;);if(r<0)return}}else if(e.pointerId&&m&&e.pointerId!==m)return;v&&R&&!B&&(Ge.x=e.pageX-(ce?Ga(de):0),Ge.y=e.pageY-(ce?Fa(de):0),A&&A.apply(Ge,Ge),n=Ge.x,o=Ge.y,((i=Math.abs(n-w))!==(a=Math.abs(o-b))&&(j<i||j<a)||_e&&R===B)&&(B=a<i&&V?"x":"y",R&&B!==R&&za(me,"touchforcechange",Ba),!1!==q.vars.lockAxisOnTouchScroll&&V&&U&&(q.lockedAxis="x"===B?"y":"x",Z(q.vars.onLockAxis)&&q.vars.onLockAxis.call(q,l)),_e&&R===B))?fe(l):(I=q.allowEventDefault||R&&(!B||R===B)||!1===l.cancelable?I&&!1:(Ba(l),!0),q.autoScroll&&(te=!0),he(e.pageX,e.pageY,s))}else I&&e&&u&&Ba(e)},he=function setPointerPosition(e,t,n){var o,r,i,a,l,s,c=1-q.dragResistance,d=1-q.edgeResistance,p=q.pointerX,u=q.pointerY,h=D,f=q.x,g=q.y,x=q.endX,m=q.endY,y=q.endRotation,v=Y;q.pointerX=e,q.pointerY=t,ce&&(e-=Ga(de),t-=Fa(de)),W?(a=Math.atan2(L.y-t,e-L.x)*Ae,180<(l=q.y-a)?(D-=360,q.y=a):l<-180&&(D+=360,q.y=a),i=q.x!==T||Math.abs(D-a)>j?(q.y=a,T+(D-a)*c):T):(A&&(s=e*A.a+t*A.c+A.e,t=e*A.b+t*A.d+A.f,e=s),(r=t-b)<j&&-j<r&&(r=0),(o=e-w)<j&&-j<o&&(o=0),(q.lockAxis||q.lockedAxis)&&(o||r)&&((s=q.lockedAxis)||(q.lockedAxis=s=V&&Math.abs(o)>Math.abs(r)?"y":U?"x":null,s&&Z(q.vars.onLockAxis)&&q.vars.onLockAxis.call(q,q.pointerEvent)),"y"===s?r=0:"x"===s&&(o=0)),i=da(T+o*c),a=da(D+r*c)),(C||N||k)&&(q.x!==i||q.y!==a&&!W)&&(k&&(He.x=i,He.y=a,s=k(He),i=da(s.x),a=da(s.y)),C&&(i=da(C(i))),N&&(a=da(N(a)))),M&&(E<i?i=E+Math.round((i-E)*d):i<S&&(i=S+Math.round((i-S)*d)),W||(X<a?a=Math.round(X+(a-X)*d):a<P&&(a=Math.round(P+(a-P)*d)))),q.x===i&&(q.y===a||W)||(W?(q.endRotation=q.x=q.endX=i,Y=!0):(U&&(q.y=q.endY=a,Y=!0),V&&(q.x=q.endX=i,Y=!0)),n&&!1===Qa(q,"move","onMove")?(q.pointerX=p,q.pointerY=u,D=h,q.x=f,q.y=g,q.endX=x,q.endY=m,q.endRotation=y,Y=v):!q.isDragging&&q.isPressed&&(q.isDragging=H=!0,Qa(q,"dragstart","onDragStart")))},fe=function onRelease(e,t){if(u&&q.isPressed&&(!e||null==m||t||!(e.pointerId&&e.pointerId!==m&&e.target!==h||e.changedTouches&&!function _hasTouchID(e,t){for(var n=e.length;n--;)if(e[n].identifier===t)return!0}(e.changedTouches,m)))){q.isPressed=!1;var n,o,r,i,a,l=e,s=q.isDragging,c=q.vars.allowContextMenu&&e&&(e.ctrlKey||2<e.which),d=xe.delayedCall(.001,Jh);if(v?(Aa(v,"touchend",onRelease),Aa(v,"touchmove",ue),Aa(v,"touchcancel",onRelease),Aa(de,"touchstart",Ea)):Aa(de,"mousemove",ue),Aa(me,"touchforcechange",Ba),Pe&&v||(Aa(de,"mouseup",onRelease),e&&e.target&&Aa(e.target,"mouseup",onRelease)),Y=!1,s&&(ee=Ie=Re(),q.isDragging=!1),xa(yh),y&&!c)return e&&(Aa(e.target,"change",onRelease),q.pointerEvent=l),Wa(J,!1),Qa(q,"release","onRelease"),Qa(q,"click","onClick"),void(y=!1);for(o=J.length;-1<--o;)Ma(J[o],"cursor",p.cursor||(!1!==p.cursor?Xe:null));if(Ce--,e){if((n=e.changedTouches)&&(e=n[0])!==x&&e.identifier!==m){for(o=n.length;-1<--o&&(e=n[o]).identifier!==m&&e.target!==h;);if(o<0&&!t)return}q.pointerEvent=l,q.pointerX=e.pageX,q.pointerY=e.pageY}return c&&l?(Ba(l),I=!0,Qa(q,"release","onRelease")):l&&!s?(I=!1,O&&(p.snap||p.bounds)&&Fh(p.inertia||p.throwProps),Qa(q,"release","onRelease"),_e&&"touchmove"===l.type||-1!==l.type.indexOf("cancel")||(Qa(q,"click","onClick"),Re()-le<300&&Qa(q,"doubleclick","onDoubleClick"),i=l.target||h,le=Re(),a=function syntheticClick(){le===F||!q.enabled()||q.isPressed||l.defaultPrevented||(i.click?i.click():de.createEvent&&((r=de.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,me,1,q.pointerEvent.screenX,q.pointerEvent.screenY,q.pointerX,q.pointerY,!1,!1,!1,!1,0,null),i.dispatchEvent(r)))},_e||l.defaultPrevented||xe.delayedCall(.05,a))):(Fh(p.inertia||p.throwProps),q.allowEventDefault||!l||!1===p.dragClickables&&ae.call(q,l.target)||!s||R&&(!B||R!==B)||!1===l.cancelable?I=!1:(I=!0,Ba(l)),Qa(q,"release","onRelease")),pe()&&d.duration(q.tween.duration()),s&&Qa(q,"dragend","onDragEnd"),!0}I&&e&&u&&Ba(e)};return(t=Draggable.get(h))&&t.kill(),e.startDrag=function(e,t){var n,o,r,i;Kh(e||q.pointerEvent,!0),t&&!q.hitTest(e||q.pointerEvent)&&(n=Pa(e||q.pointerEvent),o=Pa(h),r=Qh({x:n.left+n.width/2,y:n.top+n.height/2}),i=Qh({x:o.left+o.width/2,y:o.top+o.height/2}),w-=r.x-i.x,b-=r.y-i.y),q.isDragging||(q.isDragging=H=!0,Qa(q,"dragstart","onDragStart"))},e.drag=ue,e.endDrag=function(e){return fe(e||q.pointerEvent,!0)},e.timeSinceDrag=function(){return q.isDragging?0:(Re()-ee)/1e3},e.timeSinceClick=function(){return(Re()-le)/1e3},e.hitTest=function(e,t){return Draggable.hitTest(q.target,e,t)},e.getDirection=function(e,t){var n,o,r,i,a,l,s="velocity"===e&&Se?e:$(e)&&!W?"element":"start";return"element"===s&&(a=Pa(q.target),l=Pa(e)),n="start"===s?q.x-T:"velocity"===s?Se.getVelocity(h,G):a.left+a.width/2-(l.left+l.width/2),W?n<0?"counter-clockwise":"clockwise":(t=t||2,o="start"===s?q.y-D:"velocity"===s?Se.getVelocity(h,K):a.top+a.height/2-(l.top+l.height/2),i=(r=Math.abs(n/o))<1/t?"":n<0?"left":"right",r<t&&(""!==i&&(i+="-"),i+=o<0?"up":"down"),i)},e.applyBounds=function(e,t){var n,o,r,i,a,l;if(e&&p.bounds!==e)return p.bounds=e,q.update(!0,t);if(zh(!0),Ch(),M&&!pe()){if(n=q.x,o=q.y,E<n?n=E:n<S&&(n=S),X<o?o=X:o<P&&(o=P),(q.x!==n||q.y!==o)&&(r=!0,q.x=q.endX=n,W?q.endRotation=n:q.y=q.endY=o,yh(Y=!0),q.autoScroll&&!q.isDragging))for(La(h.parentNode),i=h,Qe.scrollTop=null!=me.pageYOffset?me.pageYOffset:null!=de.documentElement.scrollTop?de.documentElement.scrollTop:de.body.scrollTop,Qe.scrollLeft=null!=me.pageXOffset?me.pageXOffset:null!=de.documentElement.scrollLeft?de.documentElement.scrollLeft:de.body.scrollLeft;i&&!l;)a=(l=We(i.parentNode))?Qe:i.parentNode,U&&a.scrollTop>a._gsMaxScrollY&&(a.scrollTop=a._gsMaxScrollY),V&&a.scrollLeft>a._gsMaxScrollX&&(a.scrollLeft=a._gsMaxScrollX),i=a;q.isThrowing&&(r||q.endX>E||q.endX<S||q.endY>X||q.endY<P)&&Fh(p.inertia||p.throwProps,r)}return q},e.update=function(e,t,n){if(t&&q.isPressed){var o=getGlobalMatrix(h),r=d.apply({x:q.x-T,y:q.y-D}),i=getGlobalMatrix(h.parentNode,!0);i.apply({x:o.e-r.x,y:o.f-r.y},r),q.x-=r.x-i.e,q.y-=r.y-i.f,yh(!0),Hh()}var a=q.x,l=q.y;return Gh(!t),e?q.applyBounds():(Y&&n&&yh(!0),zh(!0)),t&&(he(q.pointerX,q.pointerY),Y&&yh(!0)),q.isPressed&&!t&&(V&&.01<Math.abs(a-q.x)||U&&.01<Math.abs(l-q.y)&&!W)&&Hh(),q.autoScroll&&(La(h.parentNode,q.isDragging),te=q.isDragging,yh(!0),Ia(h,Oh),Ha(h,Oh)),q},e.enable=function(e){var t,n,o,r={lazy:!0};if(!1!==p.cursor&&(r.cursor=p.cursor||Xe),xe.utils.checkPrefix("touchCallout")&&(r.touchCallout="none"),"soft"!==e){for(ta(J,V==U?"none":p.allowNativeTouchScrolling&&h.scrollHeight===h.clientHeight==(h.scrollWidth===h.clientHeight)||p.allowEventDefault?"manipulation":V?"pan-y":"pan-x"),n=J.length;-1<--n;)o=J[n],Pe||za(o,"mousedown",Kh),za(o,"touchstart",Kh),za(o,"click",Ph,!0),xe.set(o,r),o.getBBox&&o.ownerSVGElement&&V!=U&&xe.set(o.ownerSVGElement,{touchAction:p.allowNativeTouchScrolling||p.allowEventDefault?"manipulation":V?"pan-y":"pan-x"}),p.allowContextMenu||za(o,"contextmenu",xh);Wa(J,!1)}return Ha(h,Oh),u=!0,Se&&"soft"!==e&&Se.track(f||h,Q?"x,y":W?"rotation":"top,left"),h._gsDragID=t="d"+Fe++,ze[t]=q,f&&(f.enable(),f.element._gsDragID=t),(p.bounds||W)&&Hh(),p.bounds&&q.applyBounds(),q},e.disable=function(e){for(var t,n=q.isDragging,o=J.length;-1<--o;)Ma(J[o],"cursor",null);if("soft"!==e){for(ta(J,null),o=J.length;-1<--o;)t=J[o],Ma(t,"touchCallout",null),Aa(t,"mousedown",Kh),Aa(t,"touchstart",Kh),Aa(t,"click",Ph,!0),Aa(t,"contextmenu",xh);Wa(J,!0),v&&(Aa(v,"touchcancel",fe),Aa(v,"touchend",fe),Aa(v,"touchmove",ue)),Aa(de,"mouseup",fe),Aa(de,"mousemove",ue)}return Ia(h,Oh),u=!1,Se&&"soft"!==e&&(Se.untrack(f||h,Q?"x,y":W?"rotation":"top,left"),q.tween&&q.kill()),f&&f.disable(),xa(yh),q.isDragging=q.isPressed=y=!1,n&&Qa(q,"dragend","onDragEnd"),q},e.enabled=function(e,t){return arguments.length?e?q.enable(t):q.disable(t):u},e.kill=function(){return q.isThrowing=!1,q.tween&&q.tween.kill(),q.disable(),xe.set(J,{clearProps:"userSelect"}),delete ze[h._gsDragID],q},e.revert=function(){this.kill(),this.styles&&this.styles.revert()},~n.indexOf("scroll")&&(f=e.scrollProxy=new $a(h,function _extend(e,t){for(var n in t)n in e||(e[n]=t[n]);return e}({onKill:function onKill(){q.isPressed&&fe(null)}},p)),h.style.overflowY=U&&!De?"auto":"hidden",h.style.overflowX=V&&!De?"auto":"hidden",h=f.content),W?o.rotation=1:(V&&(o[G]=1),U&&(o[K]=1)),se.force3D=!("force3D"in p)||p.force3D,Le(_assertThisInitialized(e)),e.enable(),e}!function _setDefaults(e,t){for(var n in t)n in e||(e[n]=t[n])}(F.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),F.zIndex=1e3,F.version="3.12.0",Y()&&xe.registerPlugin(F),e.Draggable=F,e.default=F;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* DrawSVGPlugin 3.11.5
* DrawSVGPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function l(){return"undefined"!=typeof window}function m(){return t||l()&&(t=window.gsap)&&t.registerPlugin&&t}function p(e){return Math.round(1e4*e)/1e4}function q(e){return parseFloat(e)||0}function r(e,t){var n=q(e);return~e.indexOf("%")?n/100*t:n}function s(e,t){return q(e.getAttribute(t))}function u(e,t,n,r,i,o){return M(Math.pow((q(n)-q(e))*i,2)+Math.pow((q(r)-q(t))*o,2))}function v(e){return console.warn(e)}function w(e){return"non-scaling-stroke"===e.getAttribute("vector-effect")}function z(){return String.fromCharCode.apply(null,arguments)}function D(e){if(!(e=x(e)[0]))return 0;var t,n,r,i,o,a,f,d=e.tagName.toLowerCase(),l=e.style,h=1,c=1;w(e)&&(c=e.getScreenCTM(),h=M(c.a*c.a+c.b*c.b),c=M(c.d*c.d+c.c*c.c));try{n=e.getBBox()}catch(e){v("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var g=n||{x:0,y:0,width:0,height:0},z=g.x,y=g.y,_=g.width,m=g.height;if(n&&(_||m)||!P[d]||(_=s(e,P[d][0]),m=s(e,P[d][1]),"rect"!==d&&"line"!==d&&(_*=2,m*=2),"line"===d&&(z=s(e,"x1"),y=s(e,"y1"),_=Math.abs(_-z),m=Math.abs(m-y))),"path"===d)i=l.strokeDasharray,l.strokeDasharray="none",t=e.getTotalLength()||0,p(h)!==p(c)&&!k&&(k=1)&&v("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),t*=(h+c)/2,l.strokeDasharray=i;else if("rect"===d)t=2*_*h+2*m*c;else if("line"===d)t=u(z,y,z+_,y+m,h,c);else if("polyline"===d||"polygon"===d)for(r=e.getAttribute("points").match(b)||[],"polygon"===d&&r.push(r[0],r[1]),t=0,o=2;o<r.length;o+=2)t+=u(r[o-2],r[o-1],r[o],r[o+1],h,c)||0;else"circle"!==d&&"ellipse"!==d||(a=_/2*h,f=m/2*c,t=Math.PI*(3*(a+f)-M((3*a+f)*(a+3*f))));return t||0}function E(e,t){if(!(e=x(e)[0]))return[0,0];t=t||D(e)+1;var n=f.getComputedStyle(e),r=n.strokeDasharray||"",i=q(n.strokeDashoffset),o=r.indexOf(",");return o<0&&(o=r.indexOf(" ")),t<(r=o<0?t:q(r.substr(0,o)))&&(r=t),[-i||0,r-i||0]}function F(){l()&&(f=window,h=t=m(),x=t.utils.toArray,c=t.core.getStyleSaver,g=t.core.reverting||function(){},d=-1!==((f.navigator||{}).userAgent||"").indexOf("Edge"))}var t,x,f,d,h,k,c,g,b=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,P={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},M=Math.sqrt,o="DrawSVGPlugin",a=z(103,114,101,101,110,115,111,99,107,46,99,111,109),y=function(e){var t="undefined"!=typeof window,n=0===(t?window.location.href:"").indexOf(z(102,105,108,101,58,47,47))||-1!==e.indexOf(z(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(z(49,50,55,46,48,32,48,46,49)),r=[a,z(99,111,100,101,112,101,110,46,105,111),z(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),z(99,111,100,101,112,101,110,46,100,101,118),z(99,111,100,101,112,101,110,46,97,112,112),z(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),z(112,101,110,115,46,99,108,111,117,100),z(99,115,115,45,116,114,105,99,107,115,46,99,111,109),z(99,100,112,110,46,105,111),z(112,101,110,115,46,105,111),z(103,97,110,110,111,110,46,116,118),z(99,111,100,101,99,97,110,121,111,110,46,110,101,116),z(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),z(99,101,114,101,98,114,97,120,46,99,111,46,117,107),z(116,121,109,112,97,110,117,115,46,110,101,116),z(116,119,101,101,110,109,97,120,46,99,111,109),z(112,108,110,107,114,46,99,111),z(104,111,116,106,97,114,46,99,111,109),z(119,101,98,112,97,99,107,98,105,110,46,99,111,109),z(97,114,99,104,105,118,101,46,111,114,103),z(99,111,100,101,115,97,110,100,98,111,120,46,105,111),z(99,115,98,46,97,112,112),z(115,116,97,99,107,98,108,105,116,122,46,99,111,109),z(115,116,97,99,107,98,108,105,116,122,46,105,111),z(99,111,100,105,101,114,46,105,111),z(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),z(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),z(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),z(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),z(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),z(106,115,102,105,100,100,108,101,46,110,101,116)],i=r.length;for(setTimeout(function checkWarn(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(z(37,99,87,97,114,110,105,110,103),z(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(z(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+o+z(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(z(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),z(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--i;)if(-1!==e.indexOf(r[i]))return!0;return n||!setTimeout(function(){t&&(window.location.href=z(104,116,116,112,115,58,47,47)+a+z(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+o+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),n={version:"3.11.5",name:"drawSVG",register:function register(e){t=e,F()},init:function init(e,t,n){if(!e.getBBox)return!1;h||F();var i,o,s,a=D(e);return this.styles=c&&c(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=n,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?-1===(t+"").indexOf(" ")&&(t="0 "+t):t="0 0",o=function _parse(e,t,n){var i,o,s=e.indexOf(" ");return o=s<0?(i=void 0!==n?n+"":e,e):(i=e.substr(0,s),e.substr(s+1)),i=r(i,t),(o=r(o,t))<i?[o,i]:[i,o]}(t,a,(i=E(e,a))[0]),this._length=p(a),this._dash=p(i[1]-i[0]),this._offset=p(-i[0]),this._dashPT=this.add(this,"_dash",this._dash,p(o[1]-o[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,p(-o[0]),0,0,0,0,0,1),d&&(s=f.getComputedStyle(e)).strokeLinecap!==s.strokeLinejoin&&(o=q(s.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",o,o+.01)),this._live=w(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),y},render:function render(e,t){if(t.tween._time||!g()){var n,r,i,o,s=t._pt,a=t._style;if(s){for(t._live&&(n=D(t._target))!==t._length&&(r=n/t._length,t._length=n,t._offsetPT&&(t._offsetPT.s*=r,t._offsetPT.c*=r),t._dashPT?(t._dashPT.s*=r,t._dashPT.c*=r):t._dash*=r);s;)s.r(e,s.d),s=s._next;i=t._dash||e&&1!==e&&1e-4||0,n=t._length-i+.1,o=t._offset,i&&o&&i+Math.abs(o%t._length)>t._length-.2&&(o+=o<0?.1:-.1)&&(n+=.1),a.strokeDashoffset=i?o:o+.001,a.strokeDasharray=n<.2?"none":i?i+"px,"+(t._nowrap?999999:n)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:D,getPosition:E};m()&&t.registerPlugin(n),e.DrawSVGPlugin=n,e.default=n;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function l(){return"undefined"!=typeof window}function m(){return o||l()&&(o=window.gsap)&&o.registerPlugin&&o}function p(e){return Math.round(1e4*e)/1e4}function q(e){return parseFloat(e)||0}function r(e,t){var n=q(e);return~e.indexOf("%")?n/100*t:n}function s(e,t){return q(e.getAttribute(t))}function u(e,t,n,r,i,o){return M(Math.pow((q(n)-q(e))*i,2)+Math.pow((q(r)-q(t))*o,2))}function v(e){return console.warn(e)}function w(e){return"non-scaling-stroke"===e.getAttribute("vector-effect")}function z(){return String.fromCharCode.apply(null,arguments)}function E(e){if(!(e=x(e)[0]))return 0;var t,n,r,i,o,a,f,d=e.tagName.toLowerCase(),l=e.style,h=1,c=1;w(e)&&(c=e.getScreenCTM(),h=M(c.a*c.a+c.b*c.b),c=M(c.d*c.d+c.c*c.c));try{n=e.getBBox()}catch(e){v("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var g=n||{x:0,y:0,width:0,height:0},y=g.x,z=g.y,_=g.width,m=g.height;if(n&&(_||m)||!P[d]||(_=s(e,P[d][0]),m=s(e,P[d][1]),"rect"!==d&&"line"!==d&&(_*=2,m*=2),"line"===d&&(y=s(e,"x1"),z=s(e,"y1"),_=Math.abs(_-y),m=Math.abs(m-z))),"path"===d)i=l.strokeDasharray,l.strokeDasharray="none",t=e.getTotalLength()||0,p(h)!==p(c)&&!k&&(k=1)&&v("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),t*=(h+c)/2,l.strokeDasharray=i;else if("rect"===d)t=2*_*h+2*m*c;else if("line"===d)t=u(y,z,y+_,z+m,h,c);else if("polyline"===d||"polygon"===d)for(r=e.getAttribute("points").match(b)||[],"polygon"===d&&r.push(r[0],r[1]),t=0,o=2;o<r.length;o+=2)t+=u(r[o-2],r[o-1],r[o],r[o+1],h,c)||0;else"circle"!==d&&"ellipse"!==d||(a=_/2*h,f=m/2*c,t=Math.PI*(3*(a+f)-M((3*a+f)*(a+3*f))));return t||0}function F(e,t){if(!(e=x(e)[0]))return[0,0];t=t||E(e)+1;var n=f.getComputedStyle(e),r=n.strokeDasharray||"",i=q(n.strokeDashoffset),o=r.indexOf(",");return o<0&&(o=r.indexOf(" ")),t<(r=o<0?t:q(r.substr(0,o)))&&(r=t),[-i||0,r-i||0]}function G(){l()&&(f=window,h=o=m(),x=o.utils.toArray,c=o.core.getStyleSaver,g=o.core.reverting||function(){},d=-1!==((f.navigator||{}).userAgent||"").indexOf("Edge"))}var o,x,f,d,h,k,c,g,b=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,P={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},M=Math.sqrt,a="DrawSVGPlugin",y=z(103,114,101,101,110,115,111,99,107,46,99,111,109),_=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,S=function(e){var t="undefined"!=typeof window,n=0===(t?window.location.href:"").indexOf(z(102,105,108,101,58,47,47))||-1!==e.indexOf(z(108,111,99,97,108,104,111,115,116))||_.test(e),r=[y,z(99,111,100,101,112,101,110,46,105,111),z(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),z(99,111,100,101,112,101,110,46,100,101,118),z(99,111,100,101,112,101,110,46,97,112,112),z(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),z(112,101,110,115,46,99,108,111,117,100),z(99,115,115,45,116,114,105,99,107,115,46,99,111,109),z(99,100,112,110,46,105,111),z(112,101,110,115,46,105,111),z(103,97,110,110,111,110,46,116,118),z(99,111,100,101,99,97,110,121,111,110,46,110,101,116),z(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),z(99,101,114,101,98,114,97,120,46,99,111,46,117,107),z(116,121,109,112,97,110,117,115,46,110,101,116),z(116,119,101,101,110,109,97,120,46,99,111,109),z(112,108,110,107,114,46,99,111),z(104,111,116,106,97,114,46,99,111,109),z(119,101,98,112,97,99,107,98,105,110,46,99,111,109),z(97,114,99,104,105,118,101,46,111,114,103),z(99,111,100,101,115,97,110,100,98,111,120,46,105,111),z(99,115,98,46,97,112,112),z(115,116,97,99,107,98,108,105,116,122,46,99,111,109),z(115,116,97,99,107,98,108,105,116,122,46,105,111),z(99,111,100,105,101,114,46,105,111),z(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),z(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),z(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),z(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),z(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),z(106,115,102,105,100,100,108,101,46,110,101,116)],i=r.length;for(setTimeout(function checkWarn(){if(t)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var e="object"==typeof o?o:t&&window.gsap;t&&window.console&&!window._gsapWarned&&"object"==typeof e&&!1!==e.config().trialWarn&&(console.log(z(37,99,87,97,114,110,105,110,103),z(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(z(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+a+z(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(z(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),z(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--i;)if(-1!==e.indexOf(r[i]))return!0;return n||!setTimeout(function(){t&&(window.location.href=z(104,116,116,112,115,58,47,47)+y+z(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+a+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),t={version:"3.12.0",name:"drawSVG",register:function register(e){o=e,G()},init:function init(e,t,n){if(!e.getBBox)return!1;h||G();var i,o,s,a=E(e);return this.styles=c&&c(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=n,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?-1===(t+"").indexOf(" ")&&(t="0 "+t):t="0 0",o=function _parse(e,t,n){var i,o,s=e.indexOf(" ");return o=s<0?(i=void 0!==n?n+"":e,e):(i=e.substr(0,s),e.substr(s+1)),i=r(i,t),(o=r(o,t))<i?[o,i]:[i,o]}(t,a,(i=F(e,a))[0]),this._length=p(a),this._dash=p(i[1]-i[0]),this._offset=p(-i[0]),this._dashPT=this.add(this,"_dash",this._dash,p(o[1]-o[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,p(-o[0]),0,0,0,0,0,1),d&&(s=f.getComputedStyle(e)).strokeLinecap!==s.strokeLinejoin&&(o=q(s.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",o,o+.01)),this._live=w(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),S},render:function render(e,t){if(t.tween._time||!g()){var n,r,i,o,s=t._pt,a=t._style;if(s){for(t._live&&(n=E(t._target))!==t._length&&(r=n/t._length,t._length=n,t._offsetPT&&(t._offsetPT.s*=r,t._offsetPT.c*=r),t._dashPT?(t._dashPT.s*=r,t._dashPT.c*=r):t._dash*=r);s;)s.r(e,s.d),s=s._next;i=t._dash||e&&1!==e&&1e-4||0,n=t._length-i+.1,o=t._offset,i&&o&&i+Math.abs(o%t._length)>t._length-.2&&(o+=o<0?.1:-.1)&&(n+=.1),a.strokeDashoffset=i?o:o+.001,a.strokeDasharray=n<.2?"none":i?i+"px,"+(t._nowrap?999999:n)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:E,getPosition:F};m()&&o.registerPlugin(t),e.DrawSVGPlugin=t,e.default=t;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* EaselPlugin 3.11.5
* EaselPlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function k(){return"undefined"!=typeof window}function l(){return h||k()&&(h=window.gsap)&&h.registerPlugin&&h}function m(){return r||t&&t.createjs||t||{}}function n(e){return console.warn(e)}function o(e){var t=e.getBounds&&e.getBounds();t||(t=e.nominalBounds||{x:0,y:0,width:100,height:100},e.setBounds&&e.setBounds(t.x,t.y,t.width,t.height)),e.cache&&e.cache(t.x,t.y,t.width,t.height),n("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. "+e)}function p(e,t,r){(b=b||m().ColorFilter)||n("EaselPlugin error: The EaselJS ColorFilter JavaScript file wasn't loaded.");for(var i,l,s,u,a,f,c=e.filters||[],d=c.length;d--;)if(c[d]instanceof b){l=c[d];break}if(l||(l=new b,c.push(l),e.filters=c),s=l.clone(),null!=t.tint)i=h.utils.splitColor(t.tint),u=null!=t.tintAmount?+t.tintAmount:1,s.redOffset=i[0]*u,s.greenOffset=i[1]*u,s.blueOffset=i[2]*u,s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1-u;else for(a in t)"exposure"!==a&&"brightness"!==a&&(s[a]=+t[a]);for(null!=t.exposure?(s.redOffset=s.greenOffset=s.blueOffset=255*(t.exposure-1),s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1):null!=t.brightness&&(u=t.brightness-1,s.redOffset=s.greenOffset=s.blueOffset=0<u?255*u:0,s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1-Math.abs(u)),d=8;d--;)l[a=M[d]]!==s[a]&&(f=r.add(l,a,l[a],s[a],0,0,0,0,0,1))&&(f.op="easel_colorFilter");r._props.push("easel_colorFilter"),e.cacheID||o(e)}function u(e,t){if(!(e instanceof Array&&t instanceof Array))return t;var r,i,n=[],l=0,o=0;for(r=0;r<4;r++){for(i=0;i<5;i++)o=4===i?e[l+4]:0,n[l+i]=e[l]*t[i]+e[l+1]*t[i+5]+e[l+2]*t[i+10]+e[l+3]*t[i+15]+o;l+=5}return n}function z(e,t,r){(d=d||m().ColorMatrixFilter)||n("EaselPlugin: The EaselJS ColorMatrixFilter JavaScript file wasn't loaded.");for(var i,l,s,a,f=e.filters||[],c=f.length;-1<--c;)if(f[c]instanceof d){s=f[c];break}for(s||(s=new d(w.slice()),f.push(s),e.filters=f),l=s.matrix,i=w.slice(),null!=t.colorize&&(i=function _colorize(e,t,r){isNaN(r)&&(r=1);var i=h.utils.splitColor(t),n=i[0]/255,l=i[1]/255,o=i[2]/255,s=1-r;return u([s+r*n*x,r*n*y,r*n*_,0,0,r*l*x,s+r*l*y,r*l*_,0,0,r*o*x,r*o*y,s+r*o*_,0,0,0,0,0,1,0],e)}(i,t.colorize,Number(t.colorizeAmount))),null!=t.contrast&&(i=function _setContrast(e,t){return isNaN(t)?e:u([t+=.01,0,0,0,128*(1-t),0,t,0,0,128*(1-t),0,0,t,0,128*(1-t),0,0,0,1,0],e)}(i,Number(t.contrast))),null!=t.hue&&(i=function _setHue(e,t){if(isNaN(t))return e;t*=Math.PI/180;var r=Math.cos(t),i=Math.sin(t);return u([x+r*(1-x)+i*-x,y+r*-y+i*-y,_+r*-_+i*(1-_),0,0,x+r*-x+.143*i,y+r*(1-y)+.14*i,_+r*-_+-.283*i,0,0,x+r*-x+i*-(1-x),y+r*-y+i*y,_+r*(1-_)+i*_,0,0,0,0,0,1,0,0,0,0,0,1],e)}(i,Number(t.hue))),null!=t.saturation&&(i=function _setSaturation(e,t){if(isNaN(t))return e;var r=1-t,i=r*x,n=r*y,l=r*_;return u([i+t,n,l,0,0,i,n+t,l,0,0,i,n,l+t,0,0,0,0,0,1,0],e)}(i,Number(t.saturation))),c=i.length;-1<--c;)i[c]!==l[c]&&(a=r.add(l,c,l[c],i[c],0,0,0,0,0,1))&&(a.op="easel_colorMatrixFilter");r._props.push("easel_colorMatrixFilter"),e.cacheID||o(),r._matrix=l}function A(e){h=e||l(),k()&&(t=window),h&&(g=1)}var h,g,t,r,b,d,M="redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier,redOffset,greenOffset,blueOffset,alphaOffset".split(","),w=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],x=.212671,y=.71516,_=.072169,i={version:"3.11.5",name:"easel",init:function init(e,t,r,i,l){var o,s,u,a,f,c,d;for(o in g||(A(),h||n("Please gsap.registerPlugin(EaselPlugin)")),this.target=e,t)if(f=t[o],"colorFilter"===o||"tint"===o||"tintAmount"===o||"exposure"===o||"brightness"===o)u||(p(e,t.colorFilter||t,this),u=!0);else if("saturation"===o||"contrast"===o||"hue"===o||"colorize"===o||"colorizeAmount"===o)a||(z(e,t.colorMatrixFilter||t,this),a=!0);else if("frame"===o){if("string"==typeof f&&"="!==f.charAt(1)&&(c=e.labels))for(d=0;d<c.length;d++)c[d].label===f&&(f=c[d].position);(s=this.add(e,"gotoAndStop",e.currentFrame,f,i,l,Math.round,0,0,1))&&(s.op=o)}else null!=e[o]&&this.add(e,o,"get",f)},render:function render(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next;t.target.cacheID&&t.target.updateCache()},register:A,registerCreateJS:function(e){r=e}};l()&&h.registerPlugin(i),e.EaselPlugin=i,e.default=i;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function k(){return"undefined"!=typeof window}function l(){return h||k()&&(h=window.gsap)&&h.registerPlugin&&h}function m(){return r||t&&t.createjs||t||{}}function n(e){return console.warn(e)}function o(e){var t=e.getBounds&&e.getBounds();t||(t=e.nominalBounds||{x:0,y:0,width:100,height:100},e.setBounds&&e.setBounds(t.x,t.y,t.width,t.height)),e.cache&&e.cache(t.x,t.y,t.width,t.height),n("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. "+e)}function p(e,t,r){(b=b||m().ColorFilter)||n("EaselPlugin error: The EaselJS ColorFilter JavaScript file wasn't loaded.");for(var i,l,s,u,a,f,c=e.filters||[],d=c.length;d--;)if(c[d]instanceof b){l=c[d];break}if(l||(l=new b,c.push(l),e.filters=c),s=l.clone(),null!=t.tint)i=h.utils.splitColor(t.tint),u=null!=t.tintAmount?+t.tintAmount:1,s.redOffset=i[0]*u,s.greenOffset=i[1]*u,s.blueOffset=i[2]*u,s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1-u;else for(a in t)"exposure"!==a&&"brightness"!==a&&(s[a]=+t[a]);for(null!=t.exposure?(s.redOffset=s.greenOffset=s.blueOffset=255*(t.exposure-1),s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1):null!=t.brightness&&(u=t.brightness-1,s.redOffset=s.greenOffset=s.blueOffset=0<u?255*u:0,s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1-Math.abs(u)),d=8;d--;)l[a=M[d]]!==s[a]&&(f=r.add(l,a,l[a],s[a],0,0,0,0,0,1))&&(f.op="easel_colorFilter");r._props.push("easel_colorFilter"),e.cacheID||o(e)}function u(e,t){if(!(e instanceof Array&&t instanceof Array))return t;var r,i,n=[],l=0,o=0;for(r=0;r<4;r++){for(i=0;i<5;i++)o=4===i?e[l+4]:0,n[l+i]=e[l]*t[i]+e[l+1]*t[i+5]+e[l+2]*t[i+10]+e[l+3]*t[i+15]+o;l+=5}return n}function z(e,t,r){(d=d||m().ColorMatrixFilter)||n("EaselPlugin: The EaselJS ColorMatrixFilter JavaScript file wasn't loaded.");for(var i,l,s,a,f=e.filters||[],c=f.length;-1<--c;)if(f[c]instanceof d){s=f[c];break}for(s||(s=new d(w.slice()),f.push(s),e.filters=f),l=s.matrix,i=w.slice(),null!=t.colorize&&(i=function _colorize(e,t,r){isNaN(r)&&(r=1);var i=h.utils.splitColor(t),n=i[0]/255,l=i[1]/255,o=i[2]/255,s=1-r;return u([s+r*n*x,r*n*y,r*n*_,0,0,r*l*x,s+r*l*y,r*l*_,0,0,r*o*x,r*o*y,s+r*o*_,0,0,0,0,0,1,0],e)}(i,t.colorize,Number(t.colorizeAmount))),null!=t.contrast&&(i=function _setContrast(e,t){return isNaN(t)?e:u([t+=.01,0,0,0,128*(1-t),0,t,0,0,128*(1-t),0,0,t,0,128*(1-t),0,0,0,1,0],e)}(i,Number(t.contrast))),null!=t.hue&&(i=function _setHue(e,t){if(isNaN(t))return e;t*=Math.PI/180;var r=Math.cos(t),i=Math.sin(t);return u([x+r*(1-x)+i*-x,y+r*-y+i*-y,_+r*-_+i*(1-_),0,0,x+r*-x+.143*i,y+r*(1-y)+.14*i,_+r*-_+-.283*i,0,0,x+r*-x+i*-(1-x),y+r*-y+i*y,_+r*(1-_)+i*_,0,0,0,0,0,1,0,0,0,0,0,1],e)}(i,Number(t.hue))),null!=t.saturation&&(i=function _setSaturation(e,t){if(isNaN(t))return e;var r=1-t,i=r*x,n=r*y,l=r*_;return u([i+t,n,l,0,0,i,n+t,l,0,0,i,n,l+t,0,0,0,0,0,1,0],e)}(i,Number(t.saturation))),c=i.length;-1<--c;)i[c]!==l[c]&&(a=r.add(l,c,l[c],i[c],0,0,0,0,0,1))&&(a.op="easel_colorMatrixFilter");r._props.push("easel_colorMatrixFilter"),e.cacheID||o(),r._matrix=l}function A(e){h=e||l(),k()&&(t=window),h&&(g=1)}var h,g,t,r,b,d,M="redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier,redOffset,greenOffset,blueOffset,alphaOffset".split(","),w=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],x=.212671,y=.71516,_=.072169,i={version:"3.12.0",name:"easel",init:function init(e,t,r,i,l){var o,s,u,a,f,c,d;for(o in g||(A(),h||n("Please gsap.registerPlugin(EaselPlugin)")),this.target=e,t)if(f=t[o],"colorFilter"===o||"tint"===o||"tintAmount"===o||"exposure"===o||"brightness"===o)u||(p(e,t.colorFilter||t,this),u=!0);else if("saturation"===o||"contrast"===o||"hue"===o||"colorize"===o||"colorizeAmount"===o)a||(z(e,t.colorMatrixFilter||t,this),a=!0);else if("frame"===o){if("string"==typeof f&&"="!==f.charAt(1)&&(c=e.labels))for(d=0;d<c.length;d++)c[d].label===f&&(f=c[d].position);(s=this.add(e,"gotoAndStop",e.currentFrame,f,i,l,Math.round,0,0,1))&&(s.op=o)}else null!=e[o]&&this.add(e,o,"get",f)},render:function render(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next;t.target.cacheID&&t.target.updateCache()},register:A,registerCreateJS:function(e){r=e}};l()&&h.registerPlugin(i),e.EaselPlugin=i,e.default=i;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* EasePack 3.11.5
* EasePack 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).window=e.window||{})}(this,function(e){"use strict";function f(){return w||"undefined"!=typeof window&&(w=window.gsap)&&w.registerPlugin&&w}function g(e,n){return!!(void 0===e?n:e&&!~(e+"").indexOf("false"))}function h(e){if(w=e||f()){r=w.registerEase;var n,t=w.parseEase(),o=function createConfig(t){return function(e){var n=.5+e/2;t.config=function(e){return t(2*(1-e)*e*n+e*e)}}};for(n in t)t[n].config||o(t[n]);for(n in r("slow",a),r("expoScale",s),r("rough",u),c)"version"!==n&&w.core.globals(n,c[n])}}function i(e,n,t){var o=(e=Math.min(1,e||.7))<1?n||0===n?n:.7:0,r=(1-e)/2,i=r+e,a=g(t);return function(e){var n=e+(.5-e)*o;return e<r?a?1-(e=1-e/r)*e:n-(e=1-e/r)*e*e*e*n:i<e?a?1===e?0:1-(e=(e-i)/r)*e:n+(e-n)*(e=(e-i)/r)*e*e*e:a?1:n}}function j(n,e,t){var o=Math.log(e/n),r=e-n;return t=t&&w.parseEase(t),function(e){return(n*Math.exp(o*(t?t(e):e))-n)/r}}function k(e,n,t){this.t=e,this.v=n,t&&(((this.next=t).prev=this).c=t.v-n,this.gap=t.t-e)}function l(e){"object"!=typeof e&&(e={points:+e||20});for(var n,t,o,r,i,a,f,s=e.taper||"none",u=[],c=0,p=0|(+e.points||20),l=p,v=g(e.randomize,!0),d=g(e.clamp),h=w?w.parseEase(e.template):0,x=.4*(+e.strength||1);-1<--l;)n=v?Math.random():1/p*l,t=h?h(n):n,o="none"===s?x:"out"===s?(r=1-n)*r*x:"in"===s?n*n*x:n<.5?(r=2*n)*r*.5*x:(r=2*(1-n))*r*.5*x,v?t+=Math.random()*o-.5*o:l%2?t+=.5*o:t-=.5*o,d&&(1<t?t=1:t<0&&(t=0)),u[c++]={x:n,y:t};for(u.sort(function(e,n){return e.x-n.x}),a=new k(1,1,null),l=p;l--;)i=u[l],a=new k(i.x,i.y,a);return f=new k(0,0,a.t?a:a.next),function(e){var n=f;if(e>n.t){for(;n.next&&e>=n.t;)n=n.next;n=n.prev}else for(;n.prev&&e<=n.t;)n=n.prev;return(f=n).v+(e-n.t)/n.gap*n.c}}var w,r,a=i(.7);(a.ease=a).config=i;var s=j(1,2);s.config=j;var u=l();(u.ease=u).config=l;var c={SlowMo:a,RoughEase:u,ExpoScaleEase:s};for(var n in c)c[n].register=h,c[n].version="3.11.5";f()&&w.registerPlugin(a),e.EasePack=c,e.ExpoScaleEase=s,e.RoughEase=u,e.SlowMo=a,e.default=c;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).window=e.window||{})}(this,function(e){"use strict";function f(){return w||"undefined"!=typeof window&&(w=window.gsap)&&w.registerPlugin&&w}function g(e,n){return!!(void 0===e?n:e&&!~(e+"").indexOf("false"))}function h(e){if(w=e||f()){r=w.registerEase;var n,t=w.parseEase(),o=function createConfig(t){return function(e){var n=.5+e/2;t.config=function(e){return t(2*(1-e)*e*n+e*e)}}};for(n in t)t[n].config||o(t[n]);for(n in r("slow",a),r("expoScale",s),r("rough",u),c)"version"!==n&&w.core.globals(n,c[n])}}function i(e,n,t){var o=(e=Math.min(1,e||.7))<1?n||0===n?n:.7:0,r=(1-e)/2,i=r+e,a=g(t);return function(e){var n=e+(.5-e)*o;return e<r?a?1-(e=1-e/r)*e:n-(e=1-e/r)*e*e*e*n:i<e?a?1===e?0:1-(e=(e-i)/r)*e:n+(e-n)*(e=(e-i)/r)*e*e*e:a?1:n}}function j(n,e,t){var o=Math.log(e/n),r=e-n;return t=t&&w.parseEase(t),function(e){return(n*Math.exp(o*(t?t(e):e))-n)/r}}function k(e,n,t){this.t=e,this.v=n,t&&(((this.next=t).prev=this).c=t.v-n,this.gap=t.t-e)}function l(e){"object"!=typeof e&&(e={points:+e||20});for(var n,t,o,r,i,a,f,s=e.taper||"none",u=[],c=0,p=0|(+e.points||20),l=p,v=g(e.randomize,!0),d=g(e.clamp),h=w?w.parseEase(e.template):0,x=.4*(+e.strength||1);-1<--l;)n=v?Math.random():1/p*l,t=h?h(n):n,o="none"===s?x:"out"===s?(r=1-n)*r*x:"in"===s?n*n*x:n<.5?(r=2*n)*r*.5*x:(r=2*(1-n))*r*.5*x,v?t+=Math.random()*o-.5*o:l%2?t+=.5*o:t-=.5*o,d&&(1<t?t=1:t<0&&(t=0)),u[c++]={x:n,y:t};for(u.sort(function(e,n){return e.x-n.x}),a=new k(1,1,null),l=p;l--;)i=u[l],a=new k(i.x,i.y,a);return f=new k(0,0,a.t?a:a.next),function(e){var n=f;if(e>n.t){for(;n.next&&e>=n.t;)n=n.next;n=n.prev}else for(;n.prev&&e<=n.t;)n=n.prev;return(f=n).v+(e-n.t)/n.gap*n.c}}var w,r,a=i(.7);(a.ease=a).config=i;var s=j(1,2);s.config=j;var u=l();(u.ease=u).config=l;var c={SlowMo:a,RoughEase:u,ExpoScaleEase:s};for(var n in c)c[n].register=h,c[n].version="3.12.0";f()&&w.registerPlugin(a),e.EasePack=c,e.ExpoScaleEase=s,e.RoughEase=u,e.SlowMo=a,e.default=c;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* Flip 3.11.5
* Flip 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(e){"use strict";function p(t){var e=t.ownerDocument||t;!(w in t.style)&&"msTransform"in t.style&&(k=(w="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(y=window,d=new M,e){r=(g=e).documentElement,b=e.body,(a=g.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var i=e.createElement("div"),n=e.createElement("div");b.appendChild(i),i.appendChild(n),i.style.position="static",i.style[w]="translate3d(0,0,1px)",m=n.offsetParent!==i,b.removeChild(i)}return e}function t(){return y.pageYOffset||g.scrollTop||r.scrollTop||b.scrollTop||0}function u(){return y.pageXOffset||g.scrollLeft||r.scrollLeft||b.scrollLeft||0}function v(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)}function x(t,e){if(t.parentNode&&(g||p(t))){var i=v(t),n=i?i.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r=i?e?"rect":"g":"div",a=2!==e?0:100,s=3===e?100:0,o="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",l=g.createElementNS?g.createElementNS(n.replace(/^https/,"http"),r):g.createElement(r);return e&&(i?(f=f||x(t),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+a+","+s+")"),f.appendChild(l)):(c||((c=x(t)).style.cssText=o),l.style.cssText=o+"width:0.1px;height:0.1px;top:"+s+"px;left:"+a+"px",c.appendChild(l))),l}throw"Need document and parent."}function z(t){var e,i=t.getCTM();return i||(e=t.style[w],t.style[w]="none",t.appendChild(a),i=a.getCTM(),t.removeChild(a),e?t.style[w]=e:t.style.removeProperty(w.replace(/([A-Z])/g,"-$1").toLowerCase())),i||d.clone()}function A(t,e){var i,n,r,a,s,o,l=v(t),u=t===l,p=l?C:E,h=t.parentNode;if(t===y)return t;if(p.length||p.push(x(t,1),x(t,2),x(t,3)),i=l?f:c,l)u?(a=-(r=z(t)).e/r.a,s=-r.f/r.d,n=d):t.getBBox?(r=t.getBBox(),a=(n=(n=t.transform?t.transform.baseVal:{}).numberOfItems?1<n.numberOfItems?function _consolidate(t){for(var e=new M,i=0;i<t.numberOfItems;i++)e.multiply(t.getItem(i).matrix);return e}(n):n.getItem(0).matrix:d).a*r.x+n.c*r.y,s=n.b*r.x+n.d*r.y):(n=new M,a=s=0),e&&"g"===t.tagName.toLowerCase()&&(a=s=0),(u?l:h).appendChild(i),i.setAttribute("transform","matrix("+n.a+","+n.b+","+n.c+","+n.d+","+(n.e+a)+","+(n.f+s)+")");else{if(a=s=0,m)for(n=t.offsetParent,r=t;(r=r&&r.parentNode)&&r!==n&&r.parentNode;)4<(y.getComputedStyle(r)[w]+"").length&&(a=r.offsetLeft,s=r.offsetTop,r=0);if("absolute"!==(o=y.getComputedStyle(t)).position&&"fixed"!==o.position)for(n=t.offsetParent;h&&h!==n;)a+=h.scrollLeft||0,s+=h.scrollTop||0,h=h.parentNode;(r=i.style).top=t.offsetTop-s+"px",r.left=t.offsetLeft-a+"px",r[w]=o[w],r[k]=o[k],r.position="fixed"===o.position?"fixed":"absolute",t.parentNode.appendChild(i)}return i}function B(t,e,i,n,r,a,s){return t.a=e,t.b=i,t.c=n,t.d=r,t.e=a,t.f=s,t}var g,y,r,b,c,f,d,a,m,i,w="transform",k=w+"Origin",C=[],E=[],M=((i=Matrix2D.prototype).inverse=function inverse(){var t=this.a,e=this.b,i=this.c,n=this.d,r=this.e,a=this.f,s=t*n-e*i||1e-10;return B(this,n/s,-e/s,-i/s,t/s,(i*a-n*r)/s,-(t*a-e*r)/s)},i.multiply=function multiply(t){var e=this.a,i=this.b,n=this.c,r=this.d,a=this.e,s=this.f,o=t.a,l=t.c,u=t.b,p=t.d,h=t.e,c=t.f;return B(this,o*e+u*n,o*i+u*r,l*e+p*n,l*i+p*r,a+h*e+c*n,s+h*i+c*r)},i.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)},i.equals=function equals(t){var e=this.a,i=this.b,n=this.c,r=this.d,a=this.e,s=this.f;return e===t.a&&i===t.b&&n===t.c&&r===t.d&&a===t.e&&s===t.f},i.apply=function apply(t,e){void 0===e&&(e={});var i=t.x,n=t.y,r=this.a,a=this.b,s=this.c,o=this.d,l=this.e,u=this.f;return e.x=i*r+n*s+l||0,e.y=i*a+n*o+u||0,e},Matrix2D);function Matrix2D(t,e,i,n,r,a){void 0===t&&(t=1),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=1),void 0===r&&(r=0),void 0===a&&(a=0),B(this,t,e,i,n,r,a)}function getGlobalMatrix(e,i,n,r){if(!e||!e.parentNode||(g||p(e)).documentElement===e)return new M;var a=function _forceNonZeroScale(t){for(var e,i;t&&t!==b;)(i=t._gsap)&&i.uncache&&i.get(t,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),e?e.push(i):e=[i]),t=t.parentNode;return e}(e),s=v(e)?C:E,o=A(e,n),l=s[0].getBoundingClientRect(),h=s[1].getBoundingClientRect(),c=s[2].getBoundingClientRect(),f=o.parentNode,d=!r&&function _isFixed(t){return"fixed"===y.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?_isFixed(t):void 0)}(e),m=new M((h.left-l.left)/100,(h.top-l.top)/100,(c.left-l.left)/100,(c.top-l.top)/100,l.left+(d?0:u()),l.top+(d?0:t()));if(f.removeChild(o),a)for(l=a.length;l--;)(h=a[l]).scaleX=h.scaleY=0,h.renderTransform(1,h);return i?m.inverse():m}function L(t,e){return t.actions.forEach(function(t){return t.vars[e]&&t.vars[e](t)})}function S(t){return"string"==typeof t?t.split(" ").join("").split(","):t}function V(t){return I(t)[0]||console.warn("Element not found:",t)}function W(t){return Math.round(1e4*t)/1e4||0}function X(t,e,i){return t.forEach(function(t){return t.classList[i](e)})}function $(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function _(t,e){var i,n={};for(i in t)e[i]||(n[i]=t[i]);return n}function ba(t){var e=st[t]=S(t);return et[t]=e.concat(nt),e}function ea(t,e,i){return t.forEach(function(t){return t.d=function _getDOMDepth(t,e,i){void 0===i&&(i=0);for(var n=t.parentNode,r=1e3*Math.pow(10,i)*(e?-1:1),a=e?900*-r:0;t;)a+=r,t=t.previousSibling;return n?a+_getDOMDepth(n,e,i+1):a}(i?t.element:t.t,e)}),t.sort(function(t,e){return t.d-e.d}),t}function fa(t,e){for(var i,n,r=t.element.style,a=t.css=t.css||[],s=e.length;s--;)n=r[i=e[s]]||r.getPropertyValue(i),a.push(n?i:Y[i]||(Y[i]=$(i)),n);return r}function ga(t){var e=t.css,i=t.element.style,n=0;for(t.cache.uncache=1;n<e.length;n+=2)e[n+1]?i[e[n]]=e[n+1]:i.removeProperty(e[n]);!e[e.indexOf("transform")+1]&&i.translate&&(i.removeProperty("translate"),i.removeProperty("scale"),i.removeProperty("rotate"))}function ha(t,e){t.forEach(function(t){return t.a.cache.uncache=1}),e||t.finalStates.forEach(ga)}function ja(e,i,n){var r,a,s,o=e.element,l=e.width,p=e.height,h=e.uncache,c=e.getProp,f=o.style,d=4;if("object"!=typeof i&&(i=e),tt&&1!==n)return tt._abs.push({t:o,b:e,a:e,sd:0}),tt._final.push(function(){return(e.cache.uncache=1)&&ga(e)}),o;for(a="none"===c("display"),e.isVisible&&!a||(a&&(fa(e,["display"]).display=i.display),e.matrix=i.matrix,e.width=l=e.width||i.width,e.height=p=e.height||i.height),fa(e,j),s=window.getComputedStyle(o);d--;)f[j[d]]=s[j[d]];if(f.gridArea="1 / 1 / 1 / 1",f.transition="none",f.position="absolute",f.width=l+"px",f.height=p+"px",f.top||(f.top="0px"),f.left||(f.left="0px"),h)r=new pt(o);else if((r=_(e,D)).position="absolute",e.simple){var m=o.getBoundingClientRect();r.matrix=new M(1,0,0,1,m.left+u(),m.top+t())}else r.matrix=getGlobalMatrix(o,!1,!1,!0);return r=ot(r,e,!0),e.x=P(r.x,.01),e.y=P(r.y,.01),o}function ka(t,e){return!0!==e&&(e=I(e),t=t.filter(function(t){if(-1!==e.indexOf((t.sd<0?t.b:t.a).element))return!0;t.t._gsap.renderTransform(1),t.b.isVisible&&(t.t.style.width=t.b.width+"px",t.t.style.height=t.b.height+"px")})),t}function la(t){return ea(t,!0).forEach(function(t){return(t.a.isVisible||t.b.isVisible)&&ja(t.sd<0?t.b:t.a,t.b,1)})}function pa(t,e){var i,n=t.style||t;for(i in e)n[i]=e[i]}function ra(t){return t.map(function(t){return t.element})}function sa(t,e,i){return t&&e.length&&i.add(t(ra(e),i,new ut(e,0,!0)),0)}function ua(t,e){return t instanceof ut?t:new ut(t,e)}function va(t,e,i){var n=t.idLookup[i],r=t.alt[i];return!r.isVisible||(e.getElementState(r.element)||r).isVisible&&n.isVisible?n:r}function za(t){if(t!==l){var e=o.style,i=o.clientWidth===window.outerWidth,n=o.clientHeight===window.outerHeight,r=4;if(t&&(i||n)){for(;r--;)G[r]=e[H[r]];i&&(e.width=o.clientWidth+"px",e.overflowY="hidden"),n&&(e.height=o.clientHeight+"px",e.overflowX="hidden"),l=t}else if(l){for(;r--;)G[r]?e[H[r]]=G[r]:e.removeProperty($(H[r]));l=t}}}function Aa(t,e,r,i){t instanceof ut&&e instanceof ut||console.warn("Not a valid state object.");var a,s,o,l,u,p,h,c,f,n,d,m,g,v,y,x=(r=r||{}).clearProps,b=r.onEnter,w=r.onLeave,S=r.absolute,k=r.absoluteOnLeave,C=r.custom,V=r.delay,E=r.paused,M=r.repeat,B=r.repeatDelay,F=r.yoyo,L=r.toggleClass,I=r.nested,P=r.zIndex,T=r.scale,A=r.fade,O=r.stagger,N=r.spin,D=r.prune,Y=("props"in r?r:t).props,z=_(r,rt),j=Q.timeline({delay:V,paused:E,repeat:M,repeatDelay:B,yoyo:F,data:"isFlip"}),R=z,W=[],G=[],H=[],q=[],$=!0===N?1:N||0,Z="function"==typeof N?N:function(){return $},J=t.interrupted||e.interrupted,U=j[1!==i?"to":"from"];for(s in e.idLookup)d=e.alt[s]?va(e,t,s):e.idLookup[s],u=d.element,n=t.idLookup[s],!t.alt[s]||u!==n.element||!t.alt[s].isVisible&&d.isVisible||(n=t.alt[s]),n?(p={t:u,b:n,a:d,sd:n.element===u?0:d.isVisible?1:-1},H.push(p),p.sd&&(p.sd<0&&(p.b=d,p.a=n),J&&fa(p.b,Y?et[Y]:nt),A&&H.push(p.swap={t:n.element,b:p.b,a:p.a,sd:-p.sd,swap:p})),u._flip=n.element._flip=tt?tt.timeline:j):d.isVisible&&(H.push({t:u,b:_(d,{isVisible:1}),a:d,sd:0,entering:1}),u._flip=tt?tt.timeline:j);Y&&(st[Y]||ba(Y)).forEach(function(e){return z[e]=function(t){return H[t].a.props[e]}}),H.finalStates=f=[],m=function run(){for(ea(H),za(!0),l=0;l<H.length;l++)p=H[l],g=p.a,v=p.b,!D||g.isDifferent(v)||p.entering?(u=p.t,!I||p.sd<0||!l||(g.matrix=getGlobalMatrix(u,!1,!1,!0)),v.isVisible&&g.isVisible?(p.sd<0?(h=new pt(u,Y,t.simple),ot(h,g,T,0,0,h),h.matrix=getGlobalMatrix(u,!1,!1,!0),h.css=p.b.css,p.a=g=h,A&&(u.style.opacity=J?v.opacity:g.opacity),O&&q.push(u)):0<p.sd&&A&&(u.style.opacity=J?g.opacity-v.opacity:"0"),ot(g,v,T,Y)):v.isVisible!==g.isVisible&&(v.isVisible?g.isVisible||(v.css=g.css,G.push(v),H.splice(l--,1),S&&I&&ot(g,v,T,Y)):(g.isVisible&&W.push(g),H.splice(l--,1))),T||(u.style.maxWidth=Math.max(g.width,v.width)+"px",u.style.maxHeight=Math.max(g.height,v.height)+"px",u.style.minWidth=Math.min(g.width,v.width)+"px",u.style.minHeight=Math.min(g.height,v.height)+"px"),I&&L&&u.classList.add(L)):H.splice(l--,1),f.push(g);var e;if(L&&(e=f.map(function(t){return t.element}),I&&e.forEach(function(t){return t.classList.remove(L)})),za(!1),T?(z.scaleX=function(t){return H[t].a.scaleX},z.scaleY=function(t){return H[t].a.scaleY}):(z.width=function(t){return H[t].a.width+"px"},z.height=function(t){return H[t].a.height+"px"},z.autoRound=r.autoRound||!1),z.x=function(t){return H[t].a.x+"px"},z.y=function(t){return H[t].a.y+"px"},z.rotation=function(t){return H[t].a.rotation+(N?360*Z(t,c[t],c):0)},z.skewX=function(t){return H[t].a.skewX},c=H.map(function(t){return t.t}),!P&&0!==P||(z.modifiers={zIndex:function zIndex(){return P}},z.zIndex=P,z.immediateRender=!1!==r.immediateRender),A&&(z.opacity=function(t){return H[t].sd<0?0:0<H[t].sd?H[t].a.opacity:"+=0"}),q.length){O=Q.utils.distribute(O);var i=c.slice(q.length);z.stagger=function(t,e){return O(~q.indexOf(e)?c.indexOf(H[t].swap.t):t,e,i)}}if(it.forEach(function(t){return r[t]&&j.eventCallback(t,r[t],r[t+"Params"])}),C&&c.length)for(s in R=_(z,rt),"scale"in C&&(C.scaleX=C.scaleY=C.scale,delete C.scale),C)(a=_(C[s],at))[s]=z[s],!("duration"in a)&&"duration"in z&&(a.duration=z.duration),a.stagger=z.stagger,U.call(j,c,a,0),delete R[s];(c.length||G.length||W.length)&&(L&&j.add(function(){return X(e,L,j._zTime<0?"remove":"add")},0)&&!E&&X(e,L,"add"),c.length&&U.call(j,c,R,0)),sa(b,W,j),sa(w,G,j);var n=tt&&tt.timeline;n&&(n.add(j,0),tt._final.push(function(){return ha(H,!x)})),o=j.duration(),j.call(function(){var t=j.time()>=o;t&&!n&&ha(H,!x),L&&X(e,L,t?"remove":"add")})},k&&(S=H.filter(function(t){return!t.sd&&!t.a.isVisible&&t.b.isVisible}).map(function(t){return t.a.element})),tt?(S&&(y=tt._abs).push.apply(y,ka(H,S)),tt._run.push(m)):(S&&la(ka(H,S)),m());var K=tt?tt.timeline:j;return K.revert=function(){return lt(K,1)},K}function Da(t){for(var e,i=t.idLookup={},n=t.alt={},r=t.elementStates,a=r.length;a--;)i[(e=r[a]).id]?n[e.id]=e:i[e.id]=e}var I,Q,tt,s,o,P,T,l,n,h=1,F={},O=180/Math.PI,N=Math.PI/180,D={},Y={},et={},it=S("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),nt=S("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),rt={zIndex:1,kill: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,prune:1,absoluteOnLeave:1},at={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},st={},j="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),R=function _parseElementState(t,e,i,n){return t instanceof pt?t:t instanceof ut?function _findElStateInState(t,e){return e&&t.idLookup[R(e).id]||t.elementStates[0]}(t,n):new pt("string"==typeof t?V(t)||console.warn(t+" not found"):t,e,i)},ot=function _fit(t,e,i,n,r,a){var s,o,l,u,p,h,c,f=t.element,d=t.cache,m=t.parent,g=t.x,v=t.y,y=e.width,x=e.height,b=e.scaleX,w=e.scaleY,S=e.rotation,k=e.bounds,_=a&&T&&T(f,"transform"),C=t,V=e.matrix,E=V.e,M=V.f,B=t.bounds.width!==k.width||t.bounds.height!==k.height||t.scaleX!==b||t.scaleY!==w||t.rotation!==S,F=!B&&t.simple&&e.simple&&!r;return F||!m?(b=w=1,S=s=0):(h=(p=function _getInverseGlobalMatrix(t){var e=t._gsap||Q.core.getCache(t);return e.gmCache===Q.ticker.frame?e.gMatrix:(e.gmCache=Q.ticker.frame,e.gMatrix=getGlobalMatrix(t,!0,!1,!0))}(m)).clone().multiply(e.ctm?e.matrix.clone().multiply(e.ctm):e.matrix),S=W(Math.atan2(h.b,h.a)*O),s=W(Math.atan2(h.c,h.d)*O+S)%360,b=Math.sqrt(Math.pow(h.a,2)+Math.pow(h.b,2)),w=Math.sqrt(Math.pow(h.c,2)+Math.pow(h.d,2))*Math.cos(s*N),r&&(r=I(r)[0],u=Q.getProperty(r),c=r.getBBox&&"function"==typeof r.getBBox&&r.getBBox(),C={scaleX:u("scaleX"),scaleY:u("scaleY"),width:c?c.width:Math.ceil(parseFloat(u("width","px"))),height:c?c.height:parseFloat(u("height","px"))}),d.rotation=S+"deg",d.skewX=s+"deg"),i?(b*=y!==C.width&&C.width?y/C.width:1,w*=x!==C.height&&C.height?x/C.height:1,d.scaleX=b,d.scaleY=w):(y=P(y*b/C.scaleX,0),x=P(x*w/C.scaleY,0),f.style.width=y+"px",f.style.height=x+"px"),n&&pa(f,e.props),F||!m?(g+=E-t.matrix.e,v+=M-t.matrix.f):B||m!==e.parent?(d.renderTransform(1,d),h=getGlobalMatrix(r||f,!1,!1,!0),o=p.apply({x:h.e,y:h.f}),g+=(l=p.apply({x:E,y:M})).x-o.x,v+=l.y-o.y):(p.e=p.f=0,g+=(l=p.apply({x:E-t.matrix.e,y:M-t.matrix.f})).x,v+=l.y),g=P(g,.02),v=P(v,.02),!a||a instanceof pt?(d.x=g+"px",d.y=v+"px",d.renderTransform(1,d)):_&&_.revert(),a&&(a.x=g,a.y=v,a.rotation=S,a.skewX=s,i?(a.scaleX=b,a.scaleY=w):(a.width=y,a.height=x)),a||d},G=[],H="width,height,overflowX,overflowY".split(","),lt=function _killFlip(t,e){if(t&&t.progress()<1&&!t.paused())return e&&(function _interrupt(t){t.vars.onInterrupt&&t.vars.onInterrupt.apply(t,t.vars.onInterruptParams||[]),t.getChildren(!0,!1,!0).forEach(_interrupt)}(t),e<2&&t.progress(1),t.kill()),!0},ut=((n=FlipState.prototype).update=function update(t){var e=this;return this.elementStates=this.targets.map(function(t){return new pt(t,e.props,e.simple)}),Da(this),this.interrupt(t),this.recordInlineStyles(),this},n.clear=function clear(){return this.targets.length=this.elementStates.length=0,Da(this),this},n.fit=function fit(t,e,i){for(var n,r,a=ea(this.elementStates.slice(0),!1,!0),s=(t||this).idLookup,o=0;o<a.length;o++)n=a[o],i&&(n.matrix=getGlobalMatrix(n.element,!1,!1,!0)),(r=s[n.id])&&ot(n,r,e,!0,0,n),n.matrix=getGlobalMatrix(n.element,!1,!1,!0);return this},n.getProperty=function getProperty(t,e){var i=this.getElementState(t)||D;return(e in i?i:i.props||D)[e]},n.add=function add(t){for(var e,i,n,r=t.targets.length,a=this.idLookup,s=this.alt;r--;)(n=a[(i=t.elementStates[r]).id])&&(i.element===n.element||s[i.id]&&s[i.id].element===i.element)?(e=this.elementStates.indexOf(i.element===n.element?n:s[i.id]),this.targets.splice(e,1,t.targets[r]),this.elementStates.splice(e,1,i)):(this.targets.push(t.targets[r]),this.elementStates.push(i));return t.interrupted&&(this.interrupted=!0),t.simple||(this.simple=!1),Da(this),this},n.compare=function compare(t){function ih(t,e,i){return(t.isVisible!==e.isVisible?t.isVisible?f:d:t.isVisible?c:h).push(i)&&m.push(i)}function jh(t,e,i){return m.indexOf(i)<0&&ih(t,e,i)}var e,i,n,r,a,s,o,l,u=t.idLookup,p=this.idLookup,h=[],c=[],f=[],d=[],m=[],g=t.alt,v=this.alt;for(n in u)a=g[n],s=v[n],r=(e=a?va(t,this,n):u[n]).element,i=p[n],s?(l=i.isVisible||!s.isVisible&&r===i.element?i:s,(o=!a||e.isVisible||a.isVisible||l.element!==a.element?e:a).isVisible&&l.isVisible&&o.element!==l.element?((o.isDifferent(l)?c:h).push(o.element,l.element),m.push(o.element,l.element)):ih(o,l,o.element),a&&o.element===a.element&&(a=u[n]),jh(o.element!==i.element&&a?a:o,i,i.element),jh(a&&a.element===s.element?a:o,s,s.element),a&&jh(a,s.element===a.element?s:i,a.element)):(i?i.isDifferent(e)?ih(e,i,r):h.push(r):f.push(r),a&&jh(a,i,a.element));for(n in p)u[n]||(d.push(p[n].element),v[n]&&d.push(v[n].element));return{changed:c,unchanged:h,enter:f,leave:d}},n.recordInlineStyles=function recordInlineStyles(){for(var t=et[this.props]||nt,e=this.elementStates.length;e--;)fa(this.elementStates[e],t)},n.interrupt=function interrupt(n){var r=this,a=[];this.targets.forEach(function(t){var e=t._flip,i=lt(e,n?0:1);n&&i&&a.indexOf(e)<0&&e.add(function(){return r.updateVisibility()}),i&&a.push(e)}),!n&&a.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!a.length)},n.updateVisibility=function updateVisibility(){this.elementStates.forEach(function(t){var e=t.element.getBoundingClientRect();t.isVisible=!!(e.width||e.height||e.top||e.left),t.uncache=1})},n.getElementState=function getElementState(t){return this.elementStates[this.targets.indexOf(V(t))]},n.makeAbsolute=function makeAbsolute(){return ea(this.elementStates.slice(0),!0,!0).map(ja)},FlipState);function FlipState(t,e,i){if(this.props=e&&e.props,this.simple=!(!e||!e.simple),i)this.targets=ra(t),this.elementStates=t,Da(this);else{this.targets=I(t);var n=e&&(!1===e.kill||e.batch&&!e.kill);tt&&!n&&tt._kill.push(this),this.update(n||!!tt)}}var q,pt=((q=ElementState.prototype).isDifferent=function isDifferent(t){var e=this.bounds,i=t.bounds;return e.top!==i.top||e.left!==i.left||e.width!==i.width||e.height!==i.height||!this.matrix.equals(t.matrix)||this.opacity!==t.opacity||this.props&&t.props&&JSON.stringify(this.props)!==JSON.stringify(t.props)},q.update=function update(e,i){var n=this,r=n.element,a=Q.getProperty(r),s=Q.core.getCache(r),o=r.getBoundingClientRect(),l=r.getBBox&&"function"==typeof r.getBBox&&"svg"!==r.nodeName.toLowerCase()&&r.getBBox(),p=i?new M(1,0,0,1,o.left+u(),o.top+t()):getGlobalMatrix(r,!1,!1,!0);n.getProp=a,n.element=r,n.id=function _getID(t){var e=t.getAttribute("data-flip-id");return e||t.setAttribute("data-flip-id",e="auto-"+h++),e}(r),n.matrix=p,n.cache=s,n.bounds=o,n.isVisible=!!(o.width||o.height||o.left||o.top),n.display=a("display"),n.position=a("position"),n.parent=r.parentNode,n.x=a("x"),n.y=a("y"),n.scaleX=s.scaleX,n.scaleY=s.scaleY,n.rotation=a("rotation"),n.skewX=a("skewX"),n.opacity=a("opacity"),n.width=l?l.width:P(a("width","px"),.04),n.height=l?l.height:P(a("height","px"),.04),e&&function _recordProps(t,e){for(var i=Q.getProperty(t.element,null,"native"),n=t.props={},r=e.length;r--;)n[e[r]]=(i(e[r])+"").trim();n.zIndex&&(n.zIndex=parseFloat(n.zIndex)||0)}(n,st[e]||ba(e)),n.ctm=r.getCTM&&"svg"===r.nodeName.toLowerCase()&&z(r).inverse(),n.simple=i||1===W(p.a)&&!W(p.b)&&!W(p.c)&&1===W(p.d),n.uncache=0},ElementState);function ElementState(t,e,i){this.element=t,this.update(e,i)}var Z,J=((Z=FlipAction.prototype).getStateById=function getStateById(t){for(var e=this.states.length;e--;)if(this.states[e].idLookup[t])return this.states[e]},Z.kill=function kill(){this.batch.remove(this)},FlipAction);function FlipAction(t,e){this.vars=t,this.batch=e,this.states=[],this.timeline=e.timeline}var U,K=((U=FlipBatch.prototype).add=function add(e){var t=this.actions.filter(function(t){return t.vars===e});return t.length?t[0]:(t=new J("function"==typeof e?{animate:e}:e,this),this.actions.push(t),t)},U.remove=function remove(t){var e=this.actions.indexOf(t);return 0<=e&&this.actions.splice(e,1),this},U.getState=function getState(e){var i=this,t=tt,n=s;return(tt=this).state.clear(),this._kill.length=0,this.actions.forEach(function(t){t.vars.getState&&(t.states.length=0,(s=t).state=t.vars.getState(t)),e&&t.states.forEach(function(t){return i.state.add(t)})}),s=n,tt=t,this.killConflicts(),this},U.animate=function animate(){var t,e,i=this,n=tt,r=this.timeline,a=this.actions.length;for(tt=this,r.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(t){t.vars.animate&&t.vars.animate(t);var e,i,n=t.vars.onEnter,r=t.vars.onLeave,a=t.targets;a&&a.length&&(n||r)&&(e=new ut,t.states.forEach(function(t){return e.add(t)}),(i=e.compare(ht.getState(a))).enter.length&&n&&n(i.enter),i.leave.length&&r&&r(i.leave))}),la(this._abs),this._run.forEach(function(t){return t()}),e=r.duration(),t=this._final.slice(0),r.add(function(){e<=r.time()&&(t.forEach(function(t){return t()}),L(i,"onComplete"))}),tt=n;a--;)this.actions[a].vars.once&&this.actions[a].kill();return L(this,"onStart"),r.restart(),this},U.loadState=function loadState(n){n=n||function done(){return 0};var r=[];return this.actions.forEach(function(e){if(e.vars.loadState){var i,t=function f(t){t&&(e.targets=t),~(i=r.indexOf(f))&&(r.splice(i,1),r.length||n())};r.push(t),e.vars.loadState(t)}}),r.length||n(),this},U.setState=function setState(){return this.actions.forEach(function(t){return t.targets=t.vars.setState&&t.vars.setState(t)}),this},U.killConflicts=function killConflicts(e){return this.state.interrupt(e),this._kill.forEach(function(t){return t.interrupt(e)}),this},U.run=function run(t,e){var i=this;return this!==tt&&(t||this.getState(e),this.loadState(function(){i._killed||(i.setState(),i.animate())})),this},U.clear=function clear(t){this.state.clear(),t||(this.actions.length=0)},U.getStateById=function getStateById(t){for(var e,i=this.actions.length;i--;)if(e=this.actions[i].getStateById(t))return e;return this.state.idLookup[t]&&this.state},U.kill=function kill(){this._killed=1,this.clear(),delete F[this.id]},FlipBatch);function FlipBatch(t){this.id=t,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new ut,this.timeline=Q.timeline()}var ht=(Flip.getState=function getState(t,e){var i=ua(t,e);return s&&s.states.push(i),e&&e.batch&&Flip.batch(e.batch).state.add(i),i},Flip.from=function from(t,e){return"clearProps"in(e=e||{})||(e.clearProps=!0),Aa(t,ua(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,-1)},Flip.to=function to(t,e){return Aa(t,ua(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,1)},Flip.fromTo=function fromTo(t,e,i){return Aa(t,e,i)},Flip.fit=function fit(t,e,i){var n=i?_(i,at):{},r=i||n,a=r.absolute,s=r.scale,o=r.getVars,l=r.props,u=r.runBackwards,p=r.onComplete,h=r.simple,c=i&&i.fitChild&&V(i.fitChild),f=R(e,l,h,t),d=R(t,0,h,f),m=l?et[l]:nt;return l&&pa(n,f.props),u&&(fa(d,m),"immediateRender"in n||(n.immediateRender=!0),n.onComplete=function(){ga(d),p&&p.apply(this,arguments)}),a&&ja(d,f),n=ot(d,f,s||c,l,c,n.duration||o?n:0),o?n:n.duration?Q.to(d.element,n):null},Flip.makeAbsolute=function makeAbsolute(t,e){return(t instanceof ut?t:new ut(t,e)).makeAbsolute()},Flip.batch=function batch(t){return F[t=t||"default"]||(F[t]=new K(t))},Flip.killFlipsOf=function killFlipsOf(t,e){(t instanceof ut?t.targets:I(t)).forEach(function(t){return t&&lt(t._flip,!1!==e?1:2)})},Flip.isFlipping=function isFlipping(t){var e=Flip.getByTarget(t);return!!e&&e.isActive()},Flip.getByTarget=function getByTarget(t){return(V(t)||D)._flip},Flip.getElementState=function getElementState(t,e){return new pt(V(t),e)},Flip.convertCoordinates=function convertCoordinates(t,e,i){var n=getGlobalMatrix(e,!0,!0).multiply(getGlobalMatrix(t));return i?n.apply(i):n},Flip.register=function register(t){if(o="undefined"!=typeof document&&document.body){Q=t,p(o),I=Q.utils.toArray,T=Q.core.getStyleSaver;var i=Q.utils.snap(.1);P=function _closestTenth(t,e){return i(parseFloat(t)+e)}}},Flip);function Flip(){}ht.version="3.11.5","undefined"!=typeof window&&window.gsap&&window.gsap.registerPlugin(ht),e.Flip=ht,e.default=ht;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(e){"use strict";function p(t){var e=t.ownerDocument||t;!(w in t.style)&&"msTransform"in t.style&&(k=(w="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(y=window,d=new M,e){r=(g=e).documentElement,b=e.body,(a=g.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var i=e.createElement("div"),n=e.createElement("div");b.appendChild(i),i.appendChild(n),i.style.position="static",i.style[w]="translate3d(0,0,1px)",m=n.offsetParent!==i,b.removeChild(i)}return e}function t(){return y.pageYOffset||g.scrollTop||r.scrollTop||b.scrollTop||0}function u(){return y.pageXOffset||g.scrollLeft||r.scrollLeft||b.scrollLeft||0}function v(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)}function x(t,e){if(t.parentNode&&(g||p(t))){var i=v(t),n=i?i.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r=i?e?"rect":"g":"div",a=2!==e?0:100,s=3===e?100:0,o="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",l=g.createElementNS?g.createElementNS(n.replace(/^https/,"http"),r):g.createElement(r);return e&&(i?(f=f||x(t),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+a+","+s+")"),f.appendChild(l)):(c||((c=x(t)).style.cssText=o),l.style.cssText=o+"width:0.1px;height:0.1px;top:"+s+"px;left:"+a+"px",c.appendChild(l))),l}throw"Need document and parent."}function z(t){var e,i=t.getCTM();return i||(e=t.style[w],t.style[w]="none",t.appendChild(a),i=a.getCTM(),t.removeChild(a),e?t.style[w]=e:t.style.removeProperty(w.replace(/([A-Z])/g,"-$1").toLowerCase())),i||d.clone()}function A(t,e){var i,n,r,a,s,o,l=v(t),u=t===l,p=l?C:E,h=t.parentNode;if(t===y)return t;if(p.length||p.push(x(t,1),x(t,2),x(t,3)),i=l?f:c,l)u?(a=-(r=z(t)).e/r.a,s=-r.f/r.d,n=d):t.getBBox?(r=t.getBBox(),a=(n=(n=t.transform?t.transform.baseVal:{}).numberOfItems?1<n.numberOfItems?function _consolidate(t){for(var e=new M,i=0;i<t.numberOfItems;i++)e.multiply(t.getItem(i).matrix);return e}(n):n.getItem(0).matrix:d).a*r.x+n.c*r.y,s=n.b*r.x+n.d*r.y):(n=new M,a=s=0),e&&"g"===t.tagName.toLowerCase()&&(a=s=0),(u?l:h).appendChild(i),i.setAttribute("transform","matrix("+n.a+","+n.b+","+n.c+","+n.d+","+(n.e+a)+","+(n.f+s)+")");else{if(a=s=0,m)for(n=t.offsetParent,r=t;(r=r&&r.parentNode)&&r!==n&&r.parentNode;)4<(y.getComputedStyle(r)[w]+"").length&&(a=r.offsetLeft,s=r.offsetTop,r=0);if("absolute"!==(o=y.getComputedStyle(t)).position&&"fixed"!==o.position)for(n=t.offsetParent;h&&h!==n;)a+=h.scrollLeft||0,s+=h.scrollTop||0,h=h.parentNode;(r=i.style).top=t.offsetTop-s+"px",r.left=t.offsetLeft-a+"px",r[w]=o[w],r[k]=o[k],r.position="fixed"===o.position?"fixed":"absolute",t.parentNode.appendChild(i)}return i}function B(t,e,i,n,r,a,s){return t.a=e,t.b=i,t.c=n,t.d=r,t.e=a,t.f=s,t}var g,y,r,b,c,f,d,a,m,i,w="transform",k=w+"Origin",C=[],E=[],M=((i=Matrix2D.prototype).inverse=function inverse(){var t=this.a,e=this.b,i=this.c,n=this.d,r=this.e,a=this.f,s=t*n-e*i||1e-10;return B(this,n/s,-e/s,-i/s,t/s,(i*a-n*r)/s,-(t*a-e*r)/s)},i.multiply=function multiply(t){var e=this.a,i=this.b,n=this.c,r=this.d,a=this.e,s=this.f,o=t.a,l=t.c,u=t.b,p=t.d,h=t.e,c=t.f;return B(this,o*e+u*n,o*i+u*r,l*e+p*n,l*i+p*r,a+h*e+c*n,s+h*i+c*r)},i.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)},i.equals=function equals(t){var e=this.a,i=this.b,n=this.c,r=this.d,a=this.e,s=this.f;return e===t.a&&i===t.b&&n===t.c&&r===t.d&&a===t.e&&s===t.f},i.apply=function apply(t,e){void 0===e&&(e={});var i=t.x,n=t.y,r=this.a,a=this.b,s=this.c,o=this.d,l=this.e,u=this.f;return e.x=i*r+n*s+l||0,e.y=i*a+n*o+u||0,e},Matrix2D);function Matrix2D(t,e,i,n,r,a){void 0===t&&(t=1),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=1),void 0===r&&(r=0),void 0===a&&(a=0),B(this,t,e,i,n,r,a)}function getGlobalMatrix(e,i,n,r){if(!e||!e.parentNode||(g||p(e)).documentElement===e)return new M;var a=function _forceNonZeroScale(t){for(var e,i;t&&t!==b;)(i=t._gsap)&&i.uncache&&i.get(t,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),e?e.push(i):e=[i]),t=t.parentNode;return e}(e),s=v(e)?C:E,o=A(e,n),l=s[0].getBoundingClientRect(),h=s[1].getBoundingClientRect(),c=s[2].getBoundingClientRect(),f=o.parentNode,d=!r&&function _isFixed(t){return"fixed"===y.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?_isFixed(t):void 0)}(e),m=new M((h.left-l.left)/100,(h.top-l.top)/100,(c.left-l.left)/100,(c.top-l.top)/100,l.left+(d?0:u()),l.top+(d?0:t()));if(f.removeChild(o),a)for(l=a.length;l--;)(h=a[l]).scaleX=h.scaleY=0,h.renderTransform(1,h);return i?m.inverse():m}function L(t,e){return t.actions.forEach(function(t){return t.vars[e]&&t.vars[e](t)})}function S(t){return"string"==typeof t?t.split(" ").join("").split(","):t}function V(t){return I(t)[0]||console.warn("Element not found:",t)}function W(t){return Math.round(1e4*t)/1e4||0}function X(t,e,i){return t.forEach(function(t){return t.classList[i](e)})}function $(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function _(t,e){var i,n={};for(i in t)e[i]||(n[i]=t[i]);return n}function ba(t){var e=st[t]=S(t);return et[t]=e.concat(nt),e}function ea(t,e,i){return t.forEach(function(t){return t.d=function _getDOMDepth(t,e,i){void 0===i&&(i=0);for(var n=t.parentNode,r=1e3*Math.pow(10,i)*(e?-1:1),a=e?900*-r:0;t;)a+=r,t=t.previousSibling;return n?a+_getDOMDepth(n,e,i+1):a}(i?t.element:t.t,e)}),t.sort(function(t,e){return t.d-e.d}),t}function fa(t,e){for(var i,n,r=t.element.style,a=t.css=t.css||[],s=e.length;s--;)n=r[i=e[s]]||r.getPropertyValue(i),a.push(n?i:Y[i]||(Y[i]=$(i)),n);return r}function ga(t){var e=t.css,i=t.element.style,n=0;for(t.cache.uncache=1;n<e.length;n+=2)e[n+1]?i[e[n]]=e[n+1]:i.removeProperty(e[n]);!e[e.indexOf("transform")+1]&&i.translate&&(i.removeProperty("translate"),i.removeProperty("scale"),i.removeProperty("rotate"))}function ha(t,e){t.forEach(function(t){return t.a.cache.uncache=1}),e||t.finalStates.forEach(ga)}function ja(e,i,n){var r,a,s,o=e.element,l=e.width,p=e.height,h=e.uncache,c=e.getProp,f=o.style,d=4;if("object"!=typeof i&&(i=e),tt&&1!==n)return tt._abs.push({t:o,b:e,a:e,sd:0}),tt._final.push(function(){return(e.cache.uncache=1)&&ga(e)}),o;for(a="none"===c("display"),e.isVisible&&!a||(a&&(fa(e,["display"]).display=i.display),e.matrix=i.matrix,e.width=l=e.width||i.width,e.height=p=e.height||i.height),fa(e,R),s=window.getComputedStyle(o);d--;)f[R[d]]=s[R[d]];if(f.gridArea="1 / 1 / 1 / 1",f.transition="none",f.position="absolute",f.width=l+"px",f.height=p+"px",f.top||(f.top="0px"),f.left||(f.left="0px"),h)r=new pt(o);else if((r=_(e,D)).position="absolute",e.simple){var m=o.getBoundingClientRect();r.matrix=new M(1,0,0,1,m.left+u(),m.top+t())}else r.matrix=getGlobalMatrix(o,!1,!1,!0);return r=ot(r,e,!0),e.x=P(r.x,.01),e.y=P(r.y,.01),o}function ka(t,e){return!0!==e&&(e=I(e),t=t.filter(function(t){if(-1!==e.indexOf((t.sd<0?t.b:t.a).element))return!0;t.t._gsap.renderTransform(1),t.b.isVisible&&(t.t.style.width=t.b.width+"px",t.t.style.height=t.b.height+"px")})),t}function la(t){return ea(t,!0).forEach(function(t){return(t.a.isVisible||t.b.isVisible)&&ja(t.sd<0?t.b:t.a,t.b,1)})}function pa(t,e){var i,n=t.style||t;for(i in e)n[i]=e[i]}function ra(t){return t.map(function(t){return t.element})}function sa(t,e,i){return t&&e.length&&i.add(t(ra(e),i,new ut(e,0,!0)),0)}function ua(t,e){return t instanceof ut?t:new ut(t,e)}function va(t,e,i){var n=t.idLookup[i],r=t.alt[i];return!r.isVisible||(e.getElementState(r.element)||r).isVisible&&n.isVisible?n:r}function za(t){if(t!==l){var e=o.style,i=o.clientWidth===window.outerWidth,n=o.clientHeight===window.outerHeight,r=4;if(t&&(i||n)){for(;r--;)G[r]=e[H[r]];i&&(e.width=o.clientWidth+"px",e.overflowY="hidden"),n&&(e.height=o.clientHeight+"px",e.overflowX="hidden"),l=t}else if(l){for(;r--;)G[r]?e[H[r]]=G[r]:e.removeProperty($(H[r]));l=t}}}function Aa(t,e,r,i){t instanceof ut&&e instanceof ut||console.warn("Not a valid state object.");var a,s,o,l,u,p,h,c,f,n,d,m,g,v,y,x=(r=r||{}).clearProps,b=r.onEnter,w=r.onLeave,S=r.absolute,k=r.absoluteOnLeave,C=r.custom,V=r.delay,E=r.paused,M=r.repeat,B=r.repeatDelay,F=r.yoyo,L=r.toggleClass,I=r.nested,P=r.zIndex,T=r.scale,A=r.fade,O=r.stagger,N=r.spin,D=r.prune,Y=("props"in r?r:t).props,z=_(r,rt),R=Q.timeline({delay:V,paused:E,repeat:M,repeatDelay:B,yoyo:F,data:"isFlip"}),W=z,j=[],G=[],H=[],q=[],$=!0===N?1:N||0,Z="function"==typeof N?N:function(){return $},J=t.interrupted||e.interrupted,U=R[1!==i?"to":"from"];for(s in e.idLookup)d=e.alt[s]?va(e,t,s):e.idLookup[s],u=d.element,n=t.idLookup[s],!t.alt[s]||u!==n.element||!t.alt[s].isVisible&&d.isVisible||(n=t.alt[s]),n?(p={t:u,b:n,a:d,sd:n.element===u?0:d.isVisible?1:-1},H.push(p),p.sd&&(p.sd<0&&(p.b=d,p.a=n),J&&fa(p.b,Y?et[Y]:nt),A&&H.push(p.swap={t:n.element,b:p.b,a:p.a,sd:-p.sd,swap:p})),u._flip=n.element._flip=tt?tt.timeline:R):d.isVisible&&(H.push({t:u,b:_(d,{isVisible:1}),a:d,sd:0,entering:1}),u._flip=tt?tt.timeline:R);Y&&(st[Y]||ba(Y)).forEach(function(e){return z[e]=function(t){return H[t].a.props[e]}}),H.finalStates=f=[],m=function run(){for(ea(H),za(!0),l=0;l<H.length;l++)p=H[l],g=p.a,v=p.b,!D||g.isDifferent(v)||p.entering?(u=p.t,!I||p.sd<0||!l||(g.matrix=getGlobalMatrix(u,!1,!1,!0)),v.isVisible&&g.isVisible?(p.sd<0?(h=new pt(u,Y,t.simple),ot(h,g,T,0,0,h),h.matrix=getGlobalMatrix(u,!1,!1,!0),h.css=p.b.css,p.a=g=h,A&&(u.style.opacity=J?v.opacity:g.opacity),O&&q.push(u)):0<p.sd&&A&&(u.style.opacity=J?g.opacity-v.opacity:"0"),ot(g,v,T,Y)):v.isVisible!==g.isVisible&&(v.isVisible?g.isVisible||(v.css=g.css,G.push(v),H.splice(l--,1),S&&I&&ot(g,v,T,Y)):(g.isVisible&&j.push(g),H.splice(l--,1))),T||(u.style.maxWidth=Math.max(g.width,v.width)+"px",u.style.maxHeight=Math.max(g.height,v.height)+"px",u.style.minWidth=Math.min(g.width,v.width)+"px",u.style.minHeight=Math.min(g.height,v.height)+"px"),I&&L&&u.classList.add(L)):H.splice(l--,1),f.push(g);var e;if(L&&(e=f.map(function(t){return t.element}),I&&e.forEach(function(t){return t.classList.remove(L)})),za(!1),T?(z.scaleX=function(t){return H[t].a.scaleX},z.scaleY=function(t){return H[t].a.scaleY}):(z.width=function(t){return H[t].a.width+"px"},z.height=function(t){return H[t].a.height+"px"},z.autoRound=r.autoRound||!1),z.x=function(t){return H[t].a.x+"px"},z.y=function(t){return H[t].a.y+"px"},z.rotation=function(t){return H[t].a.rotation+(N?360*Z(t,c[t],c):0)},z.skewX=function(t){return H[t].a.skewX},c=H.map(function(t){return t.t}),!P&&0!==P||(z.modifiers={zIndex:function zIndex(){return P}},z.zIndex=P,z.immediateRender=!1!==r.immediateRender),A&&(z.opacity=function(t){return H[t].sd<0?0:0<H[t].sd?H[t].a.opacity:"+=0"}),q.length){O=Q.utils.distribute(O);var i=c.slice(q.length);z.stagger=function(t,e){return O(~q.indexOf(e)?c.indexOf(H[t].swap.t):t,e,i)}}if(it.forEach(function(t){return r[t]&&R.eventCallback(t,r[t],r[t+"Params"])}),C&&c.length)for(s in W=_(z,rt),"scale"in C&&(C.scaleX=C.scaleY=C.scale,delete C.scale),C)(a=_(C[s],at))[s]=z[s],!("duration"in a)&&"duration"in z&&(a.duration=z.duration),a.stagger=z.stagger,U.call(R,c,a,0),delete W[s];(c.length||G.length||j.length)&&(L&&R.add(function(){return X(e,L,R._zTime<0?"remove":"add")},0)&&!E&&X(e,L,"add"),c.length&&U.call(R,c,W,0)),sa(b,j,R),sa(w,G,R);var n=tt&&tt.timeline;n&&(n.add(R,0),tt._final.push(function(){return ha(H,!x)})),o=R.duration(),R.call(function(){var t=R.time()>=o;t&&!n&&ha(H,!x),L&&X(e,L,t?"remove":"add")})},k&&(S=H.filter(function(t){return!t.sd&&!t.a.isVisible&&t.b.isVisible}).map(function(t){return t.a.element})),tt?(S&&(y=tt._abs).push.apply(y,ka(H,S)),tt._run.push(m)):(S&&la(ka(H,S)),m());var K=tt?tt.timeline:R;return K.revert=function(){return lt(K,1,1)},K}function Da(t){for(var e,i=t.idLookup={},n=t.alt={},r=t.elementStates,a=r.length;a--;)i[(e=r[a]).id]?n[e.id]=e:i[e.id]=e}var I,Q,tt,s,o,P,T,l,n,h=1,F={},O=180/Math.PI,N=Math.PI/180,D={},Y={},et={},it=S("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),nt=S("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),rt={zIndex:1,kill: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,prune:1,absoluteOnLeave:1},at={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},st={},R="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),j=function _parseElementState(t,e,i,n){return t instanceof pt?t:t instanceof ut?function _findElStateInState(t,e){return e&&t.idLookup[j(e).id]||t.elementStates[0]}(t,n):new pt("string"==typeof t?V(t)||console.warn(t+" not found"):t,e,i)},ot=function _fit(t,e,i,n,r,a){var s,o,l,u,p,h,c,f=t.element,d=t.cache,m=t.parent,g=t.x,v=t.y,y=e.width,x=e.height,b=e.scaleX,w=e.scaleY,S=e.rotation,k=e.bounds,_=a&&T&&T(f,"transform"),C=t,V=e.matrix,E=V.e,M=V.f,B=t.bounds.width!==k.width||t.bounds.height!==k.height||t.scaleX!==b||t.scaleY!==w||t.rotation!==S,F=!B&&t.simple&&e.simple&&!r;return F||!m?(b=w=1,S=s=0):(h=(p=function _getInverseGlobalMatrix(t){var e=t._gsap||Q.core.getCache(t);return e.gmCache===Q.ticker.frame?e.gMatrix:(e.gmCache=Q.ticker.frame,e.gMatrix=getGlobalMatrix(t,!0,!1,!0))}(m)).clone().multiply(e.ctm?e.matrix.clone().multiply(e.ctm):e.matrix),S=W(Math.atan2(h.b,h.a)*O),s=W(Math.atan2(h.c,h.d)*O+S)%360,b=Math.sqrt(Math.pow(h.a,2)+Math.pow(h.b,2)),w=Math.sqrt(Math.pow(h.c,2)+Math.pow(h.d,2))*Math.cos(s*N),r&&(r=I(r)[0],u=Q.getProperty(r),c=r.getBBox&&"function"==typeof r.getBBox&&r.getBBox(),C={scaleX:u("scaleX"),scaleY:u("scaleY"),width:c?c.width:Math.ceil(parseFloat(u("width","px"))),height:c?c.height:parseFloat(u("height","px"))}),d.rotation=S+"deg",d.skewX=s+"deg"),i?(b*=y!==C.width&&C.width?y/C.width:1,w*=x!==C.height&&C.height?x/C.height:1,d.scaleX=b,d.scaleY=w):(y=P(y*b/C.scaleX,0),x=P(x*w/C.scaleY,0),f.style.width=y+"px",f.style.height=x+"px"),n&&pa(f,e.props),F||!m?(g+=E-t.matrix.e,v+=M-t.matrix.f):B||m!==e.parent?(d.renderTransform(1,d),h=getGlobalMatrix(r||f,!1,!1,!0),o=p.apply({x:h.e,y:h.f}),g+=(l=p.apply({x:E,y:M})).x-o.x,v+=l.y-o.y):(p.e=p.f=0,g+=(l=p.apply({x:E-t.matrix.e,y:M-t.matrix.f})).x,v+=l.y),g=P(g,.02),v=P(v,.02),!a||a instanceof pt?(d.x=g+"px",d.y=v+"px",d.renderTransform(1,d)):_&&_.revert(),a&&(a.x=g,a.y=v,a.rotation=S,a.skewX=s,i?(a.scaleX=b,a.scaleY=w):(a.width=y,a.height=x)),a||d},G=[],H="width,height,overflowX,overflowY".split(","),lt=function _killFlip(t,e,i){if(t&&t.progress()<1&&(!t.paused()||i))return e&&(function _interrupt(t){t.vars.onInterrupt&&t.vars.onInterrupt.apply(t,t.vars.onInterruptParams||[]),t.getChildren(!0,!1,!0).forEach(_interrupt)}(t),e<2&&t.progress(1),t.kill()),!0},ut=((n=FlipState.prototype).update=function update(t){var e=this;return this.elementStates=this.targets.map(function(t){return new pt(t,e.props,e.simple)}),Da(this),this.interrupt(t),this.recordInlineStyles(),this},n.clear=function clear(){return this.targets.length=this.elementStates.length=0,Da(this),this},n.fit=function fit(t,e,i){for(var n,r,a=ea(this.elementStates.slice(0),!1,!0),s=(t||this).idLookup,o=0;o<a.length;o++)n=a[o],i&&(n.matrix=getGlobalMatrix(n.element,!1,!1,!0)),(r=s[n.id])&&ot(n,r,e,!0,0,n),n.matrix=getGlobalMatrix(n.element,!1,!1,!0);return this},n.getProperty=function getProperty(t,e){var i=this.getElementState(t)||D;return(e in i?i:i.props||D)[e]},n.add=function add(t){for(var e,i,n,r=t.targets.length,a=this.idLookup,s=this.alt;r--;)(n=a[(i=t.elementStates[r]).id])&&(i.element===n.element||s[i.id]&&s[i.id].element===i.element)?(e=this.elementStates.indexOf(i.element===n.element?n:s[i.id]),this.targets.splice(e,1,t.targets[r]),this.elementStates.splice(e,1,i)):(this.targets.push(t.targets[r]),this.elementStates.push(i));return t.interrupted&&(this.interrupted=!0),t.simple||(this.simple=!1),Da(this),this},n.compare=function compare(t){function jh(t,e,i){return(t.isVisible!==e.isVisible?t.isVisible?f:d:t.isVisible?c:h).push(i)&&m.push(i)}function kh(t,e,i){return m.indexOf(i)<0&&jh(t,e,i)}var e,i,n,r,a,s,o,l,u=t.idLookup,p=this.idLookup,h=[],c=[],f=[],d=[],m=[],g=t.alt,v=this.alt;for(n in u)a=g[n],s=v[n],r=(e=a?va(t,this,n):u[n]).element,i=p[n],s?(l=i.isVisible||!s.isVisible&&r===i.element?i:s,(o=!a||e.isVisible||a.isVisible||l.element!==a.element?e:a).isVisible&&l.isVisible&&o.element!==l.element?((o.isDifferent(l)?c:h).push(o.element,l.element),m.push(o.element,l.element)):jh(o,l,o.element),a&&o.element===a.element&&(a=u[n]),kh(o.element!==i.element&&a?a:o,i,i.element),kh(a&&a.element===s.element?a:o,s,s.element),a&&kh(a,s.element===a.element?s:i,a.element)):(i?i.isDifferent(e)?jh(e,i,r):h.push(r):f.push(r),a&&kh(a,i,a.element));for(n in p)u[n]||(d.push(p[n].element),v[n]&&d.push(v[n].element));return{changed:c,unchanged:h,enter:f,leave:d}},n.recordInlineStyles=function recordInlineStyles(){for(var t=et[this.props]||nt,e=this.elementStates.length;e--;)fa(this.elementStates[e],t)},n.interrupt=function interrupt(n){var r=this,a=[];this.targets.forEach(function(t){var e=t._flip,i=lt(e,n?0:1);n&&i&&a.indexOf(e)<0&&e.add(function(){return r.updateVisibility()}),i&&a.push(e)}),!n&&a.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!a.length)},n.updateVisibility=function updateVisibility(){this.elementStates.forEach(function(t){var e=t.element.getBoundingClientRect();t.isVisible=!!(e.width||e.height||e.top||e.left),t.uncache=1})},n.getElementState=function getElementState(t){return this.elementStates[this.targets.indexOf(V(t))]},n.makeAbsolute=function makeAbsolute(){return ea(this.elementStates.slice(0),!0,!0).map(ja)},FlipState);function FlipState(t,e,i){if(this.props=e&&e.props,this.simple=!(!e||!e.simple),i)this.targets=ra(t),this.elementStates=t,Da(this);else{this.targets=I(t);var n=e&&(!1===e.kill||e.batch&&!e.kill);tt&&!n&&tt._kill.push(this),this.update(n||!!tt)}}var q,pt=((q=ElementState.prototype).isDifferent=function isDifferent(t){var e=this.bounds,i=t.bounds;return e.top!==i.top||e.left!==i.left||e.width!==i.width||e.height!==i.height||!this.matrix.equals(t.matrix)||this.opacity!==t.opacity||this.props&&t.props&&JSON.stringify(this.props)!==JSON.stringify(t.props)},q.update=function update(e,i){var n=this,r=n.element,a=Q.getProperty(r),s=Q.core.getCache(r),o=r.getBoundingClientRect(),l=r.getBBox&&"function"==typeof r.getBBox&&"svg"!==r.nodeName.toLowerCase()&&r.getBBox(),p=i?new M(1,0,0,1,o.left+u(),o.top+t()):getGlobalMatrix(r,!1,!1,!0);n.getProp=a,n.element=r,n.id=function _getID(t){var e=t.getAttribute("data-flip-id");return e||t.setAttribute("data-flip-id",e="auto-"+h++),e}(r),n.matrix=p,n.cache=s,n.bounds=o,n.isVisible=!!(o.width||o.height||o.left||o.top),n.display=a("display"),n.position=a("position"),n.parent=r.parentNode,n.x=a("x"),n.y=a("y"),n.scaleX=s.scaleX,n.scaleY=s.scaleY,n.rotation=a("rotation"),n.skewX=a("skewX"),n.opacity=a("opacity"),n.width=l?l.width:P(a("width","px"),.04),n.height=l?l.height:P(a("height","px"),.04),e&&function _recordProps(t,e){for(var i=Q.getProperty(t.element,null,"native"),n=t.props={},r=e.length;r--;)n[e[r]]=(i(e[r])+"").trim();n.zIndex&&(n.zIndex=parseFloat(n.zIndex)||0)}(n,st[e]||ba(e)),n.ctm=r.getCTM&&"svg"===r.nodeName.toLowerCase()&&z(r).inverse(),n.simple=i||1===W(p.a)&&!W(p.b)&&!W(p.c)&&1===W(p.d),n.uncache=0},ElementState);function ElementState(t,e,i){this.element=t,this.update(e,i)}var Z,J=((Z=FlipAction.prototype).getStateById=function getStateById(t){for(var e=this.states.length;e--;)if(this.states[e].idLookup[t])return this.states[e]},Z.kill=function kill(){this.batch.remove(this)},FlipAction);function FlipAction(t,e){this.vars=t,this.batch=e,this.states=[],this.timeline=e.timeline}var U,K=((U=FlipBatch.prototype).add=function add(e){var t=this.actions.filter(function(t){return t.vars===e});return t.length?t[0]:(t=new J("function"==typeof e?{animate:e}:e,this),this.actions.push(t),t)},U.remove=function remove(t){var e=this.actions.indexOf(t);return 0<=e&&this.actions.splice(e,1),this},U.getState=function getState(e){var i=this,t=tt,n=s;return(tt=this).state.clear(),this._kill.length=0,this.actions.forEach(function(t){t.vars.getState&&(t.states.length=0,(s=t).state=t.vars.getState(t)),e&&t.states.forEach(function(t){return i.state.add(t)})}),s=n,tt=t,this.killConflicts(),this},U.animate=function animate(){var t,e,i=this,n=tt,r=this.timeline,a=this.actions.length;for(tt=this,r.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(t){t.vars.animate&&t.vars.animate(t);var e,i,n=t.vars.onEnter,r=t.vars.onLeave,a=t.targets;a&&a.length&&(n||r)&&(e=new ut,t.states.forEach(function(t){return e.add(t)}),(i=e.compare(ht.getState(a))).enter.length&&n&&n(i.enter),i.leave.length&&r&&r(i.leave))}),la(this._abs),this._run.forEach(function(t){return t()}),e=r.duration(),t=this._final.slice(0),r.add(function(){e<=r.time()&&(t.forEach(function(t){return t()}),L(i,"onComplete"))}),tt=n;a--;)this.actions[a].vars.once&&this.actions[a].kill();return L(this,"onStart"),r.restart(),this},U.loadState=function loadState(n){n=n||function done(){return 0};var r=[];return this.actions.forEach(function(e){if(e.vars.loadState){var i,t=function f(t){t&&(e.targets=t),~(i=r.indexOf(f))&&(r.splice(i,1),r.length||n())};r.push(t),e.vars.loadState(t)}}),r.length||n(),this},U.setState=function setState(){return this.actions.forEach(function(t){return t.targets=t.vars.setState&&t.vars.setState(t)}),this},U.killConflicts=function killConflicts(e){return this.state.interrupt(e),this._kill.forEach(function(t){return t.interrupt(e)}),this},U.run=function run(t,e){var i=this;return this!==tt&&(t||this.getState(e),this.loadState(function(){i._killed||(i.setState(),i.animate())})),this},U.clear=function clear(t){this.state.clear(),t||(this.actions.length=0)},U.getStateById=function getStateById(t){for(var e,i=this.actions.length;i--;)if(e=this.actions[i].getStateById(t))return e;return this.state.idLookup[t]&&this.state},U.kill=function kill(){this._killed=1,this.clear(),delete F[this.id]},FlipBatch);function FlipBatch(t){this.id=t,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new ut,this.timeline=Q.timeline()}var ht=(Flip.getState=function getState(t,e){var i=ua(t,e);return s&&s.states.push(i),e&&e.batch&&Flip.batch(e.batch).state.add(i),i},Flip.from=function from(t,e){return"clearProps"in(e=e||{})||(e.clearProps=!0),Aa(t,ua(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,-1)},Flip.to=function to(t,e){return Aa(t,ua(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,1)},Flip.fromTo=function fromTo(t,e,i){return Aa(t,e,i)},Flip.fit=function fit(t,e,i){var n=i?_(i,at):{},r=i||n,a=r.absolute,s=r.scale,o=r.getVars,l=r.props,u=r.runBackwards,p=r.onComplete,h=r.simple,c=i&&i.fitChild&&V(i.fitChild),f=j(e,l,h,t),d=j(t,0,h,f),m=l?et[l]:nt;return l&&pa(n,f.props),u&&(fa(d,m),"immediateRender"in n||(n.immediateRender=!0),n.onComplete=function(){ga(d),p&&p.apply(this,arguments)}),a&&ja(d,f),n=ot(d,f,s||c,l,c,n.duration||o?n:0),o?n:n.duration?Q.to(d.element,n):null},Flip.makeAbsolute=function makeAbsolute(t,e){return(t instanceof ut?t:new ut(t,e)).makeAbsolute()},Flip.batch=function batch(t){return F[t=t||"default"]||(F[t]=new K(t))},Flip.killFlipsOf=function killFlipsOf(t,e){(t instanceof ut?t.targets:I(t)).forEach(function(t){return t&&lt(t._flip,!1!==e?1:2)})},Flip.isFlipping=function isFlipping(t){var e=Flip.getByTarget(t);return!!e&&e.isActive()},Flip.getByTarget=function getByTarget(t){return(V(t)||D)._flip},Flip.getElementState=function getElementState(t,e){return new pt(V(t),e)},Flip.convertCoordinates=function convertCoordinates(t,e,i){var n=getGlobalMatrix(e,!0,!0).multiply(getGlobalMatrix(t));return i?n.apply(i):n},Flip.register=function register(t){if(o="undefined"!=typeof document&&document.body){Q=t,p(o),I=Q.utils.toArray,T=Q.core.getStyleSaver;var i=Q.utils.snap(.1);P=function _closestTenth(t,e){return i(parseFloat(t)+e)}}},Flip);function Flip(){}ht.version="3.12.0","undefined"!=typeof window&&window.gsap&&window.gsap.registerPlugin(ht),e.Flip=ht,e.default=ht;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* InertiaPlugin 3.11.5
* InertiaPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(e){"use strict";function m(){return n||"undefined"!=typeof window&&(n=window.gsap)}function p(t){return c(t).id}function q(t){return f[p("string"==typeof t?d(t)[0]:t)]}function r(t){var e,n=o;if(.05<=t-s)for(s=t;n;)((e=n.g(n.t,n.p))!==n.v1||.2<t-n.t1)&&(n.v2=n.v1,n.v1=e,n.t2=n.t1,n.t1=t),n=n._next}function t(){(n=m())&&(d=n.utils.toArray,i=n.utils.getUnit,c=n.core.getCache,a=n.ticker,l=1)}function u(t,e,n,r){this.t=t,this.p=e,this.g=t._gsap.get,this.rCap=g[n||i(this.g(t,e))],this.v1=this.v2=0,this.t1=this.t2=a.time,r&&((this._next=r)._prev=this)}var n,l,d,i,o,a,s,c,f={},g={deg:360,rad:2*Math.PI},h=function(){function VelocityTracker(e,n){l||t(),this.target=d(e)[0],(f[p(this.target)]=this)._props={},n&&this.add(n)}VelocityTracker.register=function register(e){n=e,t()};var e=VelocityTracker.prototype;return e.get=function get(t,e){var n,r,i=this._props[t]||console.warn("Not tracking "+t+" velocity.");return n=parseFloat(e?i.v1:i.g(i.t,i.p))-parseFloat(i.v2),(r=i.rCap)&&(n%=r)!==n%(r/2)&&(n=n<0?n+r:n-r),function _round(t){return Math.round(1e4*t)/1e4}(n/((e?i.t1:a.time)-i.t2))},e.getAll=function getAll(){var t,e={},n=this._props;for(t in n)e[t]=this.get(t);return e},e.isTracking=function isTracking(t){return t in this._props},e.add=function add(t,e){t in this._props||(o||(a.add(r),s=a.time),o=this._props[t]=new u(this.target,t,e,o))},e.remove=function remove(t){var e,n,i=this._props[t];i&&(e=i._prev,n=i._next,e&&(e._next=n),n?n._prev=e:o===i&&(a.remove(r),o=0),delete this._props[t])},e.kill=function kill(t){for(var e in this._props)this.remove(e);t||delete f[p(this.target)]},VelocityTracker.track=function track(e,n,r){l||t();for(var i,o,a=[],s=d(e),c=n.split(","),u=(r||"").split(","),f=s.length;f--;){for(i=q(s[f])||new VelocityTracker(s[f]),o=c.length;o--;)i.add(c[o],u[o]||u[0]);a.push(i)}return a},VelocityTracker.untrack=function untrack(t,e){var n=(e||"").split(",");d(t).forEach(function(t){var e=q(t);e&&(n.length?n.forEach(function(t){return e.remove(t)}):e.kill(1))})},VelocityTracker.isTracking=function isTracking(t,e){var n=q(t);return n&&n.isTracking(e)},VelocityTracker.getVelocity=function getVelocity(t,e){var n=q(t);return n&&n.isTracking(e)?n.get(e):console.warn("Not tracking velocity of "+e)},VelocityTracker}();h.getByTarget=q,m()&&n.registerPlugin(h);function L(){return v||"undefined"!=typeof window&&(v=window.gsap)&&v.registerPlugin&&v}function N(t){return"number"==typeof t}function O(t){return"object"==typeof t}function P(t){return"function"==typeof t}function S(){return String.fromCharCode.apply(null,arguments)}function W(t){return t}function $(t){return Math.round(1e4*t)/1e4}function _(t,e,n){for(var r in e)r in t||r===n||(t[r]=e[r]);return t}function aa(t){var e,n,r={};for(e in t)r[e]=O(n=t[e])&&!D(n)?aa(n):n;return r}function ba(t,e,n,r,i){var o,a,s,c,u=e.length,f=0,l=z;if(O(t)){for(;u--;){for(s in o=e[u],a=0,t)a+=(c=o[s]-t[s])*c;a<l&&(f=u,l=a)}if((i||z)<z&&i<Math.sqrt(l))return t}else for(;u--;)(a=(o=e[u])-t)<0&&(a=-a),a<l&&r<=o&&o<=n&&(f=u,l=a);return e[f]}function ca(t,e,n,r,i,o,a){if("auto"===t.end)return t;var s,c,u=t.end;if(n=isNaN(n)?z:n,r=isNaN(r)?-z:r,O(e)){if(s=e.calculated?e:(P(u)?u(e,a):ba(e,u,n,r,o))||e,!e.calculated){for(c in s)e[c]=s[c];e.calculated=!0}s=s[i]}else s=P(u)?u(e,a):D(u)?ba(e,u,n,r,o):parseFloat(u);return n<s?s=n:s<r&&(s=r),{max:s,min:s,unitFactor:t.unitFactor}}function da(t,e,n){return isNaN(t[e])?n:+t[e]}function ea(t,e){return.05*e*t/k}function fa(t,e,n){return Math.abs((e-t)*k/n/.05)}function ha(t,e,n,r){if(e.linkedProps){var i,o,a,s,c,u,f=e.linkedProps.split(","),l={};for(i=0;i<f.length;i++)(a=e[o=f[i]])&&(s=N(a.velocity)?a.velocity:(c=c||I(t))&&c.isTracking(o)?c.get(o):0,u=Math.abs(s/da(a,"resistance",r)),l[o]=parseFloat(n(t,o))+ea(s,u));return l}}function ja(){(v=L())&&(y=v.parseEase,x=v.utils.toArray,F=v.utils.getUnit,M=v.core.getCache,j=v.utils.clamp,E=v.core.getStyleSaver,C=v.core.reverting||function(){},w=y("power3"),k=w(.05),V=v.core.PropTween,v.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),b=v.config(),v.registerPlugin(h),T=1)}var v,T,y,x,w,b,F,V,M,k,j,A,E,C,I=h.getByTarget,B="InertiaPlugin",R=S(103,114,101,101,110,115,111,99,107,46,99,111,109),U=function(t){var e="undefined"!=typeof window,n=0===(e?window.location.href:"").indexOf(S(102,105,108,101,58,47,47))||-1!==t.indexOf(S(108,111,99,97,108,104,111,115,116))||-1!==t.indexOf(S(49,50,55,46,48,32,48,46,49)),r=[R,S(99,111,100,101,112,101,110,46,105,111),S(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),S(99,111,100,101,112,101,110,46,100,101,118),S(99,111,100,101,112,101,110,46,97,112,112),S(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),S(112,101,110,115,46,99,108,111,117,100),S(99,115,115,45,116,114,105,99,107,115,46,99,111,109),S(99,100,112,110,46,105,111),S(112,101,110,115,46,105,111),S(103,97,110,110,111,110,46,116,118),S(99,111,100,101,99,97,110,121,111,110,46,110,101,116),S(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),S(99,101,114,101,98,114,97,120,46,99,111,46,117,107),S(116,121,109,112,97,110,117,115,46,110,101,116),S(116,119,101,101,110,109,97,120,46,99,111,109),S(112,108,110,107,114,46,99,111),S(104,111,116,106,97,114,46,99,111,109),S(119,101,98,112,97,99,107,98,105,110,46,99,111,109),S(97,114,99,104,105,118,101,46,111,114,103),S(99,111,100,101,115,97,110,100,98,111,120,46,105,111),S(99,115,98,46,97,112,112),S(115,116,97,99,107,98,108,105,116,122,46,99,111,109),S(115,116,97,99,107,98,108,105,116,122,46,105,111),S(99,111,100,105,101,114,46,105,111),S(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),S(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),S(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),S(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),S(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),S(106,115,102,105,100,100,108,101,46,110,101,116)],i=r.length;for(setTimeout(function checkWarn(){e&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),e&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(S(37,99,87,97,114,110,105,110,103),S(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(S(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+B+S(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(S(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),S(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--i;)if(-1!==t.indexOf(r[i]))return!0;return n||!setTimeout(function(){e&&(window.location.href=S(104,116,116,112,115,58,47,47)+R+S(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+B+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),D=Array.isArray,z=1e10,G={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},H={version:"3.11.5",name:"inertia",register:function register(t){v=t,ja()},init:function init(t,e,n,r,i){T||ja();var o=I(t);if("auto"===e){if(!o)return void console.warn("No inertia tracking on "+t+". InertiaPlugin.track(target) first.");e=o.getAll()}this.styles=E&&"object"==typeof t.style&&E(t),this.target=t,this.tween=n,A=e;var a,s,c,u,f,l,d,g,p,h=t._gsap,v=h.get,y=e.duration,m=O(y),S=e.preventOvershoot||m&&0===y.overshoot,w=da(e,"resistance",b.resistance),k=N(y)?y:function _calculateTweenDuration(t,e,n,r,i,o){if(void 0===n&&(n=10),void 0===r&&(r=.2),void 0===i&&(i=1),void 0===o&&(o=0),function _isString(t){return"string"==typeof t}(t)&&(t=x(t)[0]),!t)return 0;var a,s,c,u,f,l,d,g,p,h,v=0,y=z,m=e.inertia||e,S=M(t).get,w=da(m,"resistance",b.resistance);for(a in h=ha(t,m,S,w),m)G[a]||(s=m[a],O(s)||((g=g||I(t))&&g.isTracking(a)?s=N(s)?{velocity:s}:{velocity:g.get(a)}:(u=+s||0,c=Math.abs(u/w))),O(s)&&(u=N(s.velocity)?s.velocity:(g=g||I(t))&&g.isTracking(a)?g.get(a):0,c=j(r,n,Math.abs(u/da(s,"resistance",w))),l=(f=parseFloat(S(t,a))||0)+ea(u,c),"end"in s&&(s=ca(s,h&&a in h?h:l,s.max,s.min,a,m.radius,u),o&&(A===e&&(A=m=aa(e)),m[a]=_(s,m[a],"end"))),"max"in s&&l>+s.max+1e-10?(p=s.unitFactor||b.unitFactors[a]||1,(d=f>s.max&&s.min!==s.max||-15<u*p&&u*p<45?r+.1*(n-r):fa(f,s.max,u))+i<y&&(y=d+i)):"min"in s&&l<s.min-1e-10&&(p=s.unitFactor||b.unitFactors[a]||1,(d=f<s.min&&s.min!==s.max||-45<u*p&&u*p<15?r+.1*(n-r):fa(f,s.min,u))+i<y&&(y=d+i)),v<d&&(v=d)),v<c&&(v=c));return y<v&&(v=y),n<v?n:v<r?r:v}(t,e,m&&y.max||10,m&&y.min||.2,m&&"overshoot"in y?+y.overshoot:S?0:1,!0);for(a in e=A,A=0,p=ha(t,e,v,w),e)G[a]||(s=e[a],P(s)&&(s=s(r,t,i)),N(s)?f=s:O(s)&&!isNaN(s.velocity)?f=+s.velocity:o&&o.isTracking(a)?f=o.get(a):console.warn("ERROR: No velocity was defined for "+t+" property: "+a),l=ea(f,k),g=0,c=v(t,a),u=F(c),c=parseFloat(c),O(s)&&(d=c+l,"end"in s&&(s=ca(s,p&&a in p?p:d,s.max,s.min,a,e.radius,f)),"max"in s&&+s.max<d?S||s.preventOvershoot?l=s.max-c:g=s.max-c-l:"min"in s&&+s.min>d&&(S||s.preventOvershoot?l=s.min-c:g=s.min-c-l)),this._props.push(a),this.styles&&this.styles.save(a),this._pt=new V(this._pt,t,a,c,0,W,0,h.set(t,a,this)),this._pt.u=u||0,this._pt.c1=l,this._pt.c2=g);return n.duration(k),U},render:function render(t,e){var n=e._pt;if((t=w(e.tween._time/e.tween._dur))||!C())for(;n;)n.set(n.t,n.p,$(n.s+n.c1*t+n.c2*t*t)+n.u,n.d,t),n=n._next;else e.styles.revert()}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(function(t){return H[t]=h[t]}),L()&&v.registerPlugin(H),e.InertiaPlugin=H,e.VelocityTracker=h,e.default=H;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(e){"use strict";function m(){return n||"undefined"!=typeof window&&(n=window.gsap)}function p(t){return c(t).id}function q(t){return f[p("string"==typeof t?g(t)[0]:t)]}function r(t){var e,n=a;if(.05<=t-i)for(i=t;n;)((e=n.g(n.t,n.p))!==n.v1||.2<t-n.t1)&&(n.v2=n.v1,n.v1=e,n.t2=n.t1,n.t1=t),n=n._next}function t(){(n=m())&&(g=n.utils.toArray,o=n.utils.getUnit,c=n.core.getCache,s=n.ticker,l=1)}function u(t,e,n,i){this.t=t,this.p=e,this.g=t._gsap.get,this.rCap=d[n||o(this.g(t,e))],this.v1=this.v2=0,this.t1=this.t2=s.time,i&&((this._next=i)._prev=this)}var n,l,g,o,a,s,i,c,f={},d={deg:360,rad:2*Math.PI},h=function(){function VelocityTracker(e,n){l||t(),this.target=g(e)[0],(f[p(this.target)]=this)._props={},n&&this.add(n)}VelocityTracker.register=function register(e){n=e,t()};var e=VelocityTracker.prototype;return e.get=function get(t,e){var n,i,r=this._props[t]||console.warn("Not tracking "+t+" velocity.");return n=parseFloat(e?r.v1:r.g(r.t,r.p))-parseFloat(r.v2),(i=r.rCap)&&(n%=i)!==n%(i/2)&&(n=n<0?n+i:n-i),function _round(t){return Math.round(1e4*t)/1e4}(n/((e?r.t1:s.time)-r.t2))},e.getAll=function getAll(){var t,e={},n=this._props;for(t in n)e[t]=this.get(t);return e},e.isTracking=function isTracking(t){return t in this._props},e.add=function add(t,e){t in this._props||(a||(s.add(r),i=s.time),a=this._props[t]=new u(this.target,t,e,a))},e.remove=function remove(t){var e,n,i=this._props[t];i&&(e=i._prev,n=i._next,e&&(e._next=n),n?n._prev=e:a===i&&(s.remove(r),a=0),delete this._props[t])},e.kill=function kill(t){for(var e in this._props)this.remove(e);t||delete f[p(this.target)]},VelocityTracker.track=function track(e,n,i){l||t();for(var r,o,a=[],s=g(e),c=n.split(","),u=(i||"").split(","),f=s.length;f--;){for(r=q(s[f])||new VelocityTracker(s[f]),o=c.length;o--;)r.add(c[o],u[o]||u[0]);a.push(r)}return a},VelocityTracker.untrack=function untrack(t,e){var n=(e||"").split(",");g(t).forEach(function(t){var e=q(t);e&&(n.length?n.forEach(function(t){return e.remove(t)}):e.kill(1))})},VelocityTracker.isTracking=function isTracking(t,e){var n=q(t);return n&&n.isTracking(e)},VelocityTracker.getVelocity=function getVelocity(t,e){var n=q(t);return n&&n.isTracking(e)?n.get(e):console.warn("Not tracking velocity of "+e)},VelocityTracker}();h.getByTarget=q,m()&&n.registerPlugin(h);function L(){return v||"undefined"!=typeof window&&(v=window.gsap)&&v.registerPlugin&&v}function N(t){return"number"==typeof t}function O(t){return"object"==typeof t}function P(t){return"function"==typeof t}function S(){return String.fromCharCode.apply(null,arguments)}function X(t){return t}function _(t){return Math.round(1e4*t)/1e4}function aa(t,e,n){for(var i in e)i in t||i===n||(t[i]=e[i]);return t}function ba(t){var e,n,i={};for(e in t)i[e]=O(n=t[e])&&!D(n)?ba(n):n;return i}function ca(t,e,n,i,r){var o,a,s,c,u=e.length,f=0,l=$;if(O(t)){for(;u--;){for(s in o=e[u],a=0,t)a+=(c=o[s]-t[s])*c;a<l&&(f=u,l=a)}if((r||$)<$&&r<Math.sqrt(l))return t}else for(;u--;)(a=(o=e[u])-t)<0&&(a=-a),a<l&&i<=o&&o<=n&&(f=u,l=a);return e[f]}function da(t,e,n,i,r,o,a){if("auto"===t.end)return t;var s,c,u=t.end;if(n=isNaN(n)?$:n,i=isNaN(i)?-$:i,O(e)){if(s=e.calculated?e:(P(u)?u(e,a):ca(e,u,n,i,o))||e,!e.calculated){for(c in s)e[c]=s[c];e.calculated=!0}s=s[r]}else s=P(u)?u(e,a):D(u)?ca(e,u,n,i,o):parseFloat(u);return n<s?s=n:s<i&&(s=i),{max:s,min:s,unitFactor:t.unitFactor}}function ea(t,e,n){return isNaN(t[e])?n:+t[e]}function fa(t,e){return.05*e*t/w}function ga(t,e,n){return Math.abs((e-t)*w/n/.05)}function ia(t,e,n,i){if(e.linkedProps){var r,o,a,s,c,u,f=e.linkedProps.split(","),l={};for(r=0;r<f.length;r++)(a=e[o=f[r]])&&(s=N(a.velocity)?a.velocity:(c=c||W(t))&&c.isTracking(o)?c.get(o):0,u=Math.abs(s/ea(a,"resistance",i)),l[o]=parseFloat(n(t,o))+fa(s,u));return l}}function ka(){(v=L())&&(y=v.parseEase,x=v.utils.toArray,F=v.utils.getUnit,M=v.core.getCache,A=v.utils.clamp,j=v.core.getStyleSaver,C=v.core.reverting||function(){},k=y("power3"),w=k(.05),V=v.core.PropTween,v.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),b=v.config(),v.registerPlugin(h),T=1)}var v,T,y,x,k,b,F,V,M,w,A,E,j,C,W=h.getByTarget,I="InertiaPlugin",B=S(103,114,101,101,110,115,111,99,107,46,99,111,109),R=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,U=function(t){var e="undefined"!=typeof window,n=0===(e?window.location.href:"").indexOf(S(102,105,108,101,58,47,47))||-1!==t.indexOf(S(108,111,99,97,108,104,111,115,116))||R.test(t),i=[B,S(99,111,100,101,112,101,110,46,105,111),S(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),S(99,111,100,101,112,101,110,46,100,101,118),S(99,111,100,101,112,101,110,46,97,112,112),S(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),S(112,101,110,115,46,99,108,111,117,100),S(99,115,115,45,116,114,105,99,107,115,46,99,111,109),S(99,100,112,110,46,105,111),S(112,101,110,115,46,105,111),S(103,97,110,110,111,110,46,116,118),S(99,111,100,101,99,97,110,121,111,110,46,110,101,116),S(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),S(99,101,114,101,98,114,97,120,46,99,111,46,117,107),S(116,121,109,112,97,110,117,115,46,110,101,116),S(116,119,101,101,110,109,97,120,46,99,111,109),S(112,108,110,107,114,46,99,111),S(104,111,116,106,97,114,46,99,111,109),S(119,101,98,112,97,99,107,98,105,110,46,99,111,109),S(97,114,99,104,105,118,101,46,111,114,103),S(99,111,100,101,115,97,110,100,98,111,120,46,105,111),S(99,115,98,46,97,112,112),S(115,116,97,99,107,98,108,105,116,122,46,99,111,109),S(115,116,97,99,107,98,108,105,116,122,46,105,111),S(99,111,100,105,101,114,46,105,111),S(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),S(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),S(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),S(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),S(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),S(106,115,102,105,100,100,108,101,46,110,101,116)],r=i.length;for(setTimeout(function checkWarn(){if(e)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var t="object"==typeof v?v:e&&window.gsap;e&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(S(37,99,87,97,114,110,105,110,103),S(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(S(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+I+S(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(S(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),S(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--r;)if(-1!==t.indexOf(i[r]))return!0;return n||!setTimeout(function(){e&&(window.location.href=S(104,116,116,112,115,58,47,47)+B+S(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+I+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),D=Array.isArray,$=1e10,z={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},G={version:"3.12.0",name:"inertia",register:function register(t){v=t,ka()},init:function init(t,e,n,i,r){T||ka();var o=W(t);if("auto"===e){if(!o)return void console.warn("No inertia tracking on "+t+". InertiaPlugin.track(target) first.");e=o.getAll()}this.styles=j&&"object"==typeof t.style&&j(t),this.target=t,this.tween=n,E=e;var a,s,c,u,f,l,g,d,p,h=t._gsap,v=h.get,y=e.duration,m=O(y),S=e.preventOvershoot||m&&0===y.overshoot,k=ea(e,"resistance",b.resistance),w=N(y)?y:function _calculateTweenDuration(t,e,n,i,r,o){if(void 0===n&&(n=10),void 0===i&&(i=.2),void 0===r&&(r=1),void 0===o&&(o=0),function _isString(t){return"string"==typeof t}(t)&&(t=x(t)[0]),!t)return 0;var a,s,c,u,f,l,g,d,p,h,v=0,y=$,m=e.inertia||e,S=M(t).get,k=ea(m,"resistance",b.resistance);for(a in h=ia(t,m,S,k),m)z[a]||(s=m[a],O(s)||((d=d||W(t))&&d.isTracking(a)?s=N(s)?{velocity:s}:{velocity:d.get(a)}:(u=+s||0,c=Math.abs(u/k))),O(s)&&(u=N(s.velocity)?s.velocity:(d=d||W(t))&&d.isTracking(a)?d.get(a):0,c=A(i,n,Math.abs(u/ea(s,"resistance",k))),l=(f=parseFloat(S(t,a))||0)+fa(u,c),"end"in s&&(s=da(s,h&&a in h?h:l,s.max,s.min,a,m.radius,u),o&&(E===e&&(E=m=ba(e)),m[a]=aa(s,m[a],"end"))),"max"in s&&l>+s.max+1e-10?(p=s.unitFactor||b.unitFactors[a]||1,(g=f>s.max&&s.min!==s.max||-15<u*p&&u*p<45?i+.1*(n-i):ga(f,s.max,u))+r<y&&(y=g+r)):"min"in s&&l<s.min-1e-10&&(p=s.unitFactor||b.unitFactors[a]||1,(g=f<s.min&&s.min!==s.max||-45<u*p&&u*p<15?i+.1*(n-i):ga(f,s.min,u))+r<y&&(y=g+r)),v<g&&(v=g)),v<c&&(v=c));return y<v&&(v=y),n<v?n:v<i?i:v}(t,e,m&&y.max||10,m&&y.min||.2,m&&"overshoot"in y?+y.overshoot:S?0:1,!0);for(a in e=E,E=0,p=ia(t,e,v,k),e)z[a]||(s=e[a],P(s)&&(s=s(i,t,r)),N(s)?f=s:O(s)&&!isNaN(s.velocity)?f=+s.velocity:o&&o.isTracking(a)?f=o.get(a):console.warn("ERROR: No velocity was defined for "+t+" property: "+a),l=fa(f,w),d=0,c=v(t,a),u=F(c),c=parseFloat(c),O(s)&&(g=c+l,"end"in s&&(s=da(s,p&&a in p?p:g,s.max,s.min,a,e.radius,f)),"max"in s&&+s.max<g?S||s.preventOvershoot?l=s.max-c:d=s.max-c-l:"min"in s&&+s.min>g&&(S||s.preventOvershoot?l=s.min-c:d=s.min-c-l)),this._props.push(a),this.styles&&this.styles.save(a),this._pt=new V(this._pt,t,a,c,0,X,0,h.set(t,a,this)),this._pt.u=u||0,this._pt.c1=l,this._pt.c2=d);return n.duration(w),U},render:function render(t,e){var n=e._pt;if((t=k(e.tween._time/e.tween._dur))||!C())for(;n;)n.set(n.t,n.p,_(n.s+n.c1*t+n.c2*t*t)+n.u,n.d,t),n=n._next;else e.styles.revert()}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(function(t){return G[t]=h[t]}),L()&&v.registerPlugin(G),e.InertiaPlugin=G,e.VelocityTracker=h,e.default=G;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* MorphSVGPlugin 3.11.5
* MorphSVGPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function m(t){return"string"==typeof t}var b=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,A=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,r=/(^[#\.][a-z]|[a-y][a-z])/i,H=Math.PI/180,k=Math.sin,B=Math.cos,D=Math.abs,Q=Math.sqrt,s=function _isNumber(t){return"number"==typeof t},h=function _round(t){return Math.round(1e5*t)/1e5||0};function reverseSegment(t){var e,n=0;for(t.reverse();n<t.length;n+=2)e=t[n],t[n]=t[n+1],t[n+1]=e;t.reversed=!t.reversed}var R={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function convertToPath(t,e){var n,r,o,a,i,s,h,l,c,g,f,u,p,d,P,m,w,_,y,v,x,M,T=t.tagName.toLowerCase(),b=.552284749831;return"path"!==T&&t.getBBox?(s=function _createPath(t,e){var n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),o=[].slice.call(t.attributes),a=o.length;for(e=","+e+",";-1<--a;)n=o[a].nodeName.toLowerCase(),e.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,o[a].nodeValue);return r}(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),M=function _attrToObj(t,e){for(var n=e?e.split(","):[],r={},o=n.length;-1<--o;)r[n[o]]=+t.getAttribute(n[o])||0;return r}(t,R[T]),"rect"===T?(a=M.rx,i=M.ry||a,r=M.x,o=M.y,g=M.width-2*a,f=M.height-2*i,n=a||i?"M"+(m=(d=(p=r+a)+g)+a)+","+(_=o+i)+" V"+(y=_+f)+" C"+[m,v=y+i*b,P=d+a*b,x=y+i,d,x,d-(d-p)/3,x,p+(d-p)/3,x,p,x,u=r+a*(1-b),x,r,v,r,y,r,y-(y-_)/3,r,_+(y-_)/3,r,_,r,w=o+i*(1-b),u,o,p,o,p+(d-p)/3,o,d-(d-p)/3,o,d,o,P,o,m,w,m,_].join(",")+"z":"M"+(r+g)+","+o+" v"+f+" h"+-g+" v"+-f+" h"+g+"z"):"circle"===T||"ellipse"===T?(l="circle"===T?(a=i=M.r)*b:(a=M.rx,(i=M.ry)*b),n="M"+((r=M.cx)+a)+","+(o=M.cy)+" C"+[r+a,o+l,r+(h=a*b),o+i,r,o+i,r-h,o+i,r-a,o+l,r-a,o,r-a,o-l,r-h,o-i,r,o-i,r+h,o-i,r+a,o-l,r+a,o].join(",")+"z"):"line"===T?n="M"+M.x1+","+M.y1+" L"+M.x2+","+M.y2:"polyline"!==T&&"polygon"!==T||(n="M"+(r=(c=(t.getAttribute("points")+"").match(N)||[]).shift())+","+(o=c.shift())+" L"+c.join(","),"polygon"===T&&(n+=","+r+","+o+"z")),s.setAttribute("d",rawPathToString(s._gsRawPath=stringToRawPath(n))),e&&t.parentNode&&(t.parentNode.insertBefore(s,t),t.parentNode.removeChild(t)),s):t}function arcToSegment(t,e,n,r,o,a,i,s,h){if(t!==s||e!==h){n=D(n),r=D(r);var l=o%360*H,c=B(l),g=k(l),f=Math.PI,u=2*f,p=(t-s)/2,d=(e-h)/2,P=c*p+g*d,m=-g*p+c*d,w=P*P,_=m*m,y=w/(n*n)+_/(r*r);1<y&&(n=Q(y)*n,r=Q(y)*r);var v=n*n,x=r*r,M=(v*x-v*_-x*w)/(v*_+x*w);M<0&&(M=0);var T=(a===i?-1:1)*Q(M),b=n*m/r*T,S=-r*P/n*T,N=c*b-g*S+(t+s)/2,z=g*b+c*S+(e+h)/2,A=(P-b)/n,R=(m-S)/r,O=(-P-b)/n,j=(-m-S)/r,C=A*A+R*R,Y=(R<0?-1:1)*Math.acos(A/Q(C)),V=(A*j-R*O<0?-1:1)*Math.acos((A*O+R*j)/Q(C*(O*O+j*j)));isNaN(V)&&(V=f),!i&&0<V?V-=u:i&&V<0&&(V+=u),Y%=u,V%=u;var I,L=Math.ceil(D(V)/(u/4)),F=[],U=V/L,X=4/3*k(U/2)/(1+B(U/2)),G=c*n,W=g*n,q=g*-r,E=c*r;for(I=0;I<L;I++)P=B(o=Y+I*U),m=k(o),A=B(o+=U),R=k(o),F.push(P-X*m,m+X*P,A+X*R,R-X*A,A,R);for(I=0;I<F.length;I+=2)P=F[I],m=F[I+1],F[I]=P*G+m*q+N,F[I+1]=P*W+m*E+z;return F[I-2]=s,F[I-1]=h,F}}function stringToRawPath(t){function yc(t,e,n,r){c=(n-t)/3,g=(r-e)/3,s.push(t+c,e+g,n-c,r-g,n,r)}var e,n,r,o,a,i,s,h,l,c,g,f,u,p,d,P=(t+"").replace(A,function(t){var e=+t;return e<1e-4&&-1e-4<e?0:e}).match(b)||[],m=[],w=0,_=0,y=P.length,v=0,x="ERROR: malformed path: "+t;if(!t||!isNaN(P[0])||isNaN(P[1]))return console.log(x),m;for(e=0;e<y;e++)if(u=a,isNaN(P[e])?i=(a=P[e].toUpperCase())!==P[e]:e--,r=+P[e+1],o=+P[e+2],i&&(r+=w,o+=_),e||(h=r,l=o),"M"===a)s&&(s.length<8?--m.length:v+=s.length),w=h=r,_=l=o,s=[r,o],m.push(s),e+=2,a="L";else if("C"===a)i||(w=_=0),(s=s||[0,0]).push(r,o,w+1*P[e+3],_+1*P[e+4],w+=1*P[e+5],_+=1*P[e+6]),e+=6;else if("S"===a)c=w,g=_,"C"!==u&&"S"!==u||(c+=w-s[s.length-4],g+=_-s[s.length-3]),i||(w=_=0),s.push(c,g,r,o,w+=1*P[e+3],_+=1*P[e+4]),e+=4;else if("Q"===a)c=w+2/3*(r-w),g=_+2/3*(o-_),i||(w=_=0),w+=1*P[e+3],_+=1*P[e+4],s.push(c,g,w+2/3*(r-w),_+2/3*(o-_),w,_),e+=4;else if("T"===a)c=w-s[s.length-4],g=_-s[s.length-3],s.push(w+c,_+g,r+2/3*(w+1.5*c-r),o+2/3*(_+1.5*g-o),w=r,_=o),e+=2;else if("H"===a)yc(w,_,w=r,_),e+=1;else if("V"===a)yc(w,_,w,_=r+(i?_-w:0)),e+=1;else if("L"===a||"Z"===a)"Z"===a&&(r=h,o=l,s.closed=!0),("L"===a||.5<D(w-r)||.5<D(_-o))&&(yc(w,_,r,o),"L"===a&&(e+=2)),w=r,_=o;else if("A"===a){if(p=P[e+4],d=P[e+5],c=P[e+6],g=P[e+7],n=7,1<p.length&&(p.length<3?(g=c,c=d,n--):(g=d,c=p.substr(2),n-=2),d=p.charAt(1),p=p.charAt(0)),f=arcToSegment(w,_,+P[e+1],+P[e+2],+P[e+3],+p,+d,(i?w:0)+1*c,(i?_:0)+1*g),e+=n,f)for(n=0;n<f.length;n++)s.push(f[n]);w=s[s.length-2],_=s[s.length-1]}else console.log(x);return(e=s.length)<6?(m.pop(),e=0):s[0]===s[e-2]&&s[1]===s[e-1]&&(s.closed=!0),m.totalPoints=v+e,m}function rawPathToString(t){s(t[0])&&(t=[t]);var e,n,r,o,a="",i=t.length;for(n=0;n<i;n++){for(o=t[n],a+="M"+h(o[0])+","+h(o[1])+" C",e=o.length,r=2;r<e;r++)a+=h(o[r++])+","+h(o[r++])+" "+h(o[r++])+","+h(o[r++])+" "+h(o[r++])+","+h(o[r])+" ";o.closed&&(a+="z")}return a}function y(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n}function z(t){return"function"==typeof t}function M(t){return console&&console.warn(t)}function P(){return String.fromCharCode.apply(null,arguments)}function S(t){var e,n=t.length,r=0,o=0;for(e=0;e<n;e++)r+=t[e++],o+=t[e];return[r/(n/2),o/(n/2)]}function T(t){var e,n,r,o=t.length,a=t[0],i=a,s=t[1],h=s;for(r=6;r<o;r+=6)a<(e=t[r])?a=e:e<i&&(i=e),s<(n=t[r+1])?s=n:n<h&&(h=n);return t.centerX=(a+i)/2,t.centerY=(s+h)/2,t.size=(a-i)*(s-h)}function U(t,e){void 0===e&&(e=3);for(var n,r,o,a,i,s,h,l,c,g,f,u,p,d,P,m,w=t.length,_=t[0][0],y=_,v=t[0][1],x=v,M=1/e;-1<--w;)for(n=(i=t[w]).length,a=6;a<n;a+=6)for(c=i[a],g=i[a+1],f=i[a+2]-c,d=i[a+3]-g,u=i[a+4]-c,P=i[a+5]-g,p=i[a+6]-c,m=i[a+7]-g,s=e;-1<--s;)_<(r=((h=M*s)*h*p+3*(l=1-h)*(h*u+l*f))*h+c)?_=r:r<y&&(y=r),v<(o=(h*h*m+3*l*(h*P+l*d))*h+g)?v=o:o<x&&(x=o);return t.centerX=(_+y)/2,t.centerY=(v+x)/2,t.left=y,t.width=_-y,t.top=x,t.height=v-x,t.size=(_-y)*(v-x)}function V(t,e){return e.length-t.length}function W(t,e){var n=t.size||T(t),r=e.size||T(e);return Math.abs(r-n)<(n+r)/20?e.centerX-t.centerX||e.centerY-t.centerY:r-n}function X(t,e){var n,r,o=t.slice(0),a=t.length,i=a-2;for(e|=0,n=0;n<a;n++)r=(n+e)%i,t[n++]=o[r],t[n]=o[1+r]}function Y(t,e,n,r,o){var a,i,s,h,l=t.length,c=0,g=l-2;for(n*=6,i=0;i<l;i+=6)h=t[a=(i+n)%g]-(e[i]-r),s=t[1+a]-(e[i+1]-o),c+=w(s*s+h*h);return c}function Z(t,e,n){var r,o,a,i=t.length,s=S(t),h=S(e),l=h[0]-s[0],c=h[1]-s[1],g=Y(t,e,0,l,c),f=0;for(a=6;a<i;a+=6)(o=Y(t,e,a/6,l,c))<g&&(g=o,f=a);if(n)for(reverseSegment(r=t.slice(0)),a=6;a<i;a+=6)(o=Y(r,e,a/6,l,c))<g&&(g=o,f=-a);return f/6}function $(t,e,n){for(var r,o,a,i,s,h,l=t.length,c=1e20,g=0,f=0;-1<--l;)for(h=(r=t[l]).length,s=0;s<h;s+=6)o=r[s]-e,a=r[s+1]-n,(i=w(o*o+a*a))<c&&(c=i,g=r[s],f=r[s+1]);return[g,f]}function _(t,e,n,r,o,a){var i,s,h,l,c=e.length,g=0,f=Math.min(t.size||T(t),e[n].size||T(e[n]))*r,u=1e20,p=t.centerX+o,d=t.centerY+a;for(i=n;i<c&&!((e[i].size||T(e[i]))<f);i++)s=e[i].centerX-p,h=e[i].centerY-d,(l=w(s*s+h*h))<u&&(g=i,u=l);return l=e[g],e.splice(g,1),l}function aa(t,e){var n,r,o,a,i,s,h,l,c,g,f,u,p,d,P=0,m=t.length,w=e/((m-2)/6);for(p=2;p<m;p+=6)for(P+=w;.999999<P;)n=t[p-2],r=t[p-1],o=t[p],a=t[p+1],i=t[p+2],s=t[p+3],h=t[p+4],l=t[p+5],c=n+(o-n)*(d=1/((Math.floor(P)||1)+1)),c+=((f=o+(i-o)*d)-c)*d,f+=(i+(h-i)*d-f)*d,g=r+(a-r)*d,g+=((u=a+(s-a)*d)-g)*d,u+=(s+(l-s)*d-u)*d,t.splice(p,4,n+(o-n)*d,r+(a-r)*d,c,g,c+(f-c)*d,g+(u-g)*d,f,u,i+(h-i)*d,s+(l-s)*d),p+=6,m+=6,P--;return t}function ba(t,e,n,r,o){var a,i,s,h,l,c,g,f=e.length-t.length,u=0<f?e:t,p=0<f?t:e,d=0,P="complexity"===r?V:W,m="position"===r?0:"number"==typeof r?r:.8,w=p.length,y="object"==typeof n&&n.push?n.slice(0):[n],v="reverse"===y[0]||y[0]<0,x="log"===n;if(p[0]){if(1<u.length&&(t.sort(P),e.sort(P),u.size||U(u),p.size||U(p),c=u.centerX-p.centerX,g=u.centerY-p.centerY,P===W))for(w=0;w<p.length;w++)u.splice(w,0,_(p[w],u,w,m,c,g));if(f)for(f<0&&(f=-f),u[0].length>p[0].length&&aa(p[0],(u[0].length-p[0].length)/6|0),w=p.length;d<f;)u[w].size||T(u[w]),h=(s=$(p,u[w].centerX,u[w].centerY))[0],l=s[1],p[w++]=[h,l,h,l,h,l,h,l],p.totalPoints+=8,d++;for(w=0;w<t.length;w++)a=e[w],i=t[w],(f=a.length-i.length)<0?aa(a,-f/6|0):0<f&&aa(i,f/6|0),v&&!1!==o&&!i.reversed&&reverseSegment(i),(n=y[w]||0===y[w]?y[w]:"auto")&&(i.closed||Math.abs(i[0]-i[i.length-2])<.5&&Math.abs(i[1]-i[i.length-1])<.5?"auto"===n||"log"===n?(y[w]=n=Z(i,a,!w||!1===o),n<0&&(v=!0,reverseSegment(i),n=-n),X(i,6*n)):"reverse"!==n&&(w&&n<0&&reverseSegment(i),X(i,6*(n<0?-n:n))):!v&&("auto"===n&&Math.abs(a[0]-i[0])+Math.abs(a[1]-i[1])+Math.abs(a[a.length-2]-i[i.length-2])+Math.abs(a[a.length-1]-i[i.length-1])>Math.abs(a[0]-i[i.length-2])+Math.abs(a[1]-i[i.length-1])+Math.abs(a[a.length-2]-i[0])+Math.abs(a[a.length-1]-i[1])||n%2)?(reverseSegment(i),y[w]=-1,v=!0):"auto"===n?y[w]=0:"reverse"===n&&(y[w]=-1),i.closed!==a.closed&&(i.closed=a.closed=!1));return x&&M("shapeIndex:["+y.join(",")+"]"),t.shapeIndex=y}}function ca(t,e,n,r,o){var a=stringToRawPath(t[0]),i=stringToRawPath(t[1]);ba(a,i,e||0===e?e:"auto",n,o)&&(t[0]=rawPathToString(a),t[1]=rawPathToString(i),"log"!==r&&!0!==r||M('precompile:["'+t[0]+'","'+t[1]+'"]'))}function ea(t,e){var n,r,o,a,i,s,h,l=0,c=parseFloat(t[0]),g=parseFloat(t[1]),f=c+","+g+" ";for(n=.5*e/(.5*(o=t.length)-1),r=0;r<o-2;r+=2){if(l+=n,s=parseFloat(t[r+2]),h=parseFloat(t[r+3]),.999999<l)for(i=1/(Math.floor(l)+1),a=1;.999999<l;)f+=(c+(s-c)*i*a).toFixed(2)+","+(g+(h-g)*i*a).toFixed(2)+" ",l--,a++;f+=s+","+h+" ",c=s,g=h}return f}function fa(t){var e=t[0].match(F)||[],n=t[1].match(F)||[],r=n.length-e.length;0<r?t[0]=ea(e,r):t[1]=ea(n,-r)}function ga(e){return isNaN(e)?fa:function(t){fa(t),t[1]=function _offsetPoints(t,e){if(!e)return t;var n,r,o,a=t.match(F)||[],i=a.length,s="";for(n="reverse"===e?(r=i-1,-2):(r=(2*(parseInt(e,10)||0)+1+100*i)%i,2),o=0;o<i;o+=2)s+=a[r-1]+","+a[r]+" ",r=(r+n)%i;return s}(t[1],parseInt(e,10))}}function ia(t,e){for(var n,r,o,a,i,s,h,l,c,g,f,u,p=t.length,d=.2*(e||1);-1<--p;){for(f=(r=t[p]).isSmooth=r.isSmooth||[0,0,0,0],u=r.smoothData=r.smoothData||[0,0,0,0],f.length=4,l=r.length-2,h=6;h<l;h+=6)o=r[h]-r[h-2],a=r[h+1]-r[h-1],i=r[h+2]-r[h],s=r[h+3]-r[h+1],c=v(a,o),g=v(s,i),(n=Math.abs(c-g)<d)&&(u[h-2]=c,u[h+2]=g,u[h-1]=w(o*o+a*a),u[h+3]=w(i*i+s*s)),f.push(n,n,0,0,n,n);r[l]===r[0]&&r[1+l]===r[1]&&(o=r[0]-r[l-2],a=r[1]-r[l-1],i=r[2]-r[0],s=r[3]-r[1],c=v(a,o),g=v(s,i),Math.abs(c-g)<d&&(u[l-2]=c,u[2]=g,u[l-1]=w(o*o+a*a),u[3]=w(i*i+s*s),f[l-2]=f[l-1]=!0))}return t}function ja(t){var e=t.trim().split(" ");return{x:(~t.indexOf("left")?0:~t.indexOf("right")?100:isNaN(parseFloat(e[0]))?50:parseFloat(e[0]))/100,y:(~t.indexOf("top")?0:~t.indexOf("bottom")?100:isNaN(parseFloat(e[1]))?50:parseFloat(e[1]))/100}}function ma(t,e,n,r){var o,a,i=this._origin,s=this._eOrigin,h=t[n]-i.x,l=t[n+1]-i.y,c=w(h*h+l*l),g=v(l,h);return h=e[n]-s.x,l=e[n+1]-s.y,a=function _shortAngle(t){return t!==t%f?t+(t<0?u:-u):t}(o=v(l,h)-g),!r&&I&&Math.abs(a+I.ca)<p&&(r=I),this._anchorPT=I={_next:this._anchorPT,t:t,sa:g,ca:r&&a*r.ca<0&&Math.abs(a)>d?o:a,sl:c,cl:w(h*h+l*l)-c,i:n}}function na(t){n=y(),o=o||n&&n.plugins.morphSVG,n&&o?(C=n.utils.toArray,o.prototype._tweenRotation=ma,L=1):t&&M("Please gsap.registerPlugin(MorphSVGPlugin)")}var n,C,I,L,o,v=Math.atan2,x=Math.cos,O=Math.sin,w=Math.sqrt,f=Math.PI,u=2*f,p=.3*f,d=.7*f,F=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,G=/(^[#\.][a-z]|[a-y][a-z])/i,q=/[achlmqstvz]/i,a="MorphSVGPlugin",i=P(103,114,101,101,110,115,111,99,107,46,99,111,109),E=function(t){var e="undefined"!=typeof window,n=0===(e?window.location.href:"").indexOf(P(102,105,108,101,58,47,47))||-1!==t.indexOf(P(108,111,99,97,108,104,111,115,116))||-1!==t.indexOf(P(49,50,55,46,48,32,48,46,49)),r=[i,P(99,111,100,101,112,101,110,46,105,111),P(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),P(99,111,100,101,112,101,110,46,100,101,118),P(99,111,100,101,112,101,110,46,97,112,112),P(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),P(112,101,110,115,46,99,108,111,117,100),P(99,115,115,45,116,114,105,99,107,115,46,99,111,109),P(99,100,112,110,46,105,111),P(112,101,110,115,46,105,111),P(103,97,110,110,111,110,46,116,118),P(99,111,100,101,99,97,110,121,111,110,46,110,101,116),P(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),P(99,101,114,101,98,114,97,120,46,99,111,46,117,107),P(116,121,109,112,97,110,117,115,46,110,101,116),P(116,119,101,101,110,109,97,120,46,99,111,109),P(112,108,110,107,114,46,99,111),P(104,111,116,106,97,114,46,99,111,109),P(119,101,98,112,97,99,107,98,105,110,46,99,111,109),P(97,114,99,104,105,118,101,46,111,114,103),P(99,111,100,101,115,97,110,100,98,111,120,46,105,111),P(99,115,98,46,97,112,112),P(115,116,97,99,107,98,108,105,116,122,46,99,111,109),P(115,116,97,99,107,98,108,105,116,122,46,105,111),P(99,111,100,105,101,114,46,105,111),P(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),P(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),P(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),P(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),P(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),P(106,115,102,105,100,100,108,101,46,110,101,116)],o=r.length;for(setTimeout(function checkWarn(){e&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),e&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(P(37,99,87,97,114,110,105,110,103),P(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(P(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+a+P(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(P(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),P(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--o;)if(-1!==t.indexOf(r[o]))return!0;return n||!setTimeout(function(){e&&(window.location.href=P(104,116,116,112,115,58,47,47)+i+P(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+a+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),J="Use MorphSVGPlugin.convertToPath() to convert to a path before morphing.",K={version:"3.11.5",name:"morphSVG",rawVars:1,register:function register(t,e){n=t,o=e,na()},init:function init(t,e,n,r,o){if(L||na(1),!e)return M("invalid shape"),!1;var a,i,s,h,l,c,g,f,u,p,d,P,m,w,_,y,v,x,T,b,S,N;if(z(e)&&(e=e.call(n,r,t,o)),"string"==typeof e||e.getBBox||e[0])e={shape:e};else if("object"==typeof e){for(i in a={},e)a[i]=z(e[i])&&"render"!==i?e[i].call(n,r,t,o):e[i];e=a}var A=t.nodeType?window.getComputedStyle(t):{},R=A.fill+"",O=!("none"===R||"0"===(R.match(F)||[])[3]||"evenodd"===A.fillRule),j=(e.origin||"50 50").split(",");if(l="POLYLINE"===(a=(t.nodeName+"").toUpperCase())||"POLYGON"===a,"PATH"!==a&&!l&&!e.prop)return M("Cannot morph a <"+a+"> element. "+J),!1;if(i="PATH"===a?"d":"points",!e.prop&&!z(t.setAttribute))return!1;if(h=function _parseShape(t,e,n){var r,o;return(!("string"==typeof t)||G.test(t)||(t.match(F)||[]).length<3)&&((r=C(t)[0])?(o=(r.nodeName+"").toUpperCase(),e&&"PATH"!==o&&(r=convertToPath(r,!1),o="PATH"),t=r.getAttribute("PATH"===o?"d":"points")||"",r===n&&(t=r.getAttributeNS(null,"data-original")||t)):(M("WARNING: invalid morph to: "+t),t=!1)),t}(e.shape||e.d||e.points||"","d"===i,t),l&&q.test(h))return M("A <"+a+"> cannot accept path data. "+J),!1;if(c=e.shapeIndex||0===e.shapeIndex?e.shapeIndex:"auto",g=e.map||K.defaultMap,this._prop=e.prop,this._render=e.render||K.defaultRender,this._apply="updateTarget"in e?e.updateTarget:K.defaultUpdateTarget,this._rnd=Math.pow(10,isNaN(e.precision)?2:+e.precision),this._tween=n,h){if(this._target=t,v="object"==typeof e.precompile,p=this._prop?t[this._prop]:t.getAttribute(i),this._prop||t.getAttributeNS(null,"data-original")||t.setAttributeNS(null,"data-original",p),"d"===i||this._prop){if(p=stringToRawPath(v?e.precompile[0]:p),d=stringToRawPath(v?e.precompile[1]:h),!v&&!ba(p,d,c,g,O))return!1;for("log"!==e.precompile&&!0!==e.precompile||M('precompile:["'+rawPathToString(p)+'","'+rawPathToString(d)+'"]'),(S="linear"!==(e.type||K.defaultType))&&(p=ia(p,e.smoothTolerance),d=ia(d,e.smoothTolerance),p.size||U(p),d.size||U(d),b=ja(j[0]),this._origin=p.origin={x:p.left+b.x*p.width,y:p.top+b.y*p.height},j[1]&&(b=ja(j[1])),this._eOrigin={x:d.left+b.x*d.width,y:d.top+b.y*d.height}),this._rawPath=t._gsRawPath=p,m=p.length;-1<--m;)for(_=p[m],y=d[m],f=_.isSmooth||[],u=y.isSmooth||[],w=_.length,P=I=0;P<w;P+=2)y[P]===_[P]&&y[P+1]===_[P+1]||(S?f[P]&&u[P]?(x=_.smoothData,T=y.smoothData,N=P+(P===w-4?7-w:5),this._controlPT={_next:this._controlPT,i:P,j:m,l1s:x[P+1],l1c:T[P+1]-x[P+1],l2s:x[N],l2c:T[N]-x[N]},s=this._tweenRotation(_,y,P+2),this._tweenRotation(_,y,P,s),this._tweenRotation(_,y,N-1,s),P+=4):this._tweenRotation(_,y,P):(s=this.add(_,P,_[P],y[P],0,0,0,0,0,1),s=this.add(_,P+1,_[P+1],y[P+1],0,0,0,0,0,1)||s))}else s=this.add(t,"setAttribute",t.getAttribute(i)+"",h+"",r,o,0,ga(c),i);S&&(this.add(this._origin,"x",this._origin.x,this._eOrigin.x,0,0,0,0,0,1),s=this.add(this._origin,"y",this._origin.y,this._eOrigin.y,0,0,0,0,0,1)),s&&(this._props.push("morphSVG"),s.end=h,s.endProp=i)}return E},render:function render(t,e){for(var n,r,o,a,i,s,h,l,c,g,f,u,p=e._rawPath,d=e._controlPT,P=e._anchorPT,m=e._rnd,w=e._target,_=e._pt;_;)_.r(t,_.d),_=_._next;if(1===t&&e._apply)for(_=e._pt;_;)_.end&&(e._prop?w[e._prop]=_.end:w.setAttribute(_.endProp,_.end)),_=_._next;else if(p){for(;P;)i=P.sa+t*P.ca,a=P.sl+t*P.cl,P.t[P.i]=e._origin.x+x(i)*a,P.t[P.i+1]=e._origin.y+O(i)*a,P=P._next;for(r=t<.5?2*t*t:(4-2*t)*t-1;d;)u=(s=d.i)+(s===(o=p[d.j]).length-4?7-o.length:5),i=v(o[u]-o[s+1],o[u-1]-o[s]),g=O(i),f=x(i),l=o[s+2],c=o[s+3],a=d.l1s+r*d.l1c,o[s]=l-f*a,o[s+1]=c-g*a,a=d.l2s+r*d.l2c,o[u-1]=l+f*a,o[u]=c+g*a,d=d._next;if(w._gsRawPath=p,e._apply){for(n="",h=0;h<p.length;h++)for(a=(o=p[h]).length,n+="M"+(o[0]*m|0)/m+" "+(o[1]*m|0)/m+" C",s=2;s<a;s++)n+=(o[s]*m|0)/m+" ";e._prop?w[e._prop]=n:w.setAttribute("d",n)}}e._render&&p&&e._render.call(e._tween,p,w)},kill:function kill(){this._pt=this._rawPath=0},getRawPath:function getRawPath(t){var e,n=(t=m(t)&&r.test(t)&&document.querySelector(t)||t).getAttribute?t:0;return n&&(t=t.getAttribute("d"))?(n._gsPath||(n._gsPath={}),(e=n._gsPath[t])&&!e._dirty?e:n._gsPath[t]=stringToRawPath(t)):t?m(t)?stringToRawPath(t):s(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")},stringToRawPath:stringToRawPath,rawPathToString:rawPathToString,normalizeStrings:function normalizeStrings(t,e,n){var r=n.shapeIndex,o=n.map,a=[t,e];return ca(a,r,o),a},pathFilter:ca,pointsFilter:fa,getTotalSize:U,equalizeSegmentQuantity:ba,convertToPath:function convertToPath$1(t,e){return C(t).map(function(t){return convertToPath(t,!1!==e)})},defaultType:"linear",defaultUpdateTarget:!0,defaultMap:"size"};y()&&n.registerPlugin(K),t.MorphSVGPlugin=K,t.default=K;if (typeof(window)==="undefined"||window!==t){Object.defineProperty(t,"__esModule",{value:!0})} else {delete t.default}});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function m(t){return"string"==typeof t}var b=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,S=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,r=/(^[#\.][a-z]|[a-y][a-z])/i,E=Math.PI/180,H=Math.sin,B=Math.cos,D=Math.abs,Q=Math.sqrt,s=function _isNumber(t){return"number"==typeof t},h=function _round(t){return Math.round(1e5*t)/1e5||0};function reverseSegment(t){var e,n=0;for(t.reverse();n<t.length;n+=2)e=t[n],t[n]=t[n+1],t[n+1]=e;t.reversed=!t.reversed}var A={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function convertToPath(t,e){var n,r,o,a,i,s,h,l,c,g,f,u,p,d,P,m,_,v,w,y,x,M,T=t.tagName.toLowerCase(),b=.552284749831;return"path"!==T&&t.getBBox?(s=function _createPath(t,e){var n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),o=[].slice.call(t.attributes),a=o.length;for(e=","+e+",";-1<--a;)n=o[a].nodeName.toLowerCase(),e.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,o[a].nodeValue);return r}(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),M=function _attrToObj(t,e){for(var n=e?e.split(","):[],r={},o=n.length;-1<--o;)r[n[o]]=+t.getAttribute(n[o])||0;return r}(t,A[T]),"rect"===T?(a=M.rx,i=M.ry||a,r=M.x,o=M.y,g=M.width-2*a,f=M.height-2*i,n=a||i?"M"+(m=(d=(p=r+a)+g)+a)+","+(v=o+i)+" V"+(w=v+f)+" C"+[m,y=w+i*b,P=d+a*b,x=w+i,d,x,d-(d-p)/3,x,p+(d-p)/3,x,p,x,u=r+a*(1-b),x,r,y,r,w,r,w-(w-v)/3,r,v+(w-v)/3,r,v,r,_=o+i*(1-b),u,o,p,o,p+(d-p)/3,o,d-(d-p)/3,o,d,o,P,o,m,_,m,v].join(",")+"z":"M"+(r+g)+","+o+" v"+f+" h"+-g+" v"+-f+" h"+g+"z"):"circle"===T||"ellipse"===T?(l="circle"===T?(a=i=M.r)*b:(a=M.rx,(i=M.ry)*b),n="M"+((r=M.cx)+a)+","+(o=M.cy)+" C"+[r+a,o+l,r+(h=a*b),o+i,r,o+i,r-h,o+i,r-a,o+l,r-a,o,r-a,o-l,r-h,o-i,r,o-i,r+h,o-i,r+a,o-l,r+a,o].join(",")+"z"):"line"===T?n="M"+M.x1+","+M.y1+" L"+M.x2+","+M.y2:"polyline"!==T&&"polygon"!==T||(n="M"+(r=(c=(t.getAttribute("points")+"").match(S)||[]).shift())+","+(o=c.shift())+" L"+c.join(","),"polygon"===T&&(n+=","+r+","+o+"z")),s.setAttribute("d",rawPathToString(s._gsRawPath=stringToRawPath(n))),e&&t.parentNode&&(t.parentNode.insertBefore(s,t),t.parentNode.removeChild(t)),s):t}function arcToSegment(t,e,n,r,o,a,i,s,h){if(t!==s||e!==h){n=D(n),r=D(r);var l=o%360*E,c=B(l),g=H(l),f=Math.PI,u=2*f,p=(t-s)/2,d=(e-h)/2,P=c*p+g*d,m=-g*p+c*d,_=P*P,v=m*m,w=_/(n*n)+v/(r*r);1<w&&(n=Q(w)*n,r=Q(w)*r);var y=n*n,x=r*r,M=(y*x-y*v-x*_)/(y*v+x*_);M<0&&(M=0);var T=(a===i?-1:1)*Q(M),b=n*m/r*T,S=-r*P/n*T,z=c*b-g*S+(t+s)/2,N=g*b+c*S+(e+h)/2,A=(P-b)/n,R=(m-S)/r,O=(-P-b)/n,V=(-m-S)/r,j=A*A+R*R,C=(R<0?-1:1)*Math.acos(A/Q(j)),Y=(A*V-R*O<0?-1:1)*Math.acos((A*O+R*V)/Q(j*(O*O+V*V)));isNaN(Y)&&(Y=f),!i&&0<Y?Y-=u:i&&Y<0&&(Y+=u),C%=u,Y%=u;var I,L=Math.ceil(D(Y)/(u/4)),U=[],F=Y/L,X=4/3*H(F/2)/(1+B(F/2)),G=c*n,W=g*n,k=g*-r,q=c*r;for(I=0;I<L;I++)P=B(o=C+I*F),m=H(o),A=B(o+=F),R=H(o),U.push(P-X*m,m+X*P,A+X*R,R-X*A,A,R);for(I=0;I<U.length;I+=2)P=U[I],m=U[I+1],U[I]=P*G+m*k+z,U[I+1]=P*W+m*q+N;return U[I-2]=s,U[I-1]=h,U}}function stringToRawPath(t){function zc(t,e,n,r){c=(n-t)/3,g=(r-e)/3,s.push(t+c,e+g,n-c,r-g,n,r)}var e,n,r,o,a,i,s,h,l,c,g,f,u,p,d,P=(t+"").replace(N,function(t){var e=+t;return e<1e-4&&-1e-4<e?0:e}).match(b)||[],m=[],_=0,v=0,w=P.length,y=0,x="ERROR: malformed path: "+t;if(!t||!isNaN(P[0])||isNaN(P[1]))return console.log(x),m;for(e=0;e<w;e++)if(u=a,isNaN(P[e])?i=(a=P[e].toUpperCase())!==P[e]:e--,r=+P[e+1],o=+P[e+2],i&&(r+=_,o+=v),e||(h=r,l=o),"M"===a)s&&(s.length<8?--m.length:y+=s.length),_=h=r,v=l=o,s=[r,o],m.push(s),e+=2,a="L";else if("C"===a)i||(_=v=0),(s=s||[0,0]).push(r,o,_+1*P[e+3],v+1*P[e+4],_+=1*P[e+5],v+=1*P[e+6]),e+=6;else if("S"===a)c=_,g=v,"C"!==u&&"S"!==u||(c+=_-s[s.length-4],g+=v-s[s.length-3]),i||(_=v=0),s.push(c,g,r,o,_+=1*P[e+3],v+=1*P[e+4]),e+=4;else if("Q"===a)c=_+2/3*(r-_),g=v+2/3*(o-v),i||(_=v=0),_+=1*P[e+3],v+=1*P[e+4],s.push(c,g,_+2/3*(r-_),v+2/3*(o-v),_,v),e+=4;else if("T"===a)c=_-s[s.length-4],g=v-s[s.length-3],s.push(_+c,v+g,r+2/3*(_+1.5*c-r),o+2/3*(v+1.5*g-o),_=r,v=o),e+=2;else if("H"===a)zc(_,v,_=r,v),e+=1;else if("V"===a)zc(_,v,_,v=r+(i?v-_:0)),e+=1;else if("L"===a||"Z"===a)"Z"===a&&(r=h,o=l,s.closed=!0),("L"===a||.5<D(_-r)||.5<D(v-o))&&(zc(_,v,r,o),"L"===a&&(e+=2)),_=r,v=o;else if("A"===a){if(p=P[e+4],d=P[e+5],c=P[e+6],g=P[e+7],n=7,1<p.length&&(p.length<3?(g=c,c=d,n--):(g=d,c=p.substr(2),n-=2),d=p.charAt(1),p=p.charAt(0)),f=arcToSegment(_,v,+P[e+1],+P[e+2],+P[e+3],+p,+d,(i?_:0)+1*c,(i?v:0)+1*g),e+=n,f)for(n=0;n<f.length;n++)s.push(f[n]);_=s[s.length-2],v=s[s.length-1]}else console.log(x);return(e=s.length)<6?(m.pop(),e=0):s[0]===s[e-2]&&s[1]===s[e-1]&&(s.closed=!0),m.totalPoints=y+e,m}function rawPathToString(t){s(t[0])&&(t=[t]);var e,n,r,o,a="",i=t.length;for(n=0;n<i;n++){for(o=t[n],a+="M"+h(o[0])+","+h(o[1])+" C",e=o.length,r=2;r<e;r++)a+=h(o[r++])+","+h(o[r++])+" "+h(o[r++])+","+h(o[r++])+" "+h(o[r++])+","+h(o[r])+" ";o.closed&&(a+="z")}return a}function y(){return a||"undefined"!=typeof window&&(a=window.gsap)&&a.registerPlugin&&a}function z(t){return"function"==typeof t}function M(t){return console&&console.warn(t)}function P(){return String.fromCharCode.apply(null,arguments)}function T(t){var e,n=t.length,r=0,o=0;for(e=0;e<n;e++)r+=t[e++],o+=t[e];return[r/(n/2),o/(n/2)]}function U(t){var e,n,r,o=t.length,a=t[0],i=a,s=t[1],h=s;for(r=6;r<o;r+=6)a<(e=t[r])?a=e:e<i&&(i=e),s<(n=t[r+1])?s=n:n<h&&(h=n);return t.centerX=(a+i)/2,t.centerY=(s+h)/2,t.size=(a-i)*(s-h)}function V(t,e){void 0===e&&(e=3);for(var n,r,o,a,i,s,h,l,c,g,f,u,p,d,P,m,_=t.length,v=t[0][0],w=v,y=t[0][1],x=y,M=1/e;-1<--_;)for(n=(i=t[_]).length,a=6;a<n;a+=6)for(c=i[a],g=i[a+1],f=i[a+2]-c,d=i[a+3]-g,u=i[a+4]-c,P=i[a+5]-g,p=i[a+6]-c,m=i[a+7]-g,s=e;-1<--s;)v<(r=((h=M*s)*h*p+3*(l=1-h)*(h*u+l*f))*h+c)?v=r:r<w&&(w=r),y<(o=(h*h*m+3*l*(h*P+l*d))*h+g)?y=o:o<x&&(x=o);return t.centerX=(v+w)/2,t.centerY=(y+x)/2,t.left=w,t.width=v-w,t.top=x,t.height=y-x,t.size=(v-w)*(y-x)}function W(t,e){return e.length-t.length}function X(t,e){var n=t.size||U(t),r=e.size||U(e);return Math.abs(r-n)<(n+r)/20?e.centerX-t.centerX||e.centerY-t.centerY:r-n}function Y(t,e){var n,r,o=t.slice(0),a=t.length,i=a-2;for(e|=0,n=0;n<a;n++)r=(n+e)%i,t[n++]=o[r],t[n]=o[1+r]}function Z(t,e,n,r,o){var a,i,s,h,l=t.length,c=0,g=l-2;for(n*=6,i=0;i<l;i+=6)h=t[a=(i+n)%g]-(e[i]-r),s=t[1+a]-(e[i+1]-o),c+=v(s*s+h*h);return c}function $(t,e,n){var r,o,a,i=t.length,s=T(t),h=T(e),l=h[0]-s[0],c=h[1]-s[1],g=Z(t,e,0,l,c),f=0;for(a=6;a<i;a+=6)(o=Z(t,e,a/6,l,c))<g&&(g=o,f=a);if(n)for(reverseSegment(r=t.slice(0)),a=6;a<i;a+=6)(o=Z(r,e,a/6,l,c))<g&&(g=o,f=-a);return f/6}function _(t,e,n){for(var r,o,a,i,s,h,l=t.length,c=1e20,g=0,f=0;-1<--l;)for(h=(r=t[l]).length,s=0;s<h;s+=6)o=r[s]-e,a=r[s+1]-n,(i=v(o*o+a*a))<c&&(c=i,g=r[s],f=r[s+1]);return[g,f]}function aa(t,e,n,r,o,a){var i,s,h,l,c=e.length,g=0,f=Math.min(t.size||U(t),e[n].size||U(e[n]))*r,u=1e20,p=t.centerX+o,d=t.centerY+a;for(i=n;i<c&&!((e[i].size||U(e[i]))<f);i++)s=e[i].centerX-p,h=e[i].centerY-d,(l=v(s*s+h*h))<u&&(g=i,u=l);return l=e[g],e.splice(g,1),l}function ba(t,e){var n,r,o,a,i,s,h,l,c,g,f,u,p,d,P=0,m=t.length,_=e/((m-2)/6);for(p=2;p<m;p+=6)for(P+=_;.999999<P;)n=t[p-2],r=t[p-1],o=t[p],a=t[p+1],i=t[p+2],s=t[p+3],h=t[p+4],l=t[p+5],c=n+(o-n)*(d=1/((Math.floor(P)||1)+1)),c+=((f=o+(i-o)*d)-c)*d,f+=(i+(h-i)*d-f)*d,g=r+(a-r)*d,g+=((u=a+(s-a)*d)-g)*d,u+=(s+(l-s)*d-u)*d,t.splice(p,4,n+(o-n)*d,r+(a-r)*d,c,g,c+(f-c)*d,g+(u-g)*d,f,u,i+(h-i)*d,s+(l-s)*d),p+=6,m+=6,P--;return t}function ca(t,e,n,r,o){var a,i,s,h,l,c,g,f=e.length-t.length,u=0<f?e:t,p=0<f?t:e,d=0,P="complexity"===r?W:X,m="position"===r?0:"number"==typeof r?r:.8,v=p.length,w="object"==typeof n&&n.push?n.slice(0):[n],y="reverse"===w[0]||w[0]<0,x="log"===n;if(p[0]){if(1<u.length&&(t.sort(P),e.sort(P),u.size||V(u),p.size||V(p),c=u.centerX-p.centerX,g=u.centerY-p.centerY,P===X))for(v=0;v<p.length;v++)u.splice(v,0,aa(p[v],u,v,m,c,g));if(f)for(f<0&&(f=-f),u[0].length>p[0].length&&ba(p[0],(u[0].length-p[0].length)/6|0),v=p.length;d<f;)u[v].size||U(u[v]),h=(s=_(p,u[v].centerX,u[v].centerY))[0],l=s[1],p[v++]=[h,l,h,l,h,l,h,l],p.totalPoints+=8,d++;for(v=0;v<t.length;v++)a=e[v],i=t[v],(f=a.length-i.length)<0?ba(a,-f/6|0):0<f&&ba(i,f/6|0),y&&!1!==o&&!i.reversed&&reverseSegment(i),(n=w[v]||0===w[v]?w[v]:"auto")&&(i.closed||Math.abs(i[0]-i[i.length-2])<.5&&Math.abs(i[1]-i[i.length-1])<.5?"auto"===n||"log"===n?(w[v]=n=$(i,a,!v||!1===o),n<0&&(y=!0,reverseSegment(i),n=-n),Y(i,6*n)):"reverse"!==n&&(v&&n<0&&reverseSegment(i),Y(i,6*(n<0?-n:n))):!y&&("auto"===n&&Math.abs(a[0]-i[0])+Math.abs(a[1]-i[1])+Math.abs(a[a.length-2]-i[i.length-2])+Math.abs(a[a.length-1]-i[i.length-1])>Math.abs(a[0]-i[i.length-2])+Math.abs(a[1]-i[i.length-1])+Math.abs(a[a.length-2]-i[0])+Math.abs(a[a.length-1]-i[1])||n%2)?(reverseSegment(i),w[v]=-1,y=!0):"auto"===n?w[v]=0:"reverse"===n&&(w[v]=-1),i.closed!==a.closed&&(i.closed=a.closed=!1));return x&&M("shapeIndex:["+w.join(",")+"]"),t.shapeIndex=w}}function da(t,e,n,r,o){var a=stringToRawPath(t[0]),i=stringToRawPath(t[1]);ca(a,i,e||0===e?e:"auto",n,o)&&(t[0]=rawPathToString(a),t[1]=rawPathToString(i),"log"!==r&&!0!==r||M('precompile:["'+t[0]+'","'+t[1]+'"]'))}function fa(t,e){var n,r,o,a,i,s,h,l=0,c=parseFloat(t[0]),g=parseFloat(t[1]),f=c+","+g+" ";for(n=.5*e/(.5*(o=t.length)-1),r=0;r<o-2;r+=2){if(l+=n,s=parseFloat(t[r+2]),h=parseFloat(t[r+3]),.999999<l)for(i=1/(Math.floor(l)+1),a=1;.999999<l;)f+=(c+(s-c)*i*a).toFixed(2)+","+(g+(h-g)*i*a).toFixed(2)+" ",l--,a++;f+=s+","+h+" ",c=s,g=h}return f}function ga(t){var e=t[0].match(F)||[],n=t[1].match(F)||[],r=n.length-e.length;0<r?t[0]=fa(e,r):t[1]=fa(n,-r)}function ha(e){return isNaN(e)?ga:function(t){ga(t),t[1]=function _offsetPoints(t,e){if(!e)return t;var n,r,o,a=t.match(F)||[],i=a.length,s="";for(n="reverse"===e?(r=i-1,-2):(r=(2*(parseInt(e,10)||0)+1+100*i)%i,2),o=0;o<i;o+=2)s+=a[r-1]+","+a[r]+" ",r=(r+n)%i;return s}(t[1],parseInt(e,10))}}function ja(t,e){for(var n,r,o,a,i,s,h,l,c,g,f,u,p=t.length,d=.2*(e||1);-1<--p;){for(f=(r=t[p]).isSmooth=r.isSmooth||[0,0,0,0],u=r.smoothData=r.smoothData||[0,0,0,0],f.length=4,l=r.length-2,h=6;h<l;h+=6)o=r[h]-r[h-2],a=r[h+1]-r[h-1],i=r[h+2]-r[h],s=r[h+3]-r[h+1],c=w(a,o),g=w(s,i),(n=Math.abs(c-g)<d)&&(u[h-2]=c,u[h+2]=g,u[h-1]=v(o*o+a*a),u[h+3]=v(i*i+s*s)),f.push(n,n,0,0,n,n);r[l]===r[0]&&r[1+l]===r[1]&&(o=r[0]-r[l-2],a=r[1]-r[l-1],i=r[2]-r[0],s=r[3]-r[1],c=w(a,o),g=w(s,i),Math.abs(c-g)<d&&(u[l-2]=c,u[2]=g,u[l-1]=v(o*o+a*a),u[3]=v(i*i+s*s),f[l-2]=f[l-1]=!0))}return t}function ka(t){var e=t.trim().split(" ");return{x:(~t.indexOf("left")?0:~t.indexOf("right")?100:isNaN(parseFloat(e[0]))?50:parseFloat(e[0]))/100,y:(~t.indexOf("top")?0:~t.indexOf("bottom")?100:isNaN(parseFloat(e[1]))?50:parseFloat(e[1]))/100}}function na(t,e,n,r){var o,a,i=this._origin,s=this._eOrigin,h=t[n]-i.x,l=t[n+1]-i.y,c=v(h*h+l*l),g=w(l,h);return h=e[n]-s.x,l=e[n+1]-s.y,a=function _shortAngle(t){return t!==t%f?t+(t<0?u:-u):t}(o=w(l,h)-g),!r&&I&&Math.abs(a+I.ca)<p&&(r=I),this._anchorPT=I={_next:this._anchorPT,t:t,sa:g,ca:r&&a*r.ca<0&&Math.abs(a)>d?o:a,sl:c,cl:v(h*h+l*l)-c,i:n}}function oa(t){a=y(),n=n||a&&a.plugins.morphSVG,a&&n?(C=a.utils.toArray,n.prototype._tweenRotation=na,L=1):t&&M("Please gsap.registerPlugin(MorphSVGPlugin)")}var a,C,I,L,n,w=Math.atan2,x=Math.cos,R=Math.sin,v=Math.sqrt,f=Math.PI,u=2*f,p=.3*f,d=.7*f,F=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,G=/(^[#\.][a-z]|[a-y][a-z])/i,k=/[achlmqstvz]/i,i="MorphSVGPlugin",l=P(103,114,101,101,110,115,111,99,107,46,99,111,109),c=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,q=function(t){var e="undefined"!=typeof window,n=0===(e?window.location.href:"").indexOf(P(102,105,108,101,58,47,47))||-1!==t.indexOf(P(108,111,99,97,108,104,111,115,116))||c.test(t),r=[l,P(99,111,100,101,112,101,110,46,105,111),P(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),P(99,111,100,101,112,101,110,46,100,101,118),P(99,111,100,101,112,101,110,46,97,112,112),P(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),P(112,101,110,115,46,99,108,111,117,100),P(99,115,115,45,116,114,105,99,107,115,46,99,111,109),P(99,100,112,110,46,105,111),P(112,101,110,115,46,105,111),P(103,97,110,110,111,110,46,116,118),P(99,111,100,101,99,97,110,121,111,110,46,110,101,116),P(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),P(99,101,114,101,98,114,97,120,46,99,111,46,117,107),P(116,121,109,112,97,110,117,115,46,110,101,116),P(116,119,101,101,110,109,97,120,46,99,111,109),P(112,108,110,107,114,46,99,111),P(104,111,116,106,97,114,46,99,111,109),P(119,101,98,112,97,99,107,98,105,110,46,99,111,109),P(97,114,99,104,105,118,101,46,111,114,103),P(99,111,100,101,115,97,110,100,98,111,120,46,105,111),P(99,115,98,46,97,112,112),P(115,116,97,99,107,98,108,105,116,122,46,99,111,109),P(115,116,97,99,107,98,108,105,116,122,46,105,111),P(99,111,100,105,101,114,46,105,111),P(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),P(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),P(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),P(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),P(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),P(106,115,102,105,100,100,108,101,46,110,101,116)],o=r.length;for(setTimeout(function checkWarn(){if(e)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var t="object"==typeof a?a:e&&window.gsap;e&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(P(37,99,87,97,114,110,105,110,103),P(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(P(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+i+P(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(P(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),P(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--o;)if(-1!==t.indexOf(r[o]))return!0;return n||!setTimeout(function(){e&&(window.location.href=P(104,116,116,112,115,58,47,47)+l+P(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+i+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),J="Use MorphSVGPlugin.convertToPath() to convert to a path before morphing.",K={version:"3.12.0",name:"morphSVG",rawVars:1,register:function register(t,e){a=t,n=e,oa()},init:function init(t,e,n,r,o){if(L||oa(1),!e)return M("invalid shape"),!1;var a,i,s,h,l,c,g,f,u,p,d,P,m,_,v,w,y,x,T,b,S,N;if(z(e)&&(e=e.call(n,r,t,o)),"string"==typeof e||e.getBBox||e[0])e={shape:e};else if("object"==typeof e){for(i in a={},e)a[i]=z(e[i])&&"render"!==i?e[i].call(n,r,t,o):e[i];e=a}var A=t.nodeType?window.getComputedStyle(t):{},R=A.fill+"",O=!("none"===R||"0"===(R.match(F)||[])[3]||"evenodd"===A.fillRule),j=(e.origin||"50 50").split(",");if(l="POLYLINE"===(a=(t.nodeName+"").toUpperCase())||"POLYGON"===a,"PATH"!==a&&!l&&!e.prop)return M("Cannot morph a <"+a+"> element. "+J),!1;if(i="PATH"===a?"d":"points",!e.prop&&!z(t.setAttribute))return!1;if(h=function _parseShape(t,e,n){var r,o;return(!("string"==typeof t)||G.test(t)||(t.match(F)||[]).length<3)&&((r=C(t)[0])?(o=(r.nodeName+"").toUpperCase(),e&&"PATH"!==o&&(r=convertToPath(r,!1),o="PATH"),t=r.getAttribute("PATH"===o?"d":"points")||"",r===n&&(t=r.getAttributeNS(null,"data-original")||t)):(M("WARNING: invalid morph to: "+t),t=!1)),t}(e.shape||e.d||e.points||"","d"===i,t),l&&k.test(h))return M("A <"+a+"> cannot accept path data. "+J),!1;if(c=e.shapeIndex||0===e.shapeIndex?e.shapeIndex:"auto",g=e.map||K.defaultMap,this._prop=e.prop,this._render=e.render||K.defaultRender,this._apply="updateTarget"in e?e.updateTarget:K.defaultUpdateTarget,this._rnd=Math.pow(10,isNaN(e.precision)?2:+e.precision),this._tween=n,h){if(this._target=t,y="object"==typeof e.precompile,p=this._prop?t[this._prop]:t.getAttribute(i),this._prop||t.getAttributeNS(null,"data-original")||t.setAttributeNS(null,"data-original",p),"d"===i||this._prop){if(p=stringToRawPath(y?e.precompile[0]:p),d=stringToRawPath(y?e.precompile[1]:h),!y&&!ca(p,d,c,g,O))return!1;for("log"!==e.precompile&&!0!==e.precompile||M('precompile:["'+rawPathToString(p)+'","'+rawPathToString(d)+'"]'),(S="linear"!==(e.type||K.defaultType))&&(p=ja(p,e.smoothTolerance),d=ja(d,e.smoothTolerance),p.size||V(p),d.size||V(d),b=ka(j[0]),this._origin=p.origin={x:p.left+b.x*p.width,y:p.top+b.y*p.height},j[1]&&(b=ka(j[1])),this._eOrigin={x:d.left+b.x*d.width,y:d.top+b.y*d.height}),this._rawPath=t._gsRawPath=p,m=p.length;-1<--m;)for(v=p[m],w=d[m],f=v.isSmooth||[],u=w.isSmooth||[],_=v.length,P=I=0;P<_;P+=2)w[P]===v[P]&&w[P+1]===v[P+1]||(S?f[P]&&u[P]?(x=v.smoothData,T=w.smoothData,N=P+(P===_-4?7-_:5),this._controlPT={_next:this._controlPT,i:P,j:m,l1s:x[P+1],l1c:T[P+1]-x[P+1],l2s:x[N],l2c:T[N]-x[N]},s=this._tweenRotation(v,w,P+2),this._tweenRotation(v,w,P,s),this._tweenRotation(v,w,N-1,s),P+=4):this._tweenRotation(v,w,P):(s=this.add(v,P,v[P],w[P],0,0,0,0,0,1),s=this.add(v,P+1,v[P+1],w[P+1],0,0,0,0,0,1)||s))}else s=this.add(t,"setAttribute",t.getAttribute(i)+"",h+"",r,o,0,ha(c),i);S&&(this.add(this._origin,"x",this._origin.x,this._eOrigin.x,0,0,0,0,0,1),s=this.add(this._origin,"y",this._origin.y,this._eOrigin.y,0,0,0,0,0,1)),s&&(this._props.push("morphSVG"),s.end=h,s.endProp=i)}return q},render:function render(t,e){for(var n,r,o,a,i,s,h,l,c,g,f,u,p=e._rawPath,d=e._controlPT,P=e._anchorPT,m=e._rnd,_=e._target,v=e._pt;v;)v.r(t,v.d),v=v._next;if(1===t&&e._apply)for(v=e._pt;v;)v.end&&(e._prop?_[e._prop]=v.end:_.setAttribute(v.endProp,v.end)),v=v._next;else if(p){for(;P;)i=P.sa+t*P.ca,a=P.sl+t*P.cl,P.t[P.i]=e._origin.x+x(i)*a,P.t[P.i+1]=e._origin.y+R(i)*a,P=P._next;for(r=t<.5?2*t*t:(4-2*t)*t-1;d;)u=(s=d.i)+(s===(o=p[d.j]).length-4?7-o.length:5),i=w(o[u]-o[s+1],o[u-1]-o[s]),g=R(i),f=x(i),l=o[s+2],c=o[s+3],a=d.l1s+r*d.l1c,o[s]=l-f*a,o[s+1]=c-g*a,a=d.l2s+r*d.l2c,o[u-1]=l+f*a,o[u]=c+g*a,d=d._next;if(_._gsRawPath=p,e._apply){for(n="",h=0;h<p.length;h++)for(a=(o=p[h]).length,n+="M"+(o[0]*m|0)/m+" "+(o[1]*m|0)/m+" C",s=2;s<a;s++)n+=(o[s]*m|0)/m+" ";e._prop?_[e._prop]=n:_.setAttribute("d",n)}}e._render&&p&&e._render.call(e._tween,p,_)},kill:function kill(){this._pt=this._rawPath=0},getRawPath:function getRawPath(t){var e,n=(t=m(t)&&r.test(t)&&document.querySelector(t)||t).getAttribute?t:0;return n&&(t=t.getAttribute("d"))?(n._gsPath||(n._gsPath={}),(e=n._gsPath[t])&&!e._dirty?e:n._gsPath[t]=stringToRawPath(t)):t?m(t)?stringToRawPath(t):s(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")},stringToRawPath:stringToRawPath,rawPathToString:rawPathToString,normalizeStrings:function normalizeStrings(t,e,n){var r=n.shapeIndex,o=n.map,a=[t,e];return da(a,r,o),a},pathFilter:da,pointsFilter:ga,getTotalSize:V,equalizeSegmentQuantity:ca,convertToPath:function convertToPath$1(t,e){return C(t).map(function(t){return convertToPath(t,!1!==e)})},defaultType:"linear",defaultUpdateTarget:!0,defaultMap:"size"};y()&&a.registerPlugin(K),t.MorphSVGPlugin=K,t.default=K;if (typeof(window)==="undefined"||window!==t){Object.defineProperty(t,"__esModule",{value:!0})} else {delete t.default}});
/*!
* MotionPathHelper 3.11.5
* MotionPathHelper 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function n(t){return Math.round(1e5*t)/1e5||0}function o(t,e){return e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e}var P,w=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,C=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,W=Math.PI/180,j=Math.sin,F=Math.cos,Q=Math.abs,U=Math.sqrt,A=1e8;function copyRawPath(t){for(var e=[],n=0;n<t.length;n++)e[n]=o(t[n],t[n].slice(0));return o(t,e)}function transformRawPath(t,e,n,i,s,a,o){for(var r,h,l,c,d,u=t.length;-1<--u;)for(h=(r=t[u]).length,l=0;l<h;l+=2)c=r[l],d=r[l+1],r[l]=c*e+d*i+a,r[l+1]=c*n+d*s+o;return t._dirty=1,t}function arcToSegment(t,e,n,i,s,a,o,r,h){if(t!==r||e!==h){n=Q(n),i=Q(i);var l=s%360*W,c=F(l),d=j(l),u=Math.PI,g=2*u,p=(t-r)/2,f=(e-h)/2,_=c*p+d*f,m=-d*p+c*f,v=_*_,b=m*m,y=v/(n*n)+b/(i*i);1<y&&(n=U(y)*n,i=U(y)*i);var P=n*n,A=i*i,w=(P*A-P*b-A*v)/(P*b+A*v);w<0&&(w=0);var C=(a===o?-1:1)*U(w),x=n*m/i*C,S=-i*_/n*C,E=c*x-d*S+(t+r)/2,k=d*x+c*S+(e+h)/2,M=(_-x)/n,D=(m-S)/i,H=(-_-x)/n,T=(-m-S)/i,N=M*M+D*D,R=(D<0?-1:1)*Math.acos(M/U(N)),L=(M*T-D*H<0?-1:1)*Math.acos((M*H+D*T)/U(N*(H*H+T*T)));isNaN(L)&&(L=u),!o&&0<L?L-=g:o&&L<0&&(L+=g),R%=g,L%=g;var O,B=Math.ceil(Q(L)/(g/4)),X=[],I=L/B,G=4/3*j(I/2)/(1+F(I/2)),q=c*n,z=d*n,V=d*-i,Y=c*i;for(O=0;O<B;O++)_=F(s=R+O*I),m=j(s),M=F(s+=I),D=j(s),X.push(_-G*m,m+G*_,M+G*D,D-G*M,M,D);for(O=0;O<X.length;O+=2)_=X[O],m=X[O+1],X[O]=_*q+m*V+E,X[O+1]=_*z+m*Y+k;return X[O-2]=r,X[O-1]=h,X}}function stringToRawPath(t){function xd(t,e,n,i){c=(n-t)/3,d=(i-e)/3,r.push(t+c,e+d,n-c,i-d,n,i)}var e,n,i,s,a,o,r,h,l,c,d,u,g,p,f,_=(t+"").replace(C,function(t){var e=+t;return e<1e-4&&-1e-4<e?0:e}).match(w)||[],m=[],v=0,b=0,y=_.length,P=0,A="ERROR: malformed path: "+t;if(!t||!isNaN(_[0])||isNaN(_[1]))return console.log(A),m;for(e=0;e<y;e++)if(g=a,isNaN(_[e])?o=(a=_[e].toUpperCase())!==_[e]:e--,i=+_[e+1],s=+_[e+2],o&&(i+=v,s+=b),e||(h=i,l=s),"M"===a)r&&(r.length<8?--m.length:P+=r.length),v=h=i,b=l=s,r=[i,s],m.push(r),e+=2,a="L";else if("C"===a)o||(v=b=0),(r=r||[0,0]).push(i,s,v+1*_[e+3],b+1*_[e+4],v+=1*_[e+5],b+=1*_[e+6]),e+=6;else if("S"===a)c=v,d=b,"C"!==g&&"S"!==g||(c+=v-r[r.length-4],d+=b-r[r.length-3]),o||(v=b=0),r.push(c,d,i,s,v+=1*_[e+3],b+=1*_[e+4]),e+=4;else if("Q"===a)c=v+2/3*(i-v),d=b+2/3*(s-b),o||(v=b=0),v+=1*_[e+3],b+=1*_[e+4],r.push(c,d,v+2/3*(i-v),b+2/3*(s-b),v,b),e+=4;else if("T"===a)c=v-r[r.length-4],d=b-r[r.length-3],r.push(v+c,b+d,i+2/3*(v+1.5*c-i),s+2/3*(b+1.5*d-s),v=i,b=s),e+=2;else if("H"===a)xd(v,b,v=i,b),e+=1;else if("V"===a)xd(v,b,v,b=i+(o?b-v:0)),e+=1;else if("L"===a||"Z"===a)"Z"===a&&(i=h,s=l,r.closed=!0),("L"===a||.5<Q(v-i)||.5<Q(b-s))&&(xd(v,b,i,s),"L"===a&&(e+=2)),v=i,b=s;else if("A"===a){if(p=_[e+4],f=_[e+5],c=_[e+6],d=_[e+7],n=7,1<p.length&&(p.length<3?(d=c,c=f,n--):(d=f,c=p.substr(2),n-=2),f=p.charAt(1),p=p.charAt(0)),u=arcToSegment(v,b,+_[e+1],+_[e+2],+_[e+3],+p,+f,(o?v:0)+1*c,(o?b:0)+1*d),e+=n,u)for(n=0;n<u.length;n++)r.push(u[n]);v=r[r.length-2],b=r[r.length-1]}else console.log(A);return(e=r.length)<6?(m.pop(),e=0):r[0]===r[e-2]&&r[1]===r[e-1]&&(r.closed=!0),m.totalPoints=P+e,m}function bezierToPoints(t,e,n,i,s,a,o,r,h,l,c){var d,u=(t+n)/2,g=(e+i)/2,p=(n+s)/2,f=(i+a)/2,_=(s+o)/2,m=(a+r)/2,v=(u+p)/2,b=(g+f)/2,y=(p+_)/2,P=(f+m)/2,A=(v+y)/2,w=(b+P)/2,C=o-t,x=r-e,S=Q((n-o)*x-(i-r)*C),E=Q((s-o)*x-(a-r)*C);return l||(l=[t,e,o,r],c=2),l.splice(c||l.length-2,0,A,w),h*(C*C+x*x)<(S+E)*(S+E)&&(d=l.length,bezierToPoints(t,e,u,g,v,b,A,w,h,l,c),bezierToPoints(A,w,y,P,_,m,o,r,h,l,c+2+(l.length-d))),l}function pointsToSegment(t,e){Q(t[0]-t[2])<1e-4&&Q(t[1]-t[3])<1e-4&&(t=t.slice(2));var i,s,a,o,r,h,l,c,d,u,g,p,f,_,m=t.length-2,v=+t[0],b=+t[1],y=+t[2],P=+t[3],A=[v,b,v,b],w=y-v,C=P-b,x=Math.abs(t[m]-v)<.001&&Math.abs(t[m+1]-b)<.001;for(x&&(t.push(y,P),y=v,P=b,v=t[m-2],b=t[m-1],t.unshift(v,b),m+=4),e=e||0===e?+e:1,a=2;a<m;a+=2)i=v,s=b,v=y,b=P,y=+t[a+2],P=+t[a+3],v===y&&b===P||(o=w,r=C,w=y-v,C=P-b,c=((h=U(o*o+r*r))+(l=U(w*w+C*C)))*e*.25/U(Math.pow(w/l+o/h,2)+Math.pow(C/l+r/h,2)),g=v-((d=v-(v-i)*(h?c/h:0))+(((u=v+(y-v)*(l?c/l:0))-d)*(3*h/(h+l)+.5)/4||0)),_=b-((p=b-(b-s)*(h?c/h:0))+(((f=b+(P-b)*(l?c/l:0))-p)*(3*h/(h+l)+.5)/4||0)),v===i&&b===s||A.push(n(d+g),n(p+_),n(v),n(b),n(u+g),n(f+_)));return v!==y||b!==P||A.length<4?A.push(n(y),n(P),n(y),n(P)):A.length-=2,2===A.length?A.push(v,b,v,b,v,b):x&&(A.splice(0,6),A.length=A.length-6),A}function simplifyPoints(t,e){var n,i,s,a,o,r,h,l=parseFloat(t[0]),c=parseFloat(t[1]),d=[l,c],u=t.length-2;for(e=Math.pow(e||1,2),n=2;n<u;n+=2)e<(a=l-(i=parseFloat(t[n])))*a+(o=c-(s=parseFloat(t[n+1])))*o&&(d.push(i,s),l=i,c=s);return d.push(parseFloat(t[u]),parseFloat(t[1+u])),function simplifyStep(t,e,n,i,s){var a,o,r,h,l,c,d,u,g,p,f,_,m=i,v=t[e],b=t[e+1],y=t[n],P=t[n+1];for(o=e+2;o<n;o+=2)h=t[o],l=t[o+1],p=void 0,_=(g=P)-(d=b),((f=(u=y)-(c=v))||_)&&(1<(p=((h-c)*f+(l-d)*_)/(f*f+_*_))?(c=u,d=g):0<p&&(c+=f*p,d+=_*p)),m<(r=Math.pow(h-c,2)+Math.pow(l-d,2))&&(a=o,m=r);i<m&&(2<a-e&&simplifyStep(t,e,a,i,s),s.push(t[a],t[a+1]),2<n-a&&simplifyStep(t,a,n,i,s))}(d,0,h=d.length-2,e,r=[d[0],d[1]]),r.push(d[h],d[1+h]),r}function getClosestProgressOnBezier(t,e,n,i,s,a,o,r,h,l,c,d,u,g){var p,f,_,m,v=(s-i)/a,b=0,y=i;for(P=A;y<=s;)(p=(f=(m=1-y)*m*m*o+3*m*m*y*h+3*m*y*y*c+y*y*y*u-e)*f+(_=m*m*m*r+3*m*m*y*l+3*m*y*y*d+y*y*y*g-n)*_)<P&&(P=p,b=y),y+=v;return 1<t?getClosestProgressOnBezier(t-1,e,n,Math.max(b-v,0),Math.min(b+v,1),a,o,r,h,l,c,d,u,g):b}function B(t){var e=t.ownerDocument||t;!(x in t.style)&&"msTransform"in t.style&&(S=(x="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(p=window,v=new D,e){f=(g=e).documentElement,_=e.body,(b=g.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=e.createElement("div"),i=e.createElement("div");_.appendChild(n),n.appendChild(i),n.style.position="static",n.style[x]="translate3d(0,0,1px)",y=i.offsetParent!==n,_.removeChild(n)}return e}function H(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)}function J(t,e){if(t.parentNode&&(g||B(t))){var n=H(t),i=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s=n?e?"rect":"g":"div",a=2!==e?0:100,o=3===e?100:0,r="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",h=g.createElementNS?g.createElementNS(i.replace(/^https/,"http"),s):g.createElement(s);return e&&(n?(m=m||J(t),h.setAttribute("width",.01),h.setAttribute("height",.01),h.setAttribute("transform","translate("+a+","+o+")"),m.appendChild(h)):(u||((u=J(t)).style.cssText=r),h.style.cssText=r+"width:0.1px;height:0.1px;top:"+o+"px;left:"+a+"px",u.appendChild(h))),h}throw"Need document and parent."}function M(t,e){var n,i,s,a,o,r,h=H(t),l=t===h,c=h?E:k,d=t.parentNode;if(t===p)return t;if(c.length||c.push(J(t,1),J(t,2),J(t,3)),n=h?m:u,h)l?(a=-(s=function _getCTM(t){var e,n=t.getCTM();return n||(e=t.style[x],t.style[x]="none",t.appendChild(b),n=b.getCTM(),t.removeChild(b),e?t.style[x]=e:t.style.removeProperty(x.replace(/([A-Z])/g,"-$1").toLowerCase())),n||v.clone()}(t)).e/s.a,o=-s.f/s.d,i=v):t.getBBox?(s=t.getBBox(),a=(i=(i=t.transform?t.transform.baseVal:{}).numberOfItems?1<i.numberOfItems?function _consolidate(t){for(var e=new D,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e}(i):i.getItem(0).matrix:v).a*s.x+i.c*s.y,o=i.b*s.x+i.d*s.y):(i=new D,a=o=0),e&&"g"===t.tagName.toLowerCase()&&(a=o=0),(l?h:d).appendChild(n),n.setAttribute("transform","matrix("+i.a+","+i.b+","+i.c+","+i.d+","+(i.e+a)+","+(i.f+o)+")");else{if(a=o=0,y)for(i=t.offsetParent,s=t;(s=s&&s.parentNode)&&s!==i&&s.parentNode;)4<(p.getComputedStyle(s)[x]+"").length&&(a=s.offsetLeft,o=s.offsetTop,s=0);if("absolute"!==(r=p.getComputedStyle(t)).position&&"fixed"!==r.position)for(i=t.offsetParent;d&&d!==i;)a+=d.scrollLeft||0,o+=d.scrollTop||0,d=d.parentNode;(s=n.style).top=t.offsetTop-o+"px",s.left=t.offsetLeft-a+"px",s[x]=r[x],s[S]=r[S],s.position="fixed"===r.position?"fixed":"absolute",t.parentNode.appendChild(n)}return n}function N(t,e,n,i,s,a,o){return t.a=e,t.b=n,t.c=i,t.d=s,t.e=a,t.f=o,t}var g,p,f,_,u,m,v,b,y,e,x="transform",S=x+"Origin",E=[],k=[],D=((e=Matrix2D.prototype).inverse=function inverse(){var t=this.a,e=this.b,n=this.c,i=this.d,s=this.e,a=this.f,o=t*i-e*n||1e-10;return N(this,i/o,-e/o,-n/o,t/o,(n*a-i*s)/o,-(t*a-e*s)/o)},e.multiply=function multiply(t){var e=this.a,n=this.b,i=this.c,s=this.d,a=this.e,o=this.f,r=t.a,h=t.c,l=t.b,c=t.d,d=t.e,u=t.f;return N(this,r*e+l*i,r*n+l*s,h*e+c*i,h*n+c*s,a+d*e+u*i,o+d*n+u*s)},e.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function equals(t){var e=this.a,n=this.b,i=this.c,s=this.d,a=this.e,o=this.f;return e===t.a&&n===t.b&&i===t.c&&s===t.d&&a===t.e&&o===t.f},e.apply=function apply(t,e){void 0===e&&(e={});var n=t.x,i=t.y,s=this.a,a=this.b,o=this.c,r=this.d,h=this.e,l=this.f;return e.x=n*s+i*o+h||0,e.y=n*a+i*r+l||0,e},Matrix2D);function Matrix2D(t,e,n,i,s,a){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===i&&(i=1),void 0===s&&(s=0),void 0===a&&(a=0),N(this,t,e,n,i,s,a)}function getGlobalMatrix(t,e,n,i){if(!t||!t.parentNode||(g||B(t)).documentElement===t)return new D;var s=function _forceNonZeroScale(t){for(var e,n;t&&t!==_;)(n=t._gsap)&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e}(t),a=H(t)?E:k,o=M(t,n),r=a[0].getBoundingClientRect(),h=a[1].getBoundingClientRect(),l=a[2].getBoundingClientRect(),c=o.parentNode,d=!i&&function _isFixed(t){return"fixed"===p.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?_isFixed(t):void 0)}(t),u=new D((h.left-r.left)/100,(h.top-r.top)/100,(l.left-r.left)/100,(l.top-r.top)/100,r.left+(d?0:function _getDocScrollLeft(){return p.pageXOffset||g.scrollLeft||f.scrollLeft||_.scrollLeft||0}()),r.top+(d?0:function _getDocScrollTop(){return p.pageYOffset||g.scrollTop||f.scrollTop||_.scrollTop||0}()));if(c.removeChild(o),s)for(r=s.length;r--;)(h=s[r]).scaleX=h.scaleY=0,h.renderTransform(1,h);return e?u.inverse():u}function aa(){return!1}function na(t){t.preventDefault&&(t.preventDefault(),t.preventManipulation&&t.preventManipulation())}function oa(t){return T.createElementNS?T.createElementNS("http://www.w3.org/1999/xhtml",t):T.createElement(t)}function pa(t,e,n){var i,s=T.createElementNS("http://www.w3.org/2000/svg",t),a=/([a-z])([A-Z])/g;for(i in(n=n||{}).class=n.class||"path-editor",n)void 0!==s.style[i]?s.style[i]=n[i]:s.setAttributeNS(null,i.replace(a,"$1-$2").toLowerCase(),n[i]);return e.appendChild(s),s}function ra(t){return(t.transform&&t.transform.baseVal.consolidate()||at).matrix}function ua(t){return~~(1e3*t+(t<0?-.5:.5))/1e3}function xa(t){if(!t.target._gsSelection&&!$&&100<Y()-Z){for(var e=st.length;-1<--e;)st[e].deselect();st.length=0}}function Ba(t,e,n,i){if(t.addEventListener){var s=X[e];i=i||{passive:!1},t.addEventListener(s||e,n,i),s&&e!==s&&"pointer"!==s.substr(0,7)&&t.addEventListener(e,n,i)}else t.attachEvent&&t.attachEvent("on"+e,n)}function Ca(t,e,n){if(t.removeEventListener){var i=X[e];t.removeEventListener(i||e,n),i&&e!==i&&"pointer"!==i.substr(0,7)&&t.removeEventListener(e,n)}else t.detachEvent&&t.detachEvent("on"+e,n)}function Ea(t){ot=t.touches&&_dragCount<t.touches.length,Ca(t.target,"touchend",Ea)}function Fa(t){ot=t.touches&&_dragCount<t.touches.length,Ba(t.target,"touchend",Ea)}function Ga(e,n){return function(t){return e.call(n,t)}}function Ha(t,e,n){var i=e.vars[t];return i&&i.call(e.vars.callbackScope||e,n||e),e}function Ja(){I.style.display="block",I.select(),I.style.display="none"}function La(t){T=document,c=window,i=T.body,s=s||t||c.gsap||console.warn("Please gsap.registerPlugin(PathEditor)"),r=s&&s.core.context||function(){},a=oa("div"),(I=oa("textarea")).style.display="none",i&&i.appendChild(I),X=function(t){for(var e=t.split(","),n=(void 0!==a.onpointerdown?"pointerdown,pointermove,pointerup,pointercancel":void 0!==a.onmspointerdown?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),i={},s=4;-1<--s;)i[e[s]]=n[s],i[n[s]]=e[s];return i}("touchstart,touchmove,touchend,touchcancel"),SVGElement.prototype.getTransformToElement=SVGElement.prototype.getTransformToElement||function(t){return t.getScreenCTM().inverse().multiply(this.getScreenCTM())},T.addEventListener("keydown",function(t){var e,n,i,s,a=t.keyCode||t.which,o=t.key||a;if("Shift"===o||16===a)L=!0;else if("Control"===o||17===a)l=!0;else if("Meta"===o||91===a)d=!0;else if("Alt"===o||18===a)for(R=!0,e=st.length;-1<--e;)st[e]._onPressAlt();else if(("z"===o||90===a)&&(l||d)&&1<tt.length){if(tt.shift(),n=tt[0]){for((s=n.path).path.setAttribute("d",n.d),s.path.setAttribute("transform",n.transform),s.init(),i=s._anchors,e=0;e<i.length;e++)-1!==n.selectedIndexes.indexOf(i[e].i)&&s._selectedAnchors.push(i[e]);s._updateAnchors(),s.update(),s.vars.onUndo&&s.vars.onUndo.call(s)}}else if("Delete"===o||"Backspace"===o||8===a||46===a||63272===a||"d"===a&&(l||d))for(e=st.length;-1<--e;)st[e]._deleteSelectedAnchors();else if(("a"===o||65===a)&&(d||l))for(e=st.length;-1<--e;)st[e].select(!0)},!0),T.addEventListener("keyup",function(t){var e=t.key||t.keyCode||t.which;if("Shift"===e||16===e)L=!1;else if("Control"===e||17===e)l=!1;else if("Meta"===e||91===e)d=!1;else if("Alt"===e||18===e){R=!1;for(var n=st.length;-1<--n;)st[n]._onReleaseAlt()}},!0),h=!!c.PointerEvent,Ba(T,"mouseup",xa),Ba(T,"touchend",xa),Ba(T,"touchcancel",aa),Ba(c,"touchmove",aa),i&&i.addEventListener("touchstart",aa),G=1}function Ma(t){var e,n,i=this,s=getGlobalMatrix(i.target.parentNode,!0);this._matrix=this.target.transform.baseVal.getItem(0).matrix,this._ctm=s,X[t.type]?(e=-1!==t.type.indexOf("touch")?t.currentTarget||t.target:T,Ba(e,"touchend",i._onRelease),Ba(e,"touchmove",i._onMove),Ba(e,"touchcancel",i._onRelease),Ba(T,"touchstart",Fa),Ba(c,"touchforcechange",na)):(e=null,Ba(T,"mousemove",i._onMove)),h||Ba(T,"mouseup",i._onRelease),na(t),Ja(),t.changedTouches?(t=i.touch=t.changedTouches[0],i.touchID=t.identifier):t.pointerId?i.touchID=t.pointerId:i.touch=i.touchID=null,i._startPointerY=i.pointerY=t.pageY,i._startPointerX=i.pointerX=t.pageX,i._startElementX=i._matrix.e,i._startElementY=i._matrix.f,1===this._ctm.a&&0===this._ctm.b&&0===this._ctm.c&&1===this._ctm.d?this._ctm=null:(n=i._startPointerX*this._ctm.a+i._startPointerY*this._ctm.c+this._ctm.e,i._startPointerY=i._startPointerX*this._ctm.b+i._startPointerY*this._ctm.d+this._ctm.f,i._startPointerX=n),i.isPressed=$=!0,i.touchEventTarget=e,i.vars.onPress&&i.vars.onPress.call(i.vars.callbackScope||i,i.pointerEvent)}function Na(t){var e,n,i=this,s=t;if(i._enabled&&!ot&&i.isPressed&&t){if(e=(i.pointerEvent=t).changedTouches){if((t=e[0])!==i.touch&&t.identifier!==i.touchID){for(n=e.length;-1<--n&&(t=e[n]).identifier!==i.touchID;);if(n<0)return}}else if(t.pointerId&&i.touchID&&t.pointerId!==i.touchID)return;na(s),i.setPointerPosition(t.pageX,t.pageY),i.vars.onDrag&&i.vars.onDrag.call(i.vars.callbackScope||i,i.pointerEvent)}}function Oa(t,e){var n=this;if(n._enabled&&n.isPressed&&(!t||null==n.touchID||e||!(t.pointerId&&t.pointerId!==n.touchID||t.changedTouches&&!function _hasTouchID(t,e){for(var n=t.length;-1<--n;)if(t[n].identifier===e)return!0;return!1}(t.changedTouches,n.touchID)))){!function _interacted(){Z=Y()}(),n.isPressed=$=!1;var i,s,a=t,o=n.isDragging,r=n.touchEventTarget;if(r?(Ca(r,"touchend",n._onRelease),Ca(r,"touchmove",n._onMove),Ca(r,"touchcancel",n._onRelease),Ca(T,"touchstart",Fa)):Ca(T,"mousemove",n._onMove),h||(Ca(T,"mouseup",n._onRelease),t&&t.target&&Ca(t.target,"mouseup",n._onRelease)),o?n.isDragging=!1:n.vars.onClick&&n.vars.onClick.call(n.vars.callbackScope||n,a),t){if((i=t.changedTouches)&&(t=i[0])!==n.touch&&t.identifier!==n.touchID){for(s=i.length;-1<--s&&(t=i[s]).identifier!==n.touchID;);if(s<0)return}n.pointerEvent=a,n.pointerX=t.pageX,n.pointerY=t.pageY}return a&&!o&&n.vars.onDragRelease?n.vars.onDragRelease.call(n,n.pointerEvent):(a&&na(a),n.vars.onRelease&&n.vars.onRelease.call(n.vars.callbackScope||n,n.pointerEvent)),o&&n.vars.onDragEnd&&n.vars.onDragEnd.call(n.vars.callbackScope||n,n.pointerEvent),!0}}function Pa(t,e,n,i){var s,a=t[e],o=a.length-(a.closed?6:0),r=[];for(s=0;s<o;s+=6)r.push(new lt(n,t,e,s,i));return a.closed&&(r[0].isClosedStart=!0),r}function Qa(t,e,n){var i=t[n]-t[e],s=t[n+1]-t[e+1];return Math.sqrt(i*i+s*s)}var T,h,c,i,s,r,l,R,L,d,O,a,X,I,G,q,z=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,V="#4e7fff",Y=(Math.PI,Date.now||function(){return(new Date).getTime()}),Z=0,$=0,K={},tt=[],et={},nt=[],it=",",st=[],at={matrix:new D},ot=0,rt=((q=DraggableSVG.prototype).setPointerPosition=function setPointerPosition(t,e){var n,i,s,a,o;this.pointerX=t,this.pointerY=e,this._ctm&&(o=t*this._ctm.a+e*this._ctm.c+this._ctm.e,e=t*this._ctm.b+e*this._ctm.d+this._ctm.f,t=o),(i=e-this._startPointerY)<1&&-1<i&&(i=0),(n=t-this._startPointerX)<1&&-1<n&&(n=0),s=(1e3*(this._startElementX+n)|0)/1e3,a=(1e3*(this._startElementY+i)|0)/1e3,this.snap&&!L&&(et.x=s,et.y=a,this.snap.call(this,et),s=et.x,a=et.y),this.x===s&&this.y===a||(this._matrix.f=this.y=a,this._matrix.e=this.x=s,!this.isDragging&&this.isPressed&&(this.isDragging=!0,Ha("onDragStart",this,this.pointerEvent)))},q.enabled=function enabled(t){return arguments.length?((this._enabled=t)?(h||Ba(this.target,"mousedown",this._onPress),Ba(this.target,"touchstart",this._onPress),Ba(this.target,"click",this._onClick,!0)):(e=this.isDragging,Ca(this.target,"mousedown",this._onPress),Ca(this.target,"touchstart",this._onPress),Ca(c,"touchforcechange",na),Ca(this.target,"click",this._onClick),this.touchEventTarget&&(Ca(this.touchEventTarget,"touchcancel",this._onRelease),Ca(this.touchEventTarget,"touchend",this._onRelease),Ca(this.touchEventTarget,"touchmove",this._onMove)),Ca(T,"mouseup",this._onRelease),Ca(T,"mousemove",this._onMove),this.isDragging=this.isPressed=!1,e&&Ha("onDragEnd",this,this.pointerEvent)),this):this._enabled;var e},q.endDrag=function endDrag(t){this._onRelease(t)},DraggableSVG);function DraggableSVG(t,e){this.target="string"==typeof t?T.querySelectorAll(t)[0]:t,this.vars=e||{},this._onPress=Ga(Ma,this),this._onMove=Ga(Na,this),this._onRelease=Ga(Oa,this),this.target.setAttribute("transform",(this.target.getAttribute("transform")||"")+" translate(0,0)"),this._matrix=ra(this.target),this.x=this._matrix.e,this.y=this._matrix.f,this.snap=e.snap,isNaN(e.maxX)&&isNaN(e.minX)?this._bounds=0:(this._bounds=1,this.maxX=+e.maxX,this.minX=+e.minX),this.enabled(!0)}var ht,lt=((ht=Anchor.prototype).onPress=function onPress(){Ha("onPress",this)},ht.onClick=function onClick(){Ha("onClick",this)},ht.onDrag=function onDrag(){var t=this.segment;this.vars.onDrag.call(this.vars.callbackScope||this,this,this._draggable.x-t[this.i],this._draggable.y-t[this.i+1])},ht.onDragEnd=function onDragEnd(){Ha("onDragEnd",this)},ht.onRelease=function onRelease(){Ha("onRelease",this)},ht.update=function update(t,e,n){t&&(this.rawPath=t),arguments.length<=1?(e=this.j,n=this.i):(this.j=e,this.i=n);var i=this.smooth,s=this.rawPath[e],a=0===n&&s.closed?s.length-4:n-2;this.segment=s,this.smooth=0<n&&n<s.length-2&&Math.abs(Math.atan2(s[n+1]-s[1+a],s[n]-s[a])-Math.atan2(s[n+3]-s[n+1],s[n+2]-s[n]))<.09?2:0,this.smooth!==i&&this.element.setAttribute("d",this.smooth?this.editor._circleHandle:this.editor._squareHandle),this.element.setAttribute("transform","translate("+s[n]+","+s[n+1]+")")},Anchor);function Anchor(t,e,n,i,s){this.editor=t,this.element=pa("path",t._selection,{fill:V,stroke:V,strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this.update(e,n,i),this.element._gsSelection=!0,this.vars=s||{},this._draggable=new rt(this.element,{callbackScope:this,onDrag:this.onDrag,snap:this.vars.snap,onPress:this.onPress,onRelease:this.onRelease,onClick:this.onClick,onDragEnd:this.onDragEnd})}var ct,dt=((ct=PathEditor.prototype)._onRelease=function _onRelease(t){var e=this._editingAnchor;e&&(K.x=e.segment[e.i],K.y=e.segment[e.i+1]),Ca(c,"touchforcechange",na),Ha("onRelease",this,t)},ct.init=function init(){var t,e,n=this.path.getAttribute("d"),i=stringToRawPath(n),s=this.path.getAttribute("transform")||"translate(0,0)",a=!this._rawPath||i.totalPoints!==this._rawPath.totalPoints||i.length!==this._rawPath.length,o={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};if(a&&this._anchors&&this._anchors.length){for(e=0;e<this._anchors.length;e++)this._anchors[e].element.parentNode.removeChild(this._anchors[e].element),this._anchors[e]._draggable.enabled(!1);this._selectedAnchors.length=0}if(this._rawPath=i,a){if(this._anchors=Pa(i,0,this,o),1<(t=i.length))for(e=1;e<t;e++)this._anchors=this._anchors.concat(Pa(i,e,this,o))}else for(e=this._anchors.length;-1<--e;)this._anchors[e].update(i);return this._selection.appendChild(this._handle1),this._selection.appendChild(this._handle2),this._selectionPath.setAttribute("d",n),this._selectionHittest.setAttribute("d",n),this._g.setAttribute("transform",function _getConcatenatedTransforms(t){for(var e=ra(t),n=t.ownerSVGElement;(t=t.parentNode)&&t.ownerSVGElement===n;)e.multiply(ra(t));return"matrix("+e.a+","+e.b+","+e.c+","+e.d+","+e.e+","+e.f+")"}(this.path.parentNode)||"translate(0,0)"),this._selection.setAttribute("transform",s),this._selectionHittest.setAttribute("transform",s),this._updateAnchors(),this},ct._saveState=function _saveState(){!function _addHistory(t){var e,n=[],i=t._selectedAnchors;for(e=0;e<i.length;e++)n[e]=i[e].i;tt.unshift({path:t,d:t.path.getAttribute("d"),transform:t.path.getAttribute("transform")||"",selectedIndexes:n}),30<tt.length&&(tt.length=30)}(this)},ct._onClickSelectionPath=function _onClickSelectionPath(t){if("hidden"===this._selection.style.visibility)this.select();else if(R||t&&t.altKey){var e,i,s,a,o,r,h={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=this._selection.getScreenCTM().inverse();for(this._draggable&&this._draggable._onRelease(t),l&&(a=t.clientX*l.a+t.clientY*l.c+l.e,o=t.clientX*l.b+t.clientY*l.d+l.f),r=function getClosestData(t,e,n,i){var s,a,o,r,h={j:0,i:0,t:0},l=A;for(a=0;a<t.length;a++)for(r=t[a],s=0;s<r.length;s+=6)o=getClosestProgressOnBezier(1,e,n,0,1,i||20,r[s],r[s+1],r[s+2],r[s+3],r[s+4],r[s+5],r[s+6],r[s+7]),P<l&&(l=P,h.j=a,h.i=s,h.t=o);return h}(this._rawPath,a,o),function subdivideSegment(t,e,i){if(i<=0||1<=i)return 0;var s=t[e],a=t[e+1],o=t[e+2],r=t[e+3],h=t[e+4],l=t[e+5],c=s+(o-s)*i,d=o+(h-o)*i,u=a+(r-a)*i,g=r+(l-r)*i,p=c+(d-c)*i,f=u+(g-u)*i,_=h+(t[e+6]-h)*i,m=l+(t[e+7]-l)*i;return d+=(_-d)*i,g+=(m-g)*i,t.splice(e+2,4,n(c),n(u),n(p),n(f),n(p+(d-p)*i),n(f+(g-f)*i),n(d),n(g),n(_),n(m)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}(this._rawPath[r.j],r.i,r.t),e=r.i+6,i=0;i<this._anchors.length;i++)this._anchors[i].i>=e&&(this._anchors[i].i+=6);s=new lt(this,this._rawPath,r.j,e,h),this._selection.appendChild(this._handle1),this._selection.appendChild(this._handle2),s._draggable._onPress(t),O=s,this._anchors.push(s),this._selectedAnchors.length=0,this._selectedAnchors.push(s),this._updateAnchors(),this.update(),this._saveState()}Ja(),Ba(c,"touchforcechange",na),Ha("onPress",this)},ct._onClickHandle1=function _onClickHandle1(){var t=this._editingAnchor,e=t.i,n=t.segment,i=t.isClosedStart?n.length-4:e-2;R&&Math.abs(n[e]-n[i])<5&&Math.abs(n[e+1]-n[1+i])<5&&this._onClickAnchor(t)},ct._onClickHandle2=function _onClickHandle2(){var t=this._editingAnchor,e=t.i,n=t.segment;R&&Math.abs(n[e]-n[e+2])<5&&Math.abs(n[e+1]-n[e+3])<5&&this._onClickAnchor(t)},ct._onDragEndAnchor=function _onDragEndAnchor(){O=null,this._saveState()},ct.isSelected=function isSelected(){return 0<this._selectedAnchors.length},ct.select=function select(t){if(this._selection.style.visibility="visible",this._editingAnchor=null,(this.path._gsSelection=!0)===t)for(var e=this._anchors.length;-1<--e;)this._selectedAnchors[e]=this._anchors[e];return-1===st.indexOf(this)&&st.push(this),this._updateAnchors(),this},ct.deselect=function deselect(){return this._selection.style.visibility="hidden",this._selectedAnchors.length=0,this._editingAnchor=null,this.path._gsSelection=!1,st.splice(st.indexOf(this),1),this._updateAnchors(),this},ct._onDragPath=function _onDragPath(){var t=this._selectionHittest.getAttribute("transform")||"translate(0,0)";this._selection.setAttribute("transform",t),this.path.setAttribute("transform",t)},ct._onPressAnchor=function _onPressAnchor(t){-1===this._selectedAnchors.indexOf(t)?(L||(this._selectedAnchors.length=0),this._selectedAnchors.push(t)):L&&(this._selectedAnchors.splice(this._selectedAnchors.indexOf(t),1),t._draggable.endDrag()),K.x=t.segment[t.i],K.y=t.segment[t.i+1],this._updateAnchors(),Ha("onPress",this)},ct._deleteSelectedAnchors=function _deleteSelectedAnchors(){for(var t,e,n,i=this._selectedAnchors,s=i.length;-1<--s;)for((t=i[s]).element.parentNode.removeChild(t.element),t._draggable.enabled(!1),(e=t.i)?e<t.segment.length-2?t.segment.splice(e-2,6):t.segment.splice(e-4,6):t.segment.splice(e,6),i.splice(s,1),this._anchors.splice(this._anchors.indexOf(t),1),n=0;n<this._anchors.length;n++)this._anchors[n].i>=e&&(this._anchors[n].i-=6);this._updateAnchors(),this.update(),this._saveState(),this.vars.onDeleteAnchor&&this.vars.onDeleteAnchor.call(this.vars.callbackScope||this)},ct._onClickAnchor=function _onClickAnchor(t){var e,n,i,s,a,o,r=t.i,h=t.segment,l=t.isClosedStart?h.length-4:r-2,c=1e3,d=!r||r>=h.length-2;R&&O!==t&&this._editingAnchor?(t.smooth=!t.smooth,d&&!t.isClosedStart&&(t.smooth=!1),t.element.setAttribute("d",t.smooth?this._circleHandle:this._squareHandle),!t.smooth||d&&!t.isClosedStart?t.smooth||d&&!t.isClosedStart||((r||t.isClosedStart)&&(h[l]=h[r],h[1+l]=h[r+1]),r<h.length-2&&(h[r+2]=h[r],h[r+3]=h[r+1]),this._updateAnchors(),this.update(),this._saveState()):(e=((e=Math.atan2(h[r+1]-h[1+l],h[r]-h[l]))+(n=Math.atan2(h[r+3]-h[r+1],h[r+2]-h[r])))/2,i=Qa(h,l,r),s=Qa(h,r,r+2),i<.2&&(i=Qa(h,r,l-4)/4,e=n||Math.atan2(h[r+7]-h[l-3],h[r+6]-h[l-4])),s<.2&&(s=Qa(h,r,r+6)/4,n=e||Math.atan2(h[r+7]-h[l-3],h[r+6]-h[l-4])),a=Math.sin(e),o=Math.cos(e),Math.abs(n-e)<Math.PI/2&&(a=-a,o=-o),h[l]=((h[r]+o*i)*c|0)/c,h[1+l]=((h[r+1]+a*i)*c|0)/c,h[r+2]=((h[r]-o*s)*c|0)/c,h[r+3]=((h[r+1]-a*s)*c|0)/c,this._updateAnchors(),this.update(),this._saveState())):L||(this._selectedAnchors.length=0,this._selectedAnchors.push(t)),O=null,this._updateAnchors()},ct._updateAnchors=function _updateAnchors(){var t,e,n,i=1===this._selectedAnchors.length?this._selectedAnchors[0]:null,s=i?i.segment:null;for(this._editingAnchor=i,t=0;t<this._anchors.length;t++)this._anchors[t].element.style.fill=-1!==this._selectedAnchors.indexOf(this._anchors[t])?V:"white";i&&(this._handle1.setAttribute("d",i.smooth?this._circleHandle:this._squareHandle),this._handle2.setAttribute("d",i.smooth?this._circleHandle:this._squareHandle)),t=i?i.i:0,i&&(t||i.isClosedStart)?(e=i.isClosedStart?s[s.length-4]:s[t-2],n=i.isClosedStart?s[s.length-3]:s[t-1],this._handle1.style.visibility=this._line1.style.visibility=R||e!==s[t]||n!==s[t+1]?"visible":"hidden",this._handle1.setAttribute("transform","translate("+e+it+n+")"),this._line1.setAttribute("points",e+it+n+it+s[t]+it+s[t+1])):this._handle1.style.visibility=this._line1.style.visibility="hidden",i&&t<s.length-2?(e=s[t+2],n=s[t+3],this._handle2.style.visibility=this._line2.style.visibility=R||e!==s[t]||n!==s[t+1]?"visible":"hidden",this._handle2.setAttribute("transform","translate("+e+it+n+")"),this._line2.setAttribute("points",s[t]+it+s[t+1]+it+e+it+n)):this._handle2.style.visibility=this._line2.style.visibility="hidden"},ct._onPressAlt=function _onPressAlt(){var t=this._editingAnchor;t&&((t.i||t.isClosedStart)&&(this._handle1.style.visibility=this._line1.style.visibility="visible"),t.i<t.segment.length-2&&(this._handle2.style.visibility=this._line2.style.visibility="visible"))},ct._onReleaseAlt=function _onReleaseAlt(){var t,e,n,i=this._editingAnchor;i&&(t=i.segment,e=i.i,n=i.isClosedStart?t.length-4:e-2,t[e]===t[n]&&t[e+1]===t[1+n]&&(this._handle1.style.visibility=this._line1.style.visibility="hidden"),t[e]===t[e+2]&&t[e+1]===t[e+3]&&(this._handle2.style.visibility=this._line2.style.visibility="hidden"))},ct._onPressHandle1=function _onPressHandle1(){this._editingAnchor.smooth&&(this._oppositeHandleLength=Qa(this._editingAnchor.segment,this._editingAnchor.i,this._editingAnchor.i+2)),Ha("onPress",this)},ct._onPressHandle2=function _onPressHandle2(){this._editingAnchor.smooth&&(this._oppositeHandleLength=Qa(this._editingAnchor.segment,this._editingAnchor.isClosedStart?this._editingAnchor.segment.length-4:this._editingAnchor.i-2,this._editingAnchor.i)),Ha("onPress",this)},ct._onReleaseHandle=function _onReleaseHandle(t){this._onRelease(t),this._saveState()},ct._onDragHandle1=function _onDragHandle1(){var t,e=this._editingAnchor,n=e.segment,i=e.i,s=e.isClosedStart?n.length-4:i-2,a=1e3,o=this._handle1._draggable.x,r=this._handle1._draggable.y;n[s]=o=(o*a|0)/a,n[1+s]=r=(r*a|0)/a,e.smooth&&(R?(e.smooth=!1,e.element.setAttribute("d",this._squareHandle),this._handle1.setAttribute("d",this._squareHandle),this._handle2.setAttribute("d",this._squareHandle)):(t=Math.atan2(n[i+1]-r,n[i]-o),o=this._oppositeHandleLength*Math.cos(t),r=this._oppositeHandleLength*Math.sin(t),n[i+2]=((n[i]+o)*a|0)/a,n[i+3]=((n[i+1]+r)*a|0)/a)),this.update()},ct._onDragHandle2=function _onDragHandle2(){var t,e=this._editingAnchor,n=e.segment,i=e.i,s=e.isClosedStart?n.length-4:i-2,a=1e3,o=this._handle2._draggable.x,r=this._handle2._draggable.y;n[i+2]=o=(o*a|0)/a,n[i+3]=r=(r*a|0)/a,e.smooth&&(R?(e.smooth=!1,e.element.setAttribute("d",this._squareHandle),this._handle1.setAttribute("d",this._squareHandle),this._handle2.setAttribute("d",this._squareHandle)):(t=Math.atan2(n[i+1]-r,n[i]-o),o=this._oppositeHandleLength*Math.cos(t),r=this._oppositeHandleLength*Math.sin(t),n[s]=((n[i]+o)*a|0)/a,n[1+s]=((n[i+1]+r)*a|0)/a)),this.update()},ct._onDragAnchor=function _onDragAnchor(t,e,n){var i,s,a,o,r,h=this._selectedAnchors,l=h.length,c=1e3;for(s=0;s<l;s++)i=(o=h[s]).i,a=o.segment,i?(a[i-2]=((a[i-2]+e)*c|0)/c,a[i-1]=((a[i-1]+n)*c|0)/c):o.isClosedStart&&(a[r=a.length-2]=ua(a[r]+e),a[1+r]=ua(a[1+r]+n),a[r-2]=ua(a[r-2]+e),a[r-1]=ua(a[r-1]+n)),a[i]=((a[i]+e)*c|0)/c,a[i+1]=((a[i+1]+n)*c|0)/c,i<a.length-2&&(a[i+2]=((a[i+2]+e)*c|0)/c,a[i+3]=((a[i+3]+n)*c|0)/c),o!==t&&o.element.setAttribute("transform","translate("+a[i]+it+a[i+1]+")");this.update()},ct.enabled=function enabled(t){if(!arguments.length)return this._enabled;for(var e=this._anchors.length;-1<--e;)this._anchors[e]._draggable.enabled(t);return this._enabled=t,this._handle1._draggable.enabled(t),this._handle2._draggable.enabled(t),this._draggable&&this._draggable.enabled(t),t?this._selection.parentNode||(this.path.ownerSVGElement.appendChild(this._selectionHittest),this.path.ownerSVGElement.appendChild(this._selection),this.init(),this._saveState()):(this.deselect(),this._selectionHittest.parentNode&&this._selectionHittest.parentNode.removeChild(this._selectionHittest),this._selection.parentNode&&this._selection.parentNode.removeChild(this._selection)),this._updateAnchors(),this.update()},ct.update=function update(t){var e,n,i,s,a,o="",r=this._editingAnchor;if(t&&this.init(),r&&(e=r.i,n=r.segment,(e||r.isClosedStart)&&(i=n[a=r.isClosedStart?n.length-4:e-2],s=n[1+a],this._handle1.setAttribute("transform","translate("+i+it+s+")"),this._line1.setAttribute("points",i+it+s+it+n[e]+it+n[e+1])),e<n.length-2&&(i=n[e+2],s=n[e+3],this._handle2.setAttribute("transform","translate("+i+it+s+")"),this._line2.setAttribute("points",n[e]+it+n[e+1]+it+i+it+s))),t)o=this.path.getAttribute("d");else{for(e=0;e<this._rawPath.length;e++)7<(n=this._rawPath[e]).length&&(o+="M"+n[0]+it+n[1]+"C"+n.slice(2).join(it));this.path.setAttribute("d",o),this._selectionPath.setAttribute("d",o),this._selectionHittest.setAttribute("d",o)}return this.vars.onUpdate&&this._enabled&&Ha("onUpdate",this,o),this},ct.getRawPath=function getRawPath(t,e,n){if(t){var i=ra(this.path);return transformRawPath(copyRawPath(this._rawPath),1,0,0,1,i.e+(e||0),i.f+(n||0))}return this._rawPath},ct.getString=function getString(t,e,i){if(t){var s=ra(this.path);return function rawPathToString(t){!function _isNumber(t){return"number"==typeof t}(t[0])||(t=[t]);var e,i,s,a,o="",r=t.length;for(i=0;i<r;i++){for(a=t[i],o+="M"+n(a[0])+","+n(a[1])+" C",e=a.length,s=2;s<e;s++)o+=n(a[s++])+","+n(a[s++])+" "+n(a[s++])+","+n(a[s++])+" "+n(a[s++])+","+n(a[s])+" ";a.closed&&(o+="z")}return o}(transformRawPath(copyRawPath(this._rawPath),1,0,0,1,s.e+(e||0),s.f+(i||0)))}return this.path.getAttribute("d")},ct.getNormalizedSVG=function getNormalizedSVG(t,e,n,i){var s,a,o,r,h,l,c=this._rawPath[0],d=-1*c[0],u=0===e?0:-(e||c[1]),g=c.length,p=1/(c[g-2]+d),f=-t||c[g-1]+u;for(f=f?1/f:-p,p*=1e3,f*=1e3,a=nt.length=0;a<g;a+=2)nt[a]=((c[a]+d)*p|0)/1e3,nt[a+1]=((c[a+1]+u)*f|0)/1e3;if(i){for(s=[],g=nt.length,a=2;a<g;a+=6)o=nt[a-2],r=nt[a-1],h=nt[a+4],l=nt[a+5],s.push(o,r,h,l),bezierToPoints(o,r,nt[a],nt[a+1],nt[a+2],nt[a+3],h,l,.001,s,s.length-2);for(o=s[0],g=s.length,a=2;a<g;a+=2){if((h=s[a])<o||1<h||h<0){i();break}o=h}}return n&&8===g&&0===nt[0]&&0===nt[1]&&1===nt[g-2]&&1===nt[g-1]?nt.slice(2,6).join(","):(nt[2]="C"+nt[2],"M"+nt.join(","))},ct.kill=function kill(){this.enabled(!1),this._g.parentNode&&this._g.parentNode.removeChild(this._g)},ct.revert=function revert(){this.kill()},PathEditor);function PathEditor(t,e){e=e||{},G||La(),this.vars=e,this.path="string"==typeof t?T.querySelectorAll(t)[0]:t,this._g=pa("g",this.path.ownerSVGElement,{class:"path-editor-g path-editor"}),this._selectionHittest=pa("path",this._g,{stroke:"transparent",strokeWidth:16,fill:"none",vectorEffect:"non-scaling-stroke"}),this._selection=e._selection||pa("g",this._g,{class:"path-editor-selection path-editor"}),this._selectionPath=pa("path",this._selection,{stroke:V,strokeWidth:2,fill:"none",vectorEffect:"non-scaling-stroke"}),this._selectedAnchors=[],this._line1=pa("polyline",this._selection,{stroke:V,strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this._line2=pa("polyline",this._selection,{stroke:V,strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this._line1.style.pointerEvents=this._line2.style.pointerEvents=this._selectionPath.style.pointerEvents="none",this._enabled=!0;var n=this.path.parentNode.getScreenCTM().inverse(),i=(n.a+n.d)/2*(e.handleSize||5);this._squareHandle=function _getSquarePathData(t){return["M-"+(t=ua(t)),-t,t,-t,t,t,-t,t+"z"].join(it)}(i),this._circleHandle=function _getCirclePathData(t){var e=ua(.552284749831*t);return"M"+(t=ua(t))+",0C"+[t,e,e,t,0,t,-e,t,-t,e,-t,0,-t,-e,-e,-t,0,-t,e,-t,t,-e,t,0].join(it)+"z"}(1.15*i),this._handle1=pa("path",this._selection,{d:this._squareHandle,fill:V,stroke:"transparent",strokeWidth:6}),this._handle2=pa("path",this._selection,{d:this._squareHandle,fill:V,stroke:"transparent",strokeWidth:6}),this._handle1._draggable=new rt(this._handle1,{onDrag:this._onDragHandle1,callbackScope:this,onPress:this._onPressHandle1,onRelease:this._onReleaseHandle,onClick:this._onClickHandle1,snap:e.handleSnap}),this._handle2._draggable=new rt(this._handle2,{onDrag:this._onDragHandle2,callbackScope:this,onPress:this._onPressHandle2,onRelease:this._onReleaseHandle,onClick:this._onClickHandle2,snap:e.handleSnap}),this._handle1.style.visibility=this._handle2.style.visibility="hidden";for(var s=[this._handle1,this._handle2,this._line1,this._line2,this._selection,this._selectionPath,this._selectionHittest],a=s.length;-1<--a;)s[a]._gsSelection=!0;!1!==e.draggable&&(this._draggable=new rt(this._selectionHittest,{callbackScope:this,onPress:this.select,onRelease:this._onRelease,onDrag:this._onDragPath,onDragEnd:this._saveState,maxX:this.vars.maxX,minX:this.vars.minX})),this.init(),this._selection.style.visibility=!1===e.selected?"hidden":"visible",!1!==e.selected&&(this.path._gsSelection=!0,st.push(this)),this._saveState(),h||(Ba(this._selectionHittest,"mousedown",Ga(this._onClickSelectionPath,this)),Ba(this._selectionHittest,"mouseup",Ga(this._onRelease,this))),Ba(this._selectionHittest,"touchstart",Ga(this._onClickSelectionPath,this)),Ba(this._selectionHittest,"touchend",Ga(this._onRelease,this)),r(this)}dt.simplifyPoints=simplifyPoints,dt.pointsToSegment=pointsToSegment,dt.simplifySVG=function(t,e){var n,i,s,a,o,r,h,l,c,d,u;if(d=(e=e||{}).tolerance||1,c=e.precision||1/d,void 0===e.cornerThreshold||e.cornerThreshold,"string"!=typeof t&&(t=(n=t).getAttribute("d")),"#"!==t.charAt(0)&&"."!==t.charAt(0)||(n=T.querySelector(t))&&(t=n.getAttribute("d")),i=!1!==e.curved||/[achqstvz]/gi.test(t)?stringToRawPath(t)[0]:t.match(z),!1!==e.curved){for(l=i,i=[],u=l.length,s=2;s<u;s+=6)a=+l[s-2],r=+l[s-1],o=+l[s+4],h=+l[s+5],i.push(ua(a),ua(r),ua(o),ua(h)),bezierToPoints(a,r,+l[s],+l[s+1],+l[s+2],+l[s+3],o,h,1/(2e5*c),i,i.length-2);(i=pointsToSegment(simplifyPoints(i,d),e.curviness))[2]="C"+i[2]}else i=simplifyPoints(i,d);return t="M"+i.join(","),n&&n.setAttribute("d",t),t},dt.create=function(t,e){return new dt(t,e)},dt.editingAxis=K,dt.getSnapFunction=function(t){var r=t.radius||2,e=1e20,h=t.x||0===t.x?t.x:t.width?0:-e,l=t.y||0===t.y?t.y:t.height?0:-e,c=h+(t.width||1e40),d=l+(t.height||1e40),u=!1!==t.containX,g=!1!==t.containY,p=t.axis,f=t.gridSize;return r*=r,function(t){var e,n,i,s,a=t.x,o=t.y;u&&a<h||(i=a-h)*i<r?a=h:(u&&c<a||(i=c-a)*i<r)&&(a=c),g&&o<l||(s=o-l)*s<r?o=l:(g&&d<o||(s=d-o)*s<r)&&(o=d),p&&(i=a-p.x,s=o-p.y,i*i<r&&(a=p.x),s*s<r&&(o=p.y)),f&&(i=(e=h+Math.round((a-h)/f)*f)-a)*i+(s=(n=l+Math.round((o-l)/f)*f)-o)*s<r&&(a=e,o=n),t.x=a,t.y=o}},dt.version="3.11.5",dt.register=La;function db(){return String.fromCharCode.apply(null,arguments)}function hb(t){return"string"==typeof t}function ib(t,e){var n=pt.createElementNS?pt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):pt.createElement(t);return n.style?n:pt.createElement(t)}function ob(t,e,n){return hb(t)&&Ct.test(t)?pt.querySelector(t):Array.isArray(t)?bt(vt([{x:ut.getProperty(e,"x"),y:ut.getProperty(e,"y")}].concat(t),n)):hb(t)||t&&"path"===(t.tagName+"").toLowerCase()?t:0}function tb(t,e){var n="Please gsap.registerPlugin(MotionPathPlugin)";gt=window,(ut=ut||t||gt.gsap||console.warn(n))&&dt.register(ut),pt=document,_t=pt.body,ft=pt.documentElement,ut&&(mt=ut.plugins.motionPath,yt=ut.core.context||function(){}),mt?(function _initCopyToClipboard(){(Pt=ib("textarea")).style.display="none",_t.appendChild(Pt)}(),vt=mt.arrayToRawPath,bt=mt.rawPathToString):!0===e&&console.warn(n)}var ut,gt,pt,ft,_t,mt,vt,bt,yt,Pt,At="MotionPathHelper",wt=db(103,114,101,101,110,115,111,99,107,46,99,111,109),Ct=(function(t){var e="undefined"!=typeof window,n=0===(e?window.location.href:"").indexOf(db(102,105,108,101,58,47,47))||-1!==t.indexOf(db(108,111,99,97,108,104,111,115,116))||-1!==t.indexOf(db(49,50,55,46,48,32,48,46,49)),i=[wt,db(99,111,100,101,112,101,110,46,105,111),db(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),db(99,111,100,101,112,101,110,46,100,101,118),db(99,111,100,101,112,101,110,46,97,112,112),db(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),db(112,101,110,115,46,99,108,111,117,100),db(99,115,115,45,116,114,105,99,107,115,46,99,111,109),db(99,100,112,110,46,105,111),db(112,101,110,115,46,105,111),db(103,97,110,110,111,110,46,116,118),db(99,111,100,101,99,97,110,121,111,110,46,110,101,116),db(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),db(99,101,114,101,98,114,97,120,46,99,111,46,117,107),db(116,121,109,112,97,110,117,115,46,110,101,116),db(116,119,101,101,110,109,97,120,46,99,111,109),db(112,108,110,107,114,46,99,111),db(104,111,116,106,97,114,46,99,111,109),db(119,101,98,112,97,99,107,98,105,110,46,99,111,109),db(97,114,99,104,105,118,101,46,111,114,103),db(99,111,100,101,115,97,110,100,98,111,120,46,105,111),db(99,115,98,46,97,112,112),db(115,116,97,99,107,98,108,105,116,122,46,99,111,109),db(115,116,97,99,107,98,108,105,116,122,46,105,111),db(99,111,100,105,101,114,46,105,111),db(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),db(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),db(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),db(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),db(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),db(106,115,102,105,100,100,108,101,46,110,101,116)],s=i.length;for(setTimeout(function checkWarn(){e&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),e&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(db(37,99,87,97,114,110,105,110,103),db(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(db(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+At+db(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(db(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),db(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--s;)if(-1!==t.indexOf(i[s]))return;n||setTimeout(function(){e&&(window.location.href=db(104,116,116,112,115,58,47,47)+wt+db(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+At+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),/(^[#\.][a-z]|[a-y][a-z])/i),xt={matrix:{a:1,b:0,c:0,d:1,e:0,f:0}},St=(MotionPathHelper.prototype.getString=function getString(){return this.editor.getString(!0,-this.offset.x,-this.offset.y)},MotionPathHelper);function MotionPathHelper(t,e){var n=this;void 0===e&&(e={}),mt||tb(e.gsap,1);var i,s,a,o,r,h,l,c,d,u,g,p,f,_=ib("div"),m=this,v={x:0,y:0};t instanceof ut.core.Tween?i=(c=t).targets()[0]:(i=ut.utils.toArray(t)[0],c=function _findMotionPathTween(t){for(var e=ut.getTweensOf(t),n=0;n<e.length;n++){if(e[n].vars.motionPath)return e[n];e[n].timeline&&e.push.apply(e,e[n].timeline.getChildren())}}(i)),s=ob(e.path,i,e),this.offset=v,h=function _getPositionOnPage(t){var e=t.getBoundingClientRect(),n=ft.clientTop-(gt.pageYOffset||ft.scrollTop||_t.scrollTop||0),i=ft.clientLeft-(gt.pageXOffset||ft.scrollLeft||_t.scrollLeft||0);return{left:e.left+i,top:e.top+n,right:e.right+i,bottom:e.bottom+n}}(i),o=parseFloat(ut.getProperty(i,"x","px")),r=parseFloat(ut.getProperty(i,"y","px")),a=i.getCTM&&"svg"!==i.tagName.toLowerCase(),c&&!s&&(s=ob(c.vars.motionPath.path||c.vars.motionPath,i,c.vars.motionPath)),_.setAttribute("class","copy-motion-path"),_.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",_.innerText="COPY MOTION PATH",_._gsHelper=m,(ut.utils.toArray(e.container)[0]||_t).appendChild(_),function _addCopyToClipboard(n,i,s){n.addEventListener("click",function(t){if(t.target._gsHelper){var e=i(t.target);if((Pt.value=e)&&Pt.select){console.log(e),Pt.style.display="block",Pt.select();try{pt.execCommand("copy"),Pt.blur(),s&&s(n)}catch(t){console.warn("Copy didn't work; this browser doesn't permit that.")}Pt.style.display="none"}}})}(_,function(){return m.getString()},function(){return ut.fromTo(_,{backgroundColor:"white"},{duration:.5,backgroundColor:"rgba(85, 85, 85, 0.6)"})}),(l=s&&s.ownerSVGElement)?(e.pathColor&&ut.set(s,{stroke:e.pathColor}),e.pathWidth&&ut.set(s,{strokeWidth:e.pathWidth}),e.pathOpacity&&ut.set(s,{opacity:e.pathOpacity})):(d=a&&i.ownerSVGElement&&i.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg",a?(l=i.ownerSVGElement,u=i.getBBox(),o=(g=function _getConsolidatedMatrix(t){return(t.transform.baseVal.consolidate()||xt).matrix}(i)).e,r=g.f,v.x=u.x,v.y=u.y):(l=ib("svg",d),_t.appendChild(l),l.setAttribute("viewBox","0 0 100 100"),l.setAttribute("class","motion-path-helper"),l.style.cssText="overflow:visible; background-color: transparent; position:absolute; z-index:5000; width:100px; height:100px; top:"+(h.top-r)+"px; left:"+(h.left-o)+"px;"),u=hb(s)&&!Ct.test(s)?s:function _getInitialPath(t,e){var n,i=[0,31,8,58,24,75,40,90,69,100,100,100];for(n=0;n<i.length;n+=2)i[n]+=t,i[n+1]+=e;return"M"+t+","+e+"C"+i.join(",")}(o,r),(s=ib("path",d)).setAttribute("d",u),s.setAttribute("vector-effect","non-scaling-stroke"),s.style.cssText="fill:transparent; stroke-width:"+(e.pathWidth||3)+"; stroke:"+(e.pathColor||"#555")+"; opacity:"+(e.pathOpacity||.6),l.appendChild(s)),(v.x||v.y)&&ut.set(s,{x:v.x,y:v.y}),"selected"in e||(e.selected=!0),"anchorSnap"in e||(e.anchorSnap=function(t){t.x*t.x+t.y*t.y<16&&(t.x=t.y=0)}),f=c&&"nested"===c.parent.data?c.parent.parent:c,e.onPress=function(){f.pause(0)},p=function refreshPath(){c.invalidate(),f.restart()},e.onRelease=e.onDeleteAnchor=p,this.editor=dt.create(s,e),e.center&&ut.set(i,{transformOrigin:"50% 50%",xPercent:-50,yPercent:-50}),c?(c.vars.motionPath.path?c.vars.motionPath.path=s:c.vars.motionPath={path:s},f.parent!==ut.globalTimeline&&ut.globalTimeline.add(f,function _getGlobalTime(t){for(var e=t.totalTime();t;)e=t.startTime()+e/(t.timeScale()||1),t=t.parent;return e}(f)-f.delay()),f.repeat(-1).repeatDelay(1)):c=f=ut.to(i,{motionPath:{path:s,start:e.start||0,end:"end"in e?e.end:1,autoRotate:"autoRotate"in e&&e.autoRotate,align:s,alignOrigin:e.alignOrigin},duration:e.duration||5,ease:e.ease||"power1.inOut",repeat:-1,repeatDelay:1,paused:!e.path}),this.animation=c,yt(this),this.kill=this.revert=function(){n.editor.kill(),_.parentNode&&_.parentNode.removeChild(_),a||l.parentNode&&l.parentNode.removeChild(l),f&&f.revert()}}St.register=tb,St.create=function(t,e){return new St(t,e)},St.editPath=function(t,e){return dt.create(t,e)},St.version="3.11.5",t.MotionPathHelper=St,t.default=St;if (typeof(window)==="undefined"||window!==t){Object.defineProperty(t,"__esModule",{value:!0})} else {delete t.default}});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function n(t){return Math.round(1e5*t)/1e5||0}function o(t,e){return e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e}var P,w=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,C=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,Y=Math.PI/180,W=Math.sin,F=Math.cos,Q=Math.abs,U=Math.sqrt,A=1e8;function copyRawPath(t){for(var e=[],n=0;n<t.length;n++)e[n]=o(t[n],t[n].slice(0));return o(t,e)}function transformRawPath(t,e,n,i,s,a,o){for(var r,h,l,c,d,u=t.length;-1<--u;)for(h=(r=t[u]).length,l=0;l<h;l+=2)c=r[l],d=r[l+1],r[l]=c*e+d*i+a,r[l+1]=c*n+d*s+o;return t._dirty=1,t}function arcToSegment(t,e,n,i,s,a,o,r,h){if(t!==r||e!==h){n=Q(n),i=Q(i);var l=s%360*Y,c=F(l),d=W(l),u=Math.PI,g=2*u,p=(t-r)/2,f=(e-h)/2,_=c*p+d*f,m=-d*p+c*f,v=_*_,b=m*m,y=v/(n*n)+b/(i*i);1<y&&(n=U(y)*n,i=U(y)*i);var P=n*n,A=i*i,w=(P*A-P*b-A*v)/(P*b+A*v);w<0&&(w=0);var C=(a===o?-1:1)*U(w),S=n*m/i*C,x=-i*_/n*C,E=c*S-d*x+(t+r)/2,k=d*S+c*x+(e+h)/2,M=(_-S)/n,D=(m-x)/i,H=(-_-S)/n,T=(-m-x)/i,N=M*M+D*D,R=(D<0?-1:1)*Math.acos(M/U(N)),L=(M*T-D*H<0?-1:1)*Math.acos((M*H+D*T)/U(N*(H*H+T*T)));isNaN(L)&&(L=u),!o&&0<L?L-=g:o&&L<0&&(L+=g),R%=g,L%=g;var B,O=Math.ceil(Q(L)/(g/4)),X=[],I=L/O,G=4/3*W(I/2)/(1+F(I/2)),q=c*n,z=d*n,V=d*-i,j=c*i;for(B=0;B<O;B++)_=F(s=R+B*I),m=W(s),M=F(s+=I),D=W(s),X.push(_-G*m,m+G*_,M+G*D,D-G*M,M,D);for(B=0;B<X.length;B+=2)_=X[B],m=X[B+1],X[B]=_*q+m*V+E,X[B+1]=_*z+m*j+k;return X[B-2]=r,X[B-1]=h,X}}function stringToRawPath(t){function yd(t,e,n,i){c=(n-t)/3,d=(i-e)/3,r.push(t+c,e+d,n-c,i-d,n,i)}var e,n,i,s,a,o,r,h,l,c,d,u,g,p,f,_=(t+"").replace(C,function(t){var e=+t;return e<1e-4&&-1e-4<e?0:e}).match(w)||[],m=[],v=0,b=0,y=_.length,P=0,A="ERROR: malformed path: "+t;if(!t||!isNaN(_[0])||isNaN(_[1]))return console.log(A),m;for(e=0;e<y;e++)if(g=a,isNaN(_[e])?o=(a=_[e].toUpperCase())!==_[e]:e--,i=+_[e+1],s=+_[e+2],o&&(i+=v,s+=b),e||(h=i,l=s),"M"===a)r&&(r.length<8?--m.length:P+=r.length),v=h=i,b=l=s,r=[i,s],m.push(r),e+=2,a="L";else if("C"===a)o||(v=b=0),(r=r||[0,0]).push(i,s,v+1*_[e+3],b+1*_[e+4],v+=1*_[e+5],b+=1*_[e+6]),e+=6;else if("S"===a)c=v,d=b,"C"!==g&&"S"!==g||(c+=v-r[r.length-4],d+=b-r[r.length-3]),o||(v=b=0),r.push(c,d,i,s,v+=1*_[e+3],b+=1*_[e+4]),e+=4;else if("Q"===a)c=v+2/3*(i-v),d=b+2/3*(s-b),o||(v=b=0),v+=1*_[e+3],b+=1*_[e+4],r.push(c,d,v+2/3*(i-v),b+2/3*(s-b),v,b),e+=4;else if("T"===a)c=v-r[r.length-4],d=b-r[r.length-3],r.push(v+c,b+d,i+2/3*(v+1.5*c-i),s+2/3*(b+1.5*d-s),v=i,b=s),e+=2;else if("H"===a)yd(v,b,v=i,b),e+=1;else if("V"===a)yd(v,b,v,b=i+(o?b-v:0)),e+=1;else if("L"===a||"Z"===a)"Z"===a&&(i=h,s=l,r.closed=!0),("L"===a||.5<Q(v-i)||.5<Q(b-s))&&(yd(v,b,i,s),"L"===a&&(e+=2)),v=i,b=s;else if("A"===a){if(p=_[e+4],f=_[e+5],c=_[e+6],d=_[e+7],n=7,1<p.length&&(p.length<3?(d=c,c=f,n--):(d=f,c=p.substr(2),n-=2),f=p.charAt(1),p=p.charAt(0)),u=arcToSegment(v,b,+_[e+1],+_[e+2],+_[e+3],+p,+f,(o?v:0)+1*c,(o?b:0)+1*d),e+=n,u)for(n=0;n<u.length;n++)r.push(u[n]);v=r[r.length-2],b=r[r.length-1]}else console.log(A);return(e=r.length)<6?(m.pop(),e=0):r[0]===r[e-2]&&r[1]===r[e-1]&&(r.closed=!0),m.totalPoints=P+e,m}function bezierToPoints(t,e,n,i,s,a,o,r,h,l,c){var d,u=(t+n)/2,g=(e+i)/2,p=(n+s)/2,f=(i+a)/2,_=(s+o)/2,m=(a+r)/2,v=(u+p)/2,b=(g+f)/2,y=(p+_)/2,P=(f+m)/2,A=(v+y)/2,w=(b+P)/2,C=o-t,S=r-e,x=Q((n-o)*S-(i-r)*C),E=Q((s-o)*S-(a-r)*C);return l||(l=[t,e,o,r],c=2),l.splice(c||l.length-2,0,A,w),h*(C*C+S*S)<(x+E)*(x+E)&&(d=l.length,bezierToPoints(t,e,u,g,v,b,A,w,h,l,c),bezierToPoints(A,w,y,P,_,m,o,r,h,l,c+2+(l.length-d))),l}function pointsToSegment(t,e){Q(t[0]-t[2])<1e-4&&Q(t[1]-t[3])<1e-4&&(t=t.slice(2));var i,s,a,o,r,h,l,c,d,u,g,p,f,_,m=t.length-2,v=+t[0],b=+t[1],y=+t[2],P=+t[3],A=[v,b,v,b],w=y-v,C=P-b,S=Math.abs(t[m]-v)<.001&&Math.abs(t[m+1]-b)<.001;for(S&&(t.push(y,P),y=v,P=b,v=t[m-2],b=t[m-1],t.unshift(v,b),m+=4),e=e||0===e?+e:1,a=2;a<m;a+=2)i=v,s=b,v=y,b=P,y=+t[a+2],P=+t[a+3],v===y&&b===P||(o=w,r=C,w=y-v,C=P-b,c=((h=U(o*o+r*r))+(l=U(w*w+C*C)))*e*.25/U(Math.pow(w/l+o/h,2)+Math.pow(C/l+r/h,2)),g=v-((d=v-(v-i)*(h?c/h:0))+(((u=v+(y-v)*(l?c/l:0))-d)*(3*h/(h+l)+.5)/4||0)),_=b-((p=b-(b-s)*(h?c/h:0))+(((f=b+(P-b)*(l?c/l:0))-p)*(3*h/(h+l)+.5)/4||0)),v===i&&b===s||A.push(n(d+g),n(p+_),n(v),n(b),n(u+g),n(f+_)));return v!==y||b!==P||A.length<4?A.push(n(y),n(P),n(y),n(P)):A.length-=2,2===A.length?A.push(v,b,v,b,v,b):S&&(A.splice(0,6),A.length=A.length-6),A}function simplifyPoints(t,e){var n,i,s,a,o,r,h,l=parseFloat(t[0]),c=parseFloat(t[1]),d=[l,c],u=t.length-2;for(e=Math.pow(e||1,2),n=2;n<u;n+=2)e<(a=l-(i=parseFloat(t[n])))*a+(o=c-(s=parseFloat(t[n+1])))*o&&(d.push(i,s),l=i,c=s);return d.push(parseFloat(t[u]),parseFloat(t[1+u])),function simplifyStep(t,e,n,i,s){var a,o,r,h,l,c,d,u,g,p,f,_,m=i,v=t[e],b=t[e+1],y=t[n],P=t[n+1];for(o=e+2;o<n;o+=2)h=t[o],l=t[o+1],p=void 0,_=(g=P)-(d=b),((f=(u=y)-(c=v))||_)&&(1<(p=((h-c)*f+(l-d)*_)/(f*f+_*_))?(c=u,d=g):0<p&&(c+=f*p,d+=_*p)),m<(r=Math.pow(h-c,2)+Math.pow(l-d,2))&&(a=o,m=r);i<m&&(2<a-e&&simplifyStep(t,e,a,i,s),s.push(t[a],t[a+1]),2<n-a&&simplifyStep(t,a,n,i,s))}(d,0,h=d.length-2,e,r=[d[0],d[1]]),r.push(d[h],d[1+h]),r}function getClosestProgressOnBezier(t,e,n,i,s,a,o,r,h,l,c,d,u,g){var p,f,_,m,v=(s-i)/a,b=0,y=i;for(P=A;y<=s;)(p=(f=(m=1-y)*m*m*o+3*m*m*y*h+3*m*y*y*c+y*y*y*u-e)*f+(_=m*m*m*r+3*m*m*y*l+3*m*y*y*d+y*y*y*g-n)*_)<P&&(P=p,b=y),y+=v;return 1<t?getClosestProgressOnBezier(t-1,e,n,Math.max(b-v,0),Math.min(b+v,1),a,o,r,h,l,c,d,u,g):b}function B(t){var e=t.ownerDocument||t;!(S in t.style)&&"msTransform"in t.style&&(x=(S="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(p=window,v=new D,e){f=(g=e).documentElement,_=e.body,(b=g.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=e.createElement("div"),i=e.createElement("div");_.appendChild(n),n.appendChild(i),n.style.position="static",n.style[S]="translate3d(0,0,1px)",y=i.offsetParent!==n,_.removeChild(n)}return e}function H(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)}function J(t,e){if(t.parentNode&&(g||B(t))){var n=H(t),i=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s=n?e?"rect":"g":"div",a=2!==e?0:100,o=3===e?100:0,r="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",h=g.createElementNS?g.createElementNS(i.replace(/^https/,"http"),s):g.createElement(s);return e&&(n?(m=m||J(t),h.setAttribute("width",.01),h.setAttribute("height",.01),h.setAttribute("transform","translate("+a+","+o+")"),m.appendChild(h)):(u||((u=J(t)).style.cssText=r),h.style.cssText=r+"width:0.1px;height:0.1px;top:"+o+"px;left:"+a+"px",u.appendChild(h))),h}throw"Need document and parent."}function M(t,e){var n,i,s,a,o,r,h=H(t),l=t===h,c=h?E:k,d=t.parentNode;if(t===p)return t;if(c.length||c.push(J(t,1),J(t,2),J(t,3)),n=h?m:u,h)l?(a=-(s=function _getCTM(t){var e,n=t.getCTM();return n||(e=t.style[S],t.style[S]="none",t.appendChild(b),n=b.getCTM(),t.removeChild(b),e?t.style[S]=e:t.style.removeProperty(S.replace(/([A-Z])/g,"-$1").toLowerCase())),n||v.clone()}(t)).e/s.a,o=-s.f/s.d,i=v):t.getBBox?(s=t.getBBox(),a=(i=(i=t.transform?t.transform.baseVal:{}).numberOfItems?1<i.numberOfItems?function _consolidate(t){for(var e=new D,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e}(i):i.getItem(0).matrix:v).a*s.x+i.c*s.y,o=i.b*s.x+i.d*s.y):(i=new D,a=o=0),e&&"g"===t.tagName.toLowerCase()&&(a=o=0),(l?h:d).appendChild(n),n.setAttribute("transform","matrix("+i.a+","+i.b+","+i.c+","+i.d+","+(i.e+a)+","+(i.f+o)+")");else{if(a=o=0,y)for(i=t.offsetParent,s=t;(s=s&&s.parentNode)&&s!==i&&s.parentNode;)4<(p.getComputedStyle(s)[S]+"").length&&(a=s.offsetLeft,o=s.offsetTop,s=0);if("absolute"!==(r=p.getComputedStyle(t)).position&&"fixed"!==r.position)for(i=t.offsetParent;d&&d!==i;)a+=d.scrollLeft||0,o+=d.scrollTop||0,d=d.parentNode;(s=n.style).top=t.offsetTop-o+"px",s.left=t.offsetLeft-a+"px",s[S]=r[S],s[x]=r[x],s.position="fixed"===r.position?"fixed":"absolute",t.parentNode.appendChild(n)}return n}function N(t,e,n,i,s,a,o){return t.a=e,t.b=n,t.c=i,t.d=s,t.e=a,t.f=o,t}var g,p,f,_,u,m,v,b,y,e,S="transform",x=S+"Origin",E=[],k=[],D=((e=Matrix2D.prototype).inverse=function inverse(){var t=this.a,e=this.b,n=this.c,i=this.d,s=this.e,a=this.f,o=t*i-e*n||1e-10;return N(this,i/o,-e/o,-n/o,t/o,(n*a-i*s)/o,-(t*a-e*s)/o)},e.multiply=function multiply(t){var e=this.a,n=this.b,i=this.c,s=this.d,a=this.e,o=this.f,r=t.a,h=t.c,l=t.b,c=t.d,d=t.e,u=t.f;return N(this,r*e+l*i,r*n+l*s,h*e+c*i,h*n+c*s,a+d*e+u*i,o+d*n+u*s)},e.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function equals(t){var e=this.a,n=this.b,i=this.c,s=this.d,a=this.e,o=this.f;return e===t.a&&n===t.b&&i===t.c&&s===t.d&&a===t.e&&o===t.f},e.apply=function apply(t,e){void 0===e&&(e={});var n=t.x,i=t.y,s=this.a,a=this.b,o=this.c,r=this.d,h=this.e,l=this.f;return e.x=n*s+i*o+h||0,e.y=n*a+i*r+l||0,e},Matrix2D);function Matrix2D(t,e,n,i,s,a){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===i&&(i=1),void 0===s&&(s=0),void 0===a&&(a=0),N(this,t,e,n,i,s,a)}function getGlobalMatrix(t,e,n,i){if(!t||!t.parentNode||(g||B(t)).documentElement===t)return new D;var s=function _forceNonZeroScale(t){for(var e,n;t&&t!==_;)(n=t._gsap)&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e}(t),a=H(t)?E:k,o=M(t,n),r=a[0].getBoundingClientRect(),h=a[1].getBoundingClientRect(),l=a[2].getBoundingClientRect(),c=o.parentNode,d=!i&&function _isFixed(t){return"fixed"===p.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?_isFixed(t):void 0)}(t),u=new D((h.left-r.left)/100,(h.top-r.top)/100,(l.left-r.left)/100,(l.top-r.top)/100,r.left+(d?0:function _getDocScrollLeft(){return p.pageXOffset||g.scrollLeft||f.scrollLeft||_.scrollLeft||0}()),r.top+(d?0:function _getDocScrollTop(){return p.pageYOffset||g.scrollTop||f.scrollTop||_.scrollTop||0}()));if(c.removeChild(o),s)for(r=s.length;r--;)(h=s[r]).scaleX=h.scaleY=0,h.renderTransform(1,h);return e?u.inverse():u}function aa(){return!1}function na(t){t.preventDefault&&(t.preventDefault(),t.preventManipulation&&t.preventManipulation())}function oa(t){return T.createElementNS?T.createElementNS("http://www.w3.org/1999/xhtml",t):T.createElement(t)}function pa(t,e,n){var i,s=T.createElementNS("http://www.w3.org/2000/svg",t),a=/([a-z])([A-Z])/g;for(i in(n=n||{}).class=n.class||"path-editor",n)void 0!==s.style[i]?s.style[i]=n[i]:s.setAttributeNS(null,i.replace(a,"$1-$2").toLowerCase(),n[i]);return e.appendChild(s),s}function ra(t){return(t.transform&&t.transform.baseVal.consolidate()||at).matrix}function ua(t){return~~(1e3*t+(t<0?-.5:.5))/1e3}function xa(t){if(!t.target._gsSelection&&!$&&100<j()-Z){for(var e=st.length;-1<--e;)st[e].deselect();st.length=0}}function Ba(t,e,n,i){if(t.addEventListener){var s=X[e];i=i||{passive:!1},t.addEventListener(s||e,n,i),s&&e!==s&&"pointer"!==s.substr(0,7)&&t.addEventListener(e,n,i)}else t.attachEvent&&t.attachEvent("on"+e,n)}function Ca(t,e,n){if(t.removeEventListener){var i=X[e];t.removeEventListener(i||e,n),i&&e!==i&&"pointer"!==i.substr(0,7)&&t.removeEventListener(e,n)}else t.detachEvent&&t.detachEvent("on"+e,n)}function Ea(t){ot=t.touches&&_dragCount<t.touches.length,Ca(t.target,"touchend",Ea)}function Fa(t){ot=t.touches&&_dragCount<t.touches.length,Ba(t.target,"touchend",Ea)}function Ga(e,n){return function(t){return e.call(n,t)}}function Ha(t,e,n){var i=e.vars[t];return i&&i.call(e.vars.callbackScope||e,n||e),e}function Ja(){I.style.display="block",I.select(),I.style.display="none"}function La(t){T=document,c=window,i=T.body,s=s||t||c.gsap||console.warn("Please gsap.registerPlugin(PathEditor)"),r=s&&s.core.context||function(){},a=oa("div"),(I=oa("textarea")).style.display="none",i&&i.appendChild(I),X=function(t){for(var e=t.split(","),n=(void 0!==a.onpointerdown?"pointerdown,pointermove,pointerup,pointercancel":void 0!==a.onmspointerdown?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),i={},s=4;-1<--s;)i[e[s]]=n[s],i[n[s]]=e[s];return i}("touchstart,touchmove,touchend,touchcancel"),SVGElement.prototype.getTransformToElement=SVGElement.prototype.getTransformToElement||function(t){return t.getScreenCTM().inverse().multiply(this.getScreenCTM())},T.addEventListener("keydown",function(t){var e,n,i,s,a=t.keyCode||t.which,o=t.key||a;if("Shift"===o||16===a)L=!0;else if("Control"===o||17===a)l=!0;else if("Meta"===o||91===a)d=!0;else if("Alt"===o||18===a)for(R=!0,e=st.length;-1<--e;)st[e]._onPressAlt();else if(("z"===o||90===a)&&(l||d)&&1<tt.length){if(tt.shift(),n=tt[0]){for((s=n.path).path.setAttribute("d",n.d),s.path.setAttribute("transform",n.transform),s.init(),i=s._anchors,e=0;e<i.length;e++)-1!==n.selectedIndexes.indexOf(i[e].i)&&s._selectedAnchors.push(i[e]);s._updateAnchors(),s.update(),s.vars.onUndo&&s.vars.onUndo.call(s)}}else if("Delete"===o||"Backspace"===o||8===a||46===a||63272===a||"d"===a&&(l||d))for(e=st.length;-1<--e;)st[e]._deleteSelectedAnchors();else if(("a"===o||65===a)&&(d||l))for(e=st.length;-1<--e;)st[e].select(!0)},!0),T.addEventListener("keyup",function(t){var e=t.key||t.keyCode||t.which;if("Shift"===e||16===e)L=!1;else if("Control"===e||17===e)l=!1;else if("Meta"===e||91===e)d=!1;else if("Alt"===e||18===e){R=!1;for(var n=st.length;-1<--n;)st[n]._onReleaseAlt()}},!0),h=!!c.PointerEvent,Ba(T,"mouseup",xa),Ba(T,"touchend",xa),Ba(T,"touchcancel",aa),Ba(c,"touchmove",aa),i&&i.addEventListener("touchstart",aa),G=1}function Ma(t){var e,n,i=this,s=getGlobalMatrix(i.target.parentNode,!0);this._matrix=this.target.transform.baseVal.getItem(0).matrix,this._ctm=s,X[t.type]?(e=-1!==t.type.indexOf("touch")?t.currentTarget||t.target:T,Ba(e,"touchend",i._onRelease),Ba(e,"touchmove",i._onMove),Ba(e,"touchcancel",i._onRelease),Ba(T,"touchstart",Fa),Ba(c,"touchforcechange",na)):(e=null,Ba(T,"mousemove",i._onMove)),h||Ba(T,"mouseup",i._onRelease),na(t),Ja(),t.changedTouches?(t=i.touch=t.changedTouches[0],i.touchID=t.identifier):t.pointerId?i.touchID=t.pointerId:i.touch=i.touchID=null,i._startPointerY=i.pointerY=t.pageY,i._startPointerX=i.pointerX=t.pageX,i._startElementX=i._matrix.e,i._startElementY=i._matrix.f,1===this._ctm.a&&0===this._ctm.b&&0===this._ctm.c&&1===this._ctm.d?this._ctm=null:(n=i._startPointerX*this._ctm.a+i._startPointerY*this._ctm.c+this._ctm.e,i._startPointerY=i._startPointerX*this._ctm.b+i._startPointerY*this._ctm.d+this._ctm.f,i._startPointerX=n),i.isPressed=$=!0,i.touchEventTarget=e,i.vars.onPress&&i.vars.onPress.call(i.vars.callbackScope||i,i.pointerEvent)}function Na(t){var e,n,i=this,s=t;if(i._enabled&&!ot&&i.isPressed&&t){if(e=(i.pointerEvent=t).changedTouches){if((t=e[0])!==i.touch&&t.identifier!==i.touchID){for(n=e.length;-1<--n&&(t=e[n]).identifier!==i.touchID;);if(n<0)return}}else if(t.pointerId&&i.touchID&&t.pointerId!==i.touchID)return;na(s),i.setPointerPosition(t.pageX,t.pageY),i.vars.onDrag&&i.vars.onDrag.call(i.vars.callbackScope||i,i.pointerEvent)}}function Oa(t,e){var n=this;if(n._enabled&&n.isPressed&&(!t||null==n.touchID||e||!(t.pointerId&&t.pointerId!==n.touchID||t.changedTouches&&!function _hasTouchID(t,e){for(var n=t.length;-1<--n;)if(t[n].identifier===e)return!0;return!1}(t.changedTouches,n.touchID)))){!function _interacted(){Z=j()}(),n.isPressed=$=!1;var i,s,a=t,o=n.isDragging,r=n.touchEventTarget;if(r?(Ca(r,"touchend",n._onRelease),Ca(r,"touchmove",n._onMove),Ca(r,"touchcancel",n._onRelease),Ca(T,"touchstart",Fa)):Ca(T,"mousemove",n._onMove),h||(Ca(T,"mouseup",n._onRelease),t&&t.target&&Ca(t.target,"mouseup",n._onRelease)),o?n.isDragging=!1:n.vars.onClick&&n.vars.onClick.call(n.vars.callbackScope||n,a),t){if((i=t.changedTouches)&&(t=i[0])!==n.touch&&t.identifier!==n.touchID){for(s=i.length;-1<--s&&(t=i[s]).identifier!==n.touchID;);if(s<0)return}n.pointerEvent=a,n.pointerX=t.pageX,n.pointerY=t.pageY}return a&&!o&&n.vars.onDragRelease?n.vars.onDragRelease.call(n,n.pointerEvent):(a&&na(a),n.vars.onRelease&&n.vars.onRelease.call(n.vars.callbackScope||n,n.pointerEvent)),o&&n.vars.onDragEnd&&n.vars.onDragEnd.call(n.vars.callbackScope||n,n.pointerEvent),!0}}function Pa(t,e,n,i){var s,a=t[e],o=a.length-(a.closed?6:0),r=[];for(s=0;s<o;s+=6)r.push(new lt(n,t,e,s,i));return a.closed&&(r[0].isClosedStart=!0),r}function Qa(t,e,n){var i=t[n]-t[e],s=t[n+1]-t[e+1];return Math.sqrt(i*i+s*s)}var T,h,c,i,s,r,l,R,L,d,O,a,X,I,G,q,z=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,V="#4e7fff",j=(Math.PI,Date.now||function(){return(new Date).getTime()}),Z=0,$=0,K={},tt=[],et={},nt=[],it=",",st=[],at={matrix:new D},ot=0,rt=((q=DraggableSVG.prototype).setPointerPosition=function setPointerPosition(t,e){var n,i,s,a,o;this.pointerX=t,this.pointerY=e,this._ctm&&(o=t*this._ctm.a+e*this._ctm.c+this._ctm.e,e=t*this._ctm.b+e*this._ctm.d+this._ctm.f,t=o),(i=e-this._startPointerY)<1&&-1<i&&(i=0),(n=t-this._startPointerX)<1&&-1<n&&(n=0),s=(1e3*(this._startElementX+n)|0)/1e3,a=(1e3*(this._startElementY+i)|0)/1e3,this.snap&&!L&&(et.x=s,et.y=a,this.snap.call(this,et),s=et.x,a=et.y),this.x===s&&this.y===a||(this._matrix.f=this.y=a,this._matrix.e=this.x=s,!this.isDragging&&this.isPressed&&(this.isDragging=!0,Ha("onDragStart",this,this.pointerEvent)))},q.enabled=function enabled(t){return arguments.length?((this._enabled=t)?(h||Ba(this.target,"mousedown",this._onPress),Ba(this.target,"touchstart",this._onPress),Ba(this.target,"click",this._onClick,!0)):(e=this.isDragging,Ca(this.target,"mousedown",this._onPress),Ca(this.target,"touchstart",this._onPress),Ca(c,"touchforcechange",na),Ca(this.target,"click",this._onClick),this.touchEventTarget&&(Ca(this.touchEventTarget,"touchcancel",this._onRelease),Ca(this.touchEventTarget,"touchend",this._onRelease),Ca(this.touchEventTarget,"touchmove",this._onMove)),Ca(T,"mouseup",this._onRelease),Ca(T,"mousemove",this._onMove),this.isDragging=this.isPressed=!1,e&&Ha("onDragEnd",this,this.pointerEvent)),this):this._enabled;var e},q.endDrag=function endDrag(t){this._onRelease(t)},DraggableSVG);function DraggableSVG(t,e){this.target="string"==typeof t?T.querySelectorAll(t)[0]:t,this.vars=e||{},this._onPress=Ga(Ma,this),this._onMove=Ga(Na,this),this._onRelease=Ga(Oa,this),this.target.setAttribute("transform",(this.target.getAttribute("transform")||"")+" translate(0,0)"),this._matrix=ra(this.target),this.x=this._matrix.e,this.y=this._matrix.f,this.snap=e.snap,isNaN(e.maxX)&&isNaN(e.minX)?this._bounds=0:(this._bounds=1,this.maxX=+e.maxX,this.minX=+e.minX),this.enabled(!0)}var ht,lt=((ht=Anchor.prototype).onPress=function onPress(){Ha("onPress",this)},ht.onClick=function onClick(){Ha("onClick",this)},ht.onDrag=function onDrag(){var t=this.segment;this.vars.onDrag.call(this.vars.callbackScope||this,this,this._draggable.x-t[this.i],this._draggable.y-t[this.i+1])},ht.onDragEnd=function onDragEnd(){Ha("onDragEnd",this)},ht.onRelease=function onRelease(){Ha("onRelease",this)},ht.update=function update(t,e,n){t&&(this.rawPath=t),arguments.length<=1?(e=this.j,n=this.i):(this.j=e,this.i=n);var i=this.smooth,s=this.rawPath[e],a=0===n&&s.closed?s.length-4:n-2;this.segment=s,this.smooth=0<n&&n<s.length-2&&Math.abs(Math.atan2(s[n+1]-s[1+a],s[n]-s[a])-Math.atan2(s[n+3]-s[n+1],s[n+2]-s[n]))<.09?2:0,this.smooth!==i&&this.element.setAttribute("d",this.smooth?this.editor._circleHandle:this.editor._squareHandle),this.element.setAttribute("transform","translate("+s[n]+","+s[n+1]+")")},Anchor);function Anchor(t,e,n,i,s){this.editor=t,this.element=pa("path",t._selection,{fill:V,stroke:V,strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this.update(e,n,i),this.element._gsSelection=!0,this.vars=s||{},this._draggable=new rt(this.element,{callbackScope:this,onDrag:this.onDrag,snap:this.vars.snap,onPress:this.onPress,onRelease:this.onRelease,onClick:this.onClick,onDragEnd:this.onDragEnd})}var ct,dt=((ct=PathEditor.prototype)._onRelease=function _onRelease(t){var e=this._editingAnchor;e&&(K.x=e.segment[e.i],K.y=e.segment[e.i+1]),Ca(c,"touchforcechange",na),Ha("onRelease",this,t)},ct.init=function init(){var t,e,n=this.path.getAttribute("d"),i=stringToRawPath(n),s=this.path.getAttribute("transform")||"translate(0,0)",a=!this._rawPath||i.totalPoints!==this._rawPath.totalPoints||i.length!==this._rawPath.length,o={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};if(a&&this._anchors&&this._anchors.length){for(e=0;e<this._anchors.length;e++)this._anchors[e].element.parentNode.removeChild(this._anchors[e].element),this._anchors[e]._draggable.enabled(!1);this._selectedAnchors.length=0}if(this._rawPath=i,a){if(this._anchors=Pa(i,0,this,o),1<(t=i.length))for(e=1;e<t;e++)this._anchors=this._anchors.concat(Pa(i,e,this,o))}else for(e=this._anchors.length;-1<--e;)this._anchors[e].update(i);return this._selection.appendChild(this._handle1),this._selection.appendChild(this._handle2),this._selectionPath.setAttribute("d",n),this._selectionHittest.setAttribute("d",n),this._g.setAttribute("transform",function _getConcatenatedTransforms(t){for(var e=ra(t),n=t.ownerSVGElement;(t=t.parentNode)&&t.ownerSVGElement===n;)e.multiply(ra(t));return"matrix("+e.a+","+e.b+","+e.c+","+e.d+","+e.e+","+e.f+")"}(this.path.parentNode)||"translate(0,0)"),this._selection.setAttribute("transform",s),this._selectionHittest.setAttribute("transform",s),this._updateAnchors(),this},ct._saveState=function _saveState(){!function _addHistory(t){var e,n=[],i=t._selectedAnchors;for(e=0;e<i.length;e++)n[e]=i[e].i;tt.unshift({path:t,d:t.path.getAttribute("d"),transform:t.path.getAttribute("transform")||"",selectedIndexes:n}),30<tt.length&&(tt.length=30)}(this)},ct._onClickSelectionPath=function _onClickSelectionPath(t){if("hidden"===this._selection.style.visibility)this.select();else if(R||t&&t.altKey){var e,i,s,a,o,r,h={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=this._selection.getScreenCTM().inverse();for(this._draggable&&this._draggable._onRelease(t),l&&(a=t.clientX*l.a+t.clientY*l.c+l.e,o=t.clientX*l.b+t.clientY*l.d+l.f),r=function getClosestData(t,e,n,i){var s,a,o,r,h={j:0,i:0,t:0},l=A;for(a=0;a<t.length;a++)for(r=t[a],s=0;s<r.length;s+=6)o=getClosestProgressOnBezier(1,e,n,0,1,i||20,r[s],r[s+1],r[s+2],r[s+3],r[s+4],r[s+5],r[s+6],r[s+7]),P<l&&(l=P,h.j=a,h.i=s,h.t=o);return h}(this._rawPath,a,o),function subdivideSegment(t,e,i){if(i<=0||1<=i)return 0;var s=t[e],a=t[e+1],o=t[e+2],r=t[e+3],h=t[e+4],l=t[e+5],c=s+(o-s)*i,d=o+(h-o)*i,u=a+(r-a)*i,g=r+(l-r)*i,p=c+(d-c)*i,f=u+(g-u)*i,_=h+(t[e+6]-h)*i,m=l+(t[e+7]-l)*i;return d+=(_-d)*i,g+=(m-g)*i,t.splice(e+2,4,n(c),n(u),n(p),n(f),n(p+(d-p)*i),n(f+(g-f)*i),n(d),n(g),n(_),n(m)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}(this._rawPath[r.j],r.i,r.t),e=r.i+6,i=0;i<this._anchors.length;i++)this._anchors[i].i>=e&&(this._anchors[i].i+=6);s=new lt(this,this._rawPath,r.j,e,h),this._selection.appendChild(this._handle1),this._selection.appendChild(this._handle2),s._draggable._onPress(t),O=s,this._anchors.push(s),this._selectedAnchors.length=0,this._selectedAnchors.push(s),this._updateAnchors(),this.update(),this._saveState()}Ja(),Ba(c,"touchforcechange",na),Ha("onPress",this)},ct._onClickHandle1=function _onClickHandle1(){var t=this._editingAnchor,e=t.i,n=t.segment,i=t.isClosedStart?n.length-4:e-2;R&&Math.abs(n[e]-n[i])<5&&Math.abs(n[e+1]-n[1+i])<5&&this._onClickAnchor(t)},ct._onClickHandle2=function _onClickHandle2(){var t=this._editingAnchor,e=t.i,n=t.segment;R&&Math.abs(n[e]-n[e+2])<5&&Math.abs(n[e+1]-n[e+3])<5&&this._onClickAnchor(t)},ct._onDragEndAnchor=function _onDragEndAnchor(){O=null,this._saveState()},ct.isSelected=function isSelected(){return 0<this._selectedAnchors.length||"visible"===this._selection.style.visibility},ct.select=function select(t){if(this._selection.style.visibility="visible",this._editingAnchor=null,(this.path._gsSelection=!0)===t)for(var e=this._anchors.length;-1<--e;)this._selectedAnchors[e]=this._anchors[e];return-1===st.indexOf(this)&&st.push(this),this._updateAnchors(),this},ct.deselect=function deselect(){return this._selection.style.visibility="hidden",this._selectedAnchors.length=0,this._editingAnchor=null,this.path._gsSelection=!1,st.splice(st.indexOf(this),1),this._updateAnchors(),this},ct._onDragPath=function _onDragPath(){var t=this._selectionHittest.getAttribute("transform")||"translate(0,0)";this._selection.setAttribute("transform",t),this.path.setAttribute("transform",t)},ct._onPressAnchor=function _onPressAnchor(t){-1===this._selectedAnchors.indexOf(t)?(L||(this._selectedAnchors.length=0),this._selectedAnchors.push(t)):L&&(this._selectedAnchors.splice(this._selectedAnchors.indexOf(t),1),t._draggable.endDrag()),K.x=t.segment[t.i],K.y=t.segment[t.i+1],this._updateAnchors(),Ha("onPress",this)},ct._deleteSelectedAnchors=function _deleteSelectedAnchors(){for(var t,e,n,i=this._selectedAnchors,s=i.length;-1<--s;)for((t=i[s]).element.parentNode.removeChild(t.element),t._draggable.enabled(!1),(e=t.i)?e<t.segment.length-2?t.segment.splice(e-2,6):t.segment.splice(e-4,6):t.segment.splice(e,6),i.splice(s,1),this._anchors.splice(this._anchors.indexOf(t),1),n=0;n<this._anchors.length;n++)this._anchors[n].i>=e&&(this._anchors[n].i-=6);this._updateAnchors(),this.update(),this._saveState(),this.vars.onDeleteAnchor&&this.vars.onDeleteAnchor.call(this.vars.callbackScope||this)},ct._onClickAnchor=function _onClickAnchor(t){var e,n,i,s,a,o,r=t.i,h=t.segment,l=t.isClosedStart?h.length-4:r-2,c=1e3,d=!r||r>=h.length-2;R&&O!==t&&this._editingAnchor?(t.smooth=!t.smooth,d&&!t.isClosedStart&&(t.smooth=!1),t.element.setAttribute("d",t.smooth?this._circleHandle:this._squareHandle),!t.smooth||d&&!t.isClosedStart?t.smooth||d&&!t.isClosedStart||((r||t.isClosedStart)&&(h[l]=h[r],h[1+l]=h[r+1]),r<h.length-2&&(h[r+2]=h[r],h[r+3]=h[r+1]),this._updateAnchors(),this.update(),this._saveState()):(e=((e=Math.atan2(h[r+1]-h[1+l],h[r]-h[l]))+(n=Math.atan2(h[r+3]-h[r+1],h[r+2]-h[r])))/2,i=Qa(h,l,r),s=Qa(h,r,r+2),i<.2&&(i=Qa(h,r,l-4)/4,e=n||Math.atan2(h[r+7]-h[l-3],h[r+6]-h[l-4])),s<.2&&(s=Qa(h,r,r+6)/4,n=e||Math.atan2(h[r+7]-h[l-3],h[r+6]-h[l-4])),a=Math.sin(e),o=Math.cos(e),Math.abs(n-e)<Math.PI/2&&(a=-a,o=-o),h[l]=((h[r]+o*i)*c|0)/c,h[1+l]=((h[r+1]+a*i)*c|0)/c,h[r+2]=((h[r]-o*s)*c|0)/c,h[r+3]=((h[r+1]-a*s)*c|0)/c,this._updateAnchors(),this.update(),this._saveState())):L||(this._selectedAnchors.length=0,this._selectedAnchors.push(t)),O=null,this._updateAnchors()},ct._updateAnchors=function _updateAnchors(){var t,e,n,i=1===this._selectedAnchors.length?this._selectedAnchors[0]:null,s=i?i.segment:null;for(this._editingAnchor=i,t=0;t<this._anchors.length;t++)this._anchors[t].element.style.fill=-1!==this._selectedAnchors.indexOf(this._anchors[t])?V:"white";i&&(this._handle1.setAttribute("d",i.smooth?this._circleHandle:this._squareHandle),this._handle2.setAttribute("d",i.smooth?this._circleHandle:this._squareHandle)),t=i?i.i:0,i&&(t||i.isClosedStart)?(e=i.isClosedStart?s[s.length-4]:s[t-2],n=i.isClosedStart?s[s.length-3]:s[t-1],this._handle1.style.visibility=this._line1.style.visibility=R||e!==s[t]||n!==s[t+1]?"visible":"hidden",this._handle1.setAttribute("transform","translate("+e+it+n+")"),this._line1.setAttribute("points",e+it+n+it+s[t]+it+s[t+1])):this._handle1.style.visibility=this._line1.style.visibility="hidden",i&&t<s.length-2?(e=s[t+2],n=s[t+3],this._handle2.style.visibility=this._line2.style.visibility=R||e!==s[t]||n!==s[t+1]?"visible":"hidden",this._handle2.setAttribute("transform","translate("+e+it+n+")"),this._line2.setAttribute("points",s[t]+it+s[t+1]+it+e+it+n)):this._handle2.style.visibility=this._line2.style.visibility="hidden"},ct._onPressAlt=function _onPressAlt(){var t=this._editingAnchor;t&&((t.i||t.isClosedStart)&&(this._handle1.style.visibility=this._line1.style.visibility="visible"),t.i<t.segment.length-2&&(this._handle2.style.visibility=this._line2.style.visibility="visible"))},ct._onReleaseAlt=function _onReleaseAlt(){var t,e,n,i=this._editingAnchor;i&&(t=i.segment,e=i.i,n=i.isClosedStart?t.length-4:e-2,t[e]===t[n]&&t[e+1]===t[1+n]&&(this._handle1.style.visibility=this._line1.style.visibility="hidden"),t[e]===t[e+2]&&t[e+1]===t[e+3]&&(this._handle2.style.visibility=this._line2.style.visibility="hidden"))},ct._onPressHandle1=function _onPressHandle1(){this._editingAnchor.smooth&&(this._oppositeHandleLength=Qa(this._editingAnchor.segment,this._editingAnchor.i,this._editingAnchor.i+2)),Ha("onPress",this)},ct._onPressHandle2=function _onPressHandle2(){this._editingAnchor.smooth&&(this._oppositeHandleLength=Qa(this._editingAnchor.segment,this._editingAnchor.isClosedStart?this._editingAnchor.segment.length-4:this._editingAnchor.i-2,this._editingAnchor.i)),Ha("onPress",this)},ct._onReleaseHandle=function _onReleaseHandle(t){this._onRelease(t),this._saveState()},ct._onDragHandle1=function _onDragHandle1(){var t,e=this._editingAnchor,n=e.segment,i=e.i,s=e.isClosedStart?n.length-4:i-2,a=1e3,o=this._handle1._draggable.x,r=this._handle1._draggable.y;n[s]=o=(o*a|0)/a,n[1+s]=r=(r*a|0)/a,e.smooth&&(R?(e.smooth=!1,e.element.setAttribute("d",this._squareHandle),this._handle1.setAttribute("d",this._squareHandle),this._handle2.setAttribute("d",this._squareHandle)):(t=Math.atan2(n[i+1]-r,n[i]-o),o=this._oppositeHandleLength*Math.cos(t),r=this._oppositeHandleLength*Math.sin(t),n[i+2]=((n[i]+o)*a|0)/a,n[i+3]=((n[i+1]+r)*a|0)/a)),this.update()},ct._onDragHandle2=function _onDragHandle2(){var t,e=this._editingAnchor,n=e.segment,i=e.i,s=e.isClosedStart?n.length-4:i-2,a=1e3,o=this._handle2._draggable.x,r=this._handle2._draggable.y;n[i+2]=o=(o*a|0)/a,n[i+3]=r=(r*a|0)/a,e.smooth&&(R?(e.smooth=!1,e.element.setAttribute("d",this._squareHandle),this._handle1.setAttribute("d",this._squareHandle),this._handle2.setAttribute("d",this._squareHandle)):(t=Math.atan2(n[i+1]-r,n[i]-o),o=this._oppositeHandleLength*Math.cos(t),r=this._oppositeHandleLength*Math.sin(t),n[s]=((n[i]+o)*a|0)/a,n[1+s]=((n[i+1]+r)*a|0)/a)),this.update()},ct._onDragAnchor=function _onDragAnchor(t,e,n){var i,s,a,o,r,h=this._selectedAnchors,l=h.length,c=1e3;for(s=0;s<l;s++)i=(o=h[s]).i,a=o.segment,i?(a[i-2]=((a[i-2]+e)*c|0)/c,a[i-1]=((a[i-1]+n)*c|0)/c):o.isClosedStart&&(a[r=a.length-2]=ua(a[r]+e),a[1+r]=ua(a[1+r]+n),a[r-2]=ua(a[r-2]+e),a[r-1]=ua(a[r-1]+n)),a[i]=((a[i]+e)*c|0)/c,a[i+1]=((a[i+1]+n)*c|0)/c,i<a.length-2&&(a[i+2]=((a[i+2]+e)*c|0)/c,a[i+3]=((a[i+3]+n)*c|0)/c),o!==t&&o.element.setAttribute("transform","translate("+a[i]+it+a[i+1]+")");this.update()},ct.enabled=function enabled(t){if(!arguments.length)return this._enabled;for(var e=this._anchors.length;-1<--e;)this._anchors[e]._draggable.enabled(t);return this._enabled=t,this._handle1._draggable.enabled(t),this._handle2._draggable.enabled(t),this._draggable&&this._draggable.enabled(t),t?this._selection.parentNode||(this.path.ownerSVGElement.appendChild(this._selectionHittest),this.path.ownerSVGElement.appendChild(this._selection),this.init(),this._saveState()):(this.deselect(),this._selectionHittest.parentNode&&this._selectionHittest.parentNode.removeChild(this._selectionHittest),this._selection.parentNode&&this._selection.parentNode.removeChild(this._selection)),this._updateAnchors(),this.update()},ct.update=function update(t){var e,n,i,s,a,o="",r=this._editingAnchor;if(t&&this.init(),r&&(e=r.i,n=r.segment,(e||r.isClosedStart)&&(i=n[a=r.isClosedStart?n.length-4:e-2],s=n[1+a],this._handle1.setAttribute("transform","translate("+i+it+s+")"),this._line1.setAttribute("points",i+it+s+it+n[e]+it+n[e+1])),e<n.length-2&&(i=n[e+2],s=n[e+3],this._handle2.setAttribute("transform","translate("+i+it+s+")"),this._line2.setAttribute("points",n[e]+it+n[e+1]+it+i+it+s))),t)o=this.path.getAttribute("d");else{for(e=0;e<this._rawPath.length;e++)7<(n=this._rawPath[e]).length&&(o+="M"+n[0]+it+n[1]+"C"+n.slice(2).join(it));this.path.setAttribute("d",o),this._selectionPath.setAttribute("d",o),this._selectionHittest.setAttribute("d",o)}return this.vars.onUpdate&&this._enabled&&Ha("onUpdate",this,o),this},ct.getRawPath=function getRawPath(t,e,n){if(t){var i=ra(this.path);return transformRawPath(copyRawPath(this._rawPath),1,0,0,1,i.e+(e||0),i.f+(n||0))}return this._rawPath},ct.getString=function getString(t,e,i){if(t){var s=ra(this.path);return function rawPathToString(t){!function _isNumber(t){return"number"==typeof t}(t[0])||(t=[t]);var e,i,s,a,o="",r=t.length;for(i=0;i<r;i++){for(a=t[i],o+="M"+n(a[0])+","+n(a[1])+" C",e=a.length,s=2;s<e;s++)o+=n(a[s++])+","+n(a[s++])+" "+n(a[s++])+","+n(a[s++])+" "+n(a[s++])+","+n(a[s])+" ";a.closed&&(o+="z")}return o}(transformRawPath(copyRawPath(this._rawPath),1,0,0,1,s.e+(e||0),s.f+(i||0)))}return this.path.getAttribute("d")},ct.getNormalizedSVG=function getNormalizedSVG(t,e,n,i){var s,a,o,r,h,l,c=this._rawPath[0],d=-1*c[0],u=0===e?0:-(e||c[1]),g=c.length,p=1/(c[g-2]+d),f=-t||c[g-1]+u;for(f=f?1/f:-p,p*=1e3,f*=1e3,a=nt.length=0;a<g;a+=2)nt[a]=((c[a]+d)*p|0)/1e3,nt[a+1]=((c[a+1]+u)*f|0)/1e3;if(i){for(s=[],g=nt.length,a=2;a<g;a+=6)o=nt[a-2],r=nt[a-1],h=nt[a+4],l=nt[a+5],s.push(o,r,h,l),bezierToPoints(o,r,nt[a],nt[a+1],nt[a+2],nt[a+3],h,l,.001,s,s.length-2);for(o=s[0],g=s.length,a=2;a<g;a+=2){if((h=s[a])<o||1<h||h<0){i();break}o=h}}return n&&8===g&&0===nt[0]&&0===nt[1]&&1===nt[g-2]&&1===nt[g-1]?nt.slice(2,6).join(","):(nt[2]="C"+nt[2],"M"+nt.join(","))},ct.kill=function kill(){this.enabled(!1),this._g.parentNode&&this._g.parentNode.removeChild(this._g)},ct.revert=function revert(){this.kill()},PathEditor);function PathEditor(t,e){e=e||{},G||La(),this.vars=e,this.path="string"==typeof t?T.querySelectorAll(t)[0]:t,this._g=pa("g",this.path.ownerSVGElement,{class:"path-editor-g path-editor"}),this._selectionHittest=pa("path",this._g,{stroke:"transparent",strokeWidth:16,fill:"none",vectorEffect:"non-scaling-stroke"}),this._selection=e._selection||pa("g",this._g,{class:"path-editor-selection path-editor"}),this._selectionPath=pa("path",this._selection,{stroke:V,strokeWidth:2,fill:"none",vectorEffect:"non-scaling-stroke"}),this._selectedAnchors=[],this._line1=pa("polyline",this._selection,{stroke:V,strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this._line2=pa("polyline",this._selection,{stroke:V,strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this._line1.style.pointerEvents=this._line2.style.pointerEvents=this._selectionPath.style.pointerEvents="none",this._enabled=!0;var n=this.path.parentNode.getScreenCTM().inverse(),i=(n.a+n.d)/2*(e.handleSize||5);this._squareHandle=function _getSquarePathData(t){return["M-"+(t=ua(t)),-t,t,-t,t,t,-t,t+"z"].join(it)}(i),this._circleHandle=function _getCirclePathData(t){var e=ua(.552284749831*t);return"M"+(t=ua(t))+",0C"+[t,e,e,t,0,t,-e,t,-t,e,-t,0,-t,-e,-e,-t,0,-t,e,-t,t,-e,t,0].join(it)+"z"}(1.15*i),this._handle1=pa("path",this._selection,{d:this._squareHandle,fill:V,stroke:"transparent",strokeWidth:6}),this._handle2=pa("path",this._selection,{d:this._squareHandle,fill:V,stroke:"transparent",strokeWidth:6}),this._handle1._draggable=new rt(this._handle1,{onDrag:this._onDragHandle1,callbackScope:this,onPress:this._onPressHandle1,onRelease:this._onReleaseHandle,onClick:this._onClickHandle1,snap:e.handleSnap}),this._handle2._draggable=new rt(this._handle2,{onDrag:this._onDragHandle2,callbackScope:this,onPress:this._onPressHandle2,onRelease:this._onReleaseHandle,onClick:this._onClickHandle2,snap:e.handleSnap}),this._handle1.style.visibility=this._handle2.style.visibility="hidden";for(var s=[this._handle1,this._handle2,this._line1,this._line2,this._selection,this._selectionPath,this._selectionHittest],a=s.length;-1<--a;)s[a]._gsSelection=!0;!1!==e.draggable&&(this._draggable=new rt(this._selectionHittest,{callbackScope:this,onPress:this.select,onRelease:this._onRelease,onDrag:this._onDragPath,onDragEnd:this._saveState,maxX:this.vars.maxX,minX:this.vars.minX})),this.init(),this._selection.style.visibility=!1===e.selected?"hidden":"visible",!1!==e.selected&&(this.path._gsSelection=!0,st.push(this)),this._saveState(),h||(Ba(this._selectionHittest,"mousedown",Ga(this._onClickSelectionPath,this)),Ba(this._selectionHittest,"mouseup",Ga(this._onRelease,this))),Ba(this._selectionHittest,"touchstart",Ga(this._onClickSelectionPath,this)),Ba(this._selectionHittest,"touchend",Ga(this._onRelease,this)),r(this)}dt.simplifyPoints=simplifyPoints,dt.pointsToSegment=pointsToSegment,dt.simplifySVG=function(t,e){var n,i,s,a,o,r,h,l,c,d,u;if(d=(e=e||{}).tolerance||1,c=e.precision||1/d,void 0===e.cornerThreshold||e.cornerThreshold,"string"!=typeof t&&(t=(n=t).getAttribute("d")),"#"!==t.charAt(0)&&"."!==t.charAt(0)||(n=T.querySelector(t))&&(t=n.getAttribute("d")),i=!1!==e.curved||/[achqstvz]/gi.test(t)?stringToRawPath(t)[0]:t.match(z),!1!==e.curved){for(l=i,i=[],u=l.length,s=2;s<u;s+=6)a=+l[s-2],r=+l[s-1],o=+l[s+4],h=+l[s+5],i.push(ua(a),ua(r),ua(o),ua(h)),bezierToPoints(a,r,+l[s],+l[s+1],+l[s+2],+l[s+3],o,h,1/(2e5*c),i,i.length-2);(i=pointsToSegment(simplifyPoints(i,d),e.curviness))[2]="C"+i[2]}else i=simplifyPoints(i,d);return t="M"+i.join(","),n&&n.setAttribute("d",t),t},dt.create=function(t,e){return new dt(t,e)},dt.editingAxis=K,dt.getSnapFunction=function(t){var r=t.radius||2,e=1e20,h=t.x||0===t.x?t.x:t.width?0:-e,l=t.y||0===t.y?t.y:t.height?0:-e,c=h+(t.width||1e40),d=l+(t.height||1e40),u=!1!==t.containX,g=!1!==t.containY,p=t.axis,f=t.gridSize;return r*=r,function(t){var e,n,i,s,a=t.x,o=t.y;u&&a<h||(i=a-h)*i<r?a=h:(u&&c<a||(i=c-a)*i<r)&&(a=c),g&&o<l||(s=o-l)*s<r?o=l:(g&&d<o||(s=d-o)*s<r)&&(o=d),p&&(i=a-p.x,s=o-p.y,i*i<r&&(a=p.x),s*s<r&&(o=p.y)),f&&(i=(e=h+Math.round((a-h)/f)*f)-a)*i+(s=(n=l+Math.round((o-l)/f)*f)-o)*s<r&&(a=e,o=n),t.x=a,t.y=o}},dt.version="3.12.0",dt.register=La;function db(){return String.fromCharCode.apply(null,arguments)}function ib(t){return"string"==typeof t}function jb(t,e){var n=pt.createElementNS?pt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):pt.createElement(t);return n.style?n:pt.createElement(t)}function pb(t,e,n){return ib(t)&&St.test(t)?pt.querySelector(t):Array.isArray(t)?bt(vt([{x:ut.getProperty(e,"x"),y:ut.getProperty(e,"y")}].concat(t),n)):ib(t)||t&&"path"===(t.tagName+"").toLowerCase()?t:0}function ub(t,e){var n="Please gsap.registerPlugin(MotionPathPlugin)";gt=window,(ut=ut||t||gt.gsap||console.warn(n))&&dt.register(ut),pt=document,_t=pt.body,ft=pt.documentElement,ut&&(mt=ut.plugins.motionPath,Et.PathEditor=dt,yt=ut.core.context||function(){}),mt?(function _initCopyToClipboard(){(Pt=jb("textarea")).style.display="none",_t.appendChild(Pt)}(),vt=mt.arrayToRawPath,bt=mt.rawPathToString):!0===e&&console.warn(n)}var ut,gt,pt,ft,_t,mt,vt,bt,yt,Pt,At="MotionPathHelper",wt=db(103,114,101,101,110,115,111,99,107,46,99,111,109),Ct=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,St=(function(t){var e="undefined"!=typeof window,n=0===(e?window.location.href:"").indexOf(db(102,105,108,101,58,47,47))||-1!==t.indexOf(db(108,111,99,97,108,104,111,115,116))||Ct.test(t),i=[wt,db(99,111,100,101,112,101,110,46,105,111),db(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),db(99,111,100,101,112,101,110,46,100,101,118),db(99,111,100,101,112,101,110,46,97,112,112),db(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),db(112,101,110,115,46,99,108,111,117,100),db(99,115,115,45,116,114,105,99,107,115,46,99,111,109),db(99,100,112,110,46,105,111),db(112,101,110,115,46,105,111),db(103,97,110,110,111,110,46,116,118),db(99,111,100,101,99,97,110,121,111,110,46,110,101,116),db(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),db(99,101,114,101,98,114,97,120,46,99,111,46,117,107),db(116,121,109,112,97,110,117,115,46,110,101,116),db(116,119,101,101,110,109,97,120,46,99,111,109),db(112,108,110,107,114,46,99,111),db(104,111,116,106,97,114,46,99,111,109),db(119,101,98,112,97,99,107,98,105,110,46,99,111,109),db(97,114,99,104,105,118,101,46,111,114,103),db(99,111,100,101,115,97,110,100,98,111,120,46,105,111),db(99,115,98,46,97,112,112),db(115,116,97,99,107,98,108,105,116,122,46,99,111,109),db(115,116,97,99,107,98,108,105,116,122,46,105,111),db(99,111,100,105,101,114,46,105,111),db(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),db(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),db(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),db(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),db(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),db(106,115,102,105,100,100,108,101,46,110,101,116)],s=i.length;for(setTimeout(function checkWarn(){if(e)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var t="object"==typeof ut?ut:e&&window.gsap;e&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(db(37,99,87,97,114,110,105,110,103),db(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(db(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+At+db(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(db(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),db(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--s;)if(-1!==t.indexOf(i[s]))return;n||setTimeout(function(){e&&(window.location.href=db(104,116,116,112,115,58,47,47)+wt+db(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+At+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),/(^[#\.][a-z]|[a-y][a-z])/i),xt={matrix:{a:1,b:0,c:0,d:1,e:0,f:0}},Et=(MotionPathHelper.prototype.getString=function getString(){return this.editor.getString(!0,-this.offset.x,-this.offset.y)},MotionPathHelper);function MotionPathHelper(t,e){var n=this;void 0===e&&(e={}),mt||ub(e.gsap,1);var i,s,a,o,r,h,l,c,d,u,g,p,f,_=jb("div"),m=this,v={x:0,y:0};t instanceof ut.core.Tween?i=(c=t).targets()[0]:(i=ut.utils.toArray(t)[0],c=function _findMotionPathTween(t){for(var e=ut.getTweensOf(t),n=0;n<e.length;n++){if(e[n].vars.motionPath)return e[n];e[n].timeline&&e.push.apply(e,e[n].timeline.getChildren())}}(i)),s=pb(e.path,i,e),this.offset=v,h=function _getPositionOnPage(t){var e=t.getBoundingClientRect(),n=ft.clientTop-(gt.pageYOffset||ft.scrollTop||_t.scrollTop||0),i=ft.clientLeft-(gt.pageXOffset||ft.scrollLeft||_t.scrollLeft||0);return{left:e.left+i,top:e.top+n,right:e.right+i,bottom:e.bottom+n}}(i),o=parseFloat(ut.getProperty(i,"x","px")),r=parseFloat(ut.getProperty(i,"y","px")),a=i.getCTM&&"svg"!==i.tagName.toLowerCase(),c&&!s&&(s=pb(c.vars.motionPath.path||c.vars.motionPath,i,c.vars.motionPath)),_.setAttribute("class","copy-motion-path"),_.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",_.innerText="COPY MOTION PATH",_._gsHelper=m,(ut.utils.toArray(e.container)[0]||_t).appendChild(_),function _addCopyToClipboard(n,i,s){n.addEventListener("click",function(t){if(t.target._gsHelper){var e=i(t.target);if((Pt.value=e)&&Pt.select){console.log(e),Pt.style.display="block",Pt.select();try{pt.execCommand("copy"),Pt.blur(),s&&s(n)}catch(t){console.warn("Copy didn't work; this browser doesn't permit that.")}Pt.style.display="none"}}})}(_,function(){return m.getString()},function(){return ut.fromTo(_,{backgroundColor:"white"},{duration:.5,backgroundColor:"rgba(85, 85, 85, 0.6)"})}),(l=s&&s.ownerSVGElement)?(e.pathColor&&ut.set(s,{stroke:e.pathColor}),e.pathWidth&&ut.set(s,{strokeWidth:e.pathWidth}),e.pathOpacity&&ut.set(s,{opacity:e.pathOpacity})):(d=a&&i.ownerSVGElement&&i.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg",a?(l=i.ownerSVGElement,u=i.getBBox(),o=(g=function _getConsolidatedMatrix(t){return(t.transform.baseVal.consolidate()||xt).matrix}(i)).e,r=g.f,v.x=u.x,v.y=u.y):(l=jb("svg",d),_t.appendChild(l),l.setAttribute("viewBox","0 0 100 100"),l.setAttribute("class","motion-path-helper"),l.style.cssText="overflow:visible; background-color: transparent; position:absolute; z-index:5000; width:100px; height:100px; top:"+(h.top-r)+"px; left:"+(h.left-o)+"px;"),u=ib(s)&&!St.test(s)?s:function _getInitialPath(t,e){var n,i=[0,31,8,58,24,75,40,90,69,100,100,100];for(n=0;n<i.length;n+=2)i[n]+=t,i[n+1]+=e;return"M"+t+","+e+"C"+i.join(",")}(o,r),(s=jb("path",d)).setAttribute("d",u),s.setAttribute("vector-effect","non-scaling-stroke"),s.style.cssText="fill:transparent; stroke-width:"+(e.pathWidth||3)+"; stroke:"+(e.pathColor||"#555")+"; opacity:"+(e.pathOpacity||.6),l.appendChild(s)),(v.x||v.y)&&ut.set(s,{x:v.x,y:v.y}),"selected"in e||(e.selected=!0),"anchorSnap"in e||(e.anchorSnap=function(t){t.x*t.x+t.y*t.y<16&&(t.x=t.y=0)}),f=c&&"nested"===c.parent.data?c.parent.parent:c,e.onPress=function(){f.pause(0)},p=function refreshPath(){c.invalidate(),f.restart()},e.onRelease=e.onDeleteAnchor=p,this.editor=dt.create(s,e),e.center&&ut.set(i,{transformOrigin:"50% 50%",xPercent:-50,yPercent:-50}),c?(c.vars.motionPath.path?c.vars.motionPath.path=s:c.vars.motionPath={path:s},f.parent!==ut.globalTimeline&&ut.globalTimeline.add(f,function _getGlobalTime(t){for(var e=t.totalTime();t;)e=t.startTime()+e/(t.timeScale()||1),t=t.parent;return e}(f)-f.delay()),f.repeat(-1).repeatDelay(1)):c=f=ut.to(i,{motionPath:{path:s,start:e.start||0,end:"end"in e?e.end:1,autoRotate:"autoRotate"in e&&e.autoRotate,align:s,alignOrigin:e.alignOrigin},duration:e.duration||5,ease:e.ease||"power1.inOut",repeat:-1,repeatDelay:1,paused:!e.path}),this.animation=c,yt(this),this.kill=this.revert=function(){n.editor.kill(),_.parentNode&&_.parentNode.removeChild(_),a||l.parentNode&&l.parentNode.removeChild(l),f&&f.revert()}}Et.register=ub,Et.create=function(t,e){return new Et(t,e)},Et.editPath=function(t,e){return dt.create(t,e)},Et.version="3.12.0",t.MotionPathHelper=Et,t.default=Et;if (typeof(window)==="undefined"||window!==t){Object.defineProperty(t,"__esModule",{value:!0})} else {delete t.default}});
/*!
* MotionPathPlugin 3.11.5
* MotionPathPlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function p(t){return"string"==typeof t}function x(t){return Math.round(1e10*t)/1e10||0}function y(t,e,n,r){var a=t[e],o=1===r?6:subdivideSegment(a,n,r);if(o&&o+n+2<a.length)return t.splice(e,0,a.slice(0,n+o+2)),a.splice(0,n+o),1}function C(t,e){var n=t.length,r=t[n-1]||[],a=r.length;n&&e[0]===r[a-2]&&e[1]===r[a-1]&&(e=r.concat(e.slice(2)),n--),t[n]=e}var M=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,T=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,L=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,r=/(^[#\.][a-z]|[a-y][a-z])/i,V=Math.PI/180,s=180/Math.PI,F=Math.sin,U=Math.cos,H=Math.abs,$=Math.sqrt,l=Math.atan2,A=1e8,h=function _isNumber(t){return"number"==typeof t},S={},_={},e=1e5,d=function _wrapProgress(t){return Math.round((t+A)%1*e)/e||(t<0?0:1)},N=function _round(t){return Math.round(t*e)/e||0},m=function _getSampleIndex(t,e,n){var r=t.length,a=~~(n*r);if(t[a]>e){for(;--a&&t[a]>e;);a<0&&(a=0)}else for(;t[++a]<e&&a<r;);return a<r?a:r-1},O=function _copyMetaData(t,e){return e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e};function getRawPath(t){var e,n=(t=p(t)&&r.test(t)&&document.querySelector(t)||t).getAttribute?t:0;return n&&(t=t.getAttribute("d"))?(n._gsPath||(n._gsPath={}),(e=n._gsPath[t])&&!e._dirty?e:n._gsPath[t]=stringToRawPath(t)):t?p(t)?stringToRawPath(t):h(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function reverseSegment(t){var e,n=0;for(t.reverse();n<t.length;n+=2)e=t[n],t[n]=t[n+1],t[n+1]=e;t.reversed=!t.reversed}var B={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function convertToPath(t,e){var n,r,a,o,i,s,l,h,u,g,f,c,p,d,m,v,y,x,w,P,b,M,R=t.tagName.toLowerCase(),L=.552284749831;return"path"!==R&&t.getBBox?(s=function _createPath(t,e){var n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),a=[].slice.call(t.attributes),o=a.length;for(e=","+e+",";-1<--o;)n=a[o].nodeName.toLowerCase(),e.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,a[o].nodeValue);return r}(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),M=function _attrToObj(t,e){for(var n=e?e.split(","):[],r={},a=n.length;-1<--a;)r[n[a]]=+t.getAttribute(n[a])||0;return r}(t,B[R]),"rect"===R?(o=M.rx,i=M.ry||o,r=M.x,a=M.y,g=M.width-2*o,f=M.height-2*i,n=o||i?"M"+(v=(d=(p=r+o)+g)+o)+","+(x=a+i)+" V"+(w=x+f)+" C"+[v,P=w+i*L,m=d+o*L,b=w+i,d,b,d-(d-p)/3,b,p+(d-p)/3,b,p,b,c=r+o*(1-L),b,r,P,r,w,r,w-(w-x)/3,r,x+(w-x)/3,r,x,r,y=a+i*(1-L),c,a,p,a,p+(d-p)/3,a,d-(d-p)/3,a,d,a,m,a,v,y,v,x].join(",")+"z":"M"+(r+g)+","+a+" v"+f+" h"+-g+" v"+-f+" h"+g+"z"):"circle"===R||"ellipse"===R?(h="circle"===R?(o=i=M.r)*L:(o=M.rx,(i=M.ry)*L),n="M"+((r=M.cx)+o)+","+(a=M.cy)+" C"+[r+o,a+h,r+(l=o*L),a+i,r,a+i,r-l,a+i,r-o,a+h,r-o,a,r-o,a-h,r-l,a-i,r,a-i,r+l,a-i,r+o,a-h,r+o,a].join(",")+"z"):"line"===R?n="M"+M.x1+","+M.y1+" L"+M.x2+","+M.y2:"polyline"!==R&&"polygon"!==R||(n="M"+(r=(u=(t.getAttribute("points")+"").match(T)||[]).shift())+","+(a=u.shift())+" L"+u.join(","),"polygon"===R&&(n+=","+r+","+a+"z")),s.setAttribute("d",rawPathToString(s._gsRawPath=stringToRawPath(n))),e&&t.parentNode&&(t.parentNode.insertBefore(s,t),t.parentNode.removeChild(t)),s):t}function getRotationAtBezierT(t,e,n){var r,a=t[e],o=t[e+2],i=t[e+4];return a+=(o-a)*n,a+=((o+=(i-o)*n)-a)*n,r=o+(i+(t[e+6]-i)*n-o)*n-a,a=t[e+1],a+=((o=t[e+3])-a)*n,a+=((o+=((i=t[e+5])-o)*n)-a)*n,N(l(o+(i+(t[e+7]-i)*n-o)*n-a,r)*s)}function sliceRawPath(t,e,n){n=function _isUndefined(t){return void 0===t}(n)?1:x(n)||0,e=x(e)||0;var r=Math.max(0,~~(H(n-e)-1e-8)),a=function copyRawPath(t){for(var e=[],n=0;n<t.length;n++)e[n]=O(t[n],t[n].slice(0));return O(t,e)}(t);if(n<e&&(e=1-e,n=1-n,function _reverseRawPath(t,e){var n=t.length;for(e||t.reverse();n--;)t[n].reversed||reverseSegment(t[n])}(a),a.totalLength=0),e<0||n<0){var o=Math.abs(~~Math.min(e,n))+1;e+=o,n+=o}a.totalLength||cacheRawPathMeasurements(a);var i,s,l,h,u,g,f,c,p=1<n,d=getProgressData(a,e,S,!0),m=getProgressData(a,n,_),v=m.segment,w=d.segment,P=m.segIndex,b=d.segIndex,M=m.i,R=d.i,L=b===P,T=M===R&&L;if(p||r){for(i=P<b||L&&M<R||T&&m.t<d.t,y(a,b,R,d.t)&&(b++,i||(P++,T?(m.t=(m.t-d.t)/(1-d.t),M=0):L&&(M-=R))),Math.abs(1-(n-e))<1e-5?P=b-1:!m.t&&P?P--:y(a,P,M,m.t)&&i&&b++,1===d.t&&(b=(b+1)%a.length),u=[],f=1+(g=a.length)*r,f+=(g-(c=b)+P)%g,h=0;h<f;h++)C(u,a[c++%g]);a=u}else if(l=1===m.t?6:subdivideSegment(v,M,m.t),e!==n)for(s=subdivideSegment(w,R,T?d.t/m.t:d.t),L&&(l+=s),v.splice(M+l+2),(s||R)&&w.splice(0,R+s),h=a.length;h--;)(h<b||P<h)&&a.splice(h,1);else v.angle=getRotationAtBezierT(v,M+l,0),d=v[M+=l],m=v[M+1],v.length=v.totalLength=0,v.totalPoints=a.totalPoints=8,v.push(d,m,d,m,d,m,d,m);return a.totalLength=0,a}function measureSegment(t,e,n){e=e||0,t.samples||(t.samples=[],t.lookup=[]);var r,a,o,i,s,l,h,u,g,f,c,p,d,m,v,y,x,w=~~t.resolution||12,P=1/w,b=n?e+6*n+1:t.length,M=t[e],R=t[e+1],L=e?e/6*w:0,T=t.samples,S=t.lookup,C=(e?t.minLength:A)||A,_=T[L+n*w-1],N=e?T[L-1]:0;for(T.length=S.length=0,a=e+2;a<b;a+=6){if(o=t[a+4]-M,i=t[a+2]-M,s=t[a]-M,u=t[a+5]-R,g=t[a+3]-R,f=t[a+1]-R,l=h=c=p=0,H(o)<.01&&H(u)<.01&&H(s)+H(f)<.01)8<t.length&&(t.splice(a,6),a-=6,b-=6);else for(r=1;r<=w;r++)l=h-(h=((m=P*r)*m*o+3*(d=1-m)*(m*i+d*s))*m),c=p-(p=(m*m*u+3*d*(m*g+d*f))*m),(y=$(c*c+l*l))<C&&(C=y),N+=y,T[L++]=N;M+=o,R+=u}if(_)for(_-=N;L<T.length;L++)T[L]+=_;if(T.length&&C){if(t.totalLength=x=T[T.length-1]||0,x/(t.minLength=C)<9999)for(y=v=0,r=0;r<x;r+=C)S[y++]=T[v]<r?++v:v}else t.totalLength=T[0]=0;return e?N-T[e/2-1]:N}function cacheRawPathMeasurements(t,e){var n,r,a;for(a=n=r=0;a<t.length;a++)t[a].resolution=~~e||12,r+=t[a].length,n+=measureSegment(t[a]);return t.totalPoints=r,t.totalLength=n,t}function subdivideSegment(t,e,n){if(n<=0||1<=n)return 0;var r=t[e],a=t[e+1],o=t[e+2],i=t[e+3],s=t[e+4],l=t[e+5],h=r+(o-r)*n,u=o+(s-o)*n,g=a+(i-a)*n,f=i+(l-i)*n,c=h+(u-h)*n,p=g+(f-g)*n,d=s+(t[e+6]-s)*n,m=l+(t[e+7]-l)*n;return u+=(d-u)*n,f+=(m-f)*n,t.splice(e+2,4,N(h),N(g),N(c),N(p),N(c+(u-c)*n),N(p+(f-p)*n),N(u),N(f),N(d),N(m)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}function getProgressData(t,e,n,r){n=n||{},t.totalLength||cacheRawPathMeasurements(t),(e<0||1<e)&&(e=d(e));var a,o,i,s,l,h,u,g=0,f=t[0];if(e)if(1===e)u=1,h=(f=t[g=t.length-1]).length-8;else{if(1<t.length){for(i=t.totalLength*e,l=h=0;(l+=t[h++].totalLength)<i;)g=h;e=(i-(s=l-(f=t[g]).totalLength))/(l-s)||0}a=f.samples,o=f.resolution,i=f.totalLength*e,s=(h=f.lookup.length?f.lookup[~~(i/f.minLength)]||0:m(a,i,e))?a[h-1]:0,(l=a[h])<i&&(s=l,l=a[++h]),u=1/o*((i-s)/(l-s)+h%o),h=6*~~(h/o),r&&1===u&&(h+6<f.length?(h+=6,u=0):g+1<t.length&&(h=u=0,f=t[++g]))}else u=h=g=0,f=t[0];return n.t=u,n.i=h,n.path=t,n.segment=f,n.segIndex=g,n}function getPositionOnPath(t,e,n,r){var a,o,i,s,l,h,u,g,f,c=t[0],p=r||{};if((e<0||1<e)&&(e=d(e)),c.lookup||cacheRawPathMeasurements(t),1<t.length){for(i=t.totalLength*e,l=h=0;(l+=t[h++].totalLength)<i;)c=t[h];e=(i-(s=l-c.totalLength))/(l-s)||0}return a=c.samples,o=c.resolution,i=c.totalLength*e,s=(h=c.lookup.length?c.lookup[e<1?~~(i/c.minLength):c.lookup.length-1]||0:m(a,i,e))?a[h-1]:0,(l=a[h])<i&&(s=l,l=a[++h]),f=1-(u=1/o*((i-s)/(l-s)+h%o)||0),g=c[h=6*~~(h/o)],p.x=N((u*u*(c[h+6]-g)+3*f*(u*(c[h+4]-g)+f*(c[h+2]-g)))*u+g),p.y=N((u*u*(c[h+7]-(g=c[h+1]))+3*f*(u*(c[h+5]-g)+f*(c[h+3]-g)))*u+g),n&&(p.angle=c.totalLength?getRotationAtBezierT(c,h,1<=u?1-1e-9:u||1e-9):c.angle||0),p}function transformRawPath(t,e,n,r,a,o,i){for(var s,l,h,u,g,f=t.length;-1<--f;)for(l=(s=t[f]).length,h=0;h<l;h+=2)u=s[h],g=s[h+1],s[h]=u*e+g*r+o,s[h+1]=u*n+g*a+i;return t._dirty=1,t}function arcToSegment(t,e,n,r,a,o,i,s,l){if(t!==s||e!==l){n=H(n),r=H(r);var h=a%360*V,u=U(h),g=F(h),f=Math.PI,c=2*f,p=(t-s)/2,d=(e-l)/2,m=u*p+g*d,v=-g*p+u*d,y=m*m,x=v*v,w=y/(n*n)+x/(r*r);1<w&&(n=$(w)*n,r=$(w)*r);var P=n*n,b=r*r,M=(P*b-P*x-b*y)/(P*x+b*y);M<0&&(M=0);var R=(o===i?-1:1)*$(M),L=n*v/r*R,T=-r*m/n*R,S=u*L-g*T+(t+s)/2,C=g*L+u*T+(e+l)/2,_=(m-L)/n,N=(v-T)/r,A=(-m-L)/n,O=(-v-T)/r,B=_*_+N*N,I=(N<0?-1:1)*Math.acos(_/$(B)),D=(_*O-N*A<0?-1:1)*Math.acos((_*A+N*O)/$(B*(A*A+O*O)));isNaN(D)&&(D=f),!i&&0<D?D-=c:i&&D<0&&(D+=c),I%=c,D%=c;var E,X=Math.ceil(H(D)/(c/4)),k=[],z=D/X,G=4/3*F(z/2)/(1+U(z/2)),Z=u*n,q=g*n,Y=g*-r,j=u*r;for(E=0;E<X;E++)m=U(a=I+E*z),v=F(a),_=U(a+=z),N=F(a),k.push(m-G*v,v+G*m,_+G*N,N-G*_,_,N);for(E=0;E<k.length;E+=2)m=k[E],v=k[E+1],k[E]=m*Z+v*Y+S,k[E+1]=m*q+v*j+C;return k[E-2]=s,k[E-1]=l,k}}function stringToRawPath(t){function Cf(t,e,n,r){u=(n-t)/3,g=(r-e)/3,s.push(t+u,e+g,n-u,r-g,n,r)}var e,n,r,a,o,i,s,l,h,u,g,f,c,p,d,m=(t+"").replace(L,function(t){var e=+t;return e<1e-4&&-1e-4<e?0:e}).match(M)||[],v=[],y=0,x=0,w=m.length,P=0,b="ERROR: malformed path: "+t;if(!t||!isNaN(m[0])||isNaN(m[1]))return console.log(b),v;for(e=0;e<w;e++)if(c=o,isNaN(m[e])?i=(o=m[e].toUpperCase())!==m[e]:e--,r=+m[e+1],a=+m[e+2],i&&(r+=y,a+=x),e||(l=r,h=a),"M"===o)s&&(s.length<8?--v.length:P+=s.length),y=l=r,x=h=a,s=[r,a],v.push(s),e+=2,o="L";else if("C"===o)i||(y=x=0),(s=s||[0,0]).push(r,a,y+1*m[e+3],x+1*m[e+4],y+=1*m[e+5],x+=1*m[e+6]),e+=6;else if("S"===o)u=y,g=x,"C"!==c&&"S"!==c||(u+=y-s[s.length-4],g+=x-s[s.length-3]),i||(y=x=0),s.push(u,g,r,a,y+=1*m[e+3],x+=1*m[e+4]),e+=4;else if("Q"===o)u=y+2/3*(r-y),g=x+2/3*(a-x),i||(y=x=0),y+=1*m[e+3],x+=1*m[e+4],s.push(u,g,y+2/3*(r-y),x+2/3*(a-x),y,x),e+=4;else if("T"===o)u=y-s[s.length-4],g=x-s[s.length-3],s.push(y+u,x+g,r+2/3*(y+1.5*u-r),a+2/3*(x+1.5*g-a),y=r,x=a),e+=2;else if("H"===o)Cf(y,x,y=r,x),e+=1;else if("V"===o)Cf(y,x,y,x=r+(i?x-y:0)),e+=1;else if("L"===o||"Z"===o)"Z"===o&&(r=l,a=h,s.closed=!0),("L"===o||.5<H(y-r)||.5<H(x-a))&&(Cf(y,x,r,a),"L"===o&&(e+=2)),y=r,x=a;else if("A"===o){if(p=m[e+4],d=m[e+5],u=m[e+6],g=m[e+7],n=7,1<p.length&&(p.length<3?(g=u,u=d,n--):(g=d,u=p.substr(2),n-=2),d=p.charAt(1),p=p.charAt(0)),f=arcToSegment(y,x,+m[e+1],+m[e+2],+m[e+3],+p,+d,(i?y:0)+1*u,(i?x:0)+1*g),e+=n,f)for(n=0;n<f.length;n++)s.push(f[n]);y=s[s.length-2],x=s[s.length-1]}else console.log(b);return(e=s.length)<6?(v.pop(),e=0):s[0]===s[e-2]&&s[1]===s[e-1]&&(s.closed=!0),v.totalPoints=P+e,v}function flatPointsToSegment(t,e){void 0===e&&(e=1);for(var n=t[0],r=0,a=[n,r],o=2;o<t.length;o+=2)a.push(n,r,t[o],r=(t[o]-n)*e/2,n=t[o],-r);return a}function pointsToSegment(t,e){H(t[0]-t[2])<1e-4&&H(t[1]-t[3])<1e-4&&(t=t.slice(2));var n,r,a,o,i,s,l,h,u,g,f,c,p,d,m=t.length-2,v=+t[0],y=+t[1],x=+t[2],w=+t[3],P=[v,y,v,y],b=x-v,M=w-y,R=Math.abs(t[m]-v)<.001&&Math.abs(t[m+1]-y)<.001;for(R&&(t.push(x,w),x=v,w=y,v=t[m-2],y=t[m-1],t.unshift(v,y),m+=4),e=e||0===e?+e:1,a=2;a<m;a+=2)n=v,r=y,v=x,y=w,x=+t[a+2],w=+t[a+3],v===x&&y===w||(o=b,i=M,b=x-v,M=w-y,h=((s=$(o*o+i*i))+(l=$(b*b+M*M)))*e*.25/$(Math.pow(b/l+o/s,2)+Math.pow(M/l+i/s,2)),f=v-((u=v-(v-n)*(s?h/s:0))+(((g=v+(x-v)*(l?h/l:0))-u)*(3*s/(s+l)+.5)/4||0)),d=y-((c=y-(y-r)*(s?h/s:0))+(((p=y+(w-y)*(l?h/l:0))-c)*(3*s/(s+l)+.5)/4||0)),v===n&&y===r||P.push(N(u+f),N(c+d),N(v),N(y),N(g+f),N(p+d)));return v!==x||y!==w||P.length<4?P.push(N(x),N(w),N(x),N(w)):P.length-=2,2===P.length?P.push(v,y,v,y,v,y):R&&(P.splice(0,6),P.length=P.length-6),P}function rawPathToString(t){h(t[0])&&(t=[t]);var e,n,r,a,o="",i=t.length;for(n=0;n<i;n++){for(a=t[n],o+="M"+N(a[0])+","+N(a[1])+" C",e=a.length,r=2;r<e;r++)o+=N(a[r++])+","+N(a[r++])+" "+N(a[r++])+","+N(a[r++])+" "+N(a[r++])+","+N(a[r])+" ";a.closed&&(o+="z")}return o}function R(t){var e=t.ownerDocument||t;!(k in t.style)&&"msTransform"in t.style&&(z=(k="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(v=window,I=new Y,e){w=(c=e).documentElement,P=e.body,(D=c.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=e.createElement("div"),r=e.createElement("div");P.appendChild(n),n.appendChild(r),n.style.position="static",n.style[k]="translate3d(0,0,1px)",E=r.offsetParent!==n,P.removeChild(n)}return e}function X(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)}function Z(t,e){if(t.parentNode&&(c||R(t))){var n=X(t),r=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",a=n?e?"rect":"g":"div",o=2!==e?0:100,i=3===e?100:0,s="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",l=c.createElementNS?c.createElementNS(r.replace(/^https/,"http"),a):c.createElement(a);return e&&(n?(b=b||Z(t),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+o+","+i+")"),b.appendChild(l)):(f||((f=Z(t)).style.cssText=s),l.style.cssText=s+"width:0.1px;height:0.1px;top:"+i+"px;left:"+o+"px",f.appendChild(l))),l}throw"Need document and parent."}function aa(t,e){var n,r,a,o,i,s,l=X(t),h=t===l,u=l?G:q,g=t.parentNode;if(t===v)return t;if(u.length||u.push(Z(t,1),Z(t,2),Z(t,3)),n=l?b:f,l)h?(o=-(a=function _getCTM(t){var e,n=t.getCTM();return n||(e=t.style[k],t.style[k]="none",t.appendChild(D),n=D.getCTM(),t.removeChild(D),e?t.style[k]=e:t.style.removeProperty(k.replace(/([A-Z])/g,"-$1").toLowerCase())),n||I.clone()}(t)).e/a.a,i=-a.f/a.d,r=I):t.getBBox?(a=t.getBBox(),o=(r=(r=t.transform?t.transform.baseVal:{}).numberOfItems?1<r.numberOfItems?function _consolidate(t){for(var e=new Y,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e}(r):r.getItem(0).matrix:I).a*a.x+r.c*a.y,i=r.b*a.x+r.d*a.y):(r=new Y,o=i=0),e&&"g"===t.tagName.toLowerCase()&&(o=i=0),(h?l:g).appendChild(n),n.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+o)+","+(r.f+i)+")");else{if(o=i=0,E)for(r=t.offsetParent,a=t;(a=a&&a.parentNode)&&a!==r&&a.parentNode;)4<(v.getComputedStyle(a)[k]+"").length&&(o=a.offsetLeft,i=a.offsetTop,a=0);if("absolute"!==(s=v.getComputedStyle(t)).position&&"fixed"!==s.position)for(r=t.offsetParent;g&&g!==r;)o+=g.scrollLeft||0,i+=g.scrollTop||0,g=g.parentNode;(a=n.style).top=t.offsetTop-i+"px",a.left=t.offsetLeft-o+"px",a[k]=s[k],a[z]=s[z],a.position="fixed"===s.position?"fixed":"absolute",t.parentNode.appendChild(n)}return n}function ba(t,e,n,r,a,o,i){return t.a=e,t.b=n,t.c=r,t.d=a,t.e=o,t.f=i,t}var c,v,w,P,f,b,I,D,E,n,k="transform",z=k+"Origin",G=[],q=[],Y=((n=Matrix2D.prototype).inverse=function inverse(){var t=this.a,e=this.b,n=this.c,r=this.d,a=this.e,o=this.f,i=t*r-e*n||1e-10;return ba(this,r/i,-e/i,-n/i,t/i,(n*o-r*a)/i,-(t*o-e*a)/i)},n.multiply=function multiply(t){var e=this.a,n=this.b,r=this.c,a=this.d,o=this.e,i=this.f,s=t.a,l=t.c,h=t.b,u=t.d,g=t.e,f=t.f;return ba(this,s*e+h*r,s*n+h*a,l*e+u*r,l*n+u*a,o+g*e+f*r,i+g*n+f*a)},n.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)},n.equals=function equals(t){var e=this.a,n=this.b,r=this.c,a=this.d,o=this.e,i=this.f;return e===t.a&&n===t.b&&r===t.c&&a===t.d&&o===t.e&&i===t.f},n.apply=function apply(t,e){void 0===e&&(e={});var n=t.x,r=t.y,a=this.a,o=this.b,i=this.c,s=this.d,l=this.e,h=this.f;return e.x=n*a+r*i+l||0,e.y=n*o+r*s+h||0,e},Matrix2D);function Matrix2D(t,e,n,r,a,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===a&&(a=0),void 0===o&&(o=0),ba(this,t,e,n,r,a,o)}function getGlobalMatrix(t,e,n,r){if(!t||!t.parentNode||(c||R(t)).documentElement===t)return new Y;var a=function _forceNonZeroScale(t){for(var e,n;t&&t!==P;)(n=t._gsap)&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e}(t),o=X(t)?G:q,i=aa(t,n),s=o[0].getBoundingClientRect(),l=o[1].getBoundingClientRect(),h=o[2].getBoundingClientRect(),u=i.parentNode,g=!r&&function _isFixed(t){return"fixed"===v.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?_isFixed(t):void 0)}(t),f=new Y((l.left-s.left)/100,(l.top-s.top)/100,(h.left-s.left)/100,(h.top-s.top)/100,s.left+(g?0:function _getDocScrollLeft(){return v.pageXOffset||c.scrollLeft||w.scrollLeft||P.scrollLeft||0}()),s.top+(g?0:function _getDocScrollTop(){return v.pageYOffset||c.scrollTop||w.scrollTop||P.scrollTop||0}()));if(u.removeChild(i),a)for(s=a.length;s--;)(l=a[s]).scaleX=l.scaleY=0,l.renderTransform(1,l);return e?f.inverse():f}function na(t,e,n,r){for(var a=e.length,o=2===r?0:r,i=0;i<a;i++)t[o]=parseFloat(e[i][n]),2===r&&(t[o+1]=0),o+=2;return t}function oa(t,e,n){return parseFloat(t._gsap.get(t,e,n||"px"))||0}function pa(t){var e,n=t[0],r=t[1];for(e=2;e<t.length;e+=2)n=t[e]+=n,r=t[e+1]+=r}function qa(t,e,n,r,a,o,i,s,l){return e="cubic"===i.type?[e]:(!1!==i.fromCurrent&&e.unshift(oa(n,r,s),a?oa(n,a,l):0),i.relative&&pa(e),[(a?pointsToSegment:flatPointsToSegment)(e,i.curviness)]),e=o(nt(e,n,i)),rt(t,n,r,e,"x",s),a&&rt(t,n,a,e,"y",l),cacheRawPathMeasurements(e,i.resolution||(0===i.curviness?20:12))}function ra(t){return t}function ta(t,e,n){var r,a=getGlobalMatrix(t),o=0,i=0;return"svg"===(t.tagName+"").toLowerCase()?(r=t.viewBox.baseVal).width||(r={width:+t.getAttribute("width"),height:+t.getAttribute("height")}):r=e&&t.getBBox&&t.getBBox(),e&&"auto"!==e&&(o=e.push?e[0]*(r?r.width:t.offsetWidth||0):e.x,i=e.push?e[1]*(r?r.height:t.offsetHeight||0):e.y),n.apply(o||i?a.apply({x:o,y:i}):{x:a.e,y:a.f})}function ua(t,e,n,r){var a,o=getGlobalMatrix(t.parentNode,!0,!0),i=o.clone().multiply(getGlobalMatrix(e)),s=ta(t,n,o),l=ta(e,r,o),h=l.x,u=l.y;return i.e=i.f=0,"auto"===r&&e.getTotalLength&&"path"===e.tagName.toLowerCase()&&(a=e.getAttribute("d").match(et)||[],h+=(a=i.apply({x:+a[0],y:+a[1]})).x,u+=a.y),a&&(h-=(a=i.apply(e.getBBox())).x,u-=a.y),i.e=h-s.x,i.f=u-s.y,i}var j,g,Q,W,J,o,K="x,translateX,left,marginLeft,xPercent".split(","),tt="y,translateY,top,marginTop,yPercent".split(","),i=Math.PI/180,et=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,nt=function _align(t,e,n){var r,a,o,i=n.align,s=n.matrix,l=n.offsetX,h=n.offsetY,u=n.alignOrigin,g=t[0][0],f=t[0][1],c=oa(e,"x"),p=oa(e,"y");return t&&t.length?(i&&("self"===i||(r=W(i)[0]||e)===e?transformRawPath(t,1,0,0,1,c-g,p-f):(u&&!1!==u[2]?j.set(e,{transformOrigin:100*u[0]+"% "+100*u[1]+"%"}):u=[oa(e,"xPercent")/-100,oa(e,"yPercent")/-100],o=(a=ua(e,r,u,"auto")).apply({x:g,y:f}),transformRawPath(t,a.a,a.b,a.c,a.d,c+a.e-(o.x-a.e),p+a.f-(o.y-a.f)))),s?transformRawPath(t,s.a,s.b,s.c,s.d,s.e,s.f):(l||h)&&transformRawPath(t,1,0,0,1,l||0,h||0),t):getRawPath("M0,0L0,0")},rt=function _addDimensionalPropTween(t,e,n,r,a,o){var i=e._gsap,s=i.harness,l=s&&s.aliases&&s.aliases[n],h=l&&l.indexOf(",")<0?l:n,u=t._pt=new g(t._pt,e,h,0,0,ra,0,i.set(e,h,t));u.u=Q(i.get(e,h,o))||0,u.path=r,u.pp=a,t._props.push(h)},a={version:"3.11.5",name:"motionPath",register:function register(t,e,n){Q=(j=t).utils.getUnit,W=j.utils.toArray,J=j.core.getStyleSaver,o=j.core.reverting||function(){},g=n},init:function init(t,e,n){if(!j)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof e&&!e.style&&e.path||(e={path:e});var r,a,o=[],i=e.path,s=e.autoRotate,l=e.unitX,h=e.unitY,u=e.x,g=e.y,f=i[0],c=function _sliceModifier(e,n){return function(t){return e||1!==n?sliceRawPath(t,e,n):t}}(e.start,"end"in e?e.end:1);if(this.rawPaths=o,this.target=t,this.tween=n,this.styles=J&&J(t,"transform"),(this.rotate=s||0===s)&&(this.rOffset=parseFloat(s)||0,this.radians=!!e.useRadians,this.rProp=e.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=Q(t._gsap.get(t,this.rProp))||0),!Array.isArray(i)||"closed"in i||"number"==typeof f)cacheRawPathMeasurements(r=c(nt(getRawPath(e.path),t,e)),e.resolution),o.push(r),rt(this,t,e.x||"x",r,"x",e.unitX||"px"),rt(this,t,e.y||"y",r,"y",e.unitY||"px");else{for(a in f)!u&&~K.indexOf(a)?u=a:!g&&~tt.indexOf(a)&&(g=a);for(a in u&&g?o.push(qa(this,na(na([],i,u,0),i,g,1),t,u,g,c,e,l||Q(i[0][u]),h||Q(i[0][g]))):u=g=0,f)a!==u&&a!==g&&o.push(qa(this,na([],i,a,2),t,a,0,c,e,Q(i[0][a])))}},render:function render(t,e){var n=e.rawPaths,r=n.length,a=e._pt;if(e.tween._time||!o()){for(1<t?t=1:t<0&&(t=0);r--;)getPositionOnPath(n[r],t,!r&&e.rotate,n[r]);for(;a;)a.set(a.t,a.p,a.path[a.pp]+a.u,a.d,t),a=a._next;e.rotate&&e.rSet(e.target,e.rProp,n[0].angle*(e.radians?i:1)+e.rOffset+e.ru,e,t)}else e.styles.revert()},getLength:function getLength(t){return cacheRawPathMeasurements(getRawPath(t)).totalLength},sliceRawPath:sliceRawPath,getRawPath:getRawPath,pointsToSegment:pointsToSegment,stringToRawPath:stringToRawPath,rawPathToString:rawPathToString,transformRawPath:transformRawPath,getGlobalMatrix:getGlobalMatrix,getPositionOnPath:getPositionOnPath,cacheRawPathMeasurements:cacheRawPathMeasurements,convertToPath:function convertToPath$1(t,e){return W(t).map(function(t){return convertToPath(t,!1!==e)})},convertCoordinates:function convertCoordinates(t,e,n){var r=getGlobalMatrix(e,!0,!0).multiply(getGlobalMatrix(t));return n?r.apply(n):r},getAlignMatrix:ua,getRelativePosition:function getRelativePosition(t,e,n,r){var a=ua(t,e,n,r);return{x:a.e,y:a.f}},arrayToRawPath:function arrayToRawPath(t,e){var n=na(na([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&pa(n),["cubic"===e.type?n:pointsToSegment(n,e.curviness)]}};!function _getGSAP(){return j||"undefined"!=typeof window&&(j=window.gsap)&&j.registerPlugin&&j}()||j.registerPlugin(a),t.MotionPathPlugin=a,t.default=a;if (typeof(window)==="undefined"||window!==t){Object.defineProperty(t,"__esModule",{value:!0})} else {delete t.default}});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(t){"use strict";function p(t){return"string"==typeof t}function x(t){return Math.round(1e10*t)/1e10||0}function y(t,e,n,r){var a=t[e],o=1===r?6:subdivideSegment(a,n,r);if(o&&o+n+2<a.length)return t.splice(e,0,a.slice(0,n+o+2)),a.splice(0,n+o),1}function C(t,e){var n=t.length,r=t[n-1]||[],a=r.length;n&&e[0]===r[a-2]&&e[1]===r[a-1]&&(e=r.concat(e.slice(2)),n--),t[n]=e}var M=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,T=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,L=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,r=/(^[#\.][a-z]|[a-y][a-z])/i,V=Math.PI/180,s=180/Math.PI,F=Math.sin,U=Math.cos,H=Math.abs,$=Math.sqrt,l=Math.atan2,A=1e8,h=function _isNumber(t){return"number"==typeof t},S={},_={},e=1e5,d=function _wrapProgress(t){return Math.round((t+A)%1*e)/e||(t<0?0:1)},N=function _round(t){return Math.round(t*e)/e||0},m=function _getSampleIndex(t,e,n){var r=t.length,a=~~(n*r);if(t[a]>e){for(;--a&&t[a]>e;);a<0&&(a=0)}else for(;t[++a]<e&&a<r;);return a<r?a:r-1},O=function _copyMetaData(t,e){return e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e};function getRawPath(t){var e,n=(t=p(t)&&r.test(t)&&document.querySelector(t)||t).getAttribute?t:0;return n&&(t=t.getAttribute("d"))?(n._gsPath||(n._gsPath={}),(e=n._gsPath[t])&&!e._dirty?e:n._gsPath[t]=stringToRawPath(t)):t?p(t)?stringToRawPath(t):h(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function reverseSegment(t){var e,n=0;for(t.reverse();n<t.length;n+=2)e=t[n],t[n]=t[n+1],t[n+1]=e;t.reversed=!t.reversed}var B={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function convertToPath(t,e){var n,r,a,o,i,s,l,h,u,g,f,c,p,d,m,v,y,x,w,P,b,M,R=t.tagName.toLowerCase(),L=.552284749831;return"path"!==R&&t.getBBox?(s=function _createPath(t,e){var n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),a=[].slice.call(t.attributes),o=a.length;for(e=","+e+",";-1<--o;)n=a[o].nodeName.toLowerCase(),e.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,a[o].nodeValue);return r}(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),M=function _attrToObj(t,e){for(var n=e?e.split(","):[],r={},a=n.length;-1<--a;)r[n[a]]=+t.getAttribute(n[a])||0;return r}(t,B[R]),"rect"===R?(o=M.rx,i=M.ry||o,r=M.x,a=M.y,g=M.width-2*o,f=M.height-2*i,n=o||i?"M"+(v=(d=(p=r+o)+g)+o)+","+(x=a+i)+" V"+(w=x+f)+" C"+[v,P=w+i*L,m=d+o*L,b=w+i,d,b,d-(d-p)/3,b,p+(d-p)/3,b,p,b,c=r+o*(1-L),b,r,P,r,w,r,w-(w-x)/3,r,x+(w-x)/3,r,x,r,y=a+i*(1-L),c,a,p,a,p+(d-p)/3,a,d-(d-p)/3,a,d,a,m,a,v,y,v,x].join(",")+"z":"M"+(r+g)+","+a+" v"+f+" h"+-g+" v"+-f+" h"+g+"z"):"circle"===R||"ellipse"===R?(h="circle"===R?(o=i=M.r)*L:(o=M.rx,(i=M.ry)*L),n="M"+((r=M.cx)+o)+","+(a=M.cy)+" C"+[r+o,a+h,r+(l=o*L),a+i,r,a+i,r-l,a+i,r-o,a+h,r-o,a,r-o,a-h,r-l,a-i,r,a-i,r+l,a-i,r+o,a-h,r+o,a].join(",")+"z"):"line"===R?n="M"+M.x1+","+M.y1+" L"+M.x2+","+M.y2:"polyline"!==R&&"polygon"!==R||(n="M"+(r=(u=(t.getAttribute("points")+"").match(T)||[]).shift())+","+(a=u.shift())+" L"+u.join(","),"polygon"===R&&(n+=","+r+","+a+"z")),s.setAttribute("d",rawPathToString(s._gsRawPath=stringToRawPath(n))),e&&t.parentNode&&(t.parentNode.insertBefore(s,t),t.parentNode.removeChild(t)),s):t}function getRotationAtBezierT(t,e,n){var r,a=t[e],o=t[e+2],i=t[e+4];return a+=(o-a)*n,a+=((o+=(i-o)*n)-a)*n,r=o+(i+(t[e+6]-i)*n-o)*n-a,a=t[e+1],a+=((o=t[e+3])-a)*n,a+=((o+=((i=t[e+5])-o)*n)-a)*n,N(l(o+(i+(t[e+7]-i)*n-o)*n-a,r)*s)}function sliceRawPath(t,e,n){n=function _isUndefined(t){return void 0===t}(n)?1:x(n)||0,e=x(e)||0;var r=Math.max(0,~~(H(n-e)-1e-8)),a=function copyRawPath(t){for(var e=[],n=0;n<t.length;n++)e[n]=O(t[n],t[n].slice(0));return O(t,e)}(t);if(n<e&&(e=1-e,n=1-n,function _reverseRawPath(t,e){var n=t.length;for(e||t.reverse();n--;)t[n].reversed||reverseSegment(t[n])}(a),a.totalLength=0),e<0||n<0){var o=Math.abs(~~Math.min(e,n))+1;e+=o,n+=o}a.totalLength||cacheRawPathMeasurements(a);var i,s,l,h,u,g,f,c,p=1<n,d=getProgressData(a,e,S,!0),m=getProgressData(a,n,_),v=m.segment,w=d.segment,P=m.segIndex,b=d.segIndex,M=m.i,R=d.i,L=b===P,T=M===R&&L;if(p||r){for(i=P<b||L&&M<R||T&&m.t<d.t,y(a,b,R,d.t)&&(b++,i||(P++,T?(m.t=(m.t-d.t)/(1-d.t),M=0):L&&(M-=R))),Math.abs(1-(n-e))<1e-5?P=b-1:!m.t&&P?P--:y(a,P,M,m.t)&&i&&b++,1===d.t&&(b=(b+1)%a.length),u=[],f=1+(g=a.length)*r,f+=(g-(c=b)+P)%g,h=0;h<f;h++)C(u,a[c++%g]);a=u}else if(l=1===m.t?6:subdivideSegment(v,M,m.t),e!==n)for(s=subdivideSegment(w,R,T?d.t/m.t:d.t),L&&(l+=s),v.splice(M+l+2),(s||R)&&w.splice(0,R+s),h=a.length;h--;)(h<b||P<h)&&a.splice(h,1);else v.angle=getRotationAtBezierT(v,M+l,0),d=v[M+=l],m=v[M+1],v.length=v.totalLength=0,v.totalPoints=a.totalPoints=8,v.push(d,m,d,m,d,m,d,m);return a.totalLength=0,a}function measureSegment(t,e,n){e=e||0,t.samples||(t.samples=[],t.lookup=[]);var r,a,o,i,s,l,h,u,g,f,c,p,d,m,v,y,x,w=~~t.resolution||12,P=1/w,b=n?e+6*n+1:t.length,M=t[e],R=t[e+1],L=e?e/6*w:0,T=t.samples,S=t.lookup,C=(e?t.minLength:A)||A,_=T[L+n*w-1],N=e?T[L-1]:0;for(T.length=S.length=0,a=e+2;a<b;a+=6){if(o=t[a+4]-M,i=t[a+2]-M,s=t[a]-M,u=t[a+5]-R,g=t[a+3]-R,f=t[a+1]-R,l=h=c=p=0,H(o)<.01&&H(u)<.01&&H(s)+H(f)<.01)8<t.length&&(t.splice(a,6),a-=6,b-=6);else for(r=1;r<=w;r++)l=h-(h=((m=P*r)*m*o+3*(d=1-m)*(m*i+d*s))*m),c=p-(p=(m*m*u+3*d*(m*g+d*f))*m),(y=$(c*c+l*l))<C&&(C=y),N+=y,T[L++]=N;M+=o,R+=u}if(_)for(_-=N;L<T.length;L++)T[L]+=_;if(T.length&&C){if(t.totalLength=x=T[T.length-1]||0,x/(t.minLength=C)<9999)for(y=v=0,r=0;r<x;r+=C)S[y++]=T[v]<r?++v:v}else t.totalLength=T[0]=0;return e?N-T[e/2-1]:N}function cacheRawPathMeasurements(t,e){var n,r,a;for(a=n=r=0;a<t.length;a++)t[a].resolution=~~e||12,r+=t[a].length,n+=measureSegment(t[a]);return t.totalPoints=r,t.totalLength=n,t}function subdivideSegment(t,e,n){if(n<=0||1<=n)return 0;var r=t[e],a=t[e+1],o=t[e+2],i=t[e+3],s=t[e+4],l=t[e+5],h=r+(o-r)*n,u=o+(s-o)*n,g=a+(i-a)*n,f=i+(l-i)*n,c=h+(u-h)*n,p=g+(f-g)*n,d=s+(t[e+6]-s)*n,m=l+(t[e+7]-l)*n;return u+=(d-u)*n,f+=(m-f)*n,t.splice(e+2,4,N(h),N(g),N(c),N(p),N(c+(u-c)*n),N(p+(f-p)*n),N(u),N(f),N(d),N(m)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}function getProgressData(t,e,n,r){n=n||{},t.totalLength||cacheRawPathMeasurements(t),(e<0||1<e)&&(e=d(e));var a,o,i,s,l,h,u,g=0,f=t[0];if(e)if(1===e)u=1,h=(f=t[g=t.length-1]).length-8;else{if(1<t.length){for(i=t.totalLength*e,l=h=0;(l+=t[h++].totalLength)<i;)g=h;e=(i-(s=l-(f=t[g]).totalLength))/(l-s)||0}a=f.samples,o=f.resolution,i=f.totalLength*e,s=(h=f.lookup.length?f.lookup[~~(i/f.minLength)]||0:m(a,i,e))?a[h-1]:0,(l=a[h])<i&&(s=l,l=a[++h]),u=1/o*((i-s)/(l-s)+h%o),h=6*~~(h/o),r&&1===u&&(h+6<f.length?(h+=6,u=0):g+1<t.length&&(h=u=0,f=t[++g]))}else u=h=g=0,f=t[0];return n.t=u,n.i=h,n.path=t,n.segment=f,n.segIndex=g,n}function getPositionOnPath(t,e,n,r){var a,o,i,s,l,h,u,g,f,c=t[0],p=r||{};if((e<0||1<e)&&(e=d(e)),c.lookup||cacheRawPathMeasurements(t),1<t.length){for(i=t.totalLength*e,l=h=0;(l+=t[h++].totalLength)<i;)c=t[h];e=(i-(s=l-c.totalLength))/(l-s)||0}return a=c.samples,o=c.resolution,i=c.totalLength*e,s=(h=c.lookup.length?c.lookup[e<1?~~(i/c.minLength):c.lookup.length-1]||0:m(a,i,e))?a[h-1]:0,(l=a[h])<i&&(s=l,l=a[++h]),f=1-(u=1/o*((i-s)/(l-s)+h%o)||0),g=c[h=6*~~(h/o)],p.x=N((u*u*(c[h+6]-g)+3*f*(u*(c[h+4]-g)+f*(c[h+2]-g)))*u+g),p.y=N((u*u*(c[h+7]-(g=c[h+1]))+3*f*(u*(c[h+5]-g)+f*(c[h+3]-g)))*u+g),n&&(p.angle=c.totalLength?getRotationAtBezierT(c,h,1<=u?1-1e-9:u||1e-9):c.angle||0),p}function transformRawPath(t,e,n,r,a,o,i){for(var s,l,h,u,g,f=t.length;-1<--f;)for(l=(s=t[f]).length,h=0;h<l;h+=2)u=s[h],g=s[h+1],s[h]=u*e+g*r+o,s[h+1]=u*n+g*a+i;return t._dirty=1,t}function arcToSegment(t,e,n,r,a,o,i,s,l){if(t!==s||e!==l){n=H(n),r=H(r);var h=a%360*V,u=U(h),g=F(h),f=Math.PI,c=2*f,p=(t-s)/2,d=(e-l)/2,m=u*p+g*d,v=-g*p+u*d,y=m*m,x=v*v,w=y/(n*n)+x/(r*r);1<w&&(n=$(w)*n,r=$(w)*r);var P=n*n,b=r*r,M=(P*b-P*x-b*y)/(P*x+b*y);M<0&&(M=0);var R=(o===i?-1:1)*$(M),L=n*v/r*R,T=-r*m/n*R,S=u*L-g*T+(t+s)/2,C=g*L+u*T+(e+l)/2,_=(m-L)/n,N=(v-T)/r,A=(-m-L)/n,O=(-v-T)/r,B=_*_+N*N,I=(N<0?-1:1)*Math.acos(_/$(B)),D=(_*O-N*A<0?-1:1)*Math.acos((_*A+N*O)/$(B*(A*A+O*O)));isNaN(D)&&(D=f),!i&&0<D?D-=c:i&&D<0&&(D+=c),I%=c,D%=c;var E,X=Math.ceil(H(D)/(c/4)),k=[],z=D/X,G=4/3*F(z/2)/(1+U(z/2)),Z=u*n,q=g*n,Y=g*-r,j=u*r;for(E=0;E<X;E++)m=U(a=I+E*z),v=F(a),_=U(a+=z),N=F(a),k.push(m-G*v,v+G*m,_+G*N,N-G*_,_,N);for(E=0;E<k.length;E+=2)m=k[E],v=k[E+1],k[E]=m*Z+v*Y+S,k[E+1]=m*q+v*j+C;return k[E-2]=s,k[E-1]=l,k}}function stringToRawPath(t){function Cf(t,e,n,r){u=(n-t)/3,g=(r-e)/3,s.push(t+u,e+g,n-u,r-g,n,r)}var e,n,r,a,o,i,s,l,h,u,g,f,c,p,d,m=(t+"").replace(L,function(t){var e=+t;return e<1e-4&&-1e-4<e?0:e}).match(M)||[],v=[],y=0,x=0,w=m.length,P=0,b="ERROR: malformed path: "+t;if(!t||!isNaN(m[0])||isNaN(m[1]))return console.log(b),v;for(e=0;e<w;e++)if(c=o,isNaN(m[e])?i=(o=m[e].toUpperCase())!==m[e]:e--,r=+m[e+1],a=+m[e+2],i&&(r+=y,a+=x),e||(l=r,h=a),"M"===o)s&&(s.length<8?--v.length:P+=s.length),y=l=r,x=h=a,s=[r,a],v.push(s),e+=2,o="L";else if("C"===o)i||(y=x=0),(s=s||[0,0]).push(r,a,y+1*m[e+3],x+1*m[e+4],y+=1*m[e+5],x+=1*m[e+6]),e+=6;else if("S"===o)u=y,g=x,"C"!==c&&"S"!==c||(u+=y-s[s.length-4],g+=x-s[s.length-3]),i||(y=x=0),s.push(u,g,r,a,y+=1*m[e+3],x+=1*m[e+4]),e+=4;else if("Q"===o)u=y+2/3*(r-y),g=x+2/3*(a-x),i||(y=x=0),y+=1*m[e+3],x+=1*m[e+4],s.push(u,g,y+2/3*(r-y),x+2/3*(a-x),y,x),e+=4;else if("T"===o)u=y-s[s.length-4],g=x-s[s.length-3],s.push(y+u,x+g,r+2/3*(y+1.5*u-r),a+2/3*(x+1.5*g-a),y=r,x=a),e+=2;else if("H"===o)Cf(y,x,y=r,x),e+=1;else if("V"===o)Cf(y,x,y,x=r+(i?x-y:0)),e+=1;else if("L"===o||"Z"===o)"Z"===o&&(r=l,a=h,s.closed=!0),("L"===o||.5<H(y-r)||.5<H(x-a))&&(Cf(y,x,r,a),"L"===o&&(e+=2)),y=r,x=a;else if("A"===o){if(p=m[e+4],d=m[e+5],u=m[e+6],g=m[e+7],n=7,1<p.length&&(p.length<3?(g=u,u=d,n--):(g=d,u=p.substr(2),n-=2),d=p.charAt(1),p=p.charAt(0)),f=arcToSegment(y,x,+m[e+1],+m[e+2],+m[e+3],+p,+d,(i?y:0)+1*u,(i?x:0)+1*g),e+=n,f)for(n=0;n<f.length;n++)s.push(f[n]);y=s[s.length-2],x=s[s.length-1]}else console.log(b);return(e=s.length)<6?(v.pop(),e=0):s[0]===s[e-2]&&s[1]===s[e-1]&&(s.closed=!0),v.totalPoints=P+e,v}function flatPointsToSegment(t,e){void 0===e&&(e=1);for(var n=t[0],r=0,a=[n,r],o=2;o<t.length;o+=2)a.push(n,r,t[o],r=(t[o]-n)*e/2,n=t[o],-r);return a}function pointsToSegment(t,e){H(t[0]-t[2])<1e-4&&H(t[1]-t[3])<1e-4&&(t=t.slice(2));var n,r,a,o,i,s,l,h,u,g,f,c,p,d,m=t.length-2,v=+t[0],y=+t[1],x=+t[2],w=+t[3],P=[v,y,v,y],b=x-v,M=w-y,R=Math.abs(t[m]-v)<.001&&Math.abs(t[m+1]-y)<.001;for(R&&(t.push(x,w),x=v,w=y,v=t[m-2],y=t[m-1],t.unshift(v,y),m+=4),e=e||0===e?+e:1,a=2;a<m;a+=2)n=v,r=y,v=x,y=w,x=+t[a+2],w=+t[a+3],v===x&&y===w||(o=b,i=M,b=x-v,M=w-y,h=((s=$(o*o+i*i))+(l=$(b*b+M*M)))*e*.25/$(Math.pow(b/l+o/s,2)+Math.pow(M/l+i/s,2)),f=v-((u=v-(v-n)*(s?h/s:0))+(((g=v+(x-v)*(l?h/l:0))-u)*(3*s/(s+l)+.5)/4||0)),d=y-((c=y-(y-r)*(s?h/s:0))+(((p=y+(w-y)*(l?h/l:0))-c)*(3*s/(s+l)+.5)/4||0)),v===n&&y===r||P.push(N(u+f),N(c+d),N(v),N(y),N(g+f),N(p+d)));return v!==x||y!==w||P.length<4?P.push(N(x),N(w),N(x),N(w)):P.length-=2,2===P.length?P.push(v,y,v,y,v,y):R&&(P.splice(0,6),P.length=P.length-6),P}function rawPathToString(t){h(t[0])&&(t=[t]);var e,n,r,a,o="",i=t.length;for(n=0;n<i;n++){for(a=t[n],o+="M"+N(a[0])+","+N(a[1])+" C",e=a.length,r=2;r<e;r++)o+=N(a[r++])+","+N(a[r++])+" "+N(a[r++])+","+N(a[r++])+" "+N(a[r++])+","+N(a[r])+" ";a.closed&&(o+="z")}return o}function R(t){var e=t.ownerDocument||t;!(k in t.style)&&"msTransform"in t.style&&(z=(k="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(v=window,I=new Y,e){w=(c=e).documentElement,P=e.body,(D=c.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=e.createElement("div"),r=e.createElement("div");P.appendChild(n),n.appendChild(r),n.style.position="static",n.style[k]="translate3d(0,0,1px)",E=r.offsetParent!==n,P.removeChild(n)}return e}function X(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)}function Z(t,e){if(t.parentNode&&(c||R(t))){var n=X(t),r=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",a=n?e?"rect":"g":"div",o=2!==e?0:100,i=3===e?100:0,s="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",l=c.createElementNS?c.createElementNS(r.replace(/^https/,"http"),a):c.createElement(a);return e&&(n?(b=b||Z(t),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+o+","+i+")"),b.appendChild(l)):(f||((f=Z(t)).style.cssText=s),l.style.cssText=s+"width:0.1px;height:0.1px;top:"+i+"px;left:"+o+"px",f.appendChild(l))),l}throw"Need document and parent."}function aa(t,e){var n,r,a,o,i,s,l=X(t),h=t===l,u=l?G:q,g=t.parentNode;if(t===v)return t;if(u.length||u.push(Z(t,1),Z(t,2),Z(t,3)),n=l?b:f,l)h?(o=-(a=function _getCTM(t){var e,n=t.getCTM();return n||(e=t.style[k],t.style[k]="none",t.appendChild(D),n=D.getCTM(),t.removeChild(D),e?t.style[k]=e:t.style.removeProperty(k.replace(/([A-Z])/g,"-$1").toLowerCase())),n||I.clone()}(t)).e/a.a,i=-a.f/a.d,r=I):t.getBBox?(a=t.getBBox(),o=(r=(r=t.transform?t.transform.baseVal:{}).numberOfItems?1<r.numberOfItems?function _consolidate(t){for(var e=new Y,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e}(r):r.getItem(0).matrix:I).a*a.x+r.c*a.y,i=r.b*a.x+r.d*a.y):(r=new Y,o=i=0),e&&"g"===t.tagName.toLowerCase()&&(o=i=0),(h?l:g).appendChild(n),n.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+o)+","+(r.f+i)+")");else{if(o=i=0,E)for(r=t.offsetParent,a=t;(a=a&&a.parentNode)&&a!==r&&a.parentNode;)4<(v.getComputedStyle(a)[k]+"").length&&(o=a.offsetLeft,i=a.offsetTop,a=0);if("absolute"!==(s=v.getComputedStyle(t)).position&&"fixed"!==s.position)for(r=t.offsetParent;g&&g!==r;)o+=g.scrollLeft||0,i+=g.scrollTop||0,g=g.parentNode;(a=n.style).top=t.offsetTop-i+"px",a.left=t.offsetLeft-o+"px",a[k]=s[k],a[z]=s[z],a.position="fixed"===s.position?"fixed":"absolute",t.parentNode.appendChild(n)}return n}function ba(t,e,n,r,a,o,i){return t.a=e,t.b=n,t.c=r,t.d=a,t.e=o,t.f=i,t}var c,v,w,P,f,b,I,D,E,n,k="transform",z=k+"Origin",G=[],q=[],Y=((n=Matrix2D.prototype).inverse=function inverse(){var t=this.a,e=this.b,n=this.c,r=this.d,a=this.e,o=this.f,i=t*r-e*n||1e-10;return ba(this,r/i,-e/i,-n/i,t/i,(n*o-r*a)/i,-(t*o-e*a)/i)},n.multiply=function multiply(t){var e=this.a,n=this.b,r=this.c,a=this.d,o=this.e,i=this.f,s=t.a,l=t.c,h=t.b,u=t.d,g=t.e,f=t.f;return ba(this,s*e+h*r,s*n+h*a,l*e+u*r,l*n+u*a,o+g*e+f*r,i+g*n+f*a)},n.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)},n.equals=function equals(t){var e=this.a,n=this.b,r=this.c,a=this.d,o=this.e,i=this.f;return e===t.a&&n===t.b&&r===t.c&&a===t.d&&o===t.e&&i===t.f},n.apply=function apply(t,e){void 0===e&&(e={});var n=t.x,r=t.y,a=this.a,o=this.b,i=this.c,s=this.d,l=this.e,h=this.f;return e.x=n*a+r*i+l||0,e.y=n*o+r*s+h||0,e},Matrix2D);function Matrix2D(t,e,n,r,a,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===a&&(a=0),void 0===o&&(o=0),ba(this,t,e,n,r,a,o)}function getGlobalMatrix(t,e,n,r){if(!t||!t.parentNode||(c||R(t)).documentElement===t)return new Y;var a=function _forceNonZeroScale(t){for(var e,n;t&&t!==P;)(n=t._gsap)&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e}(t),o=X(t)?G:q,i=aa(t,n),s=o[0].getBoundingClientRect(),l=o[1].getBoundingClientRect(),h=o[2].getBoundingClientRect(),u=i.parentNode,g=!r&&function _isFixed(t){return"fixed"===v.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?_isFixed(t):void 0)}(t),f=new Y((l.left-s.left)/100,(l.top-s.top)/100,(h.left-s.left)/100,(h.top-s.top)/100,s.left+(g?0:function _getDocScrollLeft(){return v.pageXOffset||c.scrollLeft||w.scrollLeft||P.scrollLeft||0}()),s.top+(g?0:function _getDocScrollTop(){return v.pageYOffset||c.scrollTop||w.scrollTop||P.scrollTop||0}()));if(u.removeChild(i),a)for(s=a.length;s--;)(l=a[s]).scaleX=l.scaleY=0,l.renderTransform(1,l);return e?f.inverse():f}function na(t,e,n,r){for(var a=e.length,o=2===r?0:r,i=0;i<a;i++)t[o]=parseFloat(e[i][n]),2===r&&(t[o+1]=0),o+=2;return t}function oa(t,e,n){return parseFloat(t._gsap.get(t,e,n||"px"))||0}function pa(t){var e,n=t[0],r=t[1];for(e=2;e<t.length;e+=2)n=t[e]+=n,r=t[e+1]+=r}function qa(t,e,n,r,a,o,i,s,l){return e="cubic"===i.type?[e]:(!1!==i.fromCurrent&&e.unshift(oa(n,r,s),a?oa(n,a,l):0),i.relative&&pa(e),[(a?pointsToSegment:flatPointsToSegment)(e,i.curviness)]),e=o(nt(e,n,i)),rt(t,n,r,e,"x",s),a&&rt(t,n,a,e,"y",l),cacheRawPathMeasurements(e,i.resolution||(0===i.curviness?20:12))}function ra(t){return t}function ta(t,e,n){var r,a=getGlobalMatrix(t),o=0,i=0;return"svg"===(t.tagName+"").toLowerCase()?(r=t.viewBox.baseVal).width||(r={width:+t.getAttribute("width"),height:+t.getAttribute("height")}):r=e&&t.getBBox&&t.getBBox(),e&&"auto"!==e&&(o=e.push?e[0]*(r?r.width:t.offsetWidth||0):e.x,i=e.push?e[1]*(r?r.height:t.offsetHeight||0):e.y),n.apply(o||i?a.apply({x:o,y:i}):{x:a.e,y:a.f})}function ua(t,e,n,r){var a,o=getGlobalMatrix(t.parentNode,!0,!0),i=o.clone().multiply(getGlobalMatrix(e)),s=ta(t,n,o),l=ta(e,r,o),h=l.x,u=l.y;return i.e=i.f=0,"auto"===r&&e.getTotalLength&&"path"===e.tagName.toLowerCase()&&(a=e.getAttribute("d").match(et)||[],h+=(a=i.apply({x:+a[0],y:+a[1]})).x,u+=a.y),a&&(h-=(a=i.apply(e.getBBox())).x,u-=a.y),i.e=h-s.x,i.f=u-s.y,i}var j,g,Q,W,J,o,K="x,translateX,left,marginLeft,xPercent".split(","),tt="y,translateY,top,marginTop,yPercent".split(","),i=Math.PI/180,et=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,nt=function _align(t,e,n){var r,a,o,i=n.align,s=n.matrix,l=n.offsetX,h=n.offsetY,u=n.alignOrigin,g=t[0][0],f=t[0][1],c=oa(e,"x"),p=oa(e,"y");return t&&t.length?(i&&("self"===i||(r=W(i)[0]||e)===e?transformRawPath(t,1,0,0,1,c-g,p-f):(u&&!1!==u[2]?j.set(e,{transformOrigin:100*u[0]+"% "+100*u[1]+"%"}):u=[oa(e,"xPercent")/-100,oa(e,"yPercent")/-100],o=(a=ua(e,r,u,"auto")).apply({x:g,y:f}),transformRawPath(t,a.a,a.b,a.c,a.d,c+a.e-(o.x-a.e),p+a.f-(o.y-a.f)))),s?transformRawPath(t,s.a,s.b,s.c,s.d,s.e,s.f):(l||h)&&transformRawPath(t,1,0,0,1,l||0,h||0),t):getRawPath("M0,0L0,0")},rt=function _addDimensionalPropTween(t,e,n,r,a,o){var i=e._gsap,s=i.harness,l=s&&s.aliases&&s.aliases[n],h=l&&l.indexOf(",")<0?l:n,u=t._pt=new g(t._pt,e,h,0,0,ra,0,i.set(e,h,t));u.u=Q(i.get(e,h,o))||0,u.path=r,u.pp=a,t._props.push(h)},a={version:"3.12.0",name:"motionPath",register:function register(t,e,n){Q=(j=t).utils.getUnit,W=j.utils.toArray,J=j.core.getStyleSaver,o=j.core.reverting||function(){},g=n},init:function init(t,e,n){if(!j)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof e&&!e.style&&e.path||(e={path:e});var r,a,o=[],i=e.path,s=e.autoRotate,l=e.unitX,h=e.unitY,u=e.x,g=e.y,f=i[0],c=function _sliceModifier(e,n){return function(t){return e||1!==n?sliceRawPath(t,e,n):t}}(e.start,"end"in e?e.end:1);if(this.rawPaths=o,this.target=t,this.tween=n,this.styles=J&&J(t,"transform"),(this.rotate=s||0===s)&&(this.rOffset=parseFloat(s)||0,this.radians=!!e.useRadians,this.rProp=e.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=Q(t._gsap.get(t,this.rProp))||0),!Array.isArray(i)||"closed"in i||"number"==typeof f)cacheRawPathMeasurements(r=c(nt(getRawPath(e.path),t,e)),e.resolution),o.push(r),rt(this,t,e.x||"x",r,"x",e.unitX||"px"),rt(this,t,e.y||"y",r,"y",e.unitY||"px");else{for(a in f)!u&&~K.indexOf(a)?u=a:!g&&~tt.indexOf(a)&&(g=a);for(a in u&&g?o.push(qa(this,na(na([],i,u,0),i,g,1),t,u,g,c,e,l||Q(i[0][u]),h||Q(i[0][g]))):u=g=0,f)a!==u&&a!==g&&o.push(qa(this,na([],i,a,2),t,a,0,c,e,Q(i[0][a])))}},render:function render(t,e){var n=e.rawPaths,r=n.length,a=e._pt;if(e.tween._time||!o()){for(1<t?t=1:t<0&&(t=0);r--;)getPositionOnPath(n[r],t,!r&&e.rotate,n[r]);for(;a;)a.set(a.t,a.p,a.path[a.pp]+a.u,a.d,t),a=a._next;e.rotate&&e.rSet(e.target,e.rProp,n[0].angle*(e.radians?i:1)+e.rOffset+e.ru,e,t)}else e.styles.revert()},getLength:function getLength(t){return cacheRawPathMeasurements(getRawPath(t)).totalLength},sliceRawPath:sliceRawPath,getRawPath:getRawPath,pointsToSegment:pointsToSegment,stringToRawPath:stringToRawPath,rawPathToString:rawPathToString,transformRawPath:transformRawPath,getGlobalMatrix:getGlobalMatrix,getPositionOnPath:getPositionOnPath,cacheRawPathMeasurements:cacheRawPathMeasurements,convertToPath:function convertToPath$1(t,e){return W(t).map(function(t){return convertToPath(t,!1!==e)})},convertCoordinates:function convertCoordinates(t,e,n){var r=getGlobalMatrix(e,!0,!0).multiply(getGlobalMatrix(t));return n?r.apply(n):r},getAlignMatrix:ua,getRelativePosition:function getRelativePosition(t,e,n,r){var a=ua(t,e,n,r);return{x:a.e,y:a.f}},arrayToRawPath:function arrayToRawPath(t,e){var n=na(na([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&pa(n),["cubic"===e.type?n:pointsToSegment(n,e.curviness)]}};!function _getGSAP(){return j||"undefined"!=typeof window&&(j=window.gsap)&&j.registerPlugin&&j}()||j.registerPlugin(a),t.MotionPathPlugin=a,t.default=a;if (typeof(window)==="undefined"||window!==t){Object.defineProperty(t,"__esModule",{value:!0})} else {delete t.default}});
/*!
* Observer 3.11.5
* Observer 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(a){"use strict";function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(){return we||"undefined"!=typeof window&&(we=window.gsap)&&we.registerPlugin&&we}var we,Me,Ae,De,Oe,Pe,Ee,Ye,Xe,t,ze,qe,Te,o=1,ke=[];a._scrollers=[],a._proxies=[];function x(e,t){return~a._proxies.indexOf(e)&&a._proxies[a._proxies.indexOf(e)+1][t]}function y(e){return!!~t.indexOf(e)}function z(e,t,n,r,o){return e.addEventListener(t,n,{passive:!r,capture:!!o})}function A(e,t,n,r){return e.removeEventListener(t,n,!!r)}function D(){return ze&&ze.isPressed||a._scrollers.cache++}function E(n,r){function qa(e){if(e||0===e){o&&(Ae.history.scrollRestoration="manual");var t=ze&&ze.isPressed;e=qa.v=Math.round(e)||(ze&&ze.iOS?1:0),n(e),qa.cacheID=a._scrollers.cache,t&&i("ss",e)}else(r||a._scrollers.cache!==qa.cacheID||i("ref"))&&(qa.cacheID=a._scrollers.cache,qa.v=n());return qa.v+qa.offset}return qa.offset=0,n&&qa}function H(e){return we.utils.toArray(e)[0]||("string"==typeof e&&!1!==we.config().nullTargetWarn?console.warn("Element not found:",e):null)}function I(t,e){var n=e.s,r=e.sc;y(t)&&(t=De.scrollingElement||Oe);var o=a._scrollers.indexOf(t),i=r===Le.sc?1:2;~o||(o=a._scrollers.push(t)-1),a._scrollers[o+i]||t.addEventListener("scroll",D);var c=a._scrollers[o+i],s=c||(a._scrollers[o+i]=E(x(t,n),!0)||(y(t)?r:E(function(e){return arguments.length?t[n]=e:t[n]})));return s.target=t,c||(s.smooth="smooth"===we.getProperty(t,"scrollBehavior")),s}function J(e,t,o){function Oa(e,t){var n=Ce();t||r<n-s?(c=i,i=e,a=s,s=n):o?i+=e:i=c+(e-c)/(n-a)*(s-a)}var i=e,c=e,s=Ce(),a=s,r=t||50,l=Math.max(500,3*r);return{update:Oa,reset:function reset(){c=i=o?0:i,a=s=0},getVelocity:function getVelocity(e){var t=a,n=c,r=Ce();return!e&&0!==e||e===i||Oa(e),s===a||l<r-a?0:(i+(o?n:-n))/((o?r:s)-t)*1e3}}}function K(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e}function L(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n}function M(){(Xe=we.core.globals().ScrollTrigger)&&Xe.core&&function _integrate(){var e=Xe.core,n=e.bridge||{},t=e._scrollers,r=e._proxies;t.push.apply(t,a._scrollers),r.push.apply(r,a._proxies),a._scrollers=t,a._proxies=r,i=function _bridge(e,t){return n[e](t)}}()}function N(e){return(we=e||r())&&"undefined"!=typeof document&&document.body&&(Ae=window,Oe=(De=document).documentElement,Pe=De.body,t=[Ae,De,Oe,Pe],we.utils.clamp,Te=we.core.context||function(){},Ye="onpointerenter"in Pe?"pointer":"mouse",Ee=s.isTouch=Ae.matchMedia&&Ae.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Ae||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints?2:0,qe=s.eventTypes=("ontouchstart"in Oe?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Oe?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return o=0},500),M(),Me=1),Me}var Ce=Date.now,i=function _bridge(e,t){return t},n="scrollLeft",c="scrollTop",Se={s:n,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:E(function(e){return arguments.length?Ae.scrollTo(e,Le.sc()):Ae.pageXOffset||De[n]||Oe[n]||Pe[n]||0})},Le={s:c,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Se,sc:E(function(e){return arguments.length?Ae.scrollTo(Se.sc(),e):Ae.pageYOffset||De[c]||Oe[c]||Pe[c]||0})};Se.op=Le,a._scrollers.cache=0;var s=(Observer.prototype.init=function init(e){Me||N(we)||console.warn("Please gsap.registerPlugin(Observer)"),Xe||M();var o=e.tolerance,c=e.dragMinimum,t=e.type,i=e.target,n=e.lineHeight,r=e.debounce,s=e.preventDefault,a=e.onStop,l=e.onStopDelay,u=e.ignore,d=e.wheelSpeed,f=e.event,g=e.onDragStart,p=e.onDragEnd,h=e.onDrag,v=e.onPress,x=e.onRelease,_=e.onRight,m=e.onLeft,b=e.onUp,w=e.onDown,O=e.onChangeX,P=e.onChangeY,E=e.onChange,Y=e.onToggleX,X=e.onToggleY,q=e.onHover,T=e.onHoverEnd,k=e.onMove,C=e.ignoreCheck,S=e.isNormalizer,B=e.onGestureStart,G=e.onGestureEnd,V=e.onWheel,F=e.onEnable,R=e.onDisable,j=e.onClick,W=e.scrollSpeed,U=e.capture,Q=e.allowClicks,Z=e.lockAxis,$=e.onLockAxis;function nc(){return _e=Ce()}function oc(e,t){return(se.event=e)&&u&&~u.indexOf(e.target)||t&&pe&&"touch"!==e.pointerType||C&&C(e,t)}function qc(){var e=se.deltaX=L(ye),t=se.deltaY=L(xe),n=Math.abs(e)>=o,r=Math.abs(t)>=o;E&&(n||r)&&E(se,e,t,ye,xe),n&&(_&&0<se.deltaX&&_(se),m&&se.deltaX<0&&m(se),O&&O(se),Y&&se.deltaX<0!=ae<0&&Y(se),ae=se.deltaX,ye[0]=ye[1]=ye[2]=0),r&&(w&&0<se.deltaY&&w(se),b&&se.deltaY<0&&b(se),P&&P(se),X&&se.deltaY<0!=le<0&&X(se),le=se.deltaY,xe[0]=xe[1]=xe[2]=0),(re||ne)&&(k&&k(se),ne&&(h(se),ne=!1),re=!1),ie&&!(ie=!1)&&$&&$(se),oe&&(V(se),oe=!1),ee=0}function rc(e,t,n){ye[n]+=e,xe[n]+=t,se._vx.update(e),se._vy.update(t),r?ee=ee||requestAnimationFrame(qc):qc()}function sc(e,t){Z&&!ce&&(se.axis=ce=Math.abs(e)>Math.abs(t)?"x":"y",ie=!0),"y"!==ce&&(ye[2]+=e,se._vx.update(e,!0)),"x"!==ce&&(xe[2]+=t,se._vy.update(t,!0)),r?ee=ee||requestAnimationFrame(qc):qc()}function tc(e){if(!oc(e,1)){var t=(e=K(e,s)).clientX,n=e.clientY,r=t-se.x,o=n-se.y,i=se.isDragging;se.x=t,se.y=n,(i||Math.abs(se.startX-t)>=c||Math.abs(se.startY-n)>=c)&&(h&&(ne=!0),i||(se.isDragging=!0),sc(r,o),i||g&&g(se))}}function wc(e){return e.touches&&1<e.touches.length&&(se.isGesturing=!0)&&B(e,se.isDragging)}function xc(){return(se.isGesturing=!1)||G(se)}function yc(e){if(!oc(e)){var t=ue(),n=de();rc((t-fe)*W,(n-ge)*W,1),fe=t,ge=n,a&&te.restart(!0)}}function zc(e){if(!oc(e)){e=K(e,s),V&&(oe=!0);var t=(1===e.deltaMode?n:2===e.deltaMode?Ae.innerHeight:1)*d;rc(e.deltaX*t,e.deltaY*t,0),a&&!S&&te.restart(!0)}}function Ac(e){if(!oc(e)){var t=e.clientX,n=e.clientY,r=t-se.x,o=n-se.y;se.x=t,se.y=n,re=!0,(r||o)&&sc(r,o)}}function Bc(e){se.event=e,q(se)}function Cc(e){se.event=e,T(se)}function Dc(e){return oc(e)||K(e,s)&&j(se)}this.target=i=H(i)||Oe,this.vars=e,u=u&&we.utils.toArray(u),o=o||1e-9,c=c||0,d=d||1,W=W||1,t=t||"wheel,touch,pointer",r=!1!==r,n=n||parseFloat(Ae.getComputedStyle(Pe).lineHeight)||22;var ee,te,ne,re,oe,ie,ce,se=this,ae=0,le=0,ue=I(i,Se),de=I(i,Le),fe=ue(),ge=de(),pe=~t.indexOf("touch")&&!~t.indexOf("pointer")&&"pointerdown"===qe[0],he=y(i),ve=i.ownerDocument||De,ye=[0,0,0],xe=[0,0,0],_e=0,me=se.onPress=function(e){oc(e,1)||e&&e.button||(se.axis=ce=null,te.pause(),se.isPressed=!0,e=K(e),ae=le=0,se.startX=se.x=e.clientX,se.startY=se.y=e.clientY,se._vx.reset(),se._vy.reset(),z(S?i:ve,qe[1],tc,s,!0),se.deltaX=se.deltaY=0,v&&v(se))},be=se.onRelease=function(t){if(!oc(t,1)){A(S?i:ve,qe[1],tc,!0);var e=!isNaN(se.y-se.startY),n=se.isDragging&&(3<Math.abs(se.x-se.startX)||3<Math.abs(se.y-se.startY)),r=K(t);!n&&e&&(se._vx.reset(),se._vy.reset(),s&&Q&&we.delayedCall(.08,function(){if(300<Ce()-_e&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ve.createEvent){var e=ve.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Ae,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),se.isDragging=se.isGesturing=se.isPressed=!1,a&&!S&&te.restart(!0),p&&n&&p(se),x&&x(se,n)}};te=se._dc=we.delayedCall(l||.25,function onStopFunc(){se._vx.reset(),se._vy.reset(),te.pause(),a&&a(se)}).pause(),se.deltaX=se.deltaY=0,se._vx=J(0,50,!0),se._vy=J(0,50,!0),se.scrollX=ue,se.scrollY=de,se.isDragging=se.isGesturing=se.isPressed=!1,Te(this),se.enable=function(e){return se.isEnabled||(z(he?ve:i,"scroll",D),0<=t.indexOf("scroll")&&z(he?ve:i,"scroll",yc,s,U),0<=t.indexOf("wheel")&&z(i,"wheel",zc,s,U),(0<=t.indexOf("touch")&&Ee||0<=t.indexOf("pointer"))&&(z(i,qe[0],me,s,U),z(ve,qe[2],be),z(ve,qe[3],be),Q&&z(i,"click",nc,!1,!0),j&&z(i,"click",Dc),B&&z(ve,"gesturestart",wc),G&&z(ve,"gestureend",xc),q&&z(i,Ye+"enter",Bc),T&&z(i,Ye+"leave",Cc),k&&z(i,Ye+"move",Ac)),se.isEnabled=!0,e&&e.type&&me(e),F&&F(se)),se},se.disable=function(){se.isEnabled&&(ke.filter(function(e){return e!==se&&y(e.target)}).length||A(he?ve:i,"scroll",D),se.isPressed&&(se._vx.reset(),se._vy.reset(),A(S?i:ve,qe[1],tc,!0)),A(he?ve:i,"scroll",yc,U),A(i,"wheel",zc,U),A(i,qe[0],me,U),A(ve,qe[2],be),A(ve,qe[3],be),A(i,"click",nc,!0),A(i,"click",Dc),A(ve,"gesturestart",wc),A(ve,"gestureend",xc),A(i,Ye+"enter",Bc),A(i,Ye+"leave",Cc),A(i,Ye+"move",Ac),se.isEnabled=se.isPressed=se.isDragging=!1,R&&R(se))},se.kill=se.revert=function(){se.disable();var e=ke.indexOf(se);0<=e&&ke.splice(e,1),ze===se&&(ze=0)},ke.push(se),S&&y(i)&&(ze=se),se.enable(f)},function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(Observer,[{key:"velocityX",get:function get(){return this._vx.getVelocity()}},{key:"velocityY",get:function get(){return this._vy.getVelocity()}}]),Observer);function Observer(e){this.init(e)}s.version="3.11.5",s.create=function(e){return new s(e)},s.register=N,s.getAll=function(){return ke.slice()},s.getById=function(t){return ke.filter(function(e){return e.vars.id===t})[0]},r()&&we.registerPlugin(s),a.Observer=s,a._getProxyProp=x,a._getScrollFunc=I,a._getTarget=H,a._getVelocityProp=J,a._horizontal=Se,a._isViewport=y,a._vertical=Le,a.default=s;if (typeof(window)==="undefined"||window!==a){Object.defineProperty(a,"__esModule",{value:!0})} else {delete a.default}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(a){"use strict";function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(){return we||"undefined"!=typeof window&&(we=window.gsap)&&we.registerPlugin&&we}var we,Me,Pe,Ae,De,Ee,Oe,Ye,Xe,t,ze,Te,ke,o=1,Ce=[];a._scrollers=[],a._proxies=[];function x(e,t){return~a._proxies.indexOf(e)&&a._proxies[a._proxies.indexOf(e)+1][t]}function y(e){return!!~t.indexOf(e)}function z(e,t,n,r,o){return e.addEventListener(t,n,{passive:!r,capture:!!o})}function A(e,t,n,r){return e.removeEventListener(t,n,!!r)}function D(){return ze&&ze.isPressed||a._scrollers.cache++}function E(n,r){function qa(e){if(e||0===e){o&&(Pe.history.scrollRestoration="manual");var t=ze&&ze.isPressed;e=qa.v=Math.round(e)||(ze&&ze.iOS?1:0),n(e),qa.cacheID=a._scrollers.cache,t&&i("ss",e)}else(r||a._scrollers.cache!==qa.cacheID||i("ref"))&&(qa.cacheID=a._scrollers.cache,qa.v=n());return qa.v+qa.offset}return qa.offset=0,n&&qa}function H(e,t){return(t&&t._ctx&&t._ctx.selector||we.utils.toArray)(e)[0]||("string"==typeof e&&!1!==we.config().nullTargetWarn?console.warn("Element not found:",e):null)}function I(t,e){var n=e.s,r=e.sc;y(t)&&(t=Ae.scrollingElement||De);var o=a._scrollers.indexOf(t),i=r===Le.sc?1:2;~o||(o=a._scrollers.push(t)-1),a._scrollers[o+i]||t.addEventListener("scroll",D);var c=a._scrollers[o+i],s=c||(a._scrollers[o+i]=E(x(t,n),!0)||(y(t)?r:E(function(e){return arguments.length?t[n]=e:t[n]})));return s.target=t,c||(s.smooth="smooth"===we.getProperty(t,"scrollBehavior")),s}function J(e,t,o){function Pa(e,t){var n=qe();t||r<n-s?(c=i,i=e,a=s,s=n):o?i+=e:i=c+(e-c)/(n-a)*(s-a)}var i=e,c=e,s=qe(),a=s,r=t||50,l=Math.max(500,3*r);return{update:Pa,reset:function reset(){c=i=o?0:i,a=s=0},getVelocity:function getVelocity(e){var t=a,n=c,r=qe();return!e&&0!==e||e===i||Pa(e),s===a||l<r-a?0:(i+(o?n:-n))/((o?r:s)-t)*1e3}}}function K(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e}function L(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n}function M(){(Xe=we.core.globals().ScrollTrigger)&&Xe.core&&function _integrate(){var e=Xe.core,n=e.bridge||{},t=e._scrollers,r=e._proxies;t.push.apply(t,a._scrollers),r.push.apply(r,a._proxies),a._scrollers=t,a._proxies=r,i=function _bridge(e,t){return n[e](t)}}()}function N(e){return(we=e||r())&&"undefined"!=typeof document&&document.body&&(Pe=window,De=(Ae=document).documentElement,Ee=Ae.body,t=[Pe,Ae,De,Ee],we.utils.clamp,ke=we.core.context||function(){},Ye="onpointerenter"in Ee?"pointer":"mouse",Oe=s.isTouch=Pe.matchMedia&&Pe.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Pe||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints?2:0,Te=s.eventTypes=("ontouchstart"in De?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in De?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return o=0},500),M(),Me=1),Me}var qe=Date.now,i=function _bridge(e,t){return t},n="scrollLeft",c="scrollTop",Se={s:n,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:E(function(e){return arguments.length?Pe.scrollTo(e,Le.sc()):Pe.pageXOffset||Ae[n]||De[n]||Ee[n]||0})},Le={s:c,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Se,sc:E(function(e){return arguments.length?Pe.scrollTo(Se.sc(),e):Pe.pageYOffset||Ae[c]||De[c]||Ee[c]||0})};Se.op=Le,a._scrollers.cache=0;var s=(Observer.prototype.init=function init(e){Me||N(we)||console.warn("Please gsap.registerPlugin(Observer)"),Xe||M();var o=e.tolerance,c=e.dragMinimum,t=e.type,i=e.target,n=e.lineHeight,r=e.debounce,s=e.preventDefault,a=e.onStop,l=e.onStopDelay,u=e.ignore,d=e.wheelSpeed,f=e.event,g=e.onDragStart,p=e.onDragEnd,h=e.onDrag,v=e.onPress,x=e.onRelease,_=e.onRight,m=e.onLeft,b=e.onUp,w=e.onDown,P=e.onChangeX,E=e.onChangeY,O=e.onChange,Y=e.onToggleX,X=e.onToggleY,T=e.onHover,k=e.onHoverEnd,C=e.onMove,q=e.ignoreCheck,S=e.isNormalizer,B=e.onGestureStart,G=e.onGestureEnd,V=e.onWheel,F=e.onEnable,R=e.onDisable,j=e.onClick,W=e.scrollSpeed,U=e.capture,Q=e.allowClicks,Z=e.lockAxis,$=e.onLockAxis;function oc(){return _e=qe()}function pc(e,t){return(se.event=e)&&u&&~u.indexOf(e.target)||t&&pe&&"touch"!==e.pointerType||q&&q(e,t)}function rc(){var e=se.deltaX=L(ye),t=se.deltaY=L(xe),n=Math.abs(e)>=o,r=Math.abs(t)>=o;O&&(n||r)&&O(se,e,t,ye,xe),n&&(_&&0<se.deltaX&&_(se),m&&se.deltaX<0&&m(se),P&&P(se),Y&&se.deltaX<0!=ae<0&&Y(se),ae=se.deltaX,ye[0]=ye[1]=ye[2]=0),r&&(w&&0<se.deltaY&&w(se),b&&se.deltaY<0&&b(se),E&&E(se),X&&se.deltaY<0!=le<0&&X(se),le=se.deltaY,xe[0]=xe[1]=xe[2]=0),(re||ne)&&(C&&C(se),ne&&(h(se),ne=!1),re=!1),ie&&!(ie=!1)&&$&&$(se),oe&&(V(se),oe=!1),ee=0}function sc(e,t,n){ye[n]+=e,xe[n]+=t,se._vx.update(e),se._vy.update(t),r?ee=ee||requestAnimationFrame(rc):rc()}function tc(e,t){Z&&!ce&&(se.axis=ce=Math.abs(e)>Math.abs(t)?"x":"y",ie=!0),"y"!==ce&&(ye[2]+=e,se._vx.update(e,!0)),"x"!==ce&&(xe[2]+=t,se._vy.update(t,!0)),r?ee=ee||requestAnimationFrame(rc):rc()}function uc(e){if(!pc(e,1)){var t=(e=K(e,s)).clientX,n=e.clientY,r=t-se.x,o=n-se.y,i=se.isDragging;se.x=t,se.y=n,(i||Math.abs(se.startX-t)>=c||Math.abs(se.startY-n)>=c)&&(h&&(ne=!0),i||(se.isDragging=!0),tc(r,o),i||g&&g(se))}}function xc(e){return e.touches&&1<e.touches.length&&(se.isGesturing=!0)&&B(e,se.isDragging)}function yc(){return(se.isGesturing=!1)||G(se)}function zc(e){if(!pc(e)){var t=ue(),n=de();sc((t-fe)*W,(n-ge)*W,1),fe=t,ge=n,a&&te.restart(!0)}}function Ac(e){if(!pc(e)){e=K(e,s),V&&(oe=!0);var t=(1===e.deltaMode?n:2===e.deltaMode?Pe.innerHeight:1)*d;sc(e.deltaX*t,e.deltaY*t,0),a&&!S&&te.restart(!0)}}function Bc(e){if(!pc(e)){var t=e.clientX,n=e.clientY,r=t-se.x,o=n-se.y;se.x=t,se.y=n,re=!0,(r||o)&&tc(r,o)}}function Cc(e){se.event=e,T(se)}function Dc(e){se.event=e,k(se)}function Ec(e){return pc(e)||K(e,s)&&j(se)}this.target=i=H(i)||De,this.vars=e,u=u&&we.utils.toArray(u),o=o||1e-9,c=c||0,d=d||1,W=W||1,t=t||"wheel,touch,pointer",r=!1!==r,n=n||parseFloat(Pe.getComputedStyle(Ee).lineHeight)||22;var ee,te,ne,re,oe,ie,ce,se=this,ae=0,le=0,ue=I(i,Se),de=I(i,Le),fe=ue(),ge=de(),pe=~t.indexOf("touch")&&!~t.indexOf("pointer")&&"pointerdown"===Te[0],he=y(i),ve=i.ownerDocument||Ae,ye=[0,0,0],xe=[0,0,0],_e=0,me=se.onPress=function(e){pc(e,1)||e&&e.button||(se.axis=ce=null,te.pause(),se.isPressed=!0,e=K(e),ae=le=0,se.startX=se.x=e.clientX,se.startY=se.y=e.clientY,se._vx.reset(),se._vy.reset(),z(S?i:ve,Te[1],uc,s,!0),se.deltaX=se.deltaY=0,v&&v(se))},be=se.onRelease=function(t){if(!pc(t,1)){A(S?i:ve,Te[1],uc,!0);var e=!isNaN(se.y-se.startY),n=se.isDragging&&(3<Math.abs(se.x-se.startX)||3<Math.abs(se.y-se.startY)),r=K(t);!n&&e&&(se._vx.reset(),se._vy.reset(),s&&Q&&we.delayedCall(.08,function(){if(300<qe()-_e&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ve.createEvent){var e=ve.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Pe,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),se.isDragging=se.isGesturing=se.isPressed=!1,a&&!S&&te.restart(!0),p&&n&&p(se),x&&x(se,n)}};te=se._dc=we.delayedCall(l||.25,function onStopFunc(){se._vx.reset(),se._vy.reset(),te.pause(),a&&a(se)}).pause(),se.deltaX=se.deltaY=0,se._vx=J(0,50,!0),se._vy=J(0,50,!0),se.scrollX=ue,se.scrollY=de,se.isDragging=se.isGesturing=se.isPressed=!1,ke(this),se.enable=function(e){return se.isEnabled||(z(he?ve:i,"scroll",D),0<=t.indexOf("scroll")&&z(he?ve:i,"scroll",zc,s,U),0<=t.indexOf("wheel")&&z(i,"wheel",Ac,s,U),(0<=t.indexOf("touch")&&Oe||0<=t.indexOf("pointer"))&&(z(i,Te[0],me,s,U),z(ve,Te[2],be),z(ve,Te[3],be),Q&&z(i,"click",oc,!1,!0),j&&z(i,"click",Ec),B&&z(ve,"gesturestart",xc),G&&z(ve,"gestureend",yc),T&&z(i,Ye+"enter",Cc),k&&z(i,Ye+"leave",Dc),C&&z(i,Ye+"move",Bc)),se.isEnabled=!0,e&&e.type&&me(e),F&&F(se)),se},se.disable=function(){se.isEnabled&&(Ce.filter(function(e){return e!==se&&y(e.target)}).length||A(he?ve:i,"scroll",D),se.isPressed&&(se._vx.reset(),se._vy.reset(),A(S?i:ve,Te[1],uc,!0)),A(he?ve:i,"scroll",zc,U),A(i,"wheel",Ac,U),A(i,Te[0],me,U),A(ve,Te[2],be),A(ve,Te[3],be),A(i,"click",oc,!0),A(i,"click",Ec),A(ve,"gesturestart",xc),A(ve,"gestureend",yc),A(i,Ye+"enter",Cc),A(i,Ye+"leave",Dc),A(i,Ye+"move",Bc),se.isEnabled=se.isPressed=se.isDragging=!1,R&&R(se))},se.kill=se.revert=function(){se.disable();var e=Ce.indexOf(se);0<=e&&Ce.splice(e,1),ze===se&&(ze=0)},Ce.push(se),S&&y(i)&&(ze=se),se.enable(f)},function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(Observer,[{key:"velocityX",get:function get(){return this._vx.getVelocity()}},{key:"velocityY",get:function get(){return this._vy.getVelocity()}}]),Observer);function Observer(e){this.init(e)}s.version="3.12.0",s.create=function(e){return new s(e)},s.register=N,s.getAll=function(){return Ce.slice()},s.getById=function(t){return Ce.filter(function(e){return e.vars.id===t})[0]},r()&&we.registerPlugin(s),a.Observer=s,a._getProxyProp=x,a._getScrollFunc=I,a._getTarget=H,a._getVelocityProp=J,a._horizontal=Se,a._isViewport=y,a._vertical=Le,a.default=s;if (typeof(window)==="undefined"||window!==a){Object.defineProperty(a,"__esModule",{value:!0})} else {delete a.default}});
/*!
* Physics2DPlugin 3.11.5
* Physics2DPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((n=n||self).window=n.window||{})}(this,function(e){"use strict";function j(){return t||"undefined"!=typeof window&&(t=window.gsap)&&t.registerPlugin&&t}function k(n){return Math.round(1e4*n)/1e4}function n(){return String.fromCharCode.apply(null,arguments)}function q(n){t=n||j(),d||(a=t.utils.getUnit,f=t.core.getStyleSaver,y=t.core.reverting||function(){},d=1)}function r(n,e,t,i,o){var s=n._gsap,r=s.get(n,e);this.p=e,this.set=s.set(n,e),this.s=this.val=parseFloat(r),this.u=a(r)||0,this.vel=t||0,this.v=this.vel/o,i||0===i?(this.acc=i,this.a=this.acc/(o*o)):this.acc=this.a=0}var t,d,a,f,y,u=Math.PI/180,c="Physics2DPlugin",l=n(103,114,101,101,110,115,111,99,107,46,99,111,109),i=(function(e){var t="undefined"!=typeof window,i=0===(t?window.location.href:"").indexOf(n(102,105,108,101,58,47,47))||-1!==e.indexOf(n(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(n(49,50,55,46,48,32,48,46,49)),o=[l,n(99,111,100,101,112,101,110,46,105,111),n(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),n(99,111,100,101,112,101,110,46,100,101,118),n(99,111,100,101,112,101,110,46,97,112,112),n(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),n(112,101,110,115,46,99,108,111,117,100),n(99,115,115,45,116,114,105,99,107,115,46,99,111,109),n(99,100,112,110,46,105,111),n(112,101,110,115,46,105,111),n(103,97,110,110,111,110,46,116,118),n(99,111,100,101,99,97,110,121,111,110,46,110,101,116),n(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),n(99,101,114,101,98,114,97,120,46,99,111,46,117,107),n(116,121,109,112,97,110,117,115,46,110,101,116),n(116,119,101,101,110,109,97,120,46,99,111,109),n(112,108,110,107,114,46,99,111),n(104,111,116,106,97,114,46,99,111,109),n(119,101,98,112,97,99,107,98,105,110,46,99,111,109),n(97,114,99,104,105,118,101,46,111,114,103),n(99,111,100,101,115,97,110,100,98,111,120,46,105,111),n(99,115,98,46,97,112,112),n(115,116,97,99,107,98,108,105,116,122,46,99,111,109),n(115,116,97,99,107,98,108,105,116,122,46,105,111),n(99,111,100,105,101,114,46,105,111),n(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),n(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),n(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),n(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),n(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),n(106,115,102,105,100,100,108,101,46,110,101,116)],s=o.length;for(setTimeout(function checkWarn(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(n(37,99,87,97,114,110,105,110,103),n(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(n(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+c+n(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(n(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),n(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--s;)if(-1!==e.indexOf(o[s]))return;i||setTimeout(function(){t&&(window.location.href=n(104,116,116,112,115,58,47,47)+l+n(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+c+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),{version:"3.11.5",name:"physics2D",register:q,init:function init(n,e,t){d||q();var i=this,o=+e.angle||0,s=+e.velocity||0,a=+e.acceleration||0,c=e.xProp||"x",l=e.yProp||"y",p=e.accelerationAngle||0===e.accelerationAngle?+e.accelerationAngle:o;i.styles=f&&f(n,e.xProp&&"x"!==e.xProp?e.xProp+","+e.yProp:"transform"),i.target=n,i.tween=t,i.step=0,i.sps=30,e.gravity&&(a=+e.gravity,p=90),o*=u,p*=u,i.fr=1-(+e.friction||0),i._props.push(c,l),i.xp=new r(n,c,Math.cos(o)*s,Math.cos(p)*a,i.sps),i.yp=new r(n,l,Math.sin(o)*s,Math.sin(p)*a,i.sps),i.skipX=i.skipY=0},render:function render(n,e){var t,i,o,s,r,a,c=e.xp,l=e.yp,p=e.tween,d=e.target,f=e.step,u=e.sps,v=e.fr,h=e.skipX,g=e.skipY,w=p._from?p._dur-p._time:p._time;if(p._time||!y()){if(1===v)o=w*w*.5,t=c.s+c.vel*w+c.acc*o,i=l.s+l.vel*w+l.acc*o;else{for(s=a=(0|(w*=u))-f,a<0&&(c.v=c.vel/u,l.v=l.vel/u,c.val=c.s,l.val=l.s,s=a=(e.step=0)|w),r=w%1*v;a--;)c.v+=c.a,l.v+=l.a,c.v*=v,l.v*=v,c.val+=c.v,l.val+=l.v;t=c.val+c.v*r,i=l.val+l.v*r,e.step+=s}h||c.set(d,c.p,k(t)+c.u),g||l.set(d,l.p,k(i)+l.u)}else e.styles.revert()},kill:function kill(n){this.xp.p===n&&(this.skipX=1),this.yp.p===n&&(this.skipY=1)}});j()&&t.registerPlugin(i),e.Physics2DPlugin=i,e.default=i;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((n=n||self).window=n.window||{})}(this,function(e){"use strict";function j(){return a||"undefined"!=typeof window&&(a=window.gsap)&&a.registerPlugin&&a}function k(n){return Math.round(1e4*n)/1e4}function n(){return String.fromCharCode.apply(null,arguments)}function r(n){a=n||j(),d||(c=a.utils.getUnit,u=a.core.getStyleSaver,y=a.core.reverting||function(){},d=1)}function s(n,e,t,i,s){var o=n._gsap,r=o.get(n,e);this.p=e,this.set=o.set(n,e),this.s=this.val=parseFloat(r),this.u=c(r)||0,this.vel=t||0,this.v=this.vel/s,i||0===i?(this.acc=i,this.a=this.acc/(s*s)):this.acc=this.a=0}var a,d,c,u,y,v=Math.PI/180,l="Physics2DPlugin",p=n(103,114,101,101,110,115,111,99,107,46,99,111,109),f=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,t=(function(e){var t="undefined"!=typeof window,i=0===(t?window.location.href:"").indexOf(n(102,105,108,101,58,47,47))||-1!==e.indexOf(n(108,111,99,97,108,104,111,115,116))||f.test(e),s=[p,n(99,111,100,101,112,101,110,46,105,111),n(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),n(99,111,100,101,112,101,110,46,100,101,118),n(99,111,100,101,112,101,110,46,97,112,112),n(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),n(112,101,110,115,46,99,108,111,117,100),n(99,115,115,45,116,114,105,99,107,115,46,99,111,109),n(99,100,112,110,46,105,111),n(112,101,110,115,46,105,111),n(103,97,110,110,111,110,46,116,118),n(99,111,100,101,99,97,110,121,111,110,46,110,101,116),n(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),n(99,101,114,101,98,114,97,120,46,99,111,46,117,107),n(116,121,109,112,97,110,117,115,46,110,101,116),n(116,119,101,101,110,109,97,120,46,99,111,109),n(112,108,110,107,114,46,99,111),n(104,111,116,106,97,114,46,99,111,109),n(119,101,98,112,97,99,107,98,105,110,46,99,111,109),n(97,114,99,104,105,118,101,46,111,114,103),n(99,111,100,101,115,97,110,100,98,111,120,46,105,111),n(99,115,98,46,97,112,112),n(115,116,97,99,107,98,108,105,116,122,46,99,111,109),n(115,116,97,99,107,98,108,105,116,122,46,105,111),n(99,111,100,105,101,114,46,105,111),n(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),n(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),n(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),n(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),n(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),n(106,115,102,105,100,100,108,101,46,110,101,116)],o=s.length;for(setTimeout(function checkWarn(){if(t)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var e="object"==typeof a?a:t&&window.gsap;t&&window.console&&!window._gsapWarned&&"object"==typeof e&&!1!==e.config().trialWarn&&(console.log(n(37,99,87,97,114,110,105,110,103),n(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(n(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+l+n(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(n(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),n(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--o;)if(-1!==e.indexOf(s[o]))return;i||setTimeout(function(){t&&(window.location.href=n(104,116,116,112,115,58,47,47)+p+n(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+l+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),{version:"3.12.0",name:"physics2D",register:r,init:function init(n,e,t){d||r();var i=this,o=+e.angle||0,a=+e.velocity||0,c=+e.acceleration||0,l=e.xProp||"x",p=e.yProp||"y",f=e.accelerationAngle||0===e.accelerationAngle?+e.accelerationAngle:o;i.styles=u&&u(n,e.xProp&&"x"!==e.xProp?e.xProp+","+e.yProp:"transform"),i.target=n,i.tween=t,i.step=0,i.sps=30,e.gravity&&(c=+e.gravity,f=90),o*=v,f*=v,i.fr=1-(+e.friction||0),i._props.push(l,p),i.xp=new s(n,l,Math.cos(o)*a,Math.cos(f)*c,i.sps),i.yp=new s(n,p,Math.sin(o)*a,Math.sin(f)*c,i.sps),i.skipX=i.skipY=0},render:function render(n,e){var t,i,s,o,r,a,c=e.xp,l=e.yp,p=e.tween,f=e.target,d=e.step,u=e.sps,v=e.fr,h=e.skipX,g=e.skipY,w=p._from?p._dur-p._time:p._time;if(p._time||!y()){if(1===v)s=w*w*.5,t=c.s+c.vel*w+c.acc*s,i=l.s+l.vel*w+l.acc*s;else{for(o=a=(0|(w*=u))-d,a<0&&(c.v=c.vel/u,l.v=l.vel/u,c.val=c.s,l.val=l.s,o=a=(e.step=0)|w),r=w%1*v;a--;)c.v+=c.a,l.v+=l.a,c.v*=v,l.v*=v,c.val+=c.v,l.val+=l.v;t=c.val+c.v*r,i=l.val+l.v*r,e.step+=o}h||c.set(f,c.p,k(t)+c.u),g||l.set(f,l.p,k(i)+l.u)}else e.styles.revert()},kill:function kill(n){this.xp.p===n&&(this.skipX=1),this.yp.p===n&&(this.skipY=1)}});j()&&a.registerPlugin(t),e.Physics2DPlugin=t,e.default=t;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* PhysicsPropsPlugin 3.11.5
* PhysicsPropsPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function i(){return t||"undefined"!=typeof window&&(t=window.gsap)&&t.registerPlugin&&t}function j(e){return Math.round(1e4*e)/1e4}function m(){return String.fromCharCode.apply(null,arguments)}function p(e){t=e||i(),f||(c=t.utils.getUnit,l=t.core.getStyleSaver,h=t.core.reverting||function(){},f=1)}function q(e,t,n,i,o,s){var r=e._gsap,a=r.get(e,t);this.p=t,this.set=r.set(e,t),this.s=this.val=parseFloat(a),this.u=c(a)||0,this.vel=n||0,this.v=this.vel/s,i||0===i?(this.acc=i,this.a=this.acc/(s*s)):this.acc=this.a=0,this.fr=1-(o||0)}var t,f,c,l,h,s="PhysicsPropsPlugin",r=m(103,114,101,101,110,115,111,99,107,46,99,111,109),n=(function(e){var t="undefined"!=typeof window,n=0===(t?window.location.href:"").indexOf(m(102,105,108,101,58,47,47))||-1!==e.indexOf(m(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(m(49,50,55,46,48,32,48,46,49)),i=[r,m(99,111,100,101,112,101,110,46,105,111),m(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),m(99,111,100,101,112,101,110,46,100,101,118),m(99,111,100,101,112,101,110,46,97,112,112),m(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),m(112,101,110,115,46,99,108,111,117,100),m(99,115,115,45,116,114,105,99,107,115,46,99,111,109),m(99,100,112,110,46,105,111),m(112,101,110,115,46,105,111),m(103,97,110,110,111,110,46,116,118),m(99,111,100,101,99,97,110,121,111,110,46,110,101,116),m(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),m(99,101,114,101,98,114,97,120,46,99,111,46,117,107),m(116,121,109,112,97,110,117,115,46,110,101,116),m(116,119,101,101,110,109,97,120,46,99,111,109),m(112,108,110,107,114,46,99,111),m(104,111,116,106,97,114,46,99,111,109),m(119,101,98,112,97,99,107,98,105,110,46,99,111,109),m(97,114,99,104,105,118,101,46,111,114,103),m(99,111,100,101,115,97,110,100,98,111,120,46,105,111),m(99,115,98,46,97,112,112),m(115,116,97,99,107,98,108,105,116,122,46,99,111,109),m(115,116,97,99,107,98,108,105,116,122,46,105,111),m(99,111,100,105,101,114,46,105,111),m(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),m(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),m(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),m(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),m(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),m(106,115,102,105,100,100,108,101,46,110,101,116)],o=i.length;for(setTimeout(function checkWarn(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(m(37,99,87,97,114,110,105,110,103),m(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(m(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+s+m(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(m(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),m(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--o;)if(-1!==e.indexOf(i[o]))return;n||setTimeout(function(){t&&(window.location.href=m(104,116,116,112,115,58,47,47)+r+m(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+s+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),{version:"3.11.5",name:"physicsProps",register:p,init:function init(e,t,n){f||p();var i,o=this;for(i in o.styles=l&&l(e),o.target=e,o.tween=n,o.step=0,o.sps=30,o.vProps=[],t){var s=t[i],r=s.velocity,a=s.acceleration,c=s.friction;(r||a)&&(o.vProps.push(new q(e,i,r,a,c,o.sps)),o._props.push(i),l&&o.styles.save(i),c&&(o.hasFr=1))}},render:function render(e,t){var n,i,o,s,r,a=t.vProps,c=t.tween,m=t.target,f=t.step,l=t.hasFr,d=t.sps,u=a.length,p=c._from?c._dur-c._time:c._time;if(c._time||!h())if(l){if((i=(0|(p*=d))-f)<0){for(;u--;)(n=a[u]).v=n.vel/d,n.val=n.s;u=a.length,t.step=f=0,i=0|p}for(o=p%1;u--;){for(n=a[u],s=i;s--;)n.v+=n.a,n.v*=n.fr,n.val+=n.v;n.set(m,n.p,j(n.val+n.v*o*n.fr)+n.u)}t.step+=i}else for(r=p*p*.5;u--;)(n=a[u]).set(m,n.p,j(n.s+n.vel*p+n.acc*r)+n.u);else t.styles.revert()},kill:function kill(e){for(var t=this.vProps,n=t.length;n--;)t[n].p===e&&t.splice(n,1)}});i()&&t.registerPlugin(n),e.PhysicsPropsPlugin=n,e.default=n;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function i(){return s||"undefined"!=typeof window&&(s=window.gsap)&&s.registerPlugin&&s}function j(e){return Math.round(1e4*e)/1e4}function m(){return String.fromCharCode.apply(null,arguments)}function q(e){s=e||i(),l||(c=s.utils.getUnit,d=s.core.getStyleSaver,h=s.core.reverting||function(){},l=1)}function r(e,t,n,i,o,s){var r=e._gsap,a=r.get(e,t);this.p=t,this.set=r.set(e,t),this.s=this.val=parseFloat(a),this.u=c(a)||0,this.vel=n||0,this.v=this.vel/s,i||0===i?(this.acc=i,this.a=this.acc/(s*s)):this.acc=this.a=0,this.fr=1-(o||0)}var s,l,c,d,h,a="PhysicsPropsPlugin",f=m(103,114,101,101,110,115,111,99,107,46,99,111,109),u=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,t=(function(e){var t="undefined"!=typeof window,n=0===(t?window.location.href:"").indexOf(m(102,105,108,101,58,47,47))||-1!==e.indexOf(m(108,111,99,97,108,104,111,115,116))||u.test(e),i=[f,m(99,111,100,101,112,101,110,46,105,111),m(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),m(99,111,100,101,112,101,110,46,100,101,118),m(99,111,100,101,112,101,110,46,97,112,112),m(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),m(112,101,110,115,46,99,108,111,117,100),m(99,115,115,45,116,114,105,99,107,115,46,99,111,109),m(99,100,112,110,46,105,111),m(112,101,110,115,46,105,111),m(103,97,110,110,111,110,46,116,118),m(99,111,100,101,99,97,110,121,111,110,46,110,101,116),m(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),m(99,101,114,101,98,114,97,120,46,99,111,46,117,107),m(116,121,109,112,97,110,117,115,46,110,101,116),m(116,119,101,101,110,109,97,120,46,99,111,109),m(112,108,110,107,114,46,99,111),m(104,111,116,106,97,114,46,99,111,109),m(119,101,98,112,97,99,107,98,105,110,46,99,111,109),m(97,114,99,104,105,118,101,46,111,114,103),m(99,111,100,101,115,97,110,100,98,111,120,46,105,111),m(99,115,98,46,97,112,112),m(115,116,97,99,107,98,108,105,116,122,46,99,111,109),m(115,116,97,99,107,98,108,105,116,122,46,105,111),m(99,111,100,105,101,114,46,105,111),m(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),m(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),m(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),m(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),m(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),m(106,115,102,105,100,100,108,101,46,110,101,116)],o=i.length;for(setTimeout(function checkWarn(){if(t)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var e="object"==typeof s?s:t&&window.gsap;t&&window.console&&!window._gsapWarned&&"object"==typeof e&&!1!==e.config().trialWarn&&(console.log(m(37,99,87,97,114,110,105,110,103),m(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(m(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+a+m(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(m(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),m(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--o;)if(-1!==e.indexOf(i[o]))return;n||setTimeout(function(){t&&(window.location.href=m(104,116,116,112,115,58,47,47)+f+m(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+a+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),{version:"3.12.0",name:"physicsProps",register:q,init:function init(e,t,n){l||q();var i,o=this;for(i in o.styles=d&&d(e),o.target=e,o.tween=n,o.step=0,o.sps=30,o.vProps=[],t){var s=t[i],a=s.velocity,c=s.acceleration,f=s.friction;(a||c)&&(o.vProps.push(new r(e,i,a,c,f,o.sps)),o._props.push(i),d&&o.styles.save(i),f&&(o.hasFr=1))}},render:function render(e,t){var n,i,o,s,r,a=t.vProps,c=t.tween,f=t.target,m=t.step,l=t.hasFr,d=t.sps,u=a.length,p=c._from?c._dur-c._time:c._time;if(c._time||!h())if(l){if((i=(0|(p*=d))-m)<0){for(;u--;)(n=a[u]).v=n.vel/d,n.val=n.s;u=a.length,t.step=m=0,i=0|p}for(o=p%1;u--;){for(n=a[u],s=i;s--;)n.v+=n.a,n.v*=n.fr,n.val+=n.v;n.set(f,n.p,j(n.val+n.v*o*n.fr)+n.u)}t.step+=i}else for(r=p*p*.5;u--;)(n=a[u]).set(f,n.p,j(n.s+n.vel*p+n.acc*r)+n.u);else t.styles.revert()},kill:function kill(e){for(var t=this.vProps,n=t.length;n--;)t[n].p===e&&t.splice(n,1)}});i()&&s.registerPlugin(t),e.PhysicsPropsPlugin=t,e.default=t;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* PixiPlugin 3.11.5
* PixiPlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i((t=t||self).window=t.window||{})}(this,function(i){"use strict";function l(){return"undefined"!=typeof window}function m(){return o||l()&&(o=window.gsap)&&o.registerPlugin&&o}function n(t){return"function"==typeof t}function t(t,i){var r,o,n=[],e=0,s=0;for(r=0;r<4;r++){for(o=0;o<5;o++)s=4===o?t[e+4]:0,n[e+o]=t[e]*i[o]+t[e+1]*i[o+5]+t[e+2]*i[o+10]+t[e+3]*i[o+15]+s;e+=5}return n}function u(i,r){var o=1-r,n=o*g,e=o*b,s=o*I;return t([n+r,e,s,0,0,n,e+r,s,0,0,n,e,s+r,0,0,0,0,0,1,0],i)}function v(i,r,o){var n=c(r),e=n[0]/255,s=n[1]/255,l=n[2]/255,a=1-o;return t([a+o*e*g,o*e*b,o*e*I,0,0,o*s*g,a+o*s*b,o*s*I,0,0,o*l*g,o*l*b,a+o*l*I,0,0,0,0,0,1,0],i)}function w(i,r){r*=Math.PI/180;var o=Math.cos(r),n=Math.sin(r);return t([g+o*(1-g)+n*-g,b+o*-b+n*-b,I+o*-I+n*(1-I),0,0,g+o*-g+.143*n,b+o*(1-b)+.14*n,I+o*-I+-.283*n,0,0,g+o*-g+n*-(1-g),b+o*-b+n*b,I+o*(1-I)+n*I,0,0,0,0,0,1,0,0,0,0,0,1],i)}function x(i,r){return t([r,0,0,0,.5*(1-r),0,r,0,0,.5*(1-r),0,0,r,0,.5*(1-r),0,0,0,1,0],i)}function y(t,i){var r,o=f.filters[i],n=t.filters||[],e=n.length;for(o||function _warn(t){console.warn(t)}(i+" not found. PixiPlugin.registerPIXI(PIXI)");-1<--e;)if(n[e]instanceof o)return n[e];return r=new o,"BlurFilter"===i&&(r.blur=0),n.push(r),t.filters=n,r}function z(t,i,r,o){i.add(r,t,r[t],o[t]),i._props.push(t)}function A(t,i){var r=new f.filters.ColorMatrixFilter;return r.matrix=i,r.brightness(t,!0),r.matrix}function D(t,i,r){var o,n,e,s=y(t,"ColorMatrixFilter"),l=t._gsColorMatrixFilter=t._gsColorMatrixFilter||function _copy(t){var i,r={};for(i in t)r[i]=t[i];return r}(M),a=i.combineCMF&&!("colorMatrixFilter"in i&&!i.colorMatrixFilter);e=s.matrix,i.resolution&&(s.resolution=i.resolution),i.matrix&&i.matrix.length===e.length?(n=i.matrix,1!==l.contrast&&z("contrast",r,l,M),l.hue&&z("hue",r,l,M),1!==l.brightness&&z("brightness",r,l,M),l.colorizeAmount&&(z("colorize",r,l,M),z("colorizeAmount",r,l,M)),1!==l.saturation&&z("saturation",r,l,M)):(n=p.slice(),null!=i.contrast?(n=x(n,+i.contrast),z("contrast",r,l,i)):1!==l.contrast&&(a?n=x(n,l.contrast):z("contrast",r,l,M)),null!=i.hue?(n=w(n,+i.hue),z("hue",r,l,i)):l.hue&&(a?n=w(n,l.hue):z("hue",r,l,M)),null!=i.brightness?(n=A(+i.brightness,n),z("brightness",r,l,i)):1!==l.brightness&&(a?n=A(l.brightness,n):z("brightness",r,l,M)),null!=i.colorize?(i.colorizeAmount="colorizeAmount"in i?+i.colorizeAmount:1,n=v(n,i.colorize,i.colorizeAmount),z("colorize",r,l,i),z("colorizeAmount",r,l,i)):l.colorizeAmount&&(a?n=v(n,l.colorize,l.colorizeAmount):(z("colorize",r,l,M),z("colorizeAmount",r,l,M))),null!=i.saturation?(n=u(n,+i.saturation),z("saturation",r,l,i)):1!==l.saturation&&(a?n=u(n,l.saturation):z("saturation",r,l,M))),o=n.length;for(;-1<--o;)n[o]!==e[o]&&r.add(e,o,e[o],n[o],"colorMatrixFilter");r._props.push("colorMatrixFilter")}function E(t,i){var r=i.t,o=i.p,n=i.color;(0,i.set)(r,o,n[0]<<16|n[1]<<8|n[2])}function F(t,i){var r=i.g;r&&(r.dirty++,r.clearDirty++)}function G(t,i){i.t.visible=!!i.t.alpha}function H(t,i,r,o){var e=t[i],s=c(n(e)?t[i.indexOf("set")||!n(t["get"+i.substr(3)])?i:"get"+i.substr(3)]():e),l=c(r);o._pt=new d(o._pt,t,i,0,0,E,{t:t,p:i,color:s,set:a(t,i)}),o.add(s,0,s[0],l[0]),o.add(s,1,s[1],l[1]),o.add(s,2,s[2],l[2])}function N(t){return"string"==typeof t}function O(t){return N(t)&&"="===t.charAt(1)?t.substr(0,2)+parseFloat(t.substr(2))*j:t*j}function P(t,i){return i.set(i.t,i.p,1===t?i.e:Math.round(1e5*(i.s+i.c*t))/1e5,i)}function Q(t,i,r,o,n,e){var s,l,a=360*(e?j:1),u=N(n),c=u&&"="===n.charAt(1)?+(n.charAt(0)+"1"):0,f=parseFloat(c?n.substr(2):n)*(e?j:1),h=c?f*c:f-o,p=o+h;return u&&("short"===(s=n.split("_")[1])&&(h%=a)!==h%(a/2)&&(h+=h<0?a:-a),"cw"===s&&h<0?h=(h+1e10*a)%a-~~(h/a)*a:"ccw"===s&&0<h&&(h=(h-1e10*a)%a-~~(h/a)*a)),t._pt=l=new d(t._pt,i,r,o,h,P),l.e=p,l}function R(){l()&&(r=window,o=m(),f=f||r.PIXI,h=f&&f.VERSION&&"4"===f.VERSION.charAt(0),c=function _splitColor(t){return o.utils.splitColor("0x"===(t+"").substr(0,2)?"#"+t.substr(2):t)})}var o,r,c,f,d,a,h,e,s,p=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],g=.212671,b=.71516,I=.072169,M={contrast:1,saturation:1,colorizeAmount:0,colorize:"rgb(255,255,255)",hue:0,brightness:1},_={tint:1,lineColor:1,fillColor:1},C="position,scale,skew,pivot,anchor,tilePosition,tileScale".split(","),X={x:"position",y:"position",tileX:"tilePosition",tileY:"tilePosition"},S={colorMatrixFilter:1,saturation:1,contrast:1,hue:1,colorize:1,colorizeAmount:1,brightness:1,combineCMF:1},j=Math.PI/180;for(e=0;e<C.length;e++)s=C[e],X[s+"X"]=s,X[s+"Y"]=s;var Y={version:"3.11.5",name:"pixi",register:function register(t,i,r){o=t,d=r,a=i.getSetter,R()},registerPIXI:function registerPIXI(t){f=t},init:function init(t,i){if(f||R(),!(f&&t instanceof f.DisplayObject))return console.warn(t,"is not a DisplayObject or PIXI was not found. PixiPlugin.registerPIXI(PIXI);"),!1;var r,o,n,e,s,l,a,u,c;for(l in i){if(r=X[l],n=i[l],r)o=~l.charAt(l.length-1).toLowerCase().indexOf("x")?"x":"y",this.add(t[r],o,t[r][o],"skew"===r?O(n):n,0,0,0,0,0,1);else if("scale"===l||"anchor"===l||"pivot"===l||"tileScale"===l)this.add(t[l],"x",t[l].x,n),this.add(t[l],"y",t[l].y,n);else if("rotation"===l||"angle"===l)Q(this,t,l,t[l],n,"rotation"===l);else if(S[l])e||(D(t,i.colorMatrixFilter||i,this),e=!0);else if("blur"===l||"blurX"===l||"blurY"===l||"blurPadding"===l){if(s=y(t,"BlurFilter"),this.add(s,l,s[l],n),0!==i.blurPadding)for(a=i.blurPadding||2*Math.max(s[l],n),u=t.filters.length;-1<--u;)t.filters[u].padding=Math.max(t.filters[u].padding,a)}else if(_[l])if(("lineColor"===l||"fillColor"===l)&&t instanceof f.Graphics)for(c=(t.geometry||t).graphicsData,this._pt=new d(this._pt,t,l,0,0,F,{g:t.geometry||t}),u=c.length;-1<--u;)H(h?c[u]:c[u][l.substr(0,4)+"Style"],h?l:"color",n,this);else H(t,l,n,this);else"autoAlpha"===l?(this._pt=new d(this._pt,t,"visible",0,0,G),this.add(t,"alpha",t.alpha,n),this._props.push("alpha","visible")):"resolution"!==l&&this.add(t,l,"get",n);this._props.push(l)}}};m()&&o.registerPlugin(Y),i.PixiPlugin=Y,i.default=Y;if (typeof(window)==="undefined"||window!==i){Object.defineProperty(i,"__esModule",{value:!0})} else {delete i.default}});
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((t=t||self).window=t.window||{})}(this,function(r){"use strict";function l(){return"undefined"!=typeof window}function m(){return e||l()&&(e=window.gsap)&&e.registerPlugin&&e}function n(t){return"function"==typeof t}function o(t){return console.warn(t)}function t(t){return n(h[t])?h[t]:h.filters[t]}function u(t,r){var i,o,n=[],e=0,s=0;for(i=0;i<4;i++){for(o=0;o<5;o++)s=4===o?t[e+4]:0,n[e+o]=t[e]*r[o]+t[e+1]*r[o+5]+t[e+2]*r[o+10]+t[e+3]*r[o+15]+s;e+=5}return n}function v(t,r){var i=1-r,o=i*b,n=i*M,e=i*_;return u([o+r,n,e,0,0,o,n+r,e,0,0,o,n,e+r,0,0,0,0,0,1,0],t)}function w(t,r,i){var o=a(r),n=o[0]/255,e=o[1]/255,s=o[2]/255,l=1-i;return u([l+i*n*b,i*n*M,i*n*_,0,0,i*e*b,l+i*e*M,i*e*_,0,0,i*s*b,i*s*M,l+i*s*_,0,0,0,0,0,1,0],t)}function x(t,r){r*=Math.PI/180;var i=Math.cos(r),o=Math.sin(r);return u([b+i*(1-b)+o*-b,M+i*-M+o*-M,_+i*-_+o*(1-_),0,0,b+i*-b+.143*o,M+i*(1-M)+.14*o,_+i*-_+-.283*o,0,0,b+i*-b+o*-(1-b),M+i*-M+o*M,_+i*(1-_)+o*_,0,0,0,0,0,1,0,0,0,0,0,1],t)}function y(t,r){return u([r,0,0,0,.5*(1-r),0,r,0,0,.5*(1-r),0,0,r,0,.5*(1-r),0,0,0,1,0],t)}function z(r,i){var n,e=t(i),s=r.filters||[],l=s.length;for(e||o(i+" not found. PixiPlugin.registerPIXI(PIXI)");-1<--l;)if(s[l]instanceof e)return s[l];return n=new e,"BlurFilter"===i&&(n.blur=0),s.push(n),r.filters=s,n}function A(t,r,i,o){r.add(i,t,i[t],o[t]),r._props.push(t)}function B(r,i){var o=t("ColorMatrixFilter")();return o.matrix=i,o.brightness(r,!0),o.matrix}function E(t,r,i){var o,n,e,s=z(t,"ColorMatrixFilter"),l=t._gsColorMatrixFilter=t._gsColorMatrixFilter||function _copy(t){var r,i={};for(r in t)i[r]=t[r];return i}(C),u=r.combineCMF&&!("colorMatrixFilter"in r&&!r.colorMatrixFilter);e=s.matrix,r.resolution&&(s.resolution=r.resolution),r.matrix&&r.matrix.length===e.length?(n=r.matrix,1!==l.contrast&&A("contrast",i,l,C),l.hue&&A("hue",i,l,C),1!==l.brightness&&A("brightness",i,l,C),l.colorizeAmount&&(A("colorize",i,l,C),A("colorizeAmount",i,l,C)),1!==l.saturation&&A("saturation",i,l,C)):(n=g.slice(),null!=r.contrast?(n=y(n,+r.contrast),A("contrast",i,l,r)):1!==l.contrast&&(u?n=y(n,l.contrast):A("contrast",i,l,C)),null!=r.hue?(n=x(n,+r.hue),A("hue",i,l,r)):l.hue&&(u?n=x(n,l.hue):A("hue",i,l,C)),null!=r.brightness?(n=B(+r.brightness,n),A("brightness",i,l,r)):1!==l.brightness&&(u?n=B(l.brightness,n):A("brightness",i,l,C)),null!=r.colorize?(r.colorizeAmount="colorizeAmount"in r?+r.colorizeAmount:1,n=w(n,r.colorize,r.colorizeAmount),A("colorize",i,l,r),A("colorizeAmount",i,l,r)):l.colorizeAmount&&(u?n=w(n,l.colorize,l.colorizeAmount):(A("colorize",i,l,C),A("colorizeAmount",i,l,C))),null!=r.saturation?(n=v(n,+r.saturation),A("saturation",i,l,r)):1!==l.saturation&&(u?n=v(n,l.saturation):A("saturation",i,l,C))),o=n.length;for(;-1<--o;)n[o]!==e[o]&&i.add(e,o,e[o],n[o],"colorMatrixFilter");i._props.push("colorMatrixFilter")}function F(t,r){var i=r.t,o=r.p,n=r.color;(0,r.set)(i,o,n[0]<<16|n[1]<<8|n[2])}function G(t,r){var i=r.g;i&&(i.dirty++,i.clearDirty++)}function H(t,r){r.t.visible=!!r.t.alpha}function I(t,r,i,o){var e=t[r],s=a(n(e)?t[r.indexOf("set")||!n(t["get"+r.substr(3)])?r:"get"+r.substr(3)]():e),l=a(i);o._pt=new d(o._pt,t,r,0,0,F,{t:t,p:r,color:s,set:c(t,r)}),o.add(s,0,s[0],l[0]),o.add(s,1,s[1],l[1]),o.add(s,2,s[2],l[2])}function O(t){return"string"==typeof t}function P(t){return O(t)&&"="===t.charAt(1)?t.substr(0,2)+parseFloat(t.substr(2))*k:t*k}function Q(t,r){return r.set(r.t,r.p,1===t?r.e:Math.round(1e5*(r.s+r.c*t))/1e5,r)}function R(t,r,i,o,n,e){var s,l,u=360*(e?k:1),a=O(n),c=a&&"="===n.charAt(1)?+(n.charAt(0)+"1"):0,f=parseFloat(c?n.substr(2):n)*(e?k:1),h=c?f*c:f-o,p=o+h;return a&&("short"===(s=n.split("_")[1])&&(h%=u)!==h%(u/2)&&(h+=h<0?u:-u),"cw"===s&&h<0?h=(h+1e10*u)%u-~~(h/u)*u:"ccw"===s&&0<h&&(h=(h-1e10*u)%u-~~(h/u)*u)),t._pt=l=new d(t._pt,r,i,o,h,Q),l.e=p,l}function S(){l()&&(i=window,e=m(),h=h||i.PIXI,p=h&&h.VERSION&&"4"===h.VERSION.charAt(0),a=function _splitColor(t){return e.utils.splitColor("0x"===(t+"").substr(0,2)?"#"+t.substr(2):t)})}var e,i,a,h,d,c,p,s,f,g=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],b=.212671,M=.71516,_=.072169,C={contrast:1,saturation:1,colorizeAmount:0,colorize:"rgb(255,255,255)",hue:0,brightness:1},X={tint:1,lineColor:1,fillColor:1},j="position,scale,skew,pivot,anchor,tilePosition,tileScale".split(","),D={x:"position",y:"position",tileX:"tilePosition",tileY:"tilePosition"},Y={colorMatrixFilter:1,saturation:1,contrast:1,hue:1,colorize:1,colorizeAmount:1,brightness:1,combineCMF:1},k=Math.PI/180;for(s=0;s<j.length;s++)f=j[s],D[f+"X"]=f,D[f+"Y"]=f;var N={version:"3.12.0",name:"pixi",register:function register(t,r,i){e=t,d=i,c=r.getSetter,S()},registerPIXI:function registerPIXI(t){h=t},init:function init(t,r){if(h||S(),!(h&&t instanceof h.DisplayObject))return o(t),!1;var i,n,e,s,l,u,a,c,f;for(u in r){if(i=D[u],e=r[u],i)n=~u.charAt(u.length-1).toLowerCase().indexOf("x")?"x":"y",this.add(t[i],n,t[i][n],"skew"===i?P(e):e,0,0,0,0,0,1);else if("scale"===u||"anchor"===u||"pivot"===u||"tileScale"===u)this.add(t[u],"x",t[u].x,e),this.add(t[u],"y",t[u].y,e);else if("rotation"===u||"angle"===u)R(this,t,u,t[u],e,"rotation"===u);else if(Y[u])s||(E(t,r.colorMatrixFilter||r,this),s=!0);else if("blur"===u||"blurX"===u||"blurY"===u||"blurPadding"===u){if(l=z(t,"BlurFilter"),this.add(l,u,l[u],e),0!==r.blurPadding)for(a=r.blurPadding||2*Math.max(l[u],e),c=t.filters.length;-1<--c;)t.filters[c].padding=Math.max(t.filters[c].padding,a)}else if(X[u])if(("lineColor"===u||"fillColor"===u)&&t instanceof h.Graphics)for(f=(t.geometry||t).graphicsData,this._pt=new d(this._pt,t,u,0,0,G,{g:t.geometry||t}),c=f.length;-1<--c;)I(p?f[c]:f[c][u.substr(0,4)+"Style"],p?u:"color",e,this);else I(t,u,e,this);else"autoAlpha"===u?(this._pt=new d(this._pt,t,"visible",0,0,H),this.add(t,"alpha",t.alpha,e),this._props.push("alpha","visible")):"resolution"!==u&&this.add(t,u,"get",e);this._props.push(u)}}};m()&&e.registerPlugin(N),r.PixiPlugin=N,r.default=N;if (typeof(window)==="undefined"||window!==r){Object.defineProperty(r,"__esModule",{value:!0})} else {delete r.default}});
/*!
* ScrambleTextPlugin 3.11.5
* ScrambleTextPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(D,u){"object"==typeof exports&&"undefined"!=typeof module?u(exports):"function"==typeof define&&define.amd?define(["exports"],u):u((D=D||self).window=D.window||{})}(this,function(D){"use strict";var r=/(?:^\s+|\s+$)/g,o=/([\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(D){var u=D.nodeType,F="";if(1===u||9===u||11===u){if("string"==typeof D.textContent)return D.textContent;for(D=D.firstChild;D;D=D.nextSibling)F+=getText(D)}else if(3===u||4===u)return D.nodeValue;return F}function emojiSafeSplit(D,u,F,C){if(D+="",F&&(D=D.trim?D.trim():D.replace(r,"")),u&&""!==u)return D.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(u);for(var e,E,t=[],n=D.length,i=0;i<n;i++)(55296<=(E=D.charAt(i)).charCodeAt(0)&&E.charCodeAt(0)<=56319||65024<=D.charCodeAt(i+1)&&D.charCodeAt(i+1)<=65039)&&(e=((D.substr(i,12).split(o)||[])[1]||"").length||2,E=D.substr(i,e),i+=e-(t.emoji=1)),t.push(">"===E?"&gt;":"<"===E?"&lt;":!C||" "!==E||" "!==D.charAt(i-1)&&" "!==D.charAt(i+1)?E:"&nbsp;");return t}var a=(CharSet.prototype.grow=function grow(D){for(var u=0;u<20;u++)this.sets[u]+=F(D-this.length,this.chars);this.length=D},CharSet);function CharSet(D){this.chars=emojiSafeSplit(D),this.sets=[],this.length=50;for(var u=0;u<20;u++)this.sets[u]=F(80,this.chars)}function i(){return u||"undefined"!=typeof window&&(u=window.gsap)&&u.registerPlugin&&u}function l(){return String.fromCharCode.apply(null,arguments)}function t(){s=u=i()}var u,s,E="ScrambleTextPlugin",n=l(103,114,101,101,110,115,111,99,107,46,99,111,109),B=function(D){var u="undefined"!=typeof window,F=0===(u?window.location.href:"").indexOf(l(102,105,108,101,58,47,47))||-1!==D.indexOf(l(108,111,99,97,108,104,111,115,116))||-1!==D.indexOf(l(49,50,55,46,48,32,48,46,49)),C=[n,l(99,111,100,101,112,101,110,46,105,111),l(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),l(99,111,100,101,112,101,110,46,100,101,118),l(99,111,100,101,112,101,110,46,97,112,112),l(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),l(112,101,110,115,46,99,108,111,117,100),l(99,115,115,45,116,114,105,99,107,115,46,99,111,109),l(99,100,112,110,46,105,111),l(112,101,110,115,46,105,111),l(103,97,110,110,111,110,46,116,118),l(99,111,100,101,99,97,110,121,111,110,46,110,101,116),l(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),l(99,101,114,101,98,114,97,120,46,99,111,46,117,107),l(116,121,109,112,97,110,117,115,46,110,101,116),l(116,119,101,101,110,109,97,120,46,99,111,109),l(112,108,110,107,114,46,99,111),l(104,111,116,106,97,114,46,99,111,109),l(119,101,98,112,97,99,107,98,105,110,46,99,111,109),l(97,114,99,104,105,118,101,46,111,114,103),l(99,111,100,101,115,97,110,100,98,111,120,46,105,111),l(99,115,98,46,97,112,112),l(115,116,97,99,107,98,108,105,116,122,46,99,111,109),l(115,116,97,99,107,98,108,105,116,122,46,105,111),l(99,111,100,105,101,114,46,105,111),l(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),l(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),l(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),l(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),l(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),l(106,115,102,105,100,100,108,101,46,110,101,116)],e=C.length;for(setTimeout(function checkWarn(){u&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),u&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(l(37,99,87,97,114,110,105,110,103),l(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(l(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+E+l(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(l(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),l(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--e;)if(-1!==D.indexOf(C[e]))return!0;return F||!setTimeout(function(){u&&(window.location.href=l(104,116,116,112,115,58,47,47)+n+l(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+E+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),A=/\s+/g,F=function _scrambleText(D,u){for(var F=u.length,C="";-1<--D;)C+=u[~~(Math.random()*F)];return C},C="ABCDEFGHIJKLMNOPQRSTUVWXYZ",e=C.toLowerCase(),h={upperCase:new a(C),lowerCase:new a(e),upperAndLowerCase:new a(C+e)},c={version:"3.11.5",name:"scrambleText",register:function register(D){u=D,t()},init:function init(D,u,F){if(s||t(),this.prop="innerHTML"in D?"innerHTML":"textContent"in D?"textContent":0,this.prop){this.target=D,"object"!=typeof u&&(u={text:u});var C,e,E,n,i=u.text||u.value||"",r=!1!==u.trim,l=this;return l.delimiter=C=u.delimiter||"",l.original=emojiSafeSplit(getText(D).replace(A," ").split("&nbsp;").join(""),C,r),"{original}"!==i&&!0!==i&&null!=i||(i=l.original.join(C)),l.text=emojiSafeSplit((i||"").replace(A," "),C,r),l.hasClass=!(!u.newClass&&!u.oldClass),l.newClass=u.newClass,l.oldClass=u.oldClass,n=""===C,l.textHasEmoji=n&&!!l.text.emoji,l.charsHaveEmoji=!!u.chars&&!!emojiSafeSplit(u.chars).emoji,l.length=n?l.original.length:l.original.join(C).length,l.lengthDif=(n?l.text.length:l.text.join(C).length)-l.length,l.fillChar=u.fillChar||u.chars&&~u.chars.indexOf(" ")?"&nbsp;":"",l.charSet=E=h[u.chars||"upperCase"]||new a(u.chars),l.speed=.05/(u.speed||1),l.prevScrambleTime=0,l.setIndex=20*Math.random()|0,(e=l.length+Math.max(l.lengthDif,0))>E.length&&E.grow(e),l.chars=E.sets[l.setIndex],l.revealDelay=u.revealDelay||0,l.tweenLength=!1!==u.tweenLength,l.tween=F,l.rightToLeft=!!u.rightToLeft,l._props.push("scrambleText","text"),B}},render:function render(D,u){var F,C,e,E,t,n,i,r,l,o,a,s=u.target,B=u.prop,A=u.text,h=u.delimiter,c=u.tween,f=u.prevScrambleTime,d=u.revealDelay,p=u.setIndex,g=u.chars,m=u.charSet,w=u.length,x=u.textHasEmoji,S=u.charsHaveEmoji,j=u.lengthDif,v=u.tweenLength,b=u.oldClass,T=u.newClass,y=u.rightToLeft,_=u.fillChar,L=u.speed,M=u.original,O=u.hasClass,H=A.length,W=c._time,P=W-f;d&&(c._from&&(W=c._dur-W),D=0===W?0:W<d?1e-6:W===c._dur?1:c._ease((W-d)/(c._dur-d))),D<0?D=0:1<D&&(D=1),y&&(D=1-D),F=~~(D*H+.5),E=D?((L<P||P<-L)&&(u.setIndex=p=(p+(19*Math.random()|0))%20,u.chars=m.sets[p],u.prevScrambleTime+=P),g):M.join(h),a=c._from?D:1-D,o=w+(v?c._from?a*a*a:1-a*a*a:1)*j,E=y?1!==D||!c._from&&"isFromStart"!==c.data?(i=A.slice(F).join(h),e=S?emojiSafeSplit(E).slice(0,o-(x?emojiSafeSplit(i):i).length+.5|0).join(""):E.substr(0,o-(x?emojiSafeSplit(i):i).length+.5|0),i):(e="",M.join(h)):(e=A.slice(0,F).join(h),C=(x?emojiSafeSplit(e):e).length,S?emojiSafeSplit(E).slice(C,o+.5|0).join(""):E.substr(C,o-C+.5|0)),i=O?((t=(r=y?b:T)&&0!=F)?"<span class='"+r+"'>":"")+e+(t?"</span>":"")+((n=(l=y?T:b)&&F!==H)?"<span class='"+l+"'>":"")+h+E+(n?"</span>":""):e+h+E,s[B]="&nbsp;"===_&&~i.indexOf(" ")?i.split(" ").join("&nbsp;&nbsp;"):i}};c.emojiSafeSplit=emojiSafeSplit,c.getText=getText,i()&&u.registerPlugin(c),D.ScrambleTextPlugin=c,D.default=c;if (typeof(window)==="undefined"||window!==D){Object.defineProperty(D,"__esModule",{value:!0})} else {delete D.default}});
!function(D,u){"object"==typeof exports&&"undefined"!=typeof module?u(exports):"function"==typeof define&&define.amd?define(["exports"],u):u((D=D||self).window=D.window||{})}(this,function(D){"use strict";var r=/(?:^\s+|\s+$)/g,o=/([\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(D){var u=D.nodeType,F="";if(1===u||9===u||11===u){if("string"==typeof D.textContent)return D.textContent;for(D=D.firstChild;D;D=D.nextSibling)F+=getText(D)}else if(3===u||4===u)return D.nodeValue;return F}function emojiSafeSplit(D,u,F,C){if(D+="",F&&(D=D.trim?D.trim():D.replace(r,"")),u&&""!==u)return D.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(u);for(var e,E,t=[],n=D.length,i=0;i<n;i++)(55296<=(E=D.charAt(i)).charCodeAt(0)&&E.charCodeAt(0)<=56319||65024<=D.charCodeAt(i+1)&&D.charCodeAt(i+1)<=65039)&&(e=((D.substr(i,12).split(o)||[])[1]||"").length||2,E=D.substr(i,e),i+=e-(t.emoji=1)),t.push(">"===E?"&gt;":"<"===E?"&lt;":!C||" "!==E||" "!==D.charAt(i-1)&&" "!==D.charAt(i+1)?E:"&nbsp;");return t}var a=(CharSet.prototype.grow=function grow(D){for(var u=0;u<20;u++)this.sets[u]+=F(D-this.length,this.chars);this.length=D},CharSet);function CharSet(D){this.chars=emojiSafeSplit(D),this.sets=[],this.length=50;for(var u=0;u<20;u++)this.sets[u]=F(80,this.chars)}function i(){return E||"undefined"!=typeof window&&(E=window.gsap)&&E.registerPlugin&&E}function l(){return String.fromCharCode.apply(null,arguments)}function u(){s=E=i()}var E,s,t="ScrambleTextPlugin",n=l(103,114,101,101,110,115,111,99,107,46,99,111,109),B=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,A=function(D){var u="undefined"!=typeof window,F=0===(u?window.location.href:"").indexOf(l(102,105,108,101,58,47,47))||-1!==D.indexOf(l(108,111,99,97,108,104,111,115,116))||B.test(D),C=[n,l(99,111,100,101,112,101,110,46,105,111),l(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),l(99,111,100,101,112,101,110,46,100,101,118),l(99,111,100,101,112,101,110,46,97,112,112),l(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),l(112,101,110,115,46,99,108,111,117,100),l(99,115,115,45,116,114,105,99,107,115,46,99,111,109),l(99,100,112,110,46,105,111),l(112,101,110,115,46,105,111),l(103,97,110,110,111,110,46,116,118),l(99,111,100,101,99,97,110,121,111,110,46,110,101,116),l(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),l(99,101,114,101,98,114,97,120,46,99,111,46,117,107),l(116,121,109,112,97,110,117,115,46,110,101,116),l(116,119,101,101,110,109,97,120,46,99,111,109),l(112,108,110,107,114,46,99,111),l(104,111,116,106,97,114,46,99,111,109),l(119,101,98,112,97,99,107,98,105,110,46,99,111,109),l(97,114,99,104,105,118,101,46,111,114,103),l(99,111,100,101,115,97,110,100,98,111,120,46,105,111),l(99,115,98,46,97,112,112),l(115,116,97,99,107,98,108,105,116,122,46,99,111,109),l(115,116,97,99,107,98,108,105,116,122,46,105,111),l(99,111,100,105,101,114,46,105,111),l(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),l(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),l(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),l(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),l(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),l(106,115,102,105,100,100,108,101,46,110,101,116)],e=C.length;for(setTimeout(function checkWarn(){if(u)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var D="object"==typeof E?E:u&&window.gsap;u&&window.console&&!window._gsapWarned&&"object"==typeof D&&!1!==D.config().trialWarn&&(console.log(l(37,99,87,97,114,110,105,110,103),l(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(l(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+t+l(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(l(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),l(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--e;)if(-1!==D.indexOf(C[e]))return!0;return F||!setTimeout(function(){u&&(window.location.href=l(104,116,116,112,115,58,47,47)+n+l(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+t+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),h=/\s+/g,F=function _scrambleText(D,u){for(var F=u.length,C="";-1<--D;)C+=u[~~(Math.random()*F)];return C},C="ABCDEFGHIJKLMNOPQRSTUVWXYZ",e=C.toLowerCase(),c={upperCase:new a(C),lowerCase:new a(e),upperAndLowerCase:new a(C+e)},f={version:"3.12.0",name:"scrambleText",register:function register(D){E=D,u()},init:function init(D,F,C){if(s||u(),this.prop="innerHTML"in D?"innerHTML":"textContent"in D?"textContent":0,this.prop){this.target=D,"object"!=typeof F&&(F={text:F});var e,E,t,n,i=F.text||F.value||"",r=!1!==F.trim,l=this;return l.delimiter=e=F.delimiter||"",l.original=emojiSafeSplit(getText(D).replace(h," ").split("&nbsp;").join(""),e,r),"{original}"!==i&&!0!==i&&null!=i||(i=l.original.join(e)),l.text=emojiSafeSplit((i||"").replace(h," "),e,r),l.hasClass=!(!F.newClass&&!F.oldClass),l.newClass=F.newClass,l.oldClass=F.oldClass,n=""===e,l.textHasEmoji=n&&!!l.text.emoji,l.charsHaveEmoji=!!F.chars&&!!emojiSafeSplit(F.chars).emoji,l.length=n?l.original.length:l.original.join(e).length,l.lengthDif=(n?l.text.length:l.text.join(e).length)-l.length,l.fillChar=F.fillChar||F.chars&&~F.chars.indexOf(" ")?"&nbsp;":"",l.charSet=t=c[F.chars||"upperCase"]||new a(F.chars),l.speed=.05/(F.speed||1),l.prevScrambleTime=0,l.setIndex=20*Math.random()|0,(E=l.length+Math.max(l.lengthDif,0))>t.length&&t.grow(E),l.chars=t.sets[l.setIndex],l.revealDelay=F.revealDelay||0,l.tweenLength=!1!==F.tweenLength,l.tween=C,l.rightToLeft=!!F.rightToLeft,l._props.push("scrambleText","text"),A}},render:function render(D,u){var F,C,e,E,t,n,i,r,l,o,a,s=u.target,B=u.prop,A=u.text,h=u.delimiter,c=u.tween,f=u.prevScrambleTime,d=u.revealDelay,p=u.setIndex,g=u.chars,m=u.charSet,w=u.length,x=u.textHasEmoji,S=u.charsHaveEmoji,j=u.lengthDif,v=u.tweenLength,b=u.oldClass,T=u.newClass,y=u.rightToLeft,_=u.fillChar,L=u.speed,M=u.original,H=u.hasClass,O=A.length,W=c._time,P=W-f;d&&(c._from&&(W=c._dur-W),D=0===W?0:W<d?1e-6:W===c._dur?1:c._ease((W-d)/(c._dur-d))),D<0?D=0:1<D&&(D=1),y&&(D=1-D),F=~~(D*O+.5),E=D?((L<P||P<-L)&&(u.setIndex=p=(p+(19*Math.random()|0))%20,u.chars=m.sets[p],u.prevScrambleTime+=P),g):M.join(h),a=c._from?D:1-D,o=w+(v?c._from?a*a*a:1-a*a*a:1)*j,E=y?1!==D||!c._from&&"isFromStart"!==c.data?(i=A.slice(F).join(h),e=S?emojiSafeSplit(E).slice(0,o-(x?emojiSafeSplit(i):i).length+.5|0).join(""):E.substr(0,o-(x?emojiSafeSplit(i):i).length+.5|0),i):(e="",M.join(h)):(e=A.slice(0,F).join(h),C=(x?emojiSafeSplit(e):e).length,S?emojiSafeSplit(E).slice(C,o+.5|0).join(""):E.substr(C,o-C+.5|0)),i=H?((t=(r=y?b:T)&&0!=F)?"<span class='"+r+"'>":"")+e+(t?"</span>":"")+((n=(l=y?T:b)&&F!==O)?"<span class='"+l+"'>":"")+h+E+(n?"</span>":""):e+h+E,s[B]="&nbsp;"===_&&~i.indexOf(" ")?i.split(" ").join("&nbsp;&nbsp;"):i}};f.emojiSafeSplit=emojiSafeSplit,f.getText=getText,i()&&E.registerPlugin(f),D.ScrambleTextPlugin=f,D.default=f;if (typeof(window)==="undefined"||window!==D){Object.defineProperty(D,"__esModule",{value:!0})} else {delete D.default}});
/*!
* ScrollSmoother 3.11.5
* ScrollSmoother 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(){return"undefined"!=typeof window}function t(){return N||s()&&(N=window.gsap)&&N.registerPlugin&&N}function w(){return String.fromCharCode.apply(null,arguments)}var N,B,F,W,I,V,Y,j,q,D,Q,J,K,X,Z,i="ScrollSmoother",a=w(103,114,101,101,110,115,111,99,107,46,99,111,109),r=(function(e){var t="undefined"!=typeof window,r=0===(t?window.location.href:"").indexOf(w(102,105,108,101,58,47,47))||-1!==e.indexOf(w(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(w(49,50,55,46,48,32,48,46,49)),n=[a,w(99,111,100,101,112,101,110,46,105,111),w(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),w(99,111,100,101,112,101,110,46,100,101,118),w(99,111,100,101,112,101,110,46,97,112,112),w(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),w(112,101,110,115,46,99,108,111,117,100),w(99,115,115,45,116,114,105,99,107,115,46,99,111,109),w(99,100,112,110,46,105,111),w(112,101,110,115,46,105,111),w(103,97,110,110,111,110,46,116,118),w(99,111,100,101,99,97,110,121,111,110,46,110,101,116),w(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),w(99,101,114,101,98,114,97,120,46,99,111,46,117,107),w(116,121,109,112,97,110,117,115,46,110,101,116),w(116,119,101,101,110,109,97,120,46,99,111,109),w(112,108,110,107,114,46,99,111),w(104,111,116,106,97,114,46,99,111,109),w(119,101,98,112,97,99,107,98,105,110,46,99,111,109),w(97,114,99,104,105,118,101,46,111,114,103),w(99,111,100,101,115,97,110,100,98,111,120,46,105,111),w(99,115,98,46,97,112,112),w(115,116,97,99,107,98,108,105,116,122,46,99,111,109),w(115,116,97,99,107,98,108,105,116,122,46,105,111),w(99,111,100,105,101,114,46,105,111),w(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),w(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),w(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),w(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),w(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),w(106,115,102,105,100,100,108,101,46,110,101,116)],o=n.length;for(setTimeout(function checkWarn(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(w(37,99,87,97,114,110,105,110,103),w(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(w(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+i+w(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(w(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),w(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--o;)if(-1!==e.indexOf(n[o]))return;r||setTimeout(function(){t&&(window.location.href=w(104,116,116,112,115,58,47,47)+a+w(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+i+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),ScrollSmoother.register=function register(e){return B||(N=e||t(),s()&&window.document&&(F=window,W=document,I=W.documentElement,V=W.body),N&&(Y=N.utils.toArray,j=N.utils.clamp,Q=N.parseEase("expo"),X=N.core.context||function(){},Z=N.delayedCall(.2,function(){return q.isRefreshing||D&&D.refresh()}).pause(),q=N.core.globals().ScrollTrigger,N.core.globals("ScrollSmoother",ScrollSmoother),V&&q&&(J=q.core._getVelocityProp,K=q.core._inputObserver,ScrollSmoother.refresh=q.refresh,B=1))),B},function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e}(ScrollSmoother,[{key:"progress",get:function get(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}}]),ScrollSmoother);function ScrollSmoother(t){var o=this;B||ScrollSmoother.register(N)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),t=this.vars=t||{},D&&D.kill(),X(D=this);function Ja(){return U.update(-O)}function La(){return n.style.overflow="visible"}function Na(e){e.update();var t=e.getTween();t&&(t.pause(),t._time=t._dur,t._tTime=t._tDur),h=!1,e.animation.progress(e.progress,!0)}function Oa(e,t){(e!==O&&!u||t)&&(x&&(e=Math.round(e)),_&&(n.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+e+", 0, 1)",n._gsap.y=e+"px"),H=e-O,O=e,q.isUpdating||ScrollSmoother.isRefreshing||q.update())}function Pa(e){return arguments.length?(e<0&&(e=0),L.y=-e,h=!0,u?O=-e:Oa(-e),q.isRefreshing?i.update():k(e/C),this):-O}function Sa(e){v.scrollTop=0,e.target.contains&&e.target.contains(v)||T&&!1===T(o,e)||(q.isInViewport(e.target)||e.target===g||o.scrollTo(e.target,!1,"center center"),g=e.target)}function Ta(e){var r,n,o,i;S.forEach(function(t){r=t.pins,i=t.markers,e.forEach(function(e){t.trigger&&e.trigger&&t!==e&&(e.trigger===t.trigger||e.pinnedContainer===t.trigger||t.trigger.contains(e.trigger))&&(n=e.start,o=(n-t.start-t.offset)/t.ratio-(n-t.start),r.forEach(function(e){return o-=e.distance/t.ratio-e.distance}),e.setPositions(n+o,e.end+o),e.markerStart&&i.push(N.quickSetter([e.markerStart,e.markerEnd],"y","px")),e.pin&&0<e.end&&(o=e.end-e.start,r.push({start:e.start,end:e.end,distance:o,trig:e}),t.setPositions(t.start,t.end+o),t.vars.onRefresh(t)))})})}function Ua(){La(),requestAnimationFrame(La),S&&(S.forEach(function(e){var t=e.start,r=e.auto?Math.min(q.maxScroll(e.scroller),e.end):t+(e.end-t)/e.ratio,n=(r-e.end)/2;t-=n,r-=n,e.offset=n||1e-4,e.pins.length=0,e.setPositions(Math.min(t,r),Math.max(t,r)),e.vars.onRefresh(e)}),Ta(q.sort())),U.reset()}function Va(){return q.addEventListener("refresh",Ua)}function Wa(){return S&&S.forEach(function(e){return e.vars.onRefresh(e)})}function Xa(){return S&&S.forEach(function(e){return e.vars.onRefreshInit(e)}),Wa}function Ya(t,r,n,o){return function(){var e="function"==typeof r?r(n,o):r;return e||0===e||(e=o.getAttribute("data-"+R+t)||("speed"===t?1:0)),o.setAttribute("data-"+R+t,e),"auto"===e?e:parseFloat(e)}}function Za(r,e,t,n,o){function Pb(){e=f(),t=d(),i=parseFloat(e)||1,c=(a="auto"===e)?0:.5,l&&l.kill(),l=t&&N.to(r,{ease:Q,overwrite:!1,y:"+=0",duration:t}),s&&(s.ratio=i,s.autoSpeed=a)}function Qb(){g.y=h+"px",g.renderTransform(1),Pb()}function Ub(e){if(a){Qb();var t=function _autoDistance(e,t){var r,n,o=e.parentNode||I,i=e.getBoundingClientRect(),s=o.getBoundingClientRect(),a=s.top-i.top,l=s.bottom-i.bottom,c=(Math.abs(a)>Math.abs(l)?a:l)/(1-t),u=-c*t;return 0<c&&(n=.5==(r=s.height/(F.innerHeight+s.height))?2*s.height:2*Math.min(s.height,-c*r/(2*r-1))*(t||1),u+=t?-n*t:-n/2,c+=n),{change:c,offset:u}}(r,j(0,1,-e.start/(e.end-e.start)));m=t.change,u=t.offset}else m=(e.end-e.start)*(1-i),u=0;p.forEach(function(e){return m-=e.distance*(1-i)}),e.vars.onUpdate(e),l&&l.progress(1)}o=("function"==typeof o?o(n,r):o)||0;var i,s,a,l,c,u,f=Ya("speed",e,n,r),d=Ya("lag",t,n,r),h=N.getProperty(r,"y"),g=r._gsap,p=[],w=[],m=0;return Pb(),(1!==i||a||l)&&(Ub(s=q.create({trigger:a?r.parentNode:r,start:"top bottom+="+o,end:"bottom top-="+o,scroller:v,scrub:!0,refreshPriority:-999,onRefreshInit:Qb,onRefresh:Ub,onKill:function onKill(e){var t=S.indexOf(e);0<=t&&S.splice(t,1),Qb()},onUpdate:function onUpdate(e){var t,r,n,o=h+m*(e.progress-c),i=p.length,s=0;if(e.offset){if(i){for(r=-O,n=e.end;i--;){if((t=p[i]).trig.isActive||r>=t.start&&r<=t.end)return void(l&&(t.trig.progress+=t.trig.direction<0?.001:-.001,t.trig.update(0,0,1),l.resetTo("y",parseFloat(g.y),-H,!0),A&&l.progress(1)));r>t.end&&(s+=t.distance),n-=t.distance}o=h+s+m*((N.utils.clamp(e.start,e.end,r)-e.start-s)/(n-e.start)-c)}o=function _round(e){return Math.round(1e5*e)/1e5||0}(o+u),w.length&&!a&&w.forEach(function(e){return e(o-s)}),l?(l.resetTo("y",o,-H,!0),A&&l.progress(1)):(g.y=o+"px",g.renderTransform(1))}}})),N.core.getCache(s.trigger).stRevert=Xa,s.startY=h,s.pins=p,s.markers=w,s.ratio=i,s.autoSpeed=a,r.style.willChange="transform"),s}var n,v,e,i,S,s,a,l,c,u,r,f,d,h,g,p=t.smoothTouch,w=t.onUpdate,m=t.onStop,b=t.smooth,T=t.onFocusIn,P=t.normalizeScroll,x=t.wholePixels,E=this,R=t.effectsPrefix||"",k=q.getScrollFunc(F),_=1===q.isTouch?!0===p?.8:parseFloat(p)||0:0===b||!1===b?0:parseFloat(b)||.8,C=_&&+t.speed||1,O=0,H=0,A=1,U=J(0),L={y:0},M="undefined"!=typeof ResizeObserver&&!1!==t.autoResize&&new ResizeObserver(function(){if(!q.isRefreshing){var e=q.maxScroll(v);e<-O&&Pa(e),Z.restart(!0)}});function refreshHeight(){return e=n.clientHeight,n.style.overflow="visible",V.style.height=F.innerHeight+(e-F.innerHeight)/C+"px",e-F.innerHeight}Va(),q.addEventListener("killAll",Va),N.delayedCall(.5,function(){return A=0}),this.scrollTop=Pa,this.scrollTo=function(e,t,r){var n=N.utils.clamp(0,q.maxScroll(F),isNaN(e)?o.offset(e,r):+e);t?u?N.to(o,{duration:_,scrollTop:n,overwrite:"auto",ease:Q}):k(n):Pa(n)},this.offset=function(e,t){var r,n=(e=Y(e)[0]).style.cssText,o=q.create({trigger:e,start:t||"top top"});return S&&Ta([o]),r=o.start/C,o.kill(!1),e.style.cssText=n,N.core.getCache(e).uncache=1,r},this.content=function(e){if(arguments.length){var t=Y(e||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||V.children[0];return t!==n&&(c=(n=t).getAttribute("style")||"",M&&M.observe(n),N.set(n,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),_||N.set(n,{clearProps:"transform"})),this}return n},this.wrapper=function(e){return arguments.length?(v=Y(e||"#smooth-wrapper")[0]||function _wrap(e){var t=W.querySelector(".ScrollSmoother-wrapper");return t||((t=W.createElement("div")).classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(t,e),t.appendChild(e)),t}(n),l=v.getAttribute("style")||"",refreshHeight(),N.set(v,_?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):v},this.effects=function(e,t){if(S=S||[],!e)return S.slice(0);(e=Y(e)).forEach(function(e){for(var t=S.length;t--;)S[t].trigger===e&&S[t].kill()});t=t||{};var r,n,o=t.speed,i=t.lag,s=t.effectsPadding,a=[];for(r=0;r<e.length;r++)(n=Za(e[r],o,i,r,s))&&a.push(n);return S.push.apply(S,a),a},this.sections=function(e,t){if(s=s||[],!e)return s.slice(0);var r=Y(e).map(function(t){return q.create({trigger:t,start:"top 120%",end:"bottom -20%",onToggle:function onToggle(e){t.style.opacity=e.isActive?"1":"0",t.style.pointerEvents=e.isActive?"all":"none"}})});return t&&t.add?s.push.apply(s,r):s=r.slice(0),r},this.content(t.content),this.wrapper(t.wrapper),this.render=function(e){return Oa(e||0===e?e:O)},this.getVelocity=function(){return U.getVelocity(-O)},q.scrollerProxy(v,{scrollTop:Pa,scrollHeight:function scrollHeight(){return refreshHeight()&&V.scrollHeight},fixedMarkers:!1!==t.fixedMarkers&&!!_,content:n,getBoundingClientRect:function getBoundingClientRect(){return{top:0,left:0,width:F.innerWidth,height:F.innerHeight}}}),q.defaults({scroller:v});var z=q.getAll().filter(function(e){return e.scroller===F||e.scroller===v});z.forEach(function(e){return e.revert(!0,!0)}),i=q.create({animation:N.fromTo(L,{y:0},{y:function y(){return-refreshHeight()},immediateRender:!1,ease:"none",data:"ScrollSmoother",duration:100,onUpdate:function onUpdate(){if(this._dur){var e=h;e&&(Na(i),L.y=O),Oa(L.y,e),Ja(),w&&!u&&w(E)}}}),onRefreshInit:function onRefreshInit(e){if(ScrollSmoother.isRefreshing=!0,S){var t=q.getAll().filter(function(e){return!!e.pin});S.forEach(function(r){r.vars.pinnedContainer||t.forEach(function(e){if(e.pin.contains(r.trigger)){var t=r.vars;t.pinnedContainer=e.pin,r.vars=null,r.init(t,r.animation)}})})}var r=e.getTween();d=r&&r._end>r._dp._time,f=O,L.y=0,_&&(1===q.isTouch&&(v.style.position="absolute"),v.scrollTop=0,1===q.isTouch&&(v.style.position="fixed"))},onRefresh:function onRefresh(e){e.animation.invalidate(),e.setPositions(e.start,refreshHeight()/C),d||Na(e),L.y=-k()*C,Oa(L.y),A||e.animation.progress(N.utils.clamp(0,1,f/C/-e.end)),d&&(e.progress-=.001,e.update()),ScrollSmoother.isRefreshing=!1},id:"ScrollSmoother",scroller:F,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function end(){return refreshHeight()/C},onScrubComplete:function onScrubComplete(){U.reset(),m&&m(o)},scrub:_||!0}),this.smooth=function(e){return arguments.length&&(C=(_=e||0)&&+t.speed||1,i.scrubDuration(e)),i.getTween()?i.getTween().duration():0},i.getTween()&&(i.getTween().vars.ease=t.ease||Q),this.scrollTrigger=i,t.effects&&this.effects(!0===t.effects?"[data-"+R+"speed], [data-"+R+"lag]":t.effects,{effectsPadding:t.effectsPadding}),t.sections&&this.sections(!0===t.sections?"[data-section]":t.sections),z.forEach(function(e){e.vars.scroller=v,e.revert(!1,!0),e.init(e.vars,e.animation)}),this.paused=function(e,t){return arguments.length?(!!u!==e&&(e?(i.getTween()&&i.getTween().pause(),k(-O/C),U.reset(),(r=q.normalizeScroll())&&r.disable(),(u=q.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function onChangeY(){return Pa(-O)}})).nested=K(I,"wheel,touch,scroll",!0,!1!==t)):(u.nested.kill(),u.kill(),u=0,r&&r.enable(),i.progress=(-O/C-i.start)/(i.end-i.start),Na(i))),this):!!u},this.kill=this.revert=function(){o.paused(!1),Na(i),i.kill();for(var e=(S||[]).concat(s||[]),t=e.length;t--;)e[t].kill();q.scrollerProxy(v),q.removeEventListener("killAll",Va),q.removeEventListener("refresh",Ua),v.style.cssText=l,n.style.cssText=c;var r=q.defaults({});r&&r.scroller===v&&q.defaults({scroller:F}),o.normalizer&&q.normalizeScroll(!1),clearInterval(a),D=null,M&&M.disconnect(),V.style.removeProperty("height"),F.removeEventListener("focusin",Sa)},this.refresh=function(e,t){return i.refresh(e,t)},P&&(this.normalizer=q.normalizeScroll(!0===P?{debounce:!0,content:!_&&n}:P)),q.config(t),"overscrollBehavior"in F.getComputedStyle(V)&&N.set([V,I],{overscrollBehavior:"none"}),"scrollBehavior"in F.getComputedStyle(V)&&N.set([V,I],{scrollBehavior:"auto"}),F.addEventListener("focusin",Sa),a=setInterval(Ja,250),"loading"===W.readyState||requestAnimationFrame(function(){return q.refresh()})}r.version="3.11.5",r.create=function(e){return D&&e&&D.content()===Y(e.content)[0]?D:new r(e)},r.get=function(){return D},t()&&N.registerPlugin(r),e.ScrollSmoother=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(){return"undefined"!=typeof window}function t(){return F||s()&&(F=window.gsap)&&F.registerPlugin&&F}function w(){return String.fromCharCode.apply(null,arguments)}function C(e){return $.maxScroll(e||I)}var F,L,I,j,U,q,D,V,$,X,Y,Z,K,G,J,i="ScrollSmoother",a=w(103,114,101,101,110,115,111,99,107,46,99,111,109),l=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,r=(function(e){var t="undefined"!=typeof window,r=0===(t?window.location.href:"").indexOf(w(102,105,108,101,58,47,47))||-1!==e.indexOf(w(108,111,99,97,108,104,111,115,116))||l.test(e),n=[a,w(99,111,100,101,112,101,110,46,105,111),w(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),w(99,111,100,101,112,101,110,46,100,101,118),w(99,111,100,101,112,101,110,46,97,112,112),w(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),w(112,101,110,115,46,99,108,111,117,100),w(99,115,115,45,116,114,105,99,107,115,46,99,111,109),w(99,100,112,110,46,105,111),w(112,101,110,115,46,105,111),w(103,97,110,110,111,110,46,116,118),w(99,111,100,101,99,97,110,121,111,110,46,110,101,116),w(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),w(99,101,114,101,98,114,97,120,46,99,111,46,117,107),w(116,121,109,112,97,110,117,115,46,110,101,116),w(116,119,101,101,110,109,97,120,46,99,111,109),w(112,108,110,107,114,46,99,111),w(104,111,116,106,97,114,46,99,111,109),w(119,101,98,112,97,99,107,98,105,110,46,99,111,109),w(97,114,99,104,105,118,101,46,111,114,103),w(99,111,100,101,115,97,110,100,98,111,120,46,105,111),w(99,115,98,46,97,112,112),w(115,116,97,99,107,98,108,105,116,122,46,99,111,109),w(115,116,97,99,107,98,108,105,116,122,46,105,111),w(99,111,100,105,101,114,46,105,111),w(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),w(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),w(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),w(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),w(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),w(106,115,102,105,100,100,108,101,46,110,101,116)],o=n.length;for(setTimeout(function checkWarn(){if(t)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var e="object"==typeof F?F:t&&window.gsap;t&&window.console&&!window._gsapWarned&&"object"==typeof e&&!1!==e.config().trialWarn&&(console.log(w(37,99,87,97,114,110,105,110,103),w(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(w(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+i+w(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(w(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),w(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--o;)if(-1!==e.indexOf(n[o]))return;r||setTimeout(function(){t&&(window.location.href=w(104,116,116,112,115,58,47,47)+a+w(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+i+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),ScrollSmoother.register=function register(e){return L||(F=e||t(),s()&&window.document&&(I=window,j=document,U=j.documentElement,q=j.body),F&&(D=F.utils.toArray,V=F.utils.clamp,Y=F.parseEase("expo"),G=F.core.context||function(){},$=F.core.globals().ScrollTrigger,F.core.globals("ScrollSmoother",ScrollSmoother),q&&$&&(J=F.delayedCall(.2,function(){return $.isRefreshing||X&&X.refresh()}).pause(),Z=$.core._getVelocityProp,K=$.core._inputObserver,ScrollSmoother.refresh=$.refresh,L=1))),L},function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e}(ScrollSmoother,[{key:"progress",get:function get(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}}]),ScrollSmoother);function ScrollSmoother(t){var o=this;L||ScrollSmoother.register(F)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),t=this.vars=t||{},X&&X.kill(),G(X=this);function Na(){return z.update(-H)}function Pa(){return n.style.overflow="visible"}function Ra(e){e.update();var t=e.getTween();t&&(t.pause(),t._time=t._dur,t._tTime=t._tDur),h=!1,e.animation.progress(e.progress,!0)}function Sa(e,t){(e!==H&&!f||t)&&(x&&(e=Math.round(e)),k&&(n.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+e+", 0, 1)",n._gsap.y=e+"px"),N=e-H,H=e,$.isUpdating||ScrollSmoother.isRefreshing||$.update())}function Ta(e){return arguments.length?(e<0&&(e=0),O.y=-e,h=!0,f?H=-e:Sa(-e),$.isRefreshing?i.update():E(e/A),this):-H}function Wa(e){w.scrollTop=0,e.target.contains&&e.target.contains(w)||T&&!1===T(o,e)||($.isInViewport(e.target)||e.target===g||o.scrollTo(e.target,!1,"center center"),g=e.target)}function Xa(t,e){if(t<e.start)return t;var r=isNaN(e.ratio)?1:e.ratio,n=e.end-e.start,o=t-e.start,i=e.offset||0,a=e.pins||[],s=a.offset||0,l=e._startClamp&&e.start<=0||e.pins&&e.pins.offset?0:e._endClamp&&e.end===C()?1:.5;return a.forEach(function(e){n-=e.distance,e.nativeStart<=t&&(o-=e.distance)}),s&&(o*=(n-s/r)/n),t+(o-i*l)/r-o}function Za(t,r){S.forEach(function(e){return function adjustEffectRelatedTriggers(e,t,r){r||(e.pins.length=e.pins.offset=0);var n,o,i,a,s,l,c,f,u=e.pins,d=e.markers;for(c=0;c<t.length;c++)if(f=t[c],e.trigger&&f.trigger&&e!==f&&(f.trigger===e.trigger||f.pinnedContainer===e.trigger||e.trigger.contains(f.trigger))&&(s=f._startNative||f._startClamp||f.start,l=f._endNative||f._endClamp||f.end,i=Xa(s,e),a=f.pin&&0<l?i+(l-s):Xa(l,e),f.setPositions(i,a,!0,(f._startClamp?Math.max(0,i):i)-s),f.markerStart&&d.push(F.quickSetter([f.markerStart,f.markerEnd],"y","px")),f.pin&&0<f.end&&!r)){if(n=f.end-f.start,o=e._startClamp&&f.start<0){if(0<e.start)return e.setPositions(0,e.end+(e._startNative-e.start),!0),void adjustEffectRelatedTriggers(e,t);n+=f.start,u.offset=-f.start}u.push({start:f.start,nativeStart:s,end:f.end,distance:n,trig:f}),e.setPositions(e.start,e.end+(o?-f.start:n),!0)}}(e,t,r)})}function $a(){Pa(),requestAnimationFrame(Pa),S&&($.getAll().forEach(function(e){e._startNative=e.start,e._endNative=e.end}),S.forEach(function(e){var t=e._startClamp||e.start,r=e.autoSpeed?Math.min(C(),e.end):t+Math.abs((e.end-t)/e.ratio),n=r-e.end;if((r-=n/2)<(t-=n/2)){var o=t;t=r,r=o}e._startClamp&&t<0?(n=(r=e.ratio<0?C():e.end/e.ratio)-e.end,t=0):(e.ratio<0||e._endClamp&&r>=C())&&(n=((r=C())-(t=e.ratio<0||1<e.ratio?0:r-(r-e.start)/e.ratio))*e.ratio-(e.end-e.start)),e.offset=n||1e-4,e.pins.length=e.pins.offset=0,e.setPositions(t,r,!0)}),Za($.sort())),z.reset()}function _a(){return $.addEventListener("refresh",$a)}function ab(){return S&&S.forEach(function(e){return e.vars.onRefresh(e)})}function bb(){return S&&S.forEach(function(e){return e.vars.onRefreshInit(e)}),ab}function cb(r,n,o,i){return function(){var e="function"==typeof n?n(o,i):n;e||0===e||(e=i.getAttribute("data-"+P+r)||("speed"===r?1:0)),i.setAttribute("data-"+P+r,e);var t="clamp("===(e+"").substr(0,6);return{clamp:t,value:t?e.substr(6,e.length-7):e}}}function db(r,e,t,n,o){function oc(){e=u(),t=parseFloat(d().value),i=parseFloat(e.value)||1,s="auto"===e.value,c=s||a&&a._startClamp&&a.start<=0||p.offset?0:a&&a._endClamp&&a.end===C()?1:.5,l&&l.kill(),l=t&&F.to(r,{ease:Y,overwrite:!1,y:"+=0",duration:t}),a&&(a.ratio=i,a.autoSpeed=s)}function pc(){g.y=h+"px",g.renderTransform(1),oc()}function sc(e){if(s){pc();var t=function _autoDistance(e,t){var r,n,o=e.parentNode||U,i=e.getBoundingClientRect(),a=o.getBoundingClientRect(),s=a.top-i.top,l=a.bottom-i.bottom,c=(Math.abs(s)>Math.abs(l)?s:l)/(1-t),f=-c*t;return 0<c&&(n=.5==(r=a.height/(I.innerHeight+a.height))?2*a.height:2*Math.min(a.height,Math.abs(-c*r/(2*r-1)))*(t||1),f+=t?-n*t:-n/2,c+=n),{change:c,offset:f}}(r,V(0,1,-e.start/(e.end-e.start)));v=t.change,f=t.offset}else f=p.offset||0,v=(e.end-e.start-f)*(1-i);p.forEach(function(e){return v-=e.distance*(1-i)}),e.offset=v,e.vars.onUpdate(e),l&&l.progress(1)}o=("function"==typeof o?o(n,r):o)||0;var i,a,s,l,c,f,u=cb("speed",e,n,r),d=cb("lag",t,n,r),h=F.getProperty(r,"y"),g=r._gsap,p=[],m=[],v=0;return oc(),(1!==i||s||l)&&(sc(a=$.create({trigger:s?r.parentNode:r,start:function start(){return e.clamp?"clamp(top bottom+="+o+")":"top bottom+="+o},end:function end(){return e.value<0?"max":e.clamp?"clamp(bottom top-="+o+")":"bottom top-="+o},scroller:w,scrub:!0,refreshPriority:-999,onRefreshInit:pc,onRefresh:sc,onKill:function onKill(e){var t=S.indexOf(e);0<=t&&S.splice(t,1),pc()},onUpdate:function onUpdate(e){var t,r,n,o=h+v*(e.progress-c),i=p.length,a=0;if(e.offset){if(i){for(r=-H,n=e.end;i--;){if((t=p[i]).trig.isActive||r>=t.start&&r<=t.end)return void(l&&(t.trig.progress+=t.trig.direction<0?.001:-.001,t.trig.update(0,0,1),l.resetTo("y",parseFloat(g.y),-N,!0),M&&l.progress(1)));r>t.end&&(a+=t.distance),n-=t.distance}o=h+a+v*((F.utils.clamp(e.start,e.end,r)-e.start-a)/(n-e.start)-c)}m.length&&!s&&m.forEach(function(e){return e(o-a)}),o=function _round(e){return Math.round(1e5*e)/1e5||0}(o+f),l?(l.resetTo("y",o,-N,!0),M&&l.progress(1)):(g.y=o+"px",g.renderTransform(1))}}})),F.core.getCache(a.trigger).stRevert=bb,a.startY=h,a.pins=p,a.markers=m,a.ratio=i,a.autoSpeed=s,r.style.willChange="transform"),a}var n,w,e,i,S,a,s,l,c,f,r,u,d,h,g,p=t.smoothTouch,m=t.onUpdate,v=t.onStop,b=t.smooth,T=t.onFocusIn,_=t.normalizeScroll,x=t.wholePixels,R=this,P=t.effectsPrefix||"",E=$.getScrollFunc(I),k=1===$.isTouch?!0===p?.8:parseFloat(p)||0:0===b||!1===b?0:parseFloat(b)||.8,A=k&&+t.speed||1,H=0,N=0,M=1,z=Z(0),O={y:0},W="undefined"!=typeof ResizeObserver&&!1!==t.autoResize&&new ResizeObserver(function(){if(!$.isRefreshing){var e=C(w)*A;e<-H&&Ta(e),J.restart(!0)}});function refreshHeight(){return e=n.clientHeight,n.style.overflow="visible",q.style.height=I.innerHeight+(e-I.innerHeight)/A+"px",e-I.innerHeight}_a(),$.addEventListener("killAll",_a),F.delayedCall(.5,function(){return M=0}),this.scrollTop=Ta,this.scrollTo=function(e,t,r){var n=F.utils.clamp(0,C(),isNaN(e)?o.offset(e,r):+e);t?f?F.to(o,{duration:k,scrollTop:n,overwrite:"auto",ease:Y}):E(n):Ta(n)},this.offset=function(e,t){var r,n=(e=D(e)[0]).style.cssText,o=$.create({trigger:e,start:t||"top top"});return S&&(M?$.refresh():Za([o],!0)),r=o.start/A,o.kill(!1),e.style.cssText=n,F.core.getCache(e).uncache=1,r},this.content=function(e){if(arguments.length){var t=D(e||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||q.children[0];return t!==n&&(c=(n=t).getAttribute("style")||"",W&&W.observe(n),F.set(n,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),k||F.set(n,{clearProps:"transform"})),this}return n},this.wrapper=function(e){return arguments.length?(w=D(e||"#smooth-wrapper")[0]||function _wrap(e){var t=j.querySelector(".ScrollSmoother-wrapper");return t||((t=j.createElement("div")).classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(t,e),t.appendChild(e)),t}(n),l=w.getAttribute("style")||"",refreshHeight(),F.set(w,k?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):w},this.effects=function(e,t){if(S=S||[],!e)return S.slice(0);(e=D(e)).forEach(function(e){for(var t=S.length;t--;)S[t].trigger===e&&S[t].kill()});t=t||{};var r,n,o=t.speed,i=t.lag,a=t.effectsPadding,s=[];for(r=0;r<e.length;r++)(n=db(e[r],o,i,r,a))&&s.push(n);return S.push.apply(S,s),s},this.sections=function(e,t){if(a=a||[],!e)return a.slice(0);var r=D(e).map(function(t){return $.create({trigger:t,start:"top 120%",end:"bottom -20%",onToggle:function onToggle(e){t.style.opacity=e.isActive?"1":"0",t.style.pointerEvents=e.isActive?"all":"none"}})});return t&&t.add?a.push.apply(a,r):a=r.slice(0),r},this.content(t.content),this.wrapper(t.wrapper),this.render=function(e){return Sa(e||0===e?e:H)},this.getVelocity=function(){return z.getVelocity(-H)},$.scrollerProxy(w,{scrollTop:Ta,scrollHeight:function scrollHeight(){return refreshHeight()&&q.scrollHeight},fixedMarkers:!1!==t.fixedMarkers&&!!k,content:n,getBoundingClientRect:function getBoundingClientRect(){return{top:0,left:0,width:I.innerWidth,height:I.innerHeight}}}),$.defaults({scroller:w});var B=$.getAll().filter(function(e){return e.scroller===I||e.scroller===w});B.forEach(function(e){return e.revert(!0,!0)}),i=$.create({animation:F.fromTo(O,{y:0},{y:function y(){return-refreshHeight()},immediateRender:!1,ease:"none",data:"ScrollSmoother",duration:100,onUpdate:function onUpdate(){if(this._dur){var e=h;e&&(Ra(i),O.y=H),Sa(O.y,e),Na(),m&&!f&&m(R)}}}),onRefreshInit:function onRefreshInit(e){if(!ScrollSmoother.isRefreshing){if(ScrollSmoother.isRefreshing=!0,S){var t=$.getAll().filter(function(e){return!!e.pin});S.forEach(function(r){r.vars.pinnedContainer||t.forEach(function(e){if(e.pin.contains(r.trigger)){var t=r.vars;t.pinnedContainer=e.pin,r.vars=null,r.init(t,r.animation)}})})}var r=e.getTween();d=r&&r._end>r._dp._time,u=H,O.y=0,k&&(1===$.isTouch&&(w.style.position="absolute"),w.scrollTop=0,1===$.isTouch&&(w.style.position="fixed"))}},onRefresh:function onRefresh(e){e.animation.invalidate(),e.setPositions(e.start,refreshHeight()/A),d||Ra(e),O.y=-E()*A,Sa(O.y),M||e.animation.progress(F.utils.clamp(0,1,u/A/-e.end)),d&&(e.progress-=.001,e.update()),ScrollSmoother.isRefreshing=!1},id:"ScrollSmoother",scroller:I,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function end(){return refreshHeight()/A},onScrubComplete:function onScrubComplete(){z.reset(),v&&v(o)},scrub:k||!0}),this.smooth=function(e){return arguments.length&&(A=(k=e||0)&&+t.speed||1,i.scrubDuration(e)),i.getTween()?i.getTween().duration():0},i.getTween()&&(i.getTween().vars.ease=t.ease||Y),this.scrollTrigger=i,t.effects&&this.effects(!0===t.effects?"[data-"+P+"speed], [data-"+P+"lag]":t.effects,{effectsPadding:t.effectsPadding}),t.sections&&this.sections(!0===t.sections?"[data-section]":t.sections),B.forEach(function(e){e.vars.scroller=w,e.revert(!1,!0),e.init(e.vars,e.animation)}),this.paused=function(e,t){return arguments.length?(!!f!==e&&(e?(i.getTween()&&i.getTween().pause(),E(-H/A),z.reset(),(r=$.normalizeScroll())&&r.disable(),(f=$.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function onChangeY(){return Ta(-H)}})).nested=K(U,"wheel,touch,scroll",!0,!1!==t)):(f.nested.kill(),f.kill(),f=0,r&&r.enable(),i.progress=(-H/A-i.start)/(i.end-i.start),Ra(i))),this):!!f},this.kill=this.revert=function(){o.paused(!1),Ra(i),i.kill();for(var e=(S||[]).concat(a||[]),t=e.length;t--;)e[t].kill();$.scrollerProxy(w),$.removeEventListener("killAll",_a),$.removeEventListener("refresh",$a),w.style.cssText=l,n.style.cssText=c;var r=$.defaults({});r&&r.scroller===w&&$.defaults({scroller:I}),o.normalizer&&$.normalizeScroll(!1),clearInterval(s),X=null,W&&W.disconnect(),q.style.removeProperty("height"),I.removeEventListener("focusin",Wa)},this.refresh=function(e,t){return i.refresh(e,t)},_&&(this.normalizer=$.normalizeScroll(!0===_?{debounce:!0,content:!k&&n}:_)),$.config(t),"overscrollBehavior"in I.getComputedStyle(q)&&F.set([q,U],{overscrollBehavior:"none"}),"scrollBehavior"in I.getComputedStyle(q)&&F.set([q,U],{scrollBehavior:"auto"}),I.addEventListener("focusin",Wa),s=setInterval(Na,250),"loading"===j.readyState||requestAnimationFrame(function(){return $.refresh()})}r.version="3.12.0",r.create=function(e){return X&&e&&X.content()===D(e.content)[0]?X:new r(e)},r.get=function(){return X},t()&&F.registerPlugin(r),e.ScrollSmoother=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* ScrollToPlugin 3.11.5
* ScrollToPlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function l(){return"undefined"!=typeof window}function m(){return f||l()&&(f=window.gsap)&&f.registerPlugin&&f}function n(e){return"string"==typeof e}function o(e){return"function"==typeof e}function p(e,t){var o="x"===t?"Width":"Height",n="scroll"+o,l="client"+o;return e===T||e===i||e===c?Math.max(i[n],c[n])-(T["inner"+o]||i[l]||c[l]):e[n]-e["offset"+o]}function q(e,t){var o="scroll"+("x"===t?"Left":"Top");return e===T&&(null!=e.pageXOffset?o="page"+t.toUpperCase()+"Offset":e=null!=i[o]?i:c),function(){return e[o]}}function s(e,t){if(!(e=y(e)[0])||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var o=e.getBoundingClientRect(),n=!t||t===T||t===c,l=n?{top:i.clientTop-(T.pageYOffset||i.scrollTop||c.scrollTop||0),left:i.clientLeft-(T.pageXOffset||i.scrollLeft||c.scrollLeft||0)}:t.getBoundingClientRect(),r={x:o.left-l.left,y:o.top-l.top};return!n&&t&&(r.x+=q(t,"x")(),r.y+=q(t,"y")()),r}function t(e,t,o,l,r){return isNaN(e)||"object"==typeof e?n(e)&&"="===e.charAt(1)?parseFloat(e.substr(2))*("-"===e.charAt(0)?-1:1)+l-r:"max"===e?p(t,o)-r:Math.min(p(t,o),s(e,t)[o]-r):parseFloat(e)-r}function u(){f=m(),l()&&f&&"undefined"!=typeof document&&document.body&&(T=window,c=document.body,i=document.documentElement,y=f.utils.toArray,f.config({autoKillThreshold:7}),v=f.config(),a=1)}var f,a,T,i,c,y,v,h,r={version:"3.11.5",name:"scrollTo",rawVars:1,register:function register(e){f=e,u()},init:function init(e,l,r,s,i){a||u();var p=this,c=f.getProperty(e,"scrollSnapType");p.isWin=e===T,p.target=e,p.tween=r,l=function _clean(e,t,l,r){if(o(e)&&(e=e(t,l,r)),"object"!=typeof e)return n(e)&&"max"!==e&&"="!==e.charAt(1)?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var s,i={};for(s in e)i[s]="onAutoKill"!==s&&o(e[s])?e[s](t,l,r):e[s];return i}(l,s,e,i),p.vars=l,p.autoKill=!!l.autoKill,p.getX=q(e,"x"),p.getY=q(e,"y"),p.x=p.xPrev=p.getX(),p.y=p.yPrev=p.getY(),h=h||f.core.globals().ScrollTrigger,"smooth"===f.getProperty(e,"scrollBehavior")&&f.set(e,{scrollBehavior:"auto"}),c&&"none"!==c&&(p.snap=1,p.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),null!=l.x?(p.add(p,"x",p.x,t(l.x,e,"x",p.x,l.offsetX||0),s,i),p._props.push("scrollTo_x")):p.skipX=1,null!=l.y?(p.add(p,"y",p.y,t(l.y,e,"y",p.y,l.offsetY||0),s,i),p._props.push("scrollTo_y")):p.skipY=1},render:function render(e,t){for(var o,n,l,r,s,i=t._pt,c=t.target,u=t.tween,f=t.autoKill,a=t.xPrev,y=t.yPrev,d=t.isWin,g=t.snap,x=t.snapInline;i;)i.r(e,i.d),i=i._next;o=d||!t.skipX?t.getX():a,l=(n=d||!t.skipY?t.getY():y)-y,r=o-a,s=v.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),f&&(!t.skipX&&(s<r||r<-s)&&o<p(c,"x")&&(t.skipX=1),!t.skipY&&(s<l||l<-s)&&n<p(c,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(u.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(u,t.vars.onAutoKillParams||[]))),d?T.scrollTo(t.skipX?o:t.x,t.skipY?n:t.y):(t.skipY||(c.scrollTop=t.y),t.skipX||(c.scrollLeft=t.x)),!g||1!==e&&0!==e||(n=c.scrollTop,o=c.scrollLeft,x?c.style.scrollSnapType=x:c.style.removeProperty("scroll-snap-type"),c.scrollTop=n+1,c.scrollLeft=o+1,c.scrollTop=n,c.scrollLeft=o),t.xPrev=t.x,t.yPrev=t.y,h&&h.update()},kill:function kill(e){var t="scrollTo"===e;!t&&"scrollTo_x"!==e||(this.skipX=1),!t&&"scrollTo_y"!==e||(this.skipY=1)}};r.max=p,r.getOffset=s,r.buildGetter=q,m()&&f.registerPlugin(r),e.ScrollToPlugin=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function l(){return"undefined"!=typeof window}function m(){return f||l()&&(f=window.gsap)&&f.registerPlugin&&f}function n(e){return"string"==typeof e}function o(e){return"function"==typeof e}function p(e,t){var o="x"===t?"Width":"Height",n="scroll"+o,l="client"+o;return e===T||e===i||e===c?Math.max(i[n],c[n])-(T["inner"+o]||i[l]||c[l]):e[n]-e["offset"+o]}function q(e,t){var o="scroll"+("x"===t?"Left":"Top");return e===T&&(null!=e.pageXOffset?o="page"+t.toUpperCase()+"Offset":e=null!=i[o]?i:c),function(){return e[o]}}function s(e,t){if(!(e=y(e)[0])||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var o=e.getBoundingClientRect(),n=!t||t===T||t===c,l=n?{top:i.clientTop-(T.pageYOffset||i.scrollTop||c.scrollTop||0),left:i.clientLeft-(T.pageXOffset||i.scrollLeft||c.scrollLeft||0)}:t.getBoundingClientRect(),r={x:o.left-l.left,y:o.top-l.top};return!n&&t&&(r.x+=q(t,"x")(),r.y+=q(t,"y")()),r}function t(e,t,o,l,r){return isNaN(e)||"object"==typeof e?n(e)&&"="===e.charAt(1)?parseFloat(e.substr(2))*("-"===e.charAt(0)?-1:1)+l-r:"max"===e?p(t,o)-r:Math.min(p(t,o),s(e,t)[o]-r):parseFloat(e)-r}function u(){f=m(),l()&&f&&"undefined"!=typeof document&&document.body&&(T=window,c=document.body,i=document.documentElement,y=f.utils.toArray,f.config({autoKillThreshold:7}),v=f.config(),a=1)}var f,a,T,i,c,y,v,h,r={version:"3.12.0",name:"scrollTo",rawVars:1,register:function register(e){f=e,u()},init:function init(e,l,r,s,i){a||u();var p=this,c=f.getProperty(e,"scrollSnapType");p.isWin=e===T,p.target=e,p.tween=r,l=function _clean(e,t,l,r){if(o(e)&&(e=e(t,l,r)),"object"!=typeof e)return n(e)&&"max"!==e&&"="!==e.charAt(1)?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var s,i={};for(s in e)i[s]="onAutoKill"!==s&&o(e[s])?e[s](t,l,r):e[s];return i}(l,s,e,i),p.vars=l,p.autoKill=!!l.autoKill,p.getX=q(e,"x"),p.getY=q(e,"y"),p.x=p.xPrev=p.getX(),p.y=p.yPrev=p.getY(),h=h||f.core.globals().ScrollTrigger,"smooth"===f.getProperty(e,"scrollBehavior")&&f.set(e,{scrollBehavior:"auto"}),c&&"none"!==c&&(p.snap=1,p.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),null!=l.x?(p.add(p,"x",p.x,t(l.x,e,"x",p.x,l.offsetX||0),s,i),p._props.push("scrollTo_x")):p.skipX=1,null!=l.y?(p.add(p,"y",p.y,t(l.y,e,"y",p.y,l.offsetY||0),s,i),p._props.push("scrollTo_y")):p.skipY=1},render:function render(e,t){for(var o,n,l,r,s,i=t._pt,c=t.target,u=t.tween,f=t.autoKill,a=t.xPrev,y=t.yPrev,d=t.isWin,g=t.snap,x=t.snapInline;i;)i.r(e,i.d),i=i._next;o=d||!t.skipX?t.getX():a,l=(n=d||!t.skipY?t.getY():y)-y,r=o-a,s=v.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),f&&(!t.skipX&&(s<r||r<-s)&&o<p(c,"x")&&(t.skipX=1),!t.skipY&&(s<l||l<-s)&&n<p(c,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(u.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(u,t.vars.onAutoKillParams||[]))),d?T.scrollTo(t.skipX?o:t.x,t.skipY?n:t.y):(t.skipY||(c.scrollTop=t.y),t.skipX||(c.scrollLeft=t.x)),!g||1!==e&&0!==e||(n=c.scrollTop,o=c.scrollLeft,x?c.style.scrollSnapType=x:c.style.removeProperty("scroll-snap-type"),c.scrollTop=n+1,c.scrollLeft=o+1,c.scrollTop=n,c.scrollLeft=o),t.xPrev=t.x,t.yPrev=t.y,h&&h.update()},kill:function kill(e){var t="scrollTo"===e;!t&&"scrollTo_x"!==e||(this.skipX=1),!t&&"scrollTo_y"!==e||(this.skipY=1)}};r.max=p,r.getOffset=s,r.buildGetter=q,m()&&f.registerPlugin(r),e.ScrollToPlugin=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* ScrollTrigger 3.11.5
* ScrollTrigger 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(){return Me||"undefined"!=typeof window&&(Me=window.gsap)&&Me.registerPlugin&&Me}function z(e,t){return~qe.indexOf(e)&&qe[qe.indexOf(e)+1][t]}function A(e){return!!~t.indexOf(e)}function B(e,t,r,n,o){return e.addEventListener(t,r,{passive:!n,capture:!!o})}function C(e,t,r,n){return e.removeEventListener(t,r,!!n)}function F(){return Re&&Re.isPressed||Ie.cache++}function G(r,n){function Vc(e){if(e||0===e){o&&(ke.history.scrollRestoration="manual");var t=Re&&Re.isPressed;e=Vc.v=Math.round(e)||(Re&&Re.iOS?1:0),r(e),Vc.cacheID=Ie.cache,t&&i("ss",e)}else(n||Ie.cache!==Vc.cacheID||i("ref"))&&(Vc.cacheID=Ie.cache,Vc.v=r());return Vc.v+Vc.offset}return Vc.offset=0,r&&Vc}function J(e){return Me.utils.toArray(e)[0]||("string"==typeof e&&!1!==Me.config().nullTargetWarn?console.warn("Element not found:",e):null)}function K(t,e){var r=e.s,n=e.sc;A(t)&&(t=Ee.scrollingElement||Pe);var o=Ie.indexOf(t),i=n===je.sc?1:2;~o||(o=Ie.push(t)-1),Ie[o+i]||t.addEventListener("scroll",F);var a=Ie[o+i],s=a||(Ie[o+i]=G(z(t,r),!0)||(A(t)?n:G(function(e){return arguments.length?t[r]=e:t[r]})));return s.target=t,a||(s.smooth="smooth"===Me.getProperty(t,"scrollBehavior")),s}function L(e,t,o){function rd(e,t){var r=Ne();t||n<r-s?(a=i,i=e,l=s,s=r):o?i+=e:i=a+(e-a)/(r-l)*(s-l)}var i=e,a=e,s=Ne(),l=s,n=t||50,c=Math.max(500,3*n);return{update:rd,reset:function reset(){a=i=o?0:i,l=s=0},getVelocity:function getVelocity(e){var t=l,r=a,n=Ne();return!e&&0!==e||e===i||rd(e),s===l||c<n-l?0:(i+(o?r:-r))/((o?n:s)-t)*1e3}}}function M(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e}function N(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r}function O(){(De=Me.core.globals().ScrollTrigger)&&De.core&&function _integrate(){var e=De.core,r=e.bridge||{},t=e._scrollers,n=e._proxies;t.push.apply(t,Ie),n.push.apply(n,qe),Ie=t,qe=n,i=function _bridge(e,t){return r[e](t)}}()}function P(e){return(Me=e||r())&&"undefined"!=typeof document&&document.body&&(ke=window,Pe=(Ee=document).documentElement,Oe=Ee.body,t=[ke,Ee,Pe,Oe],Me.utils.clamp,ze=Me.core.context||function(){},Be="onpointerenter"in Oe?"pointer":"mouse",Ae=k.isTouch=ke.matchMedia&&ke.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in ke||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints?2:0,Le=k.eventTypes=("ontouchstart"in Pe?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Pe?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return o=0},500),O(),Ce=1),Ce}var Me,Ce,ke,Ee,Pe,Oe,Ae,Be,De,t,Re,Le,ze,o=1,Fe=[],Ie=[],qe=[],Ne=Date.now,i=function _bridge(e,t){return t},n="scrollLeft",a="scrollTop",He={s:n,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:G(function(e){return arguments.length?ke.scrollTo(e,je.sc()):ke.pageXOffset||Ee[n]||Pe[n]||Oe[n]||0})},je={s:a,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:He,sc:G(function(e){return arguments.length?ke.scrollTo(He.sc(),e):ke.pageYOffset||Ee[a]||Pe[a]||Oe[a]||0})};He.op=je,Ie.cache=0;var k=(Observer.prototype.init=function init(e){Ce||P(Me)||console.warn("Please gsap.registerPlugin(Observer)"),De||O();var o=e.tolerance,a=e.dragMinimum,t=e.type,i=e.target,r=e.lineHeight,n=e.debounce,s=e.preventDefault,l=e.onStop,c=e.onStopDelay,u=e.ignore,f=e.wheelSpeed,p=e.event,d=e.onDragStart,g=e.onDragEnd,h=e.onDrag,v=e.onPress,b=e.onRelease,m=e.onRight,y=e.onLeft,x=e.onUp,w=e.onDown,_=e.onChangeX,S=e.onChangeY,T=e.onChange,k=e.onToggleX,E=e.onToggleY,D=e.onHover,R=e.onHoverEnd,z=e.onMove,X=e.ignoreCheck,Y=e.isNormalizer,I=e.onGestureStart,q=e.onGestureEnd,V=e.onWheel,H=e.onEnable,W=e.onDisable,j=e.onClick,G=e.scrollSpeed,U=e.capture,Q=e.allowClicks,Z=e.lockAxis,$=e.onLockAxis;function Se(){return ye=Ne()}function Te(e,t){return(se.event=e)&&u&&~u.indexOf(e.target)||t&&ge&&"touch"!==e.pointerType||X&&X(e,t)}function Ve(){var e=se.deltaX=N(be),t=se.deltaY=N(me),r=Math.abs(e)>=o,n=Math.abs(t)>=o;T&&(r||n)&&T(se,e,t,be,me),r&&(m&&0<se.deltaX&&m(se),y&&se.deltaX<0&&y(se),_&&_(se),k&&se.deltaX<0!=le<0&&k(se),le=se.deltaX,be[0]=be[1]=be[2]=0),n&&(w&&0<se.deltaY&&w(se),x&&se.deltaY<0&&x(se),S&&S(se),E&&se.deltaY<0!=ce<0&&E(se),ce=se.deltaY,me[0]=me[1]=me[2]=0),(ne||re)&&(z&&z(se),re&&(h(se),re=!1),ne=!1),ie&&!(ie=!1)&&$&&$(se),oe&&(V(se),oe=!1),ee=0}function We(e,t,r){be[r]+=e,me[r]+=t,se._vx.update(e),se._vy.update(t),n?ee=ee||requestAnimationFrame(Ve):Ve()}function Xe(e,t){Z&&!ae&&(se.axis=ae=Math.abs(e)>Math.abs(t)?"x":"y",ie=!0),"y"!==ae&&(be[2]+=e,se._vx.update(e,!0)),"x"!==ae&&(me[2]+=t,se._vy.update(t,!0)),n?ee=ee||requestAnimationFrame(Ve):Ve()}function Ye(e){if(!Te(e,1)){var t=(e=M(e,s)).clientX,r=e.clientY,n=t-se.x,o=r-se.y,i=se.isDragging;se.x=t,se.y=r,(i||Math.abs(se.startX-t)>=a||Math.abs(se.startY-r)>=a)&&(h&&(re=!0),i||(se.isDragging=!0),Xe(n,o),i||d&&d(se))}}function _e(e){return e.touches&&1<e.touches.length&&(se.isGesturing=!0)&&I(e,se.isDragging)}function af(){return(se.isGesturing=!1)||q(se)}function bf(e){if(!Te(e)){var t=ue(),r=fe();We((t-pe)*G,(r-de)*G,1),pe=t,de=r,l&&te.restart(!0)}}function cf(e){if(!Te(e)){e=M(e,s),V&&(oe=!0);var t=(1===e.deltaMode?r:2===e.deltaMode?ke.innerHeight:1)*f;We(e.deltaX*t,e.deltaY*t,0),l&&!Y&&te.restart(!0)}}function df(e){if(!Te(e)){var t=e.clientX,r=e.clientY,n=t-se.x,o=r-se.y;se.x=t,se.y=r,ne=!0,(n||o)&&Xe(n,o)}}function ef(e){se.event=e,D(se)}function ff(e){se.event=e,R(se)}function gf(e){return Te(e)||M(e,s)&&j(se)}this.target=i=J(i)||Pe,this.vars=e,u=u&&Me.utils.toArray(u),o=o||1e-9,a=a||0,f=f||1,G=G||1,t=t||"wheel,touch,pointer",n=!1!==n,r=r||parseFloat(ke.getComputedStyle(Oe).lineHeight)||22;var ee,te,re,ne,oe,ie,ae,se=this,le=0,ce=0,ue=K(i,He),fe=K(i,je),pe=ue(),de=fe(),ge=~t.indexOf("touch")&&!~t.indexOf("pointer")&&"pointerdown"===Le[0],he=A(i),ve=i.ownerDocument||Ee,be=[0,0,0],me=[0,0,0],ye=0,xe=se.onPress=function(e){Te(e,1)||e&&e.button||(se.axis=ae=null,te.pause(),se.isPressed=!0,e=M(e),le=ce=0,se.startX=se.x=e.clientX,se.startY=se.y=e.clientY,se._vx.reset(),se._vy.reset(),B(Y?i:ve,Le[1],Ye,s,!0),se.deltaX=se.deltaY=0,v&&v(se))},we=se.onRelease=function(t){if(!Te(t,1)){C(Y?i:ve,Le[1],Ye,!0);var e=!isNaN(se.y-se.startY),r=se.isDragging&&(3<Math.abs(se.x-se.startX)||3<Math.abs(se.y-se.startY)),n=M(t);!r&&e&&(se._vx.reset(),se._vy.reset(),s&&Q&&Me.delayedCall(.08,function(){if(300<Ne()-ye&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ve.createEvent){var e=ve.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,ke,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),se.isDragging=se.isGesturing=se.isPressed=!1,l&&!Y&&te.restart(!0),g&&r&&g(se),b&&b(se,r)}};te=se._dc=Me.delayedCall(c||.25,function onStopFunc(){se._vx.reset(),se._vy.reset(),te.pause(),l&&l(se)}).pause(),se.deltaX=se.deltaY=0,se._vx=L(0,50,!0),se._vy=L(0,50,!0),se.scrollX=ue,se.scrollY=fe,se.isDragging=se.isGesturing=se.isPressed=!1,ze(this),se.enable=function(e){return se.isEnabled||(B(he?ve:i,"scroll",F),0<=t.indexOf("scroll")&&B(he?ve:i,"scroll",bf,s,U),0<=t.indexOf("wheel")&&B(i,"wheel",cf,s,U),(0<=t.indexOf("touch")&&Ae||0<=t.indexOf("pointer"))&&(B(i,Le[0],xe,s,U),B(ve,Le[2],we),B(ve,Le[3],we),Q&&B(i,"click",Se,!1,!0),j&&B(i,"click",gf),I&&B(ve,"gesturestart",_e),q&&B(ve,"gestureend",af),D&&B(i,Be+"enter",ef),R&&B(i,Be+"leave",ff),z&&B(i,Be+"move",df)),se.isEnabled=!0,e&&e.type&&xe(e),H&&H(se)),se},se.disable=function(){se.isEnabled&&(Fe.filter(function(e){return e!==se&&A(e.target)}).length||C(he?ve:i,"scroll",F),se.isPressed&&(se._vx.reset(),se._vy.reset(),C(Y?i:ve,Le[1],Ye,!0)),C(he?ve:i,"scroll",bf,U),C(i,"wheel",cf,U),C(i,Le[0],xe,U),C(ve,Le[2],we),C(ve,Le[3],we),C(i,"click",Se,!0),C(i,"click",gf),C(ve,"gesturestart",_e),C(ve,"gestureend",af),C(i,Be+"enter",ef),C(i,Be+"leave",ff),C(i,Be+"move",df),se.isEnabled=se.isPressed=se.isDragging=!1,W&&W(se))},se.kill=se.revert=function(){se.disable();var e=Fe.indexOf(se);0<=e&&Fe.splice(e,1),Re===se&&(Re=0)},Fe.push(se),Y&&A(i)&&(Re=se),se.enable(p)},function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e}(Observer,[{key:"velocityX",get:function get(){return this._vx.getVelocity()}},{key:"velocityY",get:function get(){return this._vy.getVelocity()}}]),Observer);function Observer(e){this.init(e)}k.version="3.11.5",k.create=function(e){return new k(e)},k.register=P,k.getAll=function(){return Fe.slice()},k.getById=function(t){return Fe.filter(function(e){return e.vars.id===t})[0]},r()&&Me.registerPlugin(k);function za(){return rt=1}function Aa(){return rt=0}function Ba(e){return e}function Ca(e){return Math.round(1e5*e)/1e5||0}function Da(){return"undefined"!=typeof window}function Ea(){return Je||Da()&&(Je=window.gsap)&&Je.registerPlugin&&Je}function Fa(e){return!!~l.indexOf(e)}function Ga(e){return z(e,"getBoundingClientRect")||(Fa(e)?function(){return Lt.width=Ke.innerWidth,Lt.height=Ke.innerHeight,Lt}:function(){return Ct(e)})}function Ja(e,t){var r=t.s,n=t.d2,o=t.d,i=t.a;return Math.max(0,(r="scroll"+n)&&(i=z(e,r))?i()-Ga(e)()[o]:Fa(e)?(Ue[r]||Qe[r])-(Ke["inner"+n]||Ue["client"+n]||Qe["client"+n]):e[r]-e["offset"+n])}function Ka(e,t){for(var r=0;r<g.length;r+=3)t&&!~t.indexOf(g[r+1])||e(g[r],g[r+1],g[r+2])}function La(e){return"string"==typeof e}function Ma(e){return"function"==typeof e}function Na(e){return"number"==typeof e}function Oa(e){return"object"==typeof e}function Pa(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()}function Qa(e,t){if(e.enabled){var r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}}function fb(e){return Ke.getComputedStyle(e)}function hb(e,t){for(var r in t)r in e||(e[r]=t[r]);return e}function jb(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0}function kb(e){var t,r=[],n=e.labels,o=e.duration();for(t in n)r.push(n[t]/o);return r}function mb(o){var i=Je.utils.snap(o),a=Array.isArray(o)&&o.slice(0).sort(function(e,t){return e-t});return a?function(e,t,r){var n;if(void 0===r&&(r=.001),!t)return i(e);if(0<t){for(e-=r,n=0;n<a.length;n++)if(a[n]>=e)return a[n];return a[n-1]}for(n=a.length,e+=r;n--;)if(a[n]<=e)return a[n];return a[0]}:function(e,t,r){void 0===r&&(r=.001);var n=i(e);return!t||Math.abs(n-e)<r||n-e<0==t<0?n:i(t<0?e-o:e+o)}}function ob(t,r,e,n){return e.split(",").forEach(function(e){return t(r,e,n)})}function pb(e,t,r,n,o){return e.addEventListener(t,r,{passive:!n,capture:!!o})}function qb(e,t,r,n){return e.removeEventListener(t,r,!!n)}function rb(e,t,r){(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))}function vb(e,t){if(La(e)){var r=e.indexOf("="),n=~r?(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in R?R[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e}function wb(e,t,r,n,o,i,a,s){var l=o.startColor,c=o.endColor,u=o.fontSize,f=o.indent,p=o.fontWeight,d=Ge.createElement("div"),g=Fa(r)||"fixed"===z(r,"pinType"),h=-1!==e.indexOf("scroller"),v=g?Qe:r,b=-1!==e.indexOf("start"),m=b?l:c,y="border-color:"+m+";font-size:"+u+";color:"+m+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((h||s)&&g?"fixed;":"absolute;"),!h&&!s&&g||(y+=(n===je?S:T)+":"+(i+parseFloat(f))+"px;"),a&&(y+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),d._isStart=b,d.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),d.style.cssText=y,d.innerText=t||0===t?e+"-"+t:e,v.children[0]?v.insertBefore(d,v.children[0]):v.appendChild(d),d._offset=d["offset"+n.op.d2],X(d,0,n,b),d}function Bb(){return 34<pt()-dt&&(w=w||requestAnimationFrame(W))}function Cb(){v&&v.isPressed&&!(v.startX>Qe.clientWidth)||(Ie.cache++,v?w=w||requestAnimationFrame(W):W(),dt||q("scrollStart"),dt=pt())}function Db(){y=Ke.innerWidth,m=Ke.innerHeight}function Eb(){Ie.cache++,tt||h||Ge.fullscreenElement||Ge.webkitFullscreenElement||b&&y===Ke.innerWidth&&!(Math.abs(Ke.innerHeight-m)>.25*Ke.innerHeight)||c.restart(!0)}function Hb(){return qb($,"scrollEnd",Hb)||Bt(!0)}function Kb(e){for(var t=0;t<V.length;t+=5)(!e||V[t+4]&&V[t+4].query===e)&&(V[t].style.cssText=V[t+1],V[t].getBBox&&V[t].setAttribute("transform",V[t+2]||""),V[t+3].uncache=1)}function Lb(e,t){var r;for(nt=0;nt<Pt.length;nt++)!(r=Pt[nt])||t&&r._ctx!==t||(e?r.kill(1):r.revert(!0,!0));t&&Kb(t),t||q("revert")}function Mb(e,t){Ie.cache++,!t&&lt||Ie.forEach(function(e){return Ma(e)&&e.cacheID++&&(e.rec=0)}),La(e)&&(Ke.history.scrollRestoration=x=e)}function Zb(e,t,r,n){if(!e._gsap.swappedIn){for(var o,i=j.length,a=t.style,s=e.style;i--;)a[o=j[i]]=r[o];a.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(a.display="inline-block"),s[T]=s[S]="auto",a.flexBasis=r.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[vt]=jb(e,He)+Mt,a[bt]=jb(e,je)+Mt,a[_t]=s[St]=s.top=s.left="0",Rt(n),s[vt]=s.maxWidth=r[vt],s[bt]=s.maxHeight=r[bt],s[_t]=r[_t],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}}function ac(e){for(var t=U.length,r=e.style,n=[],o=0;o<t;o++)n.push(U[o],r[U[o]]);return n.t=e,n}function dc(e,t,r,n,o,i,a,s,l,c,u,f,p){Ma(e)&&(e=e(s)),La(e)&&"max"===e.substr(0,3)&&(e=f+("="===e.charAt(4)?vb("0"+e.substr(3),r):0));var d,g,h,v=p?p.time():0;if(p&&p.seek(0),Na(e))p&&(e=Je.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,f,e)),a&&X(a,r,n,!0);else{Ma(t)&&(t=t(s));var b,m,y,x,w=(e||"0").split(" ");h=J(t)||Qe,(b=Ct(h)||{})&&(b.left||b.top)||"none"!==fb(h).display||(x=h.style.display,h.style.display="block",b=Ct(h),x?h.style.display=x:h.style.removeProperty("display")),m=vb(w[0],b[n.d]),y=vb(w[1]||"0",r),e=b[n.p]-l[n.p]-c+m+o-y,a&&X(a,y,n,r-y<20||a._isStart&&20<y),r-=r-y}if(i){var _=e+r,S=i._isStart;d="scroll"+n.d2,X(i,_,n,S&&20<_||!S&&(u?Math.max(Qe[d],Ue[d]):i.parentNode[d])<=_+1),u&&(l=Ct(a),u&&(i.style[n.op.p]=l[n.op.p]-n.op.m-i._offset+Mt))}return p&&h&&(d=Ct(h),p.seek(f),g=Ct(h),p._caScrollDist=d[n.p]-g[n.p],e=e/p._caScrollDist*f),p&&p.seek(v),p?e:Math.round(e)}function fc(e,t,r,n){if(e.parentNode!==t){var o,i,a=e.style;if(t===Qe){for(o in e._stOrig=a.cssText,i=fb(e))+o||Z.test(o)||!i[o]||"string"!=typeof a[o]||"0"===o||(a[o]=i[o]);a.top=r,a.left=n}else a.cssText=e._stOrig;Je.core.getCache(e).uncache=1,t.appendChild(e)}}function gc(r,e,n){var o=e,i=o;return function(e){var t=Math.round(r());return t!==o&&t!==i&&3<Math.abs(t-o)&&3<Math.abs(t-i)&&(e=t,n&&n()),i=o,o=e}}function hc(c,e){function _j(e,t,r,n,o){var i=_j.tween,a=t.onComplete,s={};r=r||u();var l=gc(u,r,function(){i.kill(),_j.tween=0});return o=n&&o||0,n=n||e-r,i&&i.kill(),t[f]=e,(t.modifiers=s)[f]=function(){return l(r+n*i.ratio+o*i.ratio*i.ratio)},t.onUpdate=function(){Ie.cache++,W()},t.onComplete=function(){_j.tween=0,a&&a.call(i)},i=_j.tween=Je.to(c,t)}var u=K(c,e),f="_scroll"+e.p2;return(c[f]=u).wheelHandler=function(){return _j.tween&&_j.tween.kill()&&(_j.tween=0)},pb(c,"wheel",u.wheelHandler),$.isTouch&&pb(c,"touchmove",u.wheelHandler),_j}var Je,s,Ke,Ge,Ue,Qe,l,c,Ze,$e,et,u,tt,rt,f,nt,p,d,g,ot,it,h,v,b,m,y,E,at,x,st,w,lt,ct,ut,ft=1,pt=Date.now,_=pt(),dt=0,gt=0,ht=Math.abs,S="right",T="bottom",vt="width",bt="height",mt="Right",yt="Left",xt="Top",wt="Bottom",_t="padding",St="margin",Tt="Width",D="Height",Mt="px",Ct=function _getBounds(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==fb(e)[f]&&Je.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},kt={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Et={toggleActions:"play",anticipatePin:0},R={top:0,left:0,center:.5,bottom:1,right:1},X=function _positionMarker(e,t,r,n){var o={display:"block"},i=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,o[r.a+"Percent"]=n?-100:0,o[r.a]=n?"1px":0,o["border"+i+Tt]=1,o["border"+a+Tt]=0,o[r.p]=t+"px",Je.set(e,o)},Pt=[],Ot={},Y={},I=[],q=function _dispatch(e){return Y[e]&&Y[e].map(function(e){return e()})||I},V=[],At=0,Bt=function _refreshAll(e,t){if(!dt||e){lt=$.isRefreshing=!0,Ie.forEach(function(e){return Ma(e)&&e.cacheID++&&(e.rec=e())});var r=q("refreshInit");ot&&$.sort(),t||Lb(),Ie.forEach(function(e){Ma(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),Pt.slice(0).forEach(function(e){return e.refresh()}),Pt.forEach(function(e,t){if(e._subPinOffset&&e.pin){var r=e.vars.horizontal?"offsetWidth":"offsetHeight",n=e.pin[r];e.revert(!0,1),e.adjustPinSpacing(e.pin[r]-n),e.refresh()}}),Pt.forEach(function(e){return"max"===e.vars.end&&e.setPositions(e.start,Math.max(e.start+1,Ja(e.scroller,e._dir)))}),r.forEach(function(e){return e&&e.render&&e.render(-1)}),Ie.forEach(function(e){Ma(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec&&e(e.rec))}),Mb(x,1),c.pause(),At++,W(lt=2),Pt.forEach(function(e){return Ma(e.vars.onRefresh)&&e.vars.onRefresh(e)}),lt=$.isRefreshing=!1,q("refresh")}else pb($,"scrollEnd",Hb)},H=0,Dt=1,W=function _updateAll(e){if(!lt||2===e){$.isUpdating=!0,ut&&ut.update(0);var t=Pt.length,r=pt(),n=50<=r-_,o=t&&Pt[0].scroll();if(Dt=o<H?-1:1,lt||(H=o),n&&(dt&&!rt&&200<r-dt&&(dt=0,q("scrollEnd")),et=_,_=r),Dt<0){for(nt=t;0<nt--;)Pt[nt]&&Pt[nt].update(0,n);Dt=1}else for(nt=0;nt<t;nt++)Pt[nt]&&Pt[nt].update(0,n);$.isUpdating=!1}w=0},j=["left","top",T,S,St+wt,St+mt,St+xt,St+yt,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],U=j.concat([vt,bt,"boxSizing","max"+Tt,"max"+D,"position",St,_t,_t+xt,_t+mt,_t+wt,_t+yt]),Q=/([A-Z])/g,Rt=function _setState(e){if(e){var t,r,n=e.t.style,o=e.length,i=0;for((e.t._gsap||Je.core.getCache(e.t)).uncache=1;i<o;i+=2)r=e[i+1],t=e[i],r?n[t]=r:n[t]&&n.removeProperty(t.replace(Q,"-$1").toLowerCase())}},Lt={left:0,top:0},Z=/(webkit|moz|length|cssText|inset)/i,$=(ScrollTrigger.prototype.init=function init(M,C){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),gt){var k,n,d,E,P,O,A,B,D,R,L,e,F,X,Y,I,q,t,N,b,V,H,m,W,y,j,x,r,w,_,G,o,g,U,Q,Z,$,S,i,T=(M=hb(La(M)||Na(M)||M.nodeType?{trigger:M}:M,Et)).onUpdate,ee=M.toggleClass,a=M.id,te=M.onToggle,re=M.onRefresh,ne=M.scrub,oe=M.trigger,ie=M.pin,ae=M.pinSpacing,se=M.invalidateOnRefresh,le=M.anticipatePin,s=M.onScrubComplete,h=M.onSnapComplete,ce=M.once,ue=M.snap,fe=M.pinReparent,l=M.pinSpacer,pe=M.containerAnimation,de=M.fastScrollEnd,ge=M.preventOverlaps,he=M.horizontal||M.containerAnimation&&!1!==M.horizontal?He:je,ve=!ne&&0!==ne,be=J(M.scroller||Ke),c=Je.core.getCache(be),me=Fa(be),ye="fixed"===("pinType"in M?M.pinType:z(be,"pinType")||me&&"fixed"),xe=[M.onEnter,M.onLeave,M.onEnterBack,M.onLeaveBack],we=ve&&M.toggleActions.split(" "),u="markers"in M?M.markers:Et.markers,_e=me?0:parseFloat(fb(be)["border"+he.p2+Tt])||0,Se=this,Te=M.onRefreshInit&&function(){return M.onRefreshInit(Se)},Me=function _getSizeFunc(e,t,r){var n=r.d,o=r.d2,i=r.a;return(i=z(e,"getBoundingClientRect"))?function(){return i()[n]}:function(){return(t?Ke["inner"+o]:e["client"+o])||0}}(be,me,he),Ce=function _getOffsetsFunc(e,t){return!t||~qe.indexOf(e)?Ga(e):function(){return Lt}}(be,me),ke=0,Ee=0,Pe=K(be,he);if(at(Se),Se._dir=he,le*=45,Se.scroller=be,Se.scroll=pe?pe.time.bind(pe):Pe,E=Pe(),Se.vars=M,C=C||M.animation,"refreshPriority"in M&&(ot=1,-9999===M.refreshPriority&&(ut=Se)),c.tweenScroll=c.tweenScroll||{top:hc(be,je),left:hc(be,He)},Se.tweenTo=k=c.tweenScroll[he.p],Se.scrubDuration=function(e){(o=Na(e)&&e)?G?G.duration(e):G=Je.to(C,{ease:"expo",totalProgress:"+=0.001",duration:o,paused:!0,onComplete:function onComplete(){return s&&s(Se)}}):(G&&G.progress(1).kill(),G=0)},C&&(C.vars.lazy=!1,C._initted||!1!==C.vars.immediateRender&&!1!==M.immediateRender&&C.duration()&&C.render(0,!0,!0),Se.animation=C.pause(),(C.scrollTrigger=Se).scrubDuration(ne),G&&G.resetTo&&G.resetTo("totalProgress",0),w=0,a=a||C.vars.id),Pt.push(Se),ue&&(Oa(ue)&&!ue.push||(ue={snapTo:ue}),"scrollBehavior"in Qe.style&&Je.set(me?[Qe,Ue]:be,{scrollBehavior:"auto"}),Ie.forEach(function(e){return Ma(e)&&e.target===(me?Ge.scrollingElement||Ue:be)&&(e.smooth=!1)}),d=Ma(ue.snapTo)?ue.snapTo:"labels"===ue.snapTo?function _getClosestLabel(t){return function(e){return Je.utils.snap(kb(t),e)}}(C):"labelsDirectional"===ue.snapTo?function _getLabelAtDirection(r){return function(e,t){return mb(kb(r))(e,t.direction)}}(C):!1!==ue.directional?function(e,t){return mb(ue.snapTo)(e,pt()-Ee<500?0:t.direction)}:Je.utils.snap(ue.snapTo),g=ue.duration||{min:.1,max:2},g=Oa(g)?$e(g.min,g.max):$e(g,g),U=Je.delayedCall(ue.delay||o/2||.1,function(){var e=Pe(),t=pt()-Ee<500,r=k.tween;if(!(t||Math.abs(Se.getVelocity())<10)||r||rt||ke===e)Se.isActive&&ke!==e&&U.restart(!0);else{var n=(e-O)/F,o=C&&!ve?C.totalProgress():n,i=t?0:(o-_)/(pt()-et)*1e3||0,a=Je.utils.clamp(-n,1-n,ht(i/2)*i/.185),s=n+(!1===ue.inertia?0:a),l=$e(0,1,d(s,Se)),c=Math.round(O+l*F),u=ue.onStart,f=ue.onInterrupt,p=ue.onComplete;if(e<=A&&O<=e&&c!==e){if(r&&!r._initted&&r.data<=ht(c-e))return;!1===ue.inertia&&(a=l-n),k(c,{duration:g(ht(.185*Math.max(ht(s-o),ht(l-o))/i/.05||0)),ease:ue.ease||"power3",data:ht(c-e),onInterrupt:function onInterrupt(){return U.restart(!0)&&f&&f(Se)},onComplete:function onComplete(){Se.update(),ke=Pe(),w=_=C&&!ve?C.totalProgress():Se.progress,h&&h(Se),p&&p(Se)}},e,a*F,c-e-a*F),u&&u(Se,k.tween)}}}).pause()),a&&(Ot[a]=Se),i=(i=(oe=Se.trigger=J(oe||ie))&&oe._gsap&&oe._gsap.stRevert)&&i(Se),ie=!0===ie?oe:J(ie),La(ee)&&(ee={targets:oe,className:ee}),ie&&(!1===ae||ae===St||(ae=!(!ae&&ie.parentNode&&ie.parentNode.style&&"flex"===fb(ie.parentNode).display)&&_t),Se.pin=ie,(n=Je.core.getCache(ie)).spacer?X=n.pinState:(l&&((l=J(l))&&!l.nodeType&&(l=l.current||l.nativeElement),n.spacerIsNative=!!l,l&&(n.spacerState=ac(l))),n.spacer=q=l||Ge.createElement("div"),q.classList.add("pin-spacer"),a&&q.classList.add("pin-spacer-"+a),n.pinState=X=ac(ie)),!1!==M.force3D&&Je.set(ie,{force3D:!0}),Se.spacer=q=n.spacer,r=fb(ie),m=r[ae+he.os2],N=Je.getProperty(ie),b=Je.quickSetter(ie,he.a,Mt),Zb(ie,q,r),I=ac(ie)),u){e=Oa(u)?hb(u,kt):kt,R=wb("scroller-start",a,be,he,e,0),L=wb("scroller-end",a,be,he,e,0,R),t=R["offset"+he.op.d2];var f=J(z(be,"content")||be);B=this.markerStart=wb("start",a,f,he,e,t,0,pe),D=this.markerEnd=wb("end",a,f,he,e,t,0,pe),pe&&(S=Je.quickSetter([B,D],he.a,Mt)),ye||qe.length&&!0===z(be,"fixedMarkers")||(function _makePositionable(e){var t=fb(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"}(me?Qe:be),Je.set([R,L],{force3D:!0}),y=Je.quickSetter(R,he.a,Mt),x=Je.quickSetter(L,he.a,Mt))}if(pe){var p=pe.vars.onUpdate,v=pe.vars.onUpdateParams;pe.eventCallback("onUpdate",function(){Se.update(0,0,1),p&&p.apply(pe,v||[])})}Se.previous=function(){return Pt[Pt.indexOf(Se)-1]},Se.next=function(){return Pt[Pt.indexOf(Se)+1]},Se.revert=function(e,t){if(!t)return Se.kill(!0);var r=!1!==e||!Se.enabled,n=tt;r!==Se.isReverted&&(r&&(Z=Math.max(Pe(),Se.scroll.rec||0),Q=Se.progress,$=C&&C.progress()),B&&[B,D,R,L].forEach(function(e){return e.style.display=r?"none":"block"}),r&&(tt=Se).update(r),!ie||fe&&Se.isActive||(r?function _swapPinOut(e,t,r){Rt(r);var n=e._gsap;if(n.spacerIsNative)Rt(n.spacerState);else if(e._gsap.swappedIn){var o=t.parentNode;o&&(o.insertBefore(e,t),o.removeChild(t))}e._gsap.swappedIn=!1}(ie,q,X):Zb(ie,q,fb(ie),W)),r||Se.update(r),tt=n,Se.isReverted=r)},Se.refresh=function(e,t){if(!tt&&Se.enabled||t)if(ie&&e&&dt)pb(ScrollTrigger,"scrollEnd",Hb);else{!lt&&Te&&Te(Se),tt=Se,Ee=pt(),k.tween&&(k.tween.kill(),k.tween=0),G&&G.pause(),se&&C&&C.revert({kill:!1}).invalidate(),Se.isReverted||Se.revert(!0,!0),Se._subPinOffset=!1;for(var r,n,o,i,a,s,l,c,u,f,p,d=Me(),g=Ce(),h=pe?pe.duration():Ja(be,he),v=F<=.01,b=0,m=0,y=M.end,x=M.endTrigger||oe,w=M.start||(0!==M.start&&oe?ie?"0 0":"0 100%":0),_=Se.pinnedContainer=M.pinnedContainer&&J(M.pinnedContainer),S=oe&&Math.max(0,Pt.indexOf(Se))||0,T=S;T--;)(s=Pt[T]).end||s.refresh(0,1)||(tt=Se),!(l=s.pin)||l!==oe&&l!==ie&&l!==_||s.isReverted||((f=f||[]).unshift(s),s.revert(!0,!0)),s!==Pt[T]&&(S--,T--);for(Ma(w)&&(w=w(Se)),O=dc(w,oe,d,he,Pe(),B,R,Se,g,_e,ye,h,pe)||(ie?-.001:0),Ma(y)&&(y=y(Se)),La(y)&&!y.indexOf("+=")&&(~y.indexOf(" ")?y=(La(w)?w.split(" ")[0]:"")+y:(b=vb(y.substr(2),d),y=La(w)?w:(pe?Je.utils.mapRange(0,pe.duration(),pe.scrollTrigger.start,pe.scrollTrigger.end,O):O)+b,x=oe)),A=Math.max(O,dc(y||(x?"100% 0":h),x,d,he,Pe()+b,D,L,Se,g,_e,ye,h,pe))||-.001,F=A-O||(O-=.01)&&.001,b=0,T=S;T--;)(l=(s=Pt[T]).pin)&&s.start-s._pinPush<=O&&!pe&&0<s.end&&(r=s.end-s.start,(l===oe&&s.start-s._pinPush<O||l===_)&&!Na(w)&&(b+=r*(1-s.progress)),l===ie&&(m+=r));if(O+=b,A+=b,v&&(Q=Je.utils.clamp(0,1,Je.utils.normalize(O,A,Z))),Se._pinPush=m,B&&b&&((r={})[he.a]="+="+b,_&&(r[he.p]="-="+Pe()),Je.set([B,D],r)),ie)r=fb(ie),i=he===je,o=Pe(),V=parseFloat(N(he.a))+m,!h&&1<A&&((p={style:p=(me?Ge.scrollingElement||Ue:be).style,value:p["overflow"+he.a.toUpperCase()]}).style["overflow"+he.a.toUpperCase()]="scroll"),Zb(ie,q,r),I=ac(ie),n=Ct(ie,!0),c=ye&&K(be,i?He:je)(),ae&&((W=[ae+he.os2,F+m+Mt]).t=q,(T=ae===_t?jb(ie,he)+F+m:0)&&W.push(he.d,T+Mt),Rt(W),_&&Pt.forEach(function(e){e.pin===_&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),ye&&Pe(Z)),ye&&((a={top:n.top+(i?o-O:c)+Mt,left:n.left+(i?c:o-O)+Mt,boxSizing:"border-box",position:"fixed"})[vt]=a.maxWidth=Math.ceil(n.width)+Mt,a[bt]=a.maxHeight=Math.ceil(n.height)+Mt,a[St]=a[St+xt]=a[St+mt]=a[St+wt]=a[St+yt]="0",a[_t]=r[_t],a[_t+xt]=r[_t+xt],a[_t+mt]=r[_t+mt],a[_t+wt]=r[_t+wt],a[_t+yt]=r[_t+yt],Y=function _copyState(e,t,r){for(var n,o=[],i=e.length,a=r?8:0;a<i;a+=2)n=e[a],o.push(n,n in t?t[n]:e[a+1]);return o.t=e.t,o}(X,a,fe),lt&&Pe(0)),C?(u=C._initted,it(1),C.render(C.duration(),!0,!0),H=N(he.a)-V+F+m,j=1<Math.abs(F-H),ye&&j&&Y.splice(Y.length-2,2),C.render(0,!0,!0),u||C.invalidate(!0),C.parent||C.totalTime(C.totalTime()),it(0)):H=F,p&&(p.value?p.style["overflow"+he.a.toUpperCase()]=p.value:p.style.removeProperty("overflow-"+he.a));else if(oe&&Pe()&&!pe)for(n=oe.parentNode;n&&n!==Qe;)n._pinOffset&&(O-=n._pinOffset,A-=n._pinOffset),n=n.parentNode;f&&f.forEach(function(e){return e.revert(!1,!0)}),Se.start=O,Se.end=A,E=P=lt?Z:Pe(),pe||lt||(E<Z&&Pe(Z),Se.scroll.rec=0),Se.revert(!1,!0),U&&(ke=-1,Se.isActive&&Pe(O+F*Q),U.restart(!0)),tt=0,C&&ve&&(C._initted||$)&&C.progress()!==$&&C.progress($,!0).render(C.time(),!0,!0),(v||Q!==Se.progress||pe)&&(C&&!ve&&C.totalProgress(pe&&O<-.001&&!Q?Je.utils.normalize(O,A,0):Q,!0),Se.progress=(E-O)/F===Q?0:Q),ie&&ae&&(q._pinOffset=Math.round(Se.progress*H)),G&&G.invalidate(),re&&!lt&&re(Se)}},Se.getVelocity=function(){return(Pe()-P)/(pt()-et)*1e3||0},Se.endAnimation=function(){Pa(Se.callbackAnimation),C&&(G?G.progress(1):C.paused()?ve||Pa(C,Se.direction<0,1):Pa(C,C.reversed()))},Se.labelToScroll=function(e){return C&&C.labels&&(O||Se.refresh()||O)+C.labels[e]/C.duration()*F||0},Se.getTrailing=function(t){var e=Pt.indexOf(Se),r=0<Se.direction?Pt.slice(0,e).reverse():Pt.slice(e+1);return(La(t)?r.filter(function(e){return e.vars.preventOverlaps===t}):r).filter(function(e){return 0<Se.direction?e.end<=O:e.start>=A})},Se.update=function(e,t,r){if(!pe||r||e){var n,o,i,a,s,l,c,u=!0===lt?Z:Se.scroll(),f=e?0:(u-O)/F,p=f<0?0:1<f?1:f||0,d=Se.progress;if(t&&(P=E,E=pe?Pe():u,ue&&(_=w,w=C&&!ve?C.totalProgress():p)),le&&!p&&ie&&!tt&&!ft&&dt&&O<u+(u-P)/(pt()-et)*le&&(p=1e-4),p!==d&&Se.enabled){if(a=(s=(n=Se.isActive=!!p&&p<1)!=(!!d&&d<1))||!!p!=!!d,Se.direction=d<p?1:-1,Se.progress=p,a&&!tt&&(o=p&&!d?0:1===p?1:1===d?2:3,ve&&(i=!s&&"none"!==we[o+1]&&we[o+1]||we[o],c=C&&("complete"===i||"reset"===i||i in C))),ge&&(s||c)&&(c||ne||!C)&&(Ma(ge)?ge(Se):Se.getTrailing(ge).forEach(function(e){return e.endAnimation()})),ve||(!G||tt||ft?C&&C.totalProgress(p,!!tt):(G._dp._time-G._start!==G._time&&G.render(G._dp._time-G._start),G.resetTo?G.resetTo("totalProgress",p,C._tTime/C._tDur):(G.vars.totalProgress=p,G.invalidate().restart()))),ie)if(e&&ae&&(q.style[ae+he.os2]=m),ye){if(a){if(l=!e&&d<p&&u<A+1&&u+1>=Ja(be,he),fe)if(e||!n&&!l)fc(ie,q);else{var g=Ct(ie,!0),h=u-O;fc(ie,Qe,g.top+(he===je?h:0)+Mt,g.left+(he===je?0:h)+Mt)}Rt(n||l?Y:I),j&&p<1&&n||b(V+(1!==p||l?0:H))}}else b(Ca(V+H*p));!ue||k.tween||tt||ft||U.restart(!0),ee&&(s||ce&&p&&(p<1||!st))&&Ze(ee.targets).forEach(function(e){return e.classList[n||ce?"add":"remove"](ee.className)}),!T||ve||e||T(Se),a&&!tt?(ve&&(c&&("complete"===i?C.pause().totalProgress(1):"reset"===i?C.restart(!0).pause():"restart"===i?C.restart(!0):C[i]()),T&&T(Se)),!s&&st||(te&&s&&Qa(Se,te),xe[o]&&Qa(Se,xe[o]),ce&&(1===p?Se.kill(!1,1):xe[o]=0),s||xe[o=1===p?1:3]&&Qa(Se,xe[o])),de&&!n&&Math.abs(Se.getVelocity())>(Na(de)?de:2500)&&(Pa(Se.callbackAnimation),G?G.progress(1):Pa(C,"reverse"===i?1:!p,1))):ve&&T&&!tt&&T(Se)}if(x){var v=pe?u/pe.duration()*(pe._caScrollDist||0):u;y(v+(R._isFlipped?1:0)),x(v)}S&&S(-u/pe.duration()*(pe._caScrollDist||0))}},Se.enable=function(e,t){Se.enabled||(Se.enabled=!0,pb(be,"resize",Eb),pb(me?Ge:be,"scroll",Cb),Te&&pb(ScrollTrigger,"refreshInit",Te),!1!==e&&(Se.progress=Q=0,E=P=ke=Pe()),!1!==t&&Se.refresh())},Se.getTween=function(e){return e&&k?k.tween:G},Se.setPositions=function(e,t){ie&&(V+=e-O,H+=t-e-F,ae===_t&&Se.adjustPinSpacing(t-e-F)),Se.start=O=e,Se.end=A=t,F=t-e,Se.update()},Se.adjustPinSpacing=function(e){if(W&&e){var t=W.indexOf(he.d)+1;W[t]=parseFloat(W[t])+e+Mt,W[1]=parseFloat(W[1])+e+Mt,Rt(W)}},Se.disable=function(e,t){if(Se.enabled&&(!1!==e&&Se.revert(!0,!0),Se.enabled=Se.isActive=!1,t||G&&G.pause(),Z=0,n&&(n.uncache=1),Te&&qb(ScrollTrigger,"refreshInit",Te),U&&(U.pause(),k.tween&&k.tween.kill()&&(k.tween=0)),!me)){for(var r=Pt.length;r--;)if(Pt[r].scroller===be&&Pt[r]!==Se)return;qb(be,"resize",Eb),qb(be,"scroll",Cb)}},Se.kill=function(e,t){Se.disable(e,t),G&&!t&&G.kill(),a&&delete Ot[a];var r=Pt.indexOf(Se);0<=r&&Pt.splice(r,1),r===nt&&0<Dt&&nt--,r=0,Pt.forEach(function(e){return e.scroller===Se.scroller&&(r=1)}),r||lt||(Se.scroll.rec=0),C&&(C.scrollTrigger=null,e&&C.revert({kill:!1}),t||C.kill()),B&&[B,D,R,L].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),ut===Se&&(ut=0),ie&&(n&&(n.uncache=1),r=0,Pt.forEach(function(e){return e.pin===ie&&r++}),r||(n.spacer=0)),M.onKill&&M.onKill(Se)},Se.enable(!1,!1),i&&i(Se),C&&C.add&&!F?Je.delayedCall(.01,function(){return O||A||Se.refresh()})&&(F=.01)&&(O=A=0):Se.refresh(),ie&&function _queueRefreshAll(){if(ct!==At){var e=ct=At;requestAnimationFrame(function(){return e===At&&Bt(!0)})}}()}else this.update=this.refresh=this.kill=Ba},ScrollTrigger.register=function register(e){return s||(Je=e||Ea(),Da()&&window.document&&ScrollTrigger.enable(),s=gt),s},ScrollTrigger.defaults=function defaults(e){if(e)for(var t in e)Et[t]=e[t];return Et},ScrollTrigger.disable=function disable(t,r){gt=0,Pt.forEach(function(e){return e[r?"kill":"disable"](t)}),qb(Ke,"wheel",Cb),qb(Ge,"scroll",Cb),clearInterval(u),qb(Ge,"touchcancel",Ba),qb(Qe,"touchstart",Ba),ob(qb,Ge,"pointerdown,touchstart,mousedown",za),ob(qb,Ge,"pointerup,touchend,mouseup",Aa),c.kill(),Ka(qb);for(var e=0;e<Ie.length;e+=3)rb(qb,Ie[e],Ie[e+1]),rb(qb,Ie[e],Ie[e+2])},ScrollTrigger.enable=function enable(){if(Ke=window,Ge=document,Ue=Ge.documentElement,Qe=Ge.body,Je&&(Ze=Je.utils.toArray,$e=Je.utils.clamp,at=Je.core.context||Ba,it=Je.core.suppressOverwrites||Ba,x=Ke.history.scrollRestoration||"auto",H=Ke.pageYOffset,Je.core.globals("ScrollTrigger",ScrollTrigger),Qe)){gt=1,function _rafBugFix(){return gt&&requestAnimationFrame(_rafBugFix)}(),k.register(Je),ScrollTrigger.isTouch=k.isTouch,E=k.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),pb(Ke,"wheel",Cb),l=[Ke,Ge,Ue,Qe],Je.matchMedia?(ScrollTrigger.matchMedia=function(e){var t,r=Je.matchMedia();for(t in e)r.add(t,e[t]);return r},Je.addEventListener("matchMediaInit",function(){return Lb()}),Je.addEventListener("matchMediaRevert",function(){return Kb()}),Je.addEventListener("matchMedia",function(){Bt(0,1),q("matchMedia")}),Je.matchMedia("(orientation: portrait)",function(){return Db(),Db})):console.warn("Requires GSAP 3.11.0 or later"),Db(),pb(Ge,"scroll",Cb);var e,t,r=Qe.style,n=r.borderTopStyle,o=Je.core.Animation.prototype;for(o.revert||Object.defineProperty(o,"revert",{value:function value(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",e=Ct(Qe),je.m=Math.round(e.top+je.sc())||0,He.m=Math.round(e.left+He.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),u=setInterval(Bb,250),Je.delayedCall(.5,function(){return ft=0}),pb(Ge,"touchcancel",Ba),pb(Qe,"touchstart",Ba),ob(pb,Ge,"pointerdown,touchstart,mousedown",za),ob(pb,Ge,"pointerup,touchend,mouseup",Aa),f=Je.utils.checkPrefix("transform"),U.push(f),s=pt(),c=Je.delayedCall(.2,Bt).pause(),g=[Ge,"visibilitychange",function(){var e=Ke.innerWidth,t=Ke.innerHeight;Ge.hidden?(p=e,d=t):p===e&&d===t||Eb()},Ge,"DOMContentLoaded",Bt,Ke,"load",Bt,Ke,"resize",Eb],Ka(pb),Pt.forEach(function(e){return e.enable(0,1)}),t=0;t<Ie.length;t+=3)rb(qb,Ie[t],Ie[t+1]),rb(qb,Ie[t],Ie[t+2])}},ScrollTrigger.config=function config(e){"limitCallbacks"in e&&(st=!!e.limitCallbacks);var t=e.syncInterval;t&&clearInterval(u)||(u=t)&&setInterval(Bb,t),"ignoreMobileResize"in e&&(b=1===ScrollTrigger.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(Ka(qb)||Ka(pb,e.autoRefreshEvents||"none"),h=-1===(e.autoRefreshEvents+"").indexOf("resize"))},ScrollTrigger.scrollerProxy=function scrollerProxy(e,t){var r=J(e),n=Ie.indexOf(r),o=Fa(r);~n&&Ie.splice(n,o?6:2),t&&(o?qe.unshift(Ke,t,Qe,t,Ue,t):qe.unshift(r,t))},ScrollTrigger.clearMatchMedia=function clearMatchMedia(t){Pt.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},ScrollTrigger.isInViewport=function isInViewport(e,t,r){var n=(La(e)?J(e):e).getBoundingClientRect(),o=n[r?vt:bt]*t||0;return r?0<n.right-o&&n.left+o<Ke.innerWidth:0<n.bottom-o&&n.top+o<Ke.innerHeight},ScrollTrigger.positionInViewport=function positionInViewport(e,t,r){La(e)&&(e=J(e));var n=e.getBoundingClientRect(),o=n[r?vt:bt],i=null==t?o/2:t in R?R[t]*o:~t.indexOf("%")?parseFloat(t)*o/100:parseFloat(t)||0;return r?(n.left+i)/Ke.innerWidth:(n.top+i)/Ke.innerHeight},ScrollTrigger.killAll=function killAll(e){if(Pt.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e){var t=Y.killAll||[];Y={},t.forEach(function(e){return e()})}},ScrollTrigger);function ScrollTrigger(e,t){s||ScrollTrigger.register(Je)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(e,t)}$.version="3.11.5",$.saveStyles=function(e){return e?Ze(e).forEach(function(e){if(e&&e.style){var t=V.indexOf(e);0<=t&&V.splice(t,5),V.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),Je.core.getCache(e),at())}}):V},$.revert=function(e,t){return Lb(!e,t)},$.create=function(e,t){return new $(e,t)},$.refresh=function(e){return e?Eb():(s||$.register())&&Bt(!0)},$.update=function(e){return++Ie.cache&&W(!0===e?2:0)},$.clearScrollMemory=Mb,$.maxScroll=function(e,t){return Ja(e,t?He:je)},$.getScrollFunc=function(e,t){return K(J(e),t?He:je)},$.getById=function(e){return Ot[e]},$.getAll=function(){return Pt.filter(function(e){return"ScrollSmoother"!==e.vars.id})},$.isScrolling=function(){return!!dt},$.snapDirectional=mb,$.addEventListener=function(e,t){var r=Y[e]||(Y[e]=[]);~r.indexOf(t)||r.push(t)},$.removeEventListener=function(e,t){var r=Y[e],n=r&&r.indexOf(t);0<=n&&r.splice(n,1)},$.batch=function(e,t){function Qo(e,t){var r=[],n=[],o=Je.delayedCall(i,function(){t(r,n),r=[],n=[]}).pause();return function(e){r.length||o.restart(!0),r.push(e.trigger),n.push(e),a<=r.length&&o.progress(1)}}var r,n=[],o={},i=t.interval||.016,a=t.batchMax||1e9;for(r in t)o[r]="on"===r.substr(0,2)&&Ma(t[r])&&"onRefreshInit"!==r?Qo(0,t[r]):t[r];return Ma(a)&&(a=a(),pb($,"refresh",function(){return a=t.batchMax()})),Ze(e).forEach(function(e){var t={};for(r in o)t[r]=o[r];t.trigger=e,n.push($.create(t))}),n};function jc(e,t,r,n){return n<t?e(n):t<0&&e(0),n<r?(n-t)/(r-t):r<0?t/(t-r):1}function kc(e,t){!0===t?e.style.removeProperty("touch-action"):e.style.touchAction=!0===t?"auto":t?"pan-"+t+(k.isTouch?" pinch-zoom":""):"none",e===Ue&&kc(Qe,t)}function mc(e){var t,r=e.event,n=e.target,o=e.axis,i=(r.changedTouches?r.changedTouches[0]:r).target,a=i._gsap||Je.core.getCache(i),s=pt();if(!a._isScrollT||2e3<s-a._isScrollT){for(;i&&i!==Qe&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!te[(t=fb(i)).overflowY]&&!te[t.overflowX]);)i=i.parentNode;a._isScroll=i&&i!==n&&!Fa(i)&&(te[(t=fb(i)).overflowY]||te[t.overflowX]),a._isScrollT=s}!a._isScroll&&"x"!==o||(r.stopPropagation(),r._gsapAllow=!0)}function nc(e,t,r,n){return k.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&mc,onPress:n,onDrag:n,onScroll:n,onEnable:function onEnable(){return r&&pb(Ge,k.eventTypes[0],ne,!1,!0)},onDisable:function onDisable(){return qb(Ge,k.eventTypes[0],ne,!0)}})}function rc(e){function Np(){return o=!1}function Qp(){i=Ja(d,je),M=$e(E?1:0,i),f&&(T=$e(0,Ja(d,He))),l=At}function Rp(){v._gsap.y=Ca(parseFloat(v._gsap.y)+b.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",b.offset=b.cacheID=0}function Xp(){Qp(),a.isActive()&&a.vars.scrollY>i&&(b()>i?a.progress(1)&&b(i):a.resetTo("scrollY",i))}Oa(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var n,i,l,o,a,c,u,s,f=e.normalizeScrollX,t=e.momentum,r=e.allowNestedScroll,p=e.onRelease,d=J(e.target)||Ue,g=Je.core.globals().ScrollSmoother,h=g&&g.get(),v=E&&(e.content&&J(e.content)||h&&!1!==e.content&&!h.smooth()&&h.content()),b=K(d,je),m=K(d,He),y=1,x=(k.isTouch&&Ke.visualViewport?Ke.visualViewport.scale*Ke.visualViewport.width:Ke.outerWidth)/Ke.innerWidth,w=0,_=Ma(t)?function(){return t(n)}:function(){return t||2.8},S=nc(d,e.type,!0,r),T=Ba,M=Ba;return v&&Je.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return E&&"touchmove"===e.type&&function ignoreDrag(){if(o){requestAnimationFrame(Np);var e=Ca(n.deltaY/2),t=M(b.v-e);if(v&&t!==b.v+b.offset){b.offset=t-b.v;var r=Ca((parseFloat(v&&v._gsap.y)||0)-b.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",v._gsap.y=r+"px",b.cacheID=Ie.cache,W()}return!0}b.offset&&Rp(),o=!0}()||1.05<y&&"touchstart"!==e.type||n.isGesturing||e.touches&&1<e.touches.length},e.onPress=function(){o=!1;var e=y;y=Ca((Ke.visualViewport&&Ke.visualViewport.scale||1)/x),a.pause(),e!==y&&kc(d,1.01<y||!f&&"x"),c=m(),u=b(),Qp(),l=At},e.onRelease=e.onGestureStart=function(e,t){if(b.offset&&Rp(),t){Ie.cache++;var r,n,o=_();f&&(n=(r=m())+.05*o*-e.velocityX/.227,o*=jc(m,r,n,Ja(d,He)),a.vars.scrollX=T(n)),n=(r=b())+.05*o*-e.velocityY/.227,o*=jc(b,r,n,Ja(d,je)),a.vars.scrollY=M(n),a.invalidate().duration(o).play(.01),(E&&a.vars.scrollY>=i||i-1<=r)&&Je.to({},{onUpdate:Xp,duration:o})}else s.restart(!0);p&&p(e)},e.onWheel=function(){a._ts&&a.pause(),1e3<pt()-w&&(l=0,w=pt())},e.onChange=function(e,t,r,n,o){if(At!==l&&Qp(),t&&f&&m(T(n[2]===t?c+(e.startX-e.x):m()+t-n[1])),r){b.offset&&Rp();var i=o[2]===r,a=i?u+e.startY-e.y:b()+r-o[1],s=M(a);i&&a!==s&&(u+=s-a),b(s)}(r||t)&&W()},e.onEnable=function(){kc(d,!f&&"x"),$.addEventListener("refresh",Xp),pb(Ke,"resize",Xp),b.smooth&&(b.target.style.scrollBehavior="auto",b.smooth=m.smooth=!1),S.enable()},e.onDisable=function(){kc(d,!0),qb(Ke,"resize",Xp),$.removeEventListener("refresh",Xp),S.kill()},e.lockAxis=!1!==e.lockAxis,((n=new k(e)).iOS=E)&&!b()&&b(1),E&&Je.ticker.add(Ba),s=n._dc,a=Je.to(n,{ease:"power4",paused:!0,scrollX:f?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:gc(b,b(),function(){return a.pause()})},onUpdate:W,onComplete:s.vars.onComplete}),n}var ee,te={auto:1,scroll:1},re=/(input|label|select|textarea)/i,ne=function _captureInputs(e){var t=re.test(e.target.tagName);(t||ee)&&(e._gsapAllow=!0,ee=t)};$.sort=function(e){return Pt.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},$.observe=function(e){return new k(e)},$.normalizeScroll=function(e){if(void 0===e)return v;if(!0===e&&v)return v.enable();if(!1===e)return v&&v.kill();var t=e instanceof k?e:rc(e);return v&&v.target===t.target&&v.kill(),Fa(t.target)&&(v=t),t},$.core={_getVelocityProp:L,_inputObserver:nc,_scrollers:Ie,_proxies:qe,bridge:{ss:function ss(){dt||q("scrollStart"),dt=pt()},ref:function ref(){return tt}}},Ea()&&Je.registerPlugin($),e.ScrollTrigger=$,e.default=$;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(){return Se||"undefined"!=typeof window&&(Se=window.gsap)&&Se.registerPlugin&&Se}function z(e,t){return~Fe.indexOf(e)&&Fe[Fe.indexOf(e)+1][t]}function A(e){return!!~t.indexOf(e)}function B(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})}function C(e,t,r,n){return e.removeEventListener(t,r,!!n)}function F(){return De&&De.isPressed||ze.cache++}function G(r,n){function Yc(e){if(e||0===e){i&&(ke.history.scrollRestoration="manual");var t=De&&De.isPressed;e=Yc.v=Math.round(e)||(De&&De.iOS?1:0),r(e),Yc.cacheID=ze.cache,t&&o("ss",e)}else(n||ze.cache!==Yc.cacheID||o("ref"))&&(Yc.cacheID=ze.cache,Yc.v=r());return Yc.v+Yc.offset}return Yc.offset=0,r&&Yc}function J(e,t){return(t&&t._ctx&&t._ctx.selector||Se.utils.toArray)(e)[0]||("string"==typeof e&&!1!==Se.config().nullTargetWarn?console.warn("Element not found:",e):null)}function K(t,e){var r=e.s,n=e.sc;A(t)&&(t=Te.scrollingElement||Ee);var i=ze.indexOf(t),o=n===Ie.sc?1:2;~i||(i=ze.push(t)-1),ze[i+o]||t.addEventListener("scroll",F);var a=ze[i+o],s=a||(ze[i+o]=G(z(t,r),!0)||(A(t)?n:G(function(e){return arguments.length?t[r]=e:t[r]})));return s.target=t,a||(s.smooth="smooth"===Se.getProperty(t,"scrollBehavior")),s}function L(e,t,i){function vd(e,t){var r=qe();t||n<r-s?(a=o,o=e,l=s,s=r):i?o+=e:o=a+(e-a)/(r-l)*(s-l)}var o=e,a=e,s=qe(),l=s,n=t||50,c=Math.max(500,3*n);return{update:vd,reset:function reset(){a=o=i?0:o,l=s=0},getVelocity:function getVelocity(e){var t=l,r=a,n=qe();return!e&&0!==e||e===o||vd(e),s===l||c<n-l?0:(o+(i?r:-r))/((i?n:s)-t)*1e3}}}function M(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e}function N(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r}function O(){(Ae=Se.core.globals().ScrollTrigger)&&Ae.core&&function _integrate(){var e=Ae.core,r=e.bridge||{},t=e._scrollers,n=e._proxies;t.push.apply(t,ze),n.push.apply(n,Fe),ze=t,Fe=n,o=function _bridge(e,t){return r[e](t)}}()}function P(e){return(Se=e||r())&&"undefined"!=typeof document&&document.body&&(ke=window,Ee=(Te=document).documentElement,Pe=Te.body,t=[ke,Te,Ee,Pe],Se.utils.clamp,Be=Se.core.context||function(){},Oe="onpointerenter"in Pe?"pointer":"mouse",Me=T.isTouch=ke.matchMedia&&ke.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in ke||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints?2:0,Re=T.eventTypes=("ontouchstart"in Ee?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ee?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return i=0},500),O(),Ce=1),Ce}var Se,Ce,ke,Te,Ee,Pe,Me,Oe,Ae,t,De,Re,Be,i=1,Ye=[],ze=[],Fe=[],qe=Date.now,o=function _bridge(e,t){return t},n="scrollLeft",a="scrollTop",Le={s:n,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:G(function(e){return arguments.length?ke.scrollTo(e,Ie.sc()):ke.pageXOffset||Te[n]||Ee[n]||Pe[n]||0})},Ie={s:a,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Le,sc:G(function(e){return arguments.length?ke.scrollTo(Le.sc(),e):ke.pageYOffset||Te[a]||Ee[a]||Pe[a]||0})};Le.op=Ie,ze.cache=0;var T=(Observer.prototype.init=function init(e){Ce||P(Se)||console.warn("Please gsap.registerPlugin(Observer)"),Ae||O();var i=e.tolerance,a=e.dragMinimum,t=e.type,o=e.target,r=e.lineHeight,n=e.debounce,s=e.preventDefault,l=e.onStop,c=e.onStopDelay,u=e.ignore,f=e.wheelSpeed,p=e.event,d=e.onDragStart,h=e.onDragEnd,g=e.onDrag,v=e.onPress,b=e.onRelease,m=e.onRight,y=e.onLeft,x=e.onUp,_=e.onDown,w=e.onChangeX,S=e.onChangeY,k=e.onChange,T=e.onToggleX,E=e.onToggleY,D=e.onHover,R=e.onHoverEnd,Y=e.onMove,z=e.ignoreCheck,q=e.isNormalizer,I=e.onGestureStart,X=e.onGestureEnd,H=e.onWheel,W=e.onEnable,G=e.onDisable,j=e.onClick,V=e.scrollSpeed,U=e.capture,Q=e.allowClicks,Z=e.lockAxis,$=e.onLockAxis;function We(){return ye=qe()}function Xe(e,t){return(se.event=e)&&u&&~u.indexOf(e.target)||t&&he&&"touch"!==e.pointerType||z&&z(e,t)}function Ze(){var e=se.deltaX=N(be),t=se.deltaY=N(me),r=Math.abs(e)>=i,n=Math.abs(t)>=i;k&&(r||n)&&k(se,e,t,be,me),r&&(m&&0<se.deltaX&&m(se),y&&se.deltaX<0&&y(se),w&&w(se),T&&se.deltaX<0!=le<0&&T(se),le=se.deltaX,be[0]=be[1]=be[2]=0),n&&(_&&0<se.deltaY&&_(se),x&&se.deltaY<0&&x(se),S&&S(se),E&&se.deltaY<0!=ce<0&&E(se),ce=se.deltaY,me[0]=me[1]=me[2]=0),(ne||re)&&(Y&&Y(se),re&&(g(se),re=!1),ne=!1),oe&&!(oe=!1)&&$&&$(se),ie&&(H(se),ie=!1),ee=0}function $e(e,t,r){be[r]+=e,me[r]+=t,se._vx.update(e),se._vy.update(t),n?ee=ee||requestAnimationFrame(Ze):Ze()}function _e(e,t){Z&&!ae&&(se.axis=ae=Math.abs(e)>Math.abs(t)?"x":"y",oe=!0),"y"!==ae&&(be[2]+=e,se._vx.update(e,!0)),"x"!==ae&&(me[2]+=t,se._vy.update(t,!0)),n?ee=ee||requestAnimationFrame(Ze):Ze()}function af(e){if(!Xe(e,1)){var t=(e=M(e,s)).clientX,r=e.clientY,n=t-se.x,i=r-se.y,o=se.isDragging;se.x=t,se.y=r,(o||Math.abs(se.startX-t)>=a||Math.abs(se.startY-r)>=a)&&(g&&(re=!0),o||(se.isDragging=!0),_e(n,i),o||d&&d(se))}}function df(e){return e.touches&&1<e.touches.length&&(se.isGesturing=!0)&&I(e,se.isDragging)}function ef(){return(se.isGesturing=!1)||X(se)}function ff(e){if(!Xe(e)){var t=ue(),r=fe();$e((t-pe)*V,(r-de)*V,1),pe=t,de=r,l&&te.restart(!0)}}function gf(e){if(!Xe(e)){e=M(e,s),H&&(ie=!0);var t=(1===e.deltaMode?r:2===e.deltaMode?ke.innerHeight:1)*f;$e(e.deltaX*t,e.deltaY*t,0),l&&!q&&te.restart(!0)}}function hf(e){if(!Xe(e)){var t=e.clientX,r=e.clientY,n=t-se.x,i=r-se.y;se.x=t,se.y=r,ne=!0,(n||i)&&_e(n,i)}}function jf(e){se.event=e,D(se)}function kf(e){se.event=e,R(se)}function lf(e){return Xe(e)||M(e,s)&&j(se)}this.target=o=J(o)||Ee,this.vars=e,u=u&&Se.utils.toArray(u),i=i||1e-9,a=a||0,f=f||1,V=V||1,t=t||"wheel,touch,pointer",n=!1!==n,r=r||parseFloat(ke.getComputedStyle(Pe).lineHeight)||22;var ee,te,re,ne,ie,oe,ae,se=this,le=0,ce=0,ue=K(o,Le),fe=K(o,Ie),pe=ue(),de=fe(),he=~t.indexOf("touch")&&!~t.indexOf("pointer")&&"pointerdown"===Re[0],ge=A(o),ve=o.ownerDocument||Te,be=[0,0,0],me=[0,0,0],ye=0,xe=se.onPress=function(e){Xe(e,1)||e&&e.button||(se.axis=ae=null,te.pause(),se.isPressed=!0,e=M(e),le=ce=0,se.startX=se.x=e.clientX,se.startY=se.y=e.clientY,se._vx.reset(),se._vy.reset(),B(q?o:ve,Re[1],af,s,!0),se.deltaX=se.deltaY=0,v&&v(se))},we=se.onRelease=function(t){if(!Xe(t,1)){C(q?o:ve,Re[1],af,!0);var e=!isNaN(se.y-se.startY),r=se.isDragging&&(3<Math.abs(se.x-se.startX)||3<Math.abs(se.y-se.startY)),n=M(t);!r&&e&&(se._vx.reset(),se._vy.reset(),s&&Q&&Se.delayedCall(.08,function(){if(300<qe()-ye&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ve.createEvent){var e=ve.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,ke,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),se.isDragging=se.isGesturing=se.isPressed=!1,l&&!q&&te.restart(!0),h&&r&&h(se),b&&b(se,r)}};te=se._dc=Se.delayedCall(c||.25,function onStopFunc(){se._vx.reset(),se._vy.reset(),te.pause(),l&&l(se)}).pause(),se.deltaX=se.deltaY=0,se._vx=L(0,50,!0),se._vy=L(0,50,!0),se.scrollX=ue,se.scrollY=fe,se.isDragging=se.isGesturing=se.isPressed=!1,Be(this),se.enable=function(e){return se.isEnabled||(B(ge?ve:o,"scroll",F),0<=t.indexOf("scroll")&&B(ge?ve:o,"scroll",ff,s,U),0<=t.indexOf("wheel")&&B(o,"wheel",gf,s,U),(0<=t.indexOf("touch")&&Me||0<=t.indexOf("pointer"))&&(B(o,Re[0],xe,s,U),B(ve,Re[2],we),B(ve,Re[3],we),Q&&B(o,"click",We,!1,!0),j&&B(o,"click",lf),I&&B(ve,"gesturestart",df),X&&B(ve,"gestureend",ef),D&&B(o,Oe+"enter",jf),R&&B(o,Oe+"leave",kf),Y&&B(o,Oe+"move",hf)),se.isEnabled=!0,e&&e.type&&xe(e),W&&W(se)),se},se.disable=function(){se.isEnabled&&(Ye.filter(function(e){return e!==se&&A(e.target)}).length||C(ge?ve:o,"scroll",F),se.isPressed&&(se._vx.reset(),se._vy.reset(),C(q?o:ve,Re[1],af,!0)),C(ge?ve:o,"scroll",ff,U),C(o,"wheel",gf,U),C(o,Re[0],xe,U),C(ve,Re[2],we),C(ve,Re[3],we),C(o,"click",We,!0),C(o,"click",lf),C(ve,"gesturestart",df),C(ve,"gestureend",ef),C(o,Oe+"enter",jf),C(o,Oe+"leave",kf),C(o,Oe+"move",hf),se.isEnabled=se.isPressed=se.isDragging=!1,G&&G(se))},se.kill=se.revert=function(){se.disable();var e=Ye.indexOf(se);0<=e&&Ye.splice(e,1),De===se&&(De=0)},Ye.push(se),q&&A(o)&&(De=se),se.enable(p)},function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e}(Observer,[{key:"velocityX",get:function get(){return this._vx.getVelocity()}},{key:"velocityY",get:function get(){return this._vy.getVelocity()}}]),Observer);function Observer(e){this.init(e)}T.version="3.12.0",T.create=function(e){return new T(e)},T.register=P,T.getAll=function(){return Ye.slice()},T.getById=function(t){return Ye.filter(function(e){return e.vars.id===t})[0]},r()&&Se.registerPlugin(T);function ya(e,t,r){var n=pt(e)&&("clamp("===e.substr(0,6)||-1<e.indexOf("max"));return(r["_"+t+"Clamp"]=n)?e.substr(6,e.length-7):e}function za(e,t){return!t||pt(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"}function Ba(){return et=1}function Ca(){return et=0}function Da(e){return e}function Ea(e){return Math.round(1e5*e)/1e5||0}function Fa(){return"undefined"!=typeof window}function Ga(){return Ne||Fa()&&(Ne=window.gsap)&&Ne.registerPlugin&&Ne}function Ha(e){return!!~l.indexOf(e)}function Ia(e){return z(e,"getBoundingClientRect")||(Ha(e)?function(){return Rt.width=He.innerWidth,Rt.height=He.innerHeight,Rt}:function(){return Ct(e)})}function La(e,t){var r=t.s,n=t.d2,i=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=z(e,r))?o()-Ia(e)()[i]:Ha(e)?(je[r]||Je[r])-(He["inner"+n]||je["client"+n]||Je["client"+n]):e[r]-e["offset"+n])}function Ma(e,t){for(var r=0;r<h.length;r+=3)t&&!~t.indexOf(h[r+1])||e(h[r],h[r+1],h[r+2])}function Oa(e){return"function"==typeof e}function Pa(e){return"number"==typeof e}function Qa(e){return"object"==typeof e}function Ra(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()}function Sa(e,t){if(e.enabled){var r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}}function hb(e){return He.getComputedStyle(e)}function jb(e,t){for(var r in t)r in e||(e[r]=t[r]);return e}function lb(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0}function mb(e){var t,r=[],n=e.labels,i=e.duration();for(t in n)r.push(n[t]/i);return r}function ob(i){var o=Ne.utils.snap(i),a=Array.isArray(i)&&i.slice(0).sort(function(e,t){return e-t});return a?function(e,t,r){var n;if(void 0===r&&(r=.001),!t)return o(e);if(0<t){for(e-=r,n=0;n<a.length;n++)if(a[n]>=e)return a[n];return a[n-1]}for(n=a.length,e+=r;n--;)if(a[n]<=e)return a[n];return a[0]}:function(e,t,r){void 0===r&&(r=.001);var n=o(e);return!t||Math.abs(n-e)<r||n-e<0==t<0?n:o(t<0?e-i:e+i)}}function qb(t,r,e,n){return e.split(",").forEach(function(e){return t(r,e,n)})}function rb(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})}function sb(e,t,r,n){return e.removeEventListener(t,r,!!n)}function tb(e,t,r){(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))}function xb(e,t){if(pt(e)){var r=e.indexOf("="),n=~r?(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in Y?Y[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e}function yb(e,t,r,n,i,o,a,s){var l=i.startColor,c=i.endColor,u=i.fontSize,f=i.indent,p=i.fontWeight,d=Ge.createElement("div"),h=Ha(r)||"fixed"===z(r,"pinType"),g=-1!==e.indexOf("scroller"),v=h?Je:r,b=-1!==e.indexOf("start"),m=b?l:c,y="border-color:"+m+";font-size:"+u+";color:"+m+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((g||s)&&h?"fixed;":"absolute;"),!g&&!s&&h||(y+=(n===Ie?k:D)+":"+(o+parseFloat(f))+"px;"),a&&(y+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),d._isStart=b,d.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),d.style.cssText=y,d.innerText=t||0===t?e+"-"+t:e,v.children[0]?v.insertBefore(d,v.children[0]):v.appendChild(d),d._offset=d["offset"+n.op.d2],q(d,0,n,b),d}function Db(){return 34<ct()-ut&&(w=w||requestAnimationFrame(V))}function Eb(){v&&v.isPressed&&!(v.startX>Je.clientWidth)||(ze.cache++,v?w=w||requestAnimationFrame(V):V(),ut||H("scrollStart"),ut=ct())}function Fb(){y=He.innerWidth,m=He.innerHeight}function Gb(){ze.cache++,Qe||g||Ge.fullscreenElement||Ge.webkitFullscreenElement||b&&y===He.innerWidth&&!(Math.abs(He.innerHeight-m)>.25*He.innerHeight)||c.restart(!0)}function Jb(){return sb(ee,"scrollEnd",Jb)||Ot(!0)}function Mb(e){for(var t=0;t<W.length;t+=5)(!e||W[t+4]&&W[t+4].query===e)&&(W[t].style.cssText=W[t+1],W[t].getBBox&&W[t].setAttribute("transform",W[t+2]||""),W[t+3].uncache=1)}function Nb(e,t){var r;for(tt=0;tt<Et.length;tt++)!(r=Et[tt])||t&&r._ctx!==t||(e?r.kill(1):r.revert(!0,!0));t&&Mb(t),t||H("revert")}function Ob(e,t){ze.cache++,!t&&ot||ze.forEach(function(e){return Oa(e)&&e.cacheID++&&(e.rec=0)}),pt(e)&&(He.history.scrollRestoration=_=e)}function _b(e,t,r,n){if(!e._gsap.swappedIn){for(var i,o=U.length,a=t.style,s=e.style;o--;)a[i=U[o]]=r[i];a.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(a.display="inline-block"),s[D]=s[k]="auto",a.flexBasis=r.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[ht]=lb(e,Le)+St,a[gt]=lb(e,Ie)+St,a[xt]=s[_t]=s.top=s.left="0",Dt(n),s[ht]=s.maxWidth=r[ht],s[gt]=s.maxHeight=r[gt],s[xt]=r[xt],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}}function cc(e){for(var t=Q.length,r=e.style,n=[],i=0;i<t;i++)n.push(Q[i],r[Q[i]]);return n.t=e,n}function fc(e,t,r,n,i,o,a,s,l,c,u,f,p,d){Oa(e)&&(e=e(s)),pt(e)&&"max"===e.substr(0,3)&&(e=f+("="===e.charAt(4)?xb("0"+e.substr(3),r):0));var h,g,v,b=p?p.time():0;if(p&&p.seek(0),isNaN(e)||(e=+e),Pa(e))p&&(e=Ne.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,f,e)),a&&q(a,r,n,!0);else{Oa(t)&&(t=t(s));var m,y,x,_,w=(e||"0").split(" ");v=J(t,s)||Je,(m=Ct(v)||{})&&(m.left||m.top)||"none"!==hb(v).display||(_=v.style.display,v.style.display="block",m=Ct(v),_?v.style.display=_:v.style.removeProperty("display")),y=xb(w[0],m[n.d]),x=xb(w[1]||"0",r),e=m[n.p]-l[n.p]-c+y+i-x,a&&q(a,x,n,r-x<20||a._isStart&&20<x),r-=r-x}if(d&&(s[d]=e||-.001,e<0&&(e=0)),o){var S=e+r,C=o._isStart;h="scroll"+n.d2,q(o,S,n,C&&20<S||!C&&(u?Math.max(Je[h],je[h]):o.parentNode[h])<=S+1),u&&(l=Ct(a),u&&(o.style[n.op.p]=l[n.op.p]-n.op.m-o._offset+St))}return p&&v&&(h=Ct(v),p.seek(f),g=Ct(v),p._caScrollDist=h[n.p]-g[n.p],e=e/p._caScrollDist*f),p&&p.seek(b),p?e:Math.round(e)}function hc(e,t,r,n){if(e.parentNode!==t){var i,o,a=e.style;if(t===Je){for(i in e._stOrig=a.cssText,o=hb(e))+i||$.test(i)||!o[i]||"string"!=typeof a[i]||"0"===i||(a[i]=o[i]);a.top=r,a.left=n}else a.cssText=e._stOrig;Ne.core.getCache(e).uncache=1,t.appendChild(e)}}function ic(r,e,n){var i=e,o=i;return function(e){var t=Math.round(r());return t!==i&&t!==o&&3<Math.abs(t-i)&&3<Math.abs(t-o)&&(e=t,n&&n()),o=i,i=e}}function jc(e,t,r){var n={};n[t.p]="+="+r,Ne.set(e,n)}function kc(c,e){function pk(e,t,r,n,i){var o=pk.tween,a=t.onComplete,s={};r=r||u();var l=ic(u,r,function(){o.kill(),pk.tween=0});return i=n&&i||0,n=n||e-r,o&&o.kill(),t[f]=e,(t.modifiers=s)[f]=function(){return l(r+n*o.ratio+i*o.ratio*o.ratio)},t.onUpdate=function(){ze.cache++,V()},t.onComplete=function(){pk.tween=0,a&&a.call(o)},o=pk.tween=Ne.to(c,t)}var u=K(c,e),f="_scroll"+e.p2;return(c[f]=u).wheelHandler=function(){return pk.tween&&pk.tween.kill()&&(pk.tween=0)},rb(c,"wheel",u.wheelHandler),ee.isTouch&&rb(c,"touchmove",u.wheelHandler),pk}var Ne,s,He,Ge,je,Je,l,c,Ve,Ue,Ke,u,Qe,et,f,tt,p,d,h,rt,nt,g,v,b,m,y,E,x,_,it,w,ot,at,st,lt=1,ct=Date.now,S=ct(),ut=0,ft=0,pt=function _isString(e){return"string"==typeof e},dt=Math.abs,k="right",D="bottom",ht="width",gt="height",vt="Right",bt="Left",mt="Top",yt="Bottom",xt="padding",_t="margin",wt="Width",R="Height",St="px",Ct=function _getBounds(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==hb(e)[f]&&Ne.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},kt={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Tt={toggleActions:"play",anticipatePin:0},Y={top:0,left:0,center:.5,bottom:1,right:1},q=function _positionMarker(e,t,r,n){var i={display:"block"},o=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+wt]=1,i["border"+a+wt]=0,i[r.p]=t+"px",Ne.set(e,i)},Et=[],Pt={},I={},X=[],H=function _dispatch(e){return I[e]&&I[e].map(function(e){return e()})||X},W=[],Mt=0,Ot=function _refreshAll(e,t){if(!ut||e){ot=ee.isRefreshing=!0,ze.forEach(function(e){return Oa(e)&&++e.cacheID&&(e.rec=e())});var r=H("refreshInit");rt&&ee.sort(),t||Nb(),ze.forEach(function(e){Oa(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),Et.slice(0).forEach(function(e){return e.refresh()}),Et.forEach(function(e,t){if(e._subPinOffset&&e.pin){var r=e.vars.horizontal?"offsetWidth":"offsetHeight",n=e.pin[r];e.revert(!0,1),e.adjustPinSpacing(e.pin[r]-n),e.refresh()}}),Et.forEach(function(e){var t=La(e.scroller,e._dir);("max"===e.vars.end||e._endClamp&&e.end>t)&&e.setPositions(e.start,Math.max(e.start+1,t),!0)}),r.forEach(function(e){return e&&e.render&&e.render(-1)}),ze.forEach(function(e){Oa(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec&&e(e.rec))}),Ob(_,1),c.pause(),Mt++,V(ot=2),Et.forEach(function(e){return Oa(e.vars.onRefresh)&&e.vars.onRefresh(e)}),ot=ee.isRefreshing=!1,H("refresh")}else rb(ee,"scrollEnd",Jb)},j=0,At=1,V=function _updateAll(e){if(!ot||2===e){ee.isUpdating=!0,st&&st.update(0);var t=Et.length,r=ct(),n=50<=r-S,i=t&&Et[0].scroll();if(At=i<j?-1:1,ot||(j=i),n&&(ut&&!et&&200<r-ut&&(ut=0,H("scrollEnd")),Ke=S,S=r),At<0){for(tt=t;0<tt--;)Et[tt]&&Et[tt].update(0,n);At=1}else for(tt=0;tt<t;tt++)Et[tt]&&Et[tt].update(0,n);ee.isUpdating=!1}w=0},U=["left","top",D,k,_t+yt,_t+vt,_t+mt,_t+bt,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Q=U.concat([ht,gt,"boxSizing","max"+wt,"max"+R,"position",_t,xt,xt+mt,xt+vt,xt+yt,xt+bt]),Z=/([A-Z])/g,Dt=function _setState(e){if(e){var t,r,n=e.t.style,i=e.length,o=0;for((e.t._gsap||Ne.core.getCache(e.t)).uncache=1;o<i;o+=2)r=e[o+1],t=e[o],r?n[t]=r:n[t]&&n.removeProperty(t.replace(Z,"-$1").toLowerCase())}},Rt={left:0,top:0},$=/(webkit|moz|length|cssText|inset)/i,ee=(ScrollTrigger.prototype.init=function init(M,O){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),ft){var A,n,d,D,R,B,Y,F,q,L,I,e,X,N,H,W,G,j,t,V,b,U,Q,m,Z,y,$,x,r,_,w,ee,i,h,te,re,ne,S,o,C=(M=jb(pt(M)||Pa(M)||M.nodeType?{trigger:M}:M,Tt)).onUpdate,k=M.toggleClass,a=M.id,T=M.onToggle,ie=M.onRefresh,E=M.scrub,oe=M.trigger,ae=M.pin,se=M.pinSpacing,le=M.invalidateOnRefresh,P=M.anticipatePin,s=M.onScrubComplete,g=M.onSnapComplete,ce=M.once,ue=M.snap,fe=M.pinReparent,l=M.pinSpacer,pe=M.containerAnimation,de=M.fastScrollEnd,he=M.preventOverlaps,ge=M.horizontal||M.containerAnimation&&!1!==M.horizontal?Le:Ie,ve=!E&&0!==E,be=J(M.scroller||He),c=Ne.core.getCache(be),me=Ha(be),ye="fixed"===("pinType"in M?M.pinType:z(be,"pinType")||me&&"fixed"),xe=[M.onEnter,M.onLeave,M.onEnterBack,M.onLeaveBack],_e=ve&&M.toggleActions.split(" "),we="markers"in M?M.markers:Tt.markers,Se=me?0:parseFloat(hb(be)["border"+ge.p2+wt])||0,Ce=this,ke=M.onRefreshInit&&function(){return M.onRefreshInit(Ce)},Te=function _getSizeFunc(e,t,r){var n=r.d,i=r.d2,o=r.a;return(o=z(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?He["inner"+i]:e["client"+i])||0}}(be,me,ge),Ee=function _getOffsetsFunc(e,t){return!t||~Fe.indexOf(e)?Ia(e):function(){return Rt}}(be,me),Pe=0,Me=0,Oe=0,Ae=K(be,ge);if(Ce._startClamp=Ce._endClamp=!1,Ce._dir=ge,P*=45,Ce.scroller=be,Ce.scroll=pe?pe.time.bind(pe):Ae,D=Ae(),Ce.vars=M,O=O||M.animation,"refreshPriority"in M&&(rt=1,-9999===M.refreshPriority&&(st=Ce)),c.tweenScroll=c.tweenScroll||{top:kc(be,Ie),left:kc(be,Le)},Ce.tweenTo=A=c.tweenScroll[ge.p],Ce.scrubDuration=function(e){(i=Pa(e)&&e)?ee?ee.duration(e):ee=Ne.to(O,{ease:"expo",totalProgress:"+=0",duration:i,paused:!0,onComplete:function onComplete(){return s&&s(Ce)}}):(ee&&ee.progress(1).kill(),ee=0)},O&&(O.vars.lazy=!1,O._initted&&!Ce.isReverted||!1!==O.vars.immediateRender&&!1!==M.immediateRender&&O.duration()&&O.render(0,!0,!0),Ce.animation=O.pause(),(O.scrollTrigger=Ce).scrubDuration(E),_=0,a=a||O.vars.id),ue&&(Qa(ue)&&!ue.push||(ue={snapTo:ue}),"scrollBehavior"in Je.style&&Ne.set(me?[Je,je]:be,{scrollBehavior:"auto"}),ze.forEach(function(e){return Oa(e)&&e.target===(me?Ge.scrollingElement||je:be)&&(e.smooth=!1)}),d=Oa(ue.snapTo)?ue.snapTo:"labels"===ue.snapTo?function _getClosestLabel(t){return function(e){return Ne.utils.snap(mb(t),e)}}(O):"labelsDirectional"===ue.snapTo?function _getLabelAtDirection(r){return function(e,t){return ob(mb(r))(e,t.direction)}}(O):!1!==ue.directional?function(e,t){return ob(ue.snapTo)(e,ct()-Me<500?0:t.direction)}:Ne.utils.snap(ue.snapTo),h=ue.duration||{min:.1,max:2},h=Qa(h)?Ue(h.min,h.max):Ue(h,h),te=Ne.delayedCall(ue.delay||i/2||.1,function(){var e=Ae(),t=ct()-Me<500,r=A.tween;if(!(t||Math.abs(Ce.getVelocity())<10)||r||et||Pe===e)Ce.isActive&&Pe!==e&&te.restart(!0);else{var n=(e-B)/N,i=O&&!ve?O.totalProgress():n,o=t?0:(i-w)/(ct()-Ke)*1e3||0,a=Ne.utils.clamp(-n,1-n,dt(o/2)*o/.185),s=n+(!1===ue.inertia?0:a),l=Ue(0,1,d(s,Ce)),c=Math.round(B+l*N),u=ue.onStart,f=ue.onInterrupt,p=ue.onComplete;if(e<=Y&&B<=e&&c!==e){if(r&&!r._initted&&r.data<=dt(c-e))return;!1===ue.inertia&&(a=l-n),A(c,{duration:h(dt(.185*Math.max(dt(s-i),dt(l-i))/o/.05||0)),ease:ue.ease||"power3",data:dt(c-e),onInterrupt:function onInterrupt(){return te.restart(!0)&&f&&f(Ce)},onComplete:function onComplete(){Ce.update(),Pe=Ae(),_=w=O&&!ve?O.totalProgress():Ce.progress,g&&g(Ce),p&&p(Ce)}},e,a*N,c-e-a*N),u&&u(Ce,A.tween)}}}).pause()),a&&(Pt[a]=Ce),o=(o=(oe=Ce.trigger=J(oe||!0!==ae&&ae))&&oe._gsap&&oe._gsap.stRevert)&&o(Ce),ae=!0===ae?oe:J(ae),pt(k)&&(k={targets:oe,className:k}),ae&&(!1===se||se===_t||(se=!(!se&&ae.parentNode&&ae.parentNode.style&&"flex"===hb(ae.parentNode).display)&&xt),Ce.pin=ae,(n=Ne.core.getCache(ae)).spacer?H=n.pinState:(l&&((l=J(l))&&!l.nodeType&&(l=l.current||l.nativeElement),n.spacerIsNative=!!l,l&&(n.spacerState=cc(l))),n.spacer=j=l||Ge.createElement("div"),j.classList.add("pin-spacer"),a&&j.classList.add("pin-spacer-"+a),n.pinState=H=cc(ae)),!1!==M.force3D&&Ne.set(ae,{force3D:!0}),Ce.spacer=j=n.spacer,r=hb(ae),m=r[se+ge.os2],V=Ne.getProperty(ae),b=Ne.quickSetter(ae,ge.a,St),_b(ae,j,r),G=cc(ae)),we){e=Qa(we)?jb(we,kt):kt,L=yb("scroller-start",a,be,ge,e,0),I=yb("scroller-end",a,be,ge,e,0,L),t=L["offset"+ge.op.d2];var u=J(z(be,"content")||be);F=this.markerStart=yb("start",a,u,ge,e,t,0,pe),q=this.markerEnd=yb("end",a,u,ge,e,t,0,pe),pe&&(S=Ne.quickSetter([F,q],ge.a,St)),ye||Fe.length&&!0===z(be,"fixedMarkers")||(function _makePositionable(e){var t=hb(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"}(me?Je:be),Ne.set([L,I],{force3D:!0}),y=Ne.quickSetter(L,ge.a,St),x=Ne.quickSetter(I,ge.a,St))}if(pe){var f=pe.vars.onUpdate,p=pe.vars.onUpdateParams;pe.eventCallback("onUpdate",function(){Ce.update(0,0,1),f&&f.apply(pe,p||[])})}if(Ce.previous=function(){return Et[Et.indexOf(Ce)-1]},Ce.next=function(){return Et[Et.indexOf(Ce)+1]},Ce.revert=function(e,t){if(!t)return Ce.kill(!0);var r=!1!==e||!Ce.enabled,n=Qe;r!==Ce.isReverted&&(r&&(re=Math.max(Ae(),Ce.scroll.rec||0),Oe=Ce.progress,ne=O&&O.progress()),F&&[F,q,L,I].forEach(function(e){return e.style.display=r?"none":"block"}),r&&(Qe=Ce).update(r),!ae||fe&&Ce.isActive||(r?function _swapPinOut(e,t,r){Dt(r);var n=e._gsap;if(n.spacerIsNative)Dt(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1}(ae,j,H):_b(ae,j,hb(ae),Z)),r||Ce.update(r),Qe=n,Ce.isReverted=r)},Ce.refresh=function(e,t,r,n){if(!Qe&&Ce.enabled||t)if(ae&&e&&ut)rb(ScrollTrigger,"scrollEnd",Jb);else{!ot&&ke&&ke(Ce),Qe=Ce,A.tween&&(A.tween.kill(),A.tween=0),ee&&ee.pause(),le&&O&&O.revert({kill:!1}).invalidate(),Ce.isReverted||Ce.revert(!0,!0),Ce._subPinOffset=!1;var i,o,a,s,l,c,u,f,p,d,h,g,v,b=Te(),m=Ee(),y=pe?pe.duration():La(be,ge),x=N<=.01,_=0,w=n||0,S=Qa(r)?r.end:M.end,C=M.endTrigger||oe,k=Qa(r)?r.start:M.start||(0!==M.start&&oe?ae?"0 0":"0 100%":0),T=Ce.pinnedContainer=M.pinnedContainer&&J(M.pinnedContainer,Ce),E=oe&&Math.max(0,Et.indexOf(Ce))||0,P=E;for(we&&Qa(r)&&(g=Ne.getProperty(L,ge.p),v=Ne.getProperty(I,ge.p));P--;)(c=Et[P]).end||c.refresh(0,1)||(Qe=Ce),!(u=c.pin)||u!==oe&&u!==ae&&u!==T||c.isReverted||((d=d||[]).unshift(c),c.revert(!0,!0)),c!==Et[P]&&(E--,P--);for(Oa(k)&&(k=k(Ce)),k=ya(k,"start",Ce),B=fc(k,oe,b,ge,Ae(),F,L,Ce,m,Se,ye,y,pe,Ce._startClamp&&"_startClamp")||(ae?-.001:0),Oa(S)&&(S=S(Ce)),pt(S)&&!S.indexOf("+=")&&(~S.indexOf(" ")?S=(pt(k)?k.split(" ")[0]:"")+S:(_=xb(S.substr(2),b),S=pt(k)?k:(pe?Ne.utils.mapRange(0,pe.duration(),pe.scrollTrigger.start,pe.scrollTrigger.end,B):B)+_,C=oe)),S=ya(S,"end",Ce),Y=Math.max(B,fc(S||(C?"100% 0":y),C,b,ge,Ae()+_,q,I,Ce,m,Se,ye,y,pe,Ce._endClamp&&"_endClamp"))||-.001,_=0,P=E;P--;)(u=(c=Et[P]).pin)&&c.start-c._pinPush<=B&&!pe&&0<c.end&&(i=c.end-(Ce._startClamp?Math.max(0,c.start):c.start),(u===oe&&c.start-c._pinPush<B||u===T)&&isNaN(k)&&(_+=i*(1-c.progress)),u===ae&&(w+=i));if(B+=_,Y+=_,Ce._startClamp&&(Ce._startClamp+=_),Ce._endClamp&&!ot&&(Ce._endClamp=Y||-.001,Y=Math.min(Y,La(be,ge))),N=Y-B||(B-=.01)&&.001,x&&(Oe=Ne.utils.clamp(0,1,Ne.utils.normalize(B,Y,re))),Ce._pinPush=w,F&&_&&((i={})[ge.a]="+="+_,T&&(i[ge.p]="-="+Ae()),Ne.set([F,q],i)),ae)i=hb(ae),s=ge===Ie,a=Ae(),U=parseFloat(V(ge.a))+w,!y&&1<Y&&(h={style:h=(me?Ge.scrollingElement||je:be).style,value:h["overflow"+ge.a.toUpperCase()]},me&&"scroll"!==hb(Je)["overflow"+ge.a.toUpperCase()]&&(h.style["overflow"+ge.a.toUpperCase()]="scroll")),_b(ae,j,i),G=cc(ae),o=Ct(ae,!0),f=ye&&K(be,s?Le:Ie)(),se&&((Z=[se+ge.os2,N+w+St]).t=j,(P=se===xt?lb(ae,ge)+N+w:0)&&Z.push(ge.d,P+St),Dt(Z),T&&Et.forEach(function(e){e.pin===T&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),ye&&Ae(re)),ye&&((l={top:o.top+(s?a-B:f)+St,left:o.left+(s?f:a-B)+St,boxSizing:"border-box",position:"fixed"})[ht]=l.maxWidth=Math.ceil(o.width)+St,l[gt]=l.maxHeight=Math.ceil(o.height)+St,l[_t]=l[_t+mt]=l[_t+vt]=l[_t+yt]=l[_t+bt]="0",l[xt]=i[xt],l[xt+mt]=i[xt+mt],l[xt+vt]=i[xt+vt],l[xt+yt]=i[xt+yt],l[xt+bt]=i[xt+bt],W=function _copyState(e,t,r){for(var n,i=[],o=e.length,a=r?8:0;a<o;a+=2)n=e[a],i.push(n,n in t?t[n]:e[a+1]);return i.t=e.t,i}(H,l,fe),ot&&Ae(0)),O?(p=O._initted,nt(1),O.render(O.duration(),!0,!0),Q=V(ge.a)-U+N+w,$=1<Math.abs(N-Q),ye&&$&&W.splice(W.length-2,2),O.render(0,!0,!0),p||O.invalidate(!0),O.parent||O.totalTime(O.totalTime()),nt(0)):Q=N,h&&(h.value?h.style["overflow"+ge.a.toUpperCase()]=h.value:h.style.removeProperty("overflow-"+ge.a));else if(oe&&Ae()&&!pe)for(o=oe.parentNode;o&&o!==Je;)o._pinOffset&&(B-=o._pinOffset,Y-=o._pinOffset),o=o.parentNode;d&&d.forEach(function(e){return e.revert(!1,!0)}),Ce.start=B,Ce.end=Y,D=R=ot?re:Ae(),pe||ot||(D<re&&Ae(re),Ce.scroll.rec=0),Ce.revert(!1,!0),Me=ct(),te&&(Pe=-1,Ce.isActive&&Ae(B+N*Oe),te.restart(!0)),Qe=0,O&&ve&&(O._initted||ne)&&O.progress()!==ne&&O.progress(ne||0,!0).render(O.time(),!0,!0),(x||Oe!==Ce.progress||pe)&&(O&&!ve&&O.totalProgress(pe&&B<-.001&&!Oe?Ne.utils.normalize(B,Y,0):Oe,!0),Ce.progress=x||(D-B)/N===Oe?0:Oe),ae&&se&&(j._pinOffset=Math.round(Ce.progress*Q)),ee&&ee.invalidate(),isNaN(g)||(g-=Ne.getProperty(L,ge.p),v-=Ne.getProperty(I,ge.p),jc(L,ge,g),jc(F,ge,g-(n||0)),jc(I,ge,v),jc(q,ge,v-(n||0))),x&&!ot&&Ce.update(),!ie||ot||X||(X=!0,ie(Ce),X=!1)}},Ce.getVelocity=function(){return(Ae()-R)/(ct()-Ke)*1e3||0},Ce.endAnimation=function(){Ra(Ce.callbackAnimation),O&&(ee?ee.progress(1):O.paused()?ve||Ra(O,Ce.direction<0,1):Ra(O,O.reversed()))},Ce.labelToScroll=function(e){return O&&O.labels&&(B||Ce.refresh()||B)+O.labels[e]/O.duration()*N||0},Ce.getTrailing=function(t){var e=Et.indexOf(Ce),r=0<Ce.direction?Et.slice(0,e).reverse():Et.slice(e+1);return(pt(t)?r.filter(function(e){return e.vars.preventOverlaps===t}):r).filter(function(e){return 0<Ce.direction?e.end<=B:e.start>=Y})},Ce.update=function(e,t,r){if(!pe||r||e){var n,i,o,a,s,l,c,u=!0===ot?re:Ce.scroll(),f=e?0:(u-B)/N,p=f<0?0:1<f?1:f||0,d=Ce.progress;if(t&&(R=D,D=pe?Ae():u,ue&&(w=_,_=O&&!ve?O.totalProgress():p)),P&&!p&&ae&&!Qe&&!lt&&ut&&B<u+(u-R)/(ct()-Ke)*P&&(p=1e-4),p!==d&&Ce.enabled){if(a=(s=(n=Ce.isActive=!!p&&p<1)!=(!!d&&d<1))||!!p!=!!d,Ce.direction=d<p?1:-1,Ce.progress=p,a&&!Qe&&(i=p&&!d?0:1===p?1:1===d?2:3,ve&&(o=!s&&"none"!==_e[i+1]&&_e[i+1]||_e[i],c=O&&("complete"===o||"reset"===o||o in O))),he&&(s||c)&&(c||E||!O)&&(Oa(he)?he(Ce):Ce.getTrailing(he).forEach(function(e){return e.endAnimation()})),ve||(!ee||Qe||lt?O&&O.totalProgress(p,!(!Qe||!Me&&!e)):(ee._dp._time-ee._start!==ee._time&&ee.render(ee._dp._time-ee._start),ee.resetTo?ee.resetTo("totalProgress",p,O._tTime/O._tDur):(ee.vars.totalProgress=p,ee.invalidate().restart()))),ae)if(e&&se&&(j.style[se+ge.os2]=m),ye){if(a){if(l=!e&&d<p&&u<Y+1&&u+1>=La(be,ge),fe)if(e||!n&&!l)hc(ae,j);else{var h=Ct(ae,!0),g=u-B;hc(ae,Je,h.top+(ge===Ie?g:0)+St,h.left+(ge===Ie?0:g)+St)}Dt(n||l?W:G),$&&p<1&&n||b(U+(1!==p||l?0:Q))}}else b(Ea(U+Q*p));!ue||A.tween||Qe||lt||te.restart(!0),k&&(s||ce&&p&&(p<1||!it))&&Ve(k.targets).forEach(function(e){return e.classList[n||ce?"add":"remove"](k.className)}),!C||ve||e||C(Ce),a&&!Qe?(ve&&(c&&("complete"===o?O.pause().totalProgress(1):"reset"===o?O.restart(!0).pause():"restart"===o?O.restart(!0):O[o]()),C&&C(Ce)),!s&&it||(T&&s&&Sa(Ce,T),xe[i]&&Sa(Ce,xe[i]),ce&&(1===p?Ce.kill(!1,1):xe[i]=0),s||xe[i=1===p?1:3]&&Sa(Ce,xe[i])),de&&!n&&Math.abs(Ce.getVelocity())>(Pa(de)?de:2500)&&(Ra(Ce.callbackAnimation),ee?ee.progress(1):Ra(O,"reverse"===o?1:!p,1))):ve&&C&&!Qe&&C(Ce)}if(x){var v=pe?u/pe.duration()*(pe._caScrollDist||0):u;y(v+(L._isFlipped?1:0)),x(v)}S&&S(-u/pe.duration()*(pe._caScrollDist||0))}},Ce.enable=function(e,t){Ce.enabled||(Ce.enabled=!0,rb(be,"resize",Gb),rb(me?Ge:be,"scroll",Eb),ke&&rb(ScrollTrigger,"refreshInit",ke),!1!==e&&(Ce.progress=Oe=0,D=R=Pe=Ae()),!1!==t&&Ce.refresh())},Ce.getTween=function(e){return e&&A?A.tween:ee},Ce.setPositions=function(e,t,r,n){Ce.refresh(!1,!1,{start:za(e,r&&!!Ce._startClamp),end:za(t,r&&!!Ce._endClamp)},n),Ce.update()},Ce.adjustPinSpacing=function(e){if(Z&&e){var t=Z.indexOf(ge.d)+1;Z[t]=parseFloat(Z[t])+e+St,Z[1]=parseFloat(Z[1])+e+St,Dt(Z)}},Ce.disable=function(e,t){if(Ce.enabled&&(!1!==e&&Ce.revert(!0,!0),Ce.enabled=Ce.isActive=!1,t||ee&&ee.pause(),re=0,n&&(n.uncache=1),ke&&sb(ScrollTrigger,"refreshInit",ke),te&&(te.pause(),A.tween&&A.tween.kill()&&(A.tween=0)),!me)){for(var r=Et.length;r--;)if(Et[r].scroller===be&&Et[r]!==Ce)return;sb(be,"resize",Gb),sb(be,"scroll",Eb)}},Ce.kill=function(e,t){Ce.disable(e,t),ee&&!t&&ee.kill(),a&&delete Pt[a];var r=Et.indexOf(Ce);0<=r&&Et.splice(r,1),r===tt&&0<At&&tt--,r=0,Et.forEach(function(e){return e.scroller===Ce.scroller&&(r=1)}),r||ot||(Ce.scroll.rec=0),O&&(O.scrollTrigger=null,e&&O.revert({kill:!1}),t||O.kill()),F&&[F,q,L,I].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),st===Ce&&(st=0),ae&&(n&&(n.uncache=1),r=0,Et.forEach(function(e){return e.pin===ae&&r++}),r||(n.spacer=0)),M.onKill&&M.onKill(Ce)},Et.push(Ce),Ce.enable(!1,!1),o&&o(Ce),O&&O.add&&!N){var v=Ce.update;Ce.update=function(){Ce.update=v,B||Y||Ce.refresh()},Ne.delayedCall(.01,Ce.update),N=.01,B=Y=0}else Ce.refresh();ae&&function _queueRefreshAll(){if(at!==Mt){var e=at=Mt;requestAnimationFrame(function(){return e===Mt&&Ot(!0)})}}()}else this.update=this.refresh=this.kill=Da},ScrollTrigger.register=function register(e){return s||(Ne=e||Ga(),Fa()&&window.document&&ScrollTrigger.enable(),s=ft),s},ScrollTrigger.defaults=function defaults(e){if(e)for(var t in e)Tt[t]=e[t];return Tt},ScrollTrigger.disable=function disable(t,r){ft=0,Et.forEach(function(e){return e[r?"kill":"disable"](t)}),sb(He,"wheel",Eb),sb(Ge,"scroll",Eb),clearInterval(u),sb(Ge,"touchcancel",Da),sb(Je,"touchstart",Da),qb(sb,Ge,"pointerdown,touchstart,mousedown",Ba),qb(sb,Ge,"pointerup,touchend,mouseup",Ca),c.kill(),Ma(sb);for(var e=0;e<ze.length;e+=3)tb(sb,ze[e],ze[e+1]),tb(sb,ze[e],ze[e+2])},ScrollTrigger.enable=function enable(){if(He=window,Ge=document,je=Ge.documentElement,Je=Ge.body,Ne&&(Ve=Ne.utils.toArray,Ue=Ne.utils.clamp,x=Ne.core.context||Da,nt=Ne.core.suppressOverwrites||Da,_=He.history.scrollRestoration||"auto",j=He.pageYOffset,Ne.core.globals("ScrollTrigger",ScrollTrigger),Je)){ft=1,function _rafBugFix(){return ft&&requestAnimationFrame(_rafBugFix)}(),T.register(Ne),ScrollTrigger.isTouch=T.isTouch,E=T.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),rb(He,"wheel",Eb),l=[He,Ge,je,Je],Ne.matchMedia?(ScrollTrigger.matchMedia=function(e){var t,r=Ne.matchMedia();for(t in e)r.add(t,e[t]);return r},Ne.addEventListener("matchMediaInit",function(){return Nb()}),Ne.addEventListener("matchMediaRevert",function(){return Mb()}),Ne.addEventListener("matchMedia",function(){Ot(0,1),H("matchMedia")}),Ne.matchMedia("(orientation: portrait)",function(){return Fb(),Fb})):console.warn("Requires GSAP 3.11.0 or later"),Fb(),rb(Ge,"scroll",Eb);var e,t,r=Je.style,n=r.borderTopStyle,i=Ne.core.Animation.prototype;for(i.revert||Object.defineProperty(i,"revert",{value:function value(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",e=Ct(Je),Ie.m=Math.round(e.top+Ie.sc())||0,Le.m=Math.round(e.left+Le.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),u=setInterval(Db,250),Ne.delayedCall(.5,function(){return lt=0}),rb(Ge,"touchcancel",Da),rb(Je,"touchstart",Da),qb(rb,Ge,"pointerdown,touchstart,mousedown",Ba),qb(rb,Ge,"pointerup,touchend,mouseup",Ca),f=Ne.utils.checkPrefix("transform"),Q.push(f),s=ct(),c=Ne.delayedCall(.2,Ot).pause(),h=[Ge,"visibilitychange",function(){var e=He.innerWidth,t=He.innerHeight;Ge.hidden?(p=e,d=t):p===e&&d===t||Gb()},Ge,"DOMContentLoaded",Ot,He,"load",Ot,He,"resize",Gb],Ma(rb),Et.forEach(function(e){return e.enable(0,1)}),t=0;t<ze.length;t+=3)tb(sb,ze[t],ze[t+1]),tb(sb,ze[t],ze[t+2])}},ScrollTrigger.config=function config(e){"limitCallbacks"in e&&(it=!!e.limitCallbacks);var t=e.syncInterval;t&&clearInterval(u)||(u=t)&&setInterval(Db,t),"ignoreMobileResize"in e&&(b=1===ScrollTrigger.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(Ma(sb)||Ma(rb,e.autoRefreshEvents||"none"),g=-1===(e.autoRefreshEvents+"").indexOf("resize"))},ScrollTrigger.scrollerProxy=function scrollerProxy(e,t){var r=J(e),n=ze.indexOf(r),i=Ha(r);~n&&ze.splice(n,i?6:2),t&&(i?Fe.unshift(He,t,Je,t,je,t):Fe.unshift(r,t))},ScrollTrigger.clearMatchMedia=function clearMatchMedia(t){Et.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},ScrollTrigger.isInViewport=function isInViewport(e,t,r){var n=(pt(e)?J(e):e).getBoundingClientRect(),i=n[r?ht:gt]*t||0;return r?0<n.right-i&&n.left+i<He.innerWidth:0<n.bottom-i&&n.top+i<He.innerHeight},ScrollTrigger.positionInViewport=function positionInViewport(e,t,r){pt(e)&&(e=J(e));var n=e.getBoundingClientRect(),i=n[r?ht:gt],o=null==t?i/2:t in Y?Y[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0;return r?(n.left+o)/He.innerWidth:(n.top+o)/He.innerHeight},ScrollTrigger.killAll=function killAll(e){if(Et.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e){var t=I.killAll||[];I={},t.forEach(function(e){return e()})}},ScrollTrigger);function ScrollTrigger(e,t){s||ScrollTrigger.register(Ne)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),x(this),this.init(e,t)}ee.version="3.12.0",ee.saveStyles=function(e){return e?Ve(e).forEach(function(e){if(e&&e.style){var t=W.indexOf(e);0<=t&&W.splice(t,5),W.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),Ne.core.getCache(e),x())}}):W},ee.revert=function(e,t){return Nb(!e,t)},ee.create=function(e,t){return new ee(e,t)},ee.refresh=function(e){return e?Gb():(s||ee.register())&&Ot(!0)},ee.update=function(e){return++ze.cache&&V(!0===e?2:0)},ee.clearScrollMemory=Ob,ee.maxScroll=function(e,t){return La(e,t?Le:Ie)},ee.getScrollFunc=function(e,t){return K(J(e),t?Le:Ie)},ee.getById=function(e){return Pt[e]},ee.getAll=function(){return Et.filter(function(e){return"ScrollSmoother"!==e.vars.id})},ee.isScrolling=function(){return!!ut},ee.snapDirectional=ob,ee.addEventListener=function(e,t){var r=I[e]||(I[e]=[]);~r.indexOf(t)||r.push(t)},ee.removeEventListener=function(e,t){var r=I[e],n=r&&r.indexOf(t);0<=n&&r.splice(n,1)},ee.batch=function(e,t){function mp(e,t){var r=[],n=[],i=Ne.delayedCall(o,function(){t(r,n),r=[],n=[]}).pause();return function(e){r.length||i.restart(!0),r.push(e.trigger),n.push(e),a<=r.length&&i.progress(1)}}var r,n=[],i={},o=t.interval||.016,a=t.batchMax||1e9;for(r in t)i[r]="on"===r.substr(0,2)&&Oa(t[r])&&"onRefreshInit"!==r?mp(0,t[r]):t[r];return Oa(a)&&(a=a(),rb(ee,"refresh",function(){return a=t.batchMax()})),Ve(e).forEach(function(e){var t={};for(r in i)t[r]=i[r];t.trigger=e,n.push(ee.create(t))}),n};function mc(e,t,r,n){return n<t?e(n):t<0&&e(0),n<r?(n-t)/(r-t):r<0?t/(t-r):1}function nc(e,t){!0===t?e.style.removeProperty("touch-action"):e.style.touchAction=!0===t?"auto":t?"pan-"+t+(T.isTouch?" pinch-zoom":""):"none",e===je&&nc(Je,t)}function pc(e){var t,r=e.event,n=e.target,i=e.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,a=o._gsap||Ne.core.getCache(o),s=ct();if(!a._isScrollT||2e3<s-a._isScrollT){for(;o&&o!==Je&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!re[(t=hb(o)).overflowY]&&!re[t.overflowX]);)o=o.parentNode;a._isScroll=o&&o!==n&&!Ha(o)&&(re[(t=hb(o)).overflowY]||re[t.overflowX]),a._isScrollT=s}!a._isScroll&&"x"!==i||(r.stopPropagation(),r._gsapAllow=!0)}function qc(e,t,r,n){return T.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&pc,onPress:n,onDrag:n,onScroll:n,onEnable:function onEnable(){return r&&rb(Ge,T.eventTypes[0],ie,!1,!0)},onDisable:function onDisable(){return sb(Ge,T.eventTypes[0],ie,!0)}})}function uc(e){function jq(){return i=!1}function mq(){o=La(d,Ie),k=Ue(E?1:0,o),f&&(C=Ue(0,La(d,Le))),l=Mt}function nq(){v._gsap.y=Ea(parseFloat(v._gsap.y)+b.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",b.offset=b.cacheID=0}function tq(){mq(),a.isActive()&&a.vars.scrollY>o&&(b()>o?a.progress(1)&&b(o):a.resetTo("scrollY",o))}Qa(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var n,o,l,i,a,c,u,s,f=e.normalizeScrollX,t=e.momentum,r=e.allowNestedScroll,p=e.onRelease,d=J(e.target)||je,h=Ne.core.globals().ScrollSmoother,g=h&&h.get(),v=E&&(e.content&&J(e.content)||g&&!1!==e.content&&!g.smooth()&&g.content()),b=K(d,Ie),m=K(d,Le),y=1,x=(T.isTouch&&He.visualViewport?He.visualViewport.scale*He.visualViewport.width:He.outerWidth)/He.innerWidth,_=0,w=Oa(t)?function(){return t(n)}:function(){return t||2.8},S=qc(d,e.type,!0,r),C=Da,k=Da;return v&&Ne.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return E&&"touchmove"===e.type&&function ignoreDrag(){if(i){requestAnimationFrame(jq);var e=Ea(n.deltaY/2),t=k(b.v-e);if(v&&t!==b.v+b.offset){b.offset=t-b.v;var r=Ea((parseFloat(v&&v._gsap.y)||0)-b.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",v._gsap.y=r+"px",b.cacheID=ze.cache,V()}return!0}b.offset&&nq(),i=!0}()||1.05<y&&"touchstart"!==e.type||n.isGesturing||e.touches&&1<e.touches.length},e.onPress=function(){i=!1;var e=y;y=Ea((He.visualViewport&&He.visualViewport.scale||1)/x),a.pause(),e!==y&&nc(d,1.01<y||!f&&"x"),c=m(),u=b(),mq(),l=Mt},e.onRelease=e.onGestureStart=function(e,t){if(b.offset&&nq(),t){ze.cache++;var r,n,i=w();f&&(n=(r=m())+.05*i*-e.velocityX/.227,i*=mc(m,r,n,La(d,Le)),a.vars.scrollX=C(n)),n=(r=b())+.05*i*-e.velocityY/.227,i*=mc(b,r,n,La(d,Ie)),a.vars.scrollY=k(n),a.invalidate().duration(i).play(.01),(E&&a.vars.scrollY>=o||o-1<=r)&&Ne.to({},{onUpdate:tq,duration:i})}else s.restart(!0);p&&p(e)},e.onWheel=function(){a._ts&&a.pause(),1e3<ct()-_&&(l=0,_=ct())},e.onChange=function(e,t,r,n,i){if(Mt!==l&&mq(),t&&f&&m(C(n[2]===t?c+(e.startX-e.x):m()+t-n[1])),r){b.offset&&nq();var o=i[2]===r,a=o?u+e.startY-e.y:b()+r-i[1],s=k(a);o&&a!==s&&(u+=s-a),b(s)}(r||t)&&V()},e.onEnable=function(){nc(d,!f&&"x"),ee.addEventListener("refresh",tq),rb(He,"resize",tq),b.smooth&&(b.target.style.scrollBehavior="auto",b.smooth=m.smooth=!1),S.enable()},e.onDisable=function(){nc(d,!0),sb(He,"resize",tq),ee.removeEventListener("refresh",tq),S.kill()},e.lockAxis=!1!==e.lockAxis,((n=new T(e)).iOS=E)&&!b()&&b(1),E&&Ne.ticker.add(Da),s=n._dc,a=Ne.to(n,{ease:"power4",paused:!0,scrollX:f?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:ic(b,b(),function(){return a.pause()})},onUpdate:V,onComplete:s.vars.onComplete}),n}var te,re={auto:1,scroll:1},ne=/(input|label|select|textarea)/i,ie=function _captureInputs(e){var t=ne.test(e.target.tagName);(t||te)&&(e._gsapAllow=!0,te=t)};ee.sort=function(e){return Et.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},ee.observe=function(e){return new T(e)},ee.normalizeScroll=function(e){if(void 0===e)return v;if(!0===e&&v)return v.enable();if(!1===e)return v&&v.kill();var t=e instanceof T?e:uc(e);return v&&v.target===t.target&&v.kill(),Ha(t.target)&&(v=t),t},ee.core={_getVelocityProp:L,_inputObserver:qc,_scrollers:ze,_proxies:Fe,bridge:{ss:function ss(){ut||H("scrollStart"),ut=ct()},ref:function ref(){return Qe}}},Ga()&&Ne.registerPlugin(ee),e.ScrollTrigger=ee,e.default=ee;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* SplitText 3.11.5
* SplitText 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

!function(D,u){"object"==typeof exports&&"undefined"!=typeof module?u(exports):"function"==typeof define&&define.amd?define(["exports"],u):u((D=D||self).window=D.window||{})}(this,function(e){"use strict";var S=/([\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 m(D){X=document,F=window,(n=n||D||F.gsap||console.warn("Please gsap.registerPlugin(SplitText)"))&&(d=n.utils.toArray,r=n.core.context||function(){},i=1)}function p(){return String.fromCharCode.apply(null,arguments)}function s(D){return F.getComputedStyle(D)}function t(D){return"absolute"===D.position||!0===D.absolute}function u(D,u){for(var e,t=u.length;-1<--t;)if(e=u[t],D.substr(0,e.length)===e)return e.length}function w(D,u){void 0===D&&(D="");var e=~D.indexOf("++"),t=1;return e&&(D=D.split("++").join("")),function(){return"<"+u+" style='position:relative;display:inline-block;'"+(D?" class='"+D+(e?t++:"")+"'>":">")}}function x(D,u,e){var t=D.nodeType;if(1===t||9===t||11===t)for(D=D.firstChild;D;D=D.nextSibling)x(D,u,e);else 3!==t&&4!==t||(D.nodeValue=D.nodeValue.split(u).join(e))}function y(D,u){for(var e=u.length;-1<--e;)D.push(u[e])}function z(D,u,e){for(var t;D&&D!==u;){if(t=D._next||D.nextSibling)return t.textContent.charAt(0)===e;D=D.parentNode||D._parent}}function A(D){var u,e,t=d(D.childNodes),F=t.length;for(u=0;u<F;u++)(e=t[u])._isSplit?A(e):u&&e.previousSibling&&3===e.previousSibling.nodeType?(e.previousSibling.nodeValue+=3===e.nodeType?e.nodeValue:e.firstChild.nodeValue,D.removeChild(e)):3!==e.nodeType&&(D.insertBefore(e.firstChild,e),D.removeChild(e))}function B(D,u){return parseFloat(u[D])||0}function C(D,u,e,F,i,C,n){var E,r,o,l,p,d,a,h,f,c,g,v,w=s(D),S=B("paddingLeft",w),_=-999,b=B("borderBottomWidth",w)+B("borderTopWidth",w),m=B("borderLeftWidth",w)+B("borderRightWidth",w),T=B("paddingTop",w)+B("paddingBottom",w),N=B("paddingLeft",w)+B("paddingRight",w),L=B("fontSize",w)*(u.lineThreshold||.2),W=w.textAlign,O=[],H=[],k=[],V=u.wordDelimiter||" ",j=u.tag?u.tag:u.span?"span":"div",M=u.type||u.split||"chars,words,lines",R=i&&~M.indexOf("lines")?[]:null,P=~M.indexOf("words"),q=~M.indexOf("chars"),G=t(u),I=u.linesClass,J=~(I||"").indexOf("++"),K=[],Q="flex"===w.display,U=D.style.display;for(J&&(I=I.split("++").join("")),Q&&(D.style.display="block"),o=(r=D.getElementsByTagName("*")).length,p=[],E=0;E<o;E++)p[E]=r[E];if(R||G)for(E=0;E<o;E++)((d=(l=p[E]).parentNode===D)||G||q&&!P)&&(v=l.offsetTop,R&&d&&Math.abs(v-_)>L&&("BR"!==l.nodeName||0===E)&&(a=[],R.push(a),_=v),G&&(l._x=l.offsetLeft,l._y=v,l._w=l.offsetWidth,l._h=l.offsetHeight),R&&((l._isSplit&&d||!q&&d||P&&d||!P&&l.parentNode.parentNode===D&&!l.parentNode._isSplit)&&(a.push(l),l._x-=S,z(l,D,V)&&(l._wordEnd=!0)),"BR"===l.nodeName&&(l.nextSibling&&"BR"===l.nextSibling.nodeName||0===E)&&R.push([])));for(E=0;E<o;E++)if(d=(l=p[E]).parentNode===D,"BR"!==l.nodeName)if(G&&(f=l.style,P||d||(l._x+=l.parentNode._x,l._y+=l.parentNode._y),f.left=l._x+"px",f.top=l._y+"px",f.position="absolute",f.display="block",f.width=l._w+1+"px",f.height=l._h+"px"),!P&&q)if(l._isSplit)for(l._next=r=l.nextSibling,l.parentNode.appendChild(l);r&&3===r.nodeType&&" "===r.textContent;)l._next=r.nextSibling,l.parentNode.appendChild(r),r=r.nextSibling;else l.parentNode._isSplit?(l._parent=l.parentNode,!l.previousSibling&&l.firstChild&&(l.firstChild._isFirst=!0),l.nextSibling&&" "===l.nextSibling.textContent&&!l.nextSibling.nextSibling&&K.push(l.nextSibling),l._next=l.nextSibling&&l.nextSibling._isFirst?null:l.nextSibling,l.parentNode.removeChild(l),p.splice(E--,1),o--):d||(v=!l.nextSibling&&z(l.parentNode,D,V),l.parentNode._parent&&l.parentNode._parent.appendChild(l),v&&l.parentNode.appendChild(X.createTextNode(" ")),"span"===j&&(l.style.display="inline"),O.push(l));else l.parentNode._isSplit&&!l._isSplit&&""!==l.innerHTML?H.push(l):q&&!l._isSplit&&("span"===j&&(l.style.display="inline"),O.push(l));else R||G?(l.parentNode&&l.parentNode.removeChild(l),p.splice(E--,1),o--):P||D.appendChild(l);for(E=K.length;-1<--E;)K[E].parentNode.removeChild(K[E]);if(R){for(G&&(c=X.createElement(j),D.appendChild(c),g=c.offsetWidth+"px",v=c.offsetParent===D?0:D.offsetLeft,D.removeChild(c)),f=D.style.cssText,D.style.cssText="display:none;";D.firstChild;)D.removeChild(D.firstChild);for(h=" "===V&&(!G||!P&&!q),E=0;E<R.length;E++){for(a=R[E],(c=X.createElement(j)).style.cssText="display:block;text-align:"+W+";position:"+(G?"absolute;":"relative;"),I&&(c.className=I+(J?E+1:"")),k.push(c),o=a.length,r=0;r<o;r++)"BR"!==a[r].nodeName&&(l=a[r],c.appendChild(l),h&&l._wordEnd&&c.appendChild(X.createTextNode(" ")),G&&(0===r&&(c.style.top=l._y+"px",c.style.left=S+v+"px"),l.style.top="0px",v&&(l.style.left=l._x-v+"px")));0===o?c.innerHTML="&nbsp;":P||q||(A(c),x(c,String.fromCharCode(160)," ")),G&&(c.style.width=g,c.style.height=l._h+"px"),D.appendChild(c)}D.style.cssText=f}G&&(n>D.clientHeight&&(D.style.height=n-T+"px",D.clientHeight<n&&(D.style.height=n+b+"px")),C>D.clientWidth&&(D.style.width=C-N+"px",D.clientWidth<C&&(D.style.width=C+m+"px"))),Q&&(U?D.style.display=U:D.style.removeProperty("display")),y(e,O),P&&y(F,H),y(i,k)}function D(D,e,F,i){var C,n,s,E,r,o,l,p,d=e.tag?e.tag:e.span?"span":"div",a=~(e.type||e.split||"chars,words,lines").indexOf("chars"),h=t(e),f=e.wordDelimiter||" ",B=" "!==f?"":h?"&#173; ":" ",c="</"+d+">",A=1,g=e.specialChars?"function"==typeof e.specialChars?e.specialChars:u:null,y=X.createElement("div"),v=D.parentNode;for(v.insertBefore(y,D),y.textContent=D.nodeValue,v.removeChild(D),l=-1!==(C=function getText(D){var u=D.nodeType,e="";if(1===u||9===u||11===u){if("string"==typeof D.textContent)return D.textContent;for(D=D.firstChild;D;D=D.nextSibling)e+=getText(D)}else if(3===u||4===u)return D.nodeValue;return e}(D=y)).indexOf("<"),!1!==e.reduceWhiteSpace&&(C=C.replace(b," ").replace(_,"")),l&&(C=C.split("<").join("{{LT}}")),r=C.length,n=(" "===C.charAt(0)?B:"")+F(),s=0;s<r;s++)if(o=C.charAt(s),g&&(p=g(C.substr(s),e.specialChars)))o=C.substr(s,p||1),n+=a&&" "!==o?i()+o+"</"+d+">":o,s+=p-1;else if(o===f&&C.charAt(s-1)!==f&&s){for(n+=A?c:"",A=0;C.charAt(s+1)===f;)n+=B,s++;s===r-1?n+=B:")"!==C.charAt(s+1)&&(n+=B+F(),A=1)}else"{"===o&&"{{LT}}"===C.substr(s,6)?(n+=a?i()+"{{LT}}</"+d+">":"{{LT}}",s+=5):55296<=o.charCodeAt(0)&&o.charCodeAt(0)<=56319||65024<=C.charCodeAt(s+1)&&C.charCodeAt(s+1)<=65039?(E=((C.substr(s,12).split(S)||[])[1]||"").length||2,n+=a&&" "!==o?i()+C.substr(s,E)+"</"+d+">":C.substr(s,E),s+=E-1):n+=a&&" "!==o?i()+o+"</"+d+">":o;D.outerHTML=n+(A?c:""),l&&x(v,"{{LT}}","<")}function E(u,e,F,i){var C,n,r=d(u.childNodes),o=r.length,l=t(e);if(3!==u.nodeType||1<o){for(e.absolute=!1,C=0;C<o;C++)(n=r[C])._next=n._isFirst=n._parent=n._wordEnd=null,3===n.nodeType&&!/\S+/.test(n.nodeValue)||(l&&3!==n.nodeType&&"inline"===s(n).display&&(n.style.display="inline-block",n.style.position="relative"),n._isSplit=!0,E(n,e,F,i));return e.absolute=l,void(u._isSplit=!0)}D(u,e,F,i)}var X,F,i,n,r,d,o,_=/(?:\r|\n|\t\t)/g,b=/(?:\s\s+)/g,l="SplitText",a=p(103,114,101,101,110,115,111,99,107,46,99,111,109),h=function(D){var u="undefined"!=typeof window,e=0===(u?window.location.href:"").indexOf(p(102,105,108,101,58,47,47))||-1!==D.indexOf(p(108,111,99,97,108,104,111,115,116))||-1!==D.indexOf(p(49,50,55,46,48,32,48,46,49)),t=[a,p(99,111,100,101,112,101,110,46,105,111),p(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),p(99,111,100,101,112,101,110,46,100,101,118),p(99,111,100,101,112,101,110,46,97,112,112),p(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),p(112,101,110,115,46,99,108,111,117,100),p(99,115,115,45,116,114,105,99,107,115,46,99,111,109),p(99,100,112,110,46,105,111),p(112,101,110,115,46,105,111),p(103,97,110,110,111,110,46,116,118),p(99,111,100,101,99,97,110,121,111,110,46,110,101,116),p(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),p(99,101,114,101,98,114,97,120,46,99,111,46,117,107),p(116,121,109,112,97,110,117,115,46,110,101,116),p(116,119,101,101,110,109,97,120,46,99,111,109),p(112,108,110,107,114,46,99,111),p(104,111,116,106,97,114,46,99,111,109),p(119,101,98,112,97,99,107,98,105,110,46,99,111,109),p(97,114,99,104,105,118,101,46,111,114,103),p(99,111,100,101,115,97,110,100,98,111,120,46,105,111),p(99,115,98,46,97,112,112),p(115,116,97,99,107,98,108,105,116,122,46,99,111,109),p(115,116,97,99,107,98,108,105,116,122,46,105,111),p(99,111,100,105,101,114,46,105,111),p(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),p(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),p(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),p(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),p(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),p(106,115,102,105,100,100,108,101,46,110,101,116)],F=t.length;for(setTimeout(function checkWarn(){u&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",checkWarn):(document.removeEventListener("readystatechange",checkWarn),u&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(p(37,99,87,97,114,110,105,110,103),p(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(p(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+l+p(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(p(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),p(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},50);-1<--F;)if(-1!==D.indexOf(t[F]))return!0;return e||!setTimeout(function(){u&&(window.location.href=p(104,116,116,112,115,58,47,47)+a+p(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+l+"&source=trial")},3e3)}("undefined"!=typeof window?window.location.host:""),f=((o=SplitText.prototype).split=function split(D){this.isSplit&&this.revert(),this.vars=D=D||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var u,e,t,F=this.elements.length,i=D.tag?D.tag:D.span?"span":"div",n=w(D.wordsClass,i),s=w(D.charsClass,i);-1<--F;)t=this.elements[F],this._originals[F]=t.innerHTML,u=t.clientHeight,e=t.clientWidth,E(t,D,n,s),C(t,D,this.chars,this.words,this.lines,e,u);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},o.revert=function revert(){var e=this._originals;if(!e)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(D,u){return D.innerHTML=e[u]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},SplitText.create=function create(D,u){return new SplitText(D,u)},SplitText);function SplitText(D,u){i||m(),this.elements=d(D),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=u||{},r(this),h&&this.split(u)}f.version="3.11.5",f.register=m,e.SplitText=f,e.default=f;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
!function(D,u){"object"==typeof exports&&"undefined"!=typeof module?u(exports):"function"==typeof define&&define.amd?define(["exports"],u):u((D=D||self).window=D.window||{})}(this,function(e){"use strict";var S=/([\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 m(D){U=document,i=window,(s=s||D||i.gsap||console.warn("Please gsap.registerPlugin(SplitText)"))&&(d=s.utils.toArray,r=s.core.context||function(){},n=1)}function p(){return String.fromCharCode.apply(null,arguments)}function t(D){return i.getComputedStyle(D)}function u(D){return"absolute"===D.position||!0===D.absolute}function v(D,u){for(var e,t=u.length;-1<--t;)if(e=u[t],D.substr(0,e.length)===e)return e.length}function x(D,u){void 0===D&&(D="");var e=~D.indexOf("++"),t=1;return e&&(D=D.split("++").join("")),function(){return"<"+u+" style='position:relative;display:inline-block;'"+(D?" class='"+D+(e?t++:"")+"'>":">")}}function y(D,u,e){var t=D.nodeType;if(1===t||9===t||11===t)for(D=D.firstChild;D;D=D.nextSibling)y(D,u,e);else 3!==t&&4!==t||(D.nodeValue=D.nodeValue.split(u).join(e))}function z(D,u){for(var e=u.length;-1<--e;)D.push(u[e])}function A(D,u,e){for(var t;D&&D!==u;){if(t=D._next||D.nextSibling)return t.textContent.charAt(0)===e;D=D.parentNode||D._parent}}function B(D){var u,e,t=d(D.childNodes),F=t.length;for(u=0;u<F;u++)(e=t[u])._isSplit?B(e):u&&e.previousSibling&&3===e.previousSibling.nodeType?(e.previousSibling.nodeValue+=3===e.nodeType?e.nodeValue:e.firstChild.nodeValue,D.removeChild(e)):3!==e.nodeType&&(D.insertBefore(e.firstChild,e),D.removeChild(e))}function C(D,u){return parseFloat(u[D])||0}function D(D,e,F,i,n,s,E){var r,o,l,p,d,a,h,f,c,g,x,v,S=t(D),_=C("paddingLeft",S),b=-999,w=C("borderBottomWidth",S)+C("borderTopWidth",S),m=C("borderLeftWidth",S)+C("borderRightWidth",S),T=C("paddingTop",S)+C("paddingBottom",S),N=C("paddingLeft",S)+C("paddingRight",S),L=C("fontSize",S)*(e.lineThreshold||.2),W=S.textAlign,O=[],H=[],j=[],k=e.wordDelimiter||" ",V=e.tag?e.tag:e.span?"span":"div",M=e.type||e.split||"chars,words,lines",R=n&&~M.indexOf("lines")?[]:null,P=~M.indexOf("words"),$=~M.indexOf("chars"),q=u(e),G=e.linesClass,I=~(G||"").indexOf("++"),J=[],K="flex"===S.display,Q=D.style.display;for(I&&(G=G.split("++").join("")),K&&(D.style.display="block"),l=(o=D.getElementsByTagName("*")).length,d=[],r=0;r<l;r++)d[r]=o[r];if(R||q)for(r=0;r<l;r++)((a=(p=d[r]).parentNode===D)||q||$&&!P)&&(v=p.offsetTop,R&&a&&Math.abs(v-b)>L&&("BR"!==p.nodeName||0===r)&&(h=[],R.push(h),b=v),q&&(p._x=p.offsetLeft,p._y=v,p._w=p.offsetWidth,p._h=p.offsetHeight),R&&((p._isSplit&&a||!$&&a||P&&a||!P&&p.parentNode.parentNode===D&&!p.parentNode._isSplit)&&(h.push(p),p._x-=_,A(p,D,k)&&(p._wordEnd=!0)),"BR"===p.nodeName&&(p.nextSibling&&"BR"===p.nextSibling.nodeName||0===r)&&R.push([])));for(r=0;r<l;r++)if(a=(p=d[r]).parentNode===D,"BR"!==p.nodeName)if(q&&(c=p.style,P||a||(p._x+=p.parentNode._x,p._y+=p.parentNode._y),c.left=p._x+"px",c.top=p._y+"px",c.position="absolute",c.display="block",c.width=p._w+1+"px",c.height=p._h+"px"),!P&&$)if(p._isSplit)for(p._next=o=p.nextSibling,p.parentNode.appendChild(p);o&&3===o.nodeType&&" "===o.textContent;)p._next=o.nextSibling,p.parentNode.appendChild(o),o=o.nextSibling;else p.parentNode._isSplit?(p._parent=p.parentNode,!p.previousSibling&&p.firstChild&&(p.firstChild._isFirst=!0),p.nextSibling&&" "===p.nextSibling.textContent&&!p.nextSibling.nextSibling&&J.push(p.nextSibling),p._next=p.nextSibling&&p.nextSibling._isFirst?null:p.nextSibling,p.parentNode.removeChild(p),d.splice(r--,1),l--):a||(v=!p.nextSibling&&A(p.parentNode,D,k),p.parentNode._parent&&p.parentNode._parent.appendChild(p),v&&p.parentNode.appendChild(U.createTextNode(" ")),"span"===V&&(p.style.display="inline"),O.push(p));else p.parentNode._isSplit&&!p._isSplit&&""!==p.innerHTML?H.push(p):$&&!p._isSplit&&("span"===V&&(p.style.display="inline"),O.push(p));else R||q?(p.parentNode&&p.parentNode.removeChild(p),d.splice(r--,1),l--):P||D.appendChild(p);for(r=J.length;-1<--r;)J[r].parentNode.removeChild(J[r]);if(R){for(q&&(g=U.createElement(V),D.appendChild(g),x=g.offsetWidth+"px",v=g.offsetParent===D?0:D.offsetLeft,D.removeChild(g)),c=D.style.cssText,D.style.cssText="display:none;";D.firstChild;)D.removeChild(D.firstChild);for(f=" "===k&&(!q||!P&&!$),r=0;r<R.length;r++){for(h=R[r],(g=U.createElement(V)).style.cssText="display:block;text-align:"+W+";position:"+(q?"absolute;":"relative;"),G&&(g.className=G+(I?r+1:"")),j.push(g),l=h.length,o=0;o<l;o++)"BR"!==h[o].nodeName&&(p=h[o],g.appendChild(p),f&&p._wordEnd&&g.appendChild(U.createTextNode(" ")),q&&(0===o&&(g.style.top=p._y+"px",g.style.left=_+v+"px"),p.style.top="0px",v&&(p.style.left=p._x-v+"px")));0===l?g.innerHTML="&nbsp;":P||$||(B(g),y(g,String.fromCharCode(160)," ")),q&&(g.style.width=x,g.style.height=p._h+"px"),D.appendChild(g)}D.style.cssText=c}q&&(E>D.clientHeight&&(D.style.height=E-T+"px",D.clientHeight<E&&(D.style.height=E+w+"px")),s>D.clientWidth&&(D.style.width=s-N+"px",D.clientWidth<s&&(D.style.width=s+m+"px"))),K&&(Q?D.style.display=Q:D.style.removeProperty("display")),z(F,O),P&&z(i,H),z(n,j)}function E(D,e,t,F){var i,C,n,s,E,r,o,l,p=e.tag?e.tag:e.span?"span":"div",d=~(e.type||e.split||"chars,words,lines").indexOf("chars"),a=u(e),h=e.wordDelimiter||" ",f=" "!==h?"":a?"&#173; ":" ",B="</"+p+">",c=1,A=e.specialChars?"function"==typeof e.specialChars?e.specialChars:v:null,g=U.createElement("div"),x=D.parentNode;for(x.insertBefore(g,D),g.textContent=D.nodeValue,x.removeChild(D),o=-1!==(i=function getText(D){var u=D.nodeType,e="";if(1===u||9===u||11===u){if("string"==typeof D.textContent)return D.textContent;for(D=D.firstChild;D;D=D.nextSibling)e+=getText(D)}else if(3===u||4===u)return D.nodeValue;return e}(D=g)).indexOf("<"),!1!==e.reduceWhiteSpace&&(i=i.replace(b," ").replace(_,"")),o&&(i=i.split("<").join("{{LT}}")),E=i.length,C=(" "===i.charAt(0)?f:"")+t(),n=0;n<E;n++)if(r=i.charAt(n),A&&(l=A(i.substr(n),e.specialChars)))r=i.substr(n,l||1),C+=d&&" "!==r?F()+r+"</"+p+">":r,n+=l-1;else if(r===h&&i.charAt(n-1)!==h&&n){for(C+=c?B:"",c=0;i.charAt(n+1)===h;)C+=f,n++;n===E-1?C+=f:")"!==i.charAt(n+1)&&(C+=f+t(),c=1)}else"{"===r&&"{{LT}}"===i.substr(n,6)?(C+=d?F()+"{{LT}}</"+p+">":"{{LT}}",n+=5):55296<=r.charCodeAt(0)&&r.charCodeAt(0)<=56319||65024<=i.charCodeAt(n+1)&&i.charCodeAt(n+1)<=65039?(s=((i.substr(n,12).split(S)||[])[1]||"").length||2,C+=d&&" "!==r?F()+i.substr(n,s)+"</"+p+">":i.substr(n,s),n+=s-1):C+=d&&" "!==r?F()+r+"</"+p+">":r;D.outerHTML=C+(c?B:""),o&&y(x,"{{LT}}","<")}function F(D,e,i,C){var n,s,r=d(D.childNodes),o=r.length,l=u(e);if(3!==D.nodeType||1<o){for(e.absolute=!1,n=0;n<o;n++)(s=r[n])._next=s._isFirst=s._parent=s._wordEnd=null,3===s.nodeType&&!/\S+/.test(s.nodeValue)||(l&&3!==s.nodeType&&"inline"===t(s).display&&(s.style.display="inline-block",s.style.position="relative"),s._isSplit=!0,F(s,e,i,C));return e.absolute=l,void(D._isSplit=!0)}E(D,e,i,C)}var U,i,n,s,r,d,o,_=/(?:\r|\n|\t\t)/g,b=/(?:\s\s+)/g,l="SplitText",a=p(103,114,101,101,110,115,111,99,107,46,99,111,109),h=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,f=function(D){var u="undefined"!=typeof window,e=0===(u?window.location.href:"").indexOf(p(102,105,108,101,58,47,47))||-1!==D.indexOf(p(108,111,99,97,108,104,111,115,116))||h.test(D),t=[a,p(99,111,100,101,112,101,110,46,105,111),p(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),p(99,111,100,101,112,101,110,46,100,101,118),p(99,111,100,101,112,101,110,46,97,112,112),p(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),p(112,101,110,115,46,99,108,111,117,100),p(99,115,115,45,116,114,105,99,107,115,46,99,111,109),p(99,100,112,110,46,105,111),p(112,101,110,115,46,105,111),p(103,97,110,110,111,110,46,116,118),p(99,111,100,101,99,97,110,121,111,110,46,110,101,116),p(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),p(99,101,114,101,98,114,97,120,46,99,111,46,117,107),p(116,121,109,112,97,110,117,115,46,110,101,116),p(116,119,101,101,110,109,97,120,46,99,111,109),p(112,108,110,107,114,46,99,111),p(104,111,116,106,97,114,46,99,111,109),p(119,101,98,112,97,99,107,98,105,110,46,99,111,109),p(97,114,99,104,105,118,101,46,111,114,103),p(99,111,100,101,115,97,110,100,98,111,120,46,105,111),p(99,115,98,46,97,112,112),p(115,116,97,99,107,98,108,105,116,122,46,99,111,109),p(115,116,97,99,107,98,108,105,116,122,46,105,111),p(99,111,100,105,101,114,46,105,111),p(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),p(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),p(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),p(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),p(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),p(106,115,102,105,100,100,108,101,46,110,101,116)],F=t.length;for(setTimeout(function checkWarn(){if(u)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else{document.removeEventListener("readystatechange",checkWarn);var D="object"==typeof s?s:u&&window.gsap;u&&window.console&&!window._gsapWarned&&"object"==typeof D&&!1!==D.config().trialWarn&&(console.log(p(37,99,87,97,114,110,105,110,103),p(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(p(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+l+p(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(p(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),p(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},50);-1<--F;)if(-1!==D.indexOf(t[F]))return!0;return e||!setTimeout(function(){u&&(window.location.href=p(104,116,116,112,115,58,47,47)+a+p(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+l+"&source=trial")},4e3)}("undefined"!=typeof window?window.location.host:""),c=((o=SplitText.prototype).split=function split(u){this.isSplit&&this.revert(),this.vars=u=u||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e,t,i,C=this.elements.length,n=u.tag?u.tag:u.span?"span":"div",s=x(u.wordsClass,n),E=x(u.charsClass,n);-1<--C;)i=this.elements[C],this._originals[C]=i.innerHTML,e=i.clientHeight,t=i.clientWidth,F(i,u,s,E),D(i,u,this.chars,this.words,this.lines,t,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},o.revert=function revert(){var e=this._originals;if(!e)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(D,u){return D.innerHTML=e[u]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},SplitText.create=function create(D,u){return new SplitText(D,u)},SplitText);function SplitText(D,u){n||m(),this.elements=d(D),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=u||{},r(this),f&&this.split(u)}c.version="3.12.0",c.register=m,e.SplitText=c,e.default=c;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
/*!
* TextPlugin 3.11.5
* TextPlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

!function(D,u){"object"==typeof exports&&"undefined"!=typeof module?u(exports):"function"==typeof define&&define.amd?define(["exports"],u):u((D=D||self).window=D.window||{})}(this,function(D){"use strict";var i=/(?:^\s+|\s+$)/g,r=/([\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 splitInnerHTML(D,u,F,C){for(var E,e=D.firstChild,t=[];e;)3===e.nodeType?(E=(e.nodeValue+"").replace(/^\n+/g,""),C||(E=E.replace(/\s+/g," ")),t.push.apply(t,emojiSafeSplit(E,u,F,C))):"br"===(e.nodeName+"").toLowerCase()?t[t.length-1]+="<br>":t.push(e.outerHTML),e=e.nextSibling;for(E=t.length;E--;)"&"===t[E]&&t.splice(E,1,"&amp;");return t}function emojiSafeSplit(D,u,F,C){if(D+="",F&&(D=D.trim?D.trim():D.replace(i,"")),u&&""!==u)return D.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(u);for(var E,e,t=[],n=D.length,B=0;B<n;B++)(55296<=(e=D.charAt(B)).charCodeAt(0)&&e.charCodeAt(0)<=56319||65024<=D.charCodeAt(B+1)&&D.charCodeAt(B+1)<=65039)&&(E=((D.substr(B,12).split(r)||[])[1]||"").length||2,e=D.substr(B,E),B+=E-(t.emoji=1)),t.push(">"===e?"&gt;":"<"===e?"&lt;":!C||" "!==e||" "!==D.charAt(B-1)&&" "!==D.charAt(B+1)?e:"&nbsp;");return t}var u,g,F={version:"3.11.5",name:"text",init:function init(D,u,F){"object"!=typeof u&&(u={value:u});var C,E,e,t,n,B,i,r,A=D.nodeName.toUpperCase(),s=this,l=u.newClass,o=u.oldClass,a=u.preserveSpaces,p=u.rtl,f=s.delimiter=u.delimiter||"",d=s.fillChar=u.fillChar||(u.padSpace?"&nbsp;":"");if(s.svg=D.getBBox&&("TEXT"===A||"TSPAN"===A),!("innerHTML"in D||s.svg))return!1;if(s.target=D,"value"in u){for(e=splitInnerHTML(D,f,!1,a),(g=g||document.createElement("div")).innerHTML=u.value,E=splitInnerHTML(g,f,!1,a),s.from=F._from,!s.from&&!p||p&&s.from||(A=e,e=E,E=A),s.hasClass=!(!l&&!o),s.newClass=p?o:l,s.oldClass=p?l:o,C=(A=e.length-E.length)<0?e:E,A<0&&(A=-A);-1<--A;)C.push(d);if("diff"===u.type){for(n=[],B=[],i="",A=t=0;A<E.length;A++)(r=E[A])===e[A]?i+=r:(n[t]=i+r,B[t++]=i+e[A],i="");E=n,e=B,i&&(E.push(i),e.push(i))}u.speed&&F.duration(Math.min(.05/u.speed*C.length,u.maxDuration||9999)),s.rtl=p,s.original=e,s.text=E,s._props.push("text")}else s.text=s.original=[""]},render:function render(D,u){1<D?D=1:D<0&&(D=0),u.from&&(D=1-D);var F,C,E,e=u.text,t=u.hasClass,n=u.newClass,B=u.oldClass,i=u.delimiter,r=u.target,A=u.fillChar,s=u.original,l=u.rtl,o=e.length,a=(l?1-D:D)*o+.5|0;E=t&&D?(C=B&&a!==o,((F=n&&a)?"<span class='"+n+"'>":"")+e.slice(0,a).join(i)+(F?"</span>":"")+(C?"<span class='"+B+"'>":"")+i+s.slice(a).join(i)+(C?"</span>":"")):e.slice(0,a).join(i)+i+s.slice(a).join(i),u.svg?r.textContent=E:r.innerHTML="&nbsp;"===A&&~E.indexOf(" ")?E.split(" ").join("&nbsp;&nbsp;"):E}};F.splitInnerHTML=splitInnerHTML,F.emojiSafeSplit=emojiSafeSplit,F.getText=function getText(D){var u=D.nodeType,F="";if(1===u||9===u||11===u){if("string"==typeof D.textContent)return D.textContent;for(D=D.firstChild;D;D=D.nextSibling)F+=getText(D)}else if(3===u||4===u)return D.nodeValue;return F},function _getGSAP(){return u||"undefined"!=typeof window&&(u=window.gsap)&&u.registerPlugin&&u}()&&u.registerPlugin(F),D.TextPlugin=F,D.default=F;if (typeof(window)==="undefined"||window!==D){Object.defineProperty(D,"__esModule",{value:!0})} else {delete D.default}});
!function(D,u){"object"==typeof exports&&"undefined"!=typeof module?u(exports):"function"==typeof define&&define.amd?define(["exports"],u):u((D=D||self).window=D.window||{})}(this,function(D){"use strict";var i=/(?:^\s+|\s+$)/g,r=/([\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 splitInnerHTML(D,u,F,C){for(var E,e=D.firstChild,t=[];e;)3===e.nodeType?(E=(e.nodeValue+"").replace(/^\n+/g,""),C||(E=E.replace(/\s+/g," ")),t.push.apply(t,emojiSafeSplit(E,u,F,C))):"br"===(e.nodeName+"").toLowerCase()?t[t.length-1]+="<br>":t.push(e.outerHTML),e=e.nextSibling;for(E=t.length;E--;)"&"===t[E]&&t.splice(E,1,"&amp;");return t}function emojiSafeSplit(D,u,F,C){if(D+="",F&&(D=D.trim?D.trim():D.replace(i,"")),u&&""!==u)return D.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(u);for(var E,e,t=[],n=D.length,B=0;B<n;B++)(55296<=(e=D.charAt(B)).charCodeAt(0)&&e.charCodeAt(0)<=56319||65024<=D.charCodeAt(B+1)&&D.charCodeAt(B+1)<=65039)&&(E=((D.substr(B,12).split(r)||[])[1]||"").length||2,e=D.substr(B,E),B+=E-(t.emoji=1)),t.push(">"===e?"&gt;":"<"===e?"&lt;":!C||" "!==e||" "!==D.charAt(B-1)&&" "!==D.charAt(B+1)?e:"&nbsp;");return t}var u,g,F={version:"3.12.0",name:"text",init:function init(D,u,F){"object"!=typeof u&&(u={value:u});var C,E,e,t,n,B,i,r,A=D.nodeName.toUpperCase(),s=this,l=u.newClass,o=u.oldClass,a=u.preserveSpaces,p=u.rtl,f=s.delimiter=u.delimiter||"",d=s.fillChar=u.fillChar||(u.padSpace?"&nbsp;":"");if(s.svg=D.getBBox&&("TEXT"===A||"TSPAN"===A),!("innerHTML"in D||s.svg))return!1;if(s.target=D,"value"in u){for(e=splitInnerHTML(D,f,!1,a),(g=g||document.createElement("div")).innerHTML=u.value,E=splitInnerHTML(g,f,!1,a),s.from=F._from,!s.from&&!p||p&&s.from||(A=e,e=E,E=A),s.hasClass=!(!l&&!o),s.newClass=p?o:l,s.oldClass=p?l:o,C=(A=e.length-E.length)<0?e:E,A<0&&(A=-A);-1<--A;)C.push(d);if("diff"===u.type){for(n=[],B=[],i="",A=t=0;A<E.length;A++)(r=E[A])===e[A]?i+=r:(n[t]=i+r,B[t++]=i+e[A],i="");E=n,e=B,i&&(E.push(i),e.push(i))}u.speed&&F.duration(Math.min(.05/u.speed*C.length,u.maxDuration||9999)),s.rtl=p,s.original=e,s.text=E,s._props.push("text")}else s.text=s.original=[""]},render:function render(D,u){1<D?D=1:D<0&&(D=0),u.from&&(D=1-D);var F,C,E,e=u.text,t=u.hasClass,n=u.newClass,B=u.oldClass,i=u.delimiter,r=u.target,A=u.fillChar,s=u.original,l=u.rtl,o=e.length,a=(l?1-D:D)*o+.5|0;E=t&&D?(C=B&&a!==o,((F=n&&a)?"<span class='"+n+"'>":"")+e.slice(0,a).join(i)+(F?"</span>":"")+(C?"<span class='"+B+"'>":"")+i+s.slice(a).join(i)+(C?"</span>":"")):e.slice(0,a).join(i)+i+s.slice(a).join(i),u.svg?r.textContent=E:r.innerHTML="&nbsp;"===A&&~E.indexOf(" ")?E.split(" ").join("&nbsp;&nbsp;"):E}};F.splitInnerHTML=splitInnerHTML,F.emojiSafeSplit=emojiSafeSplit,F.getText=function getText(D){var u=D.nodeType,F="";if(1===u||9===u||11===u){if("string"==typeof D.textContent)return D.textContent;for(D=D.firstChild;D;D=D.nextSibling)F+=getText(D)}else if(3===u||4===u)return D.nodeValue;return F},function _getGSAP(){return u||"undefined"!=typeof window&&(u=window.gsap)&&u.registerPlugin&&u}()&&u.registerPlugin(F),D.TextPlugin=F,D.default=F;if (typeof(window)==="undefined"||window!==D){Object.defineProperty(D,"__esModule",{value:!0})} else {delete D.default}});
/*!
* Draggable 3.11.5
* Draggable 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let e,t,o,n,r,i,l,a,s,c="transform",d=c+"Origin",p=r=>{let i=r.ownerDocument||r;!(c in r.style)&&"msTransform"in r.style&&(c="msTransform",d=c+"Origin");for(;i.parentNode&&(i=i.parentNode););if(t=window,l=new v,i){e=i,o=i.documentElement,n=i.body,a=e.createElementNS("http://www.w3.org/2000/svg","g"),a.style.transform="none";let t=i.createElement("div"),r=i.createElement("div");n.appendChild(t),t.appendChild(r),t.style.position="static",t.style[c]="translate3d(0,0,1px)",s=r.offsetParent!==t,n.removeChild(t)}return i},h=[],g=[],u=e=>e.ownerSVGElement||("svg"===(e.tagName+"").toLowerCase()?e:null),f=e=>"fixed"===t.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?f(e):void 0),x=(t,o)=>{if(t.parentNode&&(e||p(t))){let n=u(t),l=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",a=n?o?"rect":"g":"div",s=2!==o?0:100,c=3===o?100:0,d="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",p=e.createElementNS?e.createElementNS(l.replace(/^https/,"http"),a):e.createElement(a);return o&&(n?(i||(i=x(t)),p.setAttribute("width",.01),p.setAttribute("height",.01),p.setAttribute("transform","translate("+s+","+c+")"),i.appendChild(p)):(r||(r=x(t),r.style.cssText=d),p.style.cssText=d+"width:0.1px;height:0.1px;top:"+c+"px;left:"+s+"px",r.appendChild(p))),p}throw"Need document and parent."},m=(e,o)=>{let n,p,f,m,y,w,b=u(e),T=e===b,E=b?h:g,M=e.parentNode;if(e===t)return e;if(E.length||E.push(x(e,1),x(e,2),x(e,3)),n=b?i:r,b)T?(f=(e=>{let t,o=e.getCTM();return o||(t=e.style[c],e.style[c]="none",e.appendChild(a),o=a.getCTM(),e.removeChild(a),t?e.style[c]=t:e.style.removeProperty(c.replace(/([A-Z])/g,"-$1").toLowerCase())),o||l.clone()})(e),m=-f.e/f.a,y=-f.f/f.d,p=l):e.getBBox?(f=e.getBBox(),p=e.transform?e.transform.baseVal:{},p=p.numberOfItems?p.numberOfItems>1?(e=>{let t=new v,o=0;for(;o<e.numberOfItems;o++)t.multiply(e.getItem(o).matrix);return t})(p):p.getItem(0).matrix:l,m=p.a*f.x+p.c*f.y,y=p.b*f.x+p.d*f.y):(p=new v,m=y=0),o&&"g"===e.tagName.toLowerCase()&&(m=y=0),(T?b:M).appendChild(n),n.setAttribute("transform","matrix("+p.a+","+p.b+","+p.c+","+p.d+","+(p.e+m)+","+(p.f+y)+")");else{if(m=y=0,s)for(p=e.offsetParent,f=e;f&&(f=f.parentNode)&&f!==p&&f.parentNode;)(t.getComputedStyle(f)[c]+"").length>4&&(m=f.offsetLeft,y=f.offsetTop,f=0);if(w=t.getComputedStyle(e),"absolute"!==w.position&&"fixed"!==w.position)for(p=e.offsetParent;M&&M!==p;)m+=M.scrollLeft||0,y+=M.scrollTop||0,M=M.parentNode;f=n.style,f.top=e.offsetTop-y+"px",f.left=e.offsetLeft-m+"px",f[c]=w[c],f[d]=w[d],f.position="fixed"===w.position?"fixed":"absolute",e.parentNode.appendChild(n)}return n},y=(e,t,o,n,r,i,l)=>(e.a=t,e.b=o,e.c=n,e.d=r,e.e=i,e.f=l,e);class v{constructor(e=1,t=0,o=0,n=1,r=0,i=0){y(this,e,t,o,n,r,i)}inverse(){let{a:e,b:t,c:o,d:n,e:r,f:i}=this,l=e*n-t*o||1e-10;return y(this,n/l,-t/l,-o/l,e/l,(o*i-n*r)/l,-(e*i-t*r)/l)}multiply(e){let{a:t,b:o,c:n,d:r,e:i,f:l}=this,a=e.a,s=e.c,c=e.b,d=e.d,p=e.e,h=e.f;return y(this,a*t+c*n,a*o+c*r,s*t+d*n,s*o+d*r,i+p*t+h*n,l+p*o+h*r)}clone(){return new v(this.a,this.b,this.c,this.d,this.e,this.f)}equals(e){let{a:t,b:o,c:n,d:r,e:i,f:l}=this;return t===e.a&&o===e.b&&n===e.c&&r===e.d&&i===e.e&&l===e.f}apply(e,t={}){let{x:o,y:n}=e,{a:r,b:i,c:l,d:a,e:s,f:c}=this;return t.x=o*r+n*l+s||0,t.y=o*i+n*a+c||0,t}}function w(r,i,l,a){if(!r||!r.parentNode||(e||p(r)).documentElement===r)return new v;let s=(e=>{let t,o;for(;e&&e!==n;)o=e._gsap,o&&o.uncache&&o.get(e,"x"),o&&!o.scaleX&&!o.scaleY&&o.renderTransform&&(o.scaleX=o.scaleY=1e-4,o.renderTransform(1,o),t?t.push(o):t=[o]),e=e.parentNode;return t})(r),c=u(r)?h:g,d=m(r,l),x=c[0].getBoundingClientRect(),y=c[1].getBoundingClientRect(),w=c[2].getBoundingClientRect(),b=d.parentNode,T=!a&&f(r),E=new v((y.left-x.left)/100,(y.top-x.top)/100,(w.left-x.left)/100,(w.top-x.top)/100,x.left+(T?0:t.pageXOffset||e.scrollLeft||o.scrollLeft||n.scrollLeft||0),x.top+(T?0:t.pageYOffset||e.scrollTop||o.scrollTop||n.scrollTop||0));if(b.removeChild(d),s)for(x=s.length;x--;)y=s[x],y.scaleX=y.scaleY=0,y.renderTransform(1,y);return i?E.inverse():E}let b,T,E,M,X,S,Y,k,D,C,L,N,P,O,R,_,A,B,I,H,F,W,z=0,V=()=>"undefined"!=typeof window,K=()=>b||V()&&(b=window.gsap)&&b.registerPlugin&&b,G=e=>"function"==typeof e,U=e=>"object"==typeof e,q=e=>void 0===e,$=()=>!1,j="transform",Z="transformOrigin",J=e=>Math.round(1e4*e)/1e4,Q=Array.isArray,ee=(e,t)=>{let o=E.createElementNS?E.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):E.createElement(e);return o.style?o:E.createElement(e)},te=180/Math.PI,oe=1e20,ne=new v,re=Date.now||(()=>(new Date).getTime()),ie=[],le={},ae=0,se=/^(?:a|input|textarea|button|select)$/i,ce=0,de={},pe={},he=(e,t)=>{let o,n={};for(o in e)n[o]=t?e[o]*t:e[o];return n},ge=(e,t)=>{let o,n=e.length;for(;n--;)t?e[n].style.touchAction=t:e[n].style.removeProperty("touch-action"),o=e[n].children,o&&o.length&&ge(o,t)},ue=()=>ie.forEach(e=>e()),fe=()=>!ie.length&&b.ticker.remove(ue),xe=e=>{let t=ie.length;for(;t--;)ie[t]===e&&ie.splice(t,1);b.to(fe,{overwrite:!0,delay:15,duration:0,onComplete:fe,data:"_draggable"})},me=(e,t,o,n)=>{if(e.addEventListener){let r=P[t];n=n||(L?{passive:!1}:null),e.addEventListener(r||t,o,n),r&&t!==r&&e.addEventListener(t,o,n)}},ye=(e,t,o,n)=>{if(e.removeEventListener){let r=P[t];e.removeEventListener(r||t,o,n),r&&t!==r&&e.removeEventListener(t,o,n)}},ve=e=>{e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation()},we=e=>{O=e.touches&&z<e.touches.length,ye(e.target,"touchend",we)},be=e=>{O=e.touches&&z<e.touches.length,me(e.target,"touchend",we)},Te=e=>T.pageYOffset||e.scrollTop||e.documentElement.scrollTop||e.body.scrollTop||0,Ee=e=>T.pageXOffset||e.scrollLeft||e.documentElement.scrollLeft||e.body.scrollLeft||0,Me=(e,t)=>{me(e,"scroll",t),Se(e.parentNode)||Me(e.parentNode,t)},Xe=(e,t)=>{ye(e,"scroll",t),Se(e.parentNode)||Xe(e.parentNode,t)},Se=e=>!(e&&e!==M&&9!==e.nodeType&&e!==E.body&&e!==T&&e.nodeType&&e.parentNode),Ye=(e,t)=>{let o="x"===t?"Width":"Height",n="scroll"+o,r="client"+o;return Math.max(0,Se(e)?Math.max(M[n],X[n])-(T["inner"+o]||M[r]||X[r]):e[n]-e[r])},ke=(e,t)=>{let o=Ye(e,"x"),n=Ye(e,"y");Se(e)?e=pe:ke(e.parentNode,t),e._gsMaxScrollX=o,e._gsMaxScrollY=n,t||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)},De=(e,t,o)=>{let n=e.style;n&&(q(n[t])&&(t=D(t,e)||t),null==o?n.removeProperty&&n.removeProperty(t.replace(/([A-Z])/g,"-$1").toLowerCase()):n[t]=o)},Ce=e=>T.getComputedStyle(e instanceof Element?e:e.host||(e.parentNode||{}).host||e),Le={},Ne=e=>{if(e===T)return Le.left=Le.top=0,Le.width=Le.right=M.clientWidth||e.innerWidth||X.clientWidth||0,Le.height=Le.bottom=(e.innerHeight||0)-20<M.clientHeight?M.clientHeight:e.innerHeight||X.clientHeight||0,Le;let t=e.ownerDocument||E,o=q(e.pageX)?e.nodeType||q(e.left)||q(e.top)?C(e)[0].getBoundingClientRect():e:{left:e.pageX-Ee(t),top:e.pageY-Te(t),right:e.pageX-Ee(t)+1,bottom:e.pageY-Te(t)+1};return q(o.right)&&!q(o.width)?(o.right=o.left+o.width,o.bottom=o.top+o.height):q(o.width)&&(o={width:o.right-o.left,height:o.bottom-o.top,right:o.right,left:o.left,bottom:o.bottom,top:o.top}),o},Pe=(e,t,o)=>{let n,r=e.vars,i=r[o],l=e._listeners[t];return G(i)&&(n=i.apply(r.callbackScope||e,r[o+"Params"]||[e.pointerEvent])),l&&!1===e.dispatchEvent(t)&&(n=!1),n},Oe=(e,t)=>{let o,n,r,i=C(e)[0];return i.nodeType||i===T?_e(i,t):q(e.left)?(n=e.min||e.minX||e.minRotation||0,o=e.min||e.minY||0,{left:n,top:o,width:(e.max||e.maxX||e.maxRotation||0)-n,height:(e.max||e.maxY||0)-o}):(r={x:0,y:0},{left:e.left-r.x,top:e.top-r.y,width:e.width,height:e.height})},Re={},_e=(e,t)=>{t=C(t)[0];let o,n,r,i,l,a,s,c,d,p,h,g,u,f=e.getBBox&&e.ownerSVGElement,x=e.ownerDocument||E;if(e===T)r=Te(x),o=Ee(x),n=o+(x.documentElement.clientWidth||e.innerWidth||x.body.clientWidth||0),i=r+((e.innerHeight||0)-20<x.documentElement.clientHeight?x.documentElement.clientHeight:e.innerHeight||x.body.clientHeight||0);else{if(t===T||q(t))return e.getBoundingClientRect();o=r=0,f?(p=e.getBBox(),h=p.width,g=p.height):(e.viewBox&&(p=e.viewBox.baseVal)&&(o=p.x||0,r=p.y||0,h=p.width,g=p.height),h||(u=Ce(e),p="border-box"===u.boxSizing,h=(parseFloat(u.width)||e.clientWidth||0)+(p?0:parseFloat(u.borderLeftWidth)+parseFloat(u.borderRightWidth)),g=(parseFloat(u.height)||e.clientHeight||0)+(p?0:parseFloat(u.borderTopWidth)+parseFloat(u.borderBottomWidth)))),n=h,i=g}return e===t?{left:o,top:r,width:n-o,height:i-r}:(l=w(t,!0).multiply(w(e)),a=l.apply({x:o,y:r}),s=l.apply({x:n,y:r}),c=l.apply({x:n,y:i}),d=l.apply({x:o,y:i}),o=Math.min(a.x,s.x,c.x,d.x),r=Math.min(a.y,s.y,c.y,d.y),{left:o,top:r,width:Math.max(a.x,s.x,c.x,d.x)-o,height:Math.max(a.y,s.y,c.y,d.y)-r})},Ae=(e,t,o,n,r,i)=>{let l,a,s,c={};if(t)if(1!==r&&t instanceof Array){if(c.end=l=[],s=t.length,U(t[0]))for(a=0;a<s;a++)l[a]=he(t[a],r);else for(a=0;a<s;a++)l[a]=t[a]*r;o+=1.1,n-=1.1}else G(t)?c.end=o=>{let n,i,l=t.call(e,o);if(1!==r)if(U(l)){for(i in n={},l)n[i]=l[i]*r;l=n}else l*=r;return l}:c.end=t;return(o||0===o)&&(c.max=o),(n||0===n)&&(c.min=n),i&&(c.velocity=0),c},Be=e=>{let t;return!(!e||!e.getAttribute||e===X)&&(!("true"!==(t=e.getAttribute("data-clickable"))&&("false"===t||!e.onclick&&!se.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||Be(e.parentNode))},Ie=(e,t)=>{let o,n=e.length;for(;n--;)o=e[n],o.ondragstart=o.onselectstart=t?null:$,b.set(o,{lazy:!0,userSelect:t?"text":"none"})},He=e=>"fixed"===Ce(e).position||((e=e.parentNode)&&1===e.nodeType?He(e):void 0),Fe=function(e,t){e=b.utils.toArray(e)[0],t=t||{};let o,n,r,i,l,a,s=document.createElement("div"),c=s.style,d=e.firstChild,p=0,h=0,g=e.scrollTop,u=e.scrollLeft,f=e.scrollWidth,x=e.scrollHeight,m=0,y=0,v=0;F&&!1!==t.force3D?(l="translate3d(",a="px,0px)"):j&&(l="translate(",a="px)"),this.scrollTop=function(e,t){if(!arguments.length)return-this.top();this.top(-e,t)},this.scrollLeft=function(e,t){if(!arguments.length)return-this.left();this.left(-e,t)},this.left=function(o,n){if(!arguments.length)return-(e.scrollLeft+h);let r=e.scrollLeft-u,i=h;if((r>2||r<-2)&&!n)return u=e.scrollLeft,b.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-u),void(t.onKill&&t.onKill());(o=-o)<0?(h=o-.5|0,o=0):o>y?(h=o-y|0,o=y):h=0,(h||i)&&(this._skip||(c[j]=l+-h+"px,"+-p+a),h+m>=0&&(c.paddingRight=h+m+"px")),e.scrollLeft=0|o,u=e.scrollLeft},this.top=function(o,n){if(!arguments.length)return-(e.scrollTop+p);let r=e.scrollTop-g,i=p;if((r>2||r<-2)&&!n)return g=e.scrollTop,b.killTweensOf(this,{top:1,scrollTop:1}),this.top(-g),void(t.onKill&&t.onKill());(o=-o)<0?(p=o-.5|0,o=0):o>v?(p=o-v|0,o=v):p=0,(p||i)&&(this._skip||(c[j]=l+-h+"px,"+-p+a)),e.scrollTop=0|o,g=e.scrollTop},this.maxScrollTop=()=>v,this.maxScrollLeft=()=>y,this.disable=function(){for(d=s.firstChild;d;)i=d.nextSibling,e.appendChild(d),d=i;e===s.parentNode&&e.removeChild(s)},this.enable=function(){if(d=e.firstChild,d!==s){for(;d;)i=d.nextSibling,s.appendChild(d),d=i;e.appendChild(s),this.calibrate()}},this.calibrate=function(t){let i,l,a,d=e.clientWidth===o;g=e.scrollTop,u=e.scrollLeft,d&&e.clientHeight===n&&s.offsetHeight===r&&f===e.scrollWidth&&x===e.scrollHeight&&!t||((p||h)&&(l=this.left(),a=this.top(),this.left(-e.scrollLeft),this.top(-e.scrollTop)),i=Ce(e),d&&!t||(c.display="block",c.width="auto",c.paddingRight="0px",m=Math.max(0,e.scrollWidth-e.clientWidth),m&&(m+=parseFloat(i.paddingLeft)+(W?parseFloat(i.paddingRight):0))),c.display="inline-block",c.position="relative",c.overflow="visible",c.verticalAlign="top",c.boxSizing="content-box",c.width="100%",c.paddingRight=m+"px",W&&(c.paddingBottom=i.paddingBottom),o=e.clientWidth,n=e.clientHeight,f=e.scrollWidth,x=e.scrollHeight,y=e.scrollWidth-o,v=e.scrollHeight-n,r=s.offsetHeight,c.display="block",(l||a)&&(this.left(l),this.top(a)))},this.content=s,this.element=e,this._skip=!1,this.enable()},We=e=>{if(V()&&document.body){let e=window&&window.navigator;T=window,E=document,M=E.documentElement,X=E.body,S=ee("div"),B=!!window.PointerEvent,Y=ee("div"),Y.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",A="grab"===Y.style.cursor?"grab":"move",R=e&&-1!==e.userAgent.toLowerCase().indexOf("android"),N="ontouchstart"in M&&"orientation"in T||e&&(e.MaxTouchPoints>0||e.msMaxTouchPoints>0),W=function(){let e,t=ee("div"),o=ee("div"),n=o.style,r=X;return n.display="inline-block",n.position="relative",t.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",t.appendChild(o),r.appendChild(t),e=o.offsetHeight+18>t.scrollHeight,r.removeChild(t),e}(),P=function(e){let t=e.split(","),o=("onpointerdown"in S?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in S?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":e).split(","),n={},r=4;for(;--r>-1;)n[t[r]]=o[r],n[o[r]]=t[r];try{M.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){L=1}}))}catch(e){}return n}("touchstart,touchmove,touchend,touchcancel"),me(E,"touchcancel",$),me(T,"touchmove",$),X&&X.addEventListener("touchstart",$),me(E,"contextmenu",(function(){for(let e in le)le[e].isPressed&&le[e].endDrag()})),b=k=K()}b?(_=b.plugins.inertia,I=b.core.context||function(){},D=b.utils.checkPrefix,j=D(j),Z=D(Z),C=b.utils.toArray,H=b.core.getStyleSaver,F=!!D("perspective")):e&&console.warn("Please gsap.registerPlugin(Draggable)")};class ze extends class{constructor(e){this._listeners={},this.target=e||this}addEventListener(e,t){let o=this._listeners[e]||(this._listeners[e]=[]);~o.indexOf(t)||o.push(t)}removeEventListener(e,t){let o=this._listeners[e],n=o&&o.indexOf(t);n>=0&&o.splice(n,1)}dispatchEvent(e){let t;return(this._listeners[e]||[]).forEach(o=>!1===o.call(this,{type:e,target:this.target})&&(t=!1)),t}}{constructor(e,t){super(),k||We(1),e=C(e)[0],this.styles=H&&H(e,"transform,left,top"),_||(_=b.plugins.inertia),this.vars=t=he(t||{}),this.target=e,this.x=this.y=this.rotation=0,this.dragResistance=parseFloat(t.dragResistance)||0,this.edgeResistance=isNaN(t.edgeResistance)?1:parseFloat(t.edgeResistance)||0,this.lockAxis=t.lockAxis,this.autoScroll=t.autoScroll||0,this.lockedAxis=null,this.allowEventDefault=!!t.allowEventDefault,b.getProperty(e,"x");let o,n,r,i,l,a,s,c,d,p,h,g,u,f,x,m,y,X,S,D,L,F,W,V,K,$,j,ee,se,fe,we,Ye,Le,_e=(t.type||"x,y").toLowerCase(),Ve=~_e.indexOf("x")||~_e.indexOf("y"),Ke=-1!==_e.indexOf("rotation"),Ge=Ke?"rotation":Ve?"x":"left",Ue=Ve?"y":"top",qe=!(!~_e.indexOf("x")&&!~_e.indexOf("left")&&"scroll"!==_e),$e=!(!~_e.indexOf("y")&&!~_e.indexOf("top")&&"scroll"!==_e),je=t.minimumMovement||2,Ze=this,Je=C(t.trigger||t.handle||e),Qe={},et=0,tt=!1,ot=t.autoScrollMarginTop||40,nt=t.autoScrollMarginRight||40,rt=t.autoScrollMarginBottom||40,it=t.autoScrollMarginLeft||40,lt=t.clickableTest||Be,at=0,st=e._gsap||b.core.getCache(e),ct=He(e),dt=(t,o)=>parseFloat(st.get(e,t,o)),pt=e.ownerDocument||E,ht=e=>(ve(e),e.stopImmediatePropagation&&e.stopImmediatePropagation(),!1),gt=t=>{if(Ze.autoScroll&&Ze.isDragging&&(tt||y)){let t,o,n,r,i,l,a,s,c=e,d=15*Ze.autoScroll;for(tt=!1,pe.scrollTop=null!=T.pageYOffset?T.pageYOffset:null!=pt.documentElement.scrollTop?pt.documentElement.scrollTop:pt.body.scrollTop,pe.scrollLeft=null!=T.pageXOffset?T.pageXOffset:null!=pt.documentElement.scrollLeft?pt.documentElement.scrollLeft:pt.body.scrollLeft,r=Ze.pointerX-pe.scrollLeft,i=Ze.pointerY-pe.scrollTop;c&&!o;)o=Se(c.parentNode),t=o?pe:c.parentNode,n=o?{bottom:Math.max(M.clientHeight,T.innerHeight||0),right:Math.max(M.clientWidth,T.innerWidth||0),left:0,top:0}:t.getBoundingClientRect(),l=a=0,$e&&(s=t._gsMaxScrollY-t.scrollTop,s<0?a=s:i>n.bottom-rt&&s?(tt=!0,a=Math.min(s,d*(1-Math.max(0,n.bottom-i)/rt)|0)):i<n.top+ot&&t.scrollTop&&(tt=!0,a=-Math.min(t.scrollTop,d*(1-Math.max(0,i-n.top)/ot)|0)),a&&(t.scrollTop+=a)),qe&&(s=t._gsMaxScrollX-t.scrollLeft,s<0?l=s:r>n.right-nt&&s?(tt=!0,l=Math.min(s,d*(1-Math.max(0,n.right-r)/nt)|0)):r<n.left+it&&t.scrollLeft&&(tt=!0,l=-Math.min(t.scrollLeft,d*(1-Math.max(0,r-n.left)/it)|0)),l&&(t.scrollLeft+=l)),o&&(l||a)&&(T.scrollTo(t.scrollLeft,t.scrollTop),St(Ze.pointerX+l,Ze.pointerY+a)),c=t}if(y){let{x:o,y:r}=Ze;Ke?(Ze.deltaX=o-parseFloat(st.rotation),Ze.rotation=o,st.rotation=o+"deg",st.renderTransform(1,st)):n?($e&&(Ze.deltaY=r-n.top(),n.top(r)),qe&&(Ze.deltaX=o-n.left(),n.left(o))):Ve?($e&&(Ze.deltaY=r-parseFloat(st.y),st.y=r+"px"),qe&&(Ze.deltaX=o-parseFloat(st.x),st.x=o+"px"),st.renderTransform(1,st)):($e&&(Ze.deltaY=r-parseFloat(e.style.top||0),e.style.top=r+"px"),qe&&(Ze.deltaX=o-parseFloat(e.style.left||0),e.style.left=o+"px")),!c||t||ee||(ee=!0,!1===Pe(Ze,"drag","onDrag")&&(qe&&(Ze.x-=Ze.deltaX),$e&&(Ze.y-=Ze.deltaY),gt(!0)),ee=!1)}y=!1},ut=(t,o)=>{let r,i,{x:l,y:a}=Ze;e._gsap||(st=b.core.getCache(e)),st.uncache&&b.getProperty(e,"x"),Ve?(Ze.x=parseFloat(st.x),Ze.y=parseFloat(st.y)):Ke?Ze.x=Ze.rotation=parseFloat(st.rotation):n?(Ze.y=n.top(),Ze.x=n.left()):(Ze.y=parseFloat(e.style.top||(i=Ce(e))&&i.top)||0,Ze.x=parseFloat(e.style.left||(i||{}).left)||0),(S||D||L)&&!o&&(Ze.isDragging||Ze.isThrowing)&&(L&&(de.x=Ze.x,de.y=Ze.y,r=L(de),r.x!==Ze.x&&(Ze.x=r.x,y=!0),r.y!==Ze.y&&(Ze.y=r.y,y=!0)),S&&(r=S(Ze.x),r!==Ze.x&&(Ze.x=r,Ke&&(Ze.rotation=r),y=!0)),D&&(r=D(Ze.y),r!==Ze.y&&(Ze.y=r),y=!0)),y&&gt(!0),t||(Ze.deltaX=Ze.x-l,Ze.deltaY=Ze.y-a,Pe(Ze,"throwupdate","onThrowUpdate"))},ft=(e,t,o,n)=>(null==t&&(t=-oe),null==o&&(o=oe),G(e)?r=>{let i=Ze.isPressed?1-Ze.edgeResistance:1;return e.call(Ze,(r>o?o+(r-o)*i:r<t?t+(r-t)*i:r)*n)*n}:Q(e)?n=>{let r,i,l=e.length,a=0,s=oe;for(;--l>-1;)r=e[l],i=r-n,i<0&&(i=-i),i<s&&r>=t&&r<=o&&(a=l,s=i);return e[a]}:isNaN(e)?e=>e:()=>e*n),xt=()=>{let o,r,i,l;s=!1,n?(n.calibrate(),Ze.minX=h=-n.maxScrollLeft(),Ze.minY=u=-n.maxScrollTop(),Ze.maxX=p=Ze.maxY=g=0,s=!0):t.bounds&&(o=Oe(t.bounds,e.parentNode),Ke?(Ze.minX=h=o.left,Ze.maxX=p=o.left+o.width,Ze.minY=u=Ze.maxY=g=0):q(t.bounds.maxX)&&q(t.bounds.maxY)?(r=Oe(e,e.parentNode),Ze.minX=h=Math.round(dt(Ge,"px")+o.left-r.left),Ze.minY=u=Math.round(dt(Ue,"px")+o.top-r.top),Ze.maxX=p=Math.round(h+(o.width-r.width)),Ze.maxY=g=Math.round(u+(o.height-r.height))):(o=t.bounds,Ze.minX=h=o.minX,Ze.minY=u=o.minY,Ze.maxX=p=o.maxX,Ze.maxY=g=o.maxY),h>p&&(Ze.minX=p,Ze.maxX=p=h,h=Ze.minX),u>g&&(Ze.minY=g,Ze.maxY=g=u,u=Ze.minY),Ke&&(Ze.minRotation=h,Ze.maxRotation=p),s=!0),t.liveSnap&&(i=!0===t.liveSnap?t.snap||{}:t.liveSnap,l=Q(i)||G(i),Ke?(S=ft(l?i:i.rotation,h,p,1),D=null):i.points?L=((e,t,o,n,r,i,l)=>(i=i&&i<oe?i*i:oe,G(e)?a=>{let s,c,d,p=Ze.isPressed?1-Ze.edgeResistance:1,h=a.x,g=a.y;return a.x=h=h>o?o+(h-o)*p:h<t?t+(h-t)*p:h,a.y=g=g>r?r+(g-r)*p:g<n?n+(g-n)*p:g,s=e.call(Ze,a),s!==a&&(a.x=s.x,a.y=s.y),1!==l&&(a.x*=l,a.y*=l),i<oe&&(c=a.x-h,d=a.y-g,c*c+d*d>i&&(a.x=h,a.y=g)),a}:Q(e)?t=>{let o,n,r,l,a=e.length,s=0,c=oe;for(;--a>-1;)r=e[a],o=r.x-t.x,n=r.y-t.y,l=o*o+n*n,l<c&&(s=a,c=l);return c<=i?e[s]:t}:e=>e))(l?i:i.points,h,p,u,g,i.radius,n?-1:1):(qe&&(S=ft(l?i:i.x||i.left||i.scrollLeft,h,p,n?-1:1)),$e&&(D=ft(l?i:i.y||i.top||i.scrollTop,u,g,n?-1:1))))},mt=()=>{Ze.isThrowing=!1,Pe(Ze,"throwcomplete","onThrowComplete")},yt=()=>{Ze.isThrowing=!1},vt=(o,r)=>{let i,l,a,c;o&&_?(!0===o&&(i=t.snap||t.liveSnap||{},l=Q(i)||G(i),o={resistance:(t.throwResistance||t.resistance||1e3)/(Ke?10:1)},Ke?o.rotation=Ae(Ze,l?i:i.rotation,p,h,1,r):(qe&&(o[Ge]=Ae(Ze,l?i:i.points||i.x||i.left,p,h,n?-1:1,r||"x"===Ze.lockedAxis)),$e&&(o[Ue]=Ae(Ze,l?i:i.points||i.y||i.top,g,u,n?-1:1,r||"y"===Ze.lockedAxis)),(i.points||Q(i)&&U(i[0]))&&(o.linkedProps=Ge+","+Ue,o.radius=i.radius))),Ze.isThrowing=!0,c=isNaN(t.overshootTolerance)?1===t.edgeResistance?0:1-Ze.edgeResistance+.2:t.overshootTolerance,o.duration||(o.duration={max:Math.max(t.minDuration||0,"maxDuration"in t?t.maxDuration:2),min:isNaN(t.minDuration)?0===c||U(o)&&o.resistance>1e3?0:.5:t.minDuration,overshoot:c}),Ze.tween=a=b.to(n||e,{inertia:o,data:"_draggable",onComplete:mt,onInterrupt:yt,onUpdate:t.fastMode?Pe:ut,onUpdateParams:t.fastMode?[Ze,"onthrowupdate","onThrowUpdate"]:i&&i.radius?[!1,!0]:[]}),t.fastMode||(n&&(n._skip=!0),a.render(1e9,!0,!0),ut(!0,!0),Ze.endX=Ze.x,Ze.endY=Ze.y,Ke&&(Ze.endRotation=Ze.x),a.play(0),ut(!0,!0),n&&(n._skip=!1))):s&&Ze.applyBounds()},wt=t=>{let o,n=V;V=w(e.parentNode,!0),t&&Ze.isPressed&&!V.equals(n||new v)&&(o=n.inverse().apply({x:r,y:i}),V.apply(o,o),r=o.x,i=o.y),V.equals(ne)&&(V=null)},bt=()=>{let t,o,c,d=1-Ze.edgeResistance,f=ct?Ee(pt):0,x=ct?Te(pt):0;Ve&&(st.x=dt(Ge,"px")+"px",st.y=dt(Ue,"px")+"px",st.renderTransform()),wt(!1),Re.x=Ze.pointerX-f,Re.y=Ze.pointerY-x,V&&V.apply(Re,Re),r=Re.x,i=Re.y,y&&(St(Ze.pointerX,Ze.pointerY),gt(!0)),Ye=w(e),n?(xt(),a=n.top(),l=n.left()):(Tt()?(ut(!0,!0),xt()):Ze.applyBounds(),Ke?(t=e.ownerSVGElement?[st.xOrigin-e.getBBox().x,st.yOrigin-e.getBBox().y]:(Ce(e)[Z]||"0 0").split(" "),m=Ze.rotationOrigin=w(e).apply({x:parseFloat(t[0])||0,y:parseFloat(t[1])||0}),ut(!0,!0),o=Ze.pointerX-m.x-f,c=m.y-Ze.pointerY+x,l=Ze.x,a=Ze.y=Math.atan2(c,o)*te):(a=dt(Ue,"px"),l=dt(Ge,"px"))),s&&d&&(l>p?l=p+(l-p)/d:l<h&&(l=h-(h-l)/d),Ke||(a>g?a=g+(a-g)/d:a<u&&(a=u-(u-a)/d))),Ze.startX=l=J(l),Ze.startY=a=J(a)},Tt=()=>Ze.tween&&Ze.tween.isActive(),Et=()=>{!Y.parentNode||Tt()||Ze.isDragging||Y.parentNode.removeChild(Y)},Mt=(l,a)=>{let s;if(!o||Ze.isPressed||!l||!("mousedown"!==l.type&&"pointerdown"!==l.type||a)&&re()-at<30&&P[Ze.pointerEvent.type])we&&l&&o&&ve(l);else{if(K=Tt(),Le=!1,Ze.pointerEvent=l,P[l.type]?(W=~l.type.indexOf("touch")?l.currentTarget||l.target:pt,me(W,"touchend",Yt),me(W,"touchmove",Xt),me(W,"touchcancel",Yt),me(pt,"touchstart",be)):(W=null,me(pt,"mousemove",Xt)),j=null,B&&W||(me(pt,"mouseup",Yt),l&&l.target&&me(l.target,"mouseup",Yt)),F=lt.call(Ze,l.target)&&!1===t.dragClickables&&!a,F)return me(l.target,"change",Yt),Pe(Ze,"pressInit","onPressInit"),Pe(Ze,"press","onPress"),Ie(Je,!0),void(we=!1);var p;if($=!(!W||qe===$e||!1===Ze.vars.allowNativeTouchScrolling||Ze.vars.allowContextMenu&&l&&(l.ctrlKey||l.which>2))&&(qe?"y":"x"),we=!$&&!Ze.allowEventDefault,we&&(ve(l),me(T,"touchforcechange",ve)),l.changedTouches?(l=f=l.changedTouches[0],x=l.identifier):l.pointerId?x=l.pointerId:f=x=null,z++,p=gt,ie.push(p),1===ie.length&&b.ticker.add(ue),i=Ze.pointerY=l.pageY,r=Ze.pointerX=l.pageX,Pe(Ze,"pressInit","onPressInit"),($||Ze.autoScroll)&&ke(e.parentNode),!e.parentNode||!Ze.autoScroll||n||Ke||!e.parentNode._gsMaxScrollX||Y.parentNode||e.getBBox||(Y.style.width=e.parentNode.scrollWidth+"px",e.parentNode.appendChild(Y)),bt(),Ze.tween&&Ze.tween.kill(),Ze.isThrowing=!1,b.killTweensOf(n||e,Qe,!0),n&&b.killTweensOf(e,{scrollTo:1},!0),Ze.tween=Ze.lockedAxis=null,(t.zIndexBoost||!Ke&&!n&&!1!==t.zIndexBoost)&&(e.style.zIndex=ze.zIndex++),Ze.isPressed=!0,c=!(!t.onDrag&&!Ze._listeners.drag),d=!(!t.onMove&&!Ze._listeners.move),!1!==t.cursor||t.activeCursor)for(s=Je.length;--s>-1;)b.set(Je[s],{cursor:t.activeCursor||t.cursor||("grab"===A?"grabbing":A)});Pe(Ze,"press","onPress")}},Xt=t=>{let n,l,a,s,c,p,h=t;if(o&&!O&&Ze.isPressed&&t){if(Ze.pointerEvent=t,n=t.changedTouches,n){if((t=n[0])!==f&&t.identifier!==x){for(s=n.length;--s>-1&&(t=n[s]).identifier!==x&&t.target!==e;);if(s<0)return}}else if(t.pointerId&&x&&t.pointerId!==x)return;W&&$&&!j&&(Re.x=t.pageX-(ct?Ee(pt):0),Re.y=t.pageY-(ct?Te(pt):0),V&&V.apply(Re,Re),l=Re.x,a=Re.y,c=Math.abs(l-r),p=Math.abs(a-i),(c!==p&&(c>je||p>je)||R&&$===j)&&(j=c>p&&qe?"x":"y",$&&j!==$&&me(T,"touchforcechange",ve),!1!==Ze.vars.lockAxisOnTouchScroll&&qe&&$e&&(Ze.lockedAxis="x"===j?"y":"x",G(Ze.vars.onLockAxis)&&Ze.vars.onLockAxis.call(Ze,h)),R&&$===j))?Yt(h):(Ze.allowEventDefault||$&&(!j||$===j)||!1===h.cancelable?we&&(we=!1):(ve(h),we=!0),Ze.autoScroll&&(tt=!0),St(t.pageX,t.pageY,d))}else we&&t&&o&&ve(t)},St=(e,t,o)=>{let n,c,d,f,x,v,w=1-Ze.dragResistance,b=1-Ze.edgeResistance,T=Ze.pointerX,E=Ze.pointerY,M=a,X=Ze.x,Y=Ze.y,k=Ze.endX,C=Ze.endY,N=Ze.endRotation,P=y;Ze.pointerX=e,Ze.pointerY=t,ct&&(e-=Ee(pt),t-=Te(pt)),Ke?(f=Math.atan2(m.y-t,e-m.x)*te,x=Ze.y-f,x>180?(a-=360,Ze.y=f):x<-180&&(a+=360,Ze.y=f),Ze.x!==l||Math.abs(a-f)>je?(Ze.y=f,d=l+(a-f)*w):d=l):(V&&(v=e*V.a+t*V.c+V.e,t=e*V.b+t*V.d+V.f,e=v),c=t-i,n=e-r,c<je&&c>-je&&(c=0),n<je&&n>-je&&(n=0),(Ze.lockAxis||Ze.lockedAxis)&&(n||c)&&(v=Ze.lockedAxis,v||(Ze.lockedAxis=v=qe&&Math.abs(n)>Math.abs(c)?"y":$e?"x":null,v&&G(Ze.vars.onLockAxis)&&Ze.vars.onLockAxis.call(Ze,Ze.pointerEvent)),"y"===v?c=0:"x"===v&&(n=0)),d=J(l+n*w),f=J(a+c*w)),(S||D||L)&&(Ze.x!==d||Ze.y!==f&&!Ke)&&(L&&(de.x=d,de.y=f,v=L(de),d=J(v.x),f=J(v.y)),S&&(d=J(S(d))),D&&(f=J(D(f)))),s&&(d>p?d=p+Math.round((d-p)*b):d<h&&(d=h+Math.round((d-h)*b)),Ke||(f>g?f=Math.round(g+(f-g)*b):f<u&&(f=Math.round(u+(f-u)*b)))),(Ze.x!==d||Ze.y!==f&&!Ke)&&(Ke?(Ze.endRotation=Ze.x=Ze.endX=d,y=!0):($e&&(Ze.y=Ze.endY=f,y=!0),qe&&(Ze.x=Ze.endX=d,y=!0)),o&&!1===Pe(Ze,"move","onMove")?(Ze.pointerX=T,Ze.pointerY=E,a=M,Ze.x=X,Ze.y=Y,Ze.endX=k,Ze.endY=C,Ze.endRotation=N,y=P):!Ze.isDragging&&Ze.isPressed&&(Ze.isDragging=Le=!0,Pe(Ze,"dragstart","onDragStart")))},Yt=(n,r)=>{if(!o||!Ze.isPressed||n&&null!=x&&!r&&(n.pointerId&&n.pointerId!==x&&n.target!==e||n.changedTouches&&!((e,t)=>{let o=e.length;for(;o--;)if(e[o].identifier===t)return!0})(n.changedTouches,x)))return void(we&&n&&o&&ve(n));Ze.isPressed=!1;let i,l,a,s,c,d=n,p=Ze.isDragging,h=Ze.vars.allowContextMenu&&n&&(n.ctrlKey||n.which>2),g=b.delayedCall(.001,Et);if(W?(ye(W,"touchend",Yt),ye(W,"touchmove",Xt),ye(W,"touchcancel",Yt),ye(pt,"touchstart",be)):ye(pt,"mousemove",Xt),ye(T,"touchforcechange",ve),B&&W||(ye(pt,"mouseup",Yt),n&&n.target&&ye(n.target,"mouseup",Yt)),y=!1,p&&(et=ce=re(),Ze.isDragging=!1),xe(gt),F&&!h)return n&&(ye(n.target,"change",Yt),Ze.pointerEvent=d),Ie(Je,!1),Pe(Ze,"release","onRelease"),Pe(Ze,"click","onClick"),void(F=!1);for(l=Je.length;--l>-1;)De(Je[l],"cursor",t.cursor||(!1!==t.cursor?A:null));if(z--,n){if(i=n.changedTouches,i&&(n=i[0])!==f&&n.identifier!==x){for(l=i.length;--l>-1&&(n=i[l]).identifier!==x&&n.target!==e;);if(l<0&&!r)return}Ze.pointerEvent=d,Ze.pointerX=n.pageX,Ze.pointerY=n.pageY}return h&&d?(ve(d),we=!0,Pe(Ze,"release","onRelease")):d&&!p?(we=!1,K&&(t.snap||t.bounds)&&vt(t.inertia||t.throwProps),Pe(Ze,"release","onRelease"),R&&"touchmove"===d.type||-1!==d.type.indexOf("cancel")||(Pe(Ze,"click","onClick"),re()-at<300&&Pe(Ze,"doubleclick","onDoubleClick"),s=d.target||e,at=re(),c=()=>{at===se||!Ze.enabled()||Ze.isPressed||d.defaultPrevented||(s.click?s.click():pt.createEvent&&(a=pt.createEvent("MouseEvents"),a.initMouseEvent("click",!0,!0,T,1,Ze.pointerEvent.screenX,Ze.pointerEvent.screenY,Ze.pointerX,Ze.pointerY,!1,!1,!1,!1,0,null),s.dispatchEvent(a)))},R||d.defaultPrevented||b.delayedCall(.05,c))):(vt(t.inertia||t.throwProps),Ze.allowEventDefault||!d||!1===t.dragClickables&&lt.call(Ze,d.target)||!p||$&&(!j||$!==j)||!1===d.cancelable?we=!1:(we=!0,ve(d)),Pe(Ze,"release","onRelease")),Tt()&&g.duration(Ze.tween.duration()),p&&Pe(Ze,"dragend","onDragEnd"),!0},kt=t=>{if(t&&Ze.isDragging&&!n){let o=t.target||e.parentNode,n=o.scrollLeft-o._gsScrollX,l=o.scrollTop-o._gsScrollY;(n||l)&&(V?(r-=n*V.a+l*V.c,i-=l*V.d+n*V.b):(r-=n,i-=l),o._gsScrollX+=n,o._gsScrollY+=l,St(Ze.pointerX,Ze.pointerY))}},Dt=e=>{let t=re(),o=t-at<100,n=t-et<50,r=o&&se===at,i=Ze.pointerEvent&&Ze.pointerEvent.defaultPrevented,l=o&&fe===at,a=e.isTrusted||null==e.isTrusted&&o&&r;if((r||n&&!1!==Ze.vars.suppressClickOnDrag)&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),o&&(!Ze.pointerEvent||!Ze.pointerEvent.defaultPrevented)&&(!r||a&&!l))return a&&r&&(fe=at),void(se=at);(Ze.isPressed||n||o)&&(a&&e.detail&&o&&!i||ve(e)),o||n||Le||(e&&e.target&&(Ze.pointerEvent=e),Pe(Ze,"click","onClick"))},Ct=e=>V?{x:e.x*V.a+e.y*V.c+V.e,y:e.x*V.b+e.y*V.d+V.f}:{x:e.x,y:e.y};X=ze.get(e),X&&X.kill(),this.startDrag=(t,o)=>{let n,l,a,s;Mt(t||Ze.pointerEvent,!0),o&&!Ze.hitTest(t||Ze.pointerEvent)&&(n=Ne(t||Ze.pointerEvent),l=Ne(e),a=Ct({x:n.left+n.width/2,y:n.top+n.height/2}),s=Ct({x:l.left+l.width/2,y:l.top+l.height/2}),r-=a.x-s.x,i-=a.y-s.y),Ze.isDragging||(Ze.isDragging=Le=!0,Pe(Ze,"dragstart","onDragStart"))},this.drag=Xt,this.endDrag=e=>Yt(e||Ze.pointerEvent,!0),this.timeSinceDrag=()=>Ze.isDragging?0:(re()-et)/1e3,this.timeSinceClick=()=>(re()-at)/1e3,this.hitTest=(e,t)=>ze.hitTest(Ze.target,e,t),this.getDirection=(t,o)=>{let n,r,i,s,c,d,p="velocity"===t&&_?t:U(t)&&!Ke?"element":"start";return"element"===p&&(c=Ne(Ze.target),d=Ne(t)),n="start"===p?Ze.x-l:"velocity"===p?_.getVelocity(e,Ge):c.left+c.width/2-(d.left+d.width/2),Ke?n<0?"counter-clockwise":"clockwise":(o=o||2,r="start"===p?Ze.y-a:"velocity"===p?_.getVelocity(e,Ue):c.top+c.height/2-(d.top+d.height/2),i=Math.abs(n/r),s=i<1/o?"":n<0?"left":"right",i<o&&(""!==s&&(s+="-"),s+=r<0?"up":"down"),s)},this.applyBounds=(o,n)=>{let r,i,l,a,c,d;if(o&&t.bounds!==o)return t.bounds=o,Ze.update(!0,n);if(ut(!0),xt(),s&&!Tt()){if(r=Ze.x,i=Ze.y,r>p?r=p:r<h&&(r=h),i>g?i=g:i<u&&(i=u),(Ze.x!==r||Ze.y!==i)&&(l=!0,Ze.x=Ze.endX=r,Ke?Ze.endRotation=r:Ze.y=Ze.endY=i,y=!0,gt(!0),Ze.autoScroll&&!Ze.isDragging))for(ke(e.parentNode),a=e,pe.scrollTop=null!=T.pageYOffset?T.pageYOffset:null!=pt.documentElement.scrollTop?pt.documentElement.scrollTop:pt.body.scrollTop,pe.scrollLeft=null!=T.pageXOffset?T.pageXOffset:null!=pt.documentElement.scrollLeft?pt.documentElement.scrollLeft:pt.body.scrollLeft;a&&!d;)d=Se(a.parentNode),c=d?pe:a.parentNode,$e&&c.scrollTop>c._gsMaxScrollY&&(c.scrollTop=c._gsMaxScrollY),qe&&c.scrollLeft>c._gsMaxScrollX&&(c.scrollLeft=c._gsMaxScrollX),a=c;Ze.isThrowing&&(l||Ze.endX>p||Ze.endX<h||Ze.endY>g||Ze.endY<u)&&vt(t.inertia||t.throwProps,l)}return Ze},this.update=(t,o,n)=>{if(o&&Ze.isPressed){let t=w(e),o=Ye.apply({x:Ze.x-l,y:Ze.y-a}),n=w(e.parentNode,!0);n.apply({x:t.e-o.x,y:t.f-o.y},o),Ze.x-=o.x-n.e,Ze.y-=o.y-n.f,gt(!0),bt()}let{x:r,y:i}=Ze;return wt(!o),t?Ze.applyBounds():(y&&n&&gt(!0),ut(!0)),o&&(St(Ze.pointerX,Ze.pointerY),y&&gt(!0)),Ze.isPressed&&!o&&(qe&&Math.abs(r-Ze.x)>.01||$e&&Math.abs(i-Ze.y)>.01&&!Ke)&&bt(),Ze.autoScroll&&(ke(e.parentNode,Ze.isDragging),tt=Ze.isDragging,gt(!0),Xe(e,kt),Me(e,kt)),Ze},this.enable=r=>{let i,l,a,s={lazy:!0};if(!1!==t.cursor&&(s.cursor=t.cursor||A),b.utils.checkPrefix("touchCallout")&&(s.touchCallout="none"),"soft"!==r){for(ge(Je,qe===$e?"none":t.allowNativeTouchScrolling&&e.scrollHeight===e.clientHeight==(e.scrollWidth===e.clientHeight)||t.allowEventDefault?"manipulation":qe?"pan-y":"pan-x"),l=Je.length;--l>-1;)a=Je[l],B||me(a,"mousedown",Mt),me(a,"touchstart",Mt),me(a,"click",Dt,!0),b.set(a,s),a.getBBox&&a.ownerSVGElement&&qe!==$e&&b.set(a.ownerSVGElement,{touchAction:t.allowNativeTouchScrolling||t.allowEventDefault?"manipulation":qe?"pan-y":"pan-x"}),t.allowContextMenu||me(a,"contextmenu",ht);Ie(Je,!1)}return Me(e,kt),o=!0,_&&"soft"!==r&&_.track(n||e,Ve?"x,y":Ke?"rotation":"top,left"),e._gsDragID=i="d"+ae++,le[i]=Ze,n&&(n.enable(),n.element._gsDragID=i),(t.bounds||Ke)&&bt(),t.bounds&&Ze.applyBounds(),Ze},this.disable=t=>{let r,i=Ze.isDragging,l=Je.length;for(;--l>-1;)De(Je[l],"cursor",null);if("soft"!==t){for(ge(Je,null),l=Je.length;--l>-1;)r=Je[l],De(r,"touchCallout",null),ye(r,"mousedown",Mt),ye(r,"touchstart",Mt),ye(r,"click",Dt,!0),ye(r,"contextmenu",ht);Ie(Je,!0),W&&(ye(W,"touchcancel",Yt),ye(W,"touchend",Yt),ye(W,"touchmove",Xt)),ye(pt,"mouseup",Yt),ye(pt,"mousemove",Xt)}return Xe(e,kt),o=!1,_&&"soft"!==t&&_.untrack(n||e,Ve?"x,y":Ke?"rotation":"top,left"),n&&n.disable(),xe(gt),Ze.isDragging=Ze.isPressed=F=!1,i&&Pe(Ze,"dragend","onDragEnd"),Ze},this.enabled=function(e,t){return arguments.length?e?Ze.enable(t):Ze.disable(t):o},this.kill=function(){return Ze.isThrowing=!1,Ze.tween&&Ze.tween.kill(),Ze.disable(),b.set(Je,{clearProps:"userSelect"}),delete le[e._gsDragID],Ze},this.revert=function(){this.kill(),this.styles&&this.styles.revert()},~_e.indexOf("scroll")&&(n=this.scrollProxy=new Fe(e,((e,t)=>{for(let o in t)o in e||(e[o]=t[o]);return e})({onKill:function(){Ze.isPressed&&Yt(null)}},t)),e.style.overflowY=$e&&!N?"auto":"hidden",e.style.overflowX=qe&&!N?"auto":"hidden",e=n.content),Ke?Qe.rotation=1:(qe&&(Qe[Ge]=1),$e&&(Qe[Ue]=1)),st.force3D=!("force3D"in t)||t.force3D,I(this),this.enable()}static register(e){b=e,We()}static create(e,t){return k||We(!0),C(e).map(e=>new ze(e,t))}static get(e){return le[(C(e)[0]||{})._gsDragID]}static timeSinceDrag(){return(re()-ce)/1e3}static hitTest(e,t,o){if(e===t)return!1;let n,r,i,l=Ne(e),a=Ne(t),{top:s,left:c,right:d,bottom:p,width:h,height:g}=l,u=a.left>d||a.right<c||a.top>p||a.bottom<s;return u||!o?!u:(i=-1!==(o+"").indexOf("%"),o=parseFloat(o)||0,n={left:Math.max(c,a.left),top:Math.max(s,a.top)},n.width=Math.min(d,a.right)-n.left,n.height=Math.min(p,a.bottom)-n.top,!(n.width<0||n.height<0)&&(i?(o*=.01,r=n.width*n.height,r>=h*g*o||r>=a.width*a.height*o):n.width>o&&n.height>o))}}((e,t)=>{for(let o in t)o in e||(e[o]=t[o])})(ze.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),ze.zIndex=1e3,ze.version="3.11.5",K()&&b.registerPlugin(ze);export default ze;export{ze as Draggable};
let e,t,o,n,r,i,l,a,s,c="transform",d=c+"Origin",p=r=>{let i=r.ownerDocument||r;!(c in r.style)&&"msTransform"in r.style&&(c="msTransform",d=c+"Origin");for(;i.parentNode&&(i=i.parentNode););if(t=window,l=new v,i){e=i,o=i.documentElement,n=i.body,a=e.createElementNS("http://www.w3.org/2000/svg","g"),a.style.transform="none";let t=i.createElement("div"),r=i.createElement("div");n.appendChild(t),t.appendChild(r),t.style.position="static",t.style[c]="translate3d(0,0,1px)",s=r.offsetParent!==t,n.removeChild(t)}return i},h=[],g=[],u=e=>e.ownerSVGElement||("svg"===(e.tagName+"").toLowerCase()?e:null),f=e=>"fixed"===t.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?f(e):void 0),x=(t,o)=>{if(t.parentNode&&(e||p(t))){let n=u(t),l=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",a=n?o?"rect":"g":"div",s=2!==o?0:100,c=3===o?100:0,d="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",p=e.createElementNS?e.createElementNS(l.replace(/^https/,"http"),a):e.createElement(a);return o&&(n?(i||(i=x(t)),p.setAttribute("width",.01),p.setAttribute("height",.01),p.setAttribute("transform","translate("+s+","+c+")"),i.appendChild(p)):(r||(r=x(t),r.style.cssText=d),p.style.cssText=d+"width:0.1px;height:0.1px;top:"+c+"px;left:"+s+"px",r.appendChild(p))),p}throw"Need document and parent."},m=(e,o)=>{let n,p,f,m,y,w,b=u(e),T=e===b,E=b?h:g,M=e.parentNode;if(e===t)return e;if(E.length||E.push(x(e,1),x(e,2),x(e,3)),n=b?i:r,b)T?(f=(e=>{let t,o=e.getCTM();return o||(t=e.style[c],e.style[c]="none",e.appendChild(a),o=a.getCTM(),e.removeChild(a),t?e.style[c]=t:e.style.removeProperty(c.replace(/([A-Z])/g,"-$1").toLowerCase())),o||l.clone()})(e),m=-f.e/f.a,y=-f.f/f.d,p=l):e.getBBox?(f=e.getBBox(),p=e.transform?e.transform.baseVal:{},p=p.numberOfItems?p.numberOfItems>1?(e=>{let t=new v,o=0;for(;o<e.numberOfItems;o++)t.multiply(e.getItem(o).matrix);return t})(p):p.getItem(0).matrix:l,m=p.a*f.x+p.c*f.y,y=p.b*f.x+p.d*f.y):(p=new v,m=y=0),o&&"g"===e.tagName.toLowerCase()&&(m=y=0),(T?b:M).appendChild(n),n.setAttribute("transform","matrix("+p.a+","+p.b+","+p.c+","+p.d+","+(p.e+m)+","+(p.f+y)+")");else{if(m=y=0,s)for(p=e.offsetParent,f=e;f&&(f=f.parentNode)&&f!==p&&f.parentNode;)(t.getComputedStyle(f)[c]+"").length>4&&(m=f.offsetLeft,y=f.offsetTop,f=0);if(w=t.getComputedStyle(e),"absolute"!==w.position&&"fixed"!==w.position)for(p=e.offsetParent;M&&M!==p;)m+=M.scrollLeft||0,y+=M.scrollTop||0,M=M.parentNode;f=n.style,f.top=e.offsetTop-y+"px",f.left=e.offsetLeft-m+"px",f[c]=w[c],f[d]=w[d],f.position="fixed"===w.position?"fixed":"absolute",e.parentNode.appendChild(n)}return n},y=(e,t,o,n,r,i,l)=>(e.a=t,e.b=o,e.c=n,e.d=r,e.e=i,e.f=l,e);class v{constructor(e=1,t=0,o=0,n=1,r=0,i=0){y(this,e,t,o,n,r,i)}inverse(){let{a:e,b:t,c:o,d:n,e:r,f:i}=this,l=e*n-t*o||1e-10;return y(this,n/l,-t/l,-o/l,e/l,(o*i-n*r)/l,-(e*i-t*r)/l)}multiply(e){let{a:t,b:o,c:n,d:r,e:i,f:l}=this,a=e.a,s=e.c,c=e.b,d=e.d,p=e.e,h=e.f;return y(this,a*t+c*n,a*o+c*r,s*t+d*n,s*o+d*r,i+p*t+h*n,l+p*o+h*r)}clone(){return new v(this.a,this.b,this.c,this.d,this.e,this.f)}equals(e){let{a:t,b:o,c:n,d:r,e:i,f:l}=this;return t===e.a&&o===e.b&&n===e.c&&r===e.d&&i===e.e&&l===e.f}apply(e,t={}){let{x:o,y:n}=e,{a:r,b:i,c:l,d:a,e:s,f:c}=this;return t.x=o*r+n*l+s||0,t.y=o*i+n*a+c||0,t}}function w(r,i,l,a){if(!r||!r.parentNode||(e||p(r)).documentElement===r)return new v;let s=(e=>{let t,o;for(;e&&e!==n;)o=e._gsap,o&&o.uncache&&o.get(e,"x"),o&&!o.scaleX&&!o.scaleY&&o.renderTransform&&(o.scaleX=o.scaleY=1e-4,o.renderTransform(1,o),t?t.push(o):t=[o]),e=e.parentNode;return t})(r),c=u(r)?h:g,d=m(r,l),x=c[0].getBoundingClientRect(),y=c[1].getBoundingClientRect(),w=c[2].getBoundingClientRect(),b=d.parentNode,T=!a&&f(r),E=new v((y.left-x.left)/100,(y.top-x.top)/100,(w.left-x.left)/100,(w.top-x.top)/100,x.left+(T?0:t.pageXOffset||e.scrollLeft||o.scrollLeft||n.scrollLeft||0),x.top+(T?0:t.pageYOffset||e.scrollTop||o.scrollTop||n.scrollTop||0));if(b.removeChild(d),s)for(x=s.length;x--;)y=s[x],y.scaleX=y.scaleY=0,y.renderTransform(1,y);return i?E.inverse():E}let b,T,E,M,X,S,Y,k,D,C,L,N,P,O,R,_,A,B,I,H,F,W,z=0,V=()=>"undefined"!=typeof window,K=()=>b||V()&&(b=window.gsap)&&b.registerPlugin&&b,G=e=>"function"==typeof e,U=e=>"object"==typeof e,q=e=>void 0===e,$=()=>!1,j="transform",Z="transformOrigin",J=e=>Math.round(1e4*e)/1e4,Q=Array.isArray,ee=(e,t)=>{let o=E.createElementNS?E.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):E.createElement(e);return o.style?o:E.createElement(e)},te=180/Math.PI,oe=1e20,ne=new v,re=Date.now||(()=>(new Date).getTime()),ie=[],le={},ae=0,se=/^(?:a|input|textarea|button|select)$/i,ce=0,de={},pe={},he=(e,t)=>{let o,n={};for(o in e)n[o]=t?e[o]*t:e[o];return n},ge=(e,t)=>{let o,n=e.length;for(;n--;)t?e[n].style.touchAction=t:e[n].style.removeProperty("touch-action"),o=e[n].children,o&&o.length&&ge(o,t)},ue=()=>ie.forEach(e=>e()),fe=()=>!ie.length&&b.ticker.remove(ue),xe=e=>{let t=ie.length;for(;t--;)ie[t]===e&&ie.splice(t,1);b.to(fe,{overwrite:!0,delay:15,duration:0,onComplete:fe,data:"_draggable"})},me=(e,t,o,n)=>{if(e.addEventListener){let r=P[t];n=n||(L?{passive:!1}:null),e.addEventListener(r||t,o,n),r&&t!==r&&e.addEventListener(t,o,n)}},ye=(e,t,o,n)=>{if(e.removeEventListener){let r=P[t];e.removeEventListener(r||t,o,n),r&&t!==r&&e.removeEventListener(t,o,n)}},ve=e=>{e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation()},we=e=>{O=e.touches&&z<e.touches.length,ye(e.target,"touchend",we)},be=e=>{O=e.touches&&z<e.touches.length,me(e.target,"touchend",we)},Te=e=>T.pageYOffset||e.scrollTop||e.documentElement.scrollTop||e.body.scrollTop||0,Ee=e=>T.pageXOffset||e.scrollLeft||e.documentElement.scrollLeft||e.body.scrollLeft||0,Me=(e,t)=>{me(e,"scroll",t),Se(e.parentNode)||Me(e.parentNode,t)},Xe=(e,t)=>{ye(e,"scroll",t),Se(e.parentNode)||Xe(e.parentNode,t)},Se=e=>!(e&&e!==M&&9!==e.nodeType&&e!==E.body&&e!==T&&e.nodeType&&e.parentNode),Ye=(e,t)=>{let o="x"===t?"Width":"Height",n="scroll"+o,r="client"+o;return Math.max(0,Se(e)?Math.max(M[n],X[n])-(T["inner"+o]||M[r]||X[r]):e[n]-e[r])},ke=(e,t)=>{let o=Ye(e,"x"),n=Ye(e,"y");Se(e)?e=pe:ke(e.parentNode,t),e._gsMaxScrollX=o,e._gsMaxScrollY=n,t||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)},De=(e,t,o)=>{let n=e.style;n&&(q(n[t])&&(t=D(t,e)||t),null==o?n.removeProperty&&n.removeProperty(t.replace(/([A-Z])/g,"-$1").toLowerCase()):n[t]=o)},Ce=e=>T.getComputedStyle(e instanceof Element?e:e.host||(e.parentNode||{}).host||e),Le={},Ne=e=>{if(e===T)return Le.left=Le.top=0,Le.width=Le.right=M.clientWidth||e.innerWidth||X.clientWidth||0,Le.height=Le.bottom=(e.innerHeight||0)-20<M.clientHeight?M.clientHeight:e.innerHeight||X.clientHeight||0,Le;let t=e.ownerDocument||E,o=q(e.pageX)?e.nodeType||q(e.left)||q(e.top)?C(e)[0].getBoundingClientRect():e:{left:e.pageX-Ee(t),top:e.pageY-Te(t),right:e.pageX-Ee(t)+1,bottom:e.pageY-Te(t)+1};return q(o.right)&&!q(o.width)?(o.right=o.left+o.width,o.bottom=o.top+o.height):q(o.width)&&(o={width:o.right-o.left,height:o.bottom-o.top,right:o.right,left:o.left,bottom:o.bottom,top:o.top}),o},Pe=(e,t,o)=>{let n,r=e.vars,i=r[o],l=e._listeners[t];return G(i)&&(n=i.apply(r.callbackScope||e,r[o+"Params"]||[e.pointerEvent])),l&&!1===e.dispatchEvent(t)&&(n=!1),n},Oe=(e,t)=>{let o,n,r,i=C(e)[0];return i.nodeType||i===T?_e(i,t):q(e.left)?(n=e.min||e.minX||e.minRotation||0,o=e.min||e.minY||0,{left:n,top:o,width:(e.max||e.maxX||e.maxRotation||0)-n,height:(e.max||e.maxY||0)-o}):(r={x:0,y:0},{left:e.left-r.x,top:e.top-r.y,width:e.width,height:e.height})},Re={},_e=(e,t)=>{t=C(t)[0];let o,n,r,i,l,a,s,c,d,p,h,g,u,f=e.getBBox&&e.ownerSVGElement,x=e.ownerDocument||E;if(e===T)r=Te(x),o=Ee(x),n=o+(x.documentElement.clientWidth||e.innerWidth||x.body.clientWidth||0),i=r+((e.innerHeight||0)-20<x.documentElement.clientHeight?x.documentElement.clientHeight:e.innerHeight||x.body.clientHeight||0);else{if(t===T||q(t))return e.getBoundingClientRect();o=r=0,f?(p=e.getBBox(),h=p.width,g=p.height):(e.viewBox&&(p=e.viewBox.baseVal)&&(o=p.x||0,r=p.y||0,h=p.width,g=p.height),h||(u=Ce(e),p="border-box"===u.boxSizing,h=(parseFloat(u.width)||e.clientWidth||0)+(p?0:parseFloat(u.borderLeftWidth)+parseFloat(u.borderRightWidth)),g=(parseFloat(u.height)||e.clientHeight||0)+(p?0:parseFloat(u.borderTopWidth)+parseFloat(u.borderBottomWidth)))),n=h,i=g}return e===t?{left:o,top:r,width:n-o,height:i-r}:(l=w(t,!0).multiply(w(e)),a=l.apply({x:o,y:r}),s=l.apply({x:n,y:r}),c=l.apply({x:n,y:i}),d=l.apply({x:o,y:i}),o=Math.min(a.x,s.x,c.x,d.x),r=Math.min(a.y,s.y,c.y,d.y),{left:o,top:r,width:Math.max(a.x,s.x,c.x,d.x)-o,height:Math.max(a.y,s.y,c.y,d.y)-r})},Ae=(e,t,o,n,r,i)=>{let l,a,s,c={};if(t)if(1!==r&&t instanceof Array){if(c.end=l=[],s=t.length,U(t[0]))for(a=0;a<s;a++)l[a]=he(t[a],r);else for(a=0;a<s;a++)l[a]=t[a]*r;o+=1.1,n-=1.1}else G(t)?c.end=o=>{let n,i,l=t.call(e,o);if(1!==r)if(U(l)){for(i in n={},l)n[i]=l[i]*r;l=n}else l*=r;return l}:c.end=t;return(o||0===o)&&(c.max=o),(n||0===n)&&(c.min=n),i&&(c.velocity=0),c},Be=e=>{let t;return!(!e||!e.getAttribute||e===X)&&(!("true"!==(t=e.getAttribute("data-clickable"))&&("false"===t||!se.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||Be(e.parentNode))},Ie=(e,t)=>{let o,n=e.length;for(;n--;)o=e[n],o.ondragstart=o.onselectstart=t?null:$,b.set(o,{lazy:!0,userSelect:t?"text":"none"})},He=e=>"fixed"===Ce(e).position||((e=e.parentNode)&&1===e.nodeType?He(e):void 0),Fe=function(e,t){e=b.utils.toArray(e)[0],t=t||{};let o,n,r,i,l,a,s=document.createElement("div"),c=s.style,d=e.firstChild,p=0,h=0,g=e.scrollTop,u=e.scrollLeft,f=e.scrollWidth,x=e.scrollHeight,m=0,y=0,v=0;F&&!1!==t.force3D?(l="translate3d(",a="px,0px)"):j&&(l="translate(",a="px)"),this.scrollTop=function(e,t){if(!arguments.length)return-this.top();this.top(-e,t)},this.scrollLeft=function(e,t){if(!arguments.length)return-this.left();this.left(-e,t)},this.left=function(o,n){if(!arguments.length)return-(e.scrollLeft+h);let r=e.scrollLeft-u,i=h;if((r>2||r<-2)&&!n)return u=e.scrollLeft,b.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-u),void(t.onKill&&t.onKill());(o=-o)<0?(h=o-.5|0,o=0):o>y?(h=o-y|0,o=y):h=0,(h||i)&&(this._skip||(c[j]=l+-h+"px,"+-p+a),h+m>=0&&(c.paddingRight=h+m+"px")),e.scrollLeft=0|o,u=e.scrollLeft},this.top=function(o,n){if(!arguments.length)return-(e.scrollTop+p);let r=e.scrollTop-g,i=p;if((r>2||r<-2)&&!n)return g=e.scrollTop,b.killTweensOf(this,{top:1,scrollTop:1}),this.top(-g),void(t.onKill&&t.onKill());(o=-o)<0?(p=o-.5|0,o=0):o>v?(p=o-v|0,o=v):p=0,(p||i)&&(this._skip||(c[j]=l+-h+"px,"+-p+a)),e.scrollTop=0|o,g=e.scrollTop},this.maxScrollTop=()=>v,this.maxScrollLeft=()=>y,this.disable=function(){for(d=s.firstChild;d;)i=d.nextSibling,e.appendChild(d),d=i;e===s.parentNode&&e.removeChild(s)},this.enable=function(){if(d=e.firstChild,d!==s){for(;d;)i=d.nextSibling,s.appendChild(d),d=i;e.appendChild(s),this.calibrate()}},this.calibrate=function(t){let i,l,a,d=e.clientWidth===o;g=e.scrollTop,u=e.scrollLeft,d&&e.clientHeight===n&&s.offsetHeight===r&&f===e.scrollWidth&&x===e.scrollHeight&&!t||((p||h)&&(l=this.left(),a=this.top(),this.left(-e.scrollLeft),this.top(-e.scrollTop)),i=Ce(e),d&&!t||(c.display="block",c.width="auto",c.paddingRight="0px",m=Math.max(0,e.scrollWidth-e.clientWidth),m&&(m+=parseFloat(i.paddingLeft)+(W?parseFloat(i.paddingRight):0))),c.display="inline-block",c.position="relative",c.overflow="visible",c.verticalAlign="top",c.boxSizing="content-box",c.width="100%",c.paddingRight=m+"px",W&&(c.paddingBottom=i.paddingBottom),o=e.clientWidth,n=e.clientHeight,f=e.scrollWidth,x=e.scrollHeight,y=e.scrollWidth-o,v=e.scrollHeight-n,r=s.offsetHeight,c.display="block",(l||a)&&(this.left(l),this.top(a)))},this.content=s,this.element=e,this._skip=!1,this.enable()},We=e=>{if(V()&&document.body){let e=window&&window.navigator;T=window,E=document,M=E.documentElement,X=E.body,S=ee("div"),B=!!window.PointerEvent,Y=ee("div"),Y.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",A="grab"===Y.style.cursor?"grab":"move",R=e&&-1!==e.userAgent.toLowerCase().indexOf("android"),N="ontouchstart"in M&&"orientation"in T||e&&(e.MaxTouchPoints>0||e.msMaxTouchPoints>0),W=function(){let e,t=ee("div"),o=ee("div"),n=o.style,r=X;return n.display="inline-block",n.position="relative",t.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",t.appendChild(o),r.appendChild(t),e=o.offsetHeight+18>t.scrollHeight,r.removeChild(t),e}(),P=function(e){let t=e.split(","),o=("onpointerdown"in S?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in S?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":e).split(","),n={},r=4;for(;--r>-1;)n[t[r]]=o[r],n[o[r]]=t[r];try{M.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){L=1}}))}catch(e){}return n}("touchstart,touchmove,touchend,touchcancel"),me(E,"touchcancel",$),me(T,"touchmove",$),X&&X.addEventListener("touchstart",$),me(E,"contextmenu",(function(){for(let e in le)le[e].isPressed&&le[e].endDrag()})),b=k=K()}b?(_=b.plugins.inertia,I=b.core.context||function(){},D=b.utils.checkPrefix,j=D(j),Z=D(Z),C=b.utils.toArray,H=b.core.getStyleSaver,F=!!D("perspective")):e&&console.warn("Please gsap.registerPlugin(Draggable)")};class ze extends class{constructor(e){this._listeners={},this.target=e||this}addEventListener(e,t){let o=this._listeners[e]||(this._listeners[e]=[]);~o.indexOf(t)||o.push(t)}removeEventListener(e,t){let o=this._listeners[e],n=o&&o.indexOf(t);n>=0&&o.splice(n,1)}dispatchEvent(e){let t;return(this._listeners[e]||[]).forEach(o=>!1===o.call(this,{type:e,target:this.target})&&(t=!1)),t}}{constructor(e,t){super(),k||We(1),e=C(e)[0],this.styles=H&&H(e,"transform,left,top"),_||(_=b.plugins.inertia),this.vars=t=he(t||{}),this.target=e,this.x=this.y=this.rotation=0,this.dragResistance=parseFloat(t.dragResistance)||0,this.edgeResistance=isNaN(t.edgeResistance)?1:parseFloat(t.edgeResistance)||0,this.lockAxis=t.lockAxis,this.autoScroll=t.autoScroll||0,this.lockedAxis=null,this.allowEventDefault=!!t.allowEventDefault,b.getProperty(e,"x");let o,n,r,i,l,a,s,c,d,p,h,g,u,f,x,m,y,X,S,D,L,F,W,V,K,$,j,ee,se,fe,we,Ye,Le,_e=(t.type||"x,y").toLowerCase(),Ve=~_e.indexOf("x")||~_e.indexOf("y"),Ke=-1!==_e.indexOf("rotation"),Ge=Ke?"rotation":Ve?"x":"left",Ue=Ve?"y":"top",qe=!(!~_e.indexOf("x")&&!~_e.indexOf("left")&&"scroll"!==_e),$e=!(!~_e.indexOf("y")&&!~_e.indexOf("top")&&"scroll"!==_e),je=t.minimumMovement||2,Ze=this,Je=C(t.trigger||t.handle||e),Qe={},et=0,tt=!1,ot=t.autoScrollMarginTop||40,nt=t.autoScrollMarginRight||40,rt=t.autoScrollMarginBottom||40,it=t.autoScrollMarginLeft||40,lt=t.clickableTest||Be,at=0,st=e._gsap||b.core.getCache(e),ct=He(e),dt=(t,o)=>parseFloat(st.get(e,t,o)),pt=e.ownerDocument||E,ht=e=>(ve(e),e.stopImmediatePropagation&&e.stopImmediatePropagation(),!1),gt=t=>{if(Ze.autoScroll&&Ze.isDragging&&(tt||y)){let t,o,n,r,i,l,a,s,c=e,d=15*Ze.autoScroll;for(tt=!1,pe.scrollTop=null!=T.pageYOffset?T.pageYOffset:null!=pt.documentElement.scrollTop?pt.documentElement.scrollTop:pt.body.scrollTop,pe.scrollLeft=null!=T.pageXOffset?T.pageXOffset:null!=pt.documentElement.scrollLeft?pt.documentElement.scrollLeft:pt.body.scrollLeft,r=Ze.pointerX-pe.scrollLeft,i=Ze.pointerY-pe.scrollTop;c&&!o;)o=Se(c.parentNode),t=o?pe:c.parentNode,n=o?{bottom:Math.max(M.clientHeight,T.innerHeight||0),right:Math.max(M.clientWidth,T.innerWidth||0),left:0,top:0}:t.getBoundingClientRect(),l=a=0,$e&&(s=t._gsMaxScrollY-t.scrollTop,s<0?a=s:i>n.bottom-rt&&s?(tt=!0,a=Math.min(s,d*(1-Math.max(0,n.bottom-i)/rt)|0)):i<n.top+ot&&t.scrollTop&&(tt=!0,a=-Math.min(t.scrollTop,d*(1-Math.max(0,i-n.top)/ot)|0)),a&&(t.scrollTop+=a)),qe&&(s=t._gsMaxScrollX-t.scrollLeft,s<0?l=s:r>n.right-nt&&s?(tt=!0,l=Math.min(s,d*(1-Math.max(0,n.right-r)/nt)|0)):r<n.left+it&&t.scrollLeft&&(tt=!0,l=-Math.min(t.scrollLeft,d*(1-Math.max(0,r-n.left)/it)|0)),l&&(t.scrollLeft+=l)),o&&(l||a)&&(T.scrollTo(t.scrollLeft,t.scrollTop),St(Ze.pointerX+l,Ze.pointerY+a)),c=t}if(y){let{x:o,y:r}=Ze;Ke?(Ze.deltaX=o-parseFloat(st.rotation),Ze.rotation=o,st.rotation=o+"deg",st.renderTransform(1,st)):n?($e&&(Ze.deltaY=r-n.top(),n.top(r)),qe&&(Ze.deltaX=o-n.left(),n.left(o))):Ve?($e&&(Ze.deltaY=r-parseFloat(st.y),st.y=r+"px"),qe&&(Ze.deltaX=o-parseFloat(st.x),st.x=o+"px"),st.renderTransform(1,st)):($e&&(Ze.deltaY=r-parseFloat(e.style.top||0),e.style.top=r+"px"),qe&&(Ze.deltaX=o-parseFloat(e.style.left||0),e.style.left=o+"px")),!c||t||ee||(ee=!0,!1===Pe(Ze,"drag","onDrag")&&(qe&&(Ze.x-=Ze.deltaX),$e&&(Ze.y-=Ze.deltaY),gt(!0)),ee=!1)}y=!1},ut=(t,o)=>{let r,i,{x:l,y:a}=Ze;e._gsap||(st=b.core.getCache(e)),st.uncache&&b.getProperty(e,"x"),Ve?(Ze.x=parseFloat(st.x),Ze.y=parseFloat(st.y)):Ke?Ze.x=Ze.rotation=parseFloat(st.rotation):n?(Ze.y=n.top(),Ze.x=n.left()):(Ze.y=parseFloat(e.style.top||(i=Ce(e))&&i.top)||0,Ze.x=parseFloat(e.style.left||(i||{}).left)||0),(S||D||L)&&!o&&(Ze.isDragging||Ze.isThrowing)&&(L&&(de.x=Ze.x,de.y=Ze.y,r=L(de),r.x!==Ze.x&&(Ze.x=r.x,y=!0),r.y!==Ze.y&&(Ze.y=r.y,y=!0)),S&&(r=S(Ze.x),r!==Ze.x&&(Ze.x=r,Ke&&(Ze.rotation=r),y=!0)),D&&(r=D(Ze.y),r!==Ze.y&&(Ze.y=r),y=!0)),y&&gt(!0),t||(Ze.deltaX=Ze.x-l,Ze.deltaY=Ze.y-a,Pe(Ze,"throwupdate","onThrowUpdate"))},ft=(e,t,o,n)=>(null==t&&(t=-oe),null==o&&(o=oe),G(e)?r=>{let i=Ze.isPressed?1-Ze.edgeResistance:1;return e.call(Ze,(r>o?o+(r-o)*i:r<t?t+(r-t)*i:r)*n)*n}:Q(e)?n=>{let r,i,l=e.length,a=0,s=oe;for(;--l>-1;)r=e[l],i=r-n,i<0&&(i=-i),i<s&&r>=t&&r<=o&&(a=l,s=i);return e[a]}:isNaN(e)?e=>e:()=>e*n),xt=()=>{let o,r,i,l;s=!1,n?(n.calibrate(),Ze.minX=h=-n.maxScrollLeft(),Ze.minY=u=-n.maxScrollTop(),Ze.maxX=p=Ze.maxY=g=0,s=!0):t.bounds&&(o=Oe(t.bounds,e.parentNode),Ke?(Ze.minX=h=o.left,Ze.maxX=p=o.left+o.width,Ze.minY=u=Ze.maxY=g=0):q(t.bounds.maxX)&&q(t.bounds.maxY)?(r=Oe(e,e.parentNode),Ze.minX=h=Math.round(dt(Ge,"px")+o.left-r.left),Ze.minY=u=Math.round(dt(Ue,"px")+o.top-r.top),Ze.maxX=p=Math.round(h+(o.width-r.width)),Ze.maxY=g=Math.round(u+(o.height-r.height))):(o=t.bounds,Ze.minX=h=o.minX,Ze.minY=u=o.minY,Ze.maxX=p=o.maxX,Ze.maxY=g=o.maxY),h>p&&(Ze.minX=p,Ze.maxX=p=h,h=Ze.minX),u>g&&(Ze.minY=g,Ze.maxY=g=u,u=Ze.minY),Ke&&(Ze.minRotation=h,Ze.maxRotation=p),s=!0),t.liveSnap&&(i=!0===t.liveSnap?t.snap||{}:t.liveSnap,l=Q(i)||G(i),Ke?(S=ft(l?i:i.rotation,h,p,1),D=null):i.points?L=((e,t,o,n,r,i,l)=>(i=i&&i<oe?i*i:oe,G(e)?a=>{let s,c,d,p=Ze.isPressed?1-Ze.edgeResistance:1,h=a.x,g=a.y;return a.x=h=h>o?o+(h-o)*p:h<t?t+(h-t)*p:h,a.y=g=g>r?r+(g-r)*p:g<n?n+(g-n)*p:g,s=e.call(Ze,a),s!==a&&(a.x=s.x,a.y=s.y),1!==l&&(a.x*=l,a.y*=l),i<oe&&(c=a.x-h,d=a.y-g,c*c+d*d>i&&(a.x=h,a.y=g)),a}:Q(e)?t=>{let o,n,r,l,a=e.length,s=0,c=oe;for(;--a>-1;)r=e[a],o=r.x-t.x,n=r.y-t.y,l=o*o+n*n,l<c&&(s=a,c=l);return c<=i?e[s]:t}:e=>e))(l?i:i.points,h,p,u,g,i.radius,n?-1:1):(qe&&(S=ft(l?i:i.x||i.left||i.scrollLeft,h,p,n?-1:1)),$e&&(D=ft(l?i:i.y||i.top||i.scrollTop,u,g,n?-1:1))))},mt=()=>{Ze.isThrowing=!1,Pe(Ze,"throwcomplete","onThrowComplete")},yt=()=>{Ze.isThrowing=!1},vt=(o,r)=>{let i,l,a,c;o&&_?(!0===o&&(i=t.snap||t.liveSnap||{},l=Q(i)||G(i),o={resistance:(t.throwResistance||t.resistance||1e3)/(Ke?10:1)},Ke?o.rotation=Ae(Ze,l?i:i.rotation,p,h,1,r):(qe&&(o[Ge]=Ae(Ze,l?i:i.points||i.x||i.left,p,h,n?-1:1,r||"x"===Ze.lockedAxis)),$e&&(o[Ue]=Ae(Ze,l?i:i.points||i.y||i.top,g,u,n?-1:1,r||"y"===Ze.lockedAxis)),(i.points||Q(i)&&U(i[0]))&&(o.linkedProps=Ge+","+Ue,o.radius=i.radius))),Ze.isThrowing=!0,c=isNaN(t.overshootTolerance)?1===t.edgeResistance?0:1-Ze.edgeResistance+.2:t.overshootTolerance,o.duration||(o.duration={max:Math.max(t.minDuration||0,"maxDuration"in t?t.maxDuration:2),min:isNaN(t.minDuration)?0===c||U(o)&&o.resistance>1e3?0:.5:t.minDuration,overshoot:c}),Ze.tween=a=b.to(n||e,{inertia:o,data:"_draggable",onComplete:mt,onInterrupt:yt,onUpdate:t.fastMode?Pe:ut,onUpdateParams:t.fastMode?[Ze,"onthrowupdate","onThrowUpdate"]:i&&i.radius?[!1,!0]:[]}),t.fastMode||(n&&(n._skip=!0),a.render(1e9,!0,!0),ut(!0,!0),Ze.endX=Ze.x,Ze.endY=Ze.y,Ke&&(Ze.endRotation=Ze.x),a.play(0),ut(!0,!0),n&&(n._skip=!1))):s&&Ze.applyBounds()},wt=t=>{let o,n=V;V=w(e.parentNode,!0),t&&Ze.isPressed&&!V.equals(n||new v)&&(o=n.inverse().apply({x:r,y:i}),V.apply(o,o),r=o.x,i=o.y),V.equals(ne)&&(V=null)},bt=()=>{let t,o,c,d=1-Ze.edgeResistance,f=ct?Ee(pt):0,x=ct?Te(pt):0;Ve&&(st.x=dt(Ge,"px")+"px",st.y=dt(Ue,"px")+"px",st.renderTransform()),wt(!1),Re.x=Ze.pointerX-f,Re.y=Ze.pointerY-x,V&&V.apply(Re,Re),r=Re.x,i=Re.y,y&&(St(Ze.pointerX,Ze.pointerY),gt(!0)),Ye=w(e),n?(xt(),a=n.top(),l=n.left()):(Tt()?(ut(!0,!0),xt()):Ze.applyBounds(),Ke?(t=e.ownerSVGElement?[st.xOrigin-e.getBBox().x,st.yOrigin-e.getBBox().y]:(Ce(e)[Z]||"0 0").split(" "),m=Ze.rotationOrigin=w(e).apply({x:parseFloat(t[0])||0,y:parseFloat(t[1])||0}),ut(!0,!0),o=Ze.pointerX-m.x-f,c=m.y-Ze.pointerY+x,l=Ze.x,a=Ze.y=Math.atan2(c,o)*te):(a=dt(Ue,"px"),l=dt(Ge,"px"))),s&&d&&(l>p?l=p+(l-p)/d:l<h&&(l=h-(h-l)/d),Ke||(a>g?a=g+(a-g)/d:a<u&&(a=u-(u-a)/d))),Ze.startX=l=J(l),Ze.startY=a=J(a)},Tt=()=>Ze.tween&&Ze.tween.isActive(),Et=()=>{!Y.parentNode||Tt()||Ze.isDragging||Y.parentNode.removeChild(Y)},Mt=(l,a)=>{let s;if(!o||Ze.isPressed||!l||!("mousedown"!==l.type&&"pointerdown"!==l.type||a)&&re()-at<30&&P[Ze.pointerEvent.type])we&&l&&o&&ve(l);else{if(K=Tt(),Le=!1,Ze.pointerEvent=l,P[l.type]?(W=~l.type.indexOf("touch")?l.currentTarget||l.target:pt,me(W,"touchend",Yt),me(W,"touchmove",Xt),me(W,"touchcancel",Yt),me(pt,"touchstart",be)):(W=null,me(pt,"mousemove",Xt)),j=null,B&&W||(me(pt,"mouseup",Yt),l&&l.target&&me(l.target,"mouseup",Yt)),F=lt.call(Ze,l.target)&&!1===t.dragClickables&&!a,F)return me(l.target,"change",Yt),Pe(Ze,"pressInit","onPressInit"),Pe(Ze,"press","onPress"),Ie(Je,!0),void(we=!1);var p;if($=!(!W||qe===$e||!1===Ze.vars.allowNativeTouchScrolling||Ze.vars.allowContextMenu&&l&&(l.ctrlKey||l.which>2))&&(qe?"y":"x"),we=!$&&!Ze.allowEventDefault,we&&(ve(l),me(T,"touchforcechange",ve)),l.changedTouches?(l=f=l.changedTouches[0],x=l.identifier):l.pointerId?x=l.pointerId:f=x=null,z++,p=gt,ie.push(p),1===ie.length&&b.ticker.add(ue),i=Ze.pointerY=l.pageY,r=Ze.pointerX=l.pageX,Pe(Ze,"pressInit","onPressInit"),($||Ze.autoScroll)&&ke(e.parentNode),!e.parentNode||!Ze.autoScroll||n||Ke||!e.parentNode._gsMaxScrollX||Y.parentNode||e.getBBox||(Y.style.width=e.parentNode.scrollWidth+"px",e.parentNode.appendChild(Y)),bt(),Ze.tween&&Ze.tween.kill(),Ze.isThrowing=!1,b.killTweensOf(n||e,Qe,!0),n&&b.killTweensOf(e,{scrollTo:1},!0),Ze.tween=Ze.lockedAxis=null,(t.zIndexBoost||!Ke&&!n&&!1!==t.zIndexBoost)&&(e.style.zIndex=ze.zIndex++),Ze.isPressed=!0,c=!(!t.onDrag&&!Ze._listeners.drag),d=!(!t.onMove&&!Ze._listeners.move),!1!==t.cursor||t.activeCursor)for(s=Je.length;--s>-1;)b.set(Je[s],{cursor:t.activeCursor||t.cursor||("grab"===A?"grabbing":A)});Pe(Ze,"press","onPress")}},Xt=t=>{let n,l,a,s,c,p,h=t;if(o&&!O&&Ze.isPressed&&t){if(Ze.pointerEvent=t,n=t.changedTouches,n){if((t=n[0])!==f&&t.identifier!==x){for(s=n.length;--s>-1&&(t=n[s]).identifier!==x&&t.target!==e;);if(s<0)return}}else if(t.pointerId&&x&&t.pointerId!==x)return;W&&$&&!j&&(Re.x=t.pageX-(ct?Ee(pt):0),Re.y=t.pageY-(ct?Te(pt):0),V&&V.apply(Re,Re),l=Re.x,a=Re.y,c=Math.abs(l-r),p=Math.abs(a-i),(c!==p&&(c>je||p>je)||R&&$===j)&&(j=c>p&&qe?"x":"y",$&&j!==$&&me(T,"touchforcechange",ve),!1!==Ze.vars.lockAxisOnTouchScroll&&qe&&$e&&(Ze.lockedAxis="x"===j?"y":"x",G(Ze.vars.onLockAxis)&&Ze.vars.onLockAxis.call(Ze,h)),R&&$===j))?Yt(h):(Ze.allowEventDefault||$&&(!j||$===j)||!1===h.cancelable?we&&(we=!1):(ve(h),we=!0),Ze.autoScroll&&(tt=!0),St(t.pageX,t.pageY,d))}else we&&t&&o&&ve(t)},St=(e,t,o)=>{let n,c,d,f,x,v,w=1-Ze.dragResistance,b=1-Ze.edgeResistance,T=Ze.pointerX,E=Ze.pointerY,M=a,X=Ze.x,Y=Ze.y,k=Ze.endX,C=Ze.endY,N=Ze.endRotation,P=y;Ze.pointerX=e,Ze.pointerY=t,ct&&(e-=Ee(pt),t-=Te(pt)),Ke?(f=Math.atan2(m.y-t,e-m.x)*te,x=Ze.y-f,x>180?(a-=360,Ze.y=f):x<-180&&(a+=360,Ze.y=f),Ze.x!==l||Math.abs(a-f)>je?(Ze.y=f,d=l+(a-f)*w):d=l):(V&&(v=e*V.a+t*V.c+V.e,t=e*V.b+t*V.d+V.f,e=v),c=t-i,n=e-r,c<je&&c>-je&&(c=0),n<je&&n>-je&&(n=0),(Ze.lockAxis||Ze.lockedAxis)&&(n||c)&&(v=Ze.lockedAxis,v||(Ze.lockedAxis=v=qe&&Math.abs(n)>Math.abs(c)?"y":$e?"x":null,v&&G(Ze.vars.onLockAxis)&&Ze.vars.onLockAxis.call(Ze,Ze.pointerEvent)),"y"===v?c=0:"x"===v&&(n=0)),d=J(l+n*w),f=J(a+c*w)),(S||D||L)&&(Ze.x!==d||Ze.y!==f&&!Ke)&&(L&&(de.x=d,de.y=f,v=L(de),d=J(v.x),f=J(v.y)),S&&(d=J(S(d))),D&&(f=J(D(f)))),s&&(d>p?d=p+Math.round((d-p)*b):d<h&&(d=h+Math.round((d-h)*b)),Ke||(f>g?f=Math.round(g+(f-g)*b):f<u&&(f=Math.round(u+(f-u)*b)))),(Ze.x!==d||Ze.y!==f&&!Ke)&&(Ke?(Ze.endRotation=Ze.x=Ze.endX=d,y=!0):($e&&(Ze.y=Ze.endY=f,y=!0),qe&&(Ze.x=Ze.endX=d,y=!0)),o&&!1===Pe(Ze,"move","onMove")?(Ze.pointerX=T,Ze.pointerY=E,a=M,Ze.x=X,Ze.y=Y,Ze.endX=k,Ze.endY=C,Ze.endRotation=N,y=P):!Ze.isDragging&&Ze.isPressed&&(Ze.isDragging=Le=!0,Pe(Ze,"dragstart","onDragStart")))},Yt=(n,r)=>{if(!o||!Ze.isPressed||n&&null!=x&&!r&&(n.pointerId&&n.pointerId!==x&&n.target!==e||n.changedTouches&&!((e,t)=>{let o=e.length;for(;o--;)if(e[o].identifier===t)return!0})(n.changedTouches,x)))return void(we&&n&&o&&ve(n));Ze.isPressed=!1;let i,l,a,s,c,d=n,p=Ze.isDragging,h=Ze.vars.allowContextMenu&&n&&(n.ctrlKey||n.which>2),g=b.delayedCall(.001,Et);if(W?(ye(W,"touchend",Yt),ye(W,"touchmove",Xt),ye(W,"touchcancel",Yt),ye(pt,"touchstart",be)):ye(pt,"mousemove",Xt),ye(T,"touchforcechange",ve),B&&W||(ye(pt,"mouseup",Yt),n&&n.target&&ye(n.target,"mouseup",Yt)),y=!1,p&&(et=ce=re(),Ze.isDragging=!1),xe(gt),F&&!h)return n&&(ye(n.target,"change",Yt),Ze.pointerEvent=d),Ie(Je,!1),Pe(Ze,"release","onRelease"),Pe(Ze,"click","onClick"),void(F=!1);for(l=Je.length;--l>-1;)De(Je[l],"cursor",t.cursor||(!1!==t.cursor?A:null));if(z--,n){if(i=n.changedTouches,i&&(n=i[0])!==f&&n.identifier!==x){for(l=i.length;--l>-1&&(n=i[l]).identifier!==x&&n.target!==e;);if(l<0&&!r)return}Ze.pointerEvent=d,Ze.pointerX=n.pageX,Ze.pointerY=n.pageY}return h&&d?(ve(d),we=!0,Pe(Ze,"release","onRelease")):d&&!p?(we=!1,K&&(t.snap||t.bounds)&&vt(t.inertia||t.throwProps),Pe(Ze,"release","onRelease"),R&&"touchmove"===d.type||-1!==d.type.indexOf("cancel")||(Pe(Ze,"click","onClick"),re()-at<300&&Pe(Ze,"doubleclick","onDoubleClick"),s=d.target||e,at=re(),c=()=>{at===se||!Ze.enabled()||Ze.isPressed||d.defaultPrevented||(s.click?s.click():pt.createEvent&&(a=pt.createEvent("MouseEvents"),a.initMouseEvent("click",!0,!0,T,1,Ze.pointerEvent.screenX,Ze.pointerEvent.screenY,Ze.pointerX,Ze.pointerY,!1,!1,!1,!1,0,null),s.dispatchEvent(a)))},R||d.defaultPrevented||b.delayedCall(.05,c))):(vt(t.inertia||t.throwProps),Ze.allowEventDefault||!d||!1===t.dragClickables&&lt.call(Ze,d.target)||!p||$&&(!j||$!==j)||!1===d.cancelable?we=!1:(we=!0,ve(d)),Pe(Ze,"release","onRelease")),Tt()&&g.duration(Ze.tween.duration()),p&&Pe(Ze,"dragend","onDragEnd"),!0},kt=t=>{if(t&&Ze.isDragging&&!n){let o=t.target||e.parentNode,n=o.scrollLeft-o._gsScrollX,l=o.scrollTop-o._gsScrollY;(n||l)&&(V?(r-=n*V.a+l*V.c,i-=l*V.d+n*V.b):(r-=n,i-=l),o._gsScrollX+=n,o._gsScrollY+=l,St(Ze.pointerX,Ze.pointerY))}},Dt=e=>{let t=re(),o=t-at<100,n=t-et<50,r=o&&se===at,i=Ze.pointerEvent&&Ze.pointerEvent.defaultPrevented,l=o&&fe===at,a=e.isTrusted||null==e.isTrusted&&o&&r;if((r||n&&!1!==Ze.vars.suppressClickOnDrag)&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),o&&(!Ze.pointerEvent||!Ze.pointerEvent.defaultPrevented)&&(!r||a&&!l))return a&&r&&(fe=at),void(se=at);(Ze.isPressed||n||o)&&(a&&e.detail&&o&&!i||ve(e)),o||n||Le||(e&&e.target&&(Ze.pointerEvent=e),Pe(Ze,"click","onClick"))},Ct=e=>V?{x:e.x*V.a+e.y*V.c+V.e,y:e.x*V.b+e.y*V.d+V.f}:{x:e.x,y:e.y};X=ze.get(e),X&&X.kill(),this.startDrag=(t,o)=>{let n,l,a,s;Mt(t||Ze.pointerEvent,!0),o&&!Ze.hitTest(t||Ze.pointerEvent)&&(n=Ne(t||Ze.pointerEvent),l=Ne(e),a=Ct({x:n.left+n.width/2,y:n.top+n.height/2}),s=Ct({x:l.left+l.width/2,y:l.top+l.height/2}),r-=a.x-s.x,i-=a.y-s.y),Ze.isDragging||(Ze.isDragging=Le=!0,Pe(Ze,"dragstart","onDragStart"))},this.drag=Xt,this.endDrag=e=>Yt(e||Ze.pointerEvent,!0),this.timeSinceDrag=()=>Ze.isDragging?0:(re()-et)/1e3,this.timeSinceClick=()=>(re()-at)/1e3,this.hitTest=(e,t)=>ze.hitTest(Ze.target,e,t),this.getDirection=(t,o)=>{let n,r,i,s,c,d,p="velocity"===t&&_?t:U(t)&&!Ke?"element":"start";return"element"===p&&(c=Ne(Ze.target),d=Ne(t)),n="start"===p?Ze.x-l:"velocity"===p?_.getVelocity(e,Ge):c.left+c.width/2-(d.left+d.width/2),Ke?n<0?"counter-clockwise":"clockwise":(o=o||2,r="start"===p?Ze.y-a:"velocity"===p?_.getVelocity(e,Ue):c.top+c.height/2-(d.top+d.height/2),i=Math.abs(n/r),s=i<1/o?"":n<0?"left":"right",i<o&&(""!==s&&(s+="-"),s+=r<0?"up":"down"),s)},this.applyBounds=(o,n)=>{let r,i,l,a,c,d;if(o&&t.bounds!==o)return t.bounds=o,Ze.update(!0,n);if(ut(!0),xt(),s&&!Tt()){if(r=Ze.x,i=Ze.y,r>p?r=p:r<h&&(r=h),i>g?i=g:i<u&&(i=u),(Ze.x!==r||Ze.y!==i)&&(l=!0,Ze.x=Ze.endX=r,Ke?Ze.endRotation=r:Ze.y=Ze.endY=i,y=!0,gt(!0),Ze.autoScroll&&!Ze.isDragging))for(ke(e.parentNode),a=e,pe.scrollTop=null!=T.pageYOffset?T.pageYOffset:null!=pt.documentElement.scrollTop?pt.documentElement.scrollTop:pt.body.scrollTop,pe.scrollLeft=null!=T.pageXOffset?T.pageXOffset:null!=pt.documentElement.scrollLeft?pt.documentElement.scrollLeft:pt.body.scrollLeft;a&&!d;)d=Se(a.parentNode),c=d?pe:a.parentNode,$e&&c.scrollTop>c._gsMaxScrollY&&(c.scrollTop=c._gsMaxScrollY),qe&&c.scrollLeft>c._gsMaxScrollX&&(c.scrollLeft=c._gsMaxScrollX),a=c;Ze.isThrowing&&(l||Ze.endX>p||Ze.endX<h||Ze.endY>g||Ze.endY<u)&&vt(t.inertia||t.throwProps,l)}return Ze},this.update=(t,o,n)=>{if(o&&Ze.isPressed){let t=w(e),o=Ye.apply({x:Ze.x-l,y:Ze.y-a}),n=w(e.parentNode,!0);n.apply({x:t.e-o.x,y:t.f-o.y},o),Ze.x-=o.x-n.e,Ze.y-=o.y-n.f,gt(!0),bt()}let{x:r,y:i}=Ze;return wt(!o),t?Ze.applyBounds():(y&&n&&gt(!0),ut(!0)),o&&(St(Ze.pointerX,Ze.pointerY),y&&gt(!0)),Ze.isPressed&&!o&&(qe&&Math.abs(r-Ze.x)>.01||$e&&Math.abs(i-Ze.y)>.01&&!Ke)&&bt(),Ze.autoScroll&&(ke(e.parentNode,Ze.isDragging),tt=Ze.isDragging,gt(!0),Xe(e,kt),Me(e,kt)),Ze},this.enable=r=>{let i,l,a,s={lazy:!0};if(!1!==t.cursor&&(s.cursor=t.cursor||A),b.utils.checkPrefix("touchCallout")&&(s.touchCallout="none"),"soft"!==r){for(ge(Je,qe===$e?"none":t.allowNativeTouchScrolling&&e.scrollHeight===e.clientHeight==(e.scrollWidth===e.clientHeight)||t.allowEventDefault?"manipulation":qe?"pan-y":"pan-x"),l=Je.length;--l>-1;)a=Je[l],B||me(a,"mousedown",Mt),me(a,"touchstart",Mt),me(a,"click",Dt,!0),b.set(a,s),a.getBBox&&a.ownerSVGElement&&qe!==$e&&b.set(a.ownerSVGElement,{touchAction:t.allowNativeTouchScrolling||t.allowEventDefault?"manipulation":qe?"pan-y":"pan-x"}),t.allowContextMenu||me(a,"contextmenu",ht);Ie(Je,!1)}return Me(e,kt),o=!0,_&&"soft"!==r&&_.track(n||e,Ve?"x,y":Ke?"rotation":"top,left"),e._gsDragID=i="d"+ae++,le[i]=Ze,n&&(n.enable(),n.element._gsDragID=i),(t.bounds||Ke)&&bt(),t.bounds&&Ze.applyBounds(),Ze},this.disable=t=>{let r,i=Ze.isDragging,l=Je.length;for(;--l>-1;)De(Je[l],"cursor",null);if("soft"!==t){for(ge(Je,null),l=Je.length;--l>-1;)r=Je[l],De(r,"touchCallout",null),ye(r,"mousedown",Mt),ye(r,"touchstart",Mt),ye(r,"click",Dt,!0),ye(r,"contextmenu",ht);Ie(Je,!0),W&&(ye(W,"touchcancel",Yt),ye(W,"touchend",Yt),ye(W,"touchmove",Xt)),ye(pt,"mouseup",Yt),ye(pt,"mousemove",Xt)}return Xe(e,kt),o=!1,_&&"soft"!==t&&(_.untrack(n||e,Ve?"x,y":Ke?"rotation":"top,left"),Ze.tween&&Ze.kill()),n&&n.disable(),xe(gt),Ze.isDragging=Ze.isPressed=F=!1,i&&Pe(Ze,"dragend","onDragEnd"),Ze},this.enabled=function(e,t){return arguments.length?e?Ze.enable(t):Ze.disable(t):o},this.kill=function(){return Ze.isThrowing=!1,Ze.tween&&Ze.tween.kill(),Ze.disable(),b.set(Je,{clearProps:"userSelect"}),delete le[e._gsDragID],Ze},this.revert=function(){this.kill(),this.styles&&this.styles.revert()},~_e.indexOf("scroll")&&(n=this.scrollProxy=new Fe(e,((e,t)=>{for(let o in t)o in e||(e[o]=t[o]);return e})({onKill:function(){Ze.isPressed&&Yt(null)}},t)),e.style.overflowY=$e&&!N?"auto":"hidden",e.style.overflowX=qe&&!N?"auto":"hidden",e=n.content),Ke?Qe.rotation=1:(qe&&(Qe[Ge]=1),$e&&(Qe[Ue]=1)),st.force3D=!("force3D"in t)||t.force3D,I(this),this.enable()}static register(e){b=e,We()}static create(e,t){return k||We(!0),C(e).map(e=>new ze(e,t))}static get(e){return le[(C(e)[0]||{})._gsDragID]}static timeSinceDrag(){return(re()-ce)/1e3}static hitTest(e,t,o){if(e===t)return!1;let n,r,i,l=Ne(e),a=Ne(t),{top:s,left:c,right:d,bottom:p,width:h,height:g}=l,u=a.left>d||a.right<c||a.top>p||a.bottom<s;return u||!o?!u:(i=-1!==(o+"").indexOf("%"),o=parseFloat(o)||0,n={left:Math.max(c,a.left),top:Math.max(s,a.top)},n.width=Math.min(d,a.right)-n.left,n.height=Math.min(p,a.bottom)-n.top,!(n.width<0||n.height<0)&&(i?(o*=.01,r=n.width*n.height,r>=h*g*o||r>=a.width*a.height*o):n.width>o&&n.height>o))}}((e,t)=>{for(let o in t)o in e||(e[o]=t[o])})(ze.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),ze.zIndex=1e3,ze.version="3.12.0",K()&&b.registerPlugin(ze);export default ze;export{ze as Draggable};
/*!
* DrawSVGPlugin 3.11.5
* DrawSVGPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

let e,t,n,i,r,s,o,a,l=()=>"undefined"!=typeof window,d=()=>e||l()&&(e=window.gsap)&&e.registerPlugin&&e,h=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,f={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},g=e=>Math.round(1e4*e)/1e4,c=e=>parseFloat(e)||0,u=(e,t)=>{let n=c(e);return~e.indexOf("%")?n/100*t:n},w=(e,t)=>c(e.getAttribute(t)),p=Math.sqrt,_=(e,t,n,i,r,s)=>p(((c(n)-c(e))*r)**2+((c(i)-c(t))*s)**2),y=e=>console.warn(e),x=e=>"non-scaling-stroke"===e.getAttribute("vector-effect"),m=function(){return String.fromCharCode.apply(null,arguments)},k=m(103,114,101,101,110,115,111,99,107,46,99,111,109),v=function(e){var t="undefined"!=typeof window,n=0===(t?window.location.href:"").indexOf(m(102,105,108,101,58,47,47))||-1!==e.indexOf(m(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(m(49,50,55,46,48,32,48,46,49)),i=[k,m(99,111,100,101,112,101,110,46,105,111),m(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),m(99,111,100,101,112,101,110,46,100,101,118),m(99,111,100,101,112,101,110,46,97,112,112),m(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),m(112,101,110,115,46,99,108,111,117,100),m(99,115,115,45,116,114,105,99,107,115,46,99,111,109),m(99,100,112,110,46,105,111),m(112,101,110,115,46,105,111),m(103,97,110,110,111,110,46,116,118),m(99,111,100,101,99,97,110,121,111,110,46,110,101,116),m(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),m(99,101,114,101,98,114,97,120,46,99,111,46,117,107),m(116,121,109,112,97,110,117,115,46,110,101,116),m(116,119,101,101,110,109,97,120,46,99,111,109),m(112,108,110,107,114,46,99,111),m(104,111,116,106,97,114,46,99,111,109),m(119,101,98,112,97,99,107,98,105,110,46,99,111,109),m(97,114,99,104,105,118,101,46,111,114,103),m(99,111,100,101,115,97,110,100,98,111,120,46,105,111),m(99,115,98,46,97,112,112),m(115,116,97,99,107,98,108,105,116,122,46,99,111,109),m(115,116,97,99,107,98,108,105,116,122,46,105,111),m(99,111,100,105,101,114,46,105,111),m(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),m(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),m(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),m(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),m(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),m(106,115,102,105,100,100,108,101,46,110,101,116)],r=function(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",r):(document.removeEventListener("readystatechange",r),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(m(37,99,87,97,114,110,105,110,103),m(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(m(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"DrawSVGPlugin"+m(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(m(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),m(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},s=i.length;for(setTimeout(r,50);--s>-1;)if(-1!==e.indexOf(i[s]))return!0;return n||!setTimeout((function(){t&&(window.location.href=m(104,116,116,112,115,58,47,47)+k+m(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=DrawSVGPlugin&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),b=e=>{if(!(e=t(e)[0]))return 0;let n,i,r,o,a,l,d,c=e.tagName.toLowerCase(),u=e.style,m=1,k=1;x(e)&&(k=e.getScreenCTM(),m=p(k.a*k.a+k.b*k.b),k=p(k.d*k.d+k.c*k.c));try{i=e.getBBox()}catch(e){y("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}let{x:v,y:b,width:P,height:S}=i||{x:0,y:0,width:0,height:0};if(i&&(P||S)||!f[c]||(P=w(e,f[c][0]),S=w(e,f[c][1]),"rect"!==c&&"line"!==c&&(P*=2,S*=2),"line"===c&&(v=w(e,"x1"),b=w(e,"y1"),P=Math.abs(P-v),S=Math.abs(S-b))),"path"===c)o=u.strokeDasharray,u.strokeDasharray="none",n=e.getTotalLength()||0,g(m)!==g(k)&&!s&&(s=1)&&y("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),n*=(m+k)/2,u.strokeDasharray=o;else if("rect"===c)n=2*P*m+2*S*k;else if("line"===c)n=_(v,b,v+P,b+S,m,k);else if("polyline"===c||"polygon"===c)for(r=e.getAttribute("points").match(h)||[],"polygon"===c&&r.push(r[0],r[1]),n=0,a=2;a<r.length;a+=2)n+=_(r[a-2],r[a-1],r[a],r[a+1],m,k)||0;else"circle"!==c&&"ellipse"!==c||(l=P/2*m,d=S/2*k,n=Math.PI*(3*(l+d)-p((3*l+d)*(l+3*d))));return n||0},P=(e,i)=>{if(!(e=t(e)[0]))return[0,0];i||(i=b(e)+1);let r=n.getComputedStyle(e),s=r.strokeDasharray||"",o=c(r.strokeDashoffset),a=s.indexOf(",");return a<0&&(a=s.indexOf(" ")),s=a<0?i:c(s.substr(0,a)),s>i&&(s=i),[-o||0,s-o||0]},S=()=>{l()&&(n=window,r=e=d(),t=e.utils.toArray,o=e.core.getStyleSaver,a=e.core.reverting||function(){},i=-1!==((n.navigator||{}).userAgent||"").indexOf("Edge"))};const O={version:"3.11.5",name:"drawSVG",register(t){e=t,S()},init(e,t,s,a,l){if(!e.getBBox)return!1;r||S();let d,h,f,w=b(e);return this.styles=o&&o(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=s,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?-1===(t+"").indexOf(" ")&&(t="0 "+t):t="0 0",d=P(e,w),h=((e,t,n)=>{let i,r,s=e.indexOf(" ");return s<0?(i=void 0!==n?n+"":e,r=e):(i=e.substr(0,s),r=e.substr(s+1)),i=u(i,t),r=u(r,t),i>r?[r,i]:[i,r]})(t,w,d[0]),this._length=g(w),this._dash=g(d[1]-d[0]),this._offset=g(-d[0]),this._dashPT=this.add(this,"_dash",this._dash,g(h[1]-h[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,g(-h[0]),0,0,0,0,0,1),i&&(f=n.getComputedStyle(e),f.strokeLinecap!==f.strokeLinejoin&&(h=c(f.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",h,h+.01))),this._live=x(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),v},render(e,t){if(t.tween._time||!a()){let n,i,r,s,o=t._pt,a=t._style;if(o){for(t._live&&(n=b(t._target),n!==t._length&&(i=n/t._length,t._length=n,t._offsetPT&&(t._offsetPT.s*=i,t._offsetPT.c*=i),t._dashPT?(t._dashPT.s*=i,t._dashPT.c*=i):t._dash*=i));o;)o.r(e,o.d),o=o._next;r=t._dash||(e&&1!==e?1e-4:0),n=t._length-r+.1,s=t._offset,r&&s&&r+Math.abs(s%t._length)>t._length-.2&&(s+=s<0?.1:-.1)&&(n+=.1),a.strokeDashoffset=r?s:s+.001,a.strokeDasharray=n<.2?"none":r?r+"px,"+(t._nowrap?999999:n)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:b,getPosition:P};d()&&e.registerPlugin(O);export default O;export{O as DrawSVGPlugin};
let e,t,n,r,i,s,o,a,l=()=>"undefined"!=typeof window,d=()=>e||l()&&(e=window.gsap)&&e.registerPlugin&&e,h=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,f={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},g=e=>Math.round(1e4*e)/1e4,c=e=>parseFloat(e)||0,u=(e,t)=>{let n=c(e);return~e.indexOf("%")?n/100*t:n},p=(e,t)=>c(e.getAttribute(t)),w=Math.sqrt,y=(e,t,n,r,i,s)=>w(((c(n)-c(e))*i)**2+((c(r)-c(t))*s)**2),_=e=>console.warn(e),x=e=>"non-scaling-stroke"===e.getAttribute("vector-effect"),m=function(){return String.fromCharCode.apply(null,arguments)},k=m(103,114,101,101,110,115,111,99,107,46,99,111,109),v=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,b=function(t){var n="undefined"!=typeof window,r=0===(n?window.location.href:"").indexOf(m(102,105,108,101,58,47,47))||-1!==t.indexOf(m(108,111,99,97,108,104,111,115,116))||v.test(t),i=[k,m(99,111,100,101,112,101,110,46,105,111),m(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),m(99,111,100,101,112,101,110,46,100,101,118),m(99,111,100,101,112,101,110,46,97,112,112),m(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),m(112,101,110,115,46,99,108,111,117,100),m(99,115,115,45,116,114,105,99,107,115,46,99,111,109),m(99,100,112,110,46,105,111),m(112,101,110,115,46,105,111),m(103,97,110,110,111,110,46,116,118),m(99,111,100,101,99,97,110,121,111,110,46,110,101,116),m(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),m(99,101,114,101,98,114,97,120,46,99,111,46,117,107),m(116,121,109,112,97,110,117,115,46,110,101,116),m(116,119,101,101,110,109,97,120,46,99,111,109),m(112,108,110,107,114,46,99,111),m(104,111,116,106,97,114,46,99,111,109),m(119,101,98,112,97,99,107,98,105,110,46,99,111,109),m(97,114,99,104,105,118,101,46,111,114,103),m(99,111,100,101,115,97,110,100,98,111,120,46,105,111),m(99,115,98,46,97,112,112),m(115,116,97,99,107,98,108,105,116,122,46,99,111,109),m(115,116,97,99,107,98,108,105,116,122,46,105,111),m(99,111,100,105,101,114,46,105,111),m(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),m(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),m(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),m(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),m(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),m(106,115,102,105,100,100,108,101,46,110,101,116)],s=function(){if(n)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",s);else{document.removeEventListener("readystatechange",s);var t="object"==typeof e?e:n&&window.gsap;n&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(m(37,99,87,97,114,110,105,110,103),m(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(m(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"DrawSVGPlugin"+m(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(m(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),m(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},o=i.length;for(setTimeout(s,50);--o>-1;)if(-1!==t.indexOf(i[o]))return!0;return r||!setTimeout((function(){n&&(window.location.href=m(104,116,116,112,115,58,47,47)+k+m(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=DrawSVGPlugin&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),P=e=>{if(!(e=t(e)[0]))return 0;let n,r,i,o,a,l,d,c=e.tagName.toLowerCase(),u=e.style,m=1,k=1;x(e)&&(k=e.getScreenCTM(),m=w(k.a*k.a+k.b*k.b),k=w(k.d*k.d+k.c*k.c));try{r=e.getBBox()}catch(e){_("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}let{x:v,y:b,width:P,height:S}=r||{x:0,y:0,width:0,height:0};if(r&&(P||S)||!f[c]||(P=p(e,f[c][0]),S=p(e,f[c][1]),"rect"!==c&&"line"!==c&&(P*=2,S*=2),"line"===c&&(v=p(e,"x1"),b=p(e,"y1"),P=Math.abs(P-v),S=Math.abs(S-b))),"path"===c)o=u.strokeDasharray,u.strokeDasharray="none",n=e.getTotalLength()||0,g(m)!==g(k)&&!s&&(s=1)&&_("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),n*=(m+k)/2,u.strokeDasharray=o;else if("rect"===c)n=2*P*m+2*S*k;else if("line"===c)n=y(v,b,v+P,b+S,m,k);else if("polyline"===c||"polygon"===c)for(i=e.getAttribute("points").match(h)||[],"polygon"===c&&i.push(i[0],i[1]),n=0,a=2;a<i.length;a+=2)n+=y(i[a-2],i[a-1],i[a],i[a+1],m,k)||0;else"circle"!==c&&"ellipse"!==c||(l=P/2*m,d=S/2*k,n=Math.PI*(3*(l+d)-w((3*l+d)*(l+3*d))));return n||0},S=(e,r)=>{if(!(e=t(e)[0]))return[0,0];r||(r=P(e)+1);let i=n.getComputedStyle(e),s=i.strokeDasharray||"",o=c(i.strokeDashoffset),a=s.indexOf(",");return a<0&&(a=s.indexOf(" ")),s=a<0?r:c(s.substr(0,a)),s>r&&(s=r),[-o||0,s-o||0]},T=()=>{l()&&(n=window,i=e=d(),t=e.utils.toArray,o=e.core.getStyleSaver,a=e.core.reverting||function(){},r=-1!==((n.navigator||{}).userAgent||"").indexOf("Edge"))};const D={version:"3.12.0",name:"drawSVG",register(t){e=t,T()},init(e,t,s,a,l){if(!e.getBBox)return!1;i||T();let d,h,f,p=P(e);return this.styles=o&&o(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=s,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?-1===(t+"").indexOf(" ")&&(t="0 "+t):t="0 0",d=S(e,p),h=((e,t,n)=>{let r,i,s=e.indexOf(" ");return s<0?(r=void 0!==n?n+"":e,i=e):(r=e.substr(0,s),i=e.substr(s+1)),r=u(r,t),i=u(i,t),r>i?[i,r]:[r,i]})(t,p,d[0]),this._length=g(p),this._dash=g(d[1]-d[0]),this._offset=g(-d[0]),this._dashPT=this.add(this,"_dash",this._dash,g(h[1]-h[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,g(-h[0]),0,0,0,0,0,1),r&&(f=n.getComputedStyle(e),f.strokeLinecap!==f.strokeLinejoin&&(h=c(f.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",h,h+.01))),this._live=x(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),b},render(e,t){if(t.tween._time||!a()){let n,r,i,s,o=t._pt,a=t._style;if(o){for(t._live&&(n=P(t._target),n!==t._length&&(r=n/t._length,t._length=n,t._offsetPT&&(t._offsetPT.s*=r,t._offsetPT.c*=r),t._dashPT?(t._dashPT.s*=r,t._dashPT.c*=r):t._dash*=r));o;)o.r(e,o.d),o=o._next;i=t._dash||(e&&1!==e?1e-4:0),n=t._length-i+.1,s=t._offset,i&&s&&i+Math.abs(s%t._length)>t._length-.2&&(s+=s<0?.1:-.1)&&(n+=.1),a.strokeDashoffset=i?s:s+.001,a.strokeDasharray=n<.2?"none":i?i+"px,"+(t._nowrap?999999:n)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:P,getPosition:S};d()&&e.registerPlugin(D);export default D;export{D as DrawSVGPlugin};
/*!
* EaselPlugin 3.11.5
* EaselPlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let e,t,r,l,i,s,o="redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier,redOffset,greenOffset,blueOffset,alphaOffset".split(","),n=()=>"undefined"!=typeof window,a=()=>e||n()&&(e=window.gsap)&&e.registerPlugin&&e,u=()=>l||r&&r.createjs||r||{},f=e=>console.warn(e),h=e=>{let t=e.getBounds&&e.getBounds();t||(t=e.nominalBounds||{x:0,y:0,width:100,height:100},e.setBounds&&e.setBounds(t.x,t.y,t.width,t.height)),e.cache&&e.cache(t.x,t.y,t.width,t.height),f("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. "+e)},c=(t,r,l)=>{i||(i=u().ColorFilter,i||f("EaselPlugin error: The EaselJS ColorFilter JavaScript file wasn't loaded."));let s,n,a,c,p,d,g=t.filters||[],b=g.length;for(;b--;)if(g[b]instanceof i){n=g[b];break}if(n||(n=new i,g.push(n),t.filters=g),a=n.clone(),null!=r.tint)s=e.utils.splitColor(r.tint),c=null!=r.tintAmount?+r.tintAmount:1,a.redOffset=+s[0]*c,a.greenOffset=+s[1]*c,a.blueOffset=+s[2]*c,a.redMultiplier=a.greenMultiplier=a.blueMultiplier=1-c;else for(p in r)"exposure"!==p&&"brightness"!==p&&(a[p]=+r[p]);for(null!=r.exposure?(a.redOffset=a.greenOffset=a.blueOffset=255*(+r.exposure-1),a.redMultiplier=a.greenMultiplier=a.blueMultiplier=1):null!=r.brightness&&(c=+r.brightness-1,a.redOffset=a.greenOffset=a.blueOffset=c>0?255*c:0,a.redMultiplier=a.greenMultiplier=a.blueMultiplier=1-Math.abs(c)),b=8;b--;)p=o[b],n[p]!==a[p]&&(d=l.add(n,p,n[p],a[p],0,0,0,0,0,1),d&&(d.op="easel_colorFilter"));l._props.push("easel_colorFilter"),t.cacheID||h(t)},p=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],d=.212671,g=.71516,b=.072169,M=(e,t)=>{if(!(e instanceof Array&&t instanceof Array))return t;let r,l,i=[],s=0,o=0;for(r=0;r<4;r++){for(l=0;l<5;l++)o=4===l?e[s+4]:0,i[s+l]=e[s]*t[l]+e[s+1]*t[l+5]+e[s+2]*t[l+10]+e[s+3]*t[l+15]+o;s+=5}return i},m=(t,r,l)=>{s||(s=u().ColorMatrixFilter,s||f("EaselPlugin: The EaselJS ColorMatrixFilter JavaScript file wasn't loaded."));let i,o,n,a,c=t.filters||[],m=c.length;for(;--m>-1;)if(c[m]instanceof s){n=c[m];break}var x,w;for(n||(n=new s(p.slice()),c.push(n),t.filters=c),o=n.matrix,i=p.slice(),null!=r.colorize&&(i=((t,r,l)=>{isNaN(l)&&(l=1);let i=e.utils.splitColor(r),s=i[0]/255,o=i[1]/255,n=i[2]/255,a=1-l;return M([a+l*s*d,l*s*g,l*s*b,0,0,l*o*d,a+l*o*g,l*o*b,0,0,l*n*d,l*n*g,a+l*n*b,0,0,0,0,0,1,0],t)})(i,r.colorize,Number(r.colorizeAmount))),null!=r.contrast&&(x=i,w=Number(r.contrast),i=isNaN(w)?x:M([w+=.01,0,0,0,128*(1-w),0,w,0,0,128*(1-w),0,0,w,0,128*(1-w),0,0,0,1,0],x)),null!=r.hue&&(i=((e,t)=>{if(isNaN(t))return e;t*=Math.PI/180;let r=Math.cos(t),l=Math.sin(t);return M([d+r*(1-d)+l*-d,g+r*-g+l*-g,b+r*-b+l*(1-b),0,0,d+r*-d+.143*l,g+.28484*r+.14*l,b+r*-b+-.283*l,0,0,d+r*-d+-.787329*l,g+r*-g+l*g,b+r*(1-b)+l*b,0,0,0,0,0,1,0,0,0,0,0,1],e)})(i,Number(r.hue))),null!=r.saturation&&(i=((e,t)=>{if(isNaN(t))return e;let r=1-t,l=r*d,i=r*g,s=r*b;return M([l+t,i,s,0,0,l,i+t,s,0,0,l,i,s+t,0,0,0,0,0,1,0],e)})(i,Number(r.saturation))),m=i.length;--m>-1;)i[m]!==o[m]&&(a=l.add(o,m,o[m],i[m],0,0,0,0,0,1),a&&(a.op="easel_colorMatrixFilter"));l._props.push("easel_colorMatrixFilter"),t.cacheID||h(),l._matrix=o},x=l=>{e=l||a(),n()&&(r=window),e&&(t=1)};const w={version:"3.11.5",name:"easel",init(r,l,i,s,o){let n,a,u,h,p,d,g;for(n in t||(x(),e||f("Please gsap.registerPlugin(EaselPlugin)")),this.target=r,l)if(p=l[n],"colorFilter"===n||"tint"===n||"tintAmount"===n||"exposure"===n||"brightness"===n)u||(c(r,l.colorFilter||l,this),u=!0);else if("saturation"===n||"contrast"===n||"hue"===n||"colorize"===n||"colorizeAmount"===n)h||(m(r,l.colorMatrixFilter||l,this),h=!0);else if("frame"===n){if("string"==typeof p&&"="!==p.charAt(1)&&(d=r.labels))for(g=0;g<d.length;g++)d[g].label===p&&(p=d[g].position);a=this.add(r,"gotoAndStop",r.currentFrame,p,s,o,Math.round,0,0,1),a&&(a.op=n)}else null!=r[n]&&this.add(r,n,"get",p)},render(e,t){let r=t._pt;for(;r;)r.r(e,r.d),r=r._next;t.target.cacheID&&t.target.updateCache()},register:x,registerCreateJS:e=>{l=e}};a()&&e.registerPlugin(w);export default w;export{w as EaselPlugin};
let e,t,r,l,i,s,o="redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier,redOffset,greenOffset,blueOffset,alphaOffset".split(","),n=()=>"undefined"!=typeof window,a=()=>e||n()&&(e=window.gsap)&&e.registerPlugin&&e,u=()=>l||r&&r.createjs||r||{},f=e=>console.warn(e),h=e=>{let t=e.getBounds&&e.getBounds();t||(t=e.nominalBounds||{x:0,y:0,width:100,height:100},e.setBounds&&e.setBounds(t.x,t.y,t.width,t.height)),e.cache&&e.cache(t.x,t.y,t.width,t.height),f("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. "+e)},c=(t,r,l)=>{i||(i=u().ColorFilter,i||f("EaselPlugin error: The EaselJS ColorFilter JavaScript file wasn't loaded."));let s,n,a,c,p,d,g=t.filters||[],b=g.length;for(;b--;)if(g[b]instanceof i){n=g[b];break}if(n||(n=new i,g.push(n),t.filters=g),a=n.clone(),null!=r.tint)s=e.utils.splitColor(r.tint),c=null!=r.tintAmount?+r.tintAmount:1,a.redOffset=+s[0]*c,a.greenOffset=+s[1]*c,a.blueOffset=+s[2]*c,a.redMultiplier=a.greenMultiplier=a.blueMultiplier=1-c;else for(p in r)"exposure"!==p&&"brightness"!==p&&(a[p]=+r[p]);for(null!=r.exposure?(a.redOffset=a.greenOffset=a.blueOffset=255*(+r.exposure-1),a.redMultiplier=a.greenMultiplier=a.blueMultiplier=1):null!=r.brightness&&(c=+r.brightness-1,a.redOffset=a.greenOffset=a.blueOffset=c>0?255*c:0,a.redMultiplier=a.greenMultiplier=a.blueMultiplier=1-Math.abs(c)),b=8;b--;)p=o[b],n[p]!==a[p]&&(d=l.add(n,p,n[p],a[p],0,0,0,0,0,1),d&&(d.op="easel_colorFilter"));l._props.push("easel_colorFilter"),t.cacheID||h(t)},p=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],d=.212671,g=.71516,b=.072169,M=(e,t)=>{if(!(e instanceof Array&&t instanceof Array))return t;let r,l,i=[],s=0,o=0;for(r=0;r<4;r++){for(l=0;l<5;l++)o=4===l?e[s+4]:0,i[s+l]=e[s]*t[l]+e[s+1]*t[l+5]+e[s+2]*t[l+10]+e[s+3]*t[l+15]+o;s+=5}return i},m=(t,r,l)=>{s||(s=u().ColorMatrixFilter,s||f("EaselPlugin: The EaselJS ColorMatrixFilter JavaScript file wasn't loaded."));let i,o,n,a,c=t.filters||[],m=c.length;for(;--m>-1;)if(c[m]instanceof s){n=c[m];break}var x,w;for(n||(n=new s(p.slice()),c.push(n),t.filters=c),o=n.matrix,i=p.slice(),null!=r.colorize&&(i=((t,r,l)=>{isNaN(l)&&(l=1);let i=e.utils.splitColor(r),s=i[0]/255,o=i[1]/255,n=i[2]/255,a=1-l;return M([a+l*s*d,l*s*g,l*s*b,0,0,l*o*d,a+l*o*g,l*o*b,0,0,l*n*d,l*n*g,a+l*n*b,0,0,0,0,0,1,0],t)})(i,r.colorize,Number(r.colorizeAmount))),null!=r.contrast&&(x=i,w=Number(r.contrast),i=isNaN(w)?x:M([w+=.01,0,0,0,128*(1-w),0,w,0,0,128*(1-w),0,0,w,0,128*(1-w),0,0,0,1,0],x)),null!=r.hue&&(i=((e,t)=>{if(isNaN(t))return e;t*=Math.PI/180;let r=Math.cos(t),l=Math.sin(t);return M([d+r*(1-d)+l*-d,g+r*-g+l*-g,b+r*-b+l*(1-b),0,0,d+r*-d+.143*l,g+.28484*r+.14*l,b+r*-b+-.283*l,0,0,d+r*-d+-.787329*l,g+r*-g+l*g,b+r*(1-b)+l*b,0,0,0,0,0,1,0,0,0,0,0,1],e)})(i,Number(r.hue))),null!=r.saturation&&(i=((e,t)=>{if(isNaN(t))return e;let r=1-t,l=r*d,i=r*g,s=r*b;return M([l+t,i,s,0,0,l,i+t,s,0,0,l,i,s+t,0,0,0,0,0,1,0],e)})(i,Number(r.saturation))),m=i.length;--m>-1;)i[m]!==o[m]&&(a=l.add(o,m,o[m],i[m],0,0,0,0,0,1),a&&(a.op="easel_colorMatrixFilter"));l._props.push("easel_colorMatrixFilter"),t.cacheID||h(),l._matrix=o},x=l=>{e=l||a(),n()&&(r=window),e&&(t=1)};const w={version:"3.12.0",name:"easel",init(r,l,i,s,o){let n,a,u,h,p,d,g;for(n in t||(x(),e||f("Please gsap.registerPlugin(EaselPlugin)")),this.target=r,l)if(p=l[n],"colorFilter"===n||"tint"===n||"tintAmount"===n||"exposure"===n||"brightness"===n)u||(c(r,l.colorFilter||l,this),u=!0);else if("saturation"===n||"contrast"===n||"hue"===n||"colorize"===n||"colorizeAmount"===n)h||(m(r,l.colorMatrixFilter||l,this),h=!0);else if("frame"===n){if("string"==typeof p&&"="!==p.charAt(1)&&(d=r.labels))for(g=0;g<d.length;g++)d[g].label===p&&(p=d[g].position);a=this.add(r,"gotoAndStop",r.currentFrame,p,s,o,Math.round,0,0,1),a&&(a.op=n)}else null!=r[n]&&this.add(r,n,"get",p)},render(e,t){let r=t._pt;for(;r;)r.r(e,r.d),r=r._next;t.target.cacheID&&t.target.updateCache()},register:x,registerCreateJS:e=>{l=e}};a()&&e.registerPlugin(w);export default w;export{w as EaselPlugin};
/*!
* EasePack 3.11.5
* EasePack 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let e,t,n=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,o=(e,t)=>!!(void 0===e?t:e&&!~(e+"").indexOf("false")),r=o=>{if(e=o||n(),e){t=e.registerEase;let n,o=e.parseEase(),r=e=>t=>{let n=.5+t/2;e.config=t=>e(2*(1-t)*t*n+t*t)};for(n in o)o[n].config||r(o[n]);for(n in t("slow",p),t("expoScale",f),t("rough",g),c)"version"!==n&&e.core.globals(n,c[n])}},s=(e,t,n)=>{let r=(e=Math.min(1,e||.7))<1?t||0===t?t:.7:0,s=(1-e)/2,i=s+e,a=o(n);return e=>{let t=e+(.5-e)*r;return e<s?a?1-(e=1-e/s)*e:t-(e=1-e/s)*e*e*e*t:e>i?a?1===e?0:1-(e=(e-i)/s)*e:t+(e-t)*(e=(e-i)/s)*e*e*e:a?1:t}},i=(t,n,o)=>{let r=Math.log(n/t),s=n-t;return o&&(o=e.parseEase(o)),e=>(t*Math.exp(r*(o?o(e):e))-t)/s},a=function(e,t,n){this.t=e,this.v=t,n&&(this.next=n,n.prev=this,this.c=n.v-t,this.gap=n.t-e)},l=t=>{"object"!=typeof t&&(t={points:+t||20});let n,r,s,i,l,p,f,g=t.taper||"none",c=[],h=0,u=0|(+t.points||20),x=u,d=o(t.randomize,!0),v=o(t.clamp),w=e?e.parseEase(t.template):0,E=.4*(+t.strength||1);for(;--x>-1;)n=d?Math.random():1/u*x,r=w?w(n):n,"none"===g?s=E:"out"===g?(i=1-n,s=i*i*E):"in"===g?s=n*n*E:n<.5?(i=2*n,s=i*i*.5*E):(i=2*(1-n),s=i*i*.5*E),d?r+=Math.random()*s-.5*s:x%2?r+=.5*s:r-=.5*s,v&&(r>1?r=1:r<0&&(r=0)),c[h++]={x:n,y:r};for(c.sort((e,t)=>e.x-t.x),p=new a(1,1,null),x=u;x--;)l=c[x],p=new a(l.x,l.y,p);return f=new a(0,0,p.t?p:p.next),e=>{let t=f;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return f=t,t.v+(e-t.t)/t.gap*t.c}};const p=s(.7);p.ease=p,p.config=s;const f=i(1,2);f.config=i;const g=l();g.ease=g,g.config=l;const c={SlowMo:p,RoughEase:g,ExpoScaleEase:f};for(let e in c)c[e].register=r,c[e].version="3.11.5";n()&&e.registerPlugin(p);export default c;export{c as EasePack,f as ExpoScaleEase,g as RoughEase,p as SlowMo};
let e,t,n=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,o=(e,t)=>!!(void 0===e?t:e&&!~(e+"").indexOf("false")),r=o=>{if(e=o||n(),e){t=e.registerEase;let n,o=e.parseEase(),r=e=>t=>{let n=.5+t/2;e.config=t=>e(2*(1-t)*t*n+t*t)};for(n in o)o[n].config||r(o[n]);for(n in t("slow",p),t("expoScale",f),t("rough",g),c)"version"!==n&&e.core.globals(n,c[n])}},s=(e,t,n)=>{let r=(e=Math.min(1,e||.7))<1?t||0===t?t:.7:0,s=(1-e)/2,i=s+e,a=o(n);return e=>{let t=e+(.5-e)*r;return e<s?a?1-(e=1-e/s)*e:t-(e=1-e/s)*e*e*e*t:e>i?a?1===e?0:1-(e=(e-i)/s)*e:t+(e-t)*(e=(e-i)/s)*e*e*e:a?1:t}},i=(t,n,o)=>{let r=Math.log(n/t),s=n-t;return o&&(o=e.parseEase(o)),e=>(t*Math.exp(r*(o?o(e):e))-t)/s},a=function(e,t,n){this.t=e,this.v=t,n&&(this.next=n,n.prev=this,this.c=n.v-t,this.gap=n.t-e)},l=t=>{"object"!=typeof t&&(t={points:+t||20});let n,r,s,i,l,p,f,g=t.taper||"none",c=[],h=0,u=0|(+t.points||20),x=u,d=o(t.randomize,!0),v=o(t.clamp),w=e?e.parseEase(t.template):0,E=.4*(+t.strength||1);for(;--x>-1;)n=d?Math.random():1/u*x,r=w?w(n):n,"none"===g?s=E:"out"===g?(i=1-n,s=i*i*E):"in"===g?s=n*n*E:n<.5?(i=2*n,s=i*i*.5*E):(i=2*(1-n),s=i*i*.5*E),d?r+=Math.random()*s-.5*s:x%2?r+=.5*s:r-=.5*s,v&&(r>1?r=1:r<0&&(r=0)),c[h++]={x:n,y:r};for(c.sort((e,t)=>e.x-t.x),p=new a(1,1,null),x=u;x--;)l=c[x],p=new a(l.x,l.y,p);return f=new a(0,0,p.t?p:p.next),e=>{let t=f;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return f=t,t.v+(e-t.t)/t.gap*t.c}};const p=s(.7);p.ease=p,p.config=s;const f=i(1,2);f.config=i;const g=l();g.ease=g,g.config=l;const c={SlowMo:p,RoughEase:g,ExpoScaleEase:f};for(let e in c)c[e].register=r,c[e].version="3.12.0";n()&&e.registerPlugin(p);export default c;export{c as EasePack,f as ExpoScaleEase,g as RoughEase,p as SlowMo};
/*!
* Flip 3.11.5
* Flip 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let e,t,i,s,a,n,l,r,o,h="transform",p=h+"Origin",d=a=>{let n=a.ownerDocument||a;!(h in a.style)&&"msTransform"in a.style&&(h="msTransform",p=h+"Origin");for(;n.parentNode&&(n=n.parentNode););if(t=window,l=new S,n){e=n,i=n.documentElement,s=n.body,r=e.createElementNS("http://www.w3.org/2000/svg","g"),r.style.transform="none";let t=n.createElement("div"),a=n.createElement("div");s.appendChild(t),t.appendChild(a),t.style.position="static",t.style[h]="translate3d(0,0,1px)",o=a.offsetParent!==t,s.removeChild(t)}return n},c=[],m=[],f=()=>t.pageYOffset||e.scrollTop||i.scrollTop||s.scrollTop||0,u=()=>t.pageXOffset||e.scrollLeft||i.scrollLeft||s.scrollLeft||0,g=e=>e.ownerSVGElement||("svg"===(e.tagName+"").toLowerCase()?e:null),y=e=>"fixed"===t.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?y(e):void 0),b=(t,i)=>{if(t.parentNode&&(e||d(t))){let s=g(t),l=s?s.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r=s?i?"rect":"g":"div",o=2!==i?0:100,h=3===i?100:0,p="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",d=e.createElementNS?e.createElementNS(l.replace(/^https/,"http"),r):e.createElement(r);return i&&(s?(n||(n=b(t)),d.setAttribute("width",.01),d.setAttribute("height",.01),d.setAttribute("transform","translate("+o+","+h+")"),n.appendChild(d)):(a||(a=b(t),a.style.cssText=p),d.style.cssText=p+"width:0.1px;height:0.1px;top:"+h+"px;left:"+o+"px",a.appendChild(d))),d}throw"Need document and parent."},x=e=>{let t,i=e.getCTM();return i||(t=e.style[h],e.style[h]="none",e.appendChild(r),i=r.getCTM(),e.removeChild(r),t?e.style[h]=t:e.style.removeProperty(h.replace(/([A-Z])/g,"-$1").toLowerCase())),i||l.clone()},w=(e,i)=>{let s,r,d,f,u,y,w=g(e),v=e===w,C=w?c:m,k=e.parentNode;if(e===t)return e;if(C.length||C.push(b(e,1),b(e,2),b(e,3)),s=w?n:a,w)v?(d=x(e),f=-d.e/d.a,u=-d.f/d.d,r=l):e.getBBox?(d=e.getBBox(),r=e.transform?e.transform.baseVal:{},r=r.numberOfItems?r.numberOfItems>1?(e=>{let t=new S,i=0;for(;i<e.numberOfItems;i++)t.multiply(e.getItem(i).matrix);return t})(r):r.getItem(0).matrix:l,f=r.a*d.x+r.c*d.y,u=r.b*d.x+r.d*d.y):(r=new S,f=u=0),i&&"g"===e.tagName.toLowerCase()&&(f=u=0),(v?w:k).appendChild(s),s.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+f)+","+(r.f+u)+")");else{if(f=u=0,o)for(r=e.offsetParent,d=e;d&&(d=d.parentNode)&&d!==r&&d.parentNode;)(t.getComputedStyle(d)[h]+"").length>4&&(f=d.offsetLeft,u=d.offsetTop,d=0);if(y=t.getComputedStyle(e),"absolute"!==y.position&&"fixed"!==y.position)for(r=e.offsetParent;k&&k!==r;)f+=k.scrollLeft||0,u+=k.scrollTop||0,k=k.parentNode;d=s.style,d.top=e.offsetTop-u+"px",d.left=e.offsetLeft-f+"px",d[h]=y[h],d[p]=y[p],d.position="fixed"===y.position?"fixed":"absolute",e.parentNode.appendChild(s)}return s},v=(e,t,i,s,a,n,l)=>(e.a=t,e.b=i,e.c=s,e.d=a,e.e=n,e.f=l,e);class S{constructor(e=1,t=0,i=0,s=1,a=0,n=0){v(this,e,t,i,s,a,n)}inverse(){let{a:e,b:t,c:i,d:s,e:a,f:n}=this,l=e*s-t*i||1e-10;return v(this,s/l,-t/l,-i/l,e/l,(i*n-s*a)/l,-(e*n-t*a)/l)}multiply(e){let{a:t,b:i,c:s,d:a,e:n,f:l}=this,r=e.a,o=e.c,h=e.b,p=e.d,d=e.e,c=e.f;return v(this,r*t+h*s,r*i+h*a,o*t+p*s,o*i+p*a,n+d*t+c*s,l+d*i+c*a)}clone(){return new S(this.a,this.b,this.c,this.d,this.e,this.f)}equals(e){let{a:t,b:i,c:s,d:a,e:n,f:l}=this;return t===e.a&&i===e.b&&s===e.c&&a===e.d&&n===e.e&&l===e.f}apply(e,t={}){let{x:i,y:s}=e,{a:a,b:n,c:l,d:r,e:o,f:h}=this;return t.x=i*a+s*l+o||0,t.y=i*n+s*r+h||0,t}}function C(t,i,a,n){if(!t||!t.parentNode||(e||d(t)).documentElement===t)return new S;let l=(e=>{let t,i;for(;e&&e!==s;)i=e._gsap,i&&i.uncache&&i.get(e,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),t?t.push(i):t=[i]),e=e.parentNode;return t})(t),r=g(t)?c:m,o=w(t,a),h=r[0].getBoundingClientRect(),p=r[1].getBoundingClientRect(),b=r[2].getBoundingClientRect(),x=o.parentNode,v=!n&&y(t),C=new S((p.left-h.left)/100,(p.top-h.top)/100,(b.left-h.left)/100,(b.top-h.top)/100,h.left+(v?0:u()),h.top+(v?0:f()));if(x.removeChild(o),l)for(h=l.length;h--;)p=l[h],p.scaleX=p.scaleY=0,p.renderTransform(1,p);return i?C.inverse():C}let k,V,E,L,_,B,I,P,N=1,T=(e,t)=>e.actions.forEach(e=>e.vars[t]&&e.vars[t](e)),X={},O=180/Math.PI,M=Math.PI/180,Y={},A={},R={},z=e=>"string"==typeof e?e.split(" ").join("").split(","):e,D=z("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),F=z("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),H=e=>k(e)[0]||console.warn("Element not found:",e),W=e=>Math.round(1e4*e)/1e4||0,q=(e,t,i)=>e.forEach(e=>e.classList[i](t)),j={zIndex:1,kill: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,prune:1,absoluteOnLeave:1},J={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},U=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase(),Z=(e,t)=>{let i,s={};for(i in e)t[i]||(s[i]=e[i]);return s},$={},G=e=>{let t=$[e]=z(e);return R[e]=t.concat(F),t},K=(e,t,i=0)=>{let s=e.parentNode,a=1e3*10**i*(t?-1:1),n=t?900*-a:0;for(;e;)n+=a,e=e.previousSibling;return s?n+K(s,t,i+1):n},Q=(e,t,i)=>(e.forEach(e=>e.d=K(i?e.element:e.t,t)),e.sort((e,t)=>e.d-t.d),e),ee=(e,t)=>{let i,s,a=e.element.style,n=e.css=e.css||[],l=t.length;for(;l--;)i=t[l],s=a[i]||a.getPropertyValue(i),n.push(s?i:A[i]||(A[i]=U(i)),s);return a},te=e=>{let t=e.css,i=e.element.style,s=0;for(e.cache.uncache=1;s<t.length;s+=2)t[s+1]?i[t[s]]=t[s+1]:i.removeProperty(t[s]);!t[t.indexOf("transform")+1]&&i.translate&&(i.removeProperty("translate"),i.removeProperty("scale"),i.removeProperty("rotate"))},ie=(e,t)=>{e.forEach(e=>e.a.cache.uncache=1),t||e.finalStates.forEach(te)},se="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),ae=(e,t,i)=>{let s,a,n,{element:l,width:r,height:o,uncache:h,getProp:p}=e,d=l.style,c=4;if("object"!=typeof t&&(t=e),E&&1!==i)return E._abs.push({t:l,b:e,a:e,sd:0}),E._final.push(()=>(e.cache.uncache=1)&&te(e)),l;for(a="none"===p("display"),e.isVisible&&!a||(a&&(ee(e,["display"]).display=t.display),e.matrix=t.matrix,e.width=r=e.width||t.width,e.height=o=e.height||t.height),ee(e,se),n=window.getComputedStyle(l);c--;)d[se[c]]=n[se[c]];if(d.gridArea="1 / 1 / 1 / 1",d.transition="none",d.position="absolute",d.width=r+"px",d.height=o+"px",d.top||(d.top="0px"),d.left||(d.left="0px"),h)s=new Se(l);else if(s=Z(e,Y),s.position="absolute",e.simple){let e=l.getBoundingClientRect();s.matrix=new S(1,0,0,1,e.left+u(),e.top+f())}else s.matrix=C(l,!1,!1,!0);return s=de(s,e,!0),e.x=B(s.x,.01),e.y=B(s.y,.01),l},ne=(e,t)=>(!0!==t&&(t=k(t),e=e.filter(e=>{if(-1!==t.indexOf((e.sd<0?e.b:e.a).element))return!0;e.t._gsap.renderTransform(1),e.b.isVisible&&(e.t.style.width=e.b.width+"px",e.t.style.height=e.b.height+"px")})),e),le=e=>Q(e,!0).forEach(e=>(e.a.isVisible||e.b.isVisible)&&ae(e.sd<0?e.b:e.a,e.b,1)),re=(e,t,i,s)=>e instanceof Se?e:e instanceof ve?((e,t)=>t&&e.idLookup[re(t).id]||e.elementStates[0])(e,s):new Se("string"==typeof e?H(e)||console.warn(e+" not found"):e,t,i),oe=(e,t)=>{let i,s=e.style||e;for(i in t)s[i]=t[i]},he=e=>e.map(e=>e.element),pe=(e,t,i)=>e&&t.length&&i.add(e(he(t),i,new ve(t,0,!0)),0),de=(e,t,i,s,a,n)=>{let l,r,o,h,p,d,c,{element:m,cache:f,parent:u,x:g,y:y}=e,{width:b,height:x,scaleX:w,scaleY:v,rotation:S,bounds:E}=t,L=n&&I&&I(m,"transform"),_=e,{e:P,f:N}=t.matrix,T=e.bounds.width!==E.width||e.bounds.height!==E.height||e.scaleX!==w||e.scaleY!==v||e.rotation!==S,X=!T&&e.simple&&t.simple&&!a;return X||!u?(w=v=1,S=l=0):(p=(e=>{let t=e._gsap||V.core.getCache(e);return t.gmCache===V.ticker.frame?t.gMatrix:(t.gmCache=V.ticker.frame,t.gMatrix=C(e,!0,!1,!0))})(u),d=p.clone().multiply(t.ctm?t.matrix.clone().multiply(t.ctm):t.matrix),S=W(Math.atan2(d.b,d.a)*O),l=W(Math.atan2(d.c,d.d)*O+S)%360,w=Math.sqrt(d.a**2+d.b**2),v=Math.sqrt(d.c**2+d.d**2)*Math.cos(l*M),a&&(a=k(a)[0],h=V.getProperty(a),c=a.getBBox&&"function"==typeof a.getBBox&&a.getBBox(),_={scaleX:h("scaleX"),scaleY:h("scaleY"),width:c?c.width:Math.ceil(parseFloat(h("width","px"))),height:c?c.height:parseFloat(h("height","px"))}),f.rotation=S+"deg",f.skewX=l+"deg"),i?(w*=b!==_.width&&_.width?b/_.width:1,v*=x!==_.height&&_.height?x/_.height:1,f.scaleX=w,f.scaleY=v):(b=B(b*w/_.scaleX,0),x=B(x*v/_.scaleY,0),m.style.width=b+"px",m.style.height=x+"px"),s&&oe(m,t.props),X||!u?(g+=P-e.matrix.e,y+=N-e.matrix.f):T||u!==t.parent?(f.renderTransform(1,f),d=C(a||m,!1,!1,!0),r=p.apply({x:d.e,y:d.f}),o=p.apply({x:P,y:N}),g+=o.x-r.x,y+=o.y-r.y):(p.e=p.f=0,o=p.apply({x:P-e.matrix.e,y:N-e.matrix.f}),g+=o.x,y+=o.y),g=B(g,.02),y=B(y,.02),!n||n instanceof Se?(f.x=g+"px",f.y=y+"px",f.renderTransform(1,f)):L&&L.revert(),n&&(n.x=g,n.y=y,n.rotation=S,n.skewX=l,i?(n.scaleX=w,n.scaleY=v):(n.width=b,n.height=x)),n||f},ce=(e,t)=>e instanceof ve?e:new ve(e,t),me=(e,t,i)=>{let s=e.idLookup[i],a=e.alt[i];return!a.isVisible||(t.getElementState(a.element)||a).isVisible&&s.isVisible?s:a},fe=[],ue="width,height,overflowX,overflowY".split(","),ge=e=>{if(e!==P){let t=_.style,i=_.clientWidth===window.outerWidth,s=_.clientHeight===window.outerHeight,a=4;if(e&&(i||s)){for(;a--;)fe[a]=t[ue[a]];i&&(t.width=_.clientWidth+"px",t.overflowY="hidden"),s&&(t.height=_.clientHeight+"px",t.overflowX="hidden"),P=e}else if(P){for(;a--;)fe[a]?t[ue[a]]=fe[a]:t.removeProperty(U(ue[a]));P=e}}},ye=(e,t,i,s)=>{e instanceof ve&&t instanceof ve||console.warn("Not a valid state object."),i=i||{};let a,n,l,r,o,h,p,d,c,m,f,u,g,y,{clearProps:b,onEnter:x,onLeave:w,absolute:v,absoluteOnLeave:S,custom:k,delay:L,paused:_,repeat:B,repeatDelay:I,yoyo:P,toggleClass:N,nested:T,zIndex:X,scale:O,fade:M,stagger:Y,spin:A,prune:z}=i,H=("props"in i?i:e).props,W=Z(i,j),U=V.timeline({delay:L,paused:_,repeat:B,repeatDelay:I,yoyo:P,data:"isFlip"}),K=W,te=[],se=[],ae=[],re=[],oe=!0===A?1:A||0,he="function"==typeof A?A:()=>oe,ce=e.interrupted||t.interrupted,fe=U[1!==s?"to":"from"];for(n in t.idLookup)f=t.alt[n]?me(t,e,n):t.idLookup[n],o=f.element,m=e.idLookup[n],e.alt[n]&&o===m.element&&(e.alt[n].isVisible||!f.isVisible)&&(m=e.alt[n]),m?(h={t:o,b:m,a:f,sd:m.element===o?0:f.isVisible?1:-1},ae.push(h),h.sd&&(h.sd<0&&(h.b=f,h.a=m),ce&&ee(h.b,H?R[H]:F),M&&ae.push(h.swap={t:m.element,b:h.b,a:h.a,sd:-h.sd,swap:h})),o._flip=m.element._flip=E?E.timeline:U):f.isVisible&&(ae.push({t:o,b:Z(f,{isVisible:1}),a:f,sd:0,entering:1}),o._flip=E?E.timeline:U);H&&($[H]||G(H)).forEach(e=>W[e]=t=>ae[t].a.props[e]),ae.finalStates=c=[],u=()=>{for(Q(ae),ge(!0),r=0;r<ae.length;r++)h=ae[r],g=h.a,y=h.b,!z||g.isDifferent(y)||h.entering?(o=h.t,T&&!(h.sd<0)&&r&&(g.matrix=C(o,!1,!1,!0)),y.isVisible&&g.isVisible?(h.sd<0?(p=new Se(o,H,e.simple),de(p,g,O,0,0,p),p.matrix=C(o,!1,!1,!0),p.css=h.b.css,h.a=g=p,M&&(o.style.opacity=ce?y.opacity:g.opacity),Y&&re.push(o)):h.sd>0&&M&&(o.style.opacity=ce?g.opacity-y.opacity:"0"),de(g,y,O,H)):y.isVisible!==g.isVisible&&(y.isVisible?g.isVisible||(y.css=g.css,se.push(y),ae.splice(r--,1),v&&T&&de(g,y,O,H)):(g.isVisible&&te.push(g),ae.splice(r--,1))),O||(o.style.maxWidth=Math.max(g.width,y.width)+"px",o.style.maxHeight=Math.max(g.height,y.height)+"px",o.style.minWidth=Math.min(g.width,y.width)+"px",o.style.minHeight=Math.min(g.height,y.height)+"px"),T&&N&&o.classList.add(N)):ae.splice(r--,1),c.push(g);let t;if(N&&(t=c.map(e=>e.element),T&&t.forEach(e=>e.classList.remove(N))),ge(!1),O?(W.scaleX=e=>ae[e].a.scaleX,W.scaleY=e=>ae[e].a.scaleY):(W.width=e=>ae[e].a.width+"px",W.height=e=>ae[e].a.height+"px",W.autoRound=i.autoRound||!1),W.x=e=>ae[e].a.x+"px",W.y=e=>ae[e].a.y+"px",W.rotation=e=>ae[e].a.rotation+(A?360*he(e,d[e],d):0),W.skewX=e=>ae[e].a.skewX,d=ae.map(e=>e.t),(X||0===X)&&(W.modifiers={zIndex:()=>X},W.zIndex=X,W.immediateRender=!1!==i.immediateRender),M&&(W.opacity=e=>ae[e].sd<0?0:ae[e].sd>0?ae[e].a.opacity:"+=0"),re.length){Y=V.utils.distribute(Y);let e=d.slice(re.length);W.stagger=(t,i)=>Y(~re.indexOf(i)?d.indexOf(ae[t].swap.t):t,i,e)}if(D.forEach(e=>i[e]&&U.eventCallback(e,i[e],i[e+"Params"])),k&&d.length)for(n in K=Z(W,j),"scale"in k&&(k.scaleX=k.scaleY=k.scale,delete k.scale),k)a=Z(k[n],J),a[n]=W[n],!("duration"in a)&&"duration"in W&&(a.duration=W.duration),a.stagger=W.stagger,fe.call(U,d,a,0),delete K[n];(d.length||se.length||te.length)&&(N&&U.add(()=>q(t,N,U._zTime<0?"remove":"add"),0)&&!_&&q(t,N,"add"),d.length&&fe.call(U,d,K,0)),pe(x,te,U),pe(w,se,U);let s=E&&E.timeline;s&&(s.add(U,0),E._final.push(()=>ie(ae,!b))),l=U.duration(),U.call(()=>{let e=U.time()>=l;e&&!s&&ie(ae,!b),N&&q(t,N,e?"remove":"add")})},S&&(v=ae.filter(e=>!e.sd&&!e.a.isVisible&&e.b.isVisible).map(e=>e.a.element)),E?(v&&E._abs.push(...ne(ae,v)),E._run.push(u)):(v&&le(ne(ae,v)),u());let ue=E?E.timeline:U;return ue.revert=()=>xe(ue,1),ue},be=e=>{e.vars.onInterrupt&&e.vars.onInterrupt.apply(e,e.vars.onInterruptParams||[]),e.getChildren(!0,!1,!0).forEach(be)},xe=(e,t)=>{if(e&&e.progress()<1&&!e.paused())return t&&(be(e),t<2&&e.progress(1),e.kill()),!0},we=e=>{let t,i=e.idLookup={},s=e.alt={},a=e.elementStates,n=a.length;for(;n--;)t=a[n],i[t.id]?s[t.id]=t:i[t.id]=t};class ve{constructor(e,t,i){if(this.props=t&&t.props,this.simple=!(!t||!t.simple),i)this.targets=he(e),this.elementStates=e,we(this);else{this.targets=k(e);let i=t&&(!1===t.kill||t.batch&&!t.kill);E&&!i&&E._kill.push(this),this.update(i||!!E)}}update(e){return this.elementStates=this.targets.map(e=>new Se(e,this.props,this.simple)),we(this),this.interrupt(e),this.recordInlineStyles(),this}clear(){return this.targets.length=this.elementStates.length=0,we(this),this}fit(e,t,i){let s,a,n=Q(this.elementStates.slice(0),!1,!0),l=(e||this).idLookup,r=0;for(;r<n.length;r++)s=n[r],i&&(s.matrix=C(s.element,!1,!1,!0)),a=l[s.id],a&&de(s,a,t,!0,0,s),s.matrix=C(s.element,!1,!1,!0);return this}getProperty(e,t){let i=this.getElementState(e)||Y;return(t in i?i:i.props||Y)[t]}add(e){let t,i,s,a=e.targets.length,n=this.idLookup,l=this.alt;for(;a--;)i=e.elementStates[a],s=n[i.id],s&&(i.element===s.element||l[i.id]&&l[i.id].element===i.element)?(t=this.elementStates.indexOf(i.element===s.element?s:l[i.id]),this.targets.splice(t,1,e.targets[a]),this.elementStates.splice(t,1,i)):(this.targets.push(e.targets[a]),this.elementStates.push(i));return e.interrupted&&(this.interrupted=!0),e.simple||(this.simple=!1),we(this),this}compare(e){let t,i,s,a,n,l,r,o,h=e.idLookup,p=this.idLookup,d=[],c=[],m=[],f=[],u=[],g=e.alt,y=this.alt,b=(e,t,i)=>(e.isVisible!==t.isVisible?e.isVisible?m:f:e.isVisible?c:d).push(i)&&u.push(i),x=(e,t,i)=>u.indexOf(i)<0&&b(e,t,i);for(s in h)n=g[s],l=y[s],t=n?me(e,this,s):h[s],a=t.element,i=p[s],l?(o=i.isVisible||!l.isVisible&&a===i.element?i:l,r=!n||t.isVisible||n.isVisible||o.element!==n.element?t:n,r.isVisible&&o.isVisible&&r.element!==o.element?((r.isDifferent(o)?c:d).push(r.element,o.element),u.push(r.element,o.element)):b(r,o,r.element),n&&r.element===n.element&&(n=h[s]),x(r.element!==i.element&&n?n:r,i,i.element),x(n&&n.element===l.element?n:r,l,l.element),n&&x(n,l.element===n.element?l:i,n.element)):(i?i.isDifferent(t)?b(t,i,a):d.push(a):m.push(a),n&&x(n,i,n.element));for(s in p)h[s]||(f.push(p[s].element),y[s]&&f.push(y[s].element));return{changed:c,unchanged:d,enter:m,leave:f}}recordInlineStyles(){let e=R[this.props]||F,t=this.elementStates.length;for(;t--;)ee(this.elementStates[t],e)}interrupt(e){let t=[];this.targets.forEach(i=>{let s=i._flip,a=xe(s,e?0:1);e&&a&&t.indexOf(s)<0&&s.add(()=>this.updateVisibility()),a&&t.push(s)}),!e&&t.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!t.length)}updateVisibility(){this.elementStates.forEach(e=>{let t=e.element.getBoundingClientRect();e.isVisible=!!(t.width||t.height||t.top||t.left),e.uncache=1})}getElementState(e){return this.elementStates[this.targets.indexOf(H(e))]}makeAbsolute(){return Q(this.elementStates.slice(0),!0,!0).map(ae)}}class Se{constructor(e,t,i){this.element=e,this.update(t,i)}isDifferent(e){let t=this.bounds,i=e.bounds;return t.top!==i.top||t.left!==i.left||t.width!==i.width||t.height!==i.height||!this.matrix.equals(e.matrix)||this.opacity!==e.opacity||this.props&&e.props&&JSON.stringify(this.props)!==JSON.stringify(e.props)}update(e,t){let i=this.element,s=V.getProperty(i),a=V.core.getCache(i),n=i.getBoundingClientRect(),l=i.getBBox&&"function"==typeof i.getBBox&&"svg"!==i.nodeName.toLowerCase()&&i.getBBox(),r=t?new S(1,0,0,1,n.left+u(),n.top+f()):C(i,!1,!1,!0);this.getProp=s,this.element=i,this.id=(e=>{let t=e.getAttribute("data-flip-id");return t||e.setAttribute("data-flip-id",t="auto-"+N++),t})(i),this.matrix=r,this.cache=a,this.bounds=n,this.isVisible=!!(n.width||n.height||n.left||n.top),this.display=s("display"),this.position=s("position"),this.parent=i.parentNode,this.x=s("x"),this.y=s("y"),this.scaleX=a.scaleX,this.scaleY=a.scaleY,this.rotation=s("rotation"),this.skewX=s("skewX"),this.opacity=s("opacity"),this.width=l?l.width:B(s("width","px"),.04),this.height=l?l.height:B(s("height","px"),.04),e&&((e,t)=>{let i=V.getProperty(e.element,null,"native"),s=e.props={},a=t.length;for(;a--;)s[t[a]]=(i(t[a])+"").trim();s.zIndex&&(s.zIndex=parseFloat(s.zIndex)||0)})(this,$[e]||G(e)),this.ctm=i.getCTM&&"svg"===i.nodeName.toLowerCase()&&x(i).inverse(),this.simple=t||1===W(r.a)&&!W(r.b)&&!W(r.c)&&1===W(r.d),this.uncache=0}}class Ce{constructor(e,t){this.vars=e,this.batch=t,this.states=[],this.timeline=t.timeline}getStateById(e){let t=this.states.length;for(;t--;)if(this.states[t].idLookup[e])return this.states[t]}kill(){this.batch.remove(this)}}class ke{constructor(e){this.id=e,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new ve,this.timeline=V.timeline()}add(e){let t=this.actions.filter(t=>t.vars===e);return t.length?t[0]:(t=new Ce("function"==typeof e?{animate:e}:e,this),this.actions.push(t),t)}remove(e){let t=this.actions.indexOf(e);return t>=0&&this.actions.splice(t,1),this}getState(e){let t=E,i=L;return E=this,this.state.clear(),this._kill.length=0,this.actions.forEach(t=>{t.vars.getState&&(t.states.length=0,L=t,t.state=t.vars.getState(t)),e&&t.states.forEach(e=>this.state.add(e))}),L=i,E=t,this.killConflicts(),this}animate(){let e,t,i=E,s=this.timeline,a=this.actions.length;for(E=this,s.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(e=>{e.vars.animate&&e.vars.animate(e);let t,i,s=e.vars.onEnter,a=e.vars.onLeave,n=e.targets;n&&n.length&&(s||a)&&(t=new ve,e.states.forEach(e=>t.add(e)),i=t.compare(Ve.getState(n)),i.enter.length&&s&&s(i.enter),i.leave.length&&a&&a(i.leave))}),le(this._abs),this._run.forEach(e=>e()),t=s.duration(),e=this._final.slice(0),s.add(()=>{t<=s.time()&&(e.forEach(e=>e()),T(this,"onComplete"))}),E=i;a--;)this.actions[a].vars.once&&this.actions[a].kill();return T(this,"onStart"),s.restart(),this}loadState(e){e||(e=()=>0);let t=[];return this.actions.forEach(i=>{if(i.vars.loadState){let s,a=n=>{n&&(i.targets=n),s=t.indexOf(a),~s&&(t.splice(s,1),t.length||e())};t.push(a),i.vars.loadState(a)}}),t.length||e(),this}setState(){return this.actions.forEach(e=>e.targets=e.vars.setState&&e.vars.setState(e)),this}killConflicts(e){return this.state.interrupt(e),this._kill.forEach(t=>t.interrupt(e)),this}run(e,t){return this!==E&&(e||this.getState(t),this.loadState(()=>{this._killed||(this.setState(),this.animate())})),this}clear(e){this.state.clear(),e||(this.actions.length=0)}getStateById(e){let t,i=this.actions.length;for(;i--;)if(t=this.actions[i].getStateById(e),t)return t;return this.state.idLookup[e]&&this.state}kill(){this._killed=1,this.clear(),delete X[this.id]}}class Ve{static getState(e,t){let i=ce(e,t);return L&&L.states.push(i),t&&t.batch&&Ve.batch(t.batch).state.add(i),i}static from(e,t){return"clearProps"in(t=t||{})||(t.clearProps=!0),ye(e,ce(t.targets||e.targets,{props:t.props||e.props,simple:t.simple,kill:!!t.kill}),t,-1)}static to(e,t){return ye(e,ce(t.targets||e.targets,{props:t.props||e.props,simple:t.simple,kill:!!t.kill}),t,1)}static fromTo(e,t,i){return ye(e,t,i)}static fit(e,t,i){let s=i?Z(i,J):{},{absolute:a,scale:n,getVars:l,props:r,runBackwards:o,onComplete:h,simple:p}=i||s,d=i&&i.fitChild&&H(i.fitChild),c=re(t,r,p,e),m=re(e,0,p,c),f=r?R[r]:F;return r&&oe(s,c.props),o&&(ee(m,f),"immediateRender"in s||(s.immediateRender=!0),s.onComplete=function(){te(m),h&&h.apply(this,arguments)}),a&&ae(m,c),s=de(m,c,n||d,r,d,s.duration||l?s:0),l?s:s.duration?V.to(m.element,s):null}static makeAbsolute(e,t){return(e instanceof ve?e:new ve(e,t)).makeAbsolute()}static batch(e){return e||(e="default"),X[e]||(X[e]=new ke(e))}static killFlipsOf(e,t){(e instanceof ve?e.targets:k(e)).forEach(e=>e&&xe(e._flip,!1!==t?1:2))}static isFlipping(e){let t=Ve.getByTarget(e);return!!t&&t.isActive()}static getByTarget(e){return(H(e)||Y)._flip}static getElementState(e,t){return new Se(H(e),t)}static convertCoordinates(e,t,i){let s=C(t,!0,!0).multiply(C(e));return i?s.apply(i):s}static register(e){if(_="undefined"!=typeof document&&document.body,_){V=e,d(_),k=V.utils.toArray,I=V.core.getStyleSaver;let t=V.utils.snap(.1);B=(e,i)=>t(parseFloat(e)+i)}}}Ve.version="3.11.5","undefined"!=typeof window&&window.gsap&&window.gsap.registerPlugin(Ve);export default Ve;export{Ve as Flip};
let e,t,i,s,a,n,l,r,o,h="transform",p=h+"Origin",d=a=>{let n=a.ownerDocument||a;!(h in a.style)&&"msTransform"in a.style&&(h="msTransform",p=h+"Origin");for(;n.parentNode&&(n=n.parentNode););if(t=window,l=new S,n){e=n,i=n.documentElement,s=n.body,r=e.createElementNS("http://www.w3.org/2000/svg","g"),r.style.transform="none";let t=n.createElement("div"),a=n.createElement("div");s.appendChild(t),t.appendChild(a),t.style.position="static",t.style[h]="translate3d(0,0,1px)",o=a.offsetParent!==t,s.removeChild(t)}return n},c=[],m=[],f=()=>t.pageYOffset||e.scrollTop||i.scrollTop||s.scrollTop||0,u=()=>t.pageXOffset||e.scrollLeft||i.scrollLeft||s.scrollLeft||0,g=e=>e.ownerSVGElement||("svg"===(e.tagName+"").toLowerCase()?e:null),y=e=>"fixed"===t.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?y(e):void 0),b=(t,i)=>{if(t.parentNode&&(e||d(t))){let s=g(t),l=s?s.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r=s?i?"rect":"g":"div",o=2!==i?0:100,h=3===i?100:0,p="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",d=e.createElementNS?e.createElementNS(l.replace(/^https/,"http"),r):e.createElement(r);return i&&(s?(n||(n=b(t)),d.setAttribute("width",.01),d.setAttribute("height",.01),d.setAttribute("transform","translate("+o+","+h+")"),n.appendChild(d)):(a||(a=b(t),a.style.cssText=p),d.style.cssText=p+"width:0.1px;height:0.1px;top:"+h+"px;left:"+o+"px",a.appendChild(d))),d}throw"Need document and parent."},x=e=>{let t,i=e.getCTM();return i||(t=e.style[h],e.style[h]="none",e.appendChild(r),i=r.getCTM(),e.removeChild(r),t?e.style[h]=t:e.style.removeProperty(h.replace(/([A-Z])/g,"-$1").toLowerCase())),i||l.clone()},w=(e,i)=>{let s,r,d,f,u,y,w=g(e),v=e===w,C=w?c:m,k=e.parentNode;if(e===t)return e;if(C.length||C.push(b(e,1),b(e,2),b(e,3)),s=w?n:a,w)v?(d=x(e),f=-d.e/d.a,u=-d.f/d.d,r=l):e.getBBox?(d=e.getBBox(),r=e.transform?e.transform.baseVal:{},r=r.numberOfItems?r.numberOfItems>1?(e=>{let t=new S,i=0;for(;i<e.numberOfItems;i++)t.multiply(e.getItem(i).matrix);return t})(r):r.getItem(0).matrix:l,f=r.a*d.x+r.c*d.y,u=r.b*d.x+r.d*d.y):(r=new S,f=u=0),i&&"g"===e.tagName.toLowerCase()&&(f=u=0),(v?w:k).appendChild(s),s.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+f)+","+(r.f+u)+")");else{if(f=u=0,o)for(r=e.offsetParent,d=e;d&&(d=d.parentNode)&&d!==r&&d.parentNode;)(t.getComputedStyle(d)[h]+"").length>4&&(f=d.offsetLeft,u=d.offsetTop,d=0);if(y=t.getComputedStyle(e),"absolute"!==y.position&&"fixed"!==y.position)for(r=e.offsetParent;k&&k!==r;)f+=k.scrollLeft||0,u+=k.scrollTop||0,k=k.parentNode;d=s.style,d.top=e.offsetTop-u+"px",d.left=e.offsetLeft-f+"px",d[h]=y[h],d[p]=y[p],d.position="fixed"===y.position?"fixed":"absolute",e.parentNode.appendChild(s)}return s},v=(e,t,i,s,a,n,l)=>(e.a=t,e.b=i,e.c=s,e.d=a,e.e=n,e.f=l,e);class S{constructor(e=1,t=0,i=0,s=1,a=0,n=0){v(this,e,t,i,s,a,n)}inverse(){let{a:e,b:t,c:i,d:s,e:a,f:n}=this,l=e*s-t*i||1e-10;return v(this,s/l,-t/l,-i/l,e/l,(i*n-s*a)/l,-(e*n-t*a)/l)}multiply(e){let{a:t,b:i,c:s,d:a,e:n,f:l}=this,r=e.a,o=e.c,h=e.b,p=e.d,d=e.e,c=e.f;return v(this,r*t+h*s,r*i+h*a,o*t+p*s,o*i+p*a,n+d*t+c*s,l+d*i+c*a)}clone(){return new S(this.a,this.b,this.c,this.d,this.e,this.f)}equals(e){let{a:t,b:i,c:s,d:a,e:n,f:l}=this;return t===e.a&&i===e.b&&s===e.c&&a===e.d&&n===e.e&&l===e.f}apply(e,t={}){let{x:i,y:s}=e,{a:a,b:n,c:l,d:r,e:o,f:h}=this;return t.x=i*a+s*l+o||0,t.y=i*n+s*r+h||0,t}}function C(t,i,a,n){if(!t||!t.parentNode||(e||d(t)).documentElement===t)return new S;let l=(e=>{let t,i;for(;e&&e!==s;)i=e._gsap,i&&i.uncache&&i.get(e,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),t?t.push(i):t=[i]),e=e.parentNode;return t})(t),r=g(t)?c:m,o=w(t,a),h=r[0].getBoundingClientRect(),p=r[1].getBoundingClientRect(),b=r[2].getBoundingClientRect(),x=o.parentNode,v=!n&&y(t),C=new S((p.left-h.left)/100,(p.top-h.top)/100,(b.left-h.left)/100,(b.top-h.top)/100,h.left+(v?0:u()),h.top+(v?0:f()));if(x.removeChild(o),l)for(h=l.length;h--;)p=l[h],p.scaleX=p.scaleY=0,p.renderTransform(1,p);return i?C.inverse():C}let k,V,E,L,_,B,I,P,N=1,T=(e,t)=>e.actions.forEach(e=>e.vars[t]&&e.vars[t](e)),X={},O=180/Math.PI,M=Math.PI/180,Y={},A={},R={},z=e=>"string"==typeof e?e.split(" ").join("").split(","):e,D=z("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),F=z("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),H=e=>k(e)[0]||console.warn("Element not found:",e),W=e=>Math.round(1e4*e)/1e4||0,q=(e,t,i)=>e.forEach(e=>e.classList[i](t)),j={zIndex:1,kill: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,prune:1,absoluteOnLeave:1},J={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},U=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase(),Z=(e,t)=>{let i,s={};for(i in e)t[i]||(s[i]=e[i]);return s},$={},G=e=>{let t=$[e]=z(e);return R[e]=t.concat(F),t},K=(e,t,i=0)=>{let s=e.parentNode,a=1e3*10**i*(t?-1:1),n=t?900*-a:0;for(;e;)n+=a,e=e.previousSibling;return s?n+K(s,t,i+1):n},Q=(e,t,i)=>(e.forEach(e=>e.d=K(i?e.element:e.t,t)),e.sort((e,t)=>e.d-t.d),e),ee=(e,t)=>{let i,s,a=e.element.style,n=e.css=e.css||[],l=t.length;for(;l--;)i=t[l],s=a[i]||a.getPropertyValue(i),n.push(s?i:A[i]||(A[i]=U(i)),s);return a},te=e=>{let t=e.css,i=e.element.style,s=0;for(e.cache.uncache=1;s<t.length;s+=2)t[s+1]?i[t[s]]=t[s+1]:i.removeProperty(t[s]);!t[t.indexOf("transform")+1]&&i.translate&&(i.removeProperty("translate"),i.removeProperty("scale"),i.removeProperty("rotate"))},ie=(e,t)=>{e.forEach(e=>e.a.cache.uncache=1),t||e.finalStates.forEach(te)},se="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),ae=(e,t,i)=>{let s,a,n,{element:l,width:r,height:o,uncache:h,getProp:p}=e,d=l.style,c=4;if("object"!=typeof t&&(t=e),E&&1!==i)return E._abs.push({t:l,b:e,a:e,sd:0}),E._final.push(()=>(e.cache.uncache=1)&&te(e)),l;for(a="none"===p("display"),e.isVisible&&!a||(a&&(ee(e,["display"]).display=t.display),e.matrix=t.matrix,e.width=r=e.width||t.width,e.height=o=e.height||t.height),ee(e,se),n=window.getComputedStyle(l);c--;)d[se[c]]=n[se[c]];if(d.gridArea="1 / 1 / 1 / 1",d.transition="none",d.position="absolute",d.width=r+"px",d.height=o+"px",d.top||(d.top="0px"),d.left||(d.left="0px"),h)s=new Se(l);else if(s=Z(e,Y),s.position="absolute",e.simple){let e=l.getBoundingClientRect();s.matrix=new S(1,0,0,1,e.left+u(),e.top+f())}else s.matrix=C(l,!1,!1,!0);return s=de(s,e,!0),e.x=B(s.x,.01),e.y=B(s.y,.01),l},ne=(e,t)=>(!0!==t&&(t=k(t),e=e.filter(e=>{if(-1!==t.indexOf((e.sd<0?e.b:e.a).element))return!0;e.t._gsap.renderTransform(1),e.b.isVisible&&(e.t.style.width=e.b.width+"px",e.t.style.height=e.b.height+"px")})),e),le=e=>Q(e,!0).forEach(e=>(e.a.isVisible||e.b.isVisible)&&ae(e.sd<0?e.b:e.a,e.b,1)),re=(e,t,i,s)=>e instanceof Se?e:e instanceof ve?((e,t)=>t&&e.idLookup[re(t).id]||e.elementStates[0])(e,s):new Se("string"==typeof e?H(e)||console.warn(e+" not found"):e,t,i),oe=(e,t)=>{let i,s=e.style||e;for(i in t)s[i]=t[i]},he=e=>e.map(e=>e.element),pe=(e,t,i)=>e&&t.length&&i.add(e(he(t),i,new ve(t,0,!0)),0),de=(e,t,i,s,a,n)=>{let l,r,o,h,p,d,c,{element:m,cache:f,parent:u,x:g,y:y}=e,{width:b,height:x,scaleX:w,scaleY:v,rotation:S,bounds:E}=t,L=n&&I&&I(m,"transform"),_=e,{e:P,f:N}=t.matrix,T=e.bounds.width!==E.width||e.bounds.height!==E.height||e.scaleX!==w||e.scaleY!==v||e.rotation!==S,X=!T&&e.simple&&t.simple&&!a;return X||!u?(w=v=1,S=l=0):(p=(e=>{let t=e._gsap||V.core.getCache(e);return t.gmCache===V.ticker.frame?t.gMatrix:(t.gmCache=V.ticker.frame,t.gMatrix=C(e,!0,!1,!0))})(u),d=p.clone().multiply(t.ctm?t.matrix.clone().multiply(t.ctm):t.matrix),S=W(Math.atan2(d.b,d.a)*O),l=W(Math.atan2(d.c,d.d)*O+S)%360,w=Math.sqrt(d.a**2+d.b**2),v=Math.sqrt(d.c**2+d.d**2)*Math.cos(l*M),a&&(a=k(a)[0],h=V.getProperty(a),c=a.getBBox&&"function"==typeof a.getBBox&&a.getBBox(),_={scaleX:h("scaleX"),scaleY:h("scaleY"),width:c?c.width:Math.ceil(parseFloat(h("width","px"))),height:c?c.height:parseFloat(h("height","px"))}),f.rotation=S+"deg",f.skewX=l+"deg"),i?(w*=b!==_.width&&_.width?b/_.width:1,v*=x!==_.height&&_.height?x/_.height:1,f.scaleX=w,f.scaleY=v):(b=B(b*w/_.scaleX,0),x=B(x*v/_.scaleY,0),m.style.width=b+"px",m.style.height=x+"px"),s&&oe(m,t.props),X||!u?(g+=P-e.matrix.e,y+=N-e.matrix.f):T||u!==t.parent?(f.renderTransform(1,f),d=C(a||m,!1,!1,!0),r=p.apply({x:d.e,y:d.f}),o=p.apply({x:P,y:N}),g+=o.x-r.x,y+=o.y-r.y):(p.e=p.f=0,o=p.apply({x:P-e.matrix.e,y:N-e.matrix.f}),g+=o.x,y+=o.y),g=B(g,.02),y=B(y,.02),!n||n instanceof Se?(f.x=g+"px",f.y=y+"px",f.renderTransform(1,f)):L&&L.revert(),n&&(n.x=g,n.y=y,n.rotation=S,n.skewX=l,i?(n.scaleX=w,n.scaleY=v):(n.width=b,n.height=x)),n||f},ce=(e,t)=>e instanceof ve?e:new ve(e,t),me=(e,t,i)=>{let s=e.idLookup[i],a=e.alt[i];return!a.isVisible||(t.getElementState(a.element)||a).isVisible&&s.isVisible?s:a},fe=[],ue="width,height,overflowX,overflowY".split(","),ge=e=>{if(e!==P){let t=_.style,i=_.clientWidth===window.outerWidth,s=_.clientHeight===window.outerHeight,a=4;if(e&&(i||s)){for(;a--;)fe[a]=t[ue[a]];i&&(t.width=_.clientWidth+"px",t.overflowY="hidden"),s&&(t.height=_.clientHeight+"px",t.overflowX="hidden"),P=e}else if(P){for(;a--;)fe[a]?t[ue[a]]=fe[a]:t.removeProperty(U(ue[a]));P=e}}},ye=(e,t,i,s)=>{e instanceof ve&&t instanceof ve||console.warn("Not a valid state object."),i=i||{};let a,n,l,r,o,h,p,d,c,m,f,u,g,y,{clearProps:b,onEnter:x,onLeave:w,absolute:v,absoluteOnLeave:S,custom:k,delay:L,paused:_,repeat:B,repeatDelay:I,yoyo:P,toggleClass:N,nested:T,zIndex:X,scale:O,fade:M,stagger:Y,spin:A,prune:z}=i,H=("props"in i?i:e).props,W=Z(i,j),U=V.timeline({delay:L,paused:_,repeat:B,repeatDelay:I,yoyo:P,data:"isFlip"}),K=W,te=[],se=[],ae=[],re=[],oe=!0===A?1:A||0,he="function"==typeof A?A:()=>oe,ce=e.interrupted||t.interrupted,fe=U[1!==s?"to":"from"];for(n in t.idLookup)f=t.alt[n]?me(t,e,n):t.idLookup[n],o=f.element,m=e.idLookup[n],e.alt[n]&&o===m.element&&(e.alt[n].isVisible||!f.isVisible)&&(m=e.alt[n]),m?(h={t:o,b:m,a:f,sd:m.element===o?0:f.isVisible?1:-1},ae.push(h),h.sd&&(h.sd<0&&(h.b=f,h.a=m),ce&&ee(h.b,H?R[H]:F),M&&ae.push(h.swap={t:m.element,b:h.b,a:h.a,sd:-h.sd,swap:h})),o._flip=m.element._flip=E?E.timeline:U):f.isVisible&&(ae.push({t:o,b:Z(f,{isVisible:1}),a:f,sd:0,entering:1}),o._flip=E?E.timeline:U);H&&($[H]||G(H)).forEach(e=>W[e]=t=>ae[t].a.props[e]),ae.finalStates=c=[],u=()=>{for(Q(ae),ge(!0),r=0;r<ae.length;r++)h=ae[r],g=h.a,y=h.b,!z||g.isDifferent(y)||h.entering?(o=h.t,T&&!(h.sd<0)&&r&&(g.matrix=C(o,!1,!1,!0)),y.isVisible&&g.isVisible?(h.sd<0?(p=new Se(o,H,e.simple),de(p,g,O,0,0,p),p.matrix=C(o,!1,!1,!0),p.css=h.b.css,h.a=g=p,M&&(o.style.opacity=ce?y.opacity:g.opacity),Y&&re.push(o)):h.sd>0&&M&&(o.style.opacity=ce?g.opacity-y.opacity:"0"),de(g,y,O,H)):y.isVisible!==g.isVisible&&(y.isVisible?g.isVisible||(y.css=g.css,se.push(y),ae.splice(r--,1),v&&T&&de(g,y,O,H)):(g.isVisible&&te.push(g),ae.splice(r--,1))),O||(o.style.maxWidth=Math.max(g.width,y.width)+"px",o.style.maxHeight=Math.max(g.height,y.height)+"px",o.style.minWidth=Math.min(g.width,y.width)+"px",o.style.minHeight=Math.min(g.height,y.height)+"px"),T&&N&&o.classList.add(N)):ae.splice(r--,1),c.push(g);let t;if(N&&(t=c.map(e=>e.element),T&&t.forEach(e=>e.classList.remove(N))),ge(!1),O?(W.scaleX=e=>ae[e].a.scaleX,W.scaleY=e=>ae[e].a.scaleY):(W.width=e=>ae[e].a.width+"px",W.height=e=>ae[e].a.height+"px",W.autoRound=i.autoRound||!1),W.x=e=>ae[e].a.x+"px",W.y=e=>ae[e].a.y+"px",W.rotation=e=>ae[e].a.rotation+(A?360*he(e,d[e],d):0),W.skewX=e=>ae[e].a.skewX,d=ae.map(e=>e.t),(X||0===X)&&(W.modifiers={zIndex:()=>X},W.zIndex=X,W.immediateRender=!1!==i.immediateRender),M&&(W.opacity=e=>ae[e].sd<0?0:ae[e].sd>0?ae[e].a.opacity:"+=0"),re.length){Y=V.utils.distribute(Y);let e=d.slice(re.length);W.stagger=(t,i)=>Y(~re.indexOf(i)?d.indexOf(ae[t].swap.t):t,i,e)}if(D.forEach(e=>i[e]&&U.eventCallback(e,i[e],i[e+"Params"])),k&&d.length)for(n in K=Z(W,j),"scale"in k&&(k.scaleX=k.scaleY=k.scale,delete k.scale),k)a=Z(k[n],J),a[n]=W[n],!("duration"in a)&&"duration"in W&&(a.duration=W.duration),a.stagger=W.stagger,fe.call(U,d,a,0),delete K[n];(d.length||se.length||te.length)&&(N&&U.add(()=>q(t,N,U._zTime<0?"remove":"add"),0)&&!_&&q(t,N,"add"),d.length&&fe.call(U,d,K,0)),pe(x,te,U),pe(w,se,U);let s=E&&E.timeline;s&&(s.add(U,0),E._final.push(()=>ie(ae,!b))),l=U.duration(),U.call(()=>{let e=U.time()>=l;e&&!s&&ie(ae,!b),N&&q(t,N,e?"remove":"add")})},S&&(v=ae.filter(e=>!e.sd&&!e.a.isVisible&&e.b.isVisible).map(e=>e.a.element)),E?(v&&E._abs.push(...ne(ae,v)),E._run.push(u)):(v&&le(ne(ae,v)),u());let ue=E?E.timeline:U;return ue.revert=()=>xe(ue,1,1),ue},be=e=>{e.vars.onInterrupt&&e.vars.onInterrupt.apply(e,e.vars.onInterruptParams||[]),e.getChildren(!0,!1,!0).forEach(be)},xe=(e,t,i)=>{if(e&&e.progress()<1&&(!e.paused()||i))return t&&(be(e),t<2&&e.progress(1),e.kill()),!0},we=e=>{let t,i=e.idLookup={},s=e.alt={},a=e.elementStates,n=a.length;for(;n--;)t=a[n],i[t.id]?s[t.id]=t:i[t.id]=t};class ve{constructor(e,t,i){if(this.props=t&&t.props,this.simple=!(!t||!t.simple),i)this.targets=he(e),this.elementStates=e,we(this);else{this.targets=k(e);let i=t&&(!1===t.kill||t.batch&&!t.kill);E&&!i&&E._kill.push(this),this.update(i||!!E)}}update(e){return this.elementStates=this.targets.map(e=>new Se(e,this.props,this.simple)),we(this),this.interrupt(e),this.recordInlineStyles(),this}clear(){return this.targets.length=this.elementStates.length=0,we(this),this}fit(e,t,i){let s,a,n=Q(this.elementStates.slice(0),!1,!0),l=(e||this).idLookup,r=0;for(;r<n.length;r++)s=n[r],i&&(s.matrix=C(s.element,!1,!1,!0)),a=l[s.id],a&&de(s,a,t,!0,0,s),s.matrix=C(s.element,!1,!1,!0);return this}getProperty(e,t){let i=this.getElementState(e)||Y;return(t in i?i:i.props||Y)[t]}add(e){let t,i,s,a=e.targets.length,n=this.idLookup,l=this.alt;for(;a--;)i=e.elementStates[a],s=n[i.id],s&&(i.element===s.element||l[i.id]&&l[i.id].element===i.element)?(t=this.elementStates.indexOf(i.element===s.element?s:l[i.id]),this.targets.splice(t,1,e.targets[a]),this.elementStates.splice(t,1,i)):(this.targets.push(e.targets[a]),this.elementStates.push(i));return e.interrupted&&(this.interrupted=!0),e.simple||(this.simple=!1),we(this),this}compare(e){let t,i,s,a,n,l,r,o,h=e.idLookup,p=this.idLookup,d=[],c=[],m=[],f=[],u=[],g=e.alt,y=this.alt,b=(e,t,i)=>(e.isVisible!==t.isVisible?e.isVisible?m:f:e.isVisible?c:d).push(i)&&u.push(i),x=(e,t,i)=>u.indexOf(i)<0&&b(e,t,i);for(s in h)n=g[s],l=y[s],t=n?me(e,this,s):h[s],a=t.element,i=p[s],l?(o=i.isVisible||!l.isVisible&&a===i.element?i:l,r=!n||t.isVisible||n.isVisible||o.element!==n.element?t:n,r.isVisible&&o.isVisible&&r.element!==o.element?((r.isDifferent(o)?c:d).push(r.element,o.element),u.push(r.element,o.element)):b(r,o,r.element),n&&r.element===n.element&&(n=h[s]),x(r.element!==i.element&&n?n:r,i,i.element),x(n&&n.element===l.element?n:r,l,l.element),n&&x(n,l.element===n.element?l:i,n.element)):(i?i.isDifferent(t)?b(t,i,a):d.push(a):m.push(a),n&&x(n,i,n.element));for(s in p)h[s]||(f.push(p[s].element),y[s]&&f.push(y[s].element));return{changed:c,unchanged:d,enter:m,leave:f}}recordInlineStyles(){let e=R[this.props]||F,t=this.elementStates.length;for(;t--;)ee(this.elementStates[t],e)}interrupt(e){let t=[];this.targets.forEach(i=>{let s=i._flip,a=xe(s,e?0:1);e&&a&&t.indexOf(s)<0&&s.add(()=>this.updateVisibility()),a&&t.push(s)}),!e&&t.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!t.length)}updateVisibility(){this.elementStates.forEach(e=>{let t=e.element.getBoundingClientRect();e.isVisible=!!(t.width||t.height||t.top||t.left),e.uncache=1})}getElementState(e){return this.elementStates[this.targets.indexOf(H(e))]}makeAbsolute(){return Q(this.elementStates.slice(0),!0,!0).map(ae)}}class Se{constructor(e,t,i){this.element=e,this.update(t,i)}isDifferent(e){let t=this.bounds,i=e.bounds;return t.top!==i.top||t.left!==i.left||t.width!==i.width||t.height!==i.height||!this.matrix.equals(e.matrix)||this.opacity!==e.opacity||this.props&&e.props&&JSON.stringify(this.props)!==JSON.stringify(e.props)}update(e,t){let i=this.element,s=V.getProperty(i),a=V.core.getCache(i),n=i.getBoundingClientRect(),l=i.getBBox&&"function"==typeof i.getBBox&&"svg"!==i.nodeName.toLowerCase()&&i.getBBox(),r=t?new S(1,0,0,1,n.left+u(),n.top+f()):C(i,!1,!1,!0);this.getProp=s,this.element=i,this.id=(e=>{let t=e.getAttribute("data-flip-id");return t||e.setAttribute("data-flip-id",t="auto-"+N++),t})(i),this.matrix=r,this.cache=a,this.bounds=n,this.isVisible=!!(n.width||n.height||n.left||n.top),this.display=s("display"),this.position=s("position"),this.parent=i.parentNode,this.x=s("x"),this.y=s("y"),this.scaleX=a.scaleX,this.scaleY=a.scaleY,this.rotation=s("rotation"),this.skewX=s("skewX"),this.opacity=s("opacity"),this.width=l?l.width:B(s("width","px"),.04),this.height=l?l.height:B(s("height","px"),.04),e&&((e,t)=>{let i=V.getProperty(e.element,null,"native"),s=e.props={},a=t.length;for(;a--;)s[t[a]]=(i(t[a])+"").trim();s.zIndex&&(s.zIndex=parseFloat(s.zIndex)||0)})(this,$[e]||G(e)),this.ctm=i.getCTM&&"svg"===i.nodeName.toLowerCase()&&x(i).inverse(),this.simple=t||1===W(r.a)&&!W(r.b)&&!W(r.c)&&1===W(r.d),this.uncache=0}}class Ce{constructor(e,t){this.vars=e,this.batch=t,this.states=[],this.timeline=t.timeline}getStateById(e){let t=this.states.length;for(;t--;)if(this.states[t].idLookup[e])return this.states[t]}kill(){this.batch.remove(this)}}class ke{constructor(e){this.id=e,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new ve,this.timeline=V.timeline()}add(e){let t=this.actions.filter(t=>t.vars===e);return t.length?t[0]:(t=new Ce("function"==typeof e?{animate:e}:e,this),this.actions.push(t),t)}remove(e){let t=this.actions.indexOf(e);return t>=0&&this.actions.splice(t,1),this}getState(e){let t=E,i=L;return E=this,this.state.clear(),this._kill.length=0,this.actions.forEach(t=>{t.vars.getState&&(t.states.length=0,L=t,t.state=t.vars.getState(t)),e&&t.states.forEach(e=>this.state.add(e))}),L=i,E=t,this.killConflicts(),this}animate(){let e,t,i=E,s=this.timeline,a=this.actions.length;for(E=this,s.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(e=>{e.vars.animate&&e.vars.animate(e);let t,i,s=e.vars.onEnter,a=e.vars.onLeave,n=e.targets;n&&n.length&&(s||a)&&(t=new ve,e.states.forEach(e=>t.add(e)),i=t.compare(Ve.getState(n)),i.enter.length&&s&&s(i.enter),i.leave.length&&a&&a(i.leave))}),le(this._abs),this._run.forEach(e=>e()),t=s.duration(),e=this._final.slice(0),s.add(()=>{t<=s.time()&&(e.forEach(e=>e()),T(this,"onComplete"))}),E=i;a--;)this.actions[a].vars.once&&this.actions[a].kill();return T(this,"onStart"),s.restart(),this}loadState(e){e||(e=()=>0);let t=[];return this.actions.forEach(i=>{if(i.vars.loadState){let s,a=n=>{n&&(i.targets=n),s=t.indexOf(a),~s&&(t.splice(s,1),t.length||e())};t.push(a),i.vars.loadState(a)}}),t.length||e(),this}setState(){return this.actions.forEach(e=>e.targets=e.vars.setState&&e.vars.setState(e)),this}killConflicts(e){return this.state.interrupt(e),this._kill.forEach(t=>t.interrupt(e)),this}run(e,t){return this!==E&&(e||this.getState(t),this.loadState(()=>{this._killed||(this.setState(),this.animate())})),this}clear(e){this.state.clear(),e||(this.actions.length=0)}getStateById(e){let t,i=this.actions.length;for(;i--;)if(t=this.actions[i].getStateById(e),t)return t;return this.state.idLookup[e]&&this.state}kill(){this._killed=1,this.clear(),delete X[this.id]}}class Ve{static getState(e,t){let i=ce(e,t);return L&&L.states.push(i),t&&t.batch&&Ve.batch(t.batch).state.add(i),i}static from(e,t){return"clearProps"in(t=t||{})||(t.clearProps=!0),ye(e,ce(t.targets||e.targets,{props:t.props||e.props,simple:t.simple,kill:!!t.kill}),t,-1)}static to(e,t){return ye(e,ce(t.targets||e.targets,{props:t.props||e.props,simple:t.simple,kill:!!t.kill}),t,1)}static fromTo(e,t,i){return ye(e,t,i)}static fit(e,t,i){let s=i?Z(i,J):{},{absolute:a,scale:n,getVars:l,props:r,runBackwards:o,onComplete:h,simple:p}=i||s,d=i&&i.fitChild&&H(i.fitChild),c=re(t,r,p,e),m=re(e,0,p,c),f=r?R[r]:F;return r&&oe(s,c.props),o&&(ee(m,f),"immediateRender"in s||(s.immediateRender=!0),s.onComplete=function(){te(m),h&&h.apply(this,arguments)}),a&&ae(m,c),s=de(m,c,n||d,r,d,s.duration||l?s:0),l?s:s.duration?V.to(m.element,s):null}static makeAbsolute(e,t){return(e instanceof ve?e:new ve(e,t)).makeAbsolute()}static batch(e){return e||(e="default"),X[e]||(X[e]=new ke(e))}static killFlipsOf(e,t){(e instanceof ve?e.targets:k(e)).forEach(e=>e&&xe(e._flip,!1!==t?1:2))}static isFlipping(e){let t=Ve.getByTarget(e);return!!t&&t.isActive()}static getByTarget(e){return(H(e)||Y)._flip}static getElementState(e,t){return new Se(H(e),t)}static convertCoordinates(e,t,i){let s=C(t,!0,!0).multiply(C(e));return i?s.apply(i):s}static register(e){if(_="undefined"!=typeof document&&document.body,_){V=e,d(_),k=V.utils.toArray,I=V.core.getStyleSaver;let t=V.utils.snap(.1);B=(e,i)=>t(parseFloat(e)+i)}}}Ve.version="3.12.0","undefined"!=typeof window&&window.gsap&&window.gsap.registerPlugin(Ve);export default Ve;export{Ve as Flip};
/*!
* InertiaPlugin 3.11.5
* InertiaPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

let t,e,i,r,n,o,s,a,l,c=()=>t||"undefined"!=typeof window&&(t=window.gsap),g={},p=t=>l(t).id,u=t=>g[p("string"==typeof t?i(t)[0]:t)],d=t=>{let e,i=n;if(t-s>=.05)for(a=s,s=t;i;)e=i.g(i.t,i.p),(e!==i.v1||t-i.t1>.2)&&(i.v2=i.v1,i.v1=e,i.t2=i.t1,i.t1=t),i=i._next},h={deg:360,rad:2*Math.PI},f=()=>{t=c(),t&&(i=t.utils.toArray,r=t.utils.getUnit,l=t.core.getCache,o=t.ticker,e=1)};class v{constructor(t,e,i,n){this.t=t,this.p=e,this.g=t._gsap.get,this.rCap=h[i||r(this.g(t,e))],this.v1=this.v2=0,this.t1=this.t2=o.time,n&&(this._next=n,n._prev=this)}}class m{constructor(t,r){e||f(),this.target=i(t)[0],g[p(this.target)]=this,this._props={},r&&this.add(r)}static register(e){t=e,f()}get(t,e){let i,r,n,s=this._props[t]||console.warn("Not tracking "+t+" velocity.");return i=parseFloat(e?s.v1:s.g(s.t,s.p)),r=i-parseFloat(s.v2),n=s.rCap,n&&(r%=n,r!==r%(n/2)&&(r=r<0?r+n:r-n)),a=r/((e?s.t1:o.time)-s.t2),Math.round(1e4*a)/1e4;var a}getAll(){let t,e={},i=this._props;for(t in i)e[t]=this.get(t);return e}isTracking(t){return t in this._props}add(t,e){t in this._props||(n||(o.add(d),s=a=o.time),n=this._props[t]=new v(this.target,t,e,n))}remove(t){let e,i,r=this._props[t];r&&(e=r._prev,i=r._next,e&&(e._next=i),i?i._prev=e:n===r&&(o.remove(d),n=0),delete this._props[t])}kill(t){for(let t in this._props)this.remove(t);t||delete g[p(this.target)]}static track(t,r,n){e||f();let o,s,a=[],l=i(t),c=r.split(","),g=(n||"").split(","),p=l.length;for(;p--;){for(o=u(l[p])||new m(l[p]),s=c.length;s--;)o.add(c[s],g[s]||g[0]);a.push(o)}return a}static untrack(t,e){let r=(e||"").split(",");i(t).forEach(t=>{let e=u(t);e&&(r.length?r.forEach(t=>e.remove(t)):e.kill(1))})}static isTracking(t,e){let i=u(t);return i&&i.isTracking(e)}static getVelocity(t,e){let i=u(t);return i&&i.isTracking(e)?i.get(e):console.warn("Not tracking velocity of "+e)}}m.getByTarget=u,c()&&t.registerPlugin(m);let y,w,_,x,k,T,F,P,N,O,b,M,E,A,C=m.getByTarget,S=()=>y||"undefined"!=typeof window&&(y=window.gsap)&&y.registerPlugin&&y,I=t=>"number"==typeof t,j=t=>"object"==typeof t,B=t=>"function"==typeof t,R=function(){return String.fromCharCode.apply(null,arguments)},W=R(103,114,101,101,110,115,111,99,107,46,99,111,109),L=function(t){var e="undefined"!=typeof window,i=0===(e?window.location.href:"").indexOf(R(102,105,108,101,58,47,47))||-1!==t.indexOf(R(108,111,99,97,108,104,111,115,116))||-1!==t.indexOf(R(49,50,55,46,48,32,48,46,49)),r=[W,R(99,111,100,101,112,101,110,46,105,111),R(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),R(99,111,100,101,112,101,110,46,100,101,118),R(99,111,100,101,112,101,110,46,97,112,112),R(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),R(112,101,110,115,46,99,108,111,117,100),R(99,115,115,45,116,114,105,99,107,115,46,99,111,109),R(99,100,112,110,46,105,111),R(112,101,110,115,46,105,111),R(103,97,110,110,111,110,46,116,118),R(99,111,100,101,99,97,110,121,111,110,46,110,101,116),R(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),R(99,101,114,101,98,114,97,120,46,99,111,46,117,107),R(116,121,109,112,97,110,117,115,46,110,101,116),R(116,119,101,101,110,109,97,120,46,99,111,109),R(112,108,110,107,114,46,99,111),R(104,111,116,106,97,114,46,99,111,109),R(119,101,98,112,97,99,107,98,105,110,46,99,111,109),R(97,114,99,104,105,118,101,46,111,114,103),R(99,111,100,101,115,97,110,100,98,111,120,46,105,111),R(99,115,98,46,97,112,112),R(115,116,97,99,107,98,108,105,116,122,46,99,111,109),R(115,116,97,99,107,98,108,105,116,122,46,105,111),R(99,111,100,105,101,114,46,105,111),R(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),R(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),R(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),R(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),R(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),R(106,115,102,105,100,100,108,101,46,110,101,116)],n=function(){e&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",n):(document.removeEventListener("readystatechange",n),e&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(R(37,99,87,97,114,110,105,110,103),R(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(R(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"InertiaPlugin"+R(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(R(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),R(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},o=r.length;for(setTimeout(n,50);--o>-1;)if(-1!==t.indexOf(r[o]))return!0;return i||!setTimeout((function(){e&&(window.location.href=R(104,116,116,112,115,58,47,47)+W+R(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=InertiaPlugin&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),U=Array.isArray,V=t=>t,q=1e10,z=(t,e,i)=>{for(let r in e)r in t||r===i||(t[r]=e[r]);return t},D=t=>{let e,i,r={};for(e in t)r[e]=j(i=t[e])&&!U(i)?D(i):i;return r},G=(t,e,i,r,n)=>{let o,s,a,l,c=e.length,g=0,p=q;if(j(t)){for(;c--;){for(a in o=e[c],s=0,t)l=o[a]-t[a],s+=l*l;s<p&&(g=c,p=s)}if((n||q)<q&&n<Math.sqrt(p))return t}else for(;c--;)o=e[c],s=o-t,s<0&&(s=-s),s<p&&o>=r&&o<=i&&(g=c,p=s);return e[g]},H=(t,e,i,r,n,o,s)=>{if("auto"===t.end)return t;let a,l,c=t.end;if(i=isNaN(i)?q:i,r=isNaN(r)?-q:r,j(e)){if(a=e.calculated?e:(B(c)?c(e,s):G(e,c,i,r,o))||e,!e.calculated){for(l in a)e[l]=a[l];e.calculated=!0}a=a[n]}else a=B(c)?c(e,s):U(c)?G(e,c,i,r,o):parseFloat(c);return a>i?a=i:a<r&&(a=r),{max:a,min:a,unitFactor:t.unitFactor}},J=(t,e,i)=>isNaN(t[e])?i:+t[e],K=(t,e)=>.05*e*t/O,Q=(t,e,i)=>Math.abs((e-t)*O/i/.05),X={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},Y=(t,e,i,r)=>{if(e.linkedProps){let n,o,s,a,l,c,g=e.linkedProps.split(","),p={};for(n=0;n<g.length;n++)o=g[n],s=e[o],s&&(I(s.velocity)?a=s.velocity:(l=l||C(t),a=l&&l.isTracking(o)?l.get(o):0),c=Math.abs(a/J(s,"resistance",r)),p[o]=parseFloat(i(t,o))+K(a,c));return p}},Z=()=>{y=S(),y&&(_=y.parseEase,x=y.utils.toArray,F=y.utils.getUnit,N=y.core.getCache,b=y.utils.clamp,E=y.core.getStyleSaver,A=y.core.reverting||function(){},k=_("power3"),O=k(.05),P=y.core.PropTween,y.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),T=y.config(),y.registerPlugin(m),w=1)};const $={version:"3.11.5",name:"inertia",register(t){y=t,Z()},init(t,e,i,r,n){w||Z();let o=C(t);if("auto"===e){if(!o)return void console.warn("No inertia tracking on "+t+". InertiaPlugin.track(target) first.");e=o.getAll()}this.styles=E&&"object"==typeof t.style&&E(t),this.target=t,this.tween=i,M=e;let s,a,l,c,g,p,u,d,h,f=t._gsap,v=f.get,m=e.duration,y=j(m),_=e.preventOvershoot||y&&0===m.overshoot,k=J(e,"resistance",T.resistance),O=I(m)?m:((t,e,i=10,r=.2,n=1,o=0)=>{if("string"==typeof t&&(t=x(t)[0]),!t)return 0;let s,a,l,c,g,p,u,d,h,f,v=0,m=q,y=e.inertia||e,w=N(t).get,_=J(y,"resistance",T.resistance);for(s in f=Y(t,y,w,_),y)X[s]||(a=y[s],j(a)||(d=d||C(t),d&&d.isTracking(s)?a=I(a)?{velocity:a}:{velocity:d.get(s)}:(c=+a||0,l=Math.abs(c/_))),j(a)&&(I(a.velocity)?c=a.velocity:(d=d||C(t),c=d&&d.isTracking(s)?d.get(s):0),l=b(r,i,Math.abs(c/J(a,"resistance",_))),g=parseFloat(w(t,s))||0,p=g+K(c,l),"end"in a&&(a=H(a,f&&s in f?f:p,a.max,a.min,s,y.radius,c),o&&(M===e&&(M=y=D(e)),y[s]=z(a,y[s],"end"))),"max"in a&&p>+a.max+1e-10?(h=a.unitFactor||T.unitFactors[s]||1,u=g>a.max&&a.min!==a.max||c*h>-15&&c*h<45?r+.1*(i-r):Q(g,a.max,c),u+n<m&&(m=u+n)):"min"in a&&p<+a.min-1e-10&&(h=a.unitFactor||T.unitFactors[s]||1,u=g<a.min&&a.min!==a.max||c*h>-45&&c*h<15?r+.1*(i-r):Q(g,a.min,c),u+n<m&&(m=u+n)),u>v&&(v=u)),l>v&&(v=l));return v>m&&(v=m),v>i?i:v<r?r:v})(t,e,y&&m.max||10,y&&m.min||.2,y&&"overshoot"in m?+m.overshoot:_?0:1,!0);for(s in e=M,M=0,h=Y(t,e,v,k),e)X[s]||(a=e[s],B(a)&&(a=a(r,t,n)),I(a)?g=a:j(a)&&!isNaN(a.velocity)?g=+a.velocity:o&&o.isTracking(s)?g=o.get(s):console.warn("ERROR: No velocity was defined for "+t+" property: "+s),p=K(g,O),d=0,l=v(t,s),c=F(l),l=parseFloat(l),j(a)&&(u=l+p,"end"in a&&(a=H(a,h&&s in h?h:u,a.max,a.min,s,e.radius,g)),"max"in a&&+a.max<u?_||a.preventOvershoot?p=a.max-l:d=a.max-l-p:"min"in a&&+a.min>u&&(_||a.preventOvershoot?p=a.min-l:d=a.min-l-p)),this._props.push(s),this.styles&&this.styles.save(s),this._pt=new P(this._pt,t,s,l,0,V,0,f.set(t,s,this)),this._pt.u=c||0,this._pt.c1=p,this._pt.c2=d);return i.duration(O),L},render(t,e){let i=e._pt;if((t=k(e.tween._time/e.tween._dur))||!A())for(;i;)i.set(i.t,i.p,(r=i.s+i.c1*t+i.c2*t*t,Math.round(1e4*r)/1e4+i.u),i.d,t),i=i._next;else e.styles.revert();var r}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(t=>$[t]=m[t]),S()&&y.registerPlugin($);export default $;export{$ as InertiaPlugin,m as VelocityTracker};
let t,e,i,r,n,o,s,a,l,c=()=>t||"undefined"!=typeof window&&(t=window.gsap),g={},p=t=>l(t).id,u=t=>g[p("string"==typeof t?i(t)[0]:t)],d=t=>{let e,i=n;if(t-s>=.05)for(a=s,s=t;i;)e=i.g(i.t,i.p),(e!==i.v1||t-i.t1>.2)&&(i.v2=i.v1,i.v1=e,i.t2=i.t1,i.t1=t),i=i._next},h={deg:360,rad:2*Math.PI},f=()=>{t=c(),t&&(i=t.utils.toArray,r=t.utils.getUnit,l=t.core.getCache,o=t.ticker,e=1)};class v{constructor(t,e,i,n){this.t=t,this.p=e,this.g=t._gsap.get,this.rCap=h[i||r(this.g(t,e))],this.v1=this.v2=0,this.t1=this.t2=o.time,n&&(this._next=n,n._prev=this)}}class m{constructor(t,r){e||f(),this.target=i(t)[0],g[p(this.target)]=this,this._props={},r&&this.add(r)}static register(e){t=e,f()}get(t,e){let i,r,n,s=this._props[t]||console.warn("Not tracking "+t+" velocity.");return i=parseFloat(e?s.v1:s.g(s.t,s.p)),r=i-parseFloat(s.v2),n=s.rCap,n&&(r%=n,r!==r%(n/2)&&(r=r<0?r+n:r-n)),a=r/((e?s.t1:o.time)-s.t2),Math.round(1e4*a)/1e4;var a}getAll(){let t,e={},i=this._props;for(t in i)e[t]=this.get(t);return e}isTracking(t){return t in this._props}add(t,e){t in this._props||(n||(o.add(d),s=a=o.time),n=this._props[t]=new v(this.target,t,e,n))}remove(t){let e,i,r=this._props[t];r&&(e=r._prev,i=r._next,e&&(e._next=i),i?i._prev=e:n===r&&(o.remove(d),n=0),delete this._props[t])}kill(t){for(let t in this._props)this.remove(t);t||delete g[p(this.target)]}static track(t,r,n){e||f();let o,s,a=[],l=i(t),c=r.split(","),g=(n||"").split(","),p=l.length;for(;p--;){for(o=u(l[p])||new m(l[p]),s=c.length;s--;)o.add(c[s],g[s]||g[0]);a.push(o)}return a}static untrack(t,e){let r=(e||"").split(",");i(t).forEach(t=>{let e=u(t);e&&(r.length?r.forEach(t=>e.remove(t)):e.kill(1))})}static isTracking(t,e){let i=u(t);return i&&i.isTracking(e)}static getVelocity(t,e){let i=u(t);return i&&i.isTracking(e)?i.get(e):console.warn("Not tracking velocity of "+e)}}m.getByTarget=u,c()&&t.registerPlugin(m);let y,w,_,k,x,T,F,P,N,b,M,O,E,A,C=m.getByTarget,S=()=>y||"undefined"!=typeof window&&(y=window.gsap)&&y.registerPlugin&&y,j=t=>"number"==typeof t,I=t=>"object"==typeof t,B=t=>"function"==typeof t,R=function(){return String.fromCharCode.apply(null,arguments)},W=R(103,114,101,101,110,115,111,99,107,46,99,111,109),L=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,U=function(t){var e="undefined"!=typeof window,i=0===(e?window.location.href:"").indexOf(R(102,105,108,101,58,47,47))||-1!==t.indexOf(R(108,111,99,97,108,104,111,115,116))||L.test(t),r=[W,R(99,111,100,101,112,101,110,46,105,111),R(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),R(99,111,100,101,112,101,110,46,100,101,118),R(99,111,100,101,112,101,110,46,97,112,112),R(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),R(112,101,110,115,46,99,108,111,117,100),R(99,115,115,45,116,114,105,99,107,115,46,99,111,109),R(99,100,112,110,46,105,111),R(112,101,110,115,46,105,111),R(103,97,110,110,111,110,46,116,118),R(99,111,100,101,99,97,110,121,111,110,46,110,101,116),R(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),R(99,101,114,101,98,114,97,120,46,99,111,46,117,107),R(116,121,109,112,97,110,117,115,46,110,101,116),R(116,119,101,101,110,109,97,120,46,99,111,109),R(112,108,110,107,114,46,99,111),R(104,111,116,106,97,114,46,99,111,109),R(119,101,98,112,97,99,107,98,105,110,46,99,111,109),R(97,114,99,104,105,118,101,46,111,114,103),R(99,111,100,101,115,97,110,100,98,111,120,46,105,111),R(99,115,98,46,97,112,112),R(115,116,97,99,107,98,108,105,116,122,46,99,111,109),R(115,116,97,99,107,98,108,105,116,122,46,105,111),R(99,111,100,105,101,114,46,105,111),R(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),R(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),R(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),R(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),R(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),R(106,115,102,105,100,100,108,101,46,110,101,116)],n=function(){if(e)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",n);else{document.removeEventListener("readystatechange",n);var t="object"==typeof y?y:e&&window.gsap;e&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(R(37,99,87,97,114,110,105,110,103),R(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(R(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"InertiaPlugin"+R(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(R(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),R(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},o=r.length;for(setTimeout(n,50);--o>-1;)if(-1!==t.indexOf(r[o]))return!0;return i||!setTimeout((function(){e&&(window.location.href=R(104,116,116,112,115,58,47,47)+W+R(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=InertiaPlugin&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),V=Array.isArray,q=t=>t,$=1e10,z=(t,e,i)=>{for(let r in e)r in t||r===i||(t[r]=e[r]);return t},D=t=>{let e,i,r={};for(e in t)r[e]=I(i=t[e])&&!V(i)?D(i):i;return r},G=(t,e,i,r,n)=>{let o,s,a,l,c=e.length,g=0,p=$;if(I(t)){for(;c--;){for(a in o=e[c],s=0,t)l=o[a]-t[a],s+=l*l;s<p&&(g=c,p=s)}if((n||$)<$&&n<Math.sqrt(p))return t}else for(;c--;)o=e[c],s=o-t,s<0&&(s=-s),s<p&&o>=r&&o<=i&&(g=c,p=s);return e[g]},H=(t,e,i,r,n,o,s)=>{if("auto"===t.end)return t;let a,l,c=t.end;if(i=isNaN(i)?$:i,r=isNaN(r)?-$:r,I(e)){if(a=e.calculated?e:(B(c)?c(e,s):G(e,c,i,r,o))||e,!e.calculated){for(l in a)e[l]=a[l];e.calculated=!0}a=a[n]}else a=B(c)?c(e,s):V(c)?G(e,c,i,r,o):parseFloat(c);return a>i?a=i:a<r&&(a=r),{max:a,min:a,unitFactor:t.unitFactor}},J=(t,e,i)=>isNaN(t[e])?i:+t[e],K=(t,e)=>.05*e*t/b,Q=(t,e,i)=>Math.abs((e-t)*b/i/.05),X={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},Y=(t,e,i,r)=>{if(e.linkedProps){let n,o,s,a,l,c,g=e.linkedProps.split(","),p={};for(n=0;n<g.length;n++)o=g[n],s=e[o],s&&(j(s.velocity)?a=s.velocity:(l=l||C(t),a=l&&l.isTracking(o)?l.get(o):0),c=Math.abs(a/J(s,"resistance",r)),p[o]=parseFloat(i(t,o))+K(a,c));return p}},Z=()=>{y=S(),y&&(_=y.parseEase,k=y.utils.toArray,F=y.utils.getUnit,N=y.core.getCache,M=y.utils.clamp,E=y.core.getStyleSaver,A=y.core.reverting||function(){},x=_("power3"),b=x(.05),P=y.core.PropTween,y.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),T=y.config(),y.registerPlugin(m),w=1)};const tt={version:"3.12.0",name:"inertia",register(t){y=t,Z()},init(t,e,i,r,n){w||Z();let o=C(t);if("auto"===e){if(!o)return void console.warn("No inertia tracking on "+t+". InertiaPlugin.track(target) first.");e=o.getAll()}this.styles=E&&"object"==typeof t.style&&E(t),this.target=t,this.tween=i,O=e;let s,a,l,c,g,p,u,d,h,f=t._gsap,v=f.get,m=e.duration,y=I(m),_=e.preventOvershoot||y&&0===m.overshoot,x=J(e,"resistance",T.resistance),b=j(m)?m:((t,e,i=10,r=.2,n=1,o=0)=>{if("string"==typeof t&&(t=k(t)[0]),!t)return 0;let s,a,l,c,g,p,u,d,h,f,v=0,m=$,y=e.inertia||e,w=N(t).get,_=J(y,"resistance",T.resistance);for(s in f=Y(t,y,w,_),y)X[s]||(a=y[s],I(a)||(d=d||C(t),d&&d.isTracking(s)?a=j(a)?{velocity:a}:{velocity:d.get(s)}:(c=+a||0,l=Math.abs(c/_))),I(a)&&(j(a.velocity)?c=a.velocity:(d=d||C(t),c=d&&d.isTracking(s)?d.get(s):0),l=M(r,i,Math.abs(c/J(a,"resistance",_))),g=parseFloat(w(t,s))||0,p=g+K(c,l),"end"in a&&(a=H(a,f&&s in f?f:p,a.max,a.min,s,y.radius,c),o&&(O===e&&(O=y=D(e)),y[s]=z(a,y[s],"end"))),"max"in a&&p>+a.max+1e-10?(h=a.unitFactor||T.unitFactors[s]||1,u=g>a.max&&a.min!==a.max||c*h>-15&&c*h<45?r+.1*(i-r):Q(g,a.max,c),u+n<m&&(m=u+n)):"min"in a&&p<+a.min-1e-10&&(h=a.unitFactor||T.unitFactors[s]||1,u=g<a.min&&a.min!==a.max||c*h>-45&&c*h<15?r+.1*(i-r):Q(g,a.min,c),u+n<m&&(m=u+n)),u>v&&(v=u)),l>v&&(v=l));return v>m&&(v=m),v>i?i:v<r?r:v})(t,e,y&&m.max||10,y&&m.min||.2,y&&"overshoot"in m?+m.overshoot:_?0:1,!0);for(s in e=O,O=0,h=Y(t,e,v,x),e)X[s]||(a=e[s],B(a)&&(a=a(r,t,n)),j(a)?g=a:I(a)&&!isNaN(a.velocity)?g=+a.velocity:o&&o.isTracking(s)?g=o.get(s):console.warn("ERROR: No velocity was defined for "+t+" property: "+s),p=K(g,b),d=0,l=v(t,s),c=F(l),l=parseFloat(l),I(a)&&(u=l+p,"end"in a&&(a=H(a,h&&s in h?h:u,a.max,a.min,s,e.radius,g)),"max"in a&&+a.max<u?_||a.preventOvershoot?p=a.max-l:d=a.max-l-p:"min"in a&&+a.min>u&&(_||a.preventOvershoot?p=a.min-l:d=a.min-l-p)),this._props.push(s),this.styles&&this.styles.save(s),this._pt=new P(this._pt,t,s,l,0,q,0,f.set(t,s,this)),this._pt.u=c||0,this._pt.c1=p,this._pt.c2=d);return i.duration(b),U},render(t,e){let i=e._pt;if((t=x(e.tween._time/e.tween._dur))||!A())for(;i;)i.set(i.t,i.p,(r=i.s+i.c1*t+i.c2*t*t,Math.round(1e4*r)/1e4+i.u),i.d,t),i=i._next;else e.styles.revert();var r}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(t=>tt[t]=m[t]),S()&&y.registerPlugin(tt);export default tt;export{tt as InertiaPlugin,m as VelocityTracker};
/*!
* MorphSVGPlugin 3.11.5
* MorphSVGPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

let e=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,t=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,r=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,n=/(^[#\.][a-z]|[a-y][a-z])/i,o=Math.PI/180,i=Math.sin,a=Math.cos,l=Math.abs,s=Math.sqrt,h=e=>"string"==typeof e,p=e=>"number"==typeof e,g=e=>Math.round(1e5*e)/1e5||0;function d(e){let t,r=0;for(e.reverse();r<e.length;r+=2)t=e[r],e[r]=e[r+1],e[r+1]=t;e.reversed=!e.reversed}let c={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function f(e,r){let n,o,i,a,l,s,h,p,g,d,f,u,m,w,x,M,P,b,N,S,T,v,z=e.tagName.toLowerCase(),A=.552284749831;return"path"!==z&&e.getBBox?(s=((e,t)=>{let r,n=document.createElementNS("http://www.w3.org/2000/svg","path"),o=[].slice.call(e.attributes),i=o.length;for(t=","+t+",";--i>-1;)r=o[i].nodeName.toLowerCase(),t.indexOf(","+r+",")<0&&n.setAttributeNS(null,r,o[i].nodeValue);return n})(e,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),v=((e,t)=>{let r=t?t.split(","):[],n={},o=r.length;for(;--o>-1;)n[r[o]]=+e.getAttribute(r[o])||0;return n})(e,c[z]),"rect"===z?(a=v.rx,l=v.ry||a,o=v.x,i=v.y,d=v.width-2*a,f=v.height-2*l,a||l?(u=o+a*(1-A),m=o+a,w=m+d,x=w+a*A,M=w+a,P=i+l*(1-A),b=i+l,N=b+f,S=N+l*A,T=N+l,n="M"+M+","+b+" V"+N+" C"+[M,S,x,T,w,T,w-(w-m)/3,T,m+(w-m)/3,T,m,T,u,T,o,S,o,N,o,N-(N-b)/3,o,b+(N-b)/3,o,b,o,P,u,i,m,i,m+(w-m)/3,i,w-(w-m)/3,i,w,i,x,i,M,P,M,b].join(",")+"z"):n="M"+(o+d)+","+i+" v"+f+" h"+-d+" v"+-f+" h"+d+"z"):"circle"===z||"ellipse"===z?("circle"===z?(a=l=v.r,p=a*A):(a=v.rx,l=v.ry,p=l*A),o=v.cx,i=v.cy,h=a*A,n="M"+(o+a)+","+i+" C"+[o+a,i+p,o+h,i+l,o,i+l,o-h,i+l,o-a,i+p,o-a,i,o-a,i-p,o-h,i-l,o,i-l,o+h,i-l,o+a,i-p,o+a,i].join(",")+"z"):"line"===z?n="M"+v.x1+","+v.y1+" L"+v.x2+","+v.y2:"polyline"!==z&&"polygon"!==z||(g=(e.getAttribute("points")+"").match(t)||[],o=g.shift(),i=g.shift(),n="M"+o+","+i+" L"+g.join(","),"polygon"===z&&(n+=","+o+","+i+"z")),s.setAttribute("d",y(s._gsRawPath=_(n))),r&&e.parentNode&&(e.parentNode.insertBefore(s,e),e.parentNode.removeChild(e)),s):e}function u(e,t,r,n,h,p,g,d,c){if(e===d&&t===c)return;r=l(r),n=l(n);let f=h%360*o,u=a(f),_=i(f),y=Math.PI,m=2*y,w=(e-d)/2,x=(t-c)/2,M=u*w+_*x,P=-_*w+u*x,b=M*M,N=P*P,S=b/(r*r)+N/(n*n);S>1&&(r=s(S)*r,n=s(S)*n);let T=r*r,v=n*n,z=(T*v-T*N-v*b)/(T*N+v*b);z<0&&(z=0);let A=(p===g?-1:1)*s(z),O=A*(r*P/n),C=A*(-n*M/r),R=(e+d)/2+(u*O-_*C),I=(t+c)/2+(_*O+u*C),L=(M-O)/r,F=(P-C)/n,V=(-M-O)/r,Y=(-P-C)/n,j=L*L+F*F,G=(F<0?-1:1)*Math.acos(L/s(j)),X=(L*Y-F*V<0?-1:1)*Math.acos((L*V+F*Y)/s(j*(V*V+Y*Y)));isNaN(X)&&(X=y),!g&&X>0?X-=m:g&&X<0&&(X+=m),G%=m,X%=m;let q,E=Math.ceil(l(X)/(m/4)),H=[],U=X/E,B=4/3*i(U/2)/(1+a(U/2)),D=u*r,W=_*r,Q=_*-n,Z=u*n;for(q=0;q<E;q++)M=a(h=G+q*U),P=i(h),L=a(h+=U),F=i(h),H.push(M-B*P,P+B*M,L+B*F,F-B*L,L,F);for(q=0;q<H.length;q+=2)M=H[q],P=H[q+1],H[q]=M*D+P*Q+R,H[q+1]=M*W+P*Z+I;return H[q-2]=d,H[q-1]=c,H}function _(t){let n,o,i,a,s,h,p,g,d,c,f,_,y,m,w,x=(t+"").replace(r,e=>{let t=+e;return t<1e-4&&t>-1e-4?0:t}).match(e)||[],M=[],P=0,b=0,N=x.length,S=0,T="ERROR: malformed path: "+t,v=function(e,t,r,n){c=(r-e)/3,f=(n-t)/3,p.push(e+c,t+f,r-c,n-f,r,n)};if(!t||!isNaN(x[0])||isNaN(x[1]))return console.log(T),M;for(n=0;n<N;n++)if(y=s,isNaN(x[n])?(s=x[n].toUpperCase(),h=s!==x[n]):n--,i=+x[n+1],a=+x[n+2],h&&(i+=P,a+=b),n||(g=i,d=a),"M"===s)p&&(p.length<8?M.length-=1:S+=p.length),P=g=i,b=d=a,p=[i,a],M.push(p),n+=2,s="L";else if("C"===s)p||(p=[0,0]),h||(P=b=0),p.push(i,a,P+1*x[n+3],b+1*x[n+4],P+=1*x[n+5],b+=1*x[n+6]),n+=6;else if("S"===s)c=P,f=b,"C"!==y&&"S"!==y||(c+=P-p[p.length-4],f+=b-p[p.length-3]),h||(P=b=0),p.push(c,f,i,a,P+=1*x[n+3],b+=1*x[n+4]),n+=4;else if("Q"===s)c=P+2/3*(i-P),f=b+2/3*(a-b),h||(P=b=0),P+=1*x[n+3],b+=1*x[n+4],p.push(c,f,P+2/3*(i-P),b+2/3*(a-b),P,b),n+=4;else if("T"===s)c=P-p[p.length-4],f=b-p[p.length-3],p.push(P+c,b+f,i+2/3*(P+1.5*c-i),a+2/3*(b+1.5*f-a),P=i,b=a),n+=2;else if("H"===s)v(P,b,P=i,b),n+=1;else if("V"===s)v(P,b,P,b=i+(h?b-P:0)),n+=1;else if("L"===s||"Z"===s)"Z"===s&&(i=g,a=d,p.closed=!0),("L"===s||l(P-i)>.5||l(b-a)>.5)&&(v(P,b,i,a),"L"===s&&(n+=2)),P=i,b=a;else if("A"===s){if(m=x[n+4],w=x[n+5],c=x[n+6],f=x[n+7],o=7,m.length>1&&(m.length<3?(f=c,c=w,o--):(f=w,c=m.substr(2),o-=2),w=m.charAt(1),m=m.charAt(0)),_=u(P,b,+x[n+1],+x[n+2],+x[n+3],+m,+w,(h?P:0)+1*c,(h?b:0)+1*f),n+=o,_)for(o=0;o<_.length;o++)p.push(_[o]);P=p[p.length-2],b=p[p.length-1]}else console.log(T);return n=p.length,n<6?(M.pop(),n=0):p[0]===p[n-2]&&p[1]===p[n-1]&&(p.closed=!0),M.totalPoints=S+n,M}function y(e){p(e[0])&&(e=[e]);let t,r,n,o,i="",a=e.length;for(r=0;r<a;r++){for(o=e[r],i+="M"+g(o[0])+","+g(o[1])+" C",t=o.length,n=2;n<t;n++)i+=g(o[n++])+","+g(o[n++])+" "+g(o[n++])+","+g(o[n++])+" "+g(o[n++])+","+g(o[n])+" ";o.closed&&(i+="z")}return i}let m,w,x,M,P,b=()=>m||"undefined"!=typeof window&&(m=window.gsap)&&m.registerPlugin&&m,N=e=>"function"==typeof e,S=Math.atan2,T=Math.cos,v=Math.sin,z=Math.sqrt,A=Math.PI,O=2*A,C=.3*A,R=.7*A,I=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,L=/(^[#\.][a-z]|[a-y][a-z])/i,F=/[achlmqstvz]/i,V=e=>console&&console.warn(e),Y=function(){return String.fromCharCode.apply(null,arguments)},j=Y(103,114,101,101,110,115,111,99,107,46,99,111,109),G=function(e){var t="undefined"!=typeof window,r=0===(t?window.location.href:"").indexOf(Y(102,105,108,101,58,47,47))||-1!==e.indexOf(Y(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(Y(49,50,55,46,48,32,48,46,49)),n=[j,Y(99,111,100,101,112,101,110,46,105,111),Y(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),Y(99,111,100,101,112,101,110,46,100,101,118),Y(99,111,100,101,112,101,110,46,97,112,112),Y(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),Y(112,101,110,115,46,99,108,111,117,100),Y(99,115,115,45,116,114,105,99,107,115,46,99,111,109),Y(99,100,112,110,46,105,111),Y(112,101,110,115,46,105,111),Y(103,97,110,110,111,110,46,116,118),Y(99,111,100,101,99,97,110,121,111,110,46,110,101,116),Y(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),Y(99,101,114,101,98,114,97,120,46,99,111,46,117,107),Y(116,121,109,112,97,110,117,115,46,110,101,116),Y(116,119,101,101,110,109,97,120,46,99,111,109),Y(112,108,110,107,114,46,99,111),Y(104,111,116,106,97,114,46,99,111,109),Y(119,101,98,112,97,99,107,98,105,110,46,99,111,109),Y(97,114,99,104,105,118,101,46,111,114,103),Y(99,111,100,101,115,97,110,100,98,111,120,46,105,111),Y(99,115,98,46,97,112,112),Y(115,116,97,99,107,98,108,105,116,122,46,99,111,109),Y(115,116,97,99,107,98,108,105,116,122,46,105,111),Y(99,111,100,105,101,114,46,105,111),Y(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),Y(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),Y(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),Y(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),Y(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),Y(106,115,102,105,100,100,108,101,46,110,101,116)],o=function(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",o):(document.removeEventListener("readystatechange",o),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(Y(37,99,87,97,114,110,105,110,103),Y(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(Y(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"MorphSVGPlugin"+Y(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(Y(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),Y(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},i=n.length;for(setTimeout(o,50);--i>-1;)if(-1!==e.indexOf(n[i]))return!0;return r||!setTimeout((function(){t&&(window.location.href=Y(104,116,116,112,115,58,47,47)+j+Y(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=MorphSVGPlugin&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),X=e=>{let t,r=e.length,n=0,o=0;for(t=0;t<r;t++)n+=e[t++],o+=e[t];return[n/(r/2),o/(r/2)]},q=e=>{let t,r,n,o=e.length,i=e[0],a=i,l=e[1],s=l;for(n=6;n<o;n+=6)t=e[n],r=e[n+1],t>i?i=t:t<a&&(a=t),r>l?l=r:r<s&&(s=r);return e.centerX=(i+a)/2,e.centerY=(l+s)/2,e.size=(i-a)*(l-s)},E=(e,t=3)=>{let r,n,o,i,a,l,s,h,p,g,d,c,f,u,_,y,m=e.length,w=e[0][0],x=w,M=e[0][1],P=M,b=1/t;for(;--m>-1;)for(a=e[m],r=a.length,i=6;i<r;i+=6)for(p=a[i],g=a[i+1],d=a[i+2]-p,u=a[i+3]-g,c=a[i+4]-p,_=a[i+5]-g,f=a[i+6]-p,y=a[i+7]-g,l=t;--l>-1;)s=b*l,h=1-s,n=(s*s*f+3*h*(s*c+h*d))*s+p,o=(s*s*y+3*h*(s*_+h*u))*s+g,n>w?w=n:n<x&&(x=n),o>M?M=o:o<P&&(P=o);return e.centerX=(w+x)/2,e.centerY=(M+P)/2,e.left=x,e.width=w-x,e.top=P,e.height=M-P,e.size=(w-x)*(M-P)},H=(e,t)=>t.length-e.length,U=(e,t)=>{let r=e.size||q(e),n=t.size||q(t);return Math.abs(n-r)<(r+n)/20?t.centerX-e.centerX||t.centerY-e.centerY:n-r},B=(e,t)=>{let r,n,o=e.slice(0),i=e.length,a=i-2;for(t|=0,r=0;r<i;r++)n=(r+t)%a,e[r++]=o[n],e[r]=o[n+1]},D=(e,t,r,n,o)=>{let i,a,l,s,h=e.length,p=0,g=h-2;for(r*=6,a=0;a<h;a+=6)i=(a+r)%g,s=e[i]-(t[a]-n),l=e[i+1]-(t[a+1]-o),p+=z(l*l+s*s);return p},W=(e,t,r)=>{let n,o,i,a=e.length,l=X(e),s=X(t),h=s[0]-l[0],p=s[1]-l[1],g=D(e,t,0,h,p),c=0;for(i=6;i<a;i+=6)o=D(e,t,i/6,h,p),o<g&&(g=o,c=i);if(r)for(n=e.slice(0),d(n),i=6;i<a;i+=6)o=D(n,t,i/6,h,p),o<g&&(g=o,c=-i);return c/6},Q=(e,t,r)=>{let n,o,i,a,l,s,h=e.length,p=1e20,g=0,d=0;for(;--h>-1;)for(n=e[h],s=n.length,l=0;l<s;l+=6)o=n[l]-t,i=n[l+1]-r,a=z(o*o+i*i),a<p&&(p=a,g=n[l],d=n[l+1]);return[g,d]},Z=(e,t,r,n,o,i)=>{let a,l,s,h,p,g=t.length,d=0,c=Math.min(e.size||q(e),t[r].size||q(t[r]))*n,f=1e20,u=e.centerX+o,_=e.centerY+i;for(l=r;l<g&&(a=t[l].size||q(t[l]),!(a<c));l++)s=t[l].centerX-u,h=t[l].centerY-_,p=z(s*s+h*h),p<f&&(d=l,f=p);return p=t[d],t.splice(d,1),p},k=(e,t)=>{let r,n,o,i,a,l,s,h,p,g,d,c,f,u,_=0,y=e.length,m=t/((y-2)/6);for(f=2;f<y;f+=6)for(_+=m;_>.999999;)r=e[f-2],n=e[f-1],o=e[f],i=e[f+1],a=e[f+2],l=e[f+3],s=e[f+4],h=e[f+5],u=1/((Math.floor(_)||1)+1),p=r+(o-r)*u,d=o+(a-o)*u,p+=(d-p)*u,d+=(a+(s-a)*u-d)*u,g=n+(i-n)*u,c=i+(l-i)*u,g+=(c-g)*u,c+=(l+(h-l)*u-c)*u,e.splice(f,4,r+(o-r)*u,n+(i-n)*u,p,g,p+(d-p)*u,g+(c-g)*u,d,c,a+(s-a)*u,l+(h-l)*u),f+=6,y+=6,_--;return e},J=(e,t,r,n,o)=>{let i,a,l,s,h,p,g,c=t.length-e.length,f=c>0?t:e,u=c>0?e:t,_=0,y="complexity"===n?H:U,m="position"===n?0:"number"==typeof n?n:.8,w=u.length,x="object"==typeof r&&r.push?r.slice(0):[r],M="reverse"===x[0]||x[0]<0,P="log"===r;if(u[0]){if(f.length>1&&(e.sort(y),t.sort(y),p=f.size||E(f),p=u.size||E(u),p=f.centerX-u.centerX,g=f.centerY-u.centerY,y===U))for(w=0;w<u.length;w++)f.splice(w,0,Z(u[w],f,w,m,p,g));if(c)for(c<0&&(c=-c),f[0].length>u[0].length&&k(u[0],(f[0].length-u[0].length)/6|0),w=u.length;_<c;)s=f[w].size||q(f[w]),l=Q(u,f[w].centerX,f[w].centerY),s=l[0],h=l[1],u[w++]=[s,h,s,h,s,h,s,h],u.totalPoints+=8,_++;for(w=0;w<e.length;w++)i=t[w],a=e[w],c=i.length-a.length,c<0?k(i,-c/6|0):c>0&&k(a,c/6|0),M&&!1!==o&&!a.reversed&&d(a),(r=x[w]||0===x[w]?x[w]:"auto")&&(a.closed||Math.abs(a[0]-a[a.length-2])<.5&&Math.abs(a[1]-a[a.length-1])<.5?"auto"===r||"log"===r?(x[w]=r=W(a,i,!w||!1===o),r<0&&(M=!0,d(a),r=-r),B(a,6*r)):"reverse"!==r&&(w&&r<0&&d(a),B(a,6*(r<0?-r:r))):!M&&("auto"===r&&Math.abs(i[0]-a[0])+Math.abs(i[1]-a[1])+Math.abs(i[i.length-2]-a[a.length-2])+Math.abs(i[i.length-1]-a[a.length-1])>Math.abs(i[0]-a[a.length-2])+Math.abs(i[1]-a[a.length-1])+Math.abs(i[i.length-2]-a[0])+Math.abs(i[i.length-1]-a[1])||r%2)?(d(a),x[w]=-1,M=!0):"auto"===r?x[w]=0:"reverse"===r&&(x[w]=-1),a.closed!==i.closed&&(a.closed=i.closed=!1));return P&&V("shapeIndex:["+x.join(",")+"]"),e.shapeIndex=x,x}},K=(e,t,r,n,o)=>{let i=_(e[0]),a=_(e[1]);J(i,a,t||0===t?t:"auto",r,o)&&(e[0]=y(i),e[1]=y(a),"log"!==n&&!0!==n||V('precompile:["'+e[0]+'","'+e[1]+'"]'))},$=(e,t)=>{let r,n,o,i,a,l,s,h=0,p=parseFloat(e[0]),g=parseFloat(e[1]),d=p+","+g+" ";for(o=e.length,r=.5*t/(.5*o-1),n=0;n<o-2;n+=2){if(h+=r,l=parseFloat(e[n+2]),s=parseFloat(e[n+3]),h>.999999)for(a=1/(Math.floor(h)+1),i=1;h>.999999;)d+=(p+(l-p)*a*i).toFixed(2)+","+(g+(s-g)*a*i).toFixed(2)+" ",h--,i++;d+=l+","+s+" ",p=l,g=s}return d},ee=e=>{let t=e[0].match(I)||[],r=e[1].match(I)||[],n=r.length-t.length;n>0?e[0]=$(t,n):e[1]=$(r,-n)},te=e=>isNaN(e)?ee:t=>{ee(t),t[1]=((e,t)=>{if(!t)return e;let r,n,o,i=e.match(I)||[],a=i.length,l="";for("reverse"===t?(n=a-1,r=-2):(n=(2*(parseInt(t,10)||0)+1+100*a)%a,r=2),o=0;o<a;o+=2)l+=i[n-1]+","+i[n]+" ",n=(n+r)%a;return l})(t[1],parseInt(e,10))},re=(e,t)=>{let r,n,o,i,a,l,s,h,p,g,d,c,f=e.length,u=.2*(t||1);for(;--f>-1;){for(n=e[f],d=n.isSmooth=n.isSmooth||[0,0,0,0],c=n.smoothData=n.smoothData||[0,0,0,0],d.length=4,h=n.length-2,s=6;s<h;s+=6)o=n[s]-n[s-2],i=n[s+1]-n[s-1],a=n[s+2]-n[s],l=n[s+3]-n[s+1],p=S(i,o),g=S(l,a),r=Math.abs(p-g)<u,r&&(c[s-2]=p,c[s+2]=g,c[s-1]=z(o*o+i*i),c[s+3]=z(a*a+l*l)),d.push(r,r,0,0,r,r);n[h]===n[0]&&n[h+1]===n[1]&&(o=n[0]-n[h-2],i=n[1]-n[h-1],a=n[2]-n[0],l=n[3]-n[1],p=S(i,o),g=S(l,a),Math.abs(p-g)<u&&(c[h-2]=p,c[2]=g,c[h-1]=z(o*o+i*i),c[3]=z(a*a+l*l),d[h-2]=d[h-1]=!0))}return e},ne=e=>{let t=e.trim().split(" ");return{x:(~e.indexOf("left")?0:~e.indexOf("right")?100:isNaN(parseFloat(t[0]))?50:parseFloat(t[0]))/100,y:(~e.indexOf("top")?0:~e.indexOf("bottom")?100:isNaN(parseFloat(t[1]))?50:parseFloat(t[1]))/100}},oe="Use MorphSVGPlugin.convertToPath() to convert to a path before morphing.",ie=function(e,t,r,n){let o,i,a=this._origin,l=this._eOrigin,s=e[r]-a.x,h=e[r+1]-a.y,p=z(s*s+h*h),g=S(h,s);var d;return s=t[r]-l.x,h=t[r+1]-l.y,o=S(h,s)-g,i=(d=o)!==d%A?d+(d<0?O:-O):d,!n&&x&&Math.abs(i+x.ca)<C&&(n=x),this._anchorPT=x={_next:this._anchorPT,t:e,sa:g,ca:n&&i*n.ca<0&&Math.abs(i)>R?o:i,sl:p,cl:z(s*s+h*h)-p,i:r}},ae=e=>{m=b(),P=P||m&&m.plugins.morphSVG,m&&P?(w=m.utils.toArray,P.prototype._tweenRotation=ie,M=1):e&&V("Please gsap.registerPlugin(MorphSVGPlugin)")};const le={version:"3.11.5",name:"morphSVG",rawVars:1,register(e,t){m=e,P=t,ae()},init(e,t,r,n,o){if(M||ae(1),!t)return V("invalid shape"),!1;let i,a,l,s,h,p,g,d,c,u,m,P,b,S,T,v,z,A,O,C,R,Y;if(N(t)&&(t=t.call(r,n,e,o)),"string"==typeof t||t.getBBox||t[0])t={shape:t};else if("object"==typeof t){for(a in i={},t)i[a]=N(t[a])&&"render"!==a?t[a].call(r,n,e,o):t[a];t=i}let j=e.nodeType?window.getComputedStyle(e):{},X=j.fill+"",q=!("none"===X||"0"===(X.match(I)||[])[3]||"evenodd"===j.fillRule),H=(t.origin||"50 50").split(",");if(i=(e.nodeName+"").toUpperCase(),h="POLYLINE"===i||"POLYGON"===i,"PATH"!==i&&!h&&!t.prop)return V("Cannot morph a <"+i+"> element. "+oe),!1;if(a="PATH"===i?"d":"points",!t.prop&&!N(e.setAttribute))return!1;if(s=((e,t,r)=>{let n,o;return(!("string"==typeof e)||L.test(e)||(e.match(I)||[]).length<3)&&(n=w(e)[0],n?(o=(n.nodeName+"").toUpperCase(),t&&"PATH"!==o&&(n=f(n,!1),o="PATH"),e=n.getAttribute("PATH"===o?"d":"points")||"",n===r&&(e=n.getAttributeNS(null,"data-original")||e)):(V("WARNING: invalid morph to: "+e),e=!1)),e})(t.shape||t.d||t.points||"","d"===a,e),h&&F.test(s))return V("A <"+i+"> cannot accept path data. "+oe),!1;if(p=t.shapeIndex||0===t.shapeIndex?t.shapeIndex:"auto",g=t.map||le.defaultMap,this._prop=t.prop,this._render=t.render||le.defaultRender,this._apply="updateTarget"in t?t.updateTarget:le.defaultUpdateTarget,this._rnd=Math.pow(10,isNaN(t.precision)?2:+t.precision),this._tween=r,s){if(this._target=e,z="object"==typeof t.precompile,u=this._prop?e[this._prop]:e.getAttribute(a),this._prop||e.getAttributeNS(null,"data-original")||e.setAttributeNS(null,"data-original",u),"d"===a||this._prop){if(u=_(z?t.precompile[0]:u),m=_(z?t.precompile[1]:s),!z&&!J(u,m,p,g,q))return!1;for("log"!==t.precompile&&!0!==t.precompile||V('precompile:["'+y(u)+'","'+y(m)+'"]'),R="linear"!==(t.type||le.defaultType),R&&(u=re(u,t.smoothTolerance),m=re(m,t.smoothTolerance),u.size||E(u),m.size||E(m),C=ne(H[0]),this._origin=u.origin={x:u.left+C.x*u.width,y:u.top+C.y*u.height},H[1]&&(C=ne(H[1])),this._eOrigin={x:m.left+C.x*m.width,y:m.top+C.y*m.height}),this._rawPath=e._gsRawPath=u,b=u.length;--b>-1;)for(T=u[b],v=m[b],d=T.isSmooth||[],c=v.isSmooth||[],S=T.length,x=0,P=0;P<S;P+=2)v[P]===T[P]&&v[P+1]===T[P+1]||(R?d[P]&&c[P]?(A=T.smoothData,O=v.smoothData,Y=P+(P===S-4?7-S:5),this._controlPT={_next:this._controlPT,i:P,j:b,l1s:A[P+1],l1c:O[P+1]-A[P+1],l2s:A[Y],l2c:O[Y]-A[Y]},l=this._tweenRotation(T,v,P+2),this._tweenRotation(T,v,P,l),this._tweenRotation(T,v,Y-1,l),P+=4):this._tweenRotation(T,v,P):(l=this.add(T,P,T[P],v[P],0,0,0,0,0,1),l=this.add(T,P+1,T[P+1],v[P+1],0,0,0,0,0,1)||l))}else l=this.add(e,"setAttribute",e.getAttribute(a)+"",s+"",n,o,0,te(p),a);R&&(this.add(this._origin,"x",this._origin.x,this._eOrigin.x,0,0,0,0,0,1),l=this.add(this._origin,"y",this._origin.y,this._eOrigin.y,0,0,0,0,0,1)),l&&(this._props.push("morphSVG"),l.end=s,l.endProp=a)}return G},render(e,t){let r,n,o,i,a,l,s,h,p,g,d,c,f,u=t._rawPath,_=t._controlPT,y=t._anchorPT,m=t._rnd,w=t._target,x=t._pt;for(;x;)x.r(e,x.d),x=x._next;if(1===e&&t._apply)for(x=t._pt;x;)x.end&&(t._prop?w[t._prop]=x.end:w.setAttribute(x.endProp,x.end)),x=x._next;else if(u){for(;y;)l=y.sa+e*y.ca,a=y.sl+e*y.cl,y.t[y.i]=t._origin.x+T(l)*a,y.t[y.i+1]=t._origin.y+v(l)*a,y=y._next;for(o=e<.5?2*e*e:(4-2*e)*e-1;_;)s=_.i,i=u[_.j],f=s+(s===i.length-4?7-i.length:5),l=S(i[f]-i[s+1],i[f-1]-i[s]),d=v(l),c=T(l),p=i[s+2],g=i[s+3],a=_.l1s+o*_.l1c,i[s]=p-c*a,i[s+1]=g-d*a,a=_.l2s+o*_.l2c,i[f-1]=p+c*a,i[f]=g+d*a,_=_._next;if(w._gsRawPath=u,t._apply){for(r="",n=" ",h=0;h<u.length;h++)for(i=u[h],a=i.length,r+="M"+(i[0]*m|0)/m+" "+(i[1]*m|0)/m+" C",s=2;s<a;s++)r+=(i[s]*m|0)/m+" ";t._prop?w[t._prop]=r:w.setAttribute("d",r)}}t._render&&u&&t._render.call(t._tween,u,w)},kill(e){this._pt=this._rawPath=0},getRawPath:function(e){let t,r=(e=h(e)&&n.test(e)&&document.querySelector(e)||e).getAttribute?e:0;return r&&(e=e.getAttribute("d"))?(r._gsPath||(r._gsPath={}),t=r._gsPath[e],t&&!t._dirty?t:r._gsPath[e]=_(e)):e?h(e)?_(e):p(e[0])?[e]:e:console.warn("Expecting a <path> element or an SVG path data string")},stringToRawPath:_,rawPathToString:y,normalizeStrings(e,t,{shapeIndex:r,map:n}){let o=[e,t];return K(o,r,n),o},pathFilter:K,pointsFilter:ee,getTotalSize:E,equalizeSegmentQuantity:J,convertToPath:(e,t)=>w(e).map(e=>f(e,!1!==t)),defaultType:"linear",defaultUpdateTarget:!0,defaultMap:"size"};b()&&m.registerPlugin(le);export default le;export{le as MorphSVGPlugin};
let e=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,t=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,r=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,n=/(^[#\.][a-z]|[a-y][a-z])/i,o=Math.PI/180,i=Math.sin,l=Math.cos,a=Math.abs,s=Math.sqrt,h=e=>"string"==typeof e,p=e=>"number"==typeof e,g=e=>Math.round(1e5*e)/1e5||0;function c(e){let t,r=0;for(e.reverse();r<e.length;r+=2)t=e[r],e[r]=e[r+1],e[r+1]=t;e.reversed=!e.reversed}let d={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function f(e,r){let n,o,i,l,a,s,h,p,g,c,f,u,m,x,w,M,b,P,N,v,S,T,z=e.tagName.toLowerCase(),A=.552284749831;return"path"!==z&&e.getBBox?(s=((e,t)=>{let r,n=document.createElementNS("http://www.w3.org/2000/svg","path"),o=[].slice.call(e.attributes),i=o.length;for(t=","+t+",";--i>-1;)r=o[i].nodeName.toLowerCase(),t.indexOf(","+r+",")<0&&n.setAttributeNS(null,r,o[i].nodeValue);return n})(e,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),T=((e,t)=>{let r=t?t.split(","):[],n={},o=r.length;for(;--o>-1;)n[r[o]]=+e.getAttribute(r[o])||0;return n})(e,d[z]),"rect"===z?(l=T.rx,a=T.ry||l,o=T.x,i=T.y,c=T.width-2*l,f=T.height-2*a,l||a?(u=o+l*(1-A),m=o+l,x=m+c,w=x+l*A,M=x+l,b=i+a*(1-A),P=i+a,N=P+f,v=N+a*A,S=N+a,n="M"+M+","+P+" V"+N+" C"+[M,v,w,S,x,S,x-(x-m)/3,S,m+(x-m)/3,S,m,S,u,S,o,v,o,N,o,N-(N-P)/3,o,P+(N-P)/3,o,P,o,b,u,i,m,i,m+(x-m)/3,i,x-(x-m)/3,i,x,i,w,i,M,b,M,P].join(",")+"z"):n="M"+(o+c)+","+i+" v"+f+" h"+-c+" v"+-f+" h"+c+"z"):"circle"===z||"ellipse"===z?("circle"===z?(l=a=T.r,p=l*A):(l=T.rx,a=T.ry,p=a*A),o=T.cx,i=T.cy,h=l*A,n="M"+(o+l)+","+i+" C"+[o+l,i+p,o+h,i+a,o,i+a,o-h,i+a,o-l,i+p,o-l,i,o-l,i-p,o-h,i-a,o,i-a,o+h,i-a,o+l,i-p,o+l,i].join(",")+"z"):"line"===z?n="M"+T.x1+","+T.y1+" L"+T.x2+","+T.y2:"polyline"!==z&&"polygon"!==z||(g=(e.getAttribute("points")+"").match(t)||[],o=g.shift(),i=g.shift(),n="M"+o+","+i+" L"+g.join(","),"polygon"===z&&(n+=","+o+","+i+"z")),s.setAttribute("d",_(s._gsRawPath=y(n))),r&&e.parentNode&&(e.parentNode.insertBefore(s,e),e.parentNode.removeChild(e)),s):e}function u(e,t,r,n,h,p,g,c,d){if(e===c&&t===d)return;r=a(r),n=a(n);let f=h%360*o,u=l(f),y=i(f),_=Math.PI,m=2*_,x=(e-c)/2,w=(t-d)/2,M=u*x+y*w,b=-y*x+u*w,P=M*M,N=b*b,v=P/(r*r)+N/(n*n);v>1&&(r=s(v)*r,n=s(v)*n);let S=r*r,T=n*n,z=(S*T-S*N-T*P)/(S*N+T*P);z<0&&(z=0);let A=(p===g?-1:1)*s(z),C=A*(r*b/n),O=A*(-n*M/r),R=(e+c)/2+(u*C-y*O),I=(t+d)/2+(y*C+u*O),L=(M-C)/r,F=(b-O)/n,V=(-M-C)/r,j=(-b-O)/n,Y=L*L+F*F,G=(F<0?-1:1)*Math.acos(L/s(Y)),X=(L*j-F*V<0?-1:1)*Math.acos((L*V+F*j)/s(Y*(V*V+j*j)));isNaN(X)&&(X=_),!g&&X>0?X-=m:g&&X<0&&(X+=m),G%=m,X%=m;let q,E=Math.ceil(a(X)/(m/4)),H=[],U=X/E,B=4/3*i(U/2)/(1+l(U/2)),D=u*r,W=y*r,Q=y*-n,Z=u*n;for(q=0;q<E;q++)M=l(h=G+q*U),b=i(h),L=l(h+=U),F=i(h),H.push(M-B*b,b+B*M,L+B*F,F-B*L,L,F);for(q=0;q<H.length;q+=2)M=H[q],b=H[q+1],H[q]=M*D+b*Q+R,H[q+1]=M*W+b*Z+I;return H[q-2]=c,H[q-1]=d,H}function y(t){let n,o,i,l,s,h,p,g,c,d,f,y,_,m,x,w=(t+"").replace(r,e=>{let t=+e;return t<1e-4&&t>-1e-4?0:t}).match(e)||[],M=[],b=0,P=0,N=w.length,v=0,S="ERROR: malformed path: "+t,T=function(e,t,r,n){d=(r-e)/3,f=(n-t)/3,p.push(e+d,t+f,r-d,n-f,r,n)};if(!t||!isNaN(w[0])||isNaN(w[1]))return console.log(S),M;for(n=0;n<N;n++)if(_=s,isNaN(w[n])?(s=w[n].toUpperCase(),h=s!==w[n]):n--,i=+w[n+1],l=+w[n+2],h&&(i+=b,l+=P),n||(g=i,c=l),"M"===s)p&&(p.length<8?M.length-=1:v+=p.length),b=g=i,P=c=l,p=[i,l],M.push(p),n+=2,s="L";else if("C"===s)p||(p=[0,0]),h||(b=P=0),p.push(i,l,b+1*w[n+3],P+1*w[n+4],b+=1*w[n+5],P+=1*w[n+6]),n+=6;else if("S"===s)d=b,f=P,"C"!==_&&"S"!==_||(d+=b-p[p.length-4],f+=P-p[p.length-3]),h||(b=P=0),p.push(d,f,i,l,b+=1*w[n+3],P+=1*w[n+4]),n+=4;else if("Q"===s)d=b+2/3*(i-b),f=P+2/3*(l-P),h||(b=P=0),b+=1*w[n+3],P+=1*w[n+4],p.push(d,f,b+2/3*(i-b),P+2/3*(l-P),b,P),n+=4;else if("T"===s)d=b-p[p.length-4],f=P-p[p.length-3],p.push(b+d,P+f,i+2/3*(b+1.5*d-i),l+2/3*(P+1.5*f-l),b=i,P=l),n+=2;else if("H"===s)T(b,P,b=i,P),n+=1;else if("V"===s)T(b,P,b,P=i+(h?P-b:0)),n+=1;else if("L"===s||"Z"===s)"Z"===s&&(i=g,l=c,p.closed=!0),("L"===s||a(b-i)>.5||a(P-l)>.5)&&(T(b,P,i,l),"L"===s&&(n+=2)),b=i,P=l;else if("A"===s){if(m=w[n+4],x=w[n+5],d=w[n+6],f=w[n+7],o=7,m.length>1&&(m.length<3?(f=d,d=x,o--):(f=x,d=m.substr(2),o-=2),x=m.charAt(1),m=m.charAt(0)),y=u(b,P,+w[n+1],+w[n+2],+w[n+3],+m,+x,(h?b:0)+1*d,(h?P:0)+1*f),n+=o,y)for(o=0;o<y.length;o++)p.push(y[o]);b=p[p.length-2],P=p[p.length-1]}else console.log(S);return n=p.length,n<6?(M.pop(),n=0):p[0]===p[n-2]&&p[1]===p[n-1]&&(p.closed=!0),M.totalPoints=v+n,M}function _(e){p(e[0])&&(e=[e]);let t,r,n,o,i="",l=e.length;for(r=0;r<l;r++){for(o=e[r],i+="M"+g(o[0])+","+g(o[1])+" C",t=o.length,n=2;n<t;n++)i+=g(o[n++])+","+g(o[n++])+" "+g(o[n++])+","+g(o[n++])+" "+g(o[n++])+","+g(o[n])+" ";o.closed&&(i+="z")}return i}let m,x,w,M,b,P=()=>m||"undefined"!=typeof window&&(m=window.gsap)&&m.registerPlugin&&m,N=e=>"function"==typeof e,v=Math.atan2,S=Math.cos,T=Math.sin,z=Math.sqrt,A=Math.PI,C=2*A,O=.3*A,R=.7*A,I=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,L=/(^[#\.][a-z]|[a-y][a-z])/i,F=/[achlmqstvz]/i,V=e=>console&&console.warn(e),j=function(){return String.fromCharCode.apply(null,arguments)},Y=j(103,114,101,101,110,115,111,99,107,46,99,111,109),G=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,X=function(e){var t="undefined"!=typeof window,r=0===(t?window.location.href:"").indexOf(j(102,105,108,101,58,47,47))||-1!==e.indexOf(j(108,111,99,97,108,104,111,115,116))||G.test(e),n=[Y,j(99,111,100,101,112,101,110,46,105,111),j(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),j(99,111,100,101,112,101,110,46,100,101,118),j(99,111,100,101,112,101,110,46,97,112,112),j(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),j(112,101,110,115,46,99,108,111,117,100),j(99,115,115,45,116,114,105,99,107,115,46,99,111,109),j(99,100,112,110,46,105,111),j(112,101,110,115,46,105,111),j(103,97,110,110,111,110,46,116,118),j(99,111,100,101,99,97,110,121,111,110,46,110,101,116),j(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),j(99,101,114,101,98,114,97,120,46,99,111,46,117,107),j(116,121,109,112,97,110,117,115,46,110,101,116),j(116,119,101,101,110,109,97,120,46,99,111,109),j(112,108,110,107,114,46,99,111),j(104,111,116,106,97,114,46,99,111,109),j(119,101,98,112,97,99,107,98,105,110,46,99,111,109),j(97,114,99,104,105,118,101,46,111,114,103),j(99,111,100,101,115,97,110,100,98,111,120,46,105,111),j(99,115,98,46,97,112,112),j(115,116,97,99,107,98,108,105,116,122,46,99,111,109),j(115,116,97,99,107,98,108,105,116,122,46,105,111),j(99,111,100,105,101,114,46,105,111),j(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),j(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),j(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),j(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),j(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),j(106,115,102,105,100,100,108,101,46,110,101,116)],o=function(){if(t)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",o);else{document.removeEventListener("readystatechange",o);var e="object"==typeof m?m:t&&window.gsap;t&&window.console&&!window._gsapWarned&&"object"==typeof e&&!1!==e.config().trialWarn&&(console.log(j(37,99,87,97,114,110,105,110,103),j(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(j(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"MorphSVGPlugin"+j(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(j(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),j(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},i=n.length;for(setTimeout(o,50);--i>-1;)if(-1!==e.indexOf(n[i]))return!0;return r||!setTimeout((function(){t&&(window.location.href=j(104,116,116,112,115,58,47,47)+Y+j(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=MorphSVGPlugin&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),q=e=>{let t,r=e.length,n=0,o=0;for(t=0;t<r;t++)n+=e[t++],o+=e[t];return[n/(r/2),o/(r/2)]},E=e=>{let t,r,n,o=e.length,i=e[0],l=i,a=e[1],s=a;for(n=6;n<o;n+=6)t=e[n],r=e[n+1],t>i?i=t:t<l&&(l=t),r>a?a=r:r<s&&(s=r);return e.centerX=(i+l)/2,e.centerY=(a+s)/2,e.size=(i-l)*(a-s)},H=(e,t=3)=>{let r,n,o,i,l,a,s,h,p,g,c,d,f,u,y,_,m=e.length,x=e[0][0],w=x,M=e[0][1],b=M,P=1/t;for(;--m>-1;)for(l=e[m],r=l.length,i=6;i<r;i+=6)for(p=l[i],g=l[i+1],c=l[i+2]-p,u=l[i+3]-g,d=l[i+4]-p,y=l[i+5]-g,f=l[i+6]-p,_=l[i+7]-g,a=t;--a>-1;)s=P*a,h=1-s,n=(s*s*f+3*h*(s*d+h*c))*s+p,o=(s*s*_+3*h*(s*y+h*u))*s+g,n>x?x=n:n<w&&(w=n),o>M?M=o:o<b&&(b=o);return e.centerX=(x+w)/2,e.centerY=(M+b)/2,e.left=w,e.width=x-w,e.top=b,e.height=M-b,e.size=(x-w)*(M-b)},U=(e,t)=>t.length-e.length,B=(e,t)=>{let r=e.size||E(e),n=t.size||E(t);return Math.abs(n-r)<(r+n)/20?t.centerX-e.centerX||t.centerY-e.centerY:n-r},D=(e,t)=>{let r,n,o=e.slice(0),i=e.length,l=i-2;for(t|=0,r=0;r<i;r++)n=(r+t)%l,e[r++]=o[n],e[r]=o[n+1]},W=(e,t,r,n,o)=>{let i,l,a,s,h=e.length,p=0,g=h-2;for(r*=6,l=0;l<h;l+=6)i=(l+r)%g,s=e[i]-(t[l]-n),a=e[i+1]-(t[l+1]-o),p+=z(a*a+s*s);return p},Q=(e,t,r)=>{let n,o,i,l=e.length,a=q(e),s=q(t),h=s[0]-a[0],p=s[1]-a[1],g=W(e,t,0,h,p),d=0;for(i=6;i<l;i+=6)o=W(e,t,i/6,h,p),o<g&&(g=o,d=i);if(r)for(n=e.slice(0),c(n),i=6;i<l;i+=6)o=W(n,t,i/6,h,p),o<g&&(g=o,d=-i);return d/6},Z=(e,t,r)=>{let n,o,i,l,a,s,h=e.length,p=1e20,g=0,c=0;for(;--h>-1;)for(n=e[h],s=n.length,a=0;a<s;a+=6)o=n[a]-t,i=n[a+1]-r,l=z(o*o+i*i),l<p&&(p=l,g=n[a],c=n[a+1]);return[g,c]},k=(e,t,r,n,o,i)=>{let l,a,s,h,p,g=t.length,c=0,d=Math.min(e.size||E(e),t[r].size||E(t[r]))*n,f=1e20,u=e.centerX+o,y=e.centerY+i;for(a=r;a<g&&(l=t[a].size||E(t[a]),!(l<d));a++)s=t[a].centerX-u,h=t[a].centerY-y,p=z(s*s+h*h),p<f&&(c=a,f=p);return p=t[c],t.splice(c,1),p},$=(e,t)=>{let r,n,o,i,l,a,s,h,p,g,c,d,f,u,y=0,_=e.length,m=t/((_-2)/6);for(f=2;f<_;f+=6)for(y+=m;y>.999999;)r=e[f-2],n=e[f-1],o=e[f],i=e[f+1],l=e[f+2],a=e[f+3],s=e[f+4],h=e[f+5],u=1/((Math.floor(y)||1)+1),p=r+(o-r)*u,c=o+(l-o)*u,p+=(c-p)*u,c+=(l+(s-l)*u-c)*u,g=n+(i-n)*u,d=i+(a-i)*u,g+=(d-g)*u,d+=(a+(h-a)*u-d)*u,e.splice(f,4,r+(o-r)*u,n+(i-n)*u,p,g,p+(c-p)*u,g+(d-g)*u,c,d,l+(s-l)*u,a+(h-a)*u),f+=6,_+=6,y--;return e},J=(e,t,r,n,o)=>{let i,l,a,s,h,p,g,d=t.length-e.length,f=d>0?t:e,u=d>0?e:t,y=0,_="complexity"===n?U:B,m="position"===n?0:"number"==typeof n?n:.8,x=u.length,w="object"==typeof r&&r.push?r.slice(0):[r],M="reverse"===w[0]||w[0]<0,b="log"===r;if(u[0]){if(f.length>1&&(e.sort(_),t.sort(_),p=f.size||H(f),p=u.size||H(u),p=f.centerX-u.centerX,g=f.centerY-u.centerY,_===B))for(x=0;x<u.length;x++)f.splice(x,0,k(u[x],f,x,m,p,g));if(d)for(d<0&&(d=-d),f[0].length>u[0].length&&$(u[0],(f[0].length-u[0].length)/6|0),x=u.length;y<d;)s=f[x].size||E(f[x]),a=Z(u,f[x].centerX,f[x].centerY),s=a[0],h=a[1],u[x++]=[s,h,s,h,s,h,s,h],u.totalPoints+=8,y++;for(x=0;x<e.length;x++)i=t[x],l=e[x],d=i.length-l.length,d<0?$(i,-d/6|0):d>0&&$(l,d/6|0),M&&!1!==o&&!l.reversed&&c(l),(r=w[x]||0===w[x]?w[x]:"auto")&&(l.closed||Math.abs(l[0]-l[l.length-2])<.5&&Math.abs(l[1]-l[l.length-1])<.5?"auto"===r||"log"===r?(w[x]=r=Q(l,i,!x||!1===o),r<0&&(M=!0,c(l),r=-r),D(l,6*r)):"reverse"!==r&&(x&&r<0&&c(l),D(l,6*(r<0?-r:r))):!M&&("auto"===r&&Math.abs(i[0]-l[0])+Math.abs(i[1]-l[1])+Math.abs(i[i.length-2]-l[l.length-2])+Math.abs(i[i.length-1]-l[l.length-1])>Math.abs(i[0]-l[l.length-2])+Math.abs(i[1]-l[l.length-1])+Math.abs(i[i.length-2]-l[0])+Math.abs(i[i.length-1]-l[1])||r%2)?(c(l),w[x]=-1,M=!0):"auto"===r?w[x]=0:"reverse"===r&&(w[x]=-1),l.closed!==i.closed&&(l.closed=i.closed=!1));return b&&V("shapeIndex:["+w.join(",")+"]"),e.shapeIndex=w,w}},K=(e,t,r,n,o)=>{let i=y(e[0]),l=y(e[1]);J(i,l,t||0===t?t:"auto",r,o)&&(e[0]=_(i),e[1]=_(l),"log"!==n&&!0!==n||V('precompile:["'+e[0]+'","'+e[1]+'"]'))},ee=(e,t)=>{let r,n,o,i,l,a,s,h=0,p=parseFloat(e[0]),g=parseFloat(e[1]),c=p+","+g+" ";for(o=e.length,r=.5*t/(.5*o-1),n=0;n<o-2;n+=2){if(h+=r,a=parseFloat(e[n+2]),s=parseFloat(e[n+3]),h>.999999)for(l=1/(Math.floor(h)+1),i=1;h>.999999;)c+=(p+(a-p)*l*i).toFixed(2)+","+(g+(s-g)*l*i).toFixed(2)+" ",h--,i++;c+=a+","+s+" ",p=a,g=s}return c},te=e=>{let t=e[0].match(I)||[],r=e[1].match(I)||[],n=r.length-t.length;n>0?e[0]=ee(t,n):e[1]=ee(r,-n)},re=e=>isNaN(e)?te:t=>{te(t),t[1]=((e,t)=>{if(!t)return e;let r,n,o,i=e.match(I)||[],l=i.length,a="";for("reverse"===t?(n=l-1,r=-2):(n=(2*(parseInt(t,10)||0)+1+100*l)%l,r=2),o=0;o<l;o+=2)a+=i[n-1]+","+i[n]+" ",n=(n+r)%l;return a})(t[1],parseInt(e,10))},ne=(e,t)=>{let r,n,o,i,l,a,s,h,p,g,c,d,f=e.length,u=.2*(t||1);for(;--f>-1;){for(n=e[f],c=n.isSmooth=n.isSmooth||[0,0,0,0],d=n.smoothData=n.smoothData||[0,0,0,0],c.length=4,h=n.length-2,s=6;s<h;s+=6)o=n[s]-n[s-2],i=n[s+1]-n[s-1],l=n[s+2]-n[s],a=n[s+3]-n[s+1],p=v(i,o),g=v(a,l),r=Math.abs(p-g)<u,r&&(d[s-2]=p,d[s+2]=g,d[s-1]=z(o*o+i*i),d[s+3]=z(l*l+a*a)),c.push(r,r,0,0,r,r);n[h]===n[0]&&n[h+1]===n[1]&&(o=n[0]-n[h-2],i=n[1]-n[h-1],l=n[2]-n[0],a=n[3]-n[1],p=v(i,o),g=v(a,l),Math.abs(p-g)<u&&(d[h-2]=p,d[2]=g,d[h-1]=z(o*o+i*i),d[3]=z(l*l+a*a),c[h-2]=c[h-1]=!0))}return e},oe=e=>{let t=e.trim().split(" ");return{x:(~e.indexOf("left")?0:~e.indexOf("right")?100:isNaN(parseFloat(t[0]))?50:parseFloat(t[0]))/100,y:(~e.indexOf("top")?0:~e.indexOf("bottom")?100:isNaN(parseFloat(t[1]))?50:parseFloat(t[1]))/100}},ie="Use MorphSVGPlugin.convertToPath() to convert to a path before morphing.",le=function(e,t,r,n){let o,i,l=this._origin,a=this._eOrigin,s=e[r]-l.x,h=e[r+1]-l.y,p=z(s*s+h*h),g=v(h,s);var c;return s=t[r]-a.x,h=t[r+1]-a.y,o=v(h,s)-g,i=(c=o)!==c%A?c+(c<0?C:-C):c,!n&&w&&Math.abs(i+w.ca)<O&&(n=w),this._anchorPT=w={_next:this._anchorPT,t:e,sa:g,ca:n&&i*n.ca<0&&Math.abs(i)>R?o:i,sl:p,cl:z(s*s+h*h)-p,i:r}},ae=e=>{m=P(),b=b||m&&m.plugins.morphSVG,m&&b?(x=m.utils.toArray,b.prototype._tweenRotation=le,M=1):e&&V("Please gsap.registerPlugin(MorphSVGPlugin)")};const se={version:"3.12.0",name:"morphSVG",rawVars:1,register(e,t){m=e,b=t,ae()},init(e,t,r,n,o){if(M||ae(1),!t)return V("invalid shape"),!1;let i,l,a,s,h,p,g,c,d,u,m,b,P,v,S,T,z,A,C,O,R,j;if(N(t)&&(t=t.call(r,n,e,o)),"string"==typeof t||t.getBBox||t[0])t={shape:t};else if("object"==typeof t){for(l in i={},t)i[l]=N(t[l])&&"render"!==l?t[l].call(r,n,e,o):t[l];t=i}let Y=e.nodeType?window.getComputedStyle(e):{},G=Y.fill+"",q=!("none"===G||"0"===(G.match(I)||[])[3]||"evenodd"===Y.fillRule),E=(t.origin||"50 50").split(",");if(i=(e.nodeName+"").toUpperCase(),h="POLYLINE"===i||"POLYGON"===i,"PATH"!==i&&!h&&!t.prop)return V("Cannot morph a <"+i+"> element. "+ie),!1;if(l="PATH"===i?"d":"points",!t.prop&&!N(e.setAttribute))return!1;if(s=((e,t,r)=>{let n,o;return(!("string"==typeof e)||L.test(e)||(e.match(I)||[]).length<3)&&(n=x(e)[0],n?(o=(n.nodeName+"").toUpperCase(),t&&"PATH"!==o&&(n=f(n,!1),o="PATH"),e=n.getAttribute("PATH"===o?"d":"points")||"",n===r&&(e=n.getAttributeNS(null,"data-original")||e)):(V("WARNING: invalid morph to: "+e),e=!1)),e})(t.shape||t.d||t.points||"","d"===l,e),h&&F.test(s))return V("A <"+i+"> cannot accept path data. "+ie),!1;if(p=t.shapeIndex||0===t.shapeIndex?t.shapeIndex:"auto",g=t.map||se.defaultMap,this._prop=t.prop,this._render=t.render||se.defaultRender,this._apply="updateTarget"in t?t.updateTarget:se.defaultUpdateTarget,this._rnd=Math.pow(10,isNaN(t.precision)?2:+t.precision),this._tween=r,s){if(this._target=e,z="object"==typeof t.precompile,u=this._prop?e[this._prop]:e.getAttribute(l),this._prop||e.getAttributeNS(null,"data-original")||e.setAttributeNS(null,"data-original",u),"d"===l||this._prop){if(u=y(z?t.precompile[0]:u),m=y(z?t.precompile[1]:s),!z&&!J(u,m,p,g,q))return!1;for("log"!==t.precompile&&!0!==t.precompile||V('precompile:["'+_(u)+'","'+_(m)+'"]'),R="linear"!==(t.type||se.defaultType),R&&(u=ne(u,t.smoothTolerance),m=ne(m,t.smoothTolerance),u.size||H(u),m.size||H(m),O=oe(E[0]),this._origin=u.origin={x:u.left+O.x*u.width,y:u.top+O.y*u.height},E[1]&&(O=oe(E[1])),this._eOrigin={x:m.left+O.x*m.width,y:m.top+O.y*m.height}),this._rawPath=e._gsRawPath=u,P=u.length;--P>-1;)for(S=u[P],T=m[P],c=S.isSmooth||[],d=T.isSmooth||[],v=S.length,w=0,b=0;b<v;b+=2)T[b]===S[b]&&T[b+1]===S[b+1]||(R?c[b]&&d[b]?(A=S.smoothData,C=T.smoothData,j=b+(b===v-4?7-v:5),this._controlPT={_next:this._controlPT,i:b,j:P,l1s:A[b+1],l1c:C[b+1]-A[b+1],l2s:A[j],l2c:C[j]-A[j]},a=this._tweenRotation(S,T,b+2),this._tweenRotation(S,T,b,a),this._tweenRotation(S,T,j-1,a),b+=4):this._tweenRotation(S,T,b):(a=this.add(S,b,S[b],T[b],0,0,0,0,0,1),a=this.add(S,b+1,S[b+1],T[b+1],0,0,0,0,0,1)||a))}else a=this.add(e,"setAttribute",e.getAttribute(l)+"",s+"",n,o,0,re(p),l);R&&(this.add(this._origin,"x",this._origin.x,this._eOrigin.x,0,0,0,0,0,1),a=this.add(this._origin,"y",this._origin.y,this._eOrigin.y,0,0,0,0,0,1)),a&&(this._props.push("morphSVG"),a.end=s,a.endProp=l)}return X},render(e,t){let r,n,o,i,l,a,s,h,p,g,c,d,f,u=t._rawPath,y=t._controlPT,_=t._anchorPT,m=t._rnd,x=t._target,w=t._pt;for(;w;)w.r(e,w.d),w=w._next;if(1===e&&t._apply)for(w=t._pt;w;)w.end&&(t._prop?x[t._prop]=w.end:x.setAttribute(w.endProp,w.end)),w=w._next;else if(u){for(;_;)a=_.sa+e*_.ca,l=_.sl+e*_.cl,_.t[_.i]=t._origin.x+S(a)*l,_.t[_.i+1]=t._origin.y+T(a)*l,_=_._next;for(o=e<.5?2*e*e:(4-2*e)*e-1;y;)s=y.i,i=u[y.j],f=s+(s===i.length-4?7-i.length:5),a=v(i[f]-i[s+1],i[f-1]-i[s]),c=T(a),d=S(a),p=i[s+2],g=i[s+3],l=y.l1s+o*y.l1c,i[s]=p-d*l,i[s+1]=g-c*l,l=y.l2s+o*y.l2c,i[f-1]=p+d*l,i[f]=g+c*l,y=y._next;if(x._gsRawPath=u,t._apply){for(r="",n=" ",h=0;h<u.length;h++)for(i=u[h],l=i.length,r+="M"+(i[0]*m|0)/m+" "+(i[1]*m|0)/m+" C",s=2;s<l;s++)r+=(i[s]*m|0)/m+" ";t._prop?x[t._prop]=r:x.setAttribute("d",r)}}t._render&&u&&t._render.call(t._tween,u,x)},kill(e){this._pt=this._rawPath=0},getRawPath:function(e){let t,r=(e=h(e)&&n.test(e)&&document.querySelector(e)||e).getAttribute?e:0;return r&&(e=e.getAttribute("d"))?(r._gsPath||(r._gsPath={}),t=r._gsPath[e],t&&!t._dirty?t:r._gsPath[e]=y(e)):e?h(e)?y(e):p(e[0])?[e]:e:console.warn("Expecting a <path> element or an SVG path data string")},stringToRawPath:y,rawPathToString:_,normalizeStrings(e,t,{shapeIndex:r,map:n}){let o=[e,t];return K(o,r,n),o},pathFilter:K,pointsFilter:te,getTotalSize:H,equalizeSegmentQuantity:J,convertToPath:(e,t)=>x(e).map(e=>f(e,!1!==t)),defaultType:"linear",defaultUpdateTarget:!0,defaultMap:"size"};P()&&m.registerPlugin(se);export default se;export{se as MorphSVGPlugin};
/*!
* MotionPathHelper 3.11.5
* MotionPathHelper 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

let t,e=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,s=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,i=Math.PI/180,n=Math.sin,o=Math.cos,r=Math.abs,a=Math.sqrt,h=t=>Math.round(1e5*t)/1e5||0,l=(t,e)=>(e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e);function c(t){let e=[],s=0;for(;s<t.length;s++)e[s]=l(t[s],t[s].slice(0));return l(t,e)}function d(t,e,s,i,n,o,r){let a,h,l,c,d,g=t.length;for(;--g>-1;)for(a=t[g],h=a.length,l=0;l<h;l+=2)c=a[l],d=a[l+1],a[l]=c*e+d*i+o,a[l+1]=c*s+d*n+r;return t._dirty=1,t}function g(t,e,s,h,l,c,d,g,p){if(t===g&&e===p)return;s=r(s),h=r(h);let u=l%360*i,_=o(u),f=n(u),m=Math.PI,b=2*m,v=(t-g)/2,y=(e-p)/2,A=_*v+f*y,w=-f*v+_*y,P=A*A,x=w*w,C=P/(s*s)+x/(h*h);C>1&&(s=a(C)*s,h=a(C)*h);let S=s*s,E=h*h,k=(S*E-S*x-E*P)/(S*x+E*P);k<0&&(k=0);let M=(c===d?-1:1)*a(k),D=M*(s*w/h),T=M*(-h*A/s),H=(t+g)/2+(_*D-f*T),N=(e+p)/2+(f*D+_*T),R=(A-D)/s,L=(w-T)/h,X=(-A-D)/s,O=(-w-T)/h,I=R*R+L*L,q=(L<0?-1:1)*Math.acos(R/a(I)),Y=(R*O-L*X<0?-1:1)*Math.acos((R*X+L*O)/a(I*(X*X+O*O)));isNaN(Y)&&(Y=m),!d&&Y>0?Y-=b:d&&Y<0&&(Y+=b),q%=b,Y%=b;let V,j=Math.ceil(r(Y)/(b/4)),z=[],G=Y/j,W=4/3*n(G/2)/(1+o(G/2)),B=_*s,F=f*s,U=f*-h,Z=_*h;for(V=0;V<j;V++)A=o(l=q+V*G),w=n(l),R=o(l+=G),L=n(l),z.push(A-W*w,w+W*A,R+W*L,L-W*R,R,L);for(V=0;V<z.length;V+=2)A=z[V],w=z[V+1],z[V]=A*B+w*U+H,z[V+1]=A*F+w*Z+N;return z[V-2]=g,z[V-1]=p,z}function p(t){let i,n,o,a,h,l,c,d,p,u,_,f,m,b,v,y=(t+"").replace(s,t=>{let e=+t;return e<1e-4&&e>-1e-4?0:e}).match(e)||[],A=[],w=0,P=0,x=y.length,C=0,S="ERROR: malformed path: "+t,E=function(t,e,s,i){u=(s-t)/3,_=(i-e)/3,c.push(t+u,e+_,s-u,i-_,s,i)};if(!t||!isNaN(y[0])||isNaN(y[1]))return console.log(S),A;for(i=0;i<x;i++)if(m=h,isNaN(y[i])?(h=y[i].toUpperCase(),l=h!==y[i]):i--,o=+y[i+1],a=+y[i+2],l&&(o+=w,a+=P),i||(d=o,p=a),"M"===h)c&&(c.length<8?A.length-=1:C+=c.length),w=d=o,P=p=a,c=[o,a],A.push(c),i+=2,h="L";else if("C"===h)c||(c=[0,0]),l||(w=P=0),c.push(o,a,w+1*y[i+3],P+1*y[i+4],w+=1*y[i+5],P+=1*y[i+6]),i+=6;else if("S"===h)u=w,_=P,"C"!==m&&"S"!==m||(u+=w-c[c.length-4],_+=P-c[c.length-3]),l||(w=P=0),c.push(u,_,o,a,w+=1*y[i+3],P+=1*y[i+4]),i+=4;else if("Q"===h)u=w+2/3*(o-w),_=P+2/3*(a-P),l||(w=P=0),w+=1*y[i+3],P+=1*y[i+4],c.push(u,_,w+2/3*(o-w),P+2/3*(a-P),w,P),i+=4;else if("T"===h)u=w-c[c.length-4],_=P-c[c.length-3],c.push(w+u,P+_,o+2/3*(w+1.5*u-o),a+2/3*(P+1.5*_-a),w=o,P=a),i+=2;else if("H"===h)E(w,P,w=o,P),i+=1;else if("V"===h)E(w,P,w,P=o+(l?P-w:0)),i+=1;else if("L"===h||"Z"===h)"Z"===h&&(o=d,a=p,c.closed=!0),("L"===h||r(w-o)>.5||r(P-a)>.5)&&(E(w,P,o,a),"L"===h&&(i+=2)),w=o,P=a;else if("A"===h){if(b=y[i+4],v=y[i+5],u=y[i+6],_=y[i+7],n=7,b.length>1&&(b.length<3?(_=u,u=v,n--):(_=v,u=b.substr(2),n-=2),v=b.charAt(1),b=b.charAt(0)),f=g(w,P,+y[i+1],+y[i+2],+y[i+3],+b,+v,(l?w:0)+1*u,(l?P:0)+1*_),i+=n,f)for(n=0;n<f.length;n++)c.push(f[n]);w=c[c.length-2],P=c[c.length-1]}else console.log(S);return i=c.length,i<6?(A.pop(),i=0):c[0]===c[i-2]&&c[1]===c[i-1]&&(c.closed=!0),A.totalPoints=C+i,A}function u(t,e,s,i,n,o,a,h,l,c,d){let g,p=(t+s)/2,_=(e+i)/2,f=(s+n)/2,m=(i+o)/2,b=(n+a)/2,v=(o+h)/2,y=(p+f)/2,A=(_+m)/2,w=(f+b)/2,P=(m+v)/2,x=(y+w)/2,C=(A+P)/2,S=a-t,E=h-e,k=r((s-a)*E-(i-h)*S),M=r((n-a)*E-(o-h)*S);return c||(c=[t,e,a,h],d=2),c.splice(d||c.length-2,0,x,C),(k+M)*(k+M)>l*(S*S+E*E)&&(g=c.length,u(t,e,p,_,y,A,x,C,l,c,d),u(x,C,w,P,b,v,a,h,l,c,d+2+(c.length-g))),c}function _(t,e){r(t[0]-t[2])<1e-4&&r(t[1]-t[3])<1e-4&&(t=t.slice(2));let s,i,n,o,l,c,d,g,p,u,_,f,m,b,v,y=t.length-2,A=+t[0],w=+t[1],P=+t[2],x=+t[3],C=[A,w,A,w],S=P-A,E=x-w,k=Math.abs(t[y]-A)<.001&&Math.abs(t[y+1]-w)<.001;for(k&&(t.push(P,x),P=A,x=w,A=t[y-2],w=t[y-1],t.unshift(A,w),y+=4),e=e||0===e?+e:1,n=2;n<y;n+=2)s=A,i=w,A=P,w=x,P=+t[n+2],x=+t[n+3],A===P&&w===x||(o=S,l=E,S=P-A,E=x-w,c=a(o*o+l*l),d=a(S*S+E*E),g=a((S/d+o/c)**2+(E/d+l/c)**2),p=(c+d)*e*.25/g,u=A-(A-s)*(c?p/c:0),_=A+(P-A)*(d?p/d:0),f=A-(u+((_-u)*(3*c/(c+d)+.5)/4||0)),m=w-(w-i)*(c?p/c:0),b=w+(x-w)*(d?p/d:0),v=w-(m+((b-m)*(3*c/(c+d)+.5)/4||0)),A===s&&w===i||C.push(h(u+f),h(m+v),h(A),h(w),h(_+f),h(b+v)));return A!==P||w!==x||C.length<4?C.push(h(P),h(x),h(P),h(x)):C.length-=2,2===C.length?C.push(A,w,A,w,A,w):k&&(C.splice(0,6),C.length=C.length-6),C}function f(t,e,s,i,n,o){let r,a=n-s,h=o-i;return(a||h)&&(r=((t-s)*a+(e-i)*h)/(a*a+h*h),r>1?(s=n,i=o):r>0&&(s+=a*r,i+=h*r)),(t-s)**2+(e-i)**2}function m(t,e){let s,i,n,o,r,a,h,l=parseFloat(t[0]),c=parseFloat(t[1]),d=[l,c],g=t.length-2;for(e=(e||1)**2,s=2;s<g;s+=2)i=parseFloat(t[s]),n=parseFloat(t[s+1]),o=l-i,r=c-n,o*o+r*r>e&&(d.push(i,n),l=i,c=n);return d.push(parseFloat(t[g]),parseFloat(t[g+1])),h=d.length-2,a=[d[0],d[1]],function t(e,s,i,n,o){let r,a,h,l=n,c=e[s],d=e[s+1],g=e[i],p=e[i+1];for(a=s+2;a<i;a+=2)h=f(e[a],e[a+1],c,d,g,p),h>l&&(r=a,l=h);l>n&&(r-s>2&&t(e,s,r,n,o),o.push(e[r],e[r+1]),i-r>2&&t(e,r,i,n,o))}(d,0,h,e,a),a.push(d[h],d[h+1]),a}function b(e,s,i,n,o,r,a,h,l,c,d,g,p,u){let _,f,m,v,y,A,w=(o-n)/r,P=0,x=n;for(t=1e8;x<=o;)A=1-x,_=A*A*A*a+3*A*A*x*l+3*A*x*x*d+x*x*x*p,f=A*A*A*h+3*A*A*x*c+3*A*x*x*g+x*x*x*u,v=_-s,y=f-i,m=v*v+y*y,m<t&&(t=m,P=x),x+=w;return e>1?b(e-1,s,i,Math.max(P-w,0),Math.min(P+w,1),r,a,h,l,c,d,g,p,u):P}let v,y,A,w,P,x,C,S,E,k="transform",M=k+"Origin",D=t=>{let e=t.ownerDocument||t;!(k in t.style)&&"msTransform"in t.style&&(k="msTransform",M=k+"Origin");for(;e.parentNode&&(e=e.parentNode););if(y=window,C=new I,e){v=e,A=e.documentElement,w=e.body,S=v.createElementNS("http://www.w3.org/2000/svg","g"),S.style.transform="none";let t=e.createElement("div"),s=e.createElement("div");w.appendChild(t),t.appendChild(s),t.style.position="static",t.style[k]="translate3d(0,0,1px)",E=s.offsetParent!==t,w.removeChild(t)}return e},T=[],H=[],N=t=>t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null),R=t=>"fixed"===y.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?R(t):void 0),L=(t,e)=>{if(t.parentNode&&(v||D(t))){let s=N(t),i=s?s.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",n=s?e?"rect":"g":"div",o=2!==e?0:100,r=3===e?100:0,a="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",h=v.createElementNS?v.createElementNS(i.replace(/^https/,"http"),n):v.createElement(n);return e&&(s?(x||(x=L(t)),h.setAttribute("width",.01),h.setAttribute("height",.01),h.setAttribute("transform","translate("+o+","+r+")"),x.appendChild(h)):(P||(P=L(t),P.style.cssText=a),h.style.cssText=a+"width:0.1px;height:0.1px;top:"+r+"px;left:"+o+"px",P.appendChild(h))),h}throw"Need document and parent."},X=(t,e)=>{let s,i,n,o,r,a,h=N(t),l=t===h,c=h?T:H,d=t.parentNode;if(t===y)return t;if(c.length||c.push(L(t,1),L(t,2),L(t,3)),s=h?x:P,h)l?(n=(t=>{let e,s=t.getCTM();return s||(e=t.style[k],t.style[k]="none",t.appendChild(S),s=S.getCTM(),t.removeChild(S),e?t.style[k]=e:t.style.removeProperty(k.replace(/([A-Z])/g,"-$1").toLowerCase())),s||C.clone()})(t),o=-n.e/n.a,r=-n.f/n.d,i=C):t.getBBox?(n=t.getBBox(),i=t.transform?t.transform.baseVal:{},i=i.numberOfItems?i.numberOfItems>1?(t=>{let e=new I,s=0;for(;s<t.numberOfItems;s++)e.multiply(t.getItem(s).matrix);return e})(i):i.getItem(0).matrix:C,o=i.a*n.x+i.c*n.y,r=i.b*n.x+i.d*n.y):(i=new I,o=r=0),e&&"g"===t.tagName.toLowerCase()&&(o=r=0),(l?h:d).appendChild(s),s.setAttribute("transform","matrix("+i.a+","+i.b+","+i.c+","+i.d+","+(i.e+o)+","+(i.f+r)+")");else{if(o=r=0,E)for(i=t.offsetParent,n=t;n&&(n=n.parentNode)&&n!==i&&n.parentNode;)(y.getComputedStyle(n)[k]+"").length>4&&(o=n.offsetLeft,r=n.offsetTop,n=0);if(a=y.getComputedStyle(t),"absolute"!==a.position&&"fixed"!==a.position)for(i=t.offsetParent;d&&d!==i;)o+=d.scrollLeft||0,r+=d.scrollTop||0,d=d.parentNode;n=s.style,n.top=t.offsetTop-r+"px",n.left=t.offsetLeft-o+"px",n[k]=a[k],n[M]=a[M],n.position="fixed"===a.position?"fixed":"absolute",t.parentNode.appendChild(s)}return s},O=(t,e,s,i,n,o,r)=>(t.a=e,t.b=s,t.c=i,t.d=n,t.e=o,t.f=r,t);class I{constructor(t=1,e=0,s=0,i=1,n=0,o=0){O(this,t,e,s,i,n,o)}inverse(){let{a:t,b:e,c:s,d:i,e:n,f:o}=this,r=t*i-e*s||1e-10;return O(this,i/r,-e/r,-s/r,t/r,(s*o-i*n)/r,-(t*o-e*n)/r)}multiply(t){let{a:e,b:s,c:i,d:n,e:o,f:r}=this,a=t.a,h=t.c,l=t.b,c=t.d,d=t.e,g=t.f;return O(this,a*e+l*i,a*s+l*n,h*e+c*i,h*s+c*n,o+d*e+g*i,r+d*s+g*n)}clone(){return new I(this.a,this.b,this.c,this.d,this.e,this.f)}equals(t){let{a:e,b:s,c:i,d:n,e:o,f:r}=this;return e===t.a&&s===t.b&&i===t.c&&n===t.d&&o===t.e&&r===t.f}apply(t,e={}){let{x:s,y:i}=t,{a:n,b:o,c:r,d:a,e:h,f:l}=this;return e.x=s*n+i*r+h||0,e.y=s*o+i*a+l||0,e}}function q(t,e,s,i){if(!t||!t.parentNode||(v||D(t)).documentElement===t)return new I;let n=(t=>{let e,s;for(;t&&t!==w;)s=t._gsap,s&&s.uncache&&s.get(t,"x"),s&&!s.scaleX&&!s.scaleY&&s.renderTransform&&(s.scaleX=s.scaleY=1e-4,s.renderTransform(1,s),e?e.push(s):e=[s]),t=t.parentNode;return e})(t),o=N(t)?T:H,r=X(t,s),a=o[0].getBoundingClientRect(),h=o[1].getBoundingClientRect(),l=o[2].getBoundingClientRect(),c=r.parentNode,d=!i&&R(t),g=new I((h.left-a.left)/100,(h.top-a.top)/100,(l.left-a.left)/100,(l.top-a.top)/100,a.left+(d?0:y.pageXOffset||v.scrollLeft||A.scrollLeft||w.scrollLeft||0),a.top+(d?0:y.pageYOffset||v.scrollTop||A.scrollTop||w.scrollTop||0));if(c.removeChild(r),n)for(a=n.length;a--;)h=n[a],h.scaleX=h.scaleY=0,h.renderTransform(1,h);return e?g.inverse():g}let Y,V,j,z,G,W,B,F,U,Z,$,K,Q,J,tt,et=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,st=Math.PI/180,it=Date.now||(()=>(new Date).getTime()),nt=0,ot=0,rt=()=>!1,at={},ht=[],lt={},ct=[],dt=[],gt=t=>{t.preventDefault&&(t.preventDefault(),t.preventManipulation&&t.preventManipulation())},pt=t=>Y.createElementNS?Y.createElementNS("http://www.w3.org/1999/xhtml",t):Y.createElement(t),ut=(t,e,s)=>{let i,n=Y.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(i in(s=s||{}).class=s.class||"path-editor",s)void 0!==n.style[i]?n.style[i]=s[i]:n.setAttributeNS(null,i.replace(o,"$1-$2").toLowerCase(),s[i]);return e.appendChild(n),n},_t={matrix:new I},ft=t=>(t.transform&&t.transform.baseVal.consolidate()||_t).matrix,mt=t=>~~(1e3*t+(t<0?-.5:.5))/1e3,bt=function(t){if(!t.target._gsSelection&&!ot&&it()-nt>100){let t=dt.length;for(;--t>-1;)dt[t].deselect();dt.length=0}},vt=0,yt=(t,e,s,i)=>{if(t.addEventListener){let n=Q[e];i=i||{passive:!1},t.addEventListener(n||e,s,i),n&&e!==n&&"pointer"!==n.substr(0,7)&&t.addEventListener(e,s,i)}else t.attachEvent&&t.attachEvent("on"+e,s)},At=(t,e,s)=>{if(t.removeEventListener){let i=Q[e];t.removeEventListener(i||e,s),i&&e!==i&&"pointer"!==i.substr(0,7)&&t.removeEventListener(e,s)}else t.detachEvent&&t.detachEvent("on"+e,s)},wt=t=>{vt=t.touches&&_dragCount<t.touches.length,At(t.target,"touchend",wt)},Pt=t=>{vt=t.touches&&_dragCount<t.touches.length,yt(t.target,"touchend",wt)},xt=(t,e)=>s=>t.call(e,s),Ct=(t,e,s)=>{let i=e.vars[t];return i&&i.call(e.vars.callbackScope||e,s||e),e},St=()=>{J.style.display="block",J.select(),J.style.display="none"},Et=t=>{Y=document,j=window,z=Y.body,G=G||t||j.gsap||console.warn("Please gsap.registerPlugin(PathEditor)"),W=G&&G.core.context||function(){},K=pt("div"),J=pt("textarea"),J.style.display="none",z&&z.appendChild(J),Q=function(t){let e=t.split(","),s=(void 0!==K.onpointerdown?"pointerdown,pointermove,pointerup,pointercancel":void 0!==K.onmspointerdown?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),i={},n=4;for(;--n>-1;)i[e[n]]=s[n],i[s[n]]=e[n];return i}("touchstart,touchmove,touchend,touchcancel"),SVGElement.prototype.getTransformToElement=SVGElement.prototype.getTransformToElement||function(t){return t.getScreenCTM().inverse().multiply(this.getScreenCTM())},Y.addEventListener("keydown",(function(t){let e,s,i,n,o=t.keyCode||t.which,r=t.key||o;if("Shift"===r||16===o)U=!0;else if("Control"===r||17===o)B=!0;else if("Meta"===r||91===o)Z=!0;else if("Alt"===r||18===o)for(F=!0,e=dt.length;--e>-1;)dt[e]._onPressAlt();else if(("z"===r||90===o)&&(B||Z)&&ht.length>1){if(ht.shift(),s=ht[0],s){for(n=s.path,n.path.setAttribute("d",s.d),n.path.setAttribute("transform",s.transform),n.init(),i=n._anchors,e=0;e<i.length;e++)-1!==s.selectedIndexes.indexOf(i[e].i)&&n._selectedAnchors.push(i[e]);n._updateAnchors(),n.update(),n.vars.onUndo&&n.vars.onUndo.call(n)}}else if("Delete"===r||"Backspace"===r||8===o||46===o||63272===o||"d"===o&&(B||Z))for(e=dt.length;--e>-1;)dt[e]._deleteSelectedAnchors();else if(("a"===r||65===o)&&(Z||B))for(e=dt.length;--e>-1;)dt[e].select(!0)}),!0),Y.addEventListener("keyup",(function(t){let e=t.key||t.keyCode||t.which;if("Shift"===e||16===e)U=!1;else if("Control"===e||17===e)B=!1;else if("Meta"===e||91===e)Z=!1;else if("Alt"===e||18===e){F=!1;let t=dt.length;for(;--t>-1;)dt[t]._onReleaseAlt()}}),!0),V=!!j.PointerEvent,yt(Y,"mouseup",bt),yt(Y,"touchend",bt),yt(Y,"touchcancel",rt),yt(j,"touchmove",rt),z&&z.addEventListener("touchstart",rt),tt=1},kt=function(t){let e,s,i=this,n=q(i.target.parentNode,!0);this._matrix=this.target.transform.baseVal.getItem(0).matrix,this._ctm=n,Q[t.type]?(e=-1!==t.type.indexOf("touch")?t.currentTarget||t.target:Y,yt(e,"touchend",i._onRelease),yt(e,"touchmove",i._onMove),yt(e,"touchcancel",i._onRelease),yt(Y,"touchstart",Pt),yt(j,"touchforcechange",gt)):(e=null,yt(Y,"mousemove",i._onMove)),V||yt(Y,"mouseup",i._onRelease),gt(t),St(),t.changedTouches?(t=i.touch=t.changedTouches[0],i.touchID=t.identifier):t.pointerId?i.touchID=t.pointerId:i.touch=i.touchID=null,i._startPointerY=i.pointerY=t.pageY,i._startPointerX=i.pointerX=t.pageX,i._startElementX=i._matrix.e,i._startElementY=i._matrix.f,1===this._ctm.a&&0===this._ctm.b&&0===this._ctm.c&&1===this._ctm.d?this._ctm=null:(s=i._startPointerX*this._ctm.a+i._startPointerY*this._ctm.c+this._ctm.e,i._startPointerY=i._startPointerX*this._ctm.b+i._startPointerY*this._ctm.d+this._ctm.f,i._startPointerX=s),i.isPressed=ot=!0,i.touchEventTarget=e,i.vars.onPress&&i.vars.onPress.call(i.vars.callbackScope||i,i.pointerEvent)},Mt=function(t){let e,s,i=this,n=t;if(i._enabled&&!vt&&i.isPressed&&t){if(i.pointerEvent=t,e=t.changedTouches,e){if((t=e[0])!==i.touch&&t.identifier!==i.touchID){for(s=e.length;--s>-1&&(t=e[s]).identifier!==i.touchID;);if(s<0)return}}else if(t.pointerId&&i.touchID&&t.pointerId!==i.touchID)return;gt(n),i.setPointerPosition(t.pageX,t.pageY),i.vars.onDrag&&i.vars.onDrag.call(i.vars.callbackScope||i,i.pointerEvent)}},Dt=function(t,e){let s=this;if(!s._enabled||!s.isPressed||t&&null!=s.touchID&&!e&&(t.pointerId&&t.pointerId!==s.touchID||t.changedTouches&&!((t,e)=>{let s=t.length;for(;--s>-1;)if(t[s].identifier===e)return!0;return!1})(t.changedTouches,s.touchID)))return;nt=it(),s.isPressed=ot=!1;let i,n,o=t,r=s.isDragging,a=s.touchEventTarget;if(a?(At(a,"touchend",s._onRelease),At(a,"touchmove",s._onMove),At(a,"touchcancel",s._onRelease),At(Y,"touchstart",Pt)):At(Y,"mousemove",s._onMove),V||(At(Y,"mouseup",s._onRelease),t&&t.target&&At(t.target,"mouseup",s._onRelease)),r?s.isDragging=!1:s.vars.onClick&&s.vars.onClick.call(s.vars.callbackScope||s,o),t){if(i=t.changedTouches,i&&(t=i[0])!==s.touch&&t.identifier!==s.touchID){for(n=i.length;--n>-1&&(t=i[n]).identifier!==s.touchID;);if(n<0)return}s.pointerEvent=o,s.pointerX=t.pageX,s.pointerY=t.pageY}return o&&!r&&s.vars.onDragRelease?s.vars.onDragRelease.call(s,s.pointerEvent):(o&&gt(o),s.vars.onRelease&&s.vars.onRelease.call(s.vars.callbackScope||s,s.pointerEvent)),r&&s.vars.onDragEnd&&s.vars.onDragEnd.call(s.vars.callbackScope||s,s.pointerEvent),!0},Tt=(t,e,s,i)=>{let n,o=t[e],r=o.length-(o.closed?6:0),a=[];for(n=0;n<r;n+=6)a.push(new Rt(s,t,e,n,i));return o.closed&&(a[0].isClosedStart=!0),a},Ht=(t,e,s)=>{let i=t[s]-t[e],n=t[s+1]-t[e+1];return Math.sqrt(i*i+n*n)};class Nt{constructor(t,e){this.target="string"==typeof t?Y.querySelectorAll(t)[0]:t,this.vars=e||{},this._onPress=xt(kt,this),this._onMove=xt(Mt,this),this._onRelease=xt(Dt,this),this.target.setAttribute("transform",(this.target.getAttribute("transform")||"")+" translate(0,0)"),this._matrix=ft(this.target),this.x=this._matrix.e,this.y=this._matrix.f,this.snap=e.snap,isNaN(e.maxX)&&isNaN(e.minX)?this._bounds=0:(this._bounds=1,this.maxX=+e.maxX,this.minX=+e.minX),this.enabled(!0)}setPointerPosition(t,e){let s,i,n,o,r;this.pointerX=t,this.pointerY=e,this._ctm&&(r=t*this._ctm.a+e*this._ctm.c+this._ctm.e,e=t*this._ctm.b+e*this._ctm.d+this._ctm.f,t=r),i=e-this._startPointerY,s=t-this._startPointerX,i<1&&i>-1&&(i=0),s<1&&s>-1&&(s=0),n=(1e3*(this._startElementX+s)|0)/1e3,o=(1e3*(this._startElementY+i)|0)/1e3,this.snap&&!U&&(lt.x=n,lt.y=o,this.snap.call(this,lt),n=lt.x,o=lt.y),this.x===n&&this.y===o||(this._matrix.f=this.y=o,this._matrix.e=this.x=n,!this.isDragging&&this.isPressed&&(this.isDragging=!0,Ct("onDragStart",this,this.pointerEvent)))}enabled(t){if(!arguments.length)return this._enabled;let e;return this._enabled=t,t?(V||yt(this.target,"mousedown",this._onPress),yt(this.target,"touchstart",this._onPress),yt(this.target,"click",this._onClick,!0)):(e=this.isDragging,At(this.target,"mousedown",this._onPress),At(this.target,"touchstart",this._onPress),At(j,"touchforcechange",gt),At(this.target,"click",this._onClick),this.touchEventTarget&&(At(this.touchEventTarget,"touchcancel",this._onRelease),At(this.touchEventTarget,"touchend",this._onRelease),At(this.touchEventTarget,"touchmove",this._onMove)),At(Y,"mouseup",this._onRelease),At(Y,"mousemove",this._onMove),this.isDragging=this.isPressed=!1,e&&Ct("onDragEnd",this,this.pointerEvent)),this}endDrag(t){this._onRelease(t)}}class Rt{constructor(t,e,s,i,n){this.editor=t,this.element=ut("path",t._selection,{fill:"#4e7fff",stroke:"#4e7fff",strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this.update(e,s,i),this.element._gsSelection=!0,this.vars=n||{},this._draggable=new Nt(this.element,{callbackScope:this,onDrag:this.onDrag,snap:this.vars.snap,onPress:this.onPress,onRelease:this.onRelease,onClick:this.onClick,onDragEnd:this.onDragEnd})}onPress(){Ct("onPress",this)}onClick(){Ct("onClick",this)}onDrag(){let t=this.segment;this.vars.onDrag.call(this.vars.callbackScope||this,this,this._draggable.x-t[this.i],this._draggable.y-t[this.i+1])}onDragEnd(){Ct("onDragEnd",this)}onRelease(){Ct("onRelease",this)}update(t,e,s){t&&(this.rawPath=t),arguments.length<=1?(e=this.j,s=this.i):(this.j=e,this.i=s);let i=this.smooth,n=this.rawPath[e],o=0===s&&n.closed?n.length-4:s-2;this.segment=n,this.smooth=s>0&&s<n.length-2&&Math.abs(Math.atan2(n[s+1]-n[o+1],n[s]-n[o])-Math.atan2(n[s+3]-n[s+1],n[s+2]-n[s]))<.09?2:0,this.smooth!==i&&this.element.setAttribute("d",this.smooth?this.editor._circleHandle:this.editor._squareHandle),this.element.setAttribute("transform","translate("+n[s]+","+n[s+1]+")")}}class Lt{constructor(t,e){e=e||{},tt||Et(),this.vars=e,this.path="string"==typeof t?Y.querySelectorAll(t)[0]:t,this._g=ut("g",this.path.ownerSVGElement,{class:"path-editor-g path-editor"}),this._selectionHittest=ut("path",this._g,{stroke:"transparent",strokeWidth:16,fill:"none",vectorEffect:"non-scaling-stroke"}),this._selection=e._selection||ut("g",this._g,{class:"path-editor-selection path-editor"}),this._selectionPath=ut("path",this._selection,{stroke:"#4e7fff",strokeWidth:2,fill:"none",vectorEffect:"non-scaling-stroke"}),this._selectedAnchors=[],this._line1=ut("polyline",this._selection,{stroke:"#4e7fff",strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this._line2=ut("polyline",this._selection,{stroke:"#4e7fff",strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this._line1.style.pointerEvents=this._line2.style.pointerEvents=this._selectionPath.style.pointerEvents="none",this._enabled=!0;let s=this.path.parentNode.getScreenCTM().inverse(),i=(s.a+s.d)/2*(e.handleSize||5);this._squareHandle=(t=>["M-"+(t=mt(t)),-t,t,-t,t,t,-t,t+"z"].join(","))(i),this._circleHandle=(t=>{let e=mt(.552284749831*t);return"M"+(t=mt(t))+",0C"+[t,e,e,t,0,t,-e,t,-t,e,-t,0,-t,-e,-e,-t,0,-t,e,-t,t,-e,t,0].join(",")+"z"})(1.15*i),this._handle1=ut("path",this._selection,{d:this._squareHandle,fill:"#4e7fff",stroke:"transparent",strokeWidth:6}),this._handle2=ut("path",this._selection,{d:this._squareHandle,fill:"#4e7fff",stroke:"transparent",strokeWidth:6}),this._handle1._draggable=new Nt(this._handle1,{onDrag:this._onDragHandle1,callbackScope:this,onPress:this._onPressHandle1,onRelease:this._onReleaseHandle,onClick:this._onClickHandle1,snap:e.handleSnap}),this._handle2._draggable=new Nt(this._handle2,{onDrag:this._onDragHandle2,callbackScope:this,onPress:this._onPressHandle2,onRelease:this._onReleaseHandle,onClick:this._onClickHandle2,snap:e.handleSnap}),this._handle1.style.visibility=this._handle2.style.visibility="hidden";let n=[this._handle1,this._handle2,this._line1,this._line2,this._selection,this._selectionPath,this._selectionHittest],o=n.length;for(;--o>-1;)n[o]._gsSelection=!0;!1!==e.draggable&&(this._draggable=new Nt(this._selectionHittest,{callbackScope:this,onPress:this.select,onRelease:this._onRelease,onDrag:this._onDragPath,onDragEnd:this._saveState,maxX:this.vars.maxX,minX:this.vars.minX})),this.init(),this._selection.style.visibility=!1===e.selected?"hidden":"visible",!1!==e.selected&&(this.path._gsSelection=!0,dt.push(this)),this._saveState(),V||(yt(this._selectionHittest,"mousedown",xt(this._onClickSelectionPath,this)),yt(this._selectionHittest,"mouseup",xt(this._onRelease,this))),yt(this._selectionHittest,"touchstart",xt(this._onClickSelectionPath,this)),yt(this._selectionHittest,"touchend",xt(this._onRelease,this)),W(this)}_onRelease(t){let e=this._editingAnchor;e&&(at.x=e.segment[e.i],at.y=e.segment[e.i+1]),At(j,"touchforcechange",gt),Ct("onRelease",this,t)}init(){let t,e,s=this.path.getAttribute("d"),i=p(s),n=this.path.getAttribute("transform")||"translate(0,0)",o=!this._rawPath||i.totalPoints!==this._rawPath.totalPoints||i.length!==this._rawPath.length,r={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};if(o&&this._anchors&&this._anchors.length){for(e=0;e<this._anchors.length;e++)this._anchors[e].element.parentNode.removeChild(this._anchors[e].element),this._anchors[e]._draggable.enabled(!1);this._selectedAnchors.length=0}if(this._rawPath=i,o){if(this._anchors=Tt(i,0,this,r),t=i.length,t>1)for(e=1;e<t;e++)this._anchors=this._anchors.concat(Tt(i,e,this,r))}else for(e=this._anchors.length;--e>-1;)this._anchors[e].update(i);return this._selection.appendChild(this._handle1),this._selection.appendChild(this._handle2),this._selectionPath.setAttribute("d",s),this._selectionHittest.setAttribute("d",s),this._g.setAttribute("transform",(t=>{let e=ft(t),s=t.ownerSVGElement;for(;(t=t.parentNode)&&t.ownerSVGElement===s;)e.multiply(ft(t));return"matrix("+e.a+","+e.b+","+e.c+","+e.d+","+e.e+","+e.f+")"})(this.path.parentNode)||"translate(0,0)"),this._selection.setAttribute("transform",n),this._selectionHittest.setAttribute("transform",n),this._updateAnchors(),this}_saveState(){(t=>{let e,s=[],i=t._selectedAnchors;for(e=0;e<i.length;e++)s[e]=i[e].i;ht.unshift({path:t,d:t.path.getAttribute("d"),transform:t.path.getAttribute("transform")||"",selectedIndexes:s}),ht.length>30&&(ht.length=30)})(this)}_onClickSelectionPath(e){if("hidden"===this._selection.style.visibility)this.select();else if(F||e&&e.altKey){let s,i,n,o,r,a,l={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},c=this._selection.getScreenCTM().inverse();for(this._draggable&&this._draggable._onRelease(e),c&&(o=e.clientX*c.a+e.clientY*c.c+c.e,r=e.clientX*c.b+e.clientY*c.d+c.f),a=function(e,s,i,n){let o,r,a,h,l={j:0,i:0,t:0},c=1e8;for(r=0;r<e.length;r++)for(h=e[r],o=0;o<h.length;o+=6)a=b(1,s,i,0,1,n||20,h[o],h[o+1],h[o+2],h[o+3],h[o+4],h[o+5],h[o+6],h[o+7]),c>t&&(c=t,l.j=r,l.i=o,l.t=a);return l}(this._rawPath,o,r),function(t,e,s){if(s<=0||s>=1)return 0;let i=t[e],n=t[e+1],o=t[e+2],r=t[e+3],a=t[e+4],l=t[e+5],c=i+(o-i)*s,d=o+(a-o)*s,g=n+(r-n)*s,p=r+(l-r)*s,u=c+(d-c)*s,_=g+(p-g)*s,f=a+(t[e+6]-a)*s,m=l+(t[e+7]-l)*s;d+=(f-d)*s,p+=(m-p)*s,t.splice(e+2,4,h(c),h(g),h(u),h(_),h(u+(d-u)*s),h(_+(p-_)*s),h(d),h(p),h(f),h(m)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0)}(this._rawPath[a.j],a.i,a.t),s=a.i+6,i=0;i<this._anchors.length;i++)this._anchors[i].i>=s&&(this._anchors[i].i+=6);n=new Rt(this,this._rawPath,a.j,s,l),this._selection.appendChild(this._handle1),this._selection.appendChild(this._handle2),n._draggable._onPress(e),$=n,this._anchors.push(n),this._selectedAnchors.length=0,this._selectedAnchors.push(n),this._updateAnchors(),this.update(),this._saveState()}St(),yt(j,"touchforcechange",gt),Ct("onPress",this)}_onClickHandle1(){let t=this._editingAnchor,e=t.i,s=t.segment,i=t.isClosedStart?s.length-4:e-2;F&&Math.abs(s[e]-s[i])<5&&Math.abs(s[e+1]-s[i+1])<5&&this._onClickAnchor(t)}_onClickHandle2(){let t=this._editingAnchor,e=t.i,s=t.segment;F&&Math.abs(s[e]-s[e+2])<5&&Math.abs(s[e+1]-s[e+3])<5&&this._onClickAnchor(t)}_onDragEndAnchor(t){$=null,this._saveState()}isSelected(){return this._selectedAnchors.length>0}select(t){if(this._selection.style.visibility="visible",this._editingAnchor=null,this.path._gsSelection=!0,!0===t){let t=this._anchors.length;for(;--t>-1;)this._selectedAnchors[t]=this._anchors[t]}return-1===dt.indexOf(this)&&dt.push(this),this._updateAnchors(),this}deselect(){return this._selection.style.visibility="hidden",this._selectedAnchors.length=0,this._editingAnchor=null,this.path._gsSelection=!1,dt.splice(dt.indexOf(this),1),this._updateAnchors(),this}_onDragPath(t){let e=this._selectionHittest.getAttribute("transform")||"translate(0,0)";this._selection.setAttribute("transform",e),this.path.setAttribute("transform",e)}_onPressAnchor(t){-1===this._selectedAnchors.indexOf(t)?(U||(this._selectedAnchors.length=0),this._selectedAnchors.push(t)):U&&(this._selectedAnchors.splice(this._selectedAnchors.indexOf(t),1),t._draggable.endDrag()),at.x=t.segment[t.i],at.y=t.segment[t.i+1],this._updateAnchors(),Ct("onPress",this)}_deleteSelectedAnchors(){let t,e,s,i=this._selectedAnchors,n=i.length;for(;--n>-1;)for(t=i[n],t.element.parentNode.removeChild(t.element),t._draggable.enabled(!1),e=t.i,e?e<t.segment.length-2?t.segment.splice(e-2,6):t.segment.splice(e-4,6):t.segment.splice(e,6),i.splice(n,1),this._anchors.splice(this._anchors.indexOf(t),1),s=0;s<this._anchors.length;s++)this._anchors[s].i>=e&&(this._anchors[s].i-=6);this._updateAnchors(),this.update(),this._saveState(),this.vars.onDeleteAnchor&&this.vars.onDeleteAnchor.call(this.vars.callbackScope||this)}_onClickAnchor(t){let e,s,i,n,o,r,a=t.i,h=t.segment,l=t.isClosedStart?h.length-4:a-2,c=!a||a>=h.length-2;F&&$!==t&&this._editingAnchor?(t.smooth=!t.smooth,c&&!t.isClosedStart&&(t.smooth=!1),t.element.setAttribute("d",t.smooth?this._circleHandle:this._squareHandle),!t.smooth||c&&!t.isClosedStart?t.smooth||c&&!t.isClosedStart||((a||t.isClosedStart)&&(h[l]=h[a],h[l+1]=h[a+1]),a<h.length-2&&(h[a+2]=h[a],h[a+3]=h[a+1]),this._updateAnchors(),this.update(),this._saveState()):(e=Math.atan2(h[a+1]-h[l+1],h[a]-h[l]),s=Math.atan2(h[a+3]-h[a+1],h[a+2]-h[a]),e=(e+s)/2,i=Ht(h,l,a),n=Ht(h,a,a+2),i<.2&&(i=Ht(h,a,l-4)/4,e=s||Math.atan2(h[a+7]-h[l-3],h[a+6]-h[l-4])),n<.2&&(n=Ht(h,a,a+6)/4,s=e||Math.atan2(h[a+7]-h[l-3],h[a+6]-h[l-4])),o=Math.sin(e),r=Math.cos(e),Math.abs(s-e)<Math.PI/2&&(o=-o,r=-r),h[l]=(1e3*(h[a]+r*i)|0)/1e3,h[l+1]=(1e3*(h[a+1]+o*i)|0)/1e3,h[a+2]=(1e3*(h[a]-r*n)|0)/1e3,h[a+3]=(1e3*(h[a+1]-o*n)|0)/1e3,this._updateAnchors(),this.update(),this._saveState())):U||(this._selectedAnchors.length=0,this._selectedAnchors.push(t)),$=null,this._updateAnchors()}_updateAnchors(){let t,e,s,i=1===this._selectedAnchors.length?this._selectedAnchors[0]:null,n=i?i.segment:null;for(this._editingAnchor=i,t=0;t<this._anchors.length;t++)this._anchors[t].element.style.fill=-1!==this._selectedAnchors.indexOf(this._anchors[t])?"#4e7fff":"white";i&&(this._handle1.setAttribute("d",i.smooth?this._circleHandle:this._squareHandle),this._handle2.setAttribute("d",i.smooth?this._circleHandle:this._squareHandle)),t=i?i.i:0,i&&(t||i.isClosedStart)?(e=i.isClosedStart?n[n.length-4]:n[t-2],s=i.isClosedStart?n[n.length-3]:n[t-1],this._handle1.style.visibility=this._line1.style.visibility=F||e!==n[t]||s!==n[t+1]?"visible":"hidden",this._handle1.setAttribute("transform","translate("+e+","+s+")"),this._line1.setAttribute("points",e+","+s+","+n[t]+","+n[t+1])):this._handle1.style.visibility=this._line1.style.visibility="hidden",i&&t<n.length-2?(e=n[t+2],s=n[t+3],this._handle2.style.visibility=this._line2.style.visibility=F||e!==n[t]||s!==n[t+1]?"visible":"hidden",this._handle2.setAttribute("transform","translate("+e+","+s+")"),this._line2.setAttribute("points",n[t]+","+n[t+1]+","+e+","+s)):this._handle2.style.visibility=this._line2.style.visibility="hidden"}_onPressAlt(){let t=this._editingAnchor;t&&((t.i||t.isClosedStart)&&(this._handle1.style.visibility=this._line1.style.visibility="visible"),t.i<t.segment.length-2&&(this._handle2.style.visibility=this._line2.style.visibility="visible"))}_onReleaseAlt(){let t,e,s,i=this._editingAnchor;i&&(t=i.segment,e=i.i,s=i.isClosedStart?t.length-4:e-2,t[e]===t[s]&&t[e+1]===t[s+1]&&(this._handle1.style.visibility=this._line1.style.visibility="hidden"),t[e]===t[e+2]&&t[e+1]===t[e+3]&&(this._handle2.style.visibility=this._line2.style.visibility="hidden"))}_onPressHandle1(){this._editingAnchor.smooth&&(this._oppositeHandleLength=Ht(this._editingAnchor.segment,this._editingAnchor.i,this._editingAnchor.i+2)),Ct("onPress",this)}_onPressHandle2(){this._editingAnchor.smooth&&(this._oppositeHandleLength=Ht(this._editingAnchor.segment,this._editingAnchor.isClosedStart?this._editingAnchor.segment.length-4:this._editingAnchor.i-2,this._editingAnchor.i)),Ct("onPress",this)}_onReleaseHandle(t){this._onRelease(t),this._saveState()}_onDragHandle1(){let t,e=this._editingAnchor,s=e.segment,i=e.i,n=e.isClosedStart?s.length-4:i-2,o=this._handle1._draggable.x,r=this._handle1._draggable.y;s[n]=o=(1e3*o|0)/1e3,s[n+1]=r=(1e3*r|0)/1e3,e.smooth&&(F?(e.smooth=!1,e.element.setAttribute("d",this._squareHandle),this._handle1.setAttribute("d",this._squareHandle),this._handle2.setAttribute("d",this._squareHandle)):(t=Math.atan2(s[i+1]-r,s[i]-o),o=this._oppositeHandleLength*Math.cos(t),r=this._oppositeHandleLength*Math.sin(t),s[i+2]=(1e3*(s[i]+o)|0)/1e3,s[i+3]=(1e3*(s[i+1]+r)|0)/1e3)),this.update()}_onDragHandle2(){let t,e=this._editingAnchor,s=e.segment,i=e.i,n=e.isClosedStart?s.length-4:i-2,o=this._handle2._draggable.x,r=this._handle2._draggable.y;s[i+2]=o=(1e3*o|0)/1e3,s[i+3]=r=(1e3*r|0)/1e3,e.smooth&&(F?(e.smooth=!1,e.element.setAttribute("d",this._squareHandle),this._handle1.setAttribute("d",this._squareHandle),this._handle2.setAttribute("d",this._squareHandle)):(t=Math.atan2(s[i+1]-r,s[i]-o),o=this._oppositeHandleLength*Math.cos(t),r=this._oppositeHandleLength*Math.sin(t),s[n]=(1e3*(s[i]+o)|0)/1e3,s[n+1]=(1e3*(s[i+1]+r)|0)/1e3)),this.update()}_onDragAnchor(t,e,s){let i,n,o,r,a,h=this._selectedAnchors,l=h.length,c=1e3;for(n=0;n<l;n++)r=h[n],i=r.i,o=r.segment,i?(o[i-2]=((o[i-2]+e)*c|0)/c,o[i-1]=((o[i-1]+s)*c|0)/c):r.isClosedStart&&(a=o.length-2,o[a]=mt(o[a]+e),o[a+1]=mt(o[a+1]+s),o[a-2]=mt(o[a-2]+e),o[a-1]=mt(o[a-1]+s)),o[i]=((o[i]+e)*c|0)/c,o[i+1]=((o[i+1]+s)*c|0)/c,i<o.length-2&&(o[i+2]=((o[i+2]+e)*c|0)/c,o[i+3]=((o[i+3]+s)*c|0)/c),r!==t&&r.element.setAttribute("transform","translate("+o[i]+","+o[i+1]+")");this.update()}enabled(t){if(!arguments.length)return this._enabled;let e=this._anchors.length;for(;--e>-1;)this._anchors[e]._draggable.enabled(t);return this._enabled=t,this._handle1._draggable.enabled(t),this._handle2._draggable.enabled(t),this._draggable&&this._draggable.enabled(t),t?this._selection.parentNode||(this.path.ownerSVGElement.appendChild(this._selectionHittest),this.path.ownerSVGElement.appendChild(this._selection),this.init(),this._saveState()):(this.deselect(),this._selectionHittest.parentNode&&this._selectionHittest.parentNode.removeChild(this._selectionHittest),this._selection.parentNode&&this._selection.parentNode.removeChild(this._selection)),this._updateAnchors(),this.update()}update(t){let e,s,i,n,o,r="",a=this._editingAnchor;if(t&&this.init(),a&&(e=a.i,s=a.segment,(e||a.isClosedStart)&&(o=a.isClosedStart?s.length-4:e-2,i=s[o],n=s[o+1],this._handle1.setAttribute("transform","translate("+i+","+n+")"),this._line1.setAttribute("points",i+","+n+","+s[e]+","+s[e+1])),e<s.length-2&&(i=s[e+2],n=s[e+3],this._handle2.setAttribute("transform","translate("+i+","+n+")"),this._line2.setAttribute("points",s[e]+","+s[e+1]+","+i+","+n))),t)r=this.path.getAttribute("d");else{for(e=0;e<this._rawPath.length;e++)s=this._rawPath[e],s.length>7&&(r+="M"+s[0]+","+s[1]+"C"+s.slice(2).join(","));this.path.setAttribute("d",r),this._selectionPath.setAttribute("d",r),this._selectionHittest.setAttribute("d",r)}return this.vars.onUpdate&&this._enabled&&Ct("onUpdate",this,r),this}getRawPath(t,e,s){if(t){let t=ft(this.path);return d(c(this._rawPath),1,0,0,1,t.e+(e||0),t.f+(s||0))}return this._rawPath}getString(t,e,s){if(t){let t=ft(this.path);return function(t){"number"==typeof t[0]&&(t=[t]);let e,s,i,n,o="",r=t.length;for(s=0;s<r;s++){for(n=t[s],o+="M"+h(n[0])+","+h(n[1])+" C",e=n.length,i=2;i<e;i++)o+=h(n[i++])+","+h(n[i++])+" "+h(n[i++])+","+h(n[i++])+" "+h(n[i++])+","+h(n[i])+" ";n.closed&&(o+="z")}return o}(d(c(this._rawPath),1,0,0,1,t.e+(e||0),t.f+(s||0)))}return this.path.getAttribute("d")}getNormalizedSVG(t,e,s,i){let n,o,r,a,h,l,c=this._rawPath[0],d=-1*c[0],g=0===e?0:-(e||c[1]),p=c.length,_=1/(c[p-2]+d),f=-t||c[p-1]+g;for(ct.length=0,f=f?1/f:-_,_*=1e3,f*=1e3,o=0;o<p;o+=2)ct[o]=((c[o]+d)*_|0)/1e3,ct[o+1]=((c[o+1]+g)*f|0)/1e3;if(i){for(n=[],p=ct.length,o=2;o<p;o+=6)r=ct[o-2],a=ct[o-1],h=ct[o+4],l=ct[o+5],n.push(r,a,h,l),u(r,a,ct[o],ct[o+1],ct[o+2],ct[o+3],h,l,.001,n,n.length-2);for(r=n[0],p=n.length,o=2;o<p;o+=2){if(h=n[o],h<r||h>1||h<0){i();break}r=h}}return s&&8===p&&0===ct[0]&&0===ct[1]&&1===ct[p-2]&&1===ct[p-1]?ct.slice(2,6).join(","):(ct[2]="C"+ct[2],"M"+ct.join(","))}kill(){this.enabled(!1),this._g.parentNode&&this._g.parentNode.removeChild(this._g)}revert(){this.kill()}}Lt.simplifyPoints=m,Lt.pointsToSegment=_,Lt.simplifySVG=(t,e)=>{let s,i,n,o,r,a,h,l,c,d,g,f;if(d=(e=e||{}).tolerance||1,c=e.precision||1/d,f=(void 0===e.cornerThreshold?18:+e.cornerThreshold)*st,"string"!=typeof t&&(s=t,t=s.getAttribute("d")),"#"!==t.charAt(0)&&"."!==t.charAt(0)||(s=Y.querySelector(t),s&&(t=s.getAttribute("d"))),i=!1!==e.curved||/[achqstvz]/gi.test(t)?p(t)[0]:t.match(et),!1!==e.curved){for(l=i,i=[],g=l.length,n=2;n<g;n+=6)o=+l[n-2],a=+l[n-1],r=+l[n+4],h=+l[n+5],i.push(mt(o),mt(a),mt(r),mt(h)),u(o,a,+l[n],+l[n+1],+l[n+2],+l[n+3],r,h,1/(2e5*c),i,i.length-2);i=_(m(i,d),e.curviness),i[2]="C"+i[2]}else i=m(i,d);return t="M"+i.join(","),s&&s.setAttribute("d",t),t},Lt.create=(t,e)=>new Lt(t,e),Lt.editingAxis=at,Lt.getSnapFunction=t=>{let e=t.radius||2,s=1e20,i=t.x||0===t.x?t.x:t.width?0:-s,n=t.y||0===t.y?t.y:t.height?0:-s,o=i+(t.width||s*s),r=n+(t.height||s*s),a=!1!==t.containX,h=!1!==t.containY,l=t.axis,c=t.gridSize;return e*=e,t=>{let s,d,g,p,u=t.x,_=t.y;a&&u<i||(g=u-i)*g<e?u=i:(a&&u>o||(g=o-u)*g<e)&&(u=o),h&&_<n||(p=_-n)*p<e?_=n:(h&&_>r||(p=r-_)*p<e)&&(_=r),l&&(g=u-l.x,p=_-l.y,g*g<e&&(u=l.x),p*p<e&&(_=l.y)),c&&(s=i+Math.round((u-i)/c)*c,g=s-u,d=n+Math.round((_-n)/c)*c,p=d-_,g*g+p*p<e&&(u=s,_=d)),t.x=u,t.y=_}},Lt.version="3.11.5",Lt.register=Et;let Xt,Ot,It,qt,Yt,Vt,jt,zt,Gt,Wt,Bt=function(){return String.fromCharCode.apply(null,arguments)},Ft=Bt(103,114,101,101,110,115,111,99,107,46,99,111,109),Ut=(function(t){var e="undefined"!=typeof window,s=0===(e?window.location.href:"").indexOf(Bt(102,105,108,101,58,47,47))||-1!==t.indexOf(Bt(108,111,99,97,108,104,111,115,116))||-1!==t.indexOf(Bt(49,50,55,46,48,32,48,46,49)),i=[Ft,Bt(99,111,100,101,112,101,110,46,105,111),Bt(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),Bt(99,111,100,101,112,101,110,46,100,101,118),Bt(99,111,100,101,112,101,110,46,97,112,112),Bt(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),Bt(112,101,110,115,46,99,108,111,117,100),Bt(99,115,115,45,116,114,105,99,107,115,46,99,111,109),Bt(99,100,112,110,46,105,111),Bt(112,101,110,115,46,105,111),Bt(103,97,110,110,111,110,46,116,118),Bt(99,111,100,101,99,97,110,121,111,110,46,110,101,116),Bt(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),Bt(99,101,114,101,98,114,97,120,46,99,111,46,117,107),Bt(116,121,109,112,97,110,117,115,46,110,101,116),Bt(116,119,101,101,110,109,97,120,46,99,111,109),Bt(112,108,110,107,114,46,99,111),Bt(104,111,116,106,97,114,46,99,111,109),Bt(119,101,98,112,97,99,107,98,105,110,46,99,111,109),Bt(97,114,99,104,105,118,101,46,111,114,103),Bt(99,111,100,101,115,97,110,100,98,111,120,46,105,111),Bt(99,115,98,46,97,112,112),Bt(115,116,97,99,107,98,108,105,116,122,46,99,111,109),Bt(115,116,97,99,107,98,108,105,116,122,46,105,111),Bt(99,111,100,105,101,114,46,105,111),Bt(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),Bt(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),Bt(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),Bt(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),Bt(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),Bt(106,115,102,105,100,100,108,101,46,110,101,116)],n=function(){e&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",n):(document.removeEventListener("readystatechange",n),e&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(Bt(37,99,87,97,114,110,105,110,103),Bt(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(Bt(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"MotionPathHelper"+Bt(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(Bt(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),Bt(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},o=i.length;for(setTimeout(n,50);--o>-1;)if(-1!==t.indexOf(i[o]))return!0;s||setTimeout((function(){e&&(window.location.href=Bt(104,116,116,112,115,58,47,47)+Ft+Bt(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=MotionPathHelper&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),/(^[#\.][a-z]|[a-y][a-z])/i),Zt=t=>"string"==typeof t,$t=(t,e)=>{let s=It.createElementNS?It.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):It.createElement(t);return s.style?s:It.createElement(t)},Kt=(t,e,s)=>Zt(t)&&Ut.test(t)?It.querySelector(t):Array.isArray(t)?zt(jt([{x:Xt.getProperty(e,"x"),y:Xt.getProperty(e,"y")},...t],s)):Zt(t)||t&&"path"===(t.tagName+"").toLowerCase()?t:0,Qt={matrix:{a:1,b:0,c:0,d:1,e:0,f:0}},Jt=(t,e)=>{let s="Please gsap.registerPlugin(MotionPathPlugin)";Ot=window,Xt=Xt||t||Ot.gsap||console.warn(s),Xt&&Lt.register(Xt),It=document,Yt=It.body,qt=It.documentElement,Xt&&(Vt=Xt.plugins.motionPath,Gt=Xt.core.context||function(){}),Vt?(Wt=$t("textarea"),Wt.style.display="none",Yt.appendChild(Wt),jt=Vt.arrayToRawPath,zt=Vt.rawPathToString):!0===e&&console.warn(s)};class te{constructor(t,e={}){Vt||Jt(e.gsap,1);let s,i,n,o,r,a,h,l,c,d,g,p,u,_=$t("div"),f=this,m={x:0,y:0};t instanceof Xt.core.Tween?(l=t,s=l.targets()[0]):(s=Xt.utils.toArray(t)[0],l=(t=>{let e=Xt.getTweensOf(t),s=0;for(;s<e.length;s++){if(e[s].vars.motionPath)return e[s];e[s].timeline&&e.push(...e[s].timeline.getChildren())}})(s)),i=Kt(e.path,s,e),this.offset=m,a=(t=>{let e=t.getBoundingClientRect(),s=qt.clientTop-(Ot.pageYOffset||qt.scrollTop||Yt.scrollTop||0),i=qt.clientLeft-(Ot.pageXOffset||qt.scrollLeft||Yt.scrollLeft||0);return{left:e.left+i,top:e.top+s,right:e.right+i,bottom:e.bottom+s}})(s),o=parseFloat(Xt.getProperty(s,"x","px")),r=parseFloat(Xt.getProperty(s,"y","px")),n=s.getCTM&&"svg"!==s.tagName.toLowerCase(),l&&!i&&(i=Kt(l.vars.motionPath.path||l.vars.motionPath,s,l.vars.motionPath)),_.setAttribute("class","copy-motion-path"),_.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",_.innerText="COPY MOTION PATH",_._gsHelper=f,(Xt.utils.toArray(e.container)[0]||Yt).appendChild(_),((t,e,s)=>{t.addEventListener("click",i=>{if(i.target._gsHelper){let n=e(i.target);if(Wt.value=n,n&&Wt.select){console.log(n),Wt.style.display="block",Wt.select();try{It.execCommand("copy"),Wt.blur(),s&&s(t)}catch(t){console.warn("Copy didn't work; this browser doesn't permit that.")}Wt.style.display="none"}}})})(_,()=>f.getString(),()=>Xt.fromTo(_,{backgroundColor:"white"},{duration:.5,backgroundColor:"rgba(85, 85, 85, 0.6)"})),h=i&&i.ownerSVGElement,h?(e.pathColor&&Xt.set(i,{stroke:e.pathColor}),e.pathWidth&&Xt.set(i,{strokeWidth:e.pathWidth}),e.pathOpacity&&Xt.set(i,{opacity:e.pathOpacity})):(c=n&&s.ownerSVGElement&&s.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg",n?(h=s.ownerSVGElement,d=s.getBBox(),g=(t=>(t.transform.baseVal.consolidate()||Qt).matrix)(s),o=g.e,r=g.f,m.x=d.x,m.y=d.y):(h=$t("svg",c),Yt.appendChild(h),h.setAttribute("viewBox","0 0 100 100"),h.setAttribute("class","motion-path-helper"),h.style.cssText="overflow:visible; background-color: transparent; position:absolute; z-index:5000; width:100px; height:100px; top:"+(a.top-r)+"px; left:"+(a.left-o)+"px;"),d=Zt(i)&&!Ut.test(i)?i:((t,e)=>{let s,i=[0,31,8,58,24,75,40,90,69,100,100,100];for(s=0;s<i.length;s+=2)i[s]+=t,i[s+1]+=e;return"M"+t+","+e+"C"+i.join(",")})(o,r),i=$t("path",c),i.setAttribute("d",d),i.setAttribute("vector-effect","non-scaling-stroke"),i.style.cssText="fill:transparent; stroke-width:"+(e.pathWidth||3)+"; stroke:"+(e.pathColor||"#555")+"; opacity:"+(e.pathOpacity||.6),h.appendChild(i)),(m.x||m.y)&&Xt.set(i,{x:m.x,y:m.y}),"selected"in e||(e.selected=!0),"anchorSnap"in e||(e.anchorSnap=t=>{t.x*t.x+t.y*t.y<16&&(t.x=t.y=0)}),u=l&&"nested"===l.parent.data?l.parent.parent:l,e.onPress=()=>{u.pause(0)},p=()=>{l.invalidate(),u.restart()},e.onRelease=e.onDeleteAnchor=p,this.editor=Lt.create(i,e),e.center&&Xt.set(s,{transformOrigin:"50% 50%",xPercent:-50,yPercent:-50}),l?(l.vars.motionPath.path?l.vars.motionPath.path=i:l.vars.motionPath={path:i},u.parent!==Xt.globalTimeline&&Xt.globalTimeline.add(u,(t=>{let e=t.totalTime();for(;t;)e=t.startTime()+e/(t.timeScale()||1),t=t.parent;return e})(u)-u.delay()),u.repeat(-1).repeatDelay(1)):l=u=Xt.to(s,{motionPath:{path:i,start:e.start||0,end:"end"in e?e.end:1,autoRotate:"autoRotate"in e&&e.autoRotate,align:i,alignOrigin:e.alignOrigin},duration:e.duration||5,ease:e.ease||"power1.inOut",repeat:-1,repeatDelay:1,paused:!e.path}),this.animation=l,Gt(this),this.kill=this.revert=()=>{this.editor.kill(),_.parentNode&&_.parentNode.removeChild(_),n||h.parentNode&&h.parentNode.removeChild(h),u&&u.revert()}}getString(){return this.editor.getString(!0,-this.offset.x,-this.offset.y)}}te.register=Jt,te.create=(t,e)=>new te(t,e),te.editPath=(t,e)=>Lt.create(t,e),te.version="3.11.5";export default te;export{te as MotionPathHelper};
let t,e=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,s=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,i=Math.PI/180,n=Math.sin,o=Math.cos,r=Math.abs,a=Math.sqrt,h=t=>Math.round(1e5*t)/1e5||0,l=(t,e)=>(e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e);function c(t){let e=[],s=0;for(;s<t.length;s++)e[s]=l(t[s],t[s].slice(0));return l(t,e)}function d(t,e,s,i,n,o,r){let a,h,l,c,d,g=t.length;for(;--g>-1;)for(a=t[g],h=a.length,l=0;l<h;l+=2)c=a[l],d=a[l+1],a[l]=c*e+d*i+o,a[l+1]=c*s+d*n+r;return t._dirty=1,t}function g(t,e,s,h,l,c,d,g,p){if(t===g&&e===p)return;s=r(s),h=r(h);let u=l%360*i,_=o(u),f=n(u),m=Math.PI,b=2*m,v=(t-g)/2,y=(e-p)/2,A=_*v+f*y,w=-f*v+_*y,P=A*A,x=w*w,C=P/(s*s)+x/(h*h);C>1&&(s=a(C)*s,h=a(C)*h);let S=s*s,E=h*h,k=(S*E-S*x-E*P)/(S*x+E*P);k<0&&(k=0);let M=(c===d?-1:1)*a(k),D=M*(s*w/h),T=M*(-h*A/s),H=(t+g)/2+(_*D-f*T),N=(e+p)/2+(f*D+_*T),R=(A-D)/s,L=(w-T)/h,X=(-A-D)/s,O=(-w-T)/h,I=R*R+L*L,q=(L<0?-1:1)*Math.acos(R/a(I)),Y=(R*O-L*X<0?-1:1)*Math.acos((R*X+L*O)/a(I*(X*X+O*O)));isNaN(Y)&&(Y=m),!d&&Y>0?Y-=b:d&&Y<0&&(Y+=b),q%=b,Y%=b;let V,j=Math.ceil(r(Y)/(b/4)),z=[],G=Y/j,W=4/3*n(G/2)/(1+o(G/2)),B=_*s,F=f*s,U=f*-h,Z=_*h;for(V=0;V<j;V++)A=o(l=q+V*G),w=n(l),R=o(l+=G),L=n(l),z.push(A-W*w,w+W*A,R+W*L,L-W*R,R,L);for(V=0;V<z.length;V+=2)A=z[V],w=z[V+1],z[V]=A*B+w*U+H,z[V+1]=A*F+w*Z+N;return z[V-2]=g,z[V-1]=p,z}function p(t){let i,n,o,a,h,l,c,d,p,u,_,f,m,b,v,y=(t+"").replace(s,t=>{let e=+t;return e<1e-4&&e>-1e-4?0:e}).match(e)||[],A=[],w=0,P=0,x=y.length,C=0,S="ERROR: malformed path: "+t,E=function(t,e,s,i){u=(s-t)/3,_=(i-e)/3,c.push(t+u,e+_,s-u,i-_,s,i)};if(!t||!isNaN(y[0])||isNaN(y[1]))return console.log(S),A;for(i=0;i<x;i++)if(m=h,isNaN(y[i])?(h=y[i].toUpperCase(),l=h!==y[i]):i--,o=+y[i+1],a=+y[i+2],l&&(o+=w,a+=P),i||(d=o,p=a),"M"===h)c&&(c.length<8?A.length-=1:C+=c.length),w=d=o,P=p=a,c=[o,a],A.push(c),i+=2,h="L";else if("C"===h)c||(c=[0,0]),l||(w=P=0),c.push(o,a,w+1*y[i+3],P+1*y[i+4],w+=1*y[i+5],P+=1*y[i+6]),i+=6;else if("S"===h)u=w,_=P,"C"!==m&&"S"!==m||(u+=w-c[c.length-4],_+=P-c[c.length-3]),l||(w=P=0),c.push(u,_,o,a,w+=1*y[i+3],P+=1*y[i+4]),i+=4;else if("Q"===h)u=w+2/3*(o-w),_=P+2/3*(a-P),l||(w=P=0),w+=1*y[i+3],P+=1*y[i+4],c.push(u,_,w+2/3*(o-w),P+2/3*(a-P),w,P),i+=4;else if("T"===h)u=w-c[c.length-4],_=P-c[c.length-3],c.push(w+u,P+_,o+2/3*(w+1.5*u-o),a+2/3*(P+1.5*_-a),w=o,P=a),i+=2;else if("H"===h)E(w,P,w=o,P),i+=1;else if("V"===h)E(w,P,w,P=o+(l?P-w:0)),i+=1;else if("L"===h||"Z"===h)"Z"===h&&(o=d,a=p,c.closed=!0),("L"===h||r(w-o)>.5||r(P-a)>.5)&&(E(w,P,o,a),"L"===h&&(i+=2)),w=o,P=a;else if("A"===h){if(b=y[i+4],v=y[i+5],u=y[i+6],_=y[i+7],n=7,b.length>1&&(b.length<3?(_=u,u=v,n--):(_=v,u=b.substr(2),n-=2),v=b.charAt(1),b=b.charAt(0)),f=g(w,P,+y[i+1],+y[i+2],+y[i+3],+b,+v,(l?w:0)+1*u,(l?P:0)+1*_),i+=n,f)for(n=0;n<f.length;n++)c.push(f[n]);w=c[c.length-2],P=c[c.length-1]}else console.log(S);return i=c.length,i<6?(A.pop(),i=0):c[0]===c[i-2]&&c[1]===c[i-1]&&(c.closed=!0),A.totalPoints=C+i,A}function u(t,e,s,i,n,o,a,h,l,c,d){let g,p=(t+s)/2,_=(e+i)/2,f=(s+n)/2,m=(i+o)/2,b=(n+a)/2,v=(o+h)/2,y=(p+f)/2,A=(_+m)/2,w=(f+b)/2,P=(m+v)/2,x=(y+w)/2,C=(A+P)/2,S=a-t,E=h-e,k=r((s-a)*E-(i-h)*S),M=r((n-a)*E-(o-h)*S);return c||(c=[t,e,a,h],d=2),c.splice(d||c.length-2,0,x,C),(k+M)*(k+M)>l*(S*S+E*E)&&(g=c.length,u(t,e,p,_,y,A,x,C,l,c,d),u(x,C,w,P,b,v,a,h,l,c,d+2+(c.length-g))),c}function _(t,e){r(t[0]-t[2])<1e-4&&r(t[1]-t[3])<1e-4&&(t=t.slice(2));let s,i,n,o,l,c,d,g,p,u,_,f,m,b,v,y=t.length-2,A=+t[0],w=+t[1],P=+t[2],x=+t[3],C=[A,w,A,w],S=P-A,E=x-w,k=Math.abs(t[y]-A)<.001&&Math.abs(t[y+1]-w)<.001;for(k&&(t.push(P,x),P=A,x=w,A=t[y-2],w=t[y-1],t.unshift(A,w),y+=4),e=e||0===e?+e:1,n=2;n<y;n+=2)s=A,i=w,A=P,w=x,P=+t[n+2],x=+t[n+3],A===P&&w===x||(o=S,l=E,S=P-A,E=x-w,c=a(o*o+l*l),d=a(S*S+E*E),g=a((S/d+o/c)**2+(E/d+l/c)**2),p=(c+d)*e*.25/g,u=A-(A-s)*(c?p/c:0),_=A+(P-A)*(d?p/d:0),f=A-(u+((_-u)*(3*c/(c+d)+.5)/4||0)),m=w-(w-i)*(c?p/c:0),b=w+(x-w)*(d?p/d:0),v=w-(m+((b-m)*(3*c/(c+d)+.5)/4||0)),A===s&&w===i||C.push(h(u+f),h(m+v),h(A),h(w),h(_+f),h(b+v)));return A!==P||w!==x||C.length<4?C.push(h(P),h(x),h(P),h(x)):C.length-=2,2===C.length?C.push(A,w,A,w,A,w):k&&(C.splice(0,6),C.length=C.length-6),C}function f(t,e,s,i,n,o){let r,a=n-s,h=o-i;return(a||h)&&(r=((t-s)*a+(e-i)*h)/(a*a+h*h),r>1?(s=n,i=o):r>0&&(s+=a*r,i+=h*r)),(t-s)**2+(e-i)**2}function m(t,e){let s,i,n,o,r,a,h,l=parseFloat(t[0]),c=parseFloat(t[1]),d=[l,c],g=t.length-2;for(e=(e||1)**2,s=2;s<g;s+=2)i=parseFloat(t[s]),n=parseFloat(t[s+1]),o=l-i,r=c-n,o*o+r*r>e&&(d.push(i,n),l=i,c=n);return d.push(parseFloat(t[g]),parseFloat(t[g+1])),h=d.length-2,a=[d[0],d[1]],function t(e,s,i,n,o){let r,a,h,l=n,c=e[s],d=e[s+1],g=e[i],p=e[i+1];for(a=s+2;a<i;a+=2)h=f(e[a],e[a+1],c,d,g,p),h>l&&(r=a,l=h);l>n&&(r-s>2&&t(e,s,r,n,o),o.push(e[r],e[r+1]),i-r>2&&t(e,r,i,n,o))}(d,0,h,e,a),a.push(d[h],d[h+1]),a}function b(e,s,i,n,o,r,a,h,l,c,d,g,p,u){let _,f,m,v,y,A,w=(o-n)/r,P=0,x=n;for(t=1e8;x<=o;)A=1-x,_=A*A*A*a+3*A*A*x*l+3*A*x*x*d+x*x*x*p,f=A*A*A*h+3*A*A*x*c+3*A*x*x*g+x*x*x*u,v=_-s,y=f-i,m=v*v+y*y,m<t&&(t=m,P=x),x+=w;return e>1?b(e-1,s,i,Math.max(P-w,0),Math.min(P+w,1),r,a,h,l,c,d,g,p,u):P}let v,y,A,w,P,x,C,S,E,k="transform",M=k+"Origin",D=t=>{let e=t.ownerDocument||t;!(k in t.style)&&"msTransform"in t.style&&(k="msTransform",M=k+"Origin");for(;e.parentNode&&(e=e.parentNode););if(y=window,C=new I,e){v=e,A=e.documentElement,w=e.body,S=v.createElementNS("http://www.w3.org/2000/svg","g"),S.style.transform="none";let t=e.createElement("div"),s=e.createElement("div");w.appendChild(t),t.appendChild(s),t.style.position="static",t.style[k]="translate3d(0,0,1px)",E=s.offsetParent!==t,w.removeChild(t)}return e},T=[],H=[],N=t=>t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null),R=t=>"fixed"===y.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?R(t):void 0),L=(t,e)=>{if(t.parentNode&&(v||D(t))){let s=N(t),i=s?s.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",n=s?e?"rect":"g":"div",o=2!==e?0:100,r=3===e?100:0,a="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",h=v.createElementNS?v.createElementNS(i.replace(/^https/,"http"),n):v.createElement(n);return e&&(s?(x||(x=L(t)),h.setAttribute("width",.01),h.setAttribute("height",.01),h.setAttribute("transform","translate("+o+","+r+")"),x.appendChild(h)):(P||(P=L(t),P.style.cssText=a),h.style.cssText=a+"width:0.1px;height:0.1px;top:"+r+"px;left:"+o+"px",P.appendChild(h))),h}throw"Need document and parent."},X=(t,e)=>{let s,i,n,o,r,a,h=N(t),l=t===h,c=h?T:H,d=t.parentNode;if(t===y)return t;if(c.length||c.push(L(t,1),L(t,2),L(t,3)),s=h?x:P,h)l?(n=(t=>{let e,s=t.getCTM();return s||(e=t.style[k],t.style[k]="none",t.appendChild(S),s=S.getCTM(),t.removeChild(S),e?t.style[k]=e:t.style.removeProperty(k.replace(/([A-Z])/g,"-$1").toLowerCase())),s||C.clone()})(t),o=-n.e/n.a,r=-n.f/n.d,i=C):t.getBBox?(n=t.getBBox(),i=t.transform?t.transform.baseVal:{},i=i.numberOfItems?i.numberOfItems>1?(t=>{let e=new I,s=0;for(;s<t.numberOfItems;s++)e.multiply(t.getItem(s).matrix);return e})(i):i.getItem(0).matrix:C,o=i.a*n.x+i.c*n.y,r=i.b*n.x+i.d*n.y):(i=new I,o=r=0),e&&"g"===t.tagName.toLowerCase()&&(o=r=0),(l?h:d).appendChild(s),s.setAttribute("transform","matrix("+i.a+","+i.b+","+i.c+","+i.d+","+(i.e+o)+","+(i.f+r)+")");else{if(o=r=0,E)for(i=t.offsetParent,n=t;n&&(n=n.parentNode)&&n!==i&&n.parentNode;)(y.getComputedStyle(n)[k]+"").length>4&&(o=n.offsetLeft,r=n.offsetTop,n=0);if(a=y.getComputedStyle(t),"absolute"!==a.position&&"fixed"!==a.position)for(i=t.offsetParent;d&&d!==i;)o+=d.scrollLeft||0,r+=d.scrollTop||0,d=d.parentNode;n=s.style,n.top=t.offsetTop-r+"px",n.left=t.offsetLeft-o+"px",n[k]=a[k],n[M]=a[M],n.position="fixed"===a.position?"fixed":"absolute",t.parentNode.appendChild(s)}return s},O=(t,e,s,i,n,o,r)=>(t.a=e,t.b=s,t.c=i,t.d=n,t.e=o,t.f=r,t);class I{constructor(t=1,e=0,s=0,i=1,n=0,o=0){O(this,t,e,s,i,n,o)}inverse(){let{a:t,b:e,c:s,d:i,e:n,f:o}=this,r=t*i-e*s||1e-10;return O(this,i/r,-e/r,-s/r,t/r,(s*o-i*n)/r,-(t*o-e*n)/r)}multiply(t){let{a:e,b:s,c:i,d:n,e:o,f:r}=this,a=t.a,h=t.c,l=t.b,c=t.d,d=t.e,g=t.f;return O(this,a*e+l*i,a*s+l*n,h*e+c*i,h*s+c*n,o+d*e+g*i,r+d*s+g*n)}clone(){return new I(this.a,this.b,this.c,this.d,this.e,this.f)}equals(t){let{a:e,b:s,c:i,d:n,e:o,f:r}=this;return e===t.a&&s===t.b&&i===t.c&&n===t.d&&o===t.e&&r===t.f}apply(t,e={}){let{x:s,y:i}=t,{a:n,b:o,c:r,d:a,e:h,f:l}=this;return e.x=s*n+i*r+h||0,e.y=s*o+i*a+l||0,e}}function q(t,e,s,i){if(!t||!t.parentNode||(v||D(t)).documentElement===t)return new I;let n=(t=>{let e,s;for(;t&&t!==w;)s=t._gsap,s&&s.uncache&&s.get(t,"x"),s&&!s.scaleX&&!s.scaleY&&s.renderTransform&&(s.scaleX=s.scaleY=1e-4,s.renderTransform(1,s),e?e.push(s):e=[s]),t=t.parentNode;return e})(t),o=N(t)?T:H,r=X(t,s),a=o[0].getBoundingClientRect(),h=o[1].getBoundingClientRect(),l=o[2].getBoundingClientRect(),c=r.parentNode,d=!i&&R(t),g=new I((h.left-a.left)/100,(h.top-a.top)/100,(l.left-a.left)/100,(l.top-a.top)/100,a.left+(d?0:y.pageXOffset||v.scrollLeft||A.scrollLeft||w.scrollLeft||0),a.top+(d?0:y.pageYOffset||v.scrollTop||A.scrollTop||w.scrollTop||0));if(c.removeChild(r),n)for(a=n.length;a--;)h=n[a],h.scaleX=h.scaleY=0,h.renderTransform(1,h);return e?g.inverse():g}let Y,V,j,z,G,W,B,F,U,Z,$,K,Q,J,tt,et=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,st=Math.PI/180,it=Date.now||(()=>(new Date).getTime()),nt=0,ot=0,rt=()=>!1,at={},ht=[],lt={},ct=[],dt=[],gt=t=>{t.preventDefault&&(t.preventDefault(),t.preventManipulation&&t.preventManipulation())},pt=t=>Y.createElementNS?Y.createElementNS("http://www.w3.org/1999/xhtml",t):Y.createElement(t),ut=(t,e,s)=>{let i,n=Y.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(i in(s=s||{}).class=s.class||"path-editor",s)void 0!==n.style[i]?n.style[i]=s[i]:n.setAttributeNS(null,i.replace(o,"$1-$2").toLowerCase(),s[i]);return e.appendChild(n),n},_t={matrix:new I},ft=t=>(t.transform&&t.transform.baseVal.consolidate()||_t).matrix,mt=t=>~~(1e3*t+(t<0?-.5:.5))/1e3,bt=function(t){if(!t.target._gsSelection&&!ot&&it()-nt>100){let t=dt.length;for(;--t>-1;)dt[t].deselect();dt.length=0}},vt=0,yt=(t,e,s,i)=>{if(t.addEventListener){let n=Q[e];i=i||{passive:!1},t.addEventListener(n||e,s,i),n&&e!==n&&"pointer"!==n.substr(0,7)&&t.addEventListener(e,s,i)}else t.attachEvent&&t.attachEvent("on"+e,s)},At=(t,e,s)=>{if(t.removeEventListener){let i=Q[e];t.removeEventListener(i||e,s),i&&e!==i&&"pointer"!==i.substr(0,7)&&t.removeEventListener(e,s)}else t.detachEvent&&t.detachEvent("on"+e,s)},wt=t=>{vt=t.touches&&_dragCount<t.touches.length,At(t.target,"touchend",wt)},Pt=t=>{vt=t.touches&&_dragCount<t.touches.length,yt(t.target,"touchend",wt)},xt=(t,e)=>s=>t.call(e,s),Ct=(t,e,s)=>{let i=e.vars[t];return i&&i.call(e.vars.callbackScope||e,s||e),e},St=()=>{J.style.display="block",J.select(),J.style.display="none"},Et=t=>{Y=document,j=window,z=Y.body,G=G||t||j.gsap||console.warn("Please gsap.registerPlugin(PathEditor)"),W=G&&G.core.context||function(){},K=pt("div"),J=pt("textarea"),J.style.display="none",z&&z.appendChild(J),Q=function(t){let e=t.split(","),s=(void 0!==K.onpointerdown?"pointerdown,pointermove,pointerup,pointercancel":void 0!==K.onmspointerdown?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),i={},n=4;for(;--n>-1;)i[e[n]]=s[n],i[s[n]]=e[n];return i}("touchstart,touchmove,touchend,touchcancel"),SVGElement.prototype.getTransformToElement=SVGElement.prototype.getTransformToElement||function(t){return t.getScreenCTM().inverse().multiply(this.getScreenCTM())},Y.addEventListener("keydown",(function(t){let e,s,i,n,o=t.keyCode||t.which,r=t.key||o;if("Shift"===r||16===o)U=!0;else if("Control"===r||17===o)B=!0;else if("Meta"===r||91===o)Z=!0;else if("Alt"===r||18===o)for(F=!0,e=dt.length;--e>-1;)dt[e]._onPressAlt();else if(("z"===r||90===o)&&(B||Z)&&ht.length>1){if(ht.shift(),s=ht[0],s){for(n=s.path,n.path.setAttribute("d",s.d),n.path.setAttribute("transform",s.transform),n.init(),i=n._anchors,e=0;e<i.length;e++)-1!==s.selectedIndexes.indexOf(i[e].i)&&n._selectedAnchors.push(i[e]);n._updateAnchors(),n.update(),n.vars.onUndo&&n.vars.onUndo.call(n)}}else if("Delete"===r||"Backspace"===r||8===o||46===o||63272===o||"d"===o&&(B||Z))for(e=dt.length;--e>-1;)dt[e]._deleteSelectedAnchors();else if(("a"===r||65===o)&&(Z||B))for(e=dt.length;--e>-1;)dt[e].select(!0)}),!0),Y.addEventListener("keyup",(function(t){let e=t.key||t.keyCode||t.which;if("Shift"===e||16===e)U=!1;else if("Control"===e||17===e)B=!1;else if("Meta"===e||91===e)Z=!1;else if("Alt"===e||18===e){F=!1;let t=dt.length;for(;--t>-1;)dt[t]._onReleaseAlt()}}),!0),V=!!j.PointerEvent,yt(Y,"mouseup",bt),yt(Y,"touchend",bt),yt(Y,"touchcancel",rt),yt(j,"touchmove",rt),z&&z.addEventListener("touchstart",rt),tt=1},kt=function(t){let e,s,i=this,n=q(i.target.parentNode,!0);this._matrix=this.target.transform.baseVal.getItem(0).matrix,this._ctm=n,Q[t.type]?(e=-1!==t.type.indexOf("touch")?t.currentTarget||t.target:Y,yt(e,"touchend",i._onRelease),yt(e,"touchmove",i._onMove),yt(e,"touchcancel",i._onRelease),yt(Y,"touchstart",Pt),yt(j,"touchforcechange",gt)):(e=null,yt(Y,"mousemove",i._onMove)),V||yt(Y,"mouseup",i._onRelease),gt(t),St(),t.changedTouches?(t=i.touch=t.changedTouches[0],i.touchID=t.identifier):t.pointerId?i.touchID=t.pointerId:i.touch=i.touchID=null,i._startPointerY=i.pointerY=t.pageY,i._startPointerX=i.pointerX=t.pageX,i._startElementX=i._matrix.e,i._startElementY=i._matrix.f,1===this._ctm.a&&0===this._ctm.b&&0===this._ctm.c&&1===this._ctm.d?this._ctm=null:(s=i._startPointerX*this._ctm.a+i._startPointerY*this._ctm.c+this._ctm.e,i._startPointerY=i._startPointerX*this._ctm.b+i._startPointerY*this._ctm.d+this._ctm.f,i._startPointerX=s),i.isPressed=ot=!0,i.touchEventTarget=e,i.vars.onPress&&i.vars.onPress.call(i.vars.callbackScope||i,i.pointerEvent)},Mt=function(t){let e,s,i=this,n=t;if(i._enabled&&!vt&&i.isPressed&&t){if(i.pointerEvent=t,e=t.changedTouches,e){if((t=e[0])!==i.touch&&t.identifier!==i.touchID){for(s=e.length;--s>-1&&(t=e[s]).identifier!==i.touchID;);if(s<0)return}}else if(t.pointerId&&i.touchID&&t.pointerId!==i.touchID)return;gt(n),i.setPointerPosition(t.pageX,t.pageY),i.vars.onDrag&&i.vars.onDrag.call(i.vars.callbackScope||i,i.pointerEvent)}},Dt=function(t,e){let s=this;if(!s._enabled||!s.isPressed||t&&null!=s.touchID&&!e&&(t.pointerId&&t.pointerId!==s.touchID||t.changedTouches&&!((t,e)=>{let s=t.length;for(;--s>-1;)if(t[s].identifier===e)return!0;return!1})(t.changedTouches,s.touchID)))return;nt=it(),s.isPressed=ot=!1;let i,n,o=t,r=s.isDragging,a=s.touchEventTarget;if(a?(At(a,"touchend",s._onRelease),At(a,"touchmove",s._onMove),At(a,"touchcancel",s._onRelease),At(Y,"touchstart",Pt)):At(Y,"mousemove",s._onMove),V||(At(Y,"mouseup",s._onRelease),t&&t.target&&At(t.target,"mouseup",s._onRelease)),r?s.isDragging=!1:s.vars.onClick&&s.vars.onClick.call(s.vars.callbackScope||s,o),t){if(i=t.changedTouches,i&&(t=i[0])!==s.touch&&t.identifier!==s.touchID){for(n=i.length;--n>-1&&(t=i[n]).identifier!==s.touchID;);if(n<0)return}s.pointerEvent=o,s.pointerX=t.pageX,s.pointerY=t.pageY}return o&&!r&&s.vars.onDragRelease?s.vars.onDragRelease.call(s,s.pointerEvent):(o&&gt(o),s.vars.onRelease&&s.vars.onRelease.call(s.vars.callbackScope||s,s.pointerEvent)),r&&s.vars.onDragEnd&&s.vars.onDragEnd.call(s.vars.callbackScope||s,s.pointerEvent),!0},Tt=(t,e,s,i)=>{let n,o=t[e],r=o.length-(o.closed?6:0),a=[];for(n=0;n<r;n+=6)a.push(new Rt(s,t,e,n,i));return o.closed&&(a[0].isClosedStart=!0),a},Ht=(t,e,s)=>{let i=t[s]-t[e],n=t[s+1]-t[e+1];return Math.sqrt(i*i+n*n)};class Nt{constructor(t,e){this.target="string"==typeof t?Y.querySelectorAll(t)[0]:t,this.vars=e||{},this._onPress=xt(kt,this),this._onMove=xt(Mt,this),this._onRelease=xt(Dt,this),this.target.setAttribute("transform",(this.target.getAttribute("transform")||"")+" translate(0,0)"),this._matrix=ft(this.target),this.x=this._matrix.e,this.y=this._matrix.f,this.snap=e.snap,isNaN(e.maxX)&&isNaN(e.minX)?this._bounds=0:(this._bounds=1,this.maxX=+e.maxX,this.minX=+e.minX),this.enabled(!0)}setPointerPosition(t,e){let s,i,n,o,r;this.pointerX=t,this.pointerY=e,this._ctm&&(r=t*this._ctm.a+e*this._ctm.c+this._ctm.e,e=t*this._ctm.b+e*this._ctm.d+this._ctm.f,t=r),i=e-this._startPointerY,s=t-this._startPointerX,i<1&&i>-1&&(i=0),s<1&&s>-1&&(s=0),n=(1e3*(this._startElementX+s)|0)/1e3,o=(1e3*(this._startElementY+i)|0)/1e3,this.snap&&!U&&(lt.x=n,lt.y=o,this.snap.call(this,lt),n=lt.x,o=lt.y),this.x===n&&this.y===o||(this._matrix.f=this.y=o,this._matrix.e=this.x=n,!this.isDragging&&this.isPressed&&(this.isDragging=!0,Ct("onDragStart",this,this.pointerEvent)))}enabled(t){if(!arguments.length)return this._enabled;let e;return this._enabled=t,t?(V||yt(this.target,"mousedown",this._onPress),yt(this.target,"touchstart",this._onPress),yt(this.target,"click",this._onClick,!0)):(e=this.isDragging,At(this.target,"mousedown",this._onPress),At(this.target,"touchstart",this._onPress),At(j,"touchforcechange",gt),At(this.target,"click",this._onClick),this.touchEventTarget&&(At(this.touchEventTarget,"touchcancel",this._onRelease),At(this.touchEventTarget,"touchend",this._onRelease),At(this.touchEventTarget,"touchmove",this._onMove)),At(Y,"mouseup",this._onRelease),At(Y,"mousemove",this._onMove),this.isDragging=this.isPressed=!1,e&&Ct("onDragEnd",this,this.pointerEvent)),this}endDrag(t){this._onRelease(t)}}class Rt{constructor(t,e,s,i,n){this.editor=t,this.element=ut("path",t._selection,{fill:"#4e7fff",stroke:"#4e7fff",strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this.update(e,s,i),this.element._gsSelection=!0,this.vars=n||{},this._draggable=new Nt(this.element,{callbackScope:this,onDrag:this.onDrag,snap:this.vars.snap,onPress:this.onPress,onRelease:this.onRelease,onClick:this.onClick,onDragEnd:this.onDragEnd})}onPress(){Ct("onPress",this)}onClick(){Ct("onClick",this)}onDrag(){let t=this.segment;this.vars.onDrag.call(this.vars.callbackScope||this,this,this._draggable.x-t[this.i],this._draggable.y-t[this.i+1])}onDragEnd(){Ct("onDragEnd",this)}onRelease(){Ct("onRelease",this)}update(t,e,s){t&&(this.rawPath=t),arguments.length<=1?(e=this.j,s=this.i):(this.j=e,this.i=s);let i=this.smooth,n=this.rawPath[e],o=0===s&&n.closed?n.length-4:s-2;this.segment=n,this.smooth=s>0&&s<n.length-2&&Math.abs(Math.atan2(n[s+1]-n[o+1],n[s]-n[o])-Math.atan2(n[s+3]-n[s+1],n[s+2]-n[s]))<.09?2:0,this.smooth!==i&&this.element.setAttribute("d",this.smooth?this.editor._circleHandle:this.editor._squareHandle),this.element.setAttribute("transform","translate("+n[s]+","+n[s+1]+")")}}class Lt{constructor(t,e){e=e||{},tt||Et(),this.vars=e,this.path="string"==typeof t?Y.querySelectorAll(t)[0]:t,this._g=ut("g",this.path.ownerSVGElement,{class:"path-editor-g path-editor"}),this._selectionHittest=ut("path",this._g,{stroke:"transparent",strokeWidth:16,fill:"none",vectorEffect:"non-scaling-stroke"}),this._selection=e._selection||ut("g",this._g,{class:"path-editor-selection path-editor"}),this._selectionPath=ut("path",this._selection,{stroke:"#4e7fff",strokeWidth:2,fill:"none",vectorEffect:"non-scaling-stroke"}),this._selectedAnchors=[],this._line1=ut("polyline",this._selection,{stroke:"#4e7fff",strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this._line2=ut("polyline",this._selection,{stroke:"#4e7fff",strokeWidth:2,vectorEffect:"non-scaling-stroke"}),this._line1.style.pointerEvents=this._line2.style.pointerEvents=this._selectionPath.style.pointerEvents="none",this._enabled=!0;let s=this.path.parentNode.getScreenCTM().inverse(),i=(s.a+s.d)/2*(e.handleSize||5);this._squareHandle=(t=>["M-"+(t=mt(t)),-t,t,-t,t,t,-t,t+"z"].join(","))(i),this._circleHandle=(t=>{let e=mt(.552284749831*t);return"M"+(t=mt(t))+",0C"+[t,e,e,t,0,t,-e,t,-t,e,-t,0,-t,-e,-e,-t,0,-t,e,-t,t,-e,t,0].join(",")+"z"})(1.15*i),this._handle1=ut("path",this._selection,{d:this._squareHandle,fill:"#4e7fff",stroke:"transparent",strokeWidth:6}),this._handle2=ut("path",this._selection,{d:this._squareHandle,fill:"#4e7fff",stroke:"transparent",strokeWidth:6}),this._handle1._draggable=new Nt(this._handle1,{onDrag:this._onDragHandle1,callbackScope:this,onPress:this._onPressHandle1,onRelease:this._onReleaseHandle,onClick:this._onClickHandle1,snap:e.handleSnap}),this._handle2._draggable=new Nt(this._handle2,{onDrag:this._onDragHandle2,callbackScope:this,onPress:this._onPressHandle2,onRelease:this._onReleaseHandle,onClick:this._onClickHandle2,snap:e.handleSnap}),this._handle1.style.visibility=this._handle2.style.visibility="hidden";let n=[this._handle1,this._handle2,this._line1,this._line2,this._selection,this._selectionPath,this._selectionHittest],o=n.length;for(;--o>-1;)n[o]._gsSelection=!0;!1!==e.draggable&&(this._draggable=new Nt(this._selectionHittest,{callbackScope:this,onPress:this.select,onRelease:this._onRelease,onDrag:this._onDragPath,onDragEnd:this._saveState,maxX:this.vars.maxX,minX:this.vars.minX})),this.init(),this._selection.style.visibility=!1===e.selected?"hidden":"visible",!1!==e.selected&&(this.path._gsSelection=!0,dt.push(this)),this._saveState(),V||(yt(this._selectionHittest,"mousedown",xt(this._onClickSelectionPath,this)),yt(this._selectionHittest,"mouseup",xt(this._onRelease,this))),yt(this._selectionHittest,"touchstart",xt(this._onClickSelectionPath,this)),yt(this._selectionHittest,"touchend",xt(this._onRelease,this)),W(this)}_onRelease(t){let e=this._editingAnchor;e&&(at.x=e.segment[e.i],at.y=e.segment[e.i+1]),At(j,"touchforcechange",gt),Ct("onRelease",this,t)}init(){let t,e,s=this.path.getAttribute("d"),i=p(s),n=this.path.getAttribute("transform")||"translate(0,0)",o=!this._rawPath||i.totalPoints!==this._rawPath.totalPoints||i.length!==this._rawPath.length,r={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};if(o&&this._anchors&&this._anchors.length){for(e=0;e<this._anchors.length;e++)this._anchors[e].element.parentNode.removeChild(this._anchors[e].element),this._anchors[e]._draggable.enabled(!1);this._selectedAnchors.length=0}if(this._rawPath=i,o){if(this._anchors=Tt(i,0,this,r),t=i.length,t>1)for(e=1;e<t;e++)this._anchors=this._anchors.concat(Tt(i,e,this,r))}else for(e=this._anchors.length;--e>-1;)this._anchors[e].update(i);return this._selection.appendChild(this._handle1),this._selection.appendChild(this._handle2),this._selectionPath.setAttribute("d",s),this._selectionHittest.setAttribute("d",s),this._g.setAttribute("transform",(t=>{let e=ft(t),s=t.ownerSVGElement;for(;(t=t.parentNode)&&t.ownerSVGElement===s;)e.multiply(ft(t));return"matrix("+e.a+","+e.b+","+e.c+","+e.d+","+e.e+","+e.f+")"})(this.path.parentNode)||"translate(0,0)"),this._selection.setAttribute("transform",n),this._selectionHittest.setAttribute("transform",n),this._updateAnchors(),this}_saveState(){(t=>{let e,s=[],i=t._selectedAnchors;for(e=0;e<i.length;e++)s[e]=i[e].i;ht.unshift({path:t,d:t.path.getAttribute("d"),transform:t.path.getAttribute("transform")||"",selectedIndexes:s}),ht.length>30&&(ht.length=30)})(this)}_onClickSelectionPath(e){if("hidden"===this._selection.style.visibility)this.select();else if(F||e&&e.altKey){let s,i,n,o,r,a,l={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},c=this._selection.getScreenCTM().inverse();for(this._draggable&&this._draggable._onRelease(e),c&&(o=e.clientX*c.a+e.clientY*c.c+c.e,r=e.clientX*c.b+e.clientY*c.d+c.f),a=function(e,s,i,n){let o,r,a,h,l={j:0,i:0,t:0},c=1e8;for(r=0;r<e.length;r++)for(h=e[r],o=0;o<h.length;o+=6)a=b(1,s,i,0,1,n||20,h[o],h[o+1],h[o+2],h[o+3],h[o+4],h[o+5],h[o+6],h[o+7]),c>t&&(c=t,l.j=r,l.i=o,l.t=a);return l}(this._rawPath,o,r),function(t,e,s){if(s<=0||s>=1)return 0;let i=t[e],n=t[e+1],o=t[e+2],r=t[e+3],a=t[e+4],l=t[e+5],c=i+(o-i)*s,d=o+(a-o)*s,g=n+(r-n)*s,p=r+(l-r)*s,u=c+(d-c)*s,_=g+(p-g)*s,f=a+(t[e+6]-a)*s,m=l+(t[e+7]-l)*s;d+=(f-d)*s,p+=(m-p)*s,t.splice(e+2,4,h(c),h(g),h(u),h(_),h(u+(d-u)*s),h(_+(p-_)*s),h(d),h(p),h(f),h(m)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0)}(this._rawPath[a.j],a.i,a.t),s=a.i+6,i=0;i<this._anchors.length;i++)this._anchors[i].i>=s&&(this._anchors[i].i+=6);n=new Rt(this,this._rawPath,a.j,s,l),this._selection.appendChild(this._handle1),this._selection.appendChild(this._handle2),n._draggable._onPress(e),$=n,this._anchors.push(n),this._selectedAnchors.length=0,this._selectedAnchors.push(n),this._updateAnchors(),this.update(),this._saveState()}St(),yt(j,"touchforcechange",gt),Ct("onPress",this)}_onClickHandle1(){let t=this._editingAnchor,e=t.i,s=t.segment,i=t.isClosedStart?s.length-4:e-2;F&&Math.abs(s[e]-s[i])<5&&Math.abs(s[e+1]-s[i+1])<5&&this._onClickAnchor(t)}_onClickHandle2(){let t=this._editingAnchor,e=t.i,s=t.segment;F&&Math.abs(s[e]-s[e+2])<5&&Math.abs(s[e+1]-s[e+3])<5&&this._onClickAnchor(t)}_onDragEndAnchor(t){$=null,this._saveState()}isSelected(){return this._selectedAnchors.length>0||"visible"===this._selection.style.visibility}select(t){if(this._selection.style.visibility="visible",this._editingAnchor=null,this.path._gsSelection=!0,!0===t){let t=this._anchors.length;for(;--t>-1;)this._selectedAnchors[t]=this._anchors[t]}return-1===dt.indexOf(this)&&dt.push(this),this._updateAnchors(),this}deselect(){return this._selection.style.visibility="hidden",this._selectedAnchors.length=0,this._editingAnchor=null,this.path._gsSelection=!1,dt.splice(dt.indexOf(this),1),this._updateAnchors(),this}_onDragPath(t){let e=this._selectionHittest.getAttribute("transform")||"translate(0,0)";this._selection.setAttribute("transform",e),this.path.setAttribute("transform",e)}_onPressAnchor(t){-1===this._selectedAnchors.indexOf(t)?(U||(this._selectedAnchors.length=0),this._selectedAnchors.push(t)):U&&(this._selectedAnchors.splice(this._selectedAnchors.indexOf(t),1),t._draggable.endDrag()),at.x=t.segment[t.i],at.y=t.segment[t.i+1],this._updateAnchors(),Ct("onPress",this)}_deleteSelectedAnchors(){let t,e,s,i=this._selectedAnchors,n=i.length;for(;--n>-1;)for(t=i[n],t.element.parentNode.removeChild(t.element),t._draggable.enabled(!1),e=t.i,e?e<t.segment.length-2?t.segment.splice(e-2,6):t.segment.splice(e-4,6):t.segment.splice(e,6),i.splice(n,1),this._anchors.splice(this._anchors.indexOf(t),1),s=0;s<this._anchors.length;s++)this._anchors[s].i>=e&&(this._anchors[s].i-=6);this._updateAnchors(),this.update(),this._saveState(),this.vars.onDeleteAnchor&&this.vars.onDeleteAnchor.call(this.vars.callbackScope||this)}_onClickAnchor(t){let e,s,i,n,o,r,a=t.i,h=t.segment,l=t.isClosedStart?h.length-4:a-2,c=!a||a>=h.length-2;F&&$!==t&&this._editingAnchor?(t.smooth=!t.smooth,c&&!t.isClosedStart&&(t.smooth=!1),t.element.setAttribute("d",t.smooth?this._circleHandle:this._squareHandle),!t.smooth||c&&!t.isClosedStart?t.smooth||c&&!t.isClosedStart||((a||t.isClosedStart)&&(h[l]=h[a],h[l+1]=h[a+1]),a<h.length-2&&(h[a+2]=h[a],h[a+3]=h[a+1]),this._updateAnchors(),this.update(),this._saveState()):(e=Math.atan2(h[a+1]-h[l+1],h[a]-h[l]),s=Math.atan2(h[a+3]-h[a+1],h[a+2]-h[a]),e=(e+s)/2,i=Ht(h,l,a),n=Ht(h,a,a+2),i<.2&&(i=Ht(h,a,l-4)/4,e=s||Math.atan2(h[a+7]-h[l-3],h[a+6]-h[l-4])),n<.2&&(n=Ht(h,a,a+6)/4,s=e||Math.atan2(h[a+7]-h[l-3],h[a+6]-h[l-4])),o=Math.sin(e),r=Math.cos(e),Math.abs(s-e)<Math.PI/2&&(o=-o,r=-r),h[l]=(1e3*(h[a]+r*i)|0)/1e3,h[l+1]=(1e3*(h[a+1]+o*i)|0)/1e3,h[a+2]=(1e3*(h[a]-r*n)|0)/1e3,h[a+3]=(1e3*(h[a+1]-o*n)|0)/1e3,this._updateAnchors(),this.update(),this._saveState())):U||(this._selectedAnchors.length=0,this._selectedAnchors.push(t)),$=null,this._updateAnchors()}_updateAnchors(){let t,e,s,i=1===this._selectedAnchors.length?this._selectedAnchors[0]:null,n=i?i.segment:null;for(this._editingAnchor=i,t=0;t<this._anchors.length;t++)this._anchors[t].element.style.fill=-1!==this._selectedAnchors.indexOf(this._anchors[t])?"#4e7fff":"white";i&&(this._handle1.setAttribute("d",i.smooth?this._circleHandle:this._squareHandle),this._handle2.setAttribute("d",i.smooth?this._circleHandle:this._squareHandle)),t=i?i.i:0,i&&(t||i.isClosedStart)?(e=i.isClosedStart?n[n.length-4]:n[t-2],s=i.isClosedStart?n[n.length-3]:n[t-1],this._handle1.style.visibility=this._line1.style.visibility=F||e!==n[t]||s!==n[t+1]?"visible":"hidden",this._handle1.setAttribute("transform","translate("+e+","+s+")"),this._line1.setAttribute("points",e+","+s+","+n[t]+","+n[t+1])):this._handle1.style.visibility=this._line1.style.visibility="hidden",i&&t<n.length-2?(e=n[t+2],s=n[t+3],this._handle2.style.visibility=this._line2.style.visibility=F||e!==n[t]||s!==n[t+1]?"visible":"hidden",this._handle2.setAttribute("transform","translate("+e+","+s+")"),this._line2.setAttribute("points",n[t]+","+n[t+1]+","+e+","+s)):this._handle2.style.visibility=this._line2.style.visibility="hidden"}_onPressAlt(){let t=this._editingAnchor;t&&((t.i||t.isClosedStart)&&(this._handle1.style.visibility=this._line1.style.visibility="visible"),t.i<t.segment.length-2&&(this._handle2.style.visibility=this._line2.style.visibility="visible"))}_onReleaseAlt(){let t,e,s,i=this._editingAnchor;i&&(t=i.segment,e=i.i,s=i.isClosedStart?t.length-4:e-2,t[e]===t[s]&&t[e+1]===t[s+1]&&(this._handle1.style.visibility=this._line1.style.visibility="hidden"),t[e]===t[e+2]&&t[e+1]===t[e+3]&&(this._handle2.style.visibility=this._line2.style.visibility="hidden"))}_onPressHandle1(){this._editingAnchor.smooth&&(this._oppositeHandleLength=Ht(this._editingAnchor.segment,this._editingAnchor.i,this._editingAnchor.i+2)),Ct("onPress",this)}_onPressHandle2(){this._editingAnchor.smooth&&(this._oppositeHandleLength=Ht(this._editingAnchor.segment,this._editingAnchor.isClosedStart?this._editingAnchor.segment.length-4:this._editingAnchor.i-2,this._editingAnchor.i)),Ct("onPress",this)}_onReleaseHandle(t){this._onRelease(t),this._saveState()}_onDragHandle1(){let t,e=this._editingAnchor,s=e.segment,i=e.i,n=e.isClosedStart?s.length-4:i-2,o=this._handle1._draggable.x,r=this._handle1._draggable.y;s[n]=o=(1e3*o|0)/1e3,s[n+1]=r=(1e3*r|0)/1e3,e.smooth&&(F?(e.smooth=!1,e.element.setAttribute("d",this._squareHandle),this._handle1.setAttribute("d",this._squareHandle),this._handle2.setAttribute("d",this._squareHandle)):(t=Math.atan2(s[i+1]-r,s[i]-o),o=this._oppositeHandleLength*Math.cos(t),r=this._oppositeHandleLength*Math.sin(t),s[i+2]=(1e3*(s[i]+o)|0)/1e3,s[i+3]=(1e3*(s[i+1]+r)|0)/1e3)),this.update()}_onDragHandle2(){let t,e=this._editingAnchor,s=e.segment,i=e.i,n=e.isClosedStart?s.length-4:i-2,o=this._handle2._draggable.x,r=this._handle2._draggable.y;s[i+2]=o=(1e3*o|0)/1e3,s[i+3]=r=(1e3*r|0)/1e3,e.smooth&&(F?(e.smooth=!1,e.element.setAttribute("d",this._squareHandle),this._handle1.setAttribute("d",this._squareHandle),this._handle2.setAttribute("d",this._squareHandle)):(t=Math.atan2(s[i+1]-r,s[i]-o),o=this._oppositeHandleLength*Math.cos(t),r=this._oppositeHandleLength*Math.sin(t),s[n]=(1e3*(s[i]+o)|0)/1e3,s[n+1]=(1e3*(s[i+1]+r)|0)/1e3)),this.update()}_onDragAnchor(t,e,s){let i,n,o,r,a,h=this._selectedAnchors,l=h.length,c=1e3;for(n=0;n<l;n++)r=h[n],i=r.i,o=r.segment,i?(o[i-2]=((o[i-2]+e)*c|0)/c,o[i-1]=((o[i-1]+s)*c|0)/c):r.isClosedStart&&(a=o.length-2,o[a]=mt(o[a]+e),o[a+1]=mt(o[a+1]+s),o[a-2]=mt(o[a-2]+e),o[a-1]=mt(o[a-1]+s)),o[i]=((o[i]+e)*c|0)/c,o[i+1]=((o[i+1]+s)*c|0)/c,i<o.length-2&&(o[i+2]=((o[i+2]+e)*c|0)/c,o[i+3]=((o[i+3]+s)*c|0)/c),r!==t&&r.element.setAttribute("transform","translate("+o[i]+","+o[i+1]+")");this.update()}enabled(t){if(!arguments.length)return this._enabled;let e=this._anchors.length;for(;--e>-1;)this._anchors[e]._draggable.enabled(t);return this._enabled=t,this._handle1._draggable.enabled(t),this._handle2._draggable.enabled(t),this._draggable&&this._draggable.enabled(t),t?this._selection.parentNode||(this.path.ownerSVGElement.appendChild(this._selectionHittest),this.path.ownerSVGElement.appendChild(this._selection),this.init(),this._saveState()):(this.deselect(),this._selectionHittest.parentNode&&this._selectionHittest.parentNode.removeChild(this._selectionHittest),this._selection.parentNode&&this._selection.parentNode.removeChild(this._selection)),this._updateAnchors(),this.update()}update(t){let e,s,i,n,o,r="",a=this._editingAnchor;if(t&&this.init(),a&&(e=a.i,s=a.segment,(e||a.isClosedStart)&&(o=a.isClosedStart?s.length-4:e-2,i=s[o],n=s[o+1],this._handle1.setAttribute("transform","translate("+i+","+n+")"),this._line1.setAttribute("points",i+","+n+","+s[e]+","+s[e+1])),e<s.length-2&&(i=s[e+2],n=s[e+3],this._handle2.setAttribute("transform","translate("+i+","+n+")"),this._line2.setAttribute("points",s[e]+","+s[e+1]+","+i+","+n))),t)r=this.path.getAttribute("d");else{for(e=0;e<this._rawPath.length;e++)s=this._rawPath[e],s.length>7&&(r+="M"+s[0]+","+s[1]+"C"+s.slice(2).join(","));this.path.setAttribute("d",r),this._selectionPath.setAttribute("d",r),this._selectionHittest.setAttribute("d",r)}return this.vars.onUpdate&&this._enabled&&Ct("onUpdate",this,r),this}getRawPath(t,e,s){if(t){let t=ft(this.path);return d(c(this._rawPath),1,0,0,1,t.e+(e||0),t.f+(s||0))}return this._rawPath}getString(t,e,s){if(t){let t=ft(this.path);return function(t){"number"==typeof t[0]&&(t=[t]);let e,s,i,n,o="",r=t.length;for(s=0;s<r;s++){for(n=t[s],o+="M"+h(n[0])+","+h(n[1])+" C",e=n.length,i=2;i<e;i++)o+=h(n[i++])+","+h(n[i++])+" "+h(n[i++])+","+h(n[i++])+" "+h(n[i++])+","+h(n[i])+" ";n.closed&&(o+="z")}return o}(d(c(this._rawPath),1,0,0,1,t.e+(e||0),t.f+(s||0)))}return this.path.getAttribute("d")}getNormalizedSVG(t,e,s,i){let n,o,r,a,h,l,c=this._rawPath[0],d=-1*c[0],g=0===e?0:-(e||c[1]),p=c.length,_=1/(c[p-2]+d),f=-t||c[p-1]+g;for(ct.length=0,f=f?1/f:-_,_*=1e3,f*=1e3,o=0;o<p;o+=2)ct[o]=((c[o]+d)*_|0)/1e3,ct[o+1]=((c[o+1]+g)*f|0)/1e3;if(i){for(n=[],p=ct.length,o=2;o<p;o+=6)r=ct[o-2],a=ct[o-1],h=ct[o+4],l=ct[o+5],n.push(r,a,h,l),u(r,a,ct[o],ct[o+1],ct[o+2],ct[o+3],h,l,.001,n,n.length-2);for(r=n[0],p=n.length,o=2;o<p;o+=2){if(h=n[o],h<r||h>1||h<0){i();break}r=h}}return s&&8===p&&0===ct[0]&&0===ct[1]&&1===ct[p-2]&&1===ct[p-1]?ct.slice(2,6).join(","):(ct[2]="C"+ct[2],"M"+ct.join(","))}kill(){this.enabled(!1),this._g.parentNode&&this._g.parentNode.removeChild(this._g)}revert(){this.kill()}}Lt.simplifyPoints=m,Lt.pointsToSegment=_,Lt.simplifySVG=(t,e)=>{let s,i,n,o,r,a,h,l,c,d,g,f;if(d=(e=e||{}).tolerance||1,c=e.precision||1/d,f=(void 0===e.cornerThreshold?18:+e.cornerThreshold)*st,"string"!=typeof t&&(s=t,t=s.getAttribute("d")),"#"!==t.charAt(0)&&"."!==t.charAt(0)||(s=Y.querySelector(t),s&&(t=s.getAttribute("d"))),i=!1!==e.curved||/[achqstvz]/gi.test(t)?p(t)[0]:t.match(et),!1!==e.curved){for(l=i,i=[],g=l.length,n=2;n<g;n+=6)o=+l[n-2],a=+l[n-1],r=+l[n+4],h=+l[n+5],i.push(mt(o),mt(a),mt(r),mt(h)),u(o,a,+l[n],+l[n+1],+l[n+2],+l[n+3],r,h,1/(2e5*c),i,i.length-2);i=_(m(i,d),e.curviness),i[2]="C"+i[2]}else i=m(i,d);return t="M"+i.join(","),s&&s.setAttribute("d",t),t},Lt.create=(t,e)=>new Lt(t,e),Lt.editingAxis=at,Lt.getSnapFunction=t=>{let e=t.radius||2,s=1e20,i=t.x||0===t.x?t.x:t.width?0:-s,n=t.y||0===t.y?t.y:t.height?0:-s,o=i+(t.width||s*s),r=n+(t.height||s*s),a=!1!==t.containX,h=!1!==t.containY,l=t.axis,c=t.gridSize;return e*=e,t=>{let s,d,g,p,u=t.x,_=t.y;a&&u<i||(g=u-i)*g<e?u=i:(a&&u>o||(g=o-u)*g<e)&&(u=o),h&&_<n||(p=_-n)*p<e?_=n:(h&&_>r||(p=r-_)*p<e)&&(_=r),l&&(g=u-l.x,p=_-l.y,g*g<e&&(u=l.x),p*p<e&&(_=l.y)),c&&(s=i+Math.round((u-i)/c)*c,g=s-u,d=n+Math.round((_-n)/c)*c,p=d-_,g*g+p*p<e&&(u=s,_=d)),t.x=u,t.y=_}},Lt.version="3.12.0",Lt.register=Et;let Xt,Ot,It,qt,Yt,Vt,jt,zt,Gt,Wt,Bt=function(){return String.fromCharCode.apply(null,arguments)},Ft=Bt(103,114,101,101,110,115,111,99,107,46,99,111,109),Ut=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,Zt=(function(t){var e="undefined"!=typeof window,s=0===(e?window.location.href:"").indexOf(Bt(102,105,108,101,58,47,47))||-1!==t.indexOf(Bt(108,111,99,97,108,104,111,115,116))||Ut.test(t),i=[Ft,Bt(99,111,100,101,112,101,110,46,105,111),Bt(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),Bt(99,111,100,101,112,101,110,46,100,101,118),Bt(99,111,100,101,112,101,110,46,97,112,112),Bt(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),Bt(112,101,110,115,46,99,108,111,117,100),Bt(99,115,115,45,116,114,105,99,107,115,46,99,111,109),Bt(99,100,112,110,46,105,111),Bt(112,101,110,115,46,105,111),Bt(103,97,110,110,111,110,46,116,118),Bt(99,111,100,101,99,97,110,121,111,110,46,110,101,116),Bt(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),Bt(99,101,114,101,98,114,97,120,46,99,111,46,117,107),Bt(116,121,109,112,97,110,117,115,46,110,101,116),Bt(116,119,101,101,110,109,97,120,46,99,111,109),Bt(112,108,110,107,114,46,99,111),Bt(104,111,116,106,97,114,46,99,111,109),Bt(119,101,98,112,97,99,107,98,105,110,46,99,111,109),Bt(97,114,99,104,105,118,101,46,111,114,103),Bt(99,111,100,101,115,97,110,100,98,111,120,46,105,111),Bt(99,115,98,46,97,112,112),Bt(115,116,97,99,107,98,108,105,116,122,46,99,111,109),Bt(115,116,97,99,107,98,108,105,116,122,46,105,111),Bt(99,111,100,105,101,114,46,105,111),Bt(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),Bt(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),Bt(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),Bt(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),Bt(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),Bt(106,115,102,105,100,100,108,101,46,110,101,116)],n=function(){if(e)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",n);else{document.removeEventListener("readystatechange",n);var t="object"==typeof Xt?Xt:e&&window.gsap;e&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(Bt(37,99,87,97,114,110,105,110,103),Bt(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(Bt(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"MotionPathHelper"+Bt(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(Bt(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),Bt(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},o=i.length;for(setTimeout(n,50);--o>-1;)if(-1!==t.indexOf(i[o]))return!0;s||setTimeout((function(){e&&(window.location.href=Bt(104,116,116,112,115,58,47,47)+Ft+Bt(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=MotionPathHelper&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),/(^[#\.][a-z]|[a-y][a-z])/i),$t=t=>"string"==typeof t,Kt=(t,e)=>{let s=It.createElementNS?It.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):It.createElement(t);return s.style?s:It.createElement(t)},Qt=(t,e,s)=>$t(t)&&Zt.test(t)?It.querySelector(t):Array.isArray(t)?zt(jt([{x:Xt.getProperty(e,"x"),y:Xt.getProperty(e,"y")},...t],s)):$t(t)||t&&"path"===(t.tagName+"").toLowerCase()?t:0,Jt={matrix:{a:1,b:0,c:0,d:1,e:0,f:0}},te=(t,e)=>{let s="Please gsap.registerPlugin(MotionPathPlugin)";Ot=window,Xt=Xt||t||Ot.gsap||console.warn(s),Xt&&Lt.register(Xt),It=document,Yt=It.body,qt=It.documentElement,Xt&&(Vt=Xt.plugins.motionPath,ee.PathEditor=Lt,Gt=Xt.core.context||function(){}),Vt?(Wt=Kt("textarea"),Wt.style.display="none",Yt.appendChild(Wt),jt=Vt.arrayToRawPath,zt=Vt.rawPathToString):!0===e&&console.warn(s)};class ee{constructor(t,e={}){Vt||te(e.gsap,1);let s,i,n,o,r,a,h,l,c,d,g,p,u,_=Kt("div"),f=this,m={x:0,y:0};t instanceof Xt.core.Tween?(l=t,s=l.targets()[0]):(s=Xt.utils.toArray(t)[0],l=(t=>{let e=Xt.getTweensOf(t),s=0;for(;s<e.length;s++){if(e[s].vars.motionPath)return e[s];e[s].timeline&&e.push(...e[s].timeline.getChildren())}})(s)),i=Qt(e.path,s,e),this.offset=m,a=(t=>{let e=t.getBoundingClientRect(),s=qt.clientTop-(Ot.pageYOffset||qt.scrollTop||Yt.scrollTop||0),i=qt.clientLeft-(Ot.pageXOffset||qt.scrollLeft||Yt.scrollLeft||0);return{left:e.left+i,top:e.top+s,right:e.right+i,bottom:e.bottom+s}})(s),o=parseFloat(Xt.getProperty(s,"x","px")),r=parseFloat(Xt.getProperty(s,"y","px")),n=s.getCTM&&"svg"!==s.tagName.toLowerCase(),l&&!i&&(i=Qt(l.vars.motionPath.path||l.vars.motionPath,s,l.vars.motionPath)),_.setAttribute("class","copy-motion-path"),_.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",_.innerText="COPY MOTION PATH",_._gsHelper=f,(Xt.utils.toArray(e.container)[0]||Yt).appendChild(_),((t,e,s)=>{t.addEventListener("click",i=>{if(i.target._gsHelper){let n=e(i.target);if(Wt.value=n,n&&Wt.select){console.log(n),Wt.style.display="block",Wt.select();try{It.execCommand("copy"),Wt.blur(),s&&s(t)}catch(t){console.warn("Copy didn't work; this browser doesn't permit that.")}Wt.style.display="none"}}})})(_,()=>f.getString(),()=>Xt.fromTo(_,{backgroundColor:"white"},{duration:.5,backgroundColor:"rgba(85, 85, 85, 0.6)"})),h=i&&i.ownerSVGElement,h?(e.pathColor&&Xt.set(i,{stroke:e.pathColor}),e.pathWidth&&Xt.set(i,{strokeWidth:e.pathWidth}),e.pathOpacity&&Xt.set(i,{opacity:e.pathOpacity})):(c=n&&s.ownerSVGElement&&s.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg",n?(h=s.ownerSVGElement,d=s.getBBox(),g=(t=>(t.transform.baseVal.consolidate()||Jt).matrix)(s),o=g.e,r=g.f,m.x=d.x,m.y=d.y):(h=Kt("svg",c),Yt.appendChild(h),h.setAttribute("viewBox","0 0 100 100"),h.setAttribute("class","motion-path-helper"),h.style.cssText="overflow:visible; background-color: transparent; position:absolute; z-index:5000; width:100px; height:100px; top:"+(a.top-r)+"px; left:"+(a.left-o)+"px;"),d=$t(i)&&!Zt.test(i)?i:((t,e)=>{let s,i=[0,31,8,58,24,75,40,90,69,100,100,100];for(s=0;s<i.length;s+=2)i[s]+=t,i[s+1]+=e;return"M"+t+","+e+"C"+i.join(",")})(o,r),i=Kt("path",c),i.setAttribute("d",d),i.setAttribute("vector-effect","non-scaling-stroke"),i.style.cssText="fill:transparent; stroke-width:"+(e.pathWidth||3)+"; stroke:"+(e.pathColor||"#555")+"; opacity:"+(e.pathOpacity||.6),h.appendChild(i)),(m.x||m.y)&&Xt.set(i,{x:m.x,y:m.y}),"selected"in e||(e.selected=!0),"anchorSnap"in e||(e.anchorSnap=t=>{t.x*t.x+t.y*t.y<16&&(t.x=t.y=0)}),u=l&&"nested"===l.parent.data?l.parent.parent:l,e.onPress=()=>{u.pause(0)},p=()=>{l.invalidate(),u.restart()},e.onRelease=e.onDeleteAnchor=p,this.editor=Lt.create(i,e),e.center&&Xt.set(s,{transformOrigin:"50% 50%",xPercent:-50,yPercent:-50}),l?(l.vars.motionPath.path?l.vars.motionPath.path=i:l.vars.motionPath={path:i},u.parent!==Xt.globalTimeline&&Xt.globalTimeline.add(u,(t=>{let e=t.totalTime();for(;t;)e=t.startTime()+e/(t.timeScale()||1),t=t.parent;return e})(u)-u.delay()),u.repeat(-1).repeatDelay(1)):l=u=Xt.to(s,{motionPath:{path:i,start:e.start||0,end:"end"in e?e.end:1,autoRotate:"autoRotate"in e&&e.autoRotate,align:i,alignOrigin:e.alignOrigin},duration:e.duration||5,ease:e.ease||"power1.inOut",repeat:-1,repeatDelay:1,paused:!e.path}),this.animation=l,Gt(this),this.kill=this.revert=()=>{this.editor.kill(),_.parentNode&&_.parentNode.removeChild(_),n||h.parentNode&&h.parentNode.removeChild(h),u&&u.revert()}}getString(){return this.editor.getString(!0,-this.offset.x,-this.offset.y)}}ee.register=te,ee.create=(t,e)=>new ee(t,e),ee.editPath=(t,e)=>Lt.create(t,e),ee.version="3.12.0";export default ee;export{ee as MotionPathHelper};
/*!
* MotionPathPlugin 3.11.5
* MotionPathPlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let t=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,e=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,n=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,r=/(^[#\.][a-z]|[a-y][a-z])/i,l=Math.PI/180,o=180/Math.PI,s=Math.sin,i=Math.cos,a=Math.abs,h=Math.sqrt,g=Math.atan2,p=t=>"string"==typeof t,f=t=>"number"==typeof t,u={},c={},d=t=>Math.round((t+1e8)%1*1e5)/1e5||(t<0?0:1),m=t=>Math.round(1e5*t)/1e5||0,y=t=>Math.round(1e10*t)/1e10||0,x=(t,e,n,r)=>{let l=t[e],o=1===r?6:_(l,n,r);if(o&&o+n+2<l.length)return t.splice(e,0,l.slice(0,n+o+2)),l.splice(0,n+o),1},w=(t,e,n)=>{let r=t.length,l=~~(n*r);if(t[l]>e){for(;--l&&t[l]>e;);l<0&&(l=0)}else for(;t[++l]<e&&l<r;);return l<r?l:r-1},b=(t,e)=>(e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e),L=(t,e)=>{let n=t.length,r=t[n-1]||[],l=r.length;n&&e[0]===r[l-2]&&e[1]===r[l-1]&&(e=r.concat(e.slice(2)),n--),t[n]=e};function P(t){let e,n=(t=p(t)&&r.test(t)&&document.querySelector(t)||t).getAttribute?t:0;return n&&(t=t.getAttribute("d"))?(n._gsPath||(n._gsPath={}),e=n._gsPath[t],e&&!e._dirty?e:n._gsPath[t]=I(t)):t?p(t)?I(t):f(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function v(t){let e,n=0;for(t.reverse();n<t.length;n+=2)e=t[n],t[n]=t[n+1],t[n+1]=e;t.reversed=!t.reversed}let N={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function M(t,n){let r,l,o,s,i,a,h,g,p,f,u,c,d,m,y,x,w,b,L,P,v,M,C=t.tagName.toLowerCase(),T=.552284749831;return"path"!==C&&t.getBBox?(a=((t,e)=>{let n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),l=[].slice.call(t.attributes),o=l.length;for(e=","+e+",";--o>-1;)n=l[o].nodeName.toLowerCase(),e.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,l[o].nodeValue);return r})(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),M=((t,e)=>{let n=e?e.split(","):[],r={},l=n.length;for(;--l>-1;)r[n[l]]=+t.getAttribute(n[l])||0;return r})(t,N[C]),"rect"===C?(s=M.rx,i=M.ry||s,l=M.x,o=M.y,f=M.width-2*s,u=M.height-2*i,s||i?(c=l+s*(1-T),d=l+s,m=d+f,y=m+s*T,x=m+s,w=o+i*(1-T),b=o+i,L=b+u,P=L+i*T,v=L+i,r="M"+x+","+b+" V"+L+" C"+[x,P,y,v,m,v,m-(m-d)/3,v,d+(m-d)/3,v,d,v,c,v,l,P,l,L,l,L-(L-b)/3,l,b+(L-b)/3,l,b,l,w,c,o,d,o,d+(m-d)/3,o,m-(m-d)/3,o,m,o,y,o,x,w,x,b].join(",")+"z"):r="M"+(l+f)+","+o+" v"+u+" h"+-f+" v"+-u+" h"+f+"z"):"circle"===C||"ellipse"===C?("circle"===C?(s=i=M.r,g=s*T):(s=M.rx,i=M.ry,g=i*T),l=M.cx,o=M.cy,h=s*T,r="M"+(l+s)+","+o+" C"+[l+s,o+g,l+h,o+i,l,o+i,l-h,o+i,l-s,o+g,l-s,o,l-s,o-g,l-h,o-i,l,o-i,l+h,o-i,l+s,o-g,l+s,o].join(",")+"z"):"line"===C?r="M"+M.x1+","+M.y1+" L"+M.x2+","+M.y2:"polyline"!==C&&"polygon"!==C||(p=(t.getAttribute("points")+"").match(e)||[],l=p.shift(),o=p.shift(),r="M"+l+","+o+" L"+p.join(","),"polygon"===C&&(r+=","+l+","+o+"z")),a.setAttribute("d",X(a._gsRawPath=I(r))),n&&t.parentNode&&(t.parentNode.insertBefore(a,t),t.parentNode.removeChild(t)),a):t}function C(t,e,n){let r,l=t[e],s=t[e+2],i=t[e+4];return l+=(s-l)*n,s+=(i-s)*n,l+=(s-l)*n,r=s+(i+(t[e+6]-i)*n-s)*n-l,l=t[e+1],s=t[e+3],i=t[e+5],l+=(s-l)*n,s+=(i-s)*n,l+=(s-l)*n,m(g(s+(i+(t[e+7]-i)*n-s)*n-l,r)*o)}function T(t,e,n){n=void 0===n?1:y(n)||0,e=y(e)||0;let r=Math.max(0,~~(a(n-e)-1e-8)),l=function(t){let e=[],n=0;for(;n<t.length;n++)e[n]=b(t[n],t[n].slice(0));return b(t,e)}(t);if(e>n&&(e=1-e,n=1-n,((t,e)=>{let n=t.length;for(e||t.reverse();n--;)t[n].reversed||v(t[n])})(l),l.totalLength=0),e<0||n<0){let t=Math.abs(~~Math.min(e,n))+1;e+=t,n+=t}l.totalLength||S(l);let o,s,i,h,g,p,f,d,m=n>1,w=B(l,e,u,!0),P=B(l,n,c),N=P.segment,M=w.segment,T=P.segIndex,A=w.segIndex,O=P.i,R=w.i,E=A===T,I=O===R&&E;if(m||r){for(o=T<A||E&&O<R||I&&P.t<w.t,x(l,A,R,w.t)&&(A++,o||(T++,I?(P.t=(P.t-w.t)/(1-w.t),O=0):E&&(O-=R))),Math.abs(1-(n-e))<1e-5?T=A-1:!P.t&&T?T--:x(l,T,O,P.t)&&o&&A++,1===w.t&&(A=(A+1)%l.length),g=[],p=l.length,f=1+p*r,d=A,f+=(p-A+T)%p,h=0;h<f;h++)L(g,l[d++%p]);l=g}else if(i=1===P.t?6:_(N,O,P.t),e!==n)for(s=_(M,R,I?w.t/P.t:w.t),E&&(i+=s),N.splice(O+i+2),(s||R)&&M.splice(0,R+s),h=l.length;h--;)(h<A||h>T)&&l.splice(h,1);else N.angle=C(N,O+i,0),O+=i,w=N[O],P=N[O+1],N.length=N.totalLength=0,N.totalPoints=l.totalPoints=8,N.push(w,P,w,P,w,P,w,P);return l.totalLength=0,l}function A(t,e,n){e=e||0,t.samples||(t.samples=[],t.lookup=[]);let r,l,o,s,i,g,p,f,u,c,d,m,y,x,w,b,L,P=~~t.resolution||12,v=1/P,N=n?e+6*n+1:t.length,M=t[e],C=t[e+1],T=e?e/6*P:0,A=t.samples,S=t.lookup,_=(e?t.minLength:1e8)||1e8,B=A[T+n*P-1],O=e?A[T-1]:0;for(A.length=S.length=0,l=e+2;l<N;l+=6){if(o=t[l+4]-M,s=t[l+2]-M,i=t[l]-M,f=t[l+5]-C,u=t[l+3]-C,c=t[l+1]-C,g=p=d=m=0,a(o)<.01&&a(f)<.01&&a(i)+a(c)<.01)t.length>8&&(t.splice(l,6),l-=6,N-=6);else for(r=1;r<=P;r++)x=v*r,y=1-x,g=p-(p=(x*x*o+3*y*(x*s+y*i))*x),d=m-(m=(x*x*f+3*y*(x*u+y*c))*x),b=h(d*d+g*g),b<_&&(_=b),O+=b,A[T++]=O;M+=o,C+=f}if(B)for(B-=O;T<A.length;T++)A[T]+=B;if(A.length&&_){if(t.totalLength=L=A[A.length-1]||0,t.minLength=_,L/_<9999)for(b=w=0,r=0;r<L;r+=_)S[b++]=A[w]<r?++w:w}else t.totalLength=A[0]=0;return e?O-A[e/2-1]:O}function S(t,e){let n,r,l;for(l=n=r=0;l<t.length;l++)t[l].resolution=~~e||12,r+=t[l].length,n+=A(t[l]);return t.totalPoints=r,t.totalLength=n,t}function _(t,e,n){if(n<=0||n>=1)return 0;let r=t[e],l=t[e+1],o=t[e+2],s=t[e+3],i=t[e+4],a=t[e+5],h=r+(o-r)*n,g=o+(i-o)*n,p=l+(s-l)*n,f=s+(a-s)*n,u=h+(g-h)*n,c=p+(f-p)*n,d=i+(t[e+6]-i)*n,y=a+(t[e+7]-a)*n;return g+=(d-g)*n,f+=(y-f)*n,t.splice(e+2,4,m(h),m(p),m(u),m(c),m(u+(g-u)*n),m(c+(f-c)*n),m(g),m(f),m(d),m(y)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}function B(t,e,n,r){n=n||{},t.totalLength||S(t),(e<0||e>1)&&(e=d(e));let l,o,s,i,a,h,g,p=0,f=t[0];if(e)if(1===e)g=1,p=t.length-1,f=t[p],h=f.length-8;else{if(t.length>1){for(s=t.totalLength*e,a=h=0;(a+=t[h++].totalLength)<s;)p=h;f=t[p],i=a-f.totalLength,e=(s-i)/(a-i)||0}l=f.samples,o=f.resolution,s=f.totalLength*e,h=f.lookup.length?f.lookup[~~(s/f.minLength)]||0:w(l,s,e),i=h?l[h-1]:0,a=l[h],a<s&&(i=a,a=l[++h]),g=1/o*((s-i)/(a-i)+h%o),h=6*~~(h/o),r&&1===g&&(h+6<f.length?(h+=6,g=0):p+1<t.length&&(h=g=0,f=t[++p]))}else g=h=p=0,f=t[0];return n.t=g,n.i=h,n.path=t,n.segment=f,n.segIndex=p,n}function O(t,e,n,r){let l,o,s,i,a,h,g,p,f,u=t[0],c=r||{};if((e<0||e>1)&&(e=d(e)),u.lookup||S(t),t.length>1){for(s=t.totalLength*e,a=h=0;(a+=t[h++].totalLength)<s;)u=t[h];i=a-u.totalLength,e=(s-i)/(a-i)||0}return l=u.samples,o=u.resolution,s=u.totalLength*e,h=u.lookup.length?u.lookup[e<1?~~(s/u.minLength):u.lookup.length-1]||0:w(l,s,e),i=h?l[h-1]:0,a=l[h],a<s&&(i=a,a=l[++h]),g=1/o*((s-i)/(a-i)+h%o)||0,f=1-g,h=6*~~(h/o),p=u[h],c.x=m((g*g*(u[h+6]-p)+3*f*(g*(u[h+4]-p)+f*(u[h+2]-p)))*g+p),c.y=m((g*g*(u[h+7]-(p=u[h+1]))+3*f*(g*(u[h+5]-p)+f*(u[h+3]-p)))*g+p),n&&(c.angle=u.totalLength?C(u,h,g>=1?1-1e-9:g||1e-9):u.angle||0),c}function R(t,e,n,r,l,o,s){let i,a,h,g,p,f=t.length;for(;--f>-1;)for(i=t[f],a=i.length,h=0;h<a;h+=2)g=i[h],p=i[h+1],i[h]=g*e+p*r+o,i[h+1]=g*n+p*l+s;return t._dirty=1,t}function E(t,e,n,r,o,g,p,f,u){if(t===f&&e===u)return;n=a(n),r=a(r);let c=o%360*l,d=i(c),m=s(c),y=Math.PI,x=2*y,w=(t-f)/2,b=(e-u)/2,L=d*w+m*b,P=-m*w+d*b,v=L*L,N=P*P,M=v/(n*n)+N/(r*r);M>1&&(n=h(M)*n,r=h(M)*r);let C=n*n,T=r*r,A=(C*T-C*N-T*v)/(C*N+T*v);A<0&&(A=0);let S=(g===p?-1:1)*h(A),_=S*(n*P/r),B=S*(-r*L/n),O=(t+f)/2+(d*_-m*B),R=(e+u)/2+(m*_+d*B),E=(L-_)/n,I=(P-B)/r,k=(-L-_)/n,z=(-P-B)/r,X=E*E+I*I,Y=(I<0?-1:1)*Math.acos(E/h(X)),V=(E*z-I*k<0?-1:1)*Math.acos((E*k+I*z)/h(X*(k*k+z*z)));isNaN(V)&&(V=y),!p&&V>0?V-=x:p&&V<0&&(V+=x),Y%=x,V%=x;let j,q=Math.ceil(a(V)/(x/4)),F=[],G=V/q,Z=4/3*s(G/2)/(1+i(G/2)),H=d*n,U=m*n,D=m*-r,Q=d*r;for(j=0;j<q;j++)L=i(o=Y+j*G),P=s(o),E=i(o+=G),I=s(o),F.push(L-Z*P,P+Z*L,E+Z*I,I-Z*E,E,I);for(j=0;j<F.length;j+=2)L=F[j],P=F[j+1],F[j]=L*H+P*D+O,F[j+1]=L*U+P*Q+R;return F[j-2]=f,F[j-1]=u,F}function I(e){let r,l,o,s,i,h,g,p,f,u,c,d,m,y,x,w=(e+"").replace(n,t=>{let e=+t;return e<1e-4&&e>-1e-4?0:e}).match(t)||[],b=[],L=0,P=0,v=w.length,N=0,M="ERROR: malformed path: "+e,C=function(t,e,n,r){u=(n-t)/3,c=(r-e)/3,g.push(t+u,e+c,n-u,r-c,n,r)};if(!e||!isNaN(w[0])||isNaN(w[1]))return console.log(M),b;for(r=0;r<v;r++)if(m=i,isNaN(w[r])?(i=w[r].toUpperCase(),h=i!==w[r]):r--,o=+w[r+1],s=+w[r+2],h&&(o+=L,s+=P),r||(p=o,f=s),"M"===i)g&&(g.length<8?b.length-=1:N+=g.length),L=p=o,P=f=s,g=[o,s],b.push(g),r+=2,i="L";else if("C"===i)g||(g=[0,0]),h||(L=P=0),g.push(o,s,L+1*w[r+3],P+1*w[r+4],L+=1*w[r+5],P+=1*w[r+6]),r+=6;else if("S"===i)u=L,c=P,"C"!==m&&"S"!==m||(u+=L-g[g.length-4],c+=P-g[g.length-3]),h||(L=P=0),g.push(u,c,o,s,L+=1*w[r+3],P+=1*w[r+4]),r+=4;else if("Q"===i)u=L+2/3*(o-L),c=P+2/3*(s-P),h||(L=P=0),L+=1*w[r+3],P+=1*w[r+4],g.push(u,c,L+2/3*(o-L),P+2/3*(s-P),L,P),r+=4;else if("T"===i)u=L-g[g.length-4],c=P-g[g.length-3],g.push(L+u,P+c,o+2/3*(L+1.5*u-o),s+2/3*(P+1.5*c-s),L=o,P=s),r+=2;else if("H"===i)C(L,P,L=o,P),r+=1;else if("V"===i)C(L,P,L,P=o+(h?P-L:0)),r+=1;else if("L"===i||"Z"===i)"Z"===i&&(o=p,s=f,g.closed=!0),("L"===i||a(L-o)>.5||a(P-s)>.5)&&(C(L,P,o,s),"L"===i&&(r+=2)),L=o,P=s;else if("A"===i){if(y=w[r+4],x=w[r+5],u=w[r+6],c=w[r+7],l=7,y.length>1&&(y.length<3?(c=u,u=x,l--):(c=x,u=y.substr(2),l-=2),x=y.charAt(1),y=y.charAt(0)),d=E(L,P,+w[r+1],+w[r+2],+w[r+3],+y,+x,(h?L:0)+1*u,(h?P:0)+1*c),r+=l,d)for(l=0;l<d.length;l++)g.push(d[l]);L=g[g.length-2],P=g[g.length-1]}else console.log(M);return r=g.length,r<6?(b.pop(),r=0):g[0]===g[r-2]&&g[1]===g[r-1]&&(g.closed=!0),b.totalPoints=N+r,b}function k(t,e=1){let n=t[0],r=0,l=[n,r],o=2;for(;o<t.length;o+=2)l.push(n,r,t[o],r=(t[o]-n)*e/2,n=t[o],-r);return l}function z(t,e){a(t[0]-t[2])<1e-4&&a(t[1]-t[3])<1e-4&&(t=t.slice(2));let n,r,l,o,s,i,g,p,f,u,c,d,y,x,w,b=t.length-2,L=+t[0],P=+t[1],v=+t[2],N=+t[3],M=[L,P,L,P],C=v-L,T=N-P,A=Math.abs(t[b]-L)<.001&&Math.abs(t[b+1]-P)<.001;for(A&&(t.push(v,N),v=L,N=P,L=t[b-2],P=t[b-1],t.unshift(L,P),b+=4),e=e||0===e?+e:1,l=2;l<b;l+=2)n=L,r=P,L=v,P=N,v=+t[l+2],N=+t[l+3],L===v&&P===N||(o=C,s=T,C=v-L,T=N-P,i=h(o*o+s*s),g=h(C*C+T*T),p=h((C/g+o/i)**2+(T/g+s/i)**2),f=(i+g)*e*.25/p,u=L-(L-n)*(i?f/i:0),c=L+(v-L)*(g?f/g:0),d=L-(u+((c-u)*(3*i/(i+g)+.5)/4||0)),y=P-(P-r)*(i?f/i:0),x=P+(N-P)*(g?f/g:0),w=P-(y+((x-y)*(3*i/(i+g)+.5)/4||0)),L===n&&P===r||M.push(m(u+d),m(y+w),m(L),m(P),m(c+d),m(x+w)));return L!==v||P!==N||M.length<4?M.push(m(v),m(N),m(v),m(N)):M.length-=2,2===M.length?M.push(L,P,L,P,L,P):A&&(M.splice(0,6),M.length=M.length-6),M}function X(t){f(t[0])&&(t=[t]);let e,n,r,l,o="",s=t.length;for(n=0;n<s;n++){for(l=t[n],o+="M"+m(l[0])+","+m(l[1])+" C",e=l.length,r=2;r<e;r++)o+=m(l[r++])+","+m(l[r++])+" "+m(l[r++])+","+m(l[r++])+" "+m(l[r++])+","+m(l[r])+" ";l.closed&&(o+="z")}return o}let Y,V,j,q,F,G,Z,H,U,D="transform",Q=D+"Origin",W=t=>{let e=t.ownerDocument||t;!(D in t.style)&&"msTransform"in t.style&&(D="msTransform",Q=D+"Origin");for(;e.parentNode&&(e=e.parentNode););if(V=window,Z=new lt,e){Y=e,j=e.documentElement,q=e.body,H=Y.createElementNS("http://www.w3.org/2000/svg","g"),H.style.transform="none";let t=e.createElement("div"),n=e.createElement("div");q.appendChild(t),t.appendChild(n),t.style.position="static",t.style[D]="translate3d(0,0,1px)",U=n.offsetParent!==t,q.removeChild(t)}return e},$=[],J=[],K=t=>t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null),tt=t=>"fixed"===V.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?tt(t):void 0),et=(t,e)=>{if(t.parentNode&&(Y||W(t))){let n=K(t),r=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l=n?e?"rect":"g":"div",o=2!==e?0:100,s=3===e?100:0,i="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",a=Y.createElementNS?Y.createElementNS(r.replace(/^https/,"http"),l):Y.createElement(l);return e&&(n?(G||(G=et(t)),a.setAttribute("width",.01),a.setAttribute("height",.01),a.setAttribute("transform","translate("+o+","+s+")"),G.appendChild(a)):(F||(F=et(t),F.style.cssText=i),a.style.cssText=i+"width:0.1px;height:0.1px;top:"+s+"px;left:"+o+"px",F.appendChild(a))),a}throw"Need document and parent."},nt=(t,e)=>{let n,r,l,o,s,i,a=K(t),h=t===a,g=a?$:J,p=t.parentNode;if(t===V)return t;if(g.length||g.push(et(t,1),et(t,2),et(t,3)),n=a?G:F,a)h?(l=(t=>{let e,n=t.getCTM();return n||(e=t.style[D],t.style[D]="none",t.appendChild(H),n=H.getCTM(),t.removeChild(H),e?t.style[D]=e:t.style.removeProperty(D.replace(/([A-Z])/g,"-$1").toLowerCase())),n||Z.clone()})(t),o=-l.e/l.a,s=-l.f/l.d,r=Z):t.getBBox?(l=t.getBBox(),r=t.transform?t.transform.baseVal:{},r=r.numberOfItems?r.numberOfItems>1?(t=>{let e=new lt,n=0;for(;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e})(r):r.getItem(0).matrix:Z,o=r.a*l.x+r.c*l.y,s=r.b*l.x+r.d*l.y):(r=new lt,o=s=0),e&&"g"===t.tagName.toLowerCase()&&(o=s=0),(h?a:p).appendChild(n),n.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+o)+","+(r.f+s)+")");else{if(o=s=0,U)for(r=t.offsetParent,l=t;l&&(l=l.parentNode)&&l!==r&&l.parentNode;)(V.getComputedStyle(l)[D]+"").length>4&&(o=l.offsetLeft,s=l.offsetTop,l=0);if(i=V.getComputedStyle(t),"absolute"!==i.position&&"fixed"!==i.position)for(r=t.offsetParent;p&&p!==r;)o+=p.scrollLeft||0,s+=p.scrollTop||0,p=p.parentNode;l=n.style,l.top=t.offsetTop-s+"px",l.left=t.offsetLeft-o+"px",l[D]=i[D],l[Q]=i[Q],l.position="fixed"===i.position?"fixed":"absolute",t.parentNode.appendChild(n)}return n},rt=(t,e,n,r,l,o,s)=>(t.a=e,t.b=n,t.c=r,t.d=l,t.e=o,t.f=s,t);class lt{constructor(t=1,e=0,n=0,r=1,l=0,o=0){rt(this,t,e,n,r,l,o)}inverse(){let{a:t,b:e,c:n,d:r,e:l,f:o}=this,s=t*r-e*n||1e-10;return rt(this,r/s,-e/s,-n/s,t/s,(n*o-r*l)/s,-(t*o-e*l)/s)}multiply(t){let{a:e,b:n,c:r,d:l,e:o,f:s}=this,i=t.a,a=t.c,h=t.b,g=t.d,p=t.e,f=t.f;return rt(this,i*e+h*r,i*n+h*l,a*e+g*r,a*n+g*l,o+p*e+f*r,s+p*n+f*l)}clone(){return new lt(this.a,this.b,this.c,this.d,this.e,this.f)}equals(t){let{a:e,b:n,c:r,d:l,e:o,f:s}=this;return e===t.a&&n===t.b&&r===t.c&&l===t.d&&o===t.e&&s===t.f}apply(t,e={}){let{x:n,y:r}=t,{a:l,b:o,c:s,d:i,e:a,f:h}=this;return e.x=n*l+r*s+a||0,e.y=n*o+r*i+h||0,e}}function ot(t,e,n,r){if(!t||!t.parentNode||(Y||W(t)).documentElement===t)return new lt;let l=(t=>{let e,n;for(;t&&t!==q;)n=t._gsap,n&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e})(t),o=K(t)?$:J,s=nt(t,n),i=o[0].getBoundingClientRect(),a=o[1].getBoundingClientRect(),h=o[2].getBoundingClientRect(),g=s.parentNode,p=!r&&tt(t),f=new lt((a.left-i.left)/100,(a.top-i.top)/100,(h.left-i.left)/100,(h.top-i.top)/100,i.left+(p?0:V.pageXOffset||Y.scrollLeft||j.scrollLeft||q.scrollLeft||0),i.top+(p?0:V.pageYOffset||Y.scrollTop||j.scrollTop||q.scrollTop||0));if(g.removeChild(s),l)for(i=l.length;i--;)a=l[i],a.scaleX=a.scaleY=0,a.renderTransform(1,a);return e?f.inverse():f}let st,it,at,ht,gt,pt,ft="x,translateX,left,marginLeft,xPercent".split(","),ut="y,translateY,top,marginTop,yPercent".split(","),ct=Math.PI/180,dt=(t,e,n,r)=>{let l,o=e.length,s=2===r?0:r,i=0;for(;i<o;i++)t[s]=l=parseFloat(e[i][n]),2===r&&(t[s+1]=0),s+=2;return t},mt=(t,e,n)=>parseFloat(t._gsap.get(t,e,n||"px"))||0,yt=t=>{let e,n=t[0],r=t[1];for(e=2;e<t.length;e+=2)n=t[e]+=n,r=t[e+1]+=r},xt=(t,e,n,r,l,o,s,i,a)=>{if("cubic"===s.type)e=[e];else{!1!==s.fromCurrent&&e.unshift(mt(n,r,i),l?mt(n,l,a):0),s.relative&&yt(e),e=[(l?z:k)(e,s.curviness)]}return e=o(vt(e,n,s)),Nt(t,n,r,e,"x",i),l&&Nt(t,n,l,e,"y",a),S(e,s.resolution||(0===s.curviness?20:12))},wt=t=>t,bt=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,Lt=(t,e,n)=>{let r,l=ot(t),o=0,s=0;return"svg"===(t.tagName+"").toLowerCase()?(r=t.viewBox.baseVal,r.width||(r={width:+t.getAttribute("width"),height:+t.getAttribute("height")})):r=e&&t.getBBox&&t.getBBox(),e&&"auto"!==e&&(o=e.push?e[0]*(r?r.width:t.offsetWidth||0):e.x,s=e.push?e[1]*(r?r.height:t.offsetHeight||0):e.y),n.apply(o||s?l.apply({x:o,y:s}):{x:l.e,y:l.f})},Pt=(t,e,n,r)=>{let l,o=ot(t.parentNode,!0,!0),s=o.clone().multiply(ot(e)),i=Lt(t,n,o),{x:a,y:h}=Lt(e,r,o);return s.e=s.f=0,"auto"===r&&e.getTotalLength&&"path"===e.tagName.toLowerCase()&&(l=e.getAttribute("d").match(bt)||[],l=s.apply({x:+l[0],y:+l[1]}),a+=l.x,h+=l.y),l&&(l=s.apply(e.getBBox()),a-=l.x,h-=l.y),s.e=a-i.x,s.f=h-i.y,s},vt=(t,e,{align:n,matrix:r,offsetX:l,offsetY:o,alignOrigin:s})=>{let i,a,h,g=t[0][0],p=t[0][1],f=mt(e,"x"),u=mt(e,"y");return t&&t.length?(n&&("self"===n||(i=ht(n)[0]||e)===e?R(t,1,0,0,1,f-g,u-p):(s&&!1!==s[2]?st.set(e,{transformOrigin:100*s[0]+"% "+100*s[1]+"%"}):s=[mt(e,"xPercent")/-100,mt(e,"yPercent")/-100],a=Pt(e,i,s,"auto"),h=a.apply({x:g,y:p}),R(t,a.a,a.b,a.c,a.d,f+a.e-(h.x-a.e),u+a.f-(h.y-a.f)))),r?R(t,r.a,r.b,r.c,r.d,r.e,r.f):(l||o)&&R(t,1,0,0,1,l||0,o||0),t):P("M0,0L0,0")},Nt=(t,e,n,r,l,o)=>{let s=e._gsap,i=s.harness,a=i&&i.aliases&&i.aliases[n],h=a&&a.indexOf(",")<0?a:n,g=t._pt=new it(t._pt,e,h,0,0,wt,0,s.set(e,h,t));g.u=at(s.get(e,h,o))||0,g.path=r,g.pp=l,t._props.push(h)};const Mt={version:"3.11.5",name:"motionPath",register(t,e,n){st=t,at=st.utils.getUnit,ht=st.utils.toArray,gt=st.core.getStyleSaver,pt=st.core.reverting||function(){},it=n},init(t,e,n){if(!st)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof e&&!e.style&&e.path||(e={path:e});let r,l,o=[],{path:s,autoRotate:i,unitX:a,unitY:h,x:g,y:p}=e,f=s[0],u=(c=e.start,d="end"in e?e.end:1,t=>c||1!==d?T(t,c,d):t);var c,d;if(this.rawPaths=o,this.target=t,this.tween=n,this.styles=gt&&gt(t,"transform"),(this.rotate=i||0===i)&&(this.rOffset=parseFloat(i)||0,this.radians=!!e.useRadians,this.rProp=e.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=at(t._gsap.get(t,this.rProp))||0),Array.isArray(s)&&!("closed"in s)&&"number"!=typeof f){for(l in f)!g&&~ft.indexOf(l)?g=l:!p&&~ut.indexOf(l)&&(p=l);for(l in g&&p?o.push(xt(this,dt(dt([],s,g,0),s,p,1),t,g,p,u,e,a||at(s[0][g]),h||at(s[0][p]))):g=p=0,f)l!==g&&l!==p&&o.push(xt(this,dt([],s,l,2),t,l,0,u,e,at(s[0][l])))}else r=u(vt(P(e.path),t,e)),S(r,e.resolution),o.push(r),Nt(this,t,e.x||"x",r,"x",e.unitX||"px"),Nt(this,t,e.y||"y",r,"y",e.unitY||"px")},render(t,e){let n=e.rawPaths,r=n.length,l=e._pt;if(e.tween._time||!pt()){for(t>1?t=1:t<0&&(t=0);r--;)O(n[r],t,!r&&e.rotate,n[r]);for(;l;)l.set(l.t,l.p,l.path[l.pp]+l.u,l.d,t),l=l._next;e.rotate&&e.rSet(e.target,e.rProp,n[0].angle*(e.radians?ct:1)+e.rOffset+e.ru,e,t)}else e.styles.revert()},getLength:t=>S(P(t)).totalLength,sliceRawPath:T,getRawPath:P,pointsToSegment:z,stringToRawPath:I,rawPathToString:X,transformRawPath:R,getGlobalMatrix:ot,getPositionOnPath:O,cacheRawPathMeasurements:S,convertToPath:(t,e)=>ht(t).map(t=>M(t,!1!==e)),convertCoordinates(t,e,n){let r=ot(e,!0,!0).multiply(ot(t));return n?r.apply(n):r},getAlignMatrix:Pt,getRelativePosition(t,e,n,r){let l=Pt(t,e,n,r);return{x:l.e,y:l.f}},arrayToRawPath(t,e){let n=dt(dt([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&yt(n),["cubic"===e.type?n:z(n,e.curviness)]}};(st||"undefined"!=typeof window&&(st=window.gsap)&&st.registerPlugin&&st)&&st.registerPlugin(Mt);export default Mt;export{Mt as MotionPathPlugin};
let t=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,e=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,n=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,r=/(^[#\.][a-z]|[a-y][a-z])/i,l=Math.PI/180,o=180/Math.PI,s=Math.sin,i=Math.cos,a=Math.abs,h=Math.sqrt,g=Math.atan2,p=t=>"string"==typeof t,f=t=>"number"==typeof t,u={},c={},d=t=>Math.round((t+1e8)%1*1e5)/1e5||(t<0?0:1),m=t=>Math.round(1e5*t)/1e5||0,y=t=>Math.round(1e10*t)/1e10||0,x=(t,e,n,r)=>{let l=t[e],o=1===r?6:_(l,n,r);if(o&&o+n+2<l.length)return t.splice(e,0,l.slice(0,n+o+2)),l.splice(0,n+o),1},w=(t,e,n)=>{let r=t.length,l=~~(n*r);if(t[l]>e){for(;--l&&t[l]>e;);l<0&&(l=0)}else for(;t[++l]<e&&l<r;);return l<r?l:r-1},b=(t,e)=>(e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e),L=(t,e)=>{let n=t.length,r=t[n-1]||[],l=r.length;n&&e[0]===r[l-2]&&e[1]===r[l-1]&&(e=r.concat(e.slice(2)),n--),t[n]=e};function P(t){let e,n=(t=p(t)&&r.test(t)&&document.querySelector(t)||t).getAttribute?t:0;return n&&(t=t.getAttribute("d"))?(n._gsPath||(n._gsPath={}),e=n._gsPath[t],e&&!e._dirty?e:n._gsPath[t]=I(t)):t?p(t)?I(t):f(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function v(t){let e,n=0;for(t.reverse();n<t.length;n+=2)e=t[n],t[n]=t[n+1],t[n+1]=e;t.reversed=!t.reversed}let N={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function M(t,n){let r,l,o,s,i,a,h,g,p,f,u,c,d,m,y,x,w,b,L,P,v,M,C=t.tagName.toLowerCase(),T=.552284749831;return"path"!==C&&t.getBBox?(a=((t,e)=>{let n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),l=[].slice.call(t.attributes),o=l.length;for(e=","+e+",";--o>-1;)n=l[o].nodeName.toLowerCase(),e.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,l[o].nodeValue);return r})(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),M=((t,e)=>{let n=e?e.split(","):[],r={},l=n.length;for(;--l>-1;)r[n[l]]=+t.getAttribute(n[l])||0;return r})(t,N[C]),"rect"===C?(s=M.rx,i=M.ry||s,l=M.x,o=M.y,f=M.width-2*s,u=M.height-2*i,s||i?(c=l+s*(1-T),d=l+s,m=d+f,y=m+s*T,x=m+s,w=o+i*(1-T),b=o+i,L=b+u,P=L+i*T,v=L+i,r="M"+x+","+b+" V"+L+" C"+[x,P,y,v,m,v,m-(m-d)/3,v,d+(m-d)/3,v,d,v,c,v,l,P,l,L,l,L-(L-b)/3,l,b+(L-b)/3,l,b,l,w,c,o,d,o,d+(m-d)/3,o,m-(m-d)/3,o,m,o,y,o,x,w,x,b].join(",")+"z"):r="M"+(l+f)+","+o+" v"+u+" h"+-f+" v"+-u+" h"+f+"z"):"circle"===C||"ellipse"===C?("circle"===C?(s=i=M.r,g=s*T):(s=M.rx,i=M.ry,g=i*T),l=M.cx,o=M.cy,h=s*T,r="M"+(l+s)+","+o+" C"+[l+s,o+g,l+h,o+i,l,o+i,l-h,o+i,l-s,o+g,l-s,o,l-s,o-g,l-h,o-i,l,o-i,l+h,o-i,l+s,o-g,l+s,o].join(",")+"z"):"line"===C?r="M"+M.x1+","+M.y1+" L"+M.x2+","+M.y2:"polyline"!==C&&"polygon"!==C||(p=(t.getAttribute("points")+"").match(e)||[],l=p.shift(),o=p.shift(),r="M"+l+","+o+" L"+p.join(","),"polygon"===C&&(r+=","+l+","+o+"z")),a.setAttribute("d",X(a._gsRawPath=I(r))),n&&t.parentNode&&(t.parentNode.insertBefore(a,t),t.parentNode.removeChild(t)),a):t}function C(t,e,n){let r,l=t[e],s=t[e+2],i=t[e+4];return l+=(s-l)*n,s+=(i-s)*n,l+=(s-l)*n,r=s+(i+(t[e+6]-i)*n-s)*n-l,l=t[e+1],s=t[e+3],i=t[e+5],l+=(s-l)*n,s+=(i-s)*n,l+=(s-l)*n,m(g(s+(i+(t[e+7]-i)*n-s)*n-l,r)*o)}function T(t,e,n){n=void 0===n?1:y(n)||0,e=y(e)||0;let r=Math.max(0,~~(a(n-e)-1e-8)),l=function(t){let e=[],n=0;for(;n<t.length;n++)e[n]=b(t[n],t[n].slice(0));return b(t,e)}(t);if(e>n&&(e=1-e,n=1-n,((t,e)=>{let n=t.length;for(e||t.reverse();n--;)t[n].reversed||v(t[n])})(l),l.totalLength=0),e<0||n<0){let t=Math.abs(~~Math.min(e,n))+1;e+=t,n+=t}l.totalLength||S(l);let o,s,i,h,g,p,f,d,m=n>1,w=B(l,e,u,!0),P=B(l,n,c),N=P.segment,M=w.segment,T=P.segIndex,A=w.segIndex,O=P.i,R=w.i,E=A===T,I=O===R&&E;if(m||r){for(o=T<A||E&&O<R||I&&P.t<w.t,x(l,A,R,w.t)&&(A++,o||(T++,I?(P.t=(P.t-w.t)/(1-w.t),O=0):E&&(O-=R))),Math.abs(1-(n-e))<1e-5?T=A-1:!P.t&&T?T--:x(l,T,O,P.t)&&o&&A++,1===w.t&&(A=(A+1)%l.length),g=[],p=l.length,f=1+p*r,d=A,f+=(p-A+T)%p,h=0;h<f;h++)L(g,l[d++%p]);l=g}else if(i=1===P.t?6:_(N,O,P.t),e!==n)for(s=_(M,R,I?w.t/P.t:w.t),E&&(i+=s),N.splice(O+i+2),(s||R)&&M.splice(0,R+s),h=l.length;h--;)(h<A||h>T)&&l.splice(h,1);else N.angle=C(N,O+i,0),O+=i,w=N[O],P=N[O+1],N.length=N.totalLength=0,N.totalPoints=l.totalPoints=8,N.push(w,P,w,P,w,P,w,P);return l.totalLength=0,l}function A(t,e,n){e=e||0,t.samples||(t.samples=[],t.lookup=[]);let r,l,o,s,i,g,p,f,u,c,d,m,y,x,w,b,L,P=~~t.resolution||12,v=1/P,N=n?e+6*n+1:t.length,M=t[e],C=t[e+1],T=e?e/6*P:0,A=t.samples,S=t.lookup,_=(e?t.minLength:1e8)||1e8,B=A[T+n*P-1],O=e?A[T-1]:0;for(A.length=S.length=0,l=e+2;l<N;l+=6){if(o=t[l+4]-M,s=t[l+2]-M,i=t[l]-M,f=t[l+5]-C,u=t[l+3]-C,c=t[l+1]-C,g=p=d=m=0,a(o)<.01&&a(f)<.01&&a(i)+a(c)<.01)t.length>8&&(t.splice(l,6),l-=6,N-=6);else for(r=1;r<=P;r++)x=v*r,y=1-x,g=p-(p=(x*x*o+3*y*(x*s+y*i))*x),d=m-(m=(x*x*f+3*y*(x*u+y*c))*x),b=h(d*d+g*g),b<_&&(_=b),O+=b,A[T++]=O;M+=o,C+=f}if(B)for(B-=O;T<A.length;T++)A[T]+=B;if(A.length&&_){if(t.totalLength=L=A[A.length-1]||0,t.minLength=_,L/_<9999)for(b=w=0,r=0;r<L;r+=_)S[b++]=A[w]<r?++w:w}else t.totalLength=A[0]=0;return e?O-A[e/2-1]:O}function S(t,e){let n,r,l;for(l=n=r=0;l<t.length;l++)t[l].resolution=~~e||12,r+=t[l].length,n+=A(t[l]);return t.totalPoints=r,t.totalLength=n,t}function _(t,e,n){if(n<=0||n>=1)return 0;let r=t[e],l=t[e+1],o=t[e+2],s=t[e+3],i=t[e+4],a=t[e+5],h=r+(o-r)*n,g=o+(i-o)*n,p=l+(s-l)*n,f=s+(a-s)*n,u=h+(g-h)*n,c=p+(f-p)*n,d=i+(t[e+6]-i)*n,y=a+(t[e+7]-a)*n;return g+=(d-g)*n,f+=(y-f)*n,t.splice(e+2,4,m(h),m(p),m(u),m(c),m(u+(g-u)*n),m(c+(f-c)*n),m(g),m(f),m(d),m(y)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}function B(t,e,n,r){n=n||{},t.totalLength||S(t),(e<0||e>1)&&(e=d(e));let l,o,s,i,a,h,g,p=0,f=t[0];if(e)if(1===e)g=1,p=t.length-1,f=t[p],h=f.length-8;else{if(t.length>1){for(s=t.totalLength*e,a=h=0;(a+=t[h++].totalLength)<s;)p=h;f=t[p],i=a-f.totalLength,e=(s-i)/(a-i)||0}l=f.samples,o=f.resolution,s=f.totalLength*e,h=f.lookup.length?f.lookup[~~(s/f.minLength)]||0:w(l,s,e),i=h?l[h-1]:0,a=l[h],a<s&&(i=a,a=l[++h]),g=1/o*((s-i)/(a-i)+h%o),h=6*~~(h/o),r&&1===g&&(h+6<f.length?(h+=6,g=0):p+1<t.length&&(h=g=0,f=t[++p]))}else g=h=p=0,f=t[0];return n.t=g,n.i=h,n.path=t,n.segment=f,n.segIndex=p,n}function O(t,e,n,r){let l,o,s,i,a,h,g,p,f,u=t[0],c=r||{};if((e<0||e>1)&&(e=d(e)),u.lookup||S(t),t.length>1){for(s=t.totalLength*e,a=h=0;(a+=t[h++].totalLength)<s;)u=t[h];i=a-u.totalLength,e=(s-i)/(a-i)||0}return l=u.samples,o=u.resolution,s=u.totalLength*e,h=u.lookup.length?u.lookup[e<1?~~(s/u.minLength):u.lookup.length-1]||0:w(l,s,e),i=h?l[h-1]:0,a=l[h],a<s&&(i=a,a=l[++h]),g=1/o*((s-i)/(a-i)+h%o)||0,f=1-g,h=6*~~(h/o),p=u[h],c.x=m((g*g*(u[h+6]-p)+3*f*(g*(u[h+4]-p)+f*(u[h+2]-p)))*g+p),c.y=m((g*g*(u[h+7]-(p=u[h+1]))+3*f*(g*(u[h+5]-p)+f*(u[h+3]-p)))*g+p),n&&(c.angle=u.totalLength?C(u,h,g>=1?1-1e-9:g||1e-9):u.angle||0),c}function R(t,e,n,r,l,o,s){let i,a,h,g,p,f=t.length;for(;--f>-1;)for(i=t[f],a=i.length,h=0;h<a;h+=2)g=i[h],p=i[h+1],i[h]=g*e+p*r+o,i[h+1]=g*n+p*l+s;return t._dirty=1,t}function E(t,e,n,r,o,g,p,f,u){if(t===f&&e===u)return;n=a(n),r=a(r);let c=o%360*l,d=i(c),m=s(c),y=Math.PI,x=2*y,w=(t-f)/2,b=(e-u)/2,L=d*w+m*b,P=-m*w+d*b,v=L*L,N=P*P,M=v/(n*n)+N/(r*r);M>1&&(n=h(M)*n,r=h(M)*r);let C=n*n,T=r*r,A=(C*T-C*N-T*v)/(C*N+T*v);A<0&&(A=0);let S=(g===p?-1:1)*h(A),_=S*(n*P/r),B=S*(-r*L/n),O=(t+f)/2+(d*_-m*B),R=(e+u)/2+(m*_+d*B),E=(L-_)/n,I=(P-B)/r,k=(-L-_)/n,z=(-P-B)/r,X=E*E+I*I,Y=(I<0?-1:1)*Math.acos(E/h(X)),V=(E*z-I*k<0?-1:1)*Math.acos((E*k+I*z)/h(X*(k*k+z*z)));isNaN(V)&&(V=y),!p&&V>0?V-=x:p&&V<0&&(V+=x),Y%=x,V%=x;let j,q=Math.ceil(a(V)/(x/4)),F=[],G=V/q,Z=4/3*s(G/2)/(1+i(G/2)),H=d*n,U=m*n,D=m*-r,Q=d*r;for(j=0;j<q;j++)L=i(o=Y+j*G),P=s(o),E=i(o+=G),I=s(o),F.push(L-Z*P,P+Z*L,E+Z*I,I-Z*E,E,I);for(j=0;j<F.length;j+=2)L=F[j],P=F[j+1],F[j]=L*H+P*D+O,F[j+1]=L*U+P*Q+R;return F[j-2]=f,F[j-1]=u,F}function I(e){let r,l,o,s,i,h,g,p,f,u,c,d,m,y,x,w=(e+"").replace(n,t=>{let e=+t;return e<1e-4&&e>-1e-4?0:e}).match(t)||[],b=[],L=0,P=0,v=w.length,N=0,M="ERROR: malformed path: "+e,C=function(t,e,n,r){u=(n-t)/3,c=(r-e)/3,g.push(t+u,e+c,n-u,r-c,n,r)};if(!e||!isNaN(w[0])||isNaN(w[1]))return console.log(M),b;for(r=0;r<v;r++)if(m=i,isNaN(w[r])?(i=w[r].toUpperCase(),h=i!==w[r]):r--,o=+w[r+1],s=+w[r+2],h&&(o+=L,s+=P),r||(p=o,f=s),"M"===i)g&&(g.length<8?b.length-=1:N+=g.length),L=p=o,P=f=s,g=[o,s],b.push(g),r+=2,i="L";else if("C"===i)g||(g=[0,0]),h||(L=P=0),g.push(o,s,L+1*w[r+3],P+1*w[r+4],L+=1*w[r+5],P+=1*w[r+6]),r+=6;else if("S"===i)u=L,c=P,"C"!==m&&"S"!==m||(u+=L-g[g.length-4],c+=P-g[g.length-3]),h||(L=P=0),g.push(u,c,o,s,L+=1*w[r+3],P+=1*w[r+4]),r+=4;else if("Q"===i)u=L+2/3*(o-L),c=P+2/3*(s-P),h||(L=P=0),L+=1*w[r+3],P+=1*w[r+4],g.push(u,c,L+2/3*(o-L),P+2/3*(s-P),L,P),r+=4;else if("T"===i)u=L-g[g.length-4],c=P-g[g.length-3],g.push(L+u,P+c,o+2/3*(L+1.5*u-o),s+2/3*(P+1.5*c-s),L=o,P=s),r+=2;else if("H"===i)C(L,P,L=o,P),r+=1;else if("V"===i)C(L,P,L,P=o+(h?P-L:0)),r+=1;else if("L"===i||"Z"===i)"Z"===i&&(o=p,s=f,g.closed=!0),("L"===i||a(L-o)>.5||a(P-s)>.5)&&(C(L,P,o,s),"L"===i&&(r+=2)),L=o,P=s;else if("A"===i){if(y=w[r+4],x=w[r+5],u=w[r+6],c=w[r+7],l=7,y.length>1&&(y.length<3?(c=u,u=x,l--):(c=x,u=y.substr(2),l-=2),x=y.charAt(1),y=y.charAt(0)),d=E(L,P,+w[r+1],+w[r+2],+w[r+3],+y,+x,(h?L:0)+1*u,(h?P:0)+1*c),r+=l,d)for(l=0;l<d.length;l++)g.push(d[l]);L=g[g.length-2],P=g[g.length-1]}else console.log(M);return r=g.length,r<6?(b.pop(),r=0):g[0]===g[r-2]&&g[1]===g[r-1]&&(g.closed=!0),b.totalPoints=N+r,b}function k(t,e=1){let n=t[0],r=0,l=[n,r],o=2;for(;o<t.length;o+=2)l.push(n,r,t[o],r=(t[o]-n)*e/2,n=t[o],-r);return l}function z(t,e){a(t[0]-t[2])<1e-4&&a(t[1]-t[3])<1e-4&&(t=t.slice(2));let n,r,l,o,s,i,g,p,f,u,c,d,y,x,w,b=t.length-2,L=+t[0],P=+t[1],v=+t[2],N=+t[3],M=[L,P,L,P],C=v-L,T=N-P,A=Math.abs(t[b]-L)<.001&&Math.abs(t[b+1]-P)<.001;for(A&&(t.push(v,N),v=L,N=P,L=t[b-2],P=t[b-1],t.unshift(L,P),b+=4),e=e||0===e?+e:1,l=2;l<b;l+=2)n=L,r=P,L=v,P=N,v=+t[l+2],N=+t[l+3],L===v&&P===N||(o=C,s=T,C=v-L,T=N-P,i=h(o*o+s*s),g=h(C*C+T*T),p=h((C/g+o/i)**2+(T/g+s/i)**2),f=(i+g)*e*.25/p,u=L-(L-n)*(i?f/i:0),c=L+(v-L)*(g?f/g:0),d=L-(u+((c-u)*(3*i/(i+g)+.5)/4||0)),y=P-(P-r)*(i?f/i:0),x=P+(N-P)*(g?f/g:0),w=P-(y+((x-y)*(3*i/(i+g)+.5)/4||0)),L===n&&P===r||M.push(m(u+d),m(y+w),m(L),m(P),m(c+d),m(x+w)));return L!==v||P!==N||M.length<4?M.push(m(v),m(N),m(v),m(N)):M.length-=2,2===M.length?M.push(L,P,L,P,L,P):A&&(M.splice(0,6),M.length=M.length-6),M}function X(t){f(t[0])&&(t=[t]);let e,n,r,l,o="",s=t.length;for(n=0;n<s;n++){for(l=t[n],o+="M"+m(l[0])+","+m(l[1])+" C",e=l.length,r=2;r<e;r++)o+=m(l[r++])+","+m(l[r++])+" "+m(l[r++])+","+m(l[r++])+" "+m(l[r++])+","+m(l[r])+" ";l.closed&&(o+="z")}return o}let Y,V,j,q,F,G,Z,H,U,D="transform",Q=D+"Origin",W=t=>{let e=t.ownerDocument||t;!(D in t.style)&&"msTransform"in t.style&&(D="msTransform",Q=D+"Origin");for(;e.parentNode&&(e=e.parentNode););if(V=window,Z=new lt,e){Y=e,j=e.documentElement,q=e.body,H=Y.createElementNS("http://www.w3.org/2000/svg","g"),H.style.transform="none";let t=e.createElement("div"),n=e.createElement("div");q.appendChild(t),t.appendChild(n),t.style.position="static",t.style[D]="translate3d(0,0,1px)",U=n.offsetParent!==t,q.removeChild(t)}return e},$=[],J=[],K=t=>t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null),tt=t=>"fixed"===V.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?tt(t):void 0),et=(t,e)=>{if(t.parentNode&&(Y||W(t))){let n=K(t),r=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l=n?e?"rect":"g":"div",o=2!==e?0:100,s=3===e?100:0,i="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",a=Y.createElementNS?Y.createElementNS(r.replace(/^https/,"http"),l):Y.createElement(l);return e&&(n?(G||(G=et(t)),a.setAttribute("width",.01),a.setAttribute("height",.01),a.setAttribute("transform","translate("+o+","+s+")"),G.appendChild(a)):(F||(F=et(t),F.style.cssText=i),a.style.cssText=i+"width:0.1px;height:0.1px;top:"+s+"px;left:"+o+"px",F.appendChild(a))),a}throw"Need document and parent."},nt=(t,e)=>{let n,r,l,o,s,i,a=K(t),h=t===a,g=a?$:J,p=t.parentNode;if(t===V)return t;if(g.length||g.push(et(t,1),et(t,2),et(t,3)),n=a?G:F,a)h?(l=(t=>{let e,n=t.getCTM();return n||(e=t.style[D],t.style[D]="none",t.appendChild(H),n=H.getCTM(),t.removeChild(H),e?t.style[D]=e:t.style.removeProperty(D.replace(/([A-Z])/g,"-$1").toLowerCase())),n||Z.clone()})(t),o=-l.e/l.a,s=-l.f/l.d,r=Z):t.getBBox?(l=t.getBBox(),r=t.transform?t.transform.baseVal:{},r=r.numberOfItems?r.numberOfItems>1?(t=>{let e=new lt,n=0;for(;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e})(r):r.getItem(0).matrix:Z,o=r.a*l.x+r.c*l.y,s=r.b*l.x+r.d*l.y):(r=new lt,o=s=0),e&&"g"===t.tagName.toLowerCase()&&(o=s=0),(h?a:p).appendChild(n),n.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+o)+","+(r.f+s)+")");else{if(o=s=0,U)for(r=t.offsetParent,l=t;l&&(l=l.parentNode)&&l!==r&&l.parentNode;)(V.getComputedStyle(l)[D]+"").length>4&&(o=l.offsetLeft,s=l.offsetTop,l=0);if(i=V.getComputedStyle(t),"absolute"!==i.position&&"fixed"!==i.position)for(r=t.offsetParent;p&&p!==r;)o+=p.scrollLeft||0,s+=p.scrollTop||0,p=p.parentNode;l=n.style,l.top=t.offsetTop-s+"px",l.left=t.offsetLeft-o+"px",l[D]=i[D],l[Q]=i[Q],l.position="fixed"===i.position?"fixed":"absolute",t.parentNode.appendChild(n)}return n},rt=(t,e,n,r,l,o,s)=>(t.a=e,t.b=n,t.c=r,t.d=l,t.e=o,t.f=s,t);class lt{constructor(t=1,e=0,n=0,r=1,l=0,o=0){rt(this,t,e,n,r,l,o)}inverse(){let{a:t,b:e,c:n,d:r,e:l,f:o}=this,s=t*r-e*n||1e-10;return rt(this,r/s,-e/s,-n/s,t/s,(n*o-r*l)/s,-(t*o-e*l)/s)}multiply(t){let{a:e,b:n,c:r,d:l,e:o,f:s}=this,i=t.a,a=t.c,h=t.b,g=t.d,p=t.e,f=t.f;return rt(this,i*e+h*r,i*n+h*l,a*e+g*r,a*n+g*l,o+p*e+f*r,s+p*n+f*l)}clone(){return new lt(this.a,this.b,this.c,this.d,this.e,this.f)}equals(t){let{a:e,b:n,c:r,d:l,e:o,f:s}=this;return e===t.a&&n===t.b&&r===t.c&&l===t.d&&o===t.e&&s===t.f}apply(t,e={}){let{x:n,y:r}=t,{a:l,b:o,c:s,d:i,e:a,f:h}=this;return e.x=n*l+r*s+a||0,e.y=n*o+r*i+h||0,e}}function ot(t,e,n,r){if(!t||!t.parentNode||(Y||W(t)).documentElement===t)return new lt;let l=(t=>{let e,n;for(;t&&t!==q;)n=t._gsap,n&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e})(t),o=K(t)?$:J,s=nt(t,n),i=o[0].getBoundingClientRect(),a=o[1].getBoundingClientRect(),h=o[2].getBoundingClientRect(),g=s.parentNode,p=!r&&tt(t),f=new lt((a.left-i.left)/100,(a.top-i.top)/100,(h.left-i.left)/100,(h.top-i.top)/100,i.left+(p?0:V.pageXOffset||Y.scrollLeft||j.scrollLeft||q.scrollLeft||0),i.top+(p?0:V.pageYOffset||Y.scrollTop||j.scrollTop||q.scrollTop||0));if(g.removeChild(s),l)for(i=l.length;i--;)a=l[i],a.scaleX=a.scaleY=0,a.renderTransform(1,a);return e?f.inverse():f}let st,it,at,ht,gt,pt,ft="x,translateX,left,marginLeft,xPercent".split(","),ut="y,translateY,top,marginTop,yPercent".split(","),ct=Math.PI/180,dt=(t,e,n,r)=>{let l,o=e.length,s=2===r?0:r,i=0;for(;i<o;i++)t[s]=l=parseFloat(e[i][n]),2===r&&(t[s+1]=0),s+=2;return t},mt=(t,e,n)=>parseFloat(t._gsap.get(t,e,n||"px"))||0,yt=t=>{let e,n=t[0],r=t[1];for(e=2;e<t.length;e+=2)n=t[e]+=n,r=t[e+1]+=r},xt=(t,e,n,r,l,o,s,i,a)=>{if("cubic"===s.type)e=[e];else{!1!==s.fromCurrent&&e.unshift(mt(n,r,i),l?mt(n,l,a):0),s.relative&&yt(e),e=[(l?z:k)(e,s.curviness)]}return e=o(vt(e,n,s)),Nt(t,n,r,e,"x",i),l&&Nt(t,n,l,e,"y",a),S(e,s.resolution||(0===s.curviness?20:12))},wt=t=>t,bt=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,Lt=(t,e,n)=>{let r,l=ot(t),o=0,s=0;return"svg"===(t.tagName+"").toLowerCase()?(r=t.viewBox.baseVal,r.width||(r={width:+t.getAttribute("width"),height:+t.getAttribute("height")})):r=e&&t.getBBox&&t.getBBox(),e&&"auto"!==e&&(o=e.push?e[0]*(r?r.width:t.offsetWidth||0):e.x,s=e.push?e[1]*(r?r.height:t.offsetHeight||0):e.y),n.apply(o||s?l.apply({x:o,y:s}):{x:l.e,y:l.f})},Pt=(t,e,n,r)=>{let l,o=ot(t.parentNode,!0,!0),s=o.clone().multiply(ot(e)),i=Lt(t,n,o),{x:a,y:h}=Lt(e,r,o);return s.e=s.f=0,"auto"===r&&e.getTotalLength&&"path"===e.tagName.toLowerCase()&&(l=e.getAttribute("d").match(bt)||[],l=s.apply({x:+l[0],y:+l[1]}),a+=l.x,h+=l.y),l&&(l=s.apply(e.getBBox()),a-=l.x,h-=l.y),s.e=a-i.x,s.f=h-i.y,s},vt=(t,e,{align:n,matrix:r,offsetX:l,offsetY:o,alignOrigin:s})=>{let i,a,h,g=t[0][0],p=t[0][1],f=mt(e,"x"),u=mt(e,"y");return t&&t.length?(n&&("self"===n||(i=ht(n)[0]||e)===e?R(t,1,0,0,1,f-g,u-p):(s&&!1!==s[2]?st.set(e,{transformOrigin:100*s[0]+"% "+100*s[1]+"%"}):s=[mt(e,"xPercent")/-100,mt(e,"yPercent")/-100],a=Pt(e,i,s,"auto"),h=a.apply({x:g,y:p}),R(t,a.a,a.b,a.c,a.d,f+a.e-(h.x-a.e),u+a.f-(h.y-a.f)))),r?R(t,r.a,r.b,r.c,r.d,r.e,r.f):(l||o)&&R(t,1,0,0,1,l||0,o||0),t):P("M0,0L0,0")},Nt=(t,e,n,r,l,o)=>{let s=e._gsap,i=s.harness,a=i&&i.aliases&&i.aliases[n],h=a&&a.indexOf(",")<0?a:n,g=t._pt=new it(t._pt,e,h,0,0,wt,0,s.set(e,h,t));g.u=at(s.get(e,h,o))||0,g.path=r,g.pp=l,t._props.push(h)};const Mt={version:"3.12.0",name:"motionPath",register(t,e,n){st=t,at=st.utils.getUnit,ht=st.utils.toArray,gt=st.core.getStyleSaver,pt=st.core.reverting||function(){},it=n},init(t,e,n){if(!st)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof e&&!e.style&&e.path||(e={path:e});let r,l,o=[],{path:s,autoRotate:i,unitX:a,unitY:h,x:g,y:p}=e,f=s[0],u=(c=e.start,d="end"in e?e.end:1,t=>c||1!==d?T(t,c,d):t);var c,d;if(this.rawPaths=o,this.target=t,this.tween=n,this.styles=gt&&gt(t,"transform"),(this.rotate=i||0===i)&&(this.rOffset=parseFloat(i)||0,this.radians=!!e.useRadians,this.rProp=e.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=at(t._gsap.get(t,this.rProp))||0),Array.isArray(s)&&!("closed"in s)&&"number"!=typeof f){for(l in f)!g&&~ft.indexOf(l)?g=l:!p&&~ut.indexOf(l)&&(p=l);for(l in g&&p?o.push(xt(this,dt(dt([],s,g,0),s,p,1),t,g,p,u,e,a||at(s[0][g]),h||at(s[0][p]))):g=p=0,f)l!==g&&l!==p&&o.push(xt(this,dt([],s,l,2),t,l,0,u,e,at(s[0][l])))}else r=u(vt(P(e.path),t,e)),S(r,e.resolution),o.push(r),Nt(this,t,e.x||"x",r,"x",e.unitX||"px"),Nt(this,t,e.y||"y",r,"y",e.unitY||"px")},render(t,e){let n=e.rawPaths,r=n.length,l=e._pt;if(e.tween._time||!pt()){for(t>1?t=1:t<0&&(t=0);r--;)O(n[r],t,!r&&e.rotate,n[r]);for(;l;)l.set(l.t,l.p,l.path[l.pp]+l.u,l.d,t),l=l._next;e.rotate&&e.rSet(e.target,e.rProp,n[0].angle*(e.radians?ct:1)+e.rOffset+e.ru,e,t)}else e.styles.revert()},getLength:t=>S(P(t)).totalLength,sliceRawPath:T,getRawPath:P,pointsToSegment:z,stringToRawPath:I,rawPathToString:X,transformRawPath:R,getGlobalMatrix:ot,getPositionOnPath:O,cacheRawPathMeasurements:S,convertToPath:(t,e)=>ht(t).map(t=>M(t,!1!==e)),convertCoordinates(t,e,n){let r=ot(e,!0,!0).multiply(ot(t));return n?r.apply(n):r},getAlignMatrix:Pt,getRelativePosition(t,e,n,r){let l=Pt(t,e,n,r);return{x:l.e,y:l.f}},arrayToRawPath(t,e){let n=dt(dt([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&yt(n),["cubic"===e.type?n:z(n,e.curviness)]}};(st||"undefined"!=typeof window&&(st=window.gsap)&&st.registerPlugin&&st)&&st.registerPlugin(Mt);export default Mt;export{Mt as MotionPathPlugin};
/*!
* Observer 3.11.5
* Observer 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let e,t,n,r,s,o,l,i,a,c,d,u,g,h,p=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,v=1,f=[],m=[],x=[],y=Date.now,b=(e,t)=>t,w=(e,t)=>~x.indexOf(e)&&x[x.indexOf(e)+1][t],M=e=>!!~d.indexOf(e),Y=(e,t,n,r,s)=>e.addEventListener(t,n,{passive:!r,capture:!!s}),X=(e,t,n,r)=>e.removeEventListener(t,n,!!r),D=()=>u&&u.isPressed||m.cache++,_=(e,t)=>{let n=s=>{if(s||0===s){v&&(r.history.scrollRestoration="manual");let t=u&&u.isPressed;s=n.v=Math.round(s)||(u&&u.iOS?1:0),e(s),n.cacheID=m.cache,t&&b("ss",s)}else(t||m.cache!==n.cacheID||b("ref"))&&(n.cacheID=m.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},E={s:"scrollLeft",p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:_((function(e){return arguments.length?r.scrollTo(e,T.sc()):r.pageXOffset||s.scrollLeft||o.scrollLeft||l.scrollLeft||0}))},T={s:"scrollTop",p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:E,sc:_((function(e){return arguments.length?r.scrollTo(E.sc(),e):r.pageYOffset||s.scrollTop||o.scrollTop||l.scrollTop||0}))},P=t=>e.utils.toArray(t)[0]||("string"==typeof t&&!1!==e.config().nullTargetWarn?console.warn("Element not found:",t):null),O=(t,{s:n,sc:r})=>{M(t)&&(t=s.scrollingElement||o);let l=m.indexOf(t),i=r===T.sc?1:2;!~l&&(l=m.push(t)-1),m[l+i]||t.addEventListener("scroll",D);let a=m[l+i],c=a||(m[l+i]=_(w(t,n),!0)||(M(t)?r:_((function(e){return arguments.length?t[n]=e:t[n]}))));return c.target=t,a||(c.smooth="smooth"===e.getProperty(t,"scrollBehavior")),c},k=(e,t,n)=>{let r=e,s=e,o=y(),l=o,i=t||50,a=Math.max(500,3*i),c=(e,t)=>{let a=y();t||a-o>i?(s=r,r=e,l=o,o=a):n?r+=e:r=s+(e-s)/(a-l)*(o-l)};return{update:c,reset:()=>{s=r=n?0:r,l=o=0},getVelocity:e=>{let t=l,i=s,d=y();return(e||0===e)&&e!==r&&c(e),o===l||d-l>a?0:(r+(n?i:-i))/((n?d:o)-t)*1e3}}},L=(e,t)=>(t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e),C=e=>{let t=Math.max(...e),n=Math.min(...e);return Math.abs(t)>=Math.abs(n)?t:n},S=()=>{c=e.core.globals().ScrollTrigger,c&&c.core&&(()=>{let e=c.core,t=e.bridge||{},n=e._scrollers,r=e._proxies;n.push(...m),r.push(...x),m=n,x=r,b=(e,n)=>t[e](n)})()},A=c=>(e=c||p(),e&&"undefined"!=typeof document&&document.body&&(r=window,s=document,o=s.documentElement,l=s.body,d=[r,s,o,l],n=e.utils.clamp,h=e.core.context||function(){},a="onpointerenter"in l?"pointer":"mouse",i=G.isTouch=r.matchMedia&&r.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in r||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,g=G.eventTypes=("ontouchstart"in o?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in o?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(()=>v=0,500),S(),t=1),t);E.op=T,m.cache=0;class G{constructor(e){this.init(e)}init(n){t||A(e)||console.warn("Please gsap.registerPlugin(Observer)"),c||S();let{tolerance:d,dragMinimum:p,type:v,target:m,lineHeight:x,debounce:b,preventDefault:w,onStop:_,onStopDelay:G,ignore:H,wheelSpeed:R,event:I,onDragStart:B,onDragEnd:F,onDrag:N,onPress:V,onRelease:W,onRight:q,onLeft:z,onUp:U,onDown:j,onChangeX:J,onChangeY:K,onChange:Q,onToggleX:Z,onToggleY:$,onHover:ee,onHoverEnd:te,onMove:ne,ignoreCheck:re,isNormalizer:se,onGestureStart:oe,onGestureEnd:le,onWheel:ie,onEnable:ae,onDisable:ce,onClick:de,scrollSpeed:ue,capture:ge,allowClicks:he,lockAxis:pe,onLockAxis:ve}=n;this.target=m=P(m)||o,this.vars=n,H&&(H=e.utils.toArray(H)),d=d||1e-9,p=p||0,R=R||1,ue=ue||1,v=v||"wheel,touch,pointer",b=!1!==b,x||(x=parseFloat(r.getComputedStyle(l).lineHeight)||22);let fe,me,xe,ye,be,we,Me,Ye=this,Xe=0,De=0,_e=O(m,E),Ee=O(m,T),Te=_e(),Pe=Ee(),Oe=~v.indexOf("touch")&&!~v.indexOf("pointer")&&"pointerdown"===g[0],ke=M(m),Le=m.ownerDocument||s,Ce=[0,0,0],Se=[0,0,0],Ae=0,Ge=()=>Ae=y(),He=(e,t)=>(Ye.event=e)&&H&&~H.indexOf(e.target)||t&&Oe&&"touch"!==e.pointerType||re&&re(e,t),Re=()=>{let e=Ye.deltaX=C(Ce),t=Ye.deltaY=C(Se),n=Math.abs(e)>=d,r=Math.abs(t)>=d;Q&&(n||r)&&Q(Ye,e,t,Ce,Se),n&&(q&&Ye.deltaX>0&&q(Ye),z&&Ye.deltaX<0&&z(Ye),J&&J(Ye),Z&&Ye.deltaX<0!=Xe<0&&Z(Ye),Xe=Ye.deltaX,Ce[0]=Ce[1]=Ce[2]=0),r&&(j&&Ye.deltaY>0&&j(Ye),U&&Ye.deltaY<0&&U(Ye),K&&K(Ye),$&&Ye.deltaY<0!=De<0&&$(Ye),De=Ye.deltaY,Se[0]=Se[1]=Se[2]=0),(ye||xe)&&(ne&&ne(Ye),xe&&(N(Ye),xe=!1),ye=!1),we&&!(we=!1)&&ve&&ve(Ye),be&&(ie(Ye),be=!1),fe=0},Ie=(e,t,n)=>{Ce[n]+=e,Se[n]+=t,Ye._vx.update(e),Ye._vy.update(t),b?fe||(fe=requestAnimationFrame(Re)):Re()},Be=(e,t)=>{pe&&!Me&&(Ye.axis=Me=Math.abs(e)>Math.abs(t)?"x":"y",we=!0),"y"!==Me&&(Ce[2]+=e,Ye._vx.update(e,!0)),"x"!==Me&&(Se[2]+=t,Ye._vy.update(t,!0)),b?fe||(fe=requestAnimationFrame(Re)):Re()},Fe=e=>{if(He(e,1))return;let t=(e=L(e,w)).clientX,n=e.clientY,r=t-Ye.x,s=n-Ye.y,o=Ye.isDragging;Ye.x=t,Ye.y=n,(o||Math.abs(Ye.startX-t)>=p||Math.abs(Ye.startY-n)>=p)&&(N&&(xe=!0),o||(Ye.isDragging=!0),Be(r,s),o||B&&B(Ye))},Ne=Ye.onPress=e=>{He(e,1)||e&&e.button||(Ye.axis=Me=null,me.pause(),Ye.isPressed=!0,e=L(e),Xe=De=0,Ye.startX=Ye.x=e.clientX,Ye.startY=Ye.y=e.clientY,Ye._vx.reset(),Ye._vy.reset(),Y(se?m:Le,g[1],Fe,w,!0),Ye.deltaX=Ye.deltaY=0,V&&V(Ye))},Ve=Ye.onRelease=t=>{if(He(t,1))return;X(se?m:Le,g[1],Fe,!0);let n=!isNaN(Ye.y-Ye.startY),s=Ye.isDragging&&(Math.abs(Ye.x-Ye.startX)>3||Math.abs(Ye.y-Ye.startY)>3),o=L(t);!s&&n&&(Ye._vx.reset(),Ye._vy.reset(),w&&he&&e.delayedCall(.08,()=>{if(y()-Ae>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(Le.createEvent){let e=Le.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,r,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),Ye.isDragging=Ye.isGesturing=Ye.isPressed=!1,_&&!se&&me.restart(!0),F&&s&&F(Ye),W&&W(Ye,s)},We=e=>e.touches&&e.touches.length>1&&(Ye.isGesturing=!0)&&oe(e,Ye.isDragging),qe=()=>(Ye.isGesturing=!1)||le(Ye),ze=e=>{if(He(e))return;let t=_e(),n=Ee();Ie((t-Te)*ue,(n-Pe)*ue,1),Te=t,Pe=n,_&&me.restart(!0)},Ue=e=>{if(He(e))return;e=L(e,w),ie&&(be=!0);let t=(1===e.deltaMode?x:2===e.deltaMode?r.innerHeight:1)*R;Ie(e.deltaX*t,e.deltaY*t,0),_&&!se&&me.restart(!0)},je=e=>{if(He(e))return;let t=e.clientX,n=e.clientY,r=t-Ye.x,s=n-Ye.y;Ye.x=t,Ye.y=n,ye=!0,(r||s)&&Be(r,s)},Je=e=>{Ye.event=e,ee(Ye)},Ke=e=>{Ye.event=e,te(Ye)},Qe=e=>He(e)||L(e,w)&&de(Ye);me=Ye._dc=e.delayedCall(G||.25,()=>{Ye._vx.reset(),Ye._vy.reset(),me.pause(),_&&_(Ye)}).pause(),Ye.deltaX=Ye.deltaY=0,Ye._vx=k(0,50,!0),Ye._vy=k(0,50,!0),Ye.scrollX=_e,Ye.scrollY=Ee,Ye.isDragging=Ye.isGesturing=Ye.isPressed=!1,h(this),Ye.enable=e=>(Ye.isEnabled||(Y(ke?Le:m,"scroll",D),v.indexOf("scroll")>=0&&Y(ke?Le:m,"scroll",ze,w,ge),v.indexOf("wheel")>=0&&Y(m,"wheel",Ue,w,ge),(v.indexOf("touch")>=0&&i||v.indexOf("pointer")>=0)&&(Y(m,g[0],Ne,w,ge),Y(Le,g[2],Ve),Y(Le,g[3],Ve),he&&Y(m,"click",Ge,!1,!0),de&&Y(m,"click",Qe),oe&&Y(Le,"gesturestart",We),le&&Y(Le,"gestureend",qe),ee&&Y(m,a+"enter",Je),te&&Y(m,a+"leave",Ke),ne&&Y(m,a+"move",je)),Ye.isEnabled=!0,e&&e.type&&Ne(e),ae&&ae(Ye)),Ye),Ye.disable=()=>{Ye.isEnabled&&(f.filter(e=>e!==Ye&&M(e.target)).length||X(ke?Le:m,"scroll",D),Ye.isPressed&&(Ye._vx.reset(),Ye._vy.reset(),X(se?m:Le,g[1],Fe,!0)),X(ke?Le:m,"scroll",ze,ge),X(m,"wheel",Ue,ge),X(m,g[0],Ne,ge),X(Le,g[2],Ve),X(Le,g[3],Ve),X(m,"click",Ge,!0),X(m,"click",Qe),X(Le,"gesturestart",We),X(Le,"gestureend",qe),X(m,a+"enter",Je),X(m,a+"leave",Ke),X(m,a+"move",je),Ye.isEnabled=Ye.isPressed=Ye.isDragging=!1,ce&&ce(Ye))},Ye.kill=Ye.revert=()=>{Ye.disable();let e=f.indexOf(Ye);e>=0&&f.splice(e,1),u===Ye&&(u=0)},f.push(Ye),se&&M(m)&&(u=Ye),Ye.enable(I)}get velocityX(){return this._vx.getVelocity()}get velocityY(){return this._vy.getVelocity()}}G.version="3.11.5",G.create=e=>new G(e),G.register=A,G.getAll=()=>f.slice(),G.getById=e=>f.filter(t=>t.vars.id===e)[0],p()&&e.registerPlugin(G);export default G;export{G as Observer,w as _getProxyProp,O as _getScrollFunc,P as _getTarget,k as _getVelocityProp,E as _horizontal,M as _isViewport,x as _proxies,m as _scrollers,T as _vertical};
let e,t,n,r,s,o,l,i,a,c,d,u,g,h,p=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,v=1,f=[],x=[],m=[],y=Date.now,b=(e,t)=>t,w=(e,t)=>~m.indexOf(e)&&m[m.indexOf(e)+1][t],M=e=>!!~d.indexOf(e),Y=(e,t,n,r,s)=>e.addEventListener(t,n,{passive:!r,capture:!!s}),_=(e,t,n,r)=>e.removeEventListener(t,n,!!r),X=()=>u&&u.isPressed||x.cache++,D=(e,t)=>{let n=s=>{if(s||0===s){v&&(r.history.scrollRestoration="manual");let t=u&&u.isPressed;s=n.v=Math.round(s)||(u&&u.iOS?1:0),e(s),n.cacheID=x.cache,t&&b("ss",s)}else(t||x.cache!==n.cacheID||b("ref"))&&(n.cacheID=x.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},E={s:"scrollLeft",p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:D((function(e){return arguments.length?r.scrollTo(e,T.sc()):r.pageXOffset||s.scrollLeft||o.scrollLeft||l.scrollLeft||0}))},T={s:"scrollTop",p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:E,sc:D((function(e){return arguments.length?r.scrollTo(E.sc(),e):r.pageYOffset||s.scrollTop||o.scrollTop||l.scrollTop||0}))},P=(t,n)=>(n&&n._ctx&&n._ctx.selector||e.utils.toArray)(t)[0]||("string"==typeof t&&!1!==e.config().nullTargetWarn?console.warn("Element not found:",t):null),O=(t,{s:n,sc:r})=>{M(t)&&(t=s.scrollingElement||o);let l=x.indexOf(t),i=r===T.sc?1:2;!~l&&(l=x.push(t)-1),x[l+i]||t.addEventListener("scroll",X);let a=x[l+i],c=a||(x[l+i]=D(w(t,n),!0)||(M(t)?r:D((function(e){return arguments.length?t[n]=e:t[n]}))));return c.target=t,a||(c.smooth="smooth"===e.getProperty(t,"scrollBehavior")),c},k=(e,t,n)=>{let r=e,s=e,o=y(),l=o,i=t||50,a=Math.max(500,3*i),c=(e,t)=>{let a=y();t||a-o>i?(s=r,r=e,l=o,o=a):n?r+=e:r=s+(e-s)/(a-l)*(o-l)};return{update:c,reset:()=>{s=r=n?0:r,l=o=0},getVelocity:e=>{let t=l,i=s,d=y();return(e||0===e)&&e!==r&&c(e),o===l||d-l>a?0:(r+(n?i:-i))/((n?d:o)-t)*1e3}}},L=(e,t)=>(t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e),C=e=>{let t=Math.max(...e),n=Math.min(...e);return Math.abs(t)>=Math.abs(n)?t:n},S=()=>{c=e.core.globals().ScrollTrigger,c&&c.core&&(()=>{let e=c.core,t=e.bridge||{},n=e._scrollers,r=e._proxies;n.push(...x),r.push(...m),x=n,m=r,b=(e,n)=>t[e](n)})()},A=c=>(e=c||p(),e&&"undefined"!=typeof document&&document.body&&(r=window,s=document,o=s.documentElement,l=s.body,d=[r,s,o,l],n=e.utils.clamp,h=e.core.context||function(){},a="onpointerenter"in l?"pointer":"mouse",i=G.isTouch=r.matchMedia&&r.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in r||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,g=G.eventTypes=("ontouchstart"in o?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in o?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(()=>v=0,500),S(),t=1),t);E.op=T,x.cache=0;class G{constructor(e){this.init(e)}init(n){t||A(e)||console.warn("Please gsap.registerPlugin(Observer)"),c||S();let{tolerance:d,dragMinimum:p,type:v,target:x,lineHeight:m,debounce:b,preventDefault:w,onStop:D,onStopDelay:G,ignore:H,wheelSpeed:R,event:I,onDragStart:B,onDragEnd:F,onDrag:N,onPress:V,onRelease:W,onRight:q,onLeft:z,onUp:U,onDown:j,onChangeX:J,onChangeY:K,onChange:Q,onToggleX:Z,onToggleY:$,onHover:ee,onHoverEnd:te,onMove:ne,ignoreCheck:re,isNormalizer:se,onGestureStart:oe,onGestureEnd:le,onWheel:ie,onEnable:ae,onDisable:ce,onClick:de,scrollSpeed:ue,capture:ge,allowClicks:he,lockAxis:pe,onLockAxis:ve}=n;this.target=x=P(x)||o,this.vars=n,H&&(H=e.utils.toArray(H)),d=d||1e-9,p=p||0,R=R||1,ue=ue||1,v=v||"wheel,touch,pointer",b=!1!==b,m||(m=parseFloat(r.getComputedStyle(l).lineHeight)||22);let fe,xe,me,ye,be,we,Me,Ye=this,_e=0,Xe=0,De=O(x,E),Ee=O(x,T),Te=De(),Pe=Ee(),Oe=~v.indexOf("touch")&&!~v.indexOf("pointer")&&"pointerdown"===g[0],ke=M(x),Le=x.ownerDocument||s,Ce=[0,0,0],Se=[0,0,0],Ae=0,Ge=()=>Ae=y(),He=(e,t)=>(Ye.event=e)&&H&&~H.indexOf(e.target)||t&&Oe&&"touch"!==e.pointerType||re&&re(e,t),Re=()=>{let e=Ye.deltaX=C(Ce),t=Ye.deltaY=C(Se),n=Math.abs(e)>=d,r=Math.abs(t)>=d;Q&&(n||r)&&Q(Ye,e,t,Ce,Se),n&&(q&&Ye.deltaX>0&&q(Ye),z&&Ye.deltaX<0&&z(Ye),J&&J(Ye),Z&&Ye.deltaX<0!=_e<0&&Z(Ye),_e=Ye.deltaX,Ce[0]=Ce[1]=Ce[2]=0),r&&(j&&Ye.deltaY>0&&j(Ye),U&&Ye.deltaY<0&&U(Ye),K&&K(Ye),$&&Ye.deltaY<0!=Xe<0&&$(Ye),Xe=Ye.deltaY,Se[0]=Se[1]=Se[2]=0),(ye||me)&&(ne&&ne(Ye),me&&(N(Ye),me=!1),ye=!1),we&&!(we=!1)&&ve&&ve(Ye),be&&(ie(Ye),be=!1),fe=0},Ie=(e,t,n)=>{Ce[n]+=e,Se[n]+=t,Ye._vx.update(e),Ye._vy.update(t),b?fe||(fe=requestAnimationFrame(Re)):Re()},Be=(e,t)=>{pe&&!Me&&(Ye.axis=Me=Math.abs(e)>Math.abs(t)?"x":"y",we=!0),"y"!==Me&&(Ce[2]+=e,Ye._vx.update(e,!0)),"x"!==Me&&(Se[2]+=t,Ye._vy.update(t,!0)),b?fe||(fe=requestAnimationFrame(Re)):Re()},Fe=e=>{if(He(e,1))return;let t=(e=L(e,w)).clientX,n=e.clientY,r=t-Ye.x,s=n-Ye.y,o=Ye.isDragging;Ye.x=t,Ye.y=n,(o||Math.abs(Ye.startX-t)>=p||Math.abs(Ye.startY-n)>=p)&&(N&&(me=!0),o||(Ye.isDragging=!0),Be(r,s),o||B&&B(Ye))},Ne=Ye.onPress=e=>{He(e,1)||e&&e.button||(Ye.axis=Me=null,xe.pause(),Ye.isPressed=!0,e=L(e),_e=Xe=0,Ye.startX=Ye.x=e.clientX,Ye.startY=Ye.y=e.clientY,Ye._vx.reset(),Ye._vy.reset(),Y(se?x:Le,g[1],Fe,w,!0),Ye.deltaX=Ye.deltaY=0,V&&V(Ye))},Ve=Ye.onRelease=t=>{if(He(t,1))return;_(se?x:Le,g[1],Fe,!0);let n=!isNaN(Ye.y-Ye.startY),s=Ye.isDragging&&(Math.abs(Ye.x-Ye.startX)>3||Math.abs(Ye.y-Ye.startY)>3),o=L(t);!s&&n&&(Ye._vx.reset(),Ye._vy.reset(),w&&he&&e.delayedCall(.08,()=>{if(y()-Ae>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(Le.createEvent){let e=Le.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,r,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),Ye.isDragging=Ye.isGesturing=Ye.isPressed=!1,D&&!se&&xe.restart(!0),F&&s&&F(Ye),W&&W(Ye,s)},We=e=>e.touches&&e.touches.length>1&&(Ye.isGesturing=!0)&&oe(e,Ye.isDragging),qe=()=>(Ye.isGesturing=!1)||le(Ye),ze=e=>{if(He(e))return;let t=De(),n=Ee();Ie((t-Te)*ue,(n-Pe)*ue,1),Te=t,Pe=n,D&&xe.restart(!0)},Ue=e=>{if(He(e))return;e=L(e,w),ie&&(be=!0);let t=(1===e.deltaMode?m:2===e.deltaMode?r.innerHeight:1)*R;Ie(e.deltaX*t,e.deltaY*t,0),D&&!se&&xe.restart(!0)},je=e=>{if(He(e))return;let t=e.clientX,n=e.clientY,r=t-Ye.x,s=n-Ye.y;Ye.x=t,Ye.y=n,ye=!0,(r||s)&&Be(r,s)},Je=e=>{Ye.event=e,ee(Ye)},Ke=e=>{Ye.event=e,te(Ye)},Qe=e=>He(e)||L(e,w)&&de(Ye);xe=Ye._dc=e.delayedCall(G||.25,()=>{Ye._vx.reset(),Ye._vy.reset(),xe.pause(),D&&D(Ye)}).pause(),Ye.deltaX=Ye.deltaY=0,Ye._vx=k(0,50,!0),Ye._vy=k(0,50,!0),Ye.scrollX=De,Ye.scrollY=Ee,Ye.isDragging=Ye.isGesturing=Ye.isPressed=!1,h(this),Ye.enable=e=>(Ye.isEnabled||(Y(ke?Le:x,"scroll",X),v.indexOf("scroll")>=0&&Y(ke?Le:x,"scroll",ze,w,ge),v.indexOf("wheel")>=0&&Y(x,"wheel",Ue,w,ge),(v.indexOf("touch")>=0&&i||v.indexOf("pointer")>=0)&&(Y(x,g[0],Ne,w,ge),Y(Le,g[2],Ve),Y(Le,g[3],Ve),he&&Y(x,"click",Ge,!1,!0),de&&Y(x,"click",Qe),oe&&Y(Le,"gesturestart",We),le&&Y(Le,"gestureend",qe),ee&&Y(x,a+"enter",Je),te&&Y(x,a+"leave",Ke),ne&&Y(x,a+"move",je)),Ye.isEnabled=!0,e&&e.type&&Ne(e),ae&&ae(Ye)),Ye),Ye.disable=()=>{Ye.isEnabled&&(f.filter(e=>e!==Ye&&M(e.target)).length||_(ke?Le:x,"scroll",X),Ye.isPressed&&(Ye._vx.reset(),Ye._vy.reset(),_(se?x:Le,g[1],Fe,!0)),_(ke?Le:x,"scroll",ze,ge),_(x,"wheel",Ue,ge),_(x,g[0],Ne,ge),_(Le,g[2],Ve),_(Le,g[3],Ve),_(x,"click",Ge,!0),_(x,"click",Qe),_(Le,"gesturestart",We),_(Le,"gestureend",qe),_(x,a+"enter",Je),_(x,a+"leave",Ke),_(x,a+"move",je),Ye.isEnabled=Ye.isPressed=Ye.isDragging=!1,ce&&ce(Ye))},Ye.kill=Ye.revert=()=>{Ye.disable();let e=f.indexOf(Ye);e>=0&&f.splice(e,1),u===Ye&&(u=0)},f.push(Ye),se&&M(x)&&(u=Ye),Ye.enable(I)}get velocityX(){return this._vx.getVelocity()}get velocityY(){return this._vy.getVelocity()}}G.version="3.12.0",G.create=e=>new G(e),G.register=A,G.getAll=()=>f.slice(),G.getById=e=>f.filter(t=>t.vars.id===e)[0],p()&&e.registerPlugin(G);export default G;export{G as Observer,w as _getProxyProp,O as _getScrollFunc,P as _getTarget,k as _getVelocityProp,E as _horizontal,M as _isViewport,m as _proxies,x as _scrollers,T as _vertical};
{
"name": "gsap-trial",
"version": "3.11.5",
"version": "3.12.0",
"description": "Trial version of GSAP that includes all bonus plugins which are normally available exclusively to Club GreenSock members. *** DO NOT DEPLOY THESE FILES *** They only work locally or on domains like codepen.io, codesandbox.io, stackblitz.com and jsfiddle.com. If used elsewhere, it violates the license and redirects the browser. To get the unrestricted files, sign up at https://greensock.com/club",

@@ -5,0 +5,0 @@ "homepage": "https://greensock.com",

/*!
* Physics2DPlugin 3.11.5
* Physics2DPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

let e,t,i,s,n,o=Math.PI/180,a=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,r=e=>Math.round(1e4*e)/1e4,l=function(){return String.fromCharCode.apply(null,arguments)},c=l(103,114,101,101,110,115,111,99,107,46,99,111,109),p=(function(e){var t="undefined"!=typeof window,i=0===(t?window.location.href:"").indexOf(l(102,105,108,101,58,47,47))||-1!==e.indexOf(l(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(l(49,50,55,46,48,32,48,46,49)),s=[c,l(99,111,100,101,112,101,110,46,105,111),l(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),l(99,111,100,101,112,101,110,46,100,101,118),l(99,111,100,101,112,101,110,46,97,112,112),l(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),l(112,101,110,115,46,99,108,111,117,100),l(99,115,115,45,116,114,105,99,107,115,46,99,111,109),l(99,100,112,110,46,105,111),l(112,101,110,115,46,105,111),l(103,97,110,110,111,110,46,116,118),l(99,111,100,101,99,97,110,121,111,110,46,110,101,116),l(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),l(99,101,114,101,98,114,97,120,46,99,111,46,117,107),l(116,121,109,112,97,110,117,115,46,110,101,116),l(116,119,101,101,110,109,97,120,46,99,111,109),l(112,108,110,107,114,46,99,111),l(104,111,116,106,97,114,46,99,111,109),l(119,101,98,112,97,99,107,98,105,110,46,99,111,109),l(97,114,99,104,105,118,101,46,111,114,103),l(99,111,100,101,115,97,110,100,98,111,120,46,105,111),l(99,115,98,46,97,112,112),l(115,116,97,99,107,98,108,105,116,122,46,99,111,109),l(115,116,97,99,107,98,108,105,116,122,46,105,111),l(99,111,100,105,101,114,46,105,111),l(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),l(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),l(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),l(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),l(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),l(106,115,102,105,100,100,108,101,46,110,101,116)],n=function(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",n):(document.removeEventListener("readystatechange",n),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(l(37,99,87,97,114,110,105,110,103),l(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(l(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"Physics2DPlugin"+l(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(l(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),l(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},o=s.length;for(setTimeout(n,50);--o>-1;)if(-1!==e.indexOf(s[o]))return!0;i||setTimeout((function(){t&&(window.location.href=l(104,116,116,112,115,58,47,47)+c+l(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=Physics2DPlugin&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),o=>{e=o||a(),t||(i=e.utils.getUnit,s=e.core.getStyleSaver,n=e.core.reverting||function(){},t=1)});class h{constructor(e,t,s,n,o){let a=e._gsap,r=a.get(e,t);this.p=t,this.set=a.set(e,t),this.s=this.val=parseFloat(r),this.u=i(r)||0,this.vel=s||0,this.v=this.vel/o,n||0===n?(this.acc=n,this.a=this.acc/(o*o)):this.acc=this.a=0}}const d={version:"3.11.5",name:"physics2D",register:p,init(e,i,n){t||p();let a=+i.angle||0,r=+i.velocity||0,l=+i.acceleration||0,c=i.xProp||"x",d=i.yProp||"y",v=i.accelerationAngle||0===i.accelerationAngle?+i.accelerationAngle:a;this.styles=s&&s(e,i.xProp&&"x"!==i.xProp?i.xProp+","+i.yProp:"transform"),this.target=e,this.tween=n,this.step=0,this.sps=30,i.gravity&&(l=+i.gravity,v=90),a*=o,v*=o,this.fr=1-(+i.friction||0),this._props.push(c,d),this.xp=new h(e,c,Math.cos(a)*r,Math.cos(v)*l,this.sps),this.yp=new h(e,d,Math.sin(a)*r,Math.sin(v)*l,this.sps),this.skipX=this.skipY=0},render(e,t){let i,s,o,a,l,c,{xp:p,yp:h,tween:d,target:v,step:g,sps:u,fr:f,skipX:w,skipY:y}=t,x=d._from?d._dur-d._time:d._time;if(d._time||!n()){if(1===f)o=x*x*.5,i=p.s+p.vel*x+p.acc*o,s=h.s+h.vel*x+h.acc*o;else{for(x*=u,a=c=(0|x)-g,c<0&&(p.v=p.vel/u,h.v=h.vel/u,p.val=p.s,h.val=h.s,t.step=0,a=c=0|x),l=x%1*f;c--;)p.v+=p.a,h.v+=h.a,p.v*=f,h.v*=f,p.val+=p.v,h.val+=h.v;i=p.val+p.v*l,s=h.val+h.v*l,t.step+=a}w||p.set(v,p.p,r(i)+p.u),y||h.set(v,h.p,r(s)+h.u)}else t.styles.revert()},kill(e){this.xp.p===e&&(this.skipX=1),this.yp.p===e&&(this.skipY=1)}};a()&&e.registerPlugin(d);export default d;export{d as Physics2DPlugin};
let e,t,i,s,n,o=Math.PI/180,a=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,r=e=>Math.round(1e4*e)/1e4,l=function(){return String.fromCharCode.apply(null,arguments)},c=l(103,114,101,101,110,115,111,99,107,46,99,111,109),p=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,h=(function(t){var i="undefined"!=typeof window,s=0===(i?window.location.href:"").indexOf(l(102,105,108,101,58,47,47))||-1!==t.indexOf(l(108,111,99,97,108,104,111,115,116))||p.test(t),n=[c,l(99,111,100,101,112,101,110,46,105,111),l(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),l(99,111,100,101,112,101,110,46,100,101,118),l(99,111,100,101,112,101,110,46,97,112,112),l(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),l(112,101,110,115,46,99,108,111,117,100),l(99,115,115,45,116,114,105,99,107,115,46,99,111,109),l(99,100,112,110,46,105,111),l(112,101,110,115,46,105,111),l(103,97,110,110,111,110,46,116,118),l(99,111,100,101,99,97,110,121,111,110,46,110,101,116),l(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),l(99,101,114,101,98,114,97,120,46,99,111,46,117,107),l(116,121,109,112,97,110,117,115,46,110,101,116),l(116,119,101,101,110,109,97,120,46,99,111,109),l(112,108,110,107,114,46,99,111),l(104,111,116,106,97,114,46,99,111,109),l(119,101,98,112,97,99,107,98,105,110,46,99,111,109),l(97,114,99,104,105,118,101,46,111,114,103),l(99,111,100,101,115,97,110,100,98,111,120,46,105,111),l(99,115,98,46,97,112,112),l(115,116,97,99,107,98,108,105,116,122,46,99,111,109),l(115,116,97,99,107,98,108,105,116,122,46,105,111),l(99,111,100,105,101,114,46,105,111),l(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),l(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),l(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),l(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),l(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),l(106,115,102,105,100,100,108,101,46,110,101,116)],o=function(){if(i)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",o);else{document.removeEventListener("readystatechange",o);var t="object"==typeof e?e:i&&window.gsap;i&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(l(37,99,87,97,114,110,105,110,103),l(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(l(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"Physics2DPlugin"+l(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(l(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),l(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},a=n.length;for(setTimeout(o,50);--a>-1;)if(-1!==t.indexOf(n[a]))return!0;s||setTimeout((function(){i&&(window.location.href=l(104,116,116,112,115,58,47,47)+c+l(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=Physics2DPlugin&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),o=>{e=o||a(),t||(i=e.utils.getUnit,s=e.core.getStyleSaver,n=e.core.reverting||function(){},t=1)});class d{constructor(e,t,s,n,o){let a=e._gsap,r=a.get(e,t);this.p=t,this.set=a.set(e,t),this.s=this.val=parseFloat(r),this.u=i(r)||0,this.vel=s||0,this.v=this.vel/o,n||0===n?(this.acc=n,this.a=this.acc/(o*o)):this.acc=this.a=0}}const v={version:"3.12.0",name:"physics2D",register:h,init(e,i,n){t||h();let a=+i.angle||0,r=+i.velocity||0,l=+i.acceleration||0,c=i.xProp||"x",p=i.yProp||"y",v=i.accelerationAngle||0===i.accelerationAngle?+i.accelerationAngle:a;this.styles=s&&s(e,i.xProp&&"x"!==i.xProp?i.xProp+","+i.yProp:"transform"),this.target=e,this.tween=n,this.step=0,this.sps=30,i.gravity&&(l=+i.gravity,v=90),a*=o,v*=o,this.fr=1-(+i.friction||0),this._props.push(c,p),this.xp=new d(e,c,Math.cos(a)*r,Math.cos(v)*l,this.sps),this.yp=new d(e,p,Math.sin(a)*r,Math.sin(v)*l,this.sps),this.skipX=this.skipY=0},render(e,t){let i,s,o,a,l,c,{xp:p,yp:h,tween:d,target:v,step:g,sps:f,fr:u,skipX:w,skipY:y}=t,m=d._from?d._dur-d._time:d._time;if(d._time||!n()){if(1===u)o=m*m*.5,i=p.s+p.vel*m+p.acc*o,s=h.s+h.vel*m+h.acc*o;else{for(m*=f,a=c=(0|m)-g,c<0&&(p.v=p.vel/f,h.v=h.vel/f,p.val=p.s,h.val=h.s,t.step=0,a=c=0|m),l=m%1*u;c--;)p.v+=p.a,h.v+=h.a,p.v*=u,h.v*=u,p.val+=p.v,h.val+=h.v;i=p.val+p.v*l,s=h.val+h.v*l,t.step+=a}w||p.set(v,p.p,r(i)+p.u),y||h.set(v,h.p,r(s)+h.u)}else t.styles.revert()},kill(e){this.xp.p===e&&(this.skipX=1),this.yp.p===e&&(this.skipY=1)}};a()&&e.registerPlugin(v);export default v;export{v as Physics2DPlugin};
/*!
* PhysicsPropsPlugin 3.11.5
* PhysicsPropsPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

let e,t,s,i,n,o=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,r=e=>Math.round(1e4*e)/1e4,a=function(){return String.fromCharCode.apply(null,arguments)},l=a(103,114,101,101,110,115,111,99,107,46,99,111,109),c=(function(e){var t="undefined"!=typeof window,s=0===(t?window.location.href:"").indexOf(a(102,105,108,101,58,47,47))||-1!==e.indexOf(a(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(a(49,50,55,46,48,32,48,46,49)),i=[l,a(99,111,100,101,112,101,110,46,105,111),a(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),a(99,111,100,101,112,101,110,46,100,101,118),a(99,111,100,101,112,101,110,46,97,112,112),a(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),a(112,101,110,115,46,99,108,111,117,100),a(99,115,115,45,116,114,105,99,107,115,46,99,111,109),a(99,100,112,110,46,105,111),a(112,101,110,115,46,105,111),a(103,97,110,110,111,110,46,116,118),a(99,111,100,101,99,97,110,121,111,110,46,110,101,116),a(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),a(99,101,114,101,98,114,97,120,46,99,111,46,117,107),a(116,121,109,112,97,110,117,115,46,110,101,116),a(116,119,101,101,110,109,97,120,46,99,111,109),a(112,108,110,107,114,46,99,111),a(104,111,116,106,97,114,46,99,111,109),a(119,101,98,112,97,99,107,98,105,110,46,99,111,109),a(97,114,99,104,105,118,101,46,111,114,103),a(99,111,100,101,115,97,110,100,98,111,120,46,105,111),a(99,115,98,46,97,112,112),a(115,116,97,99,107,98,108,105,116,122,46,99,111,109),a(115,116,97,99,107,98,108,105,116,122,46,105,111),a(99,111,100,105,101,114,46,105,111),a(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),a(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),a(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),a(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),a(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),a(106,115,102,105,100,100,108,101,46,110,101,116)],n=function(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",n):(document.removeEventListener("readystatechange",n),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(a(37,99,87,97,114,110,105,110,103),a(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(a(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"PhysicsPropsPlugin"+a(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(a(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),a(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},o=i.length;for(setTimeout(n,50);--o>-1;)if(-1!==e.indexOf(i[o]))return!0;s||setTimeout((function(){t&&(window.location.href=a(104,116,116,112,115,58,47,47)+l+a(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=PhysicsPropsPlugin&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),r=>{e=r||o(),t||(s=e.utils.getUnit,i=e.core.getStyleSaver,n=e.core.reverting||function(){},t=1)});class d{constructor(e,t,i,n,o,r){let a=e._gsap,l=a.get(e,t);this.p=t,this.set=a.set(e,t),this.s=this.val=parseFloat(l),this.u=s(l)||0,this.vel=i||0,this.v=this.vel/r,n||0===n?(this.acc=n,this.a=this.acc/(r*r)):this.acc=this.a=0,this.fr=1-(o||0)}}const p={version:"3.11.5",name:"physicsProps",register:c,init(e,s,n){t||c();let o,r=this;for(o in r.styles=i&&i(e),r.target=e,r.tween=n,r.step=0,r.sps=30,r.vProps=[],s){let{velocity:t,acceleration:n,friction:a}=s[o];(t||n)&&(r.vProps.push(new d(e,o,t,n,a,r.sps)),r._props.push(o),i&&r.styles.save(o),a&&(r.hasFr=1))}},render(e,t){let s,i,o,a,l,{vProps:c,tween:d,target:p,step:f,hasFr:h,sps:u}=t,g=c.length,v=d._from?d._dur-d._time:d._time;if(d._time||!n())if(h){if(v*=u,i=(0|v)-f,i<0){for(;g--;)s=c[g],s.v=s.vel/u,s.val=s.s;g=c.length,t.step=f=0,i=0|v}for(o=v%1;g--;){for(s=c[g],a=i;a--;)s.v+=s.a,s.v*=s.fr,s.val+=s.v;s.set(p,s.p,r(s.val+s.v*o*s.fr)+s.u)}t.step+=i}else for(l=v*v*.5;g--;)s=c[g],s.set(p,s.p,r(s.s+s.vel*v+s.acc*l)+s.u);else t.styles.revert()},kill(e){let t=this.vProps,s=t.length;for(;s--;)t[s].p===e&&t.splice(s,1)}};o()&&e.registerPlugin(p);export default p;export{p as PhysicsPropsPlugin};
let e,t,s,i,o,n=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,r=e=>Math.round(1e4*e)/1e4,a=function(){return String.fromCharCode.apply(null,arguments)},l=a(103,114,101,101,110,115,111,99,107,46,99,111,109),c=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,p=(function(t){var s="undefined"!=typeof window,i=0===(s?window.location.href:"").indexOf(a(102,105,108,101,58,47,47))||-1!==t.indexOf(a(108,111,99,97,108,104,111,115,116))||c.test(t),o=[l,a(99,111,100,101,112,101,110,46,105,111),a(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),a(99,111,100,101,112,101,110,46,100,101,118),a(99,111,100,101,112,101,110,46,97,112,112),a(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),a(112,101,110,115,46,99,108,111,117,100),a(99,115,115,45,116,114,105,99,107,115,46,99,111,109),a(99,100,112,110,46,105,111),a(112,101,110,115,46,105,111),a(103,97,110,110,111,110,46,116,118),a(99,111,100,101,99,97,110,121,111,110,46,110,101,116),a(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),a(99,101,114,101,98,114,97,120,46,99,111,46,117,107),a(116,121,109,112,97,110,117,115,46,110,101,116),a(116,119,101,101,110,109,97,120,46,99,111,109),a(112,108,110,107,114,46,99,111),a(104,111,116,106,97,114,46,99,111,109),a(119,101,98,112,97,99,107,98,105,110,46,99,111,109),a(97,114,99,104,105,118,101,46,111,114,103),a(99,111,100,101,115,97,110,100,98,111,120,46,105,111),a(99,115,98,46,97,112,112),a(115,116,97,99,107,98,108,105,116,122,46,99,111,109),a(115,116,97,99,107,98,108,105,116,122,46,105,111),a(99,111,100,105,101,114,46,105,111),a(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),a(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),a(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),a(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),a(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),a(106,115,102,105,100,100,108,101,46,110,101,116)],n=function(){if(s)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",n);else{document.removeEventListener("readystatechange",n);var t="object"==typeof e?e:s&&window.gsap;s&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(a(37,99,87,97,114,110,105,110,103),a(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(a(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"PhysicsPropsPlugin"+a(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(a(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),a(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},r=o.length;for(setTimeout(n,50);--r>-1;)if(-1!==t.indexOf(o[r]))return!0;i||setTimeout((function(){s&&(window.location.href=a(104,116,116,112,115,58,47,47)+l+a(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=PhysicsPropsPlugin&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),r=>{e=r||n(),t||(s=e.utils.getUnit,i=e.core.getStyleSaver,o=e.core.reverting||function(){},t=1)});class d{constructor(e,t,i,o,n,r){let a=e._gsap,l=a.get(e,t);this.p=t,this.set=a.set(e,t),this.s=this.val=parseFloat(l),this.u=s(l)||0,this.vel=i||0,this.v=this.vel/r,o||0===o?(this.acc=o,this.a=this.acc/(r*r)):this.acc=this.a=0,this.fr=1-(n||0)}}const f={version:"3.12.0",name:"physicsProps",register:p,init(e,s,o){t||p();let n,r=this;for(n in r.styles=i&&i(e),r.target=e,r.tween=o,r.step=0,r.sps=30,r.vProps=[],s){let{velocity:t,acceleration:o,friction:a}=s[n];(t||o)&&(r.vProps.push(new d(e,n,t,o,a,r.sps)),r._props.push(n),i&&r.styles.save(n),a&&(r.hasFr=1))}},render(e,t){let s,i,n,a,l,{vProps:c,tween:p,target:d,step:f,hasFr:h,sps:u}=t,g=c.length,v=p._from?p._dur-p._time:p._time;if(p._time||!o())if(h){if(v*=u,i=(0|v)-f,i<0){for(;g--;)s=c[g],s.v=s.vel/u,s.val=s.s;g=c.length,t.step=f=0,i=0|v}for(n=v%1;g--;){for(s=c[g],a=i;a--;)s.v+=s.a,s.v*=s.fr,s.val+=s.v;s.set(d,s.p,r(s.val+s.v*n*s.fr)+s.u)}t.step+=i}else for(l=v*v*.5;g--;)s=c[g],s.set(d,s.p,r(s.s+s.vel*v+s.acc*l)+s.u);else t.styles.revert()},kill(e){let t=this.vProps,s=t.length;for(;s--;)t[s].p===e&&t.splice(s,1)}};n()&&e.registerPlugin(f);export default f;export{f as PhysicsPropsPlugin};
/*!
* PixiPlugin 3.11.5
* PixiPlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let t,r,i,e,o,s,l,n,a,u,h=()=>"undefined"!=typeof window,c=()=>t||h()&&(t=window.gsap)&&t.registerPlugin&&t,p=t=>"function"==typeof t,g=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],d=.212671,f=.71516,b=.072169,x=(t,r)=>{let i,e,o=[],s=0,l=0;for(i=0;i<4;i++){for(e=0;e<5;e++)l=4===e?t[s+4]:0,o[s+e]=t[s]*r[e]+t[s+1]*r[e+5]+t[s+2]*r[e+10]+t[s+3]*r[e+15]+l;s+=5}return o},m=(t,r)=>{let i=1-r,e=i*d,o=i*f,s=i*b;return x([e+r,o,s,0,0,e,o+r,s,0,0,e,o,s+r,0,0,0,0,0,1,0],t)},P=(t,r,e)=>{let o=i(r),s=o[0]/255,l=o[1]/255,n=o[2]/255,a=1-e;return x([a+e*s*d,e*s*f,e*s*b,0,0,e*l*d,a+e*l*f,e*l*b,0,0,e*n*d,e*n*f,a+e*n*b,0,0,0,0,0,1,0],t)},w=(t,r)=>{r*=Math.PI/180;let i=Math.cos(r),e=Math.sin(r);return x([d+i*(1-d)+e*-d,f+i*-f+e*-f,b+i*-b+e*(1-b),0,0,d+i*-d+.143*e,f+.28484*i+.14*e,b+i*-b+-.283*e,0,0,d+i*-d+-.787329*e,f+i*-f+e*f,b+i*(1-b)+e*b,0,0,0,0,0,1,0,0,0,0,0,1],t)},z=(t,r)=>x([r,0,0,0,.5*(1-r),0,r,0,0,.5*(1-r),0,0,r,0,.5*(1-r),0,0,0,1,0],t),M=(t,r)=>{let i,e=o.filters[r],s=t.filters||[],l=s.length;var n;for(e||(n=r+" not found. PixiPlugin.registerPIXI(PIXI)",console.warn(n));--l>-1;)if(s[l]instanceof e)return s[l];return i=new e,"BlurFilter"===r&&(i.blur=0),s.push(i),t.filters=s,i},A=(t,r,i,e)=>{r.add(i,t,i[t],e[t]),r._props.push(t)},I=(t,r)=>{let i=new o.filters.ColorMatrixFilter;return i.matrix=r,i.brightness(t,!0),i.matrix},F={contrast:1,saturation:1,colorizeAmount:0,colorize:"rgb(255,255,255)",hue:0,brightness:1},_=(t,r,i)=>{let e,o,s,l=M(t,"ColorMatrixFilter"),n=t._gsColorMatrixFilter=t._gsColorMatrixFilter||(t=>{let r,i={};for(r in t)i[r]=t[r];return i})(F),a=r.combineCMF&&!("colorMatrixFilter"in r&&!r.colorMatrixFilter);s=l.matrix,r.resolution&&(l.resolution=r.resolution),r.matrix&&r.matrix.length===s.length?(o=r.matrix,1!==n.contrast&&A("contrast",i,n,F),n.hue&&A("hue",i,n,F),1!==n.brightness&&A("brightness",i,n,F),n.colorizeAmount&&(A("colorize",i,n,F),A("colorizeAmount",i,n,F)),1!==n.saturation&&A("saturation",i,n,F)):(o=g.slice(),null!=r.contrast?(o=z(o,+r.contrast),A("contrast",i,n,r)):1!==n.contrast&&(a?o=z(o,n.contrast):A("contrast",i,n,F)),null!=r.hue?(o=w(o,+r.hue),A("hue",i,n,r)):n.hue&&(a?o=w(o,n.hue):A("hue",i,n,F)),null!=r.brightness?(o=I(+r.brightness,o),A("brightness",i,n,r)):1!==n.brightness&&(a?o=I(n.brightness,o):A("brightness",i,n,F)),null!=r.colorize?(r.colorizeAmount="colorizeAmount"in r?+r.colorizeAmount:1,o=P(o,r.colorize,r.colorizeAmount),A("colorize",i,n,r),A("colorizeAmount",i,n,r)):n.colorizeAmount&&(a?o=P(o,n.colorize,n.colorizeAmount):(A("colorize",i,n,F),A("colorizeAmount",i,n,F))),null!=r.saturation?(o=m(o,+r.saturation),A("saturation",i,n,r)):1!==n.saturation&&(a?o=m(o,n.saturation):A("saturation",i,n,F))),e=o.length;for(;--e>-1;)o[e]!==s[e]&&i.add(s,e,s[e],o[e],"colorMatrixFilter");i._props.push("colorMatrixFilter")},y=(t,{t:r,p:i,color:e,set:o})=>{o(r,i,e[0]<<16|e[1]<<8|e[2])},C=(t,{g:r})=>{r&&(r.dirty++,r.clearDirty++)},X=(t,r)=>{r.t.visible=!!r.t.alpha},v=(t,r,e,o)=>{let n=t[r],a=i(p(n)?t[r.indexOf("set")||!p(t["get"+r.substr(3)])?r:"get"+r.substr(3)]():n),u=i(e);o._pt=new s(o._pt,t,r,0,0,y,{t:t,p:r,color:a,set:l(t,r)}),o.add(a,0,a[0],u[0]),o.add(a,1,a[1],u[1]),o.add(a,2,a[2],u[2])},O={tint:1,lineColor:1,fillColor:1},S="position,scale,skew,pivot,anchor,tilePosition,tileScale".split(","),D={x:"position",y:"position",tileX:"tilePosition",tileY:"tilePosition"},Y={colorMatrixFilter:1,saturation:1,contrast:1,hue:1,colorize:1,colorizeAmount:1,brightness:1,combineCMF:1},j=Math.PI/180,k=t=>"string"==typeof t,B=t=>k(t)&&"="===t.charAt(1)?t.substr(0,2)+parseFloat(t.substr(2))*j:t*j,E=(t,r)=>r.set(r.t,r.p,1===t?r.e:Math.round(1e5*(r.s+r.c*t))/1e5,r),N=(t,r,i,e,o,l)=>{let n,a,u=360*(l?j:1),h=k(o),c=h&&"="===o.charAt(1)?+(o.charAt(0)+"1"):0,p=parseFloat(c?o.substr(2):o)*(l?j:1),g=c?p*c:p-e,d=e+g;return h&&(n=o.split("_")[1],"short"===n&&(g%=u,g!==g%(u/2)&&(g+=g<0?u:-u)),"cw"===n&&g<0?g=(g+1e10*u)%u-~~(g/u)*u:"ccw"===n&&g>0&&(g=(g-1e10*u)%u-~~(g/u)*u)),t._pt=a=new s(t._pt,r,i,e,g,E),a.e=d,a},R=()=>{h()&&(r=window,t=c(),o=e=o||r.PIXI,n=o&&o.VERSION&&"4"===o.VERSION.charAt(0),i=r=>t.utils.splitColor("0x"===(r+"").substr(0,2)?"#"+r.substr(2):r))};for(a=0;a<S.length;a++)u=S[a],D[u+"X"]=u,D[u+"Y"]=u;const V={version:"3.11.5",name:"pixi",register(r,i,e){t=r,s=e,l=i.getSetter,R()},registerPIXI(t){o=t},init(t,r,i,e,l){if(o||R(),!(o&&t instanceof o.DisplayObject))return console.warn(t,"is not a DisplayObject or PIXI was not found. PixiPlugin.registerPIXI(PIXI);"),!1;let a,u,h,c,p,g,d,f,b;for(g in r){if(a=D[g],h=r[g],a)u=~g.charAt(g.length-1).toLowerCase().indexOf("x")?"x":"y",this.add(t[a],u,t[a][u],"skew"===a?B(h):h,0,0,0,0,0,1);else if("scale"===g||"anchor"===g||"pivot"===g||"tileScale"===g)this.add(t[g],"x",t[g].x,h),this.add(t[g],"y",t[g].y,h);else if("rotation"===g||"angle"===g)N(this,t,g,t[g],h,"rotation"===g);else if(Y[g])c||(_(t,r.colorMatrixFilter||r,this),c=!0);else if("blur"===g||"blurX"===g||"blurY"===g||"blurPadding"===g){if(p=M(t,"BlurFilter"),this.add(p,g,p[g],h),0!==r.blurPadding)for(d=r.blurPadding||2*Math.max(p[g],h),f=t.filters.length;--f>-1;)t.filters[f].padding=Math.max(t.filters[f].padding,d)}else if(O[g])if(("lineColor"===g||"fillColor"===g)&&t instanceof o.Graphics)for(b=(t.geometry||t).graphicsData,this._pt=new s(this._pt,t,g,0,0,C,{g:t.geometry||t}),f=b.length;--f>-1;)v(n?b[f]:b[f][g.substr(0,4)+"Style"],n?g:"color",h,this);else v(t,g,h,this);else"autoAlpha"===g?(this._pt=new s(this._pt,t,"visible",0,0,X),this.add(t,"alpha",t.alpha,h),this._props.push("alpha","visible")):"resolution"!==g&&this.add(t,g,"get",h);this._props.push(g)}}};c()&&t.registerPlugin(V);export default V;export{V as PixiPlugin};
let t,r,e,i,o,l,s,n,a,u,h=()=>"undefined"!=typeof window,c=()=>t||h()&&(t=window.gsap)&&t.registerPlugin&&t,p=t=>"function"==typeof t,g=t=>console.warn(t),d=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],f=.212671,b=.71516,x=.072169,m=t=>p(o[t])?o[t]:o.filters[t],z=(t,r)=>{let e,i,o=[],l=0,s=0;for(e=0;e<4;e++){for(i=0;i<5;i++)s=4===i?t[l+4]:0,o[l+i]=t[l]*r[i]+t[l+1]*r[i+5]+t[l+2]*r[i+10]+t[l+3]*r[i+15]+s;l+=5}return o},M=(t,r)=>{let e=1-r,i=e*f,o=e*b,l=e*x;return z([i+r,o,l,0,0,i,o+r,l,0,0,i,o,l+r,0,0,0,0,0,1,0],t)},A=(t,r,i)=>{let o=e(r),l=o[0]/255,s=o[1]/255,n=o[2]/255,a=1-i;return z([a+i*l*f,i*l*b,i*l*x,0,0,i*s*f,a+i*s*b,i*s*x,0,0,i*n*f,i*n*b,a+i*n*x,0,0,0,0,0,1,0],t)},w=(t,r)=>{r*=Math.PI/180;let e=Math.cos(r),i=Math.sin(r);return z([f+e*(1-f)+i*-f,b+e*-b+i*-b,x+e*-x+i*(1-x),0,0,f+e*-f+.143*i,b+.28484*e+.14*i,x+e*-x+-.283*i,0,0,f+e*-f+-.787329*i,b+e*-b+i*b,x+e*(1-x)+i*x,0,0,0,0,0,1,0,0,0,0,0,1],t)},F=(t,r)=>z([r,0,0,0,.5*(1-r),0,r,0,0,.5*(1-r),0,0,r,0,.5*(1-r),0,0,0,1,0],t),P=(t,r)=>{let e,i=m(r),o=t.filters||[],l=o.length;for(i||g(r+" not found. PixiPlugin.registerPIXI(PIXI)");--l>-1;)if(o[l]instanceof i)return o[l];return e=new i,"BlurFilter"===r&&(e.blur=0),o.push(e),t.filters=o,e},_=(t,r,e,i)=>{r.add(e,t,e[t],i[t]),r._props.push(t)},y=(t,r)=>{let e=m("ColorMatrixFilter")();return e.matrix=r,e.brightness(t,!0),e.matrix},C={contrast:1,saturation:1,colorizeAmount:0,colorize:"rgb(255,255,255)",hue:0,brightness:1},I=(t,r,e)=>{let i,o,l,s=P(t,"ColorMatrixFilter"),n=t._gsColorMatrixFilter=t._gsColorMatrixFilter||(t=>{let r,e={};for(r in t)e[r]=t[r];return e})(C),a=r.combineCMF&&!("colorMatrixFilter"in r&&!r.colorMatrixFilter);l=s.matrix,r.resolution&&(s.resolution=r.resolution),r.matrix&&r.matrix.length===l.length?(o=r.matrix,1!==n.contrast&&_("contrast",e,n,C),n.hue&&_("hue",e,n,C),1!==n.brightness&&_("brightness",e,n,C),n.colorizeAmount&&(_("colorize",e,n,C),_("colorizeAmount",e,n,C)),1!==n.saturation&&_("saturation",e,n,C)):(o=d.slice(),null!=r.contrast?(o=F(o,+r.contrast),_("contrast",e,n,r)):1!==n.contrast&&(a?o=F(o,n.contrast):_("contrast",e,n,C)),null!=r.hue?(o=w(o,+r.hue),_("hue",e,n,r)):n.hue&&(a?o=w(o,n.hue):_("hue",e,n,C)),null!=r.brightness?(o=y(+r.brightness,o),_("brightness",e,n,r)):1!==n.brightness&&(a?o=y(n.brightness,o):_("brightness",e,n,C)),null!=r.colorize?(r.colorizeAmount="colorizeAmount"in r?+r.colorizeAmount:1,o=A(o,r.colorize,r.colorizeAmount),_("colorize",e,n,r),_("colorizeAmount",e,n,r)):n.colorizeAmount&&(a?o=A(o,n.colorize,n.colorizeAmount):(_("colorize",e,n,C),_("colorizeAmount",e,n,C))),null!=r.saturation?(o=M(o,+r.saturation),_("saturation",e,n,r)):1!==n.saturation&&(a?o=M(o,n.saturation):_("saturation",e,n,C))),i=o.length;for(;--i>-1;)o[i]!==l[i]&&e.add(l,i,l[i],o[i],"colorMatrixFilter");e._props.push("colorMatrixFilter")},X=(t,{t:r,p:e,color:i,set:o})=>{o(r,e,i[0]<<16|i[1]<<8|i[2])},v=(t,{g:r})=>{r&&(r.dirty++,r.clearDirty++)},S=(t,r)=>{r.t.visible=!!r.t.alpha},O=(t,r,i,o)=>{let n=t[r],a=e(p(n)?t[r.indexOf("set")||!p(t["get"+r.substr(3)])?r:"get"+r.substr(3)]():n),u=e(i);o._pt=new l(o._pt,t,r,0,0,X,{t:t,p:r,color:a,set:s(t,r)}),o.add(a,0,a[0],u[0]),o.add(a,1,a[1],u[1]),o.add(a,2,a[2],u[2])},D={tint:1,lineColor:1,fillColor:1},Y="position,scale,skew,pivot,anchor,tilePosition,tileScale".split(","),k={x:"position",y:"position",tileX:"tilePosition",tileY:"tilePosition"},B={colorMatrixFilter:1,saturation:1,contrast:1,hue:1,colorize:1,colorizeAmount:1,brightness:1,combineCMF:1},E=Math.PI/180,N=t=>"string"==typeof t,R=t=>N(t)&&"="===t.charAt(1)?t.substr(0,2)+parseFloat(t.substr(2))*E:t*E,V=(t,r)=>r.set(r.t,r.p,1===t?r.e:Math.round(1e5*(r.s+r.c*t))/1e5,r),j=(t,r,e,i,o,s)=>{let n,a,u=360*(s?E:1),h=N(o),c=h&&"="===o.charAt(1)?+(o.charAt(0)+"1"):0,p=parseFloat(c?o.substr(2):o)*(s?E:1),g=c?p*c:p-i,d=i+g;return h&&(n=o.split("_")[1],"short"===n&&(g%=u,g!==g%(u/2)&&(g+=g<0?u:-u)),"cw"===n&&g<0?g=(g+1e10*u)%u-~~(g/u)*u:"ccw"===n&&g>0&&(g=(g-1e10*u)%u-~~(g/u)*u)),t._pt=a=new l(t._pt,r,e,i,g,V),a.e=d,a},G=()=>{h()&&(r=window,t=c(),o=i=o||r.PIXI,n=o&&o.VERSION&&"4"===o.VERSION.charAt(0),e=r=>t.utils.splitColor("0x"===(r+"").substr(0,2)?"#"+r.substr(2):r))};for(a=0;a<Y.length;a++)u=Y[a],k[u+"X"]=u,k[u+"Y"]=u;const L={version:"3.12.0",name:"pixi",register(r,e,i){t=r,l=i,s=e.getSetter,G()},registerPIXI(t){o=t},init(t,r,e,i,s){if(o||G(),!(o&&t instanceof o.DisplayObject))return g(t),!1;let a,u,h,c,p,d,f,b,x;for(d in r){if(a=k[d],h=r[d],a)u=~d.charAt(d.length-1).toLowerCase().indexOf("x")?"x":"y",this.add(t[a],u,t[a][u],"skew"===a?R(h):h,0,0,0,0,0,1);else if("scale"===d||"anchor"===d||"pivot"===d||"tileScale"===d)this.add(t[d],"x",t[d].x,h),this.add(t[d],"y",t[d].y,h);else if("rotation"===d||"angle"===d)j(this,t,d,t[d],h,"rotation"===d);else if(B[d])c||(I(t,r.colorMatrixFilter||r,this),c=!0);else if("blur"===d||"blurX"===d||"blurY"===d||"blurPadding"===d){if(p=P(t,"BlurFilter"),this.add(p,d,p[d],h),0!==r.blurPadding)for(f=r.blurPadding||2*Math.max(p[d],h),b=t.filters.length;--b>-1;)t.filters[b].padding=Math.max(t.filters[b].padding,f)}else if(D[d])if(("lineColor"===d||"fillColor"===d)&&t instanceof o.Graphics)for(x=(t.geometry||t).graphicsData,this._pt=new l(this._pt,t,d,0,0,v,{g:t.geometry||t}),b=x.length;--b>-1;)O(n?x[b]:x[b][d.substr(0,4)+"Style"],n?d:"color",h,this);else O(t,d,h,this);else"autoAlpha"===d?(this._pt=new l(this._pt,t,"visible",0,0,S),this.add(t,"alpha",t.alpha,h),this._props.push("alpha","visible")):"resolution"!==d&&this.add(t,d,"get",h);this._props.push(d)}}};c()&&t.registerPlugin(L);export default L;export{L as PixiPlugin};
/*!
* ScrambleTextPlugin 3.11.5
* ScrambleTextPlugin 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

let D=/(?:^\s+|\s+$)/g;const u=/([\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 F(D){let u=D.nodeType,C="";if(1===u||9===u||11===u){if("string"==typeof D.textContent)return D.textContent;for(D=D.firstChild;D;D=D.nextSibling)C+=F(D)}else if(3===u||4===u)return D.nodeValue;return C}function C(F,C,E,e){if(F+="",E&&(F=F.trim?F.trim():F.replace(D,"")),C&&""!==C)return F.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(C);let t,n,r=[],i=F.length,s=0;for(;s<i;s++)n=F.charAt(s),(n.charCodeAt(0)>=55296&&n.charCodeAt(0)<=56319||F.charCodeAt(s+1)>=65024&&F.charCodeAt(s+1)<=65039)&&(t=((F.substr(s,12).split(u)||[])[1]||"").length||2,n=F.substr(s,t),r.emoji=1,s+=t-1),r.push(">"===n?"&gt;":"<"===n?"&lt;":!e||" "!==n||" "!==F.charAt(s-1)&&" "!==F.charAt(s+1)?n:"&nbsp;");return r}class E{constructor(D){this.chars=C(D),this.sets=[],this.length=50;for(let D=0;D<20;D++)this.sets[D]=a(80,this.chars)}grow(D){for(let u=0;u<20;u++)this.sets[u]+=a(D-this.length,this.chars);this.length=D}}let e,t,n=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,r=function(){return String.fromCharCode.apply(null,arguments)},i=r(103,114,101,101,110,115,111,99,107,46,99,111,109),s=function(D){var u="undefined"!=typeof window,F=0===(u?window.location.href:"").indexOf(r(102,105,108,101,58,47,47))||-1!==D.indexOf(r(108,111,99,97,108,104,111,115,116))||-1!==D.indexOf(r(49,50,55,46,48,32,48,46,49)),C=[i,r(99,111,100,101,112,101,110,46,105,111),r(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),r(99,111,100,101,112,101,110,46,100,101,118),r(99,111,100,101,112,101,110,46,97,112,112),r(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),r(112,101,110,115,46,99,108,111,117,100),r(99,115,115,45,116,114,105,99,107,115,46,99,111,109),r(99,100,112,110,46,105,111),r(112,101,110,115,46,105,111),r(103,97,110,110,111,110,46,116,118),r(99,111,100,101,99,97,110,121,111,110,46,110,101,116),r(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),r(99,101,114,101,98,114,97,120,46,99,111,46,117,107),r(116,121,109,112,97,110,117,115,46,110,101,116),r(116,119,101,101,110,109,97,120,46,99,111,109),r(112,108,110,107,114,46,99,111),r(104,111,116,106,97,114,46,99,111,109),r(119,101,98,112,97,99,107,98,105,110,46,99,111,109),r(97,114,99,104,105,118,101,46,111,114,103),r(99,111,100,101,115,97,110,100,98,111,120,46,105,111),r(99,115,98,46,97,112,112),r(115,116,97,99,107,98,108,105,116,122,46,99,111,109),r(115,116,97,99,107,98,108,105,116,122,46,105,111),r(99,111,100,105,101,114,46,105,111),r(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),r(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),r(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),r(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),r(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),r(106,115,102,105,100,100,108,101,46,110,101,116)],E=function(){u&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",E):(document.removeEventListener("readystatechange",E),u&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(r(37,99,87,97,114,110,105,110,103),r(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(r(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"ScrambleTextPlugin"+r(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(r(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),r(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},e=C.length;for(setTimeout(E,50);--e>-1;)if(-1!==D.indexOf(C[e]))return!0;return F||!setTimeout((function(){u&&(window.location.href=r(104,116,116,112,115,58,47,47)+i+r(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=ScrambleTextPlugin&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),o=/\s+/g,a=(D,u)=>{let F=u.length,C="";for(;--D>-1;)C+=u[~~(Math.random()*F)];return C},l="ABCDEFGHIJKLMNOPQRSTUVWXYZ",B=l.toLowerCase(),A={upperCase:new E(l),lowerCase:new E(B),upperAndLowerCase:new E(l+B)},h=()=>{t=e=n()};const c={version:"3.11.5",name:"scrambleText",register(D,u,F){e=D,h()},init(D,u,e,n,r){if(t||h(),this.prop="innerHTML"in D?"innerHTML":"textContent"in D?"textContent":0,!this.prop)return;this.target=D,"object"!=typeof u&&(u={text:u});let i,a,l,B,c=u.text||u.value||"",d=!1!==u.trim,g=this;return g.delimiter=i=u.delimiter||"",g.original=C(F(D).replace(o," ").split("&nbsp;").join(""),i,d),"{original}"!==c&&!0!==c&&null!=c||(c=g.original.join(i)),g.text=C((c||"").replace(o," "),i,d),g.hasClass=!(!u.newClass&&!u.oldClass),g.newClass=u.newClass,g.oldClass=u.oldClass,B=""===i,g.textHasEmoji=B&&!!g.text.emoji,g.charsHaveEmoji=!!u.chars&&!!C(u.chars).emoji,g.length=B?g.original.length:g.original.join(i).length,g.lengthDif=(B?g.text.length:g.text.join(i).length)-g.length,g.fillChar=u.fillChar||u.chars&&~u.chars.indexOf(" ")?"&nbsp;":"",g.charSet=l=A[u.chars||"upperCase"]||new E(u.chars),g.speed=.05/(u.speed||1),g.prevScrambleTime=0,g.setIndex=20*Math.random()|0,a=g.length+Math.max(g.lengthDif,0),a>l.length&&l.grow(a),g.chars=l.sets[g.setIndex],g.revealDelay=u.revealDelay||0,g.tweenLength=!1!==u.tweenLength,g.tween=e,g.rightToLeft=!!u.rightToLeft,g._props.push("scrambleText","text"),s},render(D,u){let F,E,e,t,n,r,i,s,o,a,l,{target:B,prop:A,text:h,delimiter:c,tween:d,prevScrambleTime:g,revealDelay:p,setIndex:f,chars:m,charSet:w,length:x,textHasEmoji:j,charsHaveEmoji:b,lengthDif:T,tweenLength:v,oldClass:y,newClass:S,rightToLeft:L,fillChar:_,speed:H,original:M,hasClass:O}=u,I=h.length,P=d._time,W=P-g;p&&(d._from&&(P=d._dur-P),D=0===P?0:P<p?1e-6:P===d._dur?1:d._ease((P-p)/(d._dur-p))),D<0?D=0:D>1&&(D=1),L&&(D=1-D),F=~~(D*I+.5),D?((W>H||W<-H)&&(u.setIndex=f=(f+(19*Math.random()|0))%20,u.chars=w.sets[f],u.prevScrambleTime+=W),t=m):t=M.join(c),l=d._from?D:1-D,a=x+(v?d._from?l*l*l:1-l*l*l:1)*T,L?1!==D||!d._from&&"isFromStart"!==d.data?(i=h.slice(F).join(c),e=b?C(t).slice(0,a-(j?C(i):i).length+.5|0).join(""):t.substr(0,a-(j?C(i):i).length+.5|0),t=i):(e="",t=M.join(c)):(e=h.slice(0,F).join(c),E=(j?C(e):e).length,t=b?C(t).slice(E,a+.5|0).join(""):t.substr(E,a-E+.5|0)),O?(s=L?y:S,o=L?S:y,n=s&&0!==F,r=o&&F!==I,i=(n?"<span class='"+s+"'>":"")+e+(n?"</span>":"")+(r?"<span class='"+o+"'>":"")+c+t+(r?"</span>":"")):i=e+c+t,B[A]="&nbsp;"===_&&~i.indexOf(" ")?i.split(" ").join("&nbsp;&nbsp;"):i}};c.emojiSafeSplit=C,c.getText=F,n()&&e.registerPlugin(c);export default c;export{c as ScrambleTextPlugin};
let D=/(?:^\s+|\s+$)/g;const u=/([\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 F(D){let u=D.nodeType,C="";if(1===u||9===u||11===u){if("string"==typeof D.textContent)return D.textContent;for(D=D.firstChild;D;D=D.nextSibling)C+=F(D)}else if(3===u||4===u)return D.nodeValue;return C}function C(F,C,E,e){if(F+="",E&&(F=F.trim?F.trim():F.replace(D,"")),C&&""!==C)return F.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(C);let t,n,r=[],i=F.length,s=0;for(;s<i;s++)n=F.charAt(s),(n.charCodeAt(0)>=55296&&n.charCodeAt(0)<=56319||F.charCodeAt(s+1)>=65024&&F.charCodeAt(s+1)<=65039)&&(t=((F.substr(s,12).split(u)||[])[1]||"").length||2,n=F.substr(s,t),r.emoji=1,s+=t-1),r.push(">"===n?"&gt;":"<"===n?"&lt;":!e||" "!==n||" "!==F.charAt(s-1)&&" "!==F.charAt(s+1)?n:"&nbsp;");return r}class E{constructor(D){this.chars=C(D),this.sets=[],this.length=50;for(let D=0;D<20;D++)this.sets[D]=l(80,this.chars)}grow(D){for(let u=0;u<20;u++)this.sets[u]+=l(D-this.length,this.chars);this.length=D}}let e,t,n=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,r=function(){return String.fromCharCode.apply(null,arguments)},i=r(103,114,101,101,110,115,111,99,107,46,99,111,109),s=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,o=function(D){var u="undefined"!=typeof window,F=0===(u?window.location.href:"").indexOf(r(102,105,108,101,58,47,47))||-1!==D.indexOf(r(108,111,99,97,108,104,111,115,116))||s.test(D),C=[i,r(99,111,100,101,112,101,110,46,105,111),r(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),r(99,111,100,101,112,101,110,46,100,101,118),r(99,111,100,101,112,101,110,46,97,112,112),r(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),r(112,101,110,115,46,99,108,111,117,100),r(99,115,115,45,116,114,105,99,107,115,46,99,111,109),r(99,100,112,110,46,105,111),r(112,101,110,115,46,105,111),r(103,97,110,110,111,110,46,116,118),r(99,111,100,101,99,97,110,121,111,110,46,110,101,116),r(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),r(99,101,114,101,98,114,97,120,46,99,111,46,117,107),r(116,121,109,112,97,110,117,115,46,110,101,116),r(116,119,101,101,110,109,97,120,46,99,111,109),r(112,108,110,107,114,46,99,111),r(104,111,116,106,97,114,46,99,111,109),r(119,101,98,112,97,99,107,98,105,110,46,99,111,109),r(97,114,99,104,105,118,101,46,111,114,103),r(99,111,100,101,115,97,110,100,98,111,120,46,105,111),r(99,115,98,46,97,112,112),r(115,116,97,99,107,98,108,105,116,122,46,99,111,109),r(115,116,97,99,107,98,108,105,116,122,46,105,111),r(99,111,100,105,101,114,46,105,111),r(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),r(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),r(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),r(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),r(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),r(106,115,102,105,100,100,108,101,46,110,101,116)],E=function(){if(u)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",E);else{document.removeEventListener("readystatechange",E);var D="object"==typeof e?e:u&&window.gsap;u&&window.console&&!window._gsapWarned&&"object"==typeof D&&!1!==D.config().trialWarn&&(console.log(r(37,99,87,97,114,110,105,110,103),r(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(r(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"ScrambleTextPlugin"+r(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(r(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),r(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},t=C.length;for(setTimeout(E,50);--t>-1;)if(-1!==D.indexOf(C[t]))return!0;return F||!setTimeout((function(){u&&(window.location.href=r(104,116,116,112,115,58,47,47)+i+r(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=ScrambleTextPlugin&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),a=/\s+/g,l=(D,u)=>{let F=u.length,C="";for(;--D>-1;)C+=u[~~(Math.random()*F)];return C},B="ABCDEFGHIJKLMNOPQRSTUVWXYZ",A=B.toLowerCase(),h={upperCase:new E(B),lowerCase:new E(A),upperAndLowerCase:new E(B+A)},c=()=>{t=e=n()};const d={version:"3.12.0",name:"scrambleText",register(D,u,F){e=D,c()},init(D,u,e,n,r){if(t||c(),this.prop="innerHTML"in D?"innerHTML":"textContent"in D?"textContent":0,!this.prop)return;this.target=D,"object"!=typeof u&&(u={text:u});let i,s,l,B,A=u.text||u.value||"",d=!1!==u.trim,g=this;return g.delimiter=i=u.delimiter||"",g.original=C(F(D).replace(a," ").split("&nbsp;").join(""),i,d),"{original}"!==A&&!0!==A&&null!=A||(A=g.original.join(i)),g.text=C((A||"").replace(a," "),i,d),g.hasClass=!(!u.newClass&&!u.oldClass),g.newClass=u.newClass,g.oldClass=u.oldClass,B=""===i,g.textHasEmoji=B&&!!g.text.emoji,g.charsHaveEmoji=!!u.chars&&!!C(u.chars).emoji,g.length=B?g.original.length:g.original.join(i).length,g.lengthDif=(B?g.text.length:g.text.join(i).length)-g.length,g.fillChar=u.fillChar||u.chars&&~u.chars.indexOf(" ")?"&nbsp;":"",g.charSet=l=h[u.chars||"upperCase"]||new E(u.chars),g.speed=.05/(u.speed||1),g.prevScrambleTime=0,g.setIndex=20*Math.random()|0,s=g.length+Math.max(g.lengthDif,0),s>l.length&&l.grow(s),g.chars=l.sets[g.setIndex],g.revealDelay=u.revealDelay||0,g.tweenLength=!1!==u.tweenLength,g.tween=e,g.rightToLeft=!!u.rightToLeft,g._props.push("scrambleText","text"),o},render(D,u){let F,E,e,t,n,r,i,s,o,a,l,{target:B,prop:A,text:h,delimiter:c,tween:d,prevScrambleTime:g,revealDelay:p,setIndex:f,chars:m,charSet:w,length:x,textHasEmoji:j,charsHaveEmoji:b,lengthDif:T,tweenLength:v,oldClass:y,newClass:S,rightToLeft:L,fillChar:_,speed:H,original:M,hasClass:O}=u,I=h.length,P=d._time,W=P-g;p&&(d._from&&(P=d._dur-P),D=0===P?0:P<p?1e-6:P===d._dur?1:d._ease((P-p)/(d._dur-p))),D<0?D=0:D>1&&(D=1),L&&(D=1-D),F=~~(D*I+.5),D?((W>H||W<-H)&&(u.setIndex=f=(f+(19*Math.random()|0))%20,u.chars=w.sets[f],u.prevScrambleTime+=W),t=m):t=M.join(c),l=d._from?D:1-D,a=x+(v?d._from?l*l*l:1-l*l*l:1)*T,L?1!==D||!d._from&&"isFromStart"!==d.data?(i=h.slice(F).join(c),e=b?C(t).slice(0,a-(j?C(i):i).length+.5|0).join(""):t.substr(0,a-(j?C(i):i).length+.5|0),t=i):(e="",t=M.join(c)):(e=h.slice(0,F).join(c),E=(j?C(e):e).length,t=b?C(t).slice(E,a+.5|0).join(""):t.substr(E,a-E+.5|0)),O?(s=L?y:S,o=L?S:y,n=s&&0!==F,r=o&&F!==I,i=(n?"<span class='"+s+"'>":"")+e+(n?"</span>":"")+(r?"<span class='"+o+"'>":"")+c+t+(r?"</span>":"")):i=e+c+t,B[A]="&nbsp;"===_&&~i.indexOf(" ")?i.split(" ").join("&nbsp;&nbsp;"):i}};d.emojiSafeSplit=C,d.getText=F,n()&&e.registerPlugin(d);export default d;export{d as ScrambleTextPlugin};
/*!
* ScrollSmoother 3.11.5
* ScrollSmoother 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

let e,t,r,o,s,i,n,a,l,c,d,h,g,f,p,u=()=>"undefined"!=typeof window,m=()=>e||u()&&(e=window.gsap)&&e.registerPlugin&&e,v=function(){return String.fromCharCode.apply(null,arguments)},y=v(103,114,101,101,110,115,111,99,107,46,99,111,109),w=(function(e){var t="undefined"!=typeof window,r=0===(t?window.location.href:"").indexOf(v(102,105,108,101,58,47,47))||-1!==e.indexOf(v(108,111,99,97,108,104,111,115,116))||-1!==e.indexOf(v(49,50,55,46,48,32,48,46,49)),o=[y,v(99,111,100,101,112,101,110,46,105,111),v(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),v(99,111,100,101,112,101,110,46,100,101,118),v(99,111,100,101,112,101,110,46,97,112,112),v(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),v(112,101,110,115,46,99,108,111,117,100),v(99,115,115,45,116,114,105,99,107,115,46,99,111,109),v(99,100,112,110,46,105,111),v(112,101,110,115,46,105,111),v(103,97,110,110,111,110,46,116,118),v(99,111,100,101,99,97,110,121,111,110,46,110,101,116),v(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),v(99,101,114,101,98,114,97,120,46,99,111,46,117,107),v(116,121,109,112,97,110,117,115,46,110,101,116),v(116,119,101,101,110,109,97,120,46,99,111,109),v(112,108,110,107,114,46,99,111),v(104,111,116,106,97,114,46,99,111,109),v(119,101,98,112,97,99,107,98,105,110,46,99,111,109),v(97,114,99,104,105,118,101,46,111,114,103),v(99,111,100,101,115,97,110,100,98,111,120,46,105,111),v(99,115,98,46,97,112,112),v(115,116,97,99,107,98,108,105,116,122,46,99,111,109),v(115,116,97,99,107,98,108,105,116,122,46,105,111),v(99,111,100,105,101,114,46,105,111),v(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),v(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),v(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),v(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),v(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),v(106,115,102,105,100,100,108,101,46,110,101,116)],s=function(){t&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",s):(document.removeEventListener("readystatechange",s),t&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(v(37,99,87,97,114,110,105,110,103),v(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(v(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"ScrollSmoother"+v(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(v(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),v(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},i=o.length;for(setTimeout(s,50);--i>-1;)if(-1!==e.indexOf(o[i]))return!0;r||setTimeout((function(){t&&(window.location.href=v(104,116,116,112,115,58,47,47)+y+v(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=ScrollSmoother&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),e=>{let t=o.querySelector(".ScrollSmoother-wrapper");return t||(t=o.createElement("div"),t.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(t,e),t.appendChild(e)),t});class S{constructor(u){t||S.register(e)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),u=this.vars=u||{},c&&c.kill(),c=this,f(this);let m,v,y,b,T,x,E,R,P,k,C,_,A,z,M,{smoothTouch:F,onUpdate:L,onStop:O,smooth:B,onFocusIn:H,normalizeScroll:I,wholePixels:N}=u,U=this,q=u.effectsPrefix||"",V=l.getScrollFunc(r),W=1===l.isTouch?!0===F?.8:parseFloat(F)||0:0===B||!1===B?0:parseFloat(B)||.8,D=W&&+u.speed||1,Y=0,j=0,K=1,G=h(0),J=()=>G.update(-Y),Q={y:0},X=()=>m.style.overflow="visible",Z=e=>{e.update();let t=e.getTween();t&&(t.pause(),t._time=t._dur,t._tTime=t._tDur),z=!1,e.animation.progress(e.progress,!0)},$=(e,t)=>{(e!==Y&&!k||t)&&(N&&(e=Math.round(e)),W&&(m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+e+", 0, 1)",m._gsap.y=e+"px"),j=e-Y,Y=e,l.isUpdating||S.isRefreshing||l.update())},ee=function(e){return arguments.length?(e<0&&(e=0),Q.y=-e,z=!0,k?Y=-e:$(-e),l.isRefreshing?b.update():V(e/D),this):-Y},te="undefined"!=typeof ResizeObserver&&!1!==u.autoResize&&new ResizeObserver(()=>{if(!l.isRefreshing){let e=l.maxScroll(v);e<-Y&&ee(e),p.restart(!0)}}),re=e=>{v.scrollTop=0,e.target.contains&&e.target.contains(v)||H&&!1===H(this,e)||(l.isInViewport(e.target)||e.target===M||this.scrollTo(e.target,!1,"center center"),M=e.target)},oe=(t,r)=>{let o,s,i,n;T.forEach(r=>{o=r.pins,n=r.markers,t.forEach(t=>{r.trigger&&t.trigger&&r!==t&&(t.trigger===r.trigger||t.pinnedContainer===r.trigger||r.trigger.contains(t.trigger))&&(s=t.start,i=(s-r.start-r.offset)/r.ratio-(s-r.start),o.forEach(e=>i-=e.distance/r.ratio-e.distance),t.setPositions(s+i,t.end+i),t.markerStart&&n.push(e.quickSetter([t.markerStart,t.markerEnd],"y","px")),t.pin&&t.end>0&&(i=t.end-t.start,o.push({start:t.start,end:t.end,distance:i,trig:t}),r.setPositions(r.start,r.end+i),r.vars.onRefresh(r)))})})},se=()=>{X(),requestAnimationFrame(X),T&&(T.forEach(e=>{let t=e.start,r=e.auto?Math.min(l.maxScroll(e.scroller),e.end):t+(e.end-t)/e.ratio,o=(r-e.end)/2;t-=o,r-=o,e.offset=o||1e-4,e.pins.length=0,e.setPositions(Math.min(t,r),Math.max(t,r)),e.vars.onRefresh(e)}),oe(l.sort())),G.reset()},ie=()=>l.addEventListener("refresh",se),ne=()=>T&&T.forEach(e=>e.vars.onRefresh(e)),ae=()=>(T&&T.forEach(e=>e.vars.onRefreshInit(e)),ne),le=(e,t,r,o)=>()=>{let s="function"==typeof t?t(r,o):t;return s||0===s||(s=o.getAttribute("data-"+q+e)||("speed"===e?1:0)),o.setAttribute("data-"+q+e,s),"auto"===s?s:parseFloat(s)},ce=(t,o,i,n,c)=>{c=("function"==typeof c?c(n,t):c)||0;let h,g,f,p,u,m,y=le("speed",o,n,t),w=le("lag",i,n,t),S=e.getProperty(t,"y"),b=t._gsap,x=()=>{o=y(),i=w(),h=parseFloat(o)||1,f="auto"===o,u=f?0:.5,p&&p.kill(),p=i&&e.to(t,{ease:d,overwrite:!1,y:"+=0",duration:i}),g&&(g.ratio=h,g.autoSpeed=f)},E=()=>{b.y=S+"px",b.renderTransform(1),x()},R=[],P=[],k=0,C=e=>{if(f){E();let o=((e,t)=>{let o,i,n=e.parentNode||s,a=e.getBoundingClientRect(),l=n.getBoundingClientRect(),c=l.top-a.top,d=l.bottom-a.bottom,h=(Math.abs(c)>Math.abs(d)?c:d)/(1-t),g=-h*t;return h>0&&(o=l.height/(r.innerHeight+l.height),i=.5===o?2*l.height:2*Math.min(l.height,-h*o/(2*o-1))*(t||1),g+=t?-i*t:-i/2,h+=i),{change:h,offset:g}})(t,a(0,1,-e.start/(e.end-e.start)));k=o.change,m=o.offset}else k=(e.end-e.start)*(1-h),m=0;R.forEach(e=>k-=e.distance*(1-h)),e.vars.onUpdate(e),p&&p.progress(1)};return x(),(1!==h||f||p)&&(g=l.create({trigger:f?t.parentNode:t,start:"top bottom+="+c,end:"bottom top-="+c,scroller:v,scrub:!0,refreshPriority:-999,onRefreshInit:E,onRefresh:C,onKill:e=>{let t=T.indexOf(e);t>=0&&T.splice(t,1),E()},onUpdate:t=>{let r,o,s,i=S+k*(t.progress-u),n=R.length,a=0;if(t.offset){if(n){for(o=-Y,s=t.end;n--;){if(r=R[n],r.trig.isActive||o>=r.start&&o<=r.end)return void(p&&(r.trig.progress+=r.trig.direction<0?.001:-.001,r.trig.update(0,0,1),p.resetTo("y",parseFloat(b.y),-j,!0),K&&p.progress(1)));o>r.end&&(a+=r.distance),s-=r.distance}i=S+a+k*((e.utils.clamp(t.start,t.end,o)-t.start-a)/(s-t.start)-u)}l=i+m,i=Math.round(1e5*l)/1e5||0,P.length&&!f&&P.forEach(e=>e(i-a)),p?(p.resetTo("y",i,-j,!0),K&&p.progress(1)):(b.y=i+"px",b.renderTransform(1))}var l}}),C(g),e.core.getCache(g.trigger).stRevert=ae,g.startY=S,g.pins=R,g.markers=P,g.ratio=h,g.autoSpeed=f,t.style.willChange="transform"),g};function de(){return y=m.clientHeight,m.style.overflow="visible",i.style.height=r.innerHeight+(y-r.innerHeight)/D+"px",y-r.innerHeight}ie(),l.addEventListener("killAll",ie),e.delayedCall(.5,()=>K=0),this.scrollTop=ee,this.scrollTo=(t,o,s)=>{let i=e.utils.clamp(0,l.maxScroll(r),isNaN(t)?this.offset(t,s):+t);o?k?e.to(this,{duration:W,scrollTop:i,overwrite:"auto",ease:d}):V(i):ee(i)},this.offset=(t,r)=>{let o,s=(t=n(t)[0]).style.cssText,i=l.create({trigger:t,start:r||"top top"});return T&&oe([i]),o=i.start/D,i.kill(!1),t.style.cssText=s,e.core.getCache(t).uncache=1,o},this.content=function(t){if(arguments.length){let r=n(t||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||i.children[0];return r!==m&&(m=r,P=m.getAttribute("style")||"",te&&te.observe(m),e.set(m,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),W||e.set(m,{clearProps:"transform"})),this}return m},this.wrapper=function(t){return arguments.length?(v=n(t||"#smooth-wrapper")[0]||w(m),R=v.getAttribute("style")||"",de(),e.set(v,W?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):v},this.effects=(e,t)=>{if(T||(T=[]),!e)return T.slice(0);(e=n(e)).forEach(e=>{let t=T.length;for(;t--;)T[t].trigger===e&&T[t].kill()}),t=t||{};let r,o,{speed:s,lag:i,effectsPadding:a}=t,l=[];for(r=0;r<e.length;r++)o=ce(e[r],s,i,r,a),o&&l.push(o);return T.push(...l),l},this.sections=(e,t)=>{if(x||(x=[]),!e)return x.slice(0);let r=n(e).map(e=>l.create({trigger:e,start:"top 120%",end:"bottom -20%",onToggle:t=>{e.style.opacity=t.isActive?"1":"0",e.style.pointerEvents=t.isActive?"all":"none"}}));return t&&t.add?x.push(...r):x=r.slice(0),r},this.content(u.content),this.wrapper(u.wrapper),this.render=e=>$(e||0===e?e:Y),this.getVelocity=()=>G.getVelocity(-Y),l.scrollerProxy(v,{scrollTop:ee,scrollHeight:()=>de()&&i.scrollHeight,fixedMarkers:!1!==u.fixedMarkers&&!!W,content:m,getBoundingClientRect:()=>({top:0,left:0,width:r.innerWidth,height:r.innerHeight})}),l.defaults({scroller:v});let he=l.getAll().filter(e=>e.scroller===r||e.scroller===v);he.forEach(e=>e.revert(!0,!0)),b=l.create({animation:e.fromTo(Q,{y:0},{y:()=>-de(),immediateRender:!1,ease:"none",data:"ScrollSmoother",duration:100,onUpdate:function(){if(this._dur){let e=z;e&&(Z(b),Q.y=Y),$(Q.y,e),J(),L&&!k&&L(U)}}}),onRefreshInit:e=>{if(S.isRefreshing=!0,T){let e=l.getAll().filter(e=>!!e.pin);T.forEach(t=>{t.vars.pinnedContainer||e.forEach(e=>{if(e.pin.contains(t.trigger)){let r=t.vars;r.pinnedContainer=e.pin,t.vars=null,t.init(r,t.animation)}})})}let t=e.getTween();A=t&&t._end>t._dp._time,_=Y,Q.y=0,W&&(1===l.isTouch&&(v.style.position="absolute"),v.scrollTop=0,1===l.isTouch&&(v.style.position="fixed"))},onRefresh:t=>{t.animation.invalidate(),t.setPositions(t.start,de()/D),A||Z(t),Q.y=-V()*D,$(Q.y),K||t.animation.progress(e.utils.clamp(0,1,_/D/-t.end)),A&&(t.progress-=.001,t.update()),S.isRefreshing=!1},id:"ScrollSmoother",scroller:r,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:()=>de()/D,onScrubComplete:()=>{G.reset(),O&&O(this)},scrub:W||!0}),this.smooth=function(e){return arguments.length&&(W=e||0,D=W&&+u.speed||1,b.scrubDuration(e)),b.getTween()?b.getTween().duration():0},b.getTween()&&(b.getTween().vars.ease=u.ease||d),this.scrollTrigger=b,u.effects&&this.effects(!0===u.effects?"[data-"+q+"speed], [data-"+q+"lag]":u.effects,{effectsPadding:u.effectsPadding}),u.sections&&this.sections(!0===u.sections?"[data-section]":u.sections),he.forEach(e=>{e.vars.scroller=v,e.revert(!1,!0),e.init(e.vars,e.animation)}),this.paused=function(e,t){return arguments.length?(!!k!==e&&(e?(b.getTween()&&b.getTween().pause(),V(-Y/D),G.reset(),C=l.normalizeScroll(),C&&C.disable(),k=l.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:()=>ee(-Y)}),k.nested=g(s,"wheel,touch,scroll",!0,!1!==t)):(k.nested.kill(),k.kill(),k=0,C&&C.enable(),b.progress=(-Y/D-b.start)/(b.end-b.start),Z(b))),this):!!k},this.kill=this.revert=()=>{this.paused(!1),Z(b),b.kill();let e=(T||[]).concat(x||[]),t=e.length;for(;t--;)e[t].kill();l.scrollerProxy(v),l.removeEventListener("killAll",ie),l.removeEventListener("refresh",se),v.style.cssText=R,m.style.cssText=P;let o=l.defaults({});o&&o.scroller===v&&l.defaults({scroller:r}),this.normalizer&&l.normalizeScroll(!1),clearInterval(E),c=null,te&&te.disconnect(),i.style.removeProperty("height"),r.removeEventListener("focusin",re)},this.refresh=(e,t)=>b.refresh(e,t),I&&(this.normalizer=l.normalizeScroll(!0===I?{debounce:!0,content:!W&&m}:I)),l.config(u),"overscrollBehavior"in r.getComputedStyle(i)&&e.set([i,s],{overscrollBehavior:"none"}),"scrollBehavior"in r.getComputedStyle(i)&&e.set([i,s],{scrollBehavior:"auto"}),r.addEventListener("focusin",re),E=setInterval(J,250),"loading"===o.readyState||requestAnimationFrame(()=>l.refresh())}get progress(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}static register(v){return t||(e=v||m(),u()&&window.document&&(r=window,o=document,s=o.documentElement,i=o.body),e&&(n=e.utils.toArray,a=e.utils.clamp,d=e.parseEase("expo"),f=e.core.context||function(){},p=e.delayedCall(.2,()=>l.isRefreshing||c&&c.refresh()).pause(),l=e.core.globals().ScrollTrigger,e.core.globals("ScrollSmoother",S),i&&l&&(h=l.core._getVelocityProp,g=l.core._inputObserver,S.refresh=l.refresh,t=1))),t}}S.version="3.11.5",S.create=e=>c&&e&&c.content()===n(e.content)[0]?c:new S(e),S.get=()=>c,m()&&e.registerPlugin(S);export default S;export{S as ScrollSmoother};
let e,t,r,o,s,i,n,a,l,c,d,h,f,g,p,u=()=>"undefined"!=typeof window,m=()=>e||u()&&(e=window.gsap)&&e.registerPlugin&&e,v=function(){return String.fromCharCode.apply(null,arguments)},y=v(103,114,101,101,110,115,111,99,107,46,99,111,109),w=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,b=(function(t){var r="undefined"!=typeof window,o=0===(r?window.location.href:"").indexOf(v(102,105,108,101,58,47,47))||-1!==t.indexOf(v(108,111,99,97,108,104,111,115,116))||w.test(t),s=[y,v(99,111,100,101,112,101,110,46,105,111),v(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),v(99,111,100,101,112,101,110,46,100,101,118),v(99,111,100,101,112,101,110,46,97,112,112),v(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),v(112,101,110,115,46,99,108,111,117,100),v(99,115,115,45,116,114,105,99,107,115,46,99,111,109),v(99,100,112,110,46,105,111),v(112,101,110,115,46,105,111),v(103,97,110,110,111,110,46,116,118),v(99,111,100,101,99,97,110,121,111,110,46,110,101,116),v(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),v(99,101,114,101,98,114,97,120,46,99,111,46,117,107),v(116,121,109,112,97,110,117,115,46,110,101,116),v(116,119,101,101,110,109,97,120,46,99,111,109),v(112,108,110,107,114,46,99,111),v(104,111,116,106,97,114,46,99,111,109),v(119,101,98,112,97,99,107,98,105,110,46,99,111,109),v(97,114,99,104,105,118,101,46,111,114,103),v(99,111,100,101,115,97,110,100,98,111,120,46,105,111),v(99,115,98,46,97,112,112),v(115,116,97,99,107,98,108,105,116,122,46,99,111,109),v(115,116,97,99,107,98,108,105,116,122,46,105,111),v(99,111,100,105,101,114,46,105,111),v(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),v(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),v(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),v(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),v(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),v(106,115,102,105,100,100,108,101,46,110,101,116)],i=function(){if(r)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",i);else{document.removeEventListener("readystatechange",i);var t="object"==typeof e?e:r&&window.gsap;r&&window.console&&!window._gsapWarned&&"object"==typeof t&&!1!==t.config().trialWarn&&(console.log(v(37,99,87,97,114,110,105,110,103),v(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(v(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"ScrollSmoother"+v(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(v(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),v(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},n=s.length;for(setTimeout(i,50);--n>-1;)if(-1!==t.indexOf(s[n]))return!0;o||setTimeout((function(){r&&(window.location.href=v(104,116,116,112,115,58,47,47)+y+v(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=ScrollSmoother&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),e=>l.maxScroll(e||r)),S=e=>{let t=o.querySelector(".ScrollSmoother-wrapper");return t||(t=o.createElement("div"),t.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(t,e),t.appendChild(e)),t};class T{constructor(u){t||T.register(e)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),u=this.vars=u||{},c&&c.kill(),c=this,g(this);let m,v,y,w,x,_,C,E,P,R,k,A,N,M,z,{smoothTouch:F,onUpdate:L,onStop:B,smooth:H,onFocusIn:O,normalizeScroll:I,wholePixels:U}=u,q=this,V=u.effectsPrefix||"",W=l.getScrollFunc(r),D=1===l.isTouch?!0===F?.8:parseFloat(F)||0:0===H||!1===H?0:parseFloat(H)||.8,j=D&&+u.speed||1,Y=0,K=0,$=1,G=h(0),J=()=>G.update(-Y),Q={y:0},X=()=>m.style.overflow="visible",Z=e=>{e.update();let t=e.getTween();t&&(t.pause(),t._time=t._dur,t._tTime=t._tDur),M=!1,e.animation.progress(e.progress,!0)},ee=(e,t)=>{(e!==Y&&!R||t)&&(U&&(e=Math.round(e)),D&&(m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+e+", 0, 1)",m._gsap.y=e+"px"),K=e-Y,Y=e,l.isUpdating||T.isRefreshing||l.update())},te=function(e){return arguments.length?(e<0&&(e=0),Q.y=-e,M=!0,R?Y=-e:ee(-e),l.isRefreshing?w.update():W(e/j),this):-Y},re="undefined"!=typeof ResizeObserver&&!1!==u.autoResize&&new ResizeObserver(()=>{if(!l.isRefreshing){let e=b(v)*j;e<-Y&&te(e),p.restart(!0)}}),oe=e=>{v.scrollTop=0,e.target.contains&&e.target.contains(v)||O&&!1===O(this,e)||(l.isInViewport(e.target)||e.target===z||this.scrollTo(e.target,!1,"center center"),z=e.target)},se=(e,t)=>{if(e<t.start)return e;let r=isNaN(t.ratio)?1:t.ratio,o=t.end-t.start,s=e-t.start,i=t.offset||0,n=t.pins||[],a=n.offset||0,l=t._startClamp&&t.start<=0||t.pins&&t.pins.offset?0:t._endClamp&&t.end===b()?1:.5;return n.forEach(t=>{o-=t.distance,t.nativeStart<=e&&(s-=t.distance)}),a&&(s*=(o-a/r)/o),e+(s-i*l)/r-s},ie=(t,r,o)=>{o||(t.pins.length=t.pins.offset=0);let s,i,n,a,l,c,d,h,f=t.pins,g=t.markers;for(d=0;d<r.length;d++)if(h=r[d],t.trigger&&h.trigger&&t!==h&&(h.trigger===t.trigger||h.pinnedContainer===t.trigger||t.trigger.contains(h.trigger))&&(l=h._startNative||h._startClamp||h.start,c=h._endNative||h._endClamp||h.end,n=se(l,t),a=h.pin&&c>0?n+(c-l):se(c,t),h.setPositions(n,a,!0,(h._startClamp?Math.max(0,n):n)-l),h.markerStart&&g.push(e.quickSetter([h.markerStart,h.markerEnd],"y","px")),h.pin&&h.end>0&&!o)){if(s=h.end-h.start,i=t._startClamp&&h.start<0,i){if(t.start>0)return t.setPositions(0,t.end+(t._startNative-t.start),!0),void ie(t,r);s+=h.start,f.offset=-h.start}f.push({start:h.start,nativeStart:l,end:h.end,distance:s,trig:h}),t.setPositions(t.start,t.end+(i?-h.start:s),!0)}},ne=(e,t)=>{x.forEach(r=>ie(r,e,t))},ae=()=>{X(),requestAnimationFrame(X),x&&(l.getAll().forEach(e=>{e._startNative=e.start,e._endNative=e.end}),x.forEach(e=>{let t=e._startClamp||e.start,r=e.autoSpeed?Math.min(b(),e.end):t+Math.abs((e.end-t)/e.ratio),o=r-e.end;if(t-=o/2,r-=o/2,t>r){let e=t;t=r,r=e}e._startClamp&&t<0?(r=e.ratio<0?b():e.end/e.ratio,o=r-e.end,t=0):(e.ratio<0||e._endClamp&&r>=b())&&(r=b(),t=e.ratio<0||e.ratio>1?0:r-(r-e.start)/e.ratio,o=(r-t)*e.ratio-(e.end-e.start)),e.offset=o||1e-4,e.pins.length=e.pins.offset=0,e.setPositions(t,r,!0)}),ne(l.sort())),G.reset()},le=()=>l.addEventListener("refresh",ae),ce=()=>x&&x.forEach(e=>e.vars.onRefresh(e)),de=()=>(x&&x.forEach(e=>e.vars.onRefreshInit(e)),ce),he=(e,t,r,o)=>()=>{let s="function"==typeof t?t(r,o):t;s||0===s||(s=o.getAttribute("data-"+V+e)||("speed"===e?1:0)),o.setAttribute("data-"+V+e,s);let i="clamp("===(s+"").substr(0,6);return{clamp:i,value:i?s.substr(6,s.length-7):s}},fe=(t,o,i,n,c)=>{c=("function"==typeof c?c(n,t):c)||0;let h,f,g,p,u,m,y=he("speed",o,n,t),w=he("lag",i,n,t),S=e.getProperty(t,"y"),T=t._gsap,_=[],C=()=>{o=y(),i=parseFloat(w().value),h=parseFloat(o.value)||1,g="auto"===o.value,u=g||f&&f._startClamp&&f.start<=0||_.offset?0:f&&f._endClamp&&f.end===b()?1:.5,p&&p.kill(),p=i&&e.to(t,{ease:d,overwrite:!1,y:"+=0",duration:i}),f&&(f.ratio=h,f.autoSpeed=g)},E=()=>{T.y=S+"px",T.renderTransform(1),C()},P=[],R=0,k=e=>{if(g){E();let o=((e,t)=>{let o,i,n=e.parentNode||s,a=e.getBoundingClientRect(),l=n.getBoundingClientRect(),c=l.top-a.top,d=l.bottom-a.bottom,h=(Math.abs(c)>Math.abs(d)?c:d)/(1-t),f=-h*t;return h>0&&(o=l.height/(r.innerHeight+l.height),i=.5===o?2*l.height:2*Math.min(l.height,Math.abs(-h*o/(2*o-1)))*(t||1),f+=t?-i*t:-i/2,h+=i),{change:h,offset:f}})(t,a(0,1,-e.start/(e.end-e.start)));R=o.change,m=o.offset}else m=_.offset||0,R=(e.end-e.start-m)*(1-h);_.forEach(e=>R-=e.distance*(1-h)),e.offset=R,e.vars.onUpdate(e),p&&p.progress(1)};return C(),(1!==h||g||p)&&(f=l.create({trigger:g?t.parentNode:t,start:()=>o.clamp?"clamp(top bottom+="+c+")":"top bottom+="+c,end:()=>o.value<0?"max":o.clamp?"clamp(bottom top-="+c+")":"bottom top-="+c,scroller:v,scrub:!0,refreshPriority:-999,onRefreshInit:E,onRefresh:k,onKill:e=>{let t=x.indexOf(e);t>=0&&x.splice(t,1),E()},onUpdate:t=>{let r,o,s,i=S+R*(t.progress-u),n=_.length,a=0;if(t.offset){if(n){for(o=-Y,s=t.end;n--;){if(r=_[n],r.trig.isActive||o>=r.start&&o<=r.end)return void(p&&(r.trig.progress+=r.trig.direction<0?.001:-.001,r.trig.update(0,0,1),p.resetTo("y",parseFloat(T.y),-K,!0),$&&p.progress(1)));o>r.end&&(a+=r.distance),s-=r.distance}i=S+a+R*((e.utils.clamp(t.start,t.end,o)-t.start-a)/(s-t.start)-u)}P.length&&!g&&P.forEach(e=>e(i-a)),l=i+m,i=Math.round(1e5*l)/1e5||0,p?(p.resetTo("y",i,-K,!0),$&&p.progress(1)):(T.y=i+"px",T.renderTransform(1))}var l}}),k(f),e.core.getCache(f.trigger).stRevert=de,f.startY=S,f.pins=_,f.markers=P,f.ratio=h,f.autoSpeed=g,t.style.willChange="transform"),f};function ge(){return y=m.clientHeight,m.style.overflow="visible",i.style.height=r.innerHeight+(y-r.innerHeight)/j+"px",y-r.innerHeight}le(),l.addEventListener("killAll",le),e.delayedCall(.5,()=>$=0),this.scrollTop=te,this.scrollTo=(t,r,o)=>{let s=e.utils.clamp(0,b(),isNaN(t)?this.offset(t,o):+t);r?R?e.to(this,{duration:D,scrollTop:s,overwrite:"auto",ease:d}):W(s):te(s)},this.offset=(t,r)=>{let o,s=(t=n(t)[0]).style.cssText,i=l.create({trigger:t,start:r||"top top"});return x&&($?l.refresh():ne([i],!0)),o=i.start/j,i.kill(!1),t.style.cssText=s,e.core.getCache(t).uncache=1,o},this.content=function(t){if(arguments.length){let r=n(t||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||i.children[0];return r!==m&&(m=r,P=m.getAttribute("style")||"",re&&re.observe(m),e.set(m,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),D||e.set(m,{clearProps:"transform"})),this}return m},this.wrapper=function(t){return arguments.length?(v=n(t||"#smooth-wrapper")[0]||S(m),E=v.getAttribute("style")||"",ge(),e.set(v,D?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):v},this.effects=(e,t)=>{if(x||(x=[]),!e)return x.slice(0);(e=n(e)).forEach(e=>{let t=x.length;for(;t--;)x[t].trigger===e&&x[t].kill()}),t=t||{};let r,o,{speed:s,lag:i,effectsPadding:a}=t,l=[];for(r=0;r<e.length;r++)o=fe(e[r],s,i,r,a),o&&l.push(o);return x.push(...l),l},this.sections=(e,t)=>{if(_||(_=[]),!e)return _.slice(0);let r=n(e).map(e=>l.create({trigger:e,start:"top 120%",end:"bottom -20%",onToggle:t=>{e.style.opacity=t.isActive?"1":"0",e.style.pointerEvents=t.isActive?"all":"none"}}));return t&&t.add?_.push(...r):_=r.slice(0),r},this.content(u.content),this.wrapper(u.wrapper),this.render=e=>ee(e||0===e?e:Y),this.getVelocity=()=>G.getVelocity(-Y),l.scrollerProxy(v,{scrollTop:te,scrollHeight:()=>ge()&&i.scrollHeight,fixedMarkers:!1!==u.fixedMarkers&&!!D,content:m,getBoundingClientRect:()=>({top:0,left:0,width:r.innerWidth,height:r.innerHeight})}),l.defaults({scroller:v});let pe=l.getAll().filter(e=>e.scroller===r||e.scroller===v);pe.forEach(e=>e.revert(!0,!0)),w=l.create({animation:e.fromTo(Q,{y:0},{y:()=>-ge(),immediateRender:!1,ease:"none",data:"ScrollSmoother",duration:100,onUpdate:function(){if(this._dur){let e=M;e&&(Z(w),Q.y=Y),ee(Q.y,e),J(),L&&!R&&L(q)}}}),onRefreshInit:e=>{if(T.isRefreshing)return;if(T.isRefreshing=!0,x){let e=l.getAll().filter(e=>!!e.pin);x.forEach(t=>{t.vars.pinnedContainer||e.forEach(e=>{if(e.pin.contains(t.trigger)){let r=t.vars;r.pinnedContainer=e.pin,t.vars=null,t.init(r,t.animation)}})})}let t=e.getTween();N=t&&t._end>t._dp._time,A=Y,Q.y=0,D&&(1===l.isTouch&&(v.style.position="absolute"),v.scrollTop=0,1===l.isTouch&&(v.style.position="fixed"))},onRefresh:t=>{t.animation.invalidate(),t.setPositions(t.start,ge()/j),N||Z(t),Q.y=-W()*j,ee(Q.y),$||t.animation.progress(e.utils.clamp(0,1,A/j/-t.end)),N&&(t.progress-=.001,t.update()),T.isRefreshing=!1},id:"ScrollSmoother",scroller:r,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:()=>ge()/j,onScrubComplete:()=>{G.reset(),B&&B(this)},scrub:D||!0}),this.smooth=function(e){return arguments.length&&(D=e||0,j=D&&+u.speed||1,w.scrubDuration(e)),w.getTween()?w.getTween().duration():0},w.getTween()&&(w.getTween().vars.ease=u.ease||d),this.scrollTrigger=w,u.effects&&this.effects(!0===u.effects?"[data-"+V+"speed], [data-"+V+"lag]":u.effects,{effectsPadding:u.effectsPadding}),u.sections&&this.sections(!0===u.sections?"[data-section]":u.sections),pe.forEach(e=>{e.vars.scroller=v,e.revert(!1,!0),e.init(e.vars,e.animation)}),this.paused=function(e,t){return arguments.length?(!!R!==e&&(e?(w.getTween()&&w.getTween().pause(),W(-Y/j),G.reset(),k=l.normalizeScroll(),k&&k.disable(),R=l.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:()=>te(-Y)}),R.nested=f(s,"wheel,touch,scroll",!0,!1!==t)):(R.nested.kill(),R.kill(),R=0,k&&k.enable(),w.progress=(-Y/j-w.start)/(w.end-w.start),Z(w))),this):!!R},this.kill=this.revert=()=>{this.paused(!1),Z(w),w.kill();let e=(x||[]).concat(_||[]),t=e.length;for(;t--;)e[t].kill();l.scrollerProxy(v),l.removeEventListener("killAll",le),l.removeEventListener("refresh",ae),v.style.cssText=E,m.style.cssText=P;let o=l.defaults({});o&&o.scroller===v&&l.defaults({scroller:r}),this.normalizer&&l.normalizeScroll(!1),clearInterval(C),c=null,re&&re.disconnect(),i.style.removeProperty("height"),r.removeEventListener("focusin",oe)},this.refresh=(e,t)=>w.refresh(e,t),I&&(this.normalizer=l.normalizeScroll(!0===I?{debounce:!0,content:!D&&m}:I)),l.config(u),"overscrollBehavior"in r.getComputedStyle(i)&&e.set([i,s],{overscrollBehavior:"none"}),"scrollBehavior"in r.getComputedStyle(i)&&e.set([i,s],{scrollBehavior:"auto"}),r.addEventListener("focusin",oe),C=setInterval(J,250),"loading"===o.readyState||requestAnimationFrame(()=>l.refresh())}get progress(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}static register(v){return t||(e=v||m(),u()&&window.document&&(r=window,o=document,s=o.documentElement,i=o.body),e&&(n=e.utils.toArray,a=e.utils.clamp,d=e.parseEase("expo"),g=e.core.context||function(){},l=e.core.globals().ScrollTrigger,e.core.globals("ScrollSmoother",T),i&&l&&(p=e.delayedCall(.2,()=>l.isRefreshing||c&&c.refresh()).pause(),h=l.core._getVelocityProp,f=l.core._inputObserver,T.refresh=l.refresh,t=1))),t}}T.version="3.12.0",T.create=e=>c&&e&&c.content()===n(e.content)[0]?c:new T(e),T.get=()=>c,m()&&e.registerPlugin(T);export default T;export{T as ScrollSmoother};
/*!
* ScrollToPlugin 3.11.5
* ScrollToPlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let e,t,l,o,r,s,n,i,p=()=>"undefined"!=typeof window,a=()=>e||p()&&(e=window.gsap)&&e.registerPlugin&&e,c=e=>"string"==typeof e,y=e=>"function"==typeof e,f=(e,t)=>{let s="x"===t?"Width":"Height",n="scroll"+s,i="client"+s;return e===l||e===o||e===r?Math.max(o[n],r[n])-(l["inner"+s]||o[i]||r[i]):e[n]-e["offset"+s]},u=(e,t)=>{let s="scroll"+("x"===t?"Left":"Top");return e===l&&(null!=e.pageXOffset?s="page"+t.toUpperCase()+"Offset":e=null!=o[s]?o:r),()=>e[s]},g=(e,t)=>{if(!(e=s(e)[0])||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};let n=e.getBoundingClientRect(),i=!t||t===l||t===r,p=i?{top:o.clientTop-(l.pageYOffset||o.scrollTop||r.scrollTop||0),left:o.clientLeft-(l.pageXOffset||o.scrollLeft||r.scrollLeft||0)}:t.getBoundingClientRect(),a={x:n.left-p.left,y:n.top-p.top};return!i&&t&&(a.x+=u(t,"x")(),a.y+=u(t,"y")()),a},x=(e,t,l,o,r)=>isNaN(e)||"object"==typeof e?c(e)&&"="===e.charAt(1)?parseFloat(e.substr(2))*("-"===e.charAt(0)?-1:1)+o-r:"max"===e?f(t,l)-r:Math.min(f(t,l),g(e,t)[l]-r):parseFloat(e)-r,d=()=>{e=a(),p()&&e&&"undefined"!=typeof document&&document.body&&(l=window,r=document.body,o=document.documentElement,s=e.utils.toArray,e.config({autoKillThreshold:7}),n=e.config(),t=1)};const T={version:"3.11.5",name:"scrollTo",rawVars:1,register(t){e=t,d()},init(o,r,s,n,p){t||d();let a=this,f=e.getProperty(o,"scrollSnapType");a.isWin=o===l,a.target=o,a.tween=s,r=((e,t,l,o)=>{if(y(e)&&(e=e(t,l,o)),"object"!=typeof e)return c(e)&&"max"!==e&&"="!==e.charAt(1)?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};{let r,s={};for(r in e)s[r]="onAutoKill"!==r&&y(e[r])?e[r](t,l,o):e[r];return s}})(r,n,o,p),a.vars=r,a.autoKill=!!r.autoKill,a.getX=u(o,"x"),a.getY=u(o,"y"),a.x=a.xPrev=a.getX(),a.y=a.yPrev=a.getY(),i||(i=e.core.globals().ScrollTrigger),"smooth"===e.getProperty(o,"scrollBehavior")&&e.set(o,{scrollBehavior:"auto"}),f&&"none"!==f&&(a.snap=1,a.snapInline=o.style.scrollSnapType,o.style.scrollSnapType="none"),null!=r.x?(a.add(a,"x",a.x,x(r.x,o,"x",a.x,r.offsetX||0),n,p),a._props.push("scrollTo_x")):a.skipX=1,null!=r.y?(a.add(a,"y",a.y,x(r.y,o,"y",a.y,r.offsetY||0),n,p),a._props.push("scrollTo_y")):a.skipY=1},render(e,t){let o,r,s,p,a,c=t._pt,{target:y,tween:u,autoKill:g,xPrev:x,yPrev:d,isWin:T,snap:h,snapInline:k}=t;for(;c;)c.r(e,c.d),c=c._next;o=T||!t.skipX?t.getX():x,r=T||!t.skipY?t.getY():d,s=r-d,p=o-x,a=n.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),g&&(!t.skipX&&(p>a||p<-a)&&o<f(y,"x")&&(t.skipX=1),!t.skipY&&(s>a||s<-a)&&r<f(y,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(u.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(u,t.vars.onAutoKillParams||[]))),T?l.scrollTo(t.skipX?o:t.x,t.skipY?r:t.y):(t.skipY||(y.scrollTop=t.y),t.skipX||(y.scrollLeft=t.x)),!h||1!==e&&0!==e||(r=y.scrollTop,o=y.scrollLeft,k?y.style.scrollSnapType=k:y.style.removeProperty("scroll-snap-type"),y.scrollTop=r+1,y.scrollLeft=o+1,y.scrollTop=r,y.scrollLeft=o),t.xPrev=t.x,t.yPrev=t.y,i&&i.update()},kill(e){let t="scrollTo"===e;(t||"scrollTo_x"===e)&&(this.skipX=1),(t||"scrollTo_y"===e)&&(this.skipY=1)}};T.max=f,T.getOffset=g,T.buildGetter=u,a()&&e.registerPlugin(T);export default T;export{T as ScrollToPlugin};
let e,t,l,o,r,s,n,i,p=()=>"undefined"!=typeof window,a=()=>e||p()&&(e=window.gsap)&&e.registerPlugin&&e,c=e=>"string"==typeof e,y=e=>"function"==typeof e,f=(e,t)=>{let s="x"===t?"Width":"Height",n="scroll"+s,i="client"+s;return e===l||e===o||e===r?Math.max(o[n],r[n])-(l["inner"+s]||o[i]||r[i]):e[n]-e["offset"+s]},u=(e,t)=>{let s="scroll"+("x"===t?"Left":"Top");return e===l&&(null!=e.pageXOffset?s="page"+t.toUpperCase()+"Offset":e=null!=o[s]?o:r),()=>e[s]},g=(e,t)=>{if(!(e=s(e)[0])||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};let n=e.getBoundingClientRect(),i=!t||t===l||t===r,p=i?{top:o.clientTop-(l.pageYOffset||o.scrollTop||r.scrollTop||0),left:o.clientLeft-(l.pageXOffset||o.scrollLeft||r.scrollLeft||0)}:t.getBoundingClientRect(),a={x:n.left-p.left,y:n.top-p.top};return!i&&t&&(a.x+=u(t,"x")(),a.y+=u(t,"y")()),a},x=(e,t,l,o,r)=>isNaN(e)||"object"==typeof e?c(e)&&"="===e.charAt(1)?parseFloat(e.substr(2))*("-"===e.charAt(0)?-1:1)+o-r:"max"===e?f(t,l)-r:Math.min(f(t,l),g(e,t)[l]-r):parseFloat(e)-r,d=()=>{e=a(),p()&&e&&"undefined"!=typeof document&&document.body&&(l=window,r=document.body,o=document.documentElement,s=e.utils.toArray,e.config({autoKillThreshold:7}),n=e.config(),t=1)};const T={version:"3.12.0",name:"scrollTo",rawVars:1,register(t){e=t,d()},init(o,r,s,n,p){t||d();let a=this,f=e.getProperty(o,"scrollSnapType");a.isWin=o===l,a.target=o,a.tween=s,r=((e,t,l,o)=>{if(y(e)&&(e=e(t,l,o)),"object"!=typeof e)return c(e)&&"max"!==e&&"="!==e.charAt(1)?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};{let r,s={};for(r in e)s[r]="onAutoKill"!==r&&y(e[r])?e[r](t,l,o):e[r];return s}})(r,n,o,p),a.vars=r,a.autoKill=!!r.autoKill,a.getX=u(o,"x"),a.getY=u(o,"y"),a.x=a.xPrev=a.getX(),a.y=a.yPrev=a.getY(),i||(i=e.core.globals().ScrollTrigger),"smooth"===e.getProperty(o,"scrollBehavior")&&e.set(o,{scrollBehavior:"auto"}),f&&"none"!==f&&(a.snap=1,a.snapInline=o.style.scrollSnapType,o.style.scrollSnapType="none"),null!=r.x?(a.add(a,"x",a.x,x(r.x,o,"x",a.x,r.offsetX||0),n,p),a._props.push("scrollTo_x")):a.skipX=1,null!=r.y?(a.add(a,"y",a.y,x(r.y,o,"y",a.y,r.offsetY||0),n,p),a._props.push("scrollTo_y")):a.skipY=1},render(e,t){let o,r,s,p,a,c=t._pt,{target:y,tween:u,autoKill:g,xPrev:x,yPrev:d,isWin:T,snap:h,snapInline:k}=t;for(;c;)c.r(e,c.d),c=c._next;o=T||!t.skipX?t.getX():x,r=T||!t.skipY?t.getY():d,s=r-d,p=o-x,a=n.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),g&&(!t.skipX&&(p>a||p<-a)&&o<f(y,"x")&&(t.skipX=1),!t.skipY&&(s>a||s<-a)&&r<f(y,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(u.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(u,t.vars.onAutoKillParams||[]))),T?l.scrollTo(t.skipX?o:t.x,t.skipY?r:t.y):(t.skipY||(y.scrollTop=t.y),t.skipX||(y.scrollLeft=t.x)),!h||1!==e&&0!==e||(r=y.scrollTop,o=y.scrollLeft,k?y.style.scrollSnapType=k:y.style.removeProperty("scroll-snap-type"),y.scrollTop=r+1,y.scrollLeft=o+1,y.scrollTop=r,y.scrollLeft=o),t.xPrev=t.x,t.yPrev=t.y,i&&i.update()},kill(e){let t="scrollTo"===e;(t||"scrollTo_x"===e)&&(this.skipX=1),(t||"scrollTo_y"===e)&&(this.skipY=1)}};T.max=f,T.getOffset=g,T.buildGetter=u,a()&&e.registerPlugin(T);export default T;export{T as ScrollToPlugin};
/*!
* ScrollTrigger 3.11.5
* ScrollTrigger 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let e,t,r,i,o,s,n,a,l,c,d,p,h,g,u=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,f=1,m=[],v=[],y=[],x=Date.now,b=(e,t)=>t,w=(e,t)=>~y.indexOf(e)&&y[y.indexOf(e)+1][t],_=e=>!!~d.indexOf(e),T=(e,t,r,i,o)=>e.addEventListener(t,r,{passive:!i,capture:!!o}),S=(e,t,r,i)=>e.removeEventListener(t,r,!!i),k=()=>p&&p.isPressed||v.cache++,E=(e,t)=>{let r=o=>{if(o||0===o){f&&(i.history.scrollRestoration="manual");let t=p&&p.isPressed;o=r.v=Math.round(o)||(p&&p.iOS?1:0),e(o),r.cacheID=v.cache,t&&b("ss",o)}else(t||v.cache!==r.cacheID||b("ref"))&&(r.cacheID=v.cache,r.v=e());return r.v+r.offset};return r.offset=0,e&&r},P={s:"scrollLeft",p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:E((function(e){return arguments.length?i.scrollTo(e,M.sc()):i.pageXOffset||o.scrollLeft||s.scrollLeft||n.scrollLeft||0}))},M={s:"scrollTop",p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:P,sc:E((function(e){return arguments.length?i.scrollTo(P.sc(),e):i.pageYOffset||o.scrollTop||s.scrollTop||n.scrollTop||0}))},C=t=>e.utils.toArray(t)[0]||("string"==typeof t&&!1!==e.config().nullTargetWarn?console.warn("Element not found:",t):null),O=(t,{s:r,sc:i})=>{_(t)&&(t=o.scrollingElement||s);let n=v.indexOf(t),a=i===M.sc?1:2;!~n&&(n=v.push(t)-1),v[n+a]||t.addEventListener("scroll",k);let l=v[n+a],c=l||(v[n+a]=E(w(t,r),!0)||(_(t)?i:E((function(e){return arguments.length?t[r]=e:t[r]}))));return c.target=t,l||(c.smooth="smooth"===e.getProperty(t,"scrollBehavior")),c},A=(e,t,r)=>{let i=e,o=e,s=x(),n=s,a=t||50,l=Math.max(500,3*a),c=(e,t)=>{let l=x();t||l-s>a?(o=i,i=e,n=s,s=l):r?i+=e:i=o+(e-o)/(l-n)*(s-n)};return{update:c,reset:()=>{o=i=r?0:i,n=s=0},getVelocity:e=>{let t=n,a=o,d=x();return(e||0===e)&&e!==i&&c(e),s===n||d-n>l?0:(i+(r?a:-a))/((r?d:s)-t)*1e3}}},R=(e,t)=>(t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e),D=e=>{let t=Math.max(...e),r=Math.min(...e);return Math.abs(t)>=Math.abs(r)?t:r},Y=()=>{c=e.core.globals().ScrollTrigger,c&&c.core&&(()=>{let e=c.core,t=e.bridge||{},r=e._scrollers,i=e._proxies;r.push(...v),i.push(...y),v=r,y=i,b=(e,r)=>t[e](r)})()},I=c=>(e=c||u(),e&&"undefined"!=typeof document&&document.body&&(i=window,o=document,s=o.documentElement,n=o.body,d=[i,o,s,n],r=e.utils.clamp,g=e.core.context||function(){},l="onpointerenter"in n?"pointer":"mouse",a=L.isTouch=i.matchMedia&&i.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in i||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,h=L.eventTypes=("ontouchstart"in s?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in s?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(()=>f=0,500),Y(),t=1),t);P.op=M,v.cache=0;class L{constructor(e){this.init(e)}init(r){t||I(e)||console.warn("Please gsap.registerPlugin(Observer)"),c||Y();let{tolerance:d,dragMinimum:u,type:f,target:v,lineHeight:y,debounce:b,preventDefault:w,onStop:E,onStopDelay:L,ignore:X,wheelSpeed:z,event:B,onDragStart:F,onDragEnd:W,onDrag:H,onPress:N,onRelease:q,onRight:V,onLeft:U,onUp:G,onDown:j,onChangeX:K,onChangeY:Z,onChange:$,onToggleX:J,onToggleY:Q,onHover:ee,onHoverEnd:te,onMove:re,ignoreCheck:ie,isNormalizer:oe,onGestureStart:se,onGestureEnd:ne,onWheel:ae,onEnable:le,onDisable:ce,onClick:de,scrollSpeed:pe,capture:he,allowClicks:ge,lockAxis:ue,onLockAxis:fe}=r;this.target=v=C(v)||s,this.vars=r,X&&(X=e.utils.toArray(X)),d=d||1e-9,u=u||0,z=z||1,pe=pe||1,f=f||"wheel,touch,pointer",b=!1!==b,y||(y=parseFloat(i.getComputedStyle(n).lineHeight)||22);let me,ve,ye,xe,be,we,_e,Te=this,Se=0,ke=0,Ee=O(v,P),Pe=O(v,M),Me=Ee(),Ce=Pe(),Oe=~f.indexOf("touch")&&!~f.indexOf("pointer")&&"pointerdown"===h[0],Ae=_(v),Re=v.ownerDocument||o,De=[0,0,0],Ye=[0,0,0],Ie=0,Le=()=>Ie=x(),Xe=(e,t)=>(Te.event=e)&&X&&~X.indexOf(e.target)||t&&Oe&&"touch"!==e.pointerType||ie&&ie(e,t),ze=()=>{let e=Te.deltaX=D(De),t=Te.deltaY=D(Ye),r=Math.abs(e)>=d,i=Math.abs(t)>=d;$&&(r||i)&&$(Te,e,t,De,Ye),r&&(V&&Te.deltaX>0&&V(Te),U&&Te.deltaX<0&&U(Te),K&&K(Te),J&&Te.deltaX<0!=Se<0&&J(Te),Se=Te.deltaX,De[0]=De[1]=De[2]=0),i&&(j&&Te.deltaY>0&&j(Te),G&&Te.deltaY<0&&G(Te),Z&&Z(Te),Q&&Te.deltaY<0!=ke<0&&Q(Te),ke=Te.deltaY,Ye[0]=Ye[1]=Ye[2]=0),(xe||ye)&&(re&&re(Te),ye&&(H(Te),ye=!1),xe=!1),we&&!(we=!1)&&fe&&fe(Te),be&&(ae(Te),be=!1),me=0},Be=(e,t,r)=>{De[r]+=e,Ye[r]+=t,Te._vx.update(e),Te._vy.update(t),b?me||(me=requestAnimationFrame(ze)):ze()},Fe=(e,t)=>{ue&&!_e&&(Te.axis=_e=Math.abs(e)>Math.abs(t)?"x":"y",we=!0),"y"!==_e&&(De[2]+=e,Te._vx.update(e,!0)),"x"!==_e&&(Ye[2]+=t,Te._vy.update(t,!0)),b?me||(me=requestAnimationFrame(ze)):ze()},We=e=>{if(Xe(e,1))return;let t=(e=R(e,w)).clientX,r=e.clientY,i=t-Te.x,o=r-Te.y,s=Te.isDragging;Te.x=t,Te.y=r,(s||Math.abs(Te.startX-t)>=u||Math.abs(Te.startY-r)>=u)&&(H&&(ye=!0),s||(Te.isDragging=!0),Fe(i,o),s||F&&F(Te))},He=Te.onPress=e=>{Xe(e,1)||e&&e.button||(Te.axis=_e=null,ve.pause(),Te.isPressed=!0,e=R(e),Se=ke=0,Te.startX=Te.x=e.clientX,Te.startY=Te.y=e.clientY,Te._vx.reset(),Te._vy.reset(),T(oe?v:Re,h[1],We,w,!0),Te.deltaX=Te.deltaY=0,N&&N(Te))},Ne=Te.onRelease=t=>{if(Xe(t,1))return;S(oe?v:Re,h[1],We,!0);let r=!isNaN(Te.y-Te.startY),o=Te.isDragging&&(Math.abs(Te.x-Te.startX)>3||Math.abs(Te.y-Te.startY)>3),s=R(t);!o&&r&&(Te._vx.reset(),Te._vy.reset(),w&&ge&&e.delayedCall(.08,()=>{if(x()-Ie>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(Re.createEvent){let e=Re.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,i,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),Te.isDragging=Te.isGesturing=Te.isPressed=!1,E&&!oe&&ve.restart(!0),W&&o&&W(Te),q&&q(Te,o)},qe=e=>e.touches&&e.touches.length>1&&(Te.isGesturing=!0)&&se(e,Te.isDragging),Ve=()=>(Te.isGesturing=!1)||ne(Te),Ue=e=>{if(Xe(e))return;let t=Ee(),r=Pe();Be((t-Me)*pe,(r-Ce)*pe,1),Me=t,Ce=r,E&&ve.restart(!0)},Ge=e=>{if(Xe(e))return;e=R(e,w),ae&&(be=!0);let t=(1===e.deltaMode?y:2===e.deltaMode?i.innerHeight:1)*z;Be(e.deltaX*t,e.deltaY*t,0),E&&!oe&&ve.restart(!0)},je=e=>{if(Xe(e))return;let t=e.clientX,r=e.clientY,i=t-Te.x,o=r-Te.y;Te.x=t,Te.y=r,xe=!0,(i||o)&&Fe(i,o)},Ke=e=>{Te.event=e,ee(Te)},Ze=e=>{Te.event=e,te(Te)},$e=e=>Xe(e)||R(e,w)&&de(Te);ve=Te._dc=e.delayedCall(L||.25,()=>{Te._vx.reset(),Te._vy.reset(),ve.pause(),E&&E(Te)}).pause(),Te.deltaX=Te.deltaY=0,Te._vx=A(0,50,!0),Te._vy=A(0,50,!0),Te.scrollX=Ee,Te.scrollY=Pe,Te.isDragging=Te.isGesturing=Te.isPressed=!1,g(this),Te.enable=e=>(Te.isEnabled||(T(Ae?Re:v,"scroll",k),f.indexOf("scroll")>=0&&T(Ae?Re:v,"scroll",Ue,w,he),f.indexOf("wheel")>=0&&T(v,"wheel",Ge,w,he),(f.indexOf("touch")>=0&&a||f.indexOf("pointer")>=0)&&(T(v,h[0],He,w,he),T(Re,h[2],Ne),T(Re,h[3],Ne),ge&&T(v,"click",Le,!1,!0),de&&T(v,"click",$e),se&&T(Re,"gesturestart",qe),ne&&T(Re,"gestureend",Ve),ee&&T(v,l+"enter",Ke),te&&T(v,l+"leave",Ze),re&&T(v,l+"move",je)),Te.isEnabled=!0,e&&e.type&&He(e),le&&le(Te)),Te),Te.disable=()=>{Te.isEnabled&&(m.filter(e=>e!==Te&&_(e.target)).length||S(Ae?Re:v,"scroll",k),Te.isPressed&&(Te._vx.reset(),Te._vy.reset(),S(oe?v:Re,h[1],We,!0)),S(Ae?Re:v,"scroll",Ue,he),S(v,"wheel",Ge,he),S(v,h[0],He,he),S(Re,h[2],Ne),S(Re,h[3],Ne),S(v,"click",Le,!0),S(v,"click",$e),S(Re,"gesturestart",qe),S(Re,"gestureend",Ve),S(v,l+"enter",Ke),S(v,l+"leave",Ze),S(v,l+"move",je),Te.isEnabled=Te.isPressed=Te.isDragging=!1,ce&&ce(Te))},Te.kill=Te.revert=()=>{Te.disable();let e=m.indexOf(Te);e>=0&&m.splice(e,1),p===Te&&(p=0)},m.push(Te),oe&&_(v)&&(p=Te),Te.enable(B)}get velocityX(){return this._vx.getVelocity()}get velocityY(){return this._vy.getVelocity()}}L.version="3.11.5",L.create=e=>new L(e),L.register=I,L.getAll=()=>m.slice(),L.getById=e=>m.filter(t=>t.vars.id===e)[0],u()&&e.registerPlugin(L);let X,z,B,F,W,H,N,q,V,U,G,j,K,Z,$,J,Q,ee,te,re,ie,oe,se,ne,ae,le,ce,de,pe,he,ge,ue,fe,me,ve=1,ye=Date.now,xe=ye(),be=0,we=0,_e=()=>we&&requestAnimationFrame(_e),Te=()=>Z=1,Se=()=>Z=0,ke=e=>e,Ee=e=>Math.round(1e5*e)/1e5||0,Pe=()=>"undefined"!=typeof window,Me=()=>X||Pe()&&(X=window.gsap)&&X.registerPlugin&&X,Ce=e=>!!~N.indexOf(e),Oe=e=>w(e,"getBoundingClientRect")||(Ce(e)?()=>(Ct.width=B.innerWidth,Ct.height=B.innerHeight,Ct):()=>qe(e)),Ae=(e,{s:t,d2:r,d:i,a:o})=>Math.max(0,(t="scroll"+r)&&(o=w(e,t))?o()-Oe(e)()[i]:Ce(e)?(W[t]||H[t])-(B["inner"+r]||W["client"+r]||H["client"+r]):e[t]-e["offset"+r]),Re=(e,t)=>{for(let r=0;r<te.length;r+=3)(!t||~t.indexOf(te[r+1]))&&e(te[r],te[r+1],te[r+2])},De=e=>"string"==typeof e,Ye=e=>"function"==typeof e,Ie=e=>"number"==typeof e,Le=e=>"object"==typeof e,Xe=(e,t,r)=>e&&e.progress(t?0:1)&&r&&e.pause(),ze=(e,t)=>{if(e.enabled){let r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},Be=Math.abs,Fe="padding",We="px",He=e=>B.getComputedStyle(e),Ne=(e,t)=>{for(let r in t)r in e||(e[r]=t[r]);return e},qe=(e,t)=>{let r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==He(e)[$]&&X.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return r&&r.progress(0).kill(),i},Ve=(e,{d2:t})=>e["offset"+t]||e["client"+t]||0,Ue=e=>{let t,r=[],i=e.labels,o=e.duration();for(t in i)r.push(i[t]/o);return r},Ge=e=>{let t=X.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort((e,t)=>e-t);return r?(e,i,o=.001)=>{let s;if(!i)return t(e);if(i>0){for(e-=o,s=0;s<r.length;s++)if(r[s]>=e)return r[s];return r[s-1]}for(s=r.length,e+=o;s--;)if(r[s]<=e)return r[s];return r[0]}:(r,i,o=.001)=>{let s=t(r);return!i||Math.abs(s-r)<o||s-r<0==i<0?s:t(i<0?r-e:r+e)}},je=(e,t,r,i)=>r.split(",").forEach(r=>e(t,r,i)),Ke=(e,t,r,i,o)=>e.addEventListener(t,r,{passive:!i,capture:!!o}),Ze=(e,t,r,i)=>e.removeEventListener(t,r,!!i),$e=(e,t,r)=>{(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))},Je={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Qe={toggleActions:"play",anticipatePin:0},et={top:0,left:0,center:.5,bottom:1,right:1},tt=(e,t)=>{if(De(e)){let r=e.indexOf("="),i=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(i*=t/100),e=e.substr(0,r-1)),e=i+(e in et?et[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},rt=(e,t,r,i,{startColor:o,endColor:s,fontSize:n,indent:a,fontWeight:l},c,d,p)=>{let h=F.createElement("div"),g=Ce(r)||"fixed"===w(r,"pinType"),u=-1!==e.indexOf("scroller"),f=g?H:r,m=-1!==e.indexOf("start"),v=m?o:s,y="border-color:"+v+";font-size:"+n+";color:"+v+";font-weight:"+l+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((u||p)&&g?"fixed;":"absolute;"),(u||p||!g)&&(y+=(i===M?"right":"bottom")+":"+(c+parseFloat(a))+"px;"),d&&(y+="box-sizing:border-box;text-align:left;width:"+d.offsetWidth+"px;"),h._isStart=m,h.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),h.style.cssText=y,h.innerText=t||0===t?e+"-"+t:e,f.children[0]?f.insertBefore(h,f.children[0]):f.appendChild(h),h._offset=h["offset"+i.op.d2],it(h,0,i,m),h},it=(e,t,r,i)=>{let o={display:"block"},s=r[i?"os2":"p2"],n=r[i?"p2":"os2"];e._isFlipped=i,o[r.a+"Percent"]=i?-100:0,o[r.a]=i?"1px":0,o["border"+s+"Width"]=1,o["border"+n+"Width"]=0,o[r.p]=t+"px",X.set(e,o)},ot=[],st={},nt=()=>ye()-be>34&&(ge||(ge=requestAnimationFrame(_t))),at=()=>{(!se||!se.isPressed||se.startX>H.clientWidth)&&(v.cache++,se?ge||(ge=requestAnimationFrame(_t)):_t(),be||gt("scrollStart"),be=ye())},lt=()=>{le=B.innerWidth,ae=B.innerHeight},ct=()=>{v.cache++,!K&&!oe&&!F.fullscreenElement&&!F.webkitFullscreenElement&&(!ne||le!==B.innerWidth||Math.abs(B.innerHeight-ae)>.25*B.innerHeight)&&q.restart(!0)},dt={},pt=[],ht=()=>Ze(It,"scrollEnd",ht)||xt(!0),gt=e=>dt[e]&&dt[e].map(e=>e())||pt,ut=[],ft=e=>{for(let t=0;t<ut.length;t+=5)(!e||ut[t+4]&&ut[t+4].query===e)&&(ut[t].style.cssText=ut[t+1],ut[t].getBBox&&ut[t].setAttribute("transform",ut[t+2]||""),ut[t+3].uncache=1)},mt=(e,t)=>{let r;for(J=0;J<ot.length;J++)r=ot[J],!r||t&&r._ctx!==t||(e?r.kill(1):r.revert(!0,!0));t&&ft(t),t||gt("revert")},vt=(e,t)=>{v.cache++,(t||!ue)&&v.forEach(e=>Ye(e)&&e.cacheID++&&(e.rec=0)),De(e)&&(B.history.scrollRestoration=pe=e)},yt=0,xt=(e,t)=>{if(be&&!e)return void Ke(It,"scrollEnd",ht);ue=It.isRefreshing=!0,v.forEach(e=>Ye(e)&&e.cacheID++&&(e.rec=e()));let r=gt("refreshInit");re&&It.sort(),t||mt(),v.forEach(e=>{Ye(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),ot.slice(0).forEach(e=>e.refresh()),ot.forEach((e,t)=>{if(e._subPinOffset&&e.pin){let t=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-r),e.refresh()}}),ot.forEach(e=>"max"===e.vars.end&&e.setPositions(e.start,Math.max(e.start+1,Ae(e.scroller,e._dir)))),r.forEach(e=>e&&e.render&&e.render(-1)),v.forEach(e=>{Ye(e)&&(e.smooth&&requestAnimationFrame(()=>e.target.style.scrollBehavior="smooth"),e.rec&&e(e.rec))}),vt(pe,1),q.pause(),yt++,ue=2,_t(2),ot.forEach(e=>Ye(e.vars.onRefresh)&&e.vars.onRefresh(e)),ue=It.isRefreshing=!1,gt("refresh")},bt=0,wt=1,_t=e=>{if(!ue||2===e){It.isUpdating=!0,me&&me.update(0);let e=ot.length,t=ye(),r=t-xe>=50,i=e&&ot[0].scroll();if(wt=bt>i?-1:1,ue||(bt=i),r&&(be&&!Z&&t-be>200&&(be=0,gt("scrollEnd")),G=xe,xe=t),wt<0){for(J=e;J-- >0;)ot[J]&&ot[J].update(0,r);wt=1}else for(J=0;J<e;J++)ot[J]&&ot[J].update(0,r);It.isUpdating=!1}ge=0},Tt=["left","top","bottom","right","marginBottom","marginRight","marginTop","marginLeft","display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],St=Tt.concat(["width","height","boxSizing","maxWidth","maxHeight","position","margin",Fe,"paddingTop","paddingRight","paddingBottom","paddingLeft"]),kt=(e,t,r,i)=>{if(!e._gsap.swappedIn){let o,s=Tt.length,n=t.style,a=e.style;for(;s--;)o=Tt[s],n[o]=r[o];n.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(n.display="inline-block"),a.bottom=a.right="auto",n.flexBasis=r.flexBasis||"auto",n.overflow="visible",n.boxSizing="border-box",n.width=Ve(e,P)+We,n.height=Ve(e,M)+We,n.padding=a.margin=a.top=a.left="0",Pt(i),a.width=a.maxWidth=r.width,a.height=a.maxHeight=r.height,a.padding=r.padding,e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Et=/([A-Z])/g,Pt=e=>{if(e){let t,r,i=e.t.style,o=e.length,s=0;for((e.t._gsap||X.core.getCache(e.t)).uncache=1;s<o;s+=2)r=e[s+1],t=e[s],r?i[t]=r:i[t]&&i.removeProperty(t.replace(Et,"-$1").toLowerCase())}},Mt=e=>{let t=St.length,r=e.style,i=[],o=0;for(;o<t;o++)i.push(St[o],r[St[o]]);return i.t=e,i},Ct={left:0,top:0},Ot=(e,t,r,i,o,s,n,a,l,c,d,p,h)=>{Ye(e)&&(e=e(a)),De(e)&&"max"===e.substr(0,3)&&(e=p+("="===e.charAt(4)?tt("0"+e.substr(3),r):0));let g,u,f,m=h?h.time():0;if(h&&h.seek(0),Ie(e))h&&(e=X.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,p,e)),n&&it(n,r,i,!0);else{Ye(t)&&(t=t(a));let s,d,p,h,g=(e||"0").split(" ");f=C(t)||H,s=qe(f)||{},s&&(s.left||s.top)||"none"!==He(f).display||(h=f.style.display,f.style.display="block",s=qe(f),h?f.style.display=h:f.style.removeProperty("display")),d=tt(g[0],s[i.d]),p=tt(g[1]||"0",r),e=s[i.p]-l[i.p]-c+d+o-p,n&&it(n,p,i,r-p<20||n._isStart&&p>20),r-=r-p}if(s){let t=e+r,o=s._isStart;g="scroll"+i.d2,it(s,t,i,o&&t>20||!o&&(d?Math.max(H[g],W[g]):s.parentNode[g])<=t+1),d&&(l=qe(n),d&&(s.style[i.op.p]=l[i.op.p]-i.op.m-s._offset+We))}return h&&f&&(g=qe(f),h.seek(p),u=qe(f),h._caScrollDist=g[i.p]-u[i.p],e=e/h._caScrollDist*p),h&&h.seek(m),h?e:Math.round(e)},At=/(webkit|moz|length|cssText|inset)/i,Rt=(e,t,r,i)=>{if(e.parentNode!==t){let o,s,n=e.style;if(t===H){for(o in e._stOrig=n.cssText,s=He(e),s)+o||At.test(o)||!s[o]||"string"!=typeof n[o]||"0"===o||(n[o]=s[o]);n.top=r,n.left=i}else n.cssText=e._stOrig;X.core.getCache(e).uncache=1,t.appendChild(e)}},Dt=(e,t,r)=>{let i=t,o=i;return t=>{let s=Math.round(e());return s!==i&&s!==o&&Math.abs(s-i)>3&&Math.abs(s-o)>3&&(t=s,r&&r()),o=i,i=t,t}},Yt=(e,t)=>{let r=O(e,t),i="_scroll"+t.p2,o=(t,s,n,a,l)=>{let c=o.tween,d=s.onComplete,p={};n=n||r();let h=Dt(r,n,()=>{c.kill(),o.tween=0});return l=a&&l||0,a=a||t-n,c&&c.kill(),s[i]=t,s.modifiers=p,p[i]=()=>h(n+a*c.ratio+l*c.ratio*c.ratio),s.onUpdate=()=>{v.cache++,_t()},s.onComplete=()=>{o.tween=0,d&&d.call(c)},c=o.tween=X.to(e,s),c};return e[i]=r,r.wheelHandler=()=>o.tween&&o.tween.kill()&&(o.tween=0),Ke(e,"wheel",r.wheelHandler),It.isTouch&&Ke(e,"touchmove",r.wheelHandler),o};class It{constructor(e,t){z||It.register(X)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(e,t)}init(e,t){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!we)return void(this.update=this.refresh=this.kill=ke);e=Ne(De(e)||Ie(e)||e.nodeType?{trigger:e}:e,Qe);let r,i,o,s,n,a,l,c,d,p,h,g,u,f,m,x,b,_,T,S,k,E,A,R,D,Y,I,L,z,N,q,j,$,Q,ee,te,oe,se,ne,{onUpdate:ae,toggleClass:le,id:ce,onToggle:pe,onRefresh:ge,scrub:xe,trigger:_e,pin:Te,pinSpacing:Se,invalidateOnRefresh:Pe,anticipatePin:Me,onScrubComplete:Re,onSnapComplete:je,once:$e,snap:et,pinReparent:it,pinSpacer:nt,containerAnimation:lt,fastScrollEnd:dt,preventOverlaps:pt}=e,gt=e.horizontal||e.containerAnimation&&!1!==e.horizontal?P:M,ut=!xe&&0!==xe,ft=C(e.scroller||B),mt=X.core.getCache(ft),vt=Ce(ft),bt="fixed"===("pinType"in e?e.pinType:w(ft,"pinType")||vt&&"fixed"),_t=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],Tt=ut&&e.toggleActions.split(" "),St="markers"in e?e.markers:Qe.markers,Et=vt?0:parseFloat(He(ft)["border"+gt.p2+"Width"])||0,At=this,Dt=e.onRefreshInit&&(()=>e.onRefreshInit(At)),Lt=((e,t,{d:r,d2:i,a:o})=>(o=w(e,"getBoundingClientRect"))?()=>o()[r]:()=>(t?B["inner"+i]:e["client"+i])||0)(ft,vt,gt),Xt=((e,t)=>!t||~y.indexOf(e)?Oe(e):()=>Ct)(ft,vt),zt=0,Bt=0,Ft=O(ft,gt);var Wt;if(de(At),At._dir=gt,Me*=45,At.scroller=ft,At.scroll=lt?lt.time.bind(lt):Ft,s=Ft(),At.vars=e,t=t||e.animation,"refreshPriority"in e&&(re=1,-9999===e.refreshPriority&&(me=At)),mt.tweenScroll=mt.tweenScroll||{top:Yt(ft,M),left:Yt(ft,P)},At.tweenTo=r=mt.tweenScroll[gt.p],At.scrubDuration=e=>{j=Ie(e)&&e,j?q?q.duration(e):q=X.to(t,{ease:"expo",totalProgress:"+=0.001",duration:j,paused:!0,onComplete:()=>Re&&Re(At)}):(q&&q.progress(1).kill(),q=0)},t&&(t.vars.lazy=!1,t._initted||!1!==t.vars.immediateRender&&!1!==e.immediateRender&&t.duration()&&t.render(0,!0,!0),At.animation=t.pause(),t.scrollTrigger=At,At.scrubDuration(xe),q&&q.resetTo&&q.resetTo("totalProgress",0),z=0,ce||(ce=t.vars.id)),ot.push(At),et&&(Le(et)&&!et.push||(et={snapTo:et}),"scrollBehavior"in H.style&&X.set(vt?[H,W]:ft,{scrollBehavior:"auto"}),v.forEach(e=>Ye(e)&&e.target===(vt?F.scrollingElement||W:ft)&&(e.smooth=!1)),o=Ye(et.snapTo)?et.snapTo:"labels"===et.snapTo?(e=>t=>X.utils.snap(Ue(e),t))(t):"labelsDirectional"===et.snapTo?(Wt=t,(e,t)=>Ge(Ue(Wt))(e,t.direction)):!1!==et.directional?(e,t)=>Ge(et.snapTo)(e,ye()-Bt<500?0:t.direction):X.utils.snap(et.snapTo),$=et.duration||{min:.1,max:2},$=Le($)?U($.min,$.max):U($,$),Q=X.delayedCall(et.delay||j/2||.1,()=>{let e=Ft(),i=ye()-Bt<500,s=r.tween;if(!(i||Math.abs(At.getVelocity())<10)||s||Z||zt===e)At.isActive&&zt!==e&&Q.restart(!0);else{let n=(e-a)/u,c=t&&!ut?t.totalProgress():n,d=i?0:(c-N)/(ye()-G)*1e3||0,p=X.utils.clamp(-n,1-n,Be(d/2)*d/.185),h=n+(!1===et.inertia?0:p),g=U(0,1,o(h,At)),f=Math.round(a+g*u),{onStart:m,onInterrupt:v,onComplete:y}=et;if(e<=l&&e>=a&&f!==e){if(s&&!s._initted&&s.data<=Be(f-e))return;!1===et.inertia&&(p=g-n),r(f,{duration:$(Be(.185*Math.max(Be(h-c),Be(g-c))/d/.05||0)),ease:et.ease||"power3",data:Be(f-e),onInterrupt:()=>Q.restart(!0)&&v&&v(At),onComplete:()=>{At.update(),zt=Ft(),z=N=t&&!ut?t.totalProgress():At.progress,je&&je(At),y&&y(At)}},e,p*u,f-e-p*u),m&&m(At,r.tween)}}}).pause()),ce&&(st[ce]=At),_e=At.trigger=C(_e||Te),ne=_e&&_e._gsap&&_e._gsap.stRevert,ne&&(ne=ne(At)),Te=!0===Te?_e:C(Te),De(le)&&(le={targets:_e,className:le}),Te&&(!1===Se||"margin"===Se||(Se=!(!Se&&Te.parentNode&&Te.parentNode.style&&"flex"===He(Te.parentNode).display)&&Fe),At.pin=Te,i=X.core.getCache(Te),i.spacer?f=i.pinState:(nt&&(nt=C(nt),nt&&!nt.nodeType&&(nt=nt.current||nt.nativeElement),i.spacerIsNative=!!nt,nt&&(i.spacerState=Mt(nt))),i.spacer=b=nt||F.createElement("div"),b.classList.add("pin-spacer"),ce&&b.classList.add("pin-spacer-"+ce),i.pinState=f=Mt(Te)),!1!==e.force3D&&X.set(Te,{force3D:!0}),At.spacer=b=i.spacer,L=He(Te),A=L[Se+gt.os2],T=X.getProperty(Te),S=X.quickSetter(Te,gt.a,We),kt(Te,b,L),x=Mt(Te)),St){g=Le(St)?Ne(St,Je):Je,p=rt("scroller-start",ce,ft,gt,g,0),h=rt("scroller-end",ce,ft,gt,g,0,p),_=p["offset"+gt.op.d2];let e=C(w(ft,"content")||ft);c=this.markerStart=rt("start",ce,e,gt,g,_,0,lt),d=this.markerEnd=rt("end",ce,e,gt,g,_,0,lt),lt&&(se=X.quickSetter([c,d],gt.a,We)),bt||y.length&&!0===w(ft,"fixedMarkers")||((e=>{let t=He(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"})(vt?H:ft),X.set([p,h],{force3D:!0}),D=X.quickSetter(p,gt.a,We),I=X.quickSetter(h,gt.a,We))}if(lt){let e=lt.vars.onUpdate,t=lt.vars.onUpdateParams;lt.eventCallback("onUpdate",()=>{At.update(0,0,1),e&&e.apply(lt,t||[])})}At.previous=()=>ot[ot.indexOf(At)-1],At.next=()=>ot[ot.indexOf(At)+1],At.revert=(e,r)=>{if(!r)return At.kill(!0);let i=!1!==e||!At.enabled,o=K;i!==At.isReverted&&(i&&(te=Math.max(Ft(),At.scroll.rec||0),ee=At.progress,oe=t&&t.progress()),c&&[c,d,p,h].forEach(e=>e.style.display=i?"none":"block"),i&&(K=At,At.update(i)),!Te||it&&At.isActive||(i?((e,t,r)=>{Pt(r);let i=e._gsap;if(i.spacerIsNative)Pt(i.spacerState);else if(e._gsap.swappedIn){let r=t.parentNode;r&&(r.insertBefore(e,t),r.removeChild(t))}e._gsap.swappedIn=!1})(Te,b,f):kt(Te,b,He(Te),R)),i||At.update(i),K=o,At.isReverted=i)},At.refresh=(i,o)=>{if((K||!At.enabled)&&!o)return;if(Te&&i&&be)return void Ke(It,"scrollEnd",ht);!ue&&Dt&&Dt(At),K=At,Bt=ye(),r.tween&&(r.tween.kill(),r.tween=0),q&&q.pause(),Pe&&t&&t.revert({kill:!1}).invalidate(),At.isReverted||At.revert(!0,!0),At._subPinOffset=!1;let g,v,y,w,_,S,A,D,I,L,z,B=Lt(),N=Xt(),V=lt?lt.duration():Ae(ft,gt),U=u<=.01,G=0,j=0,Z=e.end,$=e.endTrigger||_e,J=e.start||(0!==e.start&&_e?Te?"0 0":"0 100%":0),re=At.pinnedContainer=e.pinnedContainer&&C(e.pinnedContainer),se=_e&&Math.max(0,ot.indexOf(At))||0,ne=se;for(;ne--;)S=ot[ne],S.end||S.refresh(0,1)||(K=At),A=S.pin,!A||A!==_e&&A!==Te&&A!==re||S.isReverted||(L||(L=[]),L.unshift(S),S.revert(!0,!0)),S!==ot[ne]&&(se--,ne--);for(Ye(J)&&(J=J(At)),a=Ot(J,_e,B,gt,Ft(),c,p,At,N,Et,bt,V,lt)||(Te?-.001:0),Ye(Z)&&(Z=Z(At)),De(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(De(J)?J.split(" ")[0]:"")+Z:(G=tt(Z.substr(2),B),Z=De(J)?J:(lt?X.utils.mapRange(0,lt.duration(),lt.scrollTrigger.start,lt.scrollTrigger.end,a):a)+G,$=_e)),l=Math.max(a,Ot(Z||($?"100% 0":V),$,B,gt,Ft()+G,d,h,At,N,Et,bt,V,lt))||-.001,u=l-a||(a-=.01)&&.001,G=0,ne=se;ne--;)S=ot[ne],A=S.pin,A&&S.start-S._pinPush<=a&&!lt&&S.end>0&&(g=S.end-S.start,(A===_e&&S.start-S._pinPush<a||A===re)&&!Ie(J)&&(G+=g*(1-S.progress)),A===Te&&(j+=g));if(a+=G,l+=G,U&&(ee=X.utils.clamp(0,1,X.utils.normalize(a,l,te))),At._pinPush=j,c&&G&&(g={},g[gt.a]="+="+G,re&&(g[gt.p]="-="+Ft()),X.set([c,d],g)),Te)g=He(Te),w=gt===M,y=Ft(),k=parseFloat(T(gt.a))+j,!V&&l>1&&(z=(vt?F.scrollingElement||W:ft).style,z={style:z,value:z["overflow"+gt.a.toUpperCase()]},z.style["overflow"+gt.a.toUpperCase()]="scroll"),kt(Te,b,g),x=Mt(Te),v=qe(Te,!0),D=bt&&O(ft,w?P:M)(),Se&&(R=[Se+gt.os2,u+j+We],R.t=b,ne=Se===Fe?Ve(Te,gt)+u+j:0,ne&&R.push(gt.d,ne+We),Pt(R),re&&ot.forEach(e=>{e.pin===re&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),bt&&Ft(te)),bt&&(_={top:v.top+(w?y-a:D)+We,left:v.left+(w?D:y-a)+We,boxSizing:"border-box",position:"fixed"},_.width=_.maxWidth=Math.ceil(v.width)+We,_.height=_.maxHeight=Math.ceil(v.height)+We,_.margin=_.marginTop=_.marginRight=_.marginBottom=_.marginLeft="0",_.padding=g.padding,_.paddingTop=g.paddingTop,_.paddingRight=g.paddingRight,_.paddingBottom=g.paddingBottom,_.paddingLeft=g.paddingLeft,m=((e,t,r)=>{let i,o=[],s=e.length,n=r?8:0;for(;n<s;n+=2)i=e[n],o.push(i,i in t?t[i]:e[n+1]);return o.t=e.t,o})(f,_,it),ue&&Ft(0)),t?(I=t._initted,ie(1),t.render(t.duration(),!0,!0),E=T(gt.a)-k+u+j,Y=Math.abs(u-E)>1,bt&&Y&&m.splice(m.length-2,2),t.render(0,!0,!0),I||t.invalidate(!0),t.parent||t.totalTime(t.totalTime()),ie(0)):E=u,z&&(z.value?z.style["overflow"+gt.a.toUpperCase()]=z.value:z.style.removeProperty("overflow-"+gt.a));else if(_e&&Ft()&&!lt)for(v=_e.parentNode;v&&v!==H;)v._pinOffset&&(a-=v._pinOffset,l-=v._pinOffset),v=v.parentNode;L&&L.forEach(e=>e.revert(!1,!0)),At.start=a,At.end=l,s=n=ue?te:Ft(),lt||ue||(s<te&&Ft(te),At.scroll.rec=0),At.revert(!1,!0),Q&&(zt=-1,At.isActive&&Ft(a+u*ee),Q.restart(!0)),K=0,t&&ut&&(t._initted||oe)&&t.progress()!==oe&&t.progress(oe,!0).render(t.time(),!0,!0),(U||ee!==At.progress||lt)&&(t&&!ut&&t.totalProgress(lt&&a<-.001&&!ee?X.utils.normalize(a,l,0):ee,!0),At.progress=(s-a)/u===ee?0:ee),Te&&Se&&(b._pinOffset=Math.round(At.progress*E)),q&&q.invalidate(),ge&&!ue&&ge(At)},At.getVelocity=()=>(Ft()-n)/(ye()-G)*1e3||0,At.endAnimation=()=>{Xe(At.callbackAnimation),t&&(q?q.progress(1):t.paused()?ut||Xe(t,At.direction<0,1):Xe(t,t.reversed()))},At.labelToScroll=e=>t&&t.labels&&(a||At.refresh()||a)+t.labels[e]/t.duration()*u||0,At.getTrailing=e=>{let t=ot.indexOf(At),r=At.direction>0?ot.slice(0,t).reverse():ot.slice(t+1);return(De(e)?r.filter(t=>t.vars.preventOverlaps===e):r).filter(e=>At.direction>0?e.end<=a:e.start>=l)},At.update=(e,i,o)=>{if(lt&&!o&&!e)return;let c,d,h,g,f,v,y,w,_=!0===ue?te:At.scroll(),T=e?0:(_-a)/u,P=T<0?0:T>1?1:T||0,C=At.progress;if(i&&(n=s,s=lt?Ft():_,et&&(N=z,z=t&&!ut?t.totalProgress():P)),Me&&!P&&Te&&!K&&!ve&&be&&a<_+(_-n)/(ye()-G)*Me&&(P=1e-4),P!==C&&At.enabled){if(c=At.isActive=!!P&&P<1,d=!!C&&C<1,v=c!==d,f=v||!!P!=!!C,At.direction=P>C?1:-1,At.progress=P,f&&!K&&(h=P&&!C?0:1===P?1:1===C?2:3,ut&&(g=!v&&"none"!==Tt[h+1]&&Tt[h+1]||Tt[h],w=t&&("complete"===g||"reset"===g||g in t))),pt&&(v||w)&&(w||xe||!t)&&(Ye(pt)?pt(At):At.getTrailing(pt).forEach(e=>e.endAnimation())),ut||(!q||K||ve?t&&t.totalProgress(P,!!K):(q._dp._time-q._start!==q._time&&q.render(q._dp._time-q._start),q.resetTo?q.resetTo("totalProgress",P,t._tTime/t._tDur):(q.vars.totalProgress=P,q.invalidate().restart()))),Te)if(e&&Se&&(b.style[Se+gt.os2]=A),bt){if(f){if(y=!e&&P>C&&l+1>_&&_+1>=Ae(ft,gt),it)if(e||!c&&!y)Rt(Te,b);else{let e=qe(Te,!0),t=_-a;Rt(Te,H,e.top+(gt===M?t:0)+We,e.left+(gt===M?0:t)+We)}Pt(c||y?m:x),Y&&P<1&&c||S(k+(1!==P||y?0:E))}}else S(Ee(k+E*P));et&&!r.tween&&!K&&!ve&&Q.restart(!0),le&&(v||$e&&P&&(P<1||!he))&&V(le.targets).forEach(e=>e.classList[c||$e?"add":"remove"](le.className)),ae&&!ut&&!e&&ae(At),f&&!K?(ut&&(w&&("complete"===g?t.pause().totalProgress(1):"reset"===g?t.restart(!0).pause():"restart"===g?t.restart(!0):t[g]()),ae&&ae(At)),!v&&he||(pe&&v&&ze(At,pe),_t[h]&&ze(At,_t[h]),$e&&(1===P?At.kill(!1,1):_t[h]=0),v||(h=1===P?1:3,_t[h]&&ze(At,_t[h]))),dt&&!c&&Math.abs(At.getVelocity())>(Ie(dt)?dt:2500)&&(Xe(At.callbackAnimation),q?q.progress(1):Xe(t,"reverse"===g?1:!P,1))):ut&&ae&&!K&&ae(At)}if(I){let e=lt?_/lt.duration()*(lt._caScrollDist||0):_;D(e+(p._isFlipped?1:0)),I(e)}se&&se(-_/lt.duration()*(lt._caScrollDist||0))},At.enable=(e,t)=>{At.enabled||(At.enabled=!0,Ke(ft,"resize",ct),Ke(vt?F:ft,"scroll",at),Dt&&Ke(It,"refreshInit",Dt),!1!==e&&(At.progress=ee=0,s=n=zt=Ft()),!1!==t&&At.refresh())},At.getTween=e=>e&&r?r.tween:q,At.setPositions=(e,t)=>{Te&&(k+=e-a,E+=t-e-u,Se===Fe&&At.adjustPinSpacing(t-e-u)),At.start=a=e,At.end=l=t,u=t-e,At.update()},At.adjustPinSpacing=e=>{if(R&&e){let t=R.indexOf(gt.d)+1;R[t]=parseFloat(R[t])+e+We,R[1]=parseFloat(R[1])+e+We,Pt(R)}},At.disable=(e,t)=>{if(At.enabled&&(!1!==e&&At.revert(!0,!0),At.enabled=At.isActive=!1,t||q&&q.pause(),te=0,i&&(i.uncache=1),Dt&&Ze(It,"refreshInit",Dt),Q&&(Q.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!vt)){let e=ot.length;for(;e--;)if(ot[e].scroller===ft&&ot[e]!==At)return;Ze(ft,"resize",ct),Ze(ft,"scroll",at)}},At.kill=(r,o)=>{At.disable(r,o),q&&!o&&q.kill(),ce&&delete st[ce];let s=ot.indexOf(At);s>=0&&ot.splice(s,1),s===J&&wt>0&&J--,s=0,ot.forEach(e=>e.scroller===At.scroller&&(s=1)),s||ue||(At.scroll.rec=0),t&&(t.scrollTrigger=null,r&&t.revert({kill:!1}),o||t.kill()),c&&[c,d,p,h].forEach(e=>e.parentNode&&e.parentNode.removeChild(e)),me===At&&(me=0),Te&&(i&&(i.uncache=1),s=0,ot.forEach(e=>e.pin===Te&&s++),s||(i.spacer=0)),e.onKill&&e.onKill(At)},At.enable(!1,!1),ne&&ne(At),t&&t.add&&!u?X.delayedCall(.01,()=>a||l||At.refresh())&&(u=.01)&&(a=l=0):At.refresh(),Te&&(()=>{if(fe!==yt){let e=fe=yt;requestAnimationFrame(()=>e===yt&&xt(!0))}})()}static register(e){return z||(X=e||Me(),Pe()&&window.document&&It.enable(),z=we),z}static defaults(e){if(e)for(let t in e)Qe[t]=e[t];return Qe}static disable(e,t){we=0,ot.forEach(r=>r[t?"kill":"disable"](e)),Ze(B,"wheel",at),Ze(F,"scroll",at),clearInterval(j),Ze(F,"touchcancel",ke),Ze(H,"touchstart",ke),je(Ze,F,"pointerdown,touchstart,mousedown",Te),je(Ze,F,"pointerup,touchend,mouseup",Se),q.kill(),Re(Ze);for(let e=0;e<v.length;e+=3)$e(Ze,v[e],v[e+1]),$e(Ze,v[e],v[e+2])}static enable(){if(B=window,F=document,W=F.documentElement,H=F.body,X&&(V=X.utils.toArray,U=X.utils.clamp,de=X.core.context||ke,ie=X.core.suppressOverwrites||ke,pe=B.history.scrollRestoration||"auto",bt=B.pageYOffset,X.core.globals("ScrollTrigger",It),H)){we=1,_e(),L.register(X),It.isTouch=L.isTouch,ce=L.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ke(B,"wheel",at),N=[B,F,W,H],X.matchMedia?(It.matchMedia=e=>{let t,r=X.matchMedia();for(t in e)r.add(t,e[t]);return r},X.addEventListener("matchMediaInit",()=>mt()),X.addEventListener("matchMediaRevert",()=>ft()),X.addEventListener("matchMedia",()=>{xt(0,1),gt("matchMedia")}),X.matchMedia("(orientation: portrait)",()=>(lt(),lt))):console.warn("Requires GSAP 3.11.0 or later"),lt(),Ke(F,"scroll",at);let e,t,r=H.style,i=r.borderTopStyle,o=X.core.Animation.prototype;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",e=qe(H),M.m=Math.round(e.top+M.sc())||0,P.m=Math.round(e.left+P.sc())||0,i?r.borderTopStyle=i:r.removeProperty("border-top-style"),j=setInterval(nt,250),X.delayedCall(.5,()=>ve=0),Ke(F,"touchcancel",ke),Ke(H,"touchstart",ke),je(Ke,F,"pointerdown,touchstart,mousedown",Te),je(Ke,F,"pointerup,touchend,mouseup",Se),$=X.utils.checkPrefix("transform"),St.push($),z=ye(),q=X.delayedCall(.2,xt).pause(),te=[F,"visibilitychange",()=>{let e=B.innerWidth,t=B.innerHeight;F.hidden?(Q=e,ee=t):Q===e&&ee===t||ct()},F,"DOMContentLoaded",xt,B,"load",xt,B,"resize",ct],Re(Ke),ot.forEach(e=>e.enable(0,1)),t=0;t<v.length;t+=3)$e(Ze,v[t],v[t+1]),$e(Ze,v[t],v[t+2])}}static config(e){"limitCallbacks"in e&&(he=!!e.limitCallbacks);let t=e.syncInterval;t&&clearInterval(j)||(j=t)&&setInterval(nt,t),"ignoreMobileResize"in e&&(ne=1===It.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(Re(Ze)||Re(Ke,e.autoRefreshEvents||"none"),oe=-1===(e.autoRefreshEvents+"").indexOf("resize"))}static scrollerProxy(e,t){let r=C(e),i=v.indexOf(r),o=Ce(r);~i&&v.splice(i,o?6:2),t&&(o?y.unshift(B,t,H,t,W,t):y.unshift(r,t))}static clearMatchMedia(e){ot.forEach(t=>t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0))}static isInViewport(e,t,r){let i=(De(e)?C(e):e).getBoundingClientRect(),o=i[r?"width":"height"]*t||0;return r?i.right-o>0&&i.left+o<B.innerWidth:i.bottom-o>0&&i.top+o<B.innerHeight}static positionInViewport(e,t,r){De(e)&&(e=C(e));let i=e.getBoundingClientRect(),o=i[r?"width":"height"],s=null==t?o/2:t in et?et[t]*o:~t.indexOf("%")?parseFloat(t)*o/100:parseFloat(t)||0;return r?(i.left+s)/B.innerWidth:(i.top+s)/B.innerHeight}static killAll(e){if(ot.slice(0).forEach(e=>"ScrollSmoother"!==e.vars.id&&e.kill()),!0!==e){let e=dt.killAll||[];dt={},e.forEach(e=>e())}}}It.version="3.11.5",It.saveStyles=e=>e?V(e).forEach(e=>{if(e&&e.style){let t=ut.indexOf(e);t>=0&&ut.splice(t,5),ut.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),X.core.getCache(e),de())}}):ut,It.revert=(e,t)=>mt(!e,t),It.create=(e,t)=>new It(e,t),It.refresh=e=>e?ct():(z||It.register())&&xt(!0),It.update=e=>++v.cache&&_t(!0===e?2:0),It.clearScrollMemory=vt,It.maxScroll=(e,t)=>Ae(e,t?P:M),It.getScrollFunc=(e,t)=>O(C(e),t?P:M),It.getById=e=>st[e],It.getAll=()=>ot.filter(e=>"ScrollSmoother"!==e.vars.id),It.isScrolling=()=>!!be,It.snapDirectional=Ge,It.addEventListener=(e,t)=>{let r=dt[e]||(dt[e]=[]);~r.indexOf(t)||r.push(t)},It.removeEventListener=(e,t)=>{let r=dt[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},It.batch=(e,t)=>{let r,i=[],o={},s=t.interval||.016,n=t.batchMax||1e9,a=(e,t)=>{let r=[],i=[],o=X.delayedCall(s,()=>{t(r,i),r=[],i=[]}).pause();return e=>{r.length||o.restart(!0),r.push(e.trigger),i.push(e),n<=r.length&&o.progress(1)}};for(r in t)o[r]="on"===r.substr(0,2)&&Ye(t[r])&&"onRefreshInit"!==r?a(0,t[r]):t[r];return Ye(n)&&(n=n(),Ke(It,"refresh",()=>n=t.batchMax())),V(e).forEach(e=>{let t={};for(r in o)t[r]=o[r];t.trigger=e,i.push(It.create(t))}),i};let Lt,Xt=(e,t,r,i)=>(t>i?e(i):t<0&&e(0),r>i?(i-t)/(r-t):r<0?t/(t-r):1),zt=(e,t)=>{!0===t?e.style.removeProperty("touch-action"):e.style.touchAction=!0===t?"auto":t?"pan-"+t+(L.isTouch?" pinch-zoom":""):"none",e===W&&zt(H,t)},Bt={auto:1,scroll:1},Ft=({event:e,target:t,axis:r})=>{let i,o=(e.changedTouches?e.changedTouches[0]:e).target,s=o._gsap||X.core.getCache(o),n=ye();if(!s._isScrollT||n-s._isScrollT>2e3){for(;o&&o!==H&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!Bt[(i=He(o)).overflowY]&&!Bt[i.overflowX]);)o=o.parentNode;s._isScroll=o&&o!==t&&!Ce(o)&&(Bt[(i=He(o)).overflowY]||Bt[i.overflowX]),s._isScrollT=n}(s._isScroll||"x"===r)&&(e.stopPropagation(),e._gsapAllow=!0)},Wt=(e,t,r,i)=>L.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&Ft,onPress:i,onDrag:i,onScroll:i,onEnable:()=>r&&Ke(F,L.eventTypes[0],Nt,!1,!0),onDisable:()=>Ze(F,L.eventTypes[0],Nt,!0)}),Ht=/(input|label|select|textarea)/i,Nt=e=>{let t=Ht.test(e.target.tagName);(t||Lt)&&(e._gsapAllow=!0,Lt=t)},qt=e=>{Le(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";let t,r,i,o,s,n,a,l,{normalizeScrollX:c,momentum:d,allowNestedScroll:p,onRelease:h}=e,g=C(e.target)||W,u=X.core.globals().ScrollSmoother,f=u&&u.get(),m=ce&&(e.content&&C(e.content)||f&&!1!==e.content&&!f.smooth()&&f.content()),y=O(g,M),x=O(g,P),b=1,w=(L.isTouch&&B.visualViewport?B.visualViewport.scale*B.visualViewport.width:B.outerWidth)/B.innerWidth,_=0,T=Ye(d)?()=>d(t):()=>d||2.8,S=Wt(g,e.type,!0,p),k=()=>o=!1,E=ke,A=ke,R=()=>{r=Ae(g,M),A=U(ce?1:0,r),c&&(E=U(0,Ae(g,P))),i=yt},D=()=>{m._gsap.y=Ee(parseFloat(m._gsap.y)+y.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},Y=()=>{R(),s.isActive()&&s.vars.scrollY>r&&(y()>r?s.progress(1)&&y(r):s.resetTo("scrollY",r))};return m&&X.set(m,{y:"+=0"}),e.ignoreCheck=e=>ce&&"touchmove"===e.type&&(()=>{if(o){requestAnimationFrame(k);let e=Ee(t.deltaY/2),r=A(y.v-e);if(m&&r!==y.v+y.offset){y.offset=r-y.v;let e=Ee((parseFloat(m&&m._gsap.y)||0)-y.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+e+", 0, 1)",m._gsap.y=e+"px",y.cacheID=v.cache,_t()}return!0}y.offset&&D(),o=!0})()||b>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1,e.onPress=()=>{o=!1;let e=b;b=Ee((B.visualViewport&&B.visualViewport.scale||1)/w),s.pause(),e!==b&&zt(g,b>1.01||!c&&"x"),n=x(),a=y(),R(),i=yt},e.onRelease=e.onGestureStart=(e,t)=>{if(y.offset&&D(),t){v.cache++;let t,i,o=T();c&&(t=x(),i=t+.05*o*-e.velocityX/.227,o*=Xt(x,t,i,Ae(g,P)),s.vars.scrollX=E(i)),t=y(),i=t+.05*o*-e.velocityY/.227,o*=Xt(y,t,i,Ae(g,M)),s.vars.scrollY=A(i),s.invalidate().duration(o).play(.01),(ce&&s.vars.scrollY>=r||t>=r-1)&&X.to({},{onUpdate:Y,duration:o})}else l.restart(!0);h&&h(e)},e.onWheel=()=>{s._ts&&s.pause(),ye()-_>1e3&&(i=0,_=ye())},e.onChange=(e,t,r,o,s)=>{if(yt!==i&&R(),t&&c&&x(E(o[2]===t?n+(e.startX-e.x):x()+t-o[1])),r){y.offset&&D();let t=s[2]===r,i=t?a+e.startY-e.y:y()+r-s[1],o=A(i);t&&i!==o&&(a+=o-i),y(o)}(r||t)&&_t()},e.onEnable=()=>{zt(g,!c&&"x"),It.addEventListener("refresh",Y),Ke(B,"resize",Y),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=x.smooth=!1),S.enable()},e.onDisable=()=>{zt(g,!0),Ze(B,"resize",Y),It.removeEventListener("refresh",Y),S.kill()},e.lockAxis=!1!==e.lockAxis,t=new L(e),t.iOS=ce,ce&&!y()&&y(1),ce&&X.ticker.add(ke),l=t._dc,s=X.to(t,{ease:"power4",paused:!0,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Dt(y,y(),()=>s.pause())},onUpdate:_t,onComplete:l.vars.onComplete}),t};It.sort=e=>ot.sort(e||((e,t)=>-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0)))),It.observe=e=>new L(e),It.normalizeScroll=e=>{if(void 0===e)return se;if(!0===e&&se)return se.enable();if(!1===e)return se&&se.kill();let t=e instanceof L?e:qt(e);return se&&se.target===t.target&&se.kill(),Ce(t.target)&&(se=t),t},It.core={_getVelocityProp:A,_inputObserver:Wt,_scrollers:v,_proxies:y,bridge:{ss:()=>{be||gt("scrollStart"),be=ye()},ref:()=>K}},Me()&&X.registerPlugin(It);export default It;export{It as ScrollTrigger};
let e,t,r,i,s,o,a,n,l,c,d,p,h,g,u=()=>e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e,f=1,m=[],v=[],y=[],x=Date.now,b=(e,t)=>t,w=(e,t)=>~y.indexOf(e)&&y[y.indexOf(e)+1][t],_=e=>!!~d.indexOf(e),T=(e,t,r,i,s)=>e.addEventListener(t,r,{passive:!i,capture:!!s}),S=(e,t,r,i)=>e.removeEventListener(t,r,!!i),k=()=>p&&p.isPressed||v.cache++,C=(e,t)=>{let r=s=>{if(s||0===s){f&&(i.history.scrollRestoration="manual");let t=p&&p.isPressed;s=r.v=Math.round(s)||(p&&p.iOS?1:0),e(s),r.cacheID=v.cache,t&&b("ss",s)}else(t||v.cache!==r.cacheID||b("ref"))&&(r.cacheID=v.cache,r.v=e());return r.v+r.offset};return r.offset=0,e&&r},E={s:"scrollLeft",p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:C((function(e){return arguments.length?i.scrollTo(e,P.sc()):i.pageXOffset||s.scrollLeft||o.scrollLeft||a.scrollLeft||0}))},P={s:"scrollTop",p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:E,sc:C((function(e){return arguments.length?i.scrollTo(E.sc(),e):i.pageYOffset||s.scrollTop||o.scrollTop||a.scrollTop||0}))},M=(t,r)=>(r&&r._ctx&&r._ctx.selector||e.utils.toArray)(t)[0]||("string"==typeof t&&!1!==e.config().nullTargetWarn?console.warn("Element not found:",t):null),O=(t,{s:r,sc:i})=>{_(t)&&(t=s.scrollingElement||o);let a=v.indexOf(t),n=i===P.sc?1:2;!~a&&(a=v.push(t)-1),v[a+n]||t.addEventListener("scroll",k);let l=v[a+n],c=l||(v[a+n]=C(w(t,r),!0)||(_(t)?i:C((function(e){return arguments.length?t[r]=e:t[r]}))));return c.target=t,l||(c.smooth="smooth"===e.getProperty(t,"scrollBehavior")),c},A=(e,t,r)=>{let i=e,s=e,o=x(),a=o,n=t||50,l=Math.max(500,3*n),c=(e,t)=>{let l=x();t||l-o>n?(s=i,i=e,a=o,o=l):r?i+=e:i=s+(e-s)/(l-a)*(o-a)};return{update:c,reset:()=>{s=i=r?0:i,a=o=0},getVelocity:e=>{let t=a,n=s,d=x();return(e||0===e)&&e!==i&&c(e),o===a||d-a>l?0:(i+(r?n:-n))/((r?d:o)-t)*1e3}}},R=(e,t)=>(t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e),D=e=>{let t=Math.max(...e),r=Math.min(...e);return Math.abs(t)>=Math.abs(r)?t:r},Y=()=>{c=e.core.globals().ScrollTrigger,c&&c.core&&(()=>{let e=c.core,t=e.bridge||{},r=e._scrollers,i=e._proxies;r.push(...v),i.push(...y),v=r,y=i,b=(e,r)=>t[e](r)})()},I=c=>(e=c||u(),e&&"undefined"!=typeof document&&document.body&&(i=window,s=document,o=s.documentElement,a=s.body,d=[i,s,o,a],r=e.utils.clamp,g=e.core.context||function(){},l="onpointerenter"in a?"pointer":"mouse",n=L.isTouch=i.matchMedia&&i.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in i||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,h=L.eventTypes=("ontouchstart"in o?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in o?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(()=>f=0,500),Y(),t=1),t);E.op=P,v.cache=0;class L{constructor(e){this.init(e)}init(r){t||I(e)||console.warn("Please gsap.registerPlugin(Observer)"),c||Y();let{tolerance:d,dragMinimum:u,type:f,target:v,lineHeight:y,debounce:b,preventDefault:w,onStop:C,onStopDelay:L,ignore:X,wheelSpeed:z,event:B,onDragStart:N,onDragEnd:F,onDrag:W,onPress:H,onRelease:q,onRight:U,onLeft:V,onUp:G,onDown:j,onChangeX:K,onChangeY:Z,onChange:$,onToggleX:J,onToggleY:Q,onHover:ee,onHoverEnd:te,onMove:re,ignoreCheck:ie,isNormalizer:se,onGestureStart:oe,onGestureEnd:ae,onWheel:ne,onEnable:le,onDisable:ce,onClick:de,scrollSpeed:pe,capture:he,allowClicks:ge,lockAxis:ue,onLockAxis:fe}=r;this.target=v=M(v)||o,this.vars=r,X&&(X=e.utils.toArray(X)),d=d||1e-9,u=u||0,z=z||1,pe=pe||1,f=f||"wheel,touch,pointer",b=!1!==b,y||(y=parseFloat(i.getComputedStyle(a).lineHeight)||22);let me,ve,ye,xe,be,we,_e,Te=this,Se=0,ke=0,Ce=O(v,E),Ee=O(v,P),Pe=Ce(),Me=Ee(),Oe=~f.indexOf("touch")&&!~f.indexOf("pointer")&&"pointerdown"===h[0],Ae=_(v),Re=v.ownerDocument||s,De=[0,0,0],Ye=[0,0,0],Ie=0,Le=()=>Ie=x(),Xe=(e,t)=>(Te.event=e)&&X&&~X.indexOf(e.target)||t&&Oe&&"touch"!==e.pointerType||ie&&ie(e,t),ze=()=>{let e=Te.deltaX=D(De),t=Te.deltaY=D(Ye),r=Math.abs(e)>=d,i=Math.abs(t)>=d;$&&(r||i)&&$(Te,e,t,De,Ye),r&&(U&&Te.deltaX>0&&U(Te),V&&Te.deltaX<0&&V(Te),K&&K(Te),J&&Te.deltaX<0!=Se<0&&J(Te),Se=Te.deltaX,De[0]=De[1]=De[2]=0),i&&(j&&Te.deltaY>0&&j(Te),G&&Te.deltaY<0&&G(Te),Z&&Z(Te),Q&&Te.deltaY<0!=ke<0&&Q(Te),ke=Te.deltaY,Ye[0]=Ye[1]=Ye[2]=0),(xe||ye)&&(re&&re(Te),ye&&(W(Te),ye=!1),xe=!1),we&&!(we=!1)&&fe&&fe(Te),be&&(ne(Te),be=!1),me=0},Be=(e,t,r)=>{De[r]+=e,Ye[r]+=t,Te._vx.update(e),Te._vy.update(t),b?me||(me=requestAnimationFrame(ze)):ze()},Ne=(e,t)=>{ue&&!_e&&(Te.axis=_e=Math.abs(e)>Math.abs(t)?"x":"y",we=!0),"y"!==_e&&(De[2]+=e,Te._vx.update(e,!0)),"x"!==_e&&(Ye[2]+=t,Te._vy.update(t,!0)),b?me||(me=requestAnimationFrame(ze)):ze()},Fe=e=>{if(Xe(e,1))return;let t=(e=R(e,w)).clientX,r=e.clientY,i=t-Te.x,s=r-Te.y,o=Te.isDragging;Te.x=t,Te.y=r,(o||Math.abs(Te.startX-t)>=u||Math.abs(Te.startY-r)>=u)&&(W&&(ye=!0),o||(Te.isDragging=!0),Ne(i,s),o||N&&N(Te))},We=Te.onPress=e=>{Xe(e,1)||e&&e.button||(Te.axis=_e=null,ve.pause(),Te.isPressed=!0,e=R(e),Se=ke=0,Te.startX=Te.x=e.clientX,Te.startY=Te.y=e.clientY,Te._vx.reset(),Te._vy.reset(),T(se?v:Re,h[1],Fe,w,!0),Te.deltaX=Te.deltaY=0,H&&H(Te))},He=Te.onRelease=t=>{if(Xe(t,1))return;S(se?v:Re,h[1],Fe,!0);let r=!isNaN(Te.y-Te.startY),s=Te.isDragging&&(Math.abs(Te.x-Te.startX)>3||Math.abs(Te.y-Te.startY)>3),o=R(t);!s&&r&&(Te._vx.reset(),Te._vy.reset(),w&&ge&&e.delayedCall(.08,()=>{if(x()-Ie>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(Re.createEvent){let e=Re.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,i,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}})),Te.isDragging=Te.isGesturing=Te.isPressed=!1,C&&!se&&ve.restart(!0),F&&s&&F(Te),q&&q(Te,s)},qe=e=>e.touches&&e.touches.length>1&&(Te.isGesturing=!0)&&oe(e,Te.isDragging),Ue=()=>(Te.isGesturing=!1)||ae(Te),Ve=e=>{if(Xe(e))return;let t=Ce(),r=Ee();Be((t-Pe)*pe,(r-Me)*pe,1),Pe=t,Me=r,C&&ve.restart(!0)},Ge=e=>{if(Xe(e))return;e=R(e,w),ne&&(be=!0);let t=(1===e.deltaMode?y:2===e.deltaMode?i.innerHeight:1)*z;Be(e.deltaX*t,e.deltaY*t,0),C&&!se&&ve.restart(!0)},je=e=>{if(Xe(e))return;let t=e.clientX,r=e.clientY,i=t-Te.x,s=r-Te.y;Te.x=t,Te.y=r,xe=!0,(i||s)&&Ne(i,s)},Ke=e=>{Te.event=e,ee(Te)},Ze=e=>{Te.event=e,te(Te)},$e=e=>Xe(e)||R(e,w)&&de(Te);ve=Te._dc=e.delayedCall(L||.25,()=>{Te._vx.reset(),Te._vy.reset(),ve.pause(),C&&C(Te)}).pause(),Te.deltaX=Te.deltaY=0,Te._vx=A(0,50,!0),Te._vy=A(0,50,!0),Te.scrollX=Ce,Te.scrollY=Ee,Te.isDragging=Te.isGesturing=Te.isPressed=!1,g(this),Te.enable=e=>(Te.isEnabled||(T(Ae?Re:v,"scroll",k),f.indexOf("scroll")>=0&&T(Ae?Re:v,"scroll",Ve,w,he),f.indexOf("wheel")>=0&&T(v,"wheel",Ge,w,he),(f.indexOf("touch")>=0&&n||f.indexOf("pointer")>=0)&&(T(v,h[0],We,w,he),T(Re,h[2],He),T(Re,h[3],He),ge&&T(v,"click",Le,!1,!0),de&&T(v,"click",$e),oe&&T(Re,"gesturestart",qe),ae&&T(Re,"gestureend",Ue),ee&&T(v,l+"enter",Ke),te&&T(v,l+"leave",Ze),re&&T(v,l+"move",je)),Te.isEnabled=!0,e&&e.type&&We(e),le&&le(Te)),Te),Te.disable=()=>{Te.isEnabled&&(m.filter(e=>e!==Te&&_(e.target)).length||S(Ae?Re:v,"scroll",k),Te.isPressed&&(Te._vx.reset(),Te._vy.reset(),S(se?v:Re,h[1],Fe,!0)),S(Ae?Re:v,"scroll",Ve,he),S(v,"wheel",Ge,he),S(v,h[0],We,he),S(Re,h[2],He),S(Re,h[3],He),S(v,"click",Le,!0),S(v,"click",$e),S(Re,"gesturestart",qe),S(Re,"gestureend",Ue),S(v,l+"enter",Ke),S(v,l+"leave",Ze),S(v,l+"move",je),Te.isEnabled=Te.isPressed=Te.isDragging=!1,ce&&ce(Te))},Te.kill=Te.revert=()=>{Te.disable();let e=m.indexOf(Te);e>=0&&m.splice(e,1),p===Te&&(p=0)},m.push(Te),se&&_(v)&&(p=Te),Te.enable(B)}get velocityX(){return this._vx.getVelocity()}get velocityY(){return this._vy.getVelocity()}}L.version="3.12.0",L.create=e=>new L(e),L.register=I,L.getAll=()=>m.slice(),L.getById=e=>m.filter(t=>t.vars.id===e)[0],u()&&e.registerPlugin(L);let X,z,B,N,F,W,H,q,U,V,G,j,K,Z,$,J,Q,ee,te,re,ie,se,oe,ae,ne,le,ce,de,pe,he,ge,ue,fe,me,ve=1,ye=Date.now,xe=ye(),be=0,we=0,_e=(e,t,r)=>{let i=Ie(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},Te=(e,t)=>!t||Ie(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")",Se=()=>we&&requestAnimationFrame(Se),ke=()=>Z=1,Ce=()=>Z=0,Ee=e=>e,Pe=e=>Math.round(1e5*e)/1e5||0,Me=()=>"undefined"!=typeof window,Oe=()=>X||Me()&&(X=window.gsap)&&X.registerPlugin&&X,Ae=e=>!!~H.indexOf(e),Re=e=>w(e,"getBoundingClientRect")||(Ae(e)?()=>(At.width=B.innerWidth,At.height=B.innerHeight,At):()=>Ve(e)),De=(e,{s:t,d2:r,d:i,a:s})=>Math.max(0,(t="scroll"+r)&&(s=w(e,t))?s()-Re(e)()[i]:Ae(e)?(F[t]||W[t])-(B["inner"+r]||F["client"+r]||W["client"+r]):e[t]-e["offset"+r]),Ye=(e,t)=>{for(let r=0;r<te.length;r+=3)(!t||~t.indexOf(te[r+1]))&&e(te[r],te[r+1],te[r+2])},Ie=e=>"string"==typeof e,Le=e=>"function"==typeof e,Xe=e=>"number"==typeof e,ze=e=>"object"==typeof e,Be=(e,t,r)=>e&&e.progress(t?0:1)&&r&&e.pause(),Ne=(e,t)=>{if(e.enabled){let r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},Fe=Math.abs,We="padding",He="px",qe=e=>B.getComputedStyle(e),Ue=(e,t)=>{for(let r in t)r in e||(e[r]=t[r]);return e},Ve=(e,t)=>{let r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==qe(e)[$]&&X.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return r&&r.progress(0).kill(),i},Ge=(e,{d2:t})=>e["offset"+t]||e["client"+t]||0,je=e=>{let t,r=[],i=e.labels,s=e.duration();for(t in i)r.push(i[t]/s);return r},Ke=e=>{let t=X.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort((e,t)=>e-t);return r?(e,i,s=.001)=>{let o;if(!i)return t(e);if(i>0){for(e-=s,o=0;o<r.length;o++)if(r[o]>=e)return r[o];return r[o-1]}for(o=r.length,e+=s;o--;)if(r[o]<=e)return r[o];return r[0]}:(r,i,s=.001)=>{let o=t(r);return!i||Math.abs(o-r)<s||o-r<0==i<0?o:t(i<0?r-e:r+e)}},Ze=(e,t,r,i)=>r.split(",").forEach(r=>e(t,r,i)),$e=(e,t,r,i,s)=>e.addEventListener(t,r,{passive:!i,capture:!!s}),Je=(e,t,r,i)=>e.removeEventListener(t,r,!!i),Qe=(e,t,r)=>{(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))},et={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},tt={toggleActions:"play",anticipatePin:0},rt={top:0,left:0,center:.5,bottom:1,right:1},it=(e,t)=>{if(Ie(e)){let r=e.indexOf("="),i=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(i*=t/100),e=e.substr(0,r-1)),e=i+(e in rt?rt[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},st=(e,t,r,i,{startColor:s,endColor:o,fontSize:a,indent:n,fontWeight:l},c,d,p)=>{let h=N.createElement("div"),g=Ae(r)||"fixed"===w(r,"pinType"),u=-1!==e.indexOf("scroller"),f=g?W:r,m=-1!==e.indexOf("start"),v=m?s:o,y="border-color:"+v+";font-size:"+a+";color:"+v+";font-weight:"+l+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((u||p)&&g?"fixed;":"absolute;"),(u||p||!g)&&(y+=(i===P?"right":"bottom")+":"+(c+parseFloat(n))+"px;"),d&&(y+="box-sizing:border-box;text-align:left;width:"+d.offsetWidth+"px;"),h._isStart=m,h.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),h.style.cssText=y,h.innerText=t||0===t?e+"-"+t:e,f.children[0]?f.insertBefore(h,f.children[0]):f.appendChild(h),h._offset=h["offset"+i.op.d2],ot(h,0,i,m),h},ot=(e,t,r,i)=>{let s={display:"block"},o=r[i?"os2":"p2"],a=r[i?"p2":"os2"];e._isFlipped=i,s[r.a+"Percent"]=i?-100:0,s[r.a]=i?"1px":0,s["border"+o+"Width"]=1,s["border"+a+"Width"]=0,s[r.p]=t+"px",X.set(e,s)},at=[],nt={},lt=()=>ye()-be>34&&(ge||(ge=requestAnimationFrame(St))),ct=()=>{(!oe||!oe.isPressed||oe.startX>W.clientWidth)&&(v.cache++,oe?ge||(ge=requestAnimationFrame(St)):St(),be||ft("scrollStart"),be=ye())},dt=()=>{le=B.innerWidth,ne=B.innerHeight},pt=()=>{v.cache++,!K&&!se&&!N.fullscreenElement&&!N.webkitFullscreenElement&&(!ae||le!==B.innerWidth||Math.abs(B.innerHeight-ne)>.25*B.innerHeight)&&q.restart(!0)},ht={},gt=[],ut=()=>Je(zt,"scrollEnd",ut)||wt(!0),ft=e=>ht[e]&&ht[e].map(e=>e())||gt,mt=[],vt=e=>{for(let t=0;t<mt.length;t+=5)(!e||mt[t+4]&&mt[t+4].query===e)&&(mt[t].style.cssText=mt[t+1],mt[t].getBBox&&mt[t].setAttribute("transform",mt[t+2]||""),mt[t+3].uncache=1)},yt=(e,t)=>{let r;for(J=0;J<at.length;J++)r=at[J],!r||t&&r._ctx!==t||(e?r.kill(1):r.revert(!0,!0));t&&vt(t),t||ft("revert")},xt=(e,t)=>{v.cache++,(t||!ue)&&v.forEach(e=>Le(e)&&e.cacheID++&&(e.rec=0)),Ie(e)&&(B.history.scrollRestoration=pe=e)},bt=0,wt=(e,t)=>{if(be&&!e)return void $e(zt,"scrollEnd",ut);ue=zt.isRefreshing=!0,v.forEach(e=>Le(e)&&++e.cacheID&&(e.rec=e()));let r=ft("refreshInit");re&&zt.sort(),t||yt(),v.forEach(e=>{Le(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),at.slice(0).forEach(e=>e.refresh()),at.forEach((e,t)=>{if(e._subPinOffset&&e.pin){let t=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-r),e.refresh()}}),at.forEach(e=>{let t=De(e.scroller,e._dir);("max"===e.vars.end||e._endClamp&&e.end>t)&&e.setPositions(e.start,Math.max(e.start+1,t),!0)}),r.forEach(e=>e&&e.render&&e.render(-1)),v.forEach(e=>{Le(e)&&(e.smooth&&requestAnimationFrame(()=>e.target.style.scrollBehavior="smooth"),e.rec&&e(e.rec))}),xt(pe,1),q.pause(),bt++,ue=2,St(2),at.forEach(e=>Le(e.vars.onRefresh)&&e.vars.onRefresh(e)),ue=zt.isRefreshing=!1,ft("refresh")},_t=0,Tt=1,St=e=>{if(!ue||2===e){zt.isUpdating=!0,me&&me.update(0);let e=at.length,t=ye(),r=t-xe>=50,i=e&&at[0].scroll();if(Tt=_t>i?-1:1,ue||(_t=i),r&&(be&&!Z&&t-be>200&&(be=0,ft("scrollEnd")),G=xe,xe=t),Tt<0){for(J=e;J-- >0;)at[J]&&at[J].update(0,r);Tt=1}else for(J=0;J<e;J++)at[J]&&at[J].update(0,r);zt.isUpdating=!1}ge=0},kt=["left","top","bottom","right","marginBottom","marginRight","marginTop","marginLeft","display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Ct=kt.concat(["width","height","boxSizing","maxWidth","maxHeight","position","margin",We,"paddingTop","paddingRight","paddingBottom","paddingLeft"]),Et=(e,t,r,i)=>{if(!e._gsap.swappedIn){let s,o=kt.length,a=t.style,n=e.style;for(;o--;)s=kt[o],a[s]=r[s];a.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(a.display="inline-block"),n.bottom=n.right="auto",a.flexBasis=r.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a.width=Ge(e,E)+He,a.height=Ge(e,P)+He,a.padding=n.margin=n.top=n.left="0",Mt(i),n.width=n.maxWidth=r.width,n.height=n.maxHeight=r.height,n.padding=r.padding,e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Pt=/([A-Z])/g,Mt=e=>{if(e){let t,r,i=e.t.style,s=e.length,o=0;for((e.t._gsap||X.core.getCache(e.t)).uncache=1;o<s;o+=2)r=e[o+1],t=e[o],r?i[t]=r:i[t]&&i.removeProperty(t.replace(Pt,"-$1").toLowerCase())}},Ot=e=>{let t=Ct.length,r=e.style,i=[],s=0;for(;s<t;s++)i.push(Ct[s],r[Ct[s]]);return i.t=e,i},At={left:0,top:0},Rt=(e,t,r,i,s,o,a,n,l,c,d,p,h,g)=>{Le(e)&&(e=e(n)),Ie(e)&&"max"===e.substr(0,3)&&(e=p+("="===e.charAt(4)?it("0"+e.substr(3),r):0));let u,f,m,v=h?h.time():0;if(h&&h.seek(0),isNaN(e)||(e=+e),Xe(e))h&&(e=X.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,p,e)),a&&ot(a,r,i,!0);else{Le(t)&&(t=t(n));let o,d,p,h,g=(e||"0").split(" ");m=M(t,n)||W,o=Ve(m)||{},o&&(o.left||o.top)||"none"!==qe(m).display||(h=m.style.display,m.style.display="block",o=Ve(m),h?m.style.display=h:m.style.removeProperty("display")),d=it(g[0],o[i.d]),p=it(g[1]||"0",r),e=o[i.p]-l[i.p]-c+d+s-p,a&&ot(a,p,i,r-p<20||a._isStart&&p>20),r-=r-p}if(g&&(n[g]=e||-.001,e<0&&(e=0)),o){let t=e+r,s=o._isStart;u="scroll"+i.d2,ot(o,t,i,s&&t>20||!s&&(d?Math.max(W[u],F[u]):o.parentNode[u])<=t+1),d&&(l=Ve(a),d&&(o.style[i.op.p]=l[i.op.p]-i.op.m-o._offset+He))}return h&&m&&(u=Ve(m),h.seek(p),f=Ve(m),h._caScrollDist=u[i.p]-f[i.p],e=e/h._caScrollDist*p),h&&h.seek(v),h?e:Math.round(e)},Dt=/(webkit|moz|length|cssText|inset)/i,Yt=(e,t,r,i)=>{if(e.parentNode!==t){let s,o,a=e.style;if(t===W){for(s in e._stOrig=a.cssText,o=qe(e),o)+s||Dt.test(s)||!o[s]||"string"!=typeof a[s]||"0"===s||(a[s]=o[s]);a.top=r,a.left=i}else a.cssText=e._stOrig;X.core.getCache(e).uncache=1,t.appendChild(e)}},It=(e,t,r)=>{let i=t,s=i;return t=>{let o=Math.round(e());return o!==i&&o!==s&&Math.abs(o-i)>3&&Math.abs(o-s)>3&&(t=o,r&&r()),s=i,i=t,t}},Lt=(e,t,r)=>{let i={};i[t.p]="+="+r,X.set(e,i)},Xt=(e,t)=>{let r=O(e,t),i="_scroll"+t.p2,s=(t,o,a,n,l)=>{let c=s.tween,d=o.onComplete,p={};a=a||r();let h=It(r,a,()=>{c.kill(),s.tween=0});return l=n&&l||0,n=n||t-a,c&&c.kill(),o[i]=t,o.modifiers=p,p[i]=()=>h(a+n*c.ratio+l*c.ratio*c.ratio),o.onUpdate=()=>{v.cache++,St()},o.onComplete=()=>{s.tween=0,d&&d.call(c)},c=s.tween=X.to(e,o),c};return e[i]=r,r.wheelHandler=()=>s.tween&&s.tween.kill()&&(s.tween=0),$e(e,"wheel",r.wheelHandler),zt.isTouch&&$e(e,"touchmove",r.wheelHandler),s};class zt{constructor(e,t){z||zt.register(X)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),de(this),this.init(e,t)}init(e,t){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!we)return void(this.update=this.refresh=this.kill=Ee);e=Ue(Ie(e)||Xe(e)||e.nodeType?{trigger:e}:e,tt);let r,i,s,o,a,n,l,c,d,p,h,g,u,f,m,x,b,_,T,S,k,C,A,R,D,Y,I,L,z,H,q,j,$,Q,ee,te,se,oe,ae,{onUpdate:ne,toggleClass:le,id:ce,onToggle:de,onRefresh:pe,scrub:ge,trigger:xe,pin:Se,pinSpacing:ke,invalidateOnRefresh:Ce,anticipatePin:Me,onScrubComplete:Oe,onSnapComplete:Ye,once:Ze,snap:Qe,pinReparent:rt,pinSpacer:ot,containerAnimation:lt,fastScrollEnd:dt,preventOverlaps:ht}=e,gt=e.horizontal||e.containerAnimation&&!1!==e.horizontal?E:P,ft=!ge&&0!==ge,mt=M(e.scroller||B),vt=X.core.getCache(mt),yt=Ae(mt),xt="fixed"===("pinType"in e?e.pinType:w(mt,"pinType")||yt&&"fixed"),_t=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],St=ft&&e.toggleActions.split(" "),kt="markers"in e?e.markers:tt.markers,Ct=yt?0:parseFloat(qe(mt)["border"+gt.p2+"Width"])||0,Pt=this,Dt=e.onRefreshInit&&(()=>e.onRefreshInit(Pt)),It=((e,t,{d:r,d2:i,a:s})=>(s=w(e,"getBoundingClientRect"))?()=>s()[r]:()=>(t?B["inner"+i]:e["client"+i])||0)(mt,yt,gt),Bt=((e,t)=>!t||~y.indexOf(e)?Re(e):()=>At)(mt,yt),Nt=0,Ft=0,Wt=0,Ht=O(mt,gt);var qt;if(Pt._startClamp=Pt._endClamp=!1,Pt._dir=gt,Me*=45,Pt.scroller=mt,Pt.scroll=lt?lt.time.bind(lt):Ht,o=Ht(),Pt.vars=e,t=t||e.animation,"refreshPriority"in e&&(re=1,-9999===e.refreshPriority&&(me=Pt)),vt.tweenScroll=vt.tweenScroll||{top:Xt(mt,P),left:Xt(mt,E)},Pt.tweenTo=r=vt.tweenScroll[gt.p],Pt.scrubDuration=e=>{$=Xe(e)&&e,$?j?j.duration(e):j=X.to(t,{ease:"expo",totalProgress:"+=0",duration:$,paused:!0,onComplete:()=>Oe&&Oe(Pt)}):(j&&j.progress(1).kill(),j=0)},t&&(t.vars.lazy=!1,t._initted&&!Pt.isReverted||!1!==t.vars.immediateRender&&!1!==e.immediateRender&&t.duration()&&t.render(0,!0,!0),Pt.animation=t.pause(),t.scrollTrigger=Pt,Pt.scrubDuration(ge),H=0,ce||(ce=t.vars.id)),Qe&&(ze(Qe)&&!Qe.push||(Qe={snapTo:Qe}),"scrollBehavior"in W.style&&X.set(yt?[W,F]:mt,{scrollBehavior:"auto"}),v.forEach(e=>Le(e)&&e.target===(yt?N.scrollingElement||F:mt)&&(e.smooth=!1)),s=Le(Qe.snapTo)?Qe.snapTo:"labels"===Qe.snapTo?(e=>t=>X.utils.snap(je(e),t))(t):"labelsDirectional"===Qe.snapTo?(qt=t,(e,t)=>Ke(je(qt))(e,t.direction)):!1!==Qe.directional?(e,t)=>Ke(Qe.snapTo)(e,ye()-Ft<500?0:t.direction):X.utils.snap(Qe.snapTo),Q=Qe.duration||{min:.1,max:2},Q=ze(Q)?V(Q.min,Q.max):V(Q,Q),ee=X.delayedCall(Qe.delay||$/2||.1,()=>{let e=Ht(),i=ye()-Ft<500,o=r.tween;if(!(i||Math.abs(Pt.getVelocity())<10)||o||Z||Nt===e)Pt.isActive&&Nt!==e&&ee.restart(!0);else{let a=(e-n)/f,c=t&&!ft?t.totalProgress():a,d=i?0:(c-q)/(ye()-G)*1e3||0,p=X.utils.clamp(-a,1-a,Fe(d/2)*d/.185),h=a+(!1===Qe.inertia?0:p),g=V(0,1,s(h,Pt)),u=Math.round(n+g*f),{onStart:m,onInterrupt:v,onComplete:y}=Qe;if(e<=l&&e>=n&&u!==e){if(o&&!o._initted&&o.data<=Fe(u-e))return;!1===Qe.inertia&&(p=g-a),r(u,{duration:Q(Fe(.185*Math.max(Fe(h-c),Fe(g-c))/d/.05||0)),ease:Qe.ease||"power3",data:Fe(u-e),onInterrupt:()=>ee.restart(!0)&&v&&v(Pt),onComplete:()=>{Pt.update(),Nt=Ht(),H=q=t&&!ft?t.totalProgress():Pt.progress,Ye&&Ye(Pt),y&&y(Pt)}},e,p*f,u-e-p*f),m&&m(Pt,r.tween)}}}).pause()),ce&&(nt[ce]=Pt),xe=Pt.trigger=M(xe||!0!==Se&&Se),ae=xe&&xe._gsap&&xe._gsap.stRevert,ae&&(ae=ae(Pt)),Se=!0===Se?xe:M(Se),Ie(le)&&(le={targets:xe,className:le}),Se&&(!1===ke||"margin"===ke||(ke=!(!ke&&Se.parentNode&&Se.parentNode.style&&"flex"===qe(Se.parentNode).display)&&We),Pt.pin=Se,i=X.core.getCache(Se),i.spacer?m=i.pinState:(ot&&(ot=M(ot),ot&&!ot.nodeType&&(ot=ot.current||ot.nativeElement),i.spacerIsNative=!!ot,ot&&(i.spacerState=Ot(ot))),i.spacer=_=ot||N.createElement("div"),_.classList.add("pin-spacer"),ce&&_.classList.add("pin-spacer-"+ce),i.pinState=m=Ot(Se)),!1!==e.force3D&&X.set(Se,{force3D:!0}),Pt.spacer=_=i.spacer,z=qe(Se),R=z[ke+gt.os2],S=X.getProperty(Se),k=X.quickSetter(Se,gt.a,He),Et(Se,_,z),b=Ot(Se)),kt){g=ze(kt)?Ue(kt,et):et,p=st("scroller-start",ce,mt,gt,g,0),h=st("scroller-end",ce,mt,gt,g,0,p),T=p["offset"+gt.op.d2];let e=M(w(mt,"content")||mt);c=this.markerStart=st("start",ce,e,gt,g,T,0,lt),d=this.markerEnd=st("end",ce,e,gt,g,T,0,lt),lt&&(oe=X.quickSetter([c,d],gt.a,He)),xt||y.length&&!0===w(mt,"fixedMarkers")||((e=>{let t=qe(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"})(yt?W:mt),X.set([p,h],{force3D:!0}),Y=X.quickSetter(p,gt.a,He),L=X.quickSetter(h,gt.a,He))}if(lt){let e=lt.vars.onUpdate,t=lt.vars.onUpdateParams;lt.eventCallback("onUpdate",()=>{Pt.update(0,0,1),e&&e.apply(lt,t||[])})}if(Pt.previous=()=>at[at.indexOf(Pt)-1],Pt.next=()=>at[at.indexOf(Pt)+1],Pt.revert=(e,r)=>{if(!r)return Pt.kill(!0);let i=!1!==e||!Pt.enabled,s=K;i!==Pt.isReverted&&(i&&(te=Math.max(Ht(),Pt.scroll.rec||0),Wt=Pt.progress,se=t&&t.progress()),c&&[c,d,p,h].forEach(e=>e.style.display=i?"none":"block"),i&&(K=Pt,Pt.update(i)),!Se||rt&&Pt.isActive||(i?((e,t,r)=>{Mt(r);let i=e._gsap;if(i.spacerIsNative)Mt(i.spacerState);else if(e._gsap.swappedIn){let r=t.parentNode;r&&(r.insertBefore(e,t),r.removeChild(t))}e._gsap.swappedIn=!1})(Se,_,m):Et(Se,_,qe(Se),D)),i||Pt.update(i),K=s,Pt.isReverted=i)},Pt.refresh=(i,s,g,v)=>{if((K||!Pt.enabled)&&!s)return;if(Se&&i&&be)return void $e(zt,"scrollEnd",ut);!ue&&Dt&&Dt(Pt),K=Pt,r.tween&&(r.tween.kill(),r.tween=0),j&&j.pause(),Ce&&t&&t.revert({kill:!1}).invalidate(),Pt.isReverted||Pt.revert(!0,!0),Pt._subPinOffset=!1;let y,w,T,k,R,Y,L,z,B,H,q,U,V,G=It(),Z=Bt(),$=lt?lt.duration():De(mt,gt),J=f<=.01,Q=0,re=v||0,oe=ze(g)?g.end:e.end,ae=e.endTrigger||xe,ne=ze(g)?g.start:e.start||(0!==e.start&&xe?Se?"0 0":"0 100%":0),le=Pt.pinnedContainer=e.pinnedContainer&&M(e.pinnedContainer,Pt),ce=xe&&Math.max(0,at.indexOf(Pt))||0,de=ce;for(kt&&ze(g)&&(U=X.getProperty(p,gt.p),V=X.getProperty(h,gt.p));de--;)Y=at[de],Y.end||Y.refresh(0,1)||(K=Pt),L=Y.pin,!L||L!==xe&&L!==Se&&L!==le||Y.isReverted||(H||(H=[]),H.unshift(Y),Y.revert(!0,!0)),Y!==at[de]&&(ce--,de--);for(Le(ne)&&(ne=ne(Pt)),ne=_e(ne,"start",Pt),n=Rt(ne,xe,G,gt,Ht(),c,p,Pt,Z,Ct,xt,$,lt,Pt._startClamp&&"_startClamp")||(Se?-.001:0),Le(oe)&&(oe=oe(Pt)),Ie(oe)&&!oe.indexOf("+=")&&(~oe.indexOf(" ")?oe=(Ie(ne)?ne.split(" ")[0]:"")+oe:(Q=it(oe.substr(2),G),oe=Ie(ne)?ne:(lt?X.utils.mapRange(0,lt.duration(),lt.scrollTrigger.start,lt.scrollTrigger.end,n):n)+Q,ae=xe)),oe=_e(oe,"end",Pt),l=Math.max(n,Rt(oe||(ae?"100% 0":$),ae,G,gt,Ht()+Q,d,h,Pt,Z,Ct,xt,$,lt,Pt._endClamp&&"_endClamp"))||-.001,Q=0,de=ce;de--;)Y=at[de],L=Y.pin,L&&Y.start-Y._pinPush<=n&&!lt&&Y.end>0&&(y=Y.end-(Pt._startClamp?Math.max(0,Y.start):Y.start),(L===xe&&Y.start-Y._pinPush<n||L===le)&&isNaN(ne)&&(Q+=y*(1-Y.progress)),L===Se&&(re+=y));if(n+=Q,l+=Q,Pt._startClamp&&(Pt._startClamp+=Q),Pt._endClamp&&!ue&&(Pt._endClamp=l||-.001,l=Math.min(l,De(mt,gt))),f=l-n||(n-=.01)&&.001,J&&(Wt=X.utils.clamp(0,1,X.utils.normalize(n,l,te))),Pt._pinPush=re,c&&Q&&(y={},y[gt.a]="+="+Q,le&&(y[gt.p]="-="+Ht()),X.set([c,d],y)),Se)y=qe(Se),k=gt===P,T=Ht(),C=parseFloat(S(gt.a))+re,!$&&l>1&&(q=(yt?N.scrollingElement||F:mt).style,q={style:q,value:q["overflow"+gt.a.toUpperCase()]},yt&&"scroll"!==qe(W)["overflow"+gt.a.toUpperCase()]&&(q.style["overflow"+gt.a.toUpperCase()]="scroll")),Et(Se,_,y),b=Ot(Se),w=Ve(Se,!0),z=xt&&O(mt,k?E:P)(),ke&&(D=[ke+gt.os2,f+re+He],D.t=_,de=ke===We?Ge(Se,gt)+f+re:0,de&&D.push(gt.d,de+He),Mt(D),le&&at.forEach(e=>{e.pin===le&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),xt&&Ht(te)),xt&&(R={top:w.top+(k?T-n:z)+He,left:w.left+(k?z:T-n)+He,boxSizing:"border-box",position:"fixed"},R.width=R.maxWidth=Math.ceil(w.width)+He,R.height=R.maxHeight=Math.ceil(w.height)+He,R.margin=R.marginTop=R.marginRight=R.marginBottom=R.marginLeft="0",R.padding=y.padding,R.paddingTop=y.paddingTop,R.paddingRight=y.paddingRight,R.paddingBottom=y.paddingBottom,R.paddingLeft=y.paddingLeft,x=((e,t,r)=>{let i,s=[],o=e.length,a=r?8:0;for(;a<o;a+=2)i=e[a],s.push(i,i in t?t[i]:e[a+1]);return s.t=e.t,s})(m,R,rt),ue&&Ht(0)),t?(B=t._initted,ie(1),t.render(t.duration(),!0,!0),A=S(gt.a)-C+f+re,I=Math.abs(f-A)>1,xt&&I&&x.splice(x.length-2,2),t.render(0,!0,!0),B||t.invalidate(!0),t.parent||t.totalTime(t.totalTime()),ie(0)):A=f,q&&(q.value?q.style["overflow"+gt.a.toUpperCase()]=q.value:q.style.removeProperty("overflow-"+gt.a));else if(xe&&Ht()&&!lt)for(w=xe.parentNode;w&&w!==W;)w._pinOffset&&(n-=w._pinOffset,l-=w._pinOffset),w=w.parentNode;H&&H.forEach(e=>e.revert(!1,!0)),Pt.start=n,Pt.end=l,o=a=ue?te:Ht(),lt||ue||(o<te&&Ht(te),Pt.scroll.rec=0),Pt.revert(!1,!0),Ft=ye(),ee&&(Nt=-1,Pt.isActive&&Ht(n+f*Wt),ee.restart(!0)),K=0,t&&ft&&(t._initted||se)&&t.progress()!==se&&t.progress(se||0,!0).render(t.time(),!0,!0),(J||Wt!==Pt.progress||lt)&&(t&&!ft&&t.totalProgress(lt&&n<-.001&&!Wt?X.utils.normalize(n,l,0):Wt,!0),Pt.progress=J||(o-n)/f===Wt?0:Wt),Se&&ke&&(_._pinOffset=Math.round(Pt.progress*A)),j&&j.invalidate(),isNaN(U)||(U-=X.getProperty(p,gt.p),V-=X.getProperty(h,gt.p),Lt(p,gt,U),Lt(c,gt,U-(v||0)),Lt(h,gt,V),Lt(d,gt,V-(v||0))),J&&!ue&&Pt.update(),!pe||ue||u||(u=!0,pe(Pt),u=!1)},Pt.getVelocity=()=>(Ht()-a)/(ye()-G)*1e3||0,Pt.endAnimation=()=>{Be(Pt.callbackAnimation),t&&(j?j.progress(1):t.paused()?ft||Be(t,Pt.direction<0,1):Be(t,t.reversed()))},Pt.labelToScroll=e=>t&&t.labels&&(n||Pt.refresh()||n)+t.labels[e]/t.duration()*f||0,Pt.getTrailing=e=>{let t=at.indexOf(Pt),r=Pt.direction>0?at.slice(0,t).reverse():at.slice(t+1);return(Ie(e)?r.filter(t=>t.vars.preventOverlaps===e):r).filter(e=>Pt.direction>0?e.end<=n:e.start>=l)},Pt.update=(e,i,s)=>{if(lt&&!s&&!e)return;let c,d,h,g,u,m,v,y,w=!0===ue?te:Pt.scroll(),T=e?0:(w-n)/f,S=T<0?0:T>1?1:T||0,E=Pt.progress;if(i&&(a=o,o=lt?Ht():w,Qe&&(q=H,H=t&&!ft?t.totalProgress():S)),Me&&!S&&Se&&!K&&!ve&&be&&n<w+(w-a)/(ye()-G)*Me&&(S=1e-4),S!==E&&Pt.enabled){if(c=Pt.isActive=!!S&&S<1,d=!!E&&E<1,m=c!==d,u=m||!!S!=!!E,Pt.direction=S>E?1:-1,Pt.progress=S,u&&!K&&(h=S&&!E?0:1===S?1:1===E?2:3,ft&&(g=!m&&"none"!==St[h+1]&&St[h+1]||St[h],y=t&&("complete"===g||"reset"===g||g in t))),ht&&(m||y)&&(y||ge||!t)&&(Le(ht)?ht(Pt):Pt.getTrailing(ht).forEach(e=>e.endAnimation())),ft||(!j||K||ve?t&&t.totalProgress(S,!(!K||!Ft&&!e)):(j._dp._time-j._start!==j._time&&j.render(j._dp._time-j._start),j.resetTo?j.resetTo("totalProgress",S,t._tTime/t._tDur):(j.vars.totalProgress=S,j.invalidate().restart()))),Se)if(e&&ke&&(_.style[ke+gt.os2]=R),xt){if(u){if(v=!e&&S>E&&l+1>w&&w+1>=De(mt,gt),rt)if(e||!c&&!v)Yt(Se,_);else{let e=Ve(Se,!0),t=w-n;Yt(Se,W,e.top+(gt===P?t:0)+He,e.left+(gt===P?0:t)+He)}Mt(c||v?x:b),I&&S<1&&c||k(C+(1!==S||v?0:A))}}else k(Pe(C+A*S));Qe&&!r.tween&&!K&&!ve&&ee.restart(!0),le&&(m||Ze&&S&&(S<1||!he))&&U(le.targets).forEach(e=>e.classList[c||Ze?"add":"remove"](le.className)),ne&&!ft&&!e&&ne(Pt),u&&!K?(ft&&(y&&("complete"===g?t.pause().totalProgress(1):"reset"===g?t.restart(!0).pause():"restart"===g?t.restart(!0):t[g]()),ne&&ne(Pt)),!m&&he||(de&&m&&Ne(Pt,de),_t[h]&&Ne(Pt,_t[h]),Ze&&(1===S?Pt.kill(!1,1):_t[h]=0),m||(h=1===S?1:3,_t[h]&&Ne(Pt,_t[h]))),dt&&!c&&Math.abs(Pt.getVelocity())>(Xe(dt)?dt:2500)&&(Be(Pt.callbackAnimation),j?j.progress(1):Be(t,"reverse"===g?1:!S,1))):ft&&ne&&!K&&ne(Pt)}if(L){let e=lt?w/lt.duration()*(lt._caScrollDist||0):w;Y(e+(p._isFlipped?1:0)),L(e)}oe&&oe(-w/lt.duration()*(lt._caScrollDist||0))},Pt.enable=(e,t)=>{Pt.enabled||(Pt.enabled=!0,$e(mt,"resize",pt),$e(yt?N:mt,"scroll",ct),Dt&&$e(zt,"refreshInit",Dt),!1!==e&&(Pt.progress=Wt=0,o=a=Nt=Ht()),!1!==t&&Pt.refresh())},Pt.getTween=e=>e&&r?r.tween:j,Pt.setPositions=(e,t,r,i)=>{Pt.refresh(!1,!1,{start:Te(e,r&&!!Pt._startClamp),end:Te(t,r&&!!Pt._endClamp)},i),Pt.update()},Pt.adjustPinSpacing=e=>{if(D&&e){let t=D.indexOf(gt.d)+1;D[t]=parseFloat(D[t])+e+He,D[1]=parseFloat(D[1])+e+He,Mt(D)}},Pt.disable=(e,t)=>{if(Pt.enabled&&(!1!==e&&Pt.revert(!0,!0),Pt.enabled=Pt.isActive=!1,t||j&&j.pause(),te=0,i&&(i.uncache=1),Dt&&Je(zt,"refreshInit",Dt),ee&&(ee.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!yt)){let e=at.length;for(;e--;)if(at[e].scroller===mt&&at[e]!==Pt)return;Je(mt,"resize",pt),Je(mt,"scroll",ct)}},Pt.kill=(r,s)=>{Pt.disable(r,s),j&&!s&&j.kill(),ce&&delete nt[ce];let o=at.indexOf(Pt);o>=0&&at.splice(o,1),o===J&&Tt>0&&J--,o=0,at.forEach(e=>e.scroller===Pt.scroller&&(o=1)),o||ue||(Pt.scroll.rec=0),t&&(t.scrollTrigger=null,r&&t.revert({kill:!1}),s||t.kill()),c&&[c,d,p,h].forEach(e=>e.parentNode&&e.parentNode.removeChild(e)),me===Pt&&(me=0),Se&&(i&&(i.uncache=1),o=0,at.forEach(e=>e.pin===Se&&o++),o||(i.spacer=0)),e.onKill&&e.onKill(Pt)},at.push(Pt),Pt.enable(!1,!1),ae&&ae(Pt),t&&t.add&&!f){let e=Pt.update;Pt.update=()=>{Pt.update=e,n||l||Pt.refresh()},X.delayedCall(.01,Pt.update),f=.01,n=l=0}else Pt.refresh();Se&&(()=>{if(fe!==bt){let e=fe=bt;requestAnimationFrame(()=>e===bt&&wt(!0))}})()}static register(e){return z||(X=e||Oe(),Me()&&window.document&&zt.enable(),z=we),z}static defaults(e){if(e)for(let t in e)tt[t]=e[t];return tt}static disable(e,t){we=0,at.forEach(r=>r[t?"kill":"disable"](e)),Je(B,"wheel",ct),Je(N,"scroll",ct),clearInterval(j),Je(N,"touchcancel",Ee),Je(W,"touchstart",Ee),Ze(Je,N,"pointerdown,touchstart,mousedown",ke),Ze(Je,N,"pointerup,touchend,mouseup",Ce),q.kill(),Ye(Je);for(let e=0;e<v.length;e+=3)Qe(Je,v[e],v[e+1]),Qe(Je,v[e],v[e+2])}static enable(){if(B=window,N=document,F=N.documentElement,W=N.body,X&&(U=X.utils.toArray,V=X.utils.clamp,de=X.core.context||Ee,ie=X.core.suppressOverwrites||Ee,pe=B.history.scrollRestoration||"auto",_t=B.pageYOffset,X.core.globals("ScrollTrigger",zt),W)){we=1,Se(),L.register(X),zt.isTouch=L.isTouch,ce=L.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),$e(B,"wheel",ct),H=[B,N,F,W],X.matchMedia?(zt.matchMedia=e=>{let t,r=X.matchMedia();for(t in e)r.add(t,e[t]);return r},X.addEventListener("matchMediaInit",()=>yt()),X.addEventListener("matchMediaRevert",()=>vt()),X.addEventListener("matchMedia",()=>{wt(0,1),ft("matchMedia")}),X.matchMedia("(orientation: portrait)",()=>(dt(),dt))):console.warn("Requires GSAP 3.11.0 or later"),dt(),$e(N,"scroll",ct);let e,t,r=W.style,i=r.borderTopStyle,s=X.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",e=Ve(W),P.m=Math.round(e.top+P.sc())||0,E.m=Math.round(e.left+E.sc())||0,i?r.borderTopStyle=i:r.removeProperty("border-top-style"),j=setInterval(lt,250),X.delayedCall(.5,()=>ve=0),$e(N,"touchcancel",Ee),$e(W,"touchstart",Ee),Ze($e,N,"pointerdown,touchstart,mousedown",ke),Ze($e,N,"pointerup,touchend,mouseup",Ce),$=X.utils.checkPrefix("transform"),Ct.push($),z=ye(),q=X.delayedCall(.2,wt).pause(),te=[N,"visibilitychange",()=>{let e=B.innerWidth,t=B.innerHeight;N.hidden?(Q=e,ee=t):Q===e&&ee===t||pt()},N,"DOMContentLoaded",wt,B,"load",wt,B,"resize",pt],Ye($e),at.forEach(e=>e.enable(0,1)),t=0;t<v.length;t+=3)Qe(Je,v[t],v[t+1]),Qe(Je,v[t],v[t+2])}}static config(e){"limitCallbacks"in e&&(he=!!e.limitCallbacks);let t=e.syncInterval;t&&clearInterval(j)||(j=t)&&setInterval(lt,t),"ignoreMobileResize"in e&&(ae=1===zt.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(Ye(Je)||Ye($e,e.autoRefreshEvents||"none"),se=-1===(e.autoRefreshEvents+"").indexOf("resize"))}static scrollerProxy(e,t){let r=M(e),i=v.indexOf(r),s=Ae(r);~i&&v.splice(i,s?6:2),t&&(s?y.unshift(B,t,W,t,F,t):y.unshift(r,t))}static clearMatchMedia(e){at.forEach(t=>t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0))}static isInViewport(e,t,r){let i=(Ie(e)?M(e):e).getBoundingClientRect(),s=i[r?"width":"height"]*t||0;return r?i.right-s>0&&i.left+s<B.innerWidth:i.bottom-s>0&&i.top+s<B.innerHeight}static positionInViewport(e,t,r){Ie(e)&&(e=M(e));let i=e.getBoundingClientRect(),s=i[r?"width":"height"],o=null==t?s/2:t in rt?rt[t]*s:~t.indexOf("%")?parseFloat(t)*s/100:parseFloat(t)||0;return r?(i.left+o)/B.innerWidth:(i.top+o)/B.innerHeight}static killAll(e){if(at.slice(0).forEach(e=>"ScrollSmoother"!==e.vars.id&&e.kill()),!0!==e){let e=ht.killAll||[];ht={},e.forEach(e=>e())}}}zt.version="3.12.0",zt.saveStyles=e=>e?U(e).forEach(e=>{if(e&&e.style){let t=mt.indexOf(e);t>=0&&mt.splice(t,5),mt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),X.core.getCache(e),de())}}):mt,zt.revert=(e,t)=>yt(!e,t),zt.create=(e,t)=>new zt(e,t),zt.refresh=e=>e?pt():(z||zt.register())&&wt(!0),zt.update=e=>++v.cache&&St(!0===e?2:0),zt.clearScrollMemory=xt,zt.maxScroll=(e,t)=>De(e,t?E:P),zt.getScrollFunc=(e,t)=>O(M(e),t?E:P),zt.getById=e=>nt[e],zt.getAll=()=>at.filter(e=>"ScrollSmoother"!==e.vars.id),zt.isScrolling=()=>!!be,zt.snapDirectional=Ke,zt.addEventListener=(e,t)=>{let r=ht[e]||(ht[e]=[]);~r.indexOf(t)||r.push(t)},zt.removeEventListener=(e,t)=>{let r=ht[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},zt.batch=(e,t)=>{let r,i=[],s={},o=t.interval||.016,a=t.batchMax||1e9,n=(e,t)=>{let r=[],i=[],s=X.delayedCall(o,()=>{t(r,i),r=[],i=[]}).pause();return e=>{r.length||s.restart(!0),r.push(e.trigger),i.push(e),a<=r.length&&s.progress(1)}};for(r in t)s[r]="on"===r.substr(0,2)&&Le(t[r])&&"onRefreshInit"!==r?n(0,t[r]):t[r];return Le(a)&&(a=a(),$e(zt,"refresh",()=>a=t.batchMax())),U(e).forEach(e=>{let t={};for(r in s)t[r]=s[r];t.trigger=e,i.push(zt.create(t))}),i};let Bt,Nt=(e,t,r,i)=>(t>i?e(i):t<0&&e(0),r>i?(i-t)/(r-t):r<0?t/(t-r):1),Ft=(e,t)=>{!0===t?e.style.removeProperty("touch-action"):e.style.touchAction=!0===t?"auto":t?"pan-"+t+(L.isTouch?" pinch-zoom":""):"none",e===F&&Ft(W,t)},Wt={auto:1,scroll:1},Ht=({event:e,target:t,axis:r})=>{let i,s=(e.changedTouches?e.changedTouches[0]:e).target,o=s._gsap||X.core.getCache(s),a=ye();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==W&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!Wt[(i=qe(s)).overflowY]&&!Wt[i.overflowX]);)s=s.parentNode;o._isScroll=s&&s!==t&&!Ae(s)&&(Wt[(i=qe(s)).overflowY]||Wt[i.overflowX]),o._isScrollT=a}(o._isScroll||"x"===r)&&(e.stopPropagation(),e._gsapAllow=!0)},qt=(e,t,r,i)=>L.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&Ht,onPress:i,onDrag:i,onScroll:i,onEnable:()=>r&&$e(N,L.eventTypes[0],Vt,!1,!0),onDisable:()=>Je(N,L.eventTypes[0],Vt,!0)}),Ut=/(input|label|select|textarea)/i,Vt=e=>{let t=Ut.test(e.target.tagName);(t||Bt)&&(e._gsapAllow=!0,Bt=t)},Gt=e=>{ze(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";let t,r,i,s,o,a,n,l,{normalizeScrollX:c,momentum:d,allowNestedScroll:p,onRelease:h}=e,g=M(e.target)||F,u=X.core.globals().ScrollSmoother,f=u&&u.get(),m=ce&&(e.content&&M(e.content)||f&&!1!==e.content&&!f.smooth()&&f.content()),y=O(g,P),x=O(g,E),b=1,w=(L.isTouch&&B.visualViewport?B.visualViewport.scale*B.visualViewport.width:B.outerWidth)/B.innerWidth,_=0,T=Le(d)?()=>d(t):()=>d||2.8,S=qt(g,e.type,!0,p),k=()=>s=!1,C=Ee,A=Ee,R=()=>{r=De(g,P),A=V(ce?1:0,r),c&&(C=V(0,De(g,E))),i=bt},D=()=>{m._gsap.y=Pe(parseFloat(m._gsap.y)+y.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},Y=()=>{R(),o.isActive()&&o.vars.scrollY>r&&(y()>r?o.progress(1)&&y(r):o.resetTo("scrollY",r))};return m&&X.set(m,{y:"+=0"}),e.ignoreCheck=e=>ce&&"touchmove"===e.type&&(()=>{if(s){requestAnimationFrame(k);let e=Pe(t.deltaY/2),r=A(y.v-e);if(m&&r!==y.v+y.offset){y.offset=r-y.v;let e=Pe((parseFloat(m&&m._gsap.y)||0)-y.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+e+", 0, 1)",m._gsap.y=e+"px",y.cacheID=v.cache,St()}return!0}y.offset&&D(),s=!0})()||b>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1,e.onPress=()=>{s=!1;let e=b;b=Pe((B.visualViewport&&B.visualViewport.scale||1)/w),o.pause(),e!==b&&Ft(g,b>1.01||!c&&"x"),a=x(),n=y(),R(),i=bt},e.onRelease=e.onGestureStart=(e,t)=>{if(y.offset&&D(),t){v.cache++;let t,i,s=T();c&&(t=x(),i=t+.05*s*-e.velocityX/.227,s*=Nt(x,t,i,De(g,E)),o.vars.scrollX=C(i)),t=y(),i=t+.05*s*-e.velocityY/.227,s*=Nt(y,t,i,De(g,P)),o.vars.scrollY=A(i),o.invalidate().duration(s).play(.01),(ce&&o.vars.scrollY>=r||t>=r-1)&&X.to({},{onUpdate:Y,duration:s})}else l.restart(!0);h&&h(e)},e.onWheel=()=>{o._ts&&o.pause(),ye()-_>1e3&&(i=0,_=ye())},e.onChange=(e,t,r,s,o)=>{if(bt!==i&&R(),t&&c&&x(C(s[2]===t?a+(e.startX-e.x):x()+t-s[1])),r){y.offset&&D();let t=o[2]===r,i=t?n+e.startY-e.y:y()+r-o[1],s=A(i);t&&i!==s&&(n+=s-i),y(s)}(r||t)&&St()},e.onEnable=()=>{Ft(g,!c&&"x"),zt.addEventListener("refresh",Y),$e(B,"resize",Y),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=x.smooth=!1),S.enable()},e.onDisable=()=>{Ft(g,!0),Je(B,"resize",Y),zt.removeEventListener("refresh",Y),S.kill()},e.lockAxis=!1!==e.lockAxis,t=new L(e),t.iOS=ce,ce&&!y()&&y(1),ce&&X.ticker.add(Ee),l=t._dc,o=X.to(t,{ease:"power4",paused:!0,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:It(y,y(),()=>o.pause())},onUpdate:St,onComplete:l.vars.onComplete}),t};zt.sort=e=>at.sort(e||((e,t)=>-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0)))),zt.observe=e=>new L(e),zt.normalizeScroll=e=>{if(void 0===e)return oe;if(!0===e&&oe)return oe.enable();if(!1===e)return oe&&oe.kill();let t=e instanceof L?e:Gt(e);return oe&&oe.target===t.target&&oe.kill(),Ae(t.target)&&(oe=t),t},zt.core={_getVelocityProp:A,_inputObserver:qt,_scrollers:v,_proxies:y,bridge:{ss:()=>{be||ft("scrollStart"),be=ye()},ref:()=>K}},Oe()&&X.registerPlugin(zt);export default zt;export{zt as ScrollTrigger};
/*!
* SplitText 3.11.5
* SplitText 3.12.0
* https://greensock.com

@@ -13,2 +13,2 @@ *

const D=/([\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)/;let u,e,t,F,C,i,n=/(?:\r|\n|\t\t)/g,s=/(?:\s\s+)/g,E=D=>{u=document,e=window,F=F||D||e.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),F&&(i=F.utils.toArray,C=F.core.context||function(){},t=1)},l=function(){return String.fromCharCode.apply(null,arguments)},r=l(103,114,101,101,110,115,111,99,107,46,99,111,109),o=function(D){var u="undefined"!=typeof window,e=0===(u?window.location.href:"").indexOf(l(102,105,108,101,58,47,47))||-1!==D.indexOf(l(108,111,99,97,108,104,111,115,116))||-1!==D.indexOf(l(49,50,55,46,48,32,48,46,49)),t=[r,l(99,111,100,101,112,101,110,46,105,111),l(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),l(99,111,100,101,112,101,110,46,100,101,118),l(99,111,100,101,112,101,110,46,97,112,112),l(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),l(112,101,110,115,46,99,108,111,117,100),l(99,115,115,45,116,114,105,99,107,115,46,99,111,109),l(99,100,112,110,46,105,111),l(112,101,110,115,46,105,111),l(103,97,110,110,111,110,46,116,118),l(99,111,100,101,99,97,110,121,111,110,46,110,101,116),l(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),l(99,101,114,101,98,114,97,120,46,99,111,46,117,107),l(116,121,109,112,97,110,117,115,46,110,101,116),l(116,119,101,101,110,109,97,120,46,99,111,109),l(112,108,110,107,114,46,99,111),l(104,111,116,106,97,114,46,99,111,109),l(119,101,98,112,97,99,107,98,105,110,46,99,111,109),l(97,114,99,104,105,118,101,46,111,114,103),l(99,111,100,101,115,97,110,100,98,111,120,46,105,111),l(99,115,98,46,97,112,112),l(115,116,97,99,107,98,108,105,116,122,46,99,111,109),l(115,116,97,99,107,98,108,105,116,122,46,105,111),l(99,111,100,105,101,114,46,105,111),l(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),l(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),l(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),l(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),l(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),l(106,115,102,105,100,100,108,101,46,110,101,116)],F=function(){u&&("loading"===document.readyState||"interactive"===document.readyState?document.addEventListener("readystatechange",F):(document.removeEventListener("readystatechange",F),u&&window.console&&!window._gsapWarned&&"object"==typeof window.gsap&&!1!==window.gsap.config().trialWarn&&(console.log(l(37,99,87,97,114,110,105,110,103),l(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(l(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"SplitText"+l(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(l(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),l(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)))},C=t.length;for(setTimeout(F,50);--C>-1;)if(-1!==D.indexOf(t[C]))return!0;return e||!setTimeout((function(){u&&(window.location.href=l(104,116,116,112,115,58,47,47)+r+l(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=SplitText&source=trial")}),3e3)}("undefined"!=typeof window?window.location.host:""),d=D=>e.getComputedStyle(D),a=D=>"absolute"===D.position||!0===D.absolute,p=(D,u)=>{let e,t=u.length;for(;--t>-1;)if(e=u[t],D.substr(0,e.length)===e)return e.length},h=(D="",u)=>{let e=~D.indexOf("++"),t=1;return e&&(D=D.split("++").join("")),()=>"<"+u+" style='position:relative;display:inline-block;'"+(D?" class='"+D+(e?t++:"")+"'>":">")},B=(D,u,e)=>{let t=D.nodeType;if(1===t||9===t||11===t)for(D=D.firstChild;D;D=D.nextSibling)B(D,u,e);else 3!==t&&4!==t||(D.nodeValue=D.nodeValue.split(u).join(e))},A=(D,u)=>{let e=u.length;for(;--e>-1;)D.push(u[e])},f=(D,u,e)=>{let t;for(;D&&D!==u;){if(t=D._next||D.nextSibling,t)return t.textContent.charAt(0)===e;D=D.parentNode||D._parent}},c=D=>{let u,e,t=i(D.childNodes),F=t.length;for(u=0;u<F;u++)e=t[u],e._isSplit?c(e):u&&e.previousSibling&&3===e.previousSibling.nodeType?(e.previousSibling.nodeValue+=3===e.nodeType?e.nodeValue:e.firstChild.nodeValue,D.removeChild(e)):3!==e.nodeType&&(D.insertBefore(e.firstChild,e),D.removeChild(e))},g=(D,u)=>parseFloat(u[D])||0,x=(D,e,t,F,C,i,n)=>{let s,E,l,r,o,p,h,x,y,_,b,w,S=d(D),m=g("paddingLeft",S),v=-999,T=g("borderBottomWidth",S)+g("borderTopWidth",S),N=g("borderLeftWidth",S)+g("borderRightWidth",S),L=g("paddingTop",S)+g("paddingBottom",S),W=g("paddingLeft",S)+g("paddingRight",S),O=g("fontSize",S)*(e.lineThreshold||.2),H=S.textAlign,V=[],R=[],M=[],j=e.wordDelimiter||" ",k=e.tag?e.tag:e.span?"span":"div",P=e.type||e.split||"chars,words,lines",z=C&&~P.indexOf("lines")?[]:null,q=~P.indexOf("words"),G=~P.indexOf("chars"),I=a(e),J=e.linesClass,K=~(J||"").indexOf("++"),Q=[],U="flex"===S.display,X=D.style.display;for(K&&(J=J.split("++").join("")),U&&(D.style.display="block"),E=D.getElementsByTagName("*"),l=E.length,o=[],s=0;s<l;s++)o[s]=E[s];if(z||I)for(s=0;s<l;s++)r=o[s],p=r.parentNode===D,(p||I||G&&!q)&&(w=r.offsetTop,z&&p&&Math.abs(w-v)>O&&("BR"!==r.nodeName||0===s)&&(h=[],z.push(h),v=w),I&&(r._x=r.offsetLeft,r._y=w,r._w=r.offsetWidth,r._h=r.offsetHeight),z&&((r._isSplit&&p||!G&&p||q&&p||!q&&r.parentNode.parentNode===D&&!r.parentNode._isSplit)&&(h.push(r),r._x-=m,f(r,D,j)&&(r._wordEnd=!0)),"BR"===r.nodeName&&(r.nextSibling&&"BR"===r.nextSibling.nodeName||0===s)&&z.push([])));for(s=0;s<l;s++)if(r=o[s],p=r.parentNode===D,"BR"!==r.nodeName)if(I&&(y=r.style,q||p||(r._x+=r.parentNode._x,r._y+=r.parentNode._y),y.left=r._x+"px",y.top=r._y+"px",y.position="absolute",y.display="block",y.width=r._w+1+"px",y.height=r._h+"px"),!q&&G)if(r._isSplit)for(r._next=E=r.nextSibling,r.parentNode.appendChild(r);E&&3===E.nodeType&&" "===E.textContent;)r._next=E.nextSibling,r.parentNode.appendChild(E),E=E.nextSibling;else r.parentNode._isSplit?(r._parent=r.parentNode,!r.previousSibling&&r.firstChild&&(r.firstChild._isFirst=!0),r.nextSibling&&" "===r.nextSibling.textContent&&!r.nextSibling.nextSibling&&Q.push(r.nextSibling),r._next=r.nextSibling&&r.nextSibling._isFirst?null:r.nextSibling,r.parentNode.removeChild(r),o.splice(s--,1),l--):p||(w=!r.nextSibling&&f(r.parentNode,D,j),r.parentNode._parent&&r.parentNode._parent.appendChild(r),w&&r.parentNode.appendChild(u.createTextNode(" ")),"span"===k&&(r.style.display="inline"),V.push(r));else r.parentNode._isSplit&&!r._isSplit&&""!==r.innerHTML?R.push(r):G&&!r._isSplit&&("span"===k&&(r.style.display="inline"),V.push(r));else z||I?(r.parentNode&&r.parentNode.removeChild(r),o.splice(s--,1),l--):q||D.appendChild(r);for(s=Q.length;--s>-1;)Q[s].parentNode.removeChild(Q[s]);if(z){for(I&&(_=u.createElement(k),D.appendChild(_),b=_.offsetWidth+"px",w=_.offsetParent===D?0:D.offsetLeft,D.removeChild(_)),y=D.style.cssText,D.style.cssText="display:none;";D.firstChild;)D.removeChild(D.firstChild);for(x=" "===j&&(!I||!q&&!G),s=0;s<z.length;s++){for(h=z[s],_=u.createElement(k),_.style.cssText="display:block;text-align:"+H+";position:"+(I?"absolute;":"relative;"),J&&(_.className=J+(K?s+1:"")),M.push(_),l=h.length,E=0;E<l;E++)"BR"!==h[E].nodeName&&(r=h[E],_.appendChild(r),x&&r._wordEnd&&_.appendChild(u.createTextNode(" ")),I&&(0===E&&(_.style.top=r._y+"px",_.style.left=m+w+"px"),r.style.top="0px",w&&(r.style.left=r._x-w+"px")));0===l?_.innerHTML="&nbsp;":q||G||(c(_),B(_,String.fromCharCode(160)," ")),I&&(_.style.width=b,_.style.height=r._h+"px"),D.appendChild(_)}D.style.cssText=y}I&&(n>D.clientHeight&&(D.style.height=n-L+"px",D.clientHeight<n&&(D.style.height=n+T+"px")),i>D.clientWidth&&(D.style.width=i-W+"px",D.clientWidth<i&&(D.style.width=i+N+"px"))),U&&(X?D.style.display=X:D.style.removeProperty("display")),A(t,V),q&&A(F,R),A(C,M)},y=(e,t,F,C)=>{let i,E,l,r,o,d,h,A,f=t.tag?t.tag:t.span?"span":"div",c=~(t.type||t.split||"chars,words,lines").indexOf("chars"),g=a(t),x=t.wordDelimiter||" ",y=" "!==x?"":g?"&#173; ":" ",_="</"+f+">",b=1,w=t.specialChars?"function"==typeof t.specialChars?t.specialChars:p:null,S=u.createElement("div"),m=e.parentNode;for(m.insertBefore(S,e),S.textContent=e.nodeValue,m.removeChild(e),i=function D(u){let e=u.nodeType,t="";if(1===e||9===e||11===e){if("string"==typeof u.textContent)return u.textContent;for(u=u.firstChild;u;u=u.nextSibling)t+=D(u)}else if(3===e||4===e)return u.nodeValue;return t}(e=S),h=-1!==i.indexOf("<"),!1!==t.reduceWhiteSpace&&(i=i.replace(s," ").replace(n,"")),h&&(i=i.split("<").join("{{LT}}")),o=i.length,E=(" "===i.charAt(0)?y:"")+F(),l=0;l<o;l++)if(d=i.charAt(l),w&&(A=w(i.substr(l),t.specialChars)))d=i.substr(l,A||1),E+=c&&" "!==d?C()+d+"</"+f+">":d,l+=A-1;else if(d===x&&i.charAt(l-1)!==x&&l){for(E+=b?_:"",b=0;i.charAt(l+1)===x;)E+=y,l++;l===o-1?E+=y:")"!==i.charAt(l+1)&&(E+=y+F(),b=1)}else"{"===d&&"{{LT}}"===i.substr(l,6)?(E+=c?C()+"{{LT}}</"+f+">":"{{LT}}",l+=5):d.charCodeAt(0)>=55296&&d.charCodeAt(0)<=56319||i.charCodeAt(l+1)>=65024&&i.charCodeAt(l+1)<=65039?(r=((i.substr(l,12).split(D)||[])[1]||"").length||2,E+=c&&" "!==d?C()+i.substr(l,r)+"</"+f+">":i.substr(l,r),l+=r-1):E+=c&&" "!==d?C()+d+"</"+f+">":d;e.outerHTML=E+(b?_:""),h&&B(m,"{{LT}}","<")},_=(D,u,e,t)=>{let F,C,n=i(D.childNodes),s=n.length,E=a(u);if(3!==D.nodeType||s>1){for(u.absolute=!1,F=0;F<s;F++)C=n[F],C._next=C._isFirst=C._parent=C._wordEnd=null,(3!==C.nodeType||/\S+/.test(C.nodeValue))&&(E&&3!==C.nodeType&&"inline"===d(C).display&&(C.style.display="inline-block",C.style.position="relative"),C._isSplit=!0,_(C,u,e,t));return u.absolute=E,void(D._isSplit=!0)}y(D,u,e,t)};class b{constructor(D,u){t||E(),this.elements=i(D),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=u||{},C(this),o&&this.split(u)}split(D){this.isSplit&&this.revert(),this.vars=D=D||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;let u,e,t,F=this.elements.length,C=D.tag?D.tag:D.span?"span":"div",i=h(D.wordsClass,C),n=h(D.charsClass,C);for(;--F>-1;)t=this.elements[F],this._originals[F]=t.innerHTML,u=t.clientHeight,e=t.clientWidth,_(t,D,i,n),x(t,D,this.chars,this.words,this.lines,e,u);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this}revert(){let D=this._originals;if(!D)throw"revert() call wasn't scoped properly.";return this.elements.forEach((u,e)=>u.innerHTML=D[e]),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this}static create(D,u){return new b(D,u)}}b.version="3.11.5",b.register=E;export default b;export{b as SplitText};
const D=/([\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)/;let u,e,t,F,C,i,n=/(?:\r|\n|\t\t)/g,s=/(?:\s\s+)/g,E=D=>{u=document,e=window,F=F||D||e.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),F&&(i=F.utils.toArray,C=F.core.context||function(){},t=1)},l=function(){return String.fromCharCode.apply(null,arguments)},r=l(103,114,101,101,110,115,111,99,107,46,99,111,109),o=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,d=function(D){var u="undefined"!=typeof window,e=0===(u?window.location.href:"").indexOf(l(102,105,108,101,58,47,47))||-1!==D.indexOf(l(108,111,99,97,108,104,111,115,116))||o.test(D),t=[r,l(99,111,100,101,112,101,110,46,105,111),l(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),l(99,111,100,101,112,101,110,46,100,101,118),l(99,111,100,101,112,101,110,46,97,112,112),l(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),l(112,101,110,115,46,99,108,111,117,100),l(99,115,115,45,116,114,105,99,107,115,46,99,111,109),l(99,100,112,110,46,105,111),l(112,101,110,115,46,105,111),l(103,97,110,110,111,110,46,116,118),l(99,111,100,101,99,97,110,121,111,110,46,110,101,116),l(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),l(99,101,114,101,98,114,97,120,46,99,111,46,117,107),l(116,121,109,112,97,110,117,115,46,110,101,116),l(116,119,101,101,110,109,97,120,46,99,111,109),l(112,108,110,107,114,46,99,111),l(104,111,116,106,97,114,46,99,111,109),l(119,101,98,112,97,99,107,98,105,110,46,99,111,109),l(97,114,99,104,105,118,101,46,111,114,103),l(99,111,100,101,115,97,110,100,98,111,120,46,105,111),l(99,115,98,46,97,112,112),l(115,116,97,99,107,98,108,105,116,122,46,99,111,109),l(115,116,97,99,107,98,108,105,116,122,46,105,111),l(99,111,100,105,101,114,46,105,111),l(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),l(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),l(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),l(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),l(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),l(106,115,102,105,100,100,108,101,46,110,101,116)],C=function(){if(u)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",C);else{document.removeEventListener("readystatechange",C);var D="object"==typeof F?F:u&&window.gsap;u&&window.console&&!window._gsapWarned&&"object"==typeof D&&!1!==D.config().trialWarn&&(console.log(l(37,99,87,97,114,110,105,110,103),l(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(l(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+"SplitText"+l(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(l(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),l(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1)}},i=t.length;for(setTimeout(C,50);--i>-1;)if(-1!==D.indexOf(t[i]))return!0;return e||!setTimeout((function(){u&&(window.location.href=l(104,116,116,112,115,58,47,47)+r+l(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin=SplitText&source=trial")}),4e3)}("undefined"!=typeof window?window.location.host:""),a=D=>e.getComputedStyle(D),p=D=>"absolute"===D.position||!0===D.absolute,h=(D,u)=>{let e,t=u.length;for(;--t>-1;)if(e=u[t],D.substr(0,e.length)===e)return e.length},B=(D="",u)=>{let e=~D.indexOf("++"),t=1;return e&&(D=D.split("++").join("")),()=>"<"+u+" style='position:relative;display:inline-block;'"+(D?" class='"+D+(e?t++:"")+"'>":">")},f=(D,u,e)=>{let t=D.nodeType;if(1===t||9===t||11===t)for(D=D.firstChild;D;D=D.nextSibling)f(D,u,e);else 3!==t&&4!==t||(D.nodeValue=D.nodeValue.split(u).join(e))},A=(D,u)=>{let e=u.length;for(;--e>-1;)D.push(u[e])},c=(D,u,e)=>{let t;for(;D&&D!==u;){if(t=D._next||D.nextSibling,t)return t.textContent.charAt(0)===e;D=D.parentNode||D._parent}},g=D=>{let u,e,t=i(D.childNodes),F=t.length;for(u=0;u<F;u++)e=t[u],e._isSplit?g(e):u&&e.previousSibling&&3===e.previousSibling.nodeType?(e.previousSibling.nodeValue+=3===e.nodeType?e.nodeValue:e.firstChild.nodeValue,D.removeChild(e)):3!==e.nodeType&&(D.insertBefore(e.firstChild,e),D.removeChild(e))},x=(D,u)=>parseFloat(u[D])||0,y=(D,e,t,F,C,i,n)=>{let s,E,l,r,o,d,h,B,y,_,b,S,w=a(D),m=x("paddingLeft",w),v=-999,T=x("borderBottomWidth",w)+x("borderTopWidth",w),N=x("borderLeftWidth",w)+x("borderRightWidth",w),L=x("paddingTop",w)+x("paddingBottom",w),W=x("paddingLeft",w)+x("paddingRight",w),O=x("fontSize",w)*(e.lineThreshold||.2),H=w.textAlign,V=[],R=[],j=[],M=e.wordDelimiter||" ",k=e.tag?e.tag:e.span?"span":"div",P=e.type||e.split||"chars,words,lines",z=C&&~P.indexOf("lines")?[]:null,$=~P.indexOf("words"),q=~P.indexOf("chars"),G=p(e),I=e.linesClass,J=~(I||"").indexOf("++"),K=[],Q="flex"===w.display,U=D.style.display;for(J&&(I=I.split("++").join("")),Q&&(D.style.display="block"),E=D.getElementsByTagName("*"),l=E.length,o=[],s=0;s<l;s++)o[s]=E[s];if(z||G)for(s=0;s<l;s++)r=o[s],d=r.parentNode===D,(d||G||q&&!$)&&(S=r.offsetTop,z&&d&&Math.abs(S-v)>O&&("BR"!==r.nodeName||0===s)&&(h=[],z.push(h),v=S),G&&(r._x=r.offsetLeft,r._y=S,r._w=r.offsetWidth,r._h=r.offsetHeight),z&&((r._isSplit&&d||!q&&d||$&&d||!$&&r.parentNode.parentNode===D&&!r.parentNode._isSplit)&&(h.push(r),r._x-=m,c(r,D,M)&&(r._wordEnd=!0)),"BR"===r.nodeName&&(r.nextSibling&&"BR"===r.nextSibling.nodeName||0===s)&&z.push([])));for(s=0;s<l;s++)if(r=o[s],d=r.parentNode===D,"BR"!==r.nodeName)if(G&&(y=r.style,$||d||(r._x+=r.parentNode._x,r._y+=r.parentNode._y),y.left=r._x+"px",y.top=r._y+"px",y.position="absolute",y.display="block",y.width=r._w+1+"px",y.height=r._h+"px"),!$&&q)if(r._isSplit)for(r._next=E=r.nextSibling,r.parentNode.appendChild(r);E&&3===E.nodeType&&" "===E.textContent;)r._next=E.nextSibling,r.parentNode.appendChild(E),E=E.nextSibling;else r.parentNode._isSplit?(r._parent=r.parentNode,!r.previousSibling&&r.firstChild&&(r.firstChild._isFirst=!0),r.nextSibling&&" "===r.nextSibling.textContent&&!r.nextSibling.nextSibling&&K.push(r.nextSibling),r._next=r.nextSibling&&r.nextSibling._isFirst?null:r.nextSibling,r.parentNode.removeChild(r),o.splice(s--,1),l--):d||(S=!r.nextSibling&&c(r.parentNode,D,M),r.parentNode._parent&&r.parentNode._parent.appendChild(r),S&&r.parentNode.appendChild(u.createTextNode(" ")),"span"===k&&(r.style.display="inline"),V.push(r));else r.parentNode._isSplit&&!r._isSplit&&""!==r.innerHTML?R.push(r):q&&!r._isSplit&&("span"===k&&(r.style.display="inline"),V.push(r));else z||G?(r.parentNode&&r.parentNode.removeChild(r),o.splice(s--,1),l--):$||D.appendChild(r);for(s=K.length;--s>-1;)K[s].parentNode.removeChild(K[s]);if(z){for(G&&(_=u.createElement(k),D.appendChild(_),b=_.offsetWidth+"px",S=_.offsetParent===D?0:D.offsetLeft,D.removeChild(_)),y=D.style.cssText,D.style.cssText="display:none;";D.firstChild;)D.removeChild(D.firstChild);for(B=" "===M&&(!G||!$&&!q),s=0;s<z.length;s++){for(h=z[s],_=u.createElement(k),_.style.cssText="display:block;text-align:"+H+";position:"+(G?"absolute;":"relative;"),I&&(_.className=I+(J?s+1:"")),j.push(_),l=h.length,E=0;E<l;E++)"BR"!==h[E].nodeName&&(r=h[E],_.appendChild(r),B&&r._wordEnd&&_.appendChild(u.createTextNode(" ")),G&&(0===E&&(_.style.top=r._y+"px",_.style.left=m+S+"px"),r.style.top="0px",S&&(r.style.left=r._x-S+"px")));0===l?_.innerHTML="&nbsp;":$||q||(g(_),f(_,String.fromCharCode(160)," ")),G&&(_.style.width=b,_.style.height=r._h+"px"),D.appendChild(_)}D.style.cssText=y}G&&(n>D.clientHeight&&(D.style.height=n-L+"px",D.clientHeight<n&&(D.style.height=n+T+"px")),i>D.clientWidth&&(D.style.width=i-W+"px",D.clientWidth<i&&(D.style.width=i+N+"px"))),Q&&(U?D.style.display=U:D.style.removeProperty("display")),A(t,V),$&&A(F,R),A(C,j)},_=(e,t,F,C)=>{let i,E,l,r,o,d,a,B,A=t.tag?t.tag:t.span?"span":"div",c=~(t.type||t.split||"chars,words,lines").indexOf("chars"),g=p(t),x=t.wordDelimiter||" ",y=" "!==x?"":g?"&#173; ":" ",_="</"+A+">",b=1,S=t.specialChars?"function"==typeof t.specialChars?t.specialChars:h:null,w=u.createElement("div"),m=e.parentNode;for(m.insertBefore(w,e),w.textContent=e.nodeValue,m.removeChild(e),i=function D(u){let e=u.nodeType,t="";if(1===e||9===e||11===e){if("string"==typeof u.textContent)return u.textContent;for(u=u.firstChild;u;u=u.nextSibling)t+=D(u)}else if(3===e||4===e)return u.nodeValue;return t}(e=w),a=-1!==i.indexOf("<"),!1!==t.reduceWhiteSpace&&(i=i.replace(s," ").replace(n,"")),a&&(i=i.split("<").join("{{LT}}")),o=i.length,E=(" "===i.charAt(0)?y:"")+F(),l=0;l<o;l++)if(d=i.charAt(l),S&&(B=S(i.substr(l),t.specialChars)))d=i.substr(l,B||1),E+=c&&" "!==d?C()+d+"</"+A+">":d,l+=B-1;else if(d===x&&i.charAt(l-1)!==x&&l){for(E+=b?_:"",b=0;i.charAt(l+1)===x;)E+=y,l++;l===o-1?E+=y:")"!==i.charAt(l+1)&&(E+=y+F(),b=1)}else"{"===d&&"{{LT}}"===i.substr(l,6)?(E+=c?C()+"{{LT}}</"+A+">":"{{LT}}",l+=5):d.charCodeAt(0)>=55296&&d.charCodeAt(0)<=56319||i.charCodeAt(l+1)>=65024&&i.charCodeAt(l+1)<=65039?(r=((i.substr(l,12).split(D)||[])[1]||"").length||2,E+=c&&" "!==d?C()+i.substr(l,r)+"</"+A+">":i.substr(l,r),l+=r-1):E+=c&&" "!==d?C()+d+"</"+A+">":d;e.outerHTML=E+(b?_:""),a&&f(m,"{{LT}}","<")},b=(D,u,e,t)=>{let F,C,n=i(D.childNodes),s=n.length,E=p(u);if(3!==D.nodeType||s>1){for(u.absolute=!1,F=0;F<s;F++)C=n[F],C._next=C._isFirst=C._parent=C._wordEnd=null,(3!==C.nodeType||/\S+/.test(C.nodeValue))&&(E&&3!==C.nodeType&&"inline"===a(C).display&&(C.style.display="inline-block",C.style.position="relative"),C._isSplit=!0,b(C,u,e,t));return u.absolute=E,void(D._isSplit=!0)}_(D,u,e,t)};class S{constructor(D,u){t||E(),this.elements=i(D),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=u||{},C(this),d&&this.split(u)}split(D){this.isSplit&&this.revert(),this.vars=D=D||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;let u,e,t,F=this.elements.length,C=D.tag?D.tag:D.span?"span":"div",i=B(D.wordsClass,C),n=B(D.charsClass,C);for(;--F>-1;)t=this.elements[F],this._originals[F]=t.innerHTML,u=t.clientHeight,e=t.clientWidth,b(t,D,i,n),y(t,D,this.chars,this.words,this.lines,e,u);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this}revert(){let D=this._originals;if(!D)throw"revert() call wasn't scoped properly.";return this.elements.forEach((u,e)=>u.innerHTML=D[e]),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this}static create(D,u){return new S(D,u)}}S.version="3.12.0",S.register=E;export default S;export{S as SplitText};
/*!
* TextPlugin 3.11.5
* TextPlugin 3.12.0
* https://greensock.com

@@ -10,2 +10,2 @@ *

let D=/(?:^\s+|\s+$)/g;const u=/([\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 F(D,u,F,E){let e,B=D.firstChild,t=[];for(;B;)3===B.nodeType?(e=(B.nodeValue+"").replace(/^\n+/g,""),E||(e=e.replace(/\s+/g," ")),t.push(...C(e,u,F,E))):"br"===(B.nodeName+"").toLowerCase()?t[t.length-1]+="<br>":t.push(B.outerHTML),B=B.nextSibling;for(e=t.length;e--;)"&"===t[e]&&t.splice(e,1,"&amp;");return t}function C(F,C,E,e){if(F+="",E&&(F=F.trim?F.trim():F.replace(D,"")),C&&""!==C)return F.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(C);let B,t,A=[],n=F.length,r=0;for(;r<n;r++)t=F.charAt(r),(t.charCodeAt(0)>=55296&&t.charCodeAt(0)<=56319||F.charCodeAt(r+1)>=65024&&F.charCodeAt(r+1)<=65039)&&(B=((F.substr(r,12).split(u)||[])[1]||"").length||2,t=F.substr(r,B),A.emoji=1,r+=B-1),A.push(">"===t?"&gt;":"<"===t?"&lt;":!e||" "!==t||" "!==F.charAt(r-1)&&" "!==F.charAt(r+1)?t:"&nbsp;");return A}let E,e;const B={version:"3.11.5",name:"text",init(D,u,C){"object"!=typeof u&&(u={value:u});let E,B,t,A,n,r,l,s,i=D.nodeName.toUpperCase(),o=this,{newClass:a,oldClass:p,preserveSpaces:f,rtl:g}=u,d=o.delimiter=u.delimiter||"",h=o.fillChar=u.fillChar||(u.padSpace?"&nbsp;":"");if(o.svg=D.getBBox&&("TEXT"===i||"TSPAN"===i),!("innerHTML"in D)&&!o.svg)return!1;if(o.target=D,"value"in u){for(t=F(D,d,!1,f),e||(e=document.createElement("div")),e.innerHTML=u.value,B=F(e,d,!1,f),o.from=C._from,!o.from&&!g||g&&o.from||(i=t,t=B,B=i),o.hasClass=!(!a&&!p),o.newClass=g?p:a,o.oldClass=g?a:p,i=t.length-B.length,E=i<0?t:B,i<0&&(i=-i);--i>-1;)E.push(h);if("diff"===u.type){for(A=0,n=[],r=[],l="",i=0;i<B.length;i++)s=B[i],s===t[i]?l+=s:(n[A]=l+s,r[A++]=l+t[i],l="");B=n,t=r,l&&(B.push(l),t.push(l))}u.speed&&C.duration(Math.min(.05/u.speed*E.length,u.maxDuration||9999)),o.rtl=g,o.original=t,o.text=B,o._props.push("text")}else o.text=o.original=[""]},render(D,u){D>1?D=1:D<0&&(D=0),u.from&&(D=1-D);let F,C,E,{text:e,hasClass:B,newClass:t,oldClass:A,delimiter:n,target:r,fillChar:l,original:s,rtl:i}=u,o=e.length,a=(i?1-D:D)*o+.5|0;B&&D?(F=t&&a,C=A&&a!==o,E=(F?"<span class='"+t+"'>":"")+e.slice(0,a).join(n)+(F?"</span>":"")+(C?"<span class='"+A+"'>":"")+n+s.slice(a).join(n)+(C?"</span>":"")):E=e.slice(0,a).join(n)+n+s.slice(a).join(n),u.svg?r.textContent=E:r.innerHTML="&nbsp;"===l&&~E.indexOf(" ")?E.split(" ").join("&nbsp;&nbsp;"):E}};B.splitInnerHTML=F,B.emojiSafeSplit=C,B.getText=function D(u){let F=u.nodeType,C="";if(1===F||9===F||11===F){if("string"==typeof u.textContent)return u.textContent;for(u=u.firstChild;u;u=u.nextSibling)C+=D(u)}else if(3===F||4===F)return u.nodeValue;return C},(E||"undefined"!=typeof window&&(E=window.gsap)&&E.registerPlugin&&E)&&E.registerPlugin(B);export default B;export{B as TextPlugin};
let D=/(?:^\s+|\s+$)/g;const u=/([\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 F(D,u,F,E){let e,B=D.firstChild,t=[];for(;B;)3===B.nodeType?(e=(B.nodeValue+"").replace(/^\n+/g,""),E||(e=e.replace(/\s+/g," ")),t.push(...C(e,u,F,E))):"br"===(B.nodeName+"").toLowerCase()?t[t.length-1]+="<br>":t.push(B.outerHTML),B=B.nextSibling;for(e=t.length;e--;)"&"===t[e]&&t.splice(e,1,"&amp;");return t}function C(F,C,E,e){if(F+="",E&&(F=F.trim?F.trim():F.replace(D,"")),C&&""!==C)return F.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(C);let B,t,A=[],n=F.length,r=0;for(;r<n;r++)t=F.charAt(r),(t.charCodeAt(0)>=55296&&t.charCodeAt(0)<=56319||F.charCodeAt(r+1)>=65024&&F.charCodeAt(r+1)<=65039)&&(B=((F.substr(r,12).split(u)||[])[1]||"").length||2,t=F.substr(r,B),A.emoji=1,r+=B-1),A.push(">"===t?"&gt;":"<"===t?"&lt;":!e||" "!==t||" "!==F.charAt(r-1)&&" "!==F.charAt(r+1)?t:"&nbsp;");return A}let E,e;const B={version:"3.12.0",name:"text",init(D,u,C){"object"!=typeof u&&(u={value:u});let E,B,t,A,n,r,l,s,i=D.nodeName.toUpperCase(),o=this,{newClass:a,oldClass:p,preserveSpaces:f,rtl:g}=u,d=o.delimiter=u.delimiter||"",h=o.fillChar=u.fillChar||(u.padSpace?"&nbsp;":"");if(o.svg=D.getBBox&&("TEXT"===i||"TSPAN"===i),!("innerHTML"in D)&&!o.svg)return!1;if(o.target=D,"value"in u){for(t=F(D,d,!1,f),e||(e=document.createElement("div")),e.innerHTML=u.value,B=F(e,d,!1,f),o.from=C._from,!o.from&&!g||g&&o.from||(i=t,t=B,B=i),o.hasClass=!(!a&&!p),o.newClass=g?p:a,o.oldClass=g?a:p,i=t.length-B.length,E=i<0?t:B,i<0&&(i=-i);--i>-1;)E.push(h);if("diff"===u.type){for(A=0,n=[],r=[],l="",i=0;i<B.length;i++)s=B[i],s===t[i]?l+=s:(n[A]=l+s,r[A++]=l+t[i],l="");B=n,t=r,l&&(B.push(l),t.push(l))}u.speed&&C.duration(Math.min(.05/u.speed*E.length,u.maxDuration||9999)),o.rtl=g,o.original=t,o.text=B,o._props.push("text")}else o.text=o.original=[""]},render(D,u){D>1?D=1:D<0&&(D=0),u.from&&(D=1-D);let F,C,E,{text:e,hasClass:B,newClass:t,oldClass:A,delimiter:n,target:r,fillChar:l,original:s,rtl:i}=u,o=e.length,a=(i?1-D:D)*o+.5|0;B&&D?(F=t&&a,C=A&&a!==o,E=(F?"<span class='"+t+"'>":"")+e.slice(0,a).join(n)+(F?"</span>":"")+(C?"<span class='"+A+"'>":"")+n+s.slice(a).join(n)+(C?"</span>":"")):E=e.slice(0,a).join(n)+n+s.slice(a).join(n),u.svg?r.textContent=E:r.innerHTML="&nbsp;"===l&&~E.indexOf(" ")?E.split(" ").join("&nbsp;&nbsp;"):E}};B.splitInnerHTML=F,B.emojiSafeSplit=C,B.getText=function D(u){let F=u.nodeType,C="";if(1===F||9===F||11===F){if("string"==typeof u.textContent)return u.textContent;for(u=u.firstChild;u;u=u.nextSibling)C+=D(u)}else if(3===F||4===F)return u.nodeValue;return C},(E||"undefined"!=typeof window&&(E=window.gsap)&&E.registerPlugin&&E)&&E.registerPlugin(B);export default B;export{B as TextPlugin};

@@ -172,6 +172,18 @@ declare namespace gsap {

type EaseString = "none"
| "power1" | "power1.in" | "power1.out" | "power1.inOut"
| "power2" | "power2.in" | "power2.out" | "power2.inOut"
| "power3" | "power3.in" | "power3.out" | "power3.inOut"
| "power4" | "power4.in" | "power4.out" | "power4.inOut"
| "back" | "back.in" | "back.out" | "back.inOut"
| "bounce" | "bounce.in" | "bounce.out" | "bounce.inOut"
| "circ" | "circ.in" | "circ.out" | "circ.inOut"
| "elastic" | "elastic.in" | "elastic.out" | "elastic.inOut"
| "expo" | "expo.in" | "expo.out" | "expo.inOut"
| "sine" | "sine.in" | "sine.out" | "sine.inOut" | string;
interface TweenVars extends AnimationVars {
delay?: TweenValue;
duration?: TweenValue;
ease?: string | EaseFunction;
ease?: EaseString | EaseFunction;
endArray?: any[];

@@ -469,3 +481,3 @@ immediateRender?: boolean;

*
* @param {string | EaseFunction} ease
* @param {EaseString | EaseFunction} ease
* @returns {EaseFunction} Ease function

@@ -475,3 +487,3 @@ * @memberof gsap

*/
function parseEase(ease: string | EaseFunction): EaseFunction;
function parseEase(ease: EaseString | EaseFunction): EaseFunction;
function parseEase(): EaseMap;

@@ -478,0 +490,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc