advi-ui 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,5 +42,5 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.
42
42
 
43
43
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
44
44
 
45
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Pi=`DialogDescriptionWarning`,Fi=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Mi(Pi).contentName}}.`;return l.useEffect(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Ii=si,Li=li,Ri=pi,zi=hi,Bi=yi,Vi=wi,Hi=Ei,Ui=Oi,Wi=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Gi=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Ki=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),qi=e=>{let t=Ki(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ji={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},Yi=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Xi=(0,c.createContext)({}),Zi=()=>(0,c.useContext)(Xi),Qi=(0,c.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},l)=>{let{size:u=24,strokeWidth:d=2,absoluteStrokeWidth:f=!1,color:p=`currentColor`,className:m=``}=Zi()??{},h=r??f?Number(n??d)*24/Number(t??u):n??d;return(0,c.createElement)(`svg`,{ref:l,...Ji,width:t??u??Ji.width,height:t??u??Ji.height,stroke:e??p,strokeWidth:h,className:Wi(`lucide`,m,i),...!a&&!Yi(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,c.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),$i=(e,t)=>{let n=(0,c.forwardRef)(({className:n,...r},i)=>(0,c.createElement)(Qi,{ref:i,iconNode:t,className:Wi(`lucide-${Gi(qi(e))}`,`lucide-${e}`,n),...r}));return n.displayName=qi(e),n},ea=$i(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),ta=$i(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),na=$i(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),ra=$i(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),ia=Ii,aa=Li,oa=Ri,sa=Ui,ca=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(zi,{ref:n,className:B(`fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t}));ca.displayName=zi.displayName;var la=(0,l.forwardRef)(({className:e,children:t,...n},r)=>(0,u.jsxs)(oa,{children:[(0,u.jsx)(ca,{}),(0,u.jsxs)(Bi,{ref:r,className:B(`fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg`,e),...n,children:[t,(0,u.jsxs)(Ui,{className:`absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground`,children:[(0,u.jsx)(ra,{className:`h-4 w-4`}),(0,u.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]}));la.displayName=Bi.displayName;var ua=({className:e,...t})=>(0,u.jsx)(`div`,{className:B(`flex flex-col space-y-1.5 text-center sm:text-left`,e),...t});ua.displayName=`DialogHeader`;var da=({className:e,...t})=>(0,u.jsx)(`div`,{className:B(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2`,e),...t});da.displayName=`DialogFooter`;var fa=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(Vi,{ref:n,className:B(`text-lg font-semibold leading-none tracking-tight`,e),...t}));fa.displayName=Vi.displayName;var pa=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(Hi,{ref:n,className:B(`text-sm text-muted-foreground`,e),...t}));pa.displayName=Hi.displayName;var ma=(0,l.forwardRef)(({className:e,type:t,label:n,description:r,validate:i,onValueChange:a,...o},s)=>{let[c,d]=(0,l.useState)(null);return(0,u.jsxs)(`div`,{className:`flex flex-col gap-1 w-full`,children:[n&&(0,u.jsx)(`label`,{className:`text-sm font-normal leading-none`,children:n}),(0,u.jsx)(`input`,{ref:s,type:t,className:B(`flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 font-rubik text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,c&&`border-red-500 focus-visible:ring-red-500`,e),onChange:e=>{a&&a(e.target.value),i&&d(i(e.target.value)),o.onChange?.(e)},...o}),r&&(0,u.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:r}),c&&(0,u.jsx)(`p`,{className:`text-xs text-red-500 font-medium`,children:c})]})});ma.displayName=`Input`;var ha=e=>typeof e==`object`&&!!e&&`url`in e,ga=({link:e,className:t,noBaseClass:n=!1,children:r})=>(0,u.jsx)(u.Fragment,{children:e.isExternal?(0,u.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,className:n?t:B(`vi-link`,t),title:e.text,children:r??e.text}):(0,u.jsx)(`a`,{href:e.url,className:n?t:B(`vi-link`,t),title:e.text,children:r??e.text})}),_a=({name:e,image:t,link:n,className:r})=>(0,u.jsxs)(ga,{link:n,className:B(`vi-link-logo-wrapper`,r),children:[ha(t)?(0,u.jsx)(`img`,{src:t.url,alt:t.alt,className:`vi-logo`}):(0,l.isValidElement)(t)?t:null,(0,u.jsx)(`span`,{className:`vi-logo-text`,children:e})]}),va=({text:e=`Loading...`,className:t,...n})=>(0,u.jsxs)(`div`,{className:B(`flex flex-row items-center justify-center gap-3 p-4 text-muted-foreground`,t),...n,children:[(0,u.jsxs)(`svg`,{className:`h-6 w-6 animate-spin text-muted-foreground`,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,"aria-hidden":`true`,children:[(0,u.jsx)(`circle`,{className:`opacity-25`,cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeWidth:`4`}),(0,u.jsx)(`path`,{className:`opacity-75`,fill:`currentColor`,d:`M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z`})]}),(0,u.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:e})]});va.displayName=`Loading`;function ya(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function ba(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var xa={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},Sa={duration:.5,overwrite:!1,delay:0},Ca,V,H,wa=1e8,U=1/wa,Ta=Math.PI*2,Ea=Ta/4,Da=0,Oa=Math.sqrt,ka=Math.cos,Aa=Math.sin,W=function(e){return typeof e==`string`},G=function(e){return typeof e==`function`},ja=function(e){return typeof e==`number`},Ma=function(e){return e===void 0},Na=function(e){return typeof e==`object`},Pa=function(e){return e!==!1},Fa=function(){return typeof window<`u`},Ia=function(e){return G(e)||W(e)},La=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},K=Array.isArray,Ra=/random\([^)]+\)/g,za=/,\s*/g,Ba=/(?:-?\.?\d|\.)+/gi,Va=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ha=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ua=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Wa=/[+-]=-?[.\d]+/,Ga=/[^,'"\[\]\s]+/gi,Ka=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,q,qa,Ja,Ya,Xa={},Za={},Qa,$a=function(e){return(Za=Ao(e,Xa))&&Kc},eo=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},to=function(e,t){return!t&&console.warn(e)},no=function(e,t){return e&&(Xa[e]=t)&&Za&&(Za[e]=t)||Xa},ro=function(){return 0},io={suppressEvents:!0,isStart:!0,kill:!1},ao={suppressEvents:!0,kill:!1},oo={suppressEvents:!0},so={},co=[],lo={},uo,fo={},po={},mo=30,ho=[],go=``,_o=function(e){var t=e[0],n,r;if(Na(t)||G(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=ho.length;r--&&!ho[r].targetTest(t););n=ho[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new rc(e[r],n)))||e.splice(r,1);return e},vo=function(e){return e._gsap||_o(ps(e))[0]._gsap},yo=function(e,t,n){return(n=e[t])&&G(n)?e[t]():Ma(n)&&e.getAttribute&&e.getAttribute(t)||n},bo=function(e,t){return(e=e.split(`,`)).forEach(t)||e},J=function(e){return Math.round(e*1e5)/1e5||0},Y=function(e){return Math.round(e*1e7)/1e7||0},xo=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},So=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},Co=function(){var e=co.length,t=co.slice(0),n,r;for(lo={},co.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},wo=function(e){return!!(e._initted||e._startAt||e.add)},To=function(e,t,n,r){co.length&&!V&&Co(),e.render(t,n,r||!!(V&&t<0&&wo(e))),co.length&&!V&&Co()},Eo=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match(Ga).length<2?t:W(e)?e.trim():e},Do=function(e){return e},Oo=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},ko=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},Ao=function(e,t){for(var n in t)e[n]=t[n];return e},jo=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=Na(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Mo=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},No=function(e){var t=e.parent||q,n=e.keyframes?ko(K(e.keyframes)):Oo;if(Pa(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},Po=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},Fo=function(e,t,n,r,i){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var a=e[r],o;if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},Io=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},Lo=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ro=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},zo=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Bo=function(e,t,n,r){return e._startAt&&(V?e._startAt.revert(ao):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Vo=function e(t){return!t||t._ts&&e(t.parent)},Ho=function(e){return e._repeat?Uo(e._tTime,e=e.duration()+e._rDelay)*e:0},Uo=function(e,t){var n=Math.floor(e=Y(e/t));return e&&n===e?n-1:n},Wo=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Go=function(e){return e._end=Y(e._start+(e._tDur/Math.abs(e._ts||e._rts||U)||0))},Ko=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Y(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Go(e),n._dirty||Ro(n,e)),e},qo=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Wo(e.rawTime(),t),(!t._dur||ss(0,t.totalDuration(),n)-t._tTime>U)&&t.render(n,!0)),Ro(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-U}},Jo=function(e,t,n,r){return t.parent&&Lo(t),t._start=Y((ja(n)?n:n||e!==q?is(e,n,t):e._time)+t._delay),t._end=Y(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Fo(e,t,`_first`,`_last`,e._sort?`_start`:0),Qo(t)||(e._recent=t),r||qo(e,t),e._ts<0&&Ko(e,e._tTime),e},Yo=function(e,t){return(Xa.ScrollTrigger||eo(`scrollTrigger`,t))&&Xa.ScrollTrigger.create(t,e)},Xo=function(e,t,n,r,i){if(fc(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!V&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&uo!==Ws.frame)return co.push(e),e._lazy=[i,r],1},Zo=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},Qo=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},$o=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&Zo(e)&&!(!e._initted&&Qo(e))||(e._ts<0||e._dp._ts<0)&&!Qo(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=ss(0,e._tDur,t),l=Uo(s,o),e._yoyo&&l&1&&(a=1-a),l!==Uo(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||V||r||e._zTime===U||!t&&e._zTime){if(!e._initted&&Xo(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?U:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&Bo(e,t,n,!0),e._onUpdate&&!n&&As(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&As(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Lo(e,1),!n&&!V&&(As(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},es=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start<t)return r;r=r._prev}},ts=function(e,t,n,r){var i=e._repeat,a=Y(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Y(a*(i+1)+e._rDelay*i):a,o>0&&!r&&Ko(e,e._tTime=e._tDur*o),e.parent&&Go(e),n||Ro(e.parent,e),e},ns=function(e){return e instanceof ac?Ro(e):ts(e,e._dur)},rs={_start:0,endTime:ro,totalDuration:ro},is=function e(t,n,r){var i=t.labels,a=t._recent||rs,o=t.duration()>=wa?a.endTime(!1):t._dur,s,c,l;return W(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(K(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},as=function(e,t,n){var r=ja(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=Pa(s.vars.inherit)&&s.parent;a.immediateRender=Pa(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new Q(t[0],a,t[i+1])},os=function(e,t){return e||e===0?t(e):t},ss=function(e,t,n){return n<e?e:n>t?t:n},cs=function(e,t){return!W(e)||!(t=Ka.exec(e))?``:t[1]},ls=function(e,t,n){return os(n,function(n){return ss(e,t,n)})},us=[].slice,ds=function(e,t){return e&&Na(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&Na(e[0]))&&!e.nodeType&&e!==qa},fs=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return W(e)&&!t||ds(e,1)?(r=n).push.apply(r,ps(e)):n.push(e)})||n},ps=function(e,t,n){return H&&!t&&H.selector?H.selector(e):W(e)&&!n&&(Ja||!Gs())?us.call((t||Ya).querySelectorAll(e),0):K(e)?fs(e,n):ds(e)?us.call(e,0):e?[e]:[]},ms=function(e){return e=ps(e)[0]||to(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return ps(t,n.querySelectorAll?n:n===e?to(`Invalid scope`)||Ya.createElement(`div`):e)}},hs=function(e){return e.sort(function(){return .5-Math.random()})},gs=function(e){if(G(e))return e;var t=Na(e)?e:{each:e},n=Qs(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return W(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,wa])[1],!S){for(b=-wa;b<(b=d[S++].getBoundingClientRect().left)&&S<f;);S<f&&S--}for(p=a[f]=[],m=s?Math.min(S,f)*l-.5:r%S,h=S===wa?0:s?f*u/S-.5:r/S|0,b=0,x=wa,y=0;y<f;y++)g=y%S-m,_=h-(y/S|0),p[y]=v=c?Math.abs(c===`y`?_:g):Oa(g*g+_*_),v>b&&(b=v),v<x&&(x=v);r===`random`&&hs(p),p.max=b-x,p.min=x,p.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(S>f?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=cs(t.amount||t.each)||0,n=n&&f<0?Zs(n):n}return f=(p[e]-p.min)/p.max||0,Y(p.b+(n?n(f):f)*p.v)+p.u}},_s=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=Y(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(ja(n)?0:cs(n))}},vs=function(e,t){var n=K(e),r,i;return!n&&Na(e)&&(r=n=e.radius||wa,e.values?(e=ps(e.values),(i=!ja(e[0]))&&(r*=r)):e=_s(e.increment)),os(t,n?G(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=wa,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),l<o&&(o=l,s=c);return s=!r||o<=r?e[s]:t,i||s===t||ja(t)?s:s+cs(t)}:_s(e))},ys=function(e,t,n,r){return os(K(e)?!t:n===!0?!!(n=0):!r,function(){return K(e)?e[~~(Math.random()*e.length)]:(n||=1e-5)&&(r=n<1?10**((n+``).length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},bs=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}},xs=function(e,t){return function(n){return e(parseFloat(n))+(t||cs(n))}},Ss=function(e,t,n){return Ds(e,t,0,1,n)},Cs=function(e,t,n){return os(n,function(n){return e[~~t(n)]})},ws=function e(t,n,r){var i=n-t;return K(t)?Cs(t,e(0,t.length),n):os(r,function(e){return(i+(e-t)%i)%i+t})},Ts=function e(t,n,r){var i=n-t,a=i*2;return K(t)?Cs(t,e(0,t.length-1),n):os(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},Es=function(e){return e.replace(Ra,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(za);return ys(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},Ds=function(e,t,n,r,i){var a=t-e,o=r-n;return os(i,function(t){return n+((t-e)/a*o||0)})},Os=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=W(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(K(t)&&!K(n)){for(u=[],d=t.length,f=d-2,l=1;l<d;l++)u.push(e(t[l-1],t[l]));d--,a=function(e){e*=d;var t=Math.min(f,~~e);return u[t](e-t)},r=n}else i||(t=Ao(K(t)?[]:{},t));if(!u){for(c in n)sc.call(s,t,c,`get`,n[c]);a=function(e){return Dc(e,s)||(o?t.p:t)}}}return os(r,a)},ks=function(e,t,n){var r=e.labels,i=wa,a,o,s;for(a in r)o=r[a]-t,o<0==!!n&&o&&i>(o=Math.abs(o))&&(s=a,i=o);return s},As=function(e,t,n){var r=e.vars,i=r[t],a=H,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&co.length&&Co(),o&&(H=o),l=s?i.apply(c,s):i.call(c),H=a,l},js=function(e){return Lo(e),e.scrollTrigger&&e.scrollTrigger.kill(!!V),e.progress()<1&&As(e,`onInterrupt`),e},Ms,Ns=[],Ps=function(e){if(e)if(e=!e.name&&e.default||e,Fa()||e.headless){var t=e.name,n=G(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:ro,render:Dc,add:sc,kill:kc,modifier:Oc,rawVars:0},a={targetTest:0,get:0,getSetter:Cc,aliases:{},register:0};if(Gs(),e!==r){if(fo[t])return;Oo(r,Oo(Mo(e,i),a)),Ao(r.prototype,Ao(i,Mo(e,a))),fo[r.prop=t]=r,e.targetTest&&(ho.push(r),so[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}no(t,r),e.register&&e.register(Kc,r,Mc)}else Ns.push(e)},X=255,Fs={aqua:[0,X,X],lime:[0,X,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,X],navy:[0,0,128],white:[X,X,X],olive:[128,128,0],yellow:[X,X,0],orange:[X,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[X,0,0],pink:[X,192,203],cyan:[0,X,X],transparent:[X,X,X,0]},Is=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*X+.5|0},Ls=function(e,t,n){var r=e?ja(e)?[e>>16,e>>8&X,e&X]:0:Fs.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),Fs[e])r=Fs[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&X,r&X,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&X,e&X]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(Ba),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=Is(s+1/3,i,a),r[1]=Is(s,i,a),r[2]=Is(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(Va),n&&r.length<4&&(r[3]=1),r}else r=e.match(Ba)||Fs.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/X,a=r[1]/X,o=r[2]/X,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(a<o?6:0):u===a?(o-i)/f+2:(i-a)/f+4,s*=60),r[0]=~~(s+.5),r[1]=~~(c*100+.5),r[2]=~~(l*100+.5)),n&&r.length<4&&(r[3]=1),r},Rs=function(e){var t=[],n=[],r=-1;return e.split(Bs).forEach(function(e){var i=e.match(Ha)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},zs=function(e,t,n){var r=``,i=(e+r).match(Bs),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=Ls(e,t,1))&&a+(t?e[0]+`,`+e[1]+`%,`+e[2]+`%,`+e[3]:e.join(`,`))+`)`}),n&&(l=Rs(e),s=n.c,s.join(r)!==l.c.join(r)))for(c=e.replace(Bs,`1`).split(Ha),u=c.length-1;o<u;o++)r+=c[o]+(~s.indexOf(o)?i.shift()||a+`0,0,0,0)`:(l.length?l:i.length?i:n).shift());if(!c)for(c=e.split(Bs),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},Bs=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in Fs)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),Vs=/hsl[a]?\(/,Hs=function(e){var t=e.join(` `),n;if(Bs.lastIndex=0,Bs.test(t))return n=Vs.test(t),e[1]=zs(e[1],n),e[0]=zs(e[0],n,Rs(e[1])),!0},Us,Ws=function(){var e=Date.now,t=500,n=33,r=e(),i=r,a=1e3/240,o=a,s=[],c,l,u,d,f,p,m=function u(m){var h=e()-i,g=m===!0,_,v,y,b;if((h>t||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p<s.length;p++)s[p](y,f,b,m)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(e){return f/(1e3/(e||60))},wake:function(){Qa&&(!Ja&&Fa()&&(qa=Ja=window,Ya=qa.document||{},Xa.gsap=Kc,(qa.gsapVersions||=[]).push(Kc.version),$a(Za||qa.GreenSockGlobals||!qa.gsap&&qa||{}),Ns.forEach(Ps)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},Us=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),Us=0,l=ro},lagSmoothing:function(e,r){t=e||1/0,n=Math.min(r||33,t)},fps:function(e){a=1e3/(e||240),o=d.time*1e3+a},add:function(e,t,n){var r=t?function(t,n,i,a){e(t,n,i,a),d.remove(r)}:e;return d.remove(e),s[n?`unshift`:`push`](r),Gs(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),Gs=function(){return!Us&&Ws.wake()},Z={},Ks=/^[\d.\-M][\d.\-,\s]/,qs=/["']/g,Js=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i<a;i++)s=n[i],o=i===a-1?s.length:s.lastIndexOf(`,`),c=s.substr(0,o),t[r]=isNaN(c)?c.replace(qs,``).trim():+c,r=s.substr(o+1).trim();return t},Ys=function(e){var t=e.indexOf(`(`)+1,n=e.indexOf(`)`),r=e.indexOf(`(`,t);return e.substring(t,~r&&r<n?e.indexOf(`)`,n+1):n)},Xs=function(e){var t=(e+``).split(`(`),n=Z[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[Js(t[1])]:Ys(e).split(`,`).map(Eo)):Z._CE&&Ks.test(e)?Z._CE(``,e):n},Zs=function(e){return function(t){return 1-e(1-t)}},Qs=function(e,t){return e&&(G(e)?e:Z[e]||Xs(e))||t},$s=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return bo(e,function(e){for(var t in Z[e]=Xa[e]=i,Z[a=e.toLowerCase()]=n,i)Z[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=Z[e+`.`+t]=i[t]}),i},ec=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},tc=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/Ta*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*Aa((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:ec(s);return a=Ta/a,c.config=function(n,r){return e(t,n,r)},c},nc=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:ec(r);return i.config=function(n){return e(t,n)},i};bo(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;$s(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),Z.Linear.easeNone=Z.none=Z.Linear.easeIn,$s(`Elastic`,tc(`in`),tc(`out`),tc()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a<n?e*a*a:a<r?e*(a-1.5/t)**2+.75:a<i?e*(a-=2.25/t)*a+.9375:e*(a-2.625/t)**2+.984375};$s(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),$s(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),$s(`Circ`,function(e){return-(Oa(1-e*e)-1)}),$s(`Sine`,function(e){return e===1?1:-ka(e*Ea)+1}),$s(`Back`,nc(`in`),nc(`out`),nc()),Z.SteppedEase=Z.steps=Xa.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+ +!t,i=+!!t,a=1-U;return function(e){return((r*ss(0,a,e)|0)+i)*n}}},Sa.ease=Z[`quad.out`],bo(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return go+=e+`,`+e+`Params,`});var rc=function(e,t){this.id=Da++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:yo,this.set=t?t.getSetter:Cc},ic=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,ts(this,+e.duration,1,1),this.data=e.data,H&&(this._ctx=H,H.data.push(this)),Us||Ws.wake()}var t=e.prototype;return t.delay=function(e){return e||e===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,ts(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Gs(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ko(this,e),!n._dp||n.parent||qo(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&Jo(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===U||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),To(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Ho(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+Ho(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?Uo(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-U?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?Wo(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-U?0:this._rts,this.totalTime(ss(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),Go(this),zo(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Gs(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==U&&(this._tTime-=U)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=Y(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Jo(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(Pa(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Wo(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=oo);var t=V;return V=e,wo(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),V=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,ns(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,ns(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(is(this,e),Pa(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,Pa(t)),this._dur||(this._zTime=-U),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-U:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-U,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n<this.endTime(!0)-U)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=G(e)?e:Do,a=function(){var e=t.then;t.then=null,n&&n(),G(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){js(this)},e}();Oo(ic.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-U,_prom:0,_ps:!1,_rts:1});var ac=function(e){ba(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=Pa(t.sortChildren),q&&Jo(t.parent||q,ya(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Yo(ya(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return as(0,arguments,this),this},n.from=function(e,t,n){return as(1,arguments,this),this},n.fromTo=function(e,t,n,r){return as(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,No(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Q(e,t,is(this,n),1),this},n.call=function(e,t,n){return Jo(this,Q.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new Q(e,n,is(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,No(n).immediateRender=Pa(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,No(r).immediateRender=Pa(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:Y(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==q&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=Y(o%f),o===i?(d=this._repeat,c=a):(_=Y(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=Uo(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:Y(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&As(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=es(this,Y(r),Y(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(As(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-U);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||V&&wo(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-U:U);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-U)._zTime=c>=r?1:-1,this._ts))return this._start=g,Go(this),this.render(e,t,n);this._onUpdate&&!t&&As(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&Lo(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(As(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o<i&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(ja(t)||(t=is(this,t,e)),!(e instanceof ic)){if(K(e))return e.forEach(function(e){return n.add(e,t)}),this;if(W(e))return this.addLabel(e,t);if(G(e))e=Q.delayedCall(0,e);else return this}return this===e?this:Jo(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-wa);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof Q?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return W(e)?this.removeLabel(e):G(e)?this.killTweensOf(e):(e.parent===this&&Io(this,e),e===this._recent&&(this._recent=this._last),Ro(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Y(Ws.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=is(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=Q.delayedCall(0,t||ro,n);return r.data=`isPause`,this._hasPause=1,Jo(this,r,is(this,e))},n.removePause=function(e){var t=this._first;for(e=is(this,e);t;)t._start===e&&t.data===`isPause`&&Lo(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)uc!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=ps(e),i=this._first,a=ja(t),o;i;)i instanceof Q?So(i._targets,r)&&(a?(!uc||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=is(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=Q.to(n,Oo({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||U,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&ts(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Oo({startAt:{time:is(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),ks(this,is(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),ks(this,is(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+U)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=Y(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return Ro(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Ro(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=wa,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,Jo(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=Y(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;ts(n,n===q&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(q._ts&&(To(q,Wo(e,q)),uo=Ws.frame),Ws.frame>=mo){mo+=xa.autoSleep||120;var t=q._first;if((!t||!t._ts)&&xa.autoSleep&&Ws._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Ws.sleep()}}},t}(ic);Oo(ac.prototype,{_lock:0,_hasPause:0,_forcing:0});var oc=function(e,t,n,r,i,a,o){var s=new Mc(this._pt,e,t,0,1,Ec,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=Es(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(Ua)||[];u=Ua.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?xo(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=Ua.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(Wa.test(r)||g)&&(s.e=0),this._pt=s,s},sc=function(e,t,n,r,i,a,o,s,c,l){G(r)&&(r=r(i||0,e,a));var u=e[t],d=n===`get`?G(u)?c?e[t.indexOf(`set`)||!G(e[`get`+t.substr(3)])?t:`get`+t.substr(3)](c):e[t]():u:n,f=G(u)?c?xc:bc:yc,p;if(W(r)&&(~r.indexOf(`random(`)&&(r=Es(r)),r.charAt(1)===`=`&&(p=xo(d,r)+(cs(d)||0),(p||p===0)&&(r=p))),!l||d!==r||dc)return!isNaN(d*r)&&r!==``?(p=new Mc(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?Tc:wc,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&eo(t,r),oc.call(this,e,t,d,r,f,s||xa.stringFilter,c))},cc=function(e,t,n,r,i){if(G(e)&&(e=gc(e,i,t,n,r)),!Na(e)||e.style&&e.nodeType||K(e)||La(e))return W(e)?gc(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=gc(e[o],i,t,n,r);return a},lc=function(e,t,n,r,i,a){var o,s,c,l;if(fo[e]&&(o=new fo[e]).init(i,o.rawVars?t[e]:cc(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new Mc(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==Ms))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},uc,dc,fc=function e(t,n,r){var i=t.vars,a=i.ease,o=i.startAt,s=i.immediateRender,c=i.lazy,l=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,f=i.keyframes,p=i.autoRevert,m=t._dur,h=t._startAt,g=t._targets,_=t.parent,v=_&&_.data===`nested`?_.vars.targets:g,y=t._overwrite===`auto`&&!Ca,b=t.timeline,x=i.easeReverse||d,S,C,w,T,E,D,O,k,A,j,M,N,ee;if(b&&(!f||!a)&&(a=`none`),t._ease=Qs(a,Sa.ease),t._rEase=x&&(Qs(x)||t._ease),t._from=!b&&!!i.runBackwards,t._from&&(t.ratio=1),!b||f&&!i.stagger){if(k=g[0]?vo(g[0]).harness:0,N=k&&i[k.prop],S=Mo(i,so),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?ao:io),h._lazy=0),o){if(Lo(t._startAt=Q.set(g,Oo({data:`isStart`,overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&Pa(c),startAt:null,delay:0,onUpdate:l&&function(){return As(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(V||!s&&!p)&&t._startAt.revert(ao),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),w=Oo({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&Pa(c),immediateRender:s,stagger:0,parent:_},S),N&&(w[k.prop]=N),Lo(t._startAt=Q.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(V?t._startAt.revert(ao):t._startAt.render(-1,!0)),t._zTime=n,!s)e(t._startAt,U,U);else if(!n)return}for(t._pt=t._ptCache=0,c=m&&Pa(c)||c&&!m,C=0;C<g.length;C++){if(E=g[C],O=E._gsap||_o(g)[C]._gsap,t._ptLookup[C]=j={},lo[O.id]&&co.length&&Co(),M=v===g?C:v.indexOf(E),k&&(A=new k).init(E,N||S,t,M,v)!==!1&&(t._pt=T=new Mc(t._pt,E,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(e){j[e]=T}),A.priority&&(D=1)),!k||N)for(w in S)fo[w]&&(A=lc(w,S,t,M,E,v))?A.priority&&(D=1):j[w]=T=sc.call(t,E,w,`get`,S[w],M,v,0,i.stringFilter);t._op&&t._op[C]&&t.kill(E,t._op[C]),y&&t._pt&&(uc=t,q.killTweensOf(E,j,t.globalTime(n)),ee=!t.parent,uc=0),t._pt&&c&&(lo[O.id]=1)}D&&jc(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!ee,f&&n<=0&&b.render(wa,!0,!0)},pc=function(e,t,n,r,i,a,o,s){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,u,d,f;if(!c)for(c=e._ptCache[t]=[],d=e._ptLookup,f=e._targets.length;f--;){if(l=d[f][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return dc=1,e.vars[t]=`+=0`,fc(e,o),dc=0,s?to(t+` not eligible for reset. Try splitting into individual properties`):1;c.push(l)}for(f=c.length;f--;)u=c[f],l=u._pt||u,l.s=(r||r===0)&&!i?r:l.s+(r||0)+a*l.c,l.c=n-l.s,u.e&&=J(n)+cs(u.e),u.b&&=l.s+cs(u.b)},mc=function(e,t){var n=e[0]?vo(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=Ao({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},hc=function(e,t,n,r){var i=t.ease||r||`power1.inOut`,a,o;if(K(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:i})});else for(a in t)o=n[a]||(n[a]=[]),a===`ease`||o.push({t:parseFloat(e),v:t[a],e:i})},gc=function(e,t,n,r,i){return G(e)?e.call(t,n,r,i):W(e)&&~e.indexOf(`random(`)?Es(e):e},_c=go+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,vc={};bo(_c+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return vc[e]=1});var Q=function(e){ba(t,e);function t(t,n,r,i){var a;typeof n==`number`&&(r.duration=n,n=r,r=null),a=e.call(this,i?n:No(n))||this;var o=a.vars,s=o.duration,c=o.delay,l=o.immediateRender,u=o.stagger,d=o.overwrite,f=o.keyframes,p=o.defaults,m=o.scrollTrigger,h=n.parent||q,g=(K(t)||La(t)?ja(t[0]):`length`in n)?[t]:ps(t),_,v,y,b,x,S,C,w;if(a._targets=g.length?_o(g):to(`GSAP target `+t+` not found. https://gsap.com`,!xa.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||Ia(s)||Ia(c)){n=a.vars;var T=n.easeReverse||n.yoyoEase;if(_=a.timeline=new ac({data:`nested`,defaults:p||{},targets:h&&h.data===`nested`?h.vars.targets:g}),_.kill(),_.parent=_._dp=ya(a),_._start=0,u||Ia(s)||Ia(c)){if(b=g.length,C=u&&gs(u),Na(u))for(x in u)~_c.indexOf(x)&&(w||={},w[x]=u[x]);for(v=0;v<b;v++)y=Mo(n,vc),y.stagger=0,T&&(y.easeReverse=T),w&&Ao(y,w),S=g[v],y.duration=+gc(s,ya(a),v,S,g),y.delay=(+gc(c,ya(a),v,S,g)||0)-a._delay,!u&&b===1&&y.delay&&(a._delay=c=y.delay,a._start+=c,y.delay=0),_.to(S,y,C?C(v,S,g):0),_._ease=Z.none;_.duration()?s=c=0:a.timeline=0}else if(f){No(Oo(_.vars.defaults,{ease:`none`})),_._ease=Qs(f.ease||n.ease||`none`);var E=0,D,O,k;if(K(f))f.forEach(function(e){return _.to(g,e,`>`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||hc(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;v<D.length;v++)O=D[v],k={ease:O.e,duration:(O.t-(v?D[v-1].t:0))/100*s},k[x]=O.v,_.to(g,k,E),E+=k.duration;_.duration()<s&&_.to({},{duration:s-_.duration()})}}s||a.duration(s=_.duration())}else a.timeline=0;return d===!0&&!Ca&&(uc=ya(a),q.killTweensOf(g),uc=0),Jo(h,ya(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===Y(h._time)&&Pa(l)&&Vo(ya(a))&&h.data!==`nested`)&&(a._tTime=-U,a.render(Math.max(0,-c)||0)),m&&Yo(ya(a),m),a}var n=t.prototype;return n.render=function(e,t,n){var r=this._time,i=this._tDur,a=this._dur,o=e<0,s=e>i-U&&!o?i:e<U?0:e,c,l,u,d,f,p,m,h;if(!a)$o(this,e,t,n);else if(s!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==o||this._lazy){if(c=s,h=this.timeline,this._repeat){if(d=a+this._rDelay,this._repeat<-1&&o)return this.totalTime(d*100+e,t,n);if(c=Y(s%d),s===i?(u=this._repeat,c=a):(f=Y(s/d),u=~~f,u&&u===f?(c=a,u--):c>a&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=Uo(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(Y(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(Xo(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c<r;if(g!==this._inv){var _=g?r:a-r;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=r,this._invRecip=_?(g?-1:1)/_:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((c-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(c/a);if(this._from&&(this.ratio=m=1-m),this._tTime=s,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),!r&&s&&!t&&!f&&(As(this,`onStart`),this._tTime!==s))return this;for(l=this._pt;l;)l.r(m,l.d),l=l._next;h&&h.render(e<0?e:h._dur*h._ease(c/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(o&&Bo(this,e,t,n),As(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&As(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&Bo(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&Lo(this,1),!t&&!(o&&!r)&&(s||r||p)&&(As(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s<i&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){Us||Ws.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||fc(this,a),o=this._ease(a/this._dur),pc(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(Ko(this,0),this.parent||Fo(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?js(this):this.scrollTrigger&&this.scrollTrigger.kill(!!V),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,uc&&uc.vars.overwrite!==!0)._first||js(this),this.parent&&n!==this.timeline.totalDuration()&&ts(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?ps(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&Po(r,i))return t===`all`&&(this._pt=0),js(this);for(s=this._op=this._op||[],t!==`all`&&(W(t)&&(d={},bo(t,function(e){return d[e]=1}),t=d),t=mc(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&Io(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&js(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return as(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return as(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return q.killTweensOf(e,t,n)},t}(ic);Oo(Q.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),bo(`staggerTo,staggerFrom,staggerFromTo`,function(e){Q[e]=function(){var t=new ac,n=us.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var yc=function(e,t,n){return e[t]=n},bc=function(e,t,n){return e[t](n)},xc=function(e,t,n,r){return e[t](r.fp,n)},Sc=function(e,t,n){return e.setAttribute(t,n)},Cc=function(e,t){return G(e[t])?bc:Ma(e[t])&&e.setAttribute?Sc:yc},wc=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Tc=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Ec=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},Dc=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},Oc=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},kc=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?Io(this,t,`_pt`):t.dep||(n=1),t=r;return!n},Ac=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},jc=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},Mc=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||wc,this.d=o||this,this.set=s||yc,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Ac,this.m=e,this.mt=n,this.tween=t},e}();bo(go+`parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse`,function(e){return so[e]=1}),Xa.TweenMax=Xa.TweenLite=Q,Xa.TimelineLite=Xa.TimelineMax=ac,q=new ac({sortChildren:!1,defaults:Sa,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),xa.stringFilter=Hs;var Nc=[],Pc={},Fc=[],Ic=0,Lc=0,Rc=function(e){return(Pc[e]||Fc).map(function(e){return e()})},zc=function(){var e=Date.now(),t=[];e-Ic>2&&(Rc(`matchMediaInit`),Nc.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=qa.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),Rc(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ic=e,Rc(`matchMedia`))},Bc=function(){function e(e,t){this.selector=t&&ms(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Lc++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){G(e)&&(n=t,t=e,e=G);var r=this,i=function(){var e=H,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=ms(n)),H=r,a=t.apply(r,arguments),G(a)&&r._r.push(a),H=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===G?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=H;H=null,e(this),H=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof Q&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEach(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof ac?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof Q)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=Nc.length;r--;)Nc[r].id===this.id&&Nc.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),Vc=function(){function e(e){this.contexts=[],this.scope=e,H&&H.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){Na(e)||(e={matches:e});var r=new Bc(0,n||this.scope),i=r.conditions={},a,o,s;for(o in H&&!r.selector&&(r.selector=H.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=qa.matchMedia(e[o]),a&&(Nc.indexOf(r)<0&&Nc.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(zc):a.addEventListener(`change`,zc)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),Hc={registerPlugin:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return Ps(e)})},timeline:function(e){return new ac(e)},getTweensOf:function(e,t){return q.getTweensOf(e,t)},getProperty:function(e,t,n,r){W(e)&&(e=ps(e)[0]);var i=vo(e||{}).get,a=n?Do:Eo;return n===`native`&&(n=``),e&&(t?a((fo[t]&&fo[t].get||i)(e,t,n,r)):function(t,n,r){return a((fo[t]&&fo[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=ps(e),e.length>1){var r=e.map(function(e){return Kc.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=fo[t],o=vo(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;Ms._pt=0,r.init(e,n?t+n:t,Ms,0,[e]),r.render(1,r),Ms._pt&&Dc(1,Ms)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=Kc.to(e,Oo((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return q.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Qs(e.ease,Sa.ease)),jo(Sa,e||{})},config:function(e){return jo(xa,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!fo[e]&&!Xa[e]&&to(t+` effect requires `+e+` plugin.`)}),po[t]=function(e,t,r){return n(ps(e),Oo(t||{},i),r)},a&&(ac.prototype[t]=function(e,n,r){return this.add(po[t](e,Na(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Z[e]=Qs(t)},parseEase:function(e,t){return arguments.length?Qs(e,t):Z},getById:function(e){return q.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new ac(e),r,i;for(n.smoothChildTiming=Pa(e.smoothChildTiming),q.remove(n),n._dp=0,n._time=n._tTime=q._time,r=q._first;r;)i=r._next,(t||!(!r._dur&&r instanceof Q&&r.vars.onComplete===r._targets[0]))&&Jo(n,r,r._start-r._delay),r=i;return Jo(q,n,0),n},context:function(e,t){return e?new Bc(e,t):H},matchMedia:function(e){return new Vc(e)},matchMediaRefresh:function(){return Nc.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||zc()},addEventListener:function(e,t){var n=Pc[e]||(Pc[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Pc[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:ws,wrapYoyo:Ts,distribute:gs,random:ys,snap:vs,normalize:Ss,getUnit:cs,clamp:ls,splitColor:Ls,toArray:ps,selector:ms,mapRange:Ds,pipe:bs,unitize:xs,interpolate:Os,shuffle:hs},install:$a,effects:po,ticker:Ws,updateRoot:ac.updateRoot,plugins:fo,globalTimeline:q,core:{PropTween:Mc,globals:no,Tween:Q,Timeline:ac,Animation:ic,getCache:vo,_removeLinkedListItem:Io,reverting:function(){return V},context:function(e){return e&&H&&(H.data.push(e),e._ctx=H),H},suppressOverwrites:function(e){return Ca=e}}};bo(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return Hc[e]=Q[e]}),Ws.add(ac.updateRoot),Ms=Hc.to({},{duration:0});var Uc=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Wc=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=Uc(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},Gc=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(W(n)&&(r={},bo(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}Wc(e,n)}}}},Kc=Hc.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)V?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},Gc(`roundProps`,_s),Gc(`modifiers`),Gc(`snap`,vs))||Hc;Q.version=ac.version=Kc.version=`3.15.0`,Qa=1,Fa()&&Gs(),Z.Power0,Z.Power1,Z.Power2,Z.Power3,Z.Power4,Z.Linear,Z.Quad,Z.Cubic,Z.Quart,Z.Quint,Z.Strong,Z.Elastic,Z.Back,Z.SteppedEase,Z.Bounce,Z.Sine,Z.Expo,Z.Circ;var qc,Jc,Yc,Xc,Zc,Qc,$c,el=function(){return typeof window<`u`},tl={},nl=180/Math.PI,rl=Math.PI/180,il=Math.atan2,al=1e8,ol=/([A-Z])/g,sl=/(left|right|width|margin|padding|x)/i,cl=/[\s,\(]\S/,ll={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},ul=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},dl=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},fl=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},pl=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},ml=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},hl=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},gl=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},_l=function(e,t,n){return e.style[t]=n},vl=function(e,t,n){return e.style.setProperty(t,n)},yl=function(e,t,n){return e._gsap[t]=n},bl=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},xl=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},Sl=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},$=`transform`,Cl=$+`Origin`,wl=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in tl&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=ll[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=Ul(i,e)}):this.tfm[t]=o.x?o[t]:Ul(i,t),t===Cl&&(this.tfm.zOrigin=o.zOrigin);else return ll.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf($)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(Cl,n,``)),t=$}(a||n)&&this.props.push(t,n,a[t])},Tl=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},El=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)===`--`?e[i]:e[i].replace(ol,`-$1`).toLowerCase());if(this.tfm){for(a in this.tfm)r[a]=this.tfm[a];r.svg&&(r.renderTransform(),t.setAttribute(`data-svg-origin`,this.svgo||``)),i=$c(),(!i||!i.isStart)&&!n[$]&&(Tl(n),r.zOrigin&&n[Cl]&&(n[Cl]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Dl=function(e,t){var n={target:e,props:[],revert:El,save:wl};return e._gsap||Kc.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},Ol,kl=function(e,t){var n=Jc.createElementNS?Jc.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):Jc.createElement(e);return n&&n.style?n:Jc.createElement(e)},Al=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(ol,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,Ml(n)||n,1)||``},jl=`O,Moz,ms,Ms,Webkit`.split(`,`),Ml=function(e,t,n){var r=(t||Zc).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(jl[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?jl[i]:``)+e},Nl=function(){el()&&window.document&&(qc=window,Jc=qc.document,Yc=Jc.documentElement,Zc=kl(`div`)||{style:{}},kl(`div`),$=Ml($),Cl=$+`Origin`,Zc.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,Ol=!!Ml(`perspective`),$c=Kc.core.reverting,Xc=1)},Pl=function(e){var t=e.ownerSVGElement,n=kl(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),Yc.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),Yc.removeChild(n),i},Fl=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Il=function(e){var t,n;try{t=e.getBBox()}catch{t=Pl(e),n=1}return t&&(t.width||t.height)||n||(t=Pl(e)),t&&!t.width&&!t.x&&!t.y?{x:+Fl(e,[`x`,`cx`,`x1`])||0,y:+Fl(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},Ll=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Il(e))},Rl=function(e,t){if(t){var n=e.style,r;t in tl&&t!==Cl&&(t=$),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(ol,`-$1`).toLowerCase())):n.removeAttribute(t)}},zl=function(e,t,n,r,i,a){var o=new Mc(e._pt,t,n,0,1,a?gl:hl);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},Bl={deg:1,rad:1,turn:1},Vl={grid:1,flex:1},Hl=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=Zc.style,c=sl.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||Bl[i]||Bl[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&Ll(t),(p||o===`%`)&&(tl[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],J(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Jc||!h.appendChild)&&(h=Jc.body),g=h._gsap,g&&p&&g.width&&c&&g.time===Ws.time&&!g.uncache)return J(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:Rl(t,n)}else (p||o===`%`)&&!Vl[Al(h,`display`)]&&(s.position=Al(t,`position`)),h===t&&(s.position=`static`),h.appendChild(Zc),m=Zc[u],h.removeChild(Zc),s.position=`absolute`;return c&&p&&(g=vo(h),g.time=Ws.time,g.width=h[u]),J(f?m*a/d:m&&a?d/m*a:0)},Ul=function(e,t,n,r){var i;return Xc||Nl(),t in ll&&t!==`transform`&&(t=ll[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),tl[t]&&t!==`transform`?(i=tu(e,r),i=t===`transformOrigin`?i.svg?i.origin:nu(Al(e,Cl))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=Jl[t]&&Jl[t](e,t,n)||Al(e,t)||yo(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?Hl(e,t,i,n)+n:i},Wl=function(e,t,n,r){if(!n||n===`none`){var i=Ml(t,e,1),a=i&&Al(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=Al(e,`borderTopColor`))}var o=new Mc(this._pt,e.style,t,0,1,Ec),s=0,c=0,l,u,d,f,p,m,h,g,_,v,y,b;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=Al(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=Al(e,t)||r,m?e.style[t]=m:Rl(e,t)),l=[n,r],Hs(l),n=l[0],r=l[1],d=n.match(Ha)||[],b=r.match(Ha)||[],b.length){for(;u=Ha.exec(r);)h=u[0],_=r.substring(s,u.index),p?p=(p+1)%5:(_.substr(-5)===`rgba(`||_.substr(-5)===`hsla(`)&&(p=1),h!==(m=d[c++]||``)&&(f=parseFloat(m)||0,y=m.substr((f+``).length),h.charAt(1)===`=`&&(h=xo(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=Ha.lastIndex-v.length,v||(v=v||xa.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=Hl(e,t,m,v)||0),o._pt={_next:o._pt,p:_||c===1?_:`,`,s:f,c:g-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s<r.length?r.substring(s,r.length):``}else o.r=t===`display`&&r===`none`?gl:hl;return Wa.test(r)&&(o.e=0),this._pt=o,o},Gl={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},Kl=function(e){var t=e.split(` `),n=t[0],r=t[1]||`50%`;return(n===`top`||n===`bottom`||r===`left`||r===`right`)&&(e=n,n=r,r=e),t[0]=Gl[n]||n,t[1]=Gl[r]||r,t.join(` `)},ql=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,i=t.u,a=n._gsap,o,s,c;if(i===`all`||i===!0)r.cssText=``,s=1;else for(i=i.split(`,`),c=i.length;--c>-1;)o=i[c],tl[o]&&(s=1,o=o===`transformOrigin`?Cl:$),Rl(n,o);s&&(Rl(n,$),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,tu(n,1),a.uncache=1,Tl(r)))}},Jl={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new Mc(e._pt,t,n,0,0,ql);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},Yl=[1,0,0,1,0,0],Xl={},Zl=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},Ql=function(e){var t=Al(e,$);return Zl(t)?Yl:t.substr(7).match(Va).map(J)},$l=function(e,t){var n=e._gsap||vo(e),r=e.style,i=Ql(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?Yl:i):(i===Yl&&!e.offsetParent&&e!==Yc&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,Yc.appendChild(e)),i=Ql(e),s?r.display=s:Rl(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):Yc.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},eu=function(e,t,n,r,i,a){var o=e._gsap,s=i||$l(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==Yl&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=Il(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[Cl]=`0px 0px`,a&&(zl(a,o,`xOrigin`,c,y),zl(a,o,`yOrigin`,l,b),zl(a,o,`xOffset`,u,o.xOffset),zl(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},tu=function(e,t){var n=e._gsap||new rc(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=Al(e,Cl)||`0`,l=u=d=m=h=g=_=v=y=0,u,d,f=p=1,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,ee,te,P,ne,re,ie,ae;return n.svg=!!(e.getCTM&&Ll(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[$]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[$]===`none`?``:s[$])),r.scale=r.rotate=r.translate=`none`),S=$l(e,n.svg),n.svg&&(n.uncache?(N=e.getBBox(),c=n.xOrigin-N.x+`px `+(n.yOrigin-N.y)+`px`,M=``):M=!t&&e.getAttribute(`data-svg-origin`),eu(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==Yl&&(E=S[0],D=S[1],O=S[2],k=S[3],l=A=S[4],u=j=S[5],S.length===6?(f=Math.sqrt(E*E+D*D),p=Math.sqrt(k*k+O*O),m=E||D?il(D,E)*nl:0,_=O||k?il(O,k)*nl+m:0,_&&(p*=Math.abs(Math.cos(_*rl))),n.svg&&(l-=b-(b*E+x*O),u-=x-(b*D+x*k))):(ae=S[6],re=S[7],te=S[8],P=S[9],ne=S[10],ie=S[11],l=S[12],u=S[13],d=S[14],C=il(ae,ne),h=C*nl,C&&(w=Math.cos(-C),T=Math.sin(-C),M=A*w+te*T,N=j*w+P*T,ee=ae*w+ne*T,te=A*-T+te*w,P=j*-T+P*w,ne=ae*-T+ne*w,ie=re*-T+ie*w,A=M,j=N,ae=ee),C=il(-O,ne),g=C*nl,C&&(w=Math.cos(-C),T=Math.sin(-C),M=E*w-te*T,N=D*w-P*T,ee=O*w-ne*T,ie=k*T+ie*w,E=M,D=N,O=ee),C=il(D,E),m=C*nl,C&&(w=Math.cos(C),T=Math.sin(C),M=E*w+D*T,N=A*w+j*T,D=D*w-E*T,j=j*w-A*T,E=M,A=N),h&&Math.abs(h)+Math.abs(m)>359.9&&(h=m=0,g=180-g),f=J(Math.sqrt(E*E+D*D+O*O)),p=J(Math.sqrt(j*j+ae*ae)),C=il(A,j),_=Math.abs(C)>2e-4?C*nl:0,y=ie?1/(ie<0?-ie:ie):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!Zl(Al(e,$)),M&&e.setAttribute(`transform`,M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(f*=-1,_+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,_+=_<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=J(f),n.scaleY=J(p),n.rotation=J(m)+o,n.rotationX=J(h)+o,n.rotationY=J(g)+o,n.skewX=_+o,n.skewY=v+o,n.transformPerspective=y+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[Cl]=nu(c)),n.xOffset=n.yOffset=0,n.force3D=xa.force3D,n.renderTransform=n.svg?lu:Ol?cu:iu,n.uncache=0,n},nu=function(e){return(e=e.split(` `))[0]+` `+e[1]},ru=function(e,t,n){var r=cs(t);return J(parseFloat(t)+parseFloat(Hl(e,`x`,n+`px`,r)))+r},iu=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,cu(e,t)},au=`0deg`,ou=`0px`,su=`) `,cu=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==au||l!==au)){var x=parseFloat(l)*rl,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*rl,w=Math.cos(x),a=ru(_,a,S*w*-v),o=ru(_,o,-Math.sin(x)*-v),s=ru(_,s,C*w*-v+v)}h!==ou&&(y+=`perspective(`+h+su),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==ou||o!==ou||s!==ou)&&(y+=s!==ou||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+su),c!==au&&(y+=`rotate(`+c+su),l!==au&&(y+=`rotateY(`+l+su),u!==au&&(y+=`rotateX(`+u+su),(d!==au||f!==au)&&(y+=`skew(`+d+`, `+f+su),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+su),_.style[$]=y||`translate(0, 0)`},lu=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=rl,c*=rl,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=rl,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=J(b),x=J(x),S=J(S),C=J(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=Hl(f,`x`,a,`px`),y=Hl(f,`y`,o,`px`)),(p||m||h||g)&&(v=J(v+p-(p*b+m*S)+h),y=J(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=J(v+r/100*w.width),y=J(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[$]=w)},uu=function(e,t,n,r,i){var a=360,o=W(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?nl:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*al)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*al)%a-~~(s/a)*a)),e._pt=u=new Mc(e._pt,t,n,r,s,dl),u.e=c,u.u=`deg`,e._props.push(n),u},du=function(e,t){for(var n in t)e[n]=t[n];return e},fu=function(e,t,n){var r=du({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[$]=t,o=tu(n,1),Rl(n,$),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[$],a[$]=t,o=tu(n,1),a[$]=c),tl)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=cs(c),p=cs(l),u=f===p?parseFloat(c):Hl(n,s,c,p),d=parseFloat(l),e._pt=new Mc(e._pt,o,s,u,d-u,ul),e._pt.u=p||0,e._props.push(s));du(o,r)};bo(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});Jl[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return Ul(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var pu={name:`css`,register:Nl,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;for(m in Xc||Nl(),this.styles=this.styles||Dl(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(fo[m]&&lc(m,t,n,r,e,i)))){if(f=typeof l,p=Jl[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=Es(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,Bs.lastIndex=0,Bs.test(c)||(h=cs(c),g=cs(l),g?h!==g&&(c=Hl(e,m,c,g)+g):h&&(l+=h)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),C.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],W(c)&&~c.indexOf(`random(`)&&(c=Es(c)),cs(c+``)||c===`auto`||(c+=xa.units[m]||cs(Ul(e,m))||``),(c+``).charAt(1)===`=`&&(c=Ul(e,m))):c=Ul(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in ll&&(m===`autoAlpha`&&(d===1&&Ul(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),zl(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=ll[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in tl,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=Al(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=Al(e,`perspective`),T?e.style.perspective=T:Rl(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||tu(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new Mc(this._pt,o,$,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new Mc(this._pt,b,`scaleY`,b.scaleY,(_?xo(b.scaleY,_+u):u)-b.scaleY||0,ul),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(Cl,0,o[Cl]),l=Kl(l),b.svg?eu(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&zl(this,b,`zOrigin`,b.zOrigin,g),zl(this,o,m,nu(c),nu(l)));continue}else if(m===`svgOrigin`){eu(e,l,1,x,0,this);continue}else if(m in Xl){uu(this,b,m,d,_?xo(d,_+l):l);continue}else if(m===`smoothOrigin`){zl(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){fu(this,l,e);continue}}else m in o||(m=Ml(m)||m);if(v||(u||u===0)&&(d||d===0)&&!cl.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=cs(l)||(m in xa.units?xa.units[m]:h),h!==g&&(d=Hl(e,m,c,g)),this._pt=new Mc(this._pt,v?b:o,m,d,(_?xo(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?ml:ul),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=pl):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=fl);else if(m in o)Wl.call(this,e,m,c,_?_+l:l);else if(m in e)this.add(e,m,c||e[m],_?_+l:l,r,i);else if(m!==`parseTransform`){eo(m,l);continue}v||(m in o?C.push(m,0,o[m]):typeof e[m]==`function`?C.push(m,2,e[m]()):C.push(m,1,c||e[m])),a.push(m)}}S&&jc(this)},render:function(e,t){if(t.tween._time||!$c())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Ul,aliases:ll,getSetter:function(e,t,n){var r=ll[t];return r&&r.indexOf(`,`)<0&&(t=r),t in tl&&t!==Cl&&(e._gsap.x||Ul(e,`x`))?n&&Qc===n?t===`scale`?bl:yl:(Qc=n||{})&&(t===`scale`?xl:Sl):e.style&&!Ma(e.style[t])?_l:~t.indexOf(`-`)?vl:Cc(e,t)},core:{_removeProperty:Rl,_getMatrix:$l}};Kc.utils.checkPrefix=Ml,Kc.core.getStyleSaver=Dl,(function(e,t,n,r){var i=bo(e+`,`+t+`,`+n,function(e){tl[e]=1});bo(t,function(e){xa.units[e]=`deg`,Xl[e]=1}),ll[i[13]]=e+`,`+t,bo(r,function(e){var t=e.split(`:`);ll[t[1]]=i[t[0]]})})(`x,y,z,scale,scaleX,scaleY,xPercent,yPercent`,`rotation,rotationX,rotationY,skewX,skewY`,`transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective`,`0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY`),bo(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){xa.units[e]=`px`}),Kc.registerPlugin(pu);var mu=Kc.registerPlugin(pu)||Kc;mu.core.Tween;var hu=(e,t)=>{let[n,r]=getComputedStyle(e).getPropertyValue(t).trim().split(`,`).map(e=>parseFloat(e.trim()));return[isNaN(n)?0:n,isNaN(r)?1:r]},gu=({open:e,onOpenChange:t,trigger:n,title:r,description:i,children:a,footer:o,className:s,duration:c=1})=>{let f=(0,l.useRef)(null),p=(0,l.useRef)(null),m=(0,l.useRef)(null),h=(0,l.useCallback)(()=>{let e=f.current,t=p.current;if(!e||!t)return null;let[n,r]=hu(t,`--modal-opacity`),[i,a]=hu(t,`--modal-scale`),[o,s]=hu(t,`--modal-translate-x`),[l,u]=hu(t,`--modal-translate-y`),d=mu.timeline({paused:!0,ease:`power1.out`});return d.fromTo(e,{autoAlpha:0},{autoAlpha:1,duration:c},0),d.fromTo(t,{autoAlpha:n,scale:i,xPercent:o,yPercent:l},{autoAlpha:r,scale:a,xPercent:s,yPercent:u,duration:c},0),d},[c]);return(0,l.useEffect)(()=>{m.current=h()},[h]),(0,l.useEffect)(()=>{m.current&&(e?m.current.play():m.current.reverse())},[e]),(0,u.jsxs)(u.Fragment,{children:[n&&(0,u.jsx)(`span`,{style:{display:`contents`},onClick:()=>t(!0),children:n}),(0,d.createPortal)((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(`div`,{ref:f,className:`vi-modal-overlay`,"aria-hidden":`true`,onClick:()=>t(!1)}),(0,u.jsxs)(`div`,{ref:p,role:`dialog`,"aria-modal":`true`,"aria-hidden":!e,className:B(s),children:[(0,u.jsxs)(`button`,{className:`vi-modal-close`,onClick:()=>t(!1),"aria-label":`Close`,children:[(0,u.jsx)(ra,{className:`h-4 w-4`}),(0,u.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),(r||i)&&(0,u.jsxs)(`div`,{className:`vi-modal-header`,children:[r&&(0,u.jsx)(`h2`,{className:`vi-modal-title`,children:r}),i&&(0,u.jsx)(`p`,{className:`vi-modal-description`,children:i})]}),(0,u.jsx)(`div`,{className:`vi-modal-body`,children:a}),o&&(0,u.jsx)(`div`,{className:`vi-modal-footer`,children:o})]})]}),document.body)]})},_u=(0,l.forwardRef)(({className:e,label:t,description:n,maskedLength:r=8,hidden:i,validate:a,onValidationChange:o,...s},c)=>{let[d,f]=(0,l.useState)(null);return(0,u.jsxs)(`div`,{className:`flex flex-col gap-1 w-full`,children:[t&&(0,u.jsx)(`label`,{className:`text-sm font-medium`,children:t}),(0,u.jsxs)(`div`,{className:`relative`,children:[(0,u.jsx)(`textarea`,{ref:c,className:B(`flex min-h-[36px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,d&&`border-red-500 focus-visible:ring-red-500`,s.value&&i&&`text-transparent`,e),onChange:e=>{if(a){let t=a(e.target.value);f(t),o?.(!t)}s.onChange?.(e)},...s,placeholder:i?void 0:s.placeholder}),i&&(0,u.jsx)(`div`,{className:`absolute inset-0 p-2 h-fit pointer-events-none`,children:`•`.repeat(r)})]}),n&&(0,u.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:n}),d&&(0,u.jsx)(`p`,{className:`text-xs text-red-500 font-medium`,children:d})]})});_u.displayName=`Textarea`;var vu=null,yu=({children:e,position:t=`right`})=>{let[n,r]=(0,l.useState)([]),i=(0,l.useCallback)(e=>{let t=Date.now().toString()+Math.random().toString(36),n={...e,id:t};r(e=>[...e,n].slice(-5)),setTimeout(()=>{r(e=>e.filter(e=>e.id!==t))},e.duration||5e3)},[]);return(0,l.useEffect)(()=>(vu=i,()=>{vu=null}),[i]),(0,u.jsxs)(u.Fragment,{children:[e,(0,u.jsx)(`div`,{className:B(`vi-toast-viewport`,t===`left`&&`vi-toast-viewport-left`),children:n.map(e=>(0,u.jsx)(bu,{...e},e.id))})]})},bu=({variant:e,title:t,description:n})=>{let r=!!t;return(0,u.jsx)(`div`,{className:B(`vi-toast`,`vi-toast-variant-${e}`),children:(0,u.jsxs)(`div`,{className:`vi-toast-content`,children:[r&&(0,u.jsx)(`div`,{className:`vi-toast-title`,children:t}),n&&(0,u.jsx)(`div`,{className:B(`vi-toast-description`,!r&&`vi-toast-description-colored`),children:n})]})})},xu={success:(e,t)=>{let n=t!==void 0;vu?.({variant:`success`,title:n?e:void 0,description:n?t:e})},error:(e,t)=>{let n=t!==void 0;vu?.({variant:`error`,title:n?e:void 0,description:n?t:e})},warning:(e,t)=>{let n=t!==void 0;vu?.({variant:`warning`,title:n?e:void 0,description:n?t:e})},info:(e,t)=>{let n=t!==void 0;vu?.({variant:`info`,title:n?e:void 0,description:n?t:e})},default:(e,t)=>{let n=t!==void 0;vu?.({variant:`default`,title:n?e:void 0,description:n?t:e})}},Su=({logo:e,ctaLinks:t=[]})=>{let[n,r]=(0,l.useState)(!1);return(0,u.jsxs)(`header`,{className:`vi-header`,children:[(0,u.jsxs)(`div`,{className:`vi-header-mobile`,children:[(0,u.jsx)(_a,{name:e.name,image:e.image,link:e.link}),t.length>0&&(0,u.jsx)(gu,{open:n,onOpenChange:r,title:e.name,className:`vi-modal-slide-right z-[1000]`,trigger:(0,u.jsx)(_t,{variant:`ghost`,title:`Menu Button`,"aria-label":`Open menu`,children:(0,u.jsx)(na,{size:24,"aria-hidden":`true`})}),children:(0,u.jsx)(`div`,{className:`flex flex-col gap-3`,children:t.map(e=>(0,u.jsxs)(ga,{link:e,noBaseClass:!0,className:`flex items-center justify-between text-sm font-medium hover:underline`,children:[(0,u.jsx)(`span`,{children:e.text}),(0,u.jsx)(ea,{size:16,"aria-hidden":`true`})]},e.url))})})]}),(0,u.jsxs)(`div`,{className:`hidden lg:flex items-center justify-between px-8 py-4`,children:[(0,u.jsx)(_a,{...e}),t.length>0&&(0,u.jsx)(`nav`,{className:`flex items-center gap-6`,children:t.map(e=>(0,u.jsx)(ga,{link:e,noBaseClass:!0,className:`text-sm font-medium hover:underline`},e.url))})]})]})},Cu=()=>(0,u.jsxs)(`div`,{className:`vi-pnf`,children:[(0,u.jsx)(`div`,{className:`vi-pnf-bg-gradient`}),(0,u.jsx)(`div`,{className:`vi-pnf-orb-gold`}),(0,u.jsx)(`div`,{className:`vi-pnf-orb-green`}),(0,u.jsxs)(`div`,{className:`vi-pnf-content`,children:[(0,u.jsxs)(`div`,{className:`vi-pnf-404-wrap`,children:[(0,u.jsx)(`h1`,{className:`vi-pnf-404`,children:`404`}),(0,u.jsx)(`div`,{className:`vi-pnf-404-glow`})]}),(0,u.jsxs)(`div`,{className:`vi-pnf-message`,children:[(0,u.jsx)(`h2`,{className:`vi-pnf-title`,children:`Page Not Found`}),(0,u.jsx)(`p`,{className:`vi-pnf-subtitle`,children:`Looks like you've ventured into uncharted territory. The page you're looking for doesn't exist or has been moved.`})]}),(0,u.jsx)(`div`,{className:`vi-pnf-actions`,children:(0,u.jsx)(_t,{asChild:!0,size:`lg`,className:`vi-pnf-btn group`,children:(0,u.jsx)(`a`,{href:`/`,children:(0,u.jsxs)(`span`,{className:`vi-pnf-btn-inner`,children:[(0,u.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,u.jsx)(`path`,{d:`m12 19-7-7 7-7`}),(0,u.jsx)(`path`,{d:`M19 12H5`})]}),`Back to Home`]})})})})]}),(0,u.jsx)(`div`,{className:`vi-pnf-divider`})]}),wu=({icon:e,label:t})=>(0,u.jsxs)(_t,{variant:`ghost`,className:`w-full justify-start gap-2`,children:[(0,u.jsx)(e,{className:`h-4 w-4`}),t]});wu.displayName=`PageAsideNavItem`;var Tu=({children:e,title:t,userName:n,onLogout:r})=>(0,u.jsxs)(`aside`,{className:`vi-aside`,children:[(0,u.jsxs)(`div`,{children:[t&&(0,u.jsx)(`div`,{className:`vi-aside-header`,children:(0,u.jsx)(`span`,{className:`vi-aside-title`,children:t})}),(0,u.jsx)(`nav`,{className:`vi-aside-nav`,children:e})]}),(0,u.jsxs)(`div`,{children:[n&&(0,u.jsx)(`p`,{className:`vi-aside-username`,children:n}),r&&(0,u.jsxs)(_t,{variant:`outline`,className:`vi-aside-logout`,onClick:r,children:[(0,u.jsx)(ta,{className:`mr-2 h-4 w-4`}),`Logout`]})]})]});Tu.displayName=`PageAside`,exports.Button=_t,exports.Card=vt,exports.CardContent=St,exports.CardDescription=xt,exports.CardImage=yt,exports.CardTitle=bt,exports.CardWrapper=Ct,exports.Dialog=ia,exports.DialogClose=sa,exports.DialogContent=la,exports.DialogDescription=pa,exports.DialogFooter=da,exports.DialogHeader=ua,exports.DialogOverlay=ca,exports.DialogPortal=oa,exports.DialogTitle=fa,exports.DialogTrigger=aa,exports.Header=Su,exports.Input=ma,exports.Link=ga,exports.Loading=va,exports.LogoLink=_a,exports.Modal=gu,exports.PageAside=Tu,exports.PageAsideNavItem=wu,exports.PageNotFound=Cu,exports.Textarea=_u,exports.ToastProvider=yu,exports.buttonVariants=gt,exports.cn=B,exports.toast=xu;
45
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Pi=`DialogDescriptionWarning`,Fi=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Mi(Pi).contentName}}.`;return l.useEffect(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Ii=si,Li=li,Ri=pi,zi=hi,Bi=yi,Vi=wi,Hi=Ei,Ui=Oi,Wi=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Gi=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Ki=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),qi=e=>{let t=Ki(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ji={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},Yi=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Xi=(0,c.createContext)({}),Zi=()=>(0,c.useContext)(Xi),Qi=(0,c.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},l)=>{let{size:u=24,strokeWidth:d=2,absoluteStrokeWidth:f=!1,color:p=`currentColor`,className:m=``}=Zi()??{},h=r??f?Number(n??d)*24/Number(t??u):n??d;return(0,c.createElement)(`svg`,{ref:l,...Ji,width:t??u??Ji.width,height:t??u??Ji.height,stroke:e??p,strokeWidth:h,className:Wi(`lucide`,m,i),...!a&&!Yi(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,c.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),$i=(e,t)=>{let n=(0,c.forwardRef)(({className:n,...r},i)=>(0,c.createElement)(Qi,{ref:i,iconNode:t,className:Wi(`lucide-${Gi(qi(e))}`,`lucide-${e}`,n),...r}));return n.displayName=qi(e),n},ea=$i(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),ta=$i(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),na=$i(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),ra=$i(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),ia=$i(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),aa=$i(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),oa=Ii,sa=Li,ca=Ri,la=Ui,ua=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(zi,{ref:n,className:B(`fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t}));ua.displayName=zi.displayName;var da=(0,l.forwardRef)(({className:e,children:t,...n},r)=>(0,u.jsxs)(ca,{children:[(0,u.jsx)(ua,{}),(0,u.jsxs)(Bi,{ref:r,className:B(`fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg`,e),...n,children:[t,(0,u.jsxs)(Ui,{className:`absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground`,children:[(0,u.jsx)(aa,{className:`h-4 w-4`}),(0,u.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]}));da.displayName=Bi.displayName;var fa=({className:e,...t})=>(0,u.jsx)(`div`,{className:B(`flex flex-col space-y-1.5 text-center sm:text-left`,e),...t});fa.displayName=`DialogHeader`;var pa=({className:e,...t})=>(0,u.jsx)(`div`,{className:B(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2`,e),...t});pa.displayName=`DialogFooter`;var ma=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(Vi,{ref:n,className:B(`text-lg font-semibold leading-none tracking-tight`,e),...t}));ma.displayName=Vi.displayName;var ha=(0,l.forwardRef)(({className:e,...t},n)=>(0,u.jsx)(Hi,{ref:n,className:B(`text-sm text-muted-foreground`,e),...t}));ha.displayName=Hi.displayName;var ga=(0,l.forwardRef)(({className:e,type:t,label:n,description:r,validate:i,onValueChange:a,id:o,...s},c)=>{let[d,f]=(0,l.useState)(null),p=(0,l.useId)(),m=o??p;return(0,u.jsxs)(`div`,{className:`flex flex-col gap-1 w-full`,children:[n&&(0,u.jsx)(`label`,{htmlFor:m,className:`text-sm font-medium`,children:n}),(0,u.jsx)(`input`,{ref:c,id:m,type:t,className:B(`flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm transition-colors`,`placeholder:text-muted-foreground`,`focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,`disabled:cursor-not-allowed disabled:opacity-50`,`file:border-0 file:bg-transparent file:text-sm file:font-medium`,`md:text-sm`,d&&`border-destructive focus-visible:ring-destructive`,e),onChange:e=>{a&&a(e.target.value),i&&f(i(e.target.value)),s.onChange?.(e)},...s}),r&&!d&&(0,u.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:r}),d&&(0,u.jsx)(`p`,{className:`text-xs text-destructive font-medium`,children:d})]})});ga.displayName=`Input`;var _a=e=>typeof e==`object`&&!!e&&`url`in e,va=({link:e,className:t,noBaseClass:n=!1,children:r})=>(0,u.jsx)(u.Fragment,{children:e.isExternal?(0,u.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,className:n?t:B(`vi-link`,t),title:e.text,children:r??e.text}):(0,u.jsx)(`a`,{href:e.url,className:n?t:B(`vi-link`,t),title:e.text,children:r??e.text})}),ya=({name:e,image:t,link:n,className:r})=>(0,u.jsxs)(va,{link:n,className:B(`vi-link-logo-wrapper`,r),children:[_a(t)?(0,u.jsx)(`img`,{src:t.url,alt:t.alt,className:`vi-logo`}):(0,l.isValidElement)(t)?t:null,(0,u.jsx)(`span`,{className:`vi-logo-text`,children:e})]}),ba=({text:e=`Loading...`,className:t,...n})=>(0,u.jsxs)(`div`,{className:B(`flex flex-row items-center justify-center gap-3 p-4 text-muted-foreground`,t),...n,children:[(0,u.jsxs)(`svg`,{className:`h-6 w-6 animate-spin text-muted-foreground`,xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,"aria-hidden":`true`,children:[(0,u.jsx)(`circle`,{className:`opacity-25`,cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeWidth:`4`}),(0,u.jsx)(`path`,{className:`opacity-75`,fill:`currentColor`,d:`M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z`})]}),(0,u.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:e})]});ba.displayName=`Loading`;function xa(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Sa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Ca={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},wa={duration:.5,overwrite:!1,delay:0},Ta,V,H,Ea=1e8,U=1/Ea,Da=Math.PI*2,Oa=Da/4,ka=0,Aa=Math.sqrt,ja=Math.cos,Ma=Math.sin,W=function(e){return typeof e==`string`},G=function(e){return typeof e==`function`},Na=function(e){return typeof e==`number`},Pa=function(e){return e===void 0},Fa=function(e){return typeof e==`object`},Ia=function(e){return e!==!1},La=function(){return typeof window<`u`},Ra=function(e){return G(e)||W(e)},za=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},K=Array.isArray,Ba=/random\([^)]+\)/g,Va=/,\s*/g,Ha=/(?:-?\.?\d|\.)+/gi,Ua=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Wa=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ga=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ka=/[+-]=-?[.\d]+/,qa=/[^,'"\[\]\s]+/gi,Ja=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,q,Ya,Xa,Za,Qa={},$a={},eo,to=function(e){return($a=Mo(e,Qa))&&Jc},no=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},ro=function(e,t){return!t&&console.warn(e)},io=function(e,t){return e&&(Qa[e]=t)&&$a&&($a[e]=t)||Qa},ao=function(){return 0},oo={suppressEvents:!0,isStart:!0,kill:!1},so={suppressEvents:!0,kill:!1},co={suppressEvents:!0},lo={},uo=[],fo={},po,mo={},ho={},go=30,_o=[],vo=``,yo=function(e){var t=e[0],n,r;if(Fa(t)||G(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=_o.length;r--&&!_o[r].targetTest(t););n=_o[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new ac(e[r],n)))||e.splice(r,1);return e},bo=function(e){return e._gsap||yo(hs(e))[0]._gsap},xo=function(e,t,n){return(n=e[t])&&G(n)?e[t]():Pa(n)&&e.getAttribute&&e.getAttribute(t)||n},So=function(e,t){return(e=e.split(`,`)).forEach(t)||e},J=function(e){return Math.round(e*1e5)/1e5||0},Y=function(e){return Math.round(e*1e7)/1e7||0},Co=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},wo=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},To=function(){var e=uo.length,t=uo.slice(0),n,r;for(fo={},uo.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Eo=function(e){return!!(e._initted||e._startAt||e.add)},Do=function(e,t,n,r){uo.length&&!V&&To(),e.render(t,n,r||!!(V&&t<0&&Eo(e))),uo.length&&!V&&To()},Oo=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match(qa).length<2?t:W(e)?e.trim():e},ko=function(e){return e},Ao=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},jo=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},Mo=function(e,t){for(var n in t)e[n]=t[n];return e},No=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=Fa(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Po=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},Fo=function(e){var t=e.parent||q,n=e.keyframes?jo(K(e.keyframes)):Ao;if(Ia(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},Io=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},Lo=function(e,t,n,r,i){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var a=e[r],o;if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},Ro=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},zo=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Bo=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},Vo=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Ho=function(e,t,n,r){return e._startAt&&(V?e._startAt.revert(so):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Uo=function e(t){return!t||t._ts&&e(t.parent)},Wo=function(e){return e._repeat?Go(e._tTime,e=e.duration()+e._rDelay)*e:0},Go=function(e,t){var n=Math.floor(e=Y(e/t));return e&&n===e?n-1:n},Ko=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},qo=function(e){return e._end=Y(e._start+(e._tDur/Math.abs(e._ts||e._rts||U)||0))},Jo=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Y(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),qo(e),n._dirty||Bo(n,e)),e},Yo=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Ko(e.rawTime(),t),(!t._dur||ls(0,t.totalDuration(),n)-t._tTime>U)&&t.render(n,!0)),Bo(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-U}},Xo=function(e,t,n,r){return t.parent&&zo(t),t._start=Y((Na(n)?n:n||e!==q?os(e,n,t):e._time)+t._delay),t._end=Y(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Lo(e,t,`_first`,`_last`,e._sort?`_start`:0),es(t)||(e._recent=t),r||Yo(e,t),e._ts<0&&Jo(e,e._tTime),e},Zo=function(e,t){return(Qa.ScrollTrigger||no(`scrollTrigger`,t))&&Qa.ScrollTrigger.create(t,e)},Qo=function(e,t,n,r,i){if(mc(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!V&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&po!==Ks.frame)return uo.push(e),e._lazy=[i,r],1},$o=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},es=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},ts=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&$o(e)&&!(!e._initted&&es(e))||(e._ts<0||e._dp._ts<0)&&!es(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=ls(0,e._tDur,t),l=Go(s,o),e._yoyo&&l&1&&(a=1-a),l!==Go(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||V||r||e._zTime===U||!t&&e._zTime){if(!e._initted&&Qo(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?U:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&Ho(e,t,n,!0),e._onUpdate&&!n&&Ms(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&Ms(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&zo(e,1),!n&&!V&&(Ms(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},ns=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start<t)return r;r=r._prev}},rs=function(e,t,n,r){var i=e._repeat,a=Y(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Y(a*(i+1)+e._rDelay*i):a,o>0&&!r&&Jo(e,e._tTime=e._tDur*o),e.parent&&qo(e),n||Bo(e.parent,e),e},is=function(e){return e instanceof sc?Bo(e):rs(e,e._dur)},as={_start:0,endTime:ao,totalDuration:ao},os=function e(t,n,r){var i=t.labels,a=t._recent||as,o=t.duration()>=Ea?a.endTime(!1):t._dur,s,c,l;return W(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(K(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},ss=function(e,t,n){var r=Na(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=Ia(s.vars.inherit)&&s.parent;a.immediateRender=Ia(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new Q(t[0],a,t[i+1])},cs=function(e,t){return e||e===0?t(e):t},ls=function(e,t,n){return n<e?e:n>t?t:n},us=function(e,t){return!W(e)||!(t=Ja.exec(e))?``:t[1]},ds=function(e,t,n){return cs(n,function(n){return ls(e,t,n)})},fs=[].slice,ps=function(e,t){return e&&Fa(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&Fa(e[0]))&&!e.nodeType&&e!==Ya},ms=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return W(e)&&!t||ps(e,1)?(r=n).push.apply(r,hs(e)):n.push(e)})||n},hs=function(e,t,n){return H&&!t&&H.selector?H.selector(e):W(e)&&!n&&(Xa||!qs())?fs.call((t||Za).querySelectorAll(e),0):K(e)?ms(e,n):ps(e)?fs.call(e,0):e?[e]:[]},gs=function(e){return e=hs(e)[0]||ro(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return hs(t,n.querySelectorAll?n:n===e?ro(`Invalid scope`)||Za.createElement(`div`):e)}},_s=function(e){return e.sort(function(){return .5-Math.random()})},vs=function(e){if(G(e))return e;var t=Fa(e)?e:{each:e},n=ec(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return W(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,Ea])[1],!S){for(b=-Ea;b<(b=d[S++].getBoundingClientRect().left)&&S<f;);S<f&&S--}for(p=a[f]=[],m=s?Math.min(S,f)*l-.5:r%S,h=S===Ea?0:s?f*u/S-.5:r/S|0,b=0,x=Ea,y=0;y<f;y++)g=y%S-m,_=h-(y/S|0),p[y]=v=c?Math.abs(c===`y`?_:g):Aa(g*g+_*_),v>b&&(b=v),v<x&&(x=v);r===`random`&&_s(p),p.max=b-x,p.min=x,p.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(S>f?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=us(t.amount||t.each)||0,n=n&&f<0?$s(n):n}return f=(p[e]-p.min)/p.max||0,Y(p.b+(n?n(f):f)*p.v)+p.u}},ys=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=Y(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(Na(n)?0:us(n))}},bs=function(e,t){var n=K(e),r,i;return!n&&Fa(e)&&(r=n=e.radius||Ea,e.values?(e=hs(e.values),(i=!Na(e[0]))&&(r*=r)):e=ys(e.increment)),cs(t,n?G(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=Ea,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),l<o&&(o=l,s=c);return s=!r||o<=r?e[s]:t,i||s===t||Na(t)?s:s+us(t)}:ys(e))},xs=function(e,t,n,r){return cs(K(e)?!t:n===!0?!!(n=0):!r,function(){return K(e)?e[~~(Math.random()*e.length)]:(n||=1e-5)&&(r=n<1?10**((n+``).length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},Ss=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}},Cs=function(e,t){return function(n){return e(parseFloat(n))+(t||us(n))}},ws=function(e,t,n){return ks(e,t,0,1,n)},Ts=function(e,t,n){return cs(n,function(n){return e[~~t(n)]})},Es=function e(t,n,r){var i=n-t;return K(t)?Ts(t,e(0,t.length),n):cs(r,function(e){return(i+(e-t)%i)%i+t})},Ds=function e(t,n,r){var i=n-t,a=i*2;return K(t)?Ts(t,e(0,t.length-1),n):cs(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},Os=function(e){return e.replace(Ba,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(Va);return xs(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},ks=function(e,t,n,r,i){var a=t-e,o=r-n;return cs(i,function(t){return n+((t-e)/a*o||0)})},As=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=W(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(K(t)&&!K(n)){for(u=[],d=t.length,f=d-2,l=1;l<d;l++)u.push(e(t[l-1],t[l]));d--,a=function(e){e*=d;var t=Math.min(f,~~e);return u[t](e-t)},r=n}else i||(t=Mo(K(t)?[]:{},t));if(!u){for(c in n)lc.call(s,t,c,`get`,n[c]);a=function(e){return kc(e,s)||(o?t.p:t)}}}return cs(r,a)},js=function(e,t,n){var r=e.labels,i=Ea,a,o,s;for(a in r)o=r[a]-t,o<0==!!n&&o&&i>(o=Math.abs(o))&&(s=a,i=o);return s},Ms=function(e,t,n){var r=e.vars,i=r[t],a=H,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&uo.length&&To(),o&&(H=o),l=s?i.apply(c,s):i.call(c),H=a,l},Ns=function(e){return zo(e),e.scrollTrigger&&e.scrollTrigger.kill(!!V),e.progress()<1&&Ms(e,`onInterrupt`),e},Ps,Fs=[],Is=function(e){if(e)if(e=!e.name&&e.default||e,La()||e.headless){var t=e.name,n=G(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:ao,render:kc,add:lc,kill:jc,modifier:Ac,rawVars:0},a={targetTest:0,get:0,getSetter:Tc,aliases:{},register:0};if(qs(),e!==r){if(mo[t])return;Ao(r,Ao(Po(e,i),a)),Mo(r.prototype,Mo(i,Po(e,a))),mo[r.prop=t]=r,e.targetTest&&(_o.push(r),lo[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}io(t,r),e.register&&e.register(Jc,r,Pc)}else Fs.push(e)},X=255,Ls={aqua:[0,X,X],lime:[0,X,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,X],navy:[0,0,128],white:[X,X,X],olive:[128,128,0],yellow:[X,X,0],orange:[X,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[X,0,0],pink:[X,192,203],cyan:[0,X,X],transparent:[X,X,X,0]},Rs=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*X+.5|0},zs=function(e,t,n){var r=e?Na(e)?[e>>16,e>>8&X,e&X]:0:Ls.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),Ls[e])r=Ls[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&X,r&X,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&X,e&X]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(Ha),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=Rs(s+1/3,i,a),r[1]=Rs(s,i,a),r[2]=Rs(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(Ua),n&&r.length<4&&(r[3]=1),r}else r=e.match(Ha)||Ls.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/X,a=r[1]/X,o=r[2]/X,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(a<o?6:0):u===a?(o-i)/f+2:(i-a)/f+4,s*=60),r[0]=~~(s+.5),r[1]=~~(c*100+.5),r[2]=~~(l*100+.5)),n&&r.length<4&&(r[3]=1),r},Bs=function(e){var t=[],n=[],r=-1;return e.split(Hs).forEach(function(e){var i=e.match(Wa)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},Vs=function(e,t,n){var r=``,i=(e+r).match(Hs),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=zs(e,t,1))&&a+(t?e[0]+`,`+e[1]+`%,`+e[2]+`%,`+e[3]:e.join(`,`))+`)`}),n&&(l=Bs(e),s=n.c,s.join(r)!==l.c.join(r)))for(c=e.replace(Hs,`1`).split(Wa),u=c.length-1;o<u;o++)r+=c[o]+(~s.indexOf(o)?i.shift()||a+`0,0,0,0)`:(l.length?l:i.length?i:n).shift());if(!c)for(c=e.split(Hs),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},Hs=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in Ls)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),Us=/hsl[a]?\(/,Ws=function(e){var t=e.join(` `),n;if(Hs.lastIndex=0,Hs.test(t))return n=Us.test(t),e[1]=Vs(e[1],n),e[0]=Vs(e[0],n,Bs(e[1])),!0},Gs,Ks=function(){var e=Date.now,t=500,n=33,r=e(),i=r,a=1e3/240,o=a,s=[],c,l,u,d,f,p,m=function u(m){var h=e()-i,g=m===!0,_,v,y,b;if((h>t||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p<s.length;p++)s[p](y,f,b,m)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(e){return f/(1e3/(e||60))},wake:function(){eo&&(!Xa&&La()&&(Ya=Xa=window,Za=Ya.document||{},Qa.gsap=Jc,(Ya.gsapVersions||=[]).push(Jc.version),to($a||Ya.GreenSockGlobals||!Ya.gsap&&Ya||{}),Fs.forEach(Is)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},Gs=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),Gs=0,l=ao},lagSmoothing:function(e,r){t=e||1/0,n=Math.min(r||33,t)},fps:function(e){a=1e3/(e||240),o=d.time*1e3+a},add:function(e,t,n){var r=t?function(t,n,i,a){e(t,n,i,a),d.remove(r)}:e;return d.remove(e),s[n?`unshift`:`push`](r),qs(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),qs=function(){return!Gs&&Ks.wake()},Z={},Js=/^[\d.\-M][\d.\-,\s]/,Ys=/["']/g,Xs=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i<a;i++)s=n[i],o=i===a-1?s.length:s.lastIndexOf(`,`),c=s.substr(0,o),t[r]=isNaN(c)?c.replace(Ys,``).trim():+c,r=s.substr(o+1).trim();return t},Zs=function(e){var t=e.indexOf(`(`)+1,n=e.indexOf(`)`),r=e.indexOf(`(`,t);return e.substring(t,~r&&r<n?e.indexOf(`)`,n+1):n)},Qs=function(e){var t=(e+``).split(`(`),n=Z[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[Xs(t[1])]:Zs(e).split(`,`).map(Oo)):Z._CE&&Js.test(e)?Z._CE(``,e):n},$s=function(e){return function(t){return 1-e(1-t)}},ec=function(e,t){return e&&(G(e)?e:Z[e]||Qs(e))||t},tc=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return So(e,function(e){for(var t in Z[e]=Qa[e]=i,Z[a=e.toLowerCase()]=n,i)Z[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=Z[e+`.`+t]=i[t]}),i},nc=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},rc=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/Da*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*Ma((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:nc(s);return a=Da/a,c.config=function(n,r){return e(t,n,r)},c},ic=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:nc(r);return i.config=function(n){return e(t,n)},i};So(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;tc(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),Z.Linear.easeNone=Z.none=Z.Linear.easeIn,tc(`Elastic`,rc(`in`),rc(`out`),rc()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a<n?e*a*a:a<r?e*(a-1.5/t)**2+.75:a<i?e*(a-=2.25/t)*a+.9375:e*(a-2.625/t)**2+.984375};tc(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),tc(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),tc(`Circ`,function(e){return-(Aa(1-e*e)-1)}),tc(`Sine`,function(e){return e===1?1:-ja(e*Oa)+1}),tc(`Back`,ic(`in`),ic(`out`),ic()),Z.SteppedEase=Z.steps=Qa.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+ +!t,i=+!!t,a=1-U;return function(e){return((r*ls(0,a,e)|0)+i)*n}}},wa.ease=Z[`quad.out`],So(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return vo+=e+`,`+e+`Params,`});var ac=function(e,t){this.id=ka++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:xo,this.set=t?t.getSetter:Tc},oc=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,rs(this,+e.duration,1,1),this.data=e.data,H&&(this._ctx=H,H.data.push(this)),Gs||Ks.wake()}var t=e.prototype;return t.delay=function(e){return e||e===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,rs(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(qs(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Jo(this,e),!n._dp||n.parent||Yo(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&Xo(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===U||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),Do(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Wo(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+Wo(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?Go(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-U?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?Ko(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-U?0:this._rts,this.totalTime(ls(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),qo(this),Vo(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(qs(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==U&&(this._tTime-=U)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=Y(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Xo(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(Ia(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ko(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=co);var t=V;return V=e,Eo(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),V=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,is(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,is(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(os(this,e),Ia(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,Ia(t)),this._dur||(this._zTime=-U),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-U:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-U,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n<this.endTime(!0)-U)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=G(e)?e:ko,a=function(){var e=t.then;t.then=null,n&&n(),G(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){Ns(this)},e}();Ao(oc.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-U,_prom:0,_ps:!1,_rts:1});var sc=function(e){Sa(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=Ia(t.sortChildren),q&&Xo(t.parent||q,xa(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Zo(xa(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return ss(0,arguments,this),this},n.from=function(e,t,n){return ss(1,arguments,this),this},n.fromTo=function(e,t,n,r){return ss(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,Fo(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Q(e,t,os(this,n),1),this},n.call=function(e,t,n){return Xo(this,Q.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new Q(e,n,os(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,Fo(n).immediateRender=Ia(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,Fo(r).immediateRender=Ia(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:Y(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==q&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=Y(o%f),o===i?(d=this._repeat,c=a):(_=Y(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=Go(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:Y(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&Ms(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=ns(this,Y(r),Y(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(Ms(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-U);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||V&&Eo(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-U:U);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-U)._zTime=c>=r?1:-1,this._ts))return this._start=g,qo(this),this.render(e,t,n);this._onUpdate&&!t&&Ms(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&zo(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(Ms(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o<i&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(Na(t)||(t=os(this,t,e)),!(e instanceof oc)){if(K(e))return e.forEach(function(e){return n.add(e,t)}),this;if(W(e))return this.addLabel(e,t);if(G(e))e=Q.delayedCall(0,e);else return this}return this===e?this:Xo(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-Ea);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof Q?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return W(e)?this.removeLabel(e):G(e)?this.killTweensOf(e):(e.parent===this&&Ro(this,e),e===this._recent&&(this._recent=this._last),Bo(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Y(Ks.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=os(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=Q.delayedCall(0,t||ao,n);return r.data=`isPause`,this._hasPause=1,Xo(this,r,os(this,e))},n.removePause=function(e){var t=this._first;for(e=os(this,e);t;)t._start===e&&t.data===`isPause`&&zo(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)fc!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=hs(e),i=this._first,a=Na(t),o;i;)i instanceof Q?wo(i._targets,r)&&(a?(!fc||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=os(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=Q.to(n,Ao({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||U,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&rs(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Ao({startAt:{time:os(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),js(this,os(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),js(this,os(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+U)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=Y(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return Bo(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Bo(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=Ea,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,Xo(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=Y(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;rs(n,n===q&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(q._ts&&(Do(q,Ko(e,q)),po=Ks.frame),Ks.frame>=go){go+=Ca.autoSleep||120;var t=q._first;if((!t||!t._ts)&&Ca.autoSleep&&Ks._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Ks.sleep()}}},t}(oc);Ao(sc.prototype,{_lock:0,_hasPause:0,_forcing:0});var cc=function(e,t,n,r,i,a,o){var s=new Pc(this._pt,e,t,0,1,Oc,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=Os(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(Ga)||[];u=Ga.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?Co(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=Ga.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(Ka.test(r)||g)&&(s.e=0),this._pt=s,s},lc=function(e,t,n,r,i,a,o,s,c,l){G(r)&&(r=r(i||0,e,a));var u=e[t],d=n===`get`?G(u)?c?e[t.indexOf(`set`)||!G(e[`get`+t.substr(3)])?t:`get`+t.substr(3)](c):e[t]():u:n,f=G(u)?c?Cc:Sc:xc,p;if(W(r)&&(~r.indexOf(`random(`)&&(r=Os(r)),r.charAt(1)===`=`&&(p=Co(d,r)+(us(d)||0),(p||p===0)&&(r=p))),!l||d!==r||pc)return!isNaN(d*r)&&r!==``?(p=new Pc(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?Dc:Ec,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&no(t,r),cc.call(this,e,t,d,r,f,s||Ca.stringFilter,c))},uc=function(e,t,n,r,i){if(G(e)&&(e=vc(e,i,t,n,r)),!Fa(e)||e.style&&e.nodeType||K(e)||za(e))return W(e)?vc(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=vc(e[o],i,t,n,r);return a},dc=function(e,t,n,r,i,a){var o,s,c,l;if(mo[e]&&(o=new mo[e]).init(i,o.rawVars?t[e]:uc(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new Pc(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==Ps))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},fc,pc,mc=function e(t,n,r){var i=t.vars,a=i.ease,o=i.startAt,s=i.immediateRender,c=i.lazy,l=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,f=i.keyframes,p=i.autoRevert,m=t._dur,h=t._startAt,g=t._targets,_=t.parent,v=_&&_.data===`nested`?_.vars.targets:g,y=t._overwrite===`auto`&&!Ta,b=t.timeline,x=i.easeReverse||d,S,C,w,T,E,D,O,k,A,j,M,N,ee;if(b&&(!f||!a)&&(a=`none`),t._ease=ec(a,wa.ease),t._rEase=x&&(ec(x)||t._ease),t._from=!b&&!!i.runBackwards,t._from&&(t.ratio=1),!b||f&&!i.stagger){if(k=g[0]?bo(g[0]).harness:0,N=k&&i[k.prop],S=Po(i,lo),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?so:oo),h._lazy=0),o){if(zo(t._startAt=Q.set(g,Ao({data:`isStart`,overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&Ia(c),startAt:null,delay:0,onUpdate:l&&function(){return Ms(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(V||!s&&!p)&&t._startAt.revert(so),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),w=Ao({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&Ia(c),immediateRender:s,stagger:0,parent:_},S),N&&(w[k.prop]=N),zo(t._startAt=Q.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(V?t._startAt.revert(so):t._startAt.render(-1,!0)),t._zTime=n,!s)e(t._startAt,U,U);else if(!n)return}for(t._pt=t._ptCache=0,c=m&&Ia(c)||c&&!m,C=0;C<g.length;C++){if(E=g[C],O=E._gsap||yo(g)[C]._gsap,t._ptLookup[C]=j={},fo[O.id]&&uo.length&&To(),M=v===g?C:v.indexOf(E),k&&(A=new k).init(E,N||S,t,M,v)!==!1&&(t._pt=T=new Pc(t._pt,E,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(e){j[e]=T}),A.priority&&(D=1)),!k||N)for(w in S)mo[w]&&(A=dc(w,S,t,M,E,v))?A.priority&&(D=1):j[w]=T=lc.call(t,E,w,`get`,S[w],M,v,0,i.stringFilter);t._op&&t._op[C]&&t.kill(E,t._op[C]),y&&t._pt&&(fc=t,q.killTweensOf(E,j,t.globalTime(n)),ee=!t.parent,fc=0),t._pt&&c&&(fo[O.id]=1)}D&&Nc(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!ee,f&&n<=0&&b.render(Ea,!0,!0)},hc=function(e,t,n,r,i,a,o,s){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,u,d,f;if(!c)for(c=e._ptCache[t]=[],d=e._ptLookup,f=e._targets.length;f--;){if(l=d[f][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return pc=1,e.vars[t]=`+=0`,mc(e,o),pc=0,s?ro(t+` not eligible for reset. Try splitting into individual properties`):1;c.push(l)}for(f=c.length;f--;)u=c[f],l=u._pt||u,l.s=(r||r===0)&&!i?r:l.s+(r||0)+a*l.c,l.c=n-l.s,u.e&&=J(n)+us(u.e),u.b&&=l.s+us(u.b)},gc=function(e,t){var n=e[0]?bo(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=Mo({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},_c=function(e,t,n,r){var i=t.ease||r||`power1.inOut`,a,o;if(K(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:i})});else for(a in t)o=n[a]||(n[a]=[]),a===`ease`||o.push({t:parseFloat(e),v:t[a],e:i})},vc=function(e,t,n,r,i){return G(e)?e.call(t,n,r,i):W(e)&&~e.indexOf(`random(`)?Os(e):e},yc=vo+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,bc={};So(yc+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return bc[e]=1});var Q=function(e){Sa(t,e);function t(t,n,r,i){var a;typeof n==`number`&&(r.duration=n,n=r,r=null),a=e.call(this,i?n:Fo(n))||this;var o=a.vars,s=o.duration,c=o.delay,l=o.immediateRender,u=o.stagger,d=o.overwrite,f=o.keyframes,p=o.defaults,m=o.scrollTrigger,h=n.parent||q,g=(K(t)||za(t)?Na(t[0]):`length`in n)?[t]:hs(t),_,v,y,b,x,S,C,w;if(a._targets=g.length?yo(g):ro(`GSAP target `+t+` not found. https://gsap.com`,!Ca.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||Ra(s)||Ra(c)){n=a.vars;var T=n.easeReverse||n.yoyoEase;if(_=a.timeline=new sc({data:`nested`,defaults:p||{},targets:h&&h.data===`nested`?h.vars.targets:g}),_.kill(),_.parent=_._dp=xa(a),_._start=0,u||Ra(s)||Ra(c)){if(b=g.length,C=u&&vs(u),Fa(u))for(x in u)~yc.indexOf(x)&&(w||={},w[x]=u[x]);for(v=0;v<b;v++)y=Po(n,bc),y.stagger=0,T&&(y.easeReverse=T),w&&Mo(y,w),S=g[v],y.duration=+vc(s,xa(a),v,S,g),y.delay=(+vc(c,xa(a),v,S,g)||0)-a._delay,!u&&b===1&&y.delay&&(a._delay=c=y.delay,a._start+=c,y.delay=0),_.to(S,y,C?C(v,S,g):0),_._ease=Z.none;_.duration()?s=c=0:a.timeline=0}else if(f){Fo(Ao(_.vars.defaults,{ease:`none`})),_._ease=ec(f.ease||n.ease||`none`);var E=0,D,O,k;if(K(f))f.forEach(function(e){return _.to(g,e,`>`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||_c(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;v<D.length;v++)O=D[v],k={ease:O.e,duration:(O.t-(v?D[v-1].t:0))/100*s},k[x]=O.v,_.to(g,k,E),E+=k.duration;_.duration()<s&&_.to({},{duration:s-_.duration()})}}s||a.duration(s=_.duration())}else a.timeline=0;return d===!0&&!Ta&&(fc=xa(a),q.killTweensOf(g),fc=0),Xo(h,xa(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===Y(h._time)&&Ia(l)&&Uo(xa(a))&&h.data!==`nested`)&&(a._tTime=-U,a.render(Math.max(0,-c)||0)),m&&Zo(xa(a),m),a}var n=t.prototype;return n.render=function(e,t,n){var r=this._time,i=this._tDur,a=this._dur,o=e<0,s=e>i-U&&!o?i:e<U?0:e,c,l,u,d,f,p,m,h;if(!a)ts(this,e,t,n);else if(s!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==o||this._lazy){if(c=s,h=this.timeline,this._repeat){if(d=a+this._rDelay,this._repeat<-1&&o)return this.totalTime(d*100+e,t,n);if(c=Y(s%d),s===i?(u=this._repeat,c=a):(f=Y(s/d),u=~~f,u&&u===f?(c=a,u--):c>a&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=Go(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(Y(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(Qo(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c<r;if(g!==this._inv){var _=g?r:a-r;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=r,this._invRecip=_?(g?-1:1)/_:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((c-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(c/a);if(this._from&&(this.ratio=m=1-m),this._tTime=s,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),!r&&s&&!t&&!f&&(Ms(this,`onStart`),this._tTime!==s))return this;for(l=this._pt;l;)l.r(m,l.d),l=l._next;h&&h.render(e<0?e:h._dur*h._ease(c/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(o&&Ho(this,e,t,n),Ms(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&Ms(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&Ho(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&zo(this,1),!t&&!(o&&!r)&&(s||r||p)&&(Ms(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s<i&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){Gs||Ks.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||mc(this,a),o=this._ease(a/this._dur),hc(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(Jo(this,0),this.parent||Lo(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?Ns(this):this.scrollTrigger&&this.scrollTrigger.kill(!!V),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,fc&&fc.vars.overwrite!==!0)._first||Ns(this),this.parent&&n!==this.timeline.totalDuration()&&rs(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?hs(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&Io(r,i))return t===`all`&&(this._pt=0),Ns(this);for(s=this._op=this._op||[],t!==`all`&&(W(t)&&(d={},So(t,function(e){return d[e]=1}),t=d),t=gc(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&Ro(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&Ns(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return ss(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return ss(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return q.killTweensOf(e,t,n)},t}(oc);Ao(Q.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),So(`staggerTo,staggerFrom,staggerFromTo`,function(e){Q[e]=function(){var t=new sc,n=fs.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var xc=function(e,t,n){return e[t]=n},Sc=function(e,t,n){return e[t](n)},Cc=function(e,t,n,r){return e[t](r.fp,n)},wc=function(e,t,n){return e.setAttribute(t,n)},Tc=function(e,t){return G(e[t])?Sc:Pa(e[t])&&e.setAttribute?wc:xc},Ec=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Dc=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Oc=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},kc=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},Ac=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},jc=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?Ro(this,t,`_pt`):t.dep||(n=1),t=r;return!n},Mc=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},Nc=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},Pc=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||Ec,this.d=o||this,this.set=s||xc,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Mc,this.m=e,this.mt=n,this.tween=t},e}();So(vo+`parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse`,function(e){return lo[e]=1}),Qa.TweenMax=Qa.TweenLite=Q,Qa.TimelineLite=Qa.TimelineMax=sc,q=new sc({sortChildren:!1,defaults:wa,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),Ca.stringFilter=Ws;var Fc=[],Ic={},Lc=[],Rc=0,zc=0,Bc=function(e){return(Ic[e]||Lc).map(function(e){return e()})},Vc=function(){var e=Date.now(),t=[];e-Rc>2&&(Bc(`matchMediaInit`),Fc.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=Ya.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),Bc(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Rc=e,Bc(`matchMedia`))},Hc=function(){function e(e,t){this.selector=t&&gs(t),this.data=[],this._r=[],this.isReverted=!1,this.id=zc++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){G(e)&&(n=t,t=e,e=G);var r=this,i=function(){var e=H,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=gs(n)),H=r,a=t.apply(r,arguments),G(a)&&r._r.push(a),H=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===G?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=H;H=null,e(this),H=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof Q&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEach(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof sc?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof Q)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=Fc.length;r--;)Fc[r].id===this.id&&Fc.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),Uc=function(){function e(e){this.contexts=[],this.scope=e,H&&H.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){Fa(e)||(e={matches:e});var r=new Hc(0,n||this.scope),i=r.conditions={},a,o,s;for(o in H&&!r.selector&&(r.selector=H.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=Ya.matchMedia(e[o]),a&&(Fc.indexOf(r)<0&&Fc.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(Vc):a.addEventListener(`change`,Vc)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),Wc={registerPlugin:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return Is(e)})},timeline:function(e){return new sc(e)},getTweensOf:function(e,t){return q.getTweensOf(e,t)},getProperty:function(e,t,n,r){W(e)&&(e=hs(e)[0]);var i=bo(e||{}).get,a=n?ko:Oo;return n===`native`&&(n=``),e&&(t?a((mo[t]&&mo[t].get||i)(e,t,n,r)):function(t,n,r){return a((mo[t]&&mo[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=hs(e),e.length>1){var r=e.map(function(e){return Jc.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=mo[t],o=bo(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;Ps._pt=0,r.init(e,n?t+n:t,Ps,0,[e]),r.render(1,r),Ps._pt&&kc(1,Ps)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=Jc.to(e,Ao((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return q.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ec(e.ease,wa.ease)),No(wa,e||{})},config:function(e){return No(Ca,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!mo[e]&&!Qa[e]&&ro(t+` effect requires `+e+` plugin.`)}),ho[t]=function(e,t,r){return n(hs(e),Ao(t||{},i),r)},a&&(sc.prototype[t]=function(e,n,r){return this.add(ho[t](e,Fa(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Z[e]=ec(t)},parseEase:function(e,t){return arguments.length?ec(e,t):Z},getById:function(e){return q.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new sc(e),r,i;for(n.smoothChildTiming=Ia(e.smoothChildTiming),q.remove(n),n._dp=0,n._time=n._tTime=q._time,r=q._first;r;)i=r._next,(t||!(!r._dur&&r instanceof Q&&r.vars.onComplete===r._targets[0]))&&Xo(n,r,r._start-r._delay),r=i;return Xo(q,n,0),n},context:function(e,t){return e?new Hc(e,t):H},matchMedia:function(e){return new Uc(e)},matchMediaRefresh:function(){return Fc.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||Vc()},addEventListener:function(e,t){var n=Ic[e]||(Ic[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Ic[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:Es,wrapYoyo:Ds,distribute:vs,random:xs,snap:bs,normalize:ws,getUnit:us,clamp:ds,splitColor:zs,toArray:hs,selector:gs,mapRange:ks,pipe:Ss,unitize:Cs,interpolate:As,shuffle:_s},install:to,effects:ho,ticker:Ks,updateRoot:sc.updateRoot,plugins:mo,globalTimeline:q,core:{PropTween:Pc,globals:io,Tween:Q,Timeline:sc,Animation:oc,getCache:bo,_removeLinkedListItem:Ro,reverting:function(){return V},context:function(e){return e&&H&&(H.data.push(e),e._ctx=H),H},suppressOverwrites:function(e){return Ta=e}}};So(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return Wc[e]=Q[e]}),Ks.add(sc.updateRoot),Ps=Wc.to({},{duration:0});var Gc=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Kc=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=Gc(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},qc=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(W(n)&&(r={},So(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}Kc(e,n)}}}},Jc=Wc.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)V?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},qc(`roundProps`,ys),qc(`modifiers`),qc(`snap`,bs))||Wc;Q.version=sc.version=Jc.version=`3.15.0`,eo=1,La()&&qs(),Z.Power0,Z.Power1,Z.Power2,Z.Power3,Z.Power4,Z.Linear,Z.Quad,Z.Cubic,Z.Quart,Z.Quint,Z.Strong,Z.Elastic,Z.Back,Z.SteppedEase,Z.Bounce,Z.Sine,Z.Expo,Z.Circ;var Yc,Xc,Zc,Qc,$c,el,tl,nl=function(){return typeof window<`u`},rl={},il=180/Math.PI,al=Math.PI/180,ol=Math.atan2,sl=1e8,cl=/([A-Z])/g,ll=/(left|right|width|margin|padding|x)/i,ul=/[\s,\(]\S/,dl={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},fl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},pl=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ml=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},hl=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},gl=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},_l=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},vl=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},yl=function(e,t,n){return e.style[t]=n},bl=function(e,t,n){return e.style.setProperty(t,n)},xl=function(e,t,n){return e._gsap[t]=n},Sl=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Cl=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},wl=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},$=`transform`,Tl=$+`Origin`,El=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in rl&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=dl[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=Gl(i,e)}):this.tfm[t]=o.x?o[t]:Gl(i,t),t===Tl&&(this.tfm.zOrigin=o.zOrigin);else return dl.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf($)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(Tl,n,``)),t=$}(a||n)&&this.props.push(t,n,a[t])},Dl=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},Ol=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)===`--`?e[i]:e[i].replace(cl,`-$1`).toLowerCase());if(this.tfm){for(a in this.tfm)r[a]=this.tfm[a];r.svg&&(r.renderTransform(),t.setAttribute(`data-svg-origin`,this.svgo||``)),i=tl(),(!i||!i.isStart)&&!n[$]&&(Dl(n),r.zOrigin&&n[Tl]&&(n[Tl]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},kl=function(e,t){var n={target:e,props:[],revert:Ol,save:El};return e._gsap||Jc.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},Al,jl=function(e,t){var n=Xc.createElementNS?Xc.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):Xc.createElement(e);return n&&n.style?n:Xc.createElement(e)},Ml=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(cl,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,Pl(n)||n,1)||``},Nl=`O,Moz,ms,Ms,Webkit`.split(`,`),Pl=function(e,t,n){var r=(t||$c).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(Nl[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?Nl[i]:``)+e},Fl=function(){nl()&&window.document&&(Yc=window,Xc=Yc.document,Zc=Xc.documentElement,$c=jl(`div`)||{style:{}},jl(`div`),$=Pl($),Tl=$+`Origin`,$c.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,Al=!!Pl(`perspective`),tl=Jc.core.reverting,Qc=1)},Il=function(e){var t=e.ownerSVGElement,n=jl(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),Zc.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),Zc.removeChild(n),i},Ll=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Rl=function(e){var t,n;try{t=e.getBBox()}catch{t=Il(e),n=1}return t&&(t.width||t.height)||n||(t=Il(e)),t&&!t.width&&!t.x&&!t.y?{x:+Ll(e,[`x`,`cx`,`x1`])||0,y:+Ll(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},zl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Rl(e))},Bl=function(e,t){if(t){var n=e.style,r;t in rl&&t!==Tl&&(t=$),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(cl,`-$1`).toLowerCase())):n.removeAttribute(t)}},Vl=function(e,t,n,r,i,a){var o=new Pc(e._pt,t,n,0,1,a?vl:_l);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},Hl={deg:1,rad:1,turn:1},Ul={grid:1,flex:1},Wl=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=$c.style,c=ll.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||Hl[i]||Hl[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&zl(t),(p||o===`%`)&&(rl[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],J(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Xc||!h.appendChild)&&(h=Xc.body),g=h._gsap,g&&p&&g.width&&c&&g.time===Ks.time&&!g.uncache)return J(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:Bl(t,n)}else (p||o===`%`)&&!Ul[Ml(h,`display`)]&&(s.position=Ml(t,`position`)),h===t&&(s.position=`static`),h.appendChild($c),m=$c[u],h.removeChild($c),s.position=`absolute`;return c&&p&&(g=bo(h),g.time=Ks.time,g.width=h[u]),J(f?m*a/d:m&&a?d/m*a:0)},Gl=function(e,t,n,r){var i;return Qc||Fl(),t in dl&&t!==`transform`&&(t=dl[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),rl[t]&&t!==`transform`?(i=ru(e,r),i=t===`transformOrigin`?i.svg?i.origin:iu(Ml(e,Tl))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=Xl[t]&&Xl[t](e,t,n)||Ml(e,t)||xo(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?Wl(e,t,i,n)+n:i},Kl=function(e,t,n,r){if(!n||n===`none`){var i=Pl(t,e,1),a=i&&Ml(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=Ml(e,`borderTopColor`))}var o=new Pc(this._pt,e.style,t,0,1,Oc),s=0,c=0,l,u,d,f,p,m,h,g,_,v,y,b;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=Ml(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=Ml(e,t)||r,m?e.style[t]=m:Bl(e,t)),l=[n,r],Ws(l),n=l[0],r=l[1],d=n.match(Wa)||[],b=r.match(Wa)||[],b.length){for(;u=Wa.exec(r);)h=u[0],_=r.substring(s,u.index),p?p=(p+1)%5:(_.substr(-5)===`rgba(`||_.substr(-5)===`hsla(`)&&(p=1),h!==(m=d[c++]||``)&&(f=parseFloat(m)||0,y=m.substr((f+``).length),h.charAt(1)===`=`&&(h=Co(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=Wa.lastIndex-v.length,v||(v=v||Ca.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=Wl(e,t,m,v)||0),o._pt={_next:o._pt,p:_||c===1?_:`,`,s:f,c:g-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s<r.length?r.substring(s,r.length):``}else o.r=t===`display`&&r===`none`?vl:_l;return Ka.test(r)&&(o.e=0),this._pt=o,o},ql={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},Jl=function(e){var t=e.split(` `),n=t[0],r=t[1]||`50%`;return(n===`top`||n===`bottom`||r===`left`||r===`right`)&&(e=n,n=r,r=e),t[0]=ql[n]||n,t[1]=ql[r]||r,t.join(` `)},Yl=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,i=t.u,a=n._gsap,o,s,c;if(i===`all`||i===!0)r.cssText=``,s=1;else for(i=i.split(`,`),c=i.length;--c>-1;)o=i[c],rl[o]&&(s=1,o=o===`transformOrigin`?Tl:$),Bl(n,o);s&&(Bl(n,$),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,ru(n,1),a.uncache=1,Dl(r)))}},Xl={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new Pc(e._pt,t,n,0,0,Yl);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},Zl=[1,0,0,1,0,0],Ql={},$l=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},eu=function(e){var t=Ml(e,$);return $l(t)?Zl:t.substr(7).match(Ua).map(J)},tu=function(e,t){var n=e._gsap||bo(e),r=e.style,i=eu(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?Zl:i):(i===Zl&&!e.offsetParent&&e!==Zc&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,Zc.appendChild(e)),i=eu(e),s?r.display=s:Bl(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):Zc.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},nu=function(e,t,n,r,i,a){var o=e._gsap,s=i||tu(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==Zl&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=Rl(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[Tl]=`0px 0px`,a&&(Vl(a,o,`xOrigin`,c,y),Vl(a,o,`yOrigin`,l,b),Vl(a,o,`xOffset`,u,o.xOffset),Vl(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},ru=function(e,t){var n=e._gsap||new ac(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=Ml(e,Tl)||`0`,l=u=d=m=h=g=_=v=y=0,u,d,f=p=1,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,ee,te,P,ne,re,ie,ae;return n.svg=!!(e.getCTM&&zl(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[$]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[$]===`none`?``:s[$])),r.scale=r.rotate=r.translate=`none`),S=tu(e,n.svg),n.svg&&(n.uncache?(N=e.getBBox(),c=n.xOrigin-N.x+`px `+(n.yOrigin-N.y)+`px`,M=``):M=!t&&e.getAttribute(`data-svg-origin`),nu(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==Zl&&(E=S[0],D=S[1],O=S[2],k=S[3],l=A=S[4],u=j=S[5],S.length===6?(f=Math.sqrt(E*E+D*D),p=Math.sqrt(k*k+O*O),m=E||D?ol(D,E)*il:0,_=O||k?ol(O,k)*il+m:0,_&&(p*=Math.abs(Math.cos(_*al))),n.svg&&(l-=b-(b*E+x*O),u-=x-(b*D+x*k))):(ae=S[6],re=S[7],te=S[8],P=S[9],ne=S[10],ie=S[11],l=S[12],u=S[13],d=S[14],C=ol(ae,ne),h=C*il,C&&(w=Math.cos(-C),T=Math.sin(-C),M=A*w+te*T,N=j*w+P*T,ee=ae*w+ne*T,te=A*-T+te*w,P=j*-T+P*w,ne=ae*-T+ne*w,ie=re*-T+ie*w,A=M,j=N,ae=ee),C=ol(-O,ne),g=C*il,C&&(w=Math.cos(-C),T=Math.sin(-C),M=E*w-te*T,N=D*w-P*T,ee=O*w-ne*T,ie=k*T+ie*w,E=M,D=N,O=ee),C=ol(D,E),m=C*il,C&&(w=Math.cos(C),T=Math.sin(C),M=E*w+D*T,N=A*w+j*T,D=D*w-E*T,j=j*w-A*T,E=M,A=N),h&&Math.abs(h)+Math.abs(m)>359.9&&(h=m=0,g=180-g),f=J(Math.sqrt(E*E+D*D+O*O)),p=J(Math.sqrt(j*j+ae*ae)),C=ol(A,j),_=Math.abs(C)>2e-4?C*il:0,y=ie?1/(ie<0?-ie:ie):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!$l(Ml(e,$)),M&&e.setAttribute(`transform`,M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(f*=-1,_+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,_+=_<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=J(f),n.scaleY=J(p),n.rotation=J(m)+o,n.rotationX=J(h)+o,n.rotationY=J(g)+o,n.skewX=_+o,n.skewY=v+o,n.transformPerspective=y+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[Tl]=iu(c)),n.xOffset=n.yOffset=0,n.force3D=Ca.force3D,n.renderTransform=n.svg?du:Al?uu:ou,n.uncache=0,n},iu=function(e){return(e=e.split(` `))[0]+` `+e[1]},au=function(e,t,n){var r=us(t);return J(parseFloat(t)+parseFloat(Wl(e,`x`,n+`px`,r)))+r},ou=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,uu(e,t)},su=`0deg`,cu=`0px`,lu=`) `,uu=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==su||l!==su)){var x=parseFloat(l)*al,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*al,w=Math.cos(x),a=au(_,a,S*w*-v),o=au(_,o,-Math.sin(x)*-v),s=au(_,s,C*w*-v+v)}h!==cu&&(y+=`perspective(`+h+lu),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==cu||o!==cu||s!==cu)&&(y+=s!==cu||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+lu),c!==su&&(y+=`rotate(`+c+lu),l!==su&&(y+=`rotateY(`+l+lu),u!==su&&(y+=`rotateX(`+u+lu),(d!==su||f!==su)&&(y+=`skew(`+d+`, `+f+lu),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+lu),_.style[$]=y||`translate(0, 0)`},du=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=al,c*=al,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=al,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=J(b),x=J(x),S=J(S),C=J(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=Wl(f,`x`,a,`px`),y=Wl(f,`y`,o,`px`)),(p||m||h||g)&&(v=J(v+p-(p*b+m*S)+h),y=J(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=J(v+r/100*w.width),y=J(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[$]=w)},fu=function(e,t,n,r,i){var a=360,o=W(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?il:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*sl)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*sl)%a-~~(s/a)*a)),e._pt=u=new Pc(e._pt,t,n,r,s,pl),u.e=c,u.u=`deg`,e._props.push(n),u},pu=function(e,t){for(var n in t)e[n]=t[n];return e},mu=function(e,t,n){var r=pu({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[$]=t,o=ru(n,1),Bl(n,$),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[$],a[$]=t,o=ru(n,1),a[$]=c),rl)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=us(c),p=us(l),u=f===p?parseFloat(c):Wl(n,s,c,p),d=parseFloat(l),e._pt=new Pc(e._pt,o,s,u,d-u,fl),e._pt.u=p||0,e._props.push(s));pu(o,r)};So(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});Xl[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return Gl(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var hu={name:`css`,register:Fl,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;for(m in Qc||Fl(),this.styles=this.styles||kl(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(mo[m]&&dc(m,t,n,r,e,i)))){if(f=typeof l,p=Xl[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=Os(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,Hs.lastIndex=0,Hs.test(c)||(h=us(c),g=us(l),g?h!==g&&(c=Wl(e,m,c,g)+g):h&&(l+=h)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),C.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],W(c)&&~c.indexOf(`random(`)&&(c=Os(c)),us(c+``)||c===`auto`||(c+=Ca.units[m]||us(Gl(e,m))||``),(c+``).charAt(1)===`=`&&(c=Gl(e,m))):c=Gl(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in dl&&(m===`autoAlpha`&&(d===1&&Gl(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),Vl(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=dl[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in rl,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=Ml(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=Ml(e,`perspective`),T?e.style.perspective=T:Bl(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||ru(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new Pc(this._pt,o,$,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new Pc(this._pt,b,`scaleY`,b.scaleY,(_?Co(b.scaleY,_+u):u)-b.scaleY||0,fl),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(Tl,0,o[Tl]),l=Jl(l),b.svg?nu(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&Vl(this,b,`zOrigin`,b.zOrigin,g),Vl(this,o,m,iu(c),iu(l)));continue}else if(m===`svgOrigin`){nu(e,l,1,x,0,this);continue}else if(m in Ql){fu(this,b,m,d,_?Co(d,_+l):l);continue}else if(m===`smoothOrigin`){Vl(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){mu(this,l,e);continue}}else m in o||(m=Pl(m)||m);if(v||(u||u===0)&&(d||d===0)&&!ul.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=us(l)||(m in Ca.units?Ca.units[m]:h),h!==g&&(d=Wl(e,m,c,g)),this._pt=new Pc(this._pt,v?b:o,m,d,(_?Co(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?gl:fl),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=hl):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=ml);else if(m in o)Kl.call(this,e,m,c,_?_+l:l);else if(m in e)this.add(e,m,c||e[m],_?_+l:l,r,i);else if(m!==`parseTransform`){no(m,l);continue}v||(m in o?C.push(m,0,o[m]):typeof e[m]==`function`?C.push(m,2,e[m]()):C.push(m,1,c||e[m])),a.push(m)}}S&&Nc(this)},render:function(e,t){if(t.tween._time||!tl())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Gl,aliases:dl,getSetter:function(e,t,n){var r=dl[t];return r&&r.indexOf(`,`)<0&&(t=r),t in rl&&t!==Tl&&(e._gsap.x||Gl(e,`x`))?n&&el===n?t===`scale`?Sl:xl:(el=n||{})&&(t===`scale`?Cl:wl):e.style&&!Pa(e.style[t])?yl:~t.indexOf(`-`)?bl:Tc(e,t)},core:{_removeProperty:Bl,_getMatrix:tu}};Jc.utils.checkPrefix=Pl,Jc.core.getStyleSaver=kl,(function(e,t,n,r){var i=So(e+`,`+t+`,`+n,function(e){rl[e]=1});So(t,function(e){Ca.units[e]=`deg`,Ql[e]=1}),dl[i[13]]=e+`,`+t,So(r,function(e){var t=e.split(`:`);dl[t[1]]=i[t[0]]})})(`x,y,z,scale,scaleX,scaleY,xPercent,yPercent`,`rotation,rotationX,rotationY,skewX,skewY`,`transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective`,`0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY`),So(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){Ca.units[e]=`px`}),Jc.registerPlugin(hu);var gu=Jc.registerPlugin(hu)||Jc;gu.core.Tween;var _u=(e,t)=>{let[n,r]=getComputedStyle(e).getPropertyValue(t).trim().split(`,`).map(e=>parseFloat(e.trim()));return[isNaN(n)?0:n,isNaN(r)?1:r]},vu=({open:e,onOpenChange:t,trigger:n,title:r,description:i,children:a,footer:o,className:s,modalRootSelector:c,duration:f=1})=>{let p=(0,l.useRef)(null),m=(0,l.useRef)(null),h=(0,l.useRef)(null),g=(0,l.useRef)(null),_=(0,l.useRef)(null),v=(0,l.useId)(),y=(0,l.useId)(),[b,x]=(0,l.useState)(null);(0,l.useEffect)(()=>{x((c?document.querySelector(c):null)??document.body)},[c]);let S=(0,l.useCallback)(()=>{let e=p.current,t=m.current;if(!e||!t)return null;let[n,r]=_u(t,`--modal-opacity`),[i,a]=_u(t,`--modal-scale`),[o,s]=_u(t,`--modal-translate-x`),[c,l]=_u(t,`--modal-translate-y`),u=gu.timeline({paused:!0,ease:`power1.out`});return u.fromTo(e,{autoAlpha:0},{autoAlpha:1,duration:f},0),u.fromTo(t,{autoAlpha:n,scale:i,xPercent:o,yPercent:c},{autoAlpha:r,scale:a,xPercent:s,yPercent:l,duration:f},0),u},[f]);return(0,l.useEffect)(()=>{g.current=S()},[S,b]),(0,l.useEffect)(()=>{g.current&&(e?g.current.play():g.current.reverse())},[e,b]),(0,l.useEffect)(()=>{e?(_.current=document.activeElement,h.current?.focus()):(_.current?.focus(),_.current=null)},[e]),(0,l.useEffect)(()=>{if(!e)return;let n=e=>{e.key===`Escape`&&t(!1)};return document.addEventListener(`keydown`,n),()=>document.removeEventListener(`keydown`,n)},[e,t]),(0,u.jsxs)(u.Fragment,{children:[n&&(0,u.jsx)(`span`,{style:{display:`contents`},onClick:()=>t(!0),children:n}),b&&(0,d.createPortal)((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(`div`,{ref:p,className:`vi-modal-overlay`,"aria-hidden":`true`,onClick:()=>t(!1)}),(0,u.jsxs)(`div`,{ref:m,role:`dialog`,"aria-modal":`true`,inert:e?void 0:!0,"aria-labelledby":r?v:void 0,"aria-describedby":i?y:void 0,className:B(s),children:[(0,u.jsxs)(`button`,{ref:h,className:`vi-modal-close`,onClick:()=>t(!1),"aria-label":`Close`,children:[(0,u.jsx)(aa,{className:`h-4 w-4`}),(0,u.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),(r||i)&&(0,u.jsxs)(`div`,{className:`vi-modal-header`,children:[r&&(0,u.jsx)(`h2`,{id:v,className:`vi-modal-title`,children:r}),i&&(0,u.jsx)(`p`,{id:y,className:`vi-modal-description`,children:i})]}),(0,u.jsx)(`div`,{className:`vi-modal-body`,children:a}),o&&(0,u.jsx)(`div`,{className:`vi-modal-footer`,children:o})]})]}),b)]})},yu=({label:e,htmlFor:t,description:n,error:r,required:i,className:a,children:o})=>{let s=(0,l.useId)(),c=t??s;return(0,u.jsxs)(`div`,{className:B(`vi-form-field`,a),children:[e&&(0,u.jsxs)(`label`,{htmlFor:c,className:`vi-form-field-label`,children:[e,i&&(0,u.jsxs)(`span`,{className:`vi-form-field-required`,"aria-hidden":`true`,children:[` `,`*`]})]}),o,!r&&n&&(0,u.jsx)(`p`,{className:`vi-form-field-description`,children:n}),r&&(0,u.jsx)(`p`,{className:`vi-form-field-error`,role:`alert`,children:r})]})};yu.displayName=`FormField`;var bu=(0,l.forwardRef)(({options:e,value:t=[],onChange:n,placeholder:r=`Select...`,label:i,description:a,disabled:o,className:s,maxCount:c=3},d)=>{let[f,p]=(0,l.useState)(!1),[m,h]=(0,l.useState)(0),g=(0,l.useRef)(null),_=(0,l.useId)(),v=`${_}-listbox`,y=e=>{let r=t.includes(e)?t.filter(t=>t!==e):[...t,e];n?.(r)},b=(e,r)=>{r.stopPropagation(),n?.(t.filter(t=>t!==e))};(0,l.useEffect)(()=>{if(!f)return;let e=e=>{g.current?.contains(e.target)||p(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[f]);let x=t=>{if(!o)switch(t.key){case`Enter`:case` `:if(t.preventDefault(),!f){p(!0);return}e[m]?.disabled||y(e[m].value);break;case`ArrowDown`:if(t.preventDefault(),!f){p(!0);return}h(t=>Math.min(t+1,e.length-1));break;case`ArrowUp`:t.preventDefault(),h(e=>Math.max(e-1,0));break;case`Escape`:case`Tab`:p(!1);break}},S=t.slice(0,c),C=t.length-c;return(0,u.jsxs)(`div`,{className:`vi-multi-select-root`,ref:g,children:[i&&(0,u.jsx)(`label`,{htmlFor:_,className:`vi-multi-select-label`,children:i}),(0,u.jsxs)(`div`,{className:`vi-multi-select-wrapper`,children:[(0,u.jsxs)(_t,{ref:d,id:_,type:`button`,role:`combobox`,"aria-expanded":f,"aria-haspopup":`listbox`,"aria-controls":f?v:void 0,"aria-multiselectable":`true`,disabled:o,variant:`ghost`,className:B(`vi-multi-select-trigger`,s),onClick:()=>p(e=>!e),onKeyDown:x,children:[(0,u.jsx)(`span`,{className:`vi-multi-select-chips`,children:t.length===0?(0,u.jsx)(`span`,{className:`vi-multi-select-placeholder`,children:r}):(0,u.jsxs)(u.Fragment,{children:[S.map(t=>{let n=e.find(e=>e.value===t)?.label??t;return(0,u.jsxs)(`span`,{className:`vi-multi-select-chip`,children:[n,(0,u.jsx)(_t,{type:`button`,variant:`ghost`,"aria-label":`Remove ${n}`,className:`vi-multi-select-chip-remove h-auto w-auto p-0`,onClick:e=>b(t,e),children:(0,u.jsx)(aa,{className:`h-3 w-3`})})]},t)}),C>0&&(0,u.jsxs)(`span`,{className:`vi-multi-select-overflow`,children:[`+`,C]})]})}),(0,u.jsx)(ta,{className:B(`vi-multi-select-icon`,f&&`vi-multi-select-icon-open`)})]}),f&&(0,u.jsx)(`ul`,{id:v,role:`listbox`,"aria-multiselectable":`true`,"aria-label":i,className:`vi-multi-select-dropdown`,children:e.map((e,n)=>{let r=t.includes(e.value);return(0,u.jsxs)(`li`,{role:`option`,"aria-selected":r,"aria-disabled":e.disabled,className:B(`vi-multi-select-option`,r&&`vi-multi-select-option-selected`,e.disabled&&`vi-multi-select-option-disabled`,n===m&&`vi-multi-select-option-active`),onMouseEnter:()=>!e.disabled&&h(n),onClick:()=>{e.disabled||y(e.value)},children:[(0,u.jsx)(`span`,{className:B(`vi-multi-select-checkbox`,r&&`vi-multi-select-checkbox-checked`),children:r&&(0,u.jsx)(ea,{className:`h-3 w-3`})}),e.label]},e.value)})})]}),a&&(0,u.jsx)(`p`,{className:`vi-multi-select-description`,children:a})]})});bu.displayName=`MultiSelect`;var xu=(0,l.forwardRef)(({label:e,size:t=`default`,className:n,id:r,disabled:i,...a},o)=>{let s=(0,l.useId)(),c=r??s;return(0,u.jsxs)(`label`,{htmlFor:c,className:B(`vi-radio-item`,t!==`default`&&`vi-radio-item-${t}`,n),children:[(0,u.jsx)(`input`,{ref:o,id:c,type:`radio`,disabled:i,className:`vi-radio-input`,...a}),(0,u.jsx)(`span`,{className:`vi-radio-indicator`}),e&&(0,u.jsx)(`span`,{className:`vi-radio-label`,children:e})]})});xu.displayName=`Radio`;var Su=(0,l.forwardRef)(({options:e,value:t,defaultValue:n,onChange:r,label:i,description:a,disabled:o,name:s,direction:c=`vertical`,size:d=`default`,className:f},p)=>{let m=(0,l.useId)(),h=s??m,g=t!==void 0;return(0,u.jsxs)(`div`,{ref:p,role:`radiogroup`,"aria-labelledby":i?`${m}-label`:void 0,className:B(`vi-radio-root`,f),children:[i&&(0,u.jsx)(`span`,{id:`${m}-label`,className:`vi-radio-legend`,children:i}),(0,u.jsx)(`div`,{className:B(`vi-radio-options`,c===`horizontal`&&`vi-radio-options-horizontal`),children:e.map(e=>{let i=`${m}-opt-${e.value}`,a=o||e.disabled;return(0,u.jsxs)(`label`,{htmlFor:i,className:B(`vi-radio-item`,d!==`default`&&`vi-radio-item-${d}`),children:[(0,u.jsx)(`input`,{id:i,type:`radio`,name:h,value:e.value,disabled:a,className:`vi-radio-input`,...g?{checked:e.value===t,onChange:t=>{t.target.checked&&r?.(e.value)}}:{defaultChecked:e.value===n,onChange:t=>{t.target.checked&&r?.(e.value)}}}),(0,u.jsx)(`span`,{className:`vi-radio-indicator`}),(0,u.jsx)(`span`,{className:`vi-radio-label`,children:e.label})]},e.value)})}),a&&(0,u.jsx)(`p`,{className:`vi-radio-description`,children:a})]})});Su.displayName=`RadioGroup`;var Cu=(0,l.forwardRef)(({options:e,value:t,onChange:n,placeholder:r=`Select...`,label:i,description:a,disabled:o,className:s,name:c},d)=>{let[f,p]=(0,l.useState)(!1),[m,h]=(0,l.useState)(0),g=(0,l.useRef)(null),_=(0,l.useId)(),v=`${_}-listbox`,y=e.find(e=>e.value===t);return(0,l.useEffect)(()=>{if(!f)return;let e=e=>{g.current?.contains(e.target)||p(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[f]),(0,l.useEffect)(()=>{if(f){let n=e.findIndex(e=>e.value===t);h(n>=0?n:0)}},[f,e,t]),(0,u.jsxs)(`div`,{className:`vi-select-root`,ref:g,children:[i&&(0,u.jsx)(`label`,{htmlFor:_,className:`vi-select-label`,children:i}),(0,u.jsxs)(`div`,{className:`vi-select-wrapper`,children:[(0,u.jsxs)(_t,{ref:d,id:_,type:`button`,role:`combobox`,"aria-expanded":f,"aria-haspopup":`listbox`,"aria-controls":f?v:void 0,"aria-activedescendant":f&&m>=0?`${_}-opt-${m}`:void 0,disabled:o,variant:`ghost`,className:B(`vi-select-trigger`,s),onClick:()=>p(e=>!e),onKeyDown:t=>{if(!o)switch(t.key){case`Enter`:case` `:if(t.preventDefault(),!f){p(!0);return}e[m]?.disabled||(n?.(e[m].value),p(!1));break;case`ArrowDown`:if(t.preventDefault(),!f){p(!0);return}h(t=>{let n=t+1;for(;n<e.length&&e[n].disabled;)n++;return n<e.length?n:t});break;case`ArrowUp`:t.preventDefault(),h(t=>{let n=t-1;for(;n>=0&&e[n].disabled;)n--;return n>=0?n:t});break;case`Escape`:case`Tab`:p(!1);break}},children:[(0,u.jsx)(`span`,{className:B(!y&&`vi-select-placeholder`),children:y?y.label:r}),(0,u.jsx)(ta,{className:B(`vi-select-icon`,f&&`vi-select-icon-open`)})]}),c&&(0,u.jsx)(`input`,{type:`hidden`,name:c,value:t??``}),f&&(0,u.jsx)(`ul`,{id:v,role:`listbox`,"aria-label":i,className:`vi-select-dropdown`,children:e.map((e,r)=>(0,u.jsxs)(`li`,{id:`${_}-opt-${r}`,role:`option`,"aria-selected":e.value===t,"aria-disabled":e.disabled,className:B(`vi-select-option`,e.value===t&&`vi-select-option-selected`,e.disabled&&`vi-select-option-disabled`,r===m&&`vi-select-option-active`),onMouseEnter:()=>!e.disabled&&h(r),onClick:()=>{e.disabled||(n?.(e.value),p(!1))},children:[(0,u.jsx)(ea,{className:`vi-select-check`}),e.label]},e.value))})]}),a&&(0,u.jsx)(`p`,{className:`vi-select-description`,children:a})]})});Cu.displayName=`Select`;var wu=(0,l.forwardRef)(({className:e,label:t,description:n,hidden:r,validate:i,onValidationChange:a,id:o,...s},c)=>{let[d,f]=(0,l.useState)(null),p=(0,l.useId)(),m=o??p,[h,g]=(0,l.useState)(typeof s.defaultValue==`string`?s.defaultValue:``),_=s.value===void 0?h:String(s.value),v=e=>{if(g(e.target.value),i){let t=i(e.target.value);f(t),a?.(!t)}s.onChange?.(e)},y=B(`flex min-h-[36px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm transition-colors`,`placeholder:text-muted-foreground`,`focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,`disabled:cursor-not-allowed disabled:opacity-50`,`md:text-sm`,d&&`border-destructive focus-visible:ring-destructive`);return(0,u.jsxs)(`div`,{className:`flex flex-col gap-1 w-full`,children:[t&&(0,u.jsx)(`label`,{htmlFor:m,className:`text-sm font-medium`,children:t}),(0,u.jsxs)(`div`,{className:`relative`,children:[(0,u.jsx)(`textarea`,{ref:c,id:m,className:B(y,r&&`text-transparent [caret-color:hsl(var(--foreground))]`,e),onChange:v,placeholder:r?void 0:s.placeholder,...s}),r&&_.length>0&&(0,u.jsx)(`div`,{"aria-hidden":`true`,className:B(y,`absolute inset-0 pointer-events-none`,`overflow-hidden`,`whitespace-pre-wrap break-all`,`bg-transparent border-transparent shadow-none ring-0`),children:`•`.repeat(_.length)})]}),n&&!d&&(0,u.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:n}),d&&(0,u.jsx)(`p`,{className:`text-xs text-destructive font-medium`,children:d})]})});wu.displayName=`Textarea`;var Tu=null,Eu=({children:e,position:t=`right`})=>{let[n,r]=(0,l.useState)([]),i=(0,l.useCallback)(e=>{let t=Date.now().toString()+Math.random().toString(36),n={...e,id:t};r(e=>[...e,n].slice(-5)),setTimeout(()=>{r(e=>e.filter(e=>e.id!==t))},e.duration||5e3)},[]);return(0,l.useEffect)(()=>(Tu=i,()=>{Tu=null}),[i]),(0,u.jsxs)(u.Fragment,{children:[e,(0,u.jsx)(`div`,{className:B(`vi-toast-viewport`,t===`left`&&`vi-toast-viewport-left`),children:n.map(e=>(0,u.jsx)(Du,{...e},e.id))})]})},Du=({variant:e,title:t,description:n})=>{let r=!!t;return(0,u.jsx)(`div`,{className:B(`vi-toast`,`vi-toast-variant-${e}`),children:(0,u.jsxs)(`div`,{className:`vi-toast-content`,children:[r&&(0,u.jsx)(`div`,{className:`vi-toast-title`,children:t}),n&&(0,u.jsx)(`div`,{className:B(`vi-toast-description`,!r&&`vi-toast-description-colored`),children:n})]})})},Ou={success:(e,t)=>{let n=t!==void 0;Tu?.({variant:`success`,title:n?e:void 0,description:n?t:e})},error:(e,t)=>{let n=t!==void 0;Tu?.({variant:`error`,title:n?e:void 0,description:n?t:e})},warning:(e,t)=>{let n=t!==void 0;Tu?.({variant:`warning`,title:n?e:void 0,description:n?t:e})},info:(e,t)=>{let n=t!==void 0;Tu?.({variant:`info`,title:n?e:void 0,description:n?t:e})},default:(e,t)=>{let n=t!==void 0;Tu?.({variant:`default`,title:n?e:void 0,description:n?t:e})}},ku=(0,l.forwardRef)(({percentage:e,children:t,label:n,size:r=120,strokeWidth:i=8,animate:a=!0,className:o},s)=>{let c=Math.min(100,Math.max(0,e)),d=r/2,f=d-i/2,p=2*Math.PI*f,m=p*(1-c/100),h=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=h.current;if(e){if(!a){gu.set(e,{strokeDashoffset:m});return}gu.fromTo(e,{strokeDashoffset:p},{strokeDashoffset:m,duration:1.8,ease:`power2.out`})}},[a,p,m]),(0,u.jsxs)(`div`,{ref:s,className:B(`vi-circular-progress`,o),children:[(0,u.jsxs)(`div`,{className:`vi-circular-progress-arc`,style:{width:r,height:r},children:[(0,u.jsxs)(`svg`,{width:r,height:r,"aria-hidden":`true`,className:`vi-circular-progress-svg`,children:[(0,u.jsx)(`circle`,{cx:d,cy:d,r:f,fill:`none`,strokeWidth:i,className:`vi-circular-progress-track`}),(0,u.jsx)(`circle`,{ref:h,cx:d,cy:d,r:f,fill:`none`,strokeWidth:i,strokeLinecap:`round`,strokeDasharray:p,strokeDashoffset:a?p:m,transform:`rotate(-90 ${d} ${d})`,className:`vi-circular-progress-fill`})]}),(0,u.jsx)(`div`,{className:`vi-circular-progress-center`,children:t??(0,u.jsxs)(`span`,{className:`vi-circular-progress-pct`,children:[c,`%`]})})]}),n&&(0,u.jsx)(`p`,{className:`vi-circular-progress-label`,children:n})]})});ku.displayName=`CircularProgressBar`;var Au=({logo:e,linkGroups:t=[],copyright:n,className:r})=>{let i=e||t.length>0;return(0,u.jsx)(`footer`,{className:B(`vi-footer`,r),children:(0,u.jsxs)(`div`,{className:`vi-footer-inner`,children:[i&&(0,u.jsxs)(`div`,{className:`vi-footer-top`,children:[e&&(0,u.jsx)(`div`,{className:`vi-footer-logo`,children:(0,u.jsx)(ya,{...e})}),t.length>0&&(0,u.jsx)(`nav`,{className:`vi-footer-nav`,"aria-label":`Footer navigation`,children:t.map((e,t)=>(0,u.jsxs)(`div`,{className:`vi-footer-group`,children:[e.title&&(0,u.jsx)(`p`,{className:`vi-footer-group-title`,children:e.title}),(0,u.jsx)(`ul`,{className:`vi-footer-links`,children:e.links.map(e=>(0,u.jsx)(`li`,{children:(0,u.jsx)(va,{link:e,noBaseClass:!0,className:`vi-footer-link`})},e.url))})]},t))})]}),i&&n&&(0,u.jsx)(`hr`,{className:`vi-footer-divider`}),n&&(0,u.jsx)(`div`,{className:`vi-footer-bottom`,children:(0,u.jsx)(`p`,{className:`vi-footer-copyright`,children:n})})]})})},ju=({logo:e,ctaLinks:t=[],modalRootSelector:n})=>{let[r,i]=(0,l.useState)(!1);return(0,u.jsxs)(`header`,{className:`vi-header`,children:[(0,u.jsxs)(`div`,{className:`vi-header-mobile`,children:[(0,u.jsx)(ya,{name:e.name,image:e.image,link:e.link}),t.length>0&&(0,u.jsx)(vu,{open:r,onOpenChange:i,title:e.name,className:`vi-modal-slide-right z-[1001]`,modalRootSelector:n,trigger:(0,u.jsx)(_t,{variant:`ghost`,title:`Menu Button`,"aria-label":`Open menu`,children:(0,u.jsx)(ia,{size:24,"aria-hidden":`true`})}),children:(0,u.jsx)(`div`,{className:`flex flex-col gap-3`,children:t.map(e=>(0,u.jsxs)(va,{link:e,noBaseClass:!0,className:`flex items-center justify-between text-sm font-medium hover:underline`,children:[(0,u.jsx)(`span`,{children:e.text}),(0,u.jsx)(na,{size:16,"aria-hidden":`true`})]},e.url))})})]}),(0,u.jsxs)(`div`,{className:`hidden lg:flex items-center justify-between px-8 py-4`,children:[(0,u.jsx)(ya,{...e}),t.length>0&&(0,u.jsx)(`nav`,{className:`flex items-center gap-6`,children:t.map(e=>(0,u.jsx)(va,{link:e,noBaseClass:!0,className:`text-sm font-medium hover:underline`},e.url))})]})]})},Mu=({text:e,children:t,className:n,triggerClassName:r})=>{let[i,a]=(0,l.useState)(!1),o=(0,l.useRef)(void 0),s=(0,l.useId)();(0,l.useEffect)(()=>()=>clearTimeout(o.current),[]);let c=()=>{clearTimeout(o.current),a(!0)},d=()=>{o.current=setTimeout(()=>a(!1),120)};return(0,u.jsxs)(`div`,{className:B(`vi-hover-popup-wrapper`,n),onMouseEnter:c,onMouseLeave:d,onFocus:c,onBlur:d,children:[(0,u.jsx)(`span`,{className:B(`vi-hover-popup-main-text`,r),tabIndex:0,"aria-describedby":s,children:e}),(0,u.jsx)(`div`,{id:s,role:`tooltip`,"aria-hidden":!i,className:B(`vi-hover-popup-modal`,i&&`vi-hover-popup-modal-visible`),children:t})]})},Nu=()=>(0,u.jsxs)(`div`,{className:`vi-pnf`,children:[(0,u.jsx)(`div`,{className:`vi-pnf-bg-gradient`}),(0,u.jsx)(`div`,{className:`vi-pnf-orb-gold`}),(0,u.jsx)(`div`,{className:`vi-pnf-orb-green`}),(0,u.jsxs)(`div`,{className:`vi-pnf-content`,children:[(0,u.jsxs)(`div`,{className:`vi-pnf-404-wrap`,children:[(0,u.jsx)(`h1`,{className:`vi-pnf-404`,children:`404`}),(0,u.jsx)(`div`,{className:`vi-pnf-404-glow`})]}),(0,u.jsxs)(`div`,{className:`vi-pnf-message`,children:[(0,u.jsx)(`h2`,{className:`vi-pnf-title`,children:`Page Not Found`}),(0,u.jsx)(`p`,{className:`vi-pnf-subtitle`,children:`Looks like you've ventured into uncharted territory. The page you're looking for doesn't exist or has been moved.`})]}),(0,u.jsx)(`div`,{className:`vi-pnf-actions`,children:(0,u.jsx)(_t,{asChild:!0,size:`lg`,className:`vi-pnf-btn group`,children:(0,u.jsx)(`a`,{href:`/`,children:(0,u.jsxs)(`span`,{className:`vi-pnf-btn-inner`,children:[(0,u.jsxs)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,u.jsx)(`path`,{d:`m12 19-7-7 7-7`}),(0,u.jsx)(`path`,{d:`M19 12H5`})]}),`Back to Home`]})})})})]}),(0,u.jsx)(`div`,{className:`vi-pnf-divider`})]}),Pu=({icon:e,label:t})=>(0,u.jsxs)(_t,{variant:`ghost`,className:`w-full justify-start gap-2`,children:[(0,u.jsx)(e,{className:`h-4 w-4`}),t]});Pu.displayName=`PageAsideNavItem`;var Fu=({children:e,title:t,userName:n,onLogout:r})=>(0,u.jsxs)(`aside`,{className:`vi-aside`,children:[(0,u.jsxs)(`div`,{children:[t&&(0,u.jsx)(`div`,{className:`vi-aside-header`,children:(0,u.jsx)(`span`,{className:`vi-aside-title`,children:t})}),(0,u.jsx)(`nav`,{className:`vi-aside-nav`,children:e})]}),(0,u.jsxs)(`div`,{children:[n&&(0,u.jsx)(`p`,{className:`vi-aside-username`,children:n}),r&&(0,u.jsxs)(_t,{variant:`outline`,className:`vi-aside-logout`,onClick:r,children:[(0,u.jsx)(ra,{className:`mr-2 h-4 w-4`}),`Logout`]})]})]});Fu.displayName=`PageAside`,exports.Button=_t,exports.Card=vt,exports.CardContent=St,exports.CardDescription=xt,exports.CardImage=yt,exports.CardTitle=bt,exports.CardWrapper=Ct,exports.CircularProgressBar=ku,exports.Dialog=oa,exports.DialogClose=la,exports.DialogContent=da,exports.DialogDescription=ha,exports.DialogFooter=pa,exports.DialogHeader=fa,exports.DialogOverlay=ua,exports.DialogPortal=ca,exports.DialogTitle=ma,exports.DialogTrigger=sa,exports.Footer=Au,exports.FormField=yu,exports.Header=ju,exports.HoverPopup=Mu,exports.Input=ga,exports.Link=va,exports.Loading=ba,exports.LogoLink=ya,exports.Modal=vu,exports.MultiSelect=bu,exports.PageAside=Fu,exports.PageAsideNavItem=Pu,exports.PageNotFound=Nu,exports.Radio=xu,exports.RadioGroup=Su,exports.Select=Cu,exports.Textarea=wu,exports.ToastProvider=Eu,exports.buttonVariants=gt,exports.cn=B,exports.toast=Ou;
46
46
  //# sourceMappingURL=advi-ui.cjs.js.map