diff --git a/dist/assets/Attractor-BQWchzE_.js b/dist/assets/Attractor-B0zSRkO0.js similarity index 92% rename from dist/assets/Attractor-BQWchzE_.js rename to dist/assets/Attractor-B0zSRkO0.js index 6ff68b7..0ce4781 100644 --- a/dist/assets/Attractor-BQWchzE_.js +++ b/dist/assets/Attractor-B0zSRkO0.js @@ -1 +1 @@ -import{C as v}from"./Ranges-CMjHcLDp.js";import{W as M,L as b,X as E,O as g,q as x,t as O,S as d}from"./index-CIovSKpD.js";import{Attract as A}from"./index-BLg1T7Ib.js";import{E as C}from"./ExternalInteractorBase-CIi3zRdK.js";const q=1,D=1,y=0;function h(s,i,t,a,c){const e=s.actualOptions.interactivity.modes.attract;if(!e)return;const o=s.particles.quadTree.query(a,c);for(const r of o){const{dx:f,dy:n,distance:l}=M(r.position,i),m=e.speed*e.factor,p=b(E(e.easing)(D-l/t)*m,q,e.maxSpeed),k=g.create(l?f/l*p:m,l?n/l*p:m);r.position.subFrom(k)}}function P(s,i){s.attract||(s.attract={particles:[]});const{attract:t}=s;if(t.finish||(t.count||(t.count=0),t.count++,t.count===s.particles.count&&(t.finish=!0)),t.clicking){const a=s.interactivity.mouse.clickPosition,c=s.retina.attractModeDistance;if(!c||ci(e))}else t.clicking===!1&&(t.particles=[])}function R(s,i){const t=s.interactivity.mouse.position,a=s.retina.attractModeDistance;!a||ai(c))}const u="attract";class H extends C{constructor(i,t){super(t),this._engine=i,t.attract||(t.attract={particles:[]}),this.handleClickMode=a=>{const c=this.container.actualOptions,e=c.interactivity.modes.attract;if(!(!e||a!==u)){t.attract||(t.attract={particles:[]}),t.attract.clicking=!0,t.attract.count=0;for(const o of t.attract.particles)this.isEnabled(o)&&o.velocity.setTo(o.initialVelocity);t.attract.particles=[],t.attract.finish=!1,setTimeout(()=>{t.destroyed||(t.attract||(t.attract={particles:[]}),t.attract.clicking=!1)},e.duration*x)}}}clear(){}init(){const i=this.container,t=i.actualOptions.interactivity.modes.attract;t&&(i.retina.attractModeDistance=t.distance*i.retina.pixelRatio)}interact(){const i=this.container,t=i.actualOptions,a=i.interactivity.status===O,c=t.interactivity.events,{enable:e,mode:o}=c.onHover,{enable:r,mode:f}=c.onClick;a&&e&&d(u,o)?R(this.container,n=>this.isEnabled(n)):r&&d(u,f)&&P(this.container,n=>this.isEnabled(n))}isEnabled(i){const t=this.container,a=t.actualOptions,c=t.interactivity.mouse,e=((i==null?void 0:i.interactivity)??a.interactivity).events;if((!c.position||!e.onHover.enable)&&(!c.clickPosition||!e.onClick.enable))return!1;const o=e.onHover.mode,r=e.onClick.mode;return d(u,o)||d(u,r)}loadModeOptions(i,...t){i.attract||(i.attract=new A);for(const a of t)i.attract.load(a==null?void 0:a.attract)}reset(){}}export{H as Attractor}; +import{C as v}from"./Ranges-Bq4zSnBQ.js";import{W as M,L as b,X as E,O as g,q as x,t as O,S as d}from"./index-CgAHdhFx.js";import{Attract as A}from"./index-CSIqqfMP.js";import{E as C}from"./ExternalInteractorBase-CIi3zRdK.js";const q=1,D=1,y=0;function h(s,i,t,a,c){const e=s.actualOptions.interactivity.modes.attract;if(!e)return;const o=s.particles.quadTree.query(a,c);for(const r of o){const{dx:f,dy:n,distance:l}=M(r.position,i),m=e.speed*e.factor,p=b(E(e.easing)(D-l/t)*m,q,e.maxSpeed),k=g.create(l?f/l*p:m,l?n/l*p:m);r.position.subFrom(k)}}function P(s,i){s.attract||(s.attract={particles:[]});const{attract:t}=s;if(t.finish||(t.count||(t.count=0),t.count++,t.count===s.particles.count&&(t.finish=!0)),t.clicking){const a=s.interactivity.mouse.clickPosition,c=s.retina.attractModeDistance;if(!c||ci(e))}else t.clicking===!1&&(t.particles=[])}function R(s,i){const t=s.interactivity.mouse.position,a=s.retina.attractModeDistance;!a||ai(c))}const u="attract";class H extends C{constructor(i,t){super(t),this._engine=i,t.attract||(t.attract={particles:[]}),this.handleClickMode=a=>{const c=this.container.actualOptions,e=c.interactivity.modes.attract;if(!(!e||a!==u)){t.attract||(t.attract={particles:[]}),t.attract.clicking=!0,t.attract.count=0;for(const o of t.attract.particles)this.isEnabled(o)&&o.velocity.setTo(o.initialVelocity);t.attract.particles=[],t.attract.finish=!1,setTimeout(()=>{t.destroyed||(t.attract||(t.attract={particles:[]}),t.attract.clicking=!1)},e.duration*x)}}}clear(){}init(){const i=this.container,t=i.actualOptions.interactivity.modes.attract;t&&(i.retina.attractModeDistance=t.distance*i.retina.pixelRatio)}interact(){const i=this.container,t=i.actualOptions,a=i.interactivity.status===O,c=t.interactivity.events,{enable:e,mode:o}=c.onHover,{enable:r,mode:f}=c.onClick;a&&e&&d(u,o)?R(this.container,n=>this.isEnabled(n)):r&&d(u,f)&&P(this.container,n=>this.isEnabled(n))}isEnabled(i){const t=this.container,a=t.actualOptions,c=t.interactivity.mouse,e=((i==null?void 0:i.interactivity)??a.interactivity).events;if((!c.position||!e.onHover.enable)&&(!c.clickPosition||!e.onClick.enable))return!1;const o=e.onHover.mode,r=e.onClick.mode;return d(u,o)||d(u,r)}loadModeOptions(i,...t){i.attract||(i.attract=new A);for(const a of t)i.attract.load(a==null?void 0:a.attract)}reset(){}}export{H as Attractor}; diff --git a/dist/assets/Attractor-CQIUFSlF.js b/dist/assets/Attractor-D1py2CFA.js similarity index 91% rename from dist/assets/Attractor-CQIUFSlF.js rename to dist/assets/Attractor-D1py2CFA.js index a078c01..6c3fb02 100644 --- a/dist/assets/Attractor-CQIUFSlF.js +++ b/dist/assets/Attractor-D1py2CFA.js @@ -1 +1 @@ -import{P as x}from"./ParticlesInteractorBase-vfDeBun3.js";import{H as f,W as p}from"./index-CIovSKpD.js";const l=1e3,g=1;class q extends x{constructor(t){super(t)}clear(){}init(){}interact(t){const o=this.container;t.attractDistance===void 0&&(t.attractDistance=f(t.options.move.attract.distance)*o.retina.pixelRatio);const y=t.attractDistance,i=t.getPosition(),d=o.particles.quadTree.queryCircle(i,y);for(const e of d){if(t===e||!e.options.move.attract.enable||e.destroyed||e.spawning)continue;const u=e.getPosition(),{dx:v,dy:m}=p(i,u),r=t.options.move.attract.rotate,c=v/(r.x*l),n=m/(r.y*l),a=e.size.value/t.size.value,s=g/a;t.velocity.x-=c*a,t.velocity.y-=n*a,e.velocity.x+=c*s,e.velocity.y+=n*s}}isEnabled(t){return t.options.move.attract.enable}reset(){}}export{q as Attractor}; +import{P as x}from"./ParticlesInteractorBase-vfDeBun3.js";import{H as f,W as p}from"./index-CgAHdhFx.js";const l=1e3,g=1;class q extends x{constructor(t){super(t)}clear(){}init(){}interact(t){const o=this.container;t.attractDistance===void 0&&(t.attractDistance=f(t.options.move.attract.distance)*o.retina.pixelRatio);const y=t.attractDistance,i=t.getPosition(),d=o.particles.quadTree.queryCircle(i,y);for(const e of d){if(t===e||!e.options.move.attract.enable||e.destroyed||e.spawning)continue;const u=e.getPosition(),{dx:v,dy:m}=p(i,u),r=t.options.move.attract.rotate,c=v/(r.x*l),n=m/(r.y*l),a=e.size.value/t.size.value,s=g/a;t.velocity.x-=c*a,t.velocity.y-=n*a,e.velocity.x+=c*s,e.velocity.y+=n*s}}isEnabled(t){return t.options.move.attract.enable}reset(){}}export{q as Attractor}; diff --git a/dist/assets/BaseMover-WGyZwRd6.js b/dist/assets/BaseMover-CcP6UoZD.js similarity index 98% rename from dist/assets/BaseMover-WGyZwRd6.js rename to dist/assets/BaseMover-CcP6UoZD.js index 3fc68e3..73eeced 100644 --- a/dist/assets/BaseMover-WGyZwRd6.js +++ b/dist/assets/BaseMover-CcP6UoZD.js @@ -1 +1 @@ -import{W as w,J as F,L as z,K as P,H as m,a3 as T}from"./index-CIovSKpD.js";const r=.5,h=0,f=1,D=60,M=0,S=.01;function V(n){const o=n.initialPosition,{dx:e,dy:i}=w(o,n.position),a=Math.abs(e),t=Math.abs(i),{maxDistance:s}=n.retina,y=s.horizontal,v=s.vertical;if(!y&&!v)return;const d=(y&&a>=y)??!1,u=(v&&t>=v)??!1;if((d||u)&&!n.misplaced)n.misplaced=!!y&&a>y||!!v&&t>v,y&&(n.velocity.x=n.velocity.y*r-n.velocity.x),v&&(n.velocity.y=n.velocity.x*r-n.velocity.y);else if((!y||ao.x&&c.x>h)&&(c.x*=-F()),v&&(x.yo.y&&c.y>h)&&(c.y*=-F())}}function k(n,o,e,i,a,t){E(n,t);const s=n.gravity,y=s!=null&&s.enable&&s.inverse?-f:f;a&&e&&(n.velocity.x+=a*t.factor/(D*e)),s!=null&&s.enable&&e&&(n.velocity.y+=y*(s.acceleration*t.factor)/(D*e));const v=n.moveDecay;n.velocity.multTo(v);const d=n.velocity.mult(e);s!=null&&s.enable&&i>h&&(!s.inverse&&d.y>=h&&d.y>=i||s.inverse&&d.y<=h&&d.y<=-i)&&(d.y=y*i,e&&(n.velocity.y=d.y/e));const u=n.options.zIndex,x=(f-n.zIndexFactor)**u.velocityRate;d.multTo(x);const{position:c}=n;c.addTo(d),o.vibrate&&(c.x+=Math.sin(c.x*Math.cos(c.y)),c.y+=Math.cos(c.y*Math.sin(c.x)))}function A(n,o){const e=n.container;if(!n.spin)return;const i={x:n.spin.direction==="clockwise"?Math.cos:Math.sin,y:n.spin.direction==="clockwise"?Math.sin:Math.cos};n.position.x=n.spin.center.x+n.spin.radius*i.x(n.spin.angle),n.position.y=n.spin.center.y+n.spin.radius*i.y(n.spin.angle),n.spin.radius+=n.spin.acceleration;const a=Math.max(e.canvas.size.width,e.canvas.size.height),t=a*r;n.spin.radius>t?(n.spin.radius=t,n.spin.acceleration*=-f):n.spin.radius=u?"clockwise":"counter-clockwise",angle:n.velocity.angle,radius:v,acceleration:n.retina.spinAcceleration}}const H=2,O=1,B=1;class J{init(o){const e=o.options,i=e.move.gravity;o.gravity={enable:i.enable,acceleration:m(i.acceleration),inverse:i.inverse},C(o)}isEnabled(o){return!o.destroyed&&o.options.move.enable}move(o,e){var l,b;const i=o.options,a=i.move;if(!a.enable)return;const t=o.container,s=t.retina.pixelRatio;(l=o.retina).moveSpeed??(l.moveSpeed=m(a.speed)*s),(b=o.retina).moveDrift??(b.moveDrift=m(o.options.move.drift)*s);const y=I(o),v=o.retina.moveSpeed*t.retina.reduceFactor,d=o.retina.moveDrift,u=T(i.size.value)*s,x=a.size?o.getRadius()/u:O,c=e.factor||B,g=v*x*y*c/H,R=o.retina.maxSpeed??t.retina.maxSpeed;a.spin.enable?A(o,g):k(o,a,g,R,d,e),V(o)}}export{J as BaseMover}; +import{W as w,J as F,L as z,K as P,H as m,a3 as T}from"./index-CgAHdhFx.js";const r=.5,h=0,f=1,D=60,M=0,S=.01;function V(n){const o=n.initialPosition,{dx:e,dy:i}=w(o,n.position),a=Math.abs(e),t=Math.abs(i),{maxDistance:s}=n.retina,y=s.horizontal,v=s.vertical;if(!y&&!v)return;const d=(y&&a>=y)??!1,u=(v&&t>=v)??!1;if((d||u)&&!n.misplaced)n.misplaced=!!y&&a>y||!!v&&t>v,y&&(n.velocity.x=n.velocity.y*r-n.velocity.x),v&&(n.velocity.y=n.velocity.x*r-n.velocity.y);else if((!y||ao.x&&c.x>h)&&(c.x*=-F()),v&&(x.yo.y&&c.y>h)&&(c.y*=-F())}}function k(n,o,e,i,a,t){E(n,t);const s=n.gravity,y=s!=null&&s.enable&&s.inverse?-f:f;a&&e&&(n.velocity.x+=a*t.factor/(D*e)),s!=null&&s.enable&&e&&(n.velocity.y+=y*(s.acceleration*t.factor)/(D*e));const v=n.moveDecay;n.velocity.multTo(v);const d=n.velocity.mult(e);s!=null&&s.enable&&i>h&&(!s.inverse&&d.y>=h&&d.y>=i||s.inverse&&d.y<=h&&d.y<=-i)&&(d.y=y*i,e&&(n.velocity.y=d.y/e));const u=n.options.zIndex,x=(f-n.zIndexFactor)**u.velocityRate;d.multTo(x);const{position:c}=n;c.addTo(d),o.vibrate&&(c.x+=Math.sin(c.x*Math.cos(c.y)),c.y+=Math.cos(c.y*Math.sin(c.x)))}function A(n,o){const e=n.container;if(!n.spin)return;const i={x:n.spin.direction==="clockwise"?Math.cos:Math.sin,y:n.spin.direction==="clockwise"?Math.sin:Math.cos};n.position.x=n.spin.center.x+n.spin.radius*i.x(n.spin.angle),n.position.y=n.spin.center.y+n.spin.radius*i.y(n.spin.angle),n.spin.radius+=n.spin.acceleration;const a=Math.max(e.canvas.size.width,e.canvas.size.height),t=a*r;n.spin.radius>t?(n.spin.radius=t,n.spin.acceleration*=-f):n.spin.radius=u?"clockwise":"counter-clockwise",angle:n.velocity.angle,radius:v,acceleration:n.retina.spinAcceleration}}const H=2,O=1,B=1;class J{init(o){const e=o.options,i=e.move.gravity;o.gravity={enable:i.enable,acceleration:m(i.acceleration),inverse:i.inverse},C(o)}isEnabled(o){return!o.destroyed&&o.options.move.enable}move(o,e){var l,b;const i=o.options,a=i.move;if(!a.enable)return;const t=o.container,s=t.retina.pixelRatio;(l=o.retina).moveSpeed??(l.moveSpeed=m(a.speed)*s),(b=o.retina).moveDrift??(b.moveDrift=m(o.options.move.drift)*s);const y=I(o),v=o.retina.moveSpeed*t.retina.reduceFactor,d=o.retina.moveDrift,u=T(i.size.value)*s,x=a.size?o.getRadius()/u:O,c=e.factor||B,g=v*x*y*c/H,R=o.retina.maxSpeed??t.retina.maxSpeed;a.spin.enable?A(o,g):k(o,a,g,R,d,e),V(o)}}export{J as BaseMover}; diff --git a/dist/assets/Bouncer-DGHXKRpG.js b/dist/assets/Bouncer-CfHgDZ0E.js similarity index 93% rename from dist/assets/Bouncer-DGHXKRpG.js rename to dist/assets/Bouncer-CfHgDZ0E.js index 4e7bfb2..16be233 100644 --- a/dist/assets/Bouncer-DGHXKRpG.js +++ b/dist/assets/Bouncer-CfHgDZ0E.js @@ -1 +1 @@ -import{Y as E,Z as M,O as m,$ as R,a0 as g,a1 as q,t as D,S as p,a2 as H}from"./index-CIovSKpD.js";import{C as d,R as b}from"./Ranges-CMjHcLDp.js";import{Bounce as O}from"./index-DTc-Eged.js";import{E as w}from"./ExternalInteractorBase-CIi3zRdK.js";const I=2,l=.5,P=Math.PI*l,h=2,y=10,S=0;function x(c,e,t,o,s){const i=c.particles.quadTree.query(o,s);for(const n of i)o instanceof d?M(R(n),{position:e,radius:t,mass:t**I*P,velocity:m.origin,factor:m.origin}):o instanceof b&&g(n,q(e,t))}function T(c,e,t,o){const s=document.querySelectorAll(e);s.length&&s.forEach(i=>{const n=i,a=c.retina.pixelRatio,r={x:(n.offsetLeft+n.offsetWidth*l)*a,y:(n.offsetTop+n.offsetHeight*l)*a},v=n.offsetWidth*l*a,u=y*a,B=t.type==="circle"?new d(r.x,r.y,v+u):new b(n.offsetLeft*a-u,n.offsetTop*a-u,n.offsetWidth*a+u*h,n.offsetHeight*a+u*h);o(r,v,B)})}function W(c,e,t,o){E(t,e,(s,i)=>T(c,s,i,(n,a,r)=>x(c,n,a,r,o)))}function A(c,e){const t=c.retina.pixelRatio,o=y*t,s=c.interactivity.mouse.position,i=c.retina.bounceModeDistance;!i||ithis.isEnabled(r)):W(this.container,a,f,r=>this.isEnabled(r))}isEnabled(e){const t=this.container,o=t.actualOptions,s=t.interactivity.mouse,i=((e==null?void 0:e.interactivity)??o.interactivity).events,n=i.onDiv;return!!s.position&&i.onHover.enable&&p(f,i.onHover.mode)||H(f,n)}loadModeOptions(e,...t){e.bounce||(e.bounce=new O);for(const o of t)e.bounce.load(o==null?void 0:o.bounce)}reset(){}}export{Y as Bouncer}; +import{Y as E,Z as M,O as m,$ as R,a0 as g,a1 as q,t as D,S as p,a2 as H}from"./index-CgAHdhFx.js";import{C as d,R as b}from"./Ranges-Bq4zSnBQ.js";import{Bounce as O}from"./index-B6OMlKuI.js";import{E as w}from"./ExternalInteractorBase-CIi3zRdK.js";const I=2,l=.5,P=Math.PI*l,h=2,y=10,S=0;function x(c,e,t,o,s){const i=c.particles.quadTree.query(o,s);for(const n of i)o instanceof d?M(R(n),{position:e,radius:t,mass:t**I*P,velocity:m.origin,factor:m.origin}):o instanceof b&&g(n,q(e,t))}function T(c,e,t,o){const s=document.querySelectorAll(e);s.length&&s.forEach(i=>{const n=i,a=c.retina.pixelRatio,r={x:(n.offsetLeft+n.offsetWidth*l)*a,y:(n.offsetTop+n.offsetHeight*l)*a},v=n.offsetWidth*l*a,u=y*a,B=t.type==="circle"?new d(r.x,r.y,v+u):new b(n.offsetLeft*a-u,n.offsetTop*a-u,n.offsetWidth*a+u*h,n.offsetHeight*a+u*h);o(r,v,B)})}function W(c,e,t,o){E(t,e,(s,i)=>T(c,s,i,(n,a,r)=>x(c,n,a,r,o)))}function A(c,e){const t=c.retina.pixelRatio,o=y*t,s=c.interactivity.mouse.position,i=c.retina.bounceModeDistance;!i||ithis.isEnabled(r)):W(this.container,a,f,r=>this.isEnabled(r))}isEnabled(e){const t=this.container,o=t.actualOptions,s=t.interactivity.mouse,i=((e==null?void 0:e.interactivity)??o.interactivity).events,n=i.onDiv;return!!s.position&&i.onHover.enable&&p(f,i.onHover.mode)||H(f,n)}loadModeOptions(e,...t){e.bounce||(e.bounce=new O);for(const o of t)e.bounce.load(o==null?void 0:o.bounce)}reset(){}}export{Y as Bouncer}; diff --git a/dist/assets/Bubbler-DeOzQSdz.js b/dist/assets/Bubbler-r66OPvuv.js similarity index 96% rename from dist/assets/Bubbler-DeOzQSdz.js rename to dist/assets/Bubbler-r66OPvuv.js index 77040d7..6ae10a7 100644 --- a/dist/assets/Bubbler-DeOzQSdz.js +++ b/dist/assets/Bubbler-r66OPvuv.js @@ -1 +1 @@ -import{Bubble as S}from"./index-BAyyPntJ.js";import{L as _,K as E,q as D,a3 as m,t as B,C as j,Q as q,r as T,a4 as H,a5 as P,a6 as w,S as O,Y as L,a2 as W}from"./index-CIovSKpD.js";import{E as A}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as F,R as I}from"./Ranges-CMjHcLDp.js";import"./OptionsColor-D2YVVpO2.js";function R(y,i,e,n){if(i>=e){const o=y+(i-e)*n;return _(o,y,i)}else if(i{var b;const e=this.container,n=e.actualOptions,o=e.interactivity.mouse.clickPosition,s=n.interactivity.modes.bubble;if(!s||!o)return;e.bubble||(e.bubble={});const t=e.retina.bubbleModeDistance;if(!t||tthis.isEnabled(l)),{bubble:u}=e;for(const l of a){if(!u.clicking)continue;l.bubble.inRange=!u.durationEnd;const c=l.getPosition(),f=E(c,o),d=(new Date().getTime()-(e.interactivity.mouse.clickTime??K))/D;d>s.duration&&(u.durationEnd=!0),d>s.duration*Q&&(u.clicking=!1,u.durationEnd=!1);const p={bubbleObj:{optValue:e.retina.bubbleModeSize,value:l.bubble.radius},particlesObj:{optValue:m(l.options.size.value)*e.retina.pixelRatio,value:l.size.value},type:"size"};this._process(l,f,d,p);const r={bubbleObj:{optValue:s.opacity,value:l.bubble.opacity},particlesObj:{optValue:m(l.options.opacity.value),value:((b=l.opacity)==null?void 0:b.value)??k},type:"opacity"};this._process(l,f,d,r),!u.durationEnd&&f<=t?this._hoverBubbleColor(l,f):delete l.bubble.color}},this._hoverBubble=()=>{const e=this.container,n=e.interactivity.mouse.position,o=e.retina.bubbleModeDistance;if(!o||othis.isEnabled(t));for(const t of s){t.bubble.inRange=!0;const a=t.getPosition(),u=E(a,n),b=x-u/o;u<=o?b>=G&&e.interactivity.status===B&&(this._hoverBubbleSize(t,b),this._hoverBubbleOpacity(t,b),this._hoverBubbleColor(t,b)):this.reset(t),e.interactivity.status===j&&this.reset(t)}},this._hoverBubbleColor=(e,n,o)=>{const s=this.container.actualOptions,t=o??s.interactivity.modes.bubble;if(t){if(!e.bubble.finalColor){const a=t.color;if(!a)return;const u=q(a);e.bubble.finalColor=T(u)}if(e.bubble.finalColor)if(t.mix){e.bubble.color=void 0;const a=e.getFillColor();e.bubble.color=a?H(P(a,e.bubble.finalColor,x-n,n)):e.bubble.finalColor}else e.bubble.color=e.bubble.finalColor}},this._hoverBubbleOpacity=(e,n,o)=>{var c,f;const s=this.container,t=s.actualOptions,a=(o==null?void 0:o.opacity)??((c=t.interactivity.modes.bubble)==null?void 0:c.opacity);if(!a)return;const u=e.options.opacity.value,b=((f=e.opacity)==null?void 0:f.value)??k,l=R(b,a,m(u),n);l!==void 0&&(e.bubble.opacity=l)},this._hoverBubbleSize=(e,n,o)=>{const s=this.container,t=o!=null&&o.size?o.size*s.retina.pixelRatio:s.retina.bubbleModeSize;if(t===void 0)return;const a=m(e.options.size.value)*s.retina.pixelRatio,u=e.size.value,b=R(u,t,a,n);b!==void 0&&(e.bubble.radius=b)},this._process=(e,n,o,s)=>{const t=this.container,a=s.bubbleObj.optValue,u=t.actualOptions,b=u.interactivity.modes.bubble;if(!b||a===void 0)return;const l=b.duration,c=t.retina.bubbleModeDistance,f=s.particlesObj.optValue,d=s.bubbleObj.value,p=s.particlesObj.value??Y,r=s.type;if(!(!c||c{const s=this.container,t=document.querySelectorAll(n),a=s.actualOptions.interactivity.modes.bubble;!a||!t.length||t.forEach(u=>{const b=u,l=s.retina.pixelRatio,c={x:(b.offsetLeft+b.offsetWidth*g)*l,y:(b.offsetTop+b.offsetHeight*g)*l},f=b.offsetWidth*g*l,d=o.type==="circle"?new F(c.x,c.y,f):new I(b.offsetLeft*l,b.offsetTop*l,b.offsetWidth*l,b.offsetHeight*l),p=s.particles.quadTree.query(d,r=>this.isEnabled(r));for(const r of p){if(!d.contains(r.getPosition()))continue;r.bubble.inRange=!0;const M=a.divs,h=w(M,b);(!r.bubble.div||r.bubble.div!==b)&&(this.clear(r,e,!0),r.bubble.div=b),this._hoverBubbleSize(r,z,h),this._hoverBubbleOpacity(r,z,h),this._hoverBubbleColor(r,z,h)}})},i.bubble||(i.bubble={}),this.handleClickMode=e=>{e===v&&(i.bubble||(i.bubble={}),i.bubble.clicking=!0)}}clear(i,e,n){i.bubble.inRange&&!n||(delete i.bubble.div,delete i.bubble.opacity,delete i.bubble.radius,delete i.bubble.color)}init(){const i=this.container,e=i.actualOptions.interactivity.modes.bubble;e&&(i.retina.bubbleModeDistance=e.distance*i.retina.pixelRatio,e.size!==void 0&&(i.retina.bubbleModeSize=e.size*i.retina.pixelRatio))}interact(i){const e=this.container.actualOptions,n=e.interactivity.events,o=n.onHover,s=n.onClick,t=o.enable,a=o.mode,u=s.enable,b=s.mode,l=n.onDiv;t&&O(v,a)?this._hoverBubble():u&&O(v,b)?this._clickBubble():L(v,l,(c,f)=>this._singleSelectorHover(i,c,f))}isEnabled(i){const e=this.container,n=e.actualOptions,o=e.interactivity.mouse,s=((i==null?void 0:i.interactivity)??n.interactivity).events,{onClick:t,onDiv:a,onHover:u}=s,b=W(v,a);return b||u.enable&&o.position||t.enable&&o.clickPosition?O(v,u.mode)||O(v,t.mode)||b:!1}loadModeOptions(i,...e){i.bubble||(i.bubble=new S);for(const n of e)i.bubble.load(n==null?void 0:n.bubble)}reset(i){i.bubble.inRange=!1}}export{$ as Bubbler}; +import{Bubble as S}from"./index-CLuVHlD1.js";import{L as _,K as E,q as D,a3 as m,t as B,C as j,Q as q,r as T,a4 as H,a5 as P,a6 as w,S as O,Y as L,a2 as W}from"./index-CgAHdhFx.js";import{E as A}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as F,R as I}from"./Ranges-Bq4zSnBQ.js";import"./OptionsColor-D4_II_Ky.js";function R(y,i,e,n){if(i>=e){const o=y+(i-e)*n;return _(o,y,i)}else if(i{var b;const e=this.container,n=e.actualOptions,o=e.interactivity.mouse.clickPosition,s=n.interactivity.modes.bubble;if(!s||!o)return;e.bubble||(e.bubble={});const t=e.retina.bubbleModeDistance;if(!t||tthis.isEnabled(l)),{bubble:u}=e;for(const l of a){if(!u.clicking)continue;l.bubble.inRange=!u.durationEnd;const c=l.getPosition(),f=E(c,o),d=(new Date().getTime()-(e.interactivity.mouse.clickTime??K))/D;d>s.duration&&(u.durationEnd=!0),d>s.duration*Q&&(u.clicking=!1,u.durationEnd=!1);const p={bubbleObj:{optValue:e.retina.bubbleModeSize,value:l.bubble.radius},particlesObj:{optValue:m(l.options.size.value)*e.retina.pixelRatio,value:l.size.value},type:"size"};this._process(l,f,d,p);const r={bubbleObj:{optValue:s.opacity,value:l.bubble.opacity},particlesObj:{optValue:m(l.options.opacity.value),value:((b=l.opacity)==null?void 0:b.value)??k},type:"opacity"};this._process(l,f,d,r),!u.durationEnd&&f<=t?this._hoverBubbleColor(l,f):delete l.bubble.color}},this._hoverBubble=()=>{const e=this.container,n=e.interactivity.mouse.position,o=e.retina.bubbleModeDistance;if(!o||othis.isEnabled(t));for(const t of s){t.bubble.inRange=!0;const a=t.getPosition(),u=E(a,n),b=x-u/o;u<=o?b>=G&&e.interactivity.status===B&&(this._hoverBubbleSize(t,b),this._hoverBubbleOpacity(t,b),this._hoverBubbleColor(t,b)):this.reset(t),e.interactivity.status===j&&this.reset(t)}},this._hoverBubbleColor=(e,n,o)=>{const s=this.container.actualOptions,t=o??s.interactivity.modes.bubble;if(t){if(!e.bubble.finalColor){const a=t.color;if(!a)return;const u=q(a);e.bubble.finalColor=T(u)}if(e.bubble.finalColor)if(t.mix){e.bubble.color=void 0;const a=e.getFillColor();e.bubble.color=a?H(P(a,e.bubble.finalColor,x-n,n)):e.bubble.finalColor}else e.bubble.color=e.bubble.finalColor}},this._hoverBubbleOpacity=(e,n,o)=>{var c,f;const s=this.container,t=s.actualOptions,a=(o==null?void 0:o.opacity)??((c=t.interactivity.modes.bubble)==null?void 0:c.opacity);if(!a)return;const u=e.options.opacity.value,b=((f=e.opacity)==null?void 0:f.value)??k,l=R(b,a,m(u),n);l!==void 0&&(e.bubble.opacity=l)},this._hoverBubbleSize=(e,n,o)=>{const s=this.container,t=o!=null&&o.size?o.size*s.retina.pixelRatio:s.retina.bubbleModeSize;if(t===void 0)return;const a=m(e.options.size.value)*s.retina.pixelRatio,u=e.size.value,b=R(u,t,a,n);b!==void 0&&(e.bubble.radius=b)},this._process=(e,n,o,s)=>{const t=this.container,a=s.bubbleObj.optValue,u=t.actualOptions,b=u.interactivity.modes.bubble;if(!b||a===void 0)return;const l=b.duration,c=t.retina.bubbleModeDistance,f=s.particlesObj.optValue,d=s.bubbleObj.value,p=s.particlesObj.value??Y,r=s.type;if(!(!c||c{const s=this.container,t=document.querySelectorAll(n),a=s.actualOptions.interactivity.modes.bubble;!a||!t.length||t.forEach(u=>{const b=u,l=s.retina.pixelRatio,c={x:(b.offsetLeft+b.offsetWidth*g)*l,y:(b.offsetTop+b.offsetHeight*g)*l},f=b.offsetWidth*g*l,d=o.type==="circle"?new F(c.x,c.y,f):new I(b.offsetLeft*l,b.offsetTop*l,b.offsetWidth*l,b.offsetHeight*l),p=s.particles.quadTree.query(d,r=>this.isEnabled(r));for(const r of p){if(!d.contains(r.getPosition()))continue;r.bubble.inRange=!0;const M=a.divs,h=w(M,b);(!r.bubble.div||r.bubble.div!==b)&&(this.clear(r,e,!0),r.bubble.div=b),this._hoverBubbleSize(r,z,h),this._hoverBubbleOpacity(r,z,h),this._hoverBubbleColor(r,z,h)}})},i.bubble||(i.bubble={}),this.handleClickMode=e=>{e===v&&(i.bubble||(i.bubble={}),i.bubble.clicking=!0)}}clear(i,e,n){i.bubble.inRange&&!n||(delete i.bubble.div,delete i.bubble.opacity,delete i.bubble.radius,delete i.bubble.color)}init(){const i=this.container,e=i.actualOptions.interactivity.modes.bubble;e&&(i.retina.bubbleModeDistance=e.distance*i.retina.pixelRatio,e.size!==void 0&&(i.retina.bubbleModeSize=e.size*i.retina.pixelRatio))}interact(i){const e=this.container.actualOptions,n=e.interactivity.events,o=n.onHover,s=n.onClick,t=o.enable,a=o.mode,u=s.enable,b=s.mode,l=n.onDiv;t&&O(v,a)?this._hoverBubble():u&&O(v,b)?this._clickBubble():L(v,l,(c,f)=>this._singleSelectorHover(i,c,f))}isEnabled(i){const e=this.container,n=e.actualOptions,o=e.interactivity.mouse,s=((i==null?void 0:i.interactivity)??n.interactivity).events,{onClick:t,onDiv:a,onHover:u}=s,b=W(v,a);return b||u.enable&&o.position||t.enable&&o.clickPosition?O(v,u.mode)||O(v,t.mode)||b:!1}loadModeOptions(i,...e){i.bubble||(i.bubble=new S);for(const n of e)i.bubble.load(n==null?void 0:n.bubble)}reset(i){i.bubble.inRange=!1}}export{$ as Bubbler}; diff --git a/dist/assets/CanvasUtils-Bhok4vf-.js b/dist/assets/CanvasUtils-CXWEKbNF.js similarity index 97% rename from dist/assets/CanvasUtils-Bhok4vf-.js rename to dist/assets/CanvasUtils-CXWEKbNF.js index d7e7d0e..37a0c9f 100644 --- a/dist/assets/CanvasUtils-Bhok4vf-.js +++ b/dist/assets/CanvasUtils-CXWEKbNF.js @@ -1 +1 @@ -import{n as P}from"./index-CIovSKpD.js";const c={x:0,y:0};function W(r,t,a){r.beginPath(),r.moveTo(t.x,t.y),r.lineTo(a.x,a.y),r.closePath()}function T(r,t,a){r.fillStyle=a??"rgba(0,0,0,0)",r.fillRect(c.x,c.y,t.width,t.height)}function A(r,t,a,e){a&&(r.globalAlpha=e,r.drawImage(a,c.x,c.y,t.width,t.height),r.globalAlpha=1)}function O(r,t){r.clearRect(c.x,c.y,t.width,t.height)}function v(r){const{container:t,context:a,particle:e,delta:s,colorStyles:i,backgroundMask:n,composite:l,radius:o,opacity:u,shadow:f,transform:h}=r,m=e.getPosition(),x=0,y=e.rotation+(e.pathRotation?e.velocity.angle:x),p={sin:Math.sin(y),cos:Math.cos(y)},w=1,d={a:p.cos*(h.a??w),b:p.sin*(h.b??w),c:-p.sin*(h.c??w),d:p.cos*(h.d??w)};a.setTransform(d.a,d.b,d.c,d.d,m.x,m.y),n&&(a.globalCompositeOperation=l);const D=e.shadowColor;f.enable&&D&&(a.shadowBlur=f.blur,a.shadowColor=P(D),a.shadowOffsetX=f.offset.x,a.shadowOffsetY=f.offset.y),i.fill&&(a.fillStyle=i.fill);const k=0,b=e.strokeWidth??k;a.lineWidth=b,i.stroke&&(a.strokeStyle=i.stroke);const g={container:t,context:a,particle:e,radius:o,opacity:u,delta:s,transformData:d,strokeWidth:b};S(g),C(g),R(g),a.globalCompositeOperation="source-over",a.resetTransform()}function R(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,transformData:l}=r;if(!e.effect)return;const o=t.effectDrawers.get(e.effect);o&&o.draw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...l}})}function S(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,strokeWidth:l,transformData:o}=r,u=0;if(!e.shape)return;const f=t.shapeDrawers.get(e.shape);f&&(a.beginPath(),f.draw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...o}}),e.shapeClose&&a.closePath(),l>u&&a.stroke(),e.shapeFill&&a.fill())}function C(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,transformData:l}=r;if(!e.shape)return;const o=t.shapeDrawers.get(e.shape);o!=null&&o.afterDraw&&o.afterDraw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...l}})}function M(r,t,a){t.draw&&t.draw(r,a)}function B(r,t,a,e){t.drawParticle&&t.drawParticle(r,a,e)}function I(r,t,a){return{h:r.h,s:r.s,l:r.l+(t==="darken"?-1:1)*a}}export{A as a,B as b,O as c,v as d,M as e,I as f,W as g,T as p}; +import{n as P}from"./index-CgAHdhFx.js";const c={x:0,y:0};function W(r,t,a){r.beginPath(),r.moveTo(t.x,t.y),r.lineTo(a.x,a.y),r.closePath()}function T(r,t,a){r.fillStyle=a??"rgba(0,0,0,0)",r.fillRect(c.x,c.y,t.width,t.height)}function A(r,t,a,e){a&&(r.globalAlpha=e,r.drawImage(a,c.x,c.y,t.width,t.height),r.globalAlpha=1)}function O(r,t){r.clearRect(c.x,c.y,t.width,t.height)}function v(r){const{container:t,context:a,particle:e,delta:s,colorStyles:i,backgroundMask:n,composite:l,radius:o,opacity:u,shadow:f,transform:h}=r,m=e.getPosition(),x=0,y=e.rotation+(e.pathRotation?e.velocity.angle:x),p={sin:Math.sin(y),cos:Math.cos(y)},w=1,d={a:p.cos*(h.a??w),b:p.sin*(h.b??w),c:-p.sin*(h.c??w),d:p.cos*(h.d??w)};a.setTransform(d.a,d.b,d.c,d.d,m.x,m.y),n&&(a.globalCompositeOperation=l);const D=e.shadowColor;f.enable&&D&&(a.shadowBlur=f.blur,a.shadowColor=P(D),a.shadowOffsetX=f.offset.x,a.shadowOffsetY=f.offset.y),i.fill&&(a.fillStyle=i.fill);const k=0,b=e.strokeWidth??k;a.lineWidth=b,i.stroke&&(a.strokeStyle=i.stroke);const g={container:t,context:a,particle:e,radius:o,opacity:u,delta:s,transformData:d,strokeWidth:b};S(g),C(g),R(g),a.globalCompositeOperation="source-over",a.resetTransform()}function R(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,transformData:l}=r;if(!e.effect)return;const o=t.effectDrawers.get(e.effect);o&&o.draw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...l}})}function S(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,strokeWidth:l,transformData:o}=r,u=0;if(!e.shape)return;const f=t.shapeDrawers.get(e.shape);f&&(a.beginPath(),f.draw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...o}}),e.shapeClose&&a.closePath(),l>u&&a.stroke(),e.shapeFill&&a.fill())}function C(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,transformData:l}=r;if(!e.shape)return;const o=t.shapeDrawers.get(e.shape);o!=null&&o.afterDraw&&o.afterDraw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...l}})}function M(r,t,a){t.draw&&t.draw(r,a)}function B(r,t,a,e){t.drawParticle&&t.drawParticle(r,a,e)}function I(r,t,a){return{h:r.h,s:r.s,l:r.l+(t==="darken"?-1:1)*a}}export{A as a,B as b,O as c,v as d,M as e,I as f,W as g,T as p}; diff --git a/dist/assets/CircleDrawer-BJGDWPDR.js b/dist/assets/CircleDrawer-D0Dgqoh5.js similarity index 86% rename from dist/assets/CircleDrawer-BJGDWPDR.js rename to dist/assets/CircleDrawer-D0Dgqoh5.js index 5d30056..2a44ce8 100644 --- a/dist/assets/CircleDrawer-BJGDWPDR.js +++ b/dist/assets/CircleDrawer-D0Dgqoh5.js @@ -1 +1 @@ -import{j as m,G as c}from"./index-CIovSKpD.js";const o=2,s=Math.PI*o,g=0,t={x:0,y:0};function x(r){const{context:i,particle:e,radius:a}=r;e.circleRange||(e.circleRange={min:g,max:s});const n=e.circleRange;i.arc(t.x,t.y,a,n.min,n.max,!1)}const d=12,u=360,l=0;class f{draw(i){x(i)}getSidesCount(){return d}particleInit(i,e){const a=e.shapeData,n=(a==null?void 0:a.angle)??{max:u,min:l};e.circleRange=m(n)?{min:c(n.min),max:c(n.max)}:{min:l,max:c(n)}}}export{f as CircleDrawer}; +import{j as m,G as c}from"./index-CgAHdhFx.js";const o=2,s=Math.PI*o,g=0,t={x:0,y:0};function x(r){const{context:i,particle:e,radius:a}=r;e.circleRange||(e.circleRange={min:g,max:s});const n=e.circleRange;i.arc(t.x,t.y,a,n.min,n.max,!1)}const d=12,u=360,l=0;class f{draw(i){x(i)}getSidesCount(){return d}particleInit(i,e){const a=e.shapeData,n=(a==null?void 0:a.angle)??{max:u,min:l};e.circleRange=m(n)?{min:c(n.min),max:c(n.max)}:{min:l,max:c(n)}}}export{f as CircleDrawer}; diff --git a/dist/assets/Collider-BxywZFcw.js b/dist/assets/Collider-BG54Z9WI.js similarity index 96% rename from dist/assets/Collider-BxywZFcw.js rename to dist/assets/Collider-BG54Z9WI.js index 26e8181..e31ba5c 100644 --- a/dist/assets/Collider-BxywZFcw.js +++ b/dist/assets/Collider-BG54Z9WI.js @@ -1 +1 @@ -import{L as R,Z as m,$ as l,H as h,K as x}from"./index-CIovSKpD.js";import{P}from"./ParticlesInteractorBase-vfDeBun3.js";const M=.5,v=10,S=0;function u(e,i,n,t,o,s){const d=R(e.options.collisions.absorb.speed*o.factor/v,S,t);e.size.value+=d*M,n.size.value-=d,t<=s&&(n.size.value=0,n.destroy())}function k(e,i,n,t){const o=e.getRadius(),s=i.getRadius();o===void 0&&s!==void 0?e.destroy():o!==void 0&&s===void 0?i.destroy():o!==void 0&&s!==void 0&&(o>=s?u(e,o,i,s,n,t):u(i,s,e,o,n,t))}const f=e=>{e.collisionMaxSpeed===void 0&&(e.collisionMaxSpeed=h(e.options.collisions.maxSpeed)),e.velocity.length>e.collisionMaxSpeed&&(e.velocity.length=e.collisionMaxSpeed)};function b(e,i){m(l(e),l(i)),f(e),f(i)}function z(e,i){!e.unbreakable&&!i.unbreakable&&b(e,i),e.getRadius()===void 0&&i.getRadius()!==void 0?e.destroy():e.getRadius()!==void 0&&i.getRadius()===void 0?i.destroy():e.getRadius()!==void 0&&i.getRadius()!==void 0&&(e.getRadius()>=i.getRadius()?i:e).destroy()}function B(e,i,n,t){switch(e.options.collisions.mode){case"absorb":{k(e,i,n,t);break}case"bounce":{b(e,i);break}case"destroy":{z(e,i);break}}}const q=2;class F extends P{constructor(i){super(i)}clear(){}init(){}interact(i,n){if(i.destroyed||i.spawning)return;const t=this.container,o=i.getPosition(),s=i.getRadius(),d=t.particles.quadTree.queryCircle(o,s*q);for(const a of d){if(i===a||!a.options.collisions.enable||i.options.collisions.mode!==a.options.collisions.mode||a.destroyed||a.spawning)continue;const r=a.getPosition(),c=a.getRadius();if(Math.abs(Math.round(o.z)-Math.round(r.z))>s+c)continue;const g=x(o,r),y=s+c;g>y||B(i,a,n,t.retina.pixelRatio)}}isEnabled(i){return i.options.collisions.enable}reset(){}}export{F as Collider}; +import{L as R,Z as m,$ as l,H as h,K as x}from"./index-CgAHdhFx.js";import{P}from"./ParticlesInteractorBase-vfDeBun3.js";const M=.5,v=10,S=0;function u(e,i,n,t,o,s){const d=R(e.options.collisions.absorb.speed*o.factor/v,S,t);e.size.value+=d*M,n.size.value-=d,t<=s&&(n.size.value=0,n.destroy())}function k(e,i,n,t){const o=e.getRadius(),s=i.getRadius();o===void 0&&s!==void 0?e.destroy():o!==void 0&&s===void 0?i.destroy():o!==void 0&&s!==void 0&&(o>=s?u(e,o,i,s,n,t):u(i,s,e,o,n,t))}const f=e=>{e.collisionMaxSpeed===void 0&&(e.collisionMaxSpeed=h(e.options.collisions.maxSpeed)),e.velocity.length>e.collisionMaxSpeed&&(e.velocity.length=e.collisionMaxSpeed)};function b(e,i){m(l(e),l(i)),f(e),f(i)}function z(e,i){!e.unbreakable&&!i.unbreakable&&b(e,i),e.getRadius()===void 0&&i.getRadius()!==void 0?e.destroy():e.getRadius()!==void 0&&i.getRadius()===void 0?i.destroy():e.getRadius()!==void 0&&i.getRadius()!==void 0&&(e.getRadius()>=i.getRadius()?i:e).destroy()}function B(e,i,n,t){switch(e.options.collisions.mode){case"absorb":{k(e,i,n,t);break}case"bounce":{b(e,i);break}case"destroy":{z(e,i);break}}}const q=2;class F extends P{constructor(i){super(i)}clear(){}init(){}interact(i,n){if(i.destroyed||i.spawning)return;const t=this.container,o=i.getPosition(),s=i.getRadius(),d=t.particles.quadTree.queryCircle(o,s*q);for(const a of d){if(i===a||!a.options.collisions.enable||i.options.collisions.mode!==a.options.collisions.mode||a.destroyed||a.spawning)continue;const r=a.getPosition(),c=a.getRadius();if(Math.abs(Math.round(o.z)-Math.round(r.z))>s+c)continue;const g=x(o,r),y=s+c;g>y||B(i,a,n,t.retina.pixelRatio)}}isEnabled(i){return i.options.collisions.enable}reset(){}}export{F as Collider}; diff --git a/dist/assets/ColorUpdater-D6gs7tCA.js b/dist/assets/ColorUpdater-DG1hP2o-.js similarity index 88% rename from dist/assets/ColorUpdater-D6gs7tCA.js rename to dist/assets/ColorUpdater-DG1hP2o-.js index 1dd85b8..051e440 100644 --- a/dist/assets/ColorUpdater-D6gs7tCA.js +++ b/dist/assets/ColorUpdater-DG1hP2o-.js @@ -1 +1 @@ -import{r as a,ac as t,ad as d}from"./index-CIovSKpD.js";class u{constructor(n){this.container=n}init(n){const e=a(n.options.color,n.id,n.options.reduceDuplicates);e&&(n.color=t(e,n.options.color.animation,this.container.retina.reduceFactor))}isEnabled(n){const{h:e,s:i,l:s}=n.options.color.animation,{color:o}=n;return!n.destroyed&&!n.spawning&&((o==null?void 0:o.h.value)!==void 0&&e.enable||(o==null?void 0:o.s.value)!==void 0&&i.enable||(o==null?void 0:o.l.value)!==void 0&&s.enable)}update(n,e){d(n.color,e)}}export{u as ColorUpdater}; +import{r as a,ac as t,ad as d}from"./index-CgAHdhFx.js";class u{constructor(n){this.container=n}init(n){const e=a(n.options.color,n.id,n.options.reduceDuplicates);e&&(n.color=t(e,n.options.color.animation,this.container.retina.reduceFactor))}isEnabled(n){const{h:e,s:i,l:s}=n.options.color.animation,{color:o}=n;return!n.destroyed&&!n.spawning&&((o==null?void 0:o.h.value)!==void 0&&e.enable||(o==null?void 0:o.s.value)!==void 0&&i.enable||(o==null?void 0:o.l.value)!==void 0&&s.enable)}update(n,e){d(n.color,e)}}export{u as ColorUpdater}; diff --git a/dist/assets/Connector-D1Il0HlT.js b/dist/assets/Connector-BBsWcqAt.js similarity index 90% rename from dist/assets/Connector-D1Il0HlT.js rename to dist/assets/Connector-BBsWcqAt.js index f73a791..5b7cb86 100644 --- a/dist/assets/Connector-D1Il0HlT.js +++ b/dist/assets/Connector-BBsWcqAt.js @@ -1 +1 @@ -import{Connect as x}from"./index-CKskvlcg.js";import{g as C}from"./CanvasUtils-Bhok4vf-.js";import{a5 as R,g as m,L as P,n as S,S as O}from"./index-CIovSKpD.js";import{E as k}from"./ExternalInteractorBase-CIi3zRdK.js";const y=0,v=1,w=0;function D(i,t,n,o){const e=Math.floor(n.getRadius()/t.getRadius()),s=t.getFillColor(),a=n.getFillColor();if(!s||!a)return;const d=t.getPosition(),r=n.getPosition(),l=R(s,a,t.getRadius(),n.getRadius()),c=i.createLinearGradient(d.x,d.y,r.x,r.y);return c.addColorStop(y,m(s,o)),c.addColorStop(P(e,y,v),S(l,o)),c.addColorStop(v,m(a,o)),c}function E(i,t,n,o,e){C(i,o,e),i.lineWidth=t,i.strokeStyle=n,i.stroke()}function L(i,t,n,o){const e=i.actualOptions,s=e.interactivity.modes.connect;if(s)return D(t,n,o,s.links.opacity)}function F(i,t,n){i.canvas.draw(o=>{const e=L(i,o,t,n);if(!e)return;const s=t.getPosition(),a=n.getPosition();E(o,t.retina.linksWidth??w,e,s,a)})}const H="connect",M=0;class B extends k{constructor(t){super(t)}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.connect;n&&(t.retina.connectModeDistance=n.distance*t.retina.pixelRatio,t.retina.connectModeRadius=n.radius*t.retina.pixelRatio)}interact(){const t=this.container;if(t.actualOptions.interactivity.events.onHover.enable&&t.interactivity.status==="pointermove"){const o=t.interactivity.mouse.position,{connectModeDistance:e,connectModeRadius:s}=t.retina;if(!e||ethis.isEnabled(r));d.forEach((r,l)=>{const c=r.getPosition(),p=1;for(const u of d.slice(l+p)){const f=u.getPosition(),g=Math.abs(e),h=Math.abs(c.x-f.x),b=Math.abs(c.y-f.y);h{const e=L(i,o,t,n);if(!e)return;const s=t.getPosition(),a=n.getPosition();E(o,t.retina.linksWidth??w,e,s,a)})}const H="connect",M=0;class B extends k{constructor(t){super(t)}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.connect;n&&(t.retina.connectModeDistance=n.distance*t.retina.pixelRatio,t.retina.connectModeRadius=n.radius*t.retina.pixelRatio)}interact(){const t=this.container;if(t.actualOptions.interactivity.events.onHover.enable&&t.interactivity.status==="pointermove"){const o=t.interactivity.mouse.position,{connectModeDistance:e,connectModeRadius:s}=t.retina;if(!e||ethis.isEnabled(r));d.forEach((r,l)=>{const c=r.getPosition(),p=1;for(const u of d.slice(l+p)){const f=u.getPosition(),g=Math.abs(e),h=Math.abs(c.x-f.x),b=Math.abs(c.y-f.y);h{const s=new fe;return s.load(i),s})),this.onHover.load(e.onHover),this.resize.load(e.resize)}}class zt{constructor(e,t){this._engine=e,this._container=t}load(e){if(!e||!this._container)return;const t=this._engine.interactors.get(this._container);if(t)for(const i of t)i.loadModeOptions&&i.loadModeOptions(this,e)}}class Me{constructor(e,t){this.detectsOn="window",this.events=new wt,this.modes=new zt(e,t)}load(e){if(!e)return;const t=e.detectsOn;t!==void 0&&(this.detectsOn=t),this.events.load(e.events),this.modes.load(e.modes)}}const de=50;class xt{load(e){e&&(e.position&&(this.position={x:e.position.x??de,y:e.position.y??de,mode:e.position.mode??"percent"}),e.options&&(this.options=w({},e.options)))}}class Ot{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(e){e&&(e.maxWidth!==void 0&&(this.maxWidth=e.maxWidth),e.mode!==void 0&&(e.mode==="screen"?this.mode="screen":this.mode="canvas"),e.options!==void 0&&(this.options=w({},e.options)))}}class Ct{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(e){e&&(e.auto!==void 0&&(this.auto=e.auto),e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Pt{constructor(){this.name="",this.default=new Ct}load(e){e&&(e.name!==void 0&&(this.name=e.name),this.default.load(e.default),e.options!==void 0&&(this.options=w({},e.options)))}}class kt{constructor(){this.speed=2}load(e){e&&e.speed!==void 0&&(this.speed=e.speed)}}class Rt{constructor(){this.enable=!0,this.retries=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.retries!==void 0&&(this.retries=e.retries))}}class pe extends Z{constructor(){super(),this.value=1}}class Ee{constructor(){this.horizontal=new pe,this.vertical=new pe}load(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class St{constructor(){this.absorb=new kt,this.bounce=new Ee,this.enable=!1,this.maxSpeed=50,this.mode="bounce",this.overlap=new Rt}load(e){e&&(this.absorb.load(e.absorb),this.bounce.load(e.bounce),e.enable!==void 0&&(this.enable=e.enable),e.maxSpeed!==void 0&&(this.maxSpeed=b(e.maxSpeed)),e.mode!==void 0&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class Tt{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(e){if(!e)return;const t=e.options;if(t!==void 0)for(const i in t){const s=t[i];s&&(this.options[i]=w(this.options[i]??{},s))}e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class Mt{constructor(){this.offset=0,this.value=90}load(e){e&&(e.offset!==void 0&&(this.offset=b(e.offset)),e.value!==void 0&&(this.value=b(e.value)))}}class Et{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(e){if(e&&(e.distance!==void 0&&(this.distance=b(e.distance)),e.enable!==void 0&&(this.enable=e.enable),e.rotate)){const t=e.rotate.x;t!==void 0&&(this.rotate.x=t);const i=e.rotate.y;i!==void 0&&(this.rotate.y=i)}}}class It{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(e){e&&(e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.mode!==void 0&&(this.mode=e.mode),e.radius!==void 0&&(this.radius=e.radius))}}class Dt{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=b(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.inverse!==void 0&&(this.inverse=e.inverse),e.maxSpeed!==void 0&&(this.maxSpeed=b(e.maxSpeed)))}}class Lt{constructor(){this.clamp=!0,this.delay=new Z,this.enable=!1,this.options={}}load(e){e&&(e.clamp!==void 0&&(this.clamp=e.clamp),this.delay.load(e.delay),e.enable!==void 0&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=w(this.options,e.options)))}}class Ft{load(e){e&&(e.color!==void 0&&(this.color=R.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image))}}class At{constructor(){this.enable=!1,this.length=10,this.fill=new Ft}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.fill!==void 0&&this.fill.load(e.fill),e.length!==void 0&&(this.length=e.length))}}class Vt{constructor(){this.default="out"}load(e){e&&(e.default!==void 0&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}class Bt{constructor(){this.acceleration=0,this.enable=!1}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=b(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.position&&(this.position=w({},e.position)))}}class Ht{constructor(){this.angle=new Mt,this.attract=new Et,this.center=new It,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new Dt,this.path=new Lt,this.outModes=new Vt,this.random=!1,this.size=!1,this.speed=2,this.spin=new Bt,this.straight=!1,this.trail=new At,this.vibrate=!1,this.warp=!1}load(e){if(!e)return;this.angle.load(ie(e.angle)?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),e.decay!==void 0&&(this.decay=b(e.decay)),e.direction!==void 0&&(this.direction=e.direction),e.distance!==void 0&&(this.distance=ie(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),e.drift!==void 0&&(this.drift=b(e.drift)),e.enable!==void 0&&(this.enable=e.enable),this.gravity.load(e.gravity);const t=e.outModes;t!==void 0&&(Fe(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path),e.random!==void 0&&(this.random=e.random),e.size!==void 0&&(this.size=e.size),e.speed!==void 0&&(this.speed=b(e.speed)),this.spin.load(e.spin),e.straight!==void 0&&(this.straight=e.straight),this.trail.load(e.trail),e.vibrate!==void 0&&(this.vibrate=e.vibrate),e.warp!==void 0&&(this.warp=e.warp)}}class Ut extends Se{constructor(){super(),this.destroy="none",this.speed=2}load(e){super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class Wt extends Te{constructor(){super(),this.animation=new Ut,this.value=1}load(e){if(!e)return;super.load(e);const t=e.animation;t!==void 0&&this.animation.load(t)}}class qt{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(e){if(!e)return;e.enable!==void 0&&(this.enable=e.enable);const t=e.width;t!==void 0&&(this.width=t);const i=e.height;i!==void 0&&(this.height=i)}}class Gt{constructor(){this.mode="delete",this.value=0}load(e){e&&(e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Xt{constructor(){this.density=new qt,this.limit=new Gt,this.value=0}load(e){e&&(this.density.load(e.density),this.limit.load(e.limit),e.value!==void 0&&(this.value=e.value))}}class Yt{constructor(){this.blur=0,this.color=new R,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=R.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(e.offset.x!==void 0&&(this.offset.x=e.offset.x),e.offset.y!==void 0&&(this.offset.y=e.offset.y)))}}class Nt{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(e){if(!e)return;const t=e.options;if(t!==void 0)for(const i in t){const s=t[i];s&&(this.options[i]=w(this.options[i]??{},s))}e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class $t extends Se{constructor(){super(),this.destroy="none",this.speed=5}load(e){super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class Zt extends Te{constructor(){super(),this.animation=new $t,this.value=3}load(e){if(super.load(e),!e)return;const t=e.animation;t!==void 0&&this.animation.load(t)}}class me{constructor(){this.width=0}load(e){e&&(e.color!==void 0&&(this.color=F.create(this.color,e.color)),e.width!==void 0&&(this.width=b(e.width)),e.opacity!==void 0&&(this.opacity=b(e.opacity)))}}class jt extends Z{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),e&&(e.opacityRate!==void 0&&(this.opacityRate=e.opacityRate),e.sizeRate!==void 0&&(this.sizeRate=e.sizeRate),e.velocityRate!==void 0&&(this.velocityRate=e.velocityRate))}}class Qt{constructor(e,t){this._engine=e,this._container=t,this.bounce=new Ee,this.collisions=new St,this.color=new F,this.color.value="#fff",this.effect=new Tt,this.groups={},this.move=new Ht,this.number=new Xt,this.opacity=new Wt,this.reduceDuplicates=!1,this.shadow=new Yt,this.shape=new Nt,this.size=new Zt,this.stroke=new me,this.zIndex=new jt}load(e){if(!e)return;if(e.groups!==void 0)for(const i of Object.keys(e.groups)){if(!Object.hasOwn(e.groups,i))continue;const s=e.groups[i];s!==void 0&&(this.groups[i]=w(this.groups[i]??{},s))}e.reduceDuplicates!==void 0&&(this.reduceDuplicates=e.reduceDuplicates),this.bounce.load(e.bounce),this.color.load(F.create(this.color,e.color)),this.effect.load(e.effect),this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex),this.collisions.load(e.collisions),e.interactivity!==void 0&&(this.interactivity=w({},e.interactivity));const t=e.stroke;if(t&&(this.stroke=W(t,i=>{const s=new me;return s.load(i),s})),this._container){const i=this._engine.updaters.get(this._container);if(i)for(const n of i)n.loadOptions&&n.loadOptions(this,e);const s=this._engine.interactors.get(this._container);if(s)for(const n of s)n.loadParticlesOptions&&n.loadParticlesOptions(this,e)}}}function Ie(l,...e){for(const t of e)l.load(t)}function De(l,e,...t){const i=new Qt(l,e);return Ie(i,...t),i}class Jt{constructor(e,t){this._findDefaultTheme=i=>this.themes.find(s=>s.default.value&&s.default.mode===i)??this.themes.find(s=>s.default.value&&s.default.mode==="any"),this._importPreset=i=>{this.load(this._engine.getPreset(i))},this._engine=e,this._container=t,this.autoPlay=!0,this.background=new dt,this.backgroundMask=new mt,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new gt,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new Me(e,t),this.manualParticles=[],this.particles=De(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(e){var r,o;if(!e)return;e.preset!==void 0&&W(e.preset,h=>this._importPreset(h)),e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.clear!==void 0&&(this.clear=e.clear),e.key!==void 0&&(this.key=e.key),e.name!==void 0&&(this.name=e.name),e.delay!==void 0&&(this.delay=b(e.delay));const t=e.detectRetina;t!==void 0&&(this.detectRetina=t),e.duration!==void 0&&(this.duration=b(e.duration));const i=e.fpsLimit;i!==void 0&&(this.fpsLimit=i),e.pauseOnBlur!==void 0&&(this.pauseOnBlur=e.pauseOnBlur),e.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),e.zLayers!==void 0&&(this.zLayers=e.zLayers),this.background.load(e.background);const s=e.fullScreen;Ce(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),e.manualParticles&&(this.manualParticles=e.manualParticles.map(h=>{const a=new xt;return a.load(h),a})),this.particles.load(e.particles),this.style=w(this.style,e.style),this._engine.loadOptions(this,e),e.smooth!==void 0&&(this.smooth=e.smooth);const n=this._engine.interactors.get(this._container);if(n)for(const h of n)h.loadOptions&&h.loadOptions(this,e);if(e.responsive!==void 0)for(const h of e.responsive){const a=new Ot;a.load(h),this.responsive.push(a)}if(this.responsive.sort((h,a)=>h.maxWidth-a.maxWidth),e.themes!==void 0)for(const h of e.themes){const a=this.themes.find(c=>c.name===h.name);if(a)a.load(h);else{const c=new Pt;c.load(h),this.themes.push(c)}}this.defaultThemes.dark=(r=this._findDefaultTheme("dark"))==null?void 0:r.name,this.defaultThemes.light=(o=this._findDefaultTheme("light"))==null?void 0:o.name}setResponsive(e,t,i){this.load(i);const s=this.responsive.find(n=>n.mode==="screen"&&screen?n.maxWidth>screen.availWidth:n.maxWidth*t>e);return this.load(s==null?void 0:s.options),s==null?void 0:s.maxWidth}setTheme(e){if(e){const t=this.themes.find(i=>i.name===e);t&&this.load(t.options)}else{const t=Pe("(prefers-color-scheme: dark)"),i=t&&t.matches,s=this._findDefaultTheme(i?"dark":"light");s&&this.load(s.options)}}}function Kt(l,e,t){const i=e[t],s=1;i!==void 0&&(l[t]=(l[t]??s)*i)}function ge(l,e,t=!1){if(!e)return;const i=l;if(!i)return;const s=i.style;if(s)for(const n in e){const r=e[n];r&&s.setProperty(n,r,t?"important":"")}}class ei{constructor(e){this.container=e,this._applyPostDrawUpdaters=t=>{var i;for(const s of this._postDrawUpdaters)(i=s.afterDraw)==null||i.call(s,t)},this._applyPreDrawUpdaters=(t,i,s,n,r,o)=>{var h;for(const a of this._preDrawUpdaters){if(a.getColorStyles){const{fill:c,stroke:u}=a.getColorStyles(i,t,s,n);c&&(r.fill=c),u&&(r.stroke=u)}if(a.getTransformValues){const c=a.getTransformValues(i);for(const u in c)Kt(o,c,u)}(h=a.beforeDraw)==null||h.call(a,i)}},this._applyResizePlugins=()=>{var t;for(const i of this._resizePlugins)(t=i.resize)==null||t.call(i)},this._getPluginParticleColors=t=>{let i,s;for(const n of this._colorPlugins)if(!i&&n.particleFillColor&&(i=se(n.particleFillColor(t))),!s&&n.particleStrokeColor&&(s=se(n.particleStrokeColor(t))),i&&s)break;return[i,s]},this._initCover=async()=>{const t=this.container.actualOptions,i=t.backgroundMask.cover,s=i.color;if(s){const n=V(s);if(n){const r={...n,a:i.opacity};this._coverColorStyle=q(r,r.a)}}else await new Promise((n,r)=>{if(!i.image)return;const o=document.createElement("img");o.addEventListener("load",()=>{this._coverImage={image:o,opacity:i.opacity},n()}),o.addEventListener("error",h=>{r(h.error)}),o.src=i.image})},this._initStyle=()=>{const t=this.element,i=this.container.actualOptions;if(t){this._fullScreen?(this._originalStyle=w({},t.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const s in i.style){if(!s||!i.style)continue;const n=i.style[s];n&&t.style.setProperty(s,n,"important")}}},this._initTrail=async()=>{const t=this.container.actualOptions,i=t.particles.move.trail,s=i.fill;if(!i.enable)return;const n=1,r=n/i.length;if(s.color){const o=V(s.color);if(!o)return;this._trailFill={color:{...o},opacity:r}}else await new Promise((o,h)=>{if(!s.image)return;const a=document.createElement("img");a.addEventListener("load",()=>{this._trailFill={image:a,opacity:r},o()}),a.addEventListener("error",c=>{h(c.error)}),a.src=s.image})},this._paintBase=t=>{this.draw(i=>st(i,this.size,t))},this._paintImage=(t,i)=>{this.draw(s=>nt(s,this.size,t,i))},this._repairStyle=()=>{const t=this.element;t&&(this._safeMutationObserver(i=>i.disconnect()),this._initStyle(),this.initBackground(),this._safeMutationObserver(i=>i.observe(t,{attributes:!0})))},this._resetOriginalStyle=()=>{const t=this.element,i=this._originalStyle;t&&i&&ge(t,i)},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{const t=this.element;if(!t)return;ge(t,{position:"fixed",zIndex:this.container.actualOptions.fullScreen.zIndex.toString(10),top:"0",left:"0",width:"100%",height:"100%"},!0)},this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const e=this.container.actualOptions,t=e.particles.move.trail,i=this._trailFill;e.backgroundMask.enable?this.paint():t.enable&&t.length>0&&i?i.color?this._paintBase(q(i.color,i.opacity)):i.image&&this._paintImage(i.image,i.opacity):e.clear&&this.draw(n=>{G(n,this.size)})}destroy(){if(this.stop(),this._generated){const e=this.element;e==null||e.remove()}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){const t=this._context;if(t)return e(t)}drawAsync(e){const t=this._context;if(t)return e(t)}drawParticle(e,t){if(e.spawning||e.destroyed)return;const i=e.getRadius();if(i<=0)return;const n=e.getFillColor(),r=e.getStrokeColor()??n;let[o,h]=this._getPluginParticleColors(e);o||(o=n),h||(h=r),!(!o&&!h)&&this.draw(a=>{var I;const c=this.container,u=c.actualOptions,f=e.options.zIndex,m=1,d=m-e.zIndexFactor,p=d**f.opacityRate,y=1,C=e.bubble.opacity??((I=e.opacity)==null?void 0:I.value)??y,P=e.strokeOpacity??C,M=C*p,E=P*p,v={},g={fill:o?ne(o,M):void 0};g.stroke=h?ne(h,E):g.fill,this._applyPreDrawUpdaters(a,e,i,M,g,v),ot({container:c,context:a,particle:e,delta:t,colorStyles:g,backgroundMask:u.backgroundMask.enable,composite:u.backgroundMask.composite,radius:i*d**f.sizeRate,opacity:M,shadow:e.options.shadow,transform:v}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,t,i){this.draw(s=>rt(s,e,t,i))}drawPlugin(e,t){this.draw(i=>ht(i,e,t))}async init(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=Ae(e=>{for(const t of e)t.type==="attributes"&&t.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(e){B().error(e)}this.initBackground(),this._safeMutationObserver(e=>{this.element&&e.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions,t=e.background,i=this.element;if(!i)return;const s=i.style;if(s){if(t.color){const n=V(t.color);s.backgroundColor=n?q(n,t.opacity):""}else s.backgroundColor="";s.backgroundImage=t.image||"",s.backgroundPosition=t.position||"",s.backgroundRepeat=t.repeat||"",s.backgroundSize=t.size||""}}initPlugins(){this._resizePlugins=[];for(const[,e]of this.container.plugins)e.resize&&this._resizePlugins.push(e),(e.particleFillColor??e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters)e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles??e.getTransformValues??e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){this._generated&&this.element&&this.element.remove(),this._generated=e.dataset&&oe in e.dataset?e.dataset[oe]==="true":this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=w({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),this._safeMutationObserver(t=>{this.element&&t.observe(this.element,{attributes:!0})}),this.container.retina.init(),this.initBackground()}paint(){const e=this.container.actualOptions;this.draw(t=>{e.backgroundMask.enable&&e.backgroundMask.cover?(G(t,this.size),this._coverImage?this._paintImage(this._coverImage.image,this._coverImage.opacity):this._coverColorStyle?this._paintBase(this._coverColorStyle):this._paintBase()):this._paintBase()})}resize(){if(!this.element)return!1;const e=this.container,t=e.retina.pixelRatio,i=e.canvas.size,s={width:this.element.offsetWidth*t,height:this.element.offsetHeight*t};if(s.height===i.height&&s.width===i.width&&s.height===this.element.height&&s.width===this.element.width)return!1;const n={...i};return this.element.width=i.width=this.element.offsetWidth*t,this.element.height=i.height=this.element.offsetHeight*t,this.container.started&&e.particles.setResizeFactor({width:i.width/n.width,height:i.height/n.height}),!0}stop(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=void 0,this.draw(e=>G(e,this.size))}async windowResize(){if(!this.element||!this.resize())return;const e=this.container,t=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),t&&await e.refresh()}}const _e=2;function O(l,e,t,i,s){if(i){let n={passive:!0};Ce(s)?n.capture=s:s!==void 0&&(n=s),l.addEventListener(e,t,n)}else{const n=s;l.removeEventListener(e,t,n)}}class ti{constructor(e){this.container=e,this._doMouseTouchClick=t=>{const i=this.container,s=i.actualOptions;if(this._canPush){const n=i.interactivity.mouse,r=n.position;if(!r)return;n.clickPosition={...r},n.clickTime=new Date().getTime();const o=s.interactivity.events.onClick;W(o.mode,h=>this.container.handleClickMode(h))}t.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),500)},this._handleThemeChange=t=>{const i=t,s=this.container,n=s.options,r=n.defaultThemes,o=i.matches?r.dark:r.light,h=n.themes.find(a=>a.name===o);h&&h.default.auto&&s.loadTheme(o)},this._handleVisibilityChange=()=>{const t=this.container,i=t.actualOptions;this._mouseTouchFinish(),i.pauseOnBlur&&(document&&document.hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))},this._handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const t=async()=>{const i=this.container.canvas;await(i==null?void 0:i.windowResize())};this._resizeTimeout=setTimeout(()=>void t(),this.container.actualOptions.interactivity.events.resize.delay*k)},this._manageInteractivityListeners=(t,i)=>{const s=this._handlers,n=this.container,r=n.actualOptions,o=n.interactivity.element;if(!o)return;const h=o,a=n.canvas.element;a&&(a.style.pointerEvents=h===a?"initial":"none"),(r.interactivity.events.onHover.enable||r.interactivity.events.onClick.enable)&&(O(o,re,s.mouseMove,i),O(o,Ve,s.touchStart,i),O(o,Be,s.touchMove,i),r.interactivity.events.onClick.enable?(O(o,he,s.touchEndClick,i),O(o,He,s.mouseUp,i),O(o,Ue,s.mouseDown,i)):O(o,he,s.touchEnd,i),O(o,t,s.mouseLeave,i),O(o,We,s.touchCancel,i))},this._manageListeners=t=>{const i=this._handlers,s=this.container,n=s.actualOptions,r=n.interactivity.detectsOn,o=s.canvas.element;let h=ae;r==="window"?(s.interactivity.element=window,h=Xe):r==="parent"&&o?s.interactivity.element=o.parentElement??o.parentNode:s.interactivity.element=o,this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(h,t),document&&O(document,qe,i.visibilityChange,t,!1)},this._manageMediaMatch=t=>{const i=this._handlers,s=Pe("(prefers-color-scheme: dark)");if(s){if(s.addEventListener!==void 0){O(s,"change",i.themeChange,t);return}s.addListener!==void 0&&(t?s.addListener(i.oldThemeChange):s.removeListener(i.oldThemeChange))}},this._manageResize=t=>{const i=this._handlers,s=this.container;if(!s.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){O(window,Ge,i.resize,t);return}const r=s.canvas.element;this._resizeObserver&&!t?(r&&this._resizeObserver.unobserve(r),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&r&&(this._resizeObserver=new ResizeObserver(o=>{o.find(a=>a.target===r)&&this._handleWindowResize()}),this._resizeObserver.observe(r))},this._mouseDown=()=>{const{interactivity:t}=this.container;if(!t)return;const{mouse:i}=t;i.clicking=!0,i.downPosition=i.position},this._mouseTouchClick=t=>{const i=this.container,s=i.actualOptions,{mouse:n}=i.interactivity;n.inside=!0;let r=!1;const o=n.position;if(!(!o||!s.interactivity.events.onClick.enable)){for(const[,h]of i.plugins)if(h.clickPositionValid&&(r=h.clickPositionValid(o),r))break;r||this._doMouseTouchClick(t),n.clicking=!1}},this._mouseTouchFinish=()=>{const t=this.container.interactivity;if(!t)return;const i=t.mouse;delete i.position,delete i.clickPosition,delete i.downPosition,t.status=ae,i.inside=!1,i.clicking=!1},this._mouseTouchMove=t=>{const i=this.container,s=i.actualOptions,n=i.interactivity,r=i.canvas.element;if(!(n!=null&&n.element))return;n.mouse.inside=!0;let o;if(t.type.startsWith("pointer")){this._canPush=!0;const a=t;if(n.element===window){if(r){const c=r.getBoundingClientRect();o={x:a.clientX-c.left,y:a.clientY-c.top}}}else if(s.interactivity.detectsOn==="parent"){const c=a.target,u=a.currentTarget;if(c&&u&&r){const f=c.getBoundingClientRect(),m=u.getBoundingClientRect(),d=r.getBoundingClientRect();o={x:a.offsetX+_e*f.left-(m.left+d.left),y:a.offsetY+_e*f.top-(m.top+d.top)}}else o={x:a.offsetX??a.clientX,y:a.offsetY??a.clientY}}else a.target===r&&(o={x:a.offsetX??a.clientX,y:a.offsetY??a.clientY})}else if(this._canPush=t.type!=="touchmove",r){const a=t,c=1,u=a.touches[a.touches.length-c],f=r.getBoundingClientRect(),m=0;o={x:u.clientX-(f.left??m),y:u.clientY-(f.top??m)}}const h=i.retina.pixelRatio;o&&(o.x*=h,o.y*=h),n.mouse.position=o,n.status=re},this._touchEnd=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.delete(n.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.delete(n.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.set(n.identifier,performance.now());this._mouseTouchMove(t)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:t=>this._mouseTouchMove(t),mouseUp:t=>this._mouseTouchClick(t),touchStart:t=>this._touchStart(t),touchMove:t=>this._mouseTouchMove(t),touchEnd:t=>this._touchEnd(t),touchCancel:t=>this._touchEnd(t),touchEndClick:t=>this._touchEndClick(t),visibilityChange:()=>this._handleVisibilityChange(),themeChange:t=>this._handleThemeChange(t),oldThemeChange:t=>this._handleThemeChange(t),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}class ii{constructor(e,t){this.container=t,this._engine=e,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(e){for(const t of this._externalInteractors)t.isEnabled()&&t.interact(e)}handleClickMode(e){var t;for(const i of this._externalInteractors)(t=i.handleClickMode)==null||t.call(i,e)}async init(){this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[];for(const e of this._interactors){switch(e.type){case"external":this._externalInteractors.push(e);break;case"particles":this._particleInteractors.push(e);break}e.init()}}particlesInteract(e,t){for(const i of this._externalInteractors)i.clear(e,t);for(const i of this._particleInteractors)i.isEnabled(e)&&i.interact(e,t)}reset(e){for(const t of this._externalInteractors)t.isEnabled()&&t.reset(e);for(const t of this._particleInteractors)t.isEnabled(e)&&t.reset(e)}}const ye=0,$=2,A=.5,si=2;function ni(l,e,t,i){const s=e.options[l];if(s)return w({close:e.close,fill:e.fill},T(s,t,i))}function oi(l,e,t,i){const s=e.options[l];if(s)return w({close:e.close,fill:e.fill},T(s,t,i))}function ve(l){if(!et(l.outMode,l.checkModes))return;const e=l.radius*$;l.coord>l.maxCoord-e?l.setCb(-l.radius):l.coord{for(const[,d]of i.plugins){const p=d.particlePosition!==void 0?d.particlePosition(s,this):void 0;if(p)return le.create(p.x,p.y,n)}const o=i.canvas.size,h=Ye({size:o,position:s}),a=le.create(h.x,h.y,n),c=this.getRadius(),u=this.options.move.outModes,f=d=>{ve({outMode:d,checkModes:["bounce"],coord:a.x,maxCoord:i.canvas.size.width,setCb:p=>a.x+=p,radius:c})},m=d=>{ve({outMode:d,checkModes:["bounce"],coord:a.y,maxCoord:i.canvas.size.height,setCb:p=>a.y+=p,radius:c})};return f(u.left??u.default),f(u.right??u.default),m(u.top??u.default),m(u.bottom??u.default),this._checkOverlap(a,r)?this._calcPosition(i,void 0,n,r+1):a},this._calculateVelocity=()=>{const i=Ne(this.direction),s=i.copy(),n=this.options.move;if(n.direction==="inside"||n.direction==="outside")return s;const r=ce(x(n.angle.value)),o=ce(x(n.angle.offset)),h={left:o-r*A,right:o+r*A};return n.straight||(s.angle+=$e(b(h.left,h.right))),n.random&&typeof n.speed=="number"&&(s.length*=Ze()),s},this._checkOverlap=(i,s=ye)=>{const n=this.options.collisions,r=this.getRadius();if(!n.enable)return!1;const o=n.overlap;if(o.enable)return!1;const h=o.retries;if(h>=0&&s>h)throw new Error(`${H} particle is overlapping and can't be placed`);return!!this.container.particles.find(c=>ke(i,c.position){if(!i||!this.roll||!this.backColor&&!this.roll.alter)return i;const s=1,n=0,r=this.roll.horizontal&&this.roll.vertical?$*s:s,o=this.roll.horizontal?Math.PI*A:n;return Math.floor(((this.roll.angle??n)+o)/(Math.PI/r))%$?this.backColor?this.backColor:this.roll.alter?at(i,this.roll.alter.type,this.roll.alter.value):i:i},this._initPosition=i=>{const s=this.container,n=x(this.options.zIndex.value),r=0;this.position=this._calcPosition(s,i,je(n,r,s.zLayers)),this.initialPosition=this.position.copy();const o=s.canvas.size,h=0;switch(this.moveCenter={...Re(this.options.move.center,o),radius:this.options.move.center.radius??h,mode:this.options.move.center.mode??"percent"},this.direction=Qe(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside";break}this.offset=Je.origin},this._engine=e}destroy(e){var n,r,o;if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const t=this.container,i=this.pathGenerator,s=t.shapeDrawers.get(this.shape);(n=s==null?void 0:s.particleDestroy)==null||n.call(s,this);for(const[,h]of t.plugins)(r=h.particleDestroyed)==null||r.call(h,this,e);for(const h of t.particles.updaters)(o=h.particleDestroyed)==null||o.call(h,this,e);i==null||i.reset(this),this._engine.dispatchEvent("particleDestroyed",{container:this.container,data:{particle:this}})}draw(e){const t=this.container,i=t.canvas;for(const[,s]of t.plugins)i.drawParticlePlugin(s,this,e);i.drawParticle(this,e)}getFillColor(){return this._getRollColor(this.bubble.color??ue(this.color))}getMass(){return this.getRadius()**si*Math.PI*A}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??ue(this.strokeColor))}init(e,t,i,s){var j,Q,J,K,ee,te;const n=this.container,r=this._engine;this.id=e,this.group=s,this.effectClose=!0,this.effectFill=!0,this.shapeClose=!0,this.shapeFill=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;const o=n.retina.pixelRatio,h=n.actualOptions,a=De(this._engine,n,h.particles),c=a.effect.type,u=a.shape.type,{reduceDuplicates:f}=a;this.effect=T(c,this.id,f),this.shape=T(u,this.id,f);const m=a.effect,d=a.shape;if(i){if((j=i.effect)!=null&&j.type){const z=i.effect.type,D=T(z,this.id,f);D&&(this.effect=D,m.load(i.effect))}if((Q=i.shape)!=null&&Q.type){const z=i.shape.type,D=T(z,this.id,f);D&&(this.shape=D,d.load(i.shape))}}this.effectData=ni(this.effect,m,this.id,f),this.shapeData=oi(this.shape,d,this.id,f),a.load(i);const p=this.effectData;p&&a.load(p.particles);const y=this.shapeData;y&&a.load(y.particles);const C=new Me(r,n);C.load(n.actualOptions.interactivity),C.load(a.interactivity),this.interactivity=C,this.effectFill=(p==null?void 0:p.fill)??a.effect.fill,this.effectClose=(p==null?void 0:p.close)??a.effect.close,this.shapeFill=(y==null?void 0:y.fill)??a.shape.fill,this.shapeClose=(y==null?void 0:y.close)??a.shape.close,this.options=a;const P=this.options.move.path;this.pathDelay=x(P.delay.value)*k,P.generator&&(this.pathGenerator=this._engine.getPathGenerator(P.generator),this.pathGenerator&&n.addPath(P.generator,this.pathGenerator)&&this.pathGenerator.init(n)),n.retina.initParticle(this),this.size=Ke(this.options.size,o),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(t),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy();const M=1;this.moveDecay=M-x(this.options.move.decay);const E=n.particles;E.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/n.zLayers,this.sides=24;let v=n.effectDrawers.get(this.effect);v||(v=this._engine.getEffectDrawer(this.effect),v&&n.effectDrawers.set(this.effect,v)),v!=null&&v.loadEffect&&v.loadEffect(this);let g=n.shapeDrawers.get(this.shape);g||(g=this._engine.getShapeDrawer(this.shape),g&&n.shapeDrawers.set(this.shape,g)),g!=null&&g.loadShape&&g.loadShape(this);const I=g==null?void 0:g.getSidesCount;I&&(this.sides=I(this)),this.spawning=!1,this.shadowColor=V(this.options.shadow.color);for(const z of E.updaters)z.init(this);for(const z of E.movers)(J=z.init)==null||J.call(z,this);(K=v==null?void 0:v.particleInit)==null||K.call(v,n,this),(ee=g==null?void 0:g.particleInit)==null||ee.call(g,n,this);for(const[,z]of n.plugins)(te=z.particleCreated)==null||te.call(z,this)}isInsideCanvas(){const e=this.getRadius(),t=this.container.canvas.size,i=this.position;return i.x>=-e&&i.y>=-e&&i.y<=t.height+e&&i.x<=t.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){var e;for(const t of this.container.particles.updaters)(e=t.reset)==null||e.call(t,this)}}const L=.5,hi=2,ai=4;class U{constructor(e,t){this.rectangle=e,this.capacity=t,this._subdivide=()=>{const{x:i,y:s}=this.rectangle.position,{width:n,height:r}=this.rectangle.size,{capacity:o}=this;for(let h=0;ht.insert(e))):!1}query(e,t){const i=[];if(!e.intersects(this.rectangle))return[];for(const s of this._points)!e.contains(s.position)&&ke(e.position,s.position)>s.particle.getRadius()&&(!t||t(s.particle))||i.push(s.particle);if(this._divided)for(const s of this._subs)i.push(...s.query(e,t));return i}queryCircle(e,t,i){return this.query(new ct(e.x,e.y,t),i)}queryRectangle(e,t,i){return this.query(new N(e.x,e.y,t.width,t.height),i)}}const be=4,li=2,ci=1,we=l=>{const{height:e,width:t}=l,i=-.25,s=1.5;return new N(i*t,i*e,s*t,s*e)};class ui{constructor(e,t){this._addToPool=(...s)=>{for(const n of s)this._pool.push(n)},this._applyDensity=(s,n,r)=>{var d;const o=s.number;if(!((d=s.number.density)!=null&&d.enable)){r===void 0?this._limit=o.limit.value:o.limit&&this._groupLimits.set(r,o.limit.value);return}const h=this._initDensityFactor(o.density),a=o.value,c=0,u=o.limit.value>c?o.limit.value:a,f=Math.min(a,u)*h+n,m=Math.min(this.count,this.filter(p=>p.group===r).length);r===void 0?this._limit=o.limit.value*h:this._groupLimits.set(r,o.limit.value*h),mf&&this.removeQuantity(m-f,r)},this._initDensityFactor=s=>{const n=this._container,r=1;if(!n.canvas.element||!s.enable)return r;const o=n.canvas.element,h=n.retina.pixelRatio;return o.width*o.height/(s.height*s.width*h**li)},this._pushParticle=(s,n,r,o)=>{try{let h=this._pool.pop();h||(h=new ri(this._engine,this._container)),h.init(this._nextId,s,n,r);let a=!0;return o&&(a=o(h)),a?(this._array.push(h),this._zArray.push(h),this._nextId++,this._engine.dispatchEvent("particleAdded",{container:this._container,data:{particle:h}}),h):void 0}catch(h){B().warning(`${H} adding particle: ${h}`)}},this._removeParticle=(s,n,r)=>{const o=this._array[s];if(!o||o.group!==n)return!1;const h=this._zArray.indexOf(o),a=1;return this._array.splice(s,a),this._zArray.splice(h,a),o.destroy(r),this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:o}}),this._addToPool(o),!0},this._engine=e,this._container=t,this._nextId=0,this._array=[],this._zArray=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._needsSort=!1,this._lastZIndex=0,this._interactionManager=new ii(e,t),this._pluginsInitialized=!1;const i=t.canvas.size;this.quadTree=new U(we(i),be),this.movers=[],this.updaters=[]}get count(){return this._array.length}addManualParticles(){const e=this._container,t=e.actualOptions;for(const i of t.manualParticles)this.addParticle(i.position?Re(i.position,e.canvas.size):void 0,i.options)}addParticle(e,t,i,s){const n=this._container.actualOptions.particles.number.limit,r=i===void 0?this._limit:this._groupLimits.get(i)??this._limit,o=this.count;if(r>0){if(n.mode==="delete"){const u=o+1-r;u>0&&this.removeQuantity(u)}else if(n.mode==="wait"&&o>=r)return}return this._pushParticle(e,t,i,s)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(e){const t=this._container,i=t.canvas;i.clear(),this.update(e);for(const[,s]of t.plugins)i.drawPlugin(s,e);for(const s of this._zArray)s.draw(e)}filter(e){return this._array.filter(e)}find(e){return this._array.find(e)}get(e){return this._array[e]}handleClickMode(e){this._interactionManager.handleClickMode(e)}async init(){var s;const e=this._container,t=e.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let i=!1;for(const[,n]of e.plugins)if(n.particlesInitialization!==void 0&&(i=n.particlesInitialization()),i)break;if(this.addManualParticles(),!i){const n=t.particles,r=n.groups;for(const o in r){const h=r[o];for(let a=this.count,c=0;c<((s=h.number)==null?void 0:s.value)&&athis.count)return;let r=0;for(let o=e;r!i.has(h);this._array=this.filter(o),this._zArray=this._zArray.filter(o);for(const h of i)this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:h}});this._addToPool(...i)}this._interactionManager.externalInteract(e);for(const o of this._array){for(const h of this.updaters)h.update(o,e);!o.destroyed&&!o.spawning&&this._interactionManager.particlesInteract(o,e)}if(delete this._resizeFactor,this._needsSort){const o=this._zArray;o.sort((a,c)=>c.position.z-a.position.z||a.id-c.id);const h=1;this._lastZIndex=o[o.length-h].position.z,this._needsSort=!1}}}const ze=1,xe=1;class fi{constructor(e){this.container=e,this.pixelRatio=ze,this.reduceFactor=xe}init(){const e=this.container,t=e.actualOptions;this.pixelRatio=!t.detectRetina||tt()?ze:window.devicePixelRatio,this.reduceFactor=xe;const i=this.pixelRatio,s=e.canvas;if(s.element){const o=s.element;s.size.width=o.offsetWidth*i,s.size.height=o.offsetHeight*i}const n=t.particles,r=n.move;this.maxSpeed=x(r.gravity.maxSpeed)*i,this.sizeAnimationSpeed=x(n.size.animation.speed)*i}initParticle(e){const t=e.options,i=this.pixelRatio,s=t.move,n=s.distance,r=e.retina;r.moveDrift=x(s.drift)*i,r.moveSpeed=x(s.speed)*i,r.sizeAnimationSpeed=x(t.size.animation.speed)*i;const o=r.maxDistance;o.horizontal=n.horizontal!==void 0?n.horizontal*i:void 0,o.vertical=n.vertical!==void 0?n.vertical*i:void 0,r.maxSpeed=x(s.gravity.maxSpeed)*i}}function _(l){return l&&!l.destroyed}const Y=60;function di(l,e=Y,t=!1){return{value:l,factor:t?Y/e:Y*l/k}}function S(l,e,...t){const i=new Jt(l,e);return Ie(i,...t),i}class vi{constructor(e,t,i){this._intersectionManager=s=>{if(!(!_(this)||!this.actualOptions.pauseOnOutsideViewport))for(const n of s)n.target===this.interactivity.element&&(n.isIntersecting?this.play():this.pause())},this._nextFrame=s=>{try{if(!this._smooth&&this._lastFrameTime!==void 0&&sk){this.draw(!1);return}if(this.particles.draw(n),!this.alive()){this.destroy();return}this.animationStatus&&this.draw(!1)}catch(n){B().error(`${H} in animation loop`,n)}},this._engine=e,this.id=Symbol(t),this.fpsLimit=120,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=i,this._initialSourceOptions=i,this.retina=new fi(this),this.canvas=new ei(this),this.particles=new ui(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this._options=S(this._engine,this),this.actualOptions=S(this._engine,this),this._eventListeners=new ti(this),this._intersectionObserver=it(s=>this._intersectionManager(s)),this._engine.dispatchEvent("containerBuilt",{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&_(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!_(this))return;const t=this.interactivity.element;if(!t)return;const i=(u,f,m)=>{if(!_(this))return;const d=this.retina.pixelRatio,p={x:f.x*d,y:f.y*d},y=this.particles.quadTree.queryCircle(p,m*d);e(u,y)},s=u=>{if(!_(this))return;const f=u,m={x:f.offsetX||f.clientX,y:f.offsetY||f.clientY};i(u,m,1)},n=()=>{_(this)&&(a=!0,c=!1)},r=()=>{_(this)&&(c=!0)},o=u=>{if(_(this)){if(a&&!c){const f=u,m=1;let d=f.touches[f.touches.length-m];if(!d&&(d=f.changedTouches[f.changedTouches.length-m],!d))return;const p=this.canvas.element,y=p?p.getBoundingClientRect():void 0,C=0,P={x:d.clientX-(y?y.left:C),y:d.clientY-(y?y.top:C)};i(u,P,Math.max(d.radiusX,d.radiusY))}a=!1,c=!1}},h=()=>{_(this)&&(a=!1,c=!1)};let a=!1,c=!1;t.addEventListener("click",s),t.addEventListener("touchstart",n),t.addEventListener("touchmove",r),t.addEventListener("touchend",o),t.addEventListener("touchcancel",h)}addLifeTime(e){this._lifeTime+=e}addPath(e,t,i=!1){return!_(this)||!i&&this.pathGenerators.has(e)?!1:(this.pathGenerators.set(e,t),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}destroy(){var s,n;if(!_(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,r]of this.effectDrawers)(s=r.destroy)==null||s.call(r,this);for(const[,r]of this.shapeDrawers)(n=r.destroy)==null||n.call(r,this);for(const r of this.effectDrawers.keys())this.effectDrawers.delete(r);for(const r of this.shapeDrawers.keys())this.shapeDrawers.delete(r);this._engine.clearPlugins(this),this.destroyed=!0;const e=this._engine.dom(),t=e.findIndex(r=>r===this);t>=0&&e.splice(t,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(e){if(!_(this))return;let t=e;const i=s=>{t&&(this._lastFrameTime=void 0,t=!1),this._nextFrame(s)};this._drawAnimationFrame=requestAnimationFrame(s=>i(s))}async export(e,t={}){for(const[,i]of this.plugins){if(!i.export)continue;const s=await i.export(e,t);if(s.supported)return s.blob}B().error(`${H} - Export plugin with type ${e} not found`)}handleClickMode(e){var t;if(_(this)){this.particles.handleClickMode(e);for(const[,i]of this.plugins)(t=i.handleClickMode)==null||t.call(i,e)}}async init(){var r,o,h,a;if(!_(this))return;const e=this._engine.getSupportedEffects();for(const c of e){const u=this._engine.getEffectDrawer(c);u&&this.effectDrawers.set(c,u)}const t=this._engine.getSupportedShapes();for(const c of t){const u=this._engine.getShapeDrawer(c);u&&this.shapeDrawers.set(c,u)}await this.particles.initPlugins(),this._options=S(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=S(this._engine,this,this._options);const i=await this._engine.getAvailablePlugins(this);for(const[c,u]of i)this.plugins.set(c,u);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this._duration=x(this.actualOptions.duration)*k,this._delay=x(this.actualOptions.delay)*k,this._lifeTime=0;const s=120,n=0;this.fpsLimit=this.actualOptions.fpsLimit>n?this.actualOptions.fpsLimit:s,this._smooth=this.actualOptions.smooth;for(const[,c]of this.effectDrawers)await((r=c.init)==null?void 0:r.call(c,this));for(const[,c]of this.shapeDrawers)await((o=c.init)==null?void 0:o.call(c,this));for(const[,c]of this.plugins)await((h=c.init)==null?void 0:h.call(c));this._engine.dispatchEvent("containerInit",{container:this}),await this.particles.init(),this.particles.setDensity();for(const[,c]of this.plugins)(a=c.particlesSetup)==null||a.call(c);this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(e){_(this)&&(this._currentTheme=e,await this.refresh())}pause(){var e;if(_(this)&&(this._drawAnimationFrame!==void 0&&(cancelAnimationFrame(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,t]of this.plugins)(e=t.pause)==null||e.call(t);this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(e){if(!_(this))return;const t=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),t)for(const[,i]of this.plugins)i.play&&i.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(t??!1)}async refresh(){if(_(this))return this.stop(),this.start()}async reset(){if(_(this))return this._initialSourceOptions=void 0,this._options=S(this._engine,this),this.actualOptions=S(this._engine,this,this._options),this.refresh()}async start(){!_(this)||this.started||(await this.init(),this.started=!0,await new Promise(e=>{const t=async()=>{var i;this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const[,s]of this.plugins)await((i=s.start)==null?void 0:i.call(s));this._engine.dispatchEvent("containerStarted",{container:this}),this.play(),e()};this._delayTimeout=setTimeout(()=>void t(),this._delay)}))}stop(){var e;if(!(!_(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const[,t]of this.plugins)(e=t.stop)==null||e.call(t);for(const t of this.plugins.keys())this.plugins.delete(t);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth===e?!1:(this._responsiveMaxWidth=e,!0)}}export{vi as Container}; +import{s as b,d as Oe,i as Le,e as W,f as w,h as ie,j as Fe,k as Ce,l as Pe,r as se,m as V,n as q,g as ne,o as Ae,b as B,p as oe,q as k,t as re,u as Ve,v as Be,w as he,x as He,y as Ue,z as We,A as qe,B as Ge,C as ae,D as Xe,V as le,E as Ye,F as Ne,G as ce,H as x,I as $e,J as Ze,c as H,K as ke,L as je,M as Re,N as Qe,O as Je,P as ue,Q as T,R as Ke,S as et,T as tt,U as it}from"./index-CgAHdhFx.js";import{p as st,a as nt,c as G,d as ot,b as rt,e as ht,f as at}from"./CanvasUtils-CXWEKbNF.js";import{O as R}from"./OptionsColor-D4_II_Ky.js";import{A as lt,V as Z,R as Se,a as Te}from"./ValueWithRandom-w99ZNFOa.js";import{R as N,C as ct}from"./Ranges-Bq4zSnBQ.js";class ut{constructor(e,t){this.position=e,this.particle=t}}class X extends lt{constructor(){super(),this.offset=0,this.sync=!0}load(e){super.load(e),e&&e.offset!==void 0&&(this.offset=b(e.offset))}}class ft{constructor(){this.h=new X,this.s=new X,this.l=new X}load(e){e&&(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}class F extends R{constructor(){super(),this.animation=new ft}static create(e,t){const i=new F;return i.load(e),t!==void 0&&(Oe(t)||Le(t)?i.load({value:t}):i.load(t)),i}load(e){if(super.load(e),!e)return;const t=e.animation;t!==void 0&&(t.enable!==void 0?this.animation.h.load(t):this.animation.load(e.animation))}}class dt{constructor(){this.color=new R,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=R.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.position!==void 0&&(this.position=e.position),e.repeat!==void 0&&(this.repeat=e.repeat),e.size!==void 0&&(this.size=e.size),e.opacity!==void 0&&(this.opacity=e.opacity))}}class pt{constructor(){this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=R.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.opacity!==void 0&&(this.opacity=e.opacity))}}class mt{constructor(){this.composite="destination-out",this.cover=new pt,this.enable=!1}load(e){if(e){if(e.composite!==void 0&&(this.composite=e.composite),e.cover!==void 0){const t=e.cover,i=Oe(e.cover)?{color:e.cover}:e.cover;this.cover.load(t.color!==void 0||t.image!==void 0?t:{color:i})}e.enable!==void 0&&(this.enable=e.enable)}}}class gt{constructor(){this.enable=!0,this.zIndex=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.zIndex!==void 0&&(this.zIndex=e.zIndex))}}class _t{constructor(){this.enable=!1,this.mode=[]}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode))}}class fe{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}load(e){e&&(e.selectors!==void 0&&(this.selectors=e.selectors),e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),e.type!==void 0&&(this.type=e.type))}}class yt{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.force!==void 0&&(this.force=e.force),e.smooth!==void 0&&(this.smooth=e.smooth))}}class vt{constructor(){this.enable=!1,this.mode=[],this.parallax=new yt}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),this.parallax.load(e.parallax))}}class bt{constructor(){this.delay=.5,this.enable=!0}load(e){e!==void 0&&(e.delay!==void 0&&(this.delay=e.delay),e.enable!==void 0&&(this.enable=e.enable))}}class wt{constructor(){this.onClick=new _t,this.onDiv=new fe,this.onHover=new vt,this.resize=new bt}load(e){if(!e)return;this.onClick.load(e.onClick);const t=e.onDiv;t!==void 0&&(this.onDiv=W(t,i=>{const s=new fe;return s.load(i),s})),this.onHover.load(e.onHover),this.resize.load(e.resize)}}class zt{constructor(e,t){this._engine=e,this._container=t}load(e){if(!e||!this._container)return;const t=this._engine.interactors.get(this._container);if(t)for(const i of t)i.loadModeOptions&&i.loadModeOptions(this,e)}}class Me{constructor(e,t){this.detectsOn="window",this.events=new wt,this.modes=new zt(e,t)}load(e){if(!e)return;const t=e.detectsOn;t!==void 0&&(this.detectsOn=t),this.events.load(e.events),this.modes.load(e.modes)}}const de=50;class xt{load(e){e&&(e.position&&(this.position={x:e.position.x??de,y:e.position.y??de,mode:e.position.mode??"percent"}),e.options&&(this.options=w({},e.options)))}}class Ot{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(e){e&&(e.maxWidth!==void 0&&(this.maxWidth=e.maxWidth),e.mode!==void 0&&(e.mode==="screen"?this.mode="screen":this.mode="canvas"),e.options!==void 0&&(this.options=w({},e.options)))}}class Ct{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(e){e&&(e.auto!==void 0&&(this.auto=e.auto),e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Pt{constructor(){this.name="",this.default=new Ct}load(e){e&&(e.name!==void 0&&(this.name=e.name),this.default.load(e.default),e.options!==void 0&&(this.options=w({},e.options)))}}class kt{constructor(){this.speed=2}load(e){e&&e.speed!==void 0&&(this.speed=e.speed)}}class Rt{constructor(){this.enable=!0,this.retries=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.retries!==void 0&&(this.retries=e.retries))}}class pe extends Z{constructor(){super(),this.value=1}}class Ee{constructor(){this.horizontal=new pe,this.vertical=new pe}load(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class St{constructor(){this.absorb=new kt,this.bounce=new Ee,this.enable=!1,this.maxSpeed=50,this.mode="bounce",this.overlap=new Rt}load(e){e&&(this.absorb.load(e.absorb),this.bounce.load(e.bounce),e.enable!==void 0&&(this.enable=e.enable),e.maxSpeed!==void 0&&(this.maxSpeed=b(e.maxSpeed)),e.mode!==void 0&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class Tt{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(e){if(!e)return;const t=e.options;if(t!==void 0)for(const i in t){const s=t[i];s&&(this.options[i]=w(this.options[i]??{},s))}e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class Mt{constructor(){this.offset=0,this.value=90}load(e){e&&(e.offset!==void 0&&(this.offset=b(e.offset)),e.value!==void 0&&(this.value=b(e.value)))}}class Et{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(e){if(e&&(e.distance!==void 0&&(this.distance=b(e.distance)),e.enable!==void 0&&(this.enable=e.enable),e.rotate)){const t=e.rotate.x;t!==void 0&&(this.rotate.x=t);const i=e.rotate.y;i!==void 0&&(this.rotate.y=i)}}}class It{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(e){e&&(e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.mode!==void 0&&(this.mode=e.mode),e.radius!==void 0&&(this.radius=e.radius))}}class Dt{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=b(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.inverse!==void 0&&(this.inverse=e.inverse),e.maxSpeed!==void 0&&(this.maxSpeed=b(e.maxSpeed)))}}class Lt{constructor(){this.clamp=!0,this.delay=new Z,this.enable=!1,this.options={}}load(e){e&&(e.clamp!==void 0&&(this.clamp=e.clamp),this.delay.load(e.delay),e.enable!==void 0&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=w(this.options,e.options)))}}class Ft{load(e){e&&(e.color!==void 0&&(this.color=R.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image))}}class At{constructor(){this.enable=!1,this.length=10,this.fill=new Ft}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.fill!==void 0&&this.fill.load(e.fill),e.length!==void 0&&(this.length=e.length))}}class Vt{constructor(){this.default="out"}load(e){e&&(e.default!==void 0&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}class Bt{constructor(){this.acceleration=0,this.enable=!1}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=b(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.position&&(this.position=w({},e.position)))}}class Ht{constructor(){this.angle=new Mt,this.attract=new Et,this.center=new It,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new Dt,this.path=new Lt,this.outModes=new Vt,this.random=!1,this.size=!1,this.speed=2,this.spin=new Bt,this.straight=!1,this.trail=new At,this.vibrate=!1,this.warp=!1}load(e){if(!e)return;this.angle.load(ie(e.angle)?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),e.decay!==void 0&&(this.decay=b(e.decay)),e.direction!==void 0&&(this.direction=e.direction),e.distance!==void 0&&(this.distance=ie(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),e.drift!==void 0&&(this.drift=b(e.drift)),e.enable!==void 0&&(this.enable=e.enable),this.gravity.load(e.gravity);const t=e.outModes;t!==void 0&&(Fe(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path),e.random!==void 0&&(this.random=e.random),e.size!==void 0&&(this.size=e.size),e.speed!==void 0&&(this.speed=b(e.speed)),this.spin.load(e.spin),e.straight!==void 0&&(this.straight=e.straight),this.trail.load(e.trail),e.vibrate!==void 0&&(this.vibrate=e.vibrate),e.warp!==void 0&&(this.warp=e.warp)}}class Ut extends Se{constructor(){super(),this.destroy="none",this.speed=2}load(e){super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class Wt extends Te{constructor(){super(),this.animation=new Ut,this.value=1}load(e){if(!e)return;super.load(e);const t=e.animation;t!==void 0&&this.animation.load(t)}}class qt{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(e){if(!e)return;e.enable!==void 0&&(this.enable=e.enable);const t=e.width;t!==void 0&&(this.width=t);const i=e.height;i!==void 0&&(this.height=i)}}class Gt{constructor(){this.mode="delete",this.value=0}load(e){e&&(e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Xt{constructor(){this.density=new qt,this.limit=new Gt,this.value=0}load(e){e&&(this.density.load(e.density),this.limit.load(e.limit),e.value!==void 0&&(this.value=e.value))}}class Yt{constructor(){this.blur=0,this.color=new R,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=R.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(e.offset.x!==void 0&&(this.offset.x=e.offset.x),e.offset.y!==void 0&&(this.offset.y=e.offset.y)))}}class Nt{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(e){if(!e)return;const t=e.options;if(t!==void 0)for(const i in t){const s=t[i];s&&(this.options[i]=w(this.options[i]??{},s))}e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class $t extends Se{constructor(){super(),this.destroy="none",this.speed=5}load(e){super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class Zt extends Te{constructor(){super(),this.animation=new $t,this.value=3}load(e){if(super.load(e),!e)return;const t=e.animation;t!==void 0&&this.animation.load(t)}}class me{constructor(){this.width=0}load(e){e&&(e.color!==void 0&&(this.color=F.create(this.color,e.color)),e.width!==void 0&&(this.width=b(e.width)),e.opacity!==void 0&&(this.opacity=b(e.opacity)))}}class jt extends Z{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),e&&(e.opacityRate!==void 0&&(this.opacityRate=e.opacityRate),e.sizeRate!==void 0&&(this.sizeRate=e.sizeRate),e.velocityRate!==void 0&&(this.velocityRate=e.velocityRate))}}class Qt{constructor(e,t){this._engine=e,this._container=t,this.bounce=new Ee,this.collisions=new St,this.color=new F,this.color.value="#fff",this.effect=new Tt,this.groups={},this.move=new Ht,this.number=new Xt,this.opacity=new Wt,this.reduceDuplicates=!1,this.shadow=new Yt,this.shape=new Nt,this.size=new Zt,this.stroke=new me,this.zIndex=new jt}load(e){if(!e)return;if(e.groups!==void 0)for(const i of Object.keys(e.groups)){if(!Object.hasOwn(e.groups,i))continue;const s=e.groups[i];s!==void 0&&(this.groups[i]=w(this.groups[i]??{},s))}e.reduceDuplicates!==void 0&&(this.reduceDuplicates=e.reduceDuplicates),this.bounce.load(e.bounce),this.color.load(F.create(this.color,e.color)),this.effect.load(e.effect),this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex),this.collisions.load(e.collisions),e.interactivity!==void 0&&(this.interactivity=w({},e.interactivity));const t=e.stroke;if(t&&(this.stroke=W(t,i=>{const s=new me;return s.load(i),s})),this._container){const i=this._engine.updaters.get(this._container);if(i)for(const n of i)n.loadOptions&&n.loadOptions(this,e);const s=this._engine.interactors.get(this._container);if(s)for(const n of s)n.loadParticlesOptions&&n.loadParticlesOptions(this,e)}}}function Ie(l,...e){for(const t of e)l.load(t)}function De(l,e,...t){const i=new Qt(l,e);return Ie(i,...t),i}class Jt{constructor(e,t){this._findDefaultTheme=i=>this.themes.find(s=>s.default.value&&s.default.mode===i)??this.themes.find(s=>s.default.value&&s.default.mode==="any"),this._importPreset=i=>{this.load(this._engine.getPreset(i))},this._engine=e,this._container=t,this.autoPlay=!0,this.background=new dt,this.backgroundMask=new mt,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new gt,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new Me(e,t),this.manualParticles=[],this.particles=De(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(e){var r,o;if(!e)return;e.preset!==void 0&&W(e.preset,h=>this._importPreset(h)),e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.clear!==void 0&&(this.clear=e.clear),e.key!==void 0&&(this.key=e.key),e.name!==void 0&&(this.name=e.name),e.delay!==void 0&&(this.delay=b(e.delay));const t=e.detectRetina;t!==void 0&&(this.detectRetina=t),e.duration!==void 0&&(this.duration=b(e.duration));const i=e.fpsLimit;i!==void 0&&(this.fpsLimit=i),e.pauseOnBlur!==void 0&&(this.pauseOnBlur=e.pauseOnBlur),e.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),e.zLayers!==void 0&&(this.zLayers=e.zLayers),this.background.load(e.background);const s=e.fullScreen;Ce(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),e.manualParticles&&(this.manualParticles=e.manualParticles.map(h=>{const a=new xt;return a.load(h),a})),this.particles.load(e.particles),this.style=w(this.style,e.style),this._engine.loadOptions(this,e),e.smooth!==void 0&&(this.smooth=e.smooth);const n=this._engine.interactors.get(this._container);if(n)for(const h of n)h.loadOptions&&h.loadOptions(this,e);if(e.responsive!==void 0)for(const h of e.responsive){const a=new Ot;a.load(h),this.responsive.push(a)}if(this.responsive.sort((h,a)=>h.maxWidth-a.maxWidth),e.themes!==void 0)for(const h of e.themes){const a=this.themes.find(c=>c.name===h.name);if(a)a.load(h);else{const c=new Pt;c.load(h),this.themes.push(c)}}this.defaultThemes.dark=(r=this._findDefaultTheme("dark"))==null?void 0:r.name,this.defaultThemes.light=(o=this._findDefaultTheme("light"))==null?void 0:o.name}setResponsive(e,t,i){this.load(i);const s=this.responsive.find(n=>n.mode==="screen"&&screen?n.maxWidth>screen.availWidth:n.maxWidth*t>e);return this.load(s==null?void 0:s.options),s==null?void 0:s.maxWidth}setTheme(e){if(e){const t=this.themes.find(i=>i.name===e);t&&this.load(t.options)}else{const t=Pe("(prefers-color-scheme: dark)"),i=t&&t.matches,s=this._findDefaultTheme(i?"dark":"light");s&&this.load(s.options)}}}function Kt(l,e,t){const i=e[t],s=1;i!==void 0&&(l[t]=(l[t]??s)*i)}function ge(l,e,t=!1){if(!e)return;const i=l;if(!i)return;const s=i.style;if(s)for(const n in e){const r=e[n];r&&s.setProperty(n,r,t?"important":"")}}class ei{constructor(e){this.container=e,this._applyPostDrawUpdaters=t=>{var i;for(const s of this._postDrawUpdaters)(i=s.afterDraw)==null||i.call(s,t)},this._applyPreDrawUpdaters=(t,i,s,n,r,o)=>{var h;for(const a of this._preDrawUpdaters){if(a.getColorStyles){const{fill:c,stroke:u}=a.getColorStyles(i,t,s,n);c&&(r.fill=c),u&&(r.stroke=u)}if(a.getTransformValues){const c=a.getTransformValues(i);for(const u in c)Kt(o,c,u)}(h=a.beforeDraw)==null||h.call(a,i)}},this._applyResizePlugins=()=>{var t;for(const i of this._resizePlugins)(t=i.resize)==null||t.call(i)},this._getPluginParticleColors=t=>{let i,s;for(const n of this._colorPlugins)if(!i&&n.particleFillColor&&(i=se(n.particleFillColor(t))),!s&&n.particleStrokeColor&&(s=se(n.particleStrokeColor(t))),i&&s)break;return[i,s]},this._initCover=async()=>{const t=this.container.actualOptions,i=t.backgroundMask.cover,s=i.color;if(s){const n=V(s);if(n){const r={...n,a:i.opacity};this._coverColorStyle=q(r,r.a)}}else await new Promise((n,r)=>{if(!i.image)return;const o=document.createElement("img");o.addEventListener("load",()=>{this._coverImage={image:o,opacity:i.opacity},n()}),o.addEventListener("error",h=>{r(h.error)}),o.src=i.image})},this._initStyle=()=>{const t=this.element,i=this.container.actualOptions;if(t){this._fullScreen?(this._originalStyle=w({},t.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const s in i.style){if(!s||!i.style)continue;const n=i.style[s];n&&t.style.setProperty(s,n,"important")}}},this._initTrail=async()=>{const t=this.container.actualOptions,i=t.particles.move.trail,s=i.fill;if(!i.enable)return;const n=1,r=n/i.length;if(s.color){const o=V(s.color);if(!o)return;this._trailFill={color:{...o},opacity:r}}else await new Promise((o,h)=>{if(!s.image)return;const a=document.createElement("img");a.addEventListener("load",()=>{this._trailFill={image:a,opacity:r},o()}),a.addEventListener("error",c=>{h(c.error)}),a.src=s.image})},this._paintBase=t=>{this.draw(i=>st(i,this.size,t))},this._paintImage=(t,i)=>{this.draw(s=>nt(s,this.size,t,i))},this._repairStyle=()=>{const t=this.element;t&&(this._safeMutationObserver(i=>i.disconnect()),this._initStyle(),this.initBackground(),this._safeMutationObserver(i=>i.observe(t,{attributes:!0})))},this._resetOriginalStyle=()=>{const t=this.element,i=this._originalStyle;t&&i&&ge(t,i)},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{const t=this.element;if(!t)return;ge(t,{position:"fixed",zIndex:this.container.actualOptions.fullScreen.zIndex.toString(10),top:"0",left:"0",width:"100%",height:"100%"},!0)},this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const e=this.container.actualOptions,t=e.particles.move.trail,i=this._trailFill;e.backgroundMask.enable?this.paint():t.enable&&t.length>0&&i?i.color?this._paintBase(q(i.color,i.opacity)):i.image&&this._paintImage(i.image,i.opacity):e.clear&&this.draw(n=>{G(n,this.size)})}destroy(){if(this.stop(),this._generated){const e=this.element;e==null||e.remove()}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){const t=this._context;if(t)return e(t)}drawAsync(e){const t=this._context;if(t)return e(t)}drawParticle(e,t){if(e.spawning||e.destroyed)return;const i=e.getRadius();if(i<=0)return;const n=e.getFillColor(),r=e.getStrokeColor()??n;let[o,h]=this._getPluginParticleColors(e);o||(o=n),h||(h=r),!(!o&&!h)&&this.draw(a=>{var I;const c=this.container,u=c.actualOptions,f=e.options.zIndex,m=1,d=m-e.zIndexFactor,p=d**f.opacityRate,y=1,C=e.bubble.opacity??((I=e.opacity)==null?void 0:I.value)??y,P=e.strokeOpacity??C,M=C*p,E=P*p,v={},g={fill:o?ne(o,M):void 0};g.stroke=h?ne(h,E):g.fill,this._applyPreDrawUpdaters(a,e,i,M,g,v),ot({container:c,context:a,particle:e,delta:t,colorStyles:g,backgroundMask:u.backgroundMask.enable,composite:u.backgroundMask.composite,radius:i*d**f.sizeRate,opacity:M,shadow:e.options.shadow,transform:v}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,t,i){this.draw(s=>rt(s,e,t,i))}drawPlugin(e,t){this.draw(i=>ht(i,e,t))}async init(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=Ae(e=>{for(const t of e)t.type==="attributes"&&t.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(e){B().error(e)}this.initBackground(),this._safeMutationObserver(e=>{this.element&&e.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions,t=e.background,i=this.element;if(!i)return;const s=i.style;if(s){if(t.color){const n=V(t.color);s.backgroundColor=n?q(n,t.opacity):""}else s.backgroundColor="";s.backgroundImage=t.image||"",s.backgroundPosition=t.position||"",s.backgroundRepeat=t.repeat||"",s.backgroundSize=t.size||""}}initPlugins(){this._resizePlugins=[];for(const[,e]of this.container.plugins)e.resize&&this._resizePlugins.push(e),(e.particleFillColor??e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters)e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles??e.getTransformValues??e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){this._generated&&this.element&&this.element.remove(),this._generated=e.dataset&&oe in e.dataset?e.dataset[oe]==="true":this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=w({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),this._safeMutationObserver(t=>{this.element&&t.observe(this.element,{attributes:!0})}),this.container.retina.init(),this.initBackground()}paint(){const e=this.container.actualOptions;this.draw(t=>{e.backgroundMask.enable&&e.backgroundMask.cover?(G(t,this.size),this._coverImage?this._paintImage(this._coverImage.image,this._coverImage.opacity):this._coverColorStyle?this._paintBase(this._coverColorStyle):this._paintBase()):this._paintBase()})}resize(){if(!this.element)return!1;const e=this.container,t=e.retina.pixelRatio,i=e.canvas.size,s={width:this.element.offsetWidth*t,height:this.element.offsetHeight*t};if(s.height===i.height&&s.width===i.width&&s.height===this.element.height&&s.width===this.element.width)return!1;const n={...i};return this.element.width=i.width=this.element.offsetWidth*t,this.element.height=i.height=this.element.offsetHeight*t,this.container.started&&e.particles.setResizeFactor({width:i.width/n.width,height:i.height/n.height}),!0}stop(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=void 0,this.draw(e=>G(e,this.size))}async windowResize(){if(!this.element||!this.resize())return;const e=this.container,t=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),t&&await e.refresh()}}const _e=2;function O(l,e,t,i,s){if(i){let n={passive:!0};Ce(s)?n.capture=s:s!==void 0&&(n=s),l.addEventListener(e,t,n)}else{const n=s;l.removeEventListener(e,t,n)}}class ti{constructor(e){this.container=e,this._doMouseTouchClick=t=>{const i=this.container,s=i.actualOptions;if(this._canPush){const n=i.interactivity.mouse,r=n.position;if(!r)return;n.clickPosition={...r},n.clickTime=new Date().getTime();const o=s.interactivity.events.onClick;W(o.mode,h=>this.container.handleClickMode(h))}t.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),500)},this._handleThemeChange=t=>{const i=t,s=this.container,n=s.options,r=n.defaultThemes,o=i.matches?r.dark:r.light,h=n.themes.find(a=>a.name===o);h&&h.default.auto&&s.loadTheme(o)},this._handleVisibilityChange=()=>{const t=this.container,i=t.actualOptions;this._mouseTouchFinish(),i.pauseOnBlur&&(document&&document.hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))},this._handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const t=async()=>{const i=this.container.canvas;await(i==null?void 0:i.windowResize())};this._resizeTimeout=setTimeout(()=>void t(),this.container.actualOptions.interactivity.events.resize.delay*k)},this._manageInteractivityListeners=(t,i)=>{const s=this._handlers,n=this.container,r=n.actualOptions,o=n.interactivity.element;if(!o)return;const h=o,a=n.canvas.element;a&&(a.style.pointerEvents=h===a?"initial":"none"),(r.interactivity.events.onHover.enable||r.interactivity.events.onClick.enable)&&(O(o,re,s.mouseMove,i),O(o,Ve,s.touchStart,i),O(o,Be,s.touchMove,i),r.interactivity.events.onClick.enable?(O(o,he,s.touchEndClick,i),O(o,He,s.mouseUp,i),O(o,Ue,s.mouseDown,i)):O(o,he,s.touchEnd,i),O(o,t,s.mouseLeave,i),O(o,We,s.touchCancel,i))},this._manageListeners=t=>{const i=this._handlers,s=this.container,n=s.actualOptions,r=n.interactivity.detectsOn,o=s.canvas.element;let h=ae;r==="window"?(s.interactivity.element=window,h=Xe):r==="parent"&&o?s.interactivity.element=o.parentElement??o.parentNode:s.interactivity.element=o,this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(h,t),document&&O(document,qe,i.visibilityChange,t,!1)},this._manageMediaMatch=t=>{const i=this._handlers,s=Pe("(prefers-color-scheme: dark)");if(s){if(s.addEventListener!==void 0){O(s,"change",i.themeChange,t);return}s.addListener!==void 0&&(t?s.addListener(i.oldThemeChange):s.removeListener(i.oldThemeChange))}},this._manageResize=t=>{const i=this._handlers,s=this.container;if(!s.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){O(window,Ge,i.resize,t);return}const r=s.canvas.element;this._resizeObserver&&!t?(r&&this._resizeObserver.unobserve(r),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&r&&(this._resizeObserver=new ResizeObserver(o=>{o.find(a=>a.target===r)&&this._handleWindowResize()}),this._resizeObserver.observe(r))},this._mouseDown=()=>{const{interactivity:t}=this.container;if(!t)return;const{mouse:i}=t;i.clicking=!0,i.downPosition=i.position},this._mouseTouchClick=t=>{const i=this.container,s=i.actualOptions,{mouse:n}=i.interactivity;n.inside=!0;let r=!1;const o=n.position;if(!(!o||!s.interactivity.events.onClick.enable)){for(const[,h]of i.plugins)if(h.clickPositionValid&&(r=h.clickPositionValid(o),r))break;r||this._doMouseTouchClick(t),n.clicking=!1}},this._mouseTouchFinish=()=>{const t=this.container.interactivity;if(!t)return;const i=t.mouse;delete i.position,delete i.clickPosition,delete i.downPosition,t.status=ae,i.inside=!1,i.clicking=!1},this._mouseTouchMove=t=>{const i=this.container,s=i.actualOptions,n=i.interactivity,r=i.canvas.element;if(!(n!=null&&n.element))return;n.mouse.inside=!0;let o;if(t.type.startsWith("pointer")){this._canPush=!0;const a=t;if(n.element===window){if(r){const c=r.getBoundingClientRect();o={x:a.clientX-c.left,y:a.clientY-c.top}}}else if(s.interactivity.detectsOn==="parent"){const c=a.target,u=a.currentTarget;if(c&&u&&r){const f=c.getBoundingClientRect(),m=u.getBoundingClientRect(),d=r.getBoundingClientRect();o={x:a.offsetX+_e*f.left-(m.left+d.left),y:a.offsetY+_e*f.top-(m.top+d.top)}}else o={x:a.offsetX??a.clientX,y:a.offsetY??a.clientY}}else a.target===r&&(o={x:a.offsetX??a.clientX,y:a.offsetY??a.clientY})}else if(this._canPush=t.type!=="touchmove",r){const a=t,c=1,u=a.touches[a.touches.length-c],f=r.getBoundingClientRect(),m=0;o={x:u.clientX-(f.left??m),y:u.clientY-(f.top??m)}}const h=i.retina.pixelRatio;o&&(o.x*=h,o.y*=h),n.mouse.position=o,n.status=re},this._touchEnd=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.delete(n.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.delete(n.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.set(n.identifier,performance.now());this._mouseTouchMove(t)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:t=>this._mouseTouchMove(t),mouseUp:t=>this._mouseTouchClick(t),touchStart:t=>this._touchStart(t),touchMove:t=>this._mouseTouchMove(t),touchEnd:t=>this._touchEnd(t),touchCancel:t=>this._touchEnd(t),touchEndClick:t=>this._touchEndClick(t),visibilityChange:()=>this._handleVisibilityChange(),themeChange:t=>this._handleThemeChange(t),oldThemeChange:t=>this._handleThemeChange(t),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}class ii{constructor(e,t){this.container=t,this._engine=e,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(e){for(const t of this._externalInteractors)t.isEnabled()&&t.interact(e)}handleClickMode(e){var t;for(const i of this._externalInteractors)(t=i.handleClickMode)==null||t.call(i,e)}async init(){this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[];for(const e of this._interactors){switch(e.type){case"external":this._externalInteractors.push(e);break;case"particles":this._particleInteractors.push(e);break}e.init()}}particlesInteract(e,t){for(const i of this._externalInteractors)i.clear(e,t);for(const i of this._particleInteractors)i.isEnabled(e)&&i.interact(e,t)}reset(e){for(const t of this._externalInteractors)t.isEnabled()&&t.reset(e);for(const t of this._particleInteractors)t.isEnabled(e)&&t.reset(e)}}const ye=0,$=2,A=.5,si=2;function ni(l,e,t,i){const s=e.options[l];if(s)return w({close:e.close,fill:e.fill},T(s,t,i))}function oi(l,e,t,i){const s=e.options[l];if(s)return w({close:e.close,fill:e.fill},T(s,t,i))}function ve(l){if(!et(l.outMode,l.checkModes))return;const e=l.radius*$;l.coord>l.maxCoord-e?l.setCb(-l.radius):l.coord{for(const[,d]of i.plugins){const p=d.particlePosition!==void 0?d.particlePosition(s,this):void 0;if(p)return le.create(p.x,p.y,n)}const o=i.canvas.size,h=Ye({size:o,position:s}),a=le.create(h.x,h.y,n),c=this.getRadius(),u=this.options.move.outModes,f=d=>{ve({outMode:d,checkModes:["bounce"],coord:a.x,maxCoord:i.canvas.size.width,setCb:p=>a.x+=p,radius:c})},m=d=>{ve({outMode:d,checkModes:["bounce"],coord:a.y,maxCoord:i.canvas.size.height,setCb:p=>a.y+=p,radius:c})};return f(u.left??u.default),f(u.right??u.default),m(u.top??u.default),m(u.bottom??u.default),this._checkOverlap(a,r)?this._calcPosition(i,void 0,n,r+1):a},this._calculateVelocity=()=>{const i=Ne(this.direction),s=i.copy(),n=this.options.move;if(n.direction==="inside"||n.direction==="outside")return s;const r=ce(x(n.angle.value)),o=ce(x(n.angle.offset)),h={left:o-r*A,right:o+r*A};return n.straight||(s.angle+=$e(b(h.left,h.right))),n.random&&typeof n.speed=="number"&&(s.length*=Ze()),s},this._checkOverlap=(i,s=ye)=>{const n=this.options.collisions,r=this.getRadius();if(!n.enable)return!1;const o=n.overlap;if(o.enable)return!1;const h=o.retries;if(h>=0&&s>h)throw new Error(`${H} particle is overlapping and can't be placed`);return!!this.container.particles.find(c=>ke(i,c.position){if(!i||!this.roll||!this.backColor&&!this.roll.alter)return i;const s=1,n=0,r=this.roll.horizontal&&this.roll.vertical?$*s:s,o=this.roll.horizontal?Math.PI*A:n;return Math.floor(((this.roll.angle??n)+o)/(Math.PI/r))%$?this.backColor?this.backColor:this.roll.alter?at(i,this.roll.alter.type,this.roll.alter.value):i:i},this._initPosition=i=>{const s=this.container,n=x(this.options.zIndex.value),r=0;this.position=this._calcPosition(s,i,je(n,r,s.zLayers)),this.initialPosition=this.position.copy();const o=s.canvas.size,h=0;switch(this.moveCenter={...Re(this.options.move.center,o),radius:this.options.move.center.radius??h,mode:this.options.move.center.mode??"percent"},this.direction=Qe(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside";break}this.offset=Je.origin},this._engine=e}destroy(e){var n,r,o;if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const t=this.container,i=this.pathGenerator,s=t.shapeDrawers.get(this.shape);(n=s==null?void 0:s.particleDestroy)==null||n.call(s,this);for(const[,h]of t.plugins)(r=h.particleDestroyed)==null||r.call(h,this,e);for(const h of t.particles.updaters)(o=h.particleDestroyed)==null||o.call(h,this,e);i==null||i.reset(this),this._engine.dispatchEvent("particleDestroyed",{container:this.container,data:{particle:this}})}draw(e){const t=this.container,i=t.canvas;for(const[,s]of t.plugins)i.drawParticlePlugin(s,this,e);i.drawParticle(this,e)}getFillColor(){return this._getRollColor(this.bubble.color??ue(this.color))}getMass(){return this.getRadius()**si*Math.PI*A}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??ue(this.strokeColor))}init(e,t,i,s){var j,Q,J,K,ee,te;const n=this.container,r=this._engine;this.id=e,this.group=s,this.effectClose=!0,this.effectFill=!0,this.shapeClose=!0,this.shapeFill=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;const o=n.retina.pixelRatio,h=n.actualOptions,a=De(this._engine,n,h.particles),c=a.effect.type,u=a.shape.type,{reduceDuplicates:f}=a;this.effect=T(c,this.id,f),this.shape=T(u,this.id,f);const m=a.effect,d=a.shape;if(i){if((j=i.effect)!=null&&j.type){const z=i.effect.type,D=T(z,this.id,f);D&&(this.effect=D,m.load(i.effect))}if((Q=i.shape)!=null&&Q.type){const z=i.shape.type,D=T(z,this.id,f);D&&(this.shape=D,d.load(i.shape))}}this.effectData=ni(this.effect,m,this.id,f),this.shapeData=oi(this.shape,d,this.id,f),a.load(i);const p=this.effectData;p&&a.load(p.particles);const y=this.shapeData;y&&a.load(y.particles);const C=new Me(r,n);C.load(n.actualOptions.interactivity),C.load(a.interactivity),this.interactivity=C,this.effectFill=(p==null?void 0:p.fill)??a.effect.fill,this.effectClose=(p==null?void 0:p.close)??a.effect.close,this.shapeFill=(y==null?void 0:y.fill)??a.shape.fill,this.shapeClose=(y==null?void 0:y.close)??a.shape.close,this.options=a;const P=this.options.move.path;this.pathDelay=x(P.delay.value)*k,P.generator&&(this.pathGenerator=this._engine.getPathGenerator(P.generator),this.pathGenerator&&n.addPath(P.generator,this.pathGenerator)&&this.pathGenerator.init(n)),n.retina.initParticle(this),this.size=Ke(this.options.size,o),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(t),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy();const M=1;this.moveDecay=M-x(this.options.move.decay);const E=n.particles;E.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/n.zLayers,this.sides=24;let v=n.effectDrawers.get(this.effect);v||(v=this._engine.getEffectDrawer(this.effect),v&&n.effectDrawers.set(this.effect,v)),v!=null&&v.loadEffect&&v.loadEffect(this);let g=n.shapeDrawers.get(this.shape);g||(g=this._engine.getShapeDrawer(this.shape),g&&n.shapeDrawers.set(this.shape,g)),g!=null&&g.loadShape&&g.loadShape(this);const I=g==null?void 0:g.getSidesCount;I&&(this.sides=I(this)),this.spawning=!1,this.shadowColor=V(this.options.shadow.color);for(const z of E.updaters)z.init(this);for(const z of E.movers)(J=z.init)==null||J.call(z,this);(K=v==null?void 0:v.particleInit)==null||K.call(v,n,this),(ee=g==null?void 0:g.particleInit)==null||ee.call(g,n,this);for(const[,z]of n.plugins)(te=z.particleCreated)==null||te.call(z,this)}isInsideCanvas(){const e=this.getRadius(),t=this.container.canvas.size,i=this.position;return i.x>=-e&&i.y>=-e&&i.y<=t.height+e&&i.x<=t.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){var e;for(const t of this.container.particles.updaters)(e=t.reset)==null||e.call(t,this)}}const L=.5,hi=2,ai=4;class U{constructor(e,t){this.rectangle=e,this.capacity=t,this._subdivide=()=>{const{x:i,y:s}=this.rectangle.position,{width:n,height:r}=this.rectangle.size,{capacity:o}=this;for(let h=0;ht.insert(e))):!1}query(e,t){const i=[];if(!e.intersects(this.rectangle))return[];for(const s of this._points)!e.contains(s.position)&&ke(e.position,s.position)>s.particle.getRadius()&&(!t||t(s.particle))||i.push(s.particle);if(this._divided)for(const s of this._subs)i.push(...s.query(e,t));return i}queryCircle(e,t,i){return this.query(new ct(e.x,e.y,t),i)}queryRectangle(e,t,i){return this.query(new N(e.x,e.y,t.width,t.height),i)}}const be=4,li=2,ci=1,we=l=>{const{height:e,width:t}=l,i=-.25,s=1.5;return new N(i*t,i*e,s*t,s*e)};class ui{constructor(e,t){this._addToPool=(...s)=>{for(const n of s)this._pool.push(n)},this._applyDensity=(s,n,r)=>{var d;const o=s.number;if(!((d=s.number.density)!=null&&d.enable)){r===void 0?this._limit=o.limit.value:o.limit&&this._groupLimits.set(r,o.limit.value);return}const h=this._initDensityFactor(o.density),a=o.value,c=0,u=o.limit.value>c?o.limit.value:a,f=Math.min(a,u)*h+n,m=Math.min(this.count,this.filter(p=>p.group===r).length);r===void 0?this._limit=o.limit.value*h:this._groupLimits.set(r,o.limit.value*h),mf&&this.removeQuantity(m-f,r)},this._initDensityFactor=s=>{const n=this._container,r=1;if(!n.canvas.element||!s.enable)return r;const o=n.canvas.element,h=n.retina.pixelRatio;return o.width*o.height/(s.height*s.width*h**li)},this._pushParticle=(s,n,r,o)=>{try{let h=this._pool.pop();h||(h=new ri(this._engine,this._container)),h.init(this._nextId,s,n,r);let a=!0;return o&&(a=o(h)),a?(this._array.push(h),this._zArray.push(h),this._nextId++,this._engine.dispatchEvent("particleAdded",{container:this._container,data:{particle:h}}),h):void 0}catch(h){B().warning(`${H} adding particle: ${h}`)}},this._removeParticle=(s,n,r)=>{const o=this._array[s];if(!o||o.group!==n)return!1;const h=this._zArray.indexOf(o),a=1;return this._array.splice(s,a),this._zArray.splice(h,a),o.destroy(r),this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:o}}),this._addToPool(o),!0},this._engine=e,this._container=t,this._nextId=0,this._array=[],this._zArray=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._needsSort=!1,this._lastZIndex=0,this._interactionManager=new ii(e,t),this._pluginsInitialized=!1;const i=t.canvas.size;this.quadTree=new U(we(i),be),this.movers=[],this.updaters=[]}get count(){return this._array.length}addManualParticles(){const e=this._container,t=e.actualOptions;for(const i of t.manualParticles)this.addParticle(i.position?Re(i.position,e.canvas.size):void 0,i.options)}addParticle(e,t,i,s){const n=this._container.actualOptions.particles.number.limit,r=i===void 0?this._limit:this._groupLimits.get(i)??this._limit,o=this.count;if(r>0){if(n.mode==="delete"){const u=o+1-r;u>0&&this.removeQuantity(u)}else if(n.mode==="wait"&&o>=r)return}return this._pushParticle(e,t,i,s)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(e){const t=this._container,i=t.canvas;i.clear(),this.update(e);for(const[,s]of t.plugins)i.drawPlugin(s,e);for(const s of this._zArray)s.draw(e)}filter(e){return this._array.filter(e)}find(e){return this._array.find(e)}get(e){return this._array[e]}handleClickMode(e){this._interactionManager.handleClickMode(e)}async init(){var s;const e=this._container,t=e.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let i=!1;for(const[,n]of e.plugins)if(n.particlesInitialization!==void 0&&(i=n.particlesInitialization()),i)break;if(this.addManualParticles(),!i){const n=t.particles,r=n.groups;for(const o in r){const h=r[o];for(let a=this.count,c=0;c<((s=h.number)==null?void 0:s.value)&&athis.count)return;let r=0;for(let o=e;r!i.has(h);this._array=this.filter(o),this._zArray=this._zArray.filter(o);for(const h of i)this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:h}});this._addToPool(...i)}this._interactionManager.externalInteract(e);for(const o of this._array){for(const h of this.updaters)h.update(o,e);!o.destroyed&&!o.spawning&&this._interactionManager.particlesInteract(o,e)}if(delete this._resizeFactor,this._needsSort){const o=this._zArray;o.sort((a,c)=>c.position.z-a.position.z||a.id-c.id);const h=1;this._lastZIndex=o[o.length-h].position.z,this._needsSort=!1}}}const ze=1,xe=1;class fi{constructor(e){this.container=e,this.pixelRatio=ze,this.reduceFactor=xe}init(){const e=this.container,t=e.actualOptions;this.pixelRatio=!t.detectRetina||tt()?ze:window.devicePixelRatio,this.reduceFactor=xe;const i=this.pixelRatio,s=e.canvas;if(s.element){const o=s.element;s.size.width=o.offsetWidth*i,s.size.height=o.offsetHeight*i}const n=t.particles,r=n.move;this.maxSpeed=x(r.gravity.maxSpeed)*i,this.sizeAnimationSpeed=x(n.size.animation.speed)*i}initParticle(e){const t=e.options,i=this.pixelRatio,s=t.move,n=s.distance,r=e.retina;r.moveDrift=x(s.drift)*i,r.moveSpeed=x(s.speed)*i,r.sizeAnimationSpeed=x(t.size.animation.speed)*i;const o=r.maxDistance;o.horizontal=n.horizontal!==void 0?n.horizontal*i:void 0,o.vertical=n.vertical!==void 0?n.vertical*i:void 0,r.maxSpeed=x(s.gravity.maxSpeed)*i}}function _(l){return l&&!l.destroyed}const Y=60;function di(l,e=Y,t=!1){return{value:l,factor:t?Y/e:Y*l/k}}function S(l,e,...t){const i=new Jt(l,e);return Ie(i,...t),i}class vi{constructor(e,t,i){this._intersectionManager=s=>{if(!(!_(this)||!this.actualOptions.pauseOnOutsideViewport))for(const n of s)n.target===this.interactivity.element&&(n.isIntersecting?this.play():this.pause())},this._nextFrame=s=>{try{if(!this._smooth&&this._lastFrameTime!==void 0&&sk){this.draw(!1);return}if(this.particles.draw(n),!this.alive()){this.destroy();return}this.animationStatus&&this.draw(!1)}catch(n){B().error(`${H} in animation loop`,n)}},this._engine=e,this.id=Symbol(t),this.fpsLimit=120,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=i,this._initialSourceOptions=i,this.retina=new fi(this),this.canvas=new ei(this),this.particles=new ui(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this._options=S(this._engine,this),this.actualOptions=S(this._engine,this),this._eventListeners=new ti(this),this._intersectionObserver=it(s=>this._intersectionManager(s)),this._engine.dispatchEvent("containerBuilt",{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&_(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!_(this))return;const t=this.interactivity.element;if(!t)return;const i=(u,f,m)=>{if(!_(this))return;const d=this.retina.pixelRatio,p={x:f.x*d,y:f.y*d},y=this.particles.quadTree.queryCircle(p,m*d);e(u,y)},s=u=>{if(!_(this))return;const f=u,m={x:f.offsetX||f.clientX,y:f.offsetY||f.clientY};i(u,m,1)},n=()=>{_(this)&&(a=!0,c=!1)},r=()=>{_(this)&&(c=!0)},o=u=>{if(_(this)){if(a&&!c){const f=u,m=1;let d=f.touches[f.touches.length-m];if(!d&&(d=f.changedTouches[f.changedTouches.length-m],!d))return;const p=this.canvas.element,y=p?p.getBoundingClientRect():void 0,C=0,P={x:d.clientX-(y?y.left:C),y:d.clientY-(y?y.top:C)};i(u,P,Math.max(d.radiusX,d.radiusY))}a=!1,c=!1}},h=()=>{_(this)&&(a=!1,c=!1)};let a=!1,c=!1;t.addEventListener("click",s),t.addEventListener("touchstart",n),t.addEventListener("touchmove",r),t.addEventListener("touchend",o),t.addEventListener("touchcancel",h)}addLifeTime(e){this._lifeTime+=e}addPath(e,t,i=!1){return!_(this)||!i&&this.pathGenerators.has(e)?!1:(this.pathGenerators.set(e,t),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}destroy(){var s,n;if(!_(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,r]of this.effectDrawers)(s=r.destroy)==null||s.call(r,this);for(const[,r]of this.shapeDrawers)(n=r.destroy)==null||n.call(r,this);for(const r of this.effectDrawers.keys())this.effectDrawers.delete(r);for(const r of this.shapeDrawers.keys())this.shapeDrawers.delete(r);this._engine.clearPlugins(this),this.destroyed=!0;const e=this._engine.dom(),t=e.findIndex(r=>r===this);t>=0&&e.splice(t,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(e){if(!_(this))return;let t=e;const i=s=>{t&&(this._lastFrameTime=void 0,t=!1),this._nextFrame(s)};this._drawAnimationFrame=requestAnimationFrame(s=>i(s))}async export(e,t={}){for(const[,i]of this.plugins){if(!i.export)continue;const s=await i.export(e,t);if(s.supported)return s.blob}B().error(`${H} - Export plugin with type ${e} not found`)}handleClickMode(e){var t;if(_(this)){this.particles.handleClickMode(e);for(const[,i]of this.plugins)(t=i.handleClickMode)==null||t.call(i,e)}}async init(){var r,o,h,a;if(!_(this))return;const e=this._engine.getSupportedEffects();for(const c of e){const u=this._engine.getEffectDrawer(c);u&&this.effectDrawers.set(c,u)}const t=this._engine.getSupportedShapes();for(const c of t){const u=this._engine.getShapeDrawer(c);u&&this.shapeDrawers.set(c,u)}await this.particles.initPlugins(),this._options=S(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=S(this._engine,this,this._options);const i=await this._engine.getAvailablePlugins(this);for(const[c,u]of i)this.plugins.set(c,u);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this._duration=x(this.actualOptions.duration)*k,this._delay=x(this.actualOptions.delay)*k,this._lifeTime=0;const s=120,n=0;this.fpsLimit=this.actualOptions.fpsLimit>n?this.actualOptions.fpsLimit:s,this._smooth=this.actualOptions.smooth;for(const[,c]of this.effectDrawers)await((r=c.init)==null?void 0:r.call(c,this));for(const[,c]of this.shapeDrawers)await((o=c.init)==null?void 0:o.call(c,this));for(const[,c]of this.plugins)await((h=c.init)==null?void 0:h.call(c));this._engine.dispatchEvent("containerInit",{container:this}),await this.particles.init(),this.particles.setDensity();for(const[,c]of this.plugins)(a=c.particlesSetup)==null||a.call(c);this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(e){_(this)&&(this._currentTheme=e,await this.refresh())}pause(){var e;if(_(this)&&(this._drawAnimationFrame!==void 0&&(cancelAnimationFrame(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,t]of this.plugins)(e=t.pause)==null||e.call(t);this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(e){if(!_(this))return;const t=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),t)for(const[,i]of this.plugins)i.play&&i.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(t??!1)}async refresh(){if(_(this))return this.stop(),this.start()}async reset(){if(_(this))return this._initialSourceOptions=void 0,this._options=S(this._engine,this),this.actualOptions=S(this._engine,this,this._options),this.refresh()}async start(){!_(this)||this.started||(await this.init(),this.started=!0,await new Promise(e=>{const t=async()=>{var i;this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const[,s]of this.plugins)await((i=s.start)==null?void 0:i.call(s));this._engine.dispatchEvent("containerStarted",{container:this}),this.play(),e()};this._delayTimeout=setTimeout(()=>void t(),this._delay)}))}stop(){var e;if(!(!_(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const[,t]of this.plugins)(e=t.stop)==null||e.call(t);for(const t of this.plugins.keys())this.plugins.delete(t);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth===e?!1:(this._responsiveMaxWidth=e,!0)}}export{vi as Container}; diff --git a/dist/assets/EmojiDrawer-D7Da8PUp.js b/dist/assets/EmojiDrawer-D1d9klM8.js similarity index 91% rename from dist/assets/EmojiDrawer-D7Da8PUp.js rename to dist/assets/EmojiDrawer-D1d9klM8.js index 83ab07a..2640448 100644 --- a/dist/assets/EmojiDrawer-D7Da8PUp.js +++ b/dist/assets/EmojiDrawer-D1d9klM8.js @@ -1 +1 @@ -import{v as u}from"./index-CzC25xao.js";import{S as j,aa as h,e as D,Q as v,a3 as x}from"./index-CIovSKpD.js";function S(d){const{context:o,particle:e,radius:n,opacity:i}=d,t=e.emojiData,r=2,c=n*r,m=o.globalAlpha;t&&(o.globalAlpha=i,o.drawImage(t,-n,-n,c,c),o.globalAlpha=m)}const g='"Twemoji Mozilla", Apple Color Emoji, "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne Color"';class b{constructor(){this._emojiShapeDict=new Map}destroy(){for(const[o,e]of this._emojiShapeDict)e instanceof ImageBitmap&&(e==null||e.close(),this._emojiShapeDict.delete(o))}draw(o){S(o)}async init(o){const e=o.actualOptions;if(!u.find(t=>j(t,e.particles.shape.type)))return;const n=[h(g)],i=u.map(t=>e.particles.shape.options[t]).find(t=>!!t);i&&D(i,t=>{t.font&&n.push(h(t.font))}),await Promise.all(n)}particleDestroy(o){delete o.emojiData}particleInit(o,e){const i=e.shapeData;if(!(i!=null&&i.value))return;const t=v(i.value,e.randomIndexData),r=i.font??g;if(!t)return;const c=`${t}_${r}`,m=this._emojiShapeDict.get(c);if(m){e.emojiData=m;return}const f=x(e.size.value)*2;let p;const l=x(e.size.value);if(typeof OffscreenCanvas<"u"){const s=new OffscreenCanvas(f,f),a=s.getContext("2d");if(!a)return;a.font=`400 ${l*2}px ${r}`,a.textBaseline="middle",a.textAlign="center",a.fillText(t,l,l),p=s.transferToImageBitmap()}else{const s=document.createElement("canvas");s.width=f,s.height=f;const a=s.getContext("2d");if(!a)return;a.font=`400 ${l*2}px ${r}`,a.textBaseline="middle",a.textAlign="center",a.fillText(t,l,l),p=s}this._emojiShapeDict.set(c,p),e.emojiData=p}}export{b as EmojiDrawer}; +import{v as u}from"./index-F8YEyshB.js";import{S as j,aa as h,e as D,Q as v,a3 as x}from"./index-CgAHdhFx.js";function S(d){const{context:o,particle:e,radius:n,opacity:i}=d,t=e.emojiData,r=2,c=n*r,m=o.globalAlpha;t&&(o.globalAlpha=i,o.drawImage(t,-n,-n,c,c),o.globalAlpha=m)}const g='"Twemoji Mozilla", Apple Color Emoji, "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne Color"';class b{constructor(){this._emojiShapeDict=new Map}destroy(){for(const[o,e]of this._emojiShapeDict)e instanceof ImageBitmap&&(e==null||e.close(),this._emojiShapeDict.delete(o))}draw(o){S(o)}async init(o){const e=o.actualOptions;if(!u.find(t=>j(t,e.particles.shape.type)))return;const n=[h(g)],i=u.map(t=>e.particles.shape.options[t]).find(t=>!!t);i&&D(i,t=>{t.font&&n.push(h(t.font))}),await Promise.all(n)}particleDestroy(o){delete o.emojiData}particleInit(o,e){const i=e.shapeData;if(!(i!=null&&i.value))return;const t=v(i.value,e.randomIndexData),r=i.font??g;if(!t)return;const c=`${t}_${r}`,m=this._emojiShapeDict.get(c);if(m){e.emojiData=m;return}const f=x(e.size.value)*2;let p;const l=x(e.size.value);if(typeof OffscreenCanvas<"u"){const s=new OffscreenCanvas(f,f),a=s.getContext("2d");if(!a)return;a.font=`400 ${l*2}px ${r}`,a.textBaseline="middle",a.textAlign="center",a.fillText(t,l,l),p=s.transferToImageBitmap()}else{const s=document.createElement("canvas");s.width=f,s.height=f;const a=s.getContext("2d");if(!a)return;a.font=`400 ${l*2}px ${r}`,a.textBaseline="middle",a.textAlign="center",a.fillText(t,l,l),p=s}this._emojiShapeDict.set(c,p),e.emojiData=p}}export{b as EmojiDrawer}; diff --git a/dist/assets/Grabber-dy8BOJld.js b/dist/assets/Grabber-DDNT_-Ir.js similarity index 84% rename from dist/assets/Grabber-dy8BOJld.js rename to dist/assets/Grabber-DDNT_-Ir.js index 10c0cbb..22adcea 100644 --- a/dist/assets/Grabber-dy8BOJld.js +++ b/dist/assets/Grabber-DDNT_-Ir.js @@ -1 +1 @@ -import{Grab as v}from"./index-s-W_1WDH.js";import{g as y}from"./CanvasUtils-Bhok4vf-.js";import{n as k,t as L,K as O,a7 as h,a8 as C,S as w}from"./index-CIovSKpD.js";import{E as D}from"./ExternalInteractorBase-CIi3zRdK.js";import"./OptionsColor-D2YVVpO2.js";const E=0;function M(r,t,n,i,o,e){y(r,n,i),r.strokeStyle=k(o,e),r.lineWidth=t,r.stroke()}function G(r,t,n,i,o){r.canvas.draw(e=>{const s=t.getPosition();M(e,t.retina.linksWidth??E,s,o,n,i)})}const P="grab",q=0,H=0;class A extends D{constructor(t){super(t)}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.grab;n&&(t.retina.grabModeDistance=n.distance*t.retina.pixelRatio)}interact(){var c;const t=this.container,n=t.actualOptions,i=n.interactivity;if(!i.modes.grab||!i.events.onHover.enable||t.interactivity.status!==L)return;const o=t.interactivity.mouse.position;if(!o)return;const e=t.retina.grabModeDistance;if(!e||ethis.isEnabled(a));for(const a of s){const f=a.getPosition(),l=O(f,o);if(l>e)continue;const b=i.modes.grab.links,d=b.opacity,g=d-l*d/e;if(g<=H)continue;const u=b.color??((c=a.options.links)==null?void 0:c.color);if(!t.particles.grabLineColor&&u){const p=i.modes.grab.links;t.particles.grabLineColor=h(u,p.blink,p.consent)}const m=C(a,void 0,t.particles.grabLineColor);m&&G(t,a,m,g,o)}}isEnabled(t){const n=this.container,i=n.interactivity.mouse,o=((t==null?void 0:t.interactivity)??n.actualOptions.interactivity).events;return o.onHover.enable&&!!i.position&&w(P,o.onHover.mode)}loadModeOptions(t,...n){t.grab||(t.grab=new v);for(const i of n)t.grab.load(i==null?void 0:i.grab)}reset(){}}export{A as Grabber}; +import{Grab as v}from"./index--hX2mYuR.js";import{g as y}from"./CanvasUtils-CXWEKbNF.js";import{n as k,t as L,K as O,a7 as h,a8 as C,S as w}from"./index-CgAHdhFx.js";import{E as D}from"./ExternalInteractorBase-CIi3zRdK.js";import"./OptionsColor-D4_II_Ky.js";const E=0;function M(r,t,n,i,o,e){y(r,n,i),r.strokeStyle=k(o,e),r.lineWidth=t,r.stroke()}function G(r,t,n,i,o){r.canvas.draw(e=>{const s=t.getPosition();M(e,t.retina.linksWidth??E,s,o,n,i)})}const P="grab",q=0,H=0;class A extends D{constructor(t){super(t)}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.grab;n&&(t.retina.grabModeDistance=n.distance*t.retina.pixelRatio)}interact(){var c;const t=this.container,n=t.actualOptions,i=n.interactivity;if(!i.modes.grab||!i.events.onHover.enable||t.interactivity.status!==L)return;const o=t.interactivity.mouse.position;if(!o)return;const e=t.retina.grabModeDistance;if(!e||ethis.isEnabled(a));for(const a of s){const f=a.getPosition(),l=O(f,o);if(l>e)continue;const b=i.modes.grab.links,d=b.opacity,g=d-l*d/e;if(g<=H)continue;const u=b.color??((c=a.options.links)==null?void 0:c.color);if(!t.particles.grabLineColor&&u){const p=i.modes.grab.links;t.particles.grabLineColor=h(u,p.blink,p.consent)}const m=C(a,void 0,t.particles.grabLineColor);m&&G(t,a,m,g,o)}}isEnabled(t){const n=this.container,i=n.interactivity.mouse,o=((t==null?void 0:t.interactivity)??n.actualOptions.interactivity).events;return o.onHover.enable&&!!i.position&&w(P,o.onHover.mode)}loadModeOptions(t,...n){t.grab||(t.grab=new v);for(const i of n)t.grab.load(i==null?void 0:i.grab)}reset(){}}export{A as Grabber}; diff --git a/dist/assets/ImageDrawer-C222d8Kd.js b/dist/assets/ImageDrawer-2kiLah1Y.js similarity index 93% rename from dist/assets/ImageDrawer-C222d8Kd.js rename to dist/assets/ImageDrawer-2kiLah1Y.js index 1f7a073..423b0f0 100644 --- a/dist/assets/ImageDrawer-C222d8Kd.js +++ b/dist/assets/ImageDrawer-2kiLah1Y.js @@ -1 +1 @@ -import{r as h}from"./index-DTujt1z_.js";import{drawGif as f}from"./Utils-DVXceHn0.js";import{c as d}from"./index-CIovSKpD.js";const c=2,p=1,u=12,_=1;class y{constructor(o){this.loadImageShape=async e=>{if(!this._engine.loadImage)throw new Error(`${d} image shape not initialized`);await this._engine.loadImage({gif:e.gif,name:e.name,replaceColor:e.replaceColor??!1,src:e.src})},this._engine=o}addImage(o){this._engine.images||(this._engine.images=[]),this._engine.images.push(o)}draw(o){const{context:e,radius:t,particle:a,opacity:n}=o,i=a.image,r=i==null?void 0:i.element;if(i){if(e.globalAlpha=n,i.gif&&i.gifData)f(o);else if(r){const s=i.ratio,g={x:-t,y:-t},l=t*c;e.drawImage(r,g.x,g.y,l,l/s)}e.globalAlpha=p}}getSidesCount(){return u}async init(o){const e=o.actualOptions;if(!(!e.preload||!this._engine.loadImage))for(const t of e.preload)await this._engine.loadImage(t)}loadShape(o){if(o.shape!=="image"&&o.shape!=="images")return;this._engine.images||(this._engine.images=[]);const e=o.shapeData;if(!e)return;this._engine.images.find(a=>a.name===e.name||a.source===e.src)||this.loadImageShape(e).then(()=>{this.loadShape(o)})}particleInit(o,e){if(e.shape!=="image"&&e.shape!=="images")return;this._engine.images||(this._engine.images=[]);const t=this._engine.images,a=e.shapeData;if(!a)return;const n=e.getFillColor(),i=t.find(s=>s.name===a.name||s.source===a.src);if(!i)return;const r=a.replaceColor??i.replaceColor;if(i.loading){setTimeout(()=>{this.particleInit(o,e)});return}(async()=>{let s;i.svgData&&n?s=await h(i,a,n,e):s={color:n,data:i,element:i.element,gif:i.gif,gifData:i.gifData,gifLoopCount:i.gifLoopCount,loaded:!0,ratio:a.width&&a.height?a.width/a.height:i.ratio??_,replaceColor:r,source:a.src},s.ratio||(s.ratio=1);const g=a.fill??e.shapeFill,l=a.close??e.shapeClose,m={image:s,fill:g,close:l};e.image=m.image,e.shapeFill=m.fill,e.shapeClose=m.close})()}}export{y as ImageDrawer}; +import{r as h}from"./index-5GyFzaiD.js";import{drawGif as f}from"./Utils-C4Q4G4To.js";import{c as d}from"./index-CgAHdhFx.js";const c=2,p=1,u=12,_=1;class y{constructor(o){this.loadImageShape=async e=>{if(!this._engine.loadImage)throw new Error(`${d} image shape not initialized`);await this._engine.loadImage({gif:e.gif,name:e.name,replaceColor:e.replaceColor??!1,src:e.src})},this._engine=o}addImage(o){this._engine.images||(this._engine.images=[]),this._engine.images.push(o)}draw(o){const{context:e,radius:t,particle:a,opacity:n}=o,i=a.image,r=i==null?void 0:i.element;if(i){if(e.globalAlpha=n,i.gif&&i.gifData)f(o);else if(r){const s=i.ratio,g={x:-t,y:-t},l=t*c;e.drawImage(r,g.x,g.y,l,l/s)}e.globalAlpha=p}}getSidesCount(){return u}async init(o){const e=o.actualOptions;if(!(!e.preload||!this._engine.loadImage))for(const t of e.preload)await this._engine.loadImage(t)}loadShape(o){if(o.shape!=="image"&&o.shape!=="images")return;this._engine.images||(this._engine.images=[]);const e=o.shapeData;if(!e)return;this._engine.images.find(a=>a.name===e.name||a.source===e.src)||this.loadImageShape(e).then(()=>{this.loadShape(o)})}particleInit(o,e){if(e.shape!=="image"&&e.shape!=="images")return;this._engine.images||(this._engine.images=[]);const t=this._engine.images,a=e.shapeData;if(!a)return;const n=e.getFillColor(),i=t.find(s=>s.name===a.name||s.source===a.src);if(!i)return;const r=a.replaceColor??i.replaceColor;if(i.loading){setTimeout(()=>{this.particleInit(o,e)});return}(async()=>{let s;i.svgData&&n?s=await h(i,a,n,e):s={color:n,data:i,element:i.element,gif:i.gif,gifData:i.gifData,gifLoopCount:i.gifLoopCount,loaded:!0,ratio:a.width&&a.height?a.width/a.height:i.ratio??_,replaceColor:r,source:a.src},s.ratio||(s.ratio=1);const g=a.fill??e.shapeFill,l=a.close??e.shapeClose,m={image:s,fill:g,close:l};e.image=m.image,e.shapeFill=m.fill,e.shapeClose=m.close})()}}export{y as ImageDrawer}; diff --git a/dist/assets/LifeUpdater-Cjy4NoRV.js b/dist/assets/LifeUpdater-DqCNiLTn.js similarity index 92% rename from dist/assets/LifeUpdater-Cjy4NoRV.js rename to dist/assets/LifeUpdater-DqCNiLTn.js index 11d2eb9..2958f77 100644 --- a/dist/assets/LifeUpdater-Cjy4NoRV.js +++ b/dist/assets/LifeUpdater-DqCNiLTn.js @@ -1 +1 @@ -import{V as w}from"./ValueWithRandom-CNZCHi2W.js";import{s as a,I as l,H as f,q as d,J as c}from"./index-CIovSKpD.js";class R extends w{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class L extends w{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class V{constructor(){this.count=0,this.delay=new R,this.duration=new L}load(e){e&&(e.count!==void 0&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}const u=0,x=-1,y=0,m=0;function F(i,e,s){if(!i.life)return;const n=i.life;let t=!1;if(i.spawning)if(n.delayTime+=e.value,n.delayTime>=i.life.delay)t=!0,i.spawning=!1,n.delayTime=u,n.time=u;else return;if(n.duration===x||i.spawning||(t?n.time=u:n.time+=e.value,n.timey&&i.life.count--,i.life.count===y){i.destroy();return}const T=a(m,s.width),v=a(m,s.width);i.position.x=l(T),i.position.y=l(v),i.spawning=!0,n.delayTime=u,n.time=u,i.reset();const r=i.options.life;r&&(n.delay=f(r.delay.value)*d,n.duration=f(r.duration.value)*d)}const o=0,h=1,g=-1;class D{constructor(e){this.container=e}init(e){const s=this.container,n=e.options,t=n.life;t&&(e.life={delay:s.retina.reduceFactor?f(t.delay.value)*(t.delay.sync?h:c())/s.retina.reduceFactor*d:o,delayTime:o,duration:s.retina.reduceFactor?f(t.duration.value)*(t.duration.sync?h:c())/s.retina.reduceFactor*d:o,time:o,count:t.count},e.life.duration<=o&&(e.life.duration=g),e.life.count<=o&&(e.life.count=g),e.life&&(e.spawning=e.life.delay>o))}isEnabled(e){return!e.destroyed}loadOptions(e,...s){e.life||(e.life=new V);for(const n of s)e.life.load(n==null?void 0:n.life)}update(e,s){!this.isEnabled(e)||!e.life||F(e,s,this.container.canvas.size)}}export{D as LifeUpdater}; +import{V as w}from"./ValueWithRandom-w99ZNFOa.js";import{s as a,I as l,H as f,q as d,J as c}from"./index-CgAHdhFx.js";class R extends w{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class L extends w{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class V{constructor(){this.count=0,this.delay=new R,this.duration=new L}load(e){e&&(e.count!==void 0&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}const u=0,x=-1,y=0,m=0;function F(i,e,s){if(!i.life)return;const n=i.life;let t=!1;if(i.spawning)if(n.delayTime+=e.value,n.delayTime>=i.life.delay)t=!0,i.spawning=!1,n.delayTime=u,n.time=u;else return;if(n.duration===x||i.spawning||(t?n.time=u:n.time+=e.value,n.timey&&i.life.count--,i.life.count===y){i.destroy();return}const T=a(m,s.width),v=a(m,s.width);i.position.x=l(T),i.position.y=l(v),i.spawning=!0,n.delayTime=u,n.time=u,i.reset();const r=i.options.life;r&&(n.delay=f(r.delay.value)*d,n.duration=f(r.duration.value)*d)}const o=0,h=1,g=-1;class D{constructor(e){this.container=e}init(e){const s=this.container,n=e.options,t=n.life;t&&(e.life={delay:s.retina.reduceFactor?f(t.delay.value)*(t.delay.sync?h:c())/s.retina.reduceFactor*d:o,delayTime:o,duration:s.retina.reduceFactor?f(t.duration.value)*(t.duration.sync?h:c())/s.retina.reduceFactor*d:o,time:o,count:t.count},e.life.duration<=o&&(e.life.duration=g),e.life.count<=o&&(e.life.count=g),e.life&&(e.spawning=e.life.delay>o))}isEnabled(e){return!e.destroyed}loadOptions(e,...s){e.life||(e.life=new V);for(const n of s)e.life.load(n==null?void 0:n.life)}update(e,s){!this.isEnabled(e)||!e.life||F(e,s,this.container.canvas.size)}}export{D as LifeUpdater}; diff --git a/dist/assets/LinkInstance-DjecTUYJ.js b/dist/assets/LinkInstance-BFKigexG.js similarity index 98% rename from dist/assets/LinkInstance-DjecTUYJ.js rename to dist/assets/LinkInstance-BFKigexG.js index 4839bc1..edc940e 100644 --- a/dist/assets/LinkInstance-DjecTUYJ.js +++ b/dist/assets/LinkInstance-BFKigexG.js @@ -1 +1 @@ -import{K as m,W as q,n as T,m as C,J as S,H as W,a8 as D}from"./index-CIovSKpD.js";import{g as L}from"./CanvasUtils-Bhok4vf-.js";function R(l,o,n,i){l.beginPath(),l.moveTo(o.x,o.y),l.lineTo(n.x,n.y),l.lineTo(i.x,i.y),l.closePath()}function O(l){let o=!1;const{begin:n,end:i,maxDistance:e,context:t,canvasSize:s,width:r,backgroundMask:y,colorLine:u,opacity:h,links:d}=l;if(m(n,i)<=e)L(t,n,i),o=!0;else if(d.warp){let a,g;const x={x:i.x-s.width,y:i.y},p=q(n,x);if(p.distance<=e){const k=n.y-p.dy/p.dx*n.x;a={x:0,y:k},g={x:s.width,y:k}}else{const k={x:i.x,y:i.y-s.height},f=q(n,k);if(f.distance<=e){const w=-(n.y-f.dy/f.dx*n.x)/(f.dy/f.dx);a={x:w,y:0},g={x:w,y:s.height}}else{const b={x:i.x-s.width,y:i.y-s.height},w=q(n,b);if(w.distance<=e){const F=n.y-w.dy/w.dx*n.x;a={x:-F/(w.dy/w.dx),y:F},g={x:a.x+s.width,y:a.y+s.height}}}}a&&g&&(L(t,n,a),L(t,i,g),o=!0)}if(!o)return;t.lineWidth=r,y.enable&&(t.globalCompositeOperation=y.composite),t.strokeStyle=T(u,h);const{shadow:c}=d;if(c.enable){const a=C(c.color);a&&(t.shadowBlur=c.blur,t.shadowColor=T(a))}t.stroke()}function z(l){const{context:o,pos1:n,pos2:i,pos3:e,backgroundMask:t,colorTriangle:s,opacityTriangle:r}=l;R(o,n,i,e),t.enable&&(o.globalCompositeOperation=t.composite),o.fillStyle=T(s,r),o.fill()}function E(l){return l.sort((o,n)=>o-n),l.join("_")}function M(l,o){const n=E(l.map(e=>e.id));let i=o.get(n);return i===void 0&&(i=S(),o.set(n,i)),i}const P=0,_=0,v=0,I=.5,K=1;class J{constructor(o){this.container=o,this._drawLinkLine=(n,i)=>{const e=n.options.links;if(!(e!=null&&e.enable))return;const t=this.container,s=t.actualOptions,r=i.destination,y=n.getPosition(),u=r.getPosition();let h=i.opacity;t.canvas.draw(d=>{var k;let c;const a=(k=n.options.twinkle)==null?void 0:k.lines;if(a!=null&&a.enable){const f=a.frequency,b=C(a.color);S(){const t=n.options.links;if(!(t!=null&&t.enable))return;const s=t.triangles;if(!s.enable)return;const r=this.container,y=r.actualOptions,u=i.destination,h=e.destination,d=s.opacity??(i.opacity+e.opacity)*I;d<=P||r.canvas.draw(c=>{const a=n.getPosition(),g=u.getPosition(),x=h.getPosition(),p=n.retina.linksDistance??v;if(m(a,g)>p||m(x,g)>p||m(x,a)>p)return;let k=C(s.color);if(!k){const f=t.id!==void 0?r.particles.linksColors.get(t.id):r.particles.linksColor;k=D(n,u,f)}k&&z({context:c,pos1:a,pos2:g,pos3:x,backgroundMask:y.backgroundMask,colorTriangle:k,opacityTriangle:d})})},this._drawTriangles=(n,i,e,t)=>{var y,u,h;const s=e.destination;if(!((y=n.links)!=null&&y.triangles.enable&&((u=s.options.links)!=null&&u.triangles.enable)))return;const r=(h=s.links)==null?void 0:h.filter(d=>{const c=this._getLinkFrequency(s,d.destination);return s.options.links&&c<=s.options.links.frequency&&t.findIndex(g=>g.destination===d.destination)>=0});if(r!=null&&r.length)for(const d of r){const c=d.destination;this._getTriangleFrequency(i,s,c)>n.links.triangles.frequency||this._drawLinkTriangle(i,e,d)}},this._getLinkFrequency=(n,i)=>M([n,i],this._freqs.links),this._getTriangleFrequency=(n,i,e)=>M([n,i,e],this._freqs.triangles),this._freqs={links:new Map,triangles:new Map}}drawParticle(o,n){const{links:i,options:e}=n;if(!(i!=null&&i.length))return;const t=i.filter(s=>e.links&&(e.links.frequency>=K||this._getLinkFrequency(n,s.destination)<=e.links.frequency));for(const s of t)this._drawTriangles(e,n,s,t),s.opacity>P&&(n.retina.linksWidth??_)>_&&this._drawLinkLine(n,s)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map,await Promise.resolve()}particleCreated(o){if(o.links=[],!o.options.links)return;const n=this.container.retina.pixelRatio,{retina:i}=o,{distance:e,width:t}=o.options.links;i.linksDistance=e*n,i.linksWidth=t*n}particleDestroyed(o){o.links=[]}}export{J as LinkInstance}; +import{K as m,W as q,n as T,m as C,J as S,H as W,a8 as D}from"./index-CgAHdhFx.js";import{g as L}from"./CanvasUtils-CXWEKbNF.js";function R(l,o,n,i){l.beginPath(),l.moveTo(o.x,o.y),l.lineTo(n.x,n.y),l.lineTo(i.x,i.y),l.closePath()}function O(l){let o=!1;const{begin:n,end:i,maxDistance:e,context:t,canvasSize:s,width:r,backgroundMask:y,colorLine:u,opacity:h,links:d}=l;if(m(n,i)<=e)L(t,n,i),o=!0;else if(d.warp){let a,g;const x={x:i.x-s.width,y:i.y},p=q(n,x);if(p.distance<=e){const k=n.y-p.dy/p.dx*n.x;a={x:0,y:k},g={x:s.width,y:k}}else{const k={x:i.x,y:i.y-s.height},f=q(n,k);if(f.distance<=e){const w=-(n.y-f.dy/f.dx*n.x)/(f.dy/f.dx);a={x:w,y:0},g={x:w,y:s.height}}else{const b={x:i.x-s.width,y:i.y-s.height},w=q(n,b);if(w.distance<=e){const F=n.y-w.dy/w.dx*n.x;a={x:-F/(w.dy/w.dx),y:F},g={x:a.x+s.width,y:a.y+s.height}}}}a&&g&&(L(t,n,a),L(t,i,g),o=!0)}if(!o)return;t.lineWidth=r,y.enable&&(t.globalCompositeOperation=y.composite),t.strokeStyle=T(u,h);const{shadow:c}=d;if(c.enable){const a=C(c.color);a&&(t.shadowBlur=c.blur,t.shadowColor=T(a))}t.stroke()}function z(l){const{context:o,pos1:n,pos2:i,pos3:e,backgroundMask:t,colorTriangle:s,opacityTriangle:r}=l;R(o,n,i,e),t.enable&&(o.globalCompositeOperation=t.composite),o.fillStyle=T(s,r),o.fill()}function E(l){return l.sort((o,n)=>o-n),l.join("_")}function M(l,o){const n=E(l.map(e=>e.id));let i=o.get(n);return i===void 0&&(i=S(),o.set(n,i)),i}const P=0,_=0,v=0,I=.5,K=1;class J{constructor(o){this.container=o,this._drawLinkLine=(n,i)=>{const e=n.options.links;if(!(e!=null&&e.enable))return;const t=this.container,s=t.actualOptions,r=i.destination,y=n.getPosition(),u=r.getPosition();let h=i.opacity;t.canvas.draw(d=>{var k;let c;const a=(k=n.options.twinkle)==null?void 0:k.lines;if(a!=null&&a.enable){const f=a.frequency,b=C(a.color);S(){const t=n.options.links;if(!(t!=null&&t.enable))return;const s=t.triangles;if(!s.enable)return;const r=this.container,y=r.actualOptions,u=i.destination,h=e.destination,d=s.opacity??(i.opacity+e.opacity)*I;d<=P||r.canvas.draw(c=>{const a=n.getPosition(),g=u.getPosition(),x=h.getPosition(),p=n.retina.linksDistance??v;if(m(a,g)>p||m(x,g)>p||m(x,a)>p)return;let k=C(s.color);if(!k){const f=t.id!==void 0?r.particles.linksColors.get(t.id):r.particles.linksColor;k=D(n,u,f)}k&&z({context:c,pos1:a,pos2:g,pos3:x,backgroundMask:y.backgroundMask,colorTriangle:k,opacityTriangle:d})})},this._drawTriangles=(n,i,e,t)=>{var y,u,h;const s=e.destination;if(!((y=n.links)!=null&&y.triangles.enable&&((u=s.options.links)!=null&&u.triangles.enable)))return;const r=(h=s.links)==null?void 0:h.filter(d=>{const c=this._getLinkFrequency(s,d.destination);return s.options.links&&c<=s.options.links.frequency&&t.findIndex(g=>g.destination===d.destination)>=0});if(r!=null&&r.length)for(const d of r){const c=d.destination;this._getTriangleFrequency(i,s,c)>n.links.triangles.frequency||this._drawLinkTriangle(i,e,d)}},this._getLinkFrequency=(n,i)=>M([n,i],this._freqs.links),this._getTriangleFrequency=(n,i,e)=>M([n,i,e],this._freqs.triangles),this._freqs={links:new Map,triangles:new Map}}drawParticle(o,n){const{links:i,options:e}=n;if(!(i!=null&&i.length))return;const t=i.filter(s=>e.links&&(e.links.frequency>=K||this._getLinkFrequency(n,s.destination)<=e.links.frequency));for(const s of t)this._drawTriangles(e,n,s,t),s.opacity>P&&(n.retina.linksWidth??_)>_&&this._drawLinkLine(n,s)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map,await Promise.resolve()}particleCreated(o){if(o.links=[],!o.options.links)return;const n=this.container.retina.pixelRatio,{retina:i}=o,{distance:e,width:t}=o.options.links;i.linksDistance=e*n,i.linksWidth=t*n}particleDestroyed(o){o.links=[]}}export{J as LinkInstance}; diff --git a/dist/assets/Linker-3NY7CY_P.js b/dist/assets/Linker-D1kl1_H9.js similarity index 89% rename from dist/assets/Linker-3NY7CY_P.js rename to dist/assets/Linker-D1kl1_H9.js index d73e9e1..a5505e1 100644 --- a/dist/assets/Linker-3NY7CY_P.js +++ b/dist/assets/Linker-D1kl1_H9.js @@ -1 +1 @@ -import{C as y,R as g}from"./Ranges-CMjHcLDp.js";import{Links as b}from"./index-tAKDc-jX.js";import{P as z}from"./ParticlesInteractorBase-vfDeBun3.js";import{a7 as D,W as P}from"./index-CIovSKpD.js";import"./OptionsColor-D2YVVpO2.js";const k=2;class M extends y{constructor(i,n,t,s){super(i,n,t),this.canvasSize=s,this.canvasSize={...s}}contains(i){const{width:n,height:t}=this.canvasSize,{x:s,y:e}=i;return super.contains(i)||super.contains({x:s-n,y:e})||super.contains({x:s-n,y:e-t})||super.contains({x:s,y:e-t})}intersects(i){if(super.intersects(i))return!0;const n=i,t=i,s={x:i.position.x-this.canvasSize.width,y:i.position.y-this.canvasSize.height};if(t.radius!==void 0){const e=new y(s.x,s.y,t.radius*k);return super.intersects(e)}else if(n.size!==void 0){const e=new g(s.x,s.y,n.size.width*k,n.size.height*k);return super.intersects(e)}return!1}}const w=2,q=1,p={x:0,y:0},v=0;function L(h,i,n,t,s){const{dx:e,dy:l,distance:r}=P(h,i);if(!s||r<=n)return r;const a={x:Math.abs(e),y:Math.abs(l)},c={x:Math.min(a.x,t.width-a.x),y:Math.min(a.y,t.height-a.y)};return Math.sqrt(c.x**w+c.y**w)}class B extends z{constructor(i){super(i),this._setColor=n=>{if(!n.options.links)return;const t=this.linkContainer,s=n.options.links;let e=s.id===void 0?t.particles.linksColor:t.particles.linksColors.get(s.id);if(e)return;const l=s.color;e=D(l,s.blink,s.consent),s.id===void 0?t.particles.linksColor=e:t.particles.linksColors.set(s.id,e)},this.linkContainer=i}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}interact(i){if(!i.options.links)return;i.links=[];const n=i.getPosition(),t=this.container,s=t.canvas.size;if(n.xs.width||n.y>s.height)return;const e=i.options.links,l=e.opacity,r=i.retina.linksDistance??v,a=e.warp;let c;a?c=new M(n.x,n.y,r,s):c=new y(n.x,n.y,r);const C=t.particles.quadTree.query(c);for(const o of C){const d=o.options.links;if(i===o||!(d!=null&&d.enable)||e.id!==d.id||o.spawning||o.destroyed||!o.links||i.links.some(f=>f.destination===o)||o.links.some(f=>f.destination===i))continue;const u=o.getPosition();if(u.xs.width||u.y>s.height)continue;const x=L(n,u,r,s,a&&d.warp);if(x>r)continue;const m=(q-x/r)*l;this._setColor(i),i.links.push({destination:o,opacity:m})}}isEnabled(i){var n;return!!((n=i.options.links)!=null&&n.enable)}loadParticlesOptions(i,...n){i.links||(i.links=new b);for(const t of n)i.links.load(t==null?void 0:t.links)}reset(){}}export{B as Linker}; +import{C as y,R as g}from"./Ranges-Bq4zSnBQ.js";import{Links as b}from"./index-DuBBfDxH.js";import{P as z}from"./ParticlesInteractorBase-vfDeBun3.js";import{a7 as D,W as P}from"./index-CgAHdhFx.js";import"./OptionsColor-D4_II_Ky.js";const k=2;class M extends y{constructor(i,n,t,s){super(i,n,t),this.canvasSize=s,this.canvasSize={...s}}contains(i){const{width:n,height:t}=this.canvasSize,{x:s,y:e}=i;return super.contains(i)||super.contains({x:s-n,y:e})||super.contains({x:s-n,y:e-t})||super.contains({x:s,y:e-t})}intersects(i){if(super.intersects(i))return!0;const n=i,t=i,s={x:i.position.x-this.canvasSize.width,y:i.position.y-this.canvasSize.height};if(t.radius!==void 0){const e=new y(s.x,s.y,t.radius*k);return super.intersects(e)}else if(n.size!==void 0){const e=new g(s.x,s.y,n.size.width*k,n.size.height*k);return super.intersects(e)}return!1}}const w=2,q=1,p={x:0,y:0},v=0;function L(h,i,n,t,s){const{dx:e,dy:l,distance:r}=P(h,i);if(!s||r<=n)return r;const a={x:Math.abs(e),y:Math.abs(l)},c={x:Math.min(a.x,t.width-a.x),y:Math.min(a.y,t.height-a.y)};return Math.sqrt(c.x**w+c.y**w)}class B extends z{constructor(i){super(i),this._setColor=n=>{if(!n.options.links)return;const t=this.linkContainer,s=n.options.links;let e=s.id===void 0?t.particles.linksColor:t.particles.linksColors.get(s.id);if(e)return;const l=s.color;e=D(l,s.blink,s.consent),s.id===void 0?t.particles.linksColor=e:t.particles.linksColors.set(s.id,e)},this.linkContainer=i}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}interact(i){if(!i.options.links)return;i.links=[];const n=i.getPosition(),t=this.container,s=t.canvas.size;if(n.xs.width||n.y>s.height)return;const e=i.options.links,l=e.opacity,r=i.retina.linksDistance??v,a=e.warp;let c;a?c=new M(n.x,n.y,r,s):c=new y(n.x,n.y,r);const C=t.particles.quadTree.query(c);for(const o of C){const d=o.options.links;if(i===o||!(d!=null&&d.enable)||e.id!==d.id||o.spawning||o.destroyed||!o.links||i.links.some(f=>f.destination===o)||o.links.some(f=>f.destination===i))continue;const u=o.getPosition();if(u.xs.width||u.y>s.height)continue;const x=L(n,u,r,s,a&&d.warp);if(x>r)continue;const m=(q-x/r)*l;this._setColor(i),i.links.push({destination:o,opacity:m})}}isEnabled(i){var n;return!!((n=i.options.links)!=null&&n.enable)}loadParticlesOptions(i,...n){i.links||(i.links=new b);for(const t of n)i.links.load(t==null?void 0:t.links)}reset(){}}export{B as Linker}; diff --git a/dist/assets/LinksPlugin-DnSlMdjr.js b/dist/assets/LinksPlugin-Bs8Ewd3m.js similarity index 50% rename from dist/assets/LinksPlugin-DnSlMdjr.js rename to dist/assets/LinksPlugin-Bs8Ewd3m.js index d3575db..bd93e24 100644 --- a/dist/assets/LinksPlugin-DnSlMdjr.js +++ b/dist/assets/LinksPlugin-Bs8Ewd3m.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LinkInstance-DjecTUYJ.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/CanvasUtils-Bhok4vf-.js"] + __vite__mapDeps.viteFileDeps = ["assets/LinkInstance-BFKigexG.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/CanvasUtils-CXWEKbNF.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-CIovSKpD.js";class s{constructor(){this.id="links"}async getPlugin(n){const{LinkInstance:t}=await i(()=>import("./LinkInstance-DjecTUYJ.js"),__vite__mapDeps([0,1,2,3]));return new t(n)}loadOptions(){}needsPlugin(){return!0}}export{s as LinksPlugin}; +import{_ as i}from"./index-CgAHdhFx.js";class s{constructor(){this.id="links"}async getPlugin(n){const{LinkInstance:t}=await i(()=>import("./LinkInstance-BFKigexG.js"),__vite__mapDeps([0,1,2,3]));return new t(n)}loadOptions(){}needsPlugin(){return!0}}export{s as LinksPlugin}; diff --git a/dist/assets/OpacityUpdater-CVsV_e-f.js b/dist/assets/OpacityUpdater-Cn_y5keR.js similarity index 80% rename from dist/assets/OpacityUpdater-CVsV_e-f.js rename to dist/assets/OpacityUpdater-Cn_y5keR.js index eb1533d..9d7adf6 100644 --- a/dist/assets/OpacityUpdater-CVsV_e-f.js +++ b/dist/assets/OpacityUpdater-Cn_y5keR.js @@ -1 +1 @@ -import{R as a,H as e,ae as s,J as y,ab as p}from"./index-CIovSKpD.js";class d{constructor(o){this.container=o}init(o){const n=o.options.opacity,i=1;o.opacity=a(n,i);const t=n.animation;t.enable&&(o.opacity.velocity=e(t.speed)/s*this.container.retina.reduceFactor,t.sync||(o.opacity.velocity*=y()))}isEnabled(o){return!o.destroyed&&!o.spawning&&!!o.opacity&&o.opacity.enable&&((o.opacity.maxLoops??0)<=0||(o.opacity.maxLoops??0)>0&&(o.opacity.loops??0)<(o.opacity.maxLoops??0))}reset(o){o.opacity&&(o.opacity.time=0,o.opacity.loops=0)}update(o,n){!this.isEnabled(o)||!o.opacity||p(o,o.opacity,!0,o.options.opacity.animation.destroy,n)}}export{d as OpacityUpdater}; +import{R as a,H as e,ae as s,J as y,ab as p}from"./index-CgAHdhFx.js";class d{constructor(o){this.container=o}init(o){const n=o.options.opacity,i=1;o.opacity=a(n,i);const t=n.animation;t.enable&&(o.opacity.velocity=e(t.speed)/s*this.container.retina.reduceFactor,t.sync||(o.opacity.velocity*=y()))}isEnabled(o){return!o.destroyed&&!o.spawning&&!!o.opacity&&o.opacity.enable&&((o.opacity.maxLoops??0)<=0||(o.opacity.maxLoops??0)>0&&(o.opacity.loops??0)<(o.opacity.maxLoops??0))}reset(o){o.opacity&&(o.opacity.time=0,o.opacity.loops=0)}update(o,n){!this.isEnabled(o)||!o.opacity||p(o,o.opacity,!0,o.options.opacity.animation.destroy,n)}}export{d as OpacityUpdater}; diff --git a/dist/assets/OptionsColor-D2YVVpO2.js b/dist/assets/OptionsColor-D4_II_Ky.js similarity index 76% rename from dist/assets/OptionsColor-D2YVVpO2.js rename to dist/assets/OptionsColor-D4_II_Ky.js index 58aab87..032e069 100644 --- a/dist/assets/OptionsColor-D2YVVpO2.js +++ b/dist/assets/OptionsColor-D4_II_Ky.js @@ -1 +1 @@ -import{d as l,i as o}from"./index-CIovSKpD.js";class s{constructor(){this.value=""}static create(e,r){const i=new s;return i.load(e),r!==void 0&&(l(r)||o(r)?i.load({value:r}):i.load(r)),i}load(e){(e==null?void 0:e.value)!==void 0&&(this.value=e.value)}}export{s as O}; +import{d as l,i as o}from"./index-CgAHdhFx.js";class s{constructor(){this.value=""}static create(e,r){const i=new s;return i.load(e),r!==void 0&&(l(r)||o(r)?i.load({value:r}):i.load(r)),i}load(e){(e==null?void 0:e.value)!==void 0&&(this.value=e.value)}}export{s as O}; diff --git a/dist/assets/OutOfCanvasUpdater-BP8MzKHl.js b/dist/assets/OutOfCanvasUpdater-AQUo1tEq.js similarity index 98% rename from dist/assets/OutOfCanvasUpdater-BP8MzKHl.js rename to dist/assets/OutOfCanvasUpdater-AQUo1tEq.js index 3dcd0bc..2c2e7de 100644 --- a/dist/assets/OutOfCanvasUpdater-BP8MzKHl.js +++ b/dist/assets/OutOfCanvasUpdater-AQUo1tEq.js @@ -1 +1 @@ -import{H as P,a1 as R,W as M,af as O,O as c,J as g,I as b}from"./index-CIovSKpD.js";const C=0,v=0;function S(i){if(i.outMode!=="bounce"&&i.outMode!=="split"||i.direction!=="left"&&i.direction!=="right")return;i.bounds.righti.canvasSize.width&&i.direction==="right"&&(i.particle.position.x=i.canvasSize.width-i.size-i.offset.x);const o=i.particle.velocity.x;let s=!1;if(i.direction==="right"&&i.bounds.right>=i.canvasSize.width&&o>C||i.direction==="left"&&i.bounds.left<=v&&o=i.canvasSize.width&&i.direction==="right"?i.particle.position.x=i.canvasSize.width-u:i.bounds.left<=v&&i.direction==="left"&&(i.particle.position.x=u),i.outMode==="split"&&i.particle.destroy()}function V(i){if(i.outMode!=="bounce"&&i.outMode!=="split"||i.direction!=="bottom"&&i.direction!=="top")return;i.bounds.bottomi.canvasSize.height&&i.direction==="bottom"&&(i.particle.position.y=i.canvasSize.height-i.size-i.offset.y);const o=i.particle.velocity.y;let s=!1;if(i.direction==="bottom"&&i.bounds.bottom>=i.canvasSize.height&&o>C||i.direction==="top"&&i.bounds.top<=v&&o=i.canvasSize.height&&i.direction==="bottom"?i.particle.position.y=i.canvasSize.height-u:i.bounds.top<=v&&i.direction==="top"&&(i.particle.position.y=u),i.outMode==="split"&&i.particle.destroy()}class k{constructor(o){this.container=o,this.modes=["bounce","split"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;let n=!1;for(const[,d]of f.plugins)if(d.particleBounce!==void 0&&(n=d.particleBounce(o,u,s)),n)break;if(n)return;const t=o.getPosition(),e=o.offset,r=o.getRadius(),y=R(t,r),m=f.canvas.size;S({particle:o,outMode:h,direction:s,bounds:y,canvasSize:m,offset:e,size:r}),V({particle:o,outMode:h,direction:s,bounds:y,canvasSize:m,offset:e,size:r})}}const x=0;class _{constructor(o){this.container=o,this.modes=["destroy"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;switch(o.outType){case"normal":case"outside":if(O(o.position,f.canvas.size,c.origin,o.getRadius(),s))return;break;case"inside":{const{dx:n,dy:t}=M(o.position,o.moveCenter),{x:e,y:r}=o.velocity;if(eo.moveCenter.radius||ro.moveCenter.radius||e>=x&&n<-o.moveCenter.radius||r>=x&&t<-o.moveCenter.radius)return;break}}f.particles.remove(o,void 0,!0)}}const z=0;class B{constructor(o){this.container=o,this.modes=["none"]}update(o,s,u,h){if(!this.modes.includes(h)||((o.options.move.distance.horizontal&&(s==="left"||s==="right"))??(o.options.move.distance.vertical&&(s==="top"||s==="bottom"))))return;const f=o.options.move.gravity,n=this.container,t=n.canvas.size,e=o.getRadius();if(f.enable){const r=o.position;(!f.inverse&&r.y>t.height+e&&s==="bottom"||f.inverse&&r.y<-e&&s==="top")&&n.particles.remove(o)}else{if(o.velocity.y>z&&o.position.y<=t.height+e||o.velocity.y=-e||o.velocity.x>z&&o.position.x<=t.width+e||o.velocity.x=-e)return;O(o.position,n.canvas.size,c.origin,e,s)||n.particles.remove(o)}}}const l=0,p=0;class D{constructor(o){this.container=o,this.modes=["out"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;switch(o.outType){case"inside":{const{x:n,y:t}=o.velocity,e=c.origin;e.length=o.moveCenter.radius,e.angle=o.velocity.angle+Math.PI,e.addTo(c.create(o.moveCenter));const{dx:r,dy:y}=M(o.position,e);if(n<=l&&r>=p||t<=l&&y>=p||n>=l&&r<=p||t>=l&&y<=p)return;o.position.x=Math.floor(b({min:0,max:f.canvas.size.width})),o.position.y=Math.floor(b({min:0,max:f.canvas.size.height}));const{dx:m,dy:d}=M(o.position,o.moveCenter);o.direction=Math.atan2(-d,-m),o.velocity.angle=o.direction;break}default:{if(O(o.position,f.canvas.size,c.origin,o.getRadius(),s))return;switch(o.outType){case"outside":{o.position.x=Math.floor(b({min:-o.moveCenter.radius,max:o.moveCenter.radius}))+o.moveCenter.x,o.position.y=Math.floor(b({min:-o.moveCenter.radius,max:o.moveCenter.radius}))+o.moveCenter.y;const{dx:n,dy:t}=M(o.position,o.moveCenter);o.moveCenter.radius&&(o.direction=Math.atan2(t,n),o.velocity.angle=o.direction);break}case"normal":{const n=o.options.move.warp,t=f.canvas.size,e={bottom:t.height+o.getRadius()+o.offset.y,left:-o.getRadius()-o.offset.x,right:t.width+o.getRadius()+o.offset.x,top:-o.getRadius()-o.offset.y},r=o.getRadius(),y=R(o.position,r);s==="right"&&y.left>t.width+o.offset.x?(o.position.x=e.left,o.initialPosition.x=o.position.x,n||(o.position.y=g()*t.height,o.initialPosition.y=o.position.y)):s==="left"&&y.right<-o.offset.x&&(o.position.x=e.right,o.initialPosition.x=o.position.x,n||(o.position.y=g()*t.height,o.initialPosition.y=o.position.y)),s==="bottom"&&y.top>t.height+o.offset.y?(n||(o.position.x=g()*t.width,o.initialPosition.x=o.position.x),o.position.y=e.top,o.initialPosition.y=o.position.y):s==="top"&&y.bottom<-o.offset.y&&(n||(o.position.x=g()*t.width,o.initialPosition.x=o.position.x),o.position.y=e.bottom,o.initialPosition.y=o.position.y);break}}break}}}}const w=(i,o)=>i.default===o||i.bottom===o||i.left===o||i.right===o||i.top===o;class T{constructor(o){this._updateOutMode=(s,u,h,f)=>{for(const n of this.updaters)n.update(s,f,u,h)},this.container=o,this.updaters=[]}init(o){this.updaters=[];const s=o.options.move.outModes;w(s,"bounce")?this.updaters.push(new k(this.container)):w(s,"out")?this.updaters.push(new D(this.container)):w(s,"destroy")?this.updaters.push(new _(this.container)):w(s,"none")&&this.updaters.push(new B(this.container))}isEnabled(o){return!o.destroyed&&!o.spawning}update(o,s){const u=o.options.move.outModes;this._updateOutMode(o,s,u.bottom??u.default,"bottom"),this._updateOutMode(o,s,u.left??u.default,"left"),this._updateOutMode(o,s,u.right??u.default,"right"),this._updateOutMode(o,s,u.top??u.default,"top")}}export{T as OutOfCanvasUpdater}; +import{H as P,a1 as R,W as M,af as O,O as c,J as g,I as b}from"./index-CgAHdhFx.js";const C=0,v=0;function S(i){if(i.outMode!=="bounce"&&i.outMode!=="split"||i.direction!=="left"&&i.direction!=="right")return;i.bounds.righti.canvasSize.width&&i.direction==="right"&&(i.particle.position.x=i.canvasSize.width-i.size-i.offset.x);const o=i.particle.velocity.x;let s=!1;if(i.direction==="right"&&i.bounds.right>=i.canvasSize.width&&o>C||i.direction==="left"&&i.bounds.left<=v&&o=i.canvasSize.width&&i.direction==="right"?i.particle.position.x=i.canvasSize.width-u:i.bounds.left<=v&&i.direction==="left"&&(i.particle.position.x=u),i.outMode==="split"&&i.particle.destroy()}function V(i){if(i.outMode!=="bounce"&&i.outMode!=="split"||i.direction!=="bottom"&&i.direction!=="top")return;i.bounds.bottomi.canvasSize.height&&i.direction==="bottom"&&(i.particle.position.y=i.canvasSize.height-i.size-i.offset.y);const o=i.particle.velocity.y;let s=!1;if(i.direction==="bottom"&&i.bounds.bottom>=i.canvasSize.height&&o>C||i.direction==="top"&&i.bounds.top<=v&&o=i.canvasSize.height&&i.direction==="bottom"?i.particle.position.y=i.canvasSize.height-u:i.bounds.top<=v&&i.direction==="top"&&(i.particle.position.y=u),i.outMode==="split"&&i.particle.destroy()}class k{constructor(o){this.container=o,this.modes=["bounce","split"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;let n=!1;for(const[,d]of f.plugins)if(d.particleBounce!==void 0&&(n=d.particleBounce(o,u,s)),n)break;if(n)return;const t=o.getPosition(),e=o.offset,r=o.getRadius(),y=R(t,r),m=f.canvas.size;S({particle:o,outMode:h,direction:s,bounds:y,canvasSize:m,offset:e,size:r}),V({particle:o,outMode:h,direction:s,bounds:y,canvasSize:m,offset:e,size:r})}}const x=0;class _{constructor(o){this.container=o,this.modes=["destroy"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;switch(o.outType){case"normal":case"outside":if(O(o.position,f.canvas.size,c.origin,o.getRadius(),s))return;break;case"inside":{const{dx:n,dy:t}=M(o.position,o.moveCenter),{x:e,y:r}=o.velocity;if(eo.moveCenter.radius||ro.moveCenter.radius||e>=x&&n<-o.moveCenter.radius||r>=x&&t<-o.moveCenter.radius)return;break}}f.particles.remove(o,void 0,!0)}}const z=0;class B{constructor(o){this.container=o,this.modes=["none"]}update(o,s,u,h){if(!this.modes.includes(h)||((o.options.move.distance.horizontal&&(s==="left"||s==="right"))??(o.options.move.distance.vertical&&(s==="top"||s==="bottom"))))return;const f=o.options.move.gravity,n=this.container,t=n.canvas.size,e=o.getRadius();if(f.enable){const r=o.position;(!f.inverse&&r.y>t.height+e&&s==="bottom"||f.inverse&&r.y<-e&&s==="top")&&n.particles.remove(o)}else{if(o.velocity.y>z&&o.position.y<=t.height+e||o.velocity.y=-e||o.velocity.x>z&&o.position.x<=t.width+e||o.velocity.x=-e)return;O(o.position,n.canvas.size,c.origin,e,s)||n.particles.remove(o)}}}const l=0,p=0;class D{constructor(o){this.container=o,this.modes=["out"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;switch(o.outType){case"inside":{const{x:n,y:t}=o.velocity,e=c.origin;e.length=o.moveCenter.radius,e.angle=o.velocity.angle+Math.PI,e.addTo(c.create(o.moveCenter));const{dx:r,dy:y}=M(o.position,e);if(n<=l&&r>=p||t<=l&&y>=p||n>=l&&r<=p||t>=l&&y<=p)return;o.position.x=Math.floor(b({min:0,max:f.canvas.size.width})),o.position.y=Math.floor(b({min:0,max:f.canvas.size.height}));const{dx:m,dy:d}=M(o.position,o.moveCenter);o.direction=Math.atan2(-d,-m),o.velocity.angle=o.direction;break}default:{if(O(o.position,f.canvas.size,c.origin,o.getRadius(),s))return;switch(o.outType){case"outside":{o.position.x=Math.floor(b({min:-o.moveCenter.radius,max:o.moveCenter.radius}))+o.moveCenter.x,o.position.y=Math.floor(b({min:-o.moveCenter.radius,max:o.moveCenter.radius}))+o.moveCenter.y;const{dx:n,dy:t}=M(o.position,o.moveCenter);o.moveCenter.radius&&(o.direction=Math.atan2(t,n),o.velocity.angle=o.direction);break}case"normal":{const n=o.options.move.warp,t=f.canvas.size,e={bottom:t.height+o.getRadius()+o.offset.y,left:-o.getRadius()-o.offset.x,right:t.width+o.getRadius()+o.offset.x,top:-o.getRadius()-o.offset.y},r=o.getRadius(),y=R(o.position,r);s==="right"&&y.left>t.width+o.offset.x?(o.position.x=e.left,o.initialPosition.x=o.position.x,n||(o.position.y=g()*t.height,o.initialPosition.y=o.position.y)):s==="left"&&y.right<-o.offset.x&&(o.position.x=e.right,o.initialPosition.x=o.position.x,n||(o.position.y=g()*t.height,o.initialPosition.y=o.position.y)),s==="bottom"&&y.top>t.height+o.offset.y?(n||(o.position.x=g()*t.width,o.initialPosition.x=o.position.x),o.position.y=e.top,o.initialPosition.y=o.position.y):s==="top"&&y.bottom<-o.offset.y&&(n||(o.position.x=g()*t.width,o.initialPosition.x=o.position.x),o.position.y=e.bottom,o.initialPosition.y=o.position.y);break}}break}}}}const w=(i,o)=>i.default===o||i.bottom===o||i.left===o||i.right===o||i.top===o;class T{constructor(o){this._updateOutMode=(s,u,h,f)=>{for(const n of this.updaters)n.update(s,f,u,h)},this.container=o,this.updaters=[]}init(o){this.updaters=[];const s=o.options.move.outModes;w(s,"bounce")?this.updaters.push(new k(this.container)):w(s,"out")?this.updaters.push(new D(this.container)):w(s,"destroy")?this.updaters.push(new _(this.container)):w(s,"none")&&this.updaters.push(new B(this.container))}isEnabled(o){return!o.destroyed&&!o.spawning}update(o,s){const u=o.options.move.outModes;this._updateOutMode(o,s,u.bottom??u.default,"bottom"),this._updateOutMode(o,s,u.left??u.default,"left"),this._updateOutMode(o,s,u.right??u.default,"right"),this._updateOutMode(o,s,u.top??u.default,"top")}}export{T as OutOfCanvasUpdater}; diff --git a/dist/assets/ParallaxMover-BWh3OOEZ.js b/dist/assets/ParallaxMover-CZoSgvFL.js similarity index 88% rename from dist/assets/ParallaxMover-BWh3OOEZ.js rename to dist/assets/ParallaxMover-CZoSgvFL.js index 3e07824..2b163ba 100644 --- a/dist/assets/ParallaxMover-BWh3OOEZ.js +++ b/dist/assets/ParallaxMover-CZoSgvFL.js @@ -1 +1 @@ -import{T as x}from"./index-CIovSKpD.js";const v=.5;class m{init(){}isEnabled(a){return!x()&&!a.destroyed&&a.container.actualOptions.interactivity.events.onHover.parallax.enable}move(a){const e=a.container,y=e.actualOptions,n=y.interactivity.events.onHover.parallax;if(x()||!n.enable)return;const p=n.force,o=e.interactivity.mouse.position;if(!o)return;const s=e.canvas.size,i={x:s.width*v,y:s.height*v},r=n.smooth,c=a.getRadius()/p,l={x:(o.x-i.x)*c,y:(o.y-i.y)*c},{offset:t}=a;t.x+=(l.x-t.x)/r,t.y+=(l.y-t.y)/r}}export{m as ParallaxMover}; +import{T as x}from"./index-CgAHdhFx.js";const v=.5;class m{init(){}isEnabled(a){return!x()&&!a.destroyed&&a.container.actualOptions.interactivity.events.onHover.parallax.enable}move(a){const e=a.container,y=e.actualOptions,n=y.interactivity.events.onHover.parallax;if(x()||!n.enable)return;const p=n.force,o=e.interactivity.mouse.position;if(!o)return;const s=e.canvas.size,i={x:s.width*v,y:s.height*v},r=n.smooth,c=a.getRadius()/p,l={x:(o.x-i.x)*c,y:(o.y-i.y)*c},{offset:t}=a;t.x+=(l.x-t.x)/r,t.y+=(l.y-t.y)/r}}export{m as ParallaxMover}; diff --git a/dist/assets/PolygonDrawer-Ia00f0HX.js b/dist/assets/PolygonDrawer-CUSri03x.js similarity index 56% rename from dist/assets/PolygonDrawer-Ia00f0HX.js rename to dist/assets/PolygonDrawer-CUSri03x.js index 613b007..913d628 100644 --- a/dist/assets/PolygonDrawer-Ia00f0HX.js +++ b/dist/assets/PolygonDrawer-CUSri03x.js @@ -1 +1 @@ -import{P as n}from"./PolygonDrawerBase-Dkja-2hD.js";import"./index-CIovSKpD.js";const o=3.5,s=2.66,a=3;class g extends n{getCenter(t,e){return{x:-e/(t.sides/o),y:-e/(s/o)}}getSidesData(t,e){const r=t.sides;return{count:{denominator:1,numerator:r},length:e*s/(r/a)}}}export{g as PolygonDrawer}; +import{P as n}from"./PolygonDrawerBase-CU7uyfXk.js";import"./index-CgAHdhFx.js";const o=3.5,s=2.66,a=3;class g extends n{getCenter(t,e){return{x:-e/(t.sides/o),y:-e/(s/o)}}getSidesData(t,e){const r=t.sides;return{count:{denominator:1,numerator:r},length:e*s/(r/a)}}}export{g as PolygonDrawer}; diff --git a/dist/assets/PolygonDrawerBase-Dkja-2hD.js b/dist/assets/PolygonDrawerBase-CU7uyfXk.js similarity index 88% rename from dist/assets/PolygonDrawerBase-Dkja-2hD.js rename to dist/assets/PolygonDrawerBase-CU7uyfXk.js index ea9d4e9..fffcce1 100644 --- a/dist/assets/PolygonDrawerBase-Dkja-2hD.js +++ b/dist/assets/PolygonDrawerBase-CU7uyfXk.js @@ -1 +1 @@ -import{G as c,H as l}from"./index-CIovSKpD.js";const d=180,r={x:0,y:0},h=2;function m(s,n,t){const{context:e}=s,a=t.count.numerator*t.count.denominator,o=t.count.numerator/t.count.denominator,g=d*(o-h)/o,u=Math.PI-c(g);if(e){e.beginPath(),e.translate(n.x,n.y),e.moveTo(r.x,r.y);for(let i=0;i{if(n!==h)return;const t=this.container,o=t.actualOptions,r=o.interactivity.modes.push;if(!r)return;const i=p(r.quantity);if(i<=l)return;const s=c([void 0,...r.groups]),u=s!==void 0?t.actualOptions.particles.groups[s]:void 0;t.particles.push(i,t.interactivity.mouse,u,s)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(e,...n){e.push||(e.push=new a);for(const t of n)e.push.load(t==null?void 0:t.push)}reset(){}}export{O as Pusher}; +import{Push as a}from"./index-bSu6BdYY.js";import{H as p,a9 as c}from"./index-CgAHdhFx.js";import{E as d}from"./ExternalInteractorBase-CIi3zRdK.js";const h="push",l=0;class O extends d{constructor(e){super(e),this.handleClickMode=n=>{if(n!==h)return;const t=this.container,o=t.actualOptions,r=o.interactivity.modes.push;if(!r)return;const i=p(r.quantity);if(i<=l)return;const s=c([void 0,...r.groups]),u=s!==void 0?t.actualOptions.particles.groups[s]:void 0;t.particles.push(i,t.interactivity.mouse,u,s)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(e,...n){e.push||(e.push=new a);for(const t of n)e.push.load(t==null?void 0:t.push)}reset(){}}export{O as Pusher}; diff --git a/dist/assets/Ranges-CMjHcLDp.js b/dist/assets/Ranges-Bq4zSnBQ.js similarity index 94% rename from dist/assets/Ranges-CMjHcLDp.js rename to dist/assets/Ranges-Bq4zSnBQ.js index ca22737..bbc46fe 100644 --- a/dist/assets/Ranges-CMjHcLDp.js +++ b/dist/assets/Ranges-Bq4zSnBQ.js @@ -1 +1 @@ -import{K as y}from"./index-CIovSKpD.js";const r=2;class p{constructor(s,i,e){this.position={x:s,y:i},this.type=e}}class a extends p{constructor(s,i,e){super(s,i,"circle"),this.radius=e}contains(s){return y(s,this.position)<=this.radius}intersects(s){const i=this.position,e=s.position,t={x:Math.abs(e.x-i.x),y:Math.abs(e.y-i.y)},h=this.radius;if(s instanceof a||s.type==="circle"){const n=s,o=h+n.radius,c=Math.sqrt(t.x**r+t.y**r);return o>c}else if(s instanceof x||s.type==="rectangle"){const n=s,{width:o,height:c}=n.size;return Math.pow(t.x-o,r)+Math.pow(t.y-c,r)<=h**r||t.x<=h+o&&t.y<=h+c||t.x<=o||t.y<=c}return!1}}class x extends p{constructor(s,i,e,t){super(s,i,"rectangle"),this.size={height:t,width:e}}contains(s){const i=this.size.width,e=this.size.height,t=this.position;return s.x>=t.x&&s.x<=t.x+i&&s.y>=t.y&&s.y<=t.y+e}intersects(s){if(s instanceof a)return s.intersects(this);const i=this.size.width,e=this.size.height,t=this.position,h=s.position,n=s instanceof x?s.size:{width:0,height:0},o=n.width,c=n.height;return h.xt.x&&h.yt.y}}export{a as C,x as R}; +import{K as y}from"./index-CgAHdhFx.js";const r=2;class p{constructor(s,i,e){this.position={x:s,y:i},this.type=e}}class a extends p{constructor(s,i,e){super(s,i,"circle"),this.radius=e}contains(s){return y(s,this.position)<=this.radius}intersects(s){const i=this.position,e=s.position,t={x:Math.abs(e.x-i.x),y:Math.abs(e.y-i.y)},h=this.radius;if(s instanceof a||s.type==="circle"){const n=s,o=h+n.radius,c=Math.sqrt(t.x**r+t.y**r);return o>c}else if(s instanceof x||s.type==="rectangle"){const n=s,{width:o,height:c}=n.size;return Math.pow(t.x-o,r)+Math.pow(t.y-c,r)<=h**r||t.x<=h+o&&t.y<=h+c||t.x<=o||t.y<=c}return!1}}class x extends p{constructor(s,i,e,t){super(s,i,"rectangle"),this.size={height:t,width:e}}contains(s){const i=this.size.width,e=this.size.height,t=this.position;return s.x>=t.x&&s.x<=t.x+i&&s.y>=t.y&&s.y<=t.y+e}intersects(s){if(s instanceof a)return s.intersects(this);const i=this.size.width,e=this.size.height,t=this.position,h=s.position,n=s instanceof x?s.size:{width:0,height:0},o=n.width,c=n.height;return h.xt.x&&h.yt.y}}export{a as C,x as R}; diff --git a/dist/assets/Remover-CekZ5eGm.js b/dist/assets/Remover-B55CQg0a.js similarity index 78% rename from dist/assets/Remover-CekZ5eGm.js rename to dist/assets/Remover-B55CQg0a.js index 900ab44..1c72e0f 100644 --- a/dist/assets/Remover-CekZ5eGm.js +++ b/dist/assets/Remover-B55CQg0a.js @@ -1 +1 @@ -import{Remove as i}from"./index-Bjm3viXX.js";import{E as a}from"./ExternalInteractorBase-CIi3zRdK.js";import{H as m}from"./index-CIovSKpD.js";const s="remove";class u extends a{constructor(t){super(t),this.handleClickMode=r=>{const e=this.container,o=e.actualOptions;if(!o.interactivity.modes.remove||r!==s)return;const n=m(o.interactivity.modes.remove.quantity);e.particles.removeQuantity(n)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(t,...r){t.remove||(t.remove=new i);for(const e of r)t.remove.load(e==null?void 0:e.remove)}reset(){}}export{u as Remover}; +import{Remove as i}from"./index-Iqo3_cpu.js";import{E as a}from"./ExternalInteractorBase-CIi3zRdK.js";import{H as m}from"./index-CgAHdhFx.js";const s="remove";class u extends a{constructor(t){super(t),this.handleClickMode=r=>{const e=this.container,o=e.actualOptions;if(!o.interactivity.modes.remove||r!==s)return;const n=m(o.interactivity.modes.remove.quantity);e.particles.removeQuantity(n)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(t,...r){t.remove||(t.remove=new i);for(const e of r)t.remove.load(e==null?void 0:e.remove)}reset(){}}export{u as Remover}; diff --git a/dist/assets/Repulser-DTQ8wAL7.js b/dist/assets/Repulser-C-3MhRRA.js similarity index 94% rename from dist/assets/Repulser-DTQ8wAL7.js rename to dist/assets/Repulser-C-3MhRRA.js index f0fd7b0..6c3390c 100644 --- a/dist/assets/Repulser-DTQ8wAL7.js +++ b/dist/assets/Repulser-C-3MhRRA.js @@ -1 +1 @@ -import{Repulse as T}from"./index-dQ4aXhzE.js";import{E as _}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as M,R as D}from"./Ranges-CMjHcLDp.js";import{W as O,O as b,X as w,L as S,a6 as C,q as P,t as H,S as g,Y as V,a2 as W}from"./index-CIovSKpD.js";const h="repulse",F=0,L=6,A=3,I=2,B=0,X=0,Y=1,x=.5;class N extends _{constructor(c,n){super(n),this._clickRepulse=()=>{const t=this.container,i=t.actualOptions.interactivity.modes.repulse;if(!i)return;const e=t.repulse??{particles:[]};if(e.finish||(e.count||(e.count=0),e.count++,e.count===t.particles.count&&(e.finish=!0)),e.clicking){const s=t.retina.repulseModeDistance;if(!s||sthis.isEnabled(l));for(const l of a){const{dx:p,dy:f,distance:m}=O(u,l.position),d=m**I,v=i.speed,k=-r*v/d;if(d<=r){e.particles.push(l);const R=b.create(p,f);R.length=k,l.velocity.setTo(R)}}}else if(e.clicking===!1){for(const s of e.particles)s.velocity.setTo(s.initialVelocity);e.particles=[]}},this._hoverRepulse=()=>{const t=this.container,i=t.interactivity.mouse.position,e=t.retina.repulseModeDistance;!e||e{const r=this.container,u=r.particles.quadTree.query(e,v=>this.isEnabled(v)),o=r.actualOptions.interactivity.modes.repulse;if(!o)return;const{easing:a,speed:l,factor:p,maxSpeed:f}=o,m=w(a),d=((s==null?void 0:s.speed)??l)*p;for(const v of u){const{dx:k,dy:R,distance:y}=O(v.position,t),E=S(m(Y-y/i)*d,X,f),q=b.create(y?k/y*E:d,y?R/y*E:d);v.position.addTo(q)}},this._singleSelectorRepulse=(t,i)=>{const e=this.container,s=e.actualOptions.interactivity.modes.repulse;if(!s)return;const r=document.querySelectorAll(t);r.length&&r.forEach(u=>{const o=u,a=e.retina.pixelRatio,l={x:(o.offsetLeft+o.offsetWidth*x)*a,y:(o.offsetTop+o.offsetHeight*x)*a},p=o.offsetWidth*x*a,f=i.type==="circle"?new M(l.x,l.y,p):new D(o.offsetLeft*a,o.offsetTop*a,o.offsetWidth*a,o.offsetHeight*a),m=s.divs,d=C(m,o);this._processRepulse(l,p,f,d)})},this._engine=c,n.repulse||(n.repulse={particles:[]}),this.handleClickMode=t=>{const i=this.container.actualOptions,e=i.interactivity.modes.repulse;if(!e||t!==h)return;n.repulse||(n.repulse={particles:[]});const s=n.repulse;s.clicking=!0,s.count=0;for(const r of n.repulse.particles)this.isEnabled(r)&&r.velocity.setTo(r.initialVelocity);s.particles=[],s.finish=!1,setTimeout(()=>{n.destroyed||(s.clicking=!1)},e.duration*P)}}clear(){}init(){const c=this.container,n=c.actualOptions.interactivity.modes.repulse;n&&(c.retina.repulseModeDistance=n.distance*c.retina.pixelRatio)}interact(){const c=this.container,n=c.actualOptions,t=c.interactivity.status===H,i=n.interactivity.events,e=i.onHover,s=e.enable,r=e.mode,u=i.onClick,o=u.enable,a=u.mode,l=i.onDiv;t&&s&&g(h,r)?this._hoverRepulse():o&&g(h,a)?this._clickRepulse():V(h,l,(p,f)=>this._singleSelectorRepulse(p,f))}isEnabled(c){const n=this.container,t=n.actualOptions,i=n.interactivity.mouse,e=((c==null?void 0:c.interactivity)??t.interactivity).events,s=e.onDiv,r=e.onHover,u=e.onClick,o=W(h,s);if(!(o||r.enable&&i.position||u.enable&&i.clickPosition))return!1;const a=r.mode,l=u.mode;return g(h,a)||g(h,l)||o}loadModeOptions(c,...n){c.repulse||(c.repulse=new T);for(const t of n)c.repulse.load(t==null?void 0:t.repulse)}reset(){}}export{N as Repulser}; +import{Repulse as T}from"./index-QQ6uHbG2.js";import{E as _}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as M,R as D}from"./Ranges-Bq4zSnBQ.js";import{W as O,O as b,X as w,L as S,a6 as C,q as P,t as H,S as g,Y as V,a2 as W}from"./index-CgAHdhFx.js";const h="repulse",F=0,L=6,A=3,I=2,B=0,X=0,Y=1,x=.5;class N extends _{constructor(c,n){super(n),this._clickRepulse=()=>{const t=this.container,i=t.actualOptions.interactivity.modes.repulse;if(!i)return;const e=t.repulse??{particles:[]};if(e.finish||(e.count||(e.count=0),e.count++,e.count===t.particles.count&&(e.finish=!0)),e.clicking){const s=t.retina.repulseModeDistance;if(!s||sthis.isEnabled(l));for(const l of a){const{dx:p,dy:f,distance:m}=O(u,l.position),d=m**I,v=i.speed,k=-r*v/d;if(d<=r){e.particles.push(l);const R=b.create(p,f);R.length=k,l.velocity.setTo(R)}}}else if(e.clicking===!1){for(const s of e.particles)s.velocity.setTo(s.initialVelocity);e.particles=[]}},this._hoverRepulse=()=>{const t=this.container,i=t.interactivity.mouse.position,e=t.retina.repulseModeDistance;!e||e{const r=this.container,u=r.particles.quadTree.query(e,v=>this.isEnabled(v)),o=r.actualOptions.interactivity.modes.repulse;if(!o)return;const{easing:a,speed:l,factor:p,maxSpeed:f}=o,m=w(a),d=((s==null?void 0:s.speed)??l)*p;for(const v of u){const{dx:k,dy:R,distance:y}=O(v.position,t),E=S(m(Y-y/i)*d,X,f),q=b.create(y?k/y*E:d,y?R/y*E:d);v.position.addTo(q)}},this._singleSelectorRepulse=(t,i)=>{const e=this.container,s=e.actualOptions.interactivity.modes.repulse;if(!s)return;const r=document.querySelectorAll(t);r.length&&r.forEach(u=>{const o=u,a=e.retina.pixelRatio,l={x:(o.offsetLeft+o.offsetWidth*x)*a,y:(o.offsetTop+o.offsetHeight*x)*a},p=o.offsetWidth*x*a,f=i.type==="circle"?new M(l.x,l.y,p):new D(o.offsetLeft*a,o.offsetTop*a,o.offsetWidth*a,o.offsetHeight*a),m=s.divs,d=C(m,o);this._processRepulse(l,p,f,d)})},this._engine=c,n.repulse||(n.repulse={particles:[]}),this.handleClickMode=t=>{const i=this.container.actualOptions,e=i.interactivity.modes.repulse;if(!e||t!==h)return;n.repulse||(n.repulse={particles:[]});const s=n.repulse;s.clicking=!0,s.count=0;for(const r of n.repulse.particles)this.isEnabled(r)&&r.velocity.setTo(r.initialVelocity);s.particles=[],s.finish=!1,setTimeout(()=>{n.destroyed||(s.clicking=!1)},e.duration*P)}}clear(){}init(){const c=this.container,n=c.actualOptions.interactivity.modes.repulse;n&&(c.retina.repulseModeDistance=n.distance*c.retina.pixelRatio)}interact(){const c=this.container,n=c.actualOptions,t=c.interactivity.status===H,i=n.interactivity.events,e=i.onHover,s=e.enable,r=e.mode,u=i.onClick,o=u.enable,a=u.mode,l=i.onDiv;t&&s&&g(h,r)?this._hoverRepulse():o&&g(h,a)?this._clickRepulse():V(h,l,(p,f)=>this._singleSelectorRepulse(p,f))}isEnabled(c){const n=this.container,t=n.actualOptions,i=n.interactivity.mouse,e=((c==null?void 0:c.interactivity)??t.interactivity).events,s=e.onDiv,r=e.onHover,u=e.onClick,o=W(h,s);if(!(o||r.enable&&i.position||u.enable&&i.clickPosition))return!1;const a=r.mode,l=u.mode;return g(h,a)||g(h,l)||o}loadModeOptions(c,...n){c.repulse||(c.repulse=new T);for(const t of n)c.repulse.load(t==null?void 0:t.repulse)}reset(){}}export{N as Repulser}; diff --git a/dist/assets/RotateUpdater-D_yBoeQb.js b/dist/assets/RotateUpdater-DxTQQMFm.js similarity index 91% rename from dist/assets/RotateUpdater-D_yBoeQb.js rename to dist/assets/RotateUpdater-DxTQQMFm.js index 25a21da..c496218 100644 --- a/dist/assets/RotateUpdater-D_yBoeQb.js +++ b/dist/assets/RotateUpdater-DxTQQMFm.js @@ -1 +1 @@ -import{s as a,G as c,H as i,J as r,ab as u}from"./index-CIovSKpD.js";import{V as f}from"./ValueWithRandom-CNZCHi2W.js";class h{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=a(e.speed)),e.decay!==void 0&&(this.decay=a(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class l extends f{constructor(){super(),this.animation=new h,this.direction="clockwise",this.path=!1,this.value=0}load(e){e&&(super.load(e),e.direction!==void 0&&(this.direction=e.direction),this.animation.load(e.animation),e.path!==void 0&&(this.path=e.path))}}const d=2,m=Math.PI*d,b=1,y=360;class p{constructor(e){this.container=e}init(e){const t=e.options.rotate;if(!t)return;e.rotate={enable:t.animation.enable,value:c(i(t.value)),min:0,max:m},e.pathRotation=t.path;let n=t.direction;switch(n==="random"&&(n=Math.floor(r()*d)>0?"counter-clockwise":"clockwise"),n){case"counter-clockwise":case"counterClockwise":e.rotate.status="decreasing";break;case"clockwise":e.rotate.status="increasing";break}const o=t.animation;o.enable&&(e.rotate.decay=b-i(o.decay),e.rotate.velocity=i(o.speed)/y*this.container.retina.reduceFactor,o.sync||(e.rotate.velocity*=r())),e.rotation=e.rotate.value}isEnabled(e){const t=e.options.rotate;return t?!e.destroyed&&!e.spawning&&t.animation.enable&&!t.path:!1}loadOptions(e,...t){e.rotate||(e.rotate=new l);for(const n of t)e.rotate.load(n==null?void 0:n.rotate)}update(e,t){this.isEnabled(e)&&e.rotate&&(u(e,e.rotate,!1,"none",t),e.rotation=e.rotate.value)}}export{p as RotateUpdater}; +import{s as a,G as c,H as i,J as r,ab as u}from"./index-CgAHdhFx.js";import{V as f}from"./ValueWithRandom-w99ZNFOa.js";class h{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=a(e.speed)),e.decay!==void 0&&(this.decay=a(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class l extends f{constructor(){super(),this.animation=new h,this.direction="clockwise",this.path=!1,this.value=0}load(e){e&&(super.load(e),e.direction!==void 0&&(this.direction=e.direction),this.animation.load(e.animation),e.path!==void 0&&(this.path=e.path))}}const d=2,m=Math.PI*d,b=1,y=360;class p{constructor(e){this.container=e}init(e){const t=e.options.rotate;if(!t)return;e.rotate={enable:t.animation.enable,value:c(i(t.value)),min:0,max:m},e.pathRotation=t.path;let n=t.direction;switch(n==="random"&&(n=Math.floor(r()*d)>0?"counter-clockwise":"clockwise"),n){case"counter-clockwise":case"counterClockwise":e.rotate.status="decreasing";break;case"clockwise":e.rotate.status="increasing";break}const o=t.animation;o.enable&&(e.rotate.decay=b-i(o.decay),e.rotate.velocity=i(o.speed)/y*this.container.retina.reduceFactor,o.sync||(e.rotate.velocity*=r())),e.rotation=e.rotate.value}isEnabled(e){const t=e.options.rotate;return t?!e.destroyed&&!e.spawning&&t.animation.enable&&!t.path:!1}loadOptions(e,...t){e.rotate||(e.rotate=new l);for(const n of t)e.rotate.load(n==null?void 0:n.rotate)}update(e,t){this.isEnabled(e)&&e.rotate&&(u(e,e.rotate,!1,"none",t),e.rotation=e.rotate.value)}}export{p as RotateUpdater}; diff --git a/dist/assets/SizeUpdater-DagaWaEJ.js b/dist/assets/SizeUpdater-BlVVvz0z.js similarity index 88% rename from dist/assets/SizeUpdater-DagaWaEJ.js rename to dist/assets/SizeUpdater-BlVVvz0z.js index 76c4ce7..4d6701e 100644 --- a/dist/assets/SizeUpdater-DagaWaEJ.js +++ b/dist/assets/SizeUpdater-BlVVvz0z.js @@ -1 +1 @@ -import{ae as t,J as a,ab as z}from"./index-CIovSKpD.js";const n=0;class r{init(e){const s=e.container,i=e.options.size,o=i.animation;o.enable&&(e.size.velocity=(e.retina.sizeAnimationSpeed??s.retina.sizeAnimationSpeed)/t*s.retina.reduceFactor,o.sync||(e.size.velocity*=a()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??n)<=n||(e.size.maxLoops??n)>n&&(e.size.loops??n)<(e.size.maxLoops??n))}reset(e){e.size.loops=n}update(e,s){this.isEnabled(e)&&z(e,e.size,!0,e.options.size.animation.destroy,s)}}export{r as SizeUpdater}; +import{ae as t,J as a,ab as z}from"./index-CgAHdhFx.js";const n=0;class r{init(e){const s=e.container,i=e.options.size,o=i.animation;o.enable&&(e.size.velocity=(e.retina.sizeAnimationSpeed??s.retina.sizeAnimationSpeed)/t*s.retina.reduceFactor,o.sync||(e.size.velocity*=a()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??n)<=n||(e.size.maxLoops??n)>n&&(e.size.loops??n)<(e.size.maxLoops??n))}reset(e){e.size.loops=n}update(e,s){this.isEnabled(e)&&z(e,e.size,!0,e.options.size.animation.destroy,s)}}export{r as SizeUpdater}; diff --git a/dist/assets/Slower-ZR4xdB-u.js b/dist/assets/Slower-CiBrQAdj.js similarity index 87% rename from dist/assets/Slower-ZR4xdB-u.js rename to dist/assets/Slower-CiBrQAdj.js index 08c3bd0..d482ab9 100644 --- a/dist/assets/Slower-ZR4xdB-u.js +++ b/dist/assets/Slower-CiBrQAdj.js @@ -1 +1 @@ -import{Slow as u}from"./index-BhGalRD2.js";import{E as d}from"./ExternalInteractorBase-CIi3zRdK.js";import{S as m,K as f}from"./index-CIovSKpD.js";const v="slow",y=0;class O extends d{constructor(o){super(o)}clear(o,t,i){o.slow.inRange&&!i||(o.slow.factor=1)}init(){const o=this.container,t=o.actualOptions.interactivity.modes.slow;t&&(o.retina.slowModeRadius=t.radius*o.retina.pixelRatio)}interact(){}isEnabled(o){const t=this.container,i=t.interactivity.mouse,s=((o==null?void 0:o.interactivity)??t.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&m(v,s.onHover.mode)}loadModeOptions(o,...t){o.slow||(o.slow=new u);for(const i of t)o.slow.load(i==null?void 0:i.slow)}reset(o){o.slow.inRange=!1;const t=this.container,i=t.actualOptions,s=t.interactivity.mouse.position,n=t.retina.slowModeRadius,e=i.interactivity.modes.slow;if(!e||!n||nn||(a.inRange=!0,a.factor=l/w)}}export{O as Slower}; +import{Slow as u}from"./index-CoT1PRBU.js";import{E as d}from"./ExternalInteractorBase-CIi3zRdK.js";import{S as m,K as f}from"./index-CgAHdhFx.js";const v="slow",y=0;class O extends d{constructor(o){super(o)}clear(o,t,i){o.slow.inRange&&!i||(o.slow.factor=1)}init(){const o=this.container,t=o.actualOptions.interactivity.modes.slow;t&&(o.retina.slowModeRadius=t.radius*o.retina.pixelRatio)}interact(){}isEnabled(o){const t=this.container,i=t.interactivity.mouse,s=((o==null?void 0:o.interactivity)??t.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&m(v,s.onHover.mode)}loadModeOptions(o,...t){o.slow||(o.slow=new u);for(const i of t)o.slow.load(i==null?void 0:i.slow)}reset(o){o.slow.inRange=!1;const t=this.container,i=t.actualOptions,s=t.interactivity.mouse.position,n=t.retina.slowModeRadius,e=i.interactivity.modes.slow;if(!e||!n||nn||(a.inRange=!0,a.factor=l/w)}}export{O as Slower}; diff --git a/dist/assets/StarDrawer-BROqWJ65.js b/dist/assets/StarDrawer-BVbBm9FB.js similarity index 87% rename from dist/assets/StarDrawer-BROqWJ65.js rename to dist/assets/StarDrawer-BVbBm9FB.js index 1f31b01..6e7577e 100644 --- a/dist/assets/StarDrawer-BROqWJ65.js +++ b/dist/assets/StarDrawer-BVbBm9FB.js @@ -1 +1 @@ -import{H as i}from"./index-CIovSKpD.js";const c=2,s={x:0,y:0};function l(o){const{context:t,particle:e,radius:a}=o,n=e.sides,d=e.starInset??c;t.moveTo(s.x,s.y-a);for(let r=0;r __vite__mapDeps.viteFileDeps[i]) } -import{_ as O}from"./index-CIovSKpD.js";const R=[0,4,2,1],G=[8,8,4,2];class U{constructor(a){this.pos=0,this.data=new Uint8ClampedArray(a)}getString(a){const s=this.data.slice(this.pos,this.pos+a);return this.pos+=s.length,s.reduce((n,f)=>n+String.fromCharCode(f),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let a="",s=0;const n=0,f=0;do{s=this.data[this.pos++];for(let e=s;--e>=n;a+=String.fromCharCode(this.data[this.pos++]));}while(s!==f);return a}readSubBlocksBin(){let a=this.data[this.pos],s=0;const n=0,f=1;for(let o=0;a!==n;o+=a+f,a=this.data[this.pos+o])s+=a;const e=new Uint8Array(s);a=this.data[this.pos++];for(let o=0;a!==n;a=this.data[this.pos++])for(let r=a;--r>=n;e[o++]=this.data[this.pos++]);return e}skipSubBlocks(){for(const a=1,s=0;this.data[this.pos]!==s;this.pos+=this.data[this.pos]+a);this.pos++}}const u={x:0,y:0},N=0,L=.5,$=0,A=0,z=0;function _(t,a){const s=[];for(let n=0;n>>5,f.disposalMethod=(e&28)>>>2,f.userInputDelayFlag=(e&2)===2;const o=(e&1)===1;f.delayTime=t.nextTwoBytes()*10;const r=t.nextByte();o&&n(r),t.pos++;break}case 255:{t.pos++;const f={identifier:t.getString(8),authenticationCode:t.getString(3),data:t.readSubBlocksBin()};a.applicationExtensions.push(f);break}case 254:{a.comments.push([s(!1),t.readSubBlocks()]);break}case 1:{if(a.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");t.pos++,a.frames[s(!1)].plainTextData={left:t.nextTwoBytes(),top:t.nextTwoBytes(),width:t.nextTwoBytes(),height:t.nextTwoBytes(),charSize:{width:t.nextTwoBytes(),height:t.nextTwoBytes()},foregroundColor:t.nextByte(),backgroundColor:t.nextByte(),text:t.readSubBlocks()};break}default:t.skipSubBlocks();break}}async function W(t,a,s,n,f,e){const o=a.frames[n(!0)];o.left=t.nextTwoBytes(),o.top=t.nextTwoBytes(),o.width=t.nextTwoBytes(),o.height=t.nextTwoBytes();const r=t.nextByte(),x=(r&128)===128,d=(r&64)===64;o.sortFlag=(r&32)===32,o.reserved=(r&24)>>>3;const c=1<<(r&7)+1;x&&(o.localColorTable=_(t,c));const m=l=>{const{r:h,g:p,b:i}=(x?o.localColorTable:a.globalColorTable)[l];return l!==f(null)?{r:h,g:p,b:i,a:255}:{r:h,g:p,b:i,a:s?~~((h+p+i)/3):0}},B=(()=>{try{return new ImageData(o.width,o.height,{colorSpace:"srgb"})}catch(l){if(l instanceof DOMException&&l.name==="IndexSizeError")return null;throw l}})();if(B==null)throw new EvalError("GIF frame size is to large");const D=t.nextByte(),b=t.readSubBlocksBin(),w=1<{const p=l>>>3,i=l&7;return(b[p]+(b[p+1]<<8)+(b[p+2]<<16)&(1<>>i};if(d){for(let l=0,h=D+1,p=0,i=[[0]],I=0;I<4;I++){if(R[I]=i.length?i.push(i[E].concat(i[E][0])):E!==w&&i.push(i[E].concat(i[l][0]));for(const C of i[l]){const{r:v,g:F,b:P,a:M}=m(C);B.data.set([v,F,P,M],R[I]*o.width+G[I]*y+g%(o.width*4)),g+=4}i.length===1<=o.height&&(T=!0))}}e==null||e(t.pos/(t.data.length-1),n(!1)+1,B,{x:o.left,y:o.top},{width:a.width,height:a.height})}o.image=B,o.bitmap=await createImageBitmap(B)}else{let l=0,h=D+1,p=0,i=-4,I=!1;const g=[[0]];for(;!I;){const y=l;if(l=k(p,h),p+=h,l===w){h=D+1,g.length=w+2;for(let T=0;T=g.length?g.push(g[y].concat(g[y][0])):y!==w&&g.push(g[y].concat(g[l][0]));for(const T of g[l]){const{r:E,g:C,b:v,a:F}=m(T);B.data.set([E,C,v,F],i+=4)}g.length>=1<>>4,e.sortFlag=(r&8)===8;const d=1<<(r&7)+1,c=o.nextByte();e.pixelAspectRatio=o.nextByte(),e.pixelAspectRatio!==0&&(e.pixelAspectRatio=(e.pixelAspectRatio+15)/64),x&&(e.globalColorTable=_(o,d));const m=(()=>{try{return new ImageData(e.width,e.height,{colorSpace:"srgb"})}catch(i){if(i instanceof DOMException&&i.name==="IndexSizeError")return null;throw i}})();if(m==null)throw new Error("GIF frame size is to large");const{r:B,g:D,b}=e.globalColorTable[c];m.data.set(x?[B,D,b,255]:[0,0,0,0]);for(let i=4;i(i&&(k=!0),w),p=i=>(i!=null&&(l=i),l);try{do k&&(e.frames.push({left:0,top:0,width:0,height:0,disposalMethod:0,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),w++,l=-1,k=!1);while(!await j(o,e,s,h,p,a));e.frames.length--;for(const i of e.frames){if(i.userInputDelayFlag&&i.delayTime===0){e.totalTime=1/0;break}e.totalTime+=i.delayTime}return e}catch(i){throw i instanceof EvalError?new Error(`error while parsing frame ${w} "${i.message}"`):i}}function K(t){const{context:a,radius:s,particle:n,delta:f}=t,e=n.image;if(!(e!=null&&e.gifData)||!e.gif)return;const o=new OffscreenCanvas(e.gifData.width,e.gifData.height),r=o.getContext("2d");if(!r)throw new Error("could not create offscreen canvas context");r.imageSmoothingQuality="low",r.imageSmoothingEnabled=!1,r.clearRect(u.x,u.y,o.width,o.height),n.gifLoopCount===void 0&&(n.gifLoopCount=e.gifLoopCount??z);let x=n.gifFrame??N;const d={x:-e.gifData.width*L,y:-e.gifData.height*L},c=e.gifData.frames[x];if(n.gifTime===void 0&&(n.gifTime=$),!!c.bitmap){switch(a.scale(s/e.gifData.width,s/e.gifData.height),c.disposalMethod){case 4:case 5:case 6:case 7:case 0:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height);break;case 1:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y);break;case 2:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height),e.gifData.globalColorTable.length?r.putImageData(e.gifData.backgroundImage,d.x,d.y):r.putImageData(e.gifData.frames[A].image,d.x+c.left,d.y+c.top);break;case 3:{const m=r.getImageData(u.x,u.y,o.width,o.height);r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height),r.putImageData(m,u.x,u.y)}break}if(n.gifTime+=f.value,n.gifTime>c.delayTime){if(n.gifTime-=c.delayTime,++x>=e.gifData.frames.length){if(--n.gifLoopCount<=z)return;x=A,r.clearRect(u.x,u.y,o.width,o.height)}n.gifFrame=x}a.scale(e.gifData.width/s,e.gifData.height/s)}}async function V(t){if(t.type!=="gif"){const{loadImage:a}=await O(()=>import("./index-DTujt1z_.js").then(s=>s.U),__vite__mapDeps([0,1,2]));await a(t);return}t.loading=!0;try{t.gifData=await H(t.source),t.gifLoopCount=q(t.gifData)??z,t.gifLoopCount||(t.gifLoopCount=1/0)}catch{t.error=!0}t.loading=!1}export{H as decodeGIF,K as drawGif,q as getGIFLoopAmount,V as loadGifImage}; +import{_ as O}from"./index-CgAHdhFx.js";const R=[0,4,2,1],G=[8,8,4,2];class U{constructor(a){this.pos=0,this.data=new Uint8ClampedArray(a)}getString(a){const s=this.data.slice(this.pos,this.pos+a);return this.pos+=s.length,s.reduce((n,f)=>n+String.fromCharCode(f),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let a="",s=0;const n=0,f=0;do{s=this.data[this.pos++];for(let e=s;--e>=n;a+=String.fromCharCode(this.data[this.pos++]));}while(s!==f);return a}readSubBlocksBin(){let a=this.data[this.pos],s=0;const n=0,f=1;for(let o=0;a!==n;o+=a+f,a=this.data[this.pos+o])s+=a;const e=new Uint8Array(s);a=this.data[this.pos++];for(let o=0;a!==n;a=this.data[this.pos++])for(let r=a;--r>=n;e[o++]=this.data[this.pos++]);return e}skipSubBlocks(){for(const a=1,s=0;this.data[this.pos]!==s;this.pos+=this.data[this.pos]+a);this.pos++}}const u={x:0,y:0},N=0,L=.5,$=0,A=0,z=0;function _(t,a){const s=[];for(let n=0;n>>5,f.disposalMethod=(e&28)>>>2,f.userInputDelayFlag=(e&2)===2;const o=(e&1)===1;f.delayTime=t.nextTwoBytes()*10;const r=t.nextByte();o&&n(r),t.pos++;break}case 255:{t.pos++;const f={identifier:t.getString(8),authenticationCode:t.getString(3),data:t.readSubBlocksBin()};a.applicationExtensions.push(f);break}case 254:{a.comments.push([s(!1),t.readSubBlocks()]);break}case 1:{if(a.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");t.pos++,a.frames[s(!1)].plainTextData={left:t.nextTwoBytes(),top:t.nextTwoBytes(),width:t.nextTwoBytes(),height:t.nextTwoBytes(),charSize:{width:t.nextTwoBytes(),height:t.nextTwoBytes()},foregroundColor:t.nextByte(),backgroundColor:t.nextByte(),text:t.readSubBlocks()};break}default:t.skipSubBlocks();break}}async function W(t,a,s,n,f,e){const o=a.frames[n(!0)];o.left=t.nextTwoBytes(),o.top=t.nextTwoBytes(),o.width=t.nextTwoBytes(),o.height=t.nextTwoBytes();const r=t.nextByte(),x=(r&128)===128,d=(r&64)===64;o.sortFlag=(r&32)===32,o.reserved=(r&24)>>>3;const c=1<<(r&7)+1;x&&(o.localColorTable=_(t,c));const m=l=>{const{r:h,g:p,b:i}=(x?o.localColorTable:a.globalColorTable)[l];return l!==f(null)?{r:h,g:p,b:i,a:255}:{r:h,g:p,b:i,a:s?~~((h+p+i)/3):0}},B=(()=>{try{return new ImageData(o.width,o.height,{colorSpace:"srgb"})}catch(l){if(l instanceof DOMException&&l.name==="IndexSizeError")return null;throw l}})();if(B==null)throw new EvalError("GIF frame size is to large");const D=t.nextByte(),b=t.readSubBlocksBin(),w=1<{const p=l>>>3,i=l&7;return(b[p]+(b[p+1]<<8)+(b[p+2]<<16)&(1<>>i};if(d){for(let l=0,h=D+1,p=0,i=[[0]],I=0;I<4;I++){if(R[I]=i.length?i.push(i[E].concat(i[E][0])):E!==w&&i.push(i[E].concat(i[l][0]));for(const C of i[l]){const{r:v,g:F,b:P,a:M}=m(C);B.data.set([v,F,P,M],R[I]*o.width+G[I]*y+g%(o.width*4)),g+=4}i.length===1<=o.height&&(T=!0))}}e==null||e(t.pos/(t.data.length-1),n(!1)+1,B,{x:o.left,y:o.top},{width:a.width,height:a.height})}o.image=B,o.bitmap=await createImageBitmap(B)}else{let l=0,h=D+1,p=0,i=-4,I=!1;const g=[[0]];for(;!I;){const y=l;if(l=k(p,h),p+=h,l===w){h=D+1,g.length=w+2;for(let T=0;T=g.length?g.push(g[y].concat(g[y][0])):y!==w&&g.push(g[y].concat(g[l][0]));for(const T of g[l]){const{r:E,g:C,b:v,a:F}=m(T);B.data.set([E,C,v,F],i+=4)}g.length>=1<>>4,e.sortFlag=(r&8)===8;const d=1<<(r&7)+1,c=o.nextByte();e.pixelAspectRatio=o.nextByte(),e.pixelAspectRatio!==0&&(e.pixelAspectRatio=(e.pixelAspectRatio+15)/64),x&&(e.globalColorTable=_(o,d));const m=(()=>{try{return new ImageData(e.width,e.height,{colorSpace:"srgb"})}catch(i){if(i instanceof DOMException&&i.name==="IndexSizeError")return null;throw i}})();if(m==null)throw new Error("GIF frame size is to large");const{r:B,g:D,b}=e.globalColorTable[c];m.data.set(x?[B,D,b,255]:[0,0,0,0]);for(let i=4;i(i&&(k=!0),w),p=i=>(i!=null&&(l=i),l);try{do k&&(e.frames.push({left:0,top:0,width:0,height:0,disposalMethod:0,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),w++,l=-1,k=!1);while(!await j(o,e,s,h,p,a));e.frames.length--;for(const i of e.frames){if(i.userInputDelayFlag&&i.delayTime===0){e.totalTime=1/0;break}e.totalTime+=i.delayTime}return e}catch(i){throw i instanceof EvalError?new Error(`error while parsing frame ${w} "${i.message}"`):i}}function K(t){const{context:a,radius:s,particle:n,delta:f}=t,e=n.image;if(!(e!=null&&e.gifData)||!e.gif)return;const o=new OffscreenCanvas(e.gifData.width,e.gifData.height),r=o.getContext("2d");if(!r)throw new Error("could not create offscreen canvas context");r.imageSmoothingQuality="low",r.imageSmoothingEnabled=!1,r.clearRect(u.x,u.y,o.width,o.height),n.gifLoopCount===void 0&&(n.gifLoopCount=e.gifLoopCount??z);let x=n.gifFrame??N;const d={x:-e.gifData.width*L,y:-e.gifData.height*L},c=e.gifData.frames[x];if(n.gifTime===void 0&&(n.gifTime=$),!!c.bitmap){switch(a.scale(s/e.gifData.width,s/e.gifData.height),c.disposalMethod){case 4:case 5:case 6:case 7:case 0:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height);break;case 1:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y);break;case 2:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height),e.gifData.globalColorTable.length?r.putImageData(e.gifData.backgroundImage,d.x,d.y):r.putImageData(e.gifData.frames[A].image,d.x+c.left,d.y+c.top);break;case 3:{const m=r.getImageData(u.x,u.y,o.width,o.height);r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height),r.putImageData(m,u.x,u.y)}break}if(n.gifTime+=f.value,n.gifTime>c.delayTime){if(n.gifTime-=c.delayTime,++x>=e.gifData.frames.length){if(--n.gifLoopCount<=z)return;x=A,r.clearRect(u.x,u.y,o.width,o.height)}n.gifFrame=x}a.scale(e.gifData.width/s,e.gifData.height/s)}}async function V(t){if(t.type!=="gif"){const{loadImage:a}=await O(()=>import("./index-5GyFzaiD.js").then(s=>s.U),__vite__mapDeps([0,1,2]));await a(t);return}t.loading=!0;try{t.gifData=await H(t.source),t.gifLoopCount=q(t.gifData)??z,t.gifLoopCount||(t.gifLoopCount=1/0)}catch{t.error=!0}t.loading=!1}export{H as decodeGIF,K as drawGif,q as getGIFLoopAmount,V as loadGifImage}; diff --git a/dist/assets/ValueWithRandom-CNZCHi2W.js b/dist/assets/ValueWithRandom-w99ZNFOa.js similarity index 93% rename from dist/assets/ValueWithRandom-CNZCHi2W.js rename to dist/assets/ValueWithRandom-w99ZNFOa.js index 08d97ba..ca28418 100644 --- a/dist/assets/ValueWithRandom-CNZCHi2W.js +++ b/dist/assets/ValueWithRandom-w99ZNFOa.js @@ -1 +1 @@ -import{s as n}from"./index-CIovSKpD.js";class t{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){e&&(e.count!==void 0&&(this.count=n(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=n(e.speed)),e.decay!==void 0&&(this.decay=n(e.decay)),e.delay!==void 0&&(this.delay=n(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class o extends t{constructor(){super(),this.mode="auto",this.startValue="random"}load(e){super.load(e),e&&(e.mode!==void 0&&(this.mode=e.mode),e.startValue!==void 0&&(this.startValue=e.startValue))}}class u{constructor(){this.value=0}load(e){e&&e.value!==void 0&&(this.value=n(e.value))}}class l extends u{constructor(){super(),this.animation=new t}load(e){if(super.load(e),!e)return;const s=e.animation;s!==void 0&&this.animation.load(s)}}class r extends l{constructor(){super(),this.animation=new o}load(e){super.load(e)}}export{t as A,o as R,u as V,r as a}; +import{s as n}from"./index-CgAHdhFx.js";class t{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){e&&(e.count!==void 0&&(this.count=n(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=n(e.speed)),e.decay!==void 0&&(this.decay=n(e.decay)),e.delay!==void 0&&(this.delay=n(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class o extends t{constructor(){super(),this.mode="auto",this.startValue="random"}load(e){super.load(e),e&&(e.mode!==void 0&&(this.mode=e.mode),e.startValue!==void 0&&(this.startValue=e.startValue))}}class u{constructor(){this.value=0}load(e){e&&e.value!==void 0&&(this.value=n(e.value))}}class l extends u{constructor(){super(),this.animation=new t}load(e){if(super.load(e),!e)return;const s=e.animation;s!==void 0&&this.animation.load(s)}}class r extends l{constructor(){super(),this.animation=new o}load(e){super.load(e)}}export{t as A,o as R,u as V,r as a}; diff --git a/dist/assets/index-s-W_1WDH.js b/dist/assets/index--hX2mYuR.js similarity index 62% rename from dist/assets/index-s-W_1WDH.js rename to dist/assets/index--hX2mYuR.js index 6d9369f..263e9bb 100644 --- a/dist/assets/index-s-W_1WDH.js +++ b/dist/assets/index--hX2mYuR.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Grabber-dy8BOJld.js","assets/CanvasUtils-Bhok4vf-.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/OptionsColor-D2YVVpO2.js"] + __vite__mapDeps.viteFileDeps = ["assets/Grabber-DDNT_-Ir.js","assets/CanvasUtils-CXWEKbNF.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/OptionsColor-D4_II_Ky.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-CIovSKpD.js";import{O as s}from"./OptionsColor-D2YVVpO2.js";class r{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(i){i&&(i.blink!==void 0&&(this.blink=i.blink),i.color!==void 0&&(this.color=s.create(this.color,i.color)),i.consent!==void 0&&(this.consent=i.consent),i.opacity!==void 0&&(this.opacity=i.opacity))}}class f{constructor(){this.distance=100,this.links=new r}load(i){i&&(i.distance!==void 0&&(this.distance=i.distance),this.links.load(i.links))}}async function a(n,i=!0){await n.addInteractor("externalGrab",async o=>{const{Grabber:t}=await e(()=>import("./Grabber-dy8BOJld.js"),__vite__mapDeps([0,1,2,3,4,5]));return new t(o)},i)}export{f as Grab,r as GrabLinks,a as loadExternalGrabInteraction}; +import{_ as e}from"./index-CgAHdhFx.js";import{O as s}from"./OptionsColor-D4_II_Ky.js";class r{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(i){i&&(i.blink!==void 0&&(this.blink=i.blink),i.color!==void 0&&(this.color=s.create(this.color,i.color)),i.consent!==void 0&&(this.consent=i.consent),i.opacity!==void 0&&(this.opacity=i.opacity))}}class f{constructor(){this.distance=100,this.links=new r}load(i){i&&(i.distance!==void 0&&(this.distance=i.distance),this.links.load(i.links))}}async function a(n,i=!0){await n.addInteractor("externalGrab",async o=>{const{Grabber:t}=await e(()=>import("./Grabber-DDNT_-Ir.js"),__vite__mapDeps([0,1,2,3,4,5]));return new t(o)},i)}export{f as Grab,r as GrabLinks,a as loadExternalGrabInteraction}; diff --git a/dist/assets/index-DTujt1z_.js b/dist/assets/index-5GyFzaiD.js similarity index 88% rename from dist/assets/index-DTujt1z_.js rename to dist/assets/index-5GyFzaiD.js index 2dad3d4..474aa61 100644 --- a/dist/assets/index-DTujt1z_.js +++ b/dist/assets/index-5GyFzaiD.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Utils-DVXceHn0.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/ImageDrawer-C222d8Kd.js"] + __vite__mapDeps.viteFileDeps = ["assets/Utils-C4Q4G4To.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/ImageDrawer-2kiLah1Y.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{g as h,b as m,c as i,_ as u}from"./index-CIovSKpD.js";const y=0,I=1,b=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function L(r,e,o){const{svgData:t}=r;if(!t)return"";const n=h(e,o);if(t.includes("fill"))return t.replace(b,()=>n);const s=t.indexOf(">");return`${t.substring(y,s)} fill="${n}"${t.substring(s)}`}async function a(r){return new Promise(e=>{r.loading=!0;const o=new Image;r.element=o,o.addEventListener("load",()=>{r.loading=!1,e()}),o.addEventListener("error",()=>{r.element=void 0,r.error=!0,r.loading=!1,m().error(`${i} loading image: ${r.source}`),e()}),o.src=r.source})}async function p(r){if(r.type!=="svg"){await a(r);return}r.loading=!0;const e=await fetch(r.source);e.ok?r.svgData=await e.text():(m().error(`${i} Image not found`),r.error=!0),r.loading=!1}function E(r,e,o,t){var g;const n=L(r,o,((g=t.opacity)==null?void 0:g.value)??I),s={color:o,gif:e.gif,data:{...r,svgData:n},loaded:!1,ratio:e.width/e.height,replaceColor:e.replaceColor,source:e.src};return new Promise(f=>{const _=new Blob([n],{type:"image/svg+xml"}),c=URL||window.URL||window.webkitURL||window,d=c.createObjectURL(_),l=new Image;l.addEventListener("load",()=>{s.loaded=!0,s.element=l,f(s),c.revokeObjectURL(d)});const v=async()=>{c.revokeObjectURL(d);const w={...r,error:!1,loading:!0};await a(w),s.loaded=!0,s.element=w.element,f(s)};l.addEventListener("error",()=>void v()),l.src=d})}const x=Object.freeze(Object.defineProperty({__proto__:null,downloadSvgImage:p,loadImage:a,replaceImageColor:E},Symbol.toStringTag,{value:"Module"})),O=3;function P(r){r.loadImage||(r.loadImage=async e=>{if(!e.name&&!e.src)throw new Error(`${i} no image source provided`);if(r.images||(r.images=[]),!r.images.find(o=>o.name===e.name||o.source===e.src))try{const o={gif:e.gif??!1,name:e.name??e.src,source:e.src,type:e.src.substring(e.src.length-O),error:!1,loading:!0,replaceColor:e.replaceColor,ratio:e.width&&e.height?e.width/e.height:void 0};r.images.push(o);let t;if(e.gif){const{loadGifImage:n}=await u(()=>import("./Utils-DVXceHn0.js"),__vite__mapDeps([0,1,2]));t=n}else t=e.replaceColor?p:a;await t(o)}catch{throw new Error(`${i} ${e.name??e.src} not found`)}})}async function R(r,e=!0){P(r);const{ImagePreloaderPlugin:o}=await u(()=>import("./ImagePreloader-wDGOXDcw.js"),[]),{ImageDrawer:t}=await u(()=>import("./ImageDrawer-C222d8Kd.js"),__vite__mapDeps([3,0,1,2])),n=new o(r);await r.addPlugin(n,e),await r.addShape(["image","images"],new t(r),e)}const C=Object.freeze(Object.defineProperty({__proto__:null,loadImageShape:R},Symbol.toStringTag,{value:"Module"}));export{x as U,C as i,E as r}; +import{g as h,b as m,c as i,_ as u}from"./index-CgAHdhFx.js";const y=0,I=1,b=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function L(r,e,o){const{svgData:t}=r;if(!t)return"";const n=h(e,o);if(t.includes("fill"))return t.replace(b,()=>n);const s=t.indexOf(">");return`${t.substring(y,s)} fill="${n}"${t.substring(s)}`}async function a(r){return new Promise(e=>{r.loading=!0;const o=new Image;r.element=o,o.addEventListener("load",()=>{r.loading=!1,e()}),o.addEventListener("error",()=>{r.element=void 0,r.error=!0,r.loading=!1,m().error(`${i} loading image: ${r.source}`),e()}),o.src=r.source})}async function p(r){if(r.type!=="svg"){await a(r);return}r.loading=!0;const e=await fetch(r.source);e.ok?r.svgData=await e.text():(m().error(`${i} Image not found`),r.error=!0),r.loading=!1}function E(r,e,o,t){var g;const n=L(r,o,((g=t.opacity)==null?void 0:g.value)??I),s={color:o,gif:e.gif,data:{...r,svgData:n},loaded:!1,ratio:e.width/e.height,replaceColor:e.replaceColor,source:e.src};return new Promise(f=>{const _=new Blob([n],{type:"image/svg+xml"}),c=URL||window.URL||window.webkitURL||window,d=c.createObjectURL(_),l=new Image;l.addEventListener("load",()=>{s.loaded=!0,s.element=l,f(s),c.revokeObjectURL(d)});const v=async()=>{c.revokeObjectURL(d);const w={...r,error:!1,loading:!0};await a(w),s.loaded=!0,s.element=w.element,f(s)};l.addEventListener("error",()=>void v()),l.src=d})}const x=Object.freeze(Object.defineProperty({__proto__:null,downloadSvgImage:p,loadImage:a,replaceImageColor:E},Symbol.toStringTag,{value:"Module"})),O=3;function P(r){r.loadImage||(r.loadImage=async e=>{if(!e.name&&!e.src)throw new Error(`${i} no image source provided`);if(r.images||(r.images=[]),!r.images.find(o=>o.name===e.name||o.source===e.src))try{const o={gif:e.gif??!1,name:e.name??e.src,source:e.src,type:e.src.substring(e.src.length-O),error:!1,loading:!0,replaceColor:e.replaceColor,ratio:e.width&&e.height?e.width/e.height:void 0};r.images.push(o);let t;if(e.gif){const{loadGifImage:n}=await u(()=>import("./Utils-C4Q4G4To.js"),__vite__mapDeps([0,1,2]));t=n}else t=e.replaceColor?p:a;await t(o)}catch{throw new Error(`${i} ${e.name??e.src} not found`)}})}async function R(r,e=!0){P(r);const{ImagePreloaderPlugin:o}=await u(()=>import("./ImagePreloader-wDGOXDcw.js"),[]),{ImageDrawer:t}=await u(()=>import("./ImageDrawer-2kiLah1Y.js"),__vite__mapDeps([3,0,1,2])),n=new o(r);await r.addPlugin(n,e),await r.addShape(["image","images"],new t(r),e)}const C=Object.freeze(Object.defineProperty({__proto__:null,loadImageShape:R},Symbol.toStringTag,{value:"Module"}));export{x as U,C as i,E as r}; diff --git a/dist/assets/index-B3sGiwrl.css b/dist/assets/index-B3sGiwrl.css deleted file mode 100644 index 6bbbaec..0000000 --- a/dist/assets/index-B3sGiwrl.css +++ /dev/null @@ -1 +0,0 @@ -:root{width:100%;height:100%;font-family:Inter,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@supports (font-variation-settings: normal){:root{font-family:InterVariable,sans-serif}}body{width:100vw;height:100vh;margin:0;overflow-x:hidden}*{scrollbar-width:auto;scrollbar-color:#2e3b5d #14213d}*::-webkit-scrollbar{width:10px}*::-webkit-scrollbar-track{background:#14213d}*::-webkit-scrollbar-thumb{background-color:#2e3b5d;border:3px solid #2e3b5d}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper{width:100%;position:relative}.swiper-slide{position:relative;width:20rem;height:25rem;overflow:hidden;border-radius:1.5rem}.swiper-slide img{object-fit:cover;width:20rem;height:25rem}.swiper-slide-shadow-left,.swiper-slide-shadow-right{display:none}#stars{width:1px;height:1px;background:transparent;box-shadow:1144px 728px #fff,682px 735px #fff,765px 1342px #fff,1098px 1189px #fff,878px 1230px #fff,754px 888px #fff,1778px 1646px #fff,126px 1127px #fff,1485px 23px #fff,192px 1415px #fff,488px 1489px #fff,539px 1578px #fff,1720px 1531px #fff,1031px 117px #fff,1885px 1961px #fff,1212px 494px #fff,149px 1298px #fff,186px 1879px #fff,914px 959px #fff,1948px 1384px #fff,188px 1852px #fff,1128px 1746px #fff,1486px 1885px #fff,1608px 1075px #fff,1252px 137px #fff,270px 878px #fff,1802px 1559px #fff,25px 1911px #fff,1381px 293px #fff,785px 357px #fff,1398px 1156px #fff,1656px 338px #fff,1551px 150px #fff,1224px 536px #fff,585px 478px #fff,1252px 1947px #fff,1735px 365px #fff,1671px 1871px #fff,1444px 1815px #fff,1955px 1532px #fff,1927px 168px #fff,1620px 1912px #fff,1402px 1489px #fff,54px 1247px #fff,1143px 1189px #fff,698px 172px #fff,1623px 1503px #fff,485px 1533px #fff,1560px 784px #fff,517px 950px #fff,557px 201px #fff,1959px 1370px #fff,1744px 441px #fff,1678px 1171px #fff,563px 875px #fff,1013px 1615px #fff,1018px 1582px #fff,1451px 20px #fff,1526px 953px #fff,1914px 1044px #fff,1112px 48px #fff,1166px 64px #fff,66px 1938px #fff,1486px 998px #fff,1759px 1964px #fff,1037px 1828px #fff,465px 758px #fff,1212px 176px #fff,707px 157px #fff,1654px 1373px #fff,1809px 334px #fff,245px 1538px #fff,1715px 462px #fff,1154px 1697px #fff,1243px 331px #fff,397px 861px #fff,108px 1501px #fff,874px 133px #fff,1822px 34px #fff,1107px 1417px #fff,143px 1763px #fff,1837px 1358px #fff,318px 1139px #fff,397px 1747px #fff,1010px 772px #fff,92px 321px #fff,1121px 183px #fff,765px 1658px #fff,1139px 52px #fff,1768px 1431px #fff,358px 699px #fff,583px 148px #fff,375px 1002px #fff,1276px 231px #fff,784px 214px #fff,578px 944px #fff,1135px 1543px #fff,334px 651px #fff,1554px 889px #fff,167px 1716px #fff,1961px 688px #fff,986px 1801px #fff,1994px 1859px #fff,1631px 800px #fff,435px 238px #fff,1707px 128px #fff,1018px 612px #fff,964px 1357px #fff,96px 1730px #fff,433px 428px #fff,950px 1456px #fff,494px 885px #fff,916px 1578px #fff,1547px 404px #fff,1806px 1533px #fff,1891px 166px #fff,1761px 986px #fff,1093px 839px #fff,112px 577px #fff,188px 957px #fff,423px 400px #fff,1949px 1424px #fff,1502px 230px #fff,832px 632px #fff,690px 1107px #fff,1054px 1296px #fff,1407px 1882px #fff,1330px 1142px #fff,689px 964px #fff,752px 434px #fff,761px 1222px #fff,1968px 46px #fff,1449px 101px #fff,936px 832px #fff,593px 1074px #fff,1238px 729px #fff,329px 1630px #fff,1609px 1742px #fff,1613px 1335px #fff,1187px 1238px #fff,1827px 1116px #fff,720px 1162px #fff,1795px 1548px #fff,1795px 1768px #fff,600px 1144px #fff,1799px 935px #fff,887px 1814px #fff,1525px 1307px #fff,1252px 134px #fff,314px 68px #fff,1057px 634px #fff,841px 1673px #fff,1677px 923px #fff,724px 1006px #fff,449px 1909px #fff,1561px 733px #fff,787px 460px #fff,952px 1574px #fff,965px 1854px #fff,12px 1819px #fff,1771px 509px #fff,998px 1745px #fff,1158px 1713px #fff,287px 425px #fff,1097px 13px #fff,475px 1837px #fff,1950px 1870px #fff,923px 310px #fff,1883px 1308px #fff,148px 1811px #fff,1974px 878px #fff,371px 720px #fff,201px 1137px #fff,1069px 1619px #fff,573px 874px #fff,1105px 1215px #fff,1143px 750px #fff,1356px 1999px #fff,695px 1271px #fff,560px 1585px #fff,562px 1185px #fff,876px 888px #fff,1124px 11px #fff,1127px 1512px #fff,1615px 361px #fff,1032px 295px #fff,1100px 652px #fff,1768px 747px #fff,1952px 288px #fff,866px 1392px #fff,1517px 1538px #fff,544px 1270px #fff,645px 679px #fff,1499px 662px #fff,1046px 982px #fff,54px 883px #fff,1583px 381px #fff,1076px 944px #fff,65px 1077px #fff,251px 1478px #fff,518px 1936px #fff,72px 1112px #fff,1906px 1663px #fff,996px 442px #fff,1330px 419px #fff,1157px 1529px #fff,1476px 1037px #fff,855px 83px #fff,808px 399px #fff,1952px 1680px #fff,445px 84px #fff,977px 739px #fff,1866px 458px #fff,230px 293px #fff,1414px 555px #fff,292px 989px #fff,1651px 1518px #fff,1362px 1511px #fff,471px 862px #fff,383px 993px #fff,685px 546px #fff,1908px 1431px #fff,1030px 107px #fff,523px 141px #fff,1734px 1409px #fff,824px 991px #fff,747px 1326px #fff,1259px 1334px #fff,805px 760px #fff,308px 1130px #fff,1511px 729px #fff,137px 725px #fff,1551px 893px #fff,1177px 154px #fff,1846px 1661px #fff,484px 1096px #fff,1691px 1521px #fff,1598px 1910px #fff,846px 468px #fff,1739px 1771px #fff,893px 945px #fff,831px 407px #fff,404px 310px #fff,232px 1317px #fff,1236px 1696px #fff,1771px 457px #fff,407px 1169px #fff,74px 1125px #fff,1376px 1865px #fff,44px 836px #fff,1948px 595px #fff,188px 1258px #fff,35px 1501px #fff,629px 1069px #fff,1603px 931px #fff,489px 862px #fff,1181px 1986px #fff,1866px 1444px #fff,1537px 303px #fff,1952px 17px #fff,13px 1240px #fff,1307px 911px #fff,1543px 1135px #fff,1101px 1278px #fff,1212px 1077px #fff,1798px 1155px #fff,1464px 342px #fff,553px 1623px #fff,207px 395px #fff,683px 424px #fff,586px 1770px #fff,1265px 220px #fff,357px 1815px #fff,780px 1184px #fff,877px 1904px #fff,326px 1569px #fff,1819px 1938px #fff,1839px 503px #fff,720px 1231px #fff,640px 1084px #fff,1122px 657px #fff,725px 945px #fff,992px 816px #fff,1935px 851px #fff,1074px 1686px #fff,1160px 1438px #fff,1259px 1905px #fff,1120px 215px #fff,92px 581px #fff,932px 367px #fff,1121px 523px #fff,1273px 1866px #fff,149px 140px #fff,230px 1212px #fff,1265px 1592px #fff,1223px 654px #fff,820px 1316px #fff,1369px 1946px #fff,319px 1164px #fff,1058px 1973px #fff,1756px 41px #fff,740px 2000px #fff,1241px 1914px #fff,248px 171px #fff,1657px 1915px #fff,1662px 260px #fff,1670px 736px #fff,1877px 607px #fff,396px 1058px #fff,240px 599px #fff,769px 1041px #fff,940px 1436px #fff,793px 632px #fff,1350px 430px #fff,1790px 1327px #fff,865px 86px #fff,988px 582px #fff,1777px 1147px #fff,901px 1543px #fff,728px 1994px #fff,83px 1893px #fff,266px 195px #fff,1545px 451px #fff,311px 1659px #fff,1612px 295px #fff,1844px 651px #fff,955px 1670px #fff,1631px 494px #fff,1754px 435px #fff,1271px 488px #fff,1859px 1892px #fff,1631px 820px #fff,1833px 1258px #fff,316px 803px #fff,116px 1875px #fff,1620px 1284px #fff,1767px 1850px #fff,18px 574px #fff,1857px 840px #fff,184px 1498px #fff,1389px 76px #fff,27px 1974px #fff,1795px 463px #fff,619px 1001px #fff,93px 1857px #fff,393px 1722px #fff,350px 396px #fff,1789px 422px #fff,1944px 1609px #fff,24px 861px #fff,1895px 1470px #fff,1478px 1168px #fff,122px 296px #fff,1100px 592px #fff,1561px 508px #fff,572px 1016px #fff,352px 94px #fff,864px 1216px #fff,1036px 948px #fff,1706px 1829px #fff,143px 77px #fff,1031px 1600px #fff,1028px 80px #fff,1300px 1480px #fff,1697px 1952px #fff,1768px 1285px #fff,730px 693px #fff,1759px 919px #fff,917px 1127px #fff,1752px 581px #fff,1614px 1205px #fff,559px 1339px #fff,1622px 255px #fff,1700px 133px #fff,663px 625px #fff,1854px 1606px #fff,254px 581px #fff,1597px 551px #fff,1092px 123px #fff,788px 463px #fff,1308px 531px #fff,670px 569px #fff,487px 1212px #fff,1181px 1323px #fff,1499px 1757px #fff,1632px 543px #fff,441px 1728px #fff,838px 1005px #fff,746px 252px #fff,1000px 329px #fff,613px 1185px #fff,1457px 61px #fff,1849px 1012px #fff,1210px 674px #fff,1138px 400px #fff,1151px 1273px #fff,537px 905px #fff,317px 710px #fff,408px 1697px #fff,1056px 1349px #fff,794px 987px #fff,400px 838px #fff,1667px 492px #fff,942px 1739px #fff,1085px 1870px #fff,1899px 721px #fff,681px 1373px #fff,798px 392px #fff,486px 1259px #fff,460px 687px #fff,959px 1491px #fff,1821px 367px #fff,730px 1532px #fff,1202px 484px #fff,212px 1375px #fff,111px 20px #fff,917px 1009px #fff,990px 813px #fff,470px 426px #fff,1011px 753px #fff,59px 461px #fff,360px 1416px #fff,698px 1073px #fff,1206px 55px #fff,107px 1179px #fff,1062px 1462px #fff,950px 1605px #fff,1348px 1347px #fff,1065px 287px #fff,1425px 1861px #fff,1118px 480px #fff,180px 1031px #fff,1101px 1822px #fff,1514px 1370px #fff,610px 1293px #fff,397px 1510px #fff,1975px 1389px #fff,899px 1150px #fff,1292px 496px #fff,1798px 1882px #fff,1904px 1476px #fff,802px 1795px #fff,1634px 1684px #fff,743px 196px #fff,1161px 963px #fff,481px 821px #fff,1559px 1292px #fff,871px 1822px #fff,782px 560px #fff,1576px 767px #fff,30px 1394px #fff,1817px 863px #fff,1783px 814px #fff,20px 1976px #fff,988px 1586px #fff,1670px 212px #fff,1332px 1203px #fff,311px 614px #fff,1562px 1617px #fff,826px 1293px #fff,283px 154px #fff,1142px 1095px #fff,1188px 67px #fff,8px 625px #fff,1917px 1534px #fff,1800px 677px #fff,620px 1687px #fff,424px 192px #fff,1205px 61px #fff,704px 736px #fff,1966px 1835px #fff,1539px 216px #fff,1372px 750px #fff,1947px 540px #fff,1839px 452px #fff,1762px 695px #fff,124px 588px #fff,865px 1727px #fff,800px 1704px #fff,18px 1066px #fff,1441px 1500px #fff,10px 236px #fff,1899px 594px #fff,1607px 912px #fff,25px 750px #fff,628px 1612px #fff,1902px 663px #fff,1863px 1708px #fff,1608px 1013px #fff,1033px 1418px #fff,1159px 1968px #fff,1462px 338px #fff,896px 123px #fff,1002px 1102px #fff,1140px 180px #fff,1039px 970px #fff,1032px 1561px #fff,1783px 1206px #fff,1993px 800px #fff,909px 1938px #fff,852px 388px #fff,704px 1369px #fff,479px 1639px #fff,172px 638px #fff,590px 804px #fff,771px 1775px #fff,794px 1040px #fff,1972px 1781px #fff,1313px 1733px #fff,499px 1018px #fff,1437px 940px #fff,939px 1735px #fff,895px 1967px #fff,229px 204px #fff,175px 401px #fff,1094px 1186px #fff,1813px 1864px #fff,980px 1516px #fff,1311px 469px #fff,1883px 1344px #fff,449px 1582px #fff,1389px 1060px #fff,1135px 1453px #fff,1060px 1205px #fff,1010px 205px #fff,973px 1888px #fff,1429px 969px #fff,89px 1710px #fff,1033px 1712px #fff,1954px 818px #fff,1497px 473px #fff,161px 371px #fff,349px 1793px #fff,491px 1316px #fff,47px 1290px #fff,1419px 1999px #fff,1248px 1790px #fff,1269px 1237px #fff,1398px 1005px #fff,925px 926px #fff,1143px 1962px #fff,1054px 361px #fff,1752px 274px #fff,1825px 1855px #fff,573px 191px #fff,278px 657px #fff,135px 516px #fff,633px 1269px #fff,794px 384px #fff,404px 977px #fff,1715px 754px #fff,266px 660px #fff,930px 1328px #fff,711px 1828px #fff,97px 1218px #fff,133px 127px #fff,726px 1931px #fff,426px 447px #fff,1284px 1312px #fff,871px 618px #fff,55px 1785px #fff,1500px 1256px #fff,648px 258px #fff,1079px 156px #fff,1523px 857px #fff,468px 1339px #fff,1387px 1034px #fff,470px 431px #fff,1390px 1700px #fff,1699px 748px #fff,1102px 74px #fff,247px 950px #fff,249px 1010px #fff,832px 135px #fff,139px 1120px #fff,789px 300px #fff,304px 1905px #fff,1509px 1808px #fff,657px 1940px #fff,1864px 322px #fff,1948px 531px #fff,624px 1164px #fff,1565px 1673px #fff,742px 1655px #fff,933px 674px #fff,991px 1596px #fff,1886px 654px #fff,1657px 1656px #fff,458px 928px #fff,1196px 1253px #fff,1697px 197px #fff,571px 1512px #fff,1891px 1658px #fff,105px 1808px #fff,1951px 27px #fff,1234px 1326px #fff,1141px 242px #fff,102px 886px #fff,1227px 770px #fff,1580px 392px #fff,1345px 709px #fff,1325px 555px #fff,562px 898px #fff,1270px 479px #fff,1839px 884px #fff,1908px 14px #fff,1357px 595px #fff,212px 297px #fff,647px 506px #fff,1160px 1901px #fff,1027px 1171px #fff,1429px 1578px #fff,9px 618px #fff,121px 1954px #fff,1692px 164px #fff,1083px 1457px #fff,1035px 742px #fff,1163px 1566px #fff,1144px 1385px #fff,1211px 911px #fff,1653px 813px #fff,1090px 1570px #fff,290px 1271px #fff,746px 1329px #fff,453px 1447px #fff,1497px 1874px #fff,1493px 1116px #fff,845px 1742px #fff,1165px 1999px #fff,576px 563px #fff,51px 404px #fff,993px 770px #fff,1997px 674px #fff,1355px 1487px #fff,1642px 146px #fff,1160px 1718px #fff,947px 235px #fff,874px 1198px #fff,1280px 1465px #fff,373px 654px #fff,1734px 608px #fff,1699px 40px #fff,122px 1568px #fff,181px 1966px #fff,9px 194px #fff,59px 707px #fff,871px 726px #fff,220px 11px #fff,1626px 1002px #fff,877px 1749px #fff,330px 300px #fff,1515px 308px #fff,876px 1509px #fff,1016px 960px #fff,113px 267px #fff,747px 1859px #fff,234px 906px #fff,1687px 1601px #fff,773px 844px #fff,1812px 1479px #fff,688px 1103px #fff,1305px 71px #fff,1276px 493px #fff,843px 1434px #fff,6px 1435px #fff,1848px 508px #fff,1101px 240px #fff,1974px 1952px #fff,1072px 406px #fff,697px 1196px #fff,988px 256px #fff,501px 582px #fff,460px 1825px #fff,1912px 1029px #fff,1829px 1728px #fff,405px 190px #fff,1930px 1454px #fff,1524px 1997px #fff,721px 1573px #fff,1715px 1977px #fff,1003px 452px #fff,1200px 1844px #fff,1532px 986px #fff,1631px 1912px #fff,1521px 1236px #fff,1862px 1939px #fff,490px 259px #fff,991px 929px #fff,1770px 96px #fff,599px 1502px #fff,1269px 1762px #fff,1745px 1873px #fff,1462px 1727px #fff,1271px 532px #fff,1544px 1172px #fff,142px 1744px #fff,521px 941px #fff,596px 879px #fff,985px 427px #fff,1691px 1653px #fff;animation:animStar 50s linear infinite}#stars:after{content:" ";position:absolute;top:2000px;width:1px;height:1px;background:transparent;box-shadow:1144px 728px #fff,682px 735px #fff,765px 1342px #fff,1098px 1189px #fff,878px 1230px #fff,754px 888px #fff,1778px 1646px #fff,126px 1127px #fff,1485px 23px #fff,192px 1415px #fff,488px 1489px #fff,539px 1578px #fff,1720px 1531px #fff,1031px 117px #fff,1885px 1961px #fff,1212px 494px #fff,149px 1298px #fff,186px 1879px #fff,914px 959px #fff,1948px 1384px #fff,188px 1852px #fff,1128px 1746px #fff,1486px 1885px #fff,1608px 1075px #fff,1252px 137px #fff,270px 878px #fff,1802px 1559px #fff,25px 1911px #fff,1381px 293px #fff,785px 357px #fff,1398px 1156px #fff,1656px 338px #fff,1551px 150px #fff,1224px 536px #fff,585px 478px #fff,1252px 1947px #fff,1735px 365px #fff,1671px 1871px #fff,1444px 1815px #fff,1955px 1532px #fff,1927px 168px #fff,1620px 1912px #fff,1402px 1489px #fff,54px 1247px #fff,1143px 1189px #fff,698px 172px #fff,1623px 1503px #fff,485px 1533px #fff,1560px 784px #fff,517px 950px #fff,557px 201px #fff,1959px 1370px #fff,1744px 441px #fff,1678px 1171px #fff,563px 875px #fff,1013px 1615px #fff,1018px 1582px #fff,1451px 20px #fff,1526px 953px #fff,1914px 1044px #fff,1112px 48px #fff,1166px 64px #fff,66px 1938px #fff,1486px 998px #fff,1759px 1964px #fff,1037px 1828px #fff,465px 758px #fff,1212px 176px #fff,707px 157px #fff,1654px 1373px #fff,1809px 334px #fff,245px 1538px #fff,1715px 462px #fff,1154px 1697px #fff,1243px 331px #fff,397px 861px #fff,108px 1501px #fff,874px 133px #fff,1822px 34px #fff,1107px 1417px #fff,143px 1763px #fff,1837px 1358px #fff,318px 1139px #fff,397px 1747px #fff,1010px 772px #fff,92px 321px #fff,1121px 183px #fff,765px 1658px #fff,1139px 52px #fff,1768px 1431px #fff,358px 699px #fff,583px 148px #fff,375px 1002px #fff,1276px 231px #fff,784px 214px #fff,578px 944px #fff,1135px 1543px #fff,334px 651px #fff,1554px 889px #fff,167px 1716px #fff,1961px 688px #fff,986px 1801px #fff,1994px 1859px #fff,1631px 800px #fff,435px 238px #fff,1707px 128px #fff,1018px 612px #fff,964px 1357px #fff,96px 1730px #fff,433px 428px #fff,950px 1456px #fff,494px 885px #fff,916px 1578px #fff,1547px 404px #fff,1806px 1533px #fff,1891px 166px #fff,1761px 986px #fff,1093px 839px #fff,112px 577px #fff,188px 957px #fff,423px 400px #fff,1949px 1424px #fff,1502px 230px #fff,832px 632px #fff,690px 1107px #fff,1054px 1296px #fff,1407px 1882px #fff,1330px 1142px #fff,689px 964px #fff,752px 434px #fff,761px 1222px #fff,1968px 46px #fff,1449px 101px #fff,936px 832px #fff,593px 1074px #fff,1238px 729px #fff,329px 1630px #fff,1609px 1742px #fff,1613px 1335px #fff,1187px 1238px #fff,1827px 1116px #fff,720px 1162px #fff,1795px 1548px #fff,1795px 1768px #fff,600px 1144px #fff,1799px 935px #fff,887px 1814px #fff,1525px 1307px #fff,1252px 134px #fff,314px 68px #fff,1057px 634px #fff,841px 1673px #fff,1677px 923px #fff,724px 1006px #fff,449px 1909px #fff,1561px 733px #fff,787px 460px #fff,952px 1574px #fff,965px 1854px #fff,12px 1819px #fff,1771px 509px #fff,998px 1745px #fff,1158px 1713px #fff,287px 425px #fff,1097px 13px #fff,475px 1837px #fff,1950px 1870px #fff,923px 310px #fff,1883px 1308px #fff,148px 1811px #fff,1974px 878px #fff,371px 720px #fff,201px 1137px #fff,1069px 1619px #fff,573px 874px #fff,1105px 1215px #fff,1143px 750px #fff,1356px 1999px #fff,695px 1271px #fff,560px 1585px #fff,562px 1185px #fff,876px 888px #fff,1124px 11px #fff,1127px 1512px #fff,1615px 361px #fff,1032px 295px #fff,1100px 652px #fff,1768px 747px #fff,1952px 288px #fff,866px 1392px #fff,1517px 1538px #fff,544px 1270px #fff,645px 679px #fff,1499px 662px #fff,1046px 982px #fff,54px 883px #fff,1583px 381px #fff,1076px 944px #fff,65px 1077px #fff,251px 1478px #fff,518px 1936px #fff,72px 1112px #fff,1906px 1663px #fff,996px 442px #fff,1330px 419px #fff,1157px 1529px #fff,1476px 1037px #fff,855px 83px #fff,808px 399px #fff,1952px 1680px #fff,445px 84px #fff,977px 739px #fff,1866px 458px #fff,230px 293px #fff,1414px 555px #fff,292px 989px #fff,1651px 1518px #fff,1362px 1511px #fff,471px 862px #fff,383px 993px #fff,685px 546px #fff,1908px 1431px #fff,1030px 107px #fff,523px 141px #fff,1734px 1409px #fff,824px 991px #fff,747px 1326px #fff,1259px 1334px #fff,805px 760px #fff,308px 1130px #fff,1511px 729px #fff,137px 725px #fff,1551px 893px #fff,1177px 154px #fff,1846px 1661px #fff,484px 1096px #fff,1691px 1521px #fff,1598px 1910px #fff,846px 468px #fff,1739px 1771px #fff,893px 945px #fff,831px 407px #fff,404px 310px #fff,232px 1317px #fff,1236px 1696px #fff,1771px 457px #fff,407px 1169px #fff,74px 1125px #fff,1376px 1865px #fff,44px 836px #fff,1948px 595px #fff,188px 1258px #fff,35px 1501px #fff,629px 1069px #fff,1603px 931px #fff,489px 862px #fff,1181px 1986px #fff,1866px 1444px #fff,1537px 303px #fff,1952px 17px #fff,13px 1240px #fff,1307px 911px #fff,1543px 1135px #fff,1101px 1278px #fff,1212px 1077px #fff,1798px 1155px #fff,1464px 342px #fff,553px 1623px #fff,207px 395px #fff,683px 424px #fff,586px 1770px #fff,1265px 220px #fff,357px 1815px #fff,780px 1184px #fff,877px 1904px #fff,326px 1569px #fff,1819px 1938px #fff,1839px 503px #fff,720px 1231px #fff,640px 1084px #fff,1122px 657px #fff,725px 945px #fff,992px 816px #fff,1935px 851px #fff,1074px 1686px #fff,1160px 1438px #fff,1259px 1905px #fff,1120px 215px #fff,92px 581px #fff,932px 367px #fff,1121px 523px #fff,1273px 1866px #fff,149px 140px #fff,230px 1212px #fff,1265px 1592px #fff,1223px 654px #fff,820px 1316px #fff,1369px 1946px #fff,319px 1164px #fff,1058px 1973px #fff,1756px 41px #fff,740px 2000px #fff,1241px 1914px #fff,248px 171px #fff,1657px 1915px #fff,1662px 260px #fff,1670px 736px #fff,1877px 607px #fff,396px 1058px #fff,240px 599px #fff,769px 1041px #fff,940px 1436px #fff,793px 632px #fff,1350px 430px #fff,1790px 1327px #fff,865px 86px #fff,988px 582px #fff,1777px 1147px #fff,901px 1543px #fff,728px 1994px #fff,83px 1893px #fff,266px 195px #fff,1545px 451px #fff,311px 1659px #fff,1612px 295px #fff,1844px 651px #fff,955px 1670px #fff,1631px 494px #fff,1754px 435px #fff,1271px 488px #fff,1859px 1892px #fff,1631px 820px #fff,1833px 1258px #fff,316px 803px #fff,116px 1875px #fff,1620px 1284px #fff,1767px 1850px #fff,18px 574px #fff,1857px 840px #fff,184px 1498px #fff,1389px 76px #fff,27px 1974px #fff,1795px 463px #fff,619px 1001px #fff,93px 1857px #fff,393px 1722px #fff,350px 396px #fff,1789px 422px #fff,1944px 1609px #fff,24px 861px #fff,1895px 1470px #fff,1478px 1168px #fff,122px 296px #fff,1100px 592px #fff,1561px 508px #fff,572px 1016px #fff,352px 94px #fff,864px 1216px #fff,1036px 948px #fff,1706px 1829px #fff,143px 77px #fff,1031px 1600px #fff,1028px 80px #fff,1300px 1480px #fff,1697px 1952px #fff,1768px 1285px #fff,730px 693px #fff,1759px 919px #fff,917px 1127px #fff,1752px 581px #fff,1614px 1205px #fff,559px 1339px #fff,1622px 255px #fff,1700px 133px #fff,663px 625px #fff,1854px 1606px #fff,254px 581px #fff,1597px 551px #fff,1092px 123px #fff,788px 463px #fff,1308px 531px #fff,670px 569px #fff,487px 1212px #fff,1181px 1323px #fff,1499px 1757px #fff,1632px 543px #fff,441px 1728px #fff,838px 1005px #fff,746px 252px #fff,1000px 329px #fff,613px 1185px #fff,1457px 61px #fff,1849px 1012px #fff,1210px 674px #fff,1138px 400px #fff,1151px 1273px #fff,537px 905px #fff,317px 710px #fff,408px 1697px #fff,1056px 1349px #fff,794px 987px #fff,400px 838px #fff,1667px 492px #fff,942px 1739px #fff,1085px 1870px #fff,1899px 721px #fff,681px 1373px #fff,798px 392px #fff,486px 1259px #fff,460px 687px #fff,959px 1491px #fff,1821px 367px #fff,730px 1532px #fff,1202px 484px #fff,212px 1375px #fff,111px 20px #fff,917px 1009px #fff,990px 813px #fff,470px 426px #fff,1011px 753px #fff,59px 461px #fff,360px 1416px #fff,698px 1073px #fff,1206px 55px #fff,107px 1179px #fff,1062px 1462px #fff,950px 1605px #fff,1348px 1347px #fff,1065px 287px #fff,1425px 1861px #fff,1118px 480px #fff,180px 1031px #fff,1101px 1822px #fff,1514px 1370px #fff,610px 1293px #fff,397px 1510px #fff,1975px 1389px #fff,899px 1150px #fff,1292px 496px #fff,1798px 1882px #fff,1904px 1476px #fff,802px 1795px #fff,1634px 1684px #fff,743px 196px #fff,1161px 963px #fff,481px 821px #fff,1559px 1292px #fff,871px 1822px #fff,782px 560px #fff,1576px 767px #fff,30px 1394px #fff,1817px 863px #fff,1783px 814px #fff,20px 1976px #fff,988px 1586px #fff,1670px 212px #fff,1332px 1203px #fff,311px 614px #fff,1562px 1617px #fff,826px 1293px #fff,283px 154px #fff,1142px 1095px #fff,1188px 67px #fff,8px 625px #fff,1917px 1534px #fff,1800px 677px #fff,620px 1687px #fff,424px 192px #fff,1205px 61px #fff,704px 736px #fff,1966px 1835px #fff,1539px 216px #fff,1372px 750px #fff,1947px 540px #fff,1839px 452px #fff,1762px 695px #fff,124px 588px #fff,865px 1727px #fff,800px 1704px #fff,18px 1066px #fff,1441px 1500px #fff,10px 236px #fff,1899px 594px #fff,1607px 912px #fff,25px 750px #fff,628px 1612px #fff,1902px 663px #fff,1863px 1708px #fff,1608px 1013px #fff,1033px 1418px #fff,1159px 1968px #fff,1462px 338px #fff,896px 123px #fff,1002px 1102px #fff,1140px 180px #fff,1039px 970px #fff,1032px 1561px #fff,1783px 1206px #fff,1993px 800px #fff,909px 1938px #fff,852px 388px #fff,704px 1369px #fff,479px 1639px #fff,172px 638px #fff,590px 804px #fff,771px 1775px #fff,794px 1040px #fff,1972px 1781px #fff,1313px 1733px #fff,499px 1018px #fff,1437px 940px #fff,939px 1735px #fff,895px 1967px #fff,229px 204px #fff,175px 401px #fff,1094px 1186px #fff,1813px 1864px #fff,980px 1516px #fff,1311px 469px #fff,1883px 1344px #fff,449px 1582px #fff,1389px 1060px #fff,1135px 1453px #fff,1060px 1205px #fff,1010px 205px #fff,973px 1888px #fff,1429px 969px #fff,89px 1710px #fff,1033px 1712px #fff,1954px 818px #fff,1497px 473px #fff,161px 371px #fff,349px 1793px #fff,491px 1316px #fff,47px 1290px #fff,1419px 1999px #fff,1248px 1790px #fff,1269px 1237px #fff,1398px 1005px #fff,925px 926px #fff,1143px 1962px #fff,1054px 361px #fff,1752px 274px #fff,1825px 1855px #fff,573px 191px #fff,278px 657px #fff,135px 516px #fff,633px 1269px #fff,794px 384px #fff,404px 977px #fff,1715px 754px #fff,266px 660px #fff,930px 1328px #fff,711px 1828px #fff,97px 1218px #fff,133px 127px #fff,726px 1931px #fff,426px 447px #fff,1284px 1312px #fff,871px 618px #fff,55px 1785px #fff,1500px 1256px #fff,648px 258px #fff,1079px 156px #fff,1523px 857px #fff,468px 1339px #fff,1387px 1034px #fff,470px 431px #fff,1390px 1700px #fff,1699px 748px #fff,1102px 74px #fff,247px 950px #fff,249px 1010px #fff,832px 135px #fff,139px 1120px #fff,789px 300px #fff,304px 1905px #fff,1509px 1808px #fff,657px 1940px #fff,1864px 322px #fff,1948px 531px #fff,624px 1164px #fff,1565px 1673px #fff,742px 1655px #fff,933px 674px #fff,991px 1596px #fff,1886px 654px #fff,1657px 1656px #fff,458px 928px #fff,1196px 1253px #fff,1697px 197px #fff,571px 1512px #fff,1891px 1658px #fff,105px 1808px #fff,1951px 27px #fff,1234px 1326px #fff,1141px 242px #fff,102px 886px #fff,1227px 770px #fff,1580px 392px #fff,1345px 709px #fff,1325px 555px #fff,562px 898px #fff,1270px 479px #fff,1839px 884px #fff,1908px 14px #fff,1357px 595px #fff,212px 297px #fff,647px 506px #fff,1160px 1901px #fff,1027px 1171px #fff,1429px 1578px #fff,9px 618px #fff,121px 1954px #fff,1692px 164px #fff,1083px 1457px #fff,1035px 742px #fff,1163px 1566px #fff,1144px 1385px #fff,1211px 911px #fff,1653px 813px #fff,1090px 1570px #fff,290px 1271px #fff,746px 1329px #fff,453px 1447px #fff,1497px 1874px #fff,1493px 1116px #fff,845px 1742px #fff,1165px 1999px #fff,576px 563px #fff,51px 404px #fff,993px 770px #fff,1997px 674px #fff,1355px 1487px #fff,1642px 146px #fff,1160px 1718px #fff,947px 235px #fff,874px 1198px #fff,1280px 1465px #fff,373px 654px #fff,1734px 608px #fff,1699px 40px #fff,122px 1568px #fff,181px 1966px #fff,9px 194px #fff,59px 707px #fff,871px 726px #fff,220px 11px #fff,1626px 1002px #fff,877px 1749px #fff,330px 300px #fff,1515px 308px #fff,876px 1509px #fff,1016px 960px #fff,113px 267px #fff,747px 1859px #fff,234px 906px #fff,1687px 1601px #fff,773px 844px #fff,1812px 1479px #fff,688px 1103px #fff,1305px 71px #fff,1276px 493px #fff,843px 1434px #fff,6px 1435px #fff,1848px 508px #fff,1101px 240px #fff,1974px 1952px #fff,1072px 406px #fff,697px 1196px #fff,988px 256px #fff,501px 582px #fff,460px 1825px #fff,1912px 1029px #fff,1829px 1728px #fff,405px 190px #fff,1930px 1454px #fff,1524px 1997px #fff,721px 1573px #fff,1715px 1977px #fff,1003px 452px #fff,1200px 1844px #fff,1532px 986px #fff,1631px 1912px #fff,1521px 1236px #fff,1862px 1939px #fff,490px 259px #fff,991px 929px #fff,1770px 96px #fff,599px 1502px #fff,1269px 1762px #fff,1745px 1873px #fff,1462px 1727px #fff,1271px 532px #fff,1544px 1172px #fff,142px 1744px #fff,521px 941px #fff,596px 879px #fff,985px 427px #fff,1691px 1653px #fff}#stars2{width:2px;height:2px;background:transparent;box-shadow:1840px 921px #fff,782px 1464px #fff,915px 948px #fff,205px 1621px #fff,494px 1474px #fff,884px 432px #fff,754px 1413px #fff,1295px 1139px #fff,731px 1000px #fff,110px 165px #fff,1909px 1819px #fff,664px 1644px #fff,934px 1356px #fff,1285px 1092px #fff,1644px 1772px #fff,1720px 2px #fff,959px 1515px #fff,1559px 1293px #fff,1983px 1591px #fff,1739px 1373px #fff,1397px 1801px #fff,167px 506px #fff,1580px 860px #fff,1963px 1478px #fff,403px 860px #fff,1126px 451px #fff,886px 237px #fff,1233px 729px #fff,1724px 843px #fff,1695px 1257px #fff,1353px 322px #fff,715px 484px #fff,589px 952px #fff,1099px 1406px #fff,1766px 914px #fff,393px 106px #fff,509px 1044px #fff,1550px 1583px #fff,559px 185px #fff,1976px 274px #fff,148px 1832px #fff,1157px 403px #fff,45px 1276px #fff,340px 1037px #fff,1349px 854px #fff,1183px 44px #fff,1238px 34px #fff,1397px 1014px #fff,427px 847px #fff,1300px 705px #fff,1320px 605px #fff,295px 39px #fff,732px 1926px #fff,767px 1117px #fff,1047px 1642px #fff,860px 658px #fff,174px 1905px #fff,1287px 1413px #fff,894px 1692px #fff,105px 1072px #fff,610px 938px #fff,156px 509px #fff,1160px 1231px #fff,1561px 1342px #fff,1217px 1246px #fff,1878px 114px #fff,1992px 1771px #fff,227px 499px #fff,648px 502px #fff,1691px 1690px #fff,1299px 935px #fff,1143px 1155px #fff,1499px 972px #fff,531px 1008px #fff,611px 741px #fff,1358px 986px #fff,933px 1494px #fff,1135px 744px #fff,1546px 1936px #fff,974px 290px #fff,1319px 1210px #fff,791px 735px #fff,198px 73px #fff,330px 1378px #fff,81px 637px #fff,347px 758px #fff,1059px 1818px #fff,1731px 1363px #fff,1305px 45px #fff,1693px 226px #fff,141px 1576px #fff,1119px 1694px #fff,1872px 384px #fff,364px 1057px #fff,1267px 485px #fff,1587px 1641px #fff,1817px 1487px #fff,871px 613px #fff,801px 1945px #fff,1306px 1551px #fff,1413px 72px #fff,414px 1792px #fff,211px 260px #fff,1481px 1903px #fff,117px 18px #fff,499px 543px #fff,1952px 638px #fff,828px 202px #fff,1923px 796px #fff,308px 1151px #fff,1430px 611px #fff,135px 1591px #fff,268px 1131px #fff,1729px 1736px #fff,353px 82px #fff,307px 576px #fff,943px 1105px #fff,1388px 1408px #fff,51px 77px #fff,206px 1469px #fff,1575px 307px #fff,1166px 1445px #fff,819px 1288px #fff,908px 850px #fff,1840px 1467px #fff,176px 366px #fff,448px 1817px #fff,1729px 279px #fff,189px 1446px #fff,1407px 1899px #fff,950px 789px #fff,1618px 1294px #fff,227px 353px #fff,1481px 1774px #fff,955px 649px #fff,1792px 1445px #fff,1667px 794px #fff,1468px 1834px #fff,1407px 1645px #fff,762px 1683px #fff,785px 1314px #fff,1231px 468px #fff,1125px 1751px #fff,1503px 1046px #fff,390px 1813px #fff,1509px 1619px #fff,657px 76px #fff,1731px 1530px #fff,1542px 1692px #fff,1109px 217px #fff,1548px 900px #fff,1716px 531px #fff,1533px 839px #fff,1196px 42px #fff,1553px 738px #fff,936px 526px #fff,766px 356px #fff,873px 1371px #fff,439px 341px #fff,1061px 607px #fff,1635px 548px #fff,1138px 1993px #fff,1388px 1231px #fff,186px 785px #fff,1063px 360px #fff,1068px 501px #fff,1561px 903px #fff,1403px 517px #fff,1775px 1636px #fff,388px 67px #fff,1568px 1149px #fff,116px 837px #fff,1426px 27px #fff,436px 537px #fff,872px 1121px #fff,73px 937px #fff,690px 302px #fff,981px 188px #fff,1638px 1256px #fff,168px 1940px #fff,1702px 55px #fff,1911px 1877px #fff,1349px 1203px #fff,1648px 1902px #fff,611px 1033px #fff,1206px 1212px #fff,583px 1070px #fff,629px 501px #fff,1150px 579px #fff,629px 1929px #fff,941px 225px #fff,72px 446px #fff,1964px 69px #fff,1498px 863px #fff,1912px 331px #fff,594px 1870px #fff,1538px 1284px #fff,1744px 1288px #fff,1850px 1172px #fff,1688px 327px #fff;animation:animStar 100s linear infinite}#stars2:after{content:" ";position:absolute;top:2000px;width:2px;height:2px;background:transparent;box-shadow:1840px 921px #fff,782px 1464px #fff,915px 948px #fff,205px 1621px #fff,494px 1474px #fff,884px 432px #fff,754px 1413px #fff,1295px 1139px #fff,731px 1000px #fff,110px 165px #fff,1909px 1819px #fff,664px 1644px #fff,934px 1356px #fff,1285px 1092px #fff,1644px 1772px #fff,1720px 2px #fff,959px 1515px #fff,1559px 1293px #fff,1983px 1591px #fff,1739px 1373px #fff,1397px 1801px #fff,167px 506px #fff,1580px 860px #fff,1963px 1478px #fff,403px 860px #fff,1126px 451px #fff,886px 237px #fff,1233px 729px #fff,1724px 843px #fff,1695px 1257px #fff,1353px 322px #fff,715px 484px #fff,589px 952px #fff,1099px 1406px #fff,1766px 914px #fff,393px 106px #fff,509px 1044px #fff,1550px 1583px #fff,559px 185px #fff,1976px 274px #fff,148px 1832px #fff,1157px 403px #fff,45px 1276px #fff,340px 1037px #fff,1349px 854px #fff,1183px 44px #fff,1238px 34px #fff,1397px 1014px #fff,427px 847px #fff,1300px 705px #fff,1320px 605px #fff,295px 39px #fff,732px 1926px #fff,767px 1117px #fff,1047px 1642px #fff,860px 658px #fff,174px 1905px #fff,1287px 1413px #fff,894px 1692px #fff,105px 1072px #fff,610px 938px #fff,156px 509px #fff,1160px 1231px #fff,1561px 1342px #fff,1217px 1246px #fff,1878px 114px #fff,1992px 1771px #fff,227px 499px #fff,648px 502px #fff,1691px 1690px #fff,1299px 935px #fff,1143px 1155px #fff,1499px 972px #fff,531px 1008px #fff,611px 741px #fff,1358px 986px #fff,933px 1494px #fff,1135px 744px #fff,1546px 1936px #fff,974px 290px #fff,1319px 1210px #fff,791px 735px #fff,198px 73px #fff,330px 1378px #fff,81px 637px #fff,347px 758px #fff,1059px 1818px #fff,1731px 1363px #fff,1305px 45px #fff,1693px 226px #fff,141px 1576px #fff,1119px 1694px #fff,1872px 384px #fff,364px 1057px #fff,1267px 485px #fff,1587px 1641px #fff,1817px 1487px #fff,871px 613px #fff,801px 1945px #fff,1306px 1551px #fff,1413px 72px #fff,414px 1792px #fff,211px 260px #fff,1481px 1903px #fff,117px 18px #fff,499px 543px #fff,1952px 638px #fff,828px 202px #fff,1923px 796px #fff,308px 1151px #fff,1430px 611px #fff,135px 1591px #fff,268px 1131px #fff,1729px 1736px #fff,353px 82px #fff,307px 576px #fff,943px 1105px #fff,1388px 1408px #fff,51px 77px #fff,206px 1469px #fff,1575px 307px #fff,1166px 1445px #fff,819px 1288px #fff,908px 850px #fff,1840px 1467px #fff,176px 366px #fff,448px 1817px #fff,1729px 279px #fff,189px 1446px #fff,1407px 1899px #fff,950px 789px #fff,1618px 1294px #fff,227px 353px #fff,1481px 1774px #fff,955px 649px #fff,1792px 1445px #fff,1667px 794px #fff,1468px 1834px #fff,1407px 1645px #fff,762px 1683px #fff,785px 1314px #fff,1231px 468px #fff,1125px 1751px #fff,1503px 1046px #fff,390px 1813px #fff,1509px 1619px #fff,657px 76px #fff,1731px 1530px #fff,1542px 1692px #fff,1109px 217px #fff,1548px 900px #fff,1716px 531px #fff,1533px 839px #fff,1196px 42px #fff,1553px 738px #fff,936px 526px #fff,766px 356px #fff,873px 1371px #fff,439px 341px #fff,1061px 607px #fff,1635px 548px #fff,1138px 1993px #fff,1388px 1231px #fff,186px 785px #fff,1063px 360px #fff,1068px 501px #fff,1561px 903px #fff,1403px 517px #fff,1775px 1636px #fff,388px 67px #fff,1568px 1149px #fff,116px 837px #fff,1426px 27px #fff,436px 537px #fff,872px 1121px #fff,73px 937px #fff,690px 302px #fff,981px 188px #fff,1638px 1256px #fff,168px 1940px #fff,1702px 55px #fff,1911px 1877px #fff,1349px 1203px #fff,1648px 1902px #fff,611px 1033px #fff,1206px 1212px #fff,583px 1070px #fff,629px 501px #fff,1150px 579px #fff,629px 1929px #fff,941px 225px #fff,72px 446px #fff,1964px 69px #fff,1498px 863px #fff,1912px 331px #fff,594px 1870px #fff,1538px 1284px #fff,1744px 1288px #fff,1850px 1172px #fff,1688px 327px #fff}#stars3{width:3px;height:3px;background:transparent;box-shadow:1360px 1075px #fff,1012px 365px #fff,1613px 679px #fff,1254px 492px #fff,1569px 612px #fff,1344px 1408px #fff,292px 1890px #fff,883px 1678px #fff,1589px 1585px #fff,282px 822px #fff,765px 453px #fff,1475px 1887px #fff,1779px 824px #fff,833px 425px #fff,1308px 1311px #fff,1167px 816px #fff,813px 68px #fff,42px 559px #fff,248px 487px #fff,547px 1033px #fff,1672px 1578px #fff,1824px 1714px #fff,1140px 63px #fff,884px 441px #fff,427px 843px #fff,184px 657px #fff,1796px 1296px #fff,37px 242px #fff,836px 1324px #fff,555px 1410px #fff,1759px 230px #fff,1680px 1130px #fff,319px 443px #fff,1636px 444px #fff,612px 1327px #fff,652px 1229px #fff,1623px 1181px #fff,862px 1749px #fff,1552px 1262px #fff,695px 472px #fff,1816px 1500px #fff,463px 632px #fff,314px 1335px #fff,571px 1029px #fff,366px 771px #fff,214px 1283px #fff,763px 81px #fff,294px 1445px #fff,238px 788px #fff,1203px 687px #fff,1278px 1892px #fff,1116px 1736px #fff,920px 790px #fff,1098px 374px #fff,628px 622px #fff,747px 1054px #fff,669px 1651px #fff,255px 1825px #fff,824px 733px #fff,714px 158px #fff,1535px 1718px #fff,1px 186px #fff,1811px 654px #fff,253px 167px #fff,1844px 24px #fff,81px 1236px #fff,1862px 225px #fff,234px 396px #fff,803px 719px #fff,1428px 1242px #fff,1763px 1169px #fff,793px 1104px #fff,473px 748px #fff,1253px 1104px #fff,1760px 703px #fff,715px 428px #fff,887px 564px #fff,800px 1531px #fff,76px 1330px #fff,816px 1968px #fff,940px 1413px #fff,936px 871px #fff,1415px 1257px #fff,1595px 1042px #fff,910px 248px #fff,519px 353px #fff,1414px 1334px #fff,1167px 242px #fff,535px 654px #fff,492px 1553px #fff,1340px 868px #fff,874px 110px #fff,1729px 109px #fff,36px 1466px #fff,137px 475px #fff,622px 1917px #fff,977px 525px #fff,1957px 1364px #fff,352px 1327px #fff,746px 1922px #fff;animation:animStar 150s linear infinite}#stars3:after{content:" ";position:absolute;top:2000px;width:3px;height:3px;background:transparent;box-shadow:1360px 1075px #fff,1012px 365px #fff,1613px 679px #fff,1254px 492px #fff,1569px 612px #fff,1344px 1408px #fff,292px 1890px #fff,883px 1678px #fff,1589px 1585px #fff,282px 822px #fff,765px 453px #fff,1475px 1887px #fff,1779px 824px #fff,833px 425px #fff,1308px 1311px #fff,1167px 816px #fff,813px 68px #fff,42px 559px #fff,248px 487px #fff,547px 1033px #fff,1672px 1578px #fff,1824px 1714px #fff,1140px 63px #fff,884px 441px #fff,427px 843px #fff,184px 657px #fff,1796px 1296px #fff,37px 242px #fff,836px 1324px #fff,555px 1410px #fff,1759px 230px #fff,1680px 1130px #fff,319px 443px #fff,1636px 444px #fff,612px 1327px #fff,652px 1229px #fff,1623px 1181px #fff,862px 1749px #fff,1552px 1262px #fff,695px 472px #fff,1816px 1500px #fff,463px 632px #fff,314px 1335px #fff,571px 1029px #fff,366px 771px #fff,214px 1283px #fff,763px 81px #fff,294px 1445px #fff,238px 788px #fff,1203px 687px #fff,1278px 1892px #fff,1116px 1736px #fff,920px 790px #fff,1098px 374px #fff,628px 622px #fff,747px 1054px #fff,669px 1651px #fff,255px 1825px #fff,824px 733px #fff,714px 158px #fff,1535px 1718px #fff,1px 186px #fff,1811px 654px #fff,253px 167px #fff,1844px 24px #fff,81px 1236px #fff,1862px 225px #fff,234px 396px #fff,803px 719px #fff,1428px 1242px #fff,1763px 1169px #fff,793px 1104px #fff,473px 748px #fff,1253px 1104px #fff,1760px 703px #fff,715px 428px #fff,887px 564px #fff,800px 1531px #fff,76px 1330px #fff,816px 1968px #fff,940px 1413px #fff,936px 871px #fff,1415px 1257px #fff,1595px 1042px #fff,910px 248px #fff,519px 353px #fff,1414px 1334px #fff,1167px 242px #fff,535px 654px #fff,492px 1553px #fff,1340px 868px #fff,874px 110px #fff,1729px 109px #fff,36px 1466px #fff,137px 475px #fff,622px 1917px #fff,977px 525px #fff,1957px 1364px #fff,352px 1327px #fff,746px 1922px #fff}@keyframes animStar{0%{transform:translateY(0)}to{transform:translateY(-2000px)}}@keyframes plasma{0%{background-position:0% 0%}to{background-position:100% 100%}}.atropos{position:relative;display:block;perspective:1200px;transform:translateZ(0)}.atropos-rotate-touch,.atropos-rotate-scroll-x,.atropos-rotate-scroll-y{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.atropos-rotate-touch-scroll-y{touch-action:pan-y}.atropos-rotate-touch-scroll-x{touch-action:pan-x}.atropos-rotate-touch{touch-action:none}.atropos-scale,.atropos-rotate{width:100%;height:100%;transform-style:preserve-3d;transition-property:transform;display:block}.atropos-shadow,.atropos-highlight{position:absolute;pointer-events:none;transition-property:transform,opacity;display:block;opacity:0}.atropos-shadow{z-index:-1;background:#000;left:0;top:0;width:100%;height:100%;filter:blur(30px)}.atropos-highlight{left:-50%;top:-50%;width:200%;height:200%;background-image:radial-gradient(circle at 50%,rgba(255,255,255,.25),transparent 50%);z-index:0}.atropos-rotate{position:relative}.atropos-inner{width:100%;height:100%;position:relative;overflow:hidden;transform-style:preserve-3d;transform:translateZ(0);display:block}.atropos-active{z-index:1}.atropos-active .atropos-shadow{opacity:1!important}[data-atropos-offset],::slotted([data-atropos-offset]){transition-property:transform}[data-atropos-opacity]{transition-property:opacity}[data-atropos-offset][data-atropos-opacity],::slotted([data-atropos-offset][data-atropos-opacity]){transition-property:transform,opacity} diff --git a/dist/assets/index-DTc-Eged.js b/dist/assets/index-B6OMlKuI.js similarity index 55% rename from dist/assets/index-DTc-Eged.js rename to dist/assets/index-B6OMlKuI.js index c1c0c34..fbf246a 100644 --- a/dist/assets/index-DTc-Eged.js +++ b/dist/assets/index-B6OMlKuI.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Bouncer-DGHXKRpG.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/Ranges-CMjHcLDp.js","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Bouncer-CfHgDZ0E.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/Ranges-Bq4zSnBQ.js","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as o}from"./index-CIovSKpD.js";class i{constructor(){this.distance=200}load(n){n&&n.distance!==void 0&&(this.distance=n.distance)}}async function a(t,n=!0){await t.addInteractor("externalBounce",async e=>{const{Bouncer:r}=await o(()=>import("./Bouncer-DGHXKRpG.js"),__vite__mapDeps([0,1,2,3,4]));return new r(e)},n)}export{i as Bounce,a as loadExternalBounceInteraction}; +import{_ as o}from"./index-CgAHdhFx.js";class i{constructor(){this.distance=200}load(n){n&&n.distance!==void 0&&(this.distance=n.distance)}}async function a(t,n=!0){await t.addInteractor("externalBounce",async e=>{const{Bouncer:r}=await o(()=>import("./Bouncer-CfHgDZ0E.js"),__vite__mapDeps([0,1,2,3,4]));return new r(e)},n)}export{i as Bounce,a as loadExternalBounceInteraction}; diff --git a/dist/assets/index-B8hL3UqP.css b/dist/assets/index-B8hL3UqP.css new file mode 100644 index 0000000..a6a4cc5 --- /dev/null +++ b/dist/assets/index-B8hL3UqP.css @@ -0,0 +1 @@ +:root{width:100%;height:100%;font-family:Inter,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@supports (font-variation-settings: normal){:root{font-family:InterVariable,sans-serif}}body{width:100vw;height:100vh;margin:0;overflow-x:hidden}#tsparticles{width:100%;height:100%}*{scrollbar-width:auto;scrollbar-color:#2e3b5d #14213d}*::-webkit-scrollbar{width:10px}*::-webkit-scrollbar-track{background:#14213d}*::-webkit-scrollbar-thumb{background-color:#2e3b5d;border:3px solid #2e3b5d}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper{width:100%;position:relative}.swiper-slide{position:relative;width:20rem;height:25rem;overflow:hidden;border-radius:1.5rem}.swiper-slide img{object-fit:cover;width:20rem;height:25rem}.swiper-slide-shadow-left,.swiper-slide-shadow-right{display:none}#stars{width:1px;height:1px;background:transparent;box-shadow:1144px 728px #fff,682px 735px #fff,765px 1342px #fff,1098px 1189px #fff,878px 1230px #fff,754px 888px #fff,1778px 1646px #fff,126px 1127px #fff,1485px 23px #fff,192px 1415px #fff,488px 1489px #fff,539px 1578px #fff,1720px 1531px #fff,1031px 117px #fff,1885px 1961px #fff,1212px 494px #fff,149px 1298px #fff,186px 1879px #fff,914px 959px #fff,1948px 1384px #fff,188px 1852px #fff,1128px 1746px #fff,1486px 1885px #fff,1608px 1075px #fff,1252px 137px #fff,270px 878px #fff,1802px 1559px #fff,25px 1911px #fff,1381px 293px #fff,785px 357px #fff,1398px 1156px #fff,1656px 338px #fff,1551px 150px #fff,1224px 536px #fff,585px 478px #fff,1252px 1947px #fff,1735px 365px #fff,1671px 1871px #fff,1444px 1815px #fff,1955px 1532px #fff,1927px 168px #fff,1620px 1912px #fff,1402px 1489px #fff,54px 1247px #fff,1143px 1189px #fff,698px 172px #fff,1623px 1503px #fff,485px 1533px #fff,1560px 784px #fff,517px 950px #fff,557px 201px #fff,1959px 1370px #fff,1744px 441px #fff,1678px 1171px #fff,563px 875px #fff,1013px 1615px #fff,1018px 1582px #fff,1451px 20px #fff,1526px 953px #fff,1914px 1044px #fff,1112px 48px #fff,1166px 64px #fff,66px 1938px #fff,1486px 998px #fff,1759px 1964px #fff,1037px 1828px #fff,465px 758px #fff,1212px 176px #fff,707px 157px #fff,1654px 1373px #fff,1809px 334px #fff,245px 1538px #fff,1715px 462px #fff,1154px 1697px #fff,1243px 331px #fff,397px 861px #fff,108px 1501px #fff,874px 133px #fff,1822px 34px #fff,1107px 1417px #fff,143px 1763px #fff,1837px 1358px #fff,318px 1139px #fff,397px 1747px #fff,1010px 772px #fff,92px 321px #fff,1121px 183px #fff,765px 1658px #fff,1139px 52px #fff,1768px 1431px #fff,358px 699px #fff,583px 148px #fff,375px 1002px #fff,1276px 231px #fff,784px 214px #fff,578px 944px #fff,1135px 1543px #fff,334px 651px #fff,1554px 889px #fff,167px 1716px #fff,1961px 688px #fff,986px 1801px #fff,1994px 1859px #fff,1631px 800px #fff,435px 238px #fff,1707px 128px #fff,1018px 612px #fff,964px 1357px #fff,96px 1730px #fff,433px 428px #fff,950px 1456px #fff,494px 885px #fff,916px 1578px #fff,1547px 404px #fff,1806px 1533px #fff,1891px 166px #fff,1761px 986px #fff,1093px 839px #fff,112px 577px #fff,188px 957px #fff,423px 400px #fff,1949px 1424px #fff,1502px 230px #fff,832px 632px #fff,690px 1107px #fff,1054px 1296px #fff,1407px 1882px #fff,1330px 1142px #fff,689px 964px #fff,752px 434px #fff,761px 1222px #fff,1968px 46px #fff,1449px 101px #fff,936px 832px #fff,593px 1074px #fff,1238px 729px #fff,329px 1630px #fff,1609px 1742px #fff,1613px 1335px #fff,1187px 1238px #fff,1827px 1116px #fff,720px 1162px #fff,1795px 1548px #fff,1795px 1768px #fff,600px 1144px #fff,1799px 935px #fff,887px 1814px #fff,1525px 1307px #fff,1252px 134px #fff,314px 68px #fff,1057px 634px #fff,841px 1673px #fff,1677px 923px #fff,724px 1006px #fff,449px 1909px #fff,1561px 733px #fff,787px 460px #fff,952px 1574px #fff,965px 1854px #fff,12px 1819px #fff,1771px 509px #fff,998px 1745px #fff,1158px 1713px #fff,287px 425px #fff,1097px 13px #fff,475px 1837px #fff,1950px 1870px #fff,923px 310px #fff,1883px 1308px #fff,148px 1811px #fff,1974px 878px #fff,371px 720px #fff,201px 1137px #fff,1069px 1619px #fff,573px 874px #fff,1105px 1215px #fff,1143px 750px #fff,1356px 1999px #fff,695px 1271px #fff,560px 1585px #fff,562px 1185px #fff,876px 888px #fff,1124px 11px #fff,1127px 1512px #fff,1615px 361px #fff,1032px 295px #fff,1100px 652px #fff,1768px 747px #fff,1952px 288px #fff,866px 1392px #fff,1517px 1538px #fff,544px 1270px #fff,645px 679px #fff,1499px 662px #fff,1046px 982px #fff,54px 883px #fff,1583px 381px #fff,1076px 944px #fff,65px 1077px #fff,251px 1478px #fff,518px 1936px #fff,72px 1112px #fff,1906px 1663px #fff,996px 442px #fff,1330px 419px #fff,1157px 1529px #fff,1476px 1037px #fff,855px 83px #fff,808px 399px #fff,1952px 1680px #fff,445px 84px #fff,977px 739px #fff,1866px 458px #fff,230px 293px #fff,1414px 555px #fff,292px 989px #fff,1651px 1518px #fff,1362px 1511px #fff,471px 862px #fff,383px 993px #fff,685px 546px #fff,1908px 1431px #fff,1030px 107px #fff,523px 141px #fff,1734px 1409px #fff,824px 991px #fff,747px 1326px #fff,1259px 1334px #fff,805px 760px #fff,308px 1130px #fff,1511px 729px #fff,137px 725px #fff,1551px 893px #fff,1177px 154px #fff,1846px 1661px #fff,484px 1096px #fff,1691px 1521px #fff,1598px 1910px #fff,846px 468px #fff,1739px 1771px #fff,893px 945px #fff,831px 407px #fff,404px 310px #fff,232px 1317px #fff,1236px 1696px #fff,1771px 457px #fff,407px 1169px #fff,74px 1125px #fff,1376px 1865px #fff,44px 836px #fff,1948px 595px #fff,188px 1258px #fff,35px 1501px #fff,629px 1069px #fff,1603px 931px #fff,489px 862px #fff,1181px 1986px #fff,1866px 1444px #fff,1537px 303px #fff,1952px 17px #fff,13px 1240px #fff,1307px 911px #fff,1543px 1135px #fff,1101px 1278px #fff,1212px 1077px #fff,1798px 1155px #fff,1464px 342px #fff,553px 1623px #fff,207px 395px #fff,683px 424px #fff,586px 1770px #fff,1265px 220px #fff,357px 1815px #fff,780px 1184px #fff,877px 1904px #fff,326px 1569px #fff,1819px 1938px #fff,1839px 503px #fff,720px 1231px #fff,640px 1084px #fff,1122px 657px #fff,725px 945px #fff,992px 816px #fff,1935px 851px #fff,1074px 1686px #fff,1160px 1438px #fff,1259px 1905px #fff,1120px 215px #fff,92px 581px #fff,932px 367px #fff,1121px 523px #fff,1273px 1866px #fff,149px 140px #fff,230px 1212px #fff,1265px 1592px #fff,1223px 654px #fff,820px 1316px #fff,1369px 1946px #fff,319px 1164px #fff,1058px 1973px #fff,1756px 41px #fff,740px 2000px #fff,1241px 1914px #fff,248px 171px #fff,1657px 1915px #fff,1662px 260px #fff,1670px 736px #fff,1877px 607px #fff,396px 1058px #fff,240px 599px #fff,769px 1041px #fff,940px 1436px #fff,793px 632px #fff,1350px 430px #fff,1790px 1327px #fff,865px 86px #fff,988px 582px #fff,1777px 1147px #fff,901px 1543px #fff,728px 1994px #fff,83px 1893px #fff,266px 195px #fff,1545px 451px #fff,311px 1659px #fff,1612px 295px #fff,1844px 651px #fff,955px 1670px #fff,1631px 494px #fff,1754px 435px #fff,1271px 488px #fff,1859px 1892px #fff,1631px 820px #fff,1833px 1258px #fff,316px 803px #fff,116px 1875px #fff,1620px 1284px #fff,1767px 1850px #fff,18px 574px #fff,1857px 840px #fff,184px 1498px #fff,1389px 76px #fff,27px 1974px #fff,1795px 463px #fff,619px 1001px #fff,93px 1857px #fff,393px 1722px #fff,350px 396px #fff,1789px 422px #fff,1944px 1609px #fff,24px 861px #fff,1895px 1470px #fff,1478px 1168px #fff,122px 296px #fff,1100px 592px #fff,1561px 508px #fff,572px 1016px #fff,352px 94px #fff,864px 1216px #fff,1036px 948px #fff,1706px 1829px #fff,143px 77px #fff,1031px 1600px #fff,1028px 80px #fff,1300px 1480px #fff,1697px 1952px #fff,1768px 1285px #fff,730px 693px #fff,1759px 919px #fff,917px 1127px #fff,1752px 581px #fff,1614px 1205px #fff,559px 1339px #fff,1622px 255px #fff,1700px 133px #fff,663px 625px #fff,1854px 1606px #fff,254px 581px #fff,1597px 551px #fff,1092px 123px #fff,788px 463px #fff,1308px 531px #fff,670px 569px #fff,487px 1212px #fff,1181px 1323px #fff,1499px 1757px #fff,1632px 543px #fff,441px 1728px #fff,838px 1005px #fff,746px 252px #fff,1000px 329px #fff,613px 1185px #fff,1457px 61px #fff,1849px 1012px #fff,1210px 674px #fff,1138px 400px #fff,1151px 1273px #fff,537px 905px #fff,317px 710px #fff,408px 1697px #fff,1056px 1349px #fff,794px 987px #fff,400px 838px #fff,1667px 492px #fff,942px 1739px #fff,1085px 1870px #fff,1899px 721px #fff,681px 1373px #fff,798px 392px #fff,486px 1259px #fff,460px 687px #fff,959px 1491px #fff,1821px 367px #fff,730px 1532px #fff,1202px 484px #fff,212px 1375px #fff,111px 20px #fff,917px 1009px #fff,990px 813px #fff,470px 426px #fff,1011px 753px #fff,59px 461px #fff,360px 1416px #fff,698px 1073px #fff,1206px 55px #fff,107px 1179px #fff,1062px 1462px #fff,950px 1605px #fff,1348px 1347px #fff,1065px 287px #fff,1425px 1861px #fff,1118px 480px #fff,180px 1031px #fff,1101px 1822px #fff,1514px 1370px #fff,610px 1293px #fff,397px 1510px #fff,1975px 1389px #fff,899px 1150px #fff,1292px 496px #fff,1798px 1882px #fff,1904px 1476px #fff,802px 1795px #fff,1634px 1684px #fff,743px 196px #fff,1161px 963px #fff,481px 821px #fff,1559px 1292px #fff,871px 1822px #fff,782px 560px #fff,1576px 767px #fff,30px 1394px #fff,1817px 863px #fff,1783px 814px #fff,20px 1976px #fff,988px 1586px #fff,1670px 212px #fff,1332px 1203px #fff,311px 614px #fff,1562px 1617px #fff,826px 1293px #fff,283px 154px #fff,1142px 1095px #fff,1188px 67px #fff,8px 625px #fff,1917px 1534px #fff,1800px 677px #fff,620px 1687px #fff,424px 192px #fff,1205px 61px #fff,704px 736px #fff,1966px 1835px #fff,1539px 216px #fff,1372px 750px #fff,1947px 540px #fff,1839px 452px #fff,1762px 695px #fff,124px 588px #fff,865px 1727px #fff,800px 1704px #fff,18px 1066px #fff,1441px 1500px #fff,10px 236px #fff,1899px 594px #fff,1607px 912px #fff,25px 750px #fff,628px 1612px #fff,1902px 663px #fff,1863px 1708px #fff,1608px 1013px #fff,1033px 1418px #fff,1159px 1968px #fff,1462px 338px #fff,896px 123px #fff,1002px 1102px #fff,1140px 180px #fff,1039px 970px #fff,1032px 1561px #fff,1783px 1206px #fff,1993px 800px #fff,909px 1938px #fff,852px 388px #fff,704px 1369px #fff,479px 1639px #fff,172px 638px #fff,590px 804px #fff,771px 1775px #fff,794px 1040px #fff,1972px 1781px #fff,1313px 1733px #fff,499px 1018px #fff,1437px 940px #fff,939px 1735px #fff,895px 1967px #fff,229px 204px #fff,175px 401px #fff,1094px 1186px #fff,1813px 1864px #fff,980px 1516px #fff,1311px 469px #fff,1883px 1344px #fff,449px 1582px #fff,1389px 1060px #fff,1135px 1453px #fff,1060px 1205px #fff,1010px 205px #fff,973px 1888px #fff,1429px 969px #fff,89px 1710px #fff,1033px 1712px #fff,1954px 818px #fff,1497px 473px #fff,161px 371px #fff,349px 1793px #fff,491px 1316px #fff,47px 1290px #fff,1419px 1999px #fff,1248px 1790px #fff,1269px 1237px #fff,1398px 1005px #fff,925px 926px #fff,1143px 1962px #fff,1054px 361px #fff,1752px 274px #fff,1825px 1855px #fff,573px 191px #fff,278px 657px #fff,135px 516px #fff,633px 1269px #fff,794px 384px #fff,404px 977px #fff,1715px 754px #fff,266px 660px #fff,930px 1328px #fff,711px 1828px #fff,97px 1218px #fff,133px 127px #fff,726px 1931px #fff,426px 447px #fff,1284px 1312px #fff,871px 618px #fff,55px 1785px #fff,1500px 1256px #fff,648px 258px #fff,1079px 156px #fff,1523px 857px #fff,468px 1339px #fff,1387px 1034px #fff,470px 431px #fff,1390px 1700px #fff,1699px 748px #fff,1102px 74px #fff,247px 950px #fff,249px 1010px #fff,832px 135px #fff,139px 1120px #fff,789px 300px #fff,304px 1905px #fff,1509px 1808px #fff,657px 1940px #fff,1864px 322px #fff,1948px 531px #fff,624px 1164px #fff,1565px 1673px #fff,742px 1655px #fff,933px 674px #fff,991px 1596px #fff,1886px 654px #fff,1657px 1656px #fff,458px 928px #fff,1196px 1253px #fff,1697px 197px #fff,571px 1512px #fff,1891px 1658px #fff,105px 1808px #fff,1951px 27px #fff,1234px 1326px #fff,1141px 242px #fff,102px 886px #fff,1227px 770px #fff,1580px 392px #fff,1345px 709px #fff,1325px 555px #fff,562px 898px #fff,1270px 479px #fff,1839px 884px #fff,1908px 14px #fff,1357px 595px #fff,212px 297px #fff,647px 506px #fff,1160px 1901px #fff,1027px 1171px #fff,1429px 1578px #fff,9px 618px #fff,121px 1954px #fff,1692px 164px #fff,1083px 1457px #fff,1035px 742px #fff,1163px 1566px #fff,1144px 1385px #fff,1211px 911px #fff,1653px 813px #fff,1090px 1570px #fff,290px 1271px #fff,746px 1329px #fff,453px 1447px #fff,1497px 1874px #fff,1493px 1116px #fff,845px 1742px #fff,1165px 1999px #fff,576px 563px #fff,51px 404px #fff,993px 770px #fff,1997px 674px #fff,1355px 1487px #fff,1642px 146px #fff,1160px 1718px #fff,947px 235px #fff,874px 1198px #fff,1280px 1465px #fff,373px 654px #fff,1734px 608px #fff,1699px 40px #fff,122px 1568px #fff,181px 1966px #fff,9px 194px #fff,59px 707px #fff,871px 726px #fff,220px 11px #fff,1626px 1002px #fff,877px 1749px #fff,330px 300px #fff,1515px 308px #fff,876px 1509px #fff,1016px 960px #fff,113px 267px #fff,747px 1859px #fff,234px 906px #fff,1687px 1601px #fff,773px 844px #fff,1812px 1479px #fff,688px 1103px #fff,1305px 71px #fff,1276px 493px #fff,843px 1434px #fff,6px 1435px #fff,1848px 508px #fff,1101px 240px #fff,1974px 1952px #fff,1072px 406px #fff,697px 1196px #fff,988px 256px #fff,501px 582px #fff,460px 1825px #fff,1912px 1029px #fff,1829px 1728px #fff,405px 190px #fff,1930px 1454px #fff,1524px 1997px #fff,721px 1573px #fff,1715px 1977px #fff,1003px 452px #fff,1200px 1844px #fff,1532px 986px #fff,1631px 1912px #fff,1521px 1236px #fff,1862px 1939px #fff,490px 259px #fff,991px 929px #fff,1770px 96px #fff,599px 1502px #fff,1269px 1762px #fff,1745px 1873px #fff,1462px 1727px #fff,1271px 532px #fff,1544px 1172px #fff,142px 1744px #fff,521px 941px #fff,596px 879px #fff,985px 427px #fff,1691px 1653px #fff;animation:animStar 50s linear infinite}#stars:after{content:" ";position:absolute;top:2000px;width:1px;height:1px;background:transparent;box-shadow:1144px 728px #fff,682px 735px #fff,765px 1342px #fff,1098px 1189px #fff,878px 1230px #fff,754px 888px #fff,1778px 1646px #fff,126px 1127px #fff,1485px 23px #fff,192px 1415px #fff,488px 1489px #fff,539px 1578px #fff,1720px 1531px #fff,1031px 117px #fff,1885px 1961px #fff,1212px 494px #fff,149px 1298px #fff,186px 1879px #fff,914px 959px #fff,1948px 1384px #fff,188px 1852px #fff,1128px 1746px #fff,1486px 1885px #fff,1608px 1075px #fff,1252px 137px #fff,270px 878px #fff,1802px 1559px #fff,25px 1911px #fff,1381px 293px #fff,785px 357px #fff,1398px 1156px #fff,1656px 338px #fff,1551px 150px #fff,1224px 536px #fff,585px 478px #fff,1252px 1947px #fff,1735px 365px #fff,1671px 1871px #fff,1444px 1815px #fff,1955px 1532px #fff,1927px 168px #fff,1620px 1912px #fff,1402px 1489px #fff,54px 1247px #fff,1143px 1189px #fff,698px 172px #fff,1623px 1503px #fff,485px 1533px #fff,1560px 784px #fff,517px 950px #fff,557px 201px #fff,1959px 1370px #fff,1744px 441px #fff,1678px 1171px #fff,563px 875px #fff,1013px 1615px #fff,1018px 1582px #fff,1451px 20px #fff,1526px 953px #fff,1914px 1044px #fff,1112px 48px #fff,1166px 64px #fff,66px 1938px #fff,1486px 998px #fff,1759px 1964px #fff,1037px 1828px #fff,465px 758px #fff,1212px 176px #fff,707px 157px #fff,1654px 1373px #fff,1809px 334px #fff,245px 1538px #fff,1715px 462px #fff,1154px 1697px #fff,1243px 331px #fff,397px 861px #fff,108px 1501px #fff,874px 133px #fff,1822px 34px #fff,1107px 1417px #fff,143px 1763px #fff,1837px 1358px #fff,318px 1139px #fff,397px 1747px #fff,1010px 772px #fff,92px 321px #fff,1121px 183px #fff,765px 1658px #fff,1139px 52px #fff,1768px 1431px #fff,358px 699px #fff,583px 148px #fff,375px 1002px #fff,1276px 231px #fff,784px 214px #fff,578px 944px #fff,1135px 1543px #fff,334px 651px #fff,1554px 889px #fff,167px 1716px #fff,1961px 688px #fff,986px 1801px #fff,1994px 1859px #fff,1631px 800px #fff,435px 238px #fff,1707px 128px #fff,1018px 612px #fff,964px 1357px #fff,96px 1730px #fff,433px 428px #fff,950px 1456px #fff,494px 885px #fff,916px 1578px #fff,1547px 404px #fff,1806px 1533px #fff,1891px 166px #fff,1761px 986px #fff,1093px 839px #fff,112px 577px #fff,188px 957px #fff,423px 400px #fff,1949px 1424px #fff,1502px 230px #fff,832px 632px #fff,690px 1107px #fff,1054px 1296px #fff,1407px 1882px #fff,1330px 1142px #fff,689px 964px #fff,752px 434px #fff,761px 1222px #fff,1968px 46px #fff,1449px 101px #fff,936px 832px #fff,593px 1074px #fff,1238px 729px #fff,329px 1630px #fff,1609px 1742px #fff,1613px 1335px #fff,1187px 1238px #fff,1827px 1116px #fff,720px 1162px #fff,1795px 1548px #fff,1795px 1768px #fff,600px 1144px #fff,1799px 935px #fff,887px 1814px #fff,1525px 1307px #fff,1252px 134px #fff,314px 68px #fff,1057px 634px #fff,841px 1673px #fff,1677px 923px #fff,724px 1006px #fff,449px 1909px #fff,1561px 733px #fff,787px 460px #fff,952px 1574px #fff,965px 1854px #fff,12px 1819px #fff,1771px 509px #fff,998px 1745px #fff,1158px 1713px #fff,287px 425px #fff,1097px 13px #fff,475px 1837px #fff,1950px 1870px #fff,923px 310px #fff,1883px 1308px #fff,148px 1811px #fff,1974px 878px #fff,371px 720px #fff,201px 1137px #fff,1069px 1619px #fff,573px 874px #fff,1105px 1215px #fff,1143px 750px #fff,1356px 1999px #fff,695px 1271px #fff,560px 1585px #fff,562px 1185px #fff,876px 888px #fff,1124px 11px #fff,1127px 1512px #fff,1615px 361px #fff,1032px 295px #fff,1100px 652px #fff,1768px 747px #fff,1952px 288px #fff,866px 1392px #fff,1517px 1538px #fff,544px 1270px #fff,645px 679px #fff,1499px 662px #fff,1046px 982px #fff,54px 883px #fff,1583px 381px #fff,1076px 944px #fff,65px 1077px #fff,251px 1478px #fff,518px 1936px #fff,72px 1112px #fff,1906px 1663px #fff,996px 442px #fff,1330px 419px #fff,1157px 1529px #fff,1476px 1037px #fff,855px 83px #fff,808px 399px #fff,1952px 1680px #fff,445px 84px #fff,977px 739px #fff,1866px 458px #fff,230px 293px #fff,1414px 555px #fff,292px 989px #fff,1651px 1518px #fff,1362px 1511px #fff,471px 862px #fff,383px 993px #fff,685px 546px #fff,1908px 1431px #fff,1030px 107px #fff,523px 141px #fff,1734px 1409px #fff,824px 991px #fff,747px 1326px #fff,1259px 1334px #fff,805px 760px #fff,308px 1130px #fff,1511px 729px #fff,137px 725px #fff,1551px 893px #fff,1177px 154px #fff,1846px 1661px #fff,484px 1096px #fff,1691px 1521px #fff,1598px 1910px #fff,846px 468px #fff,1739px 1771px #fff,893px 945px #fff,831px 407px #fff,404px 310px #fff,232px 1317px #fff,1236px 1696px #fff,1771px 457px #fff,407px 1169px #fff,74px 1125px #fff,1376px 1865px #fff,44px 836px #fff,1948px 595px #fff,188px 1258px #fff,35px 1501px #fff,629px 1069px #fff,1603px 931px #fff,489px 862px #fff,1181px 1986px #fff,1866px 1444px #fff,1537px 303px #fff,1952px 17px #fff,13px 1240px #fff,1307px 911px #fff,1543px 1135px #fff,1101px 1278px #fff,1212px 1077px #fff,1798px 1155px #fff,1464px 342px #fff,553px 1623px #fff,207px 395px #fff,683px 424px #fff,586px 1770px #fff,1265px 220px #fff,357px 1815px #fff,780px 1184px #fff,877px 1904px #fff,326px 1569px #fff,1819px 1938px #fff,1839px 503px #fff,720px 1231px #fff,640px 1084px #fff,1122px 657px #fff,725px 945px #fff,992px 816px #fff,1935px 851px #fff,1074px 1686px #fff,1160px 1438px #fff,1259px 1905px #fff,1120px 215px #fff,92px 581px #fff,932px 367px #fff,1121px 523px #fff,1273px 1866px #fff,149px 140px #fff,230px 1212px #fff,1265px 1592px #fff,1223px 654px #fff,820px 1316px #fff,1369px 1946px #fff,319px 1164px #fff,1058px 1973px #fff,1756px 41px #fff,740px 2000px #fff,1241px 1914px #fff,248px 171px #fff,1657px 1915px #fff,1662px 260px #fff,1670px 736px #fff,1877px 607px #fff,396px 1058px #fff,240px 599px #fff,769px 1041px #fff,940px 1436px #fff,793px 632px #fff,1350px 430px #fff,1790px 1327px #fff,865px 86px #fff,988px 582px #fff,1777px 1147px #fff,901px 1543px #fff,728px 1994px #fff,83px 1893px #fff,266px 195px #fff,1545px 451px #fff,311px 1659px #fff,1612px 295px #fff,1844px 651px #fff,955px 1670px #fff,1631px 494px #fff,1754px 435px #fff,1271px 488px #fff,1859px 1892px #fff,1631px 820px #fff,1833px 1258px #fff,316px 803px #fff,116px 1875px #fff,1620px 1284px #fff,1767px 1850px #fff,18px 574px #fff,1857px 840px #fff,184px 1498px #fff,1389px 76px #fff,27px 1974px #fff,1795px 463px #fff,619px 1001px #fff,93px 1857px #fff,393px 1722px #fff,350px 396px #fff,1789px 422px #fff,1944px 1609px #fff,24px 861px #fff,1895px 1470px #fff,1478px 1168px #fff,122px 296px #fff,1100px 592px #fff,1561px 508px #fff,572px 1016px #fff,352px 94px #fff,864px 1216px #fff,1036px 948px #fff,1706px 1829px #fff,143px 77px #fff,1031px 1600px #fff,1028px 80px #fff,1300px 1480px #fff,1697px 1952px #fff,1768px 1285px #fff,730px 693px #fff,1759px 919px #fff,917px 1127px #fff,1752px 581px #fff,1614px 1205px #fff,559px 1339px #fff,1622px 255px #fff,1700px 133px #fff,663px 625px #fff,1854px 1606px #fff,254px 581px #fff,1597px 551px #fff,1092px 123px #fff,788px 463px #fff,1308px 531px #fff,670px 569px #fff,487px 1212px #fff,1181px 1323px #fff,1499px 1757px #fff,1632px 543px #fff,441px 1728px #fff,838px 1005px #fff,746px 252px #fff,1000px 329px #fff,613px 1185px #fff,1457px 61px #fff,1849px 1012px #fff,1210px 674px #fff,1138px 400px #fff,1151px 1273px #fff,537px 905px #fff,317px 710px #fff,408px 1697px #fff,1056px 1349px #fff,794px 987px #fff,400px 838px #fff,1667px 492px #fff,942px 1739px #fff,1085px 1870px #fff,1899px 721px #fff,681px 1373px #fff,798px 392px #fff,486px 1259px #fff,460px 687px #fff,959px 1491px #fff,1821px 367px #fff,730px 1532px #fff,1202px 484px #fff,212px 1375px #fff,111px 20px #fff,917px 1009px #fff,990px 813px #fff,470px 426px #fff,1011px 753px #fff,59px 461px #fff,360px 1416px #fff,698px 1073px #fff,1206px 55px #fff,107px 1179px #fff,1062px 1462px #fff,950px 1605px #fff,1348px 1347px #fff,1065px 287px #fff,1425px 1861px #fff,1118px 480px #fff,180px 1031px #fff,1101px 1822px #fff,1514px 1370px #fff,610px 1293px #fff,397px 1510px #fff,1975px 1389px #fff,899px 1150px #fff,1292px 496px #fff,1798px 1882px #fff,1904px 1476px #fff,802px 1795px #fff,1634px 1684px #fff,743px 196px #fff,1161px 963px #fff,481px 821px #fff,1559px 1292px #fff,871px 1822px #fff,782px 560px #fff,1576px 767px #fff,30px 1394px #fff,1817px 863px #fff,1783px 814px #fff,20px 1976px #fff,988px 1586px #fff,1670px 212px #fff,1332px 1203px #fff,311px 614px #fff,1562px 1617px #fff,826px 1293px #fff,283px 154px #fff,1142px 1095px #fff,1188px 67px #fff,8px 625px #fff,1917px 1534px #fff,1800px 677px #fff,620px 1687px #fff,424px 192px #fff,1205px 61px #fff,704px 736px #fff,1966px 1835px #fff,1539px 216px #fff,1372px 750px #fff,1947px 540px #fff,1839px 452px #fff,1762px 695px #fff,124px 588px #fff,865px 1727px #fff,800px 1704px #fff,18px 1066px #fff,1441px 1500px #fff,10px 236px #fff,1899px 594px #fff,1607px 912px #fff,25px 750px #fff,628px 1612px #fff,1902px 663px #fff,1863px 1708px #fff,1608px 1013px #fff,1033px 1418px #fff,1159px 1968px #fff,1462px 338px #fff,896px 123px #fff,1002px 1102px #fff,1140px 180px #fff,1039px 970px #fff,1032px 1561px #fff,1783px 1206px #fff,1993px 800px #fff,909px 1938px #fff,852px 388px #fff,704px 1369px #fff,479px 1639px #fff,172px 638px #fff,590px 804px #fff,771px 1775px #fff,794px 1040px #fff,1972px 1781px #fff,1313px 1733px #fff,499px 1018px #fff,1437px 940px #fff,939px 1735px #fff,895px 1967px #fff,229px 204px #fff,175px 401px #fff,1094px 1186px #fff,1813px 1864px #fff,980px 1516px #fff,1311px 469px #fff,1883px 1344px #fff,449px 1582px #fff,1389px 1060px #fff,1135px 1453px #fff,1060px 1205px #fff,1010px 205px #fff,973px 1888px #fff,1429px 969px #fff,89px 1710px #fff,1033px 1712px #fff,1954px 818px #fff,1497px 473px #fff,161px 371px #fff,349px 1793px #fff,491px 1316px #fff,47px 1290px #fff,1419px 1999px #fff,1248px 1790px #fff,1269px 1237px #fff,1398px 1005px #fff,925px 926px #fff,1143px 1962px #fff,1054px 361px #fff,1752px 274px #fff,1825px 1855px #fff,573px 191px #fff,278px 657px #fff,135px 516px #fff,633px 1269px #fff,794px 384px #fff,404px 977px #fff,1715px 754px #fff,266px 660px #fff,930px 1328px #fff,711px 1828px #fff,97px 1218px #fff,133px 127px #fff,726px 1931px #fff,426px 447px #fff,1284px 1312px #fff,871px 618px #fff,55px 1785px #fff,1500px 1256px #fff,648px 258px #fff,1079px 156px #fff,1523px 857px #fff,468px 1339px #fff,1387px 1034px #fff,470px 431px #fff,1390px 1700px #fff,1699px 748px #fff,1102px 74px #fff,247px 950px #fff,249px 1010px #fff,832px 135px #fff,139px 1120px #fff,789px 300px #fff,304px 1905px #fff,1509px 1808px #fff,657px 1940px #fff,1864px 322px #fff,1948px 531px #fff,624px 1164px #fff,1565px 1673px #fff,742px 1655px #fff,933px 674px #fff,991px 1596px #fff,1886px 654px #fff,1657px 1656px #fff,458px 928px #fff,1196px 1253px #fff,1697px 197px #fff,571px 1512px #fff,1891px 1658px #fff,105px 1808px #fff,1951px 27px #fff,1234px 1326px #fff,1141px 242px #fff,102px 886px #fff,1227px 770px #fff,1580px 392px #fff,1345px 709px #fff,1325px 555px #fff,562px 898px #fff,1270px 479px #fff,1839px 884px #fff,1908px 14px #fff,1357px 595px #fff,212px 297px #fff,647px 506px #fff,1160px 1901px #fff,1027px 1171px #fff,1429px 1578px #fff,9px 618px #fff,121px 1954px #fff,1692px 164px #fff,1083px 1457px #fff,1035px 742px #fff,1163px 1566px #fff,1144px 1385px #fff,1211px 911px #fff,1653px 813px #fff,1090px 1570px #fff,290px 1271px #fff,746px 1329px #fff,453px 1447px #fff,1497px 1874px #fff,1493px 1116px #fff,845px 1742px #fff,1165px 1999px #fff,576px 563px #fff,51px 404px #fff,993px 770px #fff,1997px 674px #fff,1355px 1487px #fff,1642px 146px #fff,1160px 1718px #fff,947px 235px #fff,874px 1198px #fff,1280px 1465px #fff,373px 654px #fff,1734px 608px #fff,1699px 40px #fff,122px 1568px #fff,181px 1966px #fff,9px 194px #fff,59px 707px #fff,871px 726px #fff,220px 11px #fff,1626px 1002px #fff,877px 1749px #fff,330px 300px #fff,1515px 308px #fff,876px 1509px #fff,1016px 960px #fff,113px 267px #fff,747px 1859px #fff,234px 906px #fff,1687px 1601px #fff,773px 844px #fff,1812px 1479px #fff,688px 1103px #fff,1305px 71px #fff,1276px 493px #fff,843px 1434px #fff,6px 1435px #fff,1848px 508px #fff,1101px 240px #fff,1974px 1952px #fff,1072px 406px #fff,697px 1196px #fff,988px 256px #fff,501px 582px #fff,460px 1825px #fff,1912px 1029px #fff,1829px 1728px #fff,405px 190px #fff,1930px 1454px #fff,1524px 1997px #fff,721px 1573px #fff,1715px 1977px #fff,1003px 452px #fff,1200px 1844px #fff,1532px 986px #fff,1631px 1912px #fff,1521px 1236px #fff,1862px 1939px #fff,490px 259px #fff,991px 929px #fff,1770px 96px #fff,599px 1502px #fff,1269px 1762px #fff,1745px 1873px #fff,1462px 1727px #fff,1271px 532px #fff,1544px 1172px #fff,142px 1744px #fff,521px 941px #fff,596px 879px #fff,985px 427px #fff,1691px 1653px #fff}#stars2{width:2px;height:2px;background:transparent;box-shadow:1840px 921px #fff,782px 1464px #fff,915px 948px #fff,205px 1621px #fff,494px 1474px #fff,884px 432px #fff,754px 1413px #fff,1295px 1139px #fff,731px 1000px #fff,110px 165px #fff,1909px 1819px #fff,664px 1644px #fff,934px 1356px #fff,1285px 1092px #fff,1644px 1772px #fff,1720px 2px #fff,959px 1515px #fff,1559px 1293px #fff,1983px 1591px #fff,1739px 1373px #fff,1397px 1801px #fff,167px 506px #fff,1580px 860px #fff,1963px 1478px #fff,403px 860px #fff,1126px 451px #fff,886px 237px #fff,1233px 729px #fff,1724px 843px #fff,1695px 1257px #fff,1353px 322px #fff,715px 484px #fff,589px 952px #fff,1099px 1406px #fff,1766px 914px #fff,393px 106px #fff,509px 1044px #fff,1550px 1583px #fff,559px 185px #fff,1976px 274px #fff,148px 1832px #fff,1157px 403px #fff,45px 1276px #fff,340px 1037px #fff,1349px 854px #fff,1183px 44px #fff,1238px 34px #fff,1397px 1014px #fff,427px 847px #fff,1300px 705px #fff,1320px 605px #fff,295px 39px #fff,732px 1926px #fff,767px 1117px #fff,1047px 1642px #fff,860px 658px #fff,174px 1905px #fff,1287px 1413px #fff,894px 1692px #fff,105px 1072px #fff,610px 938px #fff,156px 509px #fff,1160px 1231px #fff,1561px 1342px #fff,1217px 1246px #fff,1878px 114px #fff,1992px 1771px #fff,227px 499px #fff,648px 502px #fff,1691px 1690px #fff,1299px 935px #fff,1143px 1155px #fff,1499px 972px #fff,531px 1008px #fff,611px 741px #fff,1358px 986px #fff,933px 1494px #fff,1135px 744px #fff,1546px 1936px #fff,974px 290px #fff,1319px 1210px #fff,791px 735px #fff,198px 73px #fff,330px 1378px #fff,81px 637px #fff,347px 758px #fff,1059px 1818px #fff,1731px 1363px #fff,1305px 45px #fff,1693px 226px #fff,141px 1576px #fff,1119px 1694px #fff,1872px 384px #fff,364px 1057px #fff,1267px 485px #fff,1587px 1641px #fff,1817px 1487px #fff,871px 613px #fff,801px 1945px #fff,1306px 1551px #fff,1413px 72px #fff,414px 1792px #fff,211px 260px #fff,1481px 1903px #fff,117px 18px #fff,499px 543px #fff,1952px 638px #fff,828px 202px #fff,1923px 796px #fff,308px 1151px #fff,1430px 611px #fff,135px 1591px #fff,268px 1131px #fff,1729px 1736px #fff,353px 82px #fff,307px 576px #fff,943px 1105px #fff,1388px 1408px #fff,51px 77px #fff,206px 1469px #fff,1575px 307px #fff,1166px 1445px #fff,819px 1288px #fff,908px 850px #fff,1840px 1467px #fff,176px 366px #fff,448px 1817px #fff,1729px 279px #fff,189px 1446px #fff,1407px 1899px #fff,950px 789px #fff,1618px 1294px #fff,227px 353px #fff,1481px 1774px #fff,955px 649px #fff,1792px 1445px #fff,1667px 794px #fff,1468px 1834px #fff,1407px 1645px #fff,762px 1683px #fff,785px 1314px #fff,1231px 468px #fff,1125px 1751px #fff,1503px 1046px #fff,390px 1813px #fff,1509px 1619px #fff,657px 76px #fff,1731px 1530px #fff,1542px 1692px #fff,1109px 217px #fff,1548px 900px #fff,1716px 531px #fff,1533px 839px #fff,1196px 42px #fff,1553px 738px #fff,936px 526px #fff,766px 356px #fff,873px 1371px #fff,439px 341px #fff,1061px 607px #fff,1635px 548px #fff,1138px 1993px #fff,1388px 1231px #fff,186px 785px #fff,1063px 360px #fff,1068px 501px #fff,1561px 903px #fff,1403px 517px #fff,1775px 1636px #fff,388px 67px #fff,1568px 1149px #fff,116px 837px #fff,1426px 27px #fff,436px 537px #fff,872px 1121px #fff,73px 937px #fff,690px 302px #fff,981px 188px #fff,1638px 1256px #fff,168px 1940px #fff,1702px 55px #fff,1911px 1877px #fff,1349px 1203px #fff,1648px 1902px #fff,611px 1033px #fff,1206px 1212px #fff,583px 1070px #fff,629px 501px #fff,1150px 579px #fff,629px 1929px #fff,941px 225px #fff,72px 446px #fff,1964px 69px #fff,1498px 863px #fff,1912px 331px #fff,594px 1870px #fff,1538px 1284px #fff,1744px 1288px #fff,1850px 1172px #fff,1688px 327px #fff;animation:animStar 100s linear infinite}#stars2:after{content:" ";position:absolute;top:2000px;width:2px;height:2px;background:transparent;box-shadow:1840px 921px #fff,782px 1464px #fff,915px 948px #fff,205px 1621px #fff,494px 1474px #fff,884px 432px #fff,754px 1413px #fff,1295px 1139px #fff,731px 1000px #fff,110px 165px #fff,1909px 1819px #fff,664px 1644px #fff,934px 1356px #fff,1285px 1092px #fff,1644px 1772px #fff,1720px 2px #fff,959px 1515px #fff,1559px 1293px #fff,1983px 1591px #fff,1739px 1373px #fff,1397px 1801px #fff,167px 506px #fff,1580px 860px #fff,1963px 1478px #fff,403px 860px #fff,1126px 451px #fff,886px 237px #fff,1233px 729px #fff,1724px 843px #fff,1695px 1257px #fff,1353px 322px #fff,715px 484px #fff,589px 952px #fff,1099px 1406px #fff,1766px 914px #fff,393px 106px #fff,509px 1044px #fff,1550px 1583px #fff,559px 185px #fff,1976px 274px #fff,148px 1832px #fff,1157px 403px #fff,45px 1276px #fff,340px 1037px #fff,1349px 854px #fff,1183px 44px #fff,1238px 34px #fff,1397px 1014px #fff,427px 847px #fff,1300px 705px #fff,1320px 605px #fff,295px 39px #fff,732px 1926px #fff,767px 1117px #fff,1047px 1642px #fff,860px 658px #fff,174px 1905px #fff,1287px 1413px #fff,894px 1692px #fff,105px 1072px #fff,610px 938px #fff,156px 509px #fff,1160px 1231px #fff,1561px 1342px #fff,1217px 1246px #fff,1878px 114px #fff,1992px 1771px #fff,227px 499px #fff,648px 502px #fff,1691px 1690px #fff,1299px 935px #fff,1143px 1155px #fff,1499px 972px #fff,531px 1008px #fff,611px 741px #fff,1358px 986px #fff,933px 1494px #fff,1135px 744px #fff,1546px 1936px #fff,974px 290px #fff,1319px 1210px #fff,791px 735px #fff,198px 73px #fff,330px 1378px #fff,81px 637px #fff,347px 758px #fff,1059px 1818px #fff,1731px 1363px #fff,1305px 45px #fff,1693px 226px #fff,141px 1576px #fff,1119px 1694px #fff,1872px 384px #fff,364px 1057px #fff,1267px 485px #fff,1587px 1641px #fff,1817px 1487px #fff,871px 613px #fff,801px 1945px #fff,1306px 1551px #fff,1413px 72px #fff,414px 1792px #fff,211px 260px #fff,1481px 1903px #fff,117px 18px #fff,499px 543px #fff,1952px 638px #fff,828px 202px #fff,1923px 796px #fff,308px 1151px #fff,1430px 611px #fff,135px 1591px #fff,268px 1131px #fff,1729px 1736px #fff,353px 82px #fff,307px 576px #fff,943px 1105px #fff,1388px 1408px #fff,51px 77px #fff,206px 1469px #fff,1575px 307px #fff,1166px 1445px #fff,819px 1288px #fff,908px 850px #fff,1840px 1467px #fff,176px 366px #fff,448px 1817px #fff,1729px 279px #fff,189px 1446px #fff,1407px 1899px #fff,950px 789px #fff,1618px 1294px #fff,227px 353px #fff,1481px 1774px #fff,955px 649px #fff,1792px 1445px #fff,1667px 794px #fff,1468px 1834px #fff,1407px 1645px #fff,762px 1683px #fff,785px 1314px #fff,1231px 468px #fff,1125px 1751px #fff,1503px 1046px #fff,390px 1813px #fff,1509px 1619px #fff,657px 76px #fff,1731px 1530px #fff,1542px 1692px #fff,1109px 217px #fff,1548px 900px #fff,1716px 531px #fff,1533px 839px #fff,1196px 42px #fff,1553px 738px #fff,936px 526px #fff,766px 356px #fff,873px 1371px #fff,439px 341px #fff,1061px 607px #fff,1635px 548px #fff,1138px 1993px #fff,1388px 1231px #fff,186px 785px #fff,1063px 360px #fff,1068px 501px #fff,1561px 903px #fff,1403px 517px #fff,1775px 1636px #fff,388px 67px #fff,1568px 1149px #fff,116px 837px #fff,1426px 27px #fff,436px 537px #fff,872px 1121px #fff,73px 937px #fff,690px 302px #fff,981px 188px #fff,1638px 1256px #fff,168px 1940px #fff,1702px 55px #fff,1911px 1877px #fff,1349px 1203px #fff,1648px 1902px #fff,611px 1033px #fff,1206px 1212px #fff,583px 1070px #fff,629px 501px #fff,1150px 579px #fff,629px 1929px #fff,941px 225px #fff,72px 446px #fff,1964px 69px #fff,1498px 863px #fff,1912px 331px #fff,594px 1870px #fff,1538px 1284px #fff,1744px 1288px #fff,1850px 1172px #fff,1688px 327px #fff}#stars3{width:3px;height:3px;background:transparent;box-shadow:1360px 1075px #fff,1012px 365px #fff,1613px 679px #fff,1254px 492px #fff,1569px 612px #fff,1344px 1408px #fff,292px 1890px #fff,883px 1678px #fff,1589px 1585px #fff,282px 822px #fff,765px 453px #fff,1475px 1887px #fff,1779px 824px #fff,833px 425px #fff,1308px 1311px #fff,1167px 816px #fff,813px 68px #fff,42px 559px #fff,248px 487px #fff,547px 1033px #fff,1672px 1578px #fff,1824px 1714px #fff,1140px 63px #fff,884px 441px #fff,427px 843px #fff,184px 657px #fff,1796px 1296px #fff,37px 242px #fff,836px 1324px #fff,555px 1410px #fff,1759px 230px #fff,1680px 1130px #fff,319px 443px #fff,1636px 444px #fff,612px 1327px #fff,652px 1229px #fff,1623px 1181px #fff,862px 1749px #fff,1552px 1262px #fff,695px 472px #fff,1816px 1500px #fff,463px 632px #fff,314px 1335px #fff,571px 1029px #fff,366px 771px #fff,214px 1283px #fff,763px 81px #fff,294px 1445px #fff,238px 788px #fff,1203px 687px #fff,1278px 1892px #fff,1116px 1736px #fff,920px 790px #fff,1098px 374px #fff,628px 622px #fff,747px 1054px #fff,669px 1651px #fff,255px 1825px #fff,824px 733px #fff,714px 158px #fff,1535px 1718px #fff,1px 186px #fff,1811px 654px #fff,253px 167px #fff,1844px 24px #fff,81px 1236px #fff,1862px 225px #fff,234px 396px #fff,803px 719px #fff,1428px 1242px #fff,1763px 1169px #fff,793px 1104px #fff,473px 748px #fff,1253px 1104px #fff,1760px 703px #fff,715px 428px #fff,887px 564px #fff,800px 1531px #fff,76px 1330px #fff,816px 1968px #fff,940px 1413px #fff,936px 871px #fff,1415px 1257px #fff,1595px 1042px #fff,910px 248px #fff,519px 353px #fff,1414px 1334px #fff,1167px 242px #fff,535px 654px #fff,492px 1553px #fff,1340px 868px #fff,874px 110px #fff,1729px 109px #fff,36px 1466px #fff,137px 475px #fff,622px 1917px #fff,977px 525px #fff,1957px 1364px #fff,352px 1327px #fff,746px 1922px #fff;animation:animStar 150s linear infinite}#stars3:after{content:" ";position:absolute;top:2000px;width:3px;height:3px;background:transparent;box-shadow:1360px 1075px #fff,1012px 365px #fff,1613px 679px #fff,1254px 492px #fff,1569px 612px #fff,1344px 1408px #fff,292px 1890px #fff,883px 1678px #fff,1589px 1585px #fff,282px 822px #fff,765px 453px #fff,1475px 1887px #fff,1779px 824px #fff,833px 425px #fff,1308px 1311px #fff,1167px 816px #fff,813px 68px #fff,42px 559px #fff,248px 487px #fff,547px 1033px #fff,1672px 1578px #fff,1824px 1714px #fff,1140px 63px #fff,884px 441px #fff,427px 843px #fff,184px 657px #fff,1796px 1296px #fff,37px 242px #fff,836px 1324px #fff,555px 1410px #fff,1759px 230px #fff,1680px 1130px #fff,319px 443px #fff,1636px 444px #fff,612px 1327px #fff,652px 1229px #fff,1623px 1181px #fff,862px 1749px #fff,1552px 1262px #fff,695px 472px #fff,1816px 1500px #fff,463px 632px #fff,314px 1335px #fff,571px 1029px #fff,366px 771px #fff,214px 1283px #fff,763px 81px #fff,294px 1445px #fff,238px 788px #fff,1203px 687px #fff,1278px 1892px #fff,1116px 1736px #fff,920px 790px #fff,1098px 374px #fff,628px 622px #fff,747px 1054px #fff,669px 1651px #fff,255px 1825px #fff,824px 733px #fff,714px 158px #fff,1535px 1718px #fff,1px 186px #fff,1811px 654px #fff,253px 167px #fff,1844px 24px #fff,81px 1236px #fff,1862px 225px #fff,234px 396px #fff,803px 719px #fff,1428px 1242px #fff,1763px 1169px #fff,793px 1104px #fff,473px 748px #fff,1253px 1104px #fff,1760px 703px #fff,715px 428px #fff,887px 564px #fff,800px 1531px #fff,76px 1330px #fff,816px 1968px #fff,940px 1413px #fff,936px 871px #fff,1415px 1257px #fff,1595px 1042px #fff,910px 248px #fff,519px 353px #fff,1414px 1334px #fff,1167px 242px #fff,535px 654px #fff,492px 1553px #fff,1340px 868px #fff,874px 110px #fff,1729px 109px #fff,36px 1466px #fff,137px 475px #fff,622px 1917px #fff,977px 525px #fff,1957px 1364px #fff,352px 1327px #fff,746px 1922px #fff}@keyframes animStar{0%{transform:translateY(0)}to{transform:translateY(-2000px)}}@keyframes plasma{0%{background-position:0% 0%}to{background-position:100% 100%}}.atropos{position:relative;display:block;perspective:1200px;transform:translateZ(0)}.atropos-rotate-touch,.atropos-rotate-scroll-x,.atropos-rotate-scroll-y{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.atropos-rotate-touch-scroll-y{touch-action:pan-y}.atropos-rotate-touch-scroll-x{touch-action:pan-x}.atropos-rotate-touch{touch-action:none}.atropos-scale,.atropos-rotate{width:100%;height:100%;transform-style:preserve-3d;transition-property:transform;display:block}.atropos-shadow,.atropos-highlight{position:absolute;pointer-events:none;transition-property:transform,opacity;display:block;opacity:0}.atropos-shadow{z-index:-1;background:#000;left:0;top:0;width:100%;height:100%;filter:blur(30px)}.atropos-highlight{left:-50%;top:-50%;width:200%;height:200%;background-image:radial-gradient(circle at 50%,rgba(255,255,255,.25),transparent 50%);z-index:0}.atropos-rotate{position:relative}.atropos-inner{width:100%;height:100%;position:relative;overflow:hidden;transform-style:preserve-3d;transform:translateZ(0);display:block}.atropos-active{z-index:1}.atropos-active .atropos-shadow{opacity:1!important}[data-atropos-offset],::slotted([data-atropos-offset]){transition-property:transform}[data-atropos-opacity]{transition-property:opacity}[data-atropos-offset][data-atropos-opacity],::slotted([data-atropos-offset][data-atropos-opacity]){transition-property:transform,opacity} diff --git a/dist/assets/index-BEYqMGyy.js b/dist/assets/index-BEYqMGyy.js new file mode 100644 index 0000000..56de5d7 --- /dev/null +++ b/dist/assets/index-BEYqMGyy.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/StrokeColorUpdater-CHqTn7cj.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as e}from"./index-CgAHdhFx.js";async function i(r,o=!0){await r.addParticleUpdater("strokeColor",async t=>{const{StrokeColorUpdater:a}=await e(()=>import("./StrokeColorUpdater-CHqTn7cj.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadStrokeColorUpdater}; diff --git a/dist/assets/index-BVI4STTs.js b/dist/assets/index-BVI4STTs.js new file mode 100644 index 0000000..b16d449 --- /dev/null +++ b/dist/assets/index-BVI4STTs.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/LifeUpdater-DqCNiLTn.js","assets/ValueWithRandom-w99ZNFOa.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as i}from"./index-CgAHdhFx.js";async function d(t,a=!0){await t.addParticleUpdater("life",async e=>{const{LifeUpdater:r}=await i(()=>import("./LifeUpdater-DqCNiLTn.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{d as loadLifeUpdater}; diff --git a/dist/assets/index-BXmHUGLE.js b/dist/assets/index-BXmHUGLE.js deleted file mode 100644 index 8ca502c..0000000 --- a/dist/assets/index-BXmHUGLE.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/index-CDNNLDas.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/index-D2-jkfOB.js","assets/index-DfP0nwyZ.js","assets/index-dWXBjqua.js","assets/index-8hKBTRb9.js","assets/index-CjJjuNz4.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as t}from"./index-CIovSKpD.js";async function s(a,_=!0){const{loadBaseMover:o}=await t(()=>import("./index-CDNNLDas.js"),__vite__mapDeps([0,1,2])),{loadCircleShape:i}=await t(()=>import("./index-D2-jkfOB.js"),__vite__mapDeps([3,1,2])),{loadColorUpdater:r}=await t(()=>import("./index-DfP0nwyZ.js"),__vite__mapDeps([4,1,2])),{loadOpacityUpdater:d}=await t(()=>import("./index-dWXBjqua.js"),__vite__mapDeps([5,1,2])),{loadOutModesUpdater:e}=await t(()=>import("./index-8hKBTRb9.js"),__vite__mapDeps([6,1,2])),{loadSizeUpdater:l}=await t(()=>import("./index-CjJjuNz4.js"),__vite__mapDeps([7,1,2]));await o(a,!1),await i(a,!1),await r(a,!1),await d(a,!1),await e(a,!1),await l(a,!1),await a.refresh(_)}export{s as loadBasic}; diff --git a/dist/assets/index-BY4Sn2DS.js b/dist/assets/index-BY4Sn2DS.js deleted file mode 100644 index bc8674e..0000000 --- a/dist/assets/index-BY4Sn2DS.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/RotateUpdater-D_yBoeQb.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/ValueWithRandom-CNZCHi2W.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as o}from"./index-CIovSKpD.js";async function i(t,a=!0){await t.addParticleUpdater("rotate",async e=>{const{RotateUpdater:r}=await o(()=>import("./RotateUpdater-D_yBoeQb.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{i as loadRotateUpdater}; diff --git a/dist/assets/index-8hKBTRb9.js b/dist/assets/index-Bb7QZEuw.js similarity index 53% rename from dist/assets/index-8hKBTRb9.js rename to dist/assets/index-Bb7QZEuw.js index 809c929..95d104d 100644 --- a/dist/assets/index-8hKBTRb9.js +++ b/dist/assets/index-Bb7QZEuw.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/OutOfCanvasUpdater-BP8MzKHl.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/OutOfCanvasUpdater-AQUo1tEq.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as o}from"./index-CIovSKpD.js";async function i(t,a=!0){await t.addParticleUpdater("outModes",async e=>{const{OutOfCanvasUpdater:r}=await o(()=>import("./OutOfCanvasUpdater-BP8MzKHl.js"),__vite__mapDeps([0,1,2]));return new r(e)},a)}export{i as loadOutModesUpdater}; +import{_ as o}from"./index-CgAHdhFx.js";async function i(t,a=!0){await t.addParticleUpdater("outModes",async e=>{const{OutOfCanvasUpdater:r}=await o(()=>import("./OutOfCanvasUpdater-AQUo1tEq.js"),__vite__mapDeps([0,1,2]));return new r(e)},a)}export{i as loadOutModesUpdater}; diff --git a/dist/assets/index-BVPXJ0Ri.js b/dist/assets/index-BpQ_GYIU.js similarity index 56% rename from dist/assets/index-BVPXJ0Ri.js rename to dist/assets/index-BpQ_GYIU.js index 064a24c..14fbf66 100644 --- a/dist/assets/index-BVPXJ0Ri.js +++ b/dist/assets/index-BpQ_GYIU.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Collider-BxywZFcw.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/ParticlesInteractorBase-vfDeBun3.js"] + __vite__mapDeps.viteFileDeps = ["assets/Collider-BG54Z9WI.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/ParticlesInteractorBase-vfDeBun3.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as a}from"./index-CIovSKpD.js";async function n(t,o=!0){await t.addInteractor("particlesCollisions",async i=>{const{Collider:r}=await a(()=>import("./Collider-BxywZFcw.js"),__vite__mapDeps([0,1,2,3]));return new r(i)},o)}export{n as loadParticlesCollisionsInteraction}; +import{_ as a}from"./index-CgAHdhFx.js";async function n(t,o=!0){await t.addInteractor("particlesCollisions",async i=>{const{Collider:r}=await a(()=>import("./Collider-BG54Z9WI.js"),__vite__mapDeps([0,1,2,3]));return new r(i)},o)}export{n as loadParticlesCollisionsInteraction}; diff --git a/dist/assets/index-C1ESKUrZ.js b/dist/assets/index-C1ESKUrZ.js deleted file mode 100644 index f1ab58b..0000000 --- a/dist/assets/index-C1ESKUrZ.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/StarDrawer-BROqWJ65.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as e}from"./index-CIovSKpD.js";async function _(a,t=!0){const{StarDrawer:r}=await e(()=>import("./StarDrawer-BROqWJ65.js"),__vite__mapDeps([0,1,2]));await a.addShape("star",new r,t)}export{_ as loadStarShape}; diff --git a/dist/assets/index-CDNNLDas.js b/dist/assets/index-CDNNLDas.js deleted file mode 100644 index 7f924b5..0000000 --- a/dist/assets/index-CDNNLDas.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/BaseMover-WGyZwRd6.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as r}from"./index-CIovSKpD.js";async function _(a,e=!0){await a.addMover("base",async()=>{const{BaseMover:o}=await r(()=>import("./BaseMover-WGyZwRd6.js"),__vite__mapDeps([0,1,2]));return new o},e)}export{_ as loadBaseMover}; diff --git a/dist/assets/index-CTtyf4AY.js b/dist/assets/index-CF6pQnyZ.js similarity index 87% rename from dist/assets/index-CTtyf4AY.js rename to dist/assets/index-CF6pQnyZ.js index 701ca23..4521d4e 100644 --- a/dist/assets/index-CTtyf4AY.js +++ b/dist/assets/index-CF6pQnyZ.js @@ -4,4 +4,4 @@ function __vite__mapDeps(indexes) { } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as n}from"./index-CIovSKpD.js";async function i(a,t=!0){await a.addInteractor("externalPause",async e=>{const{Pauser:r}=await n(()=>import("./Pauser-DNnHNTke.js"),__vite__mapDeps([0,1]));return new r(e)},t)}export{i as loadExternalPauseInteraction}; +import{_ as n}from"./index-CgAHdhFx.js";async function i(a,t=!0){await a.addInteractor("externalPause",async e=>{const{Pauser:r}=await n(()=>import("./Pauser-DNnHNTke.js"),__vite__mapDeps([0,1]));return new r(e)},t)}export{i as loadExternalPauseInteraction}; diff --git a/dist/assets/index-CIV0x1Ju.js b/dist/assets/index-CIV0x1Ju.js new file mode 100644 index 0000000..ac30b16 --- /dev/null +++ b/dist/assets/index-CIV0x1Ju.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/Attractor-D1py2CFA.js","assets/ParticlesInteractorBase-vfDeBun3.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as c}from"./index-CgAHdhFx.js";async function i(t,r=!0){await t.addInteractor("particlesAttract",async a=>{const{Attractor:o}=await c(()=>import("./Attractor-D1py2CFA.js"),__vite__mapDeps([0,1,2,3]));return new o(a)},r)}export{i as loadParticlesAttractInteraction}; diff --git a/dist/assets/index-CIovSKpD.js b/dist/assets/index-CIovSKpD.js deleted file mode 100644 index f3f5e3e..0000000 --- a/dist/assets/index-CIovSKpD.js +++ /dev/null @@ -1,264 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Container-CY8vEWdl.js","assets/CanvasUtils-Bhok4vf-.js","assets/OptionsColor-D2YVVpO2.js","assets/ValueWithRandom-CNZCHi2W.js","assets/Ranges-CMjHcLDp.js","assets/index-BAyyPntJ.js","assets/index-s-W_1WDH.js","assets/index-tAKDc-jX.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -var _p=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(_p(e,t,"read from private field"),n?n.call(e):t.get(e)),X=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},H=(e,t,n,r)=>(_p(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Iu=(e,t,n,r)=>({set _(i){H(e,t,i,n)},get _(){return _(e,t,r)}}),le=(e,t,n)=>(_p(e,t,"access private method"),n);function ZM(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function XS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Rr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var ZS={exports:{}},Kd={},JS={exports:{}},oe={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var au=Symbol.for("react.element"),JM=Symbol.for("react.portal"),e_=Symbol.for("react.fragment"),t_=Symbol.for("react.strict_mode"),n_=Symbol.for("react.profiler"),r_=Symbol.for("react.provider"),i_=Symbol.for("react.context"),s_=Symbol.for("react.forward_ref"),o_=Symbol.for("react.suspense"),a_=Symbol.for("react.memo"),l_=Symbol.for("react.lazy"),Xy=Symbol.iterator;function u_(e){return e===null||typeof e!="object"?null:(e=Xy&&e[Xy]||e["@@iterator"],typeof e=="function"?e:null)}var eE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},tE=Object.assign,nE={};function Ko(e,t,n){this.props=e,this.context=t,this.refs=nE,this.updater=n||eE}Ko.prototype.isReactComponent={};Ko.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ko.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rE(){}rE.prototype=Ko.prototype;function a0(e,t,n){this.props=e,this.context=t,this.refs=nE,this.updater=n||eE}var l0=a0.prototype=new rE;l0.constructor=a0;tE(l0,Ko.prototype);l0.isPureReactComponent=!0;var Zy=Array.isArray,iE=Object.prototype.hasOwnProperty,u0={current:null},sE={key:!0,ref:!0,__self:!0,__source:!0};function oE(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)iE.call(t,r)&&!sE.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,ne=O[K];if(0>>1;Ki(ct,B))iei(U,ct)?(O[K]=U,O[ie]=B,K=ie):(O[K]=ct,O[ge]=B,K=ge);else if(iei(U,B))O[K]=U,O[ie]=B,K=ie;else break e}}return L}function i(O,L){var B=O.sortIndex-L.sortIndex;return B!==0?B:O.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(O){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=O)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function w(O){if(m=!1,v(O),!h)if(n(l)!==null)h=!0,N(S);else{var L=n(u);L!==null&&q(w,L.startTime-O)}}function S(O,L){h=!1,m&&(m=!1,g(C),C=-1),p=!0;var B=f;try{for(v(L),d=n(l);d!==null&&(!(d.expirationTime>L)||O&&!R());){var K=d.callback;if(typeof K=="function"){d.callback=null,f=d.priorityLevel;var ne=K(d.expirationTime<=L);L=e.unstable_now(),typeof ne=="function"?d.callback=ne:d===n(l)&&r(l),v(L)}else r(l);d=n(l)}if(d!==null)var Ye=!0;else{var ge=n(u);ge!==null&&q(w,ge.startTime-L),Ye=!1}return Ye}finally{d=null,f=B,p=!1}}var P=!1,T=null,C=-1,M=5,k=-1;function R(){return!(e.unstable_now()-kO||125K?(O.sortIndex=B,t(u,O),n(l)===null&&O===n(u)&&(m?(g(C),C=-1):m=!0,q(w,B-K))):(O.sortIndex=ne,t(l,O),h||p||(h=!0,N(S))),O},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(O){var L=f;return function(){var B=f;f=L;try{return O.apply(this,arguments)}finally{f=B}}}})(cE);uE.exports=cE;var w_=uE.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var dE=b,Xt=w_;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nm=Object.prototype.hasOwnProperty,b_=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,e1={},t1={};function S_(e){return nm.call(t1,e)?!0:nm.call(e1,e)?!1:b_.test(e)?t1[e]=!0:(e1[e]=!0,!1)}function E_(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function P_(e,t,n,r){if(t===null||typeof t>"u"||E_(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function $t(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){gt[e]=new $t(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];gt[t]=new $t(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){gt[e]=new $t(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){gt[e]=new $t(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){gt[e]=new $t(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){gt[e]=new $t(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){gt[e]=new $t(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){gt[e]=new $t(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){gt[e]=new $t(e,5,!1,e.toLowerCase(),null,!1,!1)});var d0=/[\-:]([a-z])/g;function f0(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(d0,f0);gt[t]=new $t(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(d0,f0);gt[t]=new $t(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(d0,f0);gt[t]=new $t(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){gt[e]=new $t(e,1,!1,e.toLowerCase(),null,!1,!1)});gt.xlinkHref=new $t("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){gt[e]=new $t(e,1,!1,e.toLowerCase(),null,!0,!0)});function p0(e,t,n,r){var i=gt.hasOwnProperty(t)?gt[t]:null;(i!==null?i.type!==0:r||!(2a||i[o]!==s[a]){var l=` -`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Ap=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ma(e):""}function C_(e){switch(e.tag){case 5:return Ma(e.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return e=Ip(e.type,!1),e;case 11:return e=Ip(e.type.render,!1),e;case 1:return e=Ip(e.type,!0),e;default:return""}}function om(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Bs:return"Fragment";case Vs:return"Portal";case rm:return"Profiler";case h0:return"StrictMode";case im:return"Suspense";case sm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hE:return(e.displayName||"Context")+".Consumer";case pE:return(e._context.displayName||"Context")+".Provider";case m0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case g0:return t=e.displayName||null,t!==null?t:om(e.type)||"Memo";case qr:t=e._payload,e=e._init;try{return om(e(t))}catch{}}return null}function T_(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return om(t);case 8:return t===h0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ki(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function k_(e){var t=gE(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ju(e){e._valueTracker||(e._valueTracker=k_(e))}function vE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gE(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function am(e,t){var n=t.checked;return Le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function r1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ki(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function yE(e,t){t=t.checked,t!=null&&p0(e,"checked",t,!1)}function lm(e,t){yE(e,t);var n=ki(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?um(e,t.type,n):t.hasOwnProperty("defaultValue")&&um(e,t.type,ki(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function i1(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function um(e,t,n){(t!=="number"||Vc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _a=Array.isArray;function oo(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Du.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function al(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Da={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},M_=["Webkit","ms","Moz","O"];Object.keys(Da).forEach(function(e){M_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Da[t]=Da[e]})});function SE(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Da.hasOwnProperty(e)&&Da[e]?(""+t).trim():t+"px"}function EE(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=SE(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var __=Le({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function fm(e,t){if(t){if(__[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function pm(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var hm=null;function v0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mm=null,ao=null,lo=null;function a1(e){if(e=cu(e)){if(typeof mm!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Jd(t),mm(e.stateNode,e.type,t))}}function PE(e){ao?lo?lo.push(e):lo=[e]:ao=e}function CE(){if(ao){var e=ao,t=lo;if(lo=ao=null,a1(e),t)for(e=0;e>>=0,e===0?32:31-(z_(e)/V_|0)|0}var Fu=64,Nu=4194304;function Oa(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=Oa(a):(s&=o,s!==0&&(r=Oa(s)))}else o=n&~i,o!==0?r=Oa(o):s!==0&&(r=Oa(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function lu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Dn(t),e[t]=n}function H_(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Na),g1=" ",v1=!1;function HE(e,t){switch(e){case"keyup":return xO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function GE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Us=!1;function bO(e,t){switch(e){case"compositionend":return GE(t);case"keypress":return t.which!==32?null:(v1=!0,g1);case"textInput":return e=t.data,e===g1&&v1?null:e;default:return null}}function SO(e,t){if(Us)return e==="compositionend"||!C0&&HE(e,t)?(e=UE(),hc=S0=si=null,Us=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=b1(n)}}function YE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?YE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function XE(){for(var e=window,t=Vc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vc(e.document)}return t}function T0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function RO(e){var t=XE(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&YE(n.ownerDocument.documentElement,n)){if(r!==null&&T0(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=S1(n,s);var o=S1(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ws=null,bm=null,Va=null,Sm=!1;function E1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sm||Ws==null||Ws!==Vc(r)||(r=Ws,"selectionStart"in r&&T0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Va&&pl(Va,r)||(Va=r,r=Kc(bm,"onSelect"),0qs||(e.current=Mm[qs],Mm[qs]=null,qs--)}function Ce(e,t){qs++,Mm[qs]=e.current,e.current=t}var Mi={},Mt=Ii(Mi),Nt=Ii(!1),ms=Mi;function $o(e,t){var n=e.type.contextTypes;if(!n)return Mi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function zt(e){return e=e.childContextTypes,e!=null}function Yc(){Me(Nt),Me(Mt)}function O1(e,t,n){if(Mt.current!==Mi)throw Error(F(168));Ce(Mt,t),Ce(Nt,n)}function oP(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(F(108,T_(e)||"Unknown",i));return Le({},n,r)}function Xc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mi,ms=Mt.current,Ce(Mt,e),Ce(Nt,Nt.current),!0}function R1(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=oP(e,t,ms),r.__reactInternalMemoizedMergedChildContext=e,Me(Nt),Me(Mt),Ce(Mt,e)):Me(Nt),Ce(Nt,n)}var fr=null,ef=!1,qp=!1;function aP(e){fr===null?fr=[e]:fr.push(e)}function UO(e){ef=!0,aP(e)}function $i(){if(!qp&&fr!==null){qp=!0;var e=0,t=we;try{var n=fr;for(we=1;e>=o,i-=o,pr=1<<32-Dn(t)+i|n<C?(M=T,T=null):M=T.sibling;var k=f(g,T,v[C],w);if(k===null){T===null&&(T=M);break}e&&T&&k.alternate===null&&t(g,T),y=s(k,y,C),P===null?S=k:P.sibling=k,P=k,T=M}if(C===v.length)return n(g,T),Re&&Bi(g,C),S;if(T===null){for(;CC?(M=T,T=null):M=T.sibling;var R=f(g,T,k.value,w);if(R===null){T===null&&(T=M);break}e&&T&&R.alternate===null&&t(g,T),y=s(R,y,C),P===null?S=R:P.sibling=R,P=R,T=M}if(k.done)return n(g,T),Re&&Bi(g,C),S;if(T===null){for(;!k.done;C++,k=v.next())k=d(g,k.value,w),k!==null&&(y=s(k,y,C),P===null?S=k:P.sibling=k,P=k);return Re&&Bi(g,C),S}for(T=r(g,T);!k.done;C++,k=v.next())k=p(T,g,C,k.value,w),k!==null&&(e&&k.alternate!==null&&T.delete(k.key===null?C:k.key),y=s(k,y,C),P===null?S=k:P.sibling=k,P=k);return e&&T.forEach(function(I){return t(g,I)}),Re&&Bi(g,C),S}function x(g,y,v,w){if(typeof v=="object"&&v!==null&&v.type===Bs&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Lu:e:{for(var S=v.key,P=y;P!==null;){if(P.key===S){if(S=v.type,S===Bs){if(P.tag===7){n(g,P.sibling),y=i(P,v.props.children),y.return=g,g=y;break e}}else if(P.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===qr&&F1(S)===P.type){n(g,P.sibling),y=i(P,v.props),y.ref=ma(g,P,v),y.return=g,g=y;break e}n(g,P);break}else t(g,P);P=P.sibling}v.type===Bs?(y=ds(v.props.children,g.mode,w,v.key),y.return=g,g=y):(w=Sc(v.type,v.key,v.props,null,g.mode,w),w.ref=ma(g,y,v),w.return=g,g=w)}return o(g);case Vs:e:{for(P=v.key;y!==null;){if(y.key===P)if(y.tag===4&&y.stateNode.containerInfo===v.containerInfo&&y.stateNode.implementation===v.implementation){n(g,y.sibling),y=i(y,v.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=th(v,g.mode,w),y.return=g,g=y}return o(g);case qr:return P=v._init,x(g,y,P(v._payload),w)}if(_a(v))return h(g,y,v,w);if(ca(v))return m(g,y,v,w);Gu(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,y!==null&&y.tag===6?(n(g,y.sibling),y=i(y,v),y.return=g,g=y):(n(g,y),y=eh(v,g.mode,w),y.return=g,g=y),o(g)):n(g,y)}return x}var jo=mP(!0),gP=mP(!1),du={},er=Ii(du),vl=Ii(du),yl=Ii(du);function Xi(e){if(e===du)throw Error(F(174));return e}function L0(e,t){switch(Ce(yl,t),Ce(vl,e),Ce(er,du),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:dm(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=dm(t,e)}Me(er),Ce(er,t)}function Do(){Me(er),Me(vl),Me(yl)}function vP(e){Xi(yl.current);var t=Xi(er.current),n=dm(t,e.type);t!==n&&(Ce(vl,e),Ce(er,n))}function j0(e){vl.current===e&&(Me(er),Me(vl))}var Ae=Ii(0);function rd(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Kp=[];function D0(){for(var e=0;en?n:4,e(!0);var r=Qp.transition;Qp.transition={};try{e(!1),t()}finally{we=n,Qp.transition=r}}function IP(){return En().memoizedState}function qO(e,t,n){var r=yi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$P(e))LP(t,n);else if(n=dP(e,t,n,r),n!==null){var i=At();Fn(n,e,r,i),jP(n,t,r)}}function KO(e,t,n){var r=yi(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($P(e))LP(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,Nn(a,o)){var l=t.interleaved;l===null?(i.next=i,I0(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=dP(e,t,i,r),n!==null&&(i=At(),Fn(n,e,r,i),jP(n,t,r))}}function $P(e){var t=e.alternate;return e===$e||t!==null&&t===$e}function LP(e,t){Ba=id=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function jP(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,x0(e,n)}}var sd={readContext:Sn,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useInsertionEffect:bt,useLayoutEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useMutableSource:bt,useSyncExternalStore:bt,useId:bt,unstable_isNewReconciler:!1},QO={readContext:Sn,useCallback:function(e,t){return Bn().memoizedState=[e,t===void 0?null:t],e},useContext:Sn,useEffect:z1,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,yc(4194308,4,MP.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yc(4194308,4,e,t)},useInsertionEffect:function(e,t){return yc(4,2,e,t)},useMemo:function(e,t){var n=Bn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=qO.bind(null,$e,e),[r.memoizedState,e]},useRef:function(e){var t=Bn();return e={current:e},t.memoizedState=e},useState:N1,useDebugValue:B0,useDeferredValue:function(e){return Bn().memoizedState=e},useTransition:function(){var e=N1(!1),t=e[0];return e=GO.bind(null,e[1]),Bn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$e,i=Bn();if(Re){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ot===null)throw Error(F(349));vs&30||wP(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,z1(SP.bind(null,r,s,e),[e]),r.flags|=2048,bl(9,bP.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Bn(),t=ot.identifierPrefix;if(Re){var n=hr,r=pr;n=(r&~(1<<32-Dn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=xl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Xn]=t,e[gl]=r,HP(e,t,!1,!1),t.stateNode=e;e:{switch(o=pm(n,r),n){case"dialog":ke("cancel",e),ke("close",e),i=r;break;case"iframe":case"object":case"embed":ke("load",e),i=r;break;case"video":case"audio":for(i=0;iNo&&(t.flags|=128,r=!0,ga(s,!1),t.lanes=4194304)}else{if(!r)if(e=rd(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ga(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!Re)return St(t),null}else 2*Ue()-s.renderingStartTime>No&&n!==1073741824&&(t.flags|=128,r=!0,ga(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ue(),t.sibling=null,n=Ae.current,Ce(Ae,r?n&1|2:n&1),t):(St(t),null);case 22:case 23:return K0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Wt&1073741824&&(St(t),t.subtreeFlags&6&&(t.flags|=8192)):St(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function rR(e,t){switch(M0(t),t.tag){case 1:return zt(t.type)&&Yc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Do(),Me(Nt),Me(Mt),D0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return j0(t),null;case 13:if(Me(Ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Lo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me(Ae),null;case 4:return Do(),null;case 10:return A0(t.type._context),null;case 22:case 23:return K0(),null;case 24:return null;default:return null}}var Ku=!1,Tt=!1,iR=typeof WeakSet=="function"?WeakSet:Set,G=null;function Xs(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ve(e,t,r)}else n.current=null}function zm(e,t,n){try{n()}catch(r){Ve(e,t,r)}}var Q1=!1;function sR(e,t){if(Em=Gc,e=XE(),T0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=o+i),d!==s||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===i&&(a=o),f===s&&++c===r&&(l=o),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pm={focusedElem:e,selectionRange:n},Gc=!1,G=t;G!==null;)if(t=G,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,G=e;else for(;G!==null;){t=G;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var m=h.memoizedProps,x=h.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:Rn(t.type,m),x);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(w){Ve(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,G=e;break}G=t.return}return h=Q1,Q1=!1,h}function Ua(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&zm(t,n,s)}i=i.next}while(i!==r)}}function rf(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Vm(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function KP(e){var t=e.alternate;t!==null&&(e.alternate=null,KP(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xn],delete t[gl],delete t[km],delete t[VO],delete t[BO])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function QP(e){return e.tag===5||e.tag===3||e.tag===4}function Y1(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||QP(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bm(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Qc));else if(r!==4&&(e=e.child,e!==null))for(Bm(e,t,n),e=e.sibling;e!==null;)Bm(e,t,n),e=e.sibling}function Um(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Um(e,t,n),e=e.sibling;e!==null;)Um(e,t,n),e=e.sibling}var dt=null,In=!1;function Lr(e,t,n){for(n=n.child;n!==null;)YP(e,t,n),n=n.sibling}function YP(e,t,n){if(Jn&&typeof Jn.onCommitFiberUnmount=="function")try{Jn.onCommitFiberUnmount(Qd,n)}catch{}switch(n.tag){case 5:Tt||Xs(n,t);case 6:var r=dt,i=In;dt=null,Lr(e,t,n),dt=r,In=i,dt!==null&&(In?(e=dt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):dt.removeChild(n.stateNode));break;case 18:dt!==null&&(In?(e=dt,n=n.stateNode,e.nodeType===8?Gp(e.parentNode,n):e.nodeType===1&&Gp(e,n),dl(e)):Gp(dt,n.stateNode));break;case 4:r=dt,i=In,dt=n.stateNode.containerInfo,In=!0,Lr(e,t,n),dt=r,In=i;break;case 0:case 11:case 14:case 15:if(!Tt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&zm(n,t,o),i=i.next}while(i!==r)}Lr(e,t,n);break;case 1:if(!Tt&&(Xs(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ve(n,t,a)}Lr(e,t,n);break;case 21:Lr(e,t,n);break;case 22:n.mode&1?(Tt=(r=Tt)||n.memoizedState!==null,Lr(e,t,n),Tt=r):Lr(e,t,n);break;default:Lr(e,t,n)}}function X1(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new iR),t.forEach(function(r){var i=hR.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function _n(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~s}if(r=i,r=Ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*aR(r/1960))-r,10e?16:e,oi===null)var r=!1;else{if(e=oi,oi=null,ld=0,he&6)throw Error(F(331));var i=he;for(he|=4,G=e.current;G!==null;){var s=G,o=s.child;if(G.flags&16){var a=s.deletions;if(a!==null){for(var l=0;lUe()-G0?cs(e,0):H0|=n),Vt(e,t)}function iC(e,t){t===0&&(e.mode&1?(t=Nu,Nu<<=1,!(Nu&130023424)&&(Nu=4194304)):t=1);var n=At();e=kr(e,t),e!==null&&(lu(e,t,n),Vt(e,n))}function pR(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),iC(e,n)}function hR(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),iC(e,n)}var sC;sC=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Nt.current)Ft=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ft=!1,tR(e,t,n);Ft=!!(e.flags&131072)}else Ft=!1,Re&&t.flags&1048576&&lP(t,Jc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;xc(e,t),e=t.pendingProps;var i=$o(t,Mt.current);co(t,n),i=N0(null,t,r,e,i,n);var s=z0();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,zt(r)?(s=!0,Xc(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,$0(t),i.updater=tf,t.stateNode=i,i._reactInternals=t,Im(t,r,e,n),t=jm(null,t,r,!0,s,n)):(t.tag=0,Re&&s&&k0(t),Rt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(xc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=gR(r),e=Rn(r,e),i){case 0:t=Lm(null,t,r,e,n);break e;case 1:t=G1(null,t,r,e,n);break e;case 11:t=W1(null,t,r,e,n);break e;case 14:t=H1(null,t,r,Rn(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),Lm(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),G1(e,t,r,i,n);case 3:e:{if(BP(t),e===null)throw Error(F(387));r=t.pendingProps,s=t.memoizedState,i=s.element,fP(e,t),nd(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Fo(Error(F(423)),t),t=q1(e,t,r,n,i);break e}else if(r!==i){i=Fo(Error(F(424)),t),t=q1(e,t,r,n,i);break e}else for(qt=mi(t.stateNode.containerInfo.firstChild),Qt=t,Re=!0,$n=null,n=gP(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Lo(),r===i){t=Mr(e,t,n);break e}Rt(e,t,r,n)}t=t.child}return t;case 5:return vP(t),e===null&&Om(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Cm(r,i)?o=null:s!==null&&Cm(r,s)&&(t.flags|=32),VP(e,t),Rt(e,t,o,n),t.child;case 6:return e===null&&Om(t),null;case 13:return UP(e,t,n);case 4:return L0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=jo(t,null,r,n):Rt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),W1(e,t,r,i,n);case 7:return Rt(e,t,t.pendingProps,n),t.child;case 8:return Rt(e,t,t.pendingProps.children,n),t.child;case 12:return Rt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,Ce(ed,r._currentValue),r._currentValue=o,s!==null)if(Nn(s.value,o)){if(s.children===i.children&&!Nt.current){t=Mr(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=yr(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Rm(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(F(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Rm(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Rt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,co(t,n),i=Sn(i),r=r(i),t.flags|=1,Rt(e,t,r,n),t.child;case 14:return r=t.type,i=Rn(r,t.pendingProps),i=Rn(r.type,i),H1(e,t,r,i,n);case 15:return NP(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),xc(e,t),t.tag=1,zt(r)?(e=!0,Xc(t)):e=!1,co(t,n),hP(t,r,i),Im(t,r,i,n),jm(null,t,r,!0,e,n);case 19:return WP(e,t,n);case 22:return zP(e,t,n)}throw Error(F(156,t.tag))};function oC(e,t){return AE(e,t)}function mR(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yn(e,t,n,r){return new mR(e,t,n,r)}function Y0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gR(e){if(typeof e=="function")return Y0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===m0)return 11;if(e===g0)return 14}return 2}function xi(e,t){var n=e.alternate;return n===null?(n=yn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Sc(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Y0(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Bs:return ds(n.children,i,s,t);case h0:o=8,i|=8;break;case rm:return e=yn(12,n,t,i|2),e.elementType=rm,e.lanes=s,e;case im:return e=yn(13,n,t,i),e.elementType=im,e.lanes=s,e;case sm:return e=yn(19,n,t,i),e.elementType=sm,e.lanes=s,e;case mE:return of(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pE:o=10;break e;case hE:o=9;break e;case m0:o=11;break e;case g0:o=14;break e;case qr:o=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=yn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function ds(e,t,n,r){return e=yn(7,e,r,t),e.lanes=n,e}function of(e,t,n,r){return e=yn(22,e,r,t),e.elementType=mE,e.lanes=n,e.stateNode={isHidden:!1},e}function eh(e,t,n){return e=yn(6,e,null,t),e.lanes=n,e}function th(e,t,n){return t=yn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vR(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Lp(0),this.expirationTimes=Lp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lp(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function X0(e,t,n,r,i,s,o,a,l){return e=new vR(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=yn(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$0(s),e}function yR(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cC)}catch(e){console.error(e)}}cC(),lE.exports=Jt;var df=lE.exports;const Xu=XS(df);var sx=df;tm.createRoot=sx.createRoot,tm.hydrateRoot=sx.hydrateRoot;/** - * @remix-run/router v1.15.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function El(){return El=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function dC(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function PR(){return Math.random().toString(36).substr(2,8)}function ax(e,t){return{usr:e.state,key:e.key,idx:t}}function Km(e,t,n,r){return n===void 0&&(n=null),El({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Xo(t):t,{state:n,key:t&&t.key||r||PR()})}function fC(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Xo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function CR(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=ai.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(El({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=ai.Pop;let x=c(),g=x==null?null:x-u;u=x,l&&l({action:a,location:m.location,delta:g})}function f(x,g){a=ai.Push;let y=Km(m.location,x,g);n&&n(y,x),u=c()+1;let v=ax(y,u),w=m.createHref(y);try{o.pushState(v,"",w)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(w)}s&&l&&l({action:a,location:m.location,delta:1})}function p(x,g){a=ai.Replace;let y=Km(m.location,x,g);n&&n(y,x),u=c();let v=ax(y,u),w=m.createHref(y);o.replaceState(v,"",w),s&&l&&l({action:a,location:m.location,delta:0})}function h(x){let g=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof x=="string"?x:fC(x);return y=y.replace(/ $/,"%20"),Je(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let m={get action(){return a},get location(){return e(i,o)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(ox,d),l=x,()=>{i.removeEventListener(ox,d),l=null}},createHref(x){return t(i,x)},createURL:h,encodeLocation(x){let g=h(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:p,go(x){return o.go(x)}};return m}var lx;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(lx||(lx={}));function TR(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Xo(t):t,i=mC(r.pathname||"/",n);if(i==null)return null;let s=pC(e);kR(s);let o=null;for(let a=0;o==null&&a{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(Je(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=fs([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(Je(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),pC(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:$R(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of hC(s.path))i(s,o,l)}),t}function hC(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=hC(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function kR(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:LR(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const MR=/^:[\w-]+$/,_R=3,OR=2,RR=1,AR=10,IR=-2,ux=e=>e==="*";function $R(e,t){let n=e.split("/"),r=n.length;return n.some(ux)&&(r+=IR),t&&(r+=OR),n.filter(i=>!ux(i)).reduce((i,s)=>i+(MR.test(s)?_R:s===""?RR:AR),r)}function LR(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function jR(e,t){let{routesMeta:n}=e,r={},i="/",s=[];for(let o=0;o{let{paramName:f,isOptional:p}=c;if(f==="*"){let m=a[d]||"";o=s.slice(0,s.length-m.length).replace(/(.)\/+$/,"$1")}const h=a[d];return p&&!h?u[f]=void 0:u[f]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function FR(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),dC(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function NR(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return dC(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function mC(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function zR(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Xo(e):e;return{pathname:n?n.startsWith("/")?n:VR(n,t):t,search:GR(r),hash:qR(i)}}function VR(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function nh(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function BR(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function UR(e,t){let n=BR(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function WR(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Xo(e):(i=El({},e),Je(!i.pathname||!i.pathname.includes("?"),nh("?","pathname","search",i)),Je(!i.pathname||!i.pathname.includes("#"),nh("#","pathname","hash",i)),Je(!i.search||!i.search.includes("#"),nh("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=zR(i,a),u=o&&o!=="/"&&o.endsWith("/"),c=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const fs=e=>e.join("/").replace(/\/\/+/g,"/"),HR=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),GR=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,qR=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function KR(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gC=["post","put","patch","delete"];new Set(gC);const QR=["get",...gC];new Set(QR);/** - * React Router v6.22.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Pl(){return Pl=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=WR(u,JSON.parse(o),s,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:fs([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,o,s,e])}const ZR=b.createContext(null);function JR(e){let t=b.useContext(Li).outlet;return t&&b.createElement(ZR.Provider,{value:e},t)}function e5(){let{matches:e}=b.useContext(Li),t=e[e.length-1];return t?t.params:{}}function t5(e,t){return n5(e,t)}function n5(e,t,n,r){hf()||Je(!1);let{navigator:i}=b.useContext(ff),{matches:s}=b.useContext(Li),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=yC(),c;if(t){var d;let x=typeof t=="string"?Xo(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||Je(!1),c=x}else c=u;let f=c.pathname||"/",p=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let h=TR(e,{pathname:p}),m=a5(h&&h.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:fs([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:fs([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),s,n,r);return t&&m?b.createElement(pf.Provider,{value:{location:Pl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:ai.Pop}},m):m}function r5(){let e=d5(),t=KR(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const i5=b.createElement(r5,null);class s5 extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(Li.Provider,{value:this.props.routeContext},b.createElement(vC.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function o5(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(tv);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Li.Provider,{value:t},r)}function a5(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if((s=n)!=null&&s.errors)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id]));c>=0||Je(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,d,f)=>{let p,h=!1,m=null,x=null;n&&(p=a&&d.route.id?a[d.route.id]:void 0,m=d.route.errorElement||i5,l&&(u<0&&f===0?(p5("route-fallback",!1),h=!0,x=null):u===f&&(h=!0,x=d.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,f+1)),y=()=>{let v;return p?v=m:h?v=x:d.route.Component?v=b.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,b.createElement(o5,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(s5,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var wC=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(wC||{}),dd=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(dd||{});function l5(e){let t=b.useContext(tv);return t||Je(!1),t}function u5(e){let t=b.useContext(YR);return t||Je(!1),t}function c5(e){let t=b.useContext(Li);return t||Je(!1),t}function bC(e){let t=c5(),n=t.matches[t.matches.length-1];return n.route.id||Je(!1),n.route.id}function d5(){var e;let t=b.useContext(vC),n=u5(dd.UseRouteError),r=bC(dd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function f5(){let{router:e}=l5(wC.UseNavigateStable),t=bC(dd.UseNavigateStable),n=b.useRef(!1);return xC(()=>{n.current=!0}),b.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Pl({fromRouteId:t},s)))},[e,t])}const cx={};function p5(e,t,n){!t&&!cx[e]&&(cx[e]=!0)}function h5(e){return JR(e.context)}function Ns(e){Je(!1)}function m5(e){let{basename:t="/",children:n=null,location:r,navigationType:i=ai.Pop,navigator:s,static:o=!1,future:a}=e;hf()&&Je(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:s,static:o,future:Pl({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=Xo(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:h="default"}=r,m=b.useMemo(()=>{let x=mC(c,l);return x==null?null:{location:{pathname:x,search:d,hash:f,state:p,key:h},navigationType:i}},[l,c,d,f,p,h,i]);return m==null?null:b.createElement(ff.Provider,{value:u},b.createElement(pf.Provider,{children:n,value:m}))}function g5(e){let{children:t,location:n}=e;return t5(Qm(t),n)}new Promise(()=>{});function Qm(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let s=[...t,i];if(r.type===b.Fragment){n.push.apply(n,Qm(r.props.children,s));return}r.type!==Ns&&Je(!1),!r.props.index||!r.props.children||Je(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Qm(r.props.children,s)),n.push(o)}),n}/** - * React Router DOM v6.22.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */const v5="6";try{window.__reactRouterVersion=v5}catch{}const y5="startTransition",dx=zc[y5];function x5(e){let{basename:t,children:n,future:r,window:i}=e,s=b.useRef();s.current==null&&(s.current=ER({window:i,v5Compat:!0}));let o=s.current,[a,l]=b.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&dx?dx(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>o.listen(c),[o,c]),b.createElement(m5,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}var fx;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(fx||(fx={}));var px;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(px||(px={}));function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=SC(e[n])}),t}function tr(e,t,n={clone:!0}){const r=n.clone?A({},e):e;return Zr(e)&&Zr(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Zr(t[i])&&i in e&&Zr(e[i])?r[i]=tr(e[i],t[i],n):n.clone?r[i]=Zr(t[i])?SC(t[i]):t[i]:r[i]=t[i])}),r}const w5=Object.freeze(Object.defineProperty({__proto__:null,default:tr,isPlainObject:Zr},Symbol.toStringTag,{value:"Module"}));function Cl(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function kC(e,t=166){let n;function r(...i){const s=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function M5(e,t){return()=>null}function _5(e,t){var n,r;return b.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function xr(e){return e&&e.ownerDocument||document}function Zo(e){return xr(e).defaultView||window}function O5(e,t){return()=>null}function fd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Tl=typeof window<"u"?b.useLayoutEffect:b.useEffect;let gx=0;function R5(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(gx+=1,n(`mui-${gx}`))},[t]),r}const vx=zc.useId;function A5(e){if(vx!==void 0){const t=vx();return e??t}return R5(e)}function I5(e,t,n,r,i){return null}function $5({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=b.useRef(e!==void 0),[s,o]=b.useState(t),a=i?e:s,l=b.useCallback(u=>{i||o(u)},[]);return[a,l]}function Zi(e){const t=b.useRef(e);return Tl(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function Pn(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{fd(n,t)})},e)}const yx={};function L5(e,t){const n=b.useRef(yx);return n.current===yx&&(n.current=e(t)),n}const j5=[];function D5(e){b.useEffect(e,j5)}class Cf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Cf}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function F5(){const e=L5(Cf.create).current;return D5(e.disposeEffect),e}let Tf=!0,Xm=!1;const N5=new Cf,z5={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function V5(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&z5[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function B5(e){e.metaKey||e.altKey||e.ctrlKey||(Tf=!0)}function rh(){Tf=!1}function U5(){this.visibilityState==="hidden"&&Xm&&(Tf=!0)}function W5(e){e.addEventListener("keydown",B5,!0),e.addEventListener("mousedown",rh,!0),e.addEventListener("pointerdown",rh,!0),e.addEventListener("touchstart",rh,!0),e.addEventListener("visibilitychange",U5,!0)}function H5(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Tf||V5(t)}function sv(){const e=b.useCallback(i=>{i!=null&&W5(i.ownerDocument)},[]),t=b.useRef(!1);function n(){return t.current?(Xm=!0,N5.start(100,()=>{Xm=!1}),t.current=!1,!0):!1}function r(i){return H5(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function G5(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function MC(e,t){const n=A({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=A({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},s=t[r];n[r]={},!s||!Object.keys(s)?n[r]=i:!i||!Object.keys(i)?n[r]=s:(n[r]=A({},s),Object.keys(i).forEach(o=>{n[r][o]=MC(i[o],s[o])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function vt(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((s,o)=>{if(o){const a=t(o);a!==""&&s.push(a),n&&n[o]&&s.push(n[o])}return s},[]).join(" ")}),r}const xx=e=>e,q5=()=>{let e=xx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=xx}}},K5=q5(),ov=K5,Q5={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function at(e,t,n="Mui"){const r=Q5[t];return r?`${n}-${r}`:`${ov.generate(e)}-${t}`}function et(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=at(e,i,n)}),r}function Y5(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const X5=Object.freeze(Object.defineProperty({__proto__:null,default:Y5},Symbol.toStringTag,{value:"Module"}));function se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}function _C(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>A({},n,{[r.key]:r.val}),{})};function RC(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=se(e,Z5),s=J5(t),o=Object.keys(s);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,p){const h=o.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[o[h]]=="number"?t[o[h]]:p)-r/100}${n})`}function c(f){return o.indexOf(f)+1`@media (min-width:${av[e]}px)`};function _r(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||wx;return t.reduce((o,a,l)=>(o[s.up(s.keys[l])]=n(t[l]),o),{})}if(typeof t=="object"){const s=r.breakpoints||wx;return Object.keys(t).reduce((o,a)=>{if(Object.keys(s.values||av).indexOf(a)!==-1){const l=s.up(a);o[l]=n(t[a],a)}else{const l=a;o[l]=t[l]}return o},{})}return n(t)}function nA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const s=e.up(i);return r[s]={},r},{}))||{}}function rA(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function zo(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,s)=>i&&i[s]?i[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function pd(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=zo(e,n)||r,t&&(i=t(i,r,e)),i}function He(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,s=o=>{if(o[t]==null)return null;const a=o[t],l=o.theme,u=zo(l,r)||{};return _r(o,a,d=>{let f=pd(u,i,d);return d===f&&typeof d=="string"&&(f=pd(u,i,`${t}${d==="default"?"":Q(d)}`,d)),n===!1?f:{[n]:f}})};return s.propTypes={},s.filterProps=[t],s}function iA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const sA={m:"margin",p:"padding"},oA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},bx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},aA=iA(e=>{if(e.length>2)if(bx[e])e=bx[e];else return[e];const[t,n]=e.split(""),r=sA[t],i=oA[n]||"";return Array.isArray(i)?i.map(s=>r+s):[r+i]}),lv=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],uv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...lv,...uv];function fu(e,t,n,r){var i;const s=(i=zo(e,t,!1))!=null?i:n;return typeof s=="number"?o=>typeof o=="string"?o:s*o:Array.isArray(s)?o=>typeof o=="string"?o:s[o]:typeof s=="function"?s:()=>{}}function AC(e){return fu(e,"spacing",8)}function pu(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function lA(e,t){return n=>e.reduce((r,i)=>(r[i]=pu(t,n),r),{})}function uA(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=aA(n),s=lA(i,r),o=e[n];return _r(e,o,s)}function IC(e,t){const n=AC(e.theme);return Object.keys(e).map(r=>uA(e,t,r,n)).reduce(Ga,{})}function Fe(e){return IC(e,lv)}Fe.propTypes={};Fe.filterProps=lv;function Ne(e){return IC(e,uv)}Ne.propTypes={};Ne.filterProps=uv;function cA(e=8){if(e.mui)return e;const t=AC({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(s=>{const o=t(s);return typeof o=="number"?`${o}px`:o}).join(" ");return n.mui=!0,n}function kf(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(s=>{r[s]=i}),r),{}),n=r=>Object.keys(r).reduce((i,s)=>t[s]?Ga(i,t[s](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function mn(e){return typeof e!="number"?e:`${e}px solid`}function kn(e,t){return He({prop:e,themeKey:"borders",transform:t})}const dA=kn("border",mn),fA=kn("borderTop",mn),pA=kn("borderRight",mn),hA=kn("borderBottom",mn),mA=kn("borderLeft",mn),gA=kn("borderColor"),vA=kn("borderTopColor"),yA=kn("borderRightColor"),xA=kn("borderBottomColor"),wA=kn("borderLeftColor"),bA=kn("outline",mn),SA=kn("outlineColor"),Mf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=fu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:pu(t,r)});return _r(e,e.borderRadius,n)}return null};Mf.propTypes={};Mf.filterProps=["borderRadius"];kf(dA,fA,pA,hA,mA,gA,vA,yA,xA,wA,Mf,bA,SA);const _f=e=>{if(e.gap!==void 0&&e.gap!==null){const t=fu(e.theme,"spacing",8),n=r=>({gap:pu(t,r)});return _r(e,e.gap,n)}return null};_f.propTypes={};_f.filterProps=["gap"];const Of=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=fu(e.theme,"spacing",8),n=r=>({columnGap:pu(t,r)});return _r(e,e.columnGap,n)}return null};Of.propTypes={};Of.filterProps=["columnGap"];const Rf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=fu(e.theme,"spacing",8),n=r=>({rowGap:pu(t,r)});return _r(e,e.rowGap,n)}return null};Rf.propTypes={};Rf.filterProps=["rowGap"];const EA=He({prop:"gridColumn"}),PA=He({prop:"gridRow"}),CA=He({prop:"gridAutoFlow"}),TA=He({prop:"gridAutoColumns"}),kA=He({prop:"gridAutoRows"}),MA=He({prop:"gridTemplateColumns"}),_A=He({prop:"gridTemplateRows"}),OA=He({prop:"gridTemplateAreas"}),RA=He({prop:"gridArea"});kf(_f,Of,Rf,EA,PA,CA,TA,kA,MA,_A,OA,RA);function po(e,t){return t==="grey"?t:e}const AA=He({prop:"color",themeKey:"palette",transform:po}),IA=He({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:po}),$A=He({prop:"backgroundColor",themeKey:"palette",transform:po});kf(AA,IA,$A);function Gt(e){return e<=1&&e!==0?`${e*100}%`:e}const LA=He({prop:"width",transform:Gt}),cv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i;const s=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||av[n];return s?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:Gt(n)}};return _r(e,e.maxWidth,t)}return null};cv.filterProps=["maxWidth"];const jA=He({prop:"minWidth",transform:Gt}),DA=He({prop:"height",transform:Gt}),FA=He({prop:"maxHeight",transform:Gt}),NA=He({prop:"minHeight",transform:Gt});He({prop:"size",cssProperty:"width",transform:Gt});He({prop:"size",cssProperty:"height",transform:Gt});const zA=He({prop:"boxSizing"});kf(LA,cv,jA,DA,FA,NA,zA);const VA={border:{themeKey:"borders",transform:mn},borderTop:{themeKey:"borders",transform:mn},borderRight:{themeKey:"borders",transform:mn},borderBottom:{themeKey:"borders",transform:mn},borderLeft:{themeKey:"borders",transform:mn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:mn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Mf},color:{themeKey:"palette",transform:po},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:po},backgroundColor:{themeKey:"palette",transform:po},p:{style:Ne},pt:{style:Ne},pr:{style:Ne},pb:{style:Ne},pl:{style:Ne},px:{style:Ne},py:{style:Ne},padding:{style:Ne},paddingTop:{style:Ne},paddingRight:{style:Ne},paddingBottom:{style:Ne},paddingLeft:{style:Ne},paddingX:{style:Ne},paddingY:{style:Ne},paddingInline:{style:Ne},paddingInlineStart:{style:Ne},paddingInlineEnd:{style:Ne},paddingBlock:{style:Ne},paddingBlockStart:{style:Ne},paddingBlockEnd:{style:Ne},m:{style:Fe},mt:{style:Fe},mr:{style:Fe},mb:{style:Fe},ml:{style:Fe},mx:{style:Fe},my:{style:Fe},margin:{style:Fe},marginTop:{style:Fe},marginRight:{style:Fe},marginBottom:{style:Fe},marginLeft:{style:Fe},marginX:{style:Fe},marginY:{style:Fe},marginInline:{style:Fe},marginInlineStart:{style:Fe},marginInlineEnd:{style:Fe},marginBlock:{style:Fe},marginBlockStart:{style:Fe},marginBlockEnd:{style:Fe},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_f},rowGap:{style:Rf},columnGap:{style:Of},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Gt},maxWidth:{style:cv},minWidth:{transform:Gt},height:{transform:Gt},maxHeight:{transform:Gt},minHeight:{transform:Gt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},hu=VA;function BA(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function UA(e,t){return typeof e=="function"?e(t):e}function $C(){function e(n,r,i,s){const o={[n]:r,theme:i},a=s[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:d}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=zo(i,u)||{};return d?d(o):_r(o,r,h=>{let m=pd(f,c,h);return h===m&&typeof h=="string"&&(m=pd(f,c,`${n}${h==="default"?"":Q(h)}`,h)),l===!1?m:{[l]:m}})}function t(n){var r;const{sx:i,theme:s={}}=n||{};if(!i)return null;const o=(r=s.unstable_sxConfig)!=null?r:hu;function a(l){let u=l;if(typeof l=="function")u=l(s);else if(typeof l!="object")return l;if(!u)return null;const c=nA(s.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(p=>{const h=UA(u[p],s);if(h!=null)if(typeof h=="object")if(o[p])f=Ga(f,e(p,h,s,o));else{const m=_r({theme:s},h,x=>({[p]:x}));BA(m,h)?f[p]=t({sx:h,theme:s}):f=Ga(f,m)}else f=Ga(f,e(p,h,s,o))}),rA(d,f)}return Array.isArray(i)?i.map(a):a(i)}return t}const mu=$C();mu.filterProps=["sx"];function LC(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const WA=["breakpoints","palette","spacing","shape"];function dv(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:s={}}=e,o=se(e,WA),a=RC(n),l=cA(i);let u=tr({breakpoints:a,direction:"ltr",components:{},palette:A({mode:"light"},r),spacing:l,shape:A({},tA,s)},o);return u.applyStyles=LC,u=t.reduce((c,d)=>tr(c,d),u),u.unstable_sxConfig=A({},hu,o==null?void 0:o.unstable_sxConfig),u.unstable_sx=function(d){return mu({sx:d,theme:this})},u}const HA=Object.freeze(Object.defineProperty({__proto__:null,default:dv,private_createBreakpoints:RC,unstable_applyStyles:LC},Symbol.toStringTag,{value:"Module"}));function jC(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var GA=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,qA=jC(function(e){return GA.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function KA(e){if(e.sheet)return e.sheet;for(var t=0;t0?ft(Jo,--Bt):0,Vo--,qe===10&&(Vo=1,If--),qe}function Yt(){return qe=Bt2||Ml(qe)>3?"":" "}function aI(e,t){for(;--t&&Yt()&&!(qe<48||qe>102||qe>57&&qe<65||qe>70&&qe<97););return gu(e,Ec()+(t<6&&nr()==32&&Yt()==32))}function Jm(e){for(;Yt();)switch(qe){case e:return Bt;case 34:case 39:e!==34&&e!==39&&Jm(qe);break;case 40:e===41&&Jm(e);break;case 92:Yt();break}return Bt}function lI(e,t){for(;Yt()&&e+qe!==57;)if(e+qe===84&&nr()===47)break;return"/*"+gu(t,Bt-1)+"*"+Af(e===47?e:Yt())}function uI(e){for(;!Ml(nr());)Yt();return gu(e,Bt)}function cI(e){return BC(Cc("",null,null,null,[""],e=VC(e),0,[0],e))}function Cc(e,t,n,r,i,s,o,a,l){for(var u=0,c=0,d=o,f=0,p=0,h=0,m=1,x=1,g=1,y=0,v="",w=i,S=s,P=r,T=v;x;)switch(h=y,y=Yt()){case 40:if(h!=108&&ft(T,d-1)==58){Zm(T+=ye(Pc(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:T+=Pc(y);break;case 9:case 10:case 13:case 32:T+=oI(h);break;case 92:T+=aI(Ec()-1,7);continue;case 47:switch(nr()){case 42:case 47:Zu(dI(lI(Yt(),Ec()),t,n),l);break;default:T+="/"}break;case 123*m:a[u++]=Qn(T)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+c:g==-1&&(T=ye(T,/\f/g,"")),p>0&&Qn(T)-d&&Zu(p>32?Ex(T+";",r,n,d-1):Ex(ye(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(Zu(P=Sx(T,t,n,u,c,i,a,v,w=[],S=[],d),s),y===123)if(c===0)Cc(T,t,P,P,w,s,d,a,S);else switch(f===99&&ft(T,3)===110?100:f){case 100:case 108:case 109:case 115:Cc(e,P,P,r&&Zu(Sx(e,P,P,0,0,i,a,v,i,w=[],d),S),i,S,d,a,r?w:S);break;default:Cc(T,P,P,P,[""],S,0,a,S)}}u=c=p=0,m=g=1,v=T="",d=o;break;case 58:d=1+Qn(T),p=h;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&sI()==125)continue}switch(T+=Af(y),y*m){case 38:g=c>0?1:(T+="\f",-1);break;case 44:a[u++]=(Qn(T)-1)*g,g=1;break;case 64:nr()===45&&(T+=Pc(Yt())),f=nr(),c=d=Qn(v=T+=uI(Ec())),y++;break;case 45:h===45&&Qn(T)==2&&(m=0)}}return s}function Sx(e,t,n,r,i,s,o,a,l,u,c){for(var d=i-1,f=i===0?s:[""],p=hv(f),h=0,m=0,x=0;h0?f[g]+" "+y:ye(y,/&\f/g,f[g])))&&(l[x++]=v);return $f(e,t,n,i===0?fv:a,l,u,c)}function dI(e,t,n){return $f(e,t,n,DC,Af(iI()),kl(e,2,-2),0)}function Ex(e,t,n,r){return $f(e,t,n,pv,kl(e,0,r),kl(e,r+1,-1),r)}function ho(e,t){for(var n="",r=hv(e),i=0;i6)switch(ft(e,t+1)){case 109:if(ft(e,t+4)!==45)break;case 102:return ye(e,/(.+:)(.+)-([^]+)/,"$1"+ve+"$2-$3$1"+hd+(ft(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zm(e,"stretch")?UC(ye(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ft(e,t+1)!==115)break;case 6444:switch(ft(e,Qn(e)-3-(~Zm(e,"!important")&&10))){case 107:return ye(e,":",":"+ve)+e;case 101:return ye(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ve+(ft(e,14)===45?"inline-":"")+"box$3$1"+ve+"$2$3$1"+Et+"$2box$3")+e}break;case 5936:switch(ft(e,t+11)){case 114:return ve+e+Et+ye(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ve+e+Et+ye(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ve+e+Et+ye(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ve+e+Et+e+e}return e}var wI=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case pv:t.return=UC(t.value,t.length);break;case FC:return ho([ya(t,{value:ye(t.value,"@","@"+ve)})],i);case fv:if(t.length)return rI(t.props,function(s){switch(nI(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ho([ya(t,{props:[ye(s,/:(read-\w+)/,":"+hd+"$1")]})],i);case"::placeholder":return ho([ya(t,{props:[ye(s,/:(plac\w+)/,":"+ve+"input-$1")]}),ya(t,{props:[ye(s,/:(plac\w+)/,":"+hd+"$1")]}),ya(t,{props:[ye(s,/:(plac\w+)/,Et+"input-$1")]})],i)}return""})}},bI=[wI],WC=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var x=m.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||bI,s={},o,a=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var x=m.getAttribute("data-emotion").split(" "),g=1;g=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var II={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$I=/[A-Z]|^ms/g,LI=/_EMO_([^_]+?)_([^]*?)_EMO_/g,XC=function(t){return t.charCodeAt(1)===45},Cx=function(t){return t!=null&&typeof t!="boolean"},ih=jC(function(e){return XC(e)?e:e.replace($I,"-$&").toLowerCase()}),Tx=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(LI,function(r,i,s){return Yn={name:i,styles:s,next:Yn},i})}return II[t]!==1&&!XC(t)&&typeof n=="number"&&n!==0?n+"px":n};function _l(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Yn={name:n.name,styles:n.styles,next:Yn},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Yn={name:r.name,styles:r.styles,next:Yn},r=r.next;var i=n.styles+";";return i}return jI(e,t,n)}case"function":{if(e!==void 0){var s=Yn,o=n(e);return Yn=s,_l(e,t,o)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function jI(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?VI:BI},Rx=function(t,n,r){var i;if(n){var s=n.shouldForwardProp;i=t.__emotion_forwardProp&&s?function(o){return t.__emotion_forwardProp(o)&&s(o)}:s}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},UI=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return QC(n,r,i),FI(function(){return YC(n,r,i)}),null},WI=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,s,o;n!==void 0&&(s=n.label,o=n.target);var a=Rx(t,n,r),l=a||Ox(i),u=!l("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&d.push("label:"+s+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,p=1;pt(qI(i)?n:i):t;return E.jsx(zI,{styles:r})}function rT(e,t){return eg(e,t)}const KI=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},QI=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:nT,StyledEngineProvider:GI,ThemeContext:vu,css:Hf,default:rT,internal_processStyles:KI,keyframes:ea},Symbol.toStringTag,{value:"Module"}));function YI(e){return Object.keys(e).length===0}function xv(e=null){const t=b.useContext(vu);return!t||YI(t)?e:t}const XI=dv();function Gf(e=XI){return xv(e)}function ZI({props:e,name:t,defaultTheme:n,themeId:r}){let i=Gf(n);return r&&(i=i[r]||i),OC({theme:i,name:t,props:e})}const JI=["sx"],e3=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:hu;return Object.keys(e).forEach(s=>{i[s]?r.systemProps[s]=e[s]:r.otherProps[s]=e[s]}),r};function wv(e){const{sx:t}=e,n=se(e,JI),{systemProps:r,otherProps:i}=e3(n);let s;return Array.isArray(t)?s=[r,...t]:typeof t=="function"?s=(...o)=>{const a=t(...o);return Zr(a)?A({},r,a):r}:s=A({},r,t),A({},i,{sx:s})}const t3=Object.freeze(Object.defineProperty({__proto__:null,default:mu,extendSxProp:wv,unstable_createStyleFunctionSx:$C,unstable_defaultSxConfig:hu},Symbol.toStringTag,{value:"Module"}));function n3(e,t){return A({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ge={},iT={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(iT);var bv=iT.exports;const r3=Rr(b5),i3=Rr(X5);var sT=bv;Object.defineProperty(Ge,"__esModule",{value:!0});var Pt=Ge.alpha=uT;Ge.blend=m3;Ge.colorChannel=void 0;var ng=Ge.darken=Ev;Ge.decomposeColor=Cn;Ge.emphasize=cT;var s3=Ge.getContrastRatio=c3;Ge.getLuminance=md;Ge.hexToRgb=oT;Ge.hslToRgb=lT;var rg=Ge.lighten=Pv;Ge.private_safeAlpha=d3;Ge.private_safeColorChannel=void 0;Ge.private_safeDarken=f3;Ge.private_safeEmphasize=h3;Ge.private_safeLighten=p3;Ge.recomposeColor=ta;Ge.rgbToHex=u3;var Ax=sT(r3),o3=sT(i3);function Sv(e,t=0,n=1){return(0,o3.default)(e,t,n)}function oT(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function a3(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Cn(e){if(e.type)return e;if(e.charAt(0)==="#")return Cn(oT(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Ax.default)(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error((0,Ax.default)(10,i))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:i}}const aT=e=>{const t=Cn(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Ge.colorChannel=aT;const l3=(e,t)=>{try{return aT(e)}catch{return e}};Ge.private_safeColorChannel=l3;function ta(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,s)=>s<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function u3(e){if(e.indexOf("#")===0)return e;const{values:t}=Cn(e);return`#${t.map((n,r)=>a3(r===3?Math.round(255*n):n)).join("")}`}function lT(e){e=Cn(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),o=(u,c=(u+n/30)%12)=>i-s*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),ta({type:a,values:l})}function md(e){e=Cn(e);let t=e.type==="hsl"||e.type==="hsla"?Cn(lT(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c3(e,t){const n=md(e),r=md(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function uT(e,t){return e=Cn(e),t=Sv(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ta(e)}function d3(e,t,n){try{return uT(e,t)}catch{return e}}function Ev(e,t){if(e=Cn(e),t=Sv(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ta(e)}function f3(e,t,n){try{return Ev(e,t)}catch{return e}}function Pv(e,t){if(e=Cn(e),t=Sv(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ta(e)}function p3(e,t,n){try{return Pv(e,t)}catch{return e}}function cT(e,t=.15){return md(e)>.5?Ev(e,t):Pv(e,t)}function h3(e,t,n){try{return cT(e,t)}catch{return e}}function m3(e,t,n,r=1){const i=(l,u)=>Math.round((l**(1/r)*(1-n)+u**(1/r)*n)**r),s=Cn(e),o=Cn(t),a=[i(s.values[0],o.values[0]),i(s.values[1],o.values[1]),i(s.values[2],o.values[2])];return ta({type:"rgb",values:a})}const g3={black:"#000",white:"#fff"},Ol=g3,v3={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},y3=v3,x3={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Rs=x3,w3={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},As=w3,b3={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},xa=b3,S3={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Is=S3,E3={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},$s=E3,P3={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ls=P3,C3=["mode","contrastThreshold","tonalOffset"],Ix={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ol.white,default:Ol.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},oh={text:{primary:Ol.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ol.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function $x(e,t,n,r){const i=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=rg(e.main,i):t==="dark"&&(e.dark=ng(e.main,s)))}function T3(e="light"){return e==="dark"?{main:Is[200],light:Is[50],dark:Is[400]}:{main:Is[700],light:Is[400],dark:Is[800]}}function k3(e="light"){return e==="dark"?{main:Rs[200],light:Rs[50],dark:Rs[400]}:{main:Rs[500],light:Rs[300],dark:Rs[700]}}function M3(e="light"){return e==="dark"?{main:As[500],light:As[300],dark:As[700]}:{main:As[700],light:As[400],dark:As[800]}}function _3(e="light"){return e==="dark"?{main:$s[400],light:$s[300],dark:$s[700]}:{main:$s[700],light:$s[500],dark:$s[900]}}function O3(e="light"){return e==="dark"?{main:Ls[400],light:Ls[300],dark:Ls[700]}:{main:Ls[800],light:Ls[500],dark:Ls[900]}}function R3(e="light"){return e==="dark"?{main:xa[400],light:xa[300],dark:xa[700]}:{main:"#ed6c02",light:xa[500],dark:xa[900]}}function A3(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=se(e,C3),s=e.primary||T3(t),o=e.secondary||k3(t),a=e.error||M3(t),l=e.info||_3(t),u=e.success||O3(t),c=e.warning||R3(t);function d(m){return s3(m,oh.text.primary)>=n?oh.text.primary:Ix.text.primary}const f=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:v=700})=>{if(m=A({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(Cl(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(Cl(12,x?` (${x})`:"",JSON.stringify(m.main)));return $x(m,"light",y,r),$x(m,"dark",v,r),m.contrastText||(m.contrastText=d(m.main)),m},p={dark:oh,light:Ix};return tr(A({common:A({},Ol),mode:t,primary:f({color:s,name:"primary"}),secondary:f({color:o,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:u,name:"success"}),grey:y3,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),i)}const I3=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function $3(e){return Math.round(e*1e5)/1e5}const Lx={textTransform:"uppercase"},jx='"Roboto", "Helvetica", "Arial", sans-serif';function L3(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=jx,fontSize:i=14,fontWeightLight:s=300,fontWeightRegular:o=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=se(n,I3),p=i/14,h=d||(g=>`${g/u*p}rem`),m=(g,y,v,w,S)=>A({fontFamily:r,fontWeight:g,fontSize:h(y),lineHeight:v},r===jx?{letterSpacing:`${$3(w/y)}em`}:{},S,c),x={h1:m(s,96,1.167,-1.5),h2:m(s,60,1.2,-.5),h3:m(o,48,1.167,0),h4:m(o,34,1.235,.25),h5:m(o,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(o,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(o,16,1.5,.15),body2:m(o,14,1.43,.15),button:m(a,14,1.75,.4,Lx),caption:m(o,12,1.66,.4),overline:m(o,12,2.66,1,Lx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return tr(A({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:s,fontWeightRegular:o,fontWeightMedium:a,fontWeightBold:l},x),f,{clone:!1})}const j3=.2,D3=.14,F3=.12;function Oe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${j3})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${D3})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${F3})`].join(",")}const N3=["none",Oe(0,2,1,-1,0,1,1,0,0,1,3,0),Oe(0,3,1,-2,0,2,2,0,0,1,5,0),Oe(0,3,3,-2,0,3,4,0,0,1,8,0),Oe(0,2,4,-1,0,4,5,0,0,1,10,0),Oe(0,3,5,-1,0,5,8,0,0,1,14,0),Oe(0,3,5,-1,0,6,10,0,0,1,18,0),Oe(0,4,5,-2,0,7,10,1,0,2,16,1),Oe(0,5,5,-3,0,8,10,1,0,3,14,2),Oe(0,5,6,-3,0,9,12,1,0,3,16,2),Oe(0,6,6,-3,0,10,14,1,0,4,18,3),Oe(0,6,7,-4,0,11,15,1,0,4,20,3),Oe(0,7,8,-4,0,12,17,2,0,5,22,4),Oe(0,7,8,-4,0,13,19,2,0,5,24,4),Oe(0,7,9,-4,0,14,21,2,0,5,26,4),Oe(0,8,9,-5,0,15,22,2,0,6,28,5),Oe(0,8,10,-5,0,16,24,2,0,6,30,5),Oe(0,8,11,-5,0,17,26,2,0,6,32,5),Oe(0,9,11,-5,0,18,28,2,0,7,34,6),Oe(0,9,12,-6,0,19,29,2,0,7,36,6),Oe(0,10,13,-6,0,20,31,3,0,8,38,7),Oe(0,10,13,-6,0,21,33,3,0,8,40,7),Oe(0,10,14,-6,0,22,35,3,0,8,42,7),Oe(0,11,14,-7,0,23,36,3,0,9,44,8),Oe(0,11,15,-7,0,24,38,3,0,9,46,8)],z3=["duration","easing","delay"],V3={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},B3={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Dx(e){return`${Math.round(e)}ms`}function U3(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function W3(e){const t=A({},V3,e.easing),n=A({},B3,e.duration);return A({getAutoHeightDuration:U3,create:(i=["all"],s={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:l=0}=s;return se(s,z3),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof o=="string"?o:Dx(o)} ${a} ${typeof l=="string"?l:Dx(l)}`).join(",")}},e,{easing:t,duration:n})}const H3={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},G3=H3,q3=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Cv(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:s={}}=e,o=se(e,q3);if(e.vars)throw new Error(Cl(18));const a=A3(r),l=dv(e);let u=tr(l,{mixins:n3(l.breakpoints,n),palette:a,shadows:N3.slice(),typography:L3(a,s),transitions:W3(i),zIndex:A({},G3)});return u=tr(u,o),u=t.reduce((c,d)=>tr(c,d),u),u.unstable_sxConfig=A({},hu,o==null?void 0:o.unstable_sxConfig),u.unstable_sx=function(d){return mu({sx:d,theme:this})},u}const K3=Cv(),qf=K3,ws="$$material";function ut({props:e,name:t}){return ZI({props:e,name:t,defaultTheme:qf,themeId:ws})}var yu={},ah={exports:{}},Fx;function Q3(){return Fx||(Fx=1,function(e){function t(n,r){if(n==null)return{};var i={},s=Object.keys(n),o,a;for(a=0;a=0)&&(i[o]=n[o]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ah)),ah.exports}const Y3=Rr(QI),X3=Rr(w5),Z3=Rr(k5),J3=Rr(T5),e4=Rr(HA),t4=Rr(t3);var na=bv;Object.defineProperty(yu,"__esModule",{value:!0});var n4=yu.default=m4;yu.shouldForwardProp=Tc;yu.systemDefaultTheme=void 0;var cn=na(tT()),ig=na(Q3()),Nx=u4(Y3),r4=X3;na(Z3);na(J3);var i4=na(e4),s4=na(t4);const o4=["ownerState"],a4=["variants"],l4=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function dT(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(dT=function(r){return r?n:t})(e)}function u4(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=dT(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(r,s,o):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function c4(e){return Object.keys(e).length===0}function d4(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Tc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const f4=yu.systemDefaultTheme=(0,i4.default)(),p4=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ju({defaultTheme:e,theme:t,themeId:n}){return c4(t)?e:t[n]||t}function h4(e){return e?(t,n)=>n[e]:null}function kc(e,t){let{ownerState:n}=t,r=(0,ig.default)(t,o4);const i=typeof e=="function"?e((0,cn.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(s=>kc(s,(0,cn.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:s=[]}=i;let a=(0,ig.default)(i,a4);return s.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props((0,cn.default)({ownerState:n},r,n)):Object.keys(l.props).forEach(c=>{(n==null?void 0:n[c])!==l.props[c]&&r[c]!==l.props[c]&&(u=!1)}),u&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style((0,cn.default)({ownerState:n},r,n)):l.style))}),a}return i}function m4(e={}){const{themeId:t,defaultTheme:n=f4,rootShouldForwardProp:r=Tc,slotShouldForwardProp:i=Tc}=e,s=o=>(0,s4.default)((0,cn.default)({},o,{theme:Ju((0,cn.default)({},o,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(o,a={})=>{(0,Nx.internal_processStyles)(o,S=>S.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=h4(p4(u))}=a,p=(0,ig.default)(a,l4),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,m=d||!1;let x,g=Tc;u==="Root"||u==="root"?g=r:u?g=i:d4(o)&&(g=void 0);const y=(0,Nx.default)(o,(0,cn.default)({shouldForwardProp:g,label:x},p)),v=S=>typeof S=="function"&&S.__emotion_real!==S||(0,r4.isPlainObject)(S)?P=>kc(S,(0,cn.default)({},P,{theme:Ju({theme:P.theme,defaultTheme:n,themeId:t})})):S,w=(S,...P)=>{let T=v(S);const C=P?P.map(v):[];l&&f&&C.push(R=>{const I=Ju((0,cn.default)({},R,{defaultTheme:n,themeId:t}));if(!I.components||!I.components[l]||!I.components[l].styleOverrides)return null;const $=I.components[l].styleOverrides,D={};return Object.entries($).forEach(([V,N])=>{D[V]=kc(N,(0,cn.default)({},R,{theme:I}))}),f(R,D)}),l&&!h&&C.push(R=>{var I;const $=Ju((0,cn.default)({},R,{defaultTheme:n,themeId:t})),D=$==null||(I=$.components)==null||(I=I[l])==null?void 0:I.variants;return kc({variants:D},(0,cn.default)({},R,{theme:$}))}),m||C.push(s);const M=C.length-P.length;if(Array.isArray(S)&&M>0){const R=new Array(M).fill("");T=[...S,...R],T.raw=[...S.raw,...R]}const k=y(T,...C);return o.muiName&&(k.muiName=o.muiName),k};return y.withConfig&&(w.withConfig=y.withConfig),w}}function g4(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const v4=e=>g4(e)&&e!=="classes",fT=v4,xe=n4({themeId:ws,defaultTheme:qf,rootShouldForwardProp:fT});function y4(e){return at("MuiSvgIcon",e)}et("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const x4=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],w4=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${Q(t)}`,`fontSize${Q(n)}`]};return vt(i,y4,r)},b4=xe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Q(n.color)}`],t[`fontSize${Q(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,s,o,a,l,u,c,d,f,p,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(o=s.pxToRem)==null?void 0:o.call(s,20))||"1.25rem",medium:((a=e.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:(d=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?d:{action:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.disabled,inherit:void 0}[t.color]}}),sg=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiSvgIcon"}),{children:i,className:s,color:o="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=se(r,x4),h=b.isValidElement(i)&&i.type==="svg",m=A({},r,{color:o,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h}),x={};c||(x.viewBox=f);const g=w4(m);return E.jsxs(b4,A({as:a,className:re(g.root,s),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},x,p,h&&i.props,{ownerState:m,children:[h?i.props.children:i,d?E.jsx("title",{children:d}):null]}))});sg.muiName="SvgIcon";function nn(e,t){function n(r,i){return E.jsx(sg,A({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=sg.muiName,b.memo(b.forwardRef(n))}const S4={configure:e=>{ov.configure(e)}},E4=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Q,createChainedFunction:Ym,createSvgIcon:nn,debounce:kC,deprecatedPropType:M5,isMuiElement:_5,ownerDocument:xr,ownerWindow:Zo,requirePropFactory:O5,setRef:fd,unstable_ClassNameGenerator:S4,unstable_useEnhancedEffect:Tl,unstable_useId:A5,unsupportedProp:I5,useControlled:$5,useEventCallback:Zi,useForkRef:Pn,useIsFocusVisible:sv},Symbol.toStringTag,{value:"Module"})),pT=nn(E.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),P4=nn(E.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),C4=nn(E.jsx("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub"),T4=nn(E.jsx("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram"),k4=nn(E.jsx("path",{d:"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"}),"LinkedIn");function M4({styles:e,themeId:t,defaultTheme:n={}}){const r=Gf(n),i=typeof e=="function"?e(t&&r[t]||r):e;return E.jsx(nT,{styles:i})}const _4=["className","component"];function O4(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,s=rT("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(mu);return b.forwardRef(function(l,u){const c=Gf(n),d=wv(l),{className:f,component:p="div"}=d,h=se(d,_4);return E.jsx(s,A({as:p,ref:u,className:re(f,i?i(r):r),theme:t&&c[t]||c},h))})}function R4(e,t,n,r,i){const[s,o]=b.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return Tl(()=>{let a=!0;if(!n)return;const l=n(e),u=()=>{a&&o(l.matches)};return u(),l.addListener(u),()=>{a=!1,l.removeListener(u)}},[e,n]),s}const hT=b.useSyncExternalStore;function A4(e,t,n,r,i){const s=b.useCallback(()=>t,[t]),o=b.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return s},[s,e,r,i,n]),[a,l]=b.useMemo(()=>{if(n===null)return[s,()=>()=>{}];const c=n(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[s,n,e]);return hT(l,a,o)}function I4(e,t={}){const n=xv(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:s=r?window.matchMedia:null,ssrMatchMedia:o=null,noSsr:a=!1}=OC({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(hT!==void 0?A4:R4)(l,i,s,o,a)}const $4=b.createContext(null),mT=$4;function gT(){return b.useContext(mT)}const L4=typeof Symbol=="function"&&Symbol.for,j4=L4?Symbol.for("mui.nested"):"__THEME_NESTED__";function D4(e,t){return typeof t=="function"?t(e):A({},e,t)}function F4(e){const{children:t,theme:n}=e,r=gT(),i=b.useMemo(()=>{const s=r===null?n:D4(r,n);return s!=null&&(s[j4]=r!==null),s},[n,r]);return E.jsx(mT.Provider,{value:i,children:t})}const N4=["value"],vT=b.createContext();function z4(e){let{value:t}=e,n=se(e,N4);return E.jsx(vT.Provider,A({value:t??!0},n))}const V4=()=>{const e=b.useContext(vT);return e??!1},zx={};function Vx(e,t,n,r=!1){return b.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const s=n(i),o=e?A({},t,{[e]:s}):s;return r?()=>o:o}return e?A({},t,{[e]:n}):A({},t,n)},[e,t,n,r])}function B4(e){const{children:t,theme:n,themeId:r}=e,i=xv(zx),s=gT()||zx,o=Vx(r,i,n),a=Vx(r,s,n,!0),l=o.direction==="rtl";return E.jsx(F4,{theme:a,children:E.jsx(vu.Provider,{value:o,children:E.jsx(z4,{value:l,children:t})})})}function Tv(){const e=Gf(qf);return e[ws]||e}const U4=["theme"];function W4(e){let{theme:t}=e,n=se(e,U4);const r=t[ws];return E.jsx(B4,A({},n,{themeId:r?ws:void 0,theme:r||t}))}const Bx=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function yT(e){return ut}function og(e,t){return og=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},og(e,t)}function xT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,og(e,t)}const Ux={disabled:!1},gd=W.createContext(null);var H4=function(t){return t.scrollTop},Aa="unmounted",Wi="exited",Hi="entering",zs="entered",ag="exiting",Ir=function(e){xT(t,e);function t(r,i){var s;s=e.call(this,r,i)||this;var o=i,a=o&&!o.isMounting?r.enter:r.appear,l;return s.appearStatus=null,r.in?a?(l=Wi,s.appearStatus=Hi):l=zs:r.unmountOnExit||r.mountOnEnter?l=Aa:l=Wi,s.state={status:l},s.nextCallback=null,s}t.getDerivedStateFromProps=function(i,s){var o=i.in;return o&&s.status===Aa?{status:Wi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var s=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==Hi&&o!==zs&&(s=Hi):(o===Hi||o===zs)&&(s=ag)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,s,o,a;return s=o=a=i,i!=null&&typeof i!="number"&&(s=i.exit,o=i.enter,a=i.appear!==void 0?i.appear:o),{exit:s,enter:o,appear:a}},n.updateStatus=function(i,s){if(i===void 0&&(i=!1),s!==null)if(this.cancelNextCallback(),s===Hi){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Xu.findDOMNode(this);o&&H4(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Wi&&this.setState({status:Aa})},n.performEnter=function(i){var s=this,o=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[Xu.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!o||Ux.disabled){this.safeSetState({status:zs},function(){s.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Hi},function(){s.props.onEntering(u,c),s.onTransitionEnd(f,function(){s.safeSetState({status:zs},function(){s.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,s=this.props.exit,o=this.getTimeouts(),a=this.props.nodeRef?void 0:Xu.findDOMNode(this);if(!s||Ux.disabled){this.safeSetState({status:Wi},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:ag},function(){i.props.onExiting(a),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Wi},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,s){s=this.setNextCallback(s),this.setState(i,s)},n.setNextCallback=function(i){var s=this,o=!0;return this.nextCallback=function(a){o&&(o=!1,s.nextCallback=null,i(a))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},n.onTransitionEnd=function(i,s){this.setNextCallback(s);var o=this.props.nodeRef?this.props.nodeRef.current:Xu.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!o||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Aa)return null;var s=this.props,o=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var a=se(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return W.createElement(gd.Provider,{value:null},typeof o=="function"?o(i,a):W.cloneElement(W.Children.only(o),a))},t}(W.Component);Ir.contextType=gd;Ir.propTypes={};function js(){}Ir.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:js,onEntering:js,onEntered:js,onExit:js,onExiting:js,onExited:js};Ir.UNMOUNTED=Aa;Ir.EXITED=Wi;Ir.ENTERING=Hi;Ir.ENTERED=zs;Ir.EXITING=ag;const wT=Ir;function G4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kv(e,t){var n=function(s){return t&&b.isValidElement(s)?t(s):s},r=Object.create(null);return e&&b.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function q4(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),i=[];for(var s in e)s in t?i.length&&(r[s]=i,i=[]):i.push(s);var o,a={};for(var l in t){if(r[l])for(o=0;oe.scrollTop;function vd(e,t){var n,r;const{timeout:i,easing:s,style:o={}}=e;return{duration:(n=o.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=o.transitionTimingFunction)!=null?r:typeof s=="object"?s[t.mode]:s,delay:o.transitionDelay}}function J4(e){return at("MuiPaper",e)}et("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const e$=["className","component","elevation","square","variant"],t$=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return vt(s,J4,i)},n$=xe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return A({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&A({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Pt("#fff",Bx(t.elevation))}, ${Pt("#fff",Bx(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),r$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiPaper"}),{className:i,component:s="div",elevation:o=1,square:a=!1,variant:l="elevation"}=r,u=se(r,e$),c=A({},r,{component:s,elevation:o,square:a,variant:l}),d=t$(c);return E.jsx(n$,A({as:s,ownerState:c,className:re(d.root,i),ref:n},u))}),Rl=r$;function i$(e){return typeof e=="string"}function ST(e,t,n){return e===void 0||i$(e)?t:A({},t,{ownerState:A({},t.ownerState,n)})}function ET(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function PT(e,t,n){return typeof e=="function"?e(t,n):e}function Wx(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function CT(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:s}=e;if(!t){const p=re(n==null?void 0:n.className,s,i==null?void 0:i.className,r==null?void 0:r.className),h=A({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=A({},n,i,r);return p.length>0&&(m.className=p),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:void 0}}const o=ET(A({},i,r)),a=Wx(r),l=Wx(i),u=t(o),c=re(u==null?void 0:u.className,n==null?void 0:n.className,s,i==null?void 0:i.className,r==null?void 0:r.className),d=A({},u==null?void 0:u.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),f=A({},u,n,l,a);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const s$=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Hx(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:s=!1}=e,o=se(e,s$),a=s?{}:PT(r,i),{props:l,internalRef:u}=CT(A({},o,{externalSlotProps:a})),c=Pn(u,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return ST(n,A({},l,{ref:c}),i)}const o$=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],a$=["component","slots","slotProps"],l$=["component"];function lg(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:s,getSlotOwnerState:o,internalForwardedProps:a}=t,l=se(t,o$),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=s,f=se(s,a$),p=c[e]||r,h=PT(d[e],i),m=CT(A({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:x},internalRef:g}=m,y=se(m.props,l$),v=Pn(g,h==null?void 0:h.ref,t.ref),w=o?o(y):{},S=A({},i,w),P=e==="root"?x||u:x,T=ST(p,A({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,y,P&&{as:P},{ref:v}),S);return Object.keys(w).forEach(C=>{delete T[C]}),[p,T]}function u$(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:s,rippleSize:o,in:a,onExited:l,timeout:u}=e,[c,d]=b.useState(!1),f=re(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+s,left:-(o/2)+i},h=re(n.child,c&&n.childLeaving,r&&n.childPulsate);return!a&&!c&&d(!0),b.useEffect(()=>{if(!a&&l!=null){const m=setTimeout(l,u);return()=>{clearTimeout(m)}}},[l,a,u]),E.jsx("span",{className:f,style:p,children:E.jsx("span",{className:h})})}const fn=et("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),c$=["center","classes","className"];let Kf=e=>e,Gx,qx,Kx,Qx;const ug=550,d$=80,f$=ea(Gx||(Gx=Kf` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),p$=ea(qx||(qx=Kf` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),h$=ea(Kx||(Kx=Kf` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),m$=xe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),g$=xe(u$,{name:"MuiTouchRipple",slot:"Ripple"})(Qx||(Qx=Kf` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),fn.rippleVisible,f$,ug,({theme:e})=>e.transitions.easing.easeInOut,fn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,fn.child,fn.childLeaving,p$,ug,({theme:e})=>e.transitions.easing.easeInOut,fn.childPulsate,h$,({theme:e})=>e.transitions.easing.easeInOut),v$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:s={},className:o}=r,a=se(r,c$),[l,u]=b.useState([]),c=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.useRef(!1),p=F5(),h=b.useRef(null),m=b.useRef(null),x=b.useCallback(w=>{const{pulsate:S,rippleX:P,rippleY:T,rippleSize:C,cb:M}=w;u(k=>[...k,E.jsx(g$,{classes:{ripple:re(s.ripple,fn.ripple),rippleVisible:re(s.rippleVisible,fn.rippleVisible),ripplePulsate:re(s.ripplePulsate,fn.ripplePulsate),child:re(s.child,fn.child),childLeaving:re(s.childLeaving,fn.childLeaving),childPulsate:re(s.childPulsate,fn.childPulsate)},timeout:ug,pulsate:S,rippleX:P,rippleY:T,rippleSize:C},c.current)]),c.current+=1,d.current=M},[s]),g=b.useCallback((w={},S={},P=()=>{})=>{const{pulsate:T=!1,center:C=i||S.pulsate,fakeElement:M=!1}=S;if((w==null?void 0:w.type)==="mousedown"&&f.current){f.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(f.current=!0);const k=M?null:m.current,R=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,$,D;if(C||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)I=Math.round(R.width/2),$=Math.round(R.height/2);else{const{clientX:V,clientY:N}=w.touches&&w.touches.length>0?w.touches[0]:w;I=Math.round(V-R.left),$=Math.round(N-R.top)}if(C)D=Math.sqrt((2*R.width**2+R.height**2)/3),D%2===0&&(D+=1);else{const V=Math.max(Math.abs((k?k.clientWidth:0)-I),I)*2+2,N=Math.max(Math.abs((k?k.clientHeight:0)-$),$)*2+2;D=Math.sqrt(V**2+N**2)}w!=null&&w.touches?h.current===null&&(h.current=()=>{x({pulsate:T,rippleX:I,rippleY:$,rippleSize:D,cb:P})},p.start(d$,()=>{h.current&&(h.current(),h.current=null)})):x({pulsate:T,rippleX:I,rippleY:$,rippleSize:D,cb:P})},[i,x,p]),y=b.useCallback(()=>{g({},{pulsate:!0})},[g]),v=b.useCallback((w,S)=>{if(p.clear(),(w==null?void 0:w.type)==="touchend"&&h.current){h.current(),h.current=null,p.start(0,()=>{v(w,S)});return}h.current=null,u(P=>P.length>0?P.slice(1):P),d.current=S},[p]);return b.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:v}),[y,g,v]),E.jsx(m$,A({className:re(fn.root,s.root,o),ref:m},a,{children:E.jsx(Z4,{component:null,exit:!0,children:l})}))}),y$=v$;function x$(e){return at("MuiButtonBase",e)}const w$=et("MuiButtonBase",["root","disabled","focusVisible"]),b$=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],S$=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,o=vt({root:["root",t&&"disabled",n&&"focusVisible"]},x$,i);return n&&r&&(o.root+=` ${r}`),o},E$=xe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${w$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),P$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:s=!1,children:o,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:h,onClick:m,onContextMenu:x,onDragLeave:g,onFocus:y,onFocusVisible:v,onKeyDown:w,onKeyUp:S,onMouseDown:P,onMouseLeave:T,onMouseUp:C,onTouchEnd:M,onTouchMove:k,onTouchStart:R,tabIndex:I=0,TouchRippleProps:$,touchRippleRef:D,type:V}=r,N=se(r,b$),q=b.useRef(null),O=b.useRef(null),L=Pn(O,D),{isFocusVisibleRef:B,onFocus:K,onBlur:ne,ref:Ye}=sv(),[ge,ct]=b.useState(!1);u&&ge&&ct(!1),b.useImperativeHandle(i,()=>({focusVisible:()=>{ct(!0),q.current.focus()}}),[]);const[ie,U]=b.useState(!1);b.useEffect(()=>{U(!0)},[]);const ae=ie&&!c&&!u;b.useEffect(()=>{ge&&f&&!c&&ie&&O.current.pulsate()},[c,f,ge,ie]);function pe(ee,Ru,Mp=d){return Zi(Au=>(Ru&&Ru(Au),!Mp&&O.current&&O.current[ee](Au),!0))}const _e=pe("start",P),je=pe("stop",x),tt=pe("stop",g),yt=pe("stop",C),sn=pe("stop",ee=>{ge&&ee.preventDefault(),T&&T(ee)}),Di=pe("start",R),xt=pe("stop",M),wt=pe("stop",k),Mn=pe("stop",ee=>{ne(ee),B.current===!1&&ct(!1),h&&h(ee)},!1),Ms=Zi(ee=>{q.current||(q.current=ee.currentTarget),K(ee),B.current===!0&&(ct(!0),v&&v(ee)),y&&y(ee)}),Fi=()=>{const ee=q.current;return l&&l!=="button"&&!(ee.tagName==="A"&&ee.href)},Ni=b.useRef(!1),Cp=Zi(ee=>{f&&!Ni.current&&ge&&O.current&&ee.key===" "&&(Ni.current=!0,O.current.stop(ee,()=>{O.current.start(ee)})),ee.target===ee.currentTarget&&Fi()&&ee.key===" "&&ee.preventDefault(),w&&w(ee),ee.target===ee.currentTarget&&Fi()&&ee.key==="Enter"&&!u&&(ee.preventDefault(),m&&m(ee))}),_s=Zi(ee=>{f&&ee.key===" "&&O.current&&ge&&!ee.defaultPrevented&&(Ni.current=!1,O.current.stop(ee,()=>{O.current.pulsate(ee)})),S&&S(ee),m&&ee.target===ee.currentTarget&&Fi()&&ee.key===" "&&!ee.defaultPrevented&&m(ee)});let zi=l;zi==="button"&&(N.href||N.to)&&(zi=p);const $r={};zi==="button"?($r.type=V===void 0?"button":V,$r.disabled=u):(!N.href&&!N.to&&($r.role="button"),u&&($r["aria-disabled"]=u));const Tp=Pn(n,Ye,q),Ou=A({},r,{centerRipple:s,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:I,focusVisible:ge}),kp=S$(Ou);return E.jsxs(E$,A({as:zi,className:re(kp.root,a),ownerState:Ou,onBlur:Mn,onClick:m,onContextMenu:je,onFocus:Ms,onKeyDown:Cp,onKeyUp:_s,onMouseDown:_e,onMouseLeave:sn,onMouseUp:yt,onDragLeave:tt,onTouchEnd:xt,onTouchMove:wt,onTouchStart:Di,ref:Tp,tabIndex:u?-1:I,type:V},$r,N,{children:[o,ae?E.jsx(y$,A({ref:L,center:s},$)):null]}))}),cg=P$;function C$(e){return at("MuiAlert",e)}const T$=et("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Yx=T$;function k$(e){return at("MuiIconButton",e)}const M$=et("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),_$=["edge","children","className","color","disabled","disableFocusRipple","size"],O$=e=>{const{classes:t,disabled:n,color:r,edge:i,size:s}=e,o={root:["root",n&&"disabled",r!=="default"&&`color${Q(r)}`,i&&`edge${Q(i)}`,`size${Q(s)}`]};return vt(o,k$,t)},R$=xe(cg,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Q(n.color)}`],n.edge&&t[`edge${Q(n.edge)}`],t[`size${Q(n.size)}`]]}})(({theme:e,ownerState:t})=>A({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return A({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&A({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":A({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${M$.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),A$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiIconButton"}),{edge:i=!1,children:s,className:o,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,d=se(r,_$),f=A({},r,{edge:i,color:a,disabled:l,disableFocusRipple:u,size:c}),p=O$(f);return E.jsx(R$,A({className:re(p.root,o),centerRipple:!0,focusRipple:!u,disabled:l,ref:n},d,{ownerState:f,children:s}))}),yd=A$,I$=nn(E.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),$$=nn(E.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),L$=nn(E.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),j$=nn(E.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),D$=nn(E.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),F$=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],N$=yT(),z$=e=>{const{variant:t,color:n,severity:r,classes:i}=e,s={root:["root",`color${Q(n||r)}`,`${t}${Q(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return vt(s,C$,i)},V$=xe(Rl,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Q(n.color||n.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?ng:rg,n=e.palette.mode==="light"?rg:ng;return A({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Yx.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${Yx.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.dark).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:A({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)})}))]})}),B$=xe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),U$=xe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Xx=xe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Zx={success:E.jsx(I$,{fontSize:"inherit"}),warning:E.jsx($$,{fontSize:"inherit"}),error:E.jsx(L$,{fontSize:"inherit"}),info:E.jsx(j$,{fontSize:"inherit"})},W$=b.forwardRef(function(t,n){const r=N$({props:t,name:"MuiAlert"}),{action:i,children:s,className:o,closeText:a="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:f=Zx,onClose:p,role:h="alert",severity:m="success",slotProps:x={},slots:g={},variant:y="standard"}=r,v=se(r,F$),w=A({},r,{color:l,severity:m,variant:y,colorSeverity:l||m}),S=z$(w),P={slots:A({closeButton:u.CloseButton,closeIcon:u.CloseIcon},g),slotProps:A({},c,x)},[T,C]=lg("closeButton",{elementType:yd,externalForwardedProps:P,ownerState:w}),[M,k]=lg("closeIcon",{elementType:D$,externalForwardedProps:P,ownerState:w});return E.jsxs(V$,A({role:h,elevation:0,ownerState:w,className:re(S.root,o),ref:n},v,{children:[d!==!1?E.jsx(B$,{ownerState:w,className:S.icon,children:d||f[m]||Zx[m]}):null,E.jsx(U$,{ownerState:w,className:S.message,children:s}),i!=null?E.jsx(Xx,{ownerState:w,className:S.action,children:i}):null,i==null&&p?E.jsx(Xx,{ownerState:w,className:S.action,children:E.jsx(T,A({size:"small","aria-label":a,title:a,color:"inherit",onClick:p},C,{children:E.jsx(M,A({fontSize:"small"},k))}))}):null]}))}),H$=W$;function G$(e){return at("MuiTypography",e)}et("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const q$=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],K$=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:s,classes:o}=e,a={root:["root",s,e.align!=="inherit"&&`align${Q(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return vt(a,G$,o)},Q$=xe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Q(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>A({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Jx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Y$={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},X$=e=>Y$[e]||e,Z$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiTypography"}),i=X$(r.color),s=wv(A({},r,{color:i})),{align:o="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=Jx}=s,h=se(s,q$),m=A({},s,{align:o,color:i,className:a,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:p}),x=l||(d?"p":p[f]||Jx[f])||"span",g=K$(m);return E.jsx(Q$,A({as:x,ref:n,ownerState:m,className:re(g.root,a)},h))}),ce=Z$,J$=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function eL(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function tL(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function nL(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||tL(e))}function rL(e){const t=[],n=[];return Array.from(e.querySelectorAll(J$)).forEach((r,i)=>{const s=eL(r);s===-1||!nL(r)||(s===0?t.push(r):n.push({documentOrder:i,tabIndex:s,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function iL(){return!0}function sL(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:s=rL,isEnabled:o=iL,open:a}=e,l=b.useRef(!1),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(!1),h=b.useRef(null),m=Pn(t.ref,h),x=b.useRef(null);b.useEffect(()=>{!a||!h.current||(p.current=!n)},[n,a]),b.useEffect(()=>{if(!a||!h.current)return;const v=xr(h.current);return h.current.contains(v.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),p.current&&h.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),b.useEffect(()=>{if(!a||!h.current)return;const v=xr(h.current),w=T=>{x.current=T,!(r||!o()||T.key!=="Tab")&&v.activeElement===h.current&&T.shiftKey&&(l.current=!0,c.current&&c.current.focus())},S=()=>{const T=h.current;if(T===null)return;if(!v.hasFocus()||!o()||l.current){l.current=!1;return}if(T.contains(v.activeElement)||r&&v.activeElement!==u.current&&v.activeElement!==c.current)return;if(v.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let C=[];if((v.activeElement===u.current||v.activeElement===c.current)&&(C=s(h.current)),C.length>0){var M,k;const R=!!((M=x.current)!=null&&M.shiftKey&&((k=x.current)==null?void 0:k.key)==="Tab"),I=C[0],$=C[C.length-1];typeof I!="string"&&typeof $!="string"&&(R?$.focus():I.focus())}else T.focus()};v.addEventListener("focusin",S),v.addEventListener("keydown",w,!0);const P=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&S()},50);return()=>{clearInterval(P),v.removeEventListener("focusin",S),v.removeEventListener("keydown",w,!0)}},[n,r,i,o,a,s]);const g=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0,f.current=v.target;const w=t.props.onFocus;w&&w(v)},y=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0};return E.jsxs(b.Fragment,{children:[E.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:m,onFocus:g}),E.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}function oL(e){return typeof e=="function"?e():e}const aL=b.forwardRef(function(t,n){const{children:r,container:i,disablePortal:s=!1}=t,[o,a]=b.useState(null),l=Pn(b.isValidElement(r)?r.ref:null,n);if(Tl(()=>{s||a(oL(i)||document.body)},[i,s]),Tl(()=>{if(o&&!s)return fd(n,o),()=>{fd(n,null)}},[n,o,s]),s){if(b.isValidElement(r)){const u={ref:l};return b.cloneElement(r,u)}return E.jsx(b.Fragment,{children:r})}return E.jsx(b.Fragment,{children:o&&df.createPortal(r,o)})});function lL(e){const t=xr(e);return t.body===e?Zo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function qa(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ew(e){return parseInt(Zo(e).getComputedStyle(e).paddingRight,10)||0}function uL(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function tw(e,t,n,r,i){const s=[t,n,...r];[].forEach.call(e.children,o=>{const a=s.indexOf(o)===-1,l=!uL(o);a&&l&&qa(o,i)})}function lh(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function cL(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(lL(r)){const o=G5(xr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ew(r)+o}px`;const a=xr(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${ew(l)+o}px`})}let s;if(r.parentNode instanceof DocumentFragment)s=xr(r).body;else{const o=r.parentElement,a=Zo(r);s=(o==null?void 0:o.nodeName)==="HTML"&&a.getComputedStyle(o).overflowY==="scroll"?o:r}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:o,property:a})=>{s?o.style.setProperty(a,s):o.style.removeProperty(a)})}}function dL(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class fL{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&qa(t.modalRef,!1);const i=dL(n);tw(n,t.mount,t.modalRef,i,!0);const s=lh(this.containers,o=>o.container===n);return s!==-1?(this.containers[s].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=lh(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=cL(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=lh(this.containers,o=>o.modals.indexOf(t)!==-1),s=this.containers[i];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(r,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&qa(t.modalRef,n),tw(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(i,1);else{const o=s.modals[s.modals.length-1];o.modalRef&&qa(o.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function pL(e){return typeof e=="function"?e():e}function hL(e){return e?e.props.hasOwnProperty("in"):!1}const mL=new fL;function gL(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=mL,closeAfterTransition:s=!1,onTransitionEnter:o,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,f=b.useRef({}),p=b.useRef(null),h=b.useRef(null),m=Pn(h,d),[x,g]=b.useState(!c),y=hL(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const w=()=>xr(p.current),S=()=>(f.current.modalRef=h.current,f.current.mount=p.current,f.current),P=()=>{i.mount(S(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},T=Zi(()=>{const N=pL(t)||w().body;i.add(S(),N),h.current&&P()}),C=b.useCallback(()=>i.isTopModal(S()),[i]),M=Zi(N=>{p.current=N,N&&(c&&C()?P():h.current&&qa(h.current,v))}),k=b.useCallback(()=>{i.remove(S(),v)},[v,i]);b.useEffect(()=>()=>{k()},[k]),b.useEffect(()=>{c?T():(!y||!s)&&k()},[c,k,y,s,T]);const R=N=>q=>{var O;(O=N.onKeyDown)==null||O.call(N,q),!(q.key!=="Escape"||q.which===229||!C())&&(n||(q.stopPropagation(),u&&u(q,"escapeKeyDown")))},I=N=>q=>{var O;(O=N.onClick)==null||O.call(N,q),q.target===q.currentTarget&&u&&u(q,"backdropClick")};return{getRootProps:(N={})=>{const q=ET(e);delete q.onTransitionEnter,delete q.onTransitionExited;const O=A({},q,N);return A({role:"presentation"},O,{onKeyDown:R(O),ref:m})},getBackdropProps:(N={})=>{const q=N;return A({"aria-hidden":!0},q,{onClick:I(q),open:c})},getTransitionProps:()=>{const N=()=>{g(!1),o&&o()},q=()=>{g(!0),a&&a(),s&&k()};return{onEnter:Ym(N,l==null?void 0:l.props.onEnter),onExited:Ym(q,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:M,isTopModal:C,exited:x,hasTransition:y}}const vL=nn(E.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function yL(e){return at("MuiChip",e)}const xL=et("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),me=xL,wL=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],bL=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:s,onDelete:o,clickable:a,variant:l}=e,u={root:["root",l,n&&"disabled",`size${Q(r)}`,`color${Q(i)}`,a&&"clickable",a&&`clickableColor${Q(i)}`,o&&"deletable",o&&`deletableColor${Q(i)}`,`${l}${Q(i)}`],label:["label",`label${Q(r)}`],avatar:["avatar",`avatar${Q(r)}`,`avatarColor${Q(i)}`],icon:["icon",`icon${Q(r)}`,`iconColor${Q(s)}`],deleteIcon:["deleteIcon",`deleteIcon${Q(r)}`,`deleteIconColor${Q(i)}`,`deleteIcon${Q(l)}Color${Q(i)}`]};return vt(u,yL,t)},SL=xe("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:s,onDelete:o,size:a,variant:l}=n;return[{[`& .${me.avatar}`]:t.avatar},{[`& .${me.avatar}`]:t[`avatar${Q(a)}`]},{[`& .${me.avatar}`]:t[`avatarColor${Q(r)}`]},{[`& .${me.icon}`]:t.icon},{[`& .${me.icon}`]:t[`icon${Q(a)}`]},{[`& .${me.icon}`]:t[`iconColor${Q(i)}`]},{[`& .${me.deleteIcon}`]:t.deleteIcon},{[`& .${me.deleteIcon}`]:t[`deleteIcon${Q(a)}`]},{[`& .${me.deleteIcon}`]:t[`deleteIconColor${Q(r)}`]},{[`& .${me.deleteIcon}`]:t[`deleteIcon${Q(l)}Color${Q(r)}`]},t.root,t[`size${Q(a)}`],t[`color${Q(r)}`],s&&t.clickable,s&&r!=="default"&&t[`clickableColor${Q(r)})`],o&&t.deletable,o&&r!=="default"&&t[`deletableColor${Q(r)}`],t[l],t[`${l}${Q(r)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return A({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${me.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${me.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${me.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${me.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${me.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${me.icon}`]:A({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&A({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${me.deleteIcon}`]:A({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Pt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pt(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Pt(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${me.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${me.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>A({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${me.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${me.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>A({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${me.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${me.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${me.avatar}`]:{marginLeft:4},[`& .${me.avatarSmall}`]:{marginLeft:2},[`& .${me.icon}`]:{marginLeft:4},[`& .${me.iconSmall}`]:{marginLeft:2},[`& .${me.deleteIcon}`]:{marginRight:5},[`& .${me.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Pt(e.palette[t.color].main,.7)}`,[`&.${me.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${me.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Pt(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${me.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Pt(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),EL=xe("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Q(r)}`]]}})(({ownerState:e})=>A({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function nw(e){return e.key==="Backspace"||e.key==="Delete"}const PL=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiChip"}),{avatar:i,className:s,clickable:o,color:a="default",component:l,deleteIcon:u,disabled:c=!1,icon:d,label:f,onClick:p,onDelete:h,onKeyDown:m,onKeyUp:x,size:g="medium",variant:y="filled",tabIndex:v,skipFocusWhenDisabled:w=!1}=r,S=se(r,wL),P=b.useRef(null),T=Pn(P,n),C=L=>{L.stopPropagation(),h&&h(L)},M=L=>{L.currentTarget===L.target&&nw(L)&&L.preventDefault(),m&&m(L)},k=L=>{L.currentTarget===L.target&&(h&&nw(L)?h(L):L.key==="Escape"&&P.current&&P.current.blur()),x&&x(L)},R=o!==!1&&p?!0:o,I=R||h?cg:l||"div",$=A({},r,{component:I,disabled:c,size:g,color:a,iconColor:b.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:R,variant:y}),D=bL($),V=I===cg?A({component:l||"div",focusVisibleClassName:D.focusVisible},h&&{disableRipple:!0}):{};let N=null;h&&(N=u&&b.isValidElement(u)?b.cloneElement(u,{className:re(u.props.className,D.deleteIcon),onClick:C}):E.jsx(vL,{className:re(D.deleteIcon),onClick:C}));let q=null;i&&b.isValidElement(i)&&(q=b.cloneElement(i,{className:re(D.avatar,i.props.className)}));let O=null;return d&&b.isValidElement(d)&&(O=b.cloneElement(d,{className:re(D.icon,d.props.className)})),E.jsxs(SL,A({as:I,className:re(D.root,s),disabled:R&&c?!0:void 0,onClick:p,onKeyDown:M,onKeyUp:k,ref:T,tabIndex:w&&c?-1:v,ownerState:$},V,S,{children:[q||O,E.jsx(EL,{className:re(D.label),ownerState:$,children:f}),N]}))}),CL=PL;function TL(e){return E.jsx(M4,A({},e,{defaultTheme:qf,themeId:ws}))}const kL=nn(E.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function ML(e){return at("MuiAvatar",e)}et("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const _L=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],OL=yT(),RL=e=>{const{classes:t,variant:n,colorDefault:r}=e;return vt({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},ML,t)},AL=xe("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:A({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:A({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),IL=xe("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),$L=xe(kL,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function LL({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,s]=b.useState(!1);return b.useEffect(()=>{if(!n&&!r)return;s(!1);let o=!0;const a=new Image;return a.onload=()=>{o&&s("loaded")},a.onerror=()=>{o&&s("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{o=!1}},[e,t,n,r]),i}const jL=b.forwardRef(function(t,n){const r=OL({props:t,name:"MuiAvatar"}),{alt:i,children:s,className:o,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:d,src:f,srcSet:p,variant:h="circular"}=r,m=se(r,_L);let x=null;const g=LL(A({},c,{src:f,srcSet:p})),y=f||p,v=y&&g!=="error",w=A({},r,{colorDefault:!v,component:a,variant:h}),S=RL(w),[P,T]=lg("img",{className:S.img,elementType:IL,externalForwardedProps:{slots:l,slotProps:{img:A({},c,u.img)}},additionalProps:{alt:i,src:f,srcSet:p,sizes:d},ownerState:w});return v?x=E.jsx(P,A({},T)):s||s===0?x=s:y&&i?x=i[0]:x=E.jsx($L,{ownerState:w,className:S.fallback}),E.jsx(AL,A({as:a,ownerState:w,className:re(S.root,o),ref:n},m,{children:x}))}),xd=jL,DL=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],FL={entering:{opacity:1},entered:{opacity:1}},NL=b.forwardRef(function(t,n){const r=Tv(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:o=!0,children:a,easing:l,in:u,onEnter:c,onEntered:d,onEntering:f,onExit:p,onExited:h,onExiting:m,style:x,timeout:g=i,TransitionComponent:y=wT}=t,v=se(t,DL),w=b.useRef(null),S=Pn(w,a.ref,n),P=D=>V=>{if(D){const N=w.current;V===void 0?D(N):D(N,V)}},T=P(f),C=P((D,V)=>{bT(D);const N=vd({style:x,timeout:g,easing:l},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",N),D.style.transition=r.transitions.create("opacity",N),c&&c(D,V)}),M=P(d),k=P(m),R=P(D=>{const V=vd({style:x,timeout:g,easing:l},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",V),D.style.transition=r.transitions.create("opacity",V),p&&p(D)}),I=P(h),$=D=>{s&&s(w.current,D)};return E.jsx(y,A({appear:o,in:u,nodeRef:w,onEnter:C,onEntered:M,onEntering:T,onExit:R,onExited:I,onExiting:k,addEndListener:$,timeout:g},v,{children:(D,V)=>b.cloneElement(a,A({style:A({opacity:0,visibility:D==="exited"&&!u?"hidden":void 0},FL[D],x,a.props.style),ref:S},V))}))}),zL=NL;function VL(e){return at("MuiBackdrop",e)}et("MuiBackdrop",["root","invisible"]);const BL=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],UL=e=>{const{classes:t,invisible:n}=e;return vt({root:["root",n&&"invisible"]},VL,t)},WL=xe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>A({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),HL=b.forwardRef(function(t,n){var r,i,s;const o=ut({props:t,name:"MuiBackdrop"}),{children:a,className:l,component:u="div",components:c={},componentsProps:d={},invisible:f=!1,open:p,slotProps:h={},slots:m={},TransitionComponent:x=zL,transitionDuration:g}=o,y=se(o,BL),v=A({},o,{component:u,invisible:f}),w=UL(v),S=(r=h.root)!=null?r:d.root;return E.jsx(x,A({in:p,timeout:g},y,{children:E.jsx(WL,A({"aria-hidden":!0},S,{as:(i=(s=m.root)!=null?s:c.Root)!=null?i:u,className:re(w.root,l,S==null?void 0:S.className),ownerState:A({},v,S==null?void 0:S.ownerState),classes:w,ref:n,children:a}))}))}),GL=HL,qL=et("MuiBox",["root"]),KL=qL,QL=Cv(),YL=O4({themeId:ws,defaultTheme:QL,defaultClassName:KL.root,generateClassName:ov.generate}),Y=YL;function XL(e){return at("MuiCard",e)}et("MuiCard",["root"]);const ZL=["className","raised"],JL=e=>{const{classes:t}=e;return vt({root:["root"]},XL,t)},ej=xe(Rl,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),tj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiCard"}),{className:i,raised:s=!1}=r,o=se(r,ZL),a=A({},r,{raised:s}),l=JL(a);return E.jsx(ej,A({className:re(l.root,i),elevation:s?8:void 0,ref:n,ownerState:a},o))}),nj=tj;function rj(e){return at("MuiCardMedia",e)}et("MuiCardMedia",["root","media","img"]);const ij=["children","className","component","image","src","style"],sj=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return vt({root:["root",n&&"media",r&&"img"]},rj,t)},oj=xe("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:i}=n;return[t.root,r&&t.media,i&&t.img]}})(({ownerState:e})=>A({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),aj=["video","audio","picture","iframe","img"],lj=["picture","img"],uj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiCardMedia"}),{children:i,className:s,component:o="div",image:a,src:l,style:u}=r,c=se(r,ij),d=aj.indexOf(o)!==-1,f=!d&&a?A({backgroundImage:`url("${a}")`},u):u,p=A({},r,{component:o,isMediaComponent:d,isImageComponent:lj.indexOf(o)!==-1}),h=sj(p);return E.jsx(oj,A({className:re(h.root,s),as:o,role:!d&&a?"img":void 0,ref:n,style:f,ownerState:p,src:d?a||l:void 0},c,{children:i}))}),cj=uj;function dj(e){return at("MuiCircularProgress",e)}et("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const fj=["className","color","disableShrink","size","style","thickness","value","variant"];let Qf=e=>e,rw,iw,sw,ow;const jr=44,pj=ea(rw||(rw=Qf` - 0% { - transform: rotate(0deg); - } - - 100% { - transform: rotate(360deg); - } -`)),hj=ea(iw||(iw=Qf` - 0% { - stroke-dasharray: 1px, 200px; - stroke-dashoffset: 0; - } - - 50% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -15px; - } - - 100% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -125px; - } -`)),mj=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,s={root:["root",n,`color${Q(r)}`],svg:["svg"],circle:["circle",`circle${Q(n)}`,i&&"circleDisableShrink"]};return vt(s,dj,t)},gj=xe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Q(n.color)}`]]}})(({ownerState:e,theme:t})=>A({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Hf(sw||(sw=Qf` - animation: ${0} 1.4s linear infinite; - `),pj)),vj=xe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),yj=xe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Q(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>A({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Hf(ow||(ow=Qf` - animation: ${0} 1.4s ease-in-out infinite; - `),hj)),xj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiCircularProgress"}),{className:i,color:s="primary",disableShrink:o=!1,size:a=40,style:l,thickness:u=3.6,value:c=0,variant:d="indeterminate"}=r,f=se(r,fj),p=A({},r,{color:s,disableShrink:o,size:a,thickness:u,value:c,variant:d}),h=mj(p),m={},x={},g={};if(d==="determinate"){const y=2*Math.PI*((jr-u)/2);m.strokeDasharray=y.toFixed(3),g["aria-valuenow"]=Math.round(c),m.strokeDashoffset=`${((100-c)/100*y).toFixed(3)}px`,x.transform="rotate(-90deg)"}return E.jsx(gj,A({className:re(h.root,i),style:A({width:a,height:a},x,l),ownerState:p,ref:n,role:"progressbar"},g,f,{children:E.jsx(vj,{className:h.svg,ownerState:p,viewBox:`${jr/2} ${jr/2} ${jr} ${jr}`,children:E.jsx(yj,{className:h.circle,style:m,ownerState:p,cx:jr,cy:jr,r:(jr-u)/2,fill:"none",strokeWidth:u})})}))}),wj=xj,bj=(e,t)=>A({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Sj=e=>A({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Ej=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([o,a])=>{var l;r[e.getColorSchemeSelector(o).replace(/\s*&/,"")]={colorScheme:(l=a.palette)==null?void 0:l.mode}});let i=A({html:bj(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:A({margin:0},Sj(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const s=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return s&&(i=[i,s]),i};function Pj(e){const t=ut({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return E.jsxs(b.Fragment,{children:[E.jsx(TL,{styles:i=>Ej(i,r)}),n]})}function Cj(e){return at("MuiModal",e)}et("MuiModal",["root","hidden","backdrop"]);const Tj=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],kj=e=>{const{open:t,exited:n,classes:r}=e;return vt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Cj,r)},Mj=xe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>A({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),_j=xe(GL,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Oj=b.forwardRef(function(t,n){var r,i,s,o,a,l;const u=ut({name:"MuiModal",props:t}),{BackdropComponent:c=_j,BackdropProps:d,className:f,closeAfterTransition:p=!1,children:h,container:m,component:x,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:S=!1,disablePortal:P=!1,disableRestoreFocus:T=!1,disableScrollLock:C=!1,hideBackdrop:M=!1,keepMounted:k=!1,onBackdropClick:R,open:I,slotProps:$,slots:D}=u,V=se(u,Tj),N=A({},u,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:w,disableEscapeKeyDown:S,disablePortal:P,disableRestoreFocus:T,disableScrollLock:C,hideBackdrop:M,keepMounted:k}),{getRootProps:q,getBackdropProps:O,getTransitionProps:L,portalRef:B,isTopModal:K,exited:ne,hasTransition:Ye}=gL(A({},N,{rootRef:n})),ge=A({},N,{exited:ne}),ct=kj(ge),ie={};if(h.props.tabIndex===void 0&&(ie.tabIndex="-1"),Ye){const{onEnter:yt,onExited:sn}=L();ie.onEnter=yt,ie.onExited=sn}const U=(r=(i=D==null?void 0:D.root)!=null?i:g.Root)!=null?r:Mj,ae=(s=(o=D==null?void 0:D.backdrop)!=null?o:g.Backdrop)!=null?s:c,pe=(a=$==null?void 0:$.root)!=null?a:y.root,_e=(l=$==null?void 0:$.backdrop)!=null?l:y.backdrop,je=Hx({elementType:U,externalSlotProps:pe,externalForwardedProps:V,getSlotProps:q,additionalProps:{ref:n,as:x},ownerState:ge,className:re(f,pe==null?void 0:pe.className,ct==null?void 0:ct.root,!ge.open&&ge.exited&&(ct==null?void 0:ct.hidden))}),tt=Hx({elementType:ae,externalSlotProps:_e,additionalProps:d,getSlotProps:yt=>O(A({},yt,{onClick:sn=>{R&&R(sn),yt!=null&&yt.onClick&&yt.onClick(sn)}})),className:re(_e==null?void 0:_e.className,d==null?void 0:d.className,ct==null?void 0:ct.backdrop),ownerState:ge});return!k&&!I&&(!Ye||ne)?null:E.jsx(aL,{ref:B,container:m,disablePortal:P,children:E.jsxs(U,A({},je,{children:[!M&&c?E.jsx(ae,A({},tt)):null,E.jsx(sL,{disableEnforceFocus:w,disableAutoFocus:v,disableRestoreFocus:T,isEnabled:K,open:I,children:b.cloneElement(h,ie)})]}))})}),Rj=Oj;function Aj(e){return at("MuiDivider",e)}et("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Ij=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],$j=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:s,orientation:o,textAlign:a,variant:l}=e;return vt({root:["root",t&&"absolute",l,s&&"light",o==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&o==="vertical"&&"withChildrenVertical",a==="right"&&o!=="vertical"&&"textAlignRight",a==="left"&&o!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",o==="vertical"&&"wrapperVertical"]},Aj,r)},Lj=xe("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>A({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Pt(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>A({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>A({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>A({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>A({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),jj=xe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>A({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),TT=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiDivider"}),{absolute:i=!1,children:s,className:o,component:a=s?"div":"hr",flexItem:l=!1,light:u=!1,orientation:c="horizontal",role:d=a!=="hr"?"separator":void 0,textAlign:f="center",variant:p="fullWidth"}=r,h=se(r,Ij),m=A({},r,{absolute:i,component:a,flexItem:l,light:u,orientation:c,role:d,textAlign:f,variant:p}),x=$j(m);return E.jsx(Lj,A({as:a,className:re(x.root,o),role:d,ref:n,ownerState:m},h,{children:s?E.jsx(jj,{className:x.wrapper,ownerState:m,children:s}):null}))});TT.muiSkipListHighlight=!0;const _v=TT,Dj=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Fj(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),s=Zo(t);let o;if(t.fakeTransform)o=t.fakeTransform;else{const u=s.getComputedStyle(t);o=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let a=0,l=0;if(o&&o!=="none"&&typeof o=="string"){const u=o.split("(")[1].split(")")[0].split(",");a=parseInt(u[4],10),l=parseInt(u[5],10)}return e==="left"?i?`translateX(${i.right+a-r.left}px)`:`translateX(${s.innerWidth+a-r.left}px)`:e==="right"?i?`translateX(-${r.right-i.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${s.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function Nj(e){return typeof e=="function"?e():e}function ec(e,t,n){const r=Nj(n),i=Fj(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const zj=b.forwardRef(function(t,n){const r=Tv(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:l,container:u,direction:c="down",easing:d=i,in:f,onEnter:p,onEntered:h,onEntering:m,onExit:x,onExited:g,onExiting:y,style:v,timeout:w=s,TransitionComponent:S=wT}=t,P=se(t,Dj),T=b.useRef(null),C=Pn(l.ref,T,n),M=O=>L=>{O&&(L===void 0?O(T.current):O(T.current,L))},k=M((O,L)=>{ec(c,O,u),bT(O),p&&p(O,L)}),R=M((O,L)=>{const B=vd({timeout:w,style:v,easing:d},{mode:"enter"});O.style.webkitTransition=r.transitions.create("-webkit-transform",A({},B)),O.style.transition=r.transitions.create("transform",A({},B)),O.style.webkitTransform="none",O.style.transform="none",m&&m(O,L)}),I=M(h),$=M(y),D=M(O=>{const L=vd({timeout:w,style:v,easing:d},{mode:"exit"});O.style.webkitTransition=r.transitions.create("-webkit-transform",L),O.style.transition=r.transitions.create("transform",L),ec(c,O,u),x&&x(O)}),V=M(O=>{O.style.webkitTransition="",O.style.transition="",g&&g(O)}),N=O=>{o&&o(T.current,O)},q=b.useCallback(()=>{T.current&&ec(c,T.current,u)},[c,u]);return b.useEffect(()=>{if(f||c==="down"||c==="right")return;const O=kC(()=>{T.current&&ec(c,T.current,u)}),L=Zo(T.current);return L.addEventListener("resize",O),()=>{O.clear(),L.removeEventListener("resize",O)}},[c,f,u]),b.useEffect(()=>{f||q()},[f,q]),E.jsx(S,A({nodeRef:T,onEnter:k,onEntered:I,onEntering:R,onExit:D,onExited:V,onExiting:$,addEndListener:N,appear:a,in:f,timeout:w},P,{children:(O,L)=>b.cloneElement(l,A({ref:C,style:A({visibility:O==="exited"&&!f?"hidden":void 0},v,l.props.style)},L))}))}),Vj=zj;function Bj(e){return at("MuiDrawer",e)}et("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Uj=["BackdropProps"],Wj=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],kT=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},Hj=e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Q(n)}`,r!=="temporary"&&`paperAnchorDocked${Q(n)}`]};return vt(i,Bj,t)},Gj=xe(Rj,{name:"MuiDrawer",slot:"Root",overridesResolver:kT})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),aw=xe("div",{shouldForwardProp:fT,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:kT})({flex:"0 0 auto"}),qj=xe(Rl,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Q(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${Q(n.anchor)}`]]}})(({theme:e,ownerState:t})=>A({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),MT={left:"right",right:"left",top:"down",bottom:"up"};function Kj(e){return["left","right"].indexOf(e)!==-1}function Qj({direction:e},t){return e==="rtl"&&Kj(t)?MT[t]:t}const Yj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiDrawer"}),i=Tv(),s=V4(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:a="left",BackdropProps:l,children:u,className:c,elevation:d=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:p}={},onClose:h,open:m=!1,PaperProps:x={},SlideProps:g,TransitionComponent:y=Vj,transitionDuration:v=o,variant:w="temporary"}=r,S=se(r.ModalProps,Uj),P=se(r,Wj),T=b.useRef(!1);b.useEffect(()=>{T.current=!0},[]);const C=Qj({direction:s?"rtl":"ltr"},a),k=A({},r,{anchor:a,elevation:d,open:m,variant:w},P),R=Hj(k),I=E.jsx(qj,A({elevation:w==="temporary"?d:0,square:!0},x,{className:re(R.paper,x.className),ownerState:k,children:u}));if(w==="permanent")return E.jsx(aw,A({className:re(R.root,R.docked,c),ownerState:k,ref:n},P,{children:I}));const $=E.jsx(y,A({in:m,direction:MT[C],timeout:v,appear:T.current},g,{children:I}));return w==="persistent"?E.jsx(aw,A({className:re(R.root,R.docked,c),ownerState:k,ref:n},P,{children:$})):E.jsx(Gj,A({BackdropProps:A({},l,p,{transitionDuration:v}),className:re(R.root,R.modal,c),open:m,ownerState:k,onClose:h,hideBackdrop:f,ref:n},P,S,{children:$}))}),Xj=Yj;function Zj(e){return at("MuiLink",e)}const Jj=et("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),eD=Jj,_T={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},tD=e=>_T[e]||e,nD=({theme:e,ownerState:t})=>{const n=tD(t.color),r=zo(e,`palette.${n}`,!1)||t.color,i=zo(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:Pt(r,.4)},rD=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],iD=e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,s={root:["root",`underline${Q(i)}`,n==="button"&&"button",r&&"focusVisible"]};return vt(s,Zj,t)},sD=xe(ce,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Q(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>A({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&A({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:nD({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${eD.focusVisible}`]:{outline:"auto"}})),oD=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiLink"}),{className:i,color:s="primary",component:o="a",onBlur:a,onFocus:l,TypographyClasses:u,underline:c="always",variant:d="inherit",sx:f}=r,p=se(r,rD),{isFocusVisibleRef:h,onBlur:m,onFocus:x,ref:g}=sv(),[y,v]=b.useState(!1),w=Pn(n,g),S=M=>{m(M),h.current===!1&&v(!1),a&&a(M)},P=M=>{x(M),h.current===!0&&v(!0),l&&l(M)},T=A({},r,{color:s,component:o,focusVisible:y,underline:c,variant:d}),C=iD(T);return E.jsx(sD,A({color:s,className:re(C.root,i),classes:u,component:o,onBlur:S,onFocus:P,ref:w,ownerState:T,variant:d,sx:[...Object.keys(_T).includes(s)?[]:[{color:s}],...Array.isArray(f)?f:[f]]},p))}),Al=oD;function aD(e){return at("MuiToolbar",e)}et("MuiToolbar",["root","gutters","regular","dense"]);const lD=["className","component","disableGutters","variant"],uD=e=>{const{classes:t,disableGutters:n,variant:r}=e;return vt({root:["root",!n&&"gutters",r]},aD,t)},cD=xe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>A({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),dD=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiToolbar"}),{className:i,component:s="div",disableGutters:o=!1,variant:a="regular"}=r,l=se(r,lD),u=A({},r,{component:s,disableGutters:o,variant:a}),c=uD(u);return E.jsx(cD,A({as:s,className:re(c.root,i),ref:n,ownerState:u},l))}),fD=dD;function OT(e){const[t,n]=W.useState(!1),r=()=>{window.localStorage.setItem("events-visible","false"),n(!1)};return W.useEffect(()=>{window.localStorage.getItem("events-visible")==null&&window.localStorage.setItem("events-visible","true");const i=window.localStorage.getItem("events-visible");n(i!=null?JSON.parse(i):!0)},[]),E.jsxs(Y,{sx:{background:"#16F4D0",color:"#000000",fontWeight:600,display:t?"flex":"none",justifyContent:"center",alignItems:"center",height:"30px"},children:[E.jsx(Y,{sx:{flexGrow:1,display:"flex",justifyContent:"center"},children:e.events.map(i=>E.jsx(Al,{underline:"hover",href:i.href,color:"inherit",children:i.title},`${i.title}::${i.href}`))}),E.jsx(yd,{"data-testid":"events-close-button",onClick:r,sx:{color:"inherit",width:"25px",height:"25px",marginRight:"5px"},children:E.jsx(pT,{sx:{color:"inherit"}})})]})}var Ov={},uh={};const pD=Rr(E4);var lw;function hD(){return lw||(lw=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=pD}(uh)),uh}var mD=bv;Object.defineProperty(Ov,"__esModule",{value:!0});var RT=Ov.default=void 0,gD=mD(hD()),vD=E;RT=Ov.default=(0,gD.default)((0,vD.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");function wd(e){const[t,n]=W.useState(!1),r=nv();return E.jsx(Y,{sx:{...e.sx,width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:E.jsxs(fD,{sx:{background:e.translucent?"rgba(67,86,127, 0.5)":"transparent",backdropFilter:e.translucent?"blur(20px)":"unset",margin:"5px 0px",borderRadius:"41px",paddingLeft:"40px !important",paddingRight:"40px !important",boxShadow:e.translucent?3:0,width:e.fullWidth?"100%":"90%",height:"80px",userSelect:"none"},children:[E.jsxs(Y,{onClick:()=>{r("/")},sx:{height:"65%",display:"flex",flexGrow:1,alignItems:"center",cursor:"pointer"},children:[E.jsx("img",{alt:"adc-logo",src:"/logo256.png",style:{maxHeight:"100%",margin:"10px 0px 10px 0px"}}),E.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:"bold",marginLeft:"15px"},children:"App Dev Club"})]}),E.jsx(Y,{sx:{display:{xs:"none",md:"flex"}},children:e.links.map(i=>E.jsx(Al,{href:i.anchor,underline:"hover",sx:{fontSize:"1rem",fontWeight:600,marginLeft:"15px",marginRight:"10px",color:"inherit",":hover":{cursor:"pointer"}},children:i.title},`${i.title}::${i.anchor}`))}),E.jsx(yd,{onClick:()=>{n(!0)},sx:{color:"inherit",display:{xs:"flex",md:"none"}},children:E.jsx(RT,{sx:{fontSize:"1.8rem"}})}),E.jsxs(Xj,{anchor:"right",open:t,onClose:()=>{n(!1)},PaperProps:{sx:{width:"180px",bgcolor:"background.default",padding:"25px",backgroundImage:"unset"}},children:[E.jsx(yd,{onClick:()=>{n(!1)},sx:{alignSelf:"end",maxWidth:"40px",marginBottom:"10px"},children:E.jsx(pT,{})}),e.links.map((i,s)=>E.jsx(Al,{onClick:()=>{n(!1)},href:i.anchor,underline:"hover",color:"inherit",sx:{fontSize:"1.3rem",marginTop:"7px",marginBottom:"7px"},children:i.title},s))]})]})})}var AT={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},uw=W.createContext&&W.createContext(AT),yD=["attr","size","title"];function xD(e,t){if(e==null)return{};var n=wD(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function wD(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}function bd(){return bd=Object.assign?Object.assign.bind():function(e){for(var t=1;tW.createElement(t.tag,Sd({key:n},t.attr),IT(t.child)))}function PD(e){return t=>W.createElement(CD,bd({attr:Sd({},e.attr)},t),IT(e.child))}function CD(e){var t=n=>{var{attr:r,size:i,title:s}=e,o=xD(e,yD),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),W.createElement("svg",bd({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,o,{className:l,style:Sd(Sd({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),s&&W.createElement("title",null,s),e.children)};return uw!==void 0?W.createElement(uw.Consumer,null,n=>t(n)):t(AT)}function TD(e){return PD({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9.593 10.971c-.542 0-.969.475-.969 1.055 0 .578.437 1.055.969 1.055.541 0 .968-.477.968-1.055.011-.581-.427-1.055-.968-1.055zm3.468 0c-.542 0-.969.475-.969 1.055 0 .578.437 1.055.969 1.055.541 0 .968-.477.968-1.055-.001-.581-.427-1.055-.968-1.055z"},child:[]},{tag:"path",attr:{d:"M17.678 3H4.947A1.952 1.952 0 0 0 3 4.957v12.844c0 1.083.874 1.957 1.947 1.957H15.72l-.505-1.759 1.217 1.131 1.149 1.064L19.625 22V4.957A1.952 1.952 0 0 0 17.678 3zM14.01 15.407s-.342-.408-.626-.771c1.244-.352 1.719-1.13 1.719-1.13-.39.256-.76.438-1.093.562a6.679 6.679 0 0 1-3.838.398 7.944 7.944 0 0 1-1.396-.41 5.402 5.402 0 0 1-.693-.321c-.029-.021-.057-.029-.085-.048a.117.117 0 0 1-.039-.03c-.171-.094-.266-.16-.266-.16s.456.76 1.663 1.121c-.285.36-.637.789-.637.789-2.099-.067-2.896-1.444-2.896-1.444 0-3.059 1.368-5.538 1.368-5.538 1.368-1.027 2.669-.998 2.669-.998l.095.114c-1.71.495-2.499 1.245-2.499 1.245s.21-.114.561-.275c1.016-.446 1.823-.57 2.156-.599.057-.009.105-.019.162-.019a7.756 7.756 0 0 1 4.778.893s-.751-.712-2.366-1.206l.133-.152s1.302-.029 2.669.998c0 0 1.368 2.479 1.368 5.538 0-.001-.807 1.376-2.907 1.443z"},child:[]}]})(e)}function $T(e){const n=new Date().getFullYear();return E.jsxs(Y,{sx:{...e.sx,display:"flex",width:"100%",height:"75px",padding:"30px",alignItems:"center",justifyContent:"center"},children:[E.jsxs(ce,{style:{fontSize:"18px",flexGrow:1},children:["© ",n," App Dev Club"]}),E.jsx("img",{src:"../logo256.png",style:{maxHeight:"50px"}}),E.jsxs(Y,{sx:{display:"flex",gap:"10px",flexGrow:1,justifyContent:"end"},children:[E.jsx(T4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(k4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(C4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(P4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(TD,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}})]})]})}const dw=[{title:"Home",anchor:"/#maindiv-001"},{title:"Projects",anchor:"/#subdiv-002"},{title:"Our Team",anchor:"/#team"},{title:"Sponsors",anchor:"/#sponsors"},{title:"Contact Us",anchor:"#contact"}];function kD(){const[e,t]=W.useState(-120),[n]=W.useState([{title:"General Body Meeting, 3/25 8pm @ Iribe"}]);return W.useEffect(()=>{function r(){const i=window.scrollY;t(Math.min(i-120,0))}return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}},[]),E.jsxs(E.Fragment,{children:[n.length<1?E.jsx(E.Fragment,{}):E.jsx(OT,{events:n}),E.jsx(wd,{links:dw,fullWidth:!0,sx:{backgroundColor:"transparent"}}),E.jsx(wd,{links:dw,translucent:!0,sx:{zIndex:2,marginTop:"25px",position:"fixed",top:`${e}px`,left:"0px"}}),E.jsx(h5,{}),E.jsx(Y,{sx:{position:"relative"},children:E.jsx($T,{})})]})}const MD=Cv({palette:{mode:"dark",text:{primary:"#FFFFFF"},background:{default:"#14213D"}},typography:{fontFamily:"Inter, sans-serif"}}),LT={baseTheme:MD};function dg(){return dg=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"&&typeof ae>"u"){var _e=pe?p:f;U=_e.left+_e.width/2,ae=_e.top+_e.height/2}var je=0,tt=0,yt=f,sn=yt.top,Di=yt.left,xt=yt.width,wt=yt.height,Mn;if(pe){var _s=p,zi=_s.top,$r=_s.left,Tp=_s.width,Ou=_s.height,kp=Di-$r,ee=sn-zi,Ru=xt/2+kp,Mp=wt/2+ee,Au=U-$r,Yy=ae-zi;tt=l.rotateYMax*(Au-Ru)/(Tp-xt/2)*-1,je=l.rotateXMax*(Yy-Mp)/(Ou-wt/2),Mn=U-Di+"px "+(ae-sn)+"px"}else{var Ms=xt/2,Fi=wt/2,Ni=U-Di,Cp=ae-sn;tt=l.rotateYMax*(Ni-Ms)/(xt/2)*-1,je=l.rotateXMax*(Cp-Fi)/(wt/2)}je=Math.min(Math.max(-je,-l.rotateXMax),l.rotateXMax),l.rotateXInvert&&(je=-je),tt=Math.min(Math.max(-tt,-l.rotateYMax),l.rotateYMax),l.rotateYInvert&&(tt=-tt);var la=je/l.rotateXMax*100,ua=tt/l.rotateYMax*100,QM=(pe?ua/100*l.stretchX:0)*(l.rotateYInvert?-1:1),YM=(pe?la/100*l.stretchY:0)*(l.rotateXInvert?-1:1),XM=pe?Math.max(Math.abs(la),Math.abs(ua))/100*l.stretchZ:0;C(u,"translate3d("+QM+"%, "+-YM+"%, "+-XM+"px) rotateX("+je+"deg) rotateY("+tt+"deg)"),Mn&&l.commonOrigin&&k(u,Mn),m&&(P(m,l.duration+"ms"),T(m,"ease-out"),C(m,"translate3d("+-ua*.25+"%, "+la*.25+"%, 0)"),M(m,Math.max(Math.abs(la),Math.abs(ua))/100)),V({rotateXPercentage:la,rotateYPercentage:ua,duration:l.duration+"ms",easeOut:!0}),typeof l.onRotate=="function"&&l.onRotate(je,tt)},q=function(){v.push(function(){return n.classList.add("atropos-active")}),P(u,l.duration+"ms"),T(u,"ease-out"),C(c,"translate3d(0,0, "+l.activeOffset+"px)"),P(c,l.duration+"ms"),T(c,"ease-out"),h&&(P(h,l.duration+"ms"),T(h,"ease-out")),a.isActive=!0},O=function(U){if(x=void 0,!(U.type==="pointerdown"&&U.pointerType==="mouse")&&!(U.type==="pointerenter"&&U.pointerType!=="mouse")){if(U.type==="pointerdown"&&U.preventDefault(),g=U.clientX,y=U.clientY,l.alwaysActive){f=void 0,p=void 0;return}q(),typeof l.onEnter=="function"&&l.onEnter()}},L=function(U){x===!1&&U.cancelable&&U.preventDefault()},B=function(U){if(!(!l.rotate||!a.isActive)){if(U.pointerType!=="mouse"){if(!l.rotateTouch)return;U.preventDefault()}var ae=U.clientX,pe=U.clientY,_e=ae-g,je=pe-y;if(typeof l.rotateTouch=="string"&&(_e!==0||je!==0)&&typeof x>"u"){if(_e*_e+je*je>=25){var tt=Math.atan2(Math.abs(je),Math.abs(_e))*180/Math.PI;x=l.rotateTouch==="scroll-y"?tt>45:90-tt>45}x===!1&&(n.classList.add("atropos-rotate-touch"),U.cancelable&&U.preventDefault())}U.pointerType!=="mouse"&&x||N(ae,pe)}},K=function(U){if(f=void 0,p=void 0,!!a.isActive&&!(U&&U.type==="pointerup"&&U.pointerType==="mouse")&&!(U&&U.type==="pointerleave"&&U.pointerType!=="mouse")){if(typeof l.rotateTouch=="string"&&x&&n.classList.remove("atropos-rotate-touch"),l.alwaysActive){N(),typeof l.onRotate=="function"&&l.onRotate(0,0),typeof l.onLeave=="function"&&l.onLeave();return}v.push(function(){return n.classList.remove("atropos-active")}),P(c,l.duration+"ms"),T(c,""),C(c,"translate3d(0,0, 0px)"),h&&(P(h,l.duration+"ms"),T(h,"")),m&&(P(m,l.duration+"ms"),T(m,""),C(m,"translate3d(0, 0, 0)"),M(m,0)),P(u,l.duration+"ms"),T(u,""),C(u,"translate3d(0,0,0) rotateX(0deg) rotateY(0deg)"),V({duration:l.duration+"ms"}),a.isActive=!1,typeof l.onRotate=="function"&&l.onRotate(0,0),typeof l.onLeave=="function"&&l.onLeave()}},ne=function(U){var ae=U.target;!r.contains(ae)&&ae!==r&&a.isActive&&K()},Ye=function(){typeof n=="string"&&(n=Dr(document,n)),n&&(n.__atropos__||(typeof r<"u"?typeof r=="string"&&(r=Dr(document,r)):r=n,o=s?n.parentNode.host:n,Object.assign(a,{el:n}),u=Dr(n,".atropos-rotate"),c=Dr(n,".atropos-scale"),d=Dr(n,".atropos-inner"),n.__atropos__=a))},ge=function(){Ye(),!(!n||!r)&&(l.shadow&&$(),l.highlight&&D(),l.rotateTouch&&(typeof l.rotateTouch=="string"?n.classList.add("atropos-rotate-touch-"+l.rotateTouch):n.classList.add("atropos-rotate-touch")),Dr(o,"[data-atropos-opacity]")&&V({opacityOnly:!0}),R(document,"click",ne),R(r,"pointerdown",O),R(r,"pointerenter",O),R(r,"pointermove",B),R(r,"touchmove",L),R(r,"pointerleave",K),R(r,"pointerup",K),R(r,"lostpointercapture",K),l.alwaysActive&&(q(),N()))},ct=function(){a.destroyed=!0,cancelAnimationFrame(w),I(document,"click",ne),I(r,"pointerdown",O),I(r,"pointerenter",O),I(r,"pointermove",B),I(r,"touchmove",L),I(r,"pointerleave",K),I(r,"pointerup",K),I(r,"lostpointercapture",K),delete n.__atropos__};return a.destroy=ct,ge(),a}var ID=["component","children","rootChildren","scaleChildren","rotateChildren","className","scaleClassName","rotateClassName","innerClassName"];function Ed(){return Ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var jT=["eventsEl","alwaysActive","activeOffset","shadowOffset","shadowScale","duration","rotate","rotateTouch","rotateXMax","rotateYMax","rotateXInvert","rotateYInvert","stretchX","stretchY","stretchZ","commonOrigin","shadow","highlight","onEnter","onLeave","onRotate"],LD=function(t){var n={};return Object.keys(t).forEach(function(r){jT.includes(r)||(n[r]=t[r])}),n},jD=function(t){var n={};return Object.keys(t).forEach(function(r){jT.includes(r)&&(n[r]=t[r])}),n};function DD(e){var t=e.component,n=t===void 0?"div":t,r=e.children,i=e.rootChildren,s=e.scaleChildren,o=e.rotateChildren,a=e.className,l=a===void 0?"":a,u=e.scaleClassName,c=u===void 0?"":u,d=e.rotateClassName,f=d===void 0?"":d,p=e.innerClassName,h=p===void 0?"":p,m=$D(e,ID),x=b.useRef(null),g=b.useRef(null),y=n,v=function(){for(var T=arguments.length,C=new Array(T),M=0;M"u")&&W.createElement("span",{className:"atropos-highlight"})),o,(e.shadow||typeof e.shadow>"u")&&W.createElement("span",{className:"atropos-shadow"})),s),i)}function FD(e){let t=0,n;for(n=0;n>n*8&255;r+=`00${i.toString(16)}`.slice(-2)}return r}function DT(e){return{sx:{bgcolor:FD(e)},children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`}}var FT={};function ND(e){if(!e||typeof window>"u")return;const t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}Object.defineProperty(FT,"__esModule",{value:!0});var De=b;function zD(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Fr=zD(De);ND(`.rfm-marquee-container { - overflow-x: hidden; - display: flex; - flex-direction: row; - position: relative; - width: var(--width); - transform: var(--transform); -} -.rfm-marquee-container:hover div { - animation-play-state: var(--pause-on-hover); -} -.rfm-marquee-container:active div { - animation-play-state: var(--pause-on-click); -} - -.rfm-overlay { - position: absolute; - width: 100%; - height: 100%; -} -.rfm-overlay::before, .rfm-overlay::after { - background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0)); - content: ""; - height: 100%; - position: absolute; - width: var(--gradient-width); - z-index: 2; - pointer-events: none; - touch-action: none; -} -.rfm-overlay::after { - right: 0; - top: 0; - transform: rotateZ(180deg); -} -.rfm-overlay::before { - left: 0; - top: 0; -} - -.rfm-marquee { - flex: 0 0 auto; - min-width: var(--min-width); - z-index: 1; - display: flex; - flex-direction: row; - align-items: center; - animation: scroll var(--duration) linear var(--delay) var(--iteration-count); - animation-play-state: var(--play); - animation-delay: var(--delay); - animation-direction: var(--direction); -} -@keyframes scroll { - 0% { - transform: translateX(0%); - } - 100% { - transform: translateX(-100%); - } -} - -.rfm-initial-child-container { - flex: 0 0 auto; - display: flex; - min-width: auto; - flex-direction: row; - align-items: center; -} - -.rfm-child { - transform: var(--transform); -}`);const VD=De.forwardRef(function({style:t={},className:n="",autoFill:r=!1,play:i=!0,pauseOnHover:s=!1,pauseOnClick:o=!1,direction:a="left",speed:l=50,delay:u=0,loop:c=0,gradient:d=!1,gradientColor:f="white",gradientWidth:p=200,onFinish:h,onCycleComplete:m,onMount:x,children:g},y){const[v,w]=De.useState(0),[S,P]=De.useState(0),[T,C]=De.useState(1),[M,k]=De.useState(!1),R=De.useRef(null),I=y||R,$=De.useRef(null),D=De.useCallback(()=>{if($.current&&I.current){const K=I.current.getBoundingClientRect(),ne=$.current.getBoundingClientRect();let Ye=K.width,ge=ne.width;(a==="up"||a==="down")&&(Ye=K.height,ge=ne.height),C(r&&Ye&&ge&&ge{if(M&&(D(),$.current&&I.current)){const K=new ResizeObserver(()=>D());return K.observe(I.current),K.observe($.current),()=>{K&&K.disconnect()}}},[D,I,M]),De.useEffect(()=>{D()},[D,g]),De.useEffect(()=>{k(!0)},[]),De.useEffect(()=>{typeof x=="function"&&x()},[]);const V=De.useMemo(()=>r?S*T/l:SObject.assign(Object.assign({},t),{"--pause-on-hover":!i||s?"paused":"running","--pause-on-click":!i||s&&!o||o?"paused":"running","--width":a==="up"||a==="down"?"100vh":"100%","--transform":a==="up"?"rotate(-90deg)":a==="down"?"rotate(90deg)":"none"}),[t,i,s,o,a]),q=De.useMemo(()=>({"--gradient-color":f,"--gradient-width":typeof p=="number"?`${p}px`:p}),[f,p]),O=De.useMemo(()=>({"--play":i?"running":"paused","--direction":a==="left"?"normal":"reverse","--duration":`${V}s`,"--delay":`${u}s`,"--iteration-count":c?`${c}`:"infinite","--min-width":r?"auto":"100%"}),[i,a,V,u,c,r]),L=De.useMemo(()=>({"--transform":a==="up"?"rotate(90deg)":a==="down"?"rotate(-90deg)":"none"}),[a]),B=De.useCallback(K=>[...Array(Number.isFinite(K)&&K>=0?K:0)].map((ne,Ye)=>Fr.default.createElement(De.Fragment,{key:Ye},De.Children.map(g,ge=>Fr.default.createElement("div",{style:L,className:"rfm-child"},ge)))),[L,g]);return M?Fr.default.createElement("div",{ref:I,style:N,className:"rfm-marquee-container "+n},d&&Fr.default.createElement("div",{style:q,className:"rfm-overlay"}),Fr.default.createElement("div",{className:"rfm-marquee",style:O,onAnimationIteration:m,onAnimationEnd:h},Fr.default.createElement("div",{className:"rfm-initial-child-container",ref:$},De.Children.map(g,K=>Fr.default.createElement("div",{style:L,className:"rfm-child"},K))),B(T-1)),Fr.default.createElement("div",{className:"rfm-marquee",style:O},B(T))):null});var BD=FT.default=VD;function fw(e){const t=nv(),n=r=>t(`/project/${r._id}`);return e.mobileView?E.jsxs(Rl,{elevation:5,onClick:()=>{n(e.project)},sx:{...e==null?void 0:e.sx,cursor:"pointer",borderRadius:"35px",padding:"30px",display:"flex",flexDirection:"column",gap:"15px",color:"#000000",bgcolor:"#ffffff",maxWidth:"100%",height:"400px",overflow:"hidden"},children:[E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",width:"100%"},children:[E.jsx(ce,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),E.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),E.jsx(ce,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description})]}),E.jsx(pw,{autoScroll:!0,members:e.project.members})]}):E.jsx(DD,{highlight:!1,onClick:()=>{n(e.project)},style:{minWidth:"800px",height:"60vh",cursor:"pointer"},children:E.jsx(Rl,{sx:{...e==null?void 0:e.sx,borderRadius:"35px",padding:"30px",display:"flex",gap:"15px",color:"#000000",bgcolor:"#ffffff",width:"100%",height:"100%"},children:E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",flexGrow:1},children:[E.jsx(ce,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),E.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),E.jsx(ce,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description}),E.jsx(pw,{members:e.project.members})]})})})}function pw(e){function t(){return E.jsx(E.Fragment,{children:e.members.map((n,r)=>E.jsx(CL,{label:`${n.memberInfo.firstName} ${n.memberInfo.lastName}`,variant:"outlined",sx:{color:"black",margin:"5px"},avatar:n.memberInfo.profileUrl?E.jsx(xd,{src:n.memberInfo.profileUrl}):E.jsx(xd,{...DT(`${n.memberInfo.firstName} ${n.memberInfo.lastName}`)})},r))})}return e.autoScroll?E.jsx(BD,{children:E.jsx(t,{})}):E.jsx(Y,{sx:{marginTop:"10px",display:"flex",flexWrap:"wrap"},children:E.jsx(t,{})})}function hw(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Rv(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:hw(t[n])&&hw(e[n])&&Object.keys(t[n]).length>0&&Rv(e[n],t[n])})}const NT={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function wr(){const e=typeof document<"u"?document:{};return Rv(e,NT),e}const UD={document:NT,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function rn(){const e=typeof window<"u"?window:{};return Rv(e,UD),e}function WD(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function HD(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function fg(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Pd(){return Date.now()}function GD(e){const t=rn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function qD(e,t){t===void 0&&(t="x");const n=rn();let r,i,s;const o=GD(e);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix(i==="none"?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function tc(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function KD(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Ht(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(s)<0);for(let s=0,o=i.length;ss?"next":"prev",c=(f,p)=>u==="next"&&f>=p||u==="prev"&&f<=p,d=()=>{a=new Date().getTime(),o===null&&(o=a);const f=Math.max(Math.min((a-o)/l,1),0),p=.5-Math.cos(f*Math.PI)/2;let h=s+p*(n-s);if(c(h,n)&&(h=n),t.wrapperEl.scrollTo({[r]:h}),c(h,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:h})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(d)};d()}function Av(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function mr(e,t){return t===void 0&&(t=""),[...e.children].filter(n=>n.matches(t))}function Cd(e){try{console.warn(e);return}catch{}}function Td(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:WD(t)),n}function QD(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function YD(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function li(e,t){return rn().getComputedStyle(e,null).getPropertyValue(t)}function mw(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function XD(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function gw(e,t,n){const r=rn();return n?e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom")):e.offsetWidth}let ch;function ZD(){const e=rn(),t=wr();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function VT(){return ch||(ch=ZD()),ch}let dh;function JD(e){let{userAgent:t}=e===void 0?{}:e;const n=VT(),r=rn(),i=r.navigator.platform,s=t||r.navigator.userAgent,o={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const d=s.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let h=i==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&h&&n.touch&&m.indexOf(`${a}x${l}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),u&&!p&&(o.os="android",o.android=!0),(c||f||d)&&(o.os="ios",o.ios=!0),o}function BT(e){return e===void 0&&(e={}),dh||(dh=JD(e)),dh}let fh;function e6(){const e=rn(),t=BT();let n=!1;function r(){const a=e.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(r()){const a=String(e.navigator.userAgent);if(a.includes("Version/")){const[l,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));n=l<16||l===16&&u<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=r(),o=s||i&&t.ios;return{isSafari:n||s,needPerspectiveFix:n,need3dFix:o,isWebView:i}}function t6(){return fh||(fh=e6()),fh}function n6(e){let{swiper:t,on:n,emit:r}=e;const i=rn();let s=null,o=null;const a=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},l=()=>{!t||t.destroyed||!t.initialized||(s=new ResizeObserver(d=>{o=i.requestAnimationFrame(()=>{const{width:f,height:p}=t;let h=f,m=p;d.forEach(x=>{let{contentBoxSize:g,contentRect:y,target:v}=x;v&&v!==t.el||(h=y?y.width:(g[0]||g).inlineSize,m=y?y.height:(g[0]||g).blockSize)}),(h!==f||m!==p)&&a()})}),s.observe(t.el))},u=()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null)},c=()=>{!t||t.destroyed||!t.initialized||r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){l();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",c)})}function r6(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=[],o=rn(),a=function(c,d){d===void 0&&(d={});const f=o.MutationObserver||o.WebkitMutationObserver,p=new f(h=>{if(t.__preventObserver__)return;if(h.length===1){i("observerUpdate",h[0]);return}const m=function(){i("observerUpdate",h[0])};o.requestAnimationFrame?o.requestAnimationFrame(m):o.setTimeout(m,0)});p.observe(c,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:typeof d.childList>"u"?!0:d.childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),s.push(p)},l=()=>{if(t.params.observer){if(t.params.observeParents){const c=XD(t.hostEl);for(let d=0;d{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var i6={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const i=n?"unshift":"push";return e.split(" ").forEach(s=>{r.eventsListeners[s]||(r.eventsListeners[s]=[]),r.eventsListeners[s][i](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,o=new Array(s),a=0;a=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((i,s)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[r].splice(s,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,s=new Array(i),o=0;o{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...n])}),e.eventsListeners&&e.eventsListeners[l]&&e.eventsListeners[l].forEach(u=>{u.apply(r,n)})}),e}};function s6(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(li(r,"padding-left")||0,10)-parseInt(li(r,"padding-right")||0,10),n=n-parseInt(li(r,"padding-top")||0,10)-parseInt(li(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function o6(){const e=this;function t(k,R){return parseFloat(k.getPropertyValue(e.getDirectionLabel(R))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:s,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=mr(i,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:c.length;let f=[];const p=[],h=[];let m=n.slidesOffsetBefore;typeof m=="function"&&(m=n.slidesOffsetBefore.call(e));let x=n.slidesOffsetAfter;typeof x=="function"&&(x=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,y=e.slidesGrid.length;let v=n.spaceBetween,w=-m,S=0,P=0;if(typeof s>"u")return;typeof v=="string"&&v.indexOf("%")>=0?v=parseFloat(v.replace("%",""))/100*s:typeof v=="string"&&(v=parseFloat(v)),e.virtualSize=-v,c.forEach(k=>{o?k.style.marginLeft="":k.style.marginRight="",k.style.marginBottom="",k.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(nc(r,"--swiper-centered-offset-before",""),nc(r,"--swiper-centered-offset-after",""));const T=n.grid&&n.grid.rows>1&&e.grid;T?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let C;const M=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(k=>typeof n.breakpoints[k].slidesPerView<"u").length>0;for(let k=0;k1&&f.push(e.virtualSize-s)}if(l&&n.loop){const k=h[0]+v;if(n.slidesPerGroup>1){const R=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),I=k*n.slidesPerGroup;for(let $=0;$!n.cssMode||n.loop?!0:I!==c.length-1).forEach(R=>{R.style[k]=`${v}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let k=0;h.forEach(I=>{k+=I+(v||0)}),k-=v;const R=k-s;f=f.map(I=>I<=0?-m:I>R?R+x:I)}if(n.centerInsufficientSlides){let k=0;if(h.forEach(R=>{k+=R+(v||0)}),k-=v,k{f[$]=I-R}),p.forEach((I,$)=>{p[$]=I+R})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){nc(r,"--swiper-centered-offset-before",`${-f[0]}px`),nc(r,"--swiper-centered-offset-after",`${e.size/2-h[h.length-1]/2}px`);const k=-e.snapGrid[0],R=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(I=>I+k),e.slidesGrid=e.slidesGrid.map(I=>I+R)}if(d!==u&&e.emit("slidesLengthChange"),f.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const k=`${n.containerModifierClass}backface-hidden`,R=e.el.classList.contains(k);d<=n.maxBackfaceHiddenSlides?R||e.el.classList.add(k):R&&e.el.classList.remove(k)}}function a6(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i=0,s;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const o=a=>r?t.slides[t.getSlideIndexByData(a)]:t.slides[a];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(a=>{n.push(a)});else for(s=0;st.slides.length&&!r)break;n.push(o(a))}else n.push(o(t.activeIndex));for(s=0;si?a:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function l6(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r"u"&&t.updateSlidesOffset();let o=-e;i&&(o=e),r.forEach(l=>{l.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&p<=t.size-t.slidesSizesGrid[l];(p>=0&&p1&&h<=t.size||p<=0&&h>=t.size)&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(l),r[l].classList.add(n.slideVisibleClass)),m&&r[l].classList.add(n.slideFullyVisibleClass),u.progress=i?-d:d,u.originalProgress=i?-f:f}}function c6(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:s,isEnd:o,progressLoop:a}=t;const l=s,u=o;if(r===0)i=0,s=!0,o=!0;else{i=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;s=c||i<=0,o=d||i>=1,c&&(i=0),d&&(i=1)}if(n.loop){const c=t.getSlideIndexByData(0),d=t.getSlideIndexByData(t.slides.length-1),f=t.slidesGrid[c],p=t.slidesGrid[d],h=t.slidesGrid[t.slidesGrid.length-1],m=Math.abs(e);m>=f?a=(m-f)/h:a=(m+h-p)/h,a>1&&(a-=1)}Object.assign(t,{progress:i,progressLoop:a,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(l&&!s||u&&!o)&&t.emit("fromEdge"),t.emit("progress",i)}const ph=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function d6(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,a=d=>mr(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];let l,u,c;if(s)if(n.loop){let d=i-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${d}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else o?(l=t.filter(d=>d.column===i)[0],c=t.filter(d=>d.column===i+1)[0],u=t.filter(d=>d.column===i-1)[0]):l=t[i];l&&(o||(c=YD(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=QD(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(d=>{ph(d,d===l,n.slideActiveClass),ph(d,d===c,n.slideNextClass),ph(d,d===u,n.slidePrevClass)}),e.emitSlidesClasses()}const Mc=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let i=r.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},hh=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},pg=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const o=i,a=[o-t];a.push(...Array.from({length:t}).map((l,u)=>o+r+u)),e.slides.forEach((l,u)=>{a.includes(l.column)&&hh(e,u)});return}const s=i+r-1;if(e.params.rewind||e.params.loop)for(let o=i-t;o<=s+t;o+=1){const a=(o%n+n)%n;(as)&&hh(e,a)}else for(let o=Math.max(i-t,0);o<=Math.min(s+t,n-1);o+=1)o!==i&&(o>s||o=t[s]&&r=t[s]&&r=t[s]&&(i=s);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function p6(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,snapIndex:a}=t;let l=e,u;const c=p=>{let h=p-t.virtual.slidesBefore;return h<0&&(h=t.virtual.slides.length+h),h>=t.virtual.slides.length&&(h-=t.virtual.slides.length),h};if(typeof l>"u"&&(l=f6(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const p=Math.min(i.slidesPerGroupSkip,l);u=p+Math.floor((l-p)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===s&&!t.params.loop){u!==a&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(l);return}const d=t.grid&&i.grid&&i.grid.rows>1;let f;if(t.virtual&&i.virtual.enabled&&i.loop)f=c(l);else if(d){const p=t.slides.filter(m=>m.column===l)[0];let h=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(t.slides.indexOf(p),0)),f=Math.floor(h/i.grid.rows)}else if(t.slides[l]){const p=t.slides[l].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=l}else f=l;Object.assign(t,{previousSnapIndex:a,snapIndex:u,previousRealIndex:o,realIndex:f,previousIndex:s,activeIndex:l}),t.initialized&&pg(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function h6(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(a=>{!i&&a.matches&&a.matches(`.${r.slideClass}, swiper-slide`)&&(i=a)});let s=!1,o;if(i){for(let a=0;al?c=l:r&&eo?a="next":s"u"&&(t=s.params.speed);const m=Math.min(s.params.slidesPerGroupSkip,o);let x=m+Math.floor((o-m)/s.params.slidesPerGroup);x>=l.length&&(x=l.length-1);const g=-l[x];if(a.normalizeSlideIndex)for(let v=0;v=S&&w=S&&w=S&&(o=v)}if(s.initialized&&o!==d&&(!s.allowSlideNext&&(f?g>s.translate&&g>s.minTranslate():gs.translate&&g>s.maxTranslate()&&(d||0)!==o))return!1;o!==(c||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(g);let y;if(o>d?y="next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[v?"scrollLeft":"scrollTop"]=w})):p[v?"scrollLeft":"scrollTop"]=w,S&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return zT({swiper:s,targetPosition:w,side:v?"left":"top"}),!0;p.scrollTo({[v?"left":"top"]:w,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(g),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,r),s.transitionStart(n,y),t===0?s.transitionEnd(n,y):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(w){!s||s.destroyed||w.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,y))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function k6(e,t,n,r){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this;if(i.destroyed)return;typeof t>"u"&&(t=i.params.speed);const s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let a;if(s){const f=o*i.params.grid.rows;a=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=i.getSlideIndexByData(o);const l=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let d=l-ap.getAttribute("data-swiper-slide-index")*1===f)[0].column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,t,n,r)}),i}function M6(e,t,n){t===void 0&&(t=!0);const r=this,{enabled:i,params:s,animating:o}=r;if(!i||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let a=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function _6(e,t,n){t===void 0&&(t=!0);const r=this,{params:i,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=a?r.translate:-r.translate;function f(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const p=f(d),h=s.map(g=>f(g));let m=s[h.indexOf(p)-1];if(typeof m>"u"&&i.cssMode){let g;s.forEach((y,v)=>{p>=y&&(g=v)}),typeof g<"u"&&(m=s[g>0?g-1:g])}let x=0;if(typeof m<"u"&&(x=o.indexOf(m),x<0&&(x=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(x=x-r.slidesPerViewDynamic("previous",!0)+1,x=Math.max(x,0))),i.rewind&&r.isBeginning){const g=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(g,e,t,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(x,e,t,n)}),!0;return r.slideTo(x,e,t,n)}function O6(e,t,n){t===void 0&&(t=!0);const r=this;if(!r.destroyed)return typeof e>"u"&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function R6(e,t,n,r){t===void 0&&(t=!0),r===void 0&&(r=.5);const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const u=i.snapGrid[a],c=i.snapGrid[a+1];l-u>(c-u)*r&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];l-u<=(c-u)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)}function A6(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.clickedIndex,s;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(mr(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),fg(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(mr(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),fg(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var I6={slideTo:T6,slideToLoop:k6,slideNext:M6,slidePrev:_6,slideReset:O6,slideToClosest:R6,slideToClickedSlide:A6};function $6(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{mr(r,`.${n.slideClass}, swiper-slide`).forEach((d,f)=>{d.setAttribute("data-swiper-slide-index",f)})},s=t.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(s?n.grid.rows:1),a=t.slides.length%o!==0,l=s&&t.slides.length%n.grid.rows!==0,u=c=>{for(let d=0;d1;u.length"u"?s=l.getSlideIndex(u.filter($=>$.classList.contains(p.slideActiveClass))[0]):S=s;const P=r==="next"||!r,T=r==="prev"||!r;let C=0,M=0;const k=y?Math.ceil(u.length/p.grid.rows):u.length,I=(y?u[s].column:s)+(h&&typeof i>"u"?-m/2+.5:0);if(I=0;N-=1)u[N].column===V&&v.push(N)}else v.push(k-D-1)}}else if(I+m>k-g){M=Math.max(I-(k-g*2),x);for(let $=0;${V.column===D&&w.push(N)}):w.push(D)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),T&&v.forEach($=>{u[$].swiperLoopMoveDOM=!0,f.prepend(u[$]),u[$].swiperLoopMoveDOM=!1}),P&&w.forEach($=>{u[$].swiperLoopMoveDOM=!0,f.append(u[$]),u[$].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():y&&(v.length>0&&T||w.length>0&&P)&&l.slides.forEach(($,D)=>{l.grid.updateSlide(D,$,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),n){if(v.length>0&&T){if(typeof t>"u"){const $=l.slidesGrid[S],V=l.slidesGrid[S+C]-$;a?l.setTranslate(l.translate-V):(l.slideTo(S+Math.ceil(C),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-V,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-V))}else if(i){const $=y?v.length/p.grid.rows:v.length;l.slideTo(l.activeIndex+$,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&P)if(typeof t>"u"){const $=l.slidesGrid[S],V=l.slidesGrid[S-M]-$;a?l.setTranslate(l.translate-V):(l.slideTo(S-M,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-V,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-V))}else{const $=y?w.length/p.grid.rows:w.length;l.slideTo(l.activeIndex-$,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!o){const $={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(D=>{!D.destroyed&&D.params.loop&&D.loopFix({...$,slideTo:D.params.slidesPerView===p.slidesPerView?n:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...$,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?n:!1})}l.emit("loopFix")}function j6(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(i=>{const s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[s]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var D6={loopCreate:$6,loopFix:L6,loopDestroy:j6};function F6(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function N6(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var z6={setGrabCursor:F6,unsetGrabCursor:N6};function V6(e,t){t===void 0&&(t=this);function n(r){if(!r||r===wr()||r===rn())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(e);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(t)}function vw(e,t,n){const r=rn(),{params:i}=e,s=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return s&&(n<=o||n>=r.innerWidth-o)?s==="prevent"?(t.preventDefault(),!0):!1:!0}function B6(e){const t=this,n=wr();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){vw(t,r,r.targetTouches[0].pageX);return}const{params:s,touches:o,enabled:a}=t;if(!a||!s.simulateTouch&&r.pointerType==="mouse"||t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=r.target;if(s.touchEventsTarget==="wrapper"&&!t.wrapperEl.contains(l)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(f?V6(d,l):l.closest(d))){t.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const p=o.currentX,h=o.currentY;if(!vw(t,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=h,i.touchStartTime=Pd(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let m=!0;l.matches(i.focusableElements)&&(m=!1,l.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==l&&n.activeElement.blur();const x=m&&t.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||x)&&!l.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function U6(e){const t=wr(),n=this,r=n.touchEventsData,{params:i,touches:s,rtlTranslate:o,enabled:a}=n;if(!a||!i.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].filter(P=>P.identifier===r.touchId)[0],!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const c=u.pageX,d=u.pageY;if(l.preventedByNestedSwiper){s.startX=c,s.startY=d;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=Pd());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(ds.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(cs.startX&&n.translate>=n.minTranslate())return}if(t.activeElement&&l.target===t.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=d;const f=s.currentX-s.startX,p=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(f**2+p**2)"u"){let P;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:f*f+p*p>=25&&(P=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?P>i.touchAngle:90-P>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let h=n.isHorizontal()?f:p,m=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(h=Math.abs(h)*(o?1:-1),m=Math.abs(m)*(o?1:-1)),s.diff=h,h*=i.touchRatio,o&&(h=-h,m=-m);const x=n.touchesDirection;n.swipeDirection=h>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const g=n.params.loop&&!i.cssMode,y=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(g&&y&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(P)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}let v;if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&x!==n.touchesDirection&&g&&y&&Math.abs(h)>=1){Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=h+r.startTranslate;let w=!0,S=i.resistanceRatio;if(i.touchReleaseOnEdges&&(S=0),h>0?(g&&y&&!v&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+h)**S))):h<0&&(g&&y&&!v&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(h)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function W6(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(S=>S.identifier===n.touchId)[0],!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:o,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}o.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=Pd(),f=d-n.touchStartTime;if(t.allowClick){const S=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(S&&S[0]||r.target,S),t.emit("tap click",r),f<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=Pd(),fg(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||a.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let p;if(o.followFinger?p=l?t.translate:-t.translate:p=-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:p});return}const h=p>=-t.maxTranslate()&&!t.params.loop;let m=0,x=t.slidesSizesGrid[0];for(let S=0;S=u[S]&&p=u[S])&&(m=S,x=u[u.length-1]-u[u.length-2])}let g=null,y=null;o.rewind&&(t.isBeginning?y=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const v=(p-u[m])/x,w=mo.longSwipesMs){if(!o.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(v>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?g:m+w):t.slideTo(m)),t.swipeDirection==="prev"&&(v>1-o.longSwipesRatio?t.slideTo(m+w):y!==null&&v<0&&Math.abs(v)>o.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!o.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(m+w):t.slideTo(m):(t.swipeDirection==="next"&&t.slideTo(g!==null?g:m+w),t.swipeDirection==="prev"&&t.slideTo(y!==null?y:m))}}function yw(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!a?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function H6(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function G6(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const s=e.maxTranslate()-e.minTranslate();s===0?i=0:i=(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function q6(e){const t=this;Mc(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function K6(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const WT=(e,t)=>{const n=wr(),{params:r,el:i,wrapperEl:s,device:o}=e,a=!!r.nested,l=t==="on"?"addEventListener":"removeEventListener",u=t;n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",e.onClick,!0),r.cssMode&&s[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",yw,!0):e[u]("observerUpdate",yw,!0),i[l]("load",e.onLoad,{capture:!0})};function Q6(){const e=this,{params:t}=e;e.onTouchStart=B6.bind(e),e.onTouchMove=U6.bind(e),e.onTouchEnd=W6.bind(e),e.onDocumentTouchStart=K6.bind(e),t.cssMode&&(e.onScroll=G6.bind(e)),e.onClick=H6.bind(e),e.onLoad=q6.bind(e),WT(e,"on")}function Y6(){WT(this,"off")}var X6={attachEvents:Q6,detachEvents:Y6};const xw=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function Z6(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const o=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in s?s[o]:void 0)||e.originalParams,u=xw(e,r),c=xw(e,l),d=e.params.grabCursor,f=l.grabCursor,p=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!f?e.unsetGrabCursor():!d&&f&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(v=>{if(typeof l[v]>"u")return;const w=r[v]&&r[v].enabled,S=l[v]&&l[v].enabled;w&&!S&&e[v].disable(),!w&&S&&e[v].enable()});const h=l.direction&&l.direction!==r.direction,m=r.loop&&(l.slidesPerView!==r.slidesPerView||h),x=r.loop;h&&n&&e.changeDirection(),Ht(e.params,l);const g=e.params.enabled,y=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!g?e.disable():!p&&g&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",l),n&&(m?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!x&&y?(e.loopCreate(t),e.updateSlides()):x&&!y&&e.loopDestroy()),e.emit("breakpoint",l)}function J6(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=rn(),s=t==="window"?i.innerHeight:n.clientHeight,o=Object.keys(e).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:s*l,point:a}}return{value:a,point:a}});o.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(t+i)}):typeof r=="string"&&n.push(t+r)}),n}function nF(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:s}=e,o=tF(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),i.classList.add(...t),e.emitContainerClasses()}function rF(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var iF={addClasses:nF,removeClasses:rF};function sF(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,s=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>s}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var oF={checkOverflow:sF},hg={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function aF(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){Ht(t,r);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),!(i in e&&"enabled"in s)){Ht(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),Ht(t,r)}}const mh={eventsEmitter:i6,update:m6,translate:b6,transition:C6,slide:I6,loop:D6,grabCursor:z6,events:X6,breakpoints:eF,checkOverflow:oF,classes:iF},gh={};let Iv=class lr{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),s=0;s1){const c=[];return o.querySelectorAll(n.el).forEach(d=>{const f=Ht({},n,{el:d});c.push(new lr(f))}),c}const a=this;a.__swiper__=!0,a.support=VT(),a.device=BT({userAgent:n.userAgent}),a.browser=t6(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const l={};a.modules.forEach(c=>{c({params:n,swiper:a,extendParams:aF(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=Ht({},hg,l);return a.params=Ht({},u,gh,n),a.originalParams=Ht({},a.params),a.passedParams=Ht({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,i=mr(n,`.${r.slideClass}, swiper-slide`),s=mw(i[0]);return mw(t)-s}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===t)[0])}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=mr(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const i=r.minTranslate(),o=(r.maxTranslate()-i)*t+i;r.translateTo(o,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const i=t.getSlideClasses(r);n.push({slideEl:r,classNames:i}),t.emit("_slideClass",r,i)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:s,slidesGrid:o,slidesSizesGrid:a,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=s[u]?Math.ceil(s[u].swiperSlideSize):0,f;for(let p=u+1;pl&&(f=!0));for(let p=u-1;p>=0;p-=1)s[p]&&!f&&(d+=s[p].swiperSlideSize,c+=1,d>l&&(f=!0))}else if(t==="current")for(let d=u+1;d=0;d-=1)o[u]-o[d]{o.complete&&Mc(t,o)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const o=t.rtlTranslate?t.translate*-1:t.translate,a=Math.min(Math.max(o,t.maxTranslate()),t.minTranslate());t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}let s;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const o=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;s=t.slideTo(o.length-1,0,!1,!0)}else s=t.slideTo(t.activeIndex,0,!1,!0);s||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(s=>{t==="vertical"?s.style.width="":s.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):mr(r,i())[0];return!o&&n.params.createElements&&(o=Td("div",n.params.wrapperClass),r.append(o),mr(r,`.${n.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||li(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||li(r,"direction")==="rtl"),wrongRTL:li(o,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(s=>{s.complete?Mc(n,s):s.addEventListener("load",o=>{Mc(n,o.target)})}),pg(n),n.initialized=!0,pg(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:i,el:s,wrapperEl:o,slides:a}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),s.removeAttribute("style"),o.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),t!==!1&&(r.el.swiper=null,HD(r)),r.destroyed=!0),null}static extendDefaults(t){Ht(gh,t)}static get extendedDefaults(){return gh}static get defaults(){return hg}static installModule(t){lr.prototype.__modules__||(lr.prototype.__modules__=[]);const n=lr.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>lr.installModule(n)),lr):(lr.installModule(t),lr)}};Object.keys(mh).forEach(e=>{Object.keys(mh[e]).forEach(t=>{Iv.prototype[t]=mh[e][t]})});Iv.use([n6,r6]);const HT=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function bs(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function mo(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:bs(t[r])&&bs(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:mo(e[r],t[r]):e[r]=t[r]})}function GT(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function qT(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function KT(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function QT(e){e===void 0&&(e="");const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function lF(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function uF(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:s,prevEl:o,scrollbarEl:a,paginationEl:l}=e;const u=i.filter(M=>M!=="children"&&M!=="direction"&&M!=="wrapperClass"),{params:c,pagination:d,navigation:f,scrollbar:p,virtual:h,thumbs:m}=t;let x,g,y,v,w,S,P,T;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(x=!0),i.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(g=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(y=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(v=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||o)&&(r.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(w=!0);const C=M=>{t[M]&&(t[M].destroy(),M==="navigation"?(t.isElement&&(t[M].prevEl.remove(),t[M].nextEl.remove()),c[M].prevEl=void 0,c[M].nextEl=void 0,t[M].prevEl=void 0,t[M].nextEl=void 0):(t.isElement&&t[M].el.remove(),c[M].el=void 0,t[M].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!r.loop?S=!0:!c.loop&&r.loop?P=!0:T=!0),u.forEach(M=>{if(bs(c[M])&&bs(r[M]))Object.assign(c[M],r[M]),(M==="navigation"||M==="pagination"||M==="scrollbar")&&"enabled"in r[M]&&!r[M].enabled&&C(M);else{const k=r[M];(k===!0||k===!1)&&(M==="navigation"||M==="pagination"||M==="scrollbar")?k===!1&&C(M):c[M]=r[M]}}),u.includes("controller")&&!g&&t.controller&&t.controller.control&&c.controller&&c.controller.control&&(t.controller.control=c.controller.control),i.includes("children")&&n&&h&&c.virtual.enabled?(h.slides=n,h.update(!0)):i.includes("virtual")&&h&&c.virtual.enabled&&(n&&(h.slides=n),h.update(!0)),i.includes("children")&&n&&c.loop&&(T=!0),x&&m.init()&&m.update(!0),g&&(t.controller.control=c.controller.control),y&&(t.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),t.el.appendChild(l)),l&&(c.pagination.el=l),d.init(),d.render(),d.update()),v&&(t.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),t.el.appendChild(a)),a&&(c.scrollbar.el=a),p.init(),p.updateSize(),p.setTranslate()),w&&(t.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=t.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),t.el.appendChild(s)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=t.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),t.el.appendChild(o))),s&&(c.navigation.nextEl=s),o&&(c.navigation.prevEl=o),f.init(),f.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(S||T)&&t.loopDestroy(),(P||T)&&t.loopCreate(),t.update()}function cF(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};mo(n,hg),n._emitClasses=!0,n.init=!1;const s={},o=HT.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(o.indexOf(l)>=0?bs(e[l])?(n[l]={},i[l]={},mo(n[l],e[l]),mo(i[l],e[l])):(n[l]=e[l],i[l]=e[l]):l.search(/on[A-Z]/)===0&&typeof e[l]=="function"?t?r[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:n.on[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:s[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:i,rest:s,events:r}}function dF(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:s,scrollbarEl:o,swiper:a}=e;GT(t)&&r&&i&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),qT(t)&&s&&(a.params.pagination.el=s,a.originalParams.pagination.el=s),KT(t)&&o&&(a.params.scrollbar.el=o,a.originalParams.scrollbar.el=o),a.init(n)}function fF(e,t,n,r,i){const s=[];if(!t)return s;const o=l=>{s.indexOf(l)<0&&s.push(l)};if(n&&r){const l=r.map(i),u=n.map(i);l.join("")!==u.join("")&&o("children"),r.length!==n.length&&o("children")}return HT.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(bs(e[l])&&bs(t[l])){const u=Object.keys(e[l]),c=Object.keys(t[l]);u.length!==c.length?o(l):(u.forEach(d=>{e[l][d]!==t[l][d]&&o(l)}),c.forEach(d=>{e[l][d]!==t[l][d]&&o(l)}))}else e[l]!==t[l]&&o(l)}),s}const pF=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function kd(){return kd=Object.assign?Object.assign.bind():function(e){for(var t=1;t{YT(n)?t.push(n):n.props&&n.props.children&&XT(n.props.children).forEach(r=>t.push(r))}),t}function hF(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return W.Children.toArray(e).forEach(r=>{if(YT(r))t.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const i=XT(r.props.children);i.length>0?i.forEach(s=>t.push(s)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function mF(e,t,n){if(!n)return null;const r=c=>{let d=c;return c<0?d=t.length+c:d>=t.length&&(d=d-t.length),d},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:s,to:o}=n,a=e.params.loop?-t.length:0,l=e.params.loop?t.length*2:t.length,u=[];for(let c=a;c=s&&c<=o&&u.push(t[r(c)]);return u.map((c,d)=>W.cloneElement(c,{swiper:e,style:i,key:c.props.virtualIndex||c.key||`slide-${d}`}))}function Ka(e,t){return typeof window>"u"?b.useEffect(e,t):b.useLayoutEffect(e,t)}const ww=b.createContext(null),gF=b.createContext(null),ZT=b.forwardRef(function(e,t){let{className:n,tag:r="div",wrapperTag:i="div",children:s,onSwiper:o,...a}=e===void 0?{}:e,l=!1;const[u,c]=b.useState("swiper"),[d,f]=b.useState(null),[p,h]=b.useState(!1),m=b.useRef(!1),x=b.useRef(null),g=b.useRef(null),y=b.useRef(null),v=b.useRef(null),w=b.useRef(null),S=b.useRef(null),P=b.useRef(null),T=b.useRef(null),{params:C,passedParams:M,rest:k,events:R}=cF(a),{slides:I,slots:$}=hF(s),D=()=>{h(!p)};Object.assign(C.on,{_containerClasses(L,B){c(B)}});const V=()=>{Object.assign(C.on,R),l=!0;const L={...C};if(delete L.wrapperClass,g.current=new Iv(L),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=I;const B={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};mo(g.current.params.virtual,B),mo(g.current.originalParams.virtual,B)}};x.current||V(),g.current&&g.current.on("_beforeBreakpoint",D);const N=()=>{l||!R||!g.current||Object.keys(R).forEach(L=>{g.current.on(L,R[L])})},q=()=>{!R||!g.current||Object.keys(R).forEach(L=>{g.current.off(L,R[L])})};b.useEffect(()=>()=>{g.current&&g.current.off("_beforeBreakpoint",D)}),b.useEffect(()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)}),Ka(()=>{if(t&&(t.current=x.current),!!x.current)return g.current.destroyed&&V(),dF({el:x.current,nextEl:w.current,prevEl:S.current,paginationEl:P.current,scrollbarEl:T.current,swiper:g.current},C),o&&!g.current.destroyed&&o(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}},[]),Ka(()=>{N();const L=fF(M,y.current,I,v.current,B=>B.key);return y.current=M,v.current=I,L.length&&g.current&&!g.current.destroyed&&uF({swiper:g.current,slides:I,passedParams:M,changedParams:L,nextEl:w.current,prevEl:S.current,scrollbarEl:T.current,paginationEl:P.current}),()=>{q()}}),Ka(()=>{pF(g.current)},[d]);function O(){return C.virtual?mF(g.current,I,d):I.map((L,B)=>W.cloneElement(L,{swiper:g.current,swiperSlideIndex:B}))}return W.createElement(r,kd({ref:x,className:QT(`${u}${n?` ${n}`:""}`)},k),W.createElement(gF.Provider,{value:g.current},$["container-start"],W.createElement(i,{className:lF(C.wrapperClass)},$["wrapper-start"],O(),$["wrapper-end"]),GT(C)&&W.createElement(W.Fragment,null,W.createElement("div",{ref:S,className:"swiper-button-prev"}),W.createElement("div",{ref:w,className:"swiper-button-next"})),KT(C)&&W.createElement("div",{ref:T,className:"swiper-scrollbar"}),qT(C)&&W.createElement("div",{ref:P,className:"swiper-pagination"}),$["container-end"]))});ZT.displayName="Swiper";const JT=b.forwardRef(function(e,t){let{tag:n="div",children:r,className:i="",swiper:s,zoom:o,lazy:a,virtualIndex:l,swiperSlideIndex:u,...c}=e===void 0?{}:e;const d=b.useRef(null),[f,p]=b.useState("swiper-slide"),[h,m]=b.useState(!1);function x(w,S,P){S===d.current&&p(P)}Ka(()=>{if(typeof u<"u"&&(d.current.swiperSlideIndex=u),t&&(t.current=d.current),!(!d.current||!s)){if(s.destroyed){f!=="swiper-slide"&&p("swiper-slide");return}return s.on("_slideClass",x),()=>{s&&s.off("_slideClass",x)}}}),Ka(()=>{s&&d.current&&!s.destroyed&&p(s.getSlideClasses(d.current))},[s]);const g={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},y=()=>typeof r=="function"?r(g):r,v=()=>{m(!0)};return W.createElement(n,kd({ref:d,className:QT(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":l,onLoad:v},c),o&&W.createElement(ww.Provider,{value:g},W.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof o=="number"?o:void 0},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"}))),!o&&W.createElement(ww.Provider,{value:g},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"})))});JT.displayName="SwiperSlide";function vF(e){let{swiper:t,extendParams:n,on:r,emit:i,params:s}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,a,l=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,d=new Date().getTime(),f,p,h,m,x,g,y;function v(O){!t||t.destroyed||!t.wrapperEl||O.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",v),!y&&k())}const w=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?f=!0:f&&(u=c,f=!1);const O=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=O,i("autoplayTimeLeft",O,O/l),a=requestAnimationFrame(()=>{w()})},S=()=>{let O;return t.virtual&&t.params.virtual.enabled?O=t.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:O=t.slides[t.activeIndex],O?parseInt(O.getAttribute("data-swiper-autoplay"),10):void 0},P=O=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(a),w();let L=typeof O>"u"?t.params.autoplay.delay:O;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const B=S();!Number.isNaN(B)&&B>0&&typeof O>"u"&&(L=B,l=B,u=B),c=L;const K=t.params.speed,ne=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(K,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,K,!0,!0),i("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(K,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,K,!0,!0),i("autoplay")),t.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{P()})))};return L>0?(clearTimeout(o),o=setTimeout(()=>{ne()},L)):requestAnimationFrame(()=>{ne()}),L},T=()=>{d=new Date().getTime(),t.autoplay.running=!0,P(),i("autoplayStart")},C=()=>{t.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(a),i("autoplayStop")},M=(O,L)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(o),O||(g=!0);const B=()=>{i("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",v):k()};if(t.autoplay.paused=!0,L){x&&(c=t.params.autoplay.delay),x=!1,B();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-d),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),B())},k=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(d=new Date().getTime(),g?(g=!1,P(c)):P(),t.autoplay.paused=!1,i("autoplayResume"))},R=()=>{if(t.destroyed||!t.autoplay.running)return;const O=wr();O.visibilityState==="hidden"&&(g=!0,M(!0)),O.visibilityState==="visible"&&k()},I=O=>{O.pointerType==="mouse"&&(g=!0,y=!0,!(t.animating||t.autoplay.paused)&&M(!0))},$=O=>{O.pointerType==="mouse"&&(y=!1,t.autoplay.paused&&k())},D=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",I),t.el.addEventListener("pointerleave",$))},V=()=>{t.el.removeEventListener("pointerenter",I),t.el.removeEventListener("pointerleave",$)},N=()=>{wr().addEventListener("visibilitychange",R)},q=()=>{wr().removeEventListener("visibilitychange",R)};r("init",()=>{t.params.autoplay.enabled&&(D(),N(),T())}),r("destroy",()=>{V(),q(),t.autoplay.running&&C()}),r("_freeModeStaticRelease",()=>{(h||g)&&k()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?C():M(!0,!0)}),r("beforeTransitionStart",(O,L,B)=>{t.destroyed||!t.autoplay.running||(B||!t.params.autoplay.disableOnInteraction?M(!0,!0):C())}),r("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){C();return}p=!0,h=!1,g=!1,m=setTimeout(()=>{g=!0,h=!0,M(!0)},200)}}),r("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(o),t.params.autoplay.disableOnInteraction){h=!1,p=!1;return}h&&t.params.cssMode&&k(),h=!1,p=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(x=!0)}),Object.assign(t.autoplay,{start:T,stop:C,pause:M,resume:k})}function yF(e){const{effect:t,swiper:n,on:r,setTranslate:i,setTransition:s,overwriteParams:o,perspective:a,recreateShadows:l,getEffectParams:u}=e;r("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),a&&a()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const d=o?o():{};Object.assign(n.params,d),Object.assign(n.originalParams,d)}),r("setTranslate",()=>{n.params.effect===t&&i()}),r("setTransition",(d,f)=>{n.params.effect===t&&s(f)}),r("transitionEnd",()=>{if(n.params.effect===t&&l){if(!u||!u().slideShadows)return;n.slides.forEach(d=>{d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>f.remove())}),l()}});let c;r("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(c=!0),requestAnimationFrame(()=>{c&&n.slides&&n.slides.length&&(i(),c=!1)}))})}function xF(e,t){const n=Av(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function bw(e,t,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=Av(t);let s=i.querySelector(`.${r.split(" ").join(".")}`);return s||(s=Td("div",r.split(" ")),i.append(s)),s}function wF(e){let{swiper:t,extendParams:n,on:r}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),yF({effect:"coverflow",swiper:t,on:r,setTranslate:()=>{const{width:o,height:a,slides:l,slidesSizesGrid:u}=t,c=t.params.coverflowEffect,d=t.isHorizontal(),f=t.translate,p=d?-f+o/2:-f+a/2,h=d?c.rotate:-c.rotate,m=c.depth;for(let x=0,g=l.length;x0?P:0),q&&(q.style.opacity=-P>0?-P:0)}}},setTransition:o=>{t.slides.map(l=>Av(l)).forEach(l=>{l.style.transitionDuration=`${o}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${o}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function e2(e,t){return function(){return e.apply(t,arguments)}}const{toString:bF}=Object.prototype,{getPrototypeOf:$v}=Object,Yf=(e=>t=>{const n=bF.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),or=e=>(e=e.toLowerCase(),t=>Yf(t)===e),Xf=e=>t=>typeof t===e,{isArray:ra}=Array,Il=Xf("undefined");function SF(e){return e!==null&&!Il(e)&&e.constructor!==null&&!Il(e.constructor)&&bn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const t2=or("ArrayBuffer");function EF(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&t2(e.buffer),t}const PF=Xf("string"),bn=Xf("function"),n2=Xf("number"),Zf=e=>e!==null&&typeof e=="object",CF=e=>e===!0||e===!1,_c=e=>{if(Yf(e)!=="object")return!1;const t=$v(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},TF=or("Date"),kF=or("File"),MF=or("Blob"),_F=or("FileList"),OF=e=>Zf(e)&&bn(e.pipe),RF=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||bn(e.append)&&((t=Yf(e))==="formdata"||t==="object"&&bn(e.toString)&&e.toString()==="[object FormData]"))},AF=or("URLSearchParams"),IF=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ra(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const i2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,s2=e=>!Il(e)&&e!==i2;function mg(){const{caseless:e}=s2(this)&&this||{},t={},n=(r,i)=>{const s=e&&r2(t,i)||i;_c(t[s])&&_c(r)?t[s]=mg(t[s],r):_c(r)?t[s]=mg({},r):ra(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r(xu(t,(i,s)=>{n&&bn(i)?e[s]=e2(i,n):e[s]=i},{allOwnKeys:r}),e),LF=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jF=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},DF=(e,t,n,r)=>{let i,s,o;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!r||r(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&$v(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},FF=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},NF=e=>{if(!e)return null;if(ra(e))return e;let t=e.length;if(!n2(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},zF=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$v(Uint8Array)),VF=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},BF=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},UF=or("HTMLFormElement"),WF=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Sw=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),HF=or("RegExp"),o2=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};xu(n,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(r[s]=o||i)}),Object.defineProperties(e,r)},GF=e=>{o2(e,(t,n)=>{if(bn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(bn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},qF=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ra(e)?r(e):r(String(e).split(t)),n},KF=()=>{},QF=(e,t)=>(e=+e,Number.isFinite(e)?e:t),vh="abcdefghijklmnopqrstuvwxyz",Ew="0123456789",a2={DIGIT:Ew,ALPHA:vh,ALPHA_DIGIT:vh+vh.toUpperCase()+Ew},YF=(e=16,t=a2.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function XF(e){return!!(e&&bn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ZF=e=>{const t=new Array(10),n=(r,i)=>{if(Zf(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=ra(r)?[]:{};return xu(r,(o,a)=>{const l=n(o,i+1);!Il(l)&&(s[a]=l)}),t[i]=void 0,s}}return r};return n(e,0)},JF=or("AsyncFunction"),eN=e=>e&&(Zf(e)||bn(e))&&bn(e.then)&&bn(e.catch),j={isArray:ra,isArrayBuffer:t2,isBuffer:SF,isFormData:RF,isArrayBufferView:EF,isString:PF,isNumber:n2,isBoolean:CF,isObject:Zf,isPlainObject:_c,isUndefined:Il,isDate:TF,isFile:kF,isBlob:MF,isRegExp:HF,isFunction:bn,isStream:OF,isURLSearchParams:AF,isTypedArray:zF,isFileList:_F,forEach:xu,merge:mg,extend:$F,trim:IF,stripBOM:LF,inherits:jF,toFlatObject:DF,kindOf:Yf,kindOfTest:or,endsWith:FF,toArray:NF,forEachEntry:VF,matchAll:BF,isHTMLForm:UF,hasOwnProperty:Sw,hasOwnProp:Sw,reduceDescriptors:o2,freezeMethods:GF,toObjectSet:qF,toCamelCase:WF,noop:KF,toFiniteNumber:QF,findKey:r2,global:i2,isContextDefined:s2,ALPHABET:a2,generateString:YF,isSpecCompliantForm:XF,toJSONObject:ZF,isAsyncFn:JF,isThenable:eN};function de(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}j.inherits(de,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const l2=de.prototype,u2={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{u2[e]={value:e}});Object.defineProperties(de,u2);Object.defineProperty(l2,"isAxiosError",{value:!0});de.from=(e,t,n,r,i,s)=>{const o=Object.create(l2);return j.toFlatObject(e,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),de.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const tN=null;function gg(e){return j.isPlainObject(e)||j.isArray(e)}function c2(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function Pw(e,t,n){return e?e.concat(t).map(function(i,s){return i=c2(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function nN(e){return j.isArray(e)&&!e.some(gg)}const rN=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function Jf(e,t,n){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,x){return!j.isUndefined(x[m])});const r=n.metaTokens,i=n.visitor||c,s=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(i))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(j.isDate(h))return h.toISOString();if(!l&&j.isBlob(h))throw new de("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(h)||j.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,m,x){let g=h;if(h&&!x&&typeof h=="object"){if(j.endsWith(m,"{}"))m=r?m:m.slice(0,-2),h=JSON.stringify(h);else if(j.isArray(h)&&nN(h)||(j.isFileList(h)||j.endsWith(m,"[]"))&&(g=j.toArray(h)))return m=c2(m),g.forEach(function(v,w){!(j.isUndefined(v)||v===null)&&t.append(o===!0?Pw([m],w,s):o===null?m:m+"[]",u(v))}),!1}return gg(h)?!0:(t.append(Pw(x,m,s),u(h)),!1)}const d=[],f=Object.assign(rN,{defaultVisitor:c,convertValue:u,isVisitable:gg});function p(h,m){if(!j.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),j.forEach(h,function(g,y){(!(j.isUndefined(g)||g===null)&&i.call(t,g,j.isString(y)?y.trim():y,m,f))===!0&&p(g,m?m.concat(y):[y])}),d.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Cw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Lv(e,t){this._pairs=[],e&&Jf(e,this,t)}const d2=Lv.prototype;d2.append=function(t,n){this._pairs.push([t,n])};d2.toString=function(t){const n=t?function(r){return t.call(this,r,Cw)}:Cw;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function iN(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function f2(e,t,n){if(!t)return e;const r=n&&n.encode||iN,i=n&&n.serialize;let s;if(i?s=i(t,n):s=j.isURLSearchParams(t)?t.toString():new Lv(t,n).toString(r),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Tw{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const p2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},sN=typeof URLSearchParams<"u"?URLSearchParams:Lv,oN=typeof FormData<"u"?FormData:null,aN=typeof Blob<"u"?Blob:null,lN={isBrowser:!0,classes:{URLSearchParams:sN,FormData:oN,Blob:aN},protocols:["http","https","file","blob","url","data"]},h2=typeof window<"u"&&typeof document<"u",uN=(e=>h2&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),cN=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",dN=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:h2,hasStandardBrowserEnv:uN,hasStandardBrowserWebWorkerEnv:cN},Symbol.toStringTag,{value:"Module"})),Zn={...dN,...lN};function fN(e,t){return Jf(e,new Zn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Zn.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function pN(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function hN(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r=n.length;return o=!o&&j.isArray(i)?i.length:o,l?(j.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!a):((!i[o]||!j.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],s)&&j.isArray(i[o])&&(i[o]=hN(i[o])),!a)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(pN(r),i,n,0)}),n}return null}function mN(e,t,n){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const jv={transitional:p2,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=j.isObject(t);if(s&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return i?JSON.stringify(m2(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return fN(t,this.formSerializer).toString();if((a=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Jf(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),mN(t)):t}],transformResponse:[function(t){const n=this.transitional||jv.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&j.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?de.from(a,de.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Zn.classes.FormData,Blob:Zn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{jv.headers[e]={}});const Dv=jv,gN=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),vN=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&gN[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},kw=Symbol("internals");function wa(e){return e&&String(e).trim().toLowerCase()}function Oc(e){return e===!1||e==null?e:j.isArray(e)?e.map(Oc):String(e)}function yN(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const xN=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function yh(e,t,n,r,i){if(j.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!j.isString(t)){if(j.isString(r))return t.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(t)}}function wN(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function bN(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,o){return this[r].call(this,t,i,s,o)},configurable:!0})})}class ep{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(a,l,u){const c=wa(l);if(!c)throw new Error("header name must be a non-empty string");const d=j.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||l]=Oc(a))}const o=(a,l)=>j.forEach(a,(u,c)=>s(u,c,l));return j.isPlainObject(t)||t instanceof this.constructor?o(t,n):j.isString(t)&&(t=t.trim())&&!xN(t)?o(vN(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=wa(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return yN(i);if(j.isFunction(n))return n.call(this,i,r);if(j.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=wa(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||yh(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(o){if(o=wa(o),o){const a=j.findKey(r,o);a&&(!n||yh(r,r[a],a,n))&&(delete r[a],i=!0)}}return j.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||yh(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return j.forEach(this,(i,s)=>{const o=j.findKey(r,s);if(o){n[o]=Oc(i),delete n[s];return}const a=t?wN(s):String(s).trim();a!==s&&delete n[s],n[a]=Oc(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&j.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[kw]=this[kw]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=wa(o);r[a]||(bN(i,o),r[a]=!0)}return j.isArray(t)?t.forEach(s):s(t),this}}ep.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(ep.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(ep);const br=ep;function xh(e,t){const n=this||Dv,r=t||n,i=br.from(r.headers);let s=r.data;return j.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function g2(e){return!!(e&&e.__CANCEL__)}function wu(e,t,n){de.call(this,e??"canceled",de.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(wu,de,{__CANCEL__:!0});function SN(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new de("Request failed with status code "+n.status,[de.ERR_BAD_REQUEST,de.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const EN=Zn.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const o=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),j.isString(r)&&o.push("path="+r),j.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function PN(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function CN(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function v2(e,t){return e&&!PN(t)?CN(e,t):t}const TN=Zn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(s){let o=s;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const a=j.isString(o)?i(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function kN(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function MN(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];o||(o=u),n[i]=l,r[i]=u;let d=s,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),u-o{const s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-n,l=r(a),u=s<=o;n=s;const c={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&u?(o-s)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const _N=typeof XMLHttpRequest<"u",ON=_N&&function(e){return new Promise(function(n,r){let i=e.data;const s=br.from(e.headers).normalize();let{responseType:o,withXSRFToken:a}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let c;if(j.isFormData(i)){if(Zn.hasStandardBrowserEnv||Zn.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((c=s.getContentType())!==!1){const[m,...x]=c?c.split(";").map(g=>g.trim()).filter(Boolean):[];s.setContentType([m||"multipart/form-data",...x].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(m+":"+x))}const f=v2(e.baseURL,e.url);d.open(e.method.toUpperCase(),f2(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=br.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),g={data:!o||o==="text"||o==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};SN(function(v){n(v),u()},function(v){r(v),u()},g),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(r(new de("Request aborted",de.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new de("Network Error",de.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||p2;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),r(new de(x,g.clarifyTimeoutError?de.ETIMEDOUT:de.ECONNABORTED,e,d)),d=null},Zn.hasStandardBrowserEnv&&(a&&j.isFunction(a)&&(a=a(e)),a||a!==!1&&TN(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&EN.read(e.xsrfCookieName);m&&s.set(e.xsrfHeaderName,m)}i===void 0&&s.setContentType(null),"setRequestHeader"in d&&j.forEach(s.toJSON(),function(x,g){d.setRequestHeader(g,x)}),j.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),o&&o!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Mw(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Mw(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(r(!m||m.type?new wu(null,e,d):m),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=kN(f);if(h&&Zn.protocols.indexOf(h)===-1){r(new de("Unsupported protocol "+h+":",de.ERR_BAD_REQUEST,e));return}d.send(i||null)})},vg={http:tN,xhr:ON};j.forEach(vg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const _w=e=>`- ${e}`,RN=e=>j.isFunction(e)||e===null||e===!1,y2={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since : -`+s.map(_w).join(` -`):" "+_w(s[0]):"as no adapter specified";throw new de("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:vg};function wh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new wu(null,e)}function Ow(e){return wh(e),e.headers=br.from(e.headers),e.data=xh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),y2.getAdapter(e.adapter||Dv.adapter)(e).then(function(r){return wh(e),r.data=xh.call(e,e.transformResponse,r),r.headers=br.from(r.headers),r},function(r){return g2(r)||(wh(e),r&&r.response&&(r.response.data=xh.call(e,e.transformResponse,r.response),r.response.headers=br.from(r.response.headers))),Promise.reject(r)})}const Rw=e=>e instanceof br?{...e}:e;function Bo(e,t){t=t||{};const n={};function r(u,c,d){return j.isPlainObject(u)&&j.isPlainObject(c)?j.merge.call({caseless:d},u,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function i(u,c,d){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u,d)}else return r(u,c,d)}function s(u,c){if(!j.isUndefined(c))return r(void 0,c)}function o(u,c){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c)=>i(Rw(u),Rw(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=l[c]||i,f=d(e[c],t[c],c);j.isUndefined(f)&&d!==a||(n[c]=f)}),n}const x2="1.6.8",Fv={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fv[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Aw={};Fv.transitional=function(t,n,r){function i(s,o){return"[Axios v"+x2+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,a)=>{if(t===!1)throw new de(i(o," has been removed"+(n?" in "+n:"")),de.ERR_DEPRECATED);return n&&!Aw[o]&&(Aw[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,o,a):!0}};function AN(e,t,n){if(typeof e!="object")throw new de("options must be an object",de.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const a=e[s],l=a===void 0||o(a,s,e);if(l!==!0)throw new de("option "+s+" must be "+l,de.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new de("Unknown option "+s,de.ERR_BAD_OPTION)}}const yg={assertOptions:AN,validators:Fv},Nr=yg.validators;class Md{constructor(t){this.defaults=t,this.interceptors={request:new Tw,response:new Tw}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+s):r.stack=s}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Bo(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&yg.assertOptions(r,{silentJSONParsing:Nr.transitional(Nr.boolean),forcedJSONParsing:Nr.transitional(Nr.boolean),clarifyTimeoutError:Nr.transitional(Nr.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:yg.assertOptions(i,{encode:Nr.function,serialize:Nr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=s&&j.merge(s.common,s[n.method]);s&&j.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=br.concat(o,s);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,d=0,f;if(!l){const h=[Ow.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,c=Promise.resolve(n);d{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{r.subscribe(a),s=a}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},t(function(s,o,a){r.reason||(r.reason=new wu(s,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Nv(function(i){t=i}),cancel:t}}}const IN=Nv;function $N(e){return function(n){return e.apply(null,n)}}function LN(e){return j.isObject(e)&&e.isAxiosError===!0}const xg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(xg).forEach(([e,t])=>{xg[t]=e});const jN=xg;function w2(e){const t=new Rc(e),n=e2(Rc.prototype.request,t);return j.extend(n,Rc.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return w2(Bo(e,i))},n}const Qe=w2(Dv);Qe.Axios=Rc;Qe.CanceledError=wu;Qe.CancelToken=IN;Qe.isCancel=g2;Qe.VERSION=x2;Qe.toFormData=Jf;Qe.AxiosError=de;Qe.Cancel=Qe.CanceledError;Qe.all=function(t){return Promise.all(t)};Qe.spread=$N;Qe.isAxiosError=LN;Qe.mergeConfig=Bo;Qe.AxiosHeaders=br;Qe.formToJSON=e=>m2(j.isHTMLForm(e)?new FormData(e):e);Qe.getAdapter=y2.getAdapter;Qe.HttpStatusCode=jN;Qe.default=Qe;const bu=Qe.create({baseURL:"https://webv2-backend.appdevclub.com"});function DN(e){let t=`${e.firstName}-${e.lastName}`;return t=t.toLowerCase().replace(" ","-"),`${bu.getUri()}/team-images/${t}.jpeg`}function FN(e){let t="";return t=e.leadership.join(", "),t}function NN(e){const[t,n]=W.useState([]);return W.useEffect(()=>{bu.get("members/leaders/").then(r=>{n(()=>r.data)})},[]),E.jsxs(Y,{...e,sx:{...e==null?void 0:e.sx,borderRadius:"35px",display:"flex",flexDirection:"column",gap:"15px",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"},children:[E.jsx(ce,{sx:{fontSize:"3rem",fontWeight:"bold",marginBottom:"30px"},children:"Our Team"}),t.length<1?E.jsx(E.Fragment,{}):E.jsx(ZT,{modules:[wF,vF],effect:"coverflow",centeredSlides:!0,loop:!0,loopAdditionalSlides:2,slidesPerView:"auto",spaceBetween:3,coverflowEffect:{rotate:0,stretch:0,depth:200,modifier:1},autoplay:{delay:1200,disableOnInteraction:!1},children:t.map(r=>E.jsx(JT,{children:E.jsxs(Y,{sx:{position:"relative",overflow:"hidden",width:"100%"},children:[E.jsx("img",{src:DN(r),alt:"member_image"}),E.jsxs(Y,{sx:{position:"absolute",bottom:"0px",color:"white",width:"100%",height:"130px",left:"50%",transform:"translateX(-50%)",background:"linear-gradient(to top, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.2) 90%, rgba(0, 0, 0, 0) 100%)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"end",textAlign:"center",paddingBottom:"20px"},children:[E.jsx(ce,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:`${r.firstName} ${r.lastName}`}),E.jsx(ce,{sx:{fontSize:"1rem"},children:FN(r)})]})]})}))})]})}var zN=Object.defineProperty,VN=(e,t)=>{for(var n in t)zN(e,n,{get:t[n],enumerable:!0})},zn={};VN(zn,{assign:()=>WN,colors:()=>wi,createStringInterpolator:()=>Gv,skipAnimation:()=>k2,to:()=>T2,willAdvance:()=>qv});var zv=Eu(),J=e=>Su(e,zv),Vv=Eu();J.write=e=>Su(e,Vv);var tp=Eu();J.onStart=e=>Su(e,tp);var Bv=Eu();J.onFrame=e=>Su(e,Bv);var Uv=Eu();J.onFinish=e=>Su(e,Uv);var go=[];J.setTimeout=(e,t)=>{const n=J.now()+t,r=()=>{const s=go.findIndex(o=>o.cancel==r);~s&&go.splice(s,1),ci-=~s?1:0},i={time:n,handler:e,cancel:r};return go.splice(b2(n),0,i),ci+=1,S2(),i};var b2=e=>~(~go.findIndex(t=>t.time>e)||~go.length);J.cancel=e=>{tp.delete(e),Bv.delete(e),Uv.delete(e),zv.delete(e),Vv.delete(e)};J.sync=e=>{wg=!0,J.batchedUpdates(e),wg=!1};J.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,J.onStart(n)}return r.handler=e,r.cancel=()=>{tp.delete(n),t=null},r};var Wv=typeof window<"u"?window.requestAnimationFrame:()=>{};J.use=e=>Wv=e;J.now=typeof performance<"u"?()=>performance.now():Date.now;J.batchedUpdates=e=>e();J.catch=console.error;J.frameLoop="always";J.advance=()=>{J.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):P2()};var ui=-1,ci=0,wg=!1;function Su(e,t){wg?(t.delete(e),e(0)):(t.add(e),S2())}function S2(){ui<0&&(ui=0,J.frameLoop!=="demand"&&Wv(E2))}function BN(){ui=-1}function E2(){~ui&&(Wv(E2),J.batchedUpdates(P2))}function P2(){const e=ui;ui=J.now();const t=b2(ui);if(t&&(C2(go.splice(0,t),n=>n.handler()),ci-=t),!ci){BN();return}tp.flush(),zv.flush(e?Math.min(64,ui-e):16.667),Bv.flush(),Vv.flush(),Uv.flush()}function Eu(){let e=new Set,t=e;return{add(n){ci+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return ci-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,ci-=t.size,C2(t,r=>r(n)&&e.add(r)),ci+=e.size,t=e)}}}function C2(e,t){e.forEach(n=>{try{t(n)}catch(r){J.catch(r)}})}function bg(){}var UN=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),z={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function dr(e,t){if(z.arr(e)){if(!z.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function ir(e,t,n){if(z.arr(e)){for(let r=0;rz.und(e)?[]:z.arr(e)?e:[e];function Qa(e,t){if(e.size){const n=Array.from(e);e.clear(),ue(n,t)}}var Ia=(e,...t)=>Qa(e,n=>n(...t)),Hv=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Gv,T2,wi=null,k2=!1,qv=bg,WN=e=>{e.to&&(T2=e.to),e.now&&(J.now=e.now),e.colors!==void 0&&(wi=e.colors),e.skipAnimation!=null&&(k2=e.skipAnimation),e.createStringInterpolator&&(Gv=e.createStringInterpolator),e.requestAnimationFrame&&J.use(e.requestAnimationFrame),e.batchedUpdates&&(J.batchedUpdates=e.batchedUpdates),e.willAdvance&&(qv=e.willAdvance),e.frameLoop&&(J.frameLoop=e.frameLoop)},Ya=new Set,vn=[],bh=[],_d=0,np={get idle(){return!Ya.size&&!vn.length},start(e){_d>e.priority?(Ya.add(e),J.onStart(HN)):(M2(e),J(Sg))},advance:Sg,sort(e){if(_d)J.onFrame(()=>np.sort(e));else{const t=vn.indexOf(e);~t&&(vn.splice(t,1),_2(e))}},clear(){vn=[],Ya.clear()}};function HN(){Ya.forEach(M2),Ya.clear(),J(Sg)}function M2(e){vn.includes(e)||_2(e)}function _2(e){vn.splice(GN(vn,t=>t.priority>e.priority),0,e)}function Sg(e){const t=bh;for(let n=0;n0}function GN(e,t){const n=e.findIndex(t);return n<0?e.length:n}var qN=(e,t,n)=>Math.min(Math.max(n,e),t),KN={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},jn="[-+]?\\d*\\.?\\d+",Od=jn+"%";function rp(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var QN=new RegExp("rgb"+rp(jn,jn,jn)),YN=new RegExp("rgba"+rp(jn,jn,jn,jn)),XN=new RegExp("hsl"+rp(jn,Od,Od)),ZN=new RegExp("hsla"+rp(jn,Od,Od,jn)),JN=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ez=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,tz=/^#([0-9a-fA-F]{6})$/,nz=/^#([0-9a-fA-F]{8})$/;function rz(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=tz.exec(e))?parseInt(t[1]+"ff",16)>>>0:wi&&wi[e]!==void 0?wi[e]:(t=QN.exec(e))?(Ds(t[1])<<24|Ds(t[2])<<16|Ds(t[3])<<8|255)>>>0:(t=YN.exec(e))?(Ds(t[1])<<24|Ds(t[2])<<16|Ds(t[3])<<8|Lw(t[4]))>>>0:(t=JN.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=nz.exec(e))?parseInt(t[1],16)>>>0:(t=ez.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=XN.exec(e))?(Iw($w(t[1]),rc(t[2]),rc(t[3]))|255)>>>0:(t=ZN.exec(e))?(Iw($w(t[1]),rc(t[2]),rc(t[3]))|Lw(t[4]))>>>0:null}function Sh(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Iw(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,s=Sh(i,r,e+1/3),o=Sh(i,r,e),a=Sh(i,r,e-1/3);return Math.round(s*255)<<24|Math.round(o*255)<<16|Math.round(a*255)<<8}function Ds(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function $w(e){return(parseFloat(e)%360+360)%360/360}function Lw(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function rc(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function jw(e){let t=rz(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,s=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${s})`}var $l=(e,t,n)=>{if(z.fun(e))return e;if(z.arr(e))return $l({range:e,output:t,extrapolate:n});if(z.str(e.output[0]))return Gv(e);const r=e,i=r.output,s=r.range||[0,1],o=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(u=>u);return u=>{const c=sz(u,s);return iz(u,s[c],s[c+1],i[c],i[c+1],l,o,a,r.map)}};function iz(e,t,n,r,i,s,o,a,l){let u=l?l(e):e;if(un){if(a==="identity")return u;a==="clamp"&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u=u-t:u=(u-t)/(n-t),u=s(u),r===-1/0?u=-u:i===1/0?u=u+r:u=u*(i-r)+r,u)}function sz(e,t){for(var n=1;n=e);++n);return n-1}var oz=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,i=t==="end"?Math.floor(r):Math.ceil(r);return qN(0,1,i/e)},Rd=1.70158,ic=Rd*1.525,Dw=Rd+1,Fw=2*Math.PI/3,Nw=2*Math.PI/4.5,sc=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,az={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Dw*e*e*e-Rd*e*e,easeOutBack:e=>1+Dw*Math.pow(e-1,3)+Rd*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((ic+1)*2*e-ic)/2:(Math.pow(2*e-2,2)*((ic+1)*(e*2-2)+ic)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*Fw),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*Fw)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Nw))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Nw)/2+1,easeInBounce:e=>1-sc(1-e),easeOutBounce:sc,easeInOutBounce:e=>e<.5?(1-sc(1-2*e))/2:(1+sc(2*e-1))/2,steps:oz},Ll=Symbol.for("FluidValue.get"),Uo=Symbol.for("FluidValue.observers"),gn=e=>!!(e&&e[Ll]),jt=e=>e&&e[Ll]?e[Ll]():e,zw=e=>e[Uo]||null;function lz(e,t){e.eventObserved?e.eventObserved(t):e(t)}function jl(e,t){const n=e[Uo];n&&n.forEach(r=>{lz(r,t)})}var O2=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");uz(this,e)}},uz=(e,t)=>R2(e,Ll,t);function ia(e,t){if(e[Ll]){let n=e[Uo];n||R2(e,Uo,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Dl(e,t){const n=e[Uo];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Uo]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var R2=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Ac=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,cz=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Vw=new RegExp(`(${Ac.source})(%|[a-z]+)`,"i"),dz=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ip=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,A2=e=>{const[t,n]=fz(e);if(!t||Hv())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(n);return i||e}else{if(n&&ip.test(n))return A2(n);if(n)return n}return e},fz=e=>{const t=ip.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Eh,pz=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,I2=e=>{Eh||(Eh=wi?new RegExp(`(${Object.keys(wi).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(s=>jt(s).replace(ip,A2).replace(cz,jw).replace(Eh,jw)),n=t.map(s=>s.match(Ac).map(Number)),i=n[0].map((s,o)=>n.map(a=>{if(!(o in a))throw Error('The arity of each "output" value must be equal');return a[o]})).map(s=>$l({...e,output:s}));return s=>{var l;const o=!Vw.test(t[0])&&((l=t.find(u=>Vw.test(u)))==null?void 0:l.replace(Ac,""));let a=0;return t[0].replace(Ac,()=>`${i[a++](s)}${o||""}`).replace(dz,pz)}},Kv="react-spring: ",$2=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${Kv}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},hz=$2(console.warn);function mz(){hz(`${Kv}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var gz=$2(console.warn);function vz(){gz(`${Kv}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function sp(e){return z.str(e)&&(e[0]=="#"||/\d/.test(e)||!Hv()&&ip.test(e)||e in(wi||{}))}var Qv=Hv()?b.useEffect:b.useLayoutEffect,yz=()=>{const e=b.useRef(!1);return Qv(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function L2(){const e=b.useState()[1],t=yz();return()=>{t.current&&e(Math.random())}}function xz(e,t){const[n]=b.useState(()=>({inputs:t,result:e()})),r=b.useRef(),i=r.current;let s=i;return s?t&&s.inputs&&wz(t,s.inputs)||(s={inputs:t,result:e()}):s=n,b.useEffect(()=>{r.current=s,i==n&&(n.inputs=n.result=void 0)},[s]),s.result}function wz(e,t){if(e.length!==t.length)return!1;for(let n=0;nb.useEffect(e,bz),bz=[];function Bw(e){const t=b.useRef();return b.useEffect(()=>{t.current=e}),t.current}var Fl=Symbol.for("Animated:node"),Sz=e=>!!e&&e[Fl]===e,Un=e=>e&&e[Fl],Yv=(e,t)=>UN(e,Fl,t),op=e=>e&&e[Fl]&&e[Fl].getPayload(),D2=class{constructor(){Yv(this,this)}getPayload(){return this.payload||[]}},Pu=class extends D2{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,z.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Pu(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return z.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,z.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Nl=class extends Pu{constructor(e){super(0),this._string=null,this._toString=$l({output:[e,e]})}static create(e){return new Nl(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(z.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=$l({output:[this.getValue(),e]})),this._value=0,super.reset()}},Ad={dependencies:null},ap=class extends D2{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return ir(this.source,(n,r)=>{Sz(n)?t[r]=n.getValue(e):gn(n)?t[r]=jt(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&ue(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return ir(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Ad.dependencies&&gn(e)&&Ad.dependencies.add(e);const t=op(e);t&&ue(t,n=>this.add(n))}},F2=class extends ap{constructor(e){super(e)}static create(e){return new F2(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((n,r)=>n.setValue(e[r])).some(Boolean):(super.setValue(e.map(Ez)),!0)}};function Ez(e){return(sp(e)?Nl:Pu).create(e)}function Eg(e){const t=Un(e);return t?t.constructor:z.arr(e)?F2:sp(e)?Nl:Pu}var Uw=(e,t)=>{const n=!z.fun(e)||e.prototype&&e.prototype.isReactComponent;return b.forwardRef((r,i)=>{const s=b.useRef(null),o=n&&b.useCallback(h=>{s.current=Tz(i,h)},[i]),[a,l]=Cz(r,t),u=L2(),c=()=>{const h=s.current;if(n&&!h)return;(h?t.applyAnimatedValues(h,a.getValue(!0)):!1)===!1&&u()},d=new Pz(c,l),f=b.useRef();Qv(()=>(f.current=d,ue(l,h=>ia(h,d)),()=>{f.current&&(ue(f.current.deps,h=>Dl(h,f.current)),J.cancel(f.current.update))})),b.useEffect(c,[]),j2(()=>()=>{const h=f.current;ue(h.deps,m=>Dl(m,h))});const p=t.getComponentProps(a.getValue());return b.createElement(e,{...p,ref:o})})},Pz=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&J.write(this.update)}};function Cz(e,t){const n=new Set;return Ad.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new ap(e),Ad.dependencies=null,[e,n]}function Tz(e,t){return e&&(z.fun(e)?e(t):e.current=t),t}var Ww=Symbol.for("AnimatedComponent"),kz=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new ap(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},s=o=>{const a=Hw(o)||"Anonymous";return z.str(o)?o=s[o]||(s[o]=Uw(o,i)):o=o[Ww]||(o[Ww]=Uw(o,i)),o.displayName=`Animated(${a})`,o};return ir(e,(o,a)=>{z.arr(e)&&(a=Hw(o)),s[a]=s(o)}),{animated:s}},Hw=e=>z.str(e)?e:e&&z.str(e.displayName)?e.displayName:z.fun(e)&&e.name||null;function Ki(e,...t){return z.fun(e)?e(...t):e}var Xa=(e,t)=>e===!0||!!(t&&e&&(z.fun(e)?e(t):Kt(e).includes(t))),N2=(e,t)=>z.obj(e)?t&&e[t]:e,z2=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,Mz=e=>e,Xv=(e,t=Mz)=>{let n=_z;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const s=t(e[i],i);z.und(s)||(r[i]=s)}return r},_z=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Oz={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Rz(e){const t={};let n=0;if(ir(e,(r,i)=>{Oz[i]||(t[i]=r,n++)}),n)return t}function V2(e){const t=Rz(e);if(t){const n={to:t};return ir(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function zl(e){return e=jt(e),z.arr(e)?e.map(zl):sp(e)?zn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Az(e){for(const t in e)return!0;return!1}function Pg(e){return z.fun(e)||z.arr(e)&&z.obj(e[0])}function Iz(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function $z(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var Lz={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Cg={...Lz.default,mass:1,damping:1,easing:az.linear,clamp:!1},jz=class{constructor(){this.velocity=0,Object.assign(this,Cg)}};function Dz(e,t,n){n&&(n={...n},Gw(n,t),t={...n,...t}),Gw(e,t),Object.assign(e,t);for(const o in Cg)e[o]==null&&(e[o]=Cg[o]);let{frequency:r,damping:i}=e;const{mass:s}=e;return z.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*s,e.friction=4*Math.PI*i*s/r),e}function Gw(e,t){if(!z.und(t.decay))e.duration=void 0;else{const n=!z.und(t.tension)||!z.und(t.friction);(n||!z.und(t.frequency)||!z.und(t.damping)||!z.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var qw=[],Fz=class{constructor(){this.changed=!1,this.values=qw,this.toValues=null,this.fromValues=qw,this.config=new jz,this.immediate=!1}};function B2(e,{key:t,props:n,defaultProps:r,state:i,actions:s}){return new Promise((o,a)=>{let l,u,c=Xa(n.cancel??(r==null?void 0:r.cancel),t);if(c)p();else{z.und(n.pause)||(i.paused=Xa(n.pause,t));let h=r==null?void 0:r.pause;h!==!0&&(h=i.paused||Xa(h,t)),l=Ki(n.delay||0,t),h?(i.resumeQueue.add(f),s.pause()):(s.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(u),u.cancel(),l=u.time-J.now()}function f(){l>0&&!zn.skipAnimation?(i.delayed=!0,u=J.setTimeout(p,l),i.pauseQueue.add(d),i.timeouts.add(u)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(u),e<=(i.cancelId||0)&&(c=!0);try{s.start({...n,callId:e,cancel:c},o)}catch(h){a(h)}}})}var Zv=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?vo(e.get()):t.every(n=>n.noop)?U2(e.get()):Ln(e.get(),t.every(n=>n.finished)),U2=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ln=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),vo=e=>({value:e,cancelled:!0,finished:!1});function W2(e,t,n,r){const{callId:i,parentId:s,onRest:o}=t,{asyncTo:a,promise:l}=n;return!s&&e===a&&!t.reset?l:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const u=Xv(t,(x,g)=>g==="onRest"?void 0:x);let c,d;const f=new Promise((x,g)=>(c=x,d=g)),p=x=>{const g=i<=(n.cancelId||0)&&vo(r)||i!==n.asyncId&&Ln(r,!1);if(g)throw x.result=g,d(x),x},h=(x,g)=>{const y=new Kw,v=new Qw;return(async()=>{if(zn.skipAnimation)throw Vl(n),v.result=Ln(r,!1),d(v),v;p(y);const w=z.obj(x)?{...x}:{...g,to:x};w.parentId=i,ir(u,(P,T)=>{z.und(w[T])&&(w[T]=P)});const S=await r.start(w);return p(y),n.paused&&await new Promise(P=>{n.resumeQueue.add(P)}),S})()};let m;if(zn.skipAnimation)return Vl(n),Ln(r,!1);try{let x;z.arr(e)?x=(async g=>{for(const y of g)await h(y)})(e):x=Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([x.then(c),f]),m=Ln(r.get(),!0,!1)}catch(x){if(x instanceof Kw)m=x.result;else if(x instanceof Qw)m=x.result;else throw x}finally{i==n.asyncId&&(n.asyncId=s,n.asyncTo=s?a:void 0,n.promise=s?l:void 0)}return z.fun(o)&&J.batchedUpdates(()=>{o(m,r,r.item)}),m})()}function Vl(e,t){Qa(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Kw=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Qw=class extends Error{constructor(){super("SkipAnimationSignal")}},Tg=e=>e instanceof Jv,Nz=1,Jv=class extends O2{constructor(){super(...arguments),this.id=Nz++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Un(this);return e&&e.getValue()}to(...e){return zn.to(this,e)}interpolate(...e){return mz(),zn.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){jl(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||np.sort(this),jl(this,{type:"priority",parent:this,priority:e})}},Ss=Symbol.for("SpringPhase"),H2=1,kg=2,Mg=4,Ph=e=>(e[Ss]&H2)>0,zr=e=>(e[Ss]&kg)>0,ba=e=>(e[Ss]&Mg)>0,Yw=(e,t)=>t?e[Ss]|=kg|H2:e[Ss]&=~kg,Xw=(e,t)=>t?e[Ss]|=Mg:e[Ss]&=~Mg,zz=class extends Jv{constructor(e,t){if(super(),this.animation=new Fz,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!z.und(e)||!z.und(t)){const n=z.obj(e)?{...e}:{...t,from:e};z.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(zr(this)||this._state.asyncTo)||ba(this)}get goal(){return jt(this.animation.to)}get velocity(){const e=Un(this);return e instanceof Pu?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return Ph(this)}get isAnimating(){return zr(this)}get isPaused(){return ba(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:s}=r,o=op(r.to);!o&&gn(r.to)&&(i=Kt(jt(r.to))),r.values.forEach((u,c)=>{if(u.done)return;const d=u.constructor==Nl?1:o?o[c].lastPosition:i[c];let f=r.immediate,p=d;if(!f){if(p=u.lastPosition,s.tension<=0){u.done=!0;return}let h=u.elapsedTime+=e;const m=r.fromValues[c],x=u.v0!=null?u.v0:u.v0=z.arr(s.velocity)?s.velocity[c]:s.velocity;let g;const y=s.precision||(m==d?.005:Math.min(1,Math.abs(d-m)*.001));if(z.und(s.duration))if(s.decay){const v=s.decay===!0?.998:s.decay,w=Math.exp(-(1-v)*h);p=m+x/(1-v)*(1-w),f=Math.abs(u.lastPosition-p)<=y,g=x*w}else{g=u.lastVelocity==null?x:u.lastVelocity;const v=s.restVelocity||y/10,w=s.clamp?0:s.bounce,S=!z.und(w),P=m==d?u.v0>0:mv,!(!T&&(f=Math.abs(d-p)<=y,f)));++R){S&&(C=p==d||p>d==P,C&&(g=-g*w,p=d));const I=-s.tension*1e-6*(p-d),$=-s.friction*.001*g,D=(I+$)/s.mass;g=g+D*M,p=p+g*M}}else{let v=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,u.durationProgress>0&&(u.elapsedTime=s.duration*u.durationProgress,h=u.elapsedTime+=e)),v=(s.progress||0)+h/this._memoizedDuration,v=v>1?1:v<0?0:v,u.durationProgress=v),p=m+s.easing(v)*(d-m),g=(p-u.lastPosition)/e,f=v==1}u.lastVelocity=g,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),f=!0)}o&&!o[c].done&&(f=!1),f?u.done=!0:t=!1,u.setValue(p,s.round)&&(n=!0)});const a=Un(this),l=a.getValue();if(t){const u=jt(r.to);(l!==u||n)&&!s.decay?(a.setValue(u),this._onChange(u)):n&&s.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(e){return J.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(zr(this)){const{to:e,config:t}=this.animation;J.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return z.und(e)?(n=this.queue||[],this.queue=[]):n=[z.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>Zv(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Vl(this._state,e&&this._lastCallId),J.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=z.obj(n)?n[t]:n,(n==null||Pg(n))&&(n=void 0),r=z.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return Ph(this)||(e.reverse&&([n,r]=[r,n]),r=jt(r),z.und(r)?Un(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,Xv(e,(o,a)=>/^on/.test(a)?N2(o,n):o)),Jw(this,e,"onProps"),Ea(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const s=this._state;return B2(++this._lastCallId,{key:n,props:e,defaultProps:r,state:s,actions:{pause:()=>{ba(this)||(Xw(this,!0),Ia(s.pauseQueue),Ea(this,"onPause",Ln(this,Sa(this,this.animation.to)),this))},resume:()=>{ba(this)&&(Xw(this,!1),zr(this)&&this._resume(),Ia(s.resumeQueue),Ea(this,"onResume",Ln(this,Sa(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(e.loop&&o.finished&&!(t&&o.noop)){const a=G2(e);if(a)return this._update(a,!0)}return o})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(vo(this));const r=!z.und(e.to),i=!z.und(e.from);if(r||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(vo(this));const{key:s,defaultProps:o,animation:a}=this,{to:l,from:u}=a;let{to:c=l,from:d=u}=e;i&&!r&&(!t.default||z.und(c))&&(c=d),t.reverse&&([c,d]=[d,c]);const f=!dr(d,u);f&&(a.from=d),d=jt(d);const p=!dr(c,l);p&&this._focus(c);const h=Pg(t.to),{config:m}=a,{decay:x,velocity:g}=m;(r||i)&&(m.velocity=0),t.config&&!h&&Dz(m,Ki(t.config,s),t.config!==o.config?Ki(o.config,s):void 0);let y=Un(this);if(!y||z.und(c))return n(Ln(this,!0));const v=z.und(t.reset)?i&&!t.default:!z.und(d)&&Xa(t.reset,s),w=v?d:this.get(),S=zl(c),P=z.num(S)||z.arr(S)||sp(S),T=!h&&(!P||Xa(o.immediate||t.immediate,s));if(p){const R=Eg(c);if(R!==y.constructor)if(T)y=this._set(S);else throw Error(`Cannot animate between ${y.constructor.name} and ${R.name}, as the "to" prop suggests`)}const C=y.constructor;let M=gn(c),k=!1;if(!M){const R=v||!Ph(this)&&f;(p||R)&&(k=dr(zl(w),S),M=!k),(!dr(a.immediate,T)&&!T||!dr(m.decay,x)||!dr(m.velocity,g))&&(M=!0)}if(k&&zr(this)&&(a.changed&&!v?M=!0:M||this._stop(l)),!h&&((M||gn(l))&&(a.values=y.getPayload(),a.toValues=gn(c)?null:C==Nl?[1]:Kt(S)),a.immediate!=T&&(a.immediate=T,!T&&!v&&this._set(l)),M)){const{onRest:R}=a;ue(Bz,$=>Jw(this,t,$));const I=Ln(this,Sa(this,l));Ia(this._pendingCalls,I),this._pendingCalls.add(n),a.changed&&J.batchedUpdates(()=>{var $;a.changed=!v,R==null||R(I,this),v?Ki(o.onRest,I):($=a.onStart)==null||$.call(a,I,this)})}v&&this._set(w),h?n(W2(t.to,t,this._state,this)):M?this._start():zr(this)&&!p?this._pendingCalls.add(n):n(U2(w))}_focus(e){const t=this.animation;e!==t.to&&(zw(this)&&this._detach(),t.to=e,zw(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;gn(t)&&(ia(t,this),Tg(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;gn(e)&&Dl(e,this)}_set(e,t=!0){const n=jt(e);if(!z.und(n)){const r=Un(this);if(!r||!dr(n,r.getValue())){const i=Eg(n);!r||r.constructor!=i?Yv(this,i.create(n)):r.setValue(n),r&&J.batchedUpdates(()=>{this._onChange(n,t)})}}return Un(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Ea(this,"onStart",Ln(this,Sa(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ki(this.animation.onChange,e,this)),Ki(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Un(this).reset(jt(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),zr(this)||(Yw(this,!0),ba(this)||this._resume())}_resume(){zn.skipAnimation?this.finish():np.start(this)}_stop(e,t){if(zr(this)){Yw(this,!1);const n=this.animation;ue(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),jl(this,{type:"idle",parent:this});const r=t?vo(this.get()):Ln(this.get(),Sa(this,e??n.to));Ia(this._pendingCalls,r),n.changed&&(n.changed=!1,Ea(this,"onRest",r,this))}}};function Sa(e,t){const n=zl(t),r=zl(e.get());return dr(r,n)}function G2(e,t=e.loop,n=e.to){const r=Ki(t);if(r){const i=r!==!0&&V2(r),s=(i||e).reverse,o=!i||i.reset;return Bl({...e,loop:t,default:!1,pause:void 0,to:!s||Pg(n)?n:void 0,from:o?e.from:void 0,reset:o,...i})}}function Bl(e){const{to:t,from:n}=e=V2(e),r=new Set;return z.obj(t)&&Zw(t,r),z.obj(n)&&Zw(n,r),e.keys=r.size?Array.from(r):null,e}function Vz(e){const t=Bl(e);return z.und(t.default)&&(t.default=Xv(t)),t}function Zw(e,t){ir(e,(n,r)=>n!=null&&t.add(r))}var Bz=["onStart","onRest","onChange","onPause","onResume"];function Jw(e,t,n){e.animation[n]=t[n]!==z2(t,n)?N2(t[n],e.key):void 0}function Ea(e,t,...n){var r,i,s,o;(i=(r=e.animation)[t])==null||i.call(r,...n),(o=(s=e.defaultProps)[t])==null||o.call(s,...n)}var Uz=["onStart","onChange","onRest"],Wz=1,Hz=class{constructor(e,t){this.id=Wz++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];z.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Bl(e)),this}start(e){let{queue:t}=this;return e?t=Kt(e).map(Bl):this.queue=[],this._flush?this._flush(this,t):(X2(this,t),_g(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;ue(Kt(t),r=>n[r].stop(!!e))}else Vl(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(z.und(e))this.start({pause:!0});else{const t=this.springs;ue(Kt(e),n=>t[n].pause())}return this}resume(e){if(z.und(e))this.start({pause:!1});else{const t=this.springs;ue(Kt(e),n=>t[n].resume())}return this}each(e){ir(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,Qa(e,([a,l])=>{l.value=this.get(),a(l,this,this._item)}));const s=!r&&this._started,o=i||s&&n.size?this.get():null;i&&t.size&&Qa(t,([a,l])=>{l.value=o,a(l,this,this._item)}),s&&(this._started=!1,Qa(n,([a,l])=>{l.value=o,a(l,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;J.onFrame(this._onFrame)}};function _g(e,t){return Promise.all(t.map(n=>q2(e,n))).then(n=>Zv(e,n))}async function q2(e,t,n){const{keys:r,to:i,from:s,loop:o,onRest:a,onResolve:l}=t,u=z.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),s===!1&&(t.from=null);const c=z.arr(i)||z.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):ue(Uz,m=>{const x=t[m];if(z.fun(x)){const g=e._events[m];t[m]=({finished:y,cancelled:v})=>{const w=g.get(x);w?(y||(w.finished=!1),v&&(w.cancelled=!0)):g.set(x,{value:null,finished:y||!1,cancelled:v||!1})},u&&(u[m]=t[m])}});const d=e._state;t.pause===!d.paused?(d.paused=t.pause,Ia(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(r||Object.keys(e.springs)).map(m=>e.springs[m].start(t)),p=t.cancel===!0||z2(t,"cancel")===!0;(c||p&&d.asyncId)&&f.push(B2(++e._lastAsyncId,{props:t,state:d,actions:{pause:bg,resume:bg,start(m,x){p?(Vl(d,e._lastAsyncId),x(vo(e))):(m.onRest=a,x(W2(c,m,d,e)))}}})),d.paused&&await new Promise(m=>{d.resumeQueue.add(m)});const h=Zv(e,await Promise.all(f));if(o&&h.finished&&!(n&&h.noop)){const m=G2(t,o,i);if(m)return X2(e,[m]),q2(e,m,!0)}return l&&J.batchedUpdates(()=>l(h,e,e.item)),h}function eb(e,t){const n={...e.springs};return t&&ue(Kt(t),r=>{z.und(r.keys)&&(r=Bl(r)),z.obj(r.to)||(r={...r,to:void 0}),Y2(n,r,i=>Q2(i))}),K2(e,n),n}function K2(e,t){ir(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,ia(n,e))})}function Q2(e,t){const n=new zz;return n.key=e,t&&ia(n,t),n}function Y2(e,t,n){t.keys&&ue(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function X2(e,t){ue(t,n=>{Y2(e.springs,n,r=>Q2(r,e))})}var lp=({children:e,...t})=>{const n=b.useContext(Id),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=xz(()=>({pause:r,immediate:i}),[r,i]);const{Provider:s}=Id;return b.createElement(s,{value:t},e)},Id=Gz(lp,{});lp.Provider=Id.Provider;lp.Consumer=Id.Consumer;function Gz(e,t){return Object.assign(e,b.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var qz=()=>{const e=[],t=function(r){vz();const i=[];return ue(e,(s,o)=>{if(z.und(r))i.push(s.start());else{const a=n(r,s,o);a&&i.push(s.start(a))}}),i};t.current=e,t.add=function(r){e.includes(r)||e.push(r)},t.delete=function(r){const i=e.indexOf(r);~i&&e.splice(i,1)},t.pause=function(){return ue(e,r=>r.pause(...arguments)),this},t.resume=function(){return ue(e,r=>r.resume(...arguments)),this},t.set=function(r){ue(e,(i,s)=>{const o=z.fun(r)?r(s,i):r;o&&i.set(o)})},t.start=function(r){const i=[];return ue(e,(s,o)=>{if(z.und(r))i.push(s.start());else{const a=this._getProps(r,s,o);a&&i.push(s.start(a))}}),i},t.stop=function(){return ue(e,r=>r.stop(...arguments)),this},t.update=function(r){return ue(e,(i,s)=>i.update(this._getProps(r,i,s))),this};const n=function(r,i,s){return z.fun(r)?r(s,i):r};return t._getProps=n,t};function Kz(e,t,n){const r=z.fun(t)&&t;r&&!n&&(n=[]);const i=b.useMemo(()=>r||arguments.length==3?qz():void 0,[]),s=b.useRef(0),o=L2(),a=b.useMemo(()=>({ctrls:[],queue:[],flush(g,y){const v=eb(g,y);return s.current>0&&!a.queue.length&&!Object.keys(v).some(S=>!g.springs[S])?_g(g,y):new Promise(S=>{K2(g,v),a.queue.push(()=>{S(_g(g,y))}),o()})}}),[]),l=b.useRef([...a.ctrls]),u=[],c=Bw(e)||0;b.useMemo(()=>{ue(l.current.slice(e,c),g=>{Iz(g,i),g.stop(!0)}),l.current.length=e,d(c,e)},[e]),b.useMemo(()=>{d(0,Math.min(c,e))},n);function d(g,y){for(let v=g;veb(g,u[y])),p=b.useContext(lp),h=Bw(p),m=p!==h&&Az(p);Qv(()=>{s.current++,a.ctrls=l.current;const{queue:g}=a;g.length&&(a.queue=[],ue(g,y=>y())),ue(l.current,(y,v)=>{i==null||i.add(y),m&&y.start({default:p});const w=u[v];w&&($z(y,w.ref),y.ref?y.queue.push(w):y.start(w))})}),j2(()=>()=>{ue(a.ctrls,g=>g.stop(!0))});const x=f.map(g=>({...g}));return i?[x,i]:x}function Qz(e,t){const n=z.fun(e),[[r],i]=Kz(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}var Yz=class extends Jv{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=$l(...t);const n=this._get(),r=Eg(n);Yv(this,r.create(n))}advance(e){const t=this._get(),n=this.get();dr(t,n)||(Un(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&tb(this._active)&&Ch(this)}_get(){const e=z.arr(this.source)?this.source.map(jt):Kt(jt(this.source));return this.calc(...e)}_start(){this.idle&&!tb(this._active)&&(this.idle=!1,ue(op(this),e=>{e.done=!1}),zn.skipAnimation?(J.batchedUpdates(()=>this.advance()),Ch(this)):np.start(this))}_attach(){let e=1;ue(Kt(this.source),t=>{gn(t)&&ia(t,this),Tg(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){ue(Kt(this.source),e=>{gn(e)&&Dl(e,this)}),this._active.clear(),Ch(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=Kt(this.source).reduce((t,n)=>Math.max(t,(Tg(n)?n.priority:0)+1),0))}};function Xz(e){return e.idle!==!1}function tb(e){return!e.size||Array.from(e).every(Xz)}function Ch(e){e.idle||(e.idle=!0,ue(op(e),t=>{t.done=!0}),jl(e,{type:"idle",parent:e}))}zn.assign({createStringInterpolator:I2,to:(e,t)=>new Yz(e,t)});var Z2=/^--/;function Zz(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!Z2.test(e)&&!(Za.hasOwnProperty(e)&&Za[e])?t+"px":(""+t).trim()}var nb={};function Jz(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{style:r,children:i,scrollTop:s,scrollLeft:o,viewBox:a,...l}=t,u=Object.values(l),c=Object.keys(l).map(d=>n||e.hasAttribute(d)?d:nb[d]||(nb[d]=d.replace(/([A-Z])/g,f=>"-"+f.toLowerCase())));i!==void 0&&(e.textContent=i);for(const d in r)if(r.hasOwnProperty(d)){const f=Zz(d,r[d]);Z2.test(d)?e.style.setProperty(d,f):e.style[d]=f}c.forEach((d,f)=>{e.setAttribute(d,u[f])}),s!==void 0&&(e.scrollTop=s),o!==void 0&&(e.scrollLeft=o),a!==void 0&&e.setAttribute("viewBox",a)}var Za={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},e8=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),t8=["Webkit","Ms","Moz","O"];Za=Object.keys(Za).reduce((e,t)=>(t8.forEach(n=>e[e8(n,t)]=e[t]),e),Za);var n8=/^(matrix|translate|scale|rotate|skew)/,r8=/^(translate)/,i8=/^(rotate|skew)/,Th=(e,t)=>z.num(e)&&e!==0?e+t:e,Ic=(e,t)=>z.arr(e)?e.every(n=>Ic(n,t)):z.num(e)?e===t:parseFloat(e)===t,s8=class extends ap{constructor({x:e,y:t,z:n,...r}){const i=[],s=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),s.push(o=>[`translate3d(${o.map(a=>Th(a,"px")).join(",")})`,Ic(o,0)])),ir(r,(o,a)=>{if(a==="transform")i.push([o||""]),s.push(l=>[l,l===""]);else if(n8.test(a)){if(delete r[a],z.und(o))return;const l=r8.test(a)?"px":i8.test(a)?"deg":"";i.push(Kt(o)),s.push(a==="rotate3d"?([u,c,d,f])=>[`rotate3d(${u},${c},${d},${Th(f,l)})`,Ic(f,0)]:u=>[`${a}(${u.map(c=>Th(c,l)).join(",")})`,Ic(u,a.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new o8(i,s)),super(r)}},o8=class extends O2{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return ue(this.inputs,(n,r)=>{const i=jt(n[0]),[s,o]=this.transforms[r](z.arr(i)?i:n.map(jt));e+=" "+s,t=t&&o}),t?"none":e}observerAdded(e){e==1&&ue(this.inputs,t=>ue(t,n=>gn(n)&&ia(n,this)))}observerRemoved(e){e==0&&ue(this.inputs,t=>ue(t,n=>gn(n)&&Dl(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),jl(this,e)}},a8=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];zn.assign({batchedUpdates:df.unstable_batchedUpdates,createStringInterpolator:I2,colors:KN});var l8=kz(a8,{applyAnimatedValues:Jz,createAnimatedStyle:e=>new s8(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),u8=l8.animated;const c8=u8(ce);function kh({end:e,title:t,prefix:n,start:r,minWidth:i,alignSelf:s}){const{number:o}=Qz({from:{number:r||0},number:e,config:{mass:1,tension:20,friction:10}});return E.jsx(Y,{sx:{display:"flex",justifyContent:"center",flexDirection:"column",flex:1,minWidth:i},children:E.jsxs(Y,{sx:{display:"flex",flex:1,alignItems:"center",flexDirection:"column"},children:[E.jsx(Y,{sx:{display:"flex",flex:1,alignItems:"flex-start",alignSelf:s||"center"},children:E.jsxs(Y,{sx:{flexDirection:"row",alignItems:"center",alignSelf:"center",justifyContent:"center",display:"flex",flex:1},children:[E.jsx(ce,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:n}),E.jsx(c8,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:o.to(a=>Math.floor(a).toLocaleString("en-US"))}),E.jsx(ce,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:"+"})]})}),E.jsx(ce,{sx:{fontSize:"calc(15px + 0.5vw)",alignSelf:s||"center"},children:t})]})})}var Cu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Wo=typeof window>"u"||"Deno"in globalThis;function dn(){}function d8(e,t){return typeof e=="function"?e(t):e}function Og(e){return typeof e=="number"&&e>=0&&e!==1/0}function J2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function rb(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==ey(o,t.options))return!1}else if(!Wl(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function ib(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ul(t.options.mutationKey)!==Ul(s))return!1}else if(!Wl(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ey(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ul)(e)}function Ul(e){return JSON.stringify(e,(t,n)=>Ag(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Wl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Wl(e[n],t[n])):!1}function ek(e,t){if(e===t)return e;const n=sb(e)&&sb(t);if(n||Ag(e)&&Ag(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{};let l=0;for(let u=0;u{setTimeout(t,e)})}function Ig(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ek(e,t):t}function p8(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function h8(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ty=Symbol(),ns,Jr,xo,BS,m8=(BS=class extends Cu{constructor(){super();X(this,ns,void 0);X(this,Jr,void 0);X(this,xo,void 0);H(this,xo,t=>{if(!Wo&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,Jr)||this.setEventListener(_(this,xo))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,Jr))==null||t.call(this),H(this,Jr,void 0))}setEventListener(t){var n;H(this,xo,t),(n=_(this,Jr))==null||n.call(this),H(this,Jr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,ns)!==t&&(H(this,ns,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,ns)=="boolean"?_(this,ns):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ns=new WeakMap,Jr=new WeakMap,xo=new WeakMap,BS),ny=new m8,wo,ei,bo,US,g8=(US=class extends Cu{constructor(){super();X(this,wo,!0);X(this,ei,void 0);X(this,bo,void 0);H(this,bo,t=>{if(!Wo&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){_(this,ei)||this.setEventListener(_(this,bo))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ei))==null||t.call(this),H(this,ei,void 0))}setEventListener(t){var n;H(this,bo,t),(n=_(this,ei))==null||n.call(this),H(this,ei,t(this.setOnline.bind(this)))}setOnline(t){_(this,wo)!==t&&(H(this,wo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,wo)}},wo=new WeakMap,ei=new WeakMap,bo=new WeakMap,US),$d=new g8;function v8(e){return Math.min(1e3*2**e,3e4)}function ry(e){return(e??"online")==="online"?$d.isOnline():!0}var tk=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Mh(e){return e instanceof tk}function nk(e){let t=!1,n=0,r=!1,i,s,o;const a=new Promise((x,g)=>{s=x,o=g}),l=x=>{var g;r||(p(new tk(x)),(g=e.abort)==null||g.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>!ny.isFocused()||e.networkMode!=="always"&&!$d.isOnline(),f=x=>{var g;r||(r=!0,(g=e.onSuccess)==null||g.call(e,x),i==null||i(),s(x))},p=x=>{var g;r||(r=!0,(g=e.onError)==null||g.call(e,x),i==null||i(),o(x))},h=()=>new Promise(x=>{var g;i=y=>{const v=r||!d();return v&&x(y),v},(g=e.onPause)==null||g.call(e)}).then(()=>{var x;i=void 0,r||(x=e.onContinue)==null||x.call(e)}),m=()=>{if(r)return;let x;try{x=e.fn()}catch(g){x=Promise.reject(g)}Promise.resolve(x).then(f).catch(g=>{var P;if(r)return;const y=e.retry??(Wo?0:3),v=e.retryDelay??v8,w=typeof v=="function"?v(n,g):v,S=y===!0||typeof y=="number"&&n{if(d())return h()}).then(()=>{t?p(g):m()})})};return ry(e.networkMode)?m():h().then(m),{promise:a,cancel:l,continue:()=>(i==null?void 0:i())?a:Promise.resolve(),cancelRetry:u,continueRetry:c}}function y8(){let e=[],t=0,n=f=>{f()},r=f=>{f()},i=f=>setTimeout(f,0);const s=f=>{i=f},o=f=>{let p;t++;try{p=f()}finally{t--,t||u()}return p},a=f=>{t?e.push(f):i(()=>{n(f)})},l=f=>(...p)=>{a(()=>{f(...p)})},u=()=>{const f=e;e=[],f.length&&i(()=>{r(()=>{f.forEach(p=>{n(p)})})})};return{batch:o,batchCalls:l,schedule:a,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{r=f},setScheduler:s}}var pt=y8(),rs,WS,rk=(WS=class{constructor(){X(this,rs,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Og(this.gcTime)&&H(this,rs,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Wo?1/0:5*60*1e3))}clearGcTimeout(){_(this,rs)&&(clearTimeout(_(this,rs)),H(this,rs,void 0))}},rs=new WeakMap,WS),So,Eo,ln,_t,nt,Ql,is,An,ur,HS,x8=(HS=class extends rk{constructor(t){super();X(this,An);X(this,So,void 0);X(this,Eo,void 0);X(this,ln,void 0);X(this,_t,void 0);X(this,nt,void 0);X(this,Ql,void 0);X(this,is,void 0);H(this,is,!1),H(this,Ql,t.defaultOptions),this.setOptions(t.options),H(this,nt,[]),H(this,ln,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,So,t.state||w8(this.options)),this.state=_(this,So),this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={..._(this,Ql),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!_(this,nt).length&&this.state.fetchStatus==="idle"&&_(this,ln).remove(this)}setData(t,n){const r=Ig(this.state.data,t,this.options);return le(this,An,ur).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){le(this,An,ur).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=_(this,_t))==null?void 0:r.promise;return(i=_(this,_t))==null||i.cancel(t),n?n.then(dn).catch(dn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,So))}isActive(){return _(this,nt).some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?_(this,nt).some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!J2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=_(this,nt).find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,_t))==null||n.continue()}onOnline(){var n;const t=_(this,nt).find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,_t))==null||n.continue()}addObserver(t){_(this,nt).includes(t)||(_(this,nt).push(t),this.clearGcTimeout(),_(this,ln).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){_(this,nt).includes(t)&&(H(this,nt,_(this,nt).filter(n=>n!==t)),_(this,nt).length||(_(this,_t)&&(_(this,is)?_(this,_t).cancel({revert:!0}):_(this,_t).cancelRetry()),this.scheduleGc()),_(this,ln).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return _(this,nt).length}invalidate(){this.state.isInvalidated||le(this,An,ur).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,_t))return _(this,_t).continueRetry(),_(this,_t).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=_(this,nt).find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i={queryKey:this.queryKey,meta:this.meta},s=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(H(this,is,!0),r.signal)})};s(i);const o=()=>!this.options.queryFn||this.options.queryFn===ty?Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`)):(H(this,is,!1),this.options.persister?this.options.persister(this.options.queryFn,i,this):this.options.queryFn(i)),a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};s(a),(u=this.options.behavior)==null||u.onFetch(a,this),H(this,Eo,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&le(this,An,ur).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var p,h,m,x;Mh(f)&&f.silent||le(this,An,ur).call(this,{type:"error",error:f}),Mh(f)||((h=(p=_(this,ln).config).onError)==null||h.call(p,f,this),(x=(m=_(this,ln).config).onSettled)==null||x.call(m,this.state.data,f,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return H(this,_t,nk({fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,h,m,x;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}this.setData(f),(h=(p=_(this,ln).config).onSuccess)==null||h.call(p,f,this),(x=(m=_(this,ln).config).onSettled)==null||x.call(m,f,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(f,p)=>{le(this,An,ur).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{le(this,An,ur).call(this,{type:"pause"})},onContinue:()=>{le(this,An,ur).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode})),_(this,_t).promise}},So=new WeakMap,Eo=new WeakMap,ln=new WeakMap,_t=new WeakMap,nt=new WeakMap,Ql=new WeakMap,is=new WeakMap,An=new WeakSet,ur=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...ik(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Mh(i)&&i.revert&&_(this,Eo)?{..._(this,Eo),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),pt.batch(()=>{_(this,nt).forEach(r=>{r.onQueryUpdate()}),_(this,ln).notify({query:this,type:"updated",action:t})})},HS);function ik(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ry(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function w8(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Hn,GS,b8=(GS=class extends Cu{constructor(t={}){super();X(this,Hn,void 0);this.config=t,H(this,Hn,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??ey(i,n);let o=this.get(s);return o||(o=new x8({cache:this,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){_(this,Hn).has(t.queryHash)||(_(this,Hn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,Hn).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,Hn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){pt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Hn).get(t)}getAll(){return[..._(this,Hn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>rb(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>rb(t,r)):n}notify(t){pt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){pt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){pt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Hn=new WeakMap,GS),Gn,Yl,Ut,Po,qn,Wr,qS,S8=(qS=class extends rk{constructor(t){super();X(this,qn);X(this,Gn,void 0);X(this,Yl,void 0);X(this,Ut,void 0);X(this,Po,void 0);this.mutationId=t.mutationId,H(this,Yl,t.defaultOptions),H(this,Ut,t.mutationCache),H(this,Gn,[]),this.state=t.state||E8(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={..._(this,Yl),...t},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Gn).includes(t)||(_(this,Gn).push(t),this.clearGcTimeout(),_(this,Ut).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Gn,_(this,Gn).filter(n=>n!==t)),this.scheduleGc(),_(this,Ut).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Gn).length||(this.state.status==="pending"?this.scheduleGc():_(this,Ut).remove(this))}continue(){var t;return((t=_(this,Po))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,o,a,l,u,c,d,f,p,h,m,x,g,y,v,w,S,P,T;const n=()=>(H(this,Po,nk({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(C,M)=>{le(this,qn,Wr).call(this,{type:"failed",failureCount:C,error:M})},onPause:()=>{le(this,qn,Wr).call(this,{type:"pause"})},onContinue:()=>{le(this,qn,Wr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),_(this,Po).promise),r=this.state.status==="pending";try{if(!r){le(this,qn,Wr).call(this,{type:"pending",variables:t}),await((s=(i=_(this,Ut).config).onMutate)==null?void 0:s.call(i,t,this));const M=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));M!==this.state.context&&le(this,qn,Wr).call(this,{type:"pending",context:M,variables:t})}const C=await n();return await((u=(l=_(this,Ut).config).onSuccess)==null?void 0:u.call(l,C,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,C,t,this.state.context)),await((p=(f=_(this,Ut).config).onSettled)==null?void 0:p.call(f,C,null,this.state.variables,this.state.context,this)),await((m=(h=this.options).onSettled)==null?void 0:m.call(h,C,null,t,this.state.context)),le(this,qn,Wr).call(this,{type:"success",data:C}),C}catch(C){try{throw await((g=(x=_(this,Ut).config).onError)==null?void 0:g.call(x,C,t,this.state.context,this)),await((v=(y=this.options).onError)==null?void 0:v.call(y,C,t,this.state.context)),await((S=(w=_(this,Ut).config).onSettled)==null?void 0:S.call(w,void 0,C,this.state.variables,this.state.context,this)),await((T=(P=this.options).onSettled)==null?void 0:T.call(P,void 0,C,t,this.state.context)),C}finally{le(this,qn,Wr).call(this,{type:"error",error:C})}}}},Gn=new WeakMap,Yl=new WeakMap,Ut=new WeakMap,Po=new WeakMap,qn=new WeakSet,Wr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!ry(this.options.networkMode),status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),pt.batch(()=>{_(this,Gn).forEach(r=>{r.onMutationUpdate(t)}),_(this,Ut).notify({mutation:this,type:"updated",action:t})})},qS);function E8(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var un,Xl,ss,KS,P8=(KS=class extends Cu{constructor(t={}){super();X(this,un,void 0);X(this,Xl,void 0);X(this,ss,void 0);this.config=t,H(this,un,[]),H(this,Xl,0)}build(t,n,r){const i=new S8({mutationCache:this,mutationId:++Iu(this,Xl)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){_(this,un).push(t),this.notify({type:"added",mutation:t})}remove(t){H(this,un,_(this,un).filter(n=>n!==t)),this.notify({type:"removed",mutation:t})}clear(){pt.batch(()=>{_(this,un).forEach(t=>{this.remove(t)})})}getAll(){return _(this,un)}find(t){const n={exact:!0,...t};return _(this,un).find(r=>ib(n,r))}findAll(t={}){return _(this,un).filter(n=>ib(t,n))}notify(t){pt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){return H(this,ss,(_(this,ss)??Promise.resolve()).then(()=>{const t=_(this,un).filter(n=>n.state.isPaused);return pt.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(dn)),Promise.resolve()))}).then(()=>{H(this,ss,void 0)})),_(this,ss)}},un=new WeakMap,Xl=new WeakMap,ss=new WeakMap,KS);function C8(e){return{onFetch:(t,n)=>{const r=async()=>{var h,m,x,g,y;const i=t.options,s=(x=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:x.direction,o=((g=t.state.data)==null?void 0:g.pages)||[],a=((y=t.state.data)==null?void 0:y.pageParams)||[],l={pages:[],pageParams:[]};let u=!1;const c=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},d=t.options.queryFn&&t.options.queryFn!==ty?t.options.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${t.options.queryHash}'`)),f=async(v,w,S)=>{if(u)return Promise.reject();if(w==null&&v.pages.length)return Promise.resolve(v);const P={queryKey:t.queryKey,pageParam:w,direction:S?"backward":"forward",meta:t.options.meta};c(P);const T=await d(P),{maxPages:C}=t.options,M=S?h8:p8;return{pages:M(v.pages,T,C),pageParams:M(v.pageParams,w,C)}};let p;if(s&&o.length){const v=s==="backward",w=v?T8:ab,S={pages:o,pageParams:a},P=w(i,S);p=await f(S,P,v)}else{p=await f(l,a[0]??i.initialPageParam);const v=e??o.length;for(let w=1;w{var i,s;return(s=(i=t.options).persister)==null?void 0:s.call(i,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function ab(e,{pages:t,pageParams:n}){const r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function T8(e,{pages:t,pageParams:n}){var r;return(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n)}var ze,ti,ni,Co,To,ri,ko,Mo,QS,k8=(QS=class{constructor(e={}){X(this,ze,void 0);X(this,ti,void 0);X(this,ni,void 0);X(this,Co,void 0);X(this,To,void 0);X(this,ri,void 0);X(this,ko,void 0);X(this,Mo,void 0);H(this,ze,e.queryCache||new b8),H(this,ti,e.mutationCache||new P8),H(this,ni,e.defaultOptions||{}),H(this,Co,new Map),H(this,To,new Map),H(this,ri,0)}mount(){Iu(this,ri)._++,_(this,ri)===1&&(H(this,ko,ny.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,ze).onFocus())})),H(this,Mo,$d.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,ze).onOnline())})))}unmount(){var e,t;Iu(this,ri)._--,_(this,ri)===0&&((e=_(this,ko))==null||e.call(this),H(this,ko,void 0),(t=_(this,Mo))==null||t.call(this),H(this,Mo,void 0))}isFetching(e){return _(this,ze).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,ti).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,ze).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=_(this,ze).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(n.staleTime)&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return _(this,ze).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=_(this,ze).get(r.queryHash),s=i==null?void 0:i.state.data,o=d8(t,s);if(o!==void 0)return _(this,ze).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return pt.batch(()=>_(this,ze).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,ze).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,ze);pt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,ze),r={type:"active",...e};return pt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=pt.batch(()=>_(this,ze).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(dn).catch(dn)}invalidateQueries(e={},t={}){return pt.batch(()=>{if(_(this,ze).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=pt.batch(()=>_(this,ze).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(dn)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(dn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,ze).build(this,t);return n.isStaleByTime(t.staleTime)?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(dn).catch(dn)}fetchInfiniteQuery(e){return e.behavior=C8(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(dn).catch(dn)}resumePausedMutations(){return $d.isOnline()?_(this,ti).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,ze)}getMutationCache(){return _(this,ti)}getDefaultOptions(){return _(this,ni)}setDefaultOptions(e){H(this,ni,e)}setQueryDefaults(e,t){_(this,Co).set(Ul(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Co).values()];let n={};return t.forEach(r=>{Wl(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){_(this,To).set(Ul(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,To).values()];let n={};return t.forEach(r=>{Wl(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,ni).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ey(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===ty&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,ni).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,ze).clear(),_(this,ti).clear()}},ze=new WeakMap,ti=new WeakMap,ni=new WeakMap,Co=new WeakMap,To=new WeakMap,ri=new WeakMap,ko=new WeakMap,Mo=new WeakMap,QS),Lt,Pe,Zl,Ot,os,_o,Kn,Jl,Oo,Ro,as,ls,ii,Ao,us,$a,eu,$g,tu,Lg,nu,jg,ru,Dg,iu,Fg,su,Ng,ou,zg,qd,sk,YS,M8=(YS=class extends Cu{constructor(t,n){super();X(this,us);X(this,eu);X(this,tu);X(this,nu);X(this,ru);X(this,iu);X(this,su);X(this,ou);X(this,qd);X(this,Lt,void 0);X(this,Pe,void 0);X(this,Zl,void 0);X(this,Ot,void 0);X(this,os,void 0);X(this,_o,void 0);X(this,Kn,void 0);X(this,Jl,void 0);X(this,Oo,void 0);X(this,Ro,void 0);X(this,as,void 0);X(this,ls,void 0);X(this,ii,void 0);X(this,Ao,new Set);this.options=n,H(this,Lt,t),H(this,Kn,null),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,Pe).addObserver(this),lb(_(this,Pe),this.options)?le(this,us,$a).call(this):this.updateResult(),le(this,ru,Dg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Vg(_(this,Pe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Vg(_(this,Pe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,le(this,iu,Fg).call(this),le(this,su,Ng).call(this),_(this,Pe).removeObserver(this)}setOptions(t,n){const r=this.options,i=_(this,Pe);if(this.options=_(this,Lt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");le(this,ou,zg).call(this),_(this,Pe).setOptions(this.options),r._defaulted&&!Rg(this.options,r)&&_(this,Lt).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Pe),observer:this});const s=this.hasListeners();s&&ub(_(this,Pe),i,this.options,r)&&le(this,us,$a).call(this),this.updateResult(n),s&&(_(this,Pe)!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&le(this,eu,$g).call(this);const o=le(this,tu,Lg).call(this);s&&(_(this,Pe)!==i||this.options.enabled!==r.enabled||o!==_(this,ii))&&le(this,nu,jg).call(this,o)}getOptimisticResult(t){const n=_(this,Lt).getQueryCache().build(_(this,Lt),t),r=this.createResult(n,t);return O8(this,r)&&(H(this,Ot,r),H(this,_o,this.options),H(this,os,_(this,Pe).state)),r}getCurrentResult(){return _(this,Ot)}trackResult(t,n){const r={};return Object.keys(t).forEach(i=>{Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),r}trackProp(t){_(this,Ao).add(t)}getCurrentQuery(){return _(this,Pe)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=_(this,Lt).defaultQueryOptions(t),r=_(this,Lt).getQueryCache().build(_(this,Lt),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){return le(this,us,$a).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,Ot)))}createResult(t,n){var T;const r=_(this,Pe),i=this.options,s=_(this,Ot),o=_(this,os),a=_(this,_o),u=t!==r?t.state:_(this,Zl),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const C=this.hasListeners(),M=!C&&lb(t,n),k=C&&ub(t,r,n,i);(M||k)&&(d={...d,...ik(c.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:h,errorUpdatedAt:m,status:x}=d;if(n.select&&d.data!==void 0)if(s&&d.data===(o==null?void 0:o.data)&&n.select===_(this,Jl))p=_(this,Oo);else try{H(this,Jl,n.select),p=n.select(d.data),p=Ig(s==null?void 0:s.data,p,n),H(this,Oo,p),H(this,Kn,null)}catch(C){H(this,Kn,C)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&x==="pending"){let C;if(s!=null&&s.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))C=s.data;else if(C=typeof n.placeholderData=="function"?n.placeholderData((T=_(this,Ro))==null?void 0:T.state.data,_(this,Ro)):n.placeholderData,n.select&&C!==void 0)try{C=n.select(C),H(this,Kn,null)}catch(M){H(this,Kn,M)}C!==void 0&&(x="success",p=Ig(s==null?void 0:s.data,C,n),f=!0)}_(this,Kn)&&(h=_(this,Kn),p=_(this,Oo),m=Date.now(),x="error");const g=d.fetchStatus==="fetching",y=x==="pending",v=x==="error",w=y&&g,S=p!==void 0;return{status:x,fetchStatus:d.fetchStatus,isPending:y,isSuccess:x==="success",isError:v,isInitialLoading:w,isLoading:w,data:p,dataUpdatedAt:d.dataUpdatedAt,error:h,errorUpdatedAt:m,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:v&&!S,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:v&&S,isStale:iy(t,n),refetch:this.refetch}}updateResult(t){const n=_(this,Ot),r=this.createResult(_(this,Pe),this.options);if(H(this,os,_(this,Pe).state),H(this,_o,this.options),_(this,os).data!==void 0&&H(this,Ro,_(this,Pe)),Rg(r,n))return;H(this,Ot,r);const i={},s=()=>{if(!n)return!0;const{notifyOnChangeProps:o}=this.options,a=typeof o=="function"?o():o;if(a==="all"||!a&&!_(this,Ao).size)return!0;const l=new Set(a??_(this,Ao));return this.options.throwOnError&&l.add("error"),Object.keys(_(this,Ot)).some(u=>{const c=u;return _(this,Ot)[c]!==n[c]&&l.has(c)})};(t==null?void 0:t.listeners)!==!1&&s()&&(i.listeners=!0),le(this,qd,sk).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&le(this,ru,Dg).call(this)}},Lt=new WeakMap,Pe=new WeakMap,Zl=new WeakMap,Ot=new WeakMap,os=new WeakMap,_o=new WeakMap,Kn=new WeakMap,Jl=new WeakMap,Oo=new WeakMap,Ro=new WeakMap,as=new WeakMap,ls=new WeakMap,ii=new WeakMap,Ao=new WeakMap,us=new WeakSet,$a=function(t){le(this,ou,zg).call(this);let n=_(this,Pe).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(dn)),n},eu=new WeakSet,$g=function(){if(le(this,iu,Fg).call(this),Wo||_(this,Ot).isStale||!Og(this.options.staleTime))return;const n=J2(_(this,Ot).dataUpdatedAt,this.options.staleTime)+1;H(this,as,setTimeout(()=>{_(this,Ot).isStale||this.updateResult()},n))},tu=new WeakSet,Lg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Pe)):this.options.refetchInterval)??!1},nu=new WeakSet,jg=function(t){le(this,su,Ng).call(this),H(this,ii,t),!(Wo||this.options.enabled===!1||!Og(_(this,ii))||_(this,ii)===0)&&H(this,ls,setInterval(()=>{(this.options.refetchIntervalInBackground||ny.isFocused())&&le(this,us,$a).call(this)},_(this,ii)))},ru=new WeakSet,Dg=function(){le(this,eu,$g).call(this),le(this,nu,jg).call(this,le(this,tu,Lg).call(this))},iu=new WeakSet,Fg=function(){_(this,as)&&(clearTimeout(_(this,as)),H(this,as,void 0))},su=new WeakSet,Ng=function(){_(this,ls)&&(clearInterval(_(this,ls)),H(this,ls,void 0))},ou=new WeakSet,zg=function(){const t=_(this,Lt).getQueryCache().build(_(this,Lt),this.options);if(t===_(this,Pe))return;const n=_(this,Pe);H(this,Pe,t),H(this,Zl,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},qd=new WeakSet,sk=function(t){pt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(_(this,Ot))}),_(this,Lt).getQueryCache().notify({query:_(this,Pe),type:"observerResultsUpdated"})})},YS);function _8(e,t){return t.enabled!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function lb(e,t){return _8(e,t)||e.state.data!==void 0&&Vg(e,t,t.refetchOnMount)}function Vg(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&iy(e,t)}return!1}function ub(e,t,n,r){return(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&iy(e,n)}function iy(e,t){return t.enabled!==!1&&e.isStaleByTime(t.staleTime)}function O8(e,t){return!Rg(e.getCurrentResult(),t)}var ok=b.createContext(void 0),R8=e=>{const t=b.useContext(ok);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},A8=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(ok.Provider,{value:e,children:t})),ak=b.createContext(!1),I8=()=>b.useContext(ak);ak.Provider;function $8(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var L8=b.createContext($8()),j8=()=>b.useContext(L8);function D8(e,t){return typeof e=="function"?e(...t):!!e}var F8=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},N8=e=>{b.useEffect(()=>{e.clearReset()},[e])},z8=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&D8(n,[e.error,r]),V8=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},B8=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,U8=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function W8(e,t,n){const r=R8(n),i=I8(),s=j8(),o=r.defaultQueryOptions(e);o._optimisticResults=i?"isRestoring":"optimistic",V8(o),F8(o,s),N8(s);const[a]=b.useState(()=>new t(r,o)),l=a.getOptimisticResult(o);if(b.useSyncExternalStore(b.useCallback(u=>{const c=i?()=>{}:a.subscribe(pt.batchCalls(u));return a.updateResult(),c},[a,i]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),b.useEffect(()=>{a.setOptions(o,{listeners:!1})},[o,a]),B8(o,l))throw U8(o,a,s);if(z8({result:l,errorResetBoundary:s,throwOnError:o.throwOnError,query:r.getQueryCache().get(o.queryHash)}))throw l.error;return o.notifyOnChangeProps?l:a.trackResult(l)}function lk(e,t){return W8(e,M8,t)}async function H8(){try{return(await bu.get("/projects")).data}catch{return[{_id:"66292f8768dc79f8d04536ad",name:"Space Safety Visualizer",organization:"Amazon",description:"The Fall 2023 Amazon project was a low Earth orbit satellite visualization system. This was designed for Project Kuiper as a way to visualize satellite collision risk to non-technical stakeholders at Amazon.",members:[{memberInfo:{_id:"66292f8768dc79f8d0453673",firstName:"Samai",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/8a7fb3e66260f050539a6d8021a733635298861369c9ba60278abeb78e8c6216"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368b",firstName:"Ishan",lastName:"Revankar",profileUrl:"https://gravatar.com/avatar/66e5f9478a8c5c1090326d16f13ac2f9d56540fbc38c86e0b16061dd4d6c31d9"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045368d",firstName:"Nitish",lastName:"Vobilisetti",profileUrl:"https://gravatar.com/avatar/eb8416def562dd101a91cb9ad66731467420be6dafff0a691f33b184d796d7f5"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368f",firstName:"Neil",lastName:"Hajela",profileUrl:"https://gravatar.com/avatar/9ec79c36a878d718e93405ec8431d2f414d1e6e021376763b85ec2555418bcd2"},role:"Engineer"},{memberInfo:{_id:"66292f8768dc79f8d0453691",firstName:"Hadijat",lastName:"Oke",profileUrl:"https://gravatar.com/avatar/4e7a51f508246f5a290cd93aead661a323322a0fecc28e2ebb44714f5825a7ef"},role:"Project Manager"},{memberInfo:{_id:"66292f8768dc79f8d0453693",firstName:"Nand",lastName:"Vinchhi",profileUrl:"https://gravatar.com/avatar/5c7e99e4bd1a8bc12f56605f7ec6a09a95472ebb07dd30f4d4e1ef134655c35a"},role:"Tech Lead"}],cover:null,semester:"Fall 2023",__v:0},{_id:"66292f8768dc79f8d04536b9",name:"Pattern of Life Application",organization:"Praxis Engineering",description:`The Fall 2023 GDIT project was a "pattern of life" understanding system. This Android application collects key data metrics from users including location, application usage, and message data and coallates it to form an understanding of a user's pattern of life.`,members:[{memberInfo:{_id:"66292f8768dc79f8d0453670",firstName:"Aidan",lastName:"Melvin",profileUrl:"https://gravatar.com/avatar/5e99dcb1de10b83cd0e90620d77b046c13ff633b688f72dbb5a3c22202b2f1d7"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453695",firstName:"Mohammad",lastName:"Abd-Elmoniem",profileUrl:"https://gravatar.com/avatar/767766ff1d10a3d06a4e222b42a3ae7ff16a11bb83e25385202089a77efab30e"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453697",firstName:"Nishkal",lastName:"Hundia",profileUrl:"https://gravatar.com/avatar/bb1facd1c2182bdc9f840b9b4c396e67ea94ad2395f76a4fac43a7d43b6a437e"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453699",firstName:"Ojas",lastName:"Jagtap",profileUrl:"https://gravatar.com/avatar/68e78c20b977b3ff0f44d1e1f9f5a0ec6be745620062d6709fcbf8a73ff773df"},role:"Full-stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369b",firstName:"Josiah",lastName:"Lim",profileUrl:"https://gravatar.com/avatar/b277c291ff3c46b46124f62ae5f8d9fc5cd052300814f5bdbd89580759bcc027"},role:"ML Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369d",firstName:"Om",lastName:"Duggineni",profileUrl:"https://gravatar.com/avatar/00b197895f49ed34677306f551bddceaaa7c65756a238e2aee72b6ef95fd8525"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369f",firstName:"Dev",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/fb0bc07ce80323d4513cf2b60118de6dca5dd70a9edf08d12aa2b3c4451733ab"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a1",firstName:"Ananth",lastName:"Sankaralingam",profileUrl:"https://gravatar.com/avatar/ef0cd3559a6c30fc53bebd50c1533136de0d10c69b6b7a5df1fbe607b6b19e7d"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a3",firstName:"Advik",lastName:"Sachdeva",profileUrl:"https://gravatar.com/avatar/3b4653ea5eec167a3498fce281baf6ad961c465805b7758b0d77a090a3b666eb"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a5",firstName:"Rahul",lastName:"Ramasubramanian",profileUrl:"https://gravatar.com/avatar/9b42bb4f4bdb330a258afce57cee5b14b67de14c5ebbcc86814fcd270fff669c"},role:"Full-Stack Engineer"}],cover:null,semester:"Fall 2023",__v:0}]}}async function G8(e){try{return(await bu.get(`/projects/${e}`)).data}catch{return{_id:"66292f8768dc79f8d04536ad",name:"Space Safety Visualizer",organization:"Amazon",description:"The Fall 2023 Amazon project was a low Earth orbit satellite visualization system. This was designed for Project Kuiper as a way to visualize satellite collision risk to non-technical stakeholders at Amazon.",members:[{memberInfo:{_id:"66292f8768dc79f8d0453673",firstName:"Samai",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/8a7fb3e66260f050539a6d8021a733635298861369c9ba60278abeb78e8c6216"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368b",firstName:"Ishan",lastName:"Revankar",profileUrl:"https://gravatar.com/avatar/66e5f9478a8c5c1090326d16f13ac2f9d56540fbc38c86e0b16061dd4d6c31d9"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045368d",firstName:"Nitish",lastName:"Vobilisetti",profileUrl:"https://gravatar.com/avatar/eb8416def562dd101a91cb9ad66731467420be6dafff0a691f33b184d796d7f5"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368f",firstName:"Neil",lastName:"Hajela",profileUrl:"https://gravatar.com/avatar/9ec79c36a878d718e93405ec8431d2f414d1e6e021376763b85ec2555418bcd2"},role:"Engineer"},{memberInfo:{_id:"66292f8768dc79f8d0453691",firstName:"Hadijat",lastName:"Oke",profileUrl:"https://gravatar.com/avatar/4e7a51f508246f5a290cd93aead661a323322a0fecc28e2ebb44714f5825a7ef"},role:"Project Manager"},{memberInfo:{_id:"66292f8768dc79f8d0453693",firstName:"Nand",lastName:"Vinchhi",profileUrl:"https://gravatar.com/avatar/5c7e99e4bd1a8bc12f56605f7ec6a09a95472ebb07dd30f4d4e1ef134655c35a"},role:"Tech Lead"}],demo:"https://www.youtube.com/embed/UFwHEMrSO-M?si=NmlpAyAtZwOLEPiE",cover:null,semester:"Fall 2023",__v:0}}}const uk={getAll:H8,getById:G8};var La={},ck={},up={},Js=fe&&fe.__assign||function(){return Js=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(!((c=h==null?void 0:h.in)===null||c===void 0)&&c.style)&&(h.in.style.transform=function(v){return m.in.map(function(w){return cb(w,v)}).join(" ")}),m.out.length>0&&(!((d=h==null?void 0:h.out)===null||d===void 0)&&d.style)&&(h.out.style.transform=function(v){return m.out.map(function(w){return cb(w,v)}).join(" ")}),h};up.batch=q8;var bi={},Cs={},sy={},Bg=fe&&fe.__assign||function(){return Bg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u")){if(t==="height")return db&&fb?window.screen.height-80:window.innerHeight;if(t==="width")return db&&fb?window.screen.width:window.innerWidth}}});oy.default=Q8;var cp={};Object.defineProperty(cp,"__esModule",{value:!0});cp.SimpleInterpolation=void 0;var Y8=function(e,t,n){return e*(1-n)+t*n};cp.SimpleInterpolation=Y8;(function(e){var t=fe&&fe.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0}),e.computeStyle=e.SimpleInterpolation=e.environment=void 0;var n=t(sy);e.computeStyle=n.default;var r=t(oy);e.environment=r.default;var i=cp;Object.defineProperty(e,"SimpleInterpolation",{enumerable:!0,get:function(){return i.SimpleInterpolation}})})(Cs);Object.defineProperty(bi,"__esModule",{value:!0});bi.FadeOut=bi.FadeIn=bi.Fade=void 0;var Ld=Cs,X8=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(e,t,n)}}},out:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(t,e,n)}}}}};bi.Fade=X8;var Z8=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(e,t,n)}}}}};bi.FadeIn=Z8;var J8=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{out:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(e,t,n)}}}}};bi.FadeOut=J8;var Si={};Object.defineProperty(Si,"__esModule",{value:!0});Si.MoveOut=Si.MoveIn=Si.Move=void 0;var di=Cs,e9=function(e,t,n,r){return e===void 0&&(e=0),t===void 0&&(t=100),n===void 0&&(n=null),r===void 0&&(r=-100),{in:{style:{transform:function(i){return"translate(".concat((0,di.SimpleInterpolation)(e,0,i),"px, ").concat((0,di.SimpleInterpolation)(t,0,i),"px)")}}},out:{style:{transform:function(i){return"translate(".concat((0,di.SimpleInterpolation)(0,n||e,i),"px, ").concat((0,di.SimpleInterpolation)(0,r||t,i),"px)")}}}}};Si.Move=e9;var t9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=100),{in:{style:{transform:function(n){return"translate(".concat((0,di.SimpleInterpolation)(e,0,n),"px, ").concat((0,di.SimpleInterpolation)(t,0,n),"px)")}}}}};Si.MoveIn=t9;var n9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=-100),{out:{style:{transform:function(n){return"translate(".concat((0,di.SimpleInterpolation)(0,e,n),"px, ").concat((0,di.SimpleInterpolation)(0,t,n),"px)")}}}}};Si.MoveOut=n9;var Ei={};Object.defineProperty(Ei,"__esModule",{value:!0});Ei.StickyOut=Ei.StickyIn=Ei.Sticky=void 0;var xn=Cs,r9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}}}};Ei.Sticky=r9;var i9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"absolute"}}}};Ei.StickyIn=i9;var s9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:"".concat(e*xn.environment.width/100,"px"),top:"".concat(t*xn.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"absolute"}},out:{style:{left:"".concat(e*xn.environment.width/100,"px"),top:"".concat(t*xn.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"fixed"}}}};Ei.StickyOut=s9;var Pi={};Object.defineProperty(Pi,"__esModule",{value:!0});Pi.ZoomOut=Pi.ZoomIn=Pi.Zoom=void 0;var jd=Cs,o9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(e,t,n),")")}}},out:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(t,e,n),")")}}}}};Pi.Zoom=o9;var a9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(e,t,n),")")}}}}};Pi.ZoomIn=a9;var l9=function(e,t){return e===void 0&&(e=1),t===void 0&&(t=10),{out:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(e,t,n),")")}}}}};Pi.ZoomOut=l9;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ZoomOut=e.ZoomIn=e.Zoom=e.StickyOut=e.StickyIn=e.Sticky=e.MoveOut=e.MoveIn=e.Move=e.FadeOut=e.FadeIn=e.Fade=e.batch=void 0;var t=up;Object.defineProperty(e,"batch",{enumerable:!0,get:function(){return t.batch}});var n=bi;Object.defineProperty(e,"Fade",{enumerable:!0,get:function(){return n.Fade}}),Object.defineProperty(e,"FadeIn",{enumerable:!0,get:function(){return n.FadeIn}}),Object.defineProperty(e,"FadeOut",{enumerable:!0,get:function(){return n.FadeOut}});var r=Si;Object.defineProperty(e,"Move",{enumerable:!0,get:function(){return r.Move}}),Object.defineProperty(e,"MoveIn",{enumerable:!0,get:function(){return r.MoveIn}}),Object.defineProperty(e,"MoveOut",{enumerable:!0,get:function(){return r.MoveOut}});var i=Ei;Object.defineProperty(e,"Sticky",{enumerable:!0,get:function(){return i.Sticky}}),Object.defineProperty(e,"StickyIn",{enumerable:!0,get:function(){return i.StickyIn}}),Object.defineProperty(e,"StickyOut",{enumerable:!0,get:function(){return i.StickyOut}});var s=Pi;Object.defineProperty(e,"Zoom",{enumerable:!0,get:function(){return s.Zoom}}),Object.defineProperty(e,"ZoomIn",{enumerable:!0,get:function(){return s.ZoomIn}}),Object.defineProperty(e,"ZoomOut",{enumerable:!0,get:function(){return s.ZoomOut}})})(ck);var ay={},dp={},fp={},_i={},ly={};Object.defineProperty(ly,"__esModule",{value:!0});var u9={currentY:0,viewportHeight:0,totalPage:0,totalHeight:0,totalProgress:0,realPage:0,currentPage:0,currentProgress:0};ly.default=u9;var uy={};Object.defineProperty(uy,"__esModule",{value:!0});var c9={page:0};uy.default=c9;var dk=fe&&fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_i,"__esModule",{value:!0});_i.initialScrollPage=_i.initialScrollData=void 0;var d9=dk(ly);_i.initialScrollData=d9.default;var f9=dk(uy);_i.initialScrollPage=f9.default;Object.defineProperty(fp,"__esModule",{value:!0});fp.ScrollDataContext=void 0;var p9=b,h9=_i;fp.ScrollDataContext=(0,p9.createContext)(h9.initialScrollData);var pp={};Object.defineProperty(pp,"__esModule",{value:!0});pp.ScrollPageContext=void 0;var m9=b,g9=_i;pp.ScrollPageContext=(0,m9.createContext)(g9.initialScrollPage);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollPageContext=e.ScrollDataContext=void 0;var t=fp;Object.defineProperty(e,"ScrollDataContext",{enumerable:!0,get:function(){return t.ScrollDataContext}});var n=pp;Object.defineProperty(e,"ScrollPageContext",{enumerable:!0,get:function(){return n.ScrollPageContext}})})(dp);var eo=fe&&fe.__assign||function(){return eo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=I9(l),l in gb)return;gb[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!r)for(let p=s.length-1;p>=0;p--){const h=s[p];if(h.href===l&&(!u||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":A9,u||(f.as="script",f.crossOrigin=""),f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),u)return new Promise((p,h)=>{f.addEventListener("load",p),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>t()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},Lh="generated",VH="pointerdown",BH="pointerup",UH="pointerleave",WH="pointerout",HH="pointermove",GH="touchstart",qH="touchend",KH="touchmove",QH="touchcancel",YH="resize",XH="visibilitychange",fy="tsParticles - Error",to=100,vb=.5,fk=1e3;function ZH(e){return typeof e=="boolean"}function Hl(e){return typeof e=="string"}function sa(e){return typeof e=="number"}function oc(e){return typeof e=="object"&&e!==null}function Ts(e){return Array.isArray(e)}const Wn={x:0,y:0,z:0},yb=2,$9=1;class On{constructor(t,n,r){if(this._updateFromAngle=(i,s)=>{this.x=Math.cos(i)*s,this.y=Math.sin(i)*s},!sa(t)&&t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:Wn.z}else if(t!==void 0&&n!==void 0)this.x=t,this.y=n,this.z=r??Wn.z;else throw new Error(`${fy} Vector3d not initialized correctly`)}static get origin(){return On.create(Wn.x,Wn.y,Wn.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return On.create(t.x,t.y,t.z)}static create(t,n,r){return new On(t,n,r)}add(t){return On.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return On.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return On.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**yb+this.y**yb}mult(t){return On.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=0&&this.multTo($9/t)}rotate(t){return On.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),Wn.z)}setTo(t){this.x=t.x,this.y=t.y;const n=t;this.z=n.z?n.z:Wn.z}sub(t){return On.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class ps extends On{constructor(t,n){super(t,n,Wn.z)}static get origin(){return ps.create(Wn.x,Wn.y)}static clone(t){return ps.create(t.x,t.y)}static create(t,n){return new ps(t,n)}}let L9=Math.random;const Ug=new Map,j9=2,D9=Math.PI*j9;function JH(e,t){Ug.get(e)||Ug.set(e,t)}function eG(e){return Ug.get(e)??(t=>t)}function sr(){return py(L9(),0,1-Number.EPSILON)}function py(e,t,n){return Math.min(Math.max(e,t),n)}function jh(e,t,n,r){return Math.floor((e*n+t*r)/(n+r))}function yo(e){const t=mp(e),n=0;let r=hp(e);return t===r&&(r=n),sr()*(t-r)+r}function st(e){return sa(e)?e:yo(e)}function hp(e){return sa(e)?e:e.min}function mp(e){return sa(e)?e:e.max}function el(e,t){if(e===t||t===void 0&&sa(e))return e;const n=hp(e),r=mp(e);return t!==void 0?{min:Math.min(n,t),max:Math.max(r,t)}:el(n,r)}function pk(e,t){const n=e.x-t.x,r=e.y-t.y,i=2;return{dx:n,dy:r,distance:Math.sqrt(n**i+r**i)}}function tG(e,t){return pk(e,t).distance}function F9(e){return e*Math.PI/180}function nG(e,t,n){if(sa(e))return F9(e);const r=0,i=.5,s=.25,o=i+s;switch(e){case"top":return-Math.PI*i;case"top-right":return-Math.PI*s;case"right":return r;case"bottom-right":return Math.PI*s;case"bottom":return Math.PI*i;case"bottom-left":return Math.PI*o;case"left":return Math.PI;case"top-left":return-Math.PI*o;case"inside":return Math.atan2(n.y-t.y,n.x-t.x);case"outside":return Math.atan2(t.y-n.y,t.x-n.x);default:return sr()*D9}}function rG(e){const t=ps.origin;return t.length=1,t.angle=e,t}function xb(e,t,n,r){return ps.create(e.x*(n-r)/(n+r)+t.x*2*r/(n+r),e.y)}function iG(e){var t,n;return{x:((t=e.position)==null?void 0:t.x)??sr()*e.size.width,y:((n=e.position)==null?void 0:n.y)??sr()*e.size.height}}function hk(e){return e?e.endsWith("%")?parseFloat(e)/to:parseFloat(e):1}const N9={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function z9(){return N9}function wb(e){const t={bounced:!1},{pSide:n,pOtherSide:r,rectSide:i,rectOtherSide:s,velocity:o,factor:a}=e,l=.5,u=0;return r.mins.max||r.maxs.max||(n.max>=i.min&&n.max<=(i.max+i.min)*l&&o>u||n.min<=i.max&&n.min>(i.max+i.min)*l&&oe.matches(r));return Ts(n)?n.some(r=>r):n}function gp(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function B9(){return!gp()&&typeof matchMedia<"u"}function sG(e){if(B9())return matchMedia(e)}function oG(e){if(!(gp()||typeof IntersectionObserver>"u"))return new IntersectionObserver(e)}function aG(e){if(!(gp()||typeof MutationObserver>"u"))return new MutationObserver(e)}function mk(e,t){return e===t||Ts(t)&&t.indexOf(e)>-1}async function lG(e,t){try{await document.fonts.load(`${t??"400"} 36px '${e??"Verdana"}'`)}catch{}}function U9(e){return Math.floor(sr()*e.length)}function hy(e,t,n=!0){return e[t!==void 0&&n?t%e.length:U9(e)]}function uG(e,t,n,r,i){return W9(gk(e,r??0),t,n,i)}function W9(e,t,n,r){let i=!0;return(!r||r==="bottom")&&(i=e.topn.x),i&&(!r||r==="right")&&(i=e.leftn.y),i}function gk(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function bb(e,...t){for(const n of t){if(n==null)continue;if(!oc(n)){e=n;continue}const r=Array.isArray(n);r&&(oc(e)||!e||!Array.isArray(e))?e=[]:!r&&(oc(e)||!e||Array.isArray(e))&&(e={});for(const i in n){if(i==="__proto__")continue;const s=n,o=s[i],a=e;a[i]=oc(o)&&Array.isArray(o)?o.map(l=>bb(a[i],l)):bb(a[i],o)}}return e}function cG(e,t){return!!yk(t,n=>n.enable&&mk(e,n.mode))}function dG(e,t,n){Gl(t,r=>{const i=r.mode;r.enable&&mk(e,i)&&H9(r,n)})}function H9(e,t){const n=e.selectors;Gl(n,r=>{t(r,e)})}function fG(e,t){if(!(!t||!e))return yk(e,n=>V9(t,n.selectors))}function pG(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:ps.create(st(e.options.bounce.horizontal.value),st(e.options.bounce.vertical.value))}}function hG(e,t){const{x:n,y:r}=e.velocity.sub(t.velocity),[i,s]=[e.position,t.position],{dx:o,dy:a}=pk(s,i);if(n*o+r*a<0)return;const u=-Math.atan2(a,o),c=e.mass,d=t.mass,f=e.velocity.rotate(u),p=t.velocity.rotate(u),h=xb(f,p,c,d),m=xb(p,f,c,d),x=h.rotate(-u),g=m.rotate(-u);e.velocity.x=x.x*e.factor.x,e.velocity.y=x.y*e.factor.y,t.velocity.x=g.x*t.factor.x,t.velocity.y=g.y*t.factor.y}function mG(e,t){const n=e.getPosition(),r=e.getRadius(),i=gk(n,r),s=e.options.bounce,o=wb({pSide:{min:i.left,max:i.right},pOtherSide:{min:i.top,max:i.bottom},rectSide:{min:t.left,max:t.right},rectOtherSide:{min:t.top,max:t.bottom},velocity:e.velocity.x,factor:st(s.horizontal.value)});o.bounced&&(o.velocity!==void 0&&(e.velocity.x=o.velocity),o.position!==void 0&&(e.position.x=o.position));const a=wb({pSide:{min:i.top,max:i.bottom},pOtherSide:{min:i.left,max:i.right},rectSide:{min:t.top,max:t.bottom},rectOtherSide:{min:t.left,max:t.right},velocity:e.velocity.y,factor:st(s.vertical.value)});a.bounced&&(a.velocity!==void 0&&(e.velocity.y=a.velocity),a.position!==void 0&&(e.position.y=a.position))}function Gl(e,t){return Ts(e)?e.map((r,i)=>t(r,i)):t(e,0)}function vk(e,t,n){return Ts(e)?hy(e,t,n):e}function yk(e,t){return Ts(e)?e.find((r,i)=>t(r,i)):t(e,0)?e:void 0}function gG(e,t){const n=e.value,r=e.animation,i={delayTime:st(r.delay)*fk,enable:r.enable,value:st(e.value)*t,max:mp(n)*t,min:hp(n)*t,loops:0,maxLoops:st(r.count),time:0},s=1;if(r.enable){switch(i.decay=s-st(r.decay),r.mode){case"increase":i.status="increasing";break;case"decrease":i.status="decreasing";break;case"random":i.status=sr()>=vb?"increasing":"decreasing";break}const o=r.mode==="auto";switch(r.startValue){case"min":i.value=i.min,o&&(i.status="increasing");break;case"max":i.value=i.max,o&&(i.status="decreasing");break;case"random":default:i.value=yo(i),o&&(i.status=sr()>=vb?"increasing":"decreasing");break}}return i.initialValue=i.value,i}function G9(e,t){if(!(e.mode==="percent")){const{mode:i,...s}=e;return s}return"x"in e?{x:e.x/to*t.width,y:e.y/to*t.height}:{width:e.width/to*t.width,height:e.height/to*t.height}}function vG(e,t){return G9(e,t)}function q9(e,t,n,r,i){switch(t){case"max":n>=i&&e.destroy();break;case"min":n<=r&&e.destroy();break}}function yG(e,t,n,r,i){if(e.destroyed||!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const c=(t.velocity??0)*i.factor,d=t.min,f=t.max,p=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=i.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case"increasing":t.value>=f?(n?t.status="decreasing":t.value-=f,t.loops||(t.loops=0),t.loops++):t.value+=c;break;case"decreasing":t.value<=d?(n?t.status="increasing":t.value+=f,t.loops||(t.loops=0),t.loops++):t.value-=c}t.velocity&&p!==1&&(t.velocity*=p),q9(e,r,t.value,d,f),e.destroyed||(t.value=py(t.value,d,f))}}class K9{constructor(){this._listeners=new Map}addEventListener(t,n){this.removeEventListener(t,n);let r=this._listeners.get(t);r||(r=[],this._listeners.set(t,r)),r.push(n)}dispatchEvent(t,n){const r=this._listeners.get(t);r==null||r.forEach(i=>i(n))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,n){const r=this._listeners.get(t);if(!r)return;const i=r.length,s=r.indexOf(n);if(s<0)return;const a=1;i===a?this._listeners.delete(t):r.splice(s,a)}}async function Dh(e,t,n,r=!1){let i=t.get(e);return(!i||r)&&(i=await Promise.all([...n.values()].map(s=>s(e))),t.set(e,i)),i}async function Q9(e){const t=vk(e.url,e.index);if(!t)return e.fallback;const n=await fetch(t);return n.ok?await n.json():(z9().error(`${fy} ${n.status} while retrieving config file`),e.fallback)}class Y9{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new K9,this._initialized=!1,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[n,r]of this._configs)t[n]=r;return t}get version(){return"3.3.0"}addConfig(t){const n=t.key??t.name??"default";this._configs.set(n,t),this._eventDispatcher.dispatchEvent("configAdded",{data:{name:n,config:t}})}async addEffect(t,n,r=!0){Gl(t,i=>{this.getEffectDrawer(i)||this.effectDrawers.set(i,n)}),await this.refresh(r)}addEventListener(t,n){this._eventDispatcher.addEventListener(t,n)}async addInteractor(t,n,r=!0){this._initializers.interactors.set(t,n),await this.refresh(r)}async addMover(t,n,r=!0){this._initializers.movers.set(t,n),await this.refresh(r)}async addParticleUpdater(t,n,r=!0){this._initializers.updaters.set(t,n),await this.refresh(r)}async addPathGenerator(t,n,r=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,n),await this.refresh(r)}async addPlugin(t,n=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(n)}async addPreset(t,n,r=!1,i=!0){(r||!this.getPreset(t))&&this.presets.set(t,n),await this.refresh(i)}async addShape(t,n,r=!0){Gl(t,i=>{this.getShapeDrawer(i)||this.shapeDrawers.set(i,n)}),await this.refresh(r)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,n){this._eventDispatcher.dispatchEvent(t,n)}dom(){return this._domArray}domItem(t){const n=this.dom(),r=n[t];if(!r||r.destroyed){n.splice(t,1);return}return r}async getAvailablePlugins(t){const n=new Map;for(const r of this.plugins)r.needsPlugin(t.actualOptions)&&n.set(r.id,await r.getPlugin(t));return n}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,n=!1){return await Dh(t,this.interactors,this._initializers.interactors,n)}async getMovers(t,n=!1){return await Dh(t,this.movers,this._initializers.movers,n)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(n=>n.id===t)}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,n=!1){return await Dh(t,this.updaters,this._initializers.updaters,n)}init(){this._initialized||(this._initialized=!0)}async load(t){var m;const r=t.id??((m=t.element)==null?void 0:m.id)??`tsparticles${Math.floor(sr()*1e4)}`,{index:i,url:s}=t,o=s?await Q9({fallback:t.options,url:s,index:i}):t.options;let a=t.element??document.getElementById(r);a||(a=document.createElement("div"),a.id=r,document.body.append(a));const l=vk(o,i),u=this.dom(),c=u.findIndex(x=>x.id.description===r),d=0;if(c>=d){const x=this.domItem(c);x&&!x.destroyed&&(x.destroy(),u.splice(c,1))}let f;if(a.tagName.toLowerCase()==="canvas")f=a,f.dataset[Lh]="false";else{const x=a.getElementsByTagName("canvas");x.length?(f=x[0],f.dataset[Lh]="false"):(f=document.createElement("canvas"),f.dataset[Lh]="true",a.appendChild(f))}f.style.width||(f.style.width="100%"),f.style.height||(f.style.height="100%");const{Container:p}=await Ee(()=>import("./Container-CY8vEWdl.js"),__vite__mapDeps([0,1,2,3,4])),h=new p(this,r,l);return c>=d?u.splice(c,0,h):u.push(h),h.canvas.loadCanvas(f),await h.start(),h}loadOptions(t,n){for(const r of this.plugins)r.loadOptions(t,n)}loadParticlesOptions(t,n,...r){var s;const i=this.updaters.get(t);if(i)for(const o of i)(s=o.loadOptions)==null||s.call(o,n,...r)}async refresh(t=!0){t&&await Promise.all(this.dom().map(n=>n.refresh()))}removeEventListener(t,n){this._eventDispatcher.removeEventListener(t,n)}setOnClickHandler(t){const n=this.dom();if(!n.length)throw new Error(`${fy} can only set click handlers after calling tsParticles.load()`);for(const r of n)r.addClickHandler(t)}}const Fd="random",$c="mid",vp=new Map;function Sb(e){vp.set(e.key,e)}function X9(e){for(const[,l]of vp)if(e.startsWith(l.stringPrefix))return l.parseString(e);const t=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,n=e.replace(t,(l,u,c,d,f)=>u+u+c+c+d+d+(f!==void 0?f+f:"")),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,i=r.exec(n),s=16;return i?{a:i[4]!==void 0?parseInt(i[4],s)/255:1,b:parseInt(i[3],s),g:parseInt(i[2],s),r:parseInt(i[1],s)}:void 0}function Nd(e,t,n=!0){if(!e)return;const r=Hl(e)?{value:e}:e;if(Hl(r.value))return xk(r.value,t,n);if(Ts(r.value))return Nd({value:hy(r.value,t,n)});for(const[,i]of vp){const s=i.handleRangeColor(r);if(s)return s}}function xk(e,t,n=!0){if(!e)return;const r=Hl(e)?{value:e}:e;if(Hl(r.value))return r.value===Fd?wk():J9(r.value);if(Ts(r.value))return xk({value:hy(r.value,t,n)});for(const[,i]of vp){const s=i.handleColor(r);if(s)return s}}function xG(e,t,n=!0){const r=Nd(e,t,n);return r?Z9(r):void 0}function Z9(e){const c=e.r/255,d=e.g/255,f=e.b/255,p=Math.max(c,d,f),h=Math.min(c,d,f),m={h:0,l:(p+h)*.5,s:0};return p!==h&&(m.s=m.l<.5?(p-h)/(p+h):(p-h)/(2-p-h),m.h=c===p?(d-f)/(p-h):m.h=d===p?2+(f-c)/(p-h):2*2+(c-d)/(p-h)),m.l*=100,m.s*=100,m.h*=60,m.h<0&&(m.h+=360),m.h>=360&&(m.h-=360),m}function J9(e){return X9(e)}function Ho(e){const o=(e.h%360+360)%360,a=Math.max(0,Math.min(100,e.s)),l=Math.max(0,Math.min(100,e.l)),u=o/360,c=a/100,d=l/100,f=255,p=3;if(a===0){const M=Math.round(d*f);return{r:M,g:M,b:M}}const h=.5,m=2,x=(M,k,R)=>{if(R<0&&R++,R>1&&R--,R*6<1)return M+(k-M)*6*R;if(R*m<1)return k;if(R*p<1*m){const V=m/p;return M+(k-M)*(V-R)*6}return M},g=1,y=d0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=r.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const c=e.offset?yo(e.offset):0,d=(e.velocity??0)*r.factor+c*3.6,f=e.decay??1,p=mp(t),h=hp(t);!n||e.status==="increasing"?(e.value+=d,e.value>p&&(e.loops||(e.loops=0),e.loops++,n?e.status="decreasing":e.value-=p)):(e.value-=d,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status="increasing")),e.velocity&&f!==1&&(e.velocity*=f),e.value=py(e.value,h,p)}function TG(e,t){if(!e)return;const{h:n,s:r,l:i}=e,s={h:{min:0,max:360},s:{min:0,max:100},l:{min:0,max:100}};n&&Nh(n,s.h,!1,t),r&&Nh(r,s.s,!0,t),i&&Nh(i,s.l,!0,t)}class nV{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.s!==void 0&&r.l!==void 0)return Ho(r)}handleRangeColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.l!==void 0)return Ho({h:st(r.h),l:st(r.l),s:st(r.s)})}parseString(t){if(!t.startsWith("hsl"))return;const n=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i,r=n.exec(t),i=4,s=1,o=10;return r?eV({a:r.length>i?hk(r[5]):s,h:parseInt(r[1],o),l:parseInt(r[3],o),s:parseInt(r[2],o)}):void 0}}class rV{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){const n=t.value,r=n.rgb??t.value;if(r.r!==void 0)return r}handleRangeColor(t){const n=t.value,r=n.rgb??t.value;if(r.r!==void 0)return{r:st(r.r),g:st(r.g),b:st(r.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const n=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i,r=n.exec(t),i=10;return r?{a:r.length>4?hk(r[5]):1,b:parseInt(r[3],i),g:parseInt(r[2],i),r:parseInt(r[1],i)}:void 0}}function iV(){const e=new rV,t=new nV;Sb(e),Sb(t);const n=new Y9;return n.init(),n}const my=iV();gp()||(window.tsParticles=my);const sV=e=>{const t=e.id??"tsparticles";return b.useEffect(()=>{let n;return my.load({id:t,url:e.url,options:e.options}).then(r=>{var i;n=r,(i=e.particlesLoaded)==null||i.call(e,r)}),()=>{n==null||n.destroy()}},[t,e,e.url,e.options]),E.jsx("div",{id:t,className:e.className})};async function oV(e){await e(my)}async function aV(e,t=!0){const{loadParallaxMover:n}=await Ee(()=>import("./index-Rwe__rMQ.js"),[]),{loadExternalAttractInteraction:r}=await Ee(()=>import("./index-BLg1T7Ib.js"),[]),{loadExternalBounceInteraction:i}=await Ee(()=>import("./index-DTc-Eged.js"),[]),{loadExternalBubbleInteraction:s}=await Ee(()=>import("./index-BAyyPntJ.js"),__vite__mapDeps([5,2])),{loadExternalConnectInteraction:o}=await Ee(()=>import("./index-CKskvlcg.js"),[]),{loadExternalGrabInteraction:a}=await Ee(()=>import("./index-s-W_1WDH.js"),__vite__mapDeps([6,2])),{loadExternalPauseInteraction:l}=await Ee(()=>import("./index-CTtyf4AY.js"),[]),{loadExternalPushInteraction:u}=await Ee(()=>import("./index-BissIl3H.js"),[]),{loadExternalRemoveInteraction:c}=await Ee(()=>import("./index-Bjm3viXX.js"),[]),{loadExternalRepulseInteraction:d}=await Ee(()=>import("./index-dQ4aXhzE.js"),[]),{loadExternalSlowInteraction:f}=await Ee(()=>import("./index-BhGalRD2.js"),[]),{loadParticlesAttractInteraction:p}=await Ee(()=>import("./index-DaQ7GeMN.js"),[]),{loadParticlesCollisionsInteraction:h}=await Ee(()=>import("./index-BVPXJ0Ri.js"),[]),{loadParticlesLinksInteraction:m}=await Ee(()=>import("./index-tAKDc-jX.js"),__vite__mapDeps([7,2])),{loadEasingQuadPlugin:x}=await Ee(()=>import("./index-ByQPDIH2.js"),[]),{loadEmojiShape:g}=await Ee(()=>import("./index-CzC25xao.js").then(R=>R.i),[]),{loadImageShape:y}=await Ee(()=>import("./index-DTujt1z_.js").then(R=>R.i),[]),{loadLineShape:v}=await Ee(()=>import("./index-rS29FyBE.js"),[]),{loadPolygonShape:w}=await Ee(()=>import("./index-cU2PfNmv.js"),[]),{loadSquareShape:S}=await Ee(()=>import("./index-Dxg-gCcK.js"),[]),{loadStarShape:P}=await Ee(()=>import("./index-C1ESKUrZ.js"),[]),{loadLifeUpdater:T}=await Ee(()=>import("./index-DDppo6v8.js"),[]),{loadRotateUpdater:C}=await Ee(()=>import("./index-BY4Sn2DS.js"),[]),{loadStrokeColorUpdater:M}=await Ee(()=>import("./index-ywq806aE.js"),[]),{loadBasic:k}=await Ee(()=>import("./index-BXmHUGLE.js"),[]);await n(e,!1),await r(e,!1),await i(e,!1),await s(e,!1),await o(e,!1),await a(e,!1),await l(e,!1),await u(e,!1),await c(e,!1),await d(e,!1),await f(e,!1),await p(e,!1),await h(e,!1),await m(e,!1),await x(),await g(e,!1),await y(e,!1),await v(e,!1),await w(e,!1),await S(e,!1),await P(e,!1),await T(e,!1),await C(e,!1),await M(e,!1),await k(e,t)}const gy="-";function lV(e){const t=cV(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function i(o){const a=o.split(gy);return a[0]===""&&a.length!==1&&a.shift(),bk(a,t)||uV(o)}function s(o,a){const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}return{getClassGroupId:i,getConflictingClassGroupIds:s}}function bk(e,t){var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?bk(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(gy);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId}const Eb=/^\[(.+)\]$/;function uV(e){if(Eb.test(e)){const t=Eb.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function cV(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return fV(Object.entries(e.classGroups),n).forEach(([s,o])=>{Wg(o,r,s,t)}),r}function Wg(e,t,n,r){e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Pb(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(dV(i)){Wg(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{Wg(o,Pb(t,s),n,r)})})}function Pb(e,t){let n=e;return t.split(gy).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function dV(e){return e.isThemeGetter}function fV(e,t){return t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e}function pV(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function i(s,o){n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)}return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}}const Sk="!";function hV(e){const t=e.separator,n=t.length===1,r=t[0],i=t.length;return function(o){const a=[];let l=0,u=0,c;for(let m=0;mu?c-u:void 0;return{modifiers:a,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:h}}}function mV(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function gV(e){return{cache:pV(e.cacheSize),splitModifiers:hV(e),...lV(e)}}const vV=/\s+/;function yV(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=new Set;return e.trim().split(vV).map(o=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(o);let d=r(c?u.substring(0,c):u),f=!!c;if(!d){if(!c)return{isTailwindClass:!1,originalClassName:o};if(d=r(u),!d)return{isTailwindClass:!1,originalClassName:o};f=!1}const p=mV(a).join(":");return{isTailwindClass:!0,modifierId:l?p+Sk:p,classGroupId:d,originalClassName:o,hasPostfixModifier:f}}).reverse().filter(o=>{if(!o.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=o,c=a+l;return s.has(c)?!1:(s.add(c),i(l,u).forEach(d=>s.add(a+d)),!0)}).reverse().map(o=>o.originalClassName).join(" ")}function xV(){let e=0,t,n,r="";for(;ed(c),e());return n=gV(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=yV(l,n);return i(l,c),c}return function(){return s(xV.apply(null,arguments))}}function Te(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Pk=/^\[(?:([a-z-]+):)?(.+)\]$/i,bV=/^\d+\/\d+$/,SV=new Set(["px","full","screen"]),EV=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,PV=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,CV=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,TV=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kV=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function ar(e){return es(e)||SV.has(e)||bV.test(e)}function Br(e){return oa(e,"length",LV)}function es(e){return!!e&&!Number.isNaN(Number(e))}function ac(e){return oa(e,"number",es)}function Pa(e){return!!e&&Number.isInteger(Number(e))}function MV(e){return e.endsWith("%")&&es(e.slice(0,-1))}function te(e){return Pk.test(e)}function Ur(e){return EV.test(e)}const _V=new Set(["length","size","percentage"]);function OV(e){return oa(e,_V,Ck)}function RV(e){return oa(e,"position",Ck)}const AV=new Set(["image","url"]);function IV(e){return oa(e,AV,DV)}function $V(e){return oa(e,"",jV)}function Ca(){return!0}function oa(e,t,n){const r=Pk.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function LV(e){return PV.test(e)&&!CV.test(e)}function Ck(){return!1}function jV(e){return TV.test(e)}function DV(e){return kV.test(e)}function FV(){const e=Te("colors"),t=Te("spacing"),n=Te("blur"),r=Te("brightness"),i=Te("borderColor"),s=Te("borderRadius"),o=Te("borderSpacing"),a=Te("borderWidth"),l=Te("contrast"),u=Te("grayscale"),c=Te("hueRotate"),d=Te("invert"),f=Te("gap"),p=Te("gradientColorStops"),h=Te("gradientColorStopPositions"),m=Te("inset"),x=Te("margin"),g=Te("opacity"),y=Te("padding"),v=Te("saturate"),w=Te("scale"),S=Te("sepia"),P=Te("skew"),T=Te("space"),C=Te("translate"),M=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",te,t],I=()=>[te,t],$=()=>["",ar,Br],D=()=>["auto",es,te],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],N=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",te],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[es,ac],ne=()=>[es,te];return{cacheSize:500,separator:":",theme:{colors:[Ca],spacing:[ar,Br],blur:["none","",Ur,te],brightness:K(),borderColor:[e],borderRadius:["none","","full",Ur,te],borderSpacing:I(),borderWidth:$(),contrast:K(),grayscale:L(),hueRotate:ne(),invert:L(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[MV,Br],inset:R(),margin:R(),opacity:K(),padding:I(),saturate:K(),scale:K(),sepia:L(),skew:ne(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",te]}],container:["container"],columns:[{columns:[Ur]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...V(),te]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Pa,te]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",te]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",Pa,te]}],"grid-cols":[{"grid-cols":[Ca]}],"col-start-end":[{col:["auto",{span:["full",Pa,te]},te]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Ca]}],"row-start-end":[{row:["auto",{span:[Pa,te]},te]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",te]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",te,t]}],"min-w":[{"min-w":[te,t,"min","max","fit"]}],"max-w":[{"max-w":[te,t,"none","full","min","max","fit","prose",{screen:[Ur]},Ur]}],h:[{h:[te,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[te,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ur,Br]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ac]}],"font-family":[{font:[Ca]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",te]}],"line-clamp":[{"line-clamp":["none",es,ac]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ar,te]}],"list-image":[{"list-image":["none",te]}],"list-style-type":[{list:["none","disc","decimal",te]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...N(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ar,Br]}],"underline-offset":[{"underline-offset":["auto",ar,te]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...V(),RV]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",OV]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},IV]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...N(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:N()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...N()]}],"outline-offset":[{"outline-offset":[ar,te]}],"outline-w":[{outline:[ar,Br]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[ar,Br]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ur,$V]}],"shadow-color":[{shadow:[Ca]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ur,te]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",te]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",te]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Pa,te]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",te]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",te]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",te]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ar,Br,ac]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const NV=wV(FV);function Cb(...e){return NV(re(e))}const Tk=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),yp=b.createContext({}),vy=b.createContext(null),yy=typeof document<"u",xy=yy?b.useLayoutEffect:b.useEffect,kk=b.createContext({strict:!1}),wy=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),zV="framerAppearId",Mk="data-"+wy(zV),VV={skipAnimations:!1,useManualTiming:!1};class Tb{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function BV(e){let t=new Tb,n=new Tb,r=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(l,u=!1,c=!1)=>{const d=c&&i,f=d?t:n;return u&&o.add(l),f.add(l)&&d&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),o.delete(l)},process:l=>{if(i){s=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(d[f]=BV(()=>n=!0),d),{}),o=d=>{s[d].process(i)},a=()=>{const d=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(d-i.timestamp,UV),1),i.timestamp=d,i.isProcessing=!0,lc.forEach(o),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:lc.reduce((d,f)=>{const p=s[f];return d[f]=(h,m=!1,x=!1)=>(n||l(),p.schedule(h,m,x)),d},{}),cancel:d=>lc.forEach(f=>s[f].cancel(d)),state:i,steps:s}}const{schedule:by,cancel:kG}=_k(queueMicrotask,!1);function WV(e,t,n,r){const{visualElement:i}=b.useContext(yp),s=b.useContext(kk),o=b.useContext(vy),a=b.useContext(Tk).reducedMotion,l=b.useRef();r=r||s.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;b.useInsertionEffect(()=>{u&&u.update(n,o)});const c=b.useRef(!!(n[Mk]&&!window.HandoffComplete));return xy(()=>{u&&(by.postRender(u.render),c.current&&u.animationState&&u.animationState.animateChanges())}),b.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function no(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function HV(e,t,n){return b.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):no(n)&&(n.current=r))},[t])}function ql(e){return typeof e=="string"||Array.isArray(e)}function xp(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Sy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ey=["initial",...Sy];function wp(e){return xp(e.animate)||Ey.some(t=>ql(e[t]))}function Ok(e){return!!(wp(e)||e.variants)}function GV(e,t){if(wp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ql(n)?n:void 0,animate:ql(r)?r:void 0}}return e.inherit!==!1?t:{}}function qV(e){const{initial:t,animate:n}=GV(e,b.useContext(yp));return b.useMemo(()=>({initial:t,animate:n}),[kb(t),kb(n)])}function kb(e){return Array.isArray(e)?e.join(" "):e}const Mb={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Kl={};for(const e in Mb)Kl[e]={isEnabled:t=>Mb[e].some(n=>!!t[n])};function KV(e){for(const t in e)Kl[t]={...Kl[t],...e[t]}}const Rk=b.createContext({}),Ak=b.createContext({}),QV=Symbol.for("motionComponentSymbol");function YV({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&KV(e);function s(a,l){let u;const c={...b.useContext(Tk),...a,layoutId:XV(a)},{isStatic:d}=c,f=qV(a),p=r(a,d);if(!d&&yy){f.visualElement=WV(i,p,c,t);const h=b.useContext(Ak),m=b.useContext(kk).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,m,e,h))}return E.jsxs(yp.Provider,{value:f,children:[u&&f.visualElement?E.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,HV(p,f.visualElement,l),p,d,f.visualElement)]})}const o=b.forwardRef(s);return o[QV]=i,o}function XV({layoutId:e}){const t=b.useContext(Rk).id;return t&&e!==void 0?t+"-"+e:e}function ZV(e){function t(r,i={}){return YV(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const JV=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Py(e){return typeof e!="string"||e.includes("-")?!1:!!(JV.indexOf(e)>-1||/[A-Z]/u.test(e))}const zd={};function e7(e){Object.assign(zd,e)}const Tu=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ks=new Set(Tu);function Ik(e,{layout:t,layoutId:n}){return ks.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!zd[e]||e==="opacity")}const kt=e=>!!(e&&e.getVelocity),t7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},n7=Tu.length;function r7(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let s="";for(let o=0;ot=>typeof t=="string"&&t.startsWith(e),Lk=$k("--"),i7=$k("var(--"),Cy=e=>i7(e)?s7.test(e.split("/*")[0].trim()):!1,s7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,o7=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Oi=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},tl={...aa,transform:e=>Oi(0,1,e)},uc={...aa,default:1},nl=e=>Math.round(e*1e5)/1e5,Ty=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,a7=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,l7=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ku(e){return typeof e=="string"}const Mu=e=>({test:t=>ku(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Hr=Mu("deg"),rr=Mu("%"),Z=Mu("px"),u7=Mu("vh"),c7=Mu("vw"),_b={...rr,parse:e=>rr.parse(e)/100,transform:e=>rr.transform(e*100)},Ob={...aa,transform:Math.round},jk={borderWidth:Z,borderTopWidth:Z,borderRightWidth:Z,borderBottomWidth:Z,borderLeftWidth:Z,borderRadius:Z,radius:Z,borderTopLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderBottomLeftRadius:Z,width:Z,maxWidth:Z,height:Z,maxHeight:Z,size:Z,top:Z,right:Z,bottom:Z,left:Z,padding:Z,paddingTop:Z,paddingRight:Z,paddingBottom:Z,paddingLeft:Z,margin:Z,marginTop:Z,marginRight:Z,marginBottom:Z,marginLeft:Z,rotate:Hr,rotateX:Hr,rotateY:Hr,rotateZ:Hr,scale:uc,scaleX:uc,scaleY:uc,scaleZ:uc,skew:Hr,skewX:Hr,skewY:Hr,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:tl,originX:_b,originY:_b,originZ:Z,zIndex:Ob,backgroundPositionX:Z,backgroundPositionY:Z,fillOpacity:tl,strokeOpacity:tl,numOctaves:Ob};function ky(e,t,n,r){const{style:i,vars:s,transform:o,transformOrigin:a}=e;let l=!1,u=!1,c=!0;for(const d in t){const f=t[d];if(Lk(d)){s[d]=f;continue}const p=jk[d],h=o7(f,p);if(ks.has(d)){if(l=!0,o[d]=h,!c)continue;f!==(p.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,a[d]=h):i[d]=h}if(t.transform||(l||r?i.transform=r7(e.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:d="50%",originY:f="50%",originZ:p=0}=a;i.transformOrigin=`${d} ${f} ${p}`}}const My=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Dk(e,t,n){for(const r in t)!kt(t[r])&&!Ik(r,n)&&(e[r]=t[r])}function d7({transformTemplate:e},t,n){return b.useMemo(()=>{const r=My();return ky(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function f7(e,t,n){const r=e.style||{},i={};return Dk(i,r,e),Object.assign(i,d7(e,t,n)),i}function p7(e,t,n){const r={},i=f7(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const h7=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Vd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||h7.has(e)}let Fk=e=>!Vd(e);function m7(e){e&&(Fk=t=>t.startsWith("on")?!Vd(t):e(t))}try{m7(require("@emotion/is-prop-valid").default)}catch{}function g7(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Fk(i)||n===!0&&Vd(i)||!t&&!Vd(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Rb(e,t,n){return typeof e=="string"?e:Z.transform(t+n*e)}function v7(e,t,n){const r=Rb(t,e.x,e.width),i=Rb(n,e.y,e.height);return`${r} ${i}`}const y7={offset:"stroke-dashoffset",array:"stroke-dasharray"},x7={offset:"strokeDashoffset",array:"strokeDasharray"};function w7(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?y7:x7;e[s.offset]=Z.transform(-r);const o=Z.transform(t),a=Z.transform(n);e[s.array]=`${o} ${a}`}function _y(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},c,d,f){if(ky(e,u,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(i!==void 0||s!==void 0||h.transform)&&(h.transformOrigin=v7(m,i!==void 0?i:.5,s!==void 0?s:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),o!==void 0&&w7(p,o,a,l,!1)}const Nk=()=>({...My(),attrs:{}}),Oy=e=>typeof e=="string"&&e.toLowerCase()==="svg";function b7(e,t,n,r){const i=b.useMemo(()=>{const s=Nk();return _y(s,t,{enableHardwareAcceleration:!1},Oy(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Dk(s,e.style,e),i.style={...s,...i.style}}return i}function S7(e=!1){return(n,r,i,{latestValues:s},o)=>{const l=(Py(n)?b7:p7)(r,s,o,n),u=g7(r,typeof n=="string",e),c=n!==b.Fragment?{...u,...l,ref:i}:{},{children:d}=r,f=b.useMemo(()=>kt(d)?d.get():d,[d]);return b.createElement(n,{...c,children:f})}}function zk(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const Vk=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Bk(e,t,n,r){zk(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Vk.has(i)?i:wy(i),t.attrs[i])}function Ry(e,t,n){var r;const{style:i}=e,s={};for(const o in i)(kt(i[o])||t.style&&kt(t.style[o])||Ik(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(s[o]=i[o]);return s}function Uk(e,t,n){const r=Ry(e,t,n);for(const i in e)if(kt(e[i])||kt(t[i])){const s=Tu.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function Ay(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function Iy(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Hg=e=>Array.isArray(e),E7=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),P7=e=>Hg(e)?e[e.length-1]||0:e;function Lc(e){const t=kt(e)?e.get():e;return E7(t)?t.toValue():t}function C7({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,s){const o={latestValues:T7(r,i,s,e),renderState:t()};return n&&(o.mount=a=>n(r,a,o)),o}const Wk=e=>(t,n)=>{const r=b.useContext(yp),i=b.useContext(vy),s=()=>C7(e,t,r,i);return n?s():Iy(s)};function T7(e,t,n,r){const i={},s=r(e,{});for(const f in s)i[f]=Lc(s[f]);let{initial:o,animate:a}=e;const l=wp(e),u=Ok(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?a:o;return d&&typeof d!="boolean"&&!xp(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{const h=Ay(e,p);if(!h)return;const{transitionEnd:m,transition:x,...g}=h;for(const y in g){let v=g[y];if(Array.isArray(v)){const w=c?v.length-1:0;v=v[w]}v!==null&&(i[y]=v)}for(const y in m)i[y]=m[y]}),i}const mt=e=>e,{schedule:We,cancel:Or,state:rt,steps:zh}=_k(typeof requestAnimationFrame<"u"?requestAnimationFrame:mt,!0),k7={useVisualState:Wk({scrapeMotionValuesFromProps:Uk,createRenderState:Nk,onMount:(e,t,{renderState:n,latestValues:r})=>{We.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),We.render(()=>{_y(n,r,{enableHardwareAcceleration:!1},Oy(t.tagName),e.transformTemplate),Bk(t,n)})}})},M7={useVisualState:Wk({scrapeMotionValuesFromProps:Ry,createRenderState:My})};function _7(e,{forwardMotionProps:t=!1},n,r){return{...Py(e)?k7:M7,preloadedFeatures:n,useRender:S7(t),createVisualElement:r,Component:e}}function gr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Hk=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function bp(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const O7=e=>t=>Hk(t)&&e(t,bp(t));function Sr(e,t,n,r){return gr(e,t,O7(n),r)}const R7=(e,t)=>n=>t(e(n)),Er=(...e)=>e.reduce(R7);function Gk(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Ab=Gk("dragHorizontal"),Ib=Gk("dragVertical");function qk(e){let t=!1;if(e==="y")t=Ib();else if(e==="x")t=Ab();else{const n=Ab(),r=Ib();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Kk(){const e=qk(!0);return e?(e(),!1):!0}class ji{constructor(t){this.isMounted=!1,this.node=t}update(){}}function $b(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(s,o)=>{if(s.pointerType==="touch"||Kk())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&l(s,o)};return Sr(e.current,n,i,{passive:!e.getProps()[r]})}class A7 extends ji{mount(){this.unmount=Er($b(this.node,!0),$b(this.node,!1))}unmount(){}}class I7 extends ji{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Er(gr(this.node.current,"focus",()=>this.onFocus()),gr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Qk=(e,t)=>t?e===t?!0:Qk(e,t.parentElement):!1;function Vh(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,bp(n))}class $7 extends ji{constructor(){super(...arguments),this.removeStartListeners=mt,this.removeEndListeners=mt,this.removeAccessibleListeners=mt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=Sr(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!Qk(this.node.current,a.target)?c&&c(a,l):u&&u(a,l)},{passive:!(r.onTap||r.onPointerUp)}),o=Sr(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Er(s,o),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const o=a=>{a.key!=="Enter"||!this.checkPressEnd()||Vh("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&c(l,u)})};this.removeEndListeners(),this.removeEndListeners=gr(this.node.current,"keyup",o),Vh("down",(a,l)=>{this.startPress(a,l)})},n=gr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Vh("cancel",(s,o)=>this.cancelPress(s,o))},i=gr(this.node.current,"blur",r);this.removeAccessibleListeners=Er(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&r(t,n)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Kk()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(t,n)}mount(){const t=this.node.getProps(),n=Sr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=gr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Er(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Gg=new WeakMap,Bh=new WeakMap,L7=e=>{const t=Gg.get(e.target);t&&t(e)},j7=e=>{e.forEach(L7)};function D7({root:e,...t}){const n=e||document;Bh.has(n)||Bh.set(n,{});const r=Bh.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(j7,{root:e,...t})),r[i]}function F7(e,t,n){const r=D7(t);return Gg.set(e,n),r.observe(e),()=>{Gg.delete(e),r.unobserve(e)}}const N7={some:0,all:1};class z7 extends ji{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:N7[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return F7(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(V7(t,n))&&this.startObserver()}unmount(){}}function V7({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const B7={inView:{Feature:z7},tap:{Feature:$7},focus:{Feature:I7},hover:{Feature:A7}};function Yk(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function W7(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Sp(e,t,n){const r=e.getProps();return Ay(r,t,n!==void 0?n:r.custom,U7(e),W7(e))}const Ci=e=>e*1e3,Pr=e=>e/1e3,H7={type:"spring",stiffness:500,damping:25,restSpeed:10},G7=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),q7={type:"keyframes",duration:.8},K7={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Q7=(e,{keyframes:t})=>t.length>2?q7:ks.has(e)?e.startsWith("scale")?G7(t[1]):H7:K7;function Y7({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function $y(e,t){return e[t]||e.default||e}const X7=e=>e!==null;function Ep(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(X7),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}let jc;function Z7(){jc=void 0}const Ti={now:()=>(jc===void 0&&Ti.set(rt.isProcessing||VV.useManualTiming?rt.timestamp:performance.now()),jc),set:e=>{jc=e,queueMicrotask(Z7)}},Xk=e=>/^0[^.\s]+$/u.test(e);function J7(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Xk(e):!0}let eB=mt,Ly=mt;const Zk=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),tB=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function nB(e){const t=tB.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function Jk(e,t,n=1){const[r,i]=nB(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return Zk(o)?parseFloat(o):o}return Cy(i)?Jk(i,t,n+1):i}const rB=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Lb=e=>e===aa||e===Z,jb=(e,t)=>parseFloat(e.split(", ")[t]),Db=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return jb(i[1],t);{const s=r.match(/^matrix\((.+)\)$/u);return s?jb(s[1],e):0}},iB=new Set(["x","y","z"]),sB=Tu.filter(e=>!iB.has(e));function oB(e){const t=[];return sB.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Go={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Db(4,13),y:Db(5,14)};Go.translateX=Go.x;Go.translateY=Go.y;const eM=e=>t=>t.test(e),aB={test:e=>e==="auto",parse:e=>e},tM=[aa,Z,rr,Hr,c7,u7,aB],Fb=e=>tM.find(eM(e)),hs=new Set;let qg=!1,Kg=!1;function nM(){if(Kg){const e=Array.from(hs).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=oB(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))===null||a===void 0||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Kg=!1,qg=!1,hs.forEach(e=>e.complete()),hs.clear()}function rM(){hs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Kg=!0)})}function lB(){rM(),nM()}class jy{constructor(t,n,r,i,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(hs.add(this),qg||(qg=!0,We.read(rM),We.resolveKeyframes(nM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let s=0;sn=>!!(ku(n)&&l7.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),iM=(e,t,n)=>r=>{if(!ku(r))return r;const[i,s,o,a]=r.match(Ty);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},uB=e=>Oi(0,255,e),Uh={...aa,transform:e=>Math.round(uB(e))},ts={test:Dy("rgb","red"),parse:iM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Uh.transform(e)+", "+Uh.transform(t)+", "+Uh.transform(n)+", "+nl(tl.transform(r))+")"};function cB(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Qg={test:Dy("#"),parse:cB,transform:ts.transform},ro={test:Dy("hsl","hue"),parse:iM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+rr.transform(nl(t))+", "+rr.transform(nl(n))+", "+nl(tl.transform(r))+")"},Ct={test:e=>ts.test(e)||Qg.test(e)||ro.test(e),parse:e=>ts.test(e)?ts.parse(e):ro.test(e)?ro.parse(e):Qg.parse(e),transform:e=>ku(e)?e:e.hasOwnProperty("red")?ts.transform(e):ro.transform(e)};function dB(e){var t,n;return isNaN(e)&&ku(e)&&(((t=e.match(Ty))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(a7))===null||n===void 0?void 0:n.length)||0)>0}const sM="number",oM="color",fB="var",pB="var(",Nb="${}",hB=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Bd(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(hB,l=>(Ct.test(l)?(r.color.push(s),i.push(oM),n.push(Ct.parse(l))):l.startsWith(pB)?(r.var.push(s),i.push(fB),n.push(l)):(r.number.push(s),i.push(sM),n.push(parseFloat(l))),++s,Nb)).split(Nb);return{values:n,split:a,indexes:r,types:i}}function aM(e){return Bd(e).values}function lM(e){const{split:t,types:n}=Bd(e),r=t.length;return i=>{let s="";for(let o=0;otypeof e=="number"?0:e;function gB(e){const t=aM(e);return lM(e)(t.map(mB))}const Ri={test:dB,parse:aM,createTransformer:lM,getAnimatableNone:gB},vB=new Set(["brightness","contrast","saturate","opacity"]);function yB(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ty)||[];if(!r)return e;const i=n.replace(r,"");let s=vB.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const xB=/\b([a-z-]*)\(.*?\)/gu,Yg={...Ri,getAnimatableNone:e=>{const t=e.match(xB);return t?t.map(yB).join(" "):e}},wB={...jk,color:Ct,backgroundColor:Ct,outlineColor:Ct,fill:Ct,stroke:Ct,borderColor:Ct,borderTopColor:Ct,borderRightColor:Ct,borderBottomColor:Ct,borderLeftColor:Ct,filter:Yg,WebkitFilter:Yg},Fy=e=>wB[e];function uM(e,t){let n=Fy(e);return n!==Yg&&(n=Ri),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function bB(e,t,n){let r=0,i;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function SB(e){let t;return()=>(t===void 0&&(t=e()),t)}const zb=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ri.test(e)||e==="0")&&!e.startsWith("url("));function EB(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n{this.resolveFinishedPromise=t})}}function Ny(e,t){return t?e*(1e3/t):0}const CB=5;function fM(e,t,n){const r=Math.max(t-CB,0);return Ny(n-e(r),t-r)}const Wh=.001,TB=.01,kB=10,MB=.05,_B=1;function OB({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s,o=1-t;o=Oi(MB,_B,o),e=Oi(TB,kB,Pr(e)),o<1?(i=u=>{const c=u*o,d=c*e,f=c-n,p=Xg(u,o),h=Math.exp(-d);return Wh-f/p*h},s=u=>{const d=u*o*e,f=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=Xg(Math.pow(u,2),o);return(-i(u)+Wh>0?-1:1)*((f-p)*h)/m}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Wh+c*d},s=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=AB(i,s,a);if(e=Ci(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const RB=12;function AB(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function LB(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Vb(e,$B)&&Vb(e,IB)){const n=OB(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function pM({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],s=e[e.length-1],o={done:!1,value:i},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=LB({...r,velocity:-Pr(r.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(a*u)),m=s-i,x=Pr(Math.sqrt(a/u)),g=Math.abs(m)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let y;if(h<1){const v=Xg(x,h);y=w=>{const S=Math.exp(-h*x*w);return s-S*((p+h*x*m)/v*Math.sin(v*w)+m*Math.cos(v*w))}}else if(h===1)y=v=>s-Math.exp(-x*v)*(m+(p+x*m)*v);else{const v=x*Math.sqrt(h*h-1);y=w=>{const S=Math.exp(-h*x*w),P=Math.min(v*w,300);return s-S*((p+h*x*m)*Math.sinh(P)+v*m*Math.cosh(P))/v}}return{calculatedDuration:f&&c||null,next:v=>{const w=y(v);if(f)o.done=v>=c;else{let S=p;v!==0&&(h<1?S=fM(y,v,w):S=0);const P=Math.abs(S)<=n,T=Math.abs(s-w)<=t;o.done=P&&T}return o.value=o.done?s:w,o}}}function Bb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=C=>a!==void 0&&Cl,h=C=>a===void 0?l:l===void 0||Math.abs(a-C)-m*Math.exp(-C/r),v=C=>g+y(C),w=C=>{const M=y(C),k=v(C);f.done=Math.abs(M)<=u,f.value=f.done?g:k};let S,P;const T=C=>{p(f.value)&&(S=C,P=pM({keyframes:[f.value,h(f.value)],velocity:fM(v,C,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:C=>{let M=!1;return!P&&S===void 0&&(M=!0,w(C),T(C)),S!==void 0&&C>=S?P.next(C-S):(!M&&w(C),f)}}}const hM=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,jB=1e-7,DB=12;function FB(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=hM(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>jB&&++aFB(s,0,1,e,n);return s=>s===0||s===1?s:hM(i(s),t,r)}const NB=_u(.42,0,1,1),zB=_u(0,0,.58,1),mM=_u(.42,0,.58,1),VB=e=>Array.isArray(e)&&typeof e[0]!="number",gM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,vM=e=>t=>1-e(1-t),zy=e=>1-Math.sin(Math.acos(e)),yM=vM(zy),BB=gM(zy),xM=_u(.33,1.53,.69,.99),Vy=vM(xM),UB=gM(Vy),WB=e=>(e*=2)<1?.5*Vy(e):.5*(2-Math.pow(2,-10*(e-1))),HB={linear:mt,easeIn:NB,easeInOut:mM,easeOut:zB,circIn:zy,circInOut:BB,circOut:yM,backIn:Vy,backInOut:UB,backOut:xM,anticipate:WB},Ub=e=>{if(Array.isArray(e)){Ly(e.length===4);const[t,n,r,i]=e;return _u(t,n,r,i)}else if(typeof e=="string")return HB[e];return e},qo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Ie=(e,t,n)=>e+(t-e)*n;function Hh(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function GB({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Hh(l,a,e+1/3),s=Hh(l,a,e),o=Hh(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}const Gh=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},qB=[Qg,ts,ro],KB=e=>qB.find(t=>t.test(e));function Wb(e){const t=KB(e);let n=t.parse(e);return t===ro&&(n=GB(n)),n}const Hb=(e,t)=>{const n=Wb(e),r=Wb(t),i={...n};return s=>(i.red=Gh(n.red,r.red,s),i.green=Gh(n.green,r.green,s),i.blue=Gh(n.blue,r.blue,s),i.alpha=Ie(n.alpha,r.alpha,s),ts.transform(i))};function Zg(e,t){return n=>n>0?t:e}function QB(e,t){return n=>Ie(e,t,n)}function By(e){return typeof e=="number"?QB:typeof e=="string"?Cy(e)?Zg:Ct.test(e)?Hb:ZB:Array.isArray(e)?wM:typeof e=="object"?Ct.test(e)?Hb:YB:Zg}function wM(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>By(s)(s,t[o]));return s=>{for(let o=0;o{for(const s in r)n[s]=r[s](i);return n}}function XB(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let s=0;s{const n=Ri.createTransformer(t),r=Bd(e),i=Bd(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Er(wM(XB(r,i),i.values),n):Zg(e,t)};function bM(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Ie(e,t,n):By(e)(e,t)}function JB(e,t,n){const r=[],i=n||bM,s=e.length-1;for(let o=0;ot[0];if(s===2&&e[0]===e[1])return()=>t[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=JB(t,r,i),a=o.length,l=u=>{let c=0;if(a>1)for(;cl(Oi(e[0],e[s-1],u)):l}function eU(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=qo(0,t,r);e.push(Ie(n,1,i))}}function EM(e){const t=[0];return eU(t,e.length-1),t}function tU(e,t){return e.map(n=>n*t)}function nU(e,t){return e.map(()=>t||mM).splice(0,e.length-1)}function Ud({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=VB(r)?r.map(Ub):Ub(r),s={done:!1,value:t[0]},o=tU(n&&n.length===t.length?n:EM(t),e),a=SM(o,t,{ease:Array.isArray(i)?i:nU(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const Gb=2e4;function rU(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Gb?1/0:t}const iU=e=>{const t=({timestamp:n})=>e(n);return{start:()=>We.update(t,!0),stop:()=>Or(t),now:()=>rt.isProcessing?rt.timestamp:Ti.now()}},sU={decay:Bb,inertia:Bb,tween:Ud,keyframes:Ud,spring:pM},oU=e=>e/100;class Uy extends dM{constructor({KeyframeResolver:t=jy,...n}){super(n),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:a}=this.options;a&&a()};const{name:r,motionValue:i,keyframes:s}=this.options,o=(a,l)=>this.onKeyframesResolved(a,l);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(s,o,r,i):this.resolver=new t(s,o,r,i),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,a=sU[n]||Ud;let l,u;a!==Ud&&typeof t[0]!="number"&&(l=Er(oU,bM(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});s==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=rU(c));const{calculatedDuration:d}=c,f=d+i,p=f*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:C}=this.options;return{done:!0,value:C[C.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return s.next(0);const{delay:f,repeat:p,repeatType:h,repeatDelay:m,onUpdate:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const g=this.currentTime-f*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,w=s;if(p){const C=Math.min(this.currentTime,c)/d;let M=Math.floor(C),k=C%1;!k&&C>=1&&(k=1),k===1&&M--,M=Math.min(M,p+1),!!(M%2)&&(h==="reverse"?(k=1-k,m&&(k-=m/d)):h==="mirror"&&(w=o)),v=Oi(0,1,k)*d}const S=y?{done:!1,value:l[0]}:w.next(v);a&&(S.value=a(S.value));let{done:P}=S;!y&&u!==null&&(P=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&P);return T&&i!==void 0&&(S.value=Ep(l,this.options,i)),x&&x(S.value),T&&this.finish(),S}get duration(){const{resolved:t}=this;return t?Pr(t.calculatedDuration):0}get time(){return Pr(this.currentTime)}set time(t){t=Ci(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Pr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=iU,onPlay:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=r),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const PM=e=>Array.isArray(e)&&typeof e[0]=="number";function CM(e){return!!(!e||typeof e=="string"&&e in Wy||PM(e)||Array.isArray(e)&&e.every(CM))}const ja=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Wy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ja([0,.65,.55,1]),circOut:ja([.55,0,1,.45]),backIn:ja([.31,.01,.66,-.59]),backOut:ja([.33,1.53,.69,.99])};function aU(e){return TM(e)||Wy.easeOut}function TM(e){if(e)return PM(e)?ja(e):Array.isArray(e)?e.map(aU):Wy[e]}function lU(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=TM(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const uU=SB(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),cU=new Set(["opacity","clipPath","filter","transform"]),Wd=10,dU=2e4;function fU(e){return e.type==="spring"||e.name==="backgroundColor"||!CM(e.ease)}function pU(e,t){const n=new Uy({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let s=0;for(;!r.done&&sthis.onKeyframesResolved(s,o),n,r),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:s,ease:o,type:a,motionValue:l,name:u}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(fU(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...h}=this.options,m=pU(t,h);t=m.keyframes,t.length===1&&(t[1]=t[0]),i=m.duration,s=m.times,o=m.ease,a="keyframes"}const c=lU(l.owner.current,u,t,{...this.options,duration:i,times:s,ease:o});return c.startTime=Ti.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;l.set(Ep(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:s,type:a,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Pr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Pr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Ci(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return mt;const{animation:r}=n;r.timeline=t,r.onfinish=null}return mt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:s,ease:o,times:a}=t;if(!(n.playState==="idle"||n.playState==="finished")){if(this.time){const{motionValue:l,onUpdate:u,onComplete:c,...d}=this.options,f=new Uy({...d,keyframes:r,duration:i,type:s,ease:o,times:a,isGenerator:!0}),p=Ci(this.time);l.setWithVelocity(f.sample(p-Wd).value,f.sample(p).value,Wd)}this.cancel()}}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:s,damping:o,type:a}=t;return uU()&&r&&cU.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&s!=="mirror"&&o!==0&&a!=="inertia"}}const Hy=(e,t,n,r={},i,s)=>o=>{const a=$y(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Ci(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};Y7(a)||(c={...c,...Q7(e,c)}),c.duration&&(c.duration=Ci(c.duration)),c.repeatDelay&&(c.repeatDelay=Ci(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!s&&t.get()!==void 0){const f=Ep(c.keyframes,a);if(f!==void 0){We.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!s&&qb.supports(c)?new qb(c):new Uy(c)};function Hd(e){return!!(kt(e)&&e.add)}function Gy(e,t){e.indexOf(t)===-1&&e.push(t)}function qy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ky{constructor(){this.subscriptions=[]}add(t){return Gy(this.subscriptions,t),()=>qy(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s!isNaN(parseFloat(e));class mU{constructor(t,n={}){this.version="11.1.7",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const s=Ti.now();this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.canTrackVelocity=hU(this.current),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ti.now()}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Ky);const r=this.events[t].add(n);return t==="change"?()=>{r(),We.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ti.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Kb)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Kb);return Ny(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function vr(e,t){return new mU(e,t)}function gU(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,vr(n))}function Qy(e,t){const n=Sp(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=P7(s[o]);gU(e,o,a)}}function vU({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function kM(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t;const u=e.getValue("willChange");r&&(o=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in l){const p=e.getValue(f,(s=e.latestValues[f])!==null&&s!==void 0?s:null),h=l[f];if(h===void 0||d&&vU(d,f))continue;const m={delay:n,elapsed:0,...$y(o||{},f)};let x=!1;if(window.HandoffAppearAnimations){const v=e.getProps()[Mk];if(v){const w=window.HandoffAppearAnimations(v,f);w!==null&&(m.elapsed=w,x=!0)}}p.start(Hy(f,p,h,e.shouldReduceMotion&&ks.has(f)?{type:!1}:m,e,x));const g=p.animation;g&&(Hd(u)&&(u.add(f),g.then(()=>u.remove(f))),c.push(g))}return a&&Promise.all(c).then(()=>{We.update(()=>{a&&Qy(e,a)})}),c}function Jg(e,t,n={}){var r;const i=Sp(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);const o=i?()=>Promise.all(kM(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return yU(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,c]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function yU(e,t,n=0,r=0,i=1,s){const o=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(xU).forEach((u,c)=>{u.notify("AnimationStart",t),o.push(Jg(u,t,{...s,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function xU(e,t){return e.sortNodePosition(t)}function MM(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Jg(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Jg(e,t,n);else{const i=typeof t=="function"?Sp(e,t,n.custom):t;r=Promise.all(kM(e,i,n))}return r.then(()=>{We.postRender(()=>{e.notify("AnimationComplete",t)})})}const wU=[...Sy].reverse(),bU=Sy.length;function SU(e){return t=>Promise.all(t.map(({animation:n,options:r})=>MM(e,n,r)))}function EU(e){let t=SU(e);const n=CU();let r=!0;const i=l=>(u,c)=>{var d;const f=Sp(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:h,...m}=f;u={...u,...m,...h}}return u};function s(l){t=l(e)}function o(l){const u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let p={},h=1/0;for(let x=0;xh&&w,M=!1;const k=Array.isArray(v)?v:[v];let R=k.reduce(i(g),{});S===!1&&(R={});const{prevResolvedValues:I={}}=y,$={...I,...R},D=V=>{C=!0,f.has(V)&&(M=!0,f.delete(V)),y.needsAnimating[V]=!0;const N=e.getValue(V);N&&(N.liveStyle=!1)};for(const V in $){const N=R[V],q=I[V];if(p.hasOwnProperty(V))continue;let O=!1;Hg(N)&&Hg(q)?O=!Yk(N,q):O=N!==q,O?N!=null?D(V):f.add(V):N!==void 0&&f.has(V)?D(V):y.protectedKeys[V]=!0}y.prevProp=v,y.prevResolvedValues=R,y.isActive&&(p={...p,...R}),r&&e.blockInitialAnimation&&(C=!1),C&&(!P||M)&&d.push(...k.map(V=>({animation:V,options:{type:g}})))}if(f.size){const x={};f.forEach(g=>{const y=e.getBaseTarget(g),v=e.getValue(g);v&&(v.liveStyle=!0),x[g]=y??null}),d.push({animation:x})}let m=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(l,u)}),n[l].isActive=u;const d=o(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n}}function PU(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Yk(t,e):!1}function Vi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function CU(){return{animate:Vi(!0),whileInView:Vi(),whileHover:Vi(),whileTap:Vi(),whileDrag:Vi(),whileFocus:Vi(),exit:Vi()}}class TU extends ji{constructor(t){super(t),t.animationState||(t.animationState=EU(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),xp(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let kU=0;class MU extends ji{constructor(){super(...arguments),this.id=kU++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const _U={animation:{Feature:TU},exit:{Feature:MU}},Qb=(e,t)=>Math.abs(e-t);function OU(e,t){const n=Qb(e.x,t.x),r=Qb(e.y,t.y);return Math.sqrt(n**2+r**2)}class _M{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Kh(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=OU(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:h}=d,{timestamp:m}=rt;this.history.push({...h,timestamp:m});const{onStart:x,onMove:g}=this.handlers;f||(x&&x(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=qh(f,this.transformPagePoint),We.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:h,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Kh(d.type==="pointercancel"?this.lastMoveEventInfo:qh(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,x),h&&h(d,x)},!Hk(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=bp(t),a=qh(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=rt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Kh(a,this.history)),this.removeListeners=Er(Sr(this.contextWindow,"pointermove",this.handlePointerMove),Sr(this.contextWindow,"pointerup",this.handlePointerUp),Sr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Or(this.updatePoint)}}function qh(e,t){return t?{point:t(e.point)}:e}function Yb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Kh({point:e},t){return{point:e,delta:Yb(e,OM(t)),offset:Yb(e,RU(t)),velocity:AU(t,.1)}}function RU(e){return e[0]}function OM(e){return e[e.length-1]}function AU(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=OM(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ci(t)));)n--;if(!r)return{x:0,y:0};const s=Pr(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Zt(e){return e.max-e.min}function e0(e,t=0,n=.01){return Math.abs(e-t)<=n}function Xb(e,t,n,r=.5){e.origin=r,e.originPoint=Ie(t.min,t.max,e.origin),e.scale=Zt(n)/Zt(t),(e0(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ie(n.min,n.max,e.origin)-e.originPoint,(e0(e.translate)||isNaN(e.translate))&&(e.translate=0)}function rl(e,t,n,r){Xb(e.x,t.x,n.x,r?r.originX:void 0),Xb(e.y,t.y,n.y,r?r.originY:void 0)}function Zb(e,t,n){e.min=n.min+t.min,e.max=e.min+Zt(t)}function IU(e,t,n){Zb(e.x,t.x,n.x),Zb(e.y,t.y,n.y)}function Jb(e,t,n){e.min=t.min-n.min,e.max=e.min+Zt(t)}function il(e,t,n){Jb(e.x,t.x,n.x),Jb(e.y,t.y,n.y)}function $U(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?Ie(n,e,r.max):Math.min(e,n)),e}function eS(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function LU(e,{top:t,left:n,bottom:r,right:i}){return{x:eS(e.x,n,i),y:eS(e.y,t,r)}}function tS(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=qo(t.min,t.max-r,e.min):r>i&&(n=qo(e.min,e.max-i,t.min)),Oi(0,1,n)}function FU(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const t0=.35;function NU(e=t0){return e===!1?e=0:e===!0&&(e=t0),{x:nS(e,"left","right"),y:nS(e,"top","bottom")}}function nS(e,t,n){return{min:rS(e,t),max:rS(e,n)}}function rS(e,t){return typeof e=="number"?e:e[t]||0}const iS=()=>({translate:0,scale:1,origin:0,originPoint:0}),io=()=>({x:iS(),y:iS()}),sS=()=>({min:0,max:0}),Be=()=>({x:sS(),y:sS()});function an(e){return[e("x"),e("y")]}function RM({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function zU({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function VU(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Qh(e){return e===void 0||e===1}function n0({scale:e,scaleX:t,scaleY:n}){return!Qh(e)||!Qh(t)||!Qh(n)}function Gi(e){return n0(e)||AM(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function AM(e){return oS(e.x)||oS(e.y)}function oS(e){return e&&e!=="0%"}function Gd(e,t,n){const r=e-n,i=t*r;return n+i}function aS(e,t,n,r,i){return i!==void 0&&(e=Gd(e,i,r)),Gd(e,n,r)+t}function r0(e,t=0,n=1,r,i){e.min=aS(e.min,t,n,r,i),e.max=aS(e.max,t,n,r,i)}function IM(e,{x:t,y:n}){r0(e.x,t.translate,t.scale,t.originPoint),r0(e.y,n.translate,n.scale,n.originPoint)}function BU(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function Qr(e,t){e.min=e.min+t,e.max=e.max+t}function uS(e,t,[n,r,i]){const s=t[i]!==void 0?t[i]:.5,o=Ie(e.min,e.max,s);r0(e,t[n],t[r],o,t.scale)}const UU=["x","scaleX","originX"],WU=["y","scaleY","originY"];function so(e,t){uS(e.x,t,UU),uS(e.y,t,WU)}function $M(e,t){return RM(VU(e.getBoundingClientRect(),t))}function HU(e,t,n){const r=$M(e,n),{scroll:i}=t;return i&&(Qr(r.x,i.offset.x),Qr(r.y,i.offset.y)),r}const LM=({current:e})=>e?e.ownerDocument.defaultView:null,GU=new WeakMap;class qU{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Be(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(bp(c,"page").point)},s=(c,d)=>{const{drag:f,dragPropagation:p,onDragStart:h}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=qk(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),an(x=>{let g=this.getAxisMotionValue(x).get()||0;if(rr.test(g)){const{projection:y}=this.visualElement;if(y&&y.layout){const v=y.layout.layoutBox[x];v&&(g=Zt(v)*(parseFloat(g)/100))}}this.originPoint[x]=g}),h&&h(c,d);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:h,onDrag:m}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:x}=d;if(p&&this.currentDirection===null){this.currentDirection=KU(x),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",d.point,x),this.updateAxis("y",d.point,x),this.visualElement.render(),m&&m(c,d)},a=(c,d)=>this.stop(c,d),l=()=>an(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new _M(t,{onSessionStart:i,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:LM(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&&s(t,n)}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!cc(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=$U(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&no(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=LU(i.layoutBox,n):this.constraints=!1,this.elastic=NU(r),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&an(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=FU(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!no(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=HU(r,i.root,this.visualElement.getTransformPagePoint());let o=jU(i.layout.layoutBox,s);if(n){const a=n(zU(o));this.hasMutatedConstraints=!!a,a&&(o=RM(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=an(c=>{if(!cc(c,n,this.currentDirection))return;let d=l&&l[c]||{};o&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,h={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Hy(t,r,0,n,this.visualElement))}stopAnimation(){an(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){an(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){an(n=>{const{drag:r}=this.getProps();if(!cc(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];s.set(t[n]-Ie(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!no(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};an(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=DU({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),an(o=>{if(!cc(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(Ie(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;GU.set(this.visualElement,this);const t=this.visualElement.current,n=Sr(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();no(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const o=gr(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(an(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=t0,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function cc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function KU(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class QU extends ji{constructor(t){super(t),this.removeGroupControls=mt,this.removeListeners=mt,this.controls=new qU(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||mt}unmount(){this.removeGroupControls(),this.removeListeners()}}const cS=e=>(t,n)=>{e&&e(t,n)};class YU extends ji{constructor(){super(...arguments),this.removePointerDownListener=mt}onPointerDown(t){this.session=new _M(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:LM(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:cS(t),onStart:cS(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&i(s,o)}}}mount(){this.removePointerDownListener=Sr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function XU(){const e=b.useContext(vy);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=b.useId();return b.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Dc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function dS(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ta={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;const n=dS(e,t.target.x),r=dS(e,t.target.y);return`${n}% ${r}%`}},ZU={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ri.parse(e);if(i.length>5)return r;const s=Ri.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=Ie(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}};class JU extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;e7(eW),s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Dc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,o=r.projection;return o&&(o.isPresent=s,i||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||We.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),by.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function jM(e){const[t,n]=XU(),r=b.useContext(Rk);return E.jsx(JU,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(Ak),isPresent:t,safeToRemove:n})}const eW={borderRadius:{...Ta,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ta,borderTopRightRadius:Ta,borderBottomLeftRadius:Ta,borderBottomRightRadius:Ta,boxShadow:ZU},DM=["TopLeft","TopRight","BottomLeft","BottomRight"],tW=DM.length,fS=e=>typeof e=="string"?parseFloat(e):e,pS=e=>typeof e=="number"||Z.test(e);function nW(e,t,n,r,i,s){i?(e.opacity=Ie(0,n.opacity!==void 0?n.opacity:1,rW(r)),e.opacityExit=Ie(t.opacity!==void 0?t.opacity:1,0,iW(r))):s&&(e.opacity=Ie(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;ort?1:n(qo(e,t,r))}function mS(e,t){e.min=t.min,e.max=t.max}function on(e,t){mS(e.x,t.x),mS(e.y,t.y)}function gS(e,t,n,r,i){return e-=t,e=Gd(e,1/n,r),i!==void 0&&(e=Gd(e,1/i,r)),e}function sW(e,t=0,n=1,r=.5,i,s=e,o=e){if(rr.test(t)&&(t=parseFloat(t),t=Ie(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=Ie(s.min,s.max,r);e===s&&(a-=t),e.min=gS(e.min,t,n,a,i),e.max=gS(e.max,t,n,a,i)}function vS(e,t,[n,r,i],s,o){sW(e,t[n],t[r],t[i],t.scale,s,o)}const oW=["x","scaleX","originX"],aW=["y","scaleY","originY"];function yS(e,t,n,r){vS(e.x,t,oW,n?n.x:void 0,r?r.x:void 0),vS(e.y,t,aW,n?n.y:void 0,r?r.y:void 0)}function xS(e){return e.translate===0&&e.scale===1}function NM(e){return xS(e.x)&&xS(e.y)}function lW(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function zM(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function wS(e){return Zt(e.x)/Zt(e.y)}class uW{constructor(){this.members=[]}add(t){Gy(this.members,t),t.scheduleRender()}remove(t){if(qy(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function bS(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:p,skewY:h}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),h&&(r+=`skewY(${h}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const cW=(e,t)=>e.depth-t.depth;class dW{constructor(){this.children=[],this.isDirty=!1}add(t){Gy(this.children,t),this.isDirty=!0}remove(t){qy(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(cW),this.isDirty=!1,this.children.forEach(t)}}function fW(e,t){const n=Ti.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(Or(r),e(s-t))};return We.read(r,!0),()=>Or(r)}function pW(e){window.MotionDebug&&window.MotionDebug.record(e)}function hW(e){return e instanceof SVGElement&&e.tagName!=="svg"}function mW(e,t,n){const r=kt(e)?e:vr(e);return r.start(Hy("",r,t,n)),r.animation}const Yh=["","X","Y","Z"],gW={visibility:"hidden"},SS=1e3;let vW=0;const qi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Xh(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function VM({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=vW++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,qi.totalNodes=qi.resolvedTargetDeltas=qi.recalculatedProjection=0,this.nodes.forEach(wW),this.nodes.forEach(CW),this.nodes.forEach(TW),this.nodes.forEach(bW),pW(qi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=fW(f,250),Dc.hasAnimatedSinceResize&&(Dc.hasAnimatedSinceResize=!1,this.nodes.forEach(PS))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||RW,{onLayoutAnimationStart:x,onLayoutAnimationComplete:g}=c.getProps(),y=!this.targetLayout||!zM(this.targetLayout,h)||p,v=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const w={...$y(m,"layout"),onPlay:x,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else f||PS(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Or(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(kW),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(SW),this.sharedNodes.forEach(MW)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,We.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){We.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const S=w/1e3;CS(d.x,o.x,S),CS(d.y,o.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(il(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),_W(this.relativeTarget,this.relativeTargetOrigin,f,S),v&&lW(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Be()),on(v,this.relativeTarget)),m&&(this.animationValues=c,nW(c,u,this.latestValues,S,y,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Or(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=We.update(()=>{Dc.hasAnimatedSinceResize=!0,this.currentAnimation=mW(0,SS,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(SS),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&BM(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Be();const d=Zt(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+d;const f=Zt(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}on(a,l),so(a,c),rl(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new uW),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Xh("z",o,u,this.animationValues);for(let c=0;c{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(ES),this.root.sharedNodes.clear()}}}function yW(e){e.updateLayout()}function xW(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=n.source!==e.layout.source;s==="size"?an(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=Zt(f);f.min=r[d].min,f.max=f.min+p}):BM(s,n.layoutBox,r)&&an(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=Zt(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=io();rl(a,r,n.layoutBox);const l=io();o?rl(l,e.applyTransform(i,!0),n.measuredBox):rl(l,r,n.layoutBox);const u=!NM(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const h=Be();il(h,n.layoutBox,f.layoutBox);const m=Be();il(m,r,p.layoutBox),zM(h,m)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=h,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function wW(e){qi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function bW(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function SW(e){e.clearSnapshot()}function ES(e){e.clearMeasurements()}function EW(e){e.isLayoutDirty=!1}function PW(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function PS(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function CW(e){e.resolveTargetDelta()}function TW(e){e.calcProjection()}function kW(e){e.resetSkewAndRotation()}function MW(e){e.removeLeadSnapshot()}function CS(e,t,n){e.translate=Ie(t.translate,0,n),e.scale=Ie(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function TS(e,t,n,r){e.min=Ie(t.min,n.min,r),e.max=Ie(t.max,n.max,r)}function _W(e,t,n,r){TS(e.x,t.x,n.x,r),TS(e.y,t.y,n.y,r)}function OW(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const RW={duration:.45,ease:[.4,0,.1,1]},kS=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),MS=kS("applewebkit/")&&!kS("chrome/")?Math.round:mt;function _S(e){e.min=MS(e.min),e.max=MS(e.max)}function AW(e){_S(e.x),_S(e.y)}function BM(e,t,n){return e==="position"||e==="preserve-aspect"&&!e0(wS(t),wS(n),.2)}const IW=VM({attachResizeListener:(e,t)=>gr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Zh={current:void 0},UM=VM({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Zh.current){const e=new IW({});e.mount(window),e.setOptions({layoutScroll:!0}),Zh.current=e}return Zh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),$W={pan:{Feature:YU},drag:{Feature:QU,ProjectionNode:UM,MeasureLayout:jM}},i0={current:null},WM={current:!1};function LW(){if(WM.current=!0,!!yy)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>i0.current=e.matches;e.addListener(t),t()}else i0.current=!1}function jW(e,t,n){const{willChange:r}=t;for(const i in t){const s=t[i],o=n[i];if(kt(s))e.addValue(i,s),Hd(r)&&r.add(i);else if(kt(o))e.addValue(i,vr(s,{owner:e})),Hd(r)&&r.remove(i);else if(o!==s)if(e.hasValue(i)){const a=e.getValue(i);a.liveStyle===!0?a.jump(s):a.hasAnimated||a.set(s)}else{const a=e.getStaticValue(i);e.addValue(i,vr(a!==void 0?a:s,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const OS=new WeakMap,DW=[...tM,Ct,Ri],FW=e=>DW.find(eM(e)),HM=Object.keys(Kl),NW=HM.length,RS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],zW=Ey.length;function GM(e){if(e)return e.options.allowProjection!==!1?e.projection:GM(e.parent)}class VW{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},a={}){this.resolveKeyframes=(f,p,h,m)=>new this.KeyframeResolver(f,p,h,m,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=jy,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>We.render(this.render,!1,!0);const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=wp(n),this.isVariantNode=Ok(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const p=d[f];l[f]!==void 0&&kt(p)&&(p.set(l[f],!1),Hd(c)&&c.add(f))}}mount(t){this.current=t,OS.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),WM.current||LW(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:i0.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var t;OS.delete(this.current),this.projection&&this.projection.unmount(),Or(this.notifyUpdate),Or(this.render),this.valueSubscriptions.forEach(n=>n()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features)(t=this.features[n])===null||t===void 0||t.unmount();this.current=null}bindToMotionValue(t,n){const r=ks.has(t),i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&We.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,s){let o,a;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:s,layoutScroll:f,layoutRoot:p})}return a}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Be()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=vr(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(Zk(i)||Xk(i))?i=parseFloat(i):!FW(i)&&Ri.test(n)&&(i=uM(t,n)),this.setBaseTarget(t,kt(i)?i.get():i)),kt(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const o=Ay(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[t])}if(r&&i!==void 0)return i;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!kt(s)?s:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Ky),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class qM extends VW{constructor(){super(...arguments),this.KeyframeResolver=cM}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}}function BW(e){return window.getComputedStyle(e)}class UW extends qM{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(ks.has(n)){const r=Fy(n);return r&&r.default||0}else{const r=BW(t),i=(Lk(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return $M(t,n)}build(t,n,r,i){ky(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Ry(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;kt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){zk(t,n,r,i)}}class WW extends qM{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ks.has(n)){const r=Fy(n);return r&&r.default||0}return n=Vk.has(n)?n:wy(n),t.getAttribute(n)}measureInstanceViewportBox(){return Be()}scrapeMotionValuesFromProps(t,n,r){return Uk(t,n,r)}build(t,n,r,i){_y(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){Bk(t,n,r,i)}mount(t){this.isSVGTag=Oy(t.tagName),super.mount(t)}}const HW=(e,t)=>Py(e)?new WW(t,{enableHardwareAcceleration:!1}):new UW(t,{allowProjection:e!==b.Fragment,enableHardwareAcceleration:!0}),GW={layout:{ProjectionNode:UM,MeasureLayout:jM}},qW={..._U,...B7,...$W,...GW},KW=ZV((e,t)=>_7(e,t,qW,HW));function QW(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(Ly(!!t.current),i=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=i.querySelectorAll(e)),e=n[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}const Fc=new WeakMap;let Gr;function YW(e,t){if(t){const{inlineSize:n,blockSize:r}=t[0];return{width:n,height:r}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function XW({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Fc.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return YW(e,n)}})})}function ZW(e){e.forEach(XW)}function JW(){typeof ResizeObserver>"u"||(Gr=new ResizeObserver(ZW))}function eH(e,t){Gr||JW();const n=QW(e);return n.forEach(r=>{let i=Fc.get(r);i||(i=new Set,Fc.set(r,i)),i.add(t),Gr==null||Gr.observe(r)}),()=>{n.forEach(r=>{const i=Fc.get(r);i==null||i.delete(t),i!=null&&i.size||Gr==null||Gr.unobserve(r)})}}const Nc=new Set;let sl;function tH(){sl=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Nc.forEach(n=>n(t))},window.addEventListener("resize",sl)}function nH(e){return Nc.add(e),sl||tH(),()=>{Nc.delete(e),!Nc.size&&sl&&(sl=void 0)}}function rH(e,t){return typeof e=="function"?nH(e):eH(e,t)}const iH=50,AS=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),sH=()=>({time:0,x:AS(),y:AS()}),oH={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function IS(e,t,n,r){const i=n[t],{length:s,position:o}=oH[t],a=i.current,l=n.time;i.current=e[`scroll${o}`],i.scrollLength=e[`scroll${s}`]-e[`client${s}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=qo(0,i.scrollLength,i.current);const u=r-l;i.velocity=u>iH?0:Ny(i.current-a,u)}function aH(e,t,n){IS(e,"x",t,n),IS(e,"y",t,n),t.time=n}function lH(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const i=r.getBoundingClientRect();r=r.parentElement;const s=r.getBoundingClientRect();n.x+=i.left-s.left,n.y+=i.top-s.top}else if(r instanceof SVGGraphicsElement){const{x:i,y:s}=r.getBBox();n.x+=i,n.y+=s;let o=null,a=r.parentNode;for(;!o;)a.tagName==="svg"&&(o=a),a=r.parentNode;r=o}else break;return n}const uH={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},s0={start:0,center:.5,end:1};function $S(e,t,n=0){let r=0;if(e in s0&&(e=s0[e]),typeof e=="string"){const i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(r=t*e),n+r}const cH=[0,0];function dH(e,t,n,r){let i=Array.isArray(e)?e:cH,s=0,o=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,s0[e]?e:"0"]),s=$S(i[0],n,r),o=$S(i[1],t),s-o}const fH={x:0,y:0};function pH(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function hH(e,t,n){const{offset:r=uH.All}=n,{target:i=e,axis:s="y"}=n,o=s==="y"?"height":"width",a=i!==e?lH(i,e):fH,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:pH(i),u={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let c=!t[s].interpolate;const d=r.length;for(let f=0;fmH(e,r.target,n),update:i=>{aH(e,n,i),(r.offset||r.target)&&hH(e,n,r)},notify:()=>t(n)}}const ka=new WeakMap,LS=new WeakMap,Jh=new WeakMap,jS=e=>e===document.documentElement?window:e;function vH(e,{container:t=document.documentElement,...n}={}){let r=Jh.get(t);r||(r=new Set,Jh.set(t,r));const i=sH(),s=gH(t,e,i,n);if(r.add(s),!ka.has(t)){const a=()=>{for(const f of r)f.measure()},l=()=>{for(const f of r)f.update(rt.timestamp)},u=()=>{for(const f of r)f.notify()},c=()=>{We.read(a,!1,!0),We.read(l,!1,!0),We.update(u,!1,!0)};ka.set(t,c);const d=jS(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&LS.set(t,rH(t,c)),d.addEventListener("scroll",c,{passive:!0})}const o=ka.get(t);return We.read(o,!1,!0),()=>{var a;Or(o);const l=Jh.get(t);if(!l||(l.delete(s),l.size))return;const u=ka.get(t);ka.delete(t),u&&(jS(t).removeEventListener("scroll",u),(a=LS.get(t))===null||a===void 0||a(),window.removeEventListener("resize",u))}}function DS(e,t){eB(!!(!t||t.current))}const yH=()=>({scrollX:vr(0),scrollY:vr(0),scrollXProgress:vr(0),scrollYProgress:vr(0)});function Pp({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=Iy(yH);return(n?xy:b.useEffect)(()=>(DS("target",t),DS("container",e),vH(({x:o,y:a})=>{i.scrollX.set(o.current),i.scrollXProgress.set(o.progress),i.scrollY.set(a.current),i.scrollYProgress.set(a.progress)},{...r,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0})),[e,t,JSON.stringify(r.offset)]),i}function xH(e){e.values.forEach(t=>t.stop())}function o0(e,t){[...t].reverse().forEach(r=>{const i=e.getVariant(r);i&&Qy(e,i),e.variantChildren&&e.variantChildren.forEach(s=>{o0(s,t)})})}function wH(e,t){if(Array.isArray(t))return o0(e,t);if(typeof t=="string")return o0(e,[t]);Qy(e,t)}function bH(){const e=new Set,t={subscribe(n){return e.add(n),()=>void e.delete(n)},start(n,r){const i=[];return e.forEach(s=>{i.push(MM(s,n,{transitionOverride:r}))}),Promise.all(i)},set(n){return e.forEach(r=>{wH(r,n)})},stop(){e.forEach(n=>{xH(n)})},mount(){return()=>{t.stop()}}};return t}function SH(){const e=Iy(bH);return xy(e.mount,[]),e}const EH=SH,FS=e=>{const{id:t,className:n,background:r,minSize:i,maxSize:s,speed:o,particleColor:a,particleDensity:l}=e,[u,c]=b.useState(!1);b.useEffect(()=>{oV(async p=>{await aV(p)}).then(()=>{c(!0)})},[]);const d=EH(),f=async p=>{p&&(console.log(p),d.start({opacity:1,transition:{duration:1}}))};return E.jsx(KW.div,{animate:d,className:Cb("opacity-0",n),children:u&&E.jsx(sV,{id:t||"tsparticles",className:Cb("h-full w-full"),particlesLoaded:f,options:{background:{color:{value:r||"#0d47a1"}},fullScreen:{enable:!1,zIndex:1},fpsLimit:120,interactivity:{events:{onClick:{enable:!0,mode:"push"},onHover:{enable:!1,mode:"repulse"},resize:!0},modes:{push:{quantity:4},repulse:{distance:200,duration:.4}}},particles:{bounce:{horizontal:{value:1},vertical:{value:1}},collisions:{absorb:{speed:2},bounce:{horizontal:{value:1},vertical:{value:1}},enable:!1,maxSpeed:50,mode:"bounce",overlap:{enable:!0,retries:0}},color:{value:a||"#ffffff",animation:{h:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0},s:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0},l:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0}}},effect:{close:!0,fill:!0,options:{},type:{}},groups:{},move:{angle:{offset:0,value:90},attract:{distance:200,enable:!1,rotate:{x:3e3,y:3e3}},center:{x:50,y:50,mode:"percent",radius:0},decay:0,distance:{},direction:"none",drift:0,enable:!0,gravity:{acceleration:9.81,enable:!1,inverse:!1,maxSpeed:50},path:{clamp:!0,delay:{value:0},enable:!1,options:{}},outModes:{default:"out"},random:!1,size:!1,speed:{min:.1,max:1},spin:{acceleration:0,enable:!1},straight:!1,trail:{enable:!1,length:10,fill:{}},vibrate:!1,warp:!1},number:{density:{enable:!0,width:400,height:400},limit:{mode:"delete",value:0},value:l||120},opacity:{value:{min:.1,max:1},animation:{count:0,enable:!0,speed:o||4,decay:0,delay:0,sync:!1,mode:"auto",startValue:"random",destroy:"none"}},reduceDuplicates:!1,shadow:{blur:0,color:{value:"#000"},enable:!1,offset:{x:0,y:0}},shape:{close:!0,fill:!0,options:{},type:"circle"},size:{value:{min:i||1,max:s||3},animation:{count:0,enable:!1,speed:5,decay:0,delay:0,sync:!1,mode:"auto",startValue:"random",destroy:"none"}},stroke:{width:0},zIndex:{value:0,opacityRate:1,sizeRate:1,velocityRate:1},destroy:{bounds:{},mode:"none",split:{count:1,factor:{value:3},rate:{value:{min:4,max:9}},sizeOffset:!0}},roll:{darken:{enable:!1,value:0},enable:!1,enlighten:{enable:!1,value:0},mode:"vertical",speed:25},tilt:{value:0,animation:{enable:!1,speed:0,decay:0,sync:!1},direction:"clockwise",enable:!1},twinkle:{lines:{enable:!1,frequency:.05,opacity:1},particles:{enable:!1,frequency:.05,opacity:1}},wobble:{distance:5,enable:!1,speed:{angle:50,move:10}},life:{count:0,delay:{value:0,sync:!1},duration:{value:0,sync:!1}},rotate:{value:0,animation:{enable:!1,speed:0,decay:0,sync:!1},direction:"clockwise",path:!1},orbit:{animation:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!1},enable:!1,opacity:1,rotation:{value:45},width:1},links:{blink:!1,color:{value:"#fff"},consent:!1,distance:100,enable:!1,frequency:1,opacity:1,shadow:{blur:5,color:{value:"#000"},enable:!1},triangles:{enable:!1,frequency:1},width:1,warp:!1},repulse:{value:0,enabled:!1,distance:1,duration:1,factor:1,speed:1}},detectRetina:!0}})})};function NS(e){let t="",n="";e.project.tier=="Silver"?(t="#E5E4E2",n="#9E9E9E"):e.project.tier=="Gold"?(t="#EBD197",n="#B48811"):(t="#DC8E41",n="#BE7023");function r(i){let s=i.toLowerCase().replaceAll("-","").replaceAll(" ","-");return`${bu.getUri()}/sponsor-logos/${s}.png`}return E.jsx(Y,{sx:{...e.sx,boxShadow:5,position:"sticky",height:"60vh",width:{xs:"100%",md:"50vw"},borderRadius:"20px",padding:"30px",background:"linear-gradient(90deg,"+t+", "+n+")"},children:E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",height:"100%",gap:"15px"},children:[E.jsx("img",{style:{maxWidth:"48px",mixBlendMode:"luminosity"},src:"/logo256.png"}),E.jsx(Y,{sx:{marginTop:"10px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"30px",maxWidth:"100%"},children:e.project.members.map(i=>E.jsx("img",{style:{maxHeight:"50px",maxWidth:"100%"},src:r(i)}))}),E.jsx(Y,{sx:{flexGrow:1}}),E.jsx(ce,{sx:{lineHeight:.7,fontSize:"2.8rem",fontWeight:"bold",color:"black",textAlign:"end"},children:e.project.tier})]})})}function KM(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,s]=W.useState(0),{scrollYProgress:o}=Pp({target:t,offset:["start start","end end"]});return W.useEffect(()=>{o.on("change",a=>{a<.9&&(r(Math.abs(1-a*.08)),s(Math.abs(200*a)))})},[]),E.jsxs(Y,{sx:{...e==null?void 0:e.sx,display:"flex",flexDirection:"column",alignItems:"center",gap:"50px",minHeight:`calc(${400*(e.children.length+1)}px)`,transform:`scale(${n})`},children:[E.jsx(ce,{sx:{position:"sticky",top:`calc(${e.stickyPosition?"33vh":"130px"} - ${i}px)`,fontSize:"2.3rem",fontWeight:"bold",lineHeight:e.stickyPosition?.4:"unset"},children:e.title}),e.children.map((a,l)=>W.cloneElement(a,{sx:{position:"sticky",top:`calc(${e.stickyPosition??"25vh"} + ${l*40}px - ${i}px)`,transform:`scale(${1+l*.03})`}}))]})}function PH(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,s]=W.useState([]),{scrollYProgress:o}=Pp({target:t,offset:["start start","end end"]});return W.useEffect(()=>{o.on("change",a=>{a<.9&&r(Math.abs(1-a*.08))}),s(()=>[{tier:"Gold",members:["Amazon Project Kuiper","Fischell Institute","Children's National","Praxis Engineering"]},{tier:"Silver",members:["MCERSI","SECU"]},{tier:"Bronze",members:["NSA"]}])},[]),E.jsxs(Y,{sx:{width:"100%",height:"100%",display:"flex",position:"relative",justifyContent:"center",padding:{xs:"15px",md:"0px 100px 0px 50px"}},children:[E.jsxs(Y,{sx:{display:{xs:"none",md:"flex"},flexDirection:"column",width:"100%",height:"max-content",position:"sticky",top:"45vh",left:"0px",textAlign:"center"},children:[E.jsx(ce,{sx:{fontSize:"2.5rem",fontWeight:"bold"},children:"Our Sponsors"}),E.jsx(Al,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold"},children:"Want to be a part of something amazing? Sponsor us today!"})]}),e!=null&&e.mobileView?E.jsxs(Y,{sx:{display:"flex",flexDirection:"column"},children:[E.jsx(KM,{title:"Our Sponsors",stickyPosition:"40vh",children:i.map(a=>E.jsx(NS,{project:a}))}),E.jsx(Al,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold",textAlign:"center"},children:"Want to be a part of something amazing? Sponsor us today!"})]}):E.jsx(Y,{ref:t,sx:{...e==null?void 0:e.sx,flexGrow:1,display:"flex",flexDirection:"column",alignItems:"center",gap:"50px",width:"100%",minHeight:`${60*(i.length+1)}vh`,transform:`scale(${n})`},children:i.map((a,l)=>E.jsx(NS,{project:a,sx:{top:`calc(22vh + ${l*40}px)`,transform:`scale(${1+l*.03})`}}))})]})}const zS=b.forwardRef((e,t)=>{if(e.isLoading)return"Loading...";if(e.error)return e.error.message;const n=W.useRef(null),r=W.useRef(null),{scrollYProgress:i}=Pp({target:n,offset:["start start","end end"]});return W.useEffect(()=>{i.on("change",s=>{r.current&&(r.current.scrollLeft=(r.current.scrollWidth-r.current.clientWidth)*s)})},[]),E.jsx(Y,{ref:t,children:e.mobileView?E.jsx(KM,{title:"Projects",sx:{padding:"20px"},children:e.data.map(s=>E.jsx(fw,{mobileView:!0,project:s},s._id))}):E.jsx(Y,{ref:n,sx:{height:`${e.data.length*600}px`},children:E.jsx(Y,{id:e.id,ref:r,sx:{display:"flex",gap:"30px",padding:"80px 50px 80px 50px",maxWidth:"100%",overflowX:"hidden",top:"100px",position:"sticky"},children:e.data.map(s=>E.jsx(fw,{mobileView:!1,project:s},s._id))})})})}),VS=[{title:"About",anchor:"/#maindiv-001"},{title:"Projects",anchor:"/#subdiv-002"},{title:"Our Team",anchor:"/#team"},{title:"Sponsors",anchor:"/#sponsors"},{title:"Highlights",anchor:"/#highlights"},{title:"Contact Us",anchor:"/#contact"}];function CH(){function e(w){switch(w){case 1:return"linear-gradient(30deg, #1e1e1e, #5626a1);";case 0:return"radial-gradient(55% 55% at -3% 104%, #0F114AFF 13%, #07074178 41%, #00000014 76%, #073AFF00 99%),radial-gradient(25% 25% at 62% 54%, #2324A9C4 0%, #073AFF00 100%),radial-gradient(25% 44% at 83% 33%, #434EA3FF 0%, #44579D29 65%, #073AFF00 93%),radial-gradient(49% 81% at 45% 47%, #0891A245 0%, #073AFF00 100%),radial-gradient(113% 91% at 17% -2%, #6122A6FF 1%, #FF000000 99%),radial-gradient(142% 91% at 83% 7%, #0522A9FF 1%, #FF000000 99%),radial-gradient(142% 91% at -6% 74%, #1C2581FF 1%, #FF000000 99%),radial-gradient(142% 91% at 109% 60%, #131B36FF 0%, #205353FF 99%)0";case-1:return"linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);";case 2:return"linear-gradient(135deg, #000000, #120037, #2e002b, #170018);";case 3:return"radial-gradient(circle at 30% 30%, #5F0F40 0%, #310E68 30%, #5626a1 50%, #1e1e1e 70%, #330136 80%, #560bad 100%), linear-gradient(135deg, #5F0F40, #310E68);";case-2:return"linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);";default:return"black"}}const t=I4(LT.baseTheme.breakpoints.down("md")),[n,r]=W.useState(-120),[i]=W.useState([{title:"General Body Meeting, 3/25 8pm @ Iribe"}]),[s,o]=W.useState({start:0,end:0}),[a,l]=W.useState(!1);W.useEffect(()=>{a&&setTimeout(()=>{o(w=>(l(!1),w.start=w.end,w))},200)},[a]);function u(w){o(S=>(S.end!=w&&(l(!0),S.start=S.end,S.end=w,console.warn(`Gradient Transition: ${S.start} -> ${S.end}`)),S))}const c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(null),h=b.useRef(null),{scrollYProgress:m}=Pp({target:c,offset:["start start","end end"]});W.useEffect(()=>{m.on("change",w=>{var I,$,D,V,N,q,O;r(Math.min(-120*(1-30*w),0));const S=(((I=c.current)==null?void 0:I.offsetHeight)??0)*w,P=((($=f==null?void 0:f.current)==null?void 0:$.offsetTop)??0)-100,T=P+(((D=f==null?void 0:f.current)==null?void 0:D.offsetHeight)??0)+50,C=(((V=p==null?void 0:p.current)==null?void 0:V.offsetTop)??0)-50,M=C+(((N=p==null?void 0:p.current)==null?void 0:N.offsetHeight)??0)+100,k=(((q=h==null?void 0:h.current)==null?void 0:q.offsetTop)??0)-100,R=k+(((O=h==null?void 0:h.current)==null?void 0:O.offsetHeight)??0)+100;S>P&&SC&&Sk&&Sawait uk.getAll()});return E.jsxs(E.Fragment,{children:[E.jsxs(Y,{ref:c,id:"maindiv-001",sx:{position:"relative"},children:[i.length<1?E.jsx(E.Fragment,{}):E.jsx(OT,{events:i}),E.jsx(wd,{links:VS,fullWidth:!0}),E.jsx(Y,{id:"paddingdiv-001",sx:{height:"50px"}}),E.jsx(La.ScrollContainer,{style:{position:x,scrollBehavior:"smooth",overflow:"visible",width:"100%",height:"100%"},children:E.jsx(La.ScrollPage,{style:{width:"100%",overflow:"visible",flexDirection:"column",display:"flex",alignItems:"center",justifyContent:"flex-start"},children:E.jsxs(La.Animator,{style:{width:"100%",overflow:"visible"},animation:La.batch(kH(1,-.5,0),TH(3,1,0),MH(0,-400,0)),children:[E.jsx("div",{id:"stars1"}),E.jsx("div",{id:"stars2"}),E.jsx("div",{id:"stars3"}),E.jsxs(ce,{sx:{flexGrow:1,fontSize:"4vw",fontWeight:"bold",textAlign:"center"},children:["Empower Code. Inspire Design.",E.jsx("br",{}),"Drive Innovation."]}),E.jsxs(Y,{id:"subdiv-001",ref:d,sx:{display:"flex",flex:1,flexWrap:"wrap",gap:4,marginLeft:{md:8},marginRight:{md:8},marginTop:"5vw",flexDirection:{xs:"column",md:"row"}},children:[E.jsx(kh,{end:5e5,title:"Dollars Saved",prefix:"$",minWidth:336,alignSelf:{xs:"center",md:"flex-start"}}),E.jsx(kh,{end:170,title:"Members",minWidth:81}),E.jsx(kh,{end:5e4,title:"Lines of Code",minWidth:267,alignSelf:{xs:"center",md:"flex-end"}})]})]})})}),E.jsx(Y,{id:"paddingdiv-002",sx:{height:"100vh"}}),t?E.jsx(Y,{ref:f,sx:{padding:"10px"},id:"subdiv-002",children:E.jsx(zS,{sx:{},mobileView:!0,data:g,isLoading:y,error:v})}):E.jsx(Y,{ref:f,id:"subdiv-002",children:E.jsx(zS,{sx:{height:"300vh"},data:g,isLoading:y,error:v})}),t&&!t?E.jsx(E.Fragment,{}):E.jsxs(Y,{id:"team",ref:p,sx:{paddingTop:"100px",background:"linear-gradient(0deg, #00FFFF00 0%, #000000FF 44%, #000000FF 50%, #000000FF 56%, #073AFF00 100%)",transition:"opacity 0.5s ease"},children:[E.jsx(FS,{id:"members_sparkles",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"}),E.jsx(Y,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:E.jsx(NN,{id:"member-carousel"})}),E.jsx(FS,{id:"members_sparkles2",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"})]}),E.jsx(Y,{id:"paddingdiv-003",sx:{height:"150px"}}),E.jsx(Y,{id:"sponsors",ref:h,children:E.jsx(PH,{mobileView:t})}),E.jsx(Y,{id:"paddingdiv-004",sx:{height:"300px"}}),E.jsx($T,{}),E.jsx(wd,{links:VS,translucent:!0,sx:{marginTop:"25px",zIndex:2,position:"fixed",top:`${n}px`,left:"0px"}})]}),E.jsx(Y,{id:"maindiv-002",sx:{height:"100vh",width:"100vw",position:"fixed",zIndex:-1,top:"0px","::before":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:e(s.start),transition:"opacity 0.4s",animation:"plasma 6s ease infinite",backgroundBlendMode:s.start==3?"color-dodge":"unset",opacity:a?.5:1,zIndex:1},"::after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:e(s.end),animation:"plasma 6s ease infinite",transition:"opacity 0.4s",opacity:a?1:.5,zIndex:0}}})]})}const TH=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`scale(${t*(1-r)+e*r})`)}}}),kH=(e,t,n)=>({out:{style:{opacity:r=>(r=Math.max(r-n,0),e*(1-r)+t*r)}}}),MH=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`translate(${0*(1-r)+e*r}px, ${0*(1-r)+t*r}px)`)}}});function _H(){const{projectId:e}=e5(),{data:t,isFetching:n,error:r}=lk({queryKey:["project"],queryFn:async()=>await uk.getById(e)});return b.useEffect(()=>{window.scrollTo(0,0)},[]),n?E.jsx(Y,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:E.jsx(wj,{})}):r?E.jsx(Y,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:E.jsx(H$,{variant:"filled",severity:"error",children:"Unable to retrieve project data..."})}):E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",gap:"2rem",justifyContent:"center",padding:"15vh 0",alignItems:"center",minHeight:"100vh"},children:[E.jsx(OH,{name:t.name,organization:t.organization}),E.jsx(RH,{description:t.description}),E.jsx(AH,{demo:t.demo}),E.jsx(IH,{members:t.members})]})}function OH(e){return E.jsxs(Y,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[E.jsx(ce,{variant:"h2",sx:{fontWeight:"bold"},children:e.name}),E.jsxs(ce,{variant:"h4",sx:{fontStyle:"italic"},children:["In collaboration with ",e.organization]})]})}function RH(e){return E.jsxs(Y,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[E.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Overview"}),E.jsx(_v,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),E.jsx(ce,{children:e.description})]})}function AH(e){return E.jsxs(Y,{children:[E.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Demo"}),E.jsx(_v,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),E.jsx(nj,{sx:{marginTop:"15px",borderRadius:"5px",width:"clamp(25rem, 50vw, 60rem)",backgroundColor:"white",color:"black"},children:E.jsx(cj,{component:"iframe",image:e.demo,sx:{width:"inherit",aspectRatio:"16/9",border:"none"}})})]})}function IH(e){return E.jsxs(Y,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[E.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Members"}),E.jsx(_v,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),E.jsx(Y,{sx:{marginTop:"15px",display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",gap:"10px"},children:e.members.map((t,n)=>E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",backgroundColor:"white",borderRadius:"5px",color:"black",minWidth:"15%",padding:"1rem"},children:[t.memberInfo.profileUrl?E.jsx(xd,{src:t.memberInfo.profileUrl,sx:{width:"50px",height:"50px"}},n):b.createElement(xd,{...DT(`${t.memberInfo.firstName} ${t.memberInfo.lastName}`),sx:{width:"50px",height:"50px"},key:n}),E.jsx(ce,{variant:"subtitle1",sx:{fontWeight:"bold",marginTop:"5px"},children:`${t.memberInfo.firstName} ${t.memberInfo.lastName}`}),E.jsx(ce,{variant:"subtitle2",sx:{opacity:"0.75"},children:t.role})]}))})]})}function $H(){return E.jsx("h1",{children:"WebTierPage"})}function em(e){return E.jsxs(Y,{sx:{...e==null?void 0:e.sx,display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"center",width:e.width,backgroundColor:"white",borderRadius:"5px",boxShadow:5,color:"black",wordBreak:"break-word"},children:[E.jsx(LH,{tier:e.tier,backgroundColor:e.backgroundColor,price:e.price}),E.jsx(DH,{backgroundColor:e.backgroundColor,benefits:e.benefits,prereq:e.prereq})]})}function LH(e){return E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"60%"},children:[E.jsx(ce,{variant:"h4",sx:{textShadow:"-2px 2px 3px gray"},children:e.tier}),E.jsxs(ce,{variant:"h2",sx:{textShadow:"-2px 2px 3px gray"},children:["$",e.price,"+"]}),E.jsx(ce,{variant:"h6",gutterBottom:!0,sx:{textShadow:"-2px 2px 3px gray"},children:"per year"}),E.jsx(jH,{tier:e.tier,backgroundColor:e.backgroundColor})]})}function jH(e){const t=nv();return E.jsx(Y,{sx:{marginTop:"0.75rem",padding:"0.5rem 1rem",boxShadow:1,backgroundColor:e.backgroundColor,borderRadius:"5px",width:"80%",textAlign:"center",cursor:"pointer"},onClick:()=>t(`/tier/${e.tier}`),children:E.jsxs(ce,{children:["Select ",e.tier," Tier →"]})})}function DH(e){return E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",justifyContent:"left",alignItems:"top",backgroundColor:e.backgroundColor,borderRadius:"5px",padding:"1.5rem",boxShadow:12,width:"105.5%",height:"40%",boxSizing:"border-box"},children:[e.prereq&&E.jsx(ce,{gutterBottom:!0,children:`< Everything included in ${e.prereq}, plus...`}),e.benefits.map((t,n)=>E.jsx(ce,{children:`> ${t}`},n))]})}function FH(){return E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",width:"100%",justifyContent:"center",alignItems:"center",gap:"35px",marginBottom:"100px"},children:[E.jsx(ce,{sx:{textAlign:"center"},variant:"h3",children:"Sponsorship Tiers"}),E.jsxs(Y,{sx:{marginTop:"40px",width:{xs:"100%",md:"75%"},display:"flex",flexDirection:"row",gap:"100px",height:"100vh",flexWrap:"wrap"},children:[E.jsx(em,{tier:"Gold",backgroundColor:"gold",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),E.jsx(em,{tier:"Silver",backgroundColor:"silver",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),E.jsx(em,{tier:"Bronze",backgroundColor:"#CD7F32",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}})]})]})}const NH=new k8;tm.createRoot(document.getElementById("root")).render(E.jsx(x5,{children:E.jsx(A8,{client:NH,children:E.jsxs(W4,{theme:LT.baseTheme,children:[E.jsx(Pj,{}),E.jsxs(g5,{children:[E.jsx(Ns,{path:"/",element:E.jsx(CH,{})}),E.jsxs(Ns,{path:"/",element:E.jsx(kD,{}),children:[E.jsx(Ns,{path:"/project/:projectId",element:E.jsx(_H,{})}),E.jsx(Ns,{path:"tier/:tier",element:E.jsx($H,{})}),E.jsx(Ns,{path:"/sponsor-us",element:E.jsx(FH,{})})]})]})]})})}));export{pG as $,XH as A,YH as B,UH as C,WH as D,iG as E,rG as F,F9 as G,st as H,yo as I,sr as J,tG as K,py as L,vG as M,nG as N,ps as O,PG as P,vk as Q,gG as R,mk as S,gp as T,oG as U,On as V,pk as W,eG as X,dG as Y,hG as Z,Ee as _,JH as a,mG as a0,gk as a1,cG as a2,mp as a3,Z9 as a4,tV as a5,fG as a6,EG as a7,SG as a8,hy as a9,lG as aa,yG as ab,CG as ac,TG as ad,to as ae,uG as af,z9 as b,fy as c,Hl as d,Gl as e,bb as f,bG as g,sa as h,Ts as i,oc as j,ZH as k,sG as l,Nd as m,wG as n,aG as o,Lh as p,fk as q,xG as r,el as s,HH as t,GH as u,KH as v,qH as w,BH as x,VH as y,QH as z}; diff --git a/dist/assets/index-BAyyPntJ.js b/dist/assets/index-CLuVHlD1.js similarity index 69% rename from dist/assets/index-BAyyPntJ.js rename to dist/assets/index-CLuVHlD1.js index 3638512..53ef7db 100644 --- a/dist/assets/index-BAyyPntJ.js +++ b/dist/assets/index-CLuVHlD1.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Bubbler-DeOzQSdz.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-CMjHcLDp.js","assets/OptionsColor-D2YVVpO2.js"] + __vite__mapDeps.viteFileDeps = ["assets/Bubbler-r66OPvuv.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-Bq4zSnBQ.js","assets/OptionsColor-D4_II_Ky.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{i as t,e as o,_ as u}from"./index-CIovSKpD.js";import{O as c}from"./OptionsColor-D2YVVpO2.js";class n{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(e){if(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.mix!==void 0&&(this.mix=e.mix),e.opacity!==void 0&&(this.opacity=e.opacity),e.color!==void 0){const s=t(this.color)?void 0:this.color;this.color=o(e.color,i=>c.create(s,i))}e.size!==void 0&&(this.size=e.size)}}}class l extends n{constructor(){super(),this.selectors=[]}load(e){super.load(e),e&&e.selectors!==void 0&&(this.selectors=e.selectors)}}class h extends n{load(e){super.load(e),e&&(this.divs=o(e.divs,s=>{const i=new l;return i.load(s),i}))}}async function p(r,e=!0){await r.addInteractor("externalBubble",async s=>{const{Bubbler:i}=await u(()=>import("./Bubbler-DeOzQSdz.js"),__vite__mapDeps([0,1,2,3,4,5]));return new i(s)},e)}export{h as Bubble,n as BubbleBase,l as BubbleDiv,p as loadExternalBubbleInteraction}; +import{i as t,e as o,_ as u}from"./index-CgAHdhFx.js";import{O as c}from"./OptionsColor-D4_II_Ky.js";class n{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(e){if(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.mix!==void 0&&(this.mix=e.mix),e.opacity!==void 0&&(this.opacity=e.opacity),e.color!==void 0){const s=t(this.color)?void 0:this.color;this.color=o(e.color,i=>c.create(s,i))}e.size!==void 0&&(this.size=e.size)}}}class l extends n{constructor(){super(),this.selectors=[]}load(e){super.load(e),e&&e.selectors!==void 0&&(this.selectors=e.selectors)}}class h extends n{load(e){super.load(e),e&&(this.divs=o(e.divs,s=>{const i=new l;return i.load(s),i}))}}async function p(r,e=!0){await r.addInteractor("externalBubble",async s=>{const{Bubbler:i}=await u(()=>import("./Bubbler-r66OPvuv.js"),__vite__mapDeps([0,1,2,3,4,5]));return new i(s)},e)}export{h as Bubble,n as BubbleBase,l as BubbleDiv,p as loadExternalBubbleInteraction}; diff --git a/dist/assets/index-BLg1T7Ib.js b/dist/assets/index-CSIqqfMP.js similarity index 69% rename from dist/assets/index-BLg1T7Ib.js rename to dist/assets/index-CSIqqfMP.js index a19d4c7..e3cd2fe 100644 --- a/dist/assets/index-BLg1T7Ib.js +++ b/dist/assets/index-CSIqqfMP.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Attractor-BQWchzE_.js","assets/Ranges-CMjHcLDp.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Attractor-B0zSRkO0.js","assets/Ranges-Bq4zSnBQ.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-CIovSKpD.js";class o{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed),e.speed!==void 0&&(this.speed=e.speed))}}async function d(t,e=!0){await t.addInteractor("externalAttract",async i=>{const{Attractor:n}=await s(()=>import("./Attractor-BQWchzE_.js"),__vite__mapDeps([0,1,2,3,4]));return new n(t,i)},e)}export{o as Attract,d as loadExternalAttractInteraction}; +import{_ as s}from"./index-CgAHdhFx.js";class o{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed),e.speed!==void 0&&(this.speed=e.speed))}}async function d(t,e=!0){await t.addInteractor("externalAttract",async i=>{const{Attractor:n}=await s(()=>import("./Attractor-B0zSRkO0.js"),__vite__mapDeps([0,1,2,3,4]));return new n(t,i)},e)}export{o as Attract,d as loadExternalAttractInteraction}; diff --git a/dist/assets/index-CYdE7z6m.js b/dist/assets/index-CYdE7z6m.js new file mode 100644 index 0000000..c02945d --- /dev/null +++ b/dist/assets/index-CYdE7z6m.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/RotateUpdater-DxTQQMFm.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/ValueWithRandom-w99ZNFOa.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as o}from"./index-CgAHdhFx.js";async function i(t,a=!0){await t.addParticleUpdater("rotate",async e=>{const{RotateUpdater:r}=await o(()=>import("./RotateUpdater-DxTQQMFm.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{i as loadRotateUpdater}; diff --git a/dist/assets/index-ByQPDIH2.js b/dist/assets/index-Cg5Whl7_.js similarity index 72% rename from dist/assets/index-ByQPDIH2.js rename to dist/assets/index-Cg5Whl7_.js index 839f2cd..fd4688a 100644 --- a/dist/assets/index-ByQPDIH2.js +++ b/dist/assets/index-Cg5Whl7_.js @@ -1 +1 @@ -import{a as i}from"./index-CIovSKpD.js";async function s(){i("ease-in-quad",a=>a**2),i("ease-out-quad",a=>1-(1-a)**2),i("ease-in-out-quad",a=>a<.5?2*a**2:1-(-2*a+2)**2/2),await Promise.resolve()}export{s as loadEasingQuadPlugin}; +import{a as i}from"./index-CgAHdhFx.js";async function s(){i("ease-in-quad",a=>a**2),i("ease-out-quad",a=>1-(1-a)**2),i("ease-in-out-quad",a=>a<.5?2*a**2:1-(-2*a+2)**2/2),await Promise.resolve()}export{s as loadEasingQuadPlugin}; diff --git a/dist/assets/index-CgAHdhFx.js b/dist/assets/index-CgAHdhFx.js new file mode 100644 index 0000000..0d871bb --- /dev/null +++ b/dist/assets/index-CgAHdhFx.js @@ -0,0 +1,265 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/Container-8nUmEQKU.js","assets/CanvasUtils-CXWEKbNF.js","assets/OptionsColor-D4_II_Ky.js","assets/ValueWithRandom-w99ZNFOa.js","assets/Ranges-Bq4zSnBQ.js","assets/index-CLuVHlD1.js","assets/index--hX2mYuR.js","assets/index-DuBBfDxH.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +var $p=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>($p(e,t,"read from private field"),n?n.call(e):t.get(e)),X=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},G=(e,t,n,r)=>($p(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Nu=(e,t,n,r)=>({set _(i){G(e,t,i,n)},get _(){return _(e,t,r)}}),pe=(e,t,n)=>($p(e,t,"access private method"),n);function m_(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var sC={exports:{}},nf={},aC={exports:{}},fe={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var hu=Symbol.for("react.element"),g_=Symbol.for("react.portal"),v_=Symbol.for("react.fragment"),y_=Symbol.for("react.strict_mode"),x_=Symbol.for("react.profiler"),w_=Symbol.for("react.provider"),b_=Symbol.for("react.context"),S_=Symbol.for("react.forward_ref"),C_=Symbol.for("react.suspense"),E_=Symbol.for("react.memo"),P_=Symbol.for("react.lazy"),o1=Symbol.iterator;function T_(e){return e===null||typeof e!="object"?null:(e=o1&&e[o1]||e["@@iterator"],typeof e=="function"?e:null)}var lC={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},uC=Object.assign,cC={};function ra(e,t,n){this.props=e,this.context=t,this.refs=cC,this.updater=n||lC}ra.prototype.isReactComponent={};ra.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ra.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function dC(){}dC.prototype=ra.prototype;function h0(e,t,n){this.props=e,this.context=t,this.refs=cC,this.updater=n||lC}var m0=h0.prototype=new dC;m0.constructor=h0;uC(m0,ra.prototype);m0.isPureReactComponent=!0;var s1=Array.isArray,fC=Object.prototype.hasOwnProperty,g0={current:null},pC={key:!0,ref:!0,__self:!0,__source:!0};function hC(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)fC.call(t,r)&&!pC.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,ne=O[K];if(0>>1;Ki(He,z))Ji(U,He)?(O[K]=U,O[J]=z,K=J):(O[K]=He,O[de]=z,K=de);else if(Ji(U,z))O[K]=U,O[J]=z,K=J;else break e}}return $}function i(O,$){var z=O.sortIndex-$.sortIndex;return z!==0?z:O.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(O){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=O)r(u),$.sortIndex=$.expirationTime,t(l,$);else break;$=n(u)}}function w(O){if(m=!1,v(O),!h)if(n(l)!==null)h=!0,N(C);else{var $=n(u);$!==null&&H(w,$.startTime-O)}}function C(O,$){h=!1,m&&(m=!1,g(P),P=-1),p=!0;var z=f;try{for(v($),d=n(l);d!==null&&(!(d.expirationTime>$)||O&&!A());){var K=d.callback;if(typeof K=="function"){d.callback=null,f=d.priorityLevel;var ne=K(d.expirationTime<=$);$=e.unstable_now(),typeof ne=="function"?d.callback=ne:d===n(l)&&r(l),v($)}else r(l);d=n(l)}if(d!==null)var We=!0;else{var de=n(u);de!==null&&H(w,de.startTime-$),We=!1}return We}finally{d=null,f=z,p=!1}}var E=!1,T=null,P=-1,k=5,M=-1;function A(){return!(e.unstable_now()-MO||125K?(O.sortIndex=z,t(u,O),n(l)===null&&O===n(u)&&(m?(g(P),P=-1):m=!0,H(w,z-K))):(O.sortIndex=ne,t(l,O),h||p||(h=!0,N(C))),O},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(O){var $=f;return function(){var z=f;f=$;try{return O.apply(this,arguments)}finally{f=z}}}})(yC);vC.exports=yC;var D_=vC.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var xC=b,rn=D_;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),am=Object.prototype.hasOwnProperty,F_=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,l1={},u1={};function N_(e){return am.call(u1,e)?!0:am.call(l1,e)?!1:F_.test(e)?u1[e]=!0:(l1[e]=!0,!1)}function z_(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function V_(e,t,n,r){if(t===null||typeof t>"u"||z_(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Dt(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var St={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){St[e]=new Dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];St[t]=new Dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){St[e]=new Dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){St[e]=new Dt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){St[e]=new Dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){St[e]=new Dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){St[e]=new Dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){St[e]=new Dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){St[e]=new Dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var y0=/[\-:]([a-z])/g;function x0(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(y0,x0);St[t]=new Dt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(y0,x0);St[t]=new Dt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(y0,x0);St[t]=new Dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){St[e]=new Dt(e,1,!1,e.toLowerCase(),null,!1,!1)});St.xlinkHref=new Dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){St[e]=new Dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function w0(e,t,n,r){var i=St.hasOwnProperty(t)?St[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` +`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Dp=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Fa(e):""}function B_(e){switch(e.tag){case 5:return Fa(e.type);case 16:return Fa("Lazy");case 13:return Fa("Suspense");case 19:return Fa("SuspenseList");case 0:case 2:case 15:return e=Fp(e.type,!1),e;case 11:return e=Fp(e.type.render,!1),e;case 1:return e=Fp(e.type,!0),e;default:return""}}function dm(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Yo:return"Fragment";case Qo:return"Portal";case lm:return"Profiler";case b0:return"StrictMode";case um:return"Suspense";case cm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case SC:return(e.displayName||"Context")+".Consumer";case bC:return(e._context.displayName||"Context")+".Provider";case S0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case C0:return t=e.displayName||null,t!==null?t:dm(e.type)||"Memo";case ti:t=e._payload,e=e._init;try{return dm(e(t))}catch{}}return null}function U_(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return dm(t);case 8:return t===b0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Li(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function EC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function W_(e){var t=EC(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bu(e){e._valueTracker||(e._valueTracker=W_(e))}function PC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=EC(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Kc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function fm(e,t){var n=t.checked;return Fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function d1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Li(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function TC(e,t){t=t.checked,t!=null&&w0(e,"checked",t,!1)}function pm(e,t){TC(e,t);var n=Li(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?hm(e,t.type,n):t.hasOwnProperty("defaultValue")&&hm(e,t.type,Li(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function f1(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function hm(e,t,n){(t!=="number"||Kc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Na=Array.isArray;function hs(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Uu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function vl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var qa={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},H_=["Webkit","ms","Moz","O"];Object.keys(qa).forEach(function(e){H_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qa[t]=qa[e]})});function RC(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||qa.hasOwnProperty(e)&&qa[e]?(""+t).trim():t+"px"}function OC(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=RC(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var G_=Fe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function vm(e,t){if(t){if(G_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function ym(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xm=null;function E0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wm=null,ms=null,gs=null;function m1(e){if(e=vu(e)){if(typeof wm!="function")throw Error(F(280));var t=e.stateNode;t&&(t=lf(t),wm(e.stateNode,e.type,t))}}function AC(e){ms?gs?gs.push(e):gs=[e]:ms=e}function IC(){if(ms){var e=ms,t=gs;if(gs=ms=null,m1(e),t)for(e=0;e>>=0,e===0?32:31-(rR(e)/iR|0)|0}var Wu=64,Hu=4194304;function za(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=za(a):(o&=s,o!==0&&(r=za(o)))}else s=n&~i,s!==0?r=za(s):o!==0&&(r=za(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function mu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Un(t),e[t]=n}function lR(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Qa),E1=" ",P1=!1;function JC(e,t){switch(e){case"keyup":return jR.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xo=!1;function FR(e,t){switch(e){case"compositionend":return eE(t);case"keypress":return t.which!==32?null:(P1=!0,E1);case"textInput":return e=t.data,e===E1&&P1?null:e;default:return null}}function NR(e,t){if(Xo)return e==="compositionend"||!A0&&JC(e,t)?(e=XC(),bc=_0=pi=null,Xo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=_1(n)}}function iE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?iE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function oE(){for(var e=window,t=Kc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kc(e.document)}return t}function I0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function KR(e){var t=oE(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&iE(n.ownerDocument.documentElement,n)){if(r!==null&&I0(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=R1(n,o);var s=R1(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Zo=null,Tm=null,Xa=null,km=!1;function O1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;km||Zo==null||Zo!==Kc(r)||(r=Zo,"selectionStart"in r&&I0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Xa&&Cl(Xa,r)||(Xa=r,r=td(Tm,"onSelect"),0ts||(e.current=Im[ts],Im[ts]=null,ts--)}function Me(e,t){ts++,Im[ts]=e.current,e.current=t}var ji={},Ot=Ui(ji),Bt=Ui(!1),Po=ji;function Vs(e,t){var n=e.type.contextTypes;if(!n)return ji;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ut(e){return e=e.childContextTypes,e!=null}function rd(){Ae(Bt),Ae(Ot)}function F1(e,t,n){if(Ot.current!==ji)throw Error(F(168));Me(Ot,t),Me(Bt,n)}function hE(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(F(108,U_(e)||"Unknown",i));return Fe({},n,r)}function id(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ji,Po=Ot.current,Me(Ot,e),Me(Bt,Bt.current),!0}function N1(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=hE(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,Ae(Bt),Ae(Ot),Me(Ot,e)):Ae(Bt),Me(Bt,n)}var xr=null,uf=!1,Zp=!1;function mE(e){xr===null?xr=[e]:xr.push(e)}function sO(e){uf=!0,mE(e)}function Wi(){if(!Zp&&xr!==null){Zp=!0;var e=0,t=Se;try{var n=xr;for(Se=1;e>=s,i-=s,wr=1<<32-Un(t)+i|n<P?(k=T,T=null):k=T.sibling;var M=f(g,T,v[P],w);if(M===null){T===null&&(T=k);break}e&&T&&M.alternate===null&&t(g,T),y=o(M,y,P),E===null?C=M:E.sibling=M,E=M,T=k}if(P===v.length)return n(g,T),$e&&Xi(g,P),C;if(T===null){for(;PP?(k=T,T=null):k=T.sibling;var A=f(g,T,M.value,w);if(A===null){T===null&&(T=k);break}e&&T&&A.alternate===null&&t(g,T),y=o(A,y,P),E===null?C=A:E.sibling=A,E=A,T=k}if(M.done)return n(g,T),$e&&Xi(g,P),C;if(T===null){for(;!M.done;P++,M=v.next())M=d(g,M.value,w),M!==null&&(y=o(M,y,P),E===null?C=M:E.sibling=M,E=M);return $e&&Xi(g,P),C}for(T=r(g,T);!M.done;P++,M=v.next())M=p(T,g,P,M.value,w),M!==null&&(e&&M.alternate!==null&&T.delete(M.key===null?P:M.key),y=o(M,y,P),E===null?C=M:E.sibling=M,E=M);return e&&T.forEach(function(I){return t(g,I)}),$e&&Xi(g,P),C}function x(g,y,v,w){if(typeof v=="object"&&v!==null&&v.type===Yo&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Vu:e:{for(var C=v.key,E=y;E!==null;){if(E.key===C){if(C=v.type,C===Yo){if(E.tag===7){n(g,E.sibling),y=i(E,v.props.children),y.return=g,g=y;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===ti&&G1(C)===E.type){n(g,E.sibling),y=i(E,v.props),y.ref=Ea(g,E,v),y.return=g,g=y;break e}n(g,E);break}else t(g,E);E=E.sibling}v.type===Yo?(y=bo(v.props.children,g.mode,w,v.key),y.return=g,g=y):(w=_c(v.type,v.key,v.props,null,g.mode,w),w.ref=Ea(g,y,v),w.return=g,g=w)}return s(g);case Qo:e:{for(E=v.key;y!==null;){if(y.key===E)if(y.tag===4&&y.stateNode.containerInfo===v.containerInfo&&y.stateNode.implementation===v.implementation){n(g,y.sibling),y=i(y,v.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=sh(v,g.mode,w),y.return=g,g=y}return s(g);case ti:return E=v._init,x(g,y,E(v._payload),w)}if(Na(v))return h(g,y,v,w);if(xa(v))return m(g,y,v,w);Zu(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,y!==null&&y.tag===6?(n(g,y.sibling),y=i(y,v),y.return=g,g=y):(n(g,y),y=oh(v,g.mode,w),y.return=g,g=y),s(g)):n(g,y)}return x}var Us=CE(!0),EE=CE(!1),yu={},ar=Ui(yu),kl=Ui(yu),Ml=Ui(yu);function so(e){if(e===yu)throw Error(F(174));return e}function B0(e,t){switch(Me(Ml,t),Me(kl,e),Me(ar,yu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:gm(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=gm(t,e)}Ae(ar),Me(ar,t)}function Ws(){Ae(ar),Ae(kl),Ae(Ml)}function PE(e){so(Ml.current);var t=so(ar.current),n=gm(t,e.type);t!==n&&(Me(kl,e),Me(ar,n))}function U0(e){kl.current===e&&(Ae(ar),Ae(kl))}var Le=Ui(0);function cd(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Jp=[];function W0(){for(var e=0;en?n:4,e(!0);var r=eh.transition;eh.transition={};try{e(!1),t()}finally{Se=n,eh.transition=r}}function VE(){return Mn().memoizedState}function cO(e,t,n){var r=Ti(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},BE(e))UE(t,n);else if(n=xE(e,t,n,r),n!==null){var i=Lt();Wn(n,e,r,i),WE(n,t,r)}}function dO(e,t,n){var r=Ti(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(BE(e))UE(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Hn(a,s)){var l=t.interleaved;l===null?(i.next=i,z0(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=xE(e,t,i,r),n!==null&&(i=Lt(),Wn(n,e,r,i),WE(n,t,r))}}function BE(e){var t=e.alternate;return e===De||t!==null&&t===De}function UE(e,t){Za=dd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function WE(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,T0(e,n)}}var fd={readContext:kn,useCallback:Et,useContext:Et,useEffect:Et,useImperativeHandle:Et,useInsertionEffect:Et,useLayoutEffect:Et,useMemo:Et,useReducer:Et,useRef:Et,useState:Et,useDebugValue:Et,useDeferredValue:Et,useTransition:Et,useMutableSource:Et,useSyncExternalStore:Et,useId:Et,unstable_isNewReconciler:!1},fO={readContext:kn,useCallback:function(e,t){return Qn().memoizedState=[e,t===void 0?null:t],e},useContext:kn,useEffect:K1,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pc(4194308,4,jE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pc(4,2,e,t)},useMemo:function(e,t){var n=Qn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=cO.bind(null,De,e),[r.memoizedState,e]},useRef:function(e){var t=Qn();return e={current:e},t.memoizedState=e},useState:q1,useDebugValue:Q0,useDeferredValue:function(e){return Qn().memoizedState=e},useTransition:function(){var e=q1(!1),t=e[0];return e=uO.bind(null,e[1]),Qn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=De,i=Qn();if($e){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ht===null)throw Error(F(349));ko&30||ME(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,K1(RE.bind(null,r,o,e),[e]),r.flags|=2048,Ol(9,_E.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Qn(),t=ht.identifierPrefix;if($e){var n=br,r=wr;n=(r&~(1<<32-Un(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=_l++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[ir]=t,e[Tl]=r,JE(e,t,!1,!1),t.stateNode=e;e:{switch(s=ym(n,r),n){case"dialog":Oe("cancel",e),Oe("close",e),i=r;break;case"iframe":case"object":case"embed":Oe("load",e),i=r;break;case"video":case"audio":for(i=0;iGs&&(t.flags|=128,r=!0,Pa(o,!1),t.lanes=4194304)}else{if(!r)if(e=cd(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Pa(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!$e)return Pt(t),null}else 2*qe()-o.renderingStartTime>Gs&&n!==1073741824&&(t.flags|=128,r=!0,Pa(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=qe(),t.sibling=null,n=Le.current,Me(Le,r?n&1|2:n&1),t):(Pt(t),null);case 22:case 23:return tv(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Yt&1073741824&&(Pt(t),t.subtreeFlags&6&&(t.flags|=8192)):Pt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function wO(e,t){switch(L0(t),t.tag){case 1:return Ut(t.type)&&rd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ws(),Ae(Bt),Ae(Ot),W0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return U0(t),null;case 13:if(Ae(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Bs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ae(Le),null;case 4:return Ws(),null;case 10:return N0(t.type._context),null;case 22:case 23:return tv(),null;case 24:return null;default:return null}}var ec=!1,_t=!1,bO=typeof WeakSet=="function"?WeakSet:Set,q=null;function os(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ue(e,t,r)}else n.current=null}function Hm(e,t,n){try{n()}catch(r){Ue(e,t,r)}}var rx=!1;function SO(e,t){if(Mm=Jc,e=oE(),I0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===i&&(a=s),f===o&&++c===r&&(l=s),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(_m={focusedElem:e,selectionRange:n},Jc=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var m=h.memoizedProps,x=h.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:Dn(t.type,m),x);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(w){Ue(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return h=rx,rx=!1,h}function Ja(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Hm(t,n,o)}i=i.next}while(i!==r)}}function ff(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Gm(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function nP(e){var t=e.alternate;t!==null&&(e.alternate=null,nP(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ir],delete t[Tl],delete t[Am],delete t[iO],delete t[oO])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function rP(e){return e.tag===5||e.tag===3||e.tag===4}function ix(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||rP(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function qm(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=nd));else if(r!==4&&(e=e.child,e!==null))for(qm(e,t,n),e=e.sibling;e!==null;)qm(e,t,n),e=e.sibling}function Km(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Km(e,t,n),e=e.sibling;e!==null;)Km(e,t,n),e=e.sibling}var vt=null,Nn=!1;function Br(e,t,n){for(n=n.child;n!==null;)iP(e,t,n),n=n.sibling}function iP(e,t,n){if(sr&&typeof sr.onCommitFiberUnmount=="function")try{sr.onCommitFiberUnmount(rf,n)}catch{}switch(n.tag){case 5:_t||os(n,t);case 6:var r=vt,i=Nn;vt=null,Br(e,t,n),vt=r,Nn=i,vt!==null&&(Nn?(e=vt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):vt.removeChild(n.stateNode));break;case 18:vt!==null&&(Nn?(e=vt,n=n.stateNode,e.nodeType===8?Xp(e.parentNode,n):e.nodeType===1&&Xp(e,n),bl(e)):Xp(vt,n.stateNode));break;case 4:r=vt,i=Nn,vt=n.stateNode.containerInfo,Nn=!0,Br(e,t,n),vt=r,Nn=i;break;case 0:case 11:case 14:case 15:if(!_t&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Hm(n,t,s),i=i.next}while(i!==r)}Br(e,t,n);break;case 1:if(!_t&&(os(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ue(n,t,a)}Br(e,t,n);break;case 21:Br(e,t,n);break;case 22:n.mode&1?(_t=(r=_t)||n.memoizedState!==null,Br(e,t,n),_t=r):Br(e,t,n);break;default:Br(e,t,n)}}function ox(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new bO),t.forEach(function(r){var i=OO.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ln(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*EO(r/1960))-r,10e?16:e,hi===null)var r=!1;else{if(e=hi,hi=null,md=0,ve&6)throw Error(F(331));var i=ve;for(ve|=4,q=e.current;q!==null;){var o=q,s=o.child;if(q.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lqe()-J0?wo(e,0):Z0|=n),Wt(e,t)}function fP(e,t){t===0&&(e.mode&1?(t=Hu,Hu<<=1,!(Hu&130023424)&&(Hu=4194304)):t=1);var n=Lt();e=$r(e,t),e!==null&&(mu(e,t,n),Wt(e,n))}function RO(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),fP(e,n)}function OO(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),fP(e,n)}var pP;pP=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Bt.current)Vt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Vt=!1,yO(e,t,n);Vt=!!(e.flags&131072)}else Vt=!1,$e&&t.flags&1048576&&gE(t,sd,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Tc(e,t),e=t.pendingProps;var i=Vs(t,Ot.current);ys(t,n),i=G0(null,t,r,e,i,n);var o=q0();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ut(r)?(o=!0,id(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,V0(t),i.updater=cf,t.stateNode=i,i._reactInternals=t,Fm(t,r,e,n),t=Vm(null,t,r,!0,o,n)):(t.tag=0,$e&&o&&$0(t),$t(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Tc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=IO(r),e=Dn(r,e),i){case 0:t=zm(null,t,r,e,n);break e;case 1:t=ex(null,t,r,e,n);break e;case 11:t=Z1(null,t,r,e,n);break e;case 14:t=J1(null,t,r,Dn(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),zm(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),ex(e,t,r,i,n);case 3:e:{if(YE(t),e===null)throw Error(F(387));r=t.pendingProps,o=t.memoizedState,i=o.element,wE(e,t),ud(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Hs(Error(F(423)),t),t=tx(e,t,r,n,i);break e}else if(r!==i){i=Hs(Error(F(424)),t),t=tx(e,t,r,n,i);break e}else for(Jt=Ci(t.stateNode.containerInfo.firstChild),tn=t,$e=!0,zn=null,n=EE(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Bs(),r===i){t=Lr(e,t,n);break e}$t(e,t,r,n)}t=t.child}return t;case 5:return PE(t),e===null&&Lm(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Rm(r,i)?s=null:o!==null&&Rm(r,o)&&(t.flags|=32),QE(e,t),$t(e,t,s,n),t.child;case 6:return e===null&&Lm(t),null;case 13:return XE(e,t,n);case 4:return B0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Us(t,null,r,n):$t(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),Z1(e,t,r,i,n);case 7:return $t(e,t,t.pendingProps,n),t.child;case 8:return $t(e,t,t.pendingProps.children,n),t.child;case 12:return $t(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Me(ad,r._currentValue),r._currentValue=s,o!==null)if(Hn(o.value,s)){if(o.children===i.children&&!Bt.current){t=Lr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Pr(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),jm(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(F(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),jm(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}$t(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ys(t,n),i=kn(i),r=r(i),t.flags|=1,$t(e,t,r,n),t.child;case 14:return r=t.type,i=Dn(r,t.pendingProps),i=Dn(r.type,i),J1(e,t,r,i,n);case 15:return qE(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),Tc(e,t),t.tag=1,Ut(r)?(e=!0,id(t)):e=!1,ys(t,n),SE(t,r,i),Fm(t,r,i,n),Vm(null,t,r,!0,e,n);case 19:return ZE(e,t,n);case 22:return KE(e,t,n)}throw Error(F(156,t.tag))};function hP(e,t){return zC(e,t)}function AO(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Cn(e,t,n,r){return new AO(e,t,n,r)}function rv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function IO(e){if(typeof e=="function")return rv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===S0)return 11;if(e===C0)return 14}return 2}function ki(e,t){var n=e.alternate;return n===null?(n=Cn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function _c(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")rv(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Yo:return bo(n.children,i,o,t);case b0:s=8,i|=8;break;case lm:return e=Cn(12,n,t,i|2),e.elementType=lm,e.lanes=o,e;case um:return e=Cn(13,n,t,i),e.elementType=um,e.lanes=o,e;case cm:return e=Cn(19,n,t,i),e.elementType=cm,e.lanes=o,e;case CC:return hf(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case bC:s=10;break e;case SC:s=9;break e;case S0:s=11;break e;case C0:s=14;break e;case ti:s=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=Cn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function bo(e,t,n,r){return e=Cn(7,e,r,t),e.lanes=n,e}function hf(e,t,n,r){return e=Cn(22,e,r,t),e.elementType=CC,e.lanes=n,e.stateNode={isHidden:!1},e}function oh(e,t,n){return e=Cn(6,e,null,t),e.lanes=n,e}function sh(e,t,n){return t=Cn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $O(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zp(0),this.expirationTimes=zp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zp(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function iv(e,t,n,r,i,o,s,a,l){return e=new $O(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Cn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},V0(o),e}function LO(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yP)}catch(e){console.error(e)}}yP(),gC.exports=sn;var xf=gC.exports;const rc=oC(xf);var px=xf;sm.createRoot=px.createRoot,sm.hydrateRoot=px.hydrateRoot;/** + * @remix-run/router v1.15.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Il(){return Il=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function xP(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function VO(){return Math.random().toString(36).substr(2,8)}function mx(e,t){return{usr:e.state,key:e.key,idx:t}}function Jm(e,t,n,r){return n===void 0&&(n=null),Il({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?sa(t):t,{state:n,key:t&&t.key||r||VO()})}function wP(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function sa(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function BO(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=mi.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(Il({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=mi.Pop;let x=c(),g=x==null?null:x-u;u=x,l&&l({action:a,location:m.location,delta:g})}function f(x,g){a=mi.Push;let y=Jm(m.location,x,g);n&&n(y,x),u=c()+1;let v=mx(y,u),w=m.createHref(y);try{s.pushState(v,"",w)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(w)}o&&l&&l({action:a,location:m.location,delta:1})}function p(x,g){a=mi.Replace;let y=Jm(m.location,x,g);n&&n(y,x),u=c();let v=mx(y,u),w=m.createHref(y);s.replaceState(v,"",w),o&&l&&l({action:a,location:m.location,delta:0})}function h(x){let g=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof x=="string"?x:wP(x);return y=y.replace(/ $/,"%20"),st(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let m={get action(){return a},get location(){return e(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(hx,d),l=x,()=>{i.removeEventListener(hx,d),l=null}},createHref(x){return t(i,x)},createURL:h,encodeLocation(x){let g=h(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:p,go(x){return s.go(x)}};return m}var gx;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(gx||(gx={}));function UO(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?sa(t):t,i=CP(r.pathname||"/",n);if(i==null)return null;let o=bP(e);WO(o);let s=null;for(let a=0;s==null&&a{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(st(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=So([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(st(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),bP(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:XO(u,o.index),routesMeta:c})};return e.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of SP(o.path))i(o,s,l)}),t}function SP(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=SP(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function WO(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:ZO(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const HO=/^:[\w-]+$/,GO=3,qO=2,KO=1,QO=10,YO=-2,vx=e=>e==="*";function XO(e,t){let n=e.split("/"),r=n.length;return n.some(vx)&&(r+=YO),t&&(r+=qO),n.filter(i=>!vx(i)).reduce((i,o)=>i+(HO.test(o)?GO:o===""?KO:QO),r)}function ZO(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function JO(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let s=0;s{let{paramName:f,isOptional:p}=c;if(f==="*"){let m=a[d]||"";s=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}const h=a[d];return p&&!h?u[f]=void 0:u[f]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function t5(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),xP(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function n5(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xP(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function CP(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function r5(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?sa(e):e;return{pathname:n?n.startsWith("/")?n:i5(n,t):t,search:u5(r),hash:c5(i)}}function i5(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function ah(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function o5(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function s5(e,t){let n=o5(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function a5(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=sa(e):(i=Il({},e),st(!i.pathname||!i.pathname.includes("?"),ah("?","pathname","search",i)),st(!i.pathname||!i.pathname.includes("#"),ah("#","pathname","hash",i)),st(!i.search||!i.search.includes("#"),ah("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=r5(i,a),u=s&&s!=="/"&&s.endsWith("/"),c=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const So=e=>e.join("/").replace(/\/\/+/g,"/"),l5=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),u5=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,c5=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function d5(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const EP=["post","put","patch","delete"];new Set(EP);const f5=["get",...EP];new Set(f5);/** + * React Router v6.22.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function $l(){return $l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=a5(u,JSON.parse(s),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:So([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,o,e])}const m5=b.createContext(null);function g5(e){let t=b.useContext(Hi).outlet;return t&&b.createElement(m5.Provider,{value:e},t)}function v5(){let{matches:e}=b.useContext(Hi),t=e[e.length-1];return t?t.params:{}}function y5(e,t){return x5(e,t)}function x5(e,t,n,r){Sf()||st(!1);let{navigator:i}=b.useContext(wf),{matches:o}=b.useContext(Hi),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=TP(),c;if(t){var d;let x=typeof t=="string"?sa(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||st(!1),c=x}else c=u;let f=c.pathname||"/",p=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let h=UO(e,{pathname:p}),m=E5(h&&h.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:So([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:So([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&m?b.createElement(bf.Provider,{value:{location:$l({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:mi.Pop}},m):m}function w5(){let e=M5(),t=d5(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const b5=b.createElement(w5,null);class S5 extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(Hi.Provider,{value:this.props.routeContext},b.createElement(PP.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function C5(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(lv);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Hi.Provider,{value:t},r)}function E5(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id]));c>=0||st(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let p,h=!1,m=null,x=null;n&&(p=a&&d.route.id?a[d.route.id]:void 0,m=d.route.errorElement||b5,l&&(u<0&&f===0?(R5("route-fallback",!1),h=!0,x=null):u===f&&(h=!0,x=d.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,f+1)),y=()=>{let v;return p?v=m:h?v=x:d.route.Component?v=b.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,b.createElement(C5,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(S5,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var MP=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(MP||{}),yd=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(yd||{});function P5(e){let t=b.useContext(lv);return t||st(!1),t}function T5(e){let t=b.useContext(p5);return t||st(!1),t}function k5(e){let t=b.useContext(Hi);return t||st(!1),t}function _P(e){let t=k5(),n=t.matches[t.matches.length-1];return n.route.id||st(!1),n.route.id}function M5(){var e;let t=b.useContext(PP),n=T5(yd.UseRouteError),r=_P(yd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function _5(){let{router:e}=P5(MP.UseNavigateStable),t=_P(yd.UseNavigateStable),n=b.useRef(!1);return kP(()=>{n.current=!0}),b.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,$l({fromRouteId:t},o)))},[e,t])}const yx={};function R5(e,t,n){!t&&!yx[e]&&(yx[e]=!0)}function O5(e){return g5(e.context)}function qo(e){st(!1)}function A5(e){let{basename:t="/",children:n=null,location:r,navigationType:i=mi.Pop,navigator:o,static:s=!1,future:a}=e;Sf()&&st(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:o,static:s,future:$l({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=sa(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:h="default"}=r,m=b.useMemo(()=>{let x=CP(c,l);return x==null?null:{location:{pathname:x,search:d,hash:f,state:p,key:h},navigationType:i}},[l,c,d,f,p,h,i]);return m==null?null:b.createElement(wf.Provider,{value:u},b.createElement(bf.Provider,{children:n,value:m}))}function I5(e){let{children:t,location:n}=e;return y5(eg(t),n)}new Promise(()=>{});function eg(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let o=[...t,i];if(r.type===b.Fragment){n.push.apply(n,eg(r.props.children,o));return}r.type!==qo&&st(!1),!r.props.index||!r.props.children||st(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=eg(r.props.children,o)),n.push(s)}),n}/** + * React Router DOM v6.22.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */const $5="6";try{window.__reactRouterVersion=$5}catch{}const L5="startTransition",xx=qc[L5];function j5(e){let{basename:t,children:n,future:r,window:i}=e,o=b.useRef();o.current==null&&(o.current=zO({window:i,v5Compat:!0}));let s=o.current,[a,l]=b.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&xx?xx(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>s.listen(c),[s,c]),b.createElement(A5,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var wx;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(wx||(wx={}));var bx;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(bx||(bx={}));function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=RP(e[n])}),t}function lr(e,t,n={clone:!0}){const r=n.clone?R({},e):e;return si(e)&&si(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(si(t[i])&&i in e&&si(e[i])?r[i]=lr(e[i],t[i],n):n.clone?r[i]=si(t[i])?RP(t[i]):t[i]:r[i]=t[i])}),r}const D5=Object.freeze(Object.defineProperty({__proto__:null,default:lr,isPlainObject:si},Symbol.toStringTag,{value:"Module"}));function qs(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function fv(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function H5(e,t){return()=>null}function G5(e,t){var n,r;return b.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Tr(e){return e&&e.ownerDocument||document}function Di(e){return Tr(e).defaultView||window}function q5(e,t){return()=>null}function xd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Fi=typeof window<"u"?b.useLayoutEffect:b.useEffect;let Ex=0;function K5(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(Ex+=1,n(`mui-${Ex}`))},[t]),r}const Px=qc.useId;function Q5(e){if(Px!==void 0){const t=Px();return e??t}return K5(e)}function Y5(e,t,n,r,i){return null}function X5({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=b.useRef(e!==void 0),[o,s]=b.useState(t),a=i?e:o,l=b.useCallback(u=>{i||s(u)},[]);return[a,l]}function ao(e){const t=b.useRef(e);return Fi(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function Ht(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{xd(n,t)})},e)}const Tx={};function Z5(e,t){const n=b.useRef(Tx);return n.current===Tx&&(n.current=e(t)),n}const J5=[];function eA(e){b.useEffect(e,J5)}class If{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new If}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function tA(){const e=Z5(If.create).current;return eA(e.disposeEffect),e}let $f=!0,ng=!1;const nA=new If,rA={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function iA(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&rA[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function oA(e){e.metaKey||e.altKey||e.ctrlKey||($f=!0)}function lh(){$f=!1}function sA(){this.visibilityState==="hidden"&&ng&&($f=!0)}function aA(e){e.addEventListener("keydown",oA,!0),e.addEventListener("mousedown",lh,!0),e.addEventListener("pointerdown",lh,!0),e.addEventListener("touchstart",lh,!0),e.addEventListener("visibilitychange",sA,!0)}function lA(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return $f||iA(t)}function pv(){const e=b.useCallback(i=>{i!=null&&aA(i.ownerDocument)},[]),t=b.useRef(!1);function n(){return t.current?(ng=!0,nA.start(100,()=>{ng=!1}),t.current=!1,!0):!1}function r(i){return lA(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function uA(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function LP(e,t){const n=R({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=R({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=R({},o),Object.keys(i).forEach(s=>{n[r][s]=LP(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function at(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const a=t(s);a!==""&&o.push(a),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const kx=e=>e,cA=()=>{let e=kx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=kx}}},dA=cA(),hv=dA,fA={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function nt(e,t,n="Mui"){const r=fA[t];return r?`${n}-${r}`:`${hv.generate(e)}-${t}`}function Qe(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=nt(e,i,n)}),r}function pA(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const hA=Object.freeze(Object.defineProperty({__proto__:null,default:pA},Symbol.toStringTag,{value:"Module"}));function se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function jP(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>R({},n,{[r.key]:r.val}),{})};function FP(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=se(e,mA),o=gA(t),s=Object.keys(o);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,p){const h=s.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:p)-r/100}${n})`}function c(f){return s.indexOf(f)+1`@media (min-width:${mv[e]}px)`};function jr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||Mx;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=r.breakpoints||Mx;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||mv).indexOf(a)!==-1){const l=o.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function xA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function wA(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Ks(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function wd(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Ks(e,n)||r,t&&(i=t(i,r,e)),i}function Ye(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=Ks(l,r)||{};return jr(s,a,d=>{let f=wd(u,i,d);return d===f&&typeof d=="string"&&(f=wd(u,i,`${t}${d==="default"?"":Y(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[t],o}function bA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const SA={m:"margin",p:"padding"},CA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_x={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},EA=bA(e=>{if(e.length>2)if(_x[e])e=_x[e];else return[e];const[t,n]=e.split(""),r=SA[t],i=CA[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),gv=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...gv,...vv];function xu(e,t,n,r){var i;const o=(i=Ks(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function NP(e){return xu(e,"spacing",8)}function wu(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function PA(e,t){return n=>e.reduce((r,i)=>(r[i]=wu(t,n),r),{})}function TA(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=EA(n),o=PA(i,r),s=e[n];return jr(e,s,o)}function zP(e,t){const n=NP(e.theme);return Object.keys(e).map(r=>TA(e,t,r,n)).reduce(nl,{})}function ze(e){return zP(e,gv)}ze.propTypes={};ze.filterProps=gv;function Ve(e){return zP(e,vv)}Ve.propTypes={};Ve.filterProps=vv;function kA(e=8){if(e.mui)return e;const t=NP({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Lf(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?nl(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function wn(e){return typeof e!="number"?e:`${e}px solid`}function On(e,t){return Ye({prop:e,themeKey:"borders",transform:t})}const MA=On("border",wn),_A=On("borderTop",wn),RA=On("borderRight",wn),OA=On("borderBottom",wn),AA=On("borderLeft",wn),IA=On("borderColor"),$A=On("borderTopColor"),LA=On("borderRightColor"),jA=On("borderBottomColor"),DA=On("borderLeftColor"),FA=On("outline",wn),NA=On("outlineColor"),jf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=xu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:wu(t,r)});return jr(e,e.borderRadius,n)}return null};jf.propTypes={};jf.filterProps=["borderRadius"];Lf(MA,_A,RA,OA,AA,IA,$A,LA,jA,DA,jf,FA,NA);const Df=e=>{if(e.gap!==void 0&&e.gap!==null){const t=xu(e.theme,"spacing",8),n=r=>({gap:wu(t,r)});return jr(e,e.gap,n)}return null};Df.propTypes={};Df.filterProps=["gap"];const Ff=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=xu(e.theme,"spacing",8),n=r=>({columnGap:wu(t,r)});return jr(e,e.columnGap,n)}return null};Ff.propTypes={};Ff.filterProps=["columnGap"];const Nf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=xu(e.theme,"spacing",8),n=r=>({rowGap:wu(t,r)});return jr(e,e.rowGap,n)}return null};Nf.propTypes={};Nf.filterProps=["rowGap"];const zA=Ye({prop:"gridColumn"}),VA=Ye({prop:"gridRow"}),BA=Ye({prop:"gridAutoFlow"}),UA=Ye({prop:"gridAutoColumns"}),WA=Ye({prop:"gridAutoRows"}),HA=Ye({prop:"gridTemplateColumns"}),GA=Ye({prop:"gridTemplateRows"}),qA=Ye({prop:"gridTemplateAreas"}),KA=Ye({prop:"gridArea"});Lf(Df,Ff,Nf,zA,VA,BA,UA,WA,HA,GA,qA,KA);function ws(e,t){return t==="grey"?t:e}const QA=Ye({prop:"color",themeKey:"palette",transform:ws}),YA=Ye({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ws}),XA=Ye({prop:"backgroundColor",themeKey:"palette",transform:ws});Lf(QA,YA,XA);function Zt(e){return e<=1&&e!==0?`${e*100}%`:e}const ZA=Ye({prop:"width",transform:Zt}),yv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||mv[n];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Zt(n)}};return jr(e,e.maxWidth,t)}return null};yv.filterProps=["maxWidth"];const JA=Ye({prop:"minWidth",transform:Zt}),eI=Ye({prop:"height",transform:Zt}),tI=Ye({prop:"maxHeight",transform:Zt}),nI=Ye({prop:"minHeight",transform:Zt});Ye({prop:"size",cssProperty:"width",transform:Zt});Ye({prop:"size",cssProperty:"height",transform:Zt});const rI=Ye({prop:"boxSizing"});Lf(ZA,yv,JA,eI,tI,nI,rI);const iI={border:{themeKey:"borders",transform:wn},borderTop:{themeKey:"borders",transform:wn},borderRight:{themeKey:"borders",transform:wn},borderBottom:{themeKey:"borders",transform:wn},borderLeft:{themeKey:"borders",transform:wn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:wn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:jf},color:{themeKey:"palette",transform:ws},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ws},backgroundColor:{themeKey:"palette",transform:ws},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:ze},mt:{style:ze},mr:{style:ze},mb:{style:ze},ml:{style:ze},mx:{style:ze},my:{style:ze},margin:{style:ze},marginTop:{style:ze},marginRight:{style:ze},marginBottom:{style:ze},marginLeft:{style:ze},marginX:{style:ze},marginY:{style:ze},marginInline:{style:ze},marginInlineStart:{style:ze},marginInlineEnd:{style:ze},marginBlock:{style:ze},marginBlockStart:{style:ze},marginBlockEnd:{style:ze},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Df},rowGap:{style:Nf},columnGap:{style:Ff},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Zt},maxWidth:{style:yv},minWidth:{transform:Zt},height:{transform:Zt},maxHeight:{transform:Zt},minHeight:{transform:Zt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},bu=iI;function oI(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function sI(e,t){return typeof e=="function"?e(t):e}function VP(){function e(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:d}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=Ks(i,u)||{};return d?d(s):jr(s,r,h=>{let m=wd(f,c,h);return h===m&&typeof h=="string"&&(m=wd(f,c,`${n}${h==="default"?"":Y(h)}`,h)),l===!1?m:{[l]:m}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:bu;function a(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const c=xA(o.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(p=>{const h=sI(u[p],o);if(h!=null)if(typeof h=="object")if(s[p])f=nl(f,e(p,h,o,s));else{const m=jr({theme:o},h,x=>({[p]:x}));oI(m,h)?f[p]=t({sx:h,theme:o}):f=nl(f,m)}else f=nl(f,e(p,h,o,s))}),wA(d,f)}return Array.isArray(i)?i.map(a):a(i)}return t}const Su=VP();Su.filterProps=["sx"];function BP(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const aI=["breakpoints","palette","spacing","shape"];function xv(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=se(e,aI),a=FP(n),l=kA(i);let u=lr({breakpoints:a,direction:"ltr",components:{},palette:R({mode:"light"},r),spacing:l,shape:R({},yA,o)},s);return u.applyStyles=BP,u=t.reduce((c,d)=>lr(c,d),u),u.unstable_sxConfig=R({},bu,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Su({sx:d,theme:this})},u}const lI=Object.freeze(Object.defineProperty({__proto__:null,default:xv,private_createBreakpoints:FP,unstable_applyStyles:BP},Symbol.toStringTag,{value:"Module"}));function UP(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var uI=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,cI=UP(function(e){return uI.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function dI(e){if(e.sheet)return e.sheet;for(var t=0;t0?yt(aa,--Gt):0,Qs--,Je===10&&(Qs=1,Vf--),Je}function nn(){return Je=Gt2||jl(Je)>3?"":" "}function EI(e,t){for(;--t&&nn()&&!(Je<48||Je>102||Je>57&&Je<65||Je>70&&Je<97););return Cu(e,Rc()+(t<6&&ur()==32&&nn()==32))}function ig(e){for(;nn();)switch(Je){case e:return Gt;case 34:case 39:e!==34&&e!==39&&ig(Je);break;case 40:e===41&&ig(e);break;case 92:nn();break}return Gt}function PI(e,t){for(;nn()&&e+Je!==57;)if(e+Je===84&&ur()===47)break;return"/*"+Cu(t,Gt-1)+"*"+zf(e===47?e:nn())}function TI(e){for(;!jl(ur());)nn();return Cu(e,Gt)}function kI(e){return QP(Ac("",null,null,null,[""],e=KP(e),0,[0],e))}function Ac(e,t,n,r,i,o,s,a,l){for(var u=0,c=0,d=s,f=0,p=0,h=0,m=1,x=1,g=1,y=0,v="",w=i,C=o,E=r,T=v;x;)switch(h=y,y=nn()){case 40:if(h!=108&&yt(T,d-1)==58){rg(T+=be(Oc(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:T+=Oc(y);break;case 9:case 10:case 13:case 32:T+=CI(h);break;case 92:T+=EI(Rc()-1,7);continue;case 47:switch(ur()){case 42:case 47:ic(MI(PI(nn(),Rc()),t,n),l);break;default:T+="/"}break;case 123*m:a[u++]=nr(T)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+c:g==-1&&(T=be(T,/\f/g,"")),p>0&&nr(T)-d&&ic(p>32?Ox(T+";",r,n,d-1):Ox(be(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(ic(E=Rx(T,t,n,u,c,i,a,v,w=[],C=[],d),o),y===123)if(c===0)Ac(T,t,E,E,w,o,d,a,C);else switch(f===99&&yt(T,3)===110?100:f){case 100:case 108:case 109:case 115:Ac(e,E,E,r&&ic(Rx(e,E,E,0,0,i,a,v,i,w=[],d),C),i,C,d,a,r?w:C);break;default:Ac(T,E,E,E,[""],C,0,a,C)}}u=c=p=0,m=g=1,v=T="",d=s;break;case 58:d=1+nr(T),p=h;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&SI()==125)continue}switch(T+=zf(y),y*m){case 38:g=c>0?1:(T+="\f",-1);break;case 44:a[u++]=(nr(T)-1)*g,g=1;break;case 64:ur()===45&&(T+=Oc(nn())),f=ur(),c=d=nr(v=T+=TI(Rc())),y++;break;case 45:h===45&&nr(T)==2&&(m=0)}}return o}function Rx(e,t,n,r,i,o,s,a,l,u,c){for(var d=i-1,f=i===0?o:[""],p=Sv(f),h=0,m=0,x=0;h0?f[g]+" "+y:be(y,/&\f/g,f[g])))&&(l[x++]=v);return Bf(e,t,n,i===0?wv:a,l,u,c)}function MI(e,t,n){return Bf(e,t,n,WP,zf(bI()),Ll(e,2,-2),0)}function Ox(e,t,n,r){return Bf(e,t,n,bv,Ll(e,0,r),Ll(e,r+1,-1),r)}function bs(e,t){for(var n="",r=Sv(e),i=0;i6)switch(yt(e,t+1)){case 109:if(yt(e,t+4)!==45)break;case 102:return be(e,/(.+:)(.+)-([^]+)/,"$1"+we+"$2-$3$1"+bd+(yt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~rg(e,"stretch")?YP(be(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(yt(e,t+1)!==115)break;case 6444:switch(yt(e,nr(e)-3-(~rg(e,"!important")&&10))){case 107:return be(e,":",":"+we)+e;case 101:return be(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+we+(yt(e,14)===45?"inline-":"")+"box$3$1"+we+"$2$3$1"+Tt+"$2box$3")+e}break;case 5936:switch(yt(e,t+11)){case 114:return we+e+Tt+be(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return we+e+Tt+be(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return we+e+Tt+be(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return we+e+Tt+e+e}return e}var DI=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case bv:t.return=YP(t.value,t.length);break;case HP:return bs([ka(t,{value:be(t.value,"@","@"+we)})],i);case wv:if(t.length)return wI(t.props,function(o){switch(xI(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return bs([ka(t,{props:[be(o,/:(read-\w+)/,":"+bd+"$1")]})],i);case"::placeholder":return bs([ka(t,{props:[be(o,/:(plac\w+)/,":"+we+"input-$1")]}),ka(t,{props:[be(o,/:(plac\w+)/,":"+bd+"$1")]}),ka(t,{props:[be(o,/:(plac\w+)/,Tt+"input-$1")]})],i)}return""})}},FI=[DI],XP=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var x=m.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||FI,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var x=m.getAttribute("data-emotion").split(" "),g=1;g=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var YI={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},XI=/[A-Z]|^ms/g,ZI=/_EMO_([^_]+?)_([^]*?)_EMO_/g,iT=function(t){return t.charCodeAt(1)===45},Ix=function(t){return t!=null&&typeof t!="boolean"},uh=UP(function(e){return iT(e)?e:e.replace(XI,"-$&").toLowerCase()}),$x=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ZI,function(r,i,o){return rr={name:i,styles:o,next:rr},i})}return YI[t]!==1&&!iT(t)&&typeof n=="number"&&n!==0?n+"px":n};function Dl(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return rr={name:n.name,styles:n.styles,next:rr},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)rr={name:r.name,styles:r.styles,next:rr},r=r.next;var i=n.styles+";";return i}return JI(e,t,n)}case"function":{if(e!==void 0){var o=rr,s=n(e);return rr=o,Dl(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function JI(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?i3:o3},Nx=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},s3=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return nT(n,r,i),t3(function(){return rT(n,r,i)}),null},a3=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var a=Nx(t,n,r),l=a||Fx(i),u=!l("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,p=1;pt(c3(i)?n:i):t;return S.jsx(r3,{styles:r})}function cT(e,t){return og(e,t)}const d3=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},f3=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:uT,StyledEngineProvider:u3,ThemeContext:Eu,css:Jf,default:cT,internal_processStyles:d3,keyframes:la},Symbol.toStringTag,{value:"Module"}));function p3(e){return Object.keys(e).length===0}function kv(e=null){const t=b.useContext(Eu);return!t||p3(t)?e:t}const h3=xv();function ep(e=h3){return kv(e)}function m3({props:e,name:t,defaultTheme:n,themeId:r}){let i=ep(n);return r&&(i=i[r]||i),DP({theme:i,name:t,props:e})}const g3=["sx"],v3=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:bu;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function Mv(e){const{sx:t}=e,n=se(e,g3),{systemProps:r,otherProps:i}=v3(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const a=t(...s);return si(a)?R({},r,a):r}:o=R({},r,t),R({},i,{sx:o})}const y3=Object.freeze(Object.defineProperty({__proto__:null,default:Su,extendSxProp:Mv,unstable_createStyleFunctionSx:VP,unstable_defaultSxConfig:bu},Symbol.toStringTag,{value:"Module"}));function x3(e,t){return R({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Xe={},dT={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(dT);var _v=dT.exports;const w3=Fr(F5),b3=Fr(hA);var fT=_v;Object.defineProperty(Xe,"__esModule",{value:!0});var kt=Xe.alpha=gT;Xe.blend=A3;Xe.colorChannel=void 0;var ag=Xe.darken=Ov;Xe.decomposeColor=_n;Xe.emphasize=vT;var S3=Xe.getContrastRatio=k3;Xe.getLuminance=Sd;Xe.hexToRgb=pT;Xe.hslToRgb=mT;var lg=Xe.lighten=Av;Xe.private_safeAlpha=M3;Xe.private_safeColorChannel=void 0;Xe.private_safeDarken=_3;Xe.private_safeEmphasize=O3;Xe.private_safeLighten=R3;Xe.recomposeColor=ua;Xe.rgbToHex=T3;var zx=fT(w3),C3=fT(b3);function Rv(e,t=0,n=1){return(0,C3.default)(e,t,n)}function pT(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function E3(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function _n(e){if(e.type)return e;if(e.charAt(0)==="#")return _n(pT(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,zx.default)(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error((0,zx.default)(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const hT=e=>{const t=_n(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Xe.colorChannel=hT;const P3=(e,t)=>{try{return hT(e)}catch{return e}};Xe.private_safeColorChannel=P3;function ua(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function T3(e){if(e.indexOf("#")===0)return e;const{values:t}=_n(e);return`#${t.map((n,r)=>E3(r===3?Math.round(255*n):n)).join("")}`}function mT(e){e=_n(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(u,c=(u+n/30)%12)=>i-o*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),ua({type:a,values:l})}function Sd(e){e=_n(e);let t=e.type==="hsl"||e.type==="hsla"?_n(mT(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function k3(e,t){const n=Sd(e),r=Sd(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function gT(e,t){return e=_n(e),t=Rv(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ua(e)}function M3(e,t,n){try{return gT(e,t)}catch{return e}}function Ov(e,t){if(e=_n(e),t=Rv(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ua(e)}function _3(e,t,n){try{return Ov(e,t)}catch{return e}}function Av(e,t){if(e=_n(e),t=Rv(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ua(e)}function R3(e,t,n){try{return Av(e,t)}catch{return e}}function vT(e,t=.15){return Sd(e)>.5?Ov(e,t):Av(e,t)}function O3(e,t,n){try{return vT(e,t)}catch{return e}}function A3(e,t,n,r=1){const i=(l,u)=>Math.round((l**(1/r)*(1-n)+u**(1/r)*n)**r),o=_n(e),s=_n(t),a=[i(o.values[0],s.values[0]),i(o.values[1],s.values[1]),i(o.values[2],s.values[2])];return ua({type:"rgb",values:a})}const I3={black:"#000",white:"#fff"},Fl=I3,$3={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},L3=$3,j3={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},No=j3,D3={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},zo=D3,F3={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ma=F3,N3={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Vo=N3,z3={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Bo=z3,V3={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Uo=V3,B3=["mode","contrastThreshold","tonalOffset"],Vx={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Fl.white,default:Fl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},dh={text:{primary:Fl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Fl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Bx(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=lg(e.main,i):t==="dark"&&(e.dark=ag(e.main,o)))}function U3(e="light"){return e==="dark"?{main:Vo[200],light:Vo[50],dark:Vo[400]}:{main:Vo[700],light:Vo[400],dark:Vo[800]}}function W3(e="light"){return e==="dark"?{main:No[200],light:No[50],dark:No[400]}:{main:No[500],light:No[300],dark:No[700]}}function H3(e="light"){return e==="dark"?{main:zo[500],light:zo[300],dark:zo[700]}:{main:zo[700],light:zo[400],dark:zo[800]}}function G3(e="light"){return e==="dark"?{main:Bo[400],light:Bo[300],dark:Bo[700]}:{main:Bo[700],light:Bo[500],dark:Bo[900]}}function q3(e="light"){return e==="dark"?{main:Uo[400],light:Uo[300],dark:Uo[700]}:{main:Uo[800],light:Uo[500],dark:Uo[900]}}function K3(e="light"){return e==="dark"?{main:Ma[400],light:Ma[300],dark:Ma[700]}:{main:"#ed6c02",light:Ma[500],dark:Ma[900]}}function Q3(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=se(e,B3),o=e.primary||U3(t),s=e.secondary||W3(t),a=e.error||H3(t),l=e.info||G3(t),u=e.success||q3(t),c=e.warning||K3(t);function d(m){return S3(m,dh.text.primary)>=n?dh.text.primary:Vx.text.primary}const f=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:v=700})=>{if(m=R({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(qs(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(qs(12,x?` (${x})`:"",JSON.stringify(m.main)));return Bx(m,"light",y,r),Bx(m,"dark",v,r),m.contrastText||(m.contrastText=d(m.main)),m},p={dark:dh,light:Vx};return lr(R({common:R({},Fl),mode:t,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:u,name:"success"}),grey:L3,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),i)}const Y3=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function X3(e){return Math.round(e*1e5)/1e5}const Ux={textTransform:"uppercase"},Wx='"Roboto", "Helvetica", "Arial", sans-serif';function Z3(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Wx,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=se(n,Y3),p=i/14,h=d||(g=>`${g/u*p}rem`),m=(g,y,v,w,C)=>R({fontFamily:r,fontWeight:g,fontSize:h(y),lineHeight:v},r===Wx?{letterSpacing:`${X3(w/y)}em`}:{},C,c),x={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(a,14,1.75,.4,Ux),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Ux),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return lr(R({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},x),f,{clone:!1})}const J3=.2,e4=.14,t4=.12;function Ie(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${J3})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${e4})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${t4})`].join(",")}const n4=["none",Ie(0,2,1,-1,0,1,1,0,0,1,3,0),Ie(0,3,1,-2,0,2,2,0,0,1,5,0),Ie(0,3,3,-2,0,3,4,0,0,1,8,0),Ie(0,2,4,-1,0,4,5,0,0,1,10,0),Ie(0,3,5,-1,0,5,8,0,0,1,14,0),Ie(0,3,5,-1,0,6,10,0,0,1,18,0),Ie(0,4,5,-2,0,7,10,1,0,2,16,1),Ie(0,5,5,-3,0,8,10,1,0,3,14,2),Ie(0,5,6,-3,0,9,12,1,0,3,16,2),Ie(0,6,6,-3,0,10,14,1,0,4,18,3),Ie(0,6,7,-4,0,11,15,1,0,4,20,3),Ie(0,7,8,-4,0,12,17,2,0,5,22,4),Ie(0,7,8,-4,0,13,19,2,0,5,24,4),Ie(0,7,9,-4,0,14,21,2,0,5,26,4),Ie(0,8,9,-5,0,15,22,2,0,6,28,5),Ie(0,8,10,-5,0,16,24,2,0,6,30,5),Ie(0,8,11,-5,0,17,26,2,0,6,32,5),Ie(0,9,11,-5,0,18,28,2,0,7,34,6),Ie(0,9,12,-6,0,19,29,2,0,7,36,6),Ie(0,10,13,-6,0,20,31,3,0,8,38,7),Ie(0,10,13,-6,0,21,33,3,0,8,40,7),Ie(0,10,14,-6,0,22,35,3,0,8,42,7),Ie(0,11,14,-7,0,23,36,3,0,9,44,8),Ie(0,11,15,-7,0,24,38,3,0,9,46,8)],r4=["duration","easing","delay"],i4={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o4={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hx(e){return`${Math.round(e)}ms`}function s4(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function a4(e){const t=R({},i4,e.easing),n=R({},o4,e.duration);return R({getAutoHeightDuration:s4,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=o;return se(o,r4),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof s=="string"?s:Hx(s)} ${a} ${typeof l=="string"?l:Hx(l)}`).join(",")}},e,{easing:t,duration:n})}const l4={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},u4=l4,c4=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Iv(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=se(e,c4);if(e.vars)throw new Error(qs(18));const a=Q3(r),l=xv(e);let u=lr(l,{mixins:x3(l.breakpoints,n),palette:a,shadows:n4.slice(),typography:Z3(a,o),transitions:a4(i),zIndex:R({},u4)});return u=lr(u,s),u=t.reduce((c,d)=>lr(c,d),u),u.unstable_sxConfig=R({},bu,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Su({sx:d,theme:this})},u}const d4=Iv(),tp=d4,Ro="$$material";function rt({props:e,name:t}){return m3({props:e,name:t,defaultTheme:tp,themeId:Ro})}var Pu={},fh={exports:{}},Gx;function f4(){return Gx||(Gx=1,function(e){function t(n,r){if(n==null)return{};var i={},o=Object.keys(n),s,a;for(a=0;a=0)&&(i[s]=n[s]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(fh)),fh.exports}const p4=Fr(f3),h4=Fr(D5),m4=Fr(W5),g4=Fr(U5),v4=Fr(lI),y4=Fr(y3);var ca=_v;Object.defineProperty(Pu,"__esModule",{value:!0});var x4=Pu.default=A4;Pu.shouldForwardProp=Ic;Pu.systemDefaultTheme=void 0;var mn=ca(lT()),ug=ca(f4()),qx=T4(p4),w4=h4;ca(m4);ca(g4);var b4=ca(v4),S4=ca(y4);const C4=["ownerState"],E4=["variants"],P4=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function yT(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(yT=function(r){return r?n:t})(e)}function T4(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=yT(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function k4(e){return Object.keys(e).length===0}function M4(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ic(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const _4=Pu.systemDefaultTheme=(0,b4.default)(),R4=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function oc({defaultTheme:e,theme:t,themeId:n}){return k4(t)?e:t[n]||t}function O4(e){return e?(t,n)=>n[e]:null}function $c(e,t){let{ownerState:n}=t,r=(0,ug.default)(t,C4);const i=typeof e=="function"?e((0,mn.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(o=>$c(o,(0,mn.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let a=(0,ug.default)(i,E4);return o.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props((0,mn.default)({ownerState:n},r,n)):Object.keys(l.props).forEach(c=>{(n==null?void 0:n[c])!==l.props[c]&&r[c]!==l.props[c]&&(u=!1)}),u&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style((0,mn.default)({ownerState:n},r,n)):l.style))}),a}return i}function A4(e={}){const{themeId:t,defaultTheme:n=_4,rootShouldForwardProp:r=Ic,slotShouldForwardProp:i=Ic}=e,o=s=>(0,S4.default)((0,mn.default)({},s,{theme:oc((0,mn.default)({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,a={})=>{(0,qx.internal_processStyles)(s,C=>C.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=O4(R4(u))}=a,p=(0,ug.default)(a,P4),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,m=d||!1;let x,g=Ic;u==="Root"||u==="root"?g=r:u?g=i:M4(s)&&(g=void 0);const y=(0,qx.default)(s,(0,mn.default)({shouldForwardProp:g,label:x},p)),v=C=>typeof C=="function"&&C.__emotion_real!==C||(0,w4.isPlainObject)(C)?E=>$c(C,(0,mn.default)({},E,{theme:oc({theme:E.theme,defaultTheme:n,themeId:t})})):C,w=(C,...E)=>{let T=v(C);const P=E?E.map(v):[];l&&f&&P.push(A=>{const I=oc((0,mn.default)({},A,{defaultTheme:n,themeId:t}));if(!I.components||!I.components[l]||!I.components[l].styleOverrides)return null;const L=I.components[l].styleOverrides,D={};return Object.entries(L).forEach(([B,N])=>{D[B]=$c(N,(0,mn.default)({},A,{theme:I}))}),f(A,D)}),l&&!h&&P.push(A=>{var I;const L=oc((0,mn.default)({},A,{defaultTheme:n,themeId:t})),D=L==null||(I=L.components)==null||(I=I[l])==null?void 0:I.variants;return $c({variants:D},(0,mn.default)({},A,{theme:L}))}),m||P.push(o);const k=P.length-E.length;if(Array.isArray(C)&&k>0){const A=new Array(k).fill("");T=[...C,...A],T.raw=[...C.raw,...A]}const M=y(T,...P);return s.muiName&&(M.muiName=s.muiName),M};return y.withConfig&&(w.withConfig=y.withConfig),w}}function I4(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Tu=e=>I4(e)&&e!=="classes",le=x4({themeId:Ro,defaultTheme:tp,rootShouldForwardProp:Tu});function $4(e){return nt("MuiSvgIcon",e)}Qe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const L4=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],j4=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${Y(t)}`,`fontSize${Y(n)}`]};return at(i,$4,r)},D4=le("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Y(n.color)}`],t[`fontSize${Y(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,o,s,a,l,u,c,d,f,p,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(s=o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem",medium:((a=e.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:(d=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?d:{action:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.disabled,inherit:void 0}[t.color]}}),cg=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=se(r,L4),h=b.isValidElement(i)&&i.type==="svg",m=R({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h}),x={};c||(x.viewBox=f);const g=j4(m);return S.jsxs(D4,R({as:a,className:oe(g.root,o),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},x,p,h&&i.props,{ownerState:m,children:[h?i.props.children:i,d?S.jsx("title",{children:d}):null]}))});cg.muiName="SvgIcon";function un(e,t){function n(r,i){return S.jsx(cg,R({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=cg.muiName,b.memo(b.forwardRef(n))}const F4={configure:e=>{hv.configure(e)}},N4=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Y,createChainedFunction:tg,createSvgIcon:un,debounce:fv,deprecatedPropType:H5,isMuiElement:G5,ownerDocument:Tr,ownerWindow:Di,requirePropFactory:q5,setRef:xd,unstable_ClassNameGenerator:F4,unstable_useEnhancedEffect:Fi,unstable_useId:Q5,unsupportedProp:Y5,useControlled:X5,useEventCallback:ao,useForkRef:Ht,useIsFocusVisible:pv},Symbol.toStringTag,{value:"Module"})),xT=un(S.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),z4=un(S.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),V4=un(S.jsx("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub"),B4=un(S.jsx("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram"),U4=un(S.jsx("path",{d:"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"}),"LinkedIn");function W4({styles:e,themeId:t,defaultTheme:n={}}){const r=ep(n),i=typeof e=="function"?e(t&&r[t]||r):e;return S.jsx(uT,{styles:i})}const H4=["className","component"];function G4(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,o=cT("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(Su);return b.forwardRef(function(l,u){const c=ep(n),d=Mv(l),{className:f,component:p="div"}=d,h=se(d,H4);return S.jsx(o,R({as:p,ref:u,className:oe(f,i?i(r):r),theme:t&&c[t]||c},h))})}function q4(e,t,n,r,i){const[o,s]=b.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return Fi(()=>{let a=!0;if(!n)return;const l=n(e),u=()=>{a&&s(l.matches)};return u(),l.addListener(u),()=>{a=!1,l.removeListener(u)}},[e,n]),o}const wT=b.useSyncExternalStore;function K4(e,t,n,r,i){const o=b.useCallback(()=>t,[t]),s=b.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return o},[o,e,r,i,n]),[a,l]=b.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const c=n(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[o,n,e]);return wT(l,a,s)}function Q4(e,t={}){const n=kv(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=r?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:a=!1}=DP({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(wT!==void 0?K4:q4)(l,i,o,s,a)}const Y4=b.createContext(null),bT=Y4;function ST(){return b.useContext(bT)}const X4=typeof Symbol=="function"&&Symbol.for,Z4=X4?Symbol.for("mui.nested"):"__THEME_NESTED__";function J4(e,t){return typeof t=="function"?t(e):R({},e,t)}function e$(e){const{children:t,theme:n}=e,r=ST(),i=b.useMemo(()=>{const o=r===null?n:J4(r,n);return o!=null&&(o[Z4]=r!==null),o},[n,r]);return S.jsx(bT.Provider,{value:i,children:t})}const t$=["value"],CT=b.createContext();function n$(e){let{value:t}=e,n=se(e,t$);return S.jsx(CT.Provider,R({value:t??!0},n))}const r$=()=>{const e=b.useContext(CT);return e??!1},Kx={};function Qx(e,t,n,r=!1){return b.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const o=n(i),s=e?R({},t,{[e]:o}):o;return r?()=>s:s}return e?R({},t,{[e]:n}):R({},t,n)},[e,t,n,r])}function i$(e){const{children:t,theme:n,themeId:r}=e,i=kv(Kx),o=ST()||Kx,s=Qx(r,i,n),a=Qx(r,o,n,!0),l=s.direction==="rtl";return S.jsx(e$,{theme:a,children:S.jsx(Eu.Provider,{value:s,children:S.jsx(n$,{value:l,children:t})})})}function $v(){const e=ep(tp);return e[Ro]||e}const o$=["theme"];function s$(e){let{theme:t}=e,n=se(e,o$);const r=t[Ro];return S.jsx(i$,R({},n,{themeId:r?Ro:void 0,theme:r||t}))}const Yx=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function ET(e){return rt}function dg(e,t){return dg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},dg(e,t)}function PT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,dg(e,t)}const Xx={disabled:!1},Cd=W.createContext(null);var a$=function(t){return t.scrollTop},Ba="unmounted",Ji="exited",eo="entering",Ko="entered",fg="exiting",zr=function(e){PT(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=Ji,o.appearStatus=eo):l=Ko:r.unmountOnExit||r.mountOnEnter?l=Ba:l=Ji,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Ba?{status:Ji}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==eo&&s!==Ko&&(o=eo):(s===eo||s===Ko)&&(o=fg)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===eo){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:rc.findDOMNode(this);s&&a$(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ji&&this.setState({status:Ba})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[rc.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||Xx.disabled){this.safeSetState({status:Ko},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:eo},function(){o.props.onEntering(u,c),o.onTransitionEnd(f,function(){o.safeSetState({status:Ko},function(){o.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:rc.findDOMNode(this);if(!o||Xx.disabled){this.safeSetState({status:Ji},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:fg},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Ji},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:rc.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Ba)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=se(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return W.createElement(Cd.Provider,{value:null},typeof s=="function"?s(i,a):W.cloneElement(W.Children.only(s),a))},t}(W.Component);zr.contextType=Cd;zr.propTypes={};function Wo(){}zr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wo,onEntering:Wo,onEntered:Wo,onExit:Wo,onExiting:Wo,onExited:Wo};zr.UNMOUNTED=Ba;zr.EXITED=Ji;zr.ENTERING=eo;zr.ENTERED=Ko;zr.EXITING=fg;const TT=zr;function l$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lv(e,t){var n=function(o){return t&&b.isValidElement(o)?t(o):o},r=Object.create(null);return e&&b.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function u$(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in t){if(r[l])for(s=0;se.scrollTop;function Ed(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}function m$(e){return nt("MuiPaper",e)}Qe("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const g$=["className","component","elevation","square","variant"],v$=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return at(o,m$,i)},y$=le("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return R({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&R({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${kt("#fff",Yx(t.elevation))}, ${kt("#fff",Yx(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),x$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,u=se(r,g$),c=R({},r,{component:o,elevation:s,square:a,variant:l}),d=v$(c);return S.jsx(y$,R({as:o,ownerState:c,className:oe(d.root,i),ref:n},u))}),Ys=x$;function pg(e){return typeof e=="string"}function MT(e,t,n){return e===void 0||pg(e)?t:R({},t,{ownerState:R({},t.ownerState,n)})}function _T(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function RT(e,t,n){return typeof e=="function"?e(t,n):e}function Zx(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function OT(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const p=oe(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),h=R({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=R({},n,i,r);return p.length>0&&(m.className=p),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:void 0}}const s=_T(R({},i,r)),a=Zx(r),l=Zx(i),u=t(s),c=oe(u==null?void 0:u.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=R({},u==null?void 0:u.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),f=R({},u,n,l,a);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const w$=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Jx(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=se(e,w$),a=o?{}:RT(r,i),{props:l,internalRef:u}=OT(R({},s,{externalSlotProps:a})),c=Ht(u,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return MT(n,R({},l,{ref:c}),i)}const b$=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],S$=["component","slots","slotProps"],C$=["component"];function hg(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,getSlotOwnerState:s,internalForwardedProps:a}=t,l=se(t,b$),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=o,f=se(o,S$),p=c[e]||r,h=RT(d[e],i),m=OT(R({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:x},internalRef:g}=m,y=se(m.props,C$),v=Ht(g,h==null?void 0:h.ref,t.ref),w=s?s(y):{},C=R({},i,w),E=e==="root"?x||u:x,T=MT(p,R({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,y,E&&{as:E},{ref:v}),C);return Object.keys(w).forEach(P=>{delete T[P]}),[p,T]}function E$(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:u}=e,[c,d]=b.useState(!1),f=oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},h=oe(n.child,c&&n.childLeaving,r&&n.childPulsate);return!a&&!c&&d(!0),b.useEffect(()=>{if(!a&&l!=null){const m=setTimeout(l,u);return()=>{clearTimeout(m)}}},[l,a,u]),S.jsx("span",{className:f,style:p,children:S.jsx("span",{className:h})})}const vn=Qe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),P$=["center","classes","className"];let np=e=>e,ew,tw,nw,rw;const mg=550,T$=80,k$=la(ew||(ew=np` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),M$=la(tw||(tw=np` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),_$=la(nw||(nw=np` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),R$=le("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),O$=le(E$,{name:"MuiTouchRipple",slot:"Ripple"})(rw||(rw=np` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),vn.rippleVisible,k$,mg,({theme:e})=>e.transitions.easing.easeInOut,vn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,vn.child,vn.childLeaving,M$,mg,({theme:e})=>e.transitions.easing.easeInOut,vn.childPulsate,_$,({theme:e})=>e.transitions.easing.easeInOut),A$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=se(r,P$),[l,u]=b.useState([]),c=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.useRef(!1),p=tA(),h=b.useRef(null),m=b.useRef(null),x=b.useCallback(w=>{const{pulsate:C,rippleX:E,rippleY:T,rippleSize:P,cb:k}=w;u(M=>[...M,S.jsx(O$,{classes:{ripple:oe(o.ripple,vn.ripple),rippleVisible:oe(o.rippleVisible,vn.rippleVisible),ripplePulsate:oe(o.ripplePulsate,vn.ripplePulsate),child:oe(o.child,vn.child),childLeaving:oe(o.childLeaving,vn.childLeaving),childPulsate:oe(o.childPulsate,vn.childPulsate)},timeout:mg,pulsate:C,rippleX:E,rippleY:T,rippleSize:P},c.current)]),c.current+=1,d.current=k},[o]),g=b.useCallback((w={},C={},E=()=>{})=>{const{pulsate:T=!1,center:P=i||C.pulsate,fakeElement:k=!1}=C;if((w==null?void 0:w.type)==="mousedown"&&f.current){f.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(f.current=!0);const M=k?null:m.current,A=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,L,D;if(P||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)I=Math.round(A.width/2),L=Math.round(A.height/2);else{const{clientX:B,clientY:N}=w.touches&&w.touches.length>0?w.touches[0]:w;I=Math.round(B-A.left),L=Math.round(N-A.top)}if(P)D=Math.sqrt((2*A.width**2+A.height**2)/3),D%2===0&&(D+=1);else{const B=Math.max(Math.abs((M?M.clientWidth:0)-I),I)*2+2,N=Math.max(Math.abs((M?M.clientHeight:0)-L),L)*2+2;D=Math.sqrt(B**2+N**2)}w!=null&&w.touches?h.current===null&&(h.current=()=>{x({pulsate:T,rippleX:I,rippleY:L,rippleSize:D,cb:E})},p.start(T$,()=>{h.current&&(h.current(),h.current=null)})):x({pulsate:T,rippleX:I,rippleY:L,rippleSize:D,cb:E})},[i,x,p]),y=b.useCallback(()=>{g({},{pulsate:!0})},[g]),v=b.useCallback((w,C)=>{if(p.clear(),(w==null?void 0:w.type)==="touchend"&&h.current){h.current(),h.current=null,p.start(0,()=>{v(w,C)});return}h.current=null,u(E=>E.length>0?E.slice(1):E),d.current=C},[p]);return b.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:v}),[y,g,v]),S.jsx(R$,R({className:oe(vn.root,o.root,s),ref:m},a,{children:S.jsx(h$,{component:null,exit:!0,children:l})}))}),I$=A$;function $$(e){return nt("MuiButtonBase",e)}const L$=Qe("MuiButtonBase",["root","disabled","focusVisible"]),j$=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],D$=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=at({root:["root",t&&"disabled",n&&"focusVisible"]},$$,i);return n&&r&&(s.root+=` ${r}`),s},F$=le("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${L$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),N$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:h,onClick:m,onContextMenu:x,onDragLeave:g,onFocus:y,onFocusVisible:v,onKeyDown:w,onKeyUp:C,onMouseDown:E,onMouseLeave:T,onMouseUp:P,onTouchEnd:k,onTouchMove:M,onTouchStart:A,tabIndex:I=0,TouchRippleProps:L,touchRippleRef:D,type:B}=r,N=se(r,j$),H=b.useRef(null),O=b.useRef(null),$=Ht(O,D),{isFocusVisibleRef:z,onFocus:K,onBlur:ne,ref:We}=pv(),[de,He]=b.useState(!1);u&&de&&He(!1),b.useImperativeHandle(i,()=>({focusVisible:()=>{He(!0),H.current.focus()}}),[]);const[J,U]=b.useState(!1);b.useEffect(()=>{U(!0)},[]);const ue=J&&!c&&!u;b.useEffect(()=>{de&&f&&!c&&J&&O.current.pulsate()},[c,f,de,J]);function ce(ee,Qi,Ip=d){return ao(Fu=>(Qi&&Qi(Fu),!Ip&&O.current&&O.current[ee](Fu),!0))}const Pe=ce("start",E),re=ce("stop",x),xe=ce("stop",g),Ze=ce("stop",P),Ct=ce("stop",ee=>{de&&ee.preventDefault(),T&&T(ee)}),qt=ce("start",A),lt=ce("stop",k),ut=ce("stop",M),Kt=ce("stop",ee=>{ne(ee),z.current===!1&&He(!1),h&&h(ee)},!1),Vr=ao(ee=>{H.current||(H.current=ee.currentTarget),K(ee),z.current===!0&&(He(!0),v&&v(ee)),y&&y(ee)}),An=()=>{const ee=H.current;return l&&l!=="button"&&!(ee.tagName==="A"&&ee.href)},gt=b.useRef(!1),ga=ao(ee=>{f&&!gt.current&&de&&O.current&&ee.key===" "&&(gt.current=!0,O.current.stop(ee,()=>{O.current.start(ee)})),ee.target===ee.currentTarget&&An()&&ee.key===" "&&ee.preventDefault(),w&&w(ee),ee.target===ee.currentTarget&&An()&&ee.key==="Enter"&&!u&&(ee.preventDefault(),m&&m(ee))}),In=ao(ee=>{f&&ee.key===" "&&O.current&&de&&!ee.defaultPrevented&&(gt.current=!1,O.current.stop(ee,()=>{O.current.pulsate(ee)})),C&&C(ee),m&&ee.target===ee.currentTarget&&An()&&ee.key===" "&&!ee.defaultPrevented&&m(ee)});let qn=l;qn==="button"&&(N.href||N.to)&&(qn=p);const $n={};qn==="button"?($n.type=B===void 0?"button":B,$n.disabled=u):(!N.href&&!N.to&&($n.role="button"),u&&($n["aria-disabled"]=u));const qi=Ht(n,We,H),Ki=R({},r,{centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:I,focusVisible:de}),_e=D$(Ki);return S.jsxs(F$,R({as:qn,className:oe(_e.root,a),ownerState:Ki,onBlur:Kt,onClick:m,onContextMenu:re,onFocus:Vr,onKeyDown:ga,onKeyUp:In,onMouseDown:Pe,onMouseLeave:Ct,onMouseUp:Ze,onDragLeave:xe,onTouchEnd:lt,onTouchMove:ut,onTouchStart:qt,ref:qi,tabIndex:u?-1:I,type:B},$n,N,{children:[s,ue?S.jsx(I$,R({ref:$,center:o},L)):null]}))}),gg=N$;function z$(e){return nt("MuiAlert",e)}const V$=Qe("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),iw=V$;function B$(e){return nt("MuiIconButton",e)}const U$=Qe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),W$=["edge","children","className","color","disabled","disableFocusRipple","size"],H$=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${Y(r)}`,i&&`edge${Y(i)}`,`size${Y(o)}`]};return at(s,B$,t)},G$=le(gg,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Y(n.color)}`],n.edge&&t[`edge${Y(n.edge)}`],t[`size${Y(n.size)}`]]}})(({theme:e,ownerState:t})=>R({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:kt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return R({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&R({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":R({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kt(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${U$.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),q$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,d=se(r,W$),f=R({},r,{edge:i,color:a,disabled:l,disableFocusRipple:u,size:c}),p=H$(f);return S.jsx(G$,R({className:oe(p.root,s),centerRipple:!0,focusRipple:!u,disabled:l,ref:n},d,{ownerState:f,children:o}))}),Pd=q$,K$=un(S.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Q$=un(S.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Y$=un(S.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),X$=un(S.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Z$=un(S.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),J$=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],eL=ET(),tL=e=>{const{variant:t,color:n,severity:r,classes:i}=e,o={root:["root",`color${Y(n||r)}`,`${t}${Y(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return at(o,z$,i)},nL=le(Ys,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Y(n.color||n.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?ag:lg,n=e.palette.mode==="light"?lg:ag;return R({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${iw.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${iw.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.dark).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:R({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)})}))]})}),rL=le("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),iL=le("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),ow=le("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),sw={success:S.jsx(K$,{fontSize:"inherit"}),warning:S.jsx(Q$,{fontSize:"inherit"}),error:S.jsx(Y$,{fontSize:"inherit"}),info:S.jsx(X$,{fontSize:"inherit"})},oL=b.forwardRef(function(t,n){const r=eL({props:t,name:"MuiAlert"}),{action:i,children:o,className:s,closeText:a="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:f=sw,onClose:p,role:h="alert",severity:m="success",slotProps:x={},slots:g={},variant:y="standard"}=r,v=se(r,J$),w=R({},r,{color:l,severity:m,variant:y,colorSeverity:l||m}),C=tL(w),E={slots:R({closeButton:u.CloseButton,closeIcon:u.CloseIcon},g),slotProps:R({},c,x)},[T,P]=hg("closeButton",{elementType:Pd,externalForwardedProps:E,ownerState:w}),[k,M]=hg("closeIcon",{elementType:Z$,externalForwardedProps:E,ownerState:w});return S.jsxs(nL,R({role:h,elevation:0,ownerState:w,className:oe(C.root,s),ref:n},v,{children:[d!==!1?S.jsx(rL,{ownerState:w,className:C.icon,children:d||f[m]||sw[m]}):null,S.jsx(iL,{ownerState:w,className:C.message,children:o}),i!=null?S.jsx(ow,{ownerState:w,className:C.action,children:i}):null,i==null&&p?S.jsx(ow,{ownerState:w,className:C.action,children:S.jsx(T,R({size:"small","aria-label":a,title:a,color:"inherit",onClick:p},P,{children:S.jsx(k,R({fontSize:"small"},M))}))}):null]}))}),sL=oL;function aL(e){return nt("MuiTypography",e)}Qe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const lL=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],uL=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=e,a={root:["root",o,e.align!=="inherit"&&`align${Y(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return at(a,aL,s)},cL=le("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Y(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>R({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),aw={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},dL={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},fL=e=>dL[e]||e,pL=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTypography"}),i=fL(r.color),o=Mv(R({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=aw}=o,h=se(o,lL),m=R({},o,{align:s,color:i,className:a,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:p}),x=l||(d?"p":p[f]||aw[f])||"span",g=uL(m);return S.jsx(cL,R({as:x,ref:n,ownerState:m,className:oe(g.root,a)},h))}),ae=pL,hL=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function mL(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function gL(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function vL(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||gL(e))}function yL(e){const t=[],n=[];return Array.from(e.querySelectorAll(hL)).forEach((r,i)=>{const o=mL(r);o===-1||!vL(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function xL(){return!0}function wL(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=yL,isEnabled:s=xL,open:a}=e,l=b.useRef(!1),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(!1),h=b.useRef(null),m=Ht(t.ref,h),x=b.useRef(null);b.useEffect(()=>{!a||!h.current||(p.current=!n)},[n,a]),b.useEffect(()=>{if(!a||!h.current)return;const v=Tr(h.current);return h.current.contains(v.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),p.current&&h.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),b.useEffect(()=>{if(!a||!h.current)return;const v=Tr(h.current),w=T=>{x.current=T,!(r||!s()||T.key!=="Tab")&&v.activeElement===h.current&&T.shiftKey&&(l.current=!0,c.current&&c.current.focus())},C=()=>{const T=h.current;if(T===null)return;if(!v.hasFocus()||!s()||l.current){l.current=!1;return}if(T.contains(v.activeElement)||r&&v.activeElement!==u.current&&v.activeElement!==c.current)return;if(v.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let P=[];if((v.activeElement===u.current||v.activeElement===c.current)&&(P=o(h.current)),P.length>0){var k,M;const A=!!((k=x.current)!=null&&k.shiftKey&&((M=x.current)==null?void 0:M.key)==="Tab"),I=P[0],L=P[P.length-1];typeof I!="string"&&typeof L!="string"&&(A?L.focus():I.focus())}else T.focus()};v.addEventListener("focusin",C),v.addEventListener("keydown",w,!0);const E=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(E),v.removeEventListener("focusin",C),v.removeEventListener("keydown",w,!0)}},[n,r,i,s,a,o]);const g=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0,f.current=v.target;const w=t.props.onFocus;w&&w(v)},y=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0};return S.jsxs(b.Fragment,{children:[S.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:m,onFocus:g}),S.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}function bL(e){return typeof e=="function"?e():e}const SL=b.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[s,a]=b.useState(null),l=Ht(b.isValidElement(r)?r.ref:null,n);if(Fi(()=>{o||a(bL(i)||document.body)},[i,o]),Fi(()=>{if(s&&!o)return xd(n,s),()=>{xd(n,null)}},[n,s,o]),o){if(b.isValidElement(r)){const u={ref:l};return b.cloneElement(r,u)}return S.jsx(b.Fragment,{children:r})}return S.jsx(b.Fragment,{children:s&&xf.createPortal(r,s)})});function CL(e){const t=Tr(e);return t.body===e?Di(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function rl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function lw(e){return parseInt(Di(e).getComputedStyle(e).paddingRight,10)||0}function EL(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function uw(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,s=>{const a=o.indexOf(s)===-1,l=!EL(s);a&&l&&rl(s,i)})}function ph(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function PL(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(CL(r)){const s=uA(Tr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${lw(r)+s}px`;const a=Tr(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${lw(l)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Tr(r).body;else{const s=r.parentElement,a=Di(r);o=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function TL(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class kL{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&rl(t.modalRef,!1);const i=TL(n);uw(n,t.mount,t.modalRef,i,!0);const o=ph(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=ph(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=PL(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=ph(this.containers,s=>s.modals.indexOf(t)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&rl(t.modalRef,n),uw(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=o.modals[o.modals.length-1];s.modalRef&&rl(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function ML(e){return typeof e=="function"?e():e}function _L(e){return e?e.props.hasOwnProperty("in"):!1}const RL=new kL;function OL(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=RL,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,f=b.useRef({}),p=b.useRef(null),h=b.useRef(null),m=Ht(h,d),[x,g]=b.useState(!c),y=_L(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const w=()=>Tr(p.current),C=()=>(f.current.modalRef=h.current,f.current.mount=p.current,f.current),E=()=>{i.mount(C(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},T=ao(()=>{const N=ML(t)||w().body;i.add(C(),N),h.current&&E()}),P=b.useCallback(()=>i.isTopModal(C()),[i]),k=ao(N=>{p.current=N,N&&(c&&P()?E():h.current&&rl(h.current,v))}),M=b.useCallback(()=>{i.remove(C(),v)},[v,i]);b.useEffect(()=>()=>{M()},[M]),b.useEffect(()=>{c?T():(!y||!o)&&M()},[c,M,y,o,T]);const A=N=>H=>{var O;(O=N.onKeyDown)==null||O.call(N,H),!(H.key!=="Escape"||H.which===229||!P())&&(n||(H.stopPropagation(),u&&u(H,"escapeKeyDown")))},I=N=>H=>{var O;(O=N.onClick)==null||O.call(N,H),H.target===H.currentTarget&&u&&u(H,"backdropClick")};return{getRootProps:(N={})=>{const H=_T(e);delete H.onTransitionEnter,delete H.onTransitionExited;const O=R({},H,N);return R({role:"presentation"},O,{onKeyDown:A(O),ref:m})},getBackdropProps:(N={})=>{const H=N;return R({"aria-hidden":!0},H,{onClick:I(H),open:c})},getTransitionProps:()=>{const N=()=>{g(!1),s&&s()},H=()=>{g(!0),a&&a(),o&&M()};return{onEnter:tg(N,l==null?void 0:l.props.onEnter),onExited:tg(H,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:k,isTopModal:P,exited:x,hasTransition:y}}const AL=["onChange","maxRows","minRows","style","value"];function sc(e){return parseInt(e,10)||0}const IL={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function $L(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const LL=b.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:a}=t,l=se(t,AL),{current:u}=b.useRef(a!=null),c=b.useRef(null),d=Ht(n,c),f=b.useRef(null),p=b.useCallback(()=>{const x=c.current,y=Di(x).getComputedStyle(x);if(y.width==="0px")return{outerHeightStyle:0,overflowing:!1};const v=f.current;v.style.width=y.width,v.value=x.value||t.placeholder||"x",v.value.slice(-1)===` +`&&(v.value+=" ");const w=y.boxSizing,C=sc(y.paddingBottom)+sc(y.paddingTop),E=sc(y.borderBottomWidth)+sc(y.borderTopWidth),T=v.scrollHeight;v.value="x";const P=v.scrollHeight;let k=T;o&&(k=Math.max(Number(o)*P,k)),i&&(k=Math.min(Number(i)*P,k)),k=Math.max(k,P);const M=k+(w==="border-box"?C+E:0),A=Math.abs(k-T)<=1;return{outerHeightStyle:M,overflowing:A}},[i,o,t.placeholder]),h=b.useCallback(()=>{const x=p();if($L(x))return;const g=c.current;g.style.height=`${x.outerHeightStyle}px`,g.style.overflow=x.overflowing?"hidden":""},[p]);Fi(()=>{const x=()=>{h()};let g;const y=fv(x),v=c.current,w=Di(v);w.addEventListener("resize",y);let C;return typeof ResizeObserver<"u"&&(C=new ResizeObserver(x),C.observe(v)),()=>{y.clear(),cancelAnimationFrame(g),w.removeEventListener("resize",y),C&&C.disconnect()}},[p,h]),Fi(()=>{h()});const m=x=>{u||h(),r&&r(x)};return S.jsxs(b.Fragment,{children:[S.jsx("textarea",R({value:a,onChange:m,ref:d,rows:o,style:s},l)),S.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:R({},IL.shadow,s,{paddingTop:0,paddingBottom:0})})]})}),jL=un(S.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function DL(e){return nt("MuiChip",e)}const FL=Qe("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ye=FL,NL=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],zL=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:o,onDelete:s,clickable:a,variant:l}=e,u={root:["root",l,n&&"disabled",`size${Y(r)}`,`color${Y(i)}`,a&&"clickable",a&&`clickableColor${Y(i)}`,s&&"deletable",s&&`deletableColor${Y(i)}`,`${l}${Y(i)}`],label:["label",`label${Y(r)}`],avatar:["avatar",`avatar${Y(r)}`,`avatarColor${Y(i)}`],icon:["icon",`icon${Y(r)}`,`iconColor${Y(o)}`],deleteIcon:["deleteIcon",`deleteIcon${Y(r)}`,`deleteIconColor${Y(i)}`,`deleteIcon${Y(l)}Color${Y(i)}`]};return at(u,DL,t)},VL=le("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:o,onDelete:s,size:a,variant:l}=n;return[{[`& .${ye.avatar}`]:t.avatar},{[`& .${ye.avatar}`]:t[`avatar${Y(a)}`]},{[`& .${ye.avatar}`]:t[`avatarColor${Y(r)}`]},{[`& .${ye.icon}`]:t.icon},{[`& .${ye.icon}`]:t[`icon${Y(a)}`]},{[`& .${ye.icon}`]:t[`iconColor${Y(i)}`]},{[`& .${ye.deleteIcon}`]:t.deleteIcon},{[`& .${ye.deleteIcon}`]:t[`deleteIcon${Y(a)}`]},{[`& .${ye.deleteIcon}`]:t[`deleteIconColor${Y(r)}`]},{[`& .${ye.deleteIcon}`]:t[`deleteIcon${Y(l)}Color${Y(r)}`]},t.root,t[`size${Y(a)}`],t[`color${Y(r)}`],o&&t.clickable,o&&r!=="default"&&t[`clickableColor${Y(r)})`],s&&t.deletable,s&&r!=="default"&&t[`deletableColor${Y(r)}`],t[l],t[`${l}${Y(r)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return R({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${ye.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ye.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${ye.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ye.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ye.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ye.icon}`]:R({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&R({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${ye.deleteIcon}`]:R({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:kt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:kt(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:kt(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${ye.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:kt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${ye.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>R({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:kt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ye.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:kt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${ye.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>R({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${ye.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ye.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ye.avatar}`]:{marginLeft:4},[`& .${ye.avatarSmall}`]:{marginLeft:2},[`& .${ye.icon}`]:{marginLeft:4},[`& .${ye.iconSmall}`]:{marginLeft:2},[`& .${ye.deleteIcon}`]:{marginRight:5},[`& .${ye.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:kt(e.palette[t.color].main,.7)}`,[`&.${ye.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kt(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${ye.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:kt(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${ye.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:kt(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),BL=le("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Y(r)}`]]}})(({ownerState:e})=>R({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function cw(e){return e.key==="Backspace"||e.key==="Delete"}const UL=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiChip"}),{avatar:i,className:o,clickable:s,color:a="default",component:l,deleteIcon:u,disabled:c=!1,icon:d,label:f,onClick:p,onDelete:h,onKeyDown:m,onKeyUp:x,size:g="medium",variant:y="filled",tabIndex:v,skipFocusWhenDisabled:w=!1}=r,C=se(r,NL),E=b.useRef(null),T=Ht(E,n),P=$=>{$.stopPropagation(),h&&h($)},k=$=>{$.currentTarget===$.target&&cw($)&&$.preventDefault(),m&&m($)},M=$=>{$.currentTarget===$.target&&(h&&cw($)?h($):$.key==="Escape"&&E.current&&E.current.blur()),x&&x($)},A=s!==!1&&p?!0:s,I=A||h?gg:l||"div",L=R({},r,{component:I,disabled:c,size:g,color:a,iconColor:b.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:A,variant:y}),D=zL(L),B=I===gg?R({component:l||"div",focusVisibleClassName:D.focusVisible},h&&{disableRipple:!0}):{};let N=null;h&&(N=u&&b.isValidElement(u)?b.cloneElement(u,{className:oe(u.props.className,D.deleteIcon),onClick:P}):S.jsx(jL,{className:oe(D.deleteIcon),onClick:P}));let H=null;i&&b.isValidElement(i)&&(H=b.cloneElement(i,{className:oe(D.avatar,i.props.className)}));let O=null;return d&&b.isValidElement(d)&&(O=b.cloneElement(d,{className:oe(D.icon,d.props.className)})),S.jsxs(VL,R({as:I,className:oe(D.root,o),disabled:A&&c?!0:void 0,onClick:p,onKeyDown:k,onKeyUp:M,ref:T,tabIndex:w&&c?-1:v,ownerState:L},B,C,{children:[H||O,S.jsx(BL,{className:oe(D.label),ownerState:L,children:f}),N]}))}),WL=UL;function AT({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const HL=b.createContext(void 0),IT=HL;function $T(){return b.useContext(IT)}function LT(e){return S.jsx(W4,R({},e,{defaultTheme:tp,themeId:Ro}))}function dw(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function GL(e,t=!1){return e&&(dw(e.value)&&e.value!==""||t&&dw(e.defaultValue)&&e.defaultValue!=="")}function qL(e){return nt("MuiInputBase",e)}const KL=Qe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Td=KL,QL=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],jT=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Y(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},DT=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},YL=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:s,formControl:a,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:h}=e,m={root:["root",`color${Y(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",f&&f!=="medium"&&`size${Y(f)}`,c&&"multiline",p&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",h==="search"&&"inputTypeSearch",c&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]};return at(m,qL,t)},FT=le("div",{name:"MuiInputBase",slot:"Root",overridesResolver:jT})(({theme:e,ownerState:t})=>R({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Td.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&R({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),NT=le("input",{name:"MuiInputBase",slot:"Input",overridesResolver:DT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=R({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return R({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Td.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Td.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),XL=S.jsx(LT,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),ZL=b.forwardRef(function(t,n){var r;const i=rt({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:s,autoFocus:a,className:l,components:u={},componentsProps:c={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:p,endAdornment:h,fullWidth:m=!1,id:x,inputComponent:g="input",inputProps:y={},inputRef:v,maxRows:w,minRows:C,multiline:E=!1,name:T,onBlur:P,onChange:k,onClick:M,onFocus:A,onKeyDown:I,onKeyUp:L,placeholder:D,readOnly:B,renderSuffix:N,rows:H,slotProps:O={},slots:$={},startAdornment:z,type:K="text",value:ne}=i,We=se(i,QL),de=y.value!=null?y.value:ne,{current:He}=b.useRef(de!=null),J=b.useRef(),U=b.useCallback(_e=>{},[]),ue=Ht(J,v,y.ref,U),[ce,Pe]=b.useState(!1),re=$T(),xe=AT({props:i,muiFormControl:re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});xe.focused=re?re.focused:ce,b.useEffect(()=>{!re&&f&&ce&&(Pe(!1),P&&P())},[re,f,ce,P]);const Ze=re&&re.onFilled,Ct=re&&re.onEmpty,qt=b.useCallback(_e=>{GL(_e)?Ze&&Ze():Ct&&Ct()},[Ze,Ct]);Fi(()=>{He&&qt({value:de})},[de,qt,He]);const lt=_e=>{if(xe.disabled){_e.stopPropagation();return}A&&A(_e),y.onFocus&&y.onFocus(_e),re&&re.onFocus?re.onFocus(_e):Pe(!0)},ut=_e=>{P&&P(_e),y.onBlur&&y.onBlur(_e),re&&re.onBlur?re.onBlur(_e):Pe(!1)},Kt=(_e,...ee)=>{if(!He){const Qi=_e.target||J.current;if(Qi==null)throw new Error(qs(1));qt({value:Qi.value})}y.onChange&&y.onChange(_e,...ee),k&&k(_e,...ee)};b.useEffect(()=>{qt(J.current)},[]);const Vr=_e=>{J.current&&_e.currentTarget===_e.target&&J.current.focus(),M&&M(_e)};let An=g,gt=y;E&&An==="input"&&(H?gt=R({type:void 0,minRows:H,maxRows:H},gt):gt=R({type:void 0,maxRows:w,minRows:C},gt),An=LL);const ga=_e=>{qt(_e.animationName==="mui-auto-fill-cancel"?J.current:{value:"x"})};b.useEffect(()=>{re&&re.setAdornedStart(!!z)},[re,z]);const In=R({},i,{color:xe.color||"primary",disabled:xe.disabled,endAdornment:h,error:xe.error,focused:xe.focused,formControl:re,fullWidth:m,hiddenLabel:xe.hiddenLabel,multiline:E,size:xe.size,startAdornment:z,type:K}),qn=YL(In),$n=$.root||u.Root||FT,qi=O.root||c.root||{},Ki=$.input||u.Input||NT;return gt=R({},gt,(r=O.input)!=null?r:c.input),S.jsxs(b.Fragment,{children:[!p&&XL,S.jsxs($n,R({},qi,!pg($n)&&{ownerState:R({},In,qi.ownerState)},{ref:n,onClick:Vr},We,{className:oe(qn.root,qi.className,l,B&&"MuiInputBase-readOnly"),children:[z,S.jsx(IT.Provider,{value:null,children:S.jsx(Ki,R({ownerState:In,"aria-invalid":xe.error,"aria-describedby":o,autoComplete:s,autoFocus:a,defaultValue:d,disabled:xe.disabled,id:x,onAnimationStart:ga,name:T,placeholder:D,readOnly:B,required:xe.required,rows:H,value:de,onKeyDown:I,onKeyUp:L,type:K},gt,!pg(Ki)&&{as:An,ownerState:R({},In,gt.ownerState)},{ref:ue,className:oe(qn.input,gt.className,B&&"MuiInputBase-readOnly"),onBlur:ut,onChange:Kt,onFocus:lt}))}),h,N?N(R({},xe,{startAdornment:z})):null]}))]})}),JL=ZL;function ej(e){return nt("MuiOutlinedInput",e)}const tj=R({},Td,Qe("MuiOutlinedInput",["root","notchedOutline","input"])),Ur=tj,nj=un(S.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function rj(e){return nt("MuiAvatar",e)}Qe("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const ij=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],oj=ET(),sj=e=>{const{classes:t,variant:n,colorDefault:r}=e;return at({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},rj,t)},aj=le("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:R({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:R({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),lj=le("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),uj=le(nj,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function cj({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,o]=b.useState(!1);return b.useEffect(()=>{if(!n&&!r)return;o(!1);let s=!0;const a=new Image;return a.onload=()=>{s&&o("loaded")},a.onerror=()=>{s&&o("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[e,t,n,r]),i}const dj=b.forwardRef(function(t,n){const r=oj({props:t,name:"MuiAvatar"}),{alt:i,children:o,className:s,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:d,src:f,srcSet:p,variant:h="circular"}=r,m=se(r,ij);let x=null;const g=cj(R({},c,{src:f,srcSet:p})),y=f||p,v=y&&g!=="error",w=R({},r,{colorDefault:!v,component:a,variant:h}),C=sj(w),[E,T]=hg("img",{className:C.img,elementType:lj,externalForwardedProps:{slots:l,slotProps:{img:R({},c,u.img)}},additionalProps:{alt:i,src:f,srcSet:p,sizes:d},ownerState:w});return v?x=S.jsx(E,R({},T)):o||o===0?x=o:y&&i?x=i[0]:x=S.jsx(uj,{ownerState:w,className:C.fallback}),S.jsx(aj,R({as:a,ownerState:w,className:oe(C.root,s),ref:n},m,{children:x}))}),kd=dj,fj=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],pj={entering:{opacity:1},entered:{opacity:1}},hj=b.forwardRef(function(t,n){const r=$v(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:l,in:u,onEnter:c,onEntered:d,onEntering:f,onExit:p,onExited:h,onExiting:m,style:x,timeout:g=i,TransitionComponent:y=TT}=t,v=se(t,fj),w=b.useRef(null),C=Ht(w,a.ref,n),E=D=>B=>{if(D){const N=w.current;B===void 0?D(N):D(N,B)}},T=E(f),P=E((D,B)=>{kT(D);const N=Ed({style:x,timeout:g,easing:l},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",N),D.style.transition=r.transitions.create("opacity",N),c&&c(D,B)}),k=E(d),M=E(m),A=E(D=>{const B=Ed({style:x,timeout:g,easing:l},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",B),D.style.transition=r.transitions.create("opacity",B),p&&p(D)}),I=E(h),L=D=>{o&&o(w.current,D)};return S.jsx(y,R({appear:s,in:u,nodeRef:w,onEnter:P,onEntered:k,onEntering:T,onExit:A,onExited:I,onExiting:M,addEndListener:L,timeout:g},v,{children:(D,B)=>b.cloneElement(a,R({style:R({opacity:0,visibility:D==="exited"&&!u?"hidden":void 0},pj[D],x,a.props.style),ref:C},B))}))}),mj=hj;function gj(e){return nt("MuiBackdrop",e)}Qe("MuiBackdrop",["root","invisible"]);const vj=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],yj=e=>{const{classes:t,invisible:n}=e;return at({root:["root",n&&"invisible"]},gj,t)},xj=le("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>R({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),wj=b.forwardRef(function(t,n){var r,i,o;const s=rt({props:t,name:"MuiBackdrop"}),{children:a,className:l,component:u="div",components:c={},componentsProps:d={},invisible:f=!1,open:p,slotProps:h={},slots:m={},TransitionComponent:x=mj,transitionDuration:g}=s,y=se(s,vj),v=R({},s,{component:u,invisible:f}),w=yj(v),C=(r=h.root)!=null?r:d.root;return S.jsx(x,R({in:p,timeout:g},y,{children:S.jsx(xj,R({"aria-hidden":!0},C,{as:(i=(o=m.root)!=null?o:c.Root)!=null?i:u,className:oe(w.root,l,C==null?void 0:C.className),ownerState:R({},v,C==null?void 0:C.ownerState),classes:w,ref:n,children:a}))}))}),bj=wj,Sj=Qe("MuiBox",["root"]),Cj=Sj,Ej=Iv(),Pj=G4({themeId:Ro,defaultTheme:Ej,defaultClassName:Cj.root,generateClassName:hv.generate}),Q=Pj;function Tj(e){return nt("MuiCard",e)}Qe("MuiCard",["root"]);const kj=["className","raised"],Mj=e=>{const{classes:t}=e;return at({root:["root"]},Tj,t)},_j=le(Ys,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),Rj=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCard"}),{className:i,raised:o=!1}=r,s=se(r,kj),a=R({},r,{raised:o}),l=Mj(a);return S.jsx(_j,R({className:oe(l.root,i),elevation:o?8:void 0,ref:n,ownerState:a},s))}),Oj=Rj;function Aj(e){return nt("MuiCardMedia",e)}Qe("MuiCardMedia",["root","media","img"]);const Ij=["children","className","component","image","src","style"],$j=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return at({root:["root",n&&"media",r&&"img"]},Aj,t)},Lj=le("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:i}=n;return[t.root,r&&t.media,i&&t.img]}})(({ownerState:e})=>R({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),jj=["video","audio","picture","iframe","img"],Dj=["picture","img"],Fj=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCardMedia"}),{children:i,className:o,component:s="div",image:a,src:l,style:u}=r,c=se(r,Ij),d=jj.indexOf(s)!==-1,f=!d&&a?R({backgroundImage:`url("${a}")`},u):u,p=R({},r,{component:s,isMediaComponent:d,isImageComponent:Dj.indexOf(s)!==-1}),h=$j(p);return S.jsx(Lj,R({className:oe(h.root,o),as:s,role:!d&&a?"img":void 0,ref:n,style:f,ownerState:p,src:d?a||l:void 0},c,{children:i}))}),Nj=Fj;function zj(e){return nt("MuiCircularProgress",e)}Qe("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Vj=["className","color","disableShrink","size","style","thickness","value","variant"];let rp=e=>e,fw,pw,hw,mw;const Wr=44,Bj=la(fw||(fw=rp` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`)),Uj=la(pw||(pw=rp` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -125px; + } +`)),Wj=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,o={root:["root",n,`color${Y(r)}`],svg:["svg"],circle:["circle",`circle${Y(n)}`,i&&"circleDisableShrink"]};return at(o,zj,t)},Hj=le("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Y(n.color)}`]]}})(({ownerState:e,theme:t})=>R({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Jf(hw||(hw=rp` + animation: ${0} 1.4s linear infinite; + `),Bj)),Gj=le("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),qj=le("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Y(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>R({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Jf(mw||(mw=rp` + animation: ${0} 1.4s ease-in-out infinite; + `),Uj)),Kj=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:s=!1,size:a=40,style:l,thickness:u=3.6,value:c=0,variant:d="indeterminate"}=r,f=se(r,Vj),p=R({},r,{color:o,disableShrink:s,size:a,thickness:u,value:c,variant:d}),h=Wj(p),m={},x={},g={};if(d==="determinate"){const y=2*Math.PI*((Wr-u)/2);m.strokeDasharray=y.toFixed(3),g["aria-valuenow"]=Math.round(c),m.strokeDashoffset=`${((100-c)/100*y).toFixed(3)}px`,x.transform="rotate(-90deg)"}return S.jsx(Hj,R({className:oe(h.root,i),style:R({width:a,height:a},x,l),ownerState:p,ref:n,role:"progressbar"},g,f,{children:S.jsx(Gj,{className:h.svg,ownerState:p,viewBox:`${Wr/2} ${Wr/2} ${Wr} ${Wr}`,children:S.jsx(qj,{className:h.circle,style:m,ownerState:p,cx:Wr,cy:Wr,r:(Wr-u)/2,fill:"none",strokeWidth:u})})}))}),Qj=Kj,Yj=(e,t)=>R({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Xj=e=>R({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Zj=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([s,a])=>{var l;r[e.getColorSchemeSelector(s).replace(/\s*&/,"")]={colorScheme:(l=a.palette)==null?void 0:l.mode}});let i=R({html:Yj(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:R({margin:0},Xj(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const o=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return o&&(i=[i,o]),i};function Jj(e){const t=rt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return S.jsxs(b.Fragment,{children:[S.jsx(LT,{styles:i=>Zj(i,r)}),n]})}function eD(e){return nt("MuiModal",e)}Qe("MuiModal",["root","hidden","backdrop"]);const tD=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],nD=e=>{const{open:t,exited:n,classes:r}=e;return at({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},eD,r)},rD=le("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>R({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),iD=le(bj,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),oD=b.forwardRef(function(t,n){var r,i,o,s,a,l;const u=rt({name:"MuiModal",props:t}),{BackdropComponent:c=iD,BackdropProps:d,className:f,closeAfterTransition:p=!1,children:h,container:m,component:x,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:C=!1,disablePortal:E=!1,disableRestoreFocus:T=!1,disableScrollLock:P=!1,hideBackdrop:k=!1,keepMounted:M=!1,onBackdropClick:A,open:I,slotProps:L,slots:D}=u,B=se(u,tD),N=R({},u,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:w,disableEscapeKeyDown:C,disablePortal:E,disableRestoreFocus:T,disableScrollLock:P,hideBackdrop:k,keepMounted:M}),{getRootProps:H,getBackdropProps:O,getTransitionProps:$,portalRef:z,isTopModal:K,exited:ne,hasTransition:We}=OL(R({},N,{rootRef:n})),de=R({},N,{exited:ne}),He=nD(de),J={};if(h.props.tabIndex===void 0&&(J.tabIndex="-1"),We){const{onEnter:Ze,onExited:Ct}=$();J.onEnter=Ze,J.onExited=Ct}const U=(r=(i=D==null?void 0:D.root)!=null?i:g.Root)!=null?r:rD,ue=(o=(s=D==null?void 0:D.backdrop)!=null?s:g.Backdrop)!=null?o:c,ce=(a=L==null?void 0:L.root)!=null?a:y.root,Pe=(l=L==null?void 0:L.backdrop)!=null?l:y.backdrop,re=Jx({elementType:U,externalSlotProps:ce,externalForwardedProps:B,getSlotProps:H,additionalProps:{ref:n,as:x},ownerState:de,className:oe(f,ce==null?void 0:ce.className,He==null?void 0:He.root,!de.open&&de.exited&&(He==null?void 0:He.hidden))}),xe=Jx({elementType:ue,externalSlotProps:Pe,additionalProps:d,getSlotProps:Ze=>O(R({},Ze,{onClick:Ct=>{A&&A(Ct),Ze!=null&&Ze.onClick&&Ze.onClick(Ct)}})),className:oe(Pe==null?void 0:Pe.className,d==null?void 0:d.className,He==null?void 0:He.backdrop),ownerState:de});return!M&&!I&&(!We||ne)?null:S.jsx(SL,{ref:z,container:m,disablePortal:E,children:S.jsxs(U,R({},re,{children:[!k&&c?S.jsx(ue,R({},xe)):null,S.jsx(wL,{disableEnforceFocus:w,disableAutoFocus:v,disableRestoreFocus:T,isEnabled:K,open:I,children:b.cloneElement(h,J)})]}))})}),sD=oD;function aD(e){return nt("MuiDivider",e)}Qe("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const lD=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],uD=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:s,textAlign:a,variant:l}=e;return at({root:["root",t&&"absolute",l,o&&"light",s==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&s==="vertical"&&"withChildrenVertical",a==="right"&&s!=="vertical"&&"textAlignRight",a==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},aD,r)},cD=le("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>R({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:kt(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>R({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>R({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>R({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>R({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),dD=le("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>R({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),zT=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDivider"}),{absolute:i=!1,children:o,className:s,component:a=o?"div":"hr",flexItem:l=!1,light:u=!1,orientation:c="horizontal",role:d=a!=="hr"?"separator":void 0,textAlign:f="center",variant:p="fullWidth"}=r,h=se(r,lD),m=R({},r,{absolute:i,component:a,flexItem:l,light:u,orientation:c,role:d,textAlign:f,variant:p}),x=uD(m);return S.jsx(cD,R({as:a,className:oe(x.root,s),role:d,ref:n,ownerState:m},h,{children:o?S.jsx(dD,{className:x.wrapper,ownerState:m,children:o}):null}))});zT.muiSkipListHighlight=!0;const Dv=zT,fD=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function pD(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=Di(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const u=o.getComputedStyle(t);s=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const u=s.split("(")[1].split(")")[0].split(",");a=parseInt(u[4],10),l=parseInt(u[5],10)}return e==="left"?i?`translateX(${i.right+a-r.left}px)`:`translateX(${o.innerWidth+a-r.left}px)`:e==="right"?i?`translateX(-${r.right-i.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function hD(e){return typeof e=="function"?e():e}function ac(e,t,n){const r=hD(n),i=pD(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const mD=b.forwardRef(function(t,n){const r=$v(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:u,direction:c="down",easing:d=i,in:f,onEnter:p,onEntered:h,onEntering:m,onExit:x,onExited:g,onExiting:y,style:v,timeout:w=o,TransitionComponent:C=TT}=t,E=se(t,fD),T=b.useRef(null),P=Ht(l.ref,T,n),k=O=>$=>{O&&($===void 0?O(T.current):O(T.current,$))},M=k((O,$)=>{ac(c,O,u),kT(O),p&&p(O,$)}),A=k((O,$)=>{const z=Ed({timeout:w,style:v,easing:d},{mode:"enter"});O.style.webkitTransition=r.transitions.create("-webkit-transform",R({},z)),O.style.transition=r.transitions.create("transform",R({},z)),O.style.webkitTransform="none",O.style.transform="none",m&&m(O,$)}),I=k(h),L=k(y),D=k(O=>{const $=Ed({timeout:w,style:v,easing:d},{mode:"exit"});O.style.webkitTransition=r.transitions.create("-webkit-transform",$),O.style.transition=r.transitions.create("transform",$),ac(c,O,u),x&&x(O)}),B=k(O=>{O.style.webkitTransition="",O.style.transition="",g&&g(O)}),N=O=>{s&&s(T.current,O)},H=b.useCallback(()=>{T.current&&ac(c,T.current,u)},[c,u]);return b.useEffect(()=>{if(f||c==="down"||c==="right")return;const O=fv(()=>{T.current&&ac(c,T.current,u)}),$=Di(T.current);return $.addEventListener("resize",O),()=>{O.clear(),$.removeEventListener("resize",O)}},[c,f,u]),b.useEffect(()=>{f||H()},[f,H]),S.jsx(C,R({nodeRef:T,onEnter:M,onEntered:I,onEntering:A,onExit:D,onExited:B,onExiting:L,addEndListener:N,appear:a,in:f,timeout:w},E,{children:(O,$)=>b.cloneElement(l,R({ref:P,style:R({visibility:O==="exited"&&!f?"hidden":void 0},v,l.props.style)},$))}))}),gD=mD;function vD(e){return nt("MuiDrawer",e)}Qe("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const yD=["BackdropProps"],xD=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],VT=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},wD=e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Y(n)}`,r!=="temporary"&&`paperAnchorDocked${Y(n)}`]};return at(i,vD,t)},bD=le(sD,{name:"MuiDrawer",slot:"Root",overridesResolver:VT})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),gw=le("div",{shouldForwardProp:Tu,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:VT})({flex:"0 0 auto"}),SD=le(Ys,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Y(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${Y(n.anchor)}`]]}})(({theme:e,ownerState:t})=>R({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),BT={left:"right",right:"left",top:"down",bottom:"up"};function CD(e){return["left","right"].indexOf(e)!==-1}function ED({direction:e},t){return e==="rtl"&&CD(t)?BT[t]:t}const PD=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDrawer"}),i=$v(),o=r$(),s={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:a="left",BackdropProps:l,children:u,className:c,elevation:d=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:p}={},onClose:h,open:m=!1,PaperProps:x={},SlideProps:g,TransitionComponent:y=gD,transitionDuration:v=s,variant:w="temporary"}=r,C=se(r.ModalProps,yD),E=se(r,xD),T=b.useRef(!1);b.useEffect(()=>{T.current=!0},[]);const P=ED({direction:o?"rtl":"ltr"},a),M=R({},r,{anchor:a,elevation:d,open:m,variant:w},E),A=wD(M),I=S.jsx(SD,R({elevation:w==="temporary"?d:0,square:!0},x,{className:oe(A.paper,x.className),ownerState:M,children:u}));if(w==="permanent")return S.jsx(gw,R({className:oe(A.root,A.docked,c),ownerState:M,ref:n},E,{children:I}));const L=S.jsx(y,R({in:m,direction:BT[P],timeout:v,appear:T.current},g,{children:I}));return w==="persistent"?S.jsx(gw,R({className:oe(A.root,A.docked,c),ownerState:M,ref:n},E,{children:L})):S.jsx(bD,R({BackdropProps:R({},l,p,{transitionDuration:v}),className:oe(A.root,A.modal,c),open:m,ownerState:M,onClose:h,hideBackdrop:f,ref:n},E,C,{children:L}))}),TD=PD;function kD(e){return nt("MuiLink",e)}const MD=Qe("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),_D=MD,UT={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},RD=e=>UT[e]||e,OD=({theme:e,ownerState:t})=>{const n=RD(t.color),r=Ks(e,`palette.${n}`,!1)||t.color,i=Ks(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:kt(r,.4)},AD=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],ID=e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root",`underline${Y(i)}`,n==="button"&&"button",r&&"focusVisible"]};return at(o,kD,t)},$D=le(ae,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Y(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>R({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&R({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:OD({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${_D.focusVisible}`]:{outline:"auto"}})),LD=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiLink"}),{className:i,color:o="primary",component:s="a",onBlur:a,onFocus:l,TypographyClasses:u,underline:c="always",variant:d="inherit",sx:f}=r,p=se(r,AD),{isFocusVisibleRef:h,onBlur:m,onFocus:x,ref:g}=pv(),[y,v]=b.useState(!1),w=Ht(n,g),C=k=>{m(k),h.current===!1&&v(!1),a&&a(k)},E=k=>{x(k),h.current===!0&&v(!0),l&&l(k)},T=R({},r,{color:o,component:s,focusVisible:y,underline:c,variant:d}),P=ID(T);return S.jsx($D,R({color:o,className:oe(P.root,i),classes:u,component:s,onBlur:C,onFocus:E,ref:w,ownerState:T,variant:d,sx:[...Object.keys(UT).includes(o)?[]:[{color:o}],...Array.isArray(f)?f:[f]]},p))}),Nl=LD;var vw;const jD=["children","classes","className","label","notched"],DD=le("fieldset",{shouldForwardProp:Tu})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),FD=le("legend",{shouldForwardProp:Tu})(({ownerState:e,theme:t})=>R({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&R({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function ND(e){const{className:t,label:n,notched:r}=e,i=se(e,jD),o=n!=null&&n!=="",s=R({},e,{notched:r,withLabel:o});return S.jsx(DD,R({"aria-hidden":!0,className:t,ownerState:s},i,{children:S.jsx(FD,{ownerState:s,children:o?S.jsx("span",{children:n}):vw||(vw=S.jsx("span",{className:"notranslate",children:"​"}))})}))}const zD=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],VD=e=>{const{classes:t}=e,r=at({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},ej,t);return R({},t,r)},BD=le(FT,{shouldForwardProp:e=>Tu(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:jT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return R({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ur.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Ur.focused} .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Ur.error} .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ur.disabled} .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&R({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),UD=le(ND,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),WD=le(NT,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:DT})(({theme:e,ownerState:t})=>R({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),WT=b.forwardRef(function(t,n){var r,i,o,s,a;const l=rt({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:d="input",label:f,multiline:p=!1,notched:h,slots:m={},type:x="text"}=l,g=se(l,zD),y=VD(l),v=$T(),w=AT({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=R({},l,{color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:v,fullWidth:c,hiddenLabel:w.hiddenLabel,multiline:p,size:w.size,type:x}),E=(r=(i=m.root)!=null?i:u.Root)!=null?r:BD,T=(o=(s=m.input)!=null?s:u.Input)!=null?o:WD;return S.jsx(JL,R({slots:{root:E,input:T},renderSuffix:P=>S.jsx(UD,{ownerState:C,className:y.notchedOutline,label:f!=null&&f!==""&&w.required?a||(a=S.jsxs(b.Fragment,{children:[f," ","*"]})):f,notched:typeof h<"u"?h:!!(P.startAdornment||P.filled||P.focused)}),fullWidth:c,inputComponent:d,multiline:p,ref:n,type:x},g,{classes:R({},y,{notchedOutline:null})}))});WT.muiName="Input";const HD=WT;function GD(e){return nt("MuiToolbar",e)}Qe("MuiToolbar",["root","gutters","regular","dense"]);const qD=["className","component","disableGutters","variant"],KD=e=>{const{classes:t,disableGutters:n,variant:r}=e;return at({root:["root",!n&&"gutters",r]},GD,t)},QD=le("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>R({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),YD=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:a="regular"}=r,l=se(r,qD),u=R({},r,{component:o,disableGutters:s,variant:a}),c=KD(u);return S.jsx(QD,R({as:o,className:oe(c.root,i),ref:n,ownerState:u},l))}),XD=YD;function HT(e){const[t,n]=W.useState(!1),r=()=>{window.localStorage.setItem("events-visible","false"),n(!1)};return W.useEffect(()=>{window.localStorage.getItem("events-visible")==null&&window.localStorage.setItem("events-visible","true");const i=window.localStorage.getItem("events-visible");n(i!=null?JSON.parse(i):!0)},[]),S.jsxs(Q,{sx:{background:"#16F4D0",color:"#000000",fontWeight:600,display:t?"flex":"none",justifyContent:"center",alignItems:"center",height:"30px"},children:[S.jsx(Q,{sx:{flexGrow:1,display:"flex",justifyContent:"center"},children:e.events.map(i=>S.jsx(Nl,{underline:"hover",href:i.href,color:"inherit",children:i.title},`${i.title}::${i.href}`))}),S.jsx(Pd,{"data-testid":"events-close-button",onClick:r,sx:{color:"inherit",width:"25px",height:"25px",marginRight:"5px"},children:S.jsx(xT,{sx:{color:"inherit"}})})]})}var Fv={},hh={};const ZD=Fr(N4);var yw;function JD(){return yw||(yw=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=ZD}(hh)),hh}var eF=_v;Object.defineProperty(Fv,"__esModule",{value:!0});var GT=Fv.default=void 0,tF=eF(JD()),nF=S;GT=Fv.default=(0,tF.default)((0,nF.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");function Md(e){const[t,n]=W.useState(!1),r=uv();return S.jsx(Q,{sx:{...e.sx,width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:S.jsxs(XD,{sx:{background:e.translucent?"rgba(67,86,127, 0.5)":"transparent",backdropFilter:e.translucent?"blur(20px)":"unset",margin:"5px 0px",borderRadius:"41px",paddingLeft:"40px !important",paddingRight:"40px !important",boxShadow:e.translucent?3:0,width:e.fullWidth?"100%":"90%",height:"80px",userSelect:"none"},children:[S.jsxs(Q,{onClick:()=>{r("/")},sx:{height:"65%",display:"flex",flexGrow:1,alignItems:"center",cursor:"pointer"},children:[S.jsx("img",{alt:"adc-logo",src:"/logo256.png",style:{maxHeight:"100%",margin:"10px 0px 10px 0px"}}),S.jsx(ae,{sx:{fontSize:"1.3rem",fontWeight:"bold",marginLeft:"15px"},children:"App Dev Club"})]}),S.jsx(Q,{sx:{display:{xs:"none",md:"flex"}},children:e.links.map(i=>S.jsx(Nl,{href:i.anchor,underline:"hover",sx:{fontSize:"1rem",fontWeight:600,marginLeft:"15px",marginRight:"10px",color:"inherit",":hover":{cursor:"pointer"}},children:i.title},`${i.title}::${i.anchor}`))}),S.jsx(Pd,{onClick:()=>{n(!0)},sx:{color:"inherit",display:{xs:"flex",md:"none"}},children:S.jsx(GT,{sx:{fontSize:"1.8rem"}})}),S.jsxs(TD,{anchor:"right",open:t,onClose:()=>{n(!1)},PaperProps:{sx:{width:"180px",bgcolor:"background.default",padding:"25px",backgroundImage:"unset"}},children:[S.jsx(Pd,{onClick:()=>{n(!1)},sx:{alignSelf:"end",maxWidth:"40px",marginBottom:"10px"},children:S.jsx(xT,{})}),e.links.map((i,o)=>S.jsx(Nl,{onClick:()=>{n(!1)},href:i.anchor,underline:"hover",color:"inherit",sx:{fontSize:"1.3rem",marginTop:"7px",marginBottom:"7px"},children:i.title},o))]})]})})}var qT={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},xw=W.createContext&&W.createContext(qT),rF=["attr","size","title"];function iF(e,t){if(e==null)return{};var n=oF(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function oF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function _d(){return _d=Object.assign?Object.assign.bind():function(e){for(var t=1;tW.createElement(t.tag,Rd({key:n},t.attr),KT(t.child)))}function uF(e){return t=>W.createElement(cF,_d({attr:Rd({},e.attr)},t),KT(e.child))}function cF(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=iF(e,rF),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),W.createElement("svg",_d({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:Rd(Rd({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&W.createElement("title",null,o),e.children)};return xw!==void 0?W.createElement(xw.Consumer,null,n=>t(n)):t(qT)}function dF(e){return uF({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9.593 10.971c-.542 0-.969.475-.969 1.055 0 .578.437 1.055.969 1.055.541 0 .968-.477.968-1.055.011-.581-.427-1.055-.968-1.055zm3.468 0c-.542 0-.969.475-.969 1.055 0 .578.437 1.055.969 1.055.541 0 .968-.477.968-1.055-.001-.581-.427-1.055-.968-1.055z"},child:[]},{tag:"path",attr:{d:"M17.678 3H4.947A1.952 1.952 0 0 0 3 4.957v12.844c0 1.083.874 1.957 1.947 1.957H15.72l-.505-1.759 1.217 1.131 1.149 1.064L19.625 22V4.957A1.952 1.952 0 0 0 17.678 3zM14.01 15.407s-.342-.408-.626-.771c1.244-.352 1.719-1.13 1.719-1.13-.39.256-.76.438-1.093.562a6.679 6.679 0 0 1-3.838.398 7.944 7.944 0 0 1-1.396-.41 5.402 5.402 0 0 1-.693-.321c-.029-.021-.057-.029-.085-.048a.117.117 0 0 1-.039-.03c-.171-.094-.266-.16-.266-.16s.456.76 1.663 1.121c-.285.36-.637.789-.637.789-2.099-.067-2.896-1.444-2.896-1.444 0-3.059 1.368-5.538 1.368-5.538 1.368-1.027 2.669-.998 2.669-.998l.095.114c-1.71.495-2.499 1.245-2.499 1.245s.21-.114.561-.275c1.016-.446 1.823-.57 2.156-.599.057-.009.105-.019.162-.019a7.756 7.756 0 0 1 4.778.893s-.751-.712-2.366-1.206l.133-.152s1.302-.029 2.669.998c0 0 1.368 2.479 1.368 5.538 0-.001-.807 1.376-2.907 1.443z"},child:[]}]})(e)}function QT(e){return S.jsxs(Q,{sx:{display:"flex",gap:"10px",flexGrow:1,...e==null?void 0:e.sx},children:[S.jsx(B4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:e.fontSize??"22px"}}),S.jsx(U4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:e.fontSize??"22px"}}),S.jsx(V4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:e.fontSize??"22px"}}),S.jsx(z4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:e.fontSize??"22px"}}),S.jsx(dF,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:e.fontSize??"22px"}})]})}function YT(e){const n=new Date().getFullYear();return S.jsxs(Q,{sx:{...e.sx,display:"flex",width:"100%",height:"75px",padding:"30px",alignItems:"center",justifyContent:"center"},children:[S.jsxs(ae,{style:{fontSize:"18px",flexGrow:1},children:["© ",n," App Dev Club"]}),S.jsx("img",{src:"../logo256.png",style:{maxHeight:"50px"}}),S.jsx(QT,{sx:{justifyContent:"end"}})]})}const bw=[{title:"Home",anchor:"/#maindiv-001"},{title:"Projects",anchor:"/#subdiv-002"},{title:"Our Team",anchor:"/#team"},{title:"Sponsors",anchor:"/#sponsors"},{title:"Contact Us",anchor:"#contact"}];function fF(){const[e,t]=W.useState(-120),[n]=W.useState([{title:"General Body Meeting, 3/25 8pm @ Iribe"}]);return W.useEffect(()=>{function r(){const i=window.scrollY;t(Math.min(i-120,0))}return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}},[]),S.jsxs(S.Fragment,{children:[n.length<1?S.jsx(S.Fragment,{}):S.jsx(HT,{events:n}),S.jsx(Md,{links:bw,fullWidth:!0,sx:{backgroundColor:"transparent"}}),S.jsx(Md,{links:bw,translucent:!0,sx:{zIndex:2,marginTop:"25px",position:"fixed",top:`${e}px`,left:"0px"}}),S.jsx(O5,{}),S.jsx(Q,{sx:{position:"relative"},children:S.jsx(YT,{})})]})}const pF=Iv({palette:{mode:"dark",text:{primary:"#FFFFFF"},background:{default:"#14213D"}},typography:{fontFamily:"Inter, sans-serif"}}),XT={baseTheme:pF};function vg(){return vg=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"&&typeof ue>"u"){var Pe=ce?p:f;U=Pe.left+Pe.width/2,ue=Pe.top+Pe.height/2}var re=0,xe=0,Ze=f,Ct=Ze.top,qt=Ze.left,lt=Ze.width,ut=Ze.height,Kt;if(ce){var In=p,qn=In.top,$n=In.left,qi=In.width,Ki=In.height,_e=qt-$n,ee=Ct-qn,Qi=lt/2+_e,Ip=ut/2+ee,Fu=U-$n,i1=ue-qn;xe=l.rotateYMax*(Fu-Qi)/(qi-lt/2)*-1,re=l.rotateXMax*(i1-Ip)/(Ki-ut/2),Kt=U-qt+"px "+(ue-Ct)+"px"}else{var Vr=lt/2,An=ut/2,gt=U-qt,ga=ue-Ct;xe=l.rotateYMax*(gt-Vr)/(lt/2)*-1,re=l.rotateXMax*(ga-An)/(ut/2)}re=Math.min(Math.max(-re,-l.rotateXMax),l.rotateXMax),l.rotateXInvert&&(re=-re),xe=Math.min(Math.max(-xe,-l.rotateYMax),l.rotateYMax),l.rotateYInvert&&(xe=-xe);var va=re/l.rotateXMax*100,ya=xe/l.rotateYMax*100,f_=(ce?ya/100*l.stretchX:0)*(l.rotateYInvert?-1:1),p_=(ce?va/100*l.stretchY:0)*(l.rotateXInvert?-1:1),h_=ce?Math.max(Math.abs(va),Math.abs(ya))/100*l.stretchZ:0;P(u,"translate3d("+f_+"%, "+-p_+"%, "+-h_+"px) rotateX("+re+"deg) rotateY("+xe+"deg)"),Kt&&l.commonOrigin&&M(u,Kt),m&&(E(m,l.duration+"ms"),T(m,"ease-out"),P(m,"translate3d("+-ya*.25+"%, "+va*.25+"%, 0)"),k(m,Math.max(Math.abs(va),Math.abs(ya))/100)),B({rotateXPercentage:va,rotateYPercentage:ya,duration:l.duration+"ms",easeOut:!0}),typeof l.onRotate=="function"&&l.onRotate(re,xe)},H=function(){v.push(function(){return n.classList.add("atropos-active")}),E(u,l.duration+"ms"),T(u,"ease-out"),P(c,"translate3d(0,0, "+l.activeOffset+"px)"),E(c,l.duration+"ms"),T(c,"ease-out"),h&&(E(h,l.duration+"ms"),T(h,"ease-out")),a.isActive=!0},O=function(U){if(x=void 0,!(U.type==="pointerdown"&&U.pointerType==="mouse")&&!(U.type==="pointerenter"&&U.pointerType!=="mouse")){if(U.type==="pointerdown"&&U.preventDefault(),g=U.clientX,y=U.clientY,l.alwaysActive){f=void 0,p=void 0;return}H(),typeof l.onEnter=="function"&&l.onEnter()}},$=function(U){x===!1&&U.cancelable&&U.preventDefault()},z=function(U){if(!(!l.rotate||!a.isActive)){if(U.pointerType!=="mouse"){if(!l.rotateTouch)return;U.preventDefault()}var ue=U.clientX,ce=U.clientY,Pe=ue-g,re=ce-y;if(typeof l.rotateTouch=="string"&&(Pe!==0||re!==0)&&typeof x>"u"){if(Pe*Pe+re*re>=25){var xe=Math.atan2(Math.abs(re),Math.abs(Pe))*180/Math.PI;x=l.rotateTouch==="scroll-y"?xe>45:90-xe>45}x===!1&&(n.classList.add("atropos-rotate-touch"),U.cancelable&&U.preventDefault())}U.pointerType!=="mouse"&&x||N(ue,ce)}},K=function(U){if(f=void 0,p=void 0,!!a.isActive&&!(U&&U.type==="pointerup"&&U.pointerType==="mouse")&&!(U&&U.type==="pointerleave"&&U.pointerType!=="mouse")){if(typeof l.rotateTouch=="string"&&x&&n.classList.remove("atropos-rotate-touch"),l.alwaysActive){N(),typeof l.onRotate=="function"&&l.onRotate(0,0),typeof l.onLeave=="function"&&l.onLeave();return}v.push(function(){return n.classList.remove("atropos-active")}),E(c,l.duration+"ms"),T(c,""),P(c,"translate3d(0,0, 0px)"),h&&(E(h,l.duration+"ms"),T(h,"")),m&&(E(m,l.duration+"ms"),T(m,""),P(m,"translate3d(0, 0, 0)"),k(m,0)),E(u,l.duration+"ms"),T(u,""),P(u,"translate3d(0,0,0) rotateX(0deg) rotateY(0deg)"),B({duration:l.duration+"ms"}),a.isActive=!1,typeof l.onRotate=="function"&&l.onRotate(0,0),typeof l.onLeave=="function"&&l.onLeave()}},ne=function(U){var ue=U.target;!r.contains(ue)&&ue!==r&&a.isActive&&K()},We=function(){typeof n=="string"&&(n=Hr(document,n)),n&&(n.__atropos__||(typeof r<"u"?typeof r=="string"&&(r=Hr(document,r)):r=n,s=o?n.parentNode.host:n,Object.assign(a,{el:n}),u=Hr(n,".atropos-rotate"),c=Hr(n,".atropos-scale"),d=Hr(n,".atropos-inner"),n.__atropos__=a))},de=function(){We(),!(!n||!r)&&(l.shadow&&L(),l.highlight&&D(),l.rotateTouch&&(typeof l.rotateTouch=="string"?n.classList.add("atropos-rotate-touch-"+l.rotateTouch):n.classList.add("atropos-rotate-touch")),Hr(s,"[data-atropos-opacity]")&&B({opacityOnly:!0}),A(document,"click",ne),A(r,"pointerdown",O),A(r,"pointerenter",O),A(r,"pointermove",z),A(r,"touchmove",$),A(r,"pointerleave",K),A(r,"pointerup",K),A(r,"lostpointercapture",K),l.alwaysActive&&(H(),N()))},He=function(){a.destroyed=!0,cancelAnimationFrame(w),I(document,"click",ne),I(r,"pointerdown",O),I(r,"pointerenter",O),I(r,"pointermove",z),I(r,"touchmove",$),I(r,"pointerleave",K),I(r,"pointerup",K),I(r,"lostpointercapture",K),delete n.__atropos__};return a.destroy=He,de(),a}var yF=["component","children","rootChildren","scaleChildren","rotateChildren","className","scaleClassName","rotateClassName","innerClassName"];function Od(){return Od=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var ZT=["eventsEl","alwaysActive","activeOffset","shadowOffset","shadowScale","duration","rotate","rotateTouch","rotateXMax","rotateYMax","rotateXInvert","rotateYInvert","stretchX","stretchY","stretchZ","commonOrigin","shadow","highlight","onEnter","onLeave","onRotate"],wF=function(t){var n={};return Object.keys(t).forEach(function(r){ZT.includes(r)||(n[r]=t[r])}),n},bF=function(t){var n={};return Object.keys(t).forEach(function(r){ZT.includes(r)&&(n[r]=t[r])}),n};function SF(e){var t=e.component,n=t===void 0?"div":t,r=e.children,i=e.rootChildren,o=e.scaleChildren,s=e.rotateChildren,a=e.className,l=a===void 0?"":a,u=e.scaleClassName,c=u===void 0?"":u,d=e.rotateClassName,f=d===void 0?"":d,p=e.innerClassName,h=p===void 0?"":p,m=xF(e,yF),x=b.useRef(null),g=b.useRef(null),y=n,v=function(){for(var T=arguments.length,P=new Array(T),k=0;k"u")&&W.createElement("span",{className:"atropos-highlight"})),s,(e.shadow||typeof e.shadow>"u")&&W.createElement("span",{className:"atropos-shadow"})),o),i)}function CF(e){let t=0,n;for(n=0;n>n*8&255;r+=`00${i.toString(16)}`.slice(-2)}return r}function JT(e){return{sx:{bgcolor:CF(e)},children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`}}var e2={};function EF(e){if(!e||typeof window>"u")return;const t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}Object.defineProperty(e2,"__esModule",{value:!0});var Ne=b;function PF(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Gr=PF(Ne);EF(`.rfm-marquee-container { + overflow-x: hidden; + display: flex; + flex-direction: row; + position: relative; + width: var(--width); + transform: var(--transform); +} +.rfm-marquee-container:hover div { + animation-play-state: var(--pause-on-hover); +} +.rfm-marquee-container:active div { + animation-play-state: var(--pause-on-click); +} + +.rfm-overlay { + position: absolute; + width: 100%; + height: 100%; +} +.rfm-overlay::before, .rfm-overlay::after { + background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0)); + content: ""; + height: 100%; + position: absolute; + width: var(--gradient-width); + z-index: 2; + pointer-events: none; + touch-action: none; +} +.rfm-overlay::after { + right: 0; + top: 0; + transform: rotateZ(180deg); +} +.rfm-overlay::before { + left: 0; + top: 0; +} + +.rfm-marquee { + flex: 0 0 auto; + min-width: var(--min-width); + z-index: 1; + display: flex; + flex-direction: row; + align-items: center; + animation: scroll var(--duration) linear var(--delay) var(--iteration-count); + animation-play-state: var(--play); + animation-delay: var(--delay); + animation-direction: var(--direction); +} +@keyframes scroll { + 0% { + transform: translateX(0%); + } + 100% { + transform: translateX(-100%); + } +} + +.rfm-initial-child-container { + flex: 0 0 auto; + display: flex; + min-width: auto; + flex-direction: row; + align-items: center; +} + +.rfm-child { + transform: var(--transform); +}`);const TF=Ne.forwardRef(function({style:t={},className:n="",autoFill:r=!1,play:i=!0,pauseOnHover:o=!1,pauseOnClick:s=!1,direction:a="left",speed:l=50,delay:u=0,loop:c=0,gradient:d=!1,gradientColor:f="white",gradientWidth:p=200,onFinish:h,onCycleComplete:m,onMount:x,children:g},y){const[v,w]=Ne.useState(0),[C,E]=Ne.useState(0),[T,P]=Ne.useState(1),[k,M]=Ne.useState(!1),A=Ne.useRef(null),I=y||A,L=Ne.useRef(null),D=Ne.useCallback(()=>{if(L.current&&I.current){const K=I.current.getBoundingClientRect(),ne=L.current.getBoundingClientRect();let We=K.width,de=ne.width;(a==="up"||a==="down")&&(We=K.height,de=ne.height),P(r&&We&&de&&de{if(k&&(D(),L.current&&I.current)){const K=new ResizeObserver(()=>D());return K.observe(I.current),K.observe(L.current),()=>{K&&K.disconnect()}}},[D,I,k]),Ne.useEffect(()=>{D()},[D,g]),Ne.useEffect(()=>{M(!0)},[]),Ne.useEffect(()=>{typeof x=="function"&&x()},[]);const B=Ne.useMemo(()=>r?C*T/l:CObject.assign(Object.assign({},t),{"--pause-on-hover":!i||o?"paused":"running","--pause-on-click":!i||o&&!s||s?"paused":"running","--width":a==="up"||a==="down"?"100vh":"100%","--transform":a==="up"?"rotate(-90deg)":a==="down"?"rotate(90deg)":"none"}),[t,i,o,s,a]),H=Ne.useMemo(()=>({"--gradient-color":f,"--gradient-width":typeof p=="number"?`${p}px`:p}),[f,p]),O=Ne.useMemo(()=>({"--play":i?"running":"paused","--direction":a==="left"?"normal":"reverse","--duration":`${B}s`,"--delay":`${u}s`,"--iteration-count":c?`${c}`:"infinite","--min-width":r?"auto":"100%"}),[i,a,B,u,c,r]),$=Ne.useMemo(()=>({"--transform":a==="up"?"rotate(90deg)":a==="down"?"rotate(-90deg)":"none"}),[a]),z=Ne.useCallback(K=>[...Array(Number.isFinite(K)&&K>=0?K:0)].map((ne,We)=>Gr.default.createElement(Ne.Fragment,{key:We},Ne.Children.map(g,de=>Gr.default.createElement("div",{style:$,className:"rfm-child"},de)))),[$,g]);return k?Gr.default.createElement("div",{ref:I,style:N,className:"rfm-marquee-container "+n},d&&Gr.default.createElement("div",{style:H,className:"rfm-overlay"}),Gr.default.createElement("div",{className:"rfm-marquee",style:O,onAnimationIteration:m,onAnimationEnd:h},Gr.default.createElement("div",{className:"rfm-initial-child-container",ref:L},Ne.Children.map(g,K=>Gr.default.createElement("div",{style:$,className:"rfm-child"},K))),z(T-1)),Gr.default.createElement("div",{className:"rfm-marquee",style:O},z(T))):null});var t2=e2.default=TF;function Sw(e){const t=uv(),n=r=>t(`/project/${r._id}`);return e.mobileView?S.jsxs(Ys,{elevation:5,onClick:()=>{n(e.project)},sx:{...e==null?void 0:e.sx,cursor:"pointer",borderRadius:"35px",padding:"30px",display:"flex",flexDirection:"column",gap:"15px",color:"#000000",bgcolor:"#ffffff",maxWidth:"100%",height:"400px",overflow:"hidden"},children:[S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",width:"100%"},children:[S.jsx(ae,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),S.jsx(ae,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),S.jsx(ae,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description})]}),S.jsx(Cw,{autoScroll:!0,members:e.project.members})]}):S.jsx(SF,{highlight:!1,onClick:()=>{n(e.project)},style:{minWidth:"800px",height:"60vh",cursor:"pointer"},children:S.jsx(Ys,{sx:{...e==null?void 0:e.sx,borderRadius:"35px",padding:"30px",display:"flex",gap:"15px",color:"#000000",bgcolor:"#ffffff",width:"100%",height:"100%"},children:S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",flexGrow:1},children:[S.jsx(ae,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),S.jsx(ae,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),S.jsx(ae,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description}),S.jsx(Cw,{members:e.project.members})]})})})}function Cw(e){function t(){return S.jsx(S.Fragment,{children:e.members.map((n,r)=>S.jsx(WL,{label:`${n.memberInfo.firstName} ${n.memberInfo.lastName}`,variant:"outlined",sx:{color:"black",margin:"5px"},avatar:n.memberInfo.profileUrl?S.jsx(kd,{src:n.memberInfo.profileUrl}):S.jsx(kd,{...JT(`${n.memberInfo.firstName} ${n.memberInfo.lastName}`)})},r))})}return e.autoScroll?S.jsx(t2,{children:S.jsx(t,{})}):S.jsx(Q,{sx:{marginTop:"10px",display:"flex",flexWrap:"wrap"},children:S.jsx(t,{})})}function Ew(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Nv(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:Ew(t[n])&&Ew(e[n])&&Object.keys(t[n]).length>0&&Nv(e[n],t[n])})}const n2={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function kr(){const e=typeof document<"u"?document:{};return Nv(e,n2),e}const kF={document:n2,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function cn(){const e=typeof window<"u"?window:{};return Nv(e,kF),e}function MF(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function _F(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function yg(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Ad(){return Date.now()}function RF(e){const t=cn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function OF(e,t){t===void 0&&(t="x");const n=cn();let r,i,o;const s=RF(e);return n.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),o=new n.WebKitCSSMatrix(i==="none"?"":i)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=o.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=o.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function lc(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function AF(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Xt(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(o)<0);for(let o=0,s=i.length;oo?"next":"prev",c=(f,p)=>u==="next"&&f>=p||u==="prev"&&f<=p,d=()=>{a=new Date().getTime(),s===null&&(s=a);const f=Math.max(Math.min((a-s)/l,1),0),p=.5-Math.cos(f*Math.PI)/2;let h=o+p*(n-o);if(c(h,n)&&(h=n),t.wrapperEl.scrollTo({[r]:h}),c(h,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:h})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(d)};d()}function zv(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function Sr(e,t){return t===void 0&&(t=""),[...e.children].filter(n=>n.matches(t))}function Id(e){try{console.warn(e);return}catch{}}function $d(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:MF(t)),n}function IF(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function $F(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function gi(e,t){return cn().getComputedStyle(e,null).getPropertyValue(t)}function Pw(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function LF(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function Tw(e,t,n){const r=cn();return n?e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom")):e.offsetWidth}let mh;function jF(){const e=cn(),t=kr();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function i2(){return mh||(mh=jF()),mh}let gh;function DF(e){let{userAgent:t}=e===void 0?{}:e;const n=i2(),r=cn(),i=r.navigator.platform,o=t||r.navigator.userAgent,s={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,u=o.match(/(Android);?[\s\/]+([\d.]+)?/);let c=o.match(/(iPad).*OS\s([\d_]+)/);const d=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let h=i==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&h&&n.touch&&m.indexOf(`${a}x${l}`)>=0&&(c=o.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),u&&!p&&(s.os="android",s.android=!0),(c||f||d)&&(s.os="ios",s.ios=!0),s}function o2(e){return e===void 0&&(e={}),gh||(gh=DF(e)),gh}let vh;function FF(){const e=cn(),t=o2();let n=!1;function r(){const a=e.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(r()){const a=String(e.navigator.userAgent);if(a.includes("Version/")){const[l,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));n=l<16||l===16&&u<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=r(),s=o||i&&t.ios;return{isSafari:n||o,needPerspectiveFix:n,need3dFix:s,isWebView:i}}function NF(){return vh||(vh=FF()),vh}function zF(e){let{swiper:t,on:n,emit:r}=e;const i=cn();let o=null,s=null;const a=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},l=()=>{!t||t.destroyed||!t.initialized||(o=new ResizeObserver(d=>{s=i.requestAnimationFrame(()=>{const{width:f,height:p}=t;let h=f,m=p;d.forEach(x=>{let{contentBoxSize:g,contentRect:y,target:v}=x;v&&v!==t.el||(h=y?y.width:(g[0]||g).inlineSize,m=y?y.height:(g[0]||g).blockSize)}),(h!==f||m!==p)&&a()})}),o.observe(t.el))},u=()=>{s&&i.cancelAnimationFrame(s),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null)},c=()=>{!t||t.destroyed||!t.initialized||r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){l();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",c)})}function VF(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const o=[],s=cn(),a=function(c,d){d===void 0&&(d={});const f=s.MutationObserver||s.WebkitMutationObserver,p=new f(h=>{if(t.__preventObserver__)return;if(h.length===1){i("observerUpdate",h[0]);return}const m=function(){i("observerUpdate",h[0])};s.requestAnimationFrame?s.requestAnimationFrame(m):s.setTimeout(m,0)});p.observe(c,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:typeof d.childList>"u"?!0:d.childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),o.push(p)},l=()=>{if(t.params.observer){if(t.params.observeParents){const c=LF(t.hostEl);for(let d=0;d{o.forEach(c=>{c.disconnect()}),o.splice(0,o.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var BF={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const i=n?"unshift":"push";return e.split(" ").forEach(o=>{r.eventsListeners[o]||(r.eventsListeners[o]=[]),r.eventsListeners[o][i](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var o=arguments.length,s=new Array(o),a=0;a=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((i,o)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[r].splice(o,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,o=new Array(i),s=0;s{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...n])}),e.eventsListeners&&e.eventsListeners[l]&&e.eventsListeners[l].forEach(u=>{u.apply(r,n)})}),e}};function UF(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(gi(r,"padding-left")||0,10)-parseInt(gi(r,"padding-right")||0,10),n=n-parseInt(gi(r,"padding-top")||0,10)-parseInt(gi(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function WF(){const e=this;function t(M,A){return parseFloat(M.getPropertyValue(e.getDirectionLabel(A))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:o,rtlTranslate:s,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=Sr(i,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:c.length;let f=[];const p=[],h=[];let m=n.slidesOffsetBefore;typeof m=="function"&&(m=n.slidesOffsetBefore.call(e));let x=n.slidesOffsetAfter;typeof x=="function"&&(x=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,y=e.slidesGrid.length;let v=n.spaceBetween,w=-m,C=0,E=0;if(typeof o>"u")return;typeof v=="string"&&v.indexOf("%")>=0?v=parseFloat(v.replace("%",""))/100*o:typeof v=="string"&&(v=parseFloat(v)),e.virtualSize=-v,c.forEach(M=>{s?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(uc(r,"--swiper-centered-offset-before",""),uc(r,"--swiper-centered-offset-after",""));const T=n.grid&&n.grid.rows>1&&e.grid;T?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let P;const k=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(M=>typeof n.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M1&&f.push(e.virtualSize-o)}if(l&&n.loop){const M=h[0]+v;if(n.slidesPerGroup>1){const A=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),I=M*n.slidesPerGroup;for(let L=0;L!n.cssMode||n.loop?!0:I!==c.length-1).forEach(A=>{A.style[M]=`${v}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let M=0;h.forEach(I=>{M+=I+(v||0)}),M-=v;const A=M-o;f=f.map(I=>I<=0?-m:I>A?A+x:I)}if(n.centerInsufficientSlides){let M=0;if(h.forEach(A=>{M+=A+(v||0)}),M-=v,M{f[L]=I-A}),p.forEach((I,L)=>{p[L]=I+A})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){uc(r,"--swiper-centered-offset-before",`${-f[0]}px`),uc(r,"--swiper-centered-offset-after",`${e.size/2-h[h.length-1]/2}px`);const M=-e.snapGrid[0],A=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(I=>I+M),e.slidesGrid=e.slidesGrid.map(I=>I+A)}if(d!==u&&e.emit("slidesLengthChange"),f.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const M=`${n.containerModifierClass}backface-hidden`,A=e.el.classList.contains(M);d<=n.maxBackfaceHiddenSlides?A||e.el.classList.add(M):A&&e.el.classList.remove(M)}}function HF(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i=0,o;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const s=a=>r?t.slides[t.getSlideIndexByData(a)]:t.slides[a];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(a=>{n.push(a)});else for(o=0;ot.slides.length&&!r)break;n.push(s(a))}else n.push(s(t.activeIndex));for(o=0;oi?a:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function GF(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r"u"&&t.updateSlidesOffset();let s=-e;i&&(s=e),r.forEach(l=>{l.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&p<=t.size-t.slidesSizesGrid[l];(p>=0&&p1&&h<=t.size||p<=0&&h>=t.size)&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(l),r[l].classList.add(n.slideVisibleClass)),m&&r[l].classList.add(n.slideFullyVisibleClass),u.progress=i?-d:d,u.originalProgress=i?-f:f}}function KF(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:s,progressLoop:a}=t;const l=o,u=s;if(r===0)i=0,o=!0,s=!0;else{i=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;o=c||i<=0,s=d||i>=1,c&&(i=0),d&&(i=1)}if(n.loop){const c=t.getSlideIndexByData(0),d=t.getSlideIndexByData(t.slides.length-1),f=t.slidesGrid[c],p=t.slidesGrid[d],h=t.slidesGrid[t.slidesGrid.length-1],m=Math.abs(e);m>=f?a=(m-f)/h:a=(m+h-p)/h,a>1&&(a-=1)}Object.assign(t,{progress:i,progressLoop:a,isBeginning:o,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),s&&!u&&t.emit("reachEnd toEdge"),(l&&!o||u&&!s)&&t.emit("fromEdge"),t.emit("progress",i)}const yh=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function QF(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,o=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,a=d=>Sr(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];let l,u,c;if(o)if(n.loop){let d=i-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${d}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else s?(l=t.filter(d=>d.column===i)[0],c=t.filter(d=>d.column===i+1)[0],u=t.filter(d=>d.column===i-1)[0]):l=t[i];l&&(s||(c=$F(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=IF(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(d=>{yh(d,d===l,n.slideActiveClass),yh(d,d===c,n.slideNextClass),yh(d,d===u,n.slidePrevClass)}),e.emitSlidesClasses()}const Lc=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let i=r.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},xh=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},xg=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=i,a=[s-t];a.push(...Array.from({length:t}).map((l,u)=>s+r+u)),e.slides.forEach((l,u)=>{a.includes(l.column)&&xh(e,u)});return}const o=i+r-1;if(e.params.rewind||e.params.loop)for(let s=i-t;s<=o+t;s+=1){const a=(s%n+n)%n;(ao)&&xh(e,a)}else for(let s=Math.max(i-t,0);s<=Math.min(o+t,n-1);s+=1)s!==i&&(s>o||s=t[o]&&r=t[o]&&r=t[o]&&(i=o);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function XF(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:o,realIndex:s,snapIndex:a}=t;let l=e,u;const c=p=>{let h=p-t.virtual.slidesBefore;return h<0&&(h=t.virtual.slides.length+h),h>=t.virtual.slides.length&&(h-=t.virtual.slides.length),h};if(typeof l>"u"&&(l=YF(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const p=Math.min(i.slidesPerGroupSkip,l);u=p+Math.floor((l-p)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===o&&!t.params.loop){u!==a&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(l);return}const d=t.grid&&i.grid&&i.grid.rows>1;let f;if(t.virtual&&i.virtual.enabled&&i.loop)f=c(l);else if(d){const p=t.slides.filter(m=>m.column===l)[0];let h=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(t.slides.indexOf(p),0)),f=Math.floor(h/i.grid.rows)}else if(t.slides[l]){const p=t.slides[l].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=l}else f=l;Object.assign(t,{previousSnapIndex:a,snapIndex:u,previousRealIndex:s,realIndex:f,previousIndex:o,activeIndex:l}),t.initialized&&xg(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function ZF(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(a=>{!i&&a.matches&&a.matches(`.${r.slideClass}, swiper-slide`)&&(i=a)});let o=!1,s;if(i){for(let a=0;al?c=l:r&&es?a="next":o"u"&&(t=o.params.speed);const m=Math.min(o.params.slidesPerGroupSkip,s);let x=m+Math.floor((s-m)/o.params.slidesPerGroup);x>=l.length&&(x=l.length-1);const g=-l[x];if(a.normalizeSlideIndex)for(let v=0;v=C&&w=C&&w=C&&(s=v)}if(o.initialized&&s!==d&&(!o.allowSlideNext&&(f?g>o.translate&&g>o.minTranslate():go.translate&&g>o.maxTranslate()&&(d||0)!==s))return!1;s!==(c||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(g);let y;if(s>d?y="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[v?"scrollLeft":"scrollTop"]=w})):p[v?"scrollLeft":"scrollTop"]=w,C&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return r2({swiper:o,targetPosition:w,side:v?"left":"top"}),!0;p.scrollTo({[v?"left":"top"]:w,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(g),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,y),t===0?o.transitionEnd(n,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(w){!o||o.destroyed||w.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,y))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function d6(e,t,n,r){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this;if(i.destroyed)return;typeof t>"u"&&(t=i.params.speed);const o=i.grid&&i.params.grid&&i.params.grid.rows>1;let s=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)s=s+i.virtual.slidesBefore;else{let a;if(o){const f=s*i.params.grid.rows;a=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=i.getSlideIndexByData(s);const l=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let d=l-ap.getAttribute("data-swiper-slide-index")*1===f)[0].column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame(()=>{i.slideTo(s,t,n,r)}),i}function f6(e,t,n){t===void 0&&(t=!0);const r=this,{enabled:i,params:o,animating:s}=r;if(!i||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let a=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return o.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function p6(e,t,n){t===void 0&&(t=!0);const r=this,{params:i,snapGrid:o,slidesGrid:s,rtlTranslate:a,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=a?r.translate:-r.translate;function f(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const p=f(d),h=o.map(g=>f(g));let m=o[h.indexOf(p)-1];if(typeof m>"u"&&i.cssMode){let g;o.forEach((y,v)=>{p>=y&&(g=v)}),typeof g<"u"&&(m=o[g>0?g-1:g])}let x=0;if(typeof m<"u"&&(x=s.indexOf(m),x<0&&(x=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(x=x-r.slidesPerViewDynamic("previous",!0)+1,x=Math.max(x,0))),i.rewind&&r.isBeginning){const g=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(g,e,t,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(x,e,t,n)}),!0;return r.slideTo(x,e,t,n)}function h6(e,t,n){t===void 0&&(t=!0);const r=this;if(!r.destroyed)return typeof e>"u"&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function m6(e,t,n,r){t===void 0&&(t=!0),r===void 0&&(r=.5);const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);let o=i.activeIndex;const s=Math.min(i.params.slidesPerGroupSkip,o),a=s+Math.floor((o-s)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const u=i.snapGrid[a],c=i.snapGrid[a+1];l-u>(c-u)*r&&(o+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];l-u<=(c-u)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)}function g6(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.clickedIndex,o;const s=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(Sr(n,`${s}[data-swiper-slide-index="${o}"]`)[0]),yg(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(Sr(n,`${s}[data-swiper-slide-index="${o}"]`)[0]),yg(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var v6={slideTo:c6,slideToLoop:d6,slideNext:f6,slidePrev:p6,slideReset:h6,slideToClosest:m6,slideToClickedSlide:g6};function y6(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{Sr(r,`.${n.slideClass}, swiper-slide`).forEach((d,f)=>{d.setAttribute("data-swiper-slide-index",f)})},o=t.grid&&n.grid&&n.grid.rows>1,s=n.slidesPerGroup*(o?n.grid.rows:1),a=t.slides.length%s!==0,l=o&&t.slides.length%n.grid.rows!==0,u=c=>{for(let d=0;d1;u.length"u"?o=l.getSlideIndex(u.filter(L=>L.classList.contains(p.slideActiveClass))[0]):C=o;const E=r==="next"||!r,T=r==="prev"||!r;let P=0,k=0;const M=y?Math.ceil(u.length/p.grid.rows):u.length,I=(y?u[o].column:o)+(h&&typeof i>"u"?-m/2+.5:0);if(I=0;N-=1)u[N].column===B&&v.push(N)}else v.push(M-D-1)}}else if(I+m>M-g){k=Math.max(I-(M-g*2),x);for(let L=0;L{B.column===D&&w.push(N)}):w.push(D)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),T&&v.forEach(L=>{u[L].swiperLoopMoveDOM=!0,f.prepend(u[L]),u[L].swiperLoopMoveDOM=!1}),E&&w.forEach(L=>{u[L].swiperLoopMoveDOM=!0,f.append(u[L]),u[L].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():y&&(v.length>0&&T||w.length>0&&E)&&l.slides.forEach((L,D)=>{l.grid.updateSlide(D,L,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),n){if(v.length>0&&T){if(typeof t>"u"){const L=l.slidesGrid[C],B=l.slidesGrid[C+P]-L;a?l.setTranslate(l.translate-B):(l.slideTo(C+Math.ceil(P),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-B,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-B))}else if(i){const L=y?v.length/p.grid.rows:v.length;l.slideTo(l.activeIndex+L,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&E)if(typeof t>"u"){const L=l.slidesGrid[C],B=l.slidesGrid[C-k]-L;a?l.setTranslate(l.translate-B):(l.slideTo(C-k,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-B,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-B))}else{const L=y?w.length/p.grid.rows:w.length;l.slideTo(l.activeIndex-L,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!s){const L={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(D=>{!D.destroyed&&D.params.loop&&D.loopFix({...L,slideTo:D.params.slidesPerView===p.slidesPerView?n:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...L,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?n:!1})}l.emit("loopFix")}function w6(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(i=>{const o=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[o]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var b6={loopCreate:y6,loopFix:x6,loopDestroy:w6};function S6(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function C6(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var E6={setGrabCursor:S6,unsetGrabCursor:C6};function P6(e,t){t===void 0&&(t=this);function n(r){if(!r||r===kr()||r===cn())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(e);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(t)}function kw(e,t,n){const r=cn(),{params:i}=e,o=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return o&&(n<=s||n>=r.innerWidth-s)?o==="prevent"?(t.preventDefault(),!0):!1:!0}function T6(e){const t=this,n=kr();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){kw(t,r,r.targetTouches[0].pageX);return}const{params:o,touches:s,enabled:a}=t;if(!a||!o.simulateTouch&&r.pointerType==="mouse"||t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let l=r.target;if(o.touchEventsTarget==="wrapper"&&!t.wrapperEl.contains(l)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!o.noSwipingClass&&o.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const d=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(o.noSwiping&&(f?P6(d,l):l.closest(d))){t.allowClick=!0;return}if(o.swipeHandler&&!l.closest(o.swipeHandler))return;s.currentX=r.pageX,s.currentY=r.pageY;const p=s.currentX,h=s.currentY;if(!kw(t,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=p,s.startY=h,i.touchStartTime=Ad(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let m=!0;l.matches(i.focusableElements)&&(m=!1,l.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==l&&n.activeElement.blur();const x=m&&t.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||x)&&!l.isContentEditable&&r.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function k6(e){const t=kr(),n=this,r=n.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:a}=n;if(!a||!i.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].filter(E=>E.identifier===r.touchId)[0],!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const c=u.pageX,d=u.pageY;if(l.preventedByNestedSwiper){o.startX=c,o.startY=d;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(o,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=Ad());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(do.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(co.startX&&n.translate>=n.minTranslate())return}if(t.activeElement&&l.target===t.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=c,o.currentY=d;const f=o.currentX-o.startX,p=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(f**2+p**2)"u"){let E;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:f*f+p*p>=25&&(E=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?E>i.touchAngle:90-E>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let h=n.isHorizontal()?f:p,m=n.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(h=Math.abs(h)*(s?1:-1),m=Math.abs(m)*(s?1:-1)),o.diff=h,h*=i.touchRatio,s&&(h=-h,m=-m);const x=n.touchesDirection;n.swipeDirection=h>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const g=n.params.loop&&!i.cssMode,y=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(g&&y&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(E)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}let v;if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&x!==n.touchesDirection&&g&&y&&Math.abs(h)>=1){Object.assign(o,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=h+r.startTranslate;let w=!0,C=i.resistanceRatio;if(i.touchReleaseOnEdges&&(C=0),h>0?(g&&y&&!v&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+h)**C))):h<0&&(g&&y&&!v&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(h)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function M6(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(C=>C.identifier===n.touchId)[0],!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:s,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c||!s.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}s.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=Ad(),f=d-n.touchStartTime;if(t.allowClick){const C=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(C&&C[0]||r.target,C),t.emit("tap click",r),f<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=Ad(),yg(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||a.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let p;if(s.followFinger?p=l?t.translate:-t.translate:p=-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:p});return}const h=p>=-t.maxTranslate()&&!t.params.loop;let m=0,x=t.slidesSizesGrid[0];for(let C=0;C=u[C]&&p=u[C])&&(m=C,x=u[u.length-1]-u[u.length-2])}let g=null,y=null;s.rewind&&(t.isBeginning?y=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const v=(p-u[m])/x,w=ms.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(v>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?g:m+w):t.slideTo(m)),t.swipeDirection==="prev"&&(v>1-s.longSwipesRatio?t.slideTo(m+w):y!==null&&v<0&&Math.abs(v)>s.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!s.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(m+w):t.slideTo(m):(t.swipeDirection==="next"&&t.slideTo(g!==null?g:m+w),t.swipeDirection==="prev"&&t.slideTo(y!==null?y:m))}}function Mw(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=s&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!a?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function _6(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function R6(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const o=e.maxTranslate()-e.minTranslate();o===0?i=0:i=(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function O6(e){const t=this;Lc(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function A6(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const a2=(e,t)=>{const n=kr(),{params:r,el:i,wrapperEl:o,device:s}=e,a=!!r.nested,l=t==="on"?"addEventListener":"removeEventListener",u=t;n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",e.onClick,!0),r.cssMode&&o[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Mw,!0):e[u]("observerUpdate",Mw,!0),i[l]("load",e.onLoad,{capture:!0})};function I6(){const e=this,{params:t}=e;e.onTouchStart=T6.bind(e),e.onTouchMove=k6.bind(e),e.onTouchEnd=M6.bind(e),e.onDocumentTouchStart=A6.bind(e),t.cssMode&&(e.onScroll=R6.bind(e)),e.onClick=_6.bind(e),e.onLoad=O6.bind(e),a2(e,"on")}function $6(){a2(this,"off")}var L6={attachEvents:I6,detachEvents:$6};const _w=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function j6(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,o=r.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const s=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const l=(s in o?o[s]:void 0)||e.originalParams,u=_w(e,r),c=_w(e,l),d=e.params.grabCursor,f=l.grabCursor,p=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!f?e.unsetGrabCursor():!d&&f&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(v=>{if(typeof l[v]>"u")return;const w=r[v]&&r[v].enabled,C=l[v]&&l[v].enabled;w&&!C&&e[v].disable(),!w&&C&&e[v].enable()});const h=l.direction&&l.direction!==r.direction,m=r.loop&&(l.slidesPerView!==r.slidesPerView||h),x=r.loop;h&&n&&e.changeDirection(),Xt(e.params,l);const g=e.params.enabled,y=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!g?e.disable():!p&&g&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",l),n&&(m?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!x&&y?(e.loopCreate(t),e.updateSlides()):x&&!y&&e.loopDestroy()),e.emit("breakpoint",l)}function D6(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=cn(),o=t==="window"?i.innerHeight:n.clientHeight,s=Object.keys(e).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:o*l,point:a}}return{value:a,point:a}});s.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(t+i)}):typeof r=="string"&&n.push(t+r)}),n}function z6(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:o}=e,s=N6(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),i.classList.add(...t),e.emitContainerClasses()}function V6(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var B6={addClasses:z6,removeClasses:V6};function U6(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,o=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>o}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var W6={checkOverflow:U6},wg={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function H6(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],o=r[i];if(typeof o!="object"||o===null){Xt(t,r);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),!(i in e&&"enabled"in o)){Xt(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),Xt(t,r)}}const wh={eventsEmitter:BF,update:JF,translate:o6,transition:u6,slide:v6,loop:b6,grabCursor:E6,events:L6,breakpoints:F6,checkOverflow:W6,classes:B6},bh={};let Vv=class mr{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),o=0;o1){const c=[];return s.querySelectorAll(n.el).forEach(d=>{const f=Xt({},n,{el:d});c.push(new mr(f))}),c}const a=this;a.__swiper__=!0,a.support=i2(),a.device=o2({userAgent:n.userAgent}),a.browser=NF(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const l={};a.modules.forEach(c=>{c({params:n,swiper:a,extendParams:H6(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=Xt({},wg,l);return a.params=Xt({},u,bh,n),a.originalParams=Xt({},a.params),a.passedParams=Xt({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,i=Sr(n,`.${r.slideClass}, swiper-slide`),o=Pw(i[0]);return Pw(t)-o}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===t)[0])}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=Sr(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const i=r.minTranslate(),s=(r.maxTranslate()-i)*t+i;r.translateTo(s,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const i=t.getSlideClasses(r);n.push({slideEl:r,classNames:i}),t.emit("_slideClass",r,i)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:o,slidesGrid:s,slidesSizesGrid:a,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=o[u]?Math.ceil(o[u].swiperSlideSize):0,f;for(let p=u+1;pl&&(f=!0));for(let p=u-1;p>=0;p-=1)o[p]&&!f&&(d+=o[p].swiperSlideSize,c+=1,d>l&&(f=!0))}else if(t==="current")for(let d=u+1;d=0;d-=1)s[u]-s[d]{s.complete&&Lc(t,s)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const s=t.rtlTranslate?t.translate*-1:t.translate,a=Math.min(Math.max(s,t.maxTranslate()),t.minTranslate());t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}let o;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const s=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;o=t.slideTo(s.length-1,0,!1,!0)}else o=t.slideTo(t.activeIndex,0,!1,!0);o||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(o=>{t==="vertical"?o.style.width="":o.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):Sr(r,i())[0];return!s&&n.params.createElements&&(s=$d("div",n.params.wrapperClass),r.append(s),Sr(r,`.${n.params.slideClass}`).forEach(a=>{s.append(a)})),Object.assign(n,{el:r,wrapperEl:s,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:s,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||gi(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||gi(r,"direction")==="rtl"),wrongRTL:gi(s,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(o=>{o.complete?Lc(n,o):o.addEventListener("load",s=>{Lc(n,s.target)})}),xg(n),n.initialized=!0,xg(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:i,el:o,wrapperEl:s,slides:a}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),o.removeAttribute("style"),s.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),t!==!1&&(r.el.swiper=null,_F(r)),r.destroyed=!0),null}static extendDefaults(t){Xt(bh,t)}static get extendedDefaults(){return bh}static get defaults(){return wg}static installModule(t){mr.prototype.__modules__||(mr.prototype.__modules__=[]);const n=mr.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>mr.installModule(n)),mr):(mr.installModule(t),mr)}};Object.keys(wh).forEach(e=>{Object.keys(wh[e]).forEach(t=>{Vv.prototype[t]=wh[e][t]})});Vv.use([zF,VF]);const l2=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Oo(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Ss(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:Oo(t[r])&&Oo(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:Ss(e[r],t[r]):e[r]=t[r]})}function u2(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function c2(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function d2(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function f2(e){e===void 0&&(e="");const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function G6(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function q6(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:o,prevEl:s,scrollbarEl:a,paginationEl:l}=e;const u=i.filter(k=>k!=="children"&&k!=="direction"&&k!=="wrapperClass"),{params:c,pagination:d,navigation:f,scrollbar:p,virtual:h,thumbs:m}=t;let x,g,y,v,w,C,E,T;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(x=!0),i.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(g=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(y=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(v=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||s)&&(r.navigation.nextEl||o)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(w=!0);const P=k=>{t[k]&&(t[k].destroy(),k==="navigation"?(t.isElement&&(t[k].prevEl.remove(),t[k].nextEl.remove()),c[k].prevEl=void 0,c[k].nextEl=void 0,t[k].prevEl=void 0,t[k].nextEl=void 0):(t.isElement&&t[k].el.remove(),c[k].el=void 0,t[k].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!r.loop?C=!0:!c.loop&&r.loop?E=!0:T=!0),u.forEach(k=>{if(Oo(c[k])&&Oo(r[k]))Object.assign(c[k],r[k]),(k==="navigation"||k==="pagination"||k==="scrollbar")&&"enabled"in r[k]&&!r[k].enabled&&P(k);else{const M=r[k];(M===!0||M===!1)&&(k==="navigation"||k==="pagination"||k==="scrollbar")?M===!1&&P(k):c[k]=r[k]}}),u.includes("controller")&&!g&&t.controller&&t.controller.control&&c.controller&&c.controller.control&&(t.controller.control=c.controller.control),i.includes("children")&&n&&h&&c.virtual.enabled?(h.slides=n,h.update(!0)):i.includes("virtual")&&h&&c.virtual.enabled&&(n&&(h.slides=n),h.update(!0)),i.includes("children")&&n&&c.loop&&(T=!0),x&&m.init()&&m.update(!0),g&&(t.controller.control=c.controller.control),y&&(t.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),t.el.appendChild(l)),l&&(c.pagination.el=l),d.init(),d.render(),d.update()),v&&(t.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),t.el.appendChild(a)),a&&(c.scrollbar.el=a),p.init(),p.updateSize(),p.setTranslate()),w&&(t.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=t.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),t.el.appendChild(o)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=t.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),t.el.appendChild(s))),o&&(c.navigation.nextEl=o),s&&(c.navigation.prevEl=s),f.init(),f.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(C||T)&&t.loopDestroy(),(E||T)&&t.loopCreate(),t.update()}function K6(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};Ss(n,wg),n._emitClasses=!0,n.init=!1;const o={},s=l2.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(s.indexOf(l)>=0?Oo(e[l])?(n[l]={},i[l]={},Ss(n[l],e[l]),Ss(i[l],e[l])):(n[l]=e[l],i[l]=e[l]):l.search(/on[A-Z]/)===0&&typeof e[l]=="function"?t?r[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:n.on[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:o[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:i,rest:o,events:r}}function Q6(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:a}=e;u2(t)&&r&&i&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),c2(t)&&o&&(a.params.pagination.el=o,a.originalParams.pagination.el=o),d2(t)&&s&&(a.params.scrollbar.el=s,a.originalParams.scrollbar.el=s),a.init(n)}function Y6(e,t,n,r,i){const o=[];if(!t)return o;const s=l=>{o.indexOf(l)<0&&o.push(l)};if(n&&r){const l=r.map(i),u=n.map(i);l.join("")!==u.join("")&&s("children"),r.length!==n.length&&s("children")}return l2.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(Oo(e[l])&&Oo(t[l])){const u=Object.keys(e[l]),c=Object.keys(t[l]);u.length!==c.length?s(l):(u.forEach(d=>{e[l][d]!==t[l][d]&&s(l)}),c.forEach(d=>{e[l][d]!==t[l][d]&&s(l)}))}else e[l]!==t[l]&&s(l)}),o}const X6=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function Ld(){return Ld=Object.assign?Object.assign.bind():function(e){for(var t=1;t{p2(n)?t.push(n):n.props&&n.props.children&&h2(n.props.children).forEach(r=>t.push(r))}),t}function Z6(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return W.Children.toArray(e).forEach(r=>{if(p2(r))t.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const i=h2(r.props.children);i.length>0?i.forEach(o=>t.push(o)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function J6(e,t,n){if(!n)return null;const r=c=>{let d=c;return c<0?d=t.length+c:d>=t.length&&(d=d-t.length),d},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:o,to:s}=n,a=e.params.loop?-t.length:0,l=e.params.loop?t.length*2:t.length,u=[];for(let c=a;c=o&&c<=s&&u.push(t[r(c)]);return u.map((c,d)=>W.cloneElement(c,{swiper:e,style:i,key:c.props.virtualIndex||c.key||`slide-${d}`}))}function il(e,t){return typeof window>"u"?b.useEffect(e,t):b.useLayoutEffect(e,t)}const Rw=b.createContext(null),eN=b.createContext(null),m2=b.forwardRef(function(e,t){let{className:n,tag:r="div",wrapperTag:i="div",children:o,onSwiper:s,...a}=e===void 0?{}:e,l=!1;const[u,c]=b.useState("swiper"),[d,f]=b.useState(null),[p,h]=b.useState(!1),m=b.useRef(!1),x=b.useRef(null),g=b.useRef(null),y=b.useRef(null),v=b.useRef(null),w=b.useRef(null),C=b.useRef(null),E=b.useRef(null),T=b.useRef(null),{params:P,passedParams:k,rest:M,events:A}=K6(a),{slides:I,slots:L}=Z6(o),D=()=>{h(!p)};Object.assign(P.on,{_containerClasses($,z){c(z)}});const B=()=>{Object.assign(P.on,A),l=!0;const $={...P};if(delete $.wrapperClass,g.current=new Vv($),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=I;const z={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};Ss(g.current.params.virtual,z),Ss(g.current.originalParams.virtual,z)}};x.current||B(),g.current&&g.current.on("_beforeBreakpoint",D);const N=()=>{l||!A||!g.current||Object.keys(A).forEach($=>{g.current.on($,A[$])})},H=()=>{!A||!g.current||Object.keys(A).forEach($=>{g.current.off($,A[$])})};b.useEffect(()=>()=>{g.current&&g.current.off("_beforeBreakpoint",D)}),b.useEffect(()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)}),il(()=>{if(t&&(t.current=x.current),!!x.current)return g.current.destroyed&&B(),Q6({el:x.current,nextEl:w.current,prevEl:C.current,paginationEl:E.current,scrollbarEl:T.current,swiper:g.current},P),s&&!g.current.destroyed&&s(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}},[]),il(()=>{N();const $=Y6(k,y.current,I,v.current,z=>z.key);return y.current=k,v.current=I,$.length&&g.current&&!g.current.destroyed&&q6({swiper:g.current,slides:I,passedParams:k,changedParams:$,nextEl:w.current,prevEl:C.current,scrollbarEl:T.current,paginationEl:E.current}),()=>{H()}}),il(()=>{X6(g.current)},[d]);function O(){return P.virtual?J6(g.current,I,d):I.map(($,z)=>W.cloneElement($,{swiper:g.current,swiperSlideIndex:z}))}return W.createElement(r,Ld({ref:x,className:f2(`${u}${n?` ${n}`:""}`)},M),W.createElement(eN.Provider,{value:g.current},L["container-start"],W.createElement(i,{className:G6(P.wrapperClass)},L["wrapper-start"],O(),L["wrapper-end"]),u2(P)&&W.createElement(W.Fragment,null,W.createElement("div",{ref:C,className:"swiper-button-prev"}),W.createElement("div",{ref:w,className:"swiper-button-next"})),d2(P)&&W.createElement("div",{ref:T,className:"swiper-scrollbar"}),c2(P)&&W.createElement("div",{ref:E,className:"swiper-pagination"}),L["container-end"]))});m2.displayName="Swiper";const g2=b.forwardRef(function(e,t){let{tag:n="div",children:r,className:i="",swiper:o,zoom:s,lazy:a,virtualIndex:l,swiperSlideIndex:u,...c}=e===void 0?{}:e;const d=b.useRef(null),[f,p]=b.useState("swiper-slide"),[h,m]=b.useState(!1);function x(w,C,E){C===d.current&&p(E)}il(()=>{if(typeof u<"u"&&(d.current.swiperSlideIndex=u),t&&(t.current=d.current),!(!d.current||!o)){if(o.destroyed){f!=="swiper-slide"&&p("swiper-slide");return}return o.on("_slideClass",x),()=>{o&&o.off("_slideClass",x)}}}),il(()=>{o&&d.current&&!o.destroyed&&p(o.getSlideClasses(d.current))},[o]);const g={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},y=()=>typeof r=="function"?r(g):r,v=()=>{m(!0)};return W.createElement(n,Ld({ref:d,className:f2(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":l,onLoad:v},c),s&&W.createElement(Rw.Provider,{value:g},W.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&W.createElement(Rw.Provider,{value:g},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"})))});g2.displayName="SwiperSlide";function tN(e){let{swiper:t,extendParams:n,on:r,emit:i,params:o}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,a,l=o&&o.autoplay?o.autoplay.delay:3e3,u=o&&o.autoplay?o.autoplay.delay:3e3,c,d=new Date().getTime(),f,p,h,m,x,g,y;function v(O){!t||t.destroyed||!t.wrapperEl||O.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",v),!y&&M())}const w=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?f=!0:f&&(u=c,f=!1);const O=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=O,i("autoplayTimeLeft",O,O/l),a=requestAnimationFrame(()=>{w()})},C=()=>{let O;return t.virtual&&t.params.virtual.enabled?O=t.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:O=t.slides[t.activeIndex],O?parseInt(O.getAttribute("data-swiper-autoplay"),10):void 0},E=O=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(a),w();let $=typeof O>"u"?t.params.autoplay.delay:O;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const z=C();!Number.isNaN(z)&&z>0&&typeof O>"u"&&($=z,l=z,u=z),c=$;const K=t.params.speed,ne=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(K,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,K,!0,!0),i("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(K,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,K,!0,!0),i("autoplay")),t.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{E()})))};return $>0?(clearTimeout(s),s=setTimeout(()=>{ne()},$)):requestAnimationFrame(()=>{ne()}),$},T=()=>{d=new Date().getTime(),t.autoplay.running=!0,E(),i("autoplayStart")},P=()=>{t.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),i("autoplayStop")},k=(O,$)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(s),O||(g=!0);const z=()=>{i("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",v):M()};if(t.autoplay.paused=!0,$){x&&(c=t.params.autoplay.delay),x=!1,z();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-d),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),z())},M=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(d=new Date().getTime(),g?(g=!1,E(c)):E(),t.autoplay.paused=!1,i("autoplayResume"))},A=()=>{if(t.destroyed||!t.autoplay.running)return;const O=kr();O.visibilityState==="hidden"&&(g=!0,k(!0)),O.visibilityState==="visible"&&M()},I=O=>{O.pointerType==="mouse"&&(g=!0,y=!0,!(t.animating||t.autoplay.paused)&&k(!0))},L=O=>{O.pointerType==="mouse"&&(y=!1,t.autoplay.paused&&M())},D=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",I),t.el.addEventListener("pointerleave",L))},B=()=>{t.el.removeEventListener("pointerenter",I),t.el.removeEventListener("pointerleave",L)},N=()=>{kr().addEventListener("visibilitychange",A)},H=()=>{kr().removeEventListener("visibilitychange",A)};r("init",()=>{t.params.autoplay.enabled&&(D(),N(),T())}),r("destroy",()=>{B(),H(),t.autoplay.running&&P()}),r("_freeModeStaticRelease",()=>{(h||g)&&M()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?P():k(!0,!0)}),r("beforeTransitionStart",(O,$,z)=>{t.destroyed||!t.autoplay.running||(z||!t.params.autoplay.disableOnInteraction?k(!0,!0):P())}),r("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){P();return}p=!0,h=!1,g=!1,m=setTimeout(()=>{g=!0,h=!0,k(!0)},200)}}),r("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(s),t.params.autoplay.disableOnInteraction){h=!1,p=!1;return}h&&t.params.cssMode&&M(),h=!1,p=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(x=!0)}),Object.assign(t.autoplay,{start:T,stop:P,pause:k,resume:M})}function nN(e){const{effect:t,swiper:n,on:r,setTranslate:i,setTransition:o,overwriteParams:s,perspective:a,recreateShadows:l,getEffectParams:u}=e;r("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),a&&a()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const d=s?s():{};Object.assign(n.params,d),Object.assign(n.originalParams,d)}),r("setTranslate",()=>{n.params.effect===t&&i()}),r("setTransition",(d,f)=>{n.params.effect===t&&o(f)}),r("transitionEnd",()=>{if(n.params.effect===t&&l){if(!u||!u().slideShadows)return;n.slides.forEach(d=>{d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>f.remove())}),l()}});let c;r("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(c=!0),requestAnimationFrame(()=>{c&&n.slides&&n.slides.length&&(i(),c=!1)}))})}function rN(e,t){const n=zv(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function Ow(e,t,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=zv(t);let o=i.querySelector(`.${r.split(" ").join(".")}`);return o||(o=$d("div",r.split(" ")),i.append(o)),o}function iN(e){let{swiper:t,extendParams:n,on:r}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),nN({effect:"coverflow",swiper:t,on:r,setTranslate:()=>{const{width:s,height:a,slides:l,slidesSizesGrid:u}=t,c=t.params.coverflowEffect,d=t.isHorizontal(),f=t.translate,p=d?-f+s/2:-f+a/2,h=d?c.rotate:-c.rotate,m=c.depth;for(let x=0,g=l.length;x0?E:0),H&&(H.style.opacity=-E>0?-E:0)}}},setTransition:s=>{t.slides.map(l=>zv(l)).forEach(l=>{l.style.transitionDuration=`${s}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${s}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function v2(e,t){return function(){return e.apply(t,arguments)}}const{toString:oN}=Object.prototype,{getPrototypeOf:Bv}=Object,ip=(e=>t=>{const n=oN.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pr=e=>(e=e.toLowerCase(),t=>ip(t)===e),op=e=>t=>typeof t===e,{isArray:da}=Array,zl=op("undefined");function sN(e){return e!==null&&!zl(e)&&e.constructor!==null&&!zl(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const y2=pr("ArrayBuffer");function aN(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&y2(e.buffer),t}const lN=op("string"),Tn=op("function"),x2=op("number"),sp=e=>e!==null&&typeof e=="object",uN=e=>e===!0||e===!1,jc=e=>{if(ip(e)!=="object")return!1;const t=Bv(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},cN=pr("Date"),dN=pr("File"),fN=pr("Blob"),pN=pr("FileList"),hN=e=>sp(e)&&Tn(e.pipe),mN=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tn(e.append)&&((t=ip(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},gN=pr("URLSearchParams"),vN=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ku(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),da(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const b2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,S2=e=>!zl(e)&&e!==b2;function bg(){const{caseless:e}=S2(this)&&this||{},t={},n=(r,i)=>{const o=e&&w2(t,i)||i;jc(t[o])&&jc(r)?t[o]=bg(t[o],r):jc(r)?t[o]=bg({},r):da(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(ku(t,(i,o)=>{n&&Tn(i)?e[o]=v2(i,n):e[o]=i},{allOwnKeys:r}),e),xN=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),wN=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},bN=(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Bv(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},SN=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},CN=e=>{if(!e)return null;if(da(e))return e;let t=e.length;if(!x2(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},EN=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Bv(Uint8Array)),PN=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},TN=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},kN=pr("HTMLFormElement"),MN=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Aw=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),_N=pr("RegExp"),C2=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ku(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},RN=e=>{C2(e,(t,n)=>{if(Tn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Tn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ON=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return da(e)?r(e):r(String(e).split(t)),n},AN=()=>{},IN=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Sh="abcdefghijklmnopqrstuvwxyz",Iw="0123456789",E2={DIGIT:Iw,ALPHA:Sh,ALPHA_DIGIT:Sh+Sh.toUpperCase()+Iw},$N=(e=16,t=E2.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function LN(e){return!!(e&&Tn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jN=e=>{const t=new Array(10),n=(r,i)=>{if(sp(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=da(r)?[]:{};return ku(r,(s,a)=>{const l=n(s,i+1);!zl(l)&&(o[a]=l)}),t[i]=void 0,o}}return r};return n(e,0)},DN=pr("AsyncFunction"),FN=e=>e&&(sp(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),j={isArray:da,isArrayBuffer:y2,isBuffer:sN,isFormData:mN,isArrayBufferView:aN,isString:lN,isNumber:x2,isBoolean:uN,isObject:sp,isPlainObject:jc,isUndefined:zl,isDate:cN,isFile:dN,isBlob:fN,isRegExp:_N,isFunction:Tn,isStream:hN,isURLSearchParams:gN,isTypedArray:EN,isFileList:pN,forEach:ku,merge:bg,extend:yN,trim:vN,stripBOM:xN,inherits:wN,toFlatObject:bN,kindOf:ip,kindOfTest:pr,endsWith:SN,toArray:CN,forEachEntry:PN,matchAll:TN,isHTMLForm:kN,hasOwnProperty:Aw,hasOwnProp:Aw,reduceDescriptors:C2,freezeMethods:RN,toObjectSet:ON,toCamelCase:MN,noop:AN,toFiniteNumber:IN,findKey:w2,global:b2,isContextDefined:S2,ALPHABET:E2,generateString:$N,isSpecCompliantForm:LN,toJSONObject:jN,isAsyncFn:DN,isThenable:FN};function me(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}j.inherits(me,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const P2=me.prototype,T2={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{T2[e]={value:e}});Object.defineProperties(me,T2);Object.defineProperty(P2,"isAxiosError",{value:!0});me.from=(e,t,n,r,i,o)=>{const s=Object.create(P2);return j.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),me.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const NN=null;function Sg(e){return j.isPlainObject(e)||j.isArray(e)}function k2(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function $w(e,t,n){return e?e.concat(t).map(function(i,o){return i=k2(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function zN(e){return j.isArray(e)&&!e.some(Sg)}const VN=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function ap(e,t,n){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,x){return!j.isUndefined(x[m])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(i))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(j.isDate(h))return h.toISOString();if(!l&&j.isBlob(h))throw new me("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(h)||j.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,m,x){let g=h;if(h&&!x&&typeof h=="object"){if(j.endsWith(m,"{}"))m=r?m:m.slice(0,-2),h=JSON.stringify(h);else if(j.isArray(h)&&zN(h)||(j.isFileList(h)||j.endsWith(m,"[]"))&&(g=j.toArray(h)))return m=k2(m),g.forEach(function(v,w){!(j.isUndefined(v)||v===null)&&t.append(s===!0?$w([m],w,o):s===null?m:m+"[]",u(v))}),!1}return Sg(h)?!0:(t.append($w(x,m,o),u(h)),!1)}const d=[],f=Object.assign(VN,{defaultVisitor:c,convertValue:u,isVisitable:Sg});function p(h,m){if(!j.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),j.forEach(h,function(g,y){(!(j.isUndefined(g)||g===null)&&i.call(t,g,j.isString(y)?y.trim():y,m,f))===!0&&p(g,m?m.concat(y):[y])}),d.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Lw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Uv(e,t){this._pairs=[],e&&ap(e,this,t)}const M2=Uv.prototype;M2.append=function(t,n){this._pairs.push([t,n])};M2.toString=function(t){const n=t?function(r){return t.call(this,r,Lw)}:Lw;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function BN(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function _2(e,t,n){if(!t)return e;const r=n&&n.encode||BN,i=n&&n.serialize;let o;if(i?o=i(t,n):o=j.isURLSearchParams(t)?t.toString():new Uv(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class jw{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const R2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},UN=typeof URLSearchParams<"u"?URLSearchParams:Uv,WN=typeof FormData<"u"?FormData:null,HN=typeof Blob<"u"?Blob:null,GN={isBrowser:!0,classes:{URLSearchParams:UN,FormData:WN,Blob:HN},protocols:["http","https","file","blob","url","data"]},O2=typeof window<"u"&&typeof document<"u",qN=(e=>O2&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),KN=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",QN=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:O2,hasStandardBrowserEnv:qN,hasStandardBrowserWebWorkerEnv:KN},Symbol.toStringTag,{value:"Module"})),or={...QN,...GN};function YN(e,t){return ap(e,new or.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return or.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function XN(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ZN(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return s=!s&&j.isArray(i)?i.length:s,l?(j.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!j.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&j.isArray(i[s])&&(i[s]=ZN(i[s])),!a)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(XN(r),i,n,0)}),n}return null}function JN(e,t,n){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Wv={transitional:R2,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=j.isObject(t);if(o&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return i?JSON.stringify(A2(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return YN(t,this.formSerializer).toString();if((a=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ap(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),JN(t)):t}],transformResponse:[function(t){const n=this.transitional||Wv.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&j.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?me.from(a,me.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:or.classes.FormData,Blob:or.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{Wv.headers[e]={}});const Hv=Wv,ez=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tz=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&ez[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Dw=Symbol("internals");function _a(e){return e&&String(e).trim().toLowerCase()}function Dc(e){return e===!1||e==null?e:j.isArray(e)?e.map(Dc):String(e)}function nz(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const rz=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ch(e,t,n,r,i){if(j.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!j.isString(t)){if(j.isString(r))return t.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(t)}}function iz(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function oz(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}class lp{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,l,u){const c=_a(l);if(!c)throw new Error("header name must be a non-empty string");const d=j.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||l]=Dc(a))}const s=(a,l)=>j.forEach(a,(u,c)=>o(u,c,l));return j.isPlainObject(t)||t instanceof this.constructor?s(t,n):j.isString(t)&&(t=t.trim())&&!rz(t)?s(tz(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=_a(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return nz(i);if(j.isFunction(n))return n.call(this,i,r);if(j.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_a(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ch(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=_a(s),s){const a=j.findKey(r,s);a&&(!n||Ch(r,r[a],a,n))&&(delete r[a],i=!0)}}return j.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||Ch(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return j.forEach(this,(i,o)=>{const s=j.findKey(r,o);if(s){n[s]=Dc(i),delete n[o];return}const a=t?iz(o):String(o).trim();a!==o&&delete n[o],n[a]=Dc(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&j.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Dw]=this[Dw]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=_a(s);r[a]||(oz(i,s),r[a]=!0)}return j.isArray(t)?t.forEach(o):o(t),this}}lp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(lp.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(lp);const Mr=lp;function Eh(e,t){const n=this||Hv,r=t||n,i=Mr.from(r.headers);let o=r.data;return j.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function I2(e){return!!(e&&e.__CANCEL__)}function Mu(e,t,n){me.call(this,e??"canceled",me.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(Mu,me,{__CANCEL__:!0});function sz(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new me("Request failed with status code "+n.status,[me.ERR_BAD_REQUEST,me.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const az=or.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const s=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),j.isString(r)&&s.push("path="+r),j.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function lz(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function uz(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function $2(e,t){return e&&!lz(t)?uz(e,t):t}const cz=or.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=j.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function dz(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fz(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];s||(s=u),n[i]=l,r[i]=u;let d=o,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-s{const o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-n,l=r(a),u=o<=s;n=o;const c={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&u?(s-o)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const pz=typeof XMLHttpRequest<"u",hz=pz&&function(e){return new Promise(function(n,r){let i=e.data;const o=Mr.from(e.headers).normalize();let{responseType:s,withXSRFToken:a}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let c;if(j.isFormData(i)){if(or.hasStandardBrowserEnv||or.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((c=o.getContentType())!==!1){const[m,...x]=c?c.split(";").map(g=>g.trim()).filter(Boolean):[];o.setContentType([m||"multipart/form-data",...x].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(m+":"+x))}const f=$2(e.baseURL,e.url);d.open(e.method.toUpperCase(),_2(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=Mr.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),g={data:!s||s==="text"||s==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};sz(function(v){n(v),u()},function(v){r(v),u()},g),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(r(new me("Request aborted",me.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new me("Network Error",me.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||R2;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),r(new me(x,g.clarifyTimeoutError?me.ETIMEDOUT:me.ECONNABORTED,e,d)),d=null},or.hasStandardBrowserEnv&&(a&&j.isFunction(a)&&(a=a(e)),a||a!==!1&&cz(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&az.read(e.xsrfCookieName);m&&o.set(e.xsrfHeaderName,m)}i===void 0&&o.setContentType(null),"setRequestHeader"in d&&j.forEach(o.toJSON(),function(x,g){d.setRequestHeader(g,x)}),j.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),s&&s!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Fw(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Fw(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(r(!m||m.type?new Mu(null,e,d):m),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=dz(f);if(h&&or.protocols.indexOf(h)===-1){r(new me("Unsupported protocol "+h+":",me.ERR_BAD_REQUEST,e));return}d.send(i||null)})},Cg={http:NN,xhr:hz};j.forEach(Cg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Nw=e=>`- ${e}`,mz=e=>j.isFunction(e)||e===null||e===!1,L2={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?o.length>1?`since : +`+o.map(Nw).join(` +`):" "+Nw(o[0]):"as no adapter specified";throw new me("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Cg};function Ph(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Mu(null,e)}function zw(e){return Ph(e),e.headers=Mr.from(e.headers),e.data=Eh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),L2.getAdapter(e.adapter||Hv.adapter)(e).then(function(r){return Ph(e),r.data=Eh.call(e,e.transformResponse,r),r.headers=Mr.from(r.headers),r},function(r){return I2(r)||(Ph(e),r&&r.response&&(r.response.data=Eh.call(e,e.transformResponse,r.response),r.response.headers=Mr.from(r.response.headers))),Promise.reject(r)})}const Vw=e=>e instanceof Mr?{...e}:e;function Xs(e,t){t=t||{};const n={};function r(u,c,d){return j.isPlainObject(u)&&j.isPlainObject(c)?j.merge.call({caseless:d},u,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function i(u,c,d){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u,d)}else return r(u,c,d)}function o(u,c){if(!j.isUndefined(c))return r(void 0,c)}function s(u,c){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,c)=>i(Vw(u),Vw(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=l[c]||i,f=d(e[c],t[c],c);j.isUndefined(f)&&d!==a||(n[c]=f)}),n}const j2="1.6.8",Gv={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Gv[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Bw={};Gv.transitional=function(t,n,r){function i(o,s){return"[Axios v"+j2+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(t===!1)throw new me(i(s," has been removed"+(n?" in "+n:"")),me.ERR_DEPRECATED);return n&&!Bw[s]&&(Bw[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function gz(e,t,n){if(typeof e!="object")throw new me("options must be an object",me.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new me("option "+o+" must be "+l,me.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new me("Unknown option "+o,me.ERR_BAD_OPTION)}}const Eg={assertOptions:gz,validators:Gv},qr=Eg.validators;class jd{constructor(t){this.defaults=t,this.interceptors={request:new jw,response:new jw}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Xs(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Eg.assertOptions(r,{silentJSONParsing:qr.transitional(qr.boolean),forcedJSONParsing:qr.transitional(qr.boolean),clarifyTimeoutError:qr.transitional(qr.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:Eg.assertOptions(i,{encode:qr.function,serialize:qr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&j.merge(o.common,o[n.method]);o&&j.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=Mr.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,d=0,f;if(!l){const h=[zw.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,c=Promise.resolve(n);d{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,a){r.reason||(r.reason=new Mu(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new qv(function(i){t=i}),cancel:t}}}const vz=qv;function yz(e){return function(n){return e.apply(null,n)}}function xz(e){return j.isObject(e)&&e.isAxiosError===!0}const Pg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Pg).forEach(([e,t])=>{Pg[t]=e});const wz=Pg;function D2(e){const t=new Fc(e),n=v2(Fc.prototype.request,t);return j.extend(n,Fc.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return D2(Xs(e,i))},n}const tt=D2(Hv);tt.Axios=Fc;tt.CanceledError=Mu;tt.CancelToken=vz;tt.isCancel=I2;tt.VERSION=j2;tt.toFormData=ap;tt.AxiosError=me;tt.Cancel=tt.CanceledError;tt.all=function(t){return Promise.all(t)};tt.spread=yz;tt.isAxiosError=xz;tt.mergeConfig=Xs;tt.AxiosHeaders=Mr;tt.formToJSON=e=>A2(j.isHTMLForm(e)?new FormData(e):e);tt.getAdapter=L2.getAdapter;tt.HttpStatusCode=wz;tt.default=tt;const _u=tt.create({baseURL:"https://webv2-backend.appdevclub.com"});function bz(e){let t=`${e.firstName}-${e.lastName}`;return t=t.toLowerCase().replace(" ","-"),`${_u.getUri()}/team-images/${t}.jpeg`}function Sz(e){let t="";return t=e.leadership.join(", "),t}function Cz(e){const[t,n]=W.useState([]);return W.useEffect(()=>{_u.get("members/leaders/").then(r=>{n(()=>r.data)})},[]),S.jsxs(Q,{...e,sx:{...e==null?void 0:e.sx,borderRadius:"35px",display:"flex",flexDirection:"column",gap:"15px",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"},children:[S.jsx(ae,{sx:{fontSize:"3rem",fontWeight:"bold",marginBottom:"30px"},children:"Our Team"}),t.length<1?S.jsx(S.Fragment,{}):S.jsx(m2,{modules:[iN,tN],effect:"coverflow",centeredSlides:!0,loop:!0,loopAdditionalSlides:2,slidesPerView:"auto",spaceBetween:3,coverflowEffect:{rotate:0,stretch:0,depth:200,modifier:1},autoplay:{delay:1200,disableOnInteraction:!1},children:t.map(r=>S.jsx(g2,{children:S.jsxs(Q,{sx:{position:"relative",overflow:"hidden",width:"100%"},children:[S.jsx("img",{src:bz(r),alt:"member_image"}),S.jsxs(Q,{sx:{position:"absolute",bottom:"0px",color:"white",width:"100%",height:"130px",left:"50%",transform:"translateX(-50%)",background:"linear-gradient(to top, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.2) 90%, rgba(0, 0, 0, 0) 100%)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"end",textAlign:"center",paddingBottom:"20px"},children:[S.jsx(ae,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:`${r.firstName} ${r.lastName}`}),S.jsx(ae,{sx:{fontSize:"1rem"},children:Sz(r)})]})]})}))})]})}var Ez=Object.defineProperty,Pz=(e,t)=>{for(var n in t)Ez(e,n,{get:t[n],enumerable:!0})},Gn={};Pz(Gn,{assign:()=>Mz,colors:()=>Mi,createStringInterpolator:()=>ey,skipAnimation:()=>W2,to:()=>U2,willAdvance:()=>ty});var Kv=Ou(),te=e=>Ru(e,Kv),Qv=Ou();te.write=e=>Ru(e,Qv);var up=Ou();te.onStart=e=>Ru(e,up);var Yv=Ou();te.onFrame=e=>Ru(e,Yv);var Xv=Ou();te.onFinish=e=>Ru(e,Xv);var Cs=[];te.setTimeout=(e,t)=>{const n=te.now()+t,r=()=>{const o=Cs.findIndex(s=>s.cancel==r);~o&&Cs.splice(o,1),yi-=~o?1:0},i={time:n,handler:e,cancel:r};return Cs.splice(F2(n),0,i),yi+=1,N2(),i};var F2=e=>~(~Cs.findIndex(t=>t.time>e)||~Cs.length);te.cancel=e=>{up.delete(e),Yv.delete(e),Xv.delete(e),Kv.delete(e),Qv.delete(e)};te.sync=e=>{Tg=!0,te.batchedUpdates(e),Tg=!1};te.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,te.onStart(n)}return r.handler=e,r.cancel=()=>{up.delete(n),t=null},r};var Zv=typeof window<"u"?window.requestAnimationFrame:()=>{};te.use=e=>Zv=e;te.now=typeof performance<"u"?()=>performance.now():Date.now;te.batchedUpdates=e=>e();te.catch=console.error;te.frameLoop="always";te.advance=()=>{te.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):V2()};var vi=-1,yi=0,Tg=!1;function Ru(e,t){Tg?(t.delete(e),e(0)):(t.add(e),N2())}function N2(){vi<0&&(vi=0,te.frameLoop!=="demand"&&Zv(z2))}function Tz(){vi=-1}function z2(){~vi&&(Zv(z2),te.batchedUpdates(V2))}function V2(){const e=vi;vi=te.now();const t=F2(vi);if(t&&(B2(Cs.splice(0,t),n=>n.handler()),yi-=t),!yi){Tz();return}up.flush(),Kv.flush(e?Math.min(64,vi-e):16.667),Yv.flush(),Qv.flush(),Xv.flush()}function Ou(){let e=new Set,t=e;return{add(n){yi+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return yi-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,yi-=t.size,B2(t,r=>r(n)&&e.add(r)),yi+=e.size,t=e)}}}function B2(e,t){e.forEach(n=>{try{t(n)}catch(r){te.catch(r)}})}function kg(){}var kz=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),V={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function yr(e,t){if(V.arr(e)){if(!V.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function dr(e,t,n){if(V.arr(e)){for(let r=0;rV.und(e)?[]:V.arr(e)?e:[e];function ol(e,t){if(e.size){const n=Array.from(e);e.clear(),he(n,t)}}var Ua=(e,...t)=>ol(e,n=>n(...t)),Jv=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),ey,U2,Mi=null,W2=!1,ty=kg,Mz=e=>{e.to&&(U2=e.to),e.now&&(te.now=e.now),e.colors!==void 0&&(Mi=e.colors),e.skipAnimation!=null&&(W2=e.skipAnimation),e.createStringInterpolator&&(ey=e.createStringInterpolator),e.requestAnimationFrame&&te.use(e.requestAnimationFrame),e.batchedUpdates&&(te.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ty=e.willAdvance),e.frameLoop&&(te.frameLoop=e.frameLoop)},sl=new Set,Sn=[],Th=[],Dd=0,cp={get idle(){return!sl.size&&!Sn.length},start(e){Dd>e.priority?(sl.add(e),te.onStart(_z)):(H2(e),te(Mg))},advance:Mg,sort(e){if(Dd)te.onFrame(()=>cp.sort(e));else{const t=Sn.indexOf(e);~t&&(Sn.splice(t,1),G2(e))}},clear(){Sn=[],sl.clear()}};function _z(){sl.forEach(H2),sl.clear(),te(Mg)}function H2(e){Sn.includes(e)||G2(e)}function G2(e){Sn.splice(Rz(Sn,t=>t.priority>e.priority),0,e)}function Mg(e){const t=Th;for(let n=0;n0}function Rz(e,t){const n=e.findIndex(t);return n<0?e.length:n}var Oz=(e,t,n)=>Math.min(Math.max(n,e),t),Az={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Bn="[-+]?\\d*\\.?\\d+",Fd=Bn+"%";function dp(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Iz=new RegExp("rgb"+dp(Bn,Bn,Bn)),$z=new RegExp("rgba"+dp(Bn,Bn,Bn,Bn)),Lz=new RegExp("hsl"+dp(Bn,Fd,Fd)),jz=new RegExp("hsla"+dp(Bn,Fd,Fd,Bn)),Dz=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Fz=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Nz=/^#([0-9a-fA-F]{6})$/,zz=/^#([0-9a-fA-F]{8})$/;function Vz(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Nz.exec(e))?parseInt(t[1]+"ff",16)>>>0:Mi&&Mi[e]!==void 0?Mi[e]:(t=Iz.exec(e))?(Ho(t[1])<<24|Ho(t[2])<<16|Ho(t[3])<<8|255)>>>0:(t=$z.exec(e))?(Ho(t[1])<<24|Ho(t[2])<<16|Ho(t[3])<<8|Hw(t[4]))>>>0:(t=Dz.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=zz.exec(e))?parseInt(t[1],16)>>>0:(t=Fz.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Lz.exec(e))?(Uw(Ww(t[1]),cc(t[2]),cc(t[3]))|255)>>>0:(t=jz.exec(e))?(Uw(Ww(t[1]),cc(t[2]),cc(t[3]))|Hw(t[4]))>>>0:null}function kh(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Uw(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=kh(i,r,e+1/3),s=kh(i,r,e),a=kh(i,r,e-1/3);return Math.round(o*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function Ho(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Ww(e){return(parseFloat(e)%360+360)%360/360}function Hw(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function cc(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Gw(e){let t=Vz(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,o=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${o})`}var Vl=(e,t,n)=>{if(V.fun(e))return e;if(V.arr(e))return Vl({range:e,output:t,extrapolate:n});if(V.str(e.output[0]))return ey(e);const r=e,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(u=>u);return u=>{const c=Uz(u,o);return Bz(u,o[c],o[c+1],i[c],i[c+1],l,s,a,r.map)}};function Bz(e,t,n,r,i,o,s,a,l){let u=l?l(e):e;if(un){if(a==="identity")return u;a==="clamp"&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u=u-t:u=(u-t)/(n-t),u=o(u),r===-1/0?u=-u:i===1/0?u=u+r:u=u*(i-r)+r,u)}function Uz(e,t){for(var n=1;n=e);++n);return n-1}var Wz=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,i=t==="end"?Math.floor(r):Math.ceil(r);return Oz(0,1,i/e)},Nd=1.70158,dc=Nd*1.525,qw=Nd+1,Kw=2*Math.PI/3,Qw=2*Math.PI/4.5,fc=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,Hz={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>qw*e*e*e-Nd*e*e,easeOutBack:e=>1+qw*Math.pow(e-1,3)+Nd*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((dc+1)*2*e-dc)/2:(Math.pow(2*e-2,2)*((dc+1)*(e*2-2)+dc)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*Kw),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*Kw)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Qw))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Qw)/2+1,easeInBounce:e=>1-fc(1-e),easeOutBounce:fc,easeInOutBounce:e=>e<.5?(1-fc(1-2*e))/2:(1+fc(2*e-1))/2,steps:Wz},Bl=Symbol.for("FluidValue.get"),Zs=Symbol.for("FluidValue.observers"),bn=e=>!!(e&&e[Bl]),Nt=e=>e&&e[Bl]?e[Bl]():e,Yw=e=>e[Zs]||null;function Gz(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Ul(e,t){const n=e[Zs];n&&n.forEach(r=>{Gz(r,t)})}var q2=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");qz(this,e)}},qz=(e,t)=>K2(e,Bl,t);function fa(e,t){if(e[Bl]){let n=e[Zs];n||K2(e,Zs,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Wl(e,t){const n=e[Zs];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Zs]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var K2=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Nc=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Kz=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Xw=new RegExp(`(${Nc.source})(%|[a-z]+)`,"i"),Qz=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,fp=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Q2=e=>{const[t,n]=Yz(e);if(!t||Jv())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(n);return i||e}else{if(n&&fp.test(n))return Q2(n);if(n)return n}return e},Yz=e=>{const t=fp.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Mh,Xz=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,Y2=e=>{Mh||(Mh=Mi?new RegExp(`(${Object.keys(Mi).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(o=>Nt(o).replace(fp,Q2).replace(Kz,Gw).replace(Mh,Gw)),n=t.map(o=>o.match(Nc).map(Number)),i=n[0].map((o,s)=>n.map(a=>{if(!(s in a))throw Error('The arity of each "output" value must be equal');return a[s]})).map(o=>Vl({...e,output:o}));return o=>{var l;const s=!Xw.test(t[0])&&((l=t.find(u=>Xw.test(u)))==null?void 0:l.replace(Nc,""));let a=0;return t[0].replace(Nc,()=>`${i[a++](o)}${s||""}`).replace(Qz,Xz)}},ny="react-spring: ",X2=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${ny}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},Zz=X2(console.warn);function Jz(){Zz(`${ny}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var e8=X2(console.warn);function t8(){e8(`${ny}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function pp(e){return V.str(e)&&(e[0]=="#"||/\d/.test(e)||!Jv()&&fp.test(e)||e in(Mi||{}))}var ry=Jv()?b.useEffect:b.useLayoutEffect,n8=()=>{const e=b.useRef(!1);return ry(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function Z2(){const e=b.useState()[1],t=n8();return()=>{t.current&&e(Math.random())}}function r8(e,t){const[n]=b.useState(()=>({inputs:t,result:e()})),r=b.useRef(),i=r.current;let o=i;return o?t&&o.inputs&&i8(t,o.inputs)||(o={inputs:t,result:e()}):o=n,b.useEffect(()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)},[o]),o.result}function i8(e,t){if(e.length!==t.length)return!1;for(let n=0;nb.useEffect(e,o8),o8=[];function Zw(e){const t=b.useRef();return b.useEffect(()=>{t.current=e}),t.current}var Hl=Symbol.for("Animated:node"),s8=e=>!!e&&e[Hl]===e,Yn=e=>e&&e[Hl],iy=(e,t)=>kz(e,Hl,t),hp=e=>e&&e[Hl]&&e[Hl].getPayload(),ek=class{constructor(){iy(this,this)}getPayload(){return this.payload||[]}},Au=class extends ek{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,V.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Au(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return V.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,V.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Gl=class extends Au{constructor(e){super(0),this._string=null,this._toString=Vl({output:[e,e]})}static create(e){return new Gl(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(V.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=Vl({output:[this.getValue(),e]})),this._value=0,super.reset()}},zd={dependencies:null},mp=class extends ek{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return dr(this.source,(n,r)=>{s8(n)?t[r]=n.getValue(e):bn(n)?t[r]=Nt(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&he(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return dr(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){zd.dependencies&&bn(e)&&zd.dependencies.add(e);const t=hp(e);t&&he(t,n=>this.add(n))}},tk=class extends mp{constructor(e){super(e)}static create(e){return new tk(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((n,r)=>n.setValue(e[r])).some(Boolean):(super.setValue(e.map(a8)),!0)}};function a8(e){return(pp(e)?Gl:Au).create(e)}function _g(e){const t=Yn(e);return t?t.constructor:V.arr(e)?tk:pp(e)?Gl:Au}var Jw=(e,t)=>{const n=!V.fun(e)||e.prototype&&e.prototype.isReactComponent;return b.forwardRef((r,i)=>{const o=b.useRef(null),s=n&&b.useCallback(h=>{o.current=c8(i,h)},[i]),[a,l]=u8(r,t),u=Z2(),c=()=>{const h=o.current;if(n&&!h)return;(h?t.applyAnimatedValues(h,a.getValue(!0)):!1)===!1&&u()},d=new l8(c,l),f=b.useRef();ry(()=>(f.current=d,he(l,h=>fa(h,d)),()=>{f.current&&(he(f.current.deps,h=>Wl(h,f.current)),te.cancel(f.current.update))})),b.useEffect(c,[]),J2(()=>()=>{const h=f.current;he(h.deps,m=>Wl(m,h))});const p=t.getComponentProps(a.getValue());return b.createElement(e,{...p,ref:s})})},l8=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&te.write(this.update)}};function u8(e,t){const n=new Set;return zd.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new mp(e),zd.dependencies=null,[e,n]}function c8(e,t){return e&&(V.fun(e)?e(t):e.current=t),t}var eb=Symbol.for("AnimatedComponent"),d8=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new mp(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=s=>{const a=tb(s)||"Anonymous";return V.str(s)?s=o[s]||(o[s]=Jw(s,i)):s=s[eb]||(s[eb]=Jw(s,i)),s.displayName=`Animated(${a})`,s};return dr(e,(s,a)=>{V.arr(e)&&(a=tb(s)),o[a]=o(s)}),{animated:o}},tb=e=>V.str(e)?e:e&&V.str(e.displayName)?e.displayName:V.fun(e)&&e.name||null;function ro(e,...t){return V.fun(e)?e(...t):e}var al=(e,t)=>e===!0||!!(t&&e&&(V.fun(e)?e(t):en(e).includes(t))),nk=(e,t)=>V.obj(e)?t&&e[t]:e,rk=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,f8=e=>e,oy=(e,t=f8)=>{let n=p8;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const o=t(e[i],i);V.und(o)||(r[i]=o)}return r},p8=["config","onProps","onStart","onChange","onPause","onResume","onRest"],h8={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function m8(e){const t={};let n=0;if(dr(e,(r,i)=>{h8[i]||(t[i]=r,n++)}),n)return t}function ik(e){const t=m8(e);if(t){const n={to:t};return dr(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function ql(e){return e=Nt(e),V.arr(e)?e.map(ql):pp(e)?Gn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function g8(e){for(const t in e)return!0;return!1}function Rg(e){return V.fun(e)||V.arr(e)&&V.obj(e[0])}function v8(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function y8(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var x8={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Og={...x8.default,mass:1,damping:1,easing:Hz.linear,clamp:!1},w8=class{constructor(){this.velocity=0,Object.assign(this,Og)}};function b8(e,t,n){n&&(n={...n},nb(n,t),t={...n,...t}),nb(e,t),Object.assign(e,t);for(const s in Og)e[s]==null&&(e[s]=Og[s]);let{frequency:r,damping:i}=e;const{mass:o}=e;return V.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*i*o/r),e}function nb(e,t){if(!V.und(t.decay))e.duration=void 0;else{const n=!V.und(t.tension)||!V.und(t.friction);(n||!V.und(t.frequency)||!V.und(t.damping)||!V.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var rb=[],S8=class{constructor(){this.changed=!1,this.values=rb,this.toValues=null,this.fromValues=rb,this.config=new w8,this.immediate=!1}};function ok(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((s,a)=>{let l,u,c=al(n.cancel??(r==null?void 0:r.cancel),t);if(c)p();else{V.und(n.pause)||(i.paused=al(n.pause,t));let h=r==null?void 0:r.pause;h!==!0&&(h=i.paused||al(h,t)),l=ro(n.delay||0,t),h?(i.resumeQueue.add(f),o.pause()):(o.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(u),u.cancel(),l=u.time-te.now()}function f(){l>0&&!Gn.skipAnimation?(i.delayed=!0,u=te.setTimeout(p,l),i.pauseQueue.add(d),i.timeouts.add(u)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(u),e<=(i.cancelId||0)&&(c=!0);try{o.start({...n,callId:e,cancel:c},s)}catch(h){a(h)}}})}var sy=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?Es(e.get()):t.every(n=>n.noop)?sk(e.get()):Vn(e.get(),t.every(n=>n.finished)),sk=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Vn=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Es=e=>({value:e,cancelled:!0,finished:!1});function ak(e,t,n,r){const{callId:i,parentId:o,onRest:s}=t,{asyncTo:a,promise:l}=n;return!o&&e===a&&!t.reset?l:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const u=oy(t,(x,g)=>g==="onRest"?void 0:x);let c,d;const f=new Promise((x,g)=>(c=x,d=g)),p=x=>{const g=i<=(n.cancelId||0)&&Es(r)||i!==n.asyncId&&Vn(r,!1);if(g)throw x.result=g,d(x),x},h=(x,g)=>{const y=new ib,v=new ob;return(async()=>{if(Gn.skipAnimation)throw Kl(n),v.result=Vn(r,!1),d(v),v;p(y);const w=V.obj(x)?{...x}:{...g,to:x};w.parentId=i,dr(u,(E,T)=>{V.und(w[T])&&(w[T]=E)});const C=await r.start(w);return p(y),n.paused&&await new Promise(E=>{n.resumeQueue.add(E)}),C})()};let m;if(Gn.skipAnimation)return Kl(n),Vn(r,!1);try{let x;V.arr(e)?x=(async g=>{for(const y of g)await h(y)})(e):x=Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([x.then(c),f]),m=Vn(r.get(),!0,!1)}catch(x){if(x instanceof ib)m=x.result;else if(x instanceof ob)m=x.result;else throw x}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?a:void 0,n.promise=o?l:void 0)}return V.fun(s)&&te.batchedUpdates(()=>{s(m,r,r.item)}),m})()}function Kl(e,t){ol(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var ib=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},ob=class extends Error{constructor(){super("SkipAnimationSignal")}},Ag=e=>e instanceof ay,C8=1,ay=class extends q2{constructor(){super(...arguments),this.id=C8++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Yn(this);return e&&e.getValue()}to(...e){return Gn.to(this,e)}interpolate(...e){return Jz(),Gn.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Ul(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||cp.sort(this),Ul(this,{type:"priority",parent:this,priority:e})}},Ao=Symbol.for("SpringPhase"),lk=1,Ig=2,$g=4,_h=e=>(e[Ao]&lk)>0,Kr=e=>(e[Ao]&Ig)>0,Ra=e=>(e[Ao]&$g)>0,sb=(e,t)=>t?e[Ao]|=Ig|lk:e[Ao]&=~Ig,ab=(e,t)=>t?e[Ao]|=$g:e[Ao]&=~$g,E8=class extends ay{constructor(e,t){if(super(),this.animation=new S8,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!V.und(e)||!V.und(t)){const n=V.obj(e)?{...e}:{...t,from:e};V.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Kr(this)||this._state.asyncTo)||Ra(this)}get goal(){return Nt(this.animation.to)}get velocity(){const e=Yn(this);return e instanceof Au?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return _h(this)}get isAnimating(){return Kr(this)}get isPaused(){return Ra(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,s=hp(r.to);!s&&bn(r.to)&&(i=en(Nt(r.to))),r.values.forEach((u,c)=>{if(u.done)return;const d=u.constructor==Gl?1:s?s[c].lastPosition:i[c];let f=r.immediate,p=d;if(!f){if(p=u.lastPosition,o.tension<=0){u.done=!0;return}let h=u.elapsedTime+=e;const m=r.fromValues[c],x=u.v0!=null?u.v0:u.v0=V.arr(o.velocity)?o.velocity[c]:o.velocity;let g;const y=o.precision||(m==d?.005:Math.min(1,Math.abs(d-m)*.001));if(V.und(o.duration))if(o.decay){const v=o.decay===!0?.998:o.decay,w=Math.exp(-(1-v)*h);p=m+x/(1-v)*(1-w),f=Math.abs(u.lastPosition-p)<=y,g=x*w}else{g=u.lastVelocity==null?x:u.lastVelocity;const v=o.restVelocity||y/10,w=o.clamp?0:o.bounce,C=!V.und(w),E=m==d?u.v0>0:mv,!(!T&&(f=Math.abs(d-p)<=y,f)));++A){C&&(P=p==d||p>d==E,P&&(g=-g*w,p=d));const I=-o.tension*1e-6*(p-d),L=-o.friction*.001*g,D=(I+L)/o.mass;g=g+D*k,p=p+g*k}}else{let v=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,u.durationProgress>0&&(u.elapsedTime=o.duration*u.durationProgress,h=u.elapsedTime+=e)),v=(o.progress||0)+h/this._memoizedDuration,v=v>1?1:v<0?0:v,u.durationProgress=v),p=m+o.easing(v)*(d-m),g=(p-u.lastPosition)/e,f=v==1}u.lastVelocity=g,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),f=!0)}s&&!s[c].done&&(f=!1),f?u.done=!0:t=!1,u.setValue(p,o.round)&&(n=!0)});const a=Yn(this),l=a.getValue();if(t){const u=Nt(r.to);(l!==u||n)&&!o.decay?(a.setValue(u),this._onChange(u)):n&&o.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(e){return te.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Kr(this)){const{to:e,config:t}=this.animation;te.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return V.und(e)?(n=this.queue||[],this.queue=[]):n=[V.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>sy(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Kl(this._state,e&&this._lastCallId),te.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=V.obj(n)?n[t]:n,(n==null||Rg(n))&&(n=void 0),r=V.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return _h(this)||(e.reverse&&([n,r]=[r,n]),r=Nt(r),V.und(r)?Yn(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,oy(e,(s,a)=>/^on/.test(a)?nk(s,n):s)),ub(this,e,"onProps"),Aa(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const o=this._state;return ok(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Ra(this)||(ab(this,!0),Ua(o.pauseQueue),Aa(this,"onPause",Vn(this,Oa(this,this.animation.to)),this))},resume:()=>{Ra(this)&&(ab(this,!1),Kr(this)&&this._resume(),Ua(o.resumeQueue),Aa(this,"onResume",Vn(this,Oa(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(s=>{if(e.loop&&s.finished&&!(t&&s.noop)){const a=uk(e);if(a)return this._update(a,!0)}return s})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Es(this));const r=!V.und(e.to),i=!V.und(e.from);if(r||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(Es(this));const{key:o,defaultProps:s,animation:a}=this,{to:l,from:u}=a;let{to:c=l,from:d=u}=e;i&&!r&&(!t.default||V.und(c))&&(c=d),t.reverse&&([c,d]=[d,c]);const f=!yr(d,u);f&&(a.from=d),d=Nt(d);const p=!yr(c,l);p&&this._focus(c);const h=Rg(t.to),{config:m}=a,{decay:x,velocity:g}=m;(r||i)&&(m.velocity=0),t.config&&!h&&b8(m,ro(t.config,o),t.config!==s.config?ro(s.config,o):void 0);let y=Yn(this);if(!y||V.und(c))return n(Vn(this,!0));const v=V.und(t.reset)?i&&!t.default:!V.und(d)&&al(t.reset,o),w=v?d:this.get(),C=ql(c),E=V.num(C)||V.arr(C)||pp(C),T=!h&&(!E||al(s.immediate||t.immediate,o));if(p){const A=_g(c);if(A!==y.constructor)if(T)y=this._set(C);else throw Error(`Cannot animate between ${y.constructor.name} and ${A.name}, as the "to" prop suggests`)}const P=y.constructor;let k=bn(c),M=!1;if(!k){const A=v||!_h(this)&&f;(p||A)&&(M=yr(ql(w),C),k=!M),(!yr(a.immediate,T)&&!T||!yr(m.decay,x)||!yr(m.velocity,g))&&(k=!0)}if(M&&Kr(this)&&(a.changed&&!v?k=!0:k||this._stop(l)),!h&&((k||bn(l))&&(a.values=y.getPayload(),a.toValues=bn(c)?null:P==Gl?[1]:en(C)),a.immediate!=T&&(a.immediate=T,!T&&!v&&this._set(l)),k)){const{onRest:A}=a;he(T8,L=>ub(this,t,L));const I=Vn(this,Oa(this,l));Ua(this._pendingCalls,I),this._pendingCalls.add(n),a.changed&&te.batchedUpdates(()=>{var L;a.changed=!v,A==null||A(I,this),v?ro(s.onRest,I):(L=a.onStart)==null||L.call(a,I,this)})}v&&this._set(w),h?n(ak(t.to,t,this._state,this)):k?this._start():Kr(this)&&!p?this._pendingCalls.add(n):n(sk(w))}_focus(e){const t=this.animation;e!==t.to&&(Yw(this)&&this._detach(),t.to=e,Yw(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;bn(t)&&(fa(t,this),Ag(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;bn(e)&&Wl(e,this)}_set(e,t=!0){const n=Nt(e);if(!V.und(n)){const r=Yn(this);if(!r||!yr(n,r.getValue())){const i=_g(n);!r||r.constructor!=i?iy(this,i.create(n)):r.setValue(n),r&&te.batchedUpdates(()=>{this._onChange(n,t)})}}return Yn(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Aa(this,"onStart",Vn(this,Oa(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),ro(this.animation.onChange,e,this)),ro(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Yn(this).reset(Nt(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),Kr(this)||(sb(this,!0),Ra(this)||this._resume())}_resume(){Gn.skipAnimation?this.finish():cp.start(this)}_stop(e,t){if(Kr(this)){sb(this,!1);const n=this.animation;he(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Ul(this,{type:"idle",parent:this});const r=t?Es(this.get()):Vn(this.get(),Oa(this,e??n.to));Ua(this._pendingCalls,r),n.changed&&(n.changed=!1,Aa(this,"onRest",r,this))}}};function Oa(e,t){const n=ql(t),r=ql(e.get());return yr(r,n)}function uk(e,t=e.loop,n=e.to){const r=ro(t);if(r){const i=r!==!0&&ik(r),o=(i||e).reverse,s=!i||i.reset;return Ql({...e,loop:t,default:!1,pause:void 0,to:!o||Rg(n)?n:void 0,from:s?e.from:void 0,reset:s,...i})}}function Ql(e){const{to:t,from:n}=e=ik(e),r=new Set;return V.obj(t)&&lb(t,r),V.obj(n)&&lb(n,r),e.keys=r.size?Array.from(r):null,e}function P8(e){const t=Ql(e);return V.und(t.default)&&(t.default=oy(t)),t}function lb(e,t){dr(e,(n,r)=>n!=null&&t.add(r))}var T8=["onStart","onRest","onChange","onPause","onResume"];function ub(e,t,n){e.animation[n]=t[n]!==rk(t,n)?nk(t[n],e.key):void 0}function Aa(e,t,...n){var r,i,o,s;(i=(r=e.animation)[t])==null||i.call(r,...n),(s=(o=e.defaultProps)[t])==null||s.call(o,...n)}var k8=["onStart","onChange","onRest"],M8=1,_8=class{constructor(e,t){this.id=M8++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];V.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Ql(e)),this}start(e){let{queue:t}=this;return e?t=en(e).map(Ql):this.queue=[],this._flush?this._flush(this,t):(hk(this,t),Lg(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;he(en(t),r=>n[r].stop(!!e))}else Kl(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(V.und(e))this.start({pause:!0});else{const t=this.springs;he(en(e),n=>t[n].pause())}return this}resume(e){if(V.und(e))this.start({pause:!1});else{const t=this.springs;he(en(e),n=>t[n].resume())}return this}each(e){dr(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,ol(e,([a,l])=>{l.value=this.get(),a(l,this,this._item)}));const o=!r&&this._started,s=i||o&&n.size?this.get():null;i&&t.size&&ol(t,([a,l])=>{l.value=s,a(l,this,this._item)}),o&&(this._started=!1,ol(n,([a,l])=>{l.value=s,a(l,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;te.onFrame(this._onFrame)}};function Lg(e,t){return Promise.all(t.map(n=>ck(e,n))).then(n=>sy(e,n))}async function ck(e,t,n){const{keys:r,to:i,from:o,loop:s,onRest:a,onResolve:l}=t,u=V.obj(t.default)&&t.default;s&&(t.loop=!1),i===!1&&(t.to=null),o===!1&&(t.from=null);const c=V.arr(i)||V.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):he(k8,m=>{const x=t[m];if(V.fun(x)){const g=e._events[m];t[m]=({finished:y,cancelled:v})=>{const w=g.get(x);w?(y||(w.finished=!1),v&&(w.cancelled=!0)):g.set(x,{value:null,finished:y||!1,cancelled:v||!1})},u&&(u[m]=t[m])}});const d=e._state;t.pause===!d.paused?(d.paused=t.pause,Ua(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(r||Object.keys(e.springs)).map(m=>e.springs[m].start(t)),p=t.cancel===!0||rk(t,"cancel")===!0;(c||p&&d.asyncId)&&f.push(ok(++e._lastAsyncId,{props:t,state:d,actions:{pause:kg,resume:kg,start(m,x){p?(Kl(d,e._lastAsyncId),x(Es(e))):(m.onRest=a,x(ak(c,m,d,e)))}}})),d.paused&&await new Promise(m=>{d.resumeQueue.add(m)});const h=sy(e,await Promise.all(f));if(s&&h.finished&&!(n&&h.noop)){const m=uk(t,s,i);if(m)return hk(e,[m]),ck(e,m,!0)}return l&&te.batchedUpdates(()=>l(h,e,e.item)),h}function cb(e,t){const n={...e.springs};return t&&he(en(t),r=>{V.und(r.keys)&&(r=Ql(r)),V.obj(r.to)||(r={...r,to:void 0}),pk(n,r,i=>fk(i))}),dk(e,n),n}function dk(e,t){dr(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,fa(n,e))})}function fk(e,t){const n=new E8;return n.key=e,t&&fa(n,t),n}function pk(e,t,n){t.keys&&he(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function hk(e,t){he(t,n=>{pk(e.springs,n,r=>fk(r,e))})}var gp=({children:e,...t})=>{const n=b.useContext(Vd),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=r8(()=>({pause:r,immediate:i}),[r,i]);const{Provider:o}=Vd;return b.createElement(o,{value:t},e)},Vd=R8(gp,{});gp.Provider=Vd.Provider;gp.Consumer=Vd.Consumer;function R8(e,t){return Object.assign(e,b.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var O8=()=>{const e=[],t=function(r){t8();const i=[];return he(e,(o,s)=>{if(V.und(r))i.push(o.start());else{const a=n(r,o,s);a&&i.push(o.start(a))}}),i};t.current=e,t.add=function(r){e.includes(r)||e.push(r)},t.delete=function(r){const i=e.indexOf(r);~i&&e.splice(i,1)},t.pause=function(){return he(e,r=>r.pause(...arguments)),this},t.resume=function(){return he(e,r=>r.resume(...arguments)),this},t.set=function(r){he(e,(i,o)=>{const s=V.fun(r)?r(o,i):r;s&&i.set(s)})},t.start=function(r){const i=[];return he(e,(o,s)=>{if(V.und(r))i.push(o.start());else{const a=this._getProps(r,o,s);a&&i.push(o.start(a))}}),i},t.stop=function(){return he(e,r=>r.stop(...arguments)),this},t.update=function(r){return he(e,(i,o)=>i.update(this._getProps(r,i,o))),this};const n=function(r,i,o){return V.fun(r)?r(o,i):r};return t._getProps=n,t};function A8(e,t,n){const r=V.fun(t)&&t;r&&!n&&(n=[]);const i=b.useMemo(()=>r||arguments.length==3?O8():void 0,[]),o=b.useRef(0),s=Z2(),a=b.useMemo(()=>({ctrls:[],queue:[],flush(g,y){const v=cb(g,y);return o.current>0&&!a.queue.length&&!Object.keys(v).some(C=>!g.springs[C])?Lg(g,y):new Promise(C=>{dk(g,v),a.queue.push(()=>{C(Lg(g,y))}),s()})}}),[]),l=b.useRef([...a.ctrls]),u=[],c=Zw(e)||0;b.useMemo(()=>{he(l.current.slice(e,c),g=>{v8(g,i),g.stop(!0)}),l.current.length=e,d(c,e)},[e]),b.useMemo(()=>{d(0,Math.min(c,e))},n);function d(g,y){for(let v=g;vcb(g,u[y])),p=b.useContext(gp),h=Zw(p),m=p!==h&&g8(p);ry(()=>{o.current++,a.ctrls=l.current;const{queue:g}=a;g.length&&(a.queue=[],he(g,y=>y())),he(l.current,(y,v)=>{i==null||i.add(y),m&&y.start({default:p});const w=u[v];w&&(y8(y,w.ref),y.ref?y.queue.push(w):y.start(w))})}),J2(()=>()=>{he(a.ctrls,g=>g.stop(!0))});const x=f.map(g=>({...g}));return i?[x,i]:x}function I8(e,t){const n=V.fun(e),[[r],i]=A8(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}var $8=class extends ay{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Vl(...t);const n=this._get(),r=_g(n);iy(this,r.create(n))}advance(e){const t=this._get(),n=this.get();yr(t,n)||(Yn(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&db(this._active)&&Rh(this)}_get(){const e=V.arr(this.source)?this.source.map(Nt):en(Nt(this.source));return this.calc(...e)}_start(){this.idle&&!db(this._active)&&(this.idle=!1,he(hp(this),e=>{e.done=!1}),Gn.skipAnimation?(te.batchedUpdates(()=>this.advance()),Rh(this)):cp.start(this))}_attach(){let e=1;he(en(this.source),t=>{bn(t)&&fa(t,this),Ag(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){he(en(this.source),e=>{bn(e)&&Wl(e,this)}),this._active.clear(),Rh(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=en(this.source).reduce((t,n)=>Math.max(t,(Ag(n)?n.priority:0)+1),0))}};function L8(e){return e.idle!==!1}function db(e){return!e.size||Array.from(e).every(L8)}function Rh(e){e.idle||(e.idle=!0,he(hp(e),t=>{t.done=!0}),Ul(e,{type:"idle",parent:e}))}Gn.assign({createStringInterpolator:Y2,to:(e,t)=>new $8(e,t)});var mk=/^--/;function j8(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!mk.test(e)&&!(ll.hasOwnProperty(e)&&ll[e])?t+"px":(""+t).trim()}var fb={};function D8(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{style:r,children:i,scrollTop:o,scrollLeft:s,viewBox:a,...l}=t,u=Object.values(l),c=Object.keys(l).map(d=>n||e.hasAttribute(d)?d:fb[d]||(fb[d]=d.replace(/([A-Z])/g,f=>"-"+f.toLowerCase())));i!==void 0&&(e.textContent=i);for(const d in r)if(r.hasOwnProperty(d)){const f=j8(d,r[d]);mk.test(d)?e.style.setProperty(d,f):e.style[d]=f}c.forEach((d,f)=>{e.setAttribute(d,u[f])}),o!==void 0&&(e.scrollTop=o),s!==void 0&&(e.scrollLeft=s),a!==void 0&&e.setAttribute("viewBox",a)}var ll={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},F8=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),N8=["Webkit","Ms","Moz","O"];ll=Object.keys(ll).reduce((e,t)=>(N8.forEach(n=>e[F8(n,t)]=e[t]),e),ll);var z8=/^(matrix|translate|scale|rotate|skew)/,V8=/^(translate)/,B8=/^(rotate|skew)/,Oh=(e,t)=>V.num(e)&&e!==0?e+t:e,zc=(e,t)=>V.arr(e)?e.every(n=>zc(n,t)):V.num(e)?e===t:parseFloat(e)===t,U8=class extends mp{constructor({x:e,y:t,z:n,...r}){const i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push(s=>[`translate3d(${s.map(a=>Oh(a,"px")).join(",")})`,zc(s,0)])),dr(r,(s,a)=>{if(a==="transform")i.push([s||""]),o.push(l=>[l,l===""]);else if(z8.test(a)){if(delete r[a],V.und(s))return;const l=V8.test(a)?"px":B8.test(a)?"deg":"";i.push(en(s)),o.push(a==="rotate3d"?([u,c,d,f])=>[`rotate3d(${u},${c},${d},${Oh(f,l)})`,zc(f,0)]:u=>[`${a}(${u.map(c=>Oh(c,l)).join(",")})`,zc(u,a.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new W8(i,o)),super(r)}},W8=class extends q2{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return he(this.inputs,(n,r)=>{const i=Nt(n[0]),[o,s]=this.transforms[r](V.arr(i)?i:n.map(Nt));e+=" "+o,t=t&&s}),t?"none":e}observerAdded(e){e==1&&he(this.inputs,t=>he(t,n=>bn(n)&&fa(n,this)))}observerRemoved(e){e==0&&he(this.inputs,t=>he(t,n=>bn(n)&&Wl(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),Ul(this,e)}},H8=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];Gn.assign({batchedUpdates:xf.unstable_batchedUpdates,createStringInterpolator:Y2,colors:Az});var G8=d8(H8,{applyAnimatedValues:D8,createAnimatedStyle:e=>new U8(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),q8=G8.animated;const K8=q8(ae);function Ah({end:e,title:t,prefix:n,start:r,minWidth:i,alignSelf:o}){const{number:s}=I8({from:{number:r||0},number:e,config:{mass:1,tension:20,friction:10}});return S.jsx(Q,{sx:{display:"flex",justifyContent:"center",flexDirection:"column",flex:1,minWidth:i},children:S.jsxs(Q,{sx:{display:"flex",flex:1,alignItems:"center",flexDirection:"column"},children:[S.jsx(Q,{sx:{display:"flex",flex:1,alignItems:"flex-start",alignSelf:o||"center"},children:S.jsxs(Q,{sx:{flexDirection:"row",alignItems:"center",alignSelf:"center",justifyContent:"center",display:"flex",flex:1},children:[S.jsx(ae,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:n}),S.jsx(K8,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:s.to(a=>Math.floor(a).toLocaleString("en-US"))}),S.jsx(ae,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:"+"})]})}),S.jsx(ae,{sx:{fontSize:"calc(15px + 0.5vw)",alignSelf:o||"center"},children:t})]})})}var Iu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Js=typeof window>"u"||"Deno"in globalThis;function gn(){}function Q8(e,t){return typeof e=="function"?e(t):e}function jg(e){return typeof e=="number"&&e>=0&&e!==1/0}function gk(e,t){return Math.max(e+(t||0)-Date.now(),0)}function pb(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==ly(s,t.options))return!1}else if(!Xl(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||o&&!o(t))}function hb(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Yl(t.options.mutationKey)!==Yl(o))return!1}else if(!Xl(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ly(e,t){return((t==null?void 0:t.queryKeyHashFn)||Yl)(e)}function Yl(e){return JSON.stringify(e,(t,n)=>Fg(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Xl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Xl(e[n],t[n])):!1}function vk(e,t){if(e===t)return e;const n=mb(e)&&mb(t);if(n||Fg(e)&&Fg(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,a=n?[]:{};let l=0;for(let u=0;u{setTimeout(t,e)})}function Ng(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?vk(e,t):t}function X8(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Z8(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var uy=Symbol(),fo,ai,Ts,YS,J8=(YS=class extends Iu{constructor(){super();X(this,fo,void 0);X(this,ai,void 0);X(this,Ts,void 0);G(this,Ts,t=>{if(!Js&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,ai)||this.setEventListener(_(this,Ts))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ai))==null||t.call(this),G(this,ai,void 0))}setEventListener(t){var n;G(this,Ts,t),(n=_(this,ai))==null||n.call(this),G(this,ai,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,fo)!==t&&(G(this,fo,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,fo)=="boolean"?_(this,fo):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},fo=new WeakMap,ai=new WeakMap,Ts=new WeakMap,YS),cy=new J8,ks,li,Ms,XS,e9=(XS=class extends Iu{constructor(){super();X(this,ks,!0);X(this,li,void 0);X(this,Ms,void 0);G(this,Ms,t=>{if(!Js&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){_(this,li)||this.setEventListener(_(this,Ms))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,li))==null||t.call(this),G(this,li,void 0))}setEventListener(t){var n;G(this,Ms,t),(n=_(this,li))==null||n.call(this),G(this,li,t(this.setOnline.bind(this)))}setOnline(t){_(this,ks)!==t&&(G(this,ks,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,ks)}},ks=new WeakMap,li=new WeakMap,Ms=new WeakMap,XS),Bd=new e9;function t9(e){return Math.min(1e3*2**e,3e4)}function dy(e){return(e??"online")==="online"?Bd.isOnline():!0}var yk=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ih(e){return e instanceof yk}function xk(e){let t=!1,n=0,r=!1,i,o,s;const a=new Promise((x,g)=>{o=x,s=g}),l=x=>{var g;r||(p(new yk(x)),(g=e.abort)==null||g.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>!cy.isFocused()||e.networkMode!=="always"&&!Bd.isOnline(),f=x=>{var g;r||(r=!0,(g=e.onSuccess)==null||g.call(e,x),i==null||i(),o(x))},p=x=>{var g;r||(r=!0,(g=e.onError)==null||g.call(e,x),i==null||i(),s(x))},h=()=>new Promise(x=>{var g;i=y=>{const v=r||!d();return v&&x(y),v},(g=e.onPause)==null||g.call(e)}).then(()=>{var x;i=void 0,r||(x=e.onContinue)==null||x.call(e)}),m=()=>{if(r)return;let x;try{x=e.fn()}catch(g){x=Promise.reject(g)}Promise.resolve(x).then(f).catch(g=>{var E;if(r)return;const y=e.retry??(Js?0:3),v=e.retryDelay??t9,w=typeof v=="function"?v(n,g):v,C=y===!0||typeof y=="number"&&n{if(d())return h()}).then(()=>{t?p(g):m()})})};return dy(e.networkMode)?m():h().then(m),{promise:a,cancel:l,continue:()=>(i==null?void 0:i())?a:Promise.resolve(),cancelRetry:u,continueRetry:c}}function n9(){let e=[],t=0,n=f=>{f()},r=f=>{f()},i=f=>setTimeout(f,0);const o=f=>{i=f},s=f=>{let p;t++;try{p=f()}finally{t--,t||u()}return p},a=f=>{t?e.push(f):i(()=>{n(f)})},l=f=>(...p)=>{a(()=>{f(...p)})},u=()=>{const f=e;e=[],f.length&&i(()=>{r(()=>{f.forEach(p=>{n(p)})})})};return{batch:s,batchCalls:l,schedule:a,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{r=f},setScheduler:o}}var xt=n9(),po,ZS,wk=(ZS=class{constructor(){X(this,po,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),jg(this.gcTime)&&G(this,po,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Js?1/0:5*60*1e3))}clearGcTimeout(){_(this,po)&&(clearTimeout(_(this,po)),G(this,po,void 0))}},po=new WeakMap,ZS),_s,Rs,pn,At,ct,nu,ho,Fn,gr,JS,r9=(JS=class extends wk{constructor(t){super();X(this,Fn);X(this,_s,void 0);X(this,Rs,void 0);X(this,pn,void 0);X(this,At,void 0);X(this,ct,void 0);X(this,nu,void 0);X(this,ho,void 0);G(this,ho,!1),G(this,nu,t.defaultOptions),this.setOptions(t.options),G(this,ct,[]),G(this,pn,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,_s,t.state||i9(this.options)),this.state=_(this,_s),this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={..._(this,nu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!_(this,ct).length&&this.state.fetchStatus==="idle"&&_(this,pn).remove(this)}setData(t,n){const r=Ng(this.state.data,t,this.options);return pe(this,Fn,gr).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){pe(this,Fn,gr).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=_(this,At))==null?void 0:r.promise;return(i=_(this,At))==null||i.cancel(t),n?n.then(gn).catch(gn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,_s))}isActive(){return _(this,ct).some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?_(this,ct).some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!gk(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=_(this,ct).find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,At))==null||n.continue()}onOnline(){var n;const t=_(this,ct).find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,At))==null||n.continue()}addObserver(t){_(this,ct).includes(t)||(_(this,ct).push(t),this.clearGcTimeout(),_(this,pn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){_(this,ct).includes(t)&&(G(this,ct,_(this,ct).filter(n=>n!==t)),_(this,ct).length||(_(this,At)&&(_(this,ho)?_(this,At).cancel({revert:!0}):_(this,At).cancelRetry()),this.scheduleGc()),_(this,pn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return _(this,ct).length}invalidate(){this.state.isInvalidated||pe(this,Fn,gr).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,At))return _(this,At).continueRetry(),_(this,At).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=_(this,ct).find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i={queryKey:this.queryKey,meta:this.meta},o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(G(this,ho,!0),r.signal)})};o(i);const s=()=>!this.options.queryFn||this.options.queryFn===uy?Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`)):(G(this,ho,!1),this.options.persister?this.options.persister(this.options.queryFn,i,this):this.options.queryFn(i)),a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};o(a),(u=this.options.behavior)==null||u.onFetch(a,this),G(this,Rs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&pe(this,Fn,gr).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var p,h,m,x;Ih(f)&&f.silent||pe(this,Fn,gr).call(this,{type:"error",error:f}),Ih(f)||((h=(p=_(this,pn).config).onError)==null||h.call(p,f,this),(x=(m=_(this,pn).config).onSettled)==null||x.call(m,this.state.data,f,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return G(this,At,xk({fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,h,m,x;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}this.setData(f),(h=(p=_(this,pn).config).onSuccess)==null||h.call(p,f,this),(x=(m=_(this,pn).config).onSettled)==null||x.call(m,f,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(f,p)=>{pe(this,Fn,gr).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{pe(this,Fn,gr).call(this,{type:"pause"})},onContinue:()=>{pe(this,Fn,gr).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode})),_(this,At).promise}},_s=new WeakMap,Rs=new WeakMap,pn=new WeakMap,At=new WeakMap,ct=new WeakMap,nu=new WeakMap,ho=new WeakMap,Fn=new WeakSet,gr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...bk(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Ih(i)&&i.revert&&_(this,Rs)?{..._(this,Rs),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),xt.batch(()=>{_(this,ct).forEach(r=>{r.onQueryUpdate()}),_(this,pn).notify({query:this,type:"updated",action:t})})},JS);function bk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function i9(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Zn,eC,o9=(eC=class extends Iu{constructor(t={}){super();X(this,Zn,void 0);this.config=t,G(this,Zn,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??ly(i,n);let s=this.get(o);return s||(s=new r9({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){_(this,Zn).has(t.queryHash)||(_(this,Zn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,Zn).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,Zn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Zn).get(t)}getAll(){return[..._(this,Zn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>pb(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>pb(t,r)):n}notify(t){xt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){xt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){xt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Zn=new WeakMap,eC),Jn,ru,Qt,Os,er,Zr,tC,s9=(tC=class extends wk{constructor(t){super();X(this,er);X(this,Jn,void 0);X(this,ru,void 0);X(this,Qt,void 0);X(this,Os,void 0);this.mutationId=t.mutationId,G(this,ru,t.defaultOptions),G(this,Qt,t.mutationCache),G(this,Jn,[]),this.state=t.state||a9(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={..._(this,ru),...t},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Jn).includes(t)||(_(this,Jn).push(t),this.clearGcTimeout(),_(this,Qt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,Jn,_(this,Jn).filter(n=>n!==t)),this.scheduleGc(),_(this,Qt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Jn).length||(this.state.status==="pending"?this.scheduleGc():_(this,Qt).remove(this))}continue(){var t;return((t=_(this,Os))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,s,a,l,u,c,d,f,p,h,m,x,g,y,v,w,C,E,T;const n=()=>(G(this,Os,xk({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,k)=>{pe(this,er,Zr).call(this,{type:"failed",failureCount:P,error:k})},onPause:()=>{pe(this,er,Zr).call(this,{type:"pause"})},onContinue:()=>{pe(this,er,Zr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),_(this,Os).promise),r=this.state.status==="pending";try{if(!r){pe(this,er,Zr).call(this,{type:"pending",variables:t}),await((o=(i=_(this,Qt).config).onMutate)==null?void 0:o.call(i,t,this));const k=await((a=(s=this.options).onMutate)==null?void 0:a.call(s,t));k!==this.state.context&&pe(this,er,Zr).call(this,{type:"pending",context:k,variables:t})}const P=await n();return await((u=(l=_(this,Qt).config).onSuccess)==null?void 0:u.call(l,P,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,P,t,this.state.context)),await((p=(f=_(this,Qt).config).onSettled)==null?void 0:p.call(f,P,null,this.state.variables,this.state.context,this)),await((m=(h=this.options).onSettled)==null?void 0:m.call(h,P,null,t,this.state.context)),pe(this,er,Zr).call(this,{type:"success",data:P}),P}catch(P){try{throw await((g=(x=_(this,Qt).config).onError)==null?void 0:g.call(x,P,t,this.state.context,this)),await((v=(y=this.options).onError)==null?void 0:v.call(y,P,t,this.state.context)),await((C=(w=_(this,Qt).config).onSettled)==null?void 0:C.call(w,void 0,P,this.state.variables,this.state.context,this)),await((T=(E=this.options).onSettled)==null?void 0:T.call(E,void 0,P,t,this.state.context)),P}finally{pe(this,er,Zr).call(this,{type:"error",error:P})}}}},Jn=new WeakMap,ru=new WeakMap,Qt=new WeakMap,Os=new WeakMap,er=new WeakSet,Zr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!dy(this.options.networkMode),status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),xt.batch(()=>{_(this,Jn).forEach(r=>{r.onMutationUpdate(t)}),_(this,Qt).notify({mutation:this,type:"updated",action:t})})},tC);function a9(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,iu,mo,nC,l9=(nC=class extends Iu{constructor(t={}){super();X(this,hn,void 0);X(this,iu,void 0);X(this,mo,void 0);this.config=t,G(this,hn,[]),G(this,iu,0)}build(t,n,r){const i=new s9({mutationCache:this,mutationId:++Nu(this,iu)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){_(this,hn).push(t),this.notify({type:"added",mutation:t})}remove(t){G(this,hn,_(this,hn).filter(n=>n!==t)),this.notify({type:"removed",mutation:t})}clear(){xt.batch(()=>{_(this,hn).forEach(t=>{this.remove(t)})})}getAll(){return _(this,hn)}find(t){const n={exact:!0,...t};return _(this,hn).find(r=>hb(n,r))}findAll(t={}){return _(this,hn).filter(n=>hb(t,n))}notify(t){xt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){return G(this,mo,(_(this,mo)??Promise.resolve()).then(()=>{const t=_(this,hn).filter(n=>n.state.isPaused);return xt.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(gn)),Promise.resolve()))}).then(()=>{G(this,mo,void 0)})),_(this,mo)}},hn=new WeakMap,iu=new WeakMap,mo=new WeakMap,nC);function u9(e){return{onFetch:(t,n)=>{const r=async()=>{var h,m,x,g,y;const i=t.options,o=(x=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:x.direction,s=((g=t.state.data)==null?void 0:g.pages)||[],a=((y=t.state.data)==null?void 0:y.pageParams)||[],l={pages:[],pageParams:[]};let u=!1;const c=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},d=t.options.queryFn&&t.options.queryFn!==uy?t.options.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${t.options.queryHash}'`)),f=async(v,w,C)=>{if(u)return Promise.reject();if(w==null&&v.pages.length)return Promise.resolve(v);const E={queryKey:t.queryKey,pageParam:w,direction:C?"backward":"forward",meta:t.options.meta};c(E);const T=await d(E),{maxPages:P}=t.options,k=C?Z8:X8;return{pages:k(v.pages,T,P),pageParams:k(v.pageParams,w,P)}};let p;if(o&&s.length){const v=o==="backward",w=v?c9:vb,C={pages:s,pageParams:a},E=w(i,C);p=await f(C,E,v)}else{p=await f(l,a[0]??i.initialPageParam);const v=e??s.length;for(let w=1;w{var i,o;return(o=(i=t.options).persister)==null?void 0:o.call(i,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function vb(e,{pages:t,pageParams:n}){const r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function c9(e,{pages:t,pageParams:n}){var r;return(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n)}var Be,ui,ci,As,Is,di,$s,Ls,rC,d9=(rC=class{constructor(e={}){X(this,Be,void 0);X(this,ui,void 0);X(this,ci,void 0);X(this,As,void 0);X(this,Is,void 0);X(this,di,void 0);X(this,$s,void 0);X(this,Ls,void 0);G(this,Be,e.queryCache||new o9),G(this,ui,e.mutationCache||new l9),G(this,ci,e.defaultOptions||{}),G(this,As,new Map),G(this,Is,new Map),G(this,di,0)}mount(){Nu(this,di)._++,_(this,di)===1&&(G(this,$s,cy.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,Be).onFocus())})),G(this,Ls,Bd.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,Be).onOnline())})))}unmount(){var e,t;Nu(this,di)._--,_(this,di)===0&&((e=_(this,$s))==null||e.call(this),G(this,$s,void 0),(t=_(this,Ls))==null||t.call(this),G(this,Ls,void 0))}isFetching(e){return _(this,Be).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,ui).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,Be).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=_(this,Be).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(n.staleTime)&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return _(this,Be).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=_(this,Be).get(r.queryHash),o=i==null?void 0:i.state.data,s=Q8(t,o);if(s!==void 0)return _(this,Be).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return xt.batch(()=>_(this,Be).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,Be).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,Be);xt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,Be),r={type:"active",...e};return xt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=xt.batch(()=>_(this,Be).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(gn).catch(gn)}invalidateQueries(e={},t={}){return xt.batch(()=>{if(_(this,Be).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=xt.batch(()=>_(this,Be).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(gn)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(gn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,Be).build(this,t);return n.isStaleByTime(t.staleTime)?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(gn).catch(gn)}fetchInfiniteQuery(e){return e.behavior=u9(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(gn).catch(gn)}resumePausedMutations(){return Bd.isOnline()?_(this,ui).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,Be)}getMutationCache(){return _(this,ui)}getDefaultOptions(){return _(this,ci)}setDefaultOptions(e){G(this,ci,e)}setQueryDefaults(e,t){_(this,As).set(Yl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,As).values()];let n={};return t.forEach(r=>{Xl(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){_(this,Is).set(Yl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Is).values()];let n={};return t.forEach(r=>{Xl(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,ci).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ly(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===uy&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,ci).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,Be).clear(),_(this,ui).clear()}},Be=new WeakMap,ui=new WeakMap,ci=new WeakMap,As=new WeakMap,Is=new WeakMap,di=new WeakMap,$s=new WeakMap,Ls=new WeakMap,rC),Ft,ke,ou,It,go,js,tr,su,Ds,Fs,vo,yo,fi,Ns,xo,Wa,au,zg,lu,Vg,uu,Bg,cu,Ug,du,Wg,fu,Hg,pu,Gg,tf,Sk,iC,f9=(iC=class extends Iu{constructor(t,n){super();X(this,xo);X(this,au);X(this,lu);X(this,uu);X(this,cu);X(this,du);X(this,fu);X(this,pu);X(this,tf);X(this,Ft,void 0);X(this,ke,void 0);X(this,ou,void 0);X(this,It,void 0);X(this,go,void 0);X(this,js,void 0);X(this,tr,void 0);X(this,su,void 0);X(this,Ds,void 0);X(this,Fs,void 0);X(this,vo,void 0);X(this,yo,void 0);X(this,fi,void 0);X(this,Ns,new Set);this.options=n,G(this,Ft,t),G(this,tr,null),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,ke).addObserver(this),yb(_(this,ke),this.options)?pe(this,xo,Wa).call(this):this.updateResult(),pe(this,cu,Ug).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return qg(_(this,ke),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return qg(_(this,ke),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,pe(this,du,Wg).call(this),pe(this,fu,Hg).call(this),_(this,ke).removeObserver(this)}setOptions(t,n){const r=this.options,i=_(this,ke);if(this.options=_(this,Ft).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");pe(this,pu,Gg).call(this),_(this,ke).setOptions(this.options),r._defaulted&&!Dg(this.options,r)&&_(this,Ft).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,ke),observer:this});const o=this.hasListeners();o&&xb(_(this,ke),i,this.options,r)&&pe(this,xo,Wa).call(this),this.updateResult(n),o&&(_(this,ke)!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&pe(this,au,zg).call(this);const s=pe(this,lu,Vg).call(this);o&&(_(this,ke)!==i||this.options.enabled!==r.enabled||s!==_(this,fi))&&pe(this,uu,Bg).call(this,s)}getOptimisticResult(t){const n=_(this,Ft).getQueryCache().build(_(this,Ft),t),r=this.createResult(n,t);return h9(this,r)&&(G(this,It,r),G(this,js,this.options),G(this,go,_(this,ke).state)),r}getCurrentResult(){return _(this,It)}trackResult(t,n){const r={};return Object.keys(t).forEach(i=>{Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),r}trackProp(t){_(this,Ns).add(t)}getCurrentQuery(){return _(this,ke)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=_(this,Ft).defaultQueryOptions(t),r=_(this,Ft).getQueryCache().build(_(this,Ft),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){return pe(this,xo,Wa).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,It)))}createResult(t,n){var T;const r=_(this,ke),i=this.options,o=_(this,It),s=_(this,go),a=_(this,js),u=t!==r?t.state:_(this,ou),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const P=this.hasListeners(),k=!P&&yb(t,n),M=P&&xb(t,r,n,i);(k||M)&&(d={...d,...bk(c.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:h,errorUpdatedAt:m,status:x}=d;if(n.select&&d.data!==void 0)if(o&&d.data===(s==null?void 0:s.data)&&n.select===_(this,su))p=_(this,Ds);else try{G(this,su,n.select),p=n.select(d.data),p=Ng(o==null?void 0:o.data,p,n),G(this,Ds,p),G(this,tr,null)}catch(P){G(this,tr,P)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&x==="pending"){let P;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))P=o.data;else if(P=typeof n.placeholderData=="function"?n.placeholderData((T=_(this,Fs))==null?void 0:T.state.data,_(this,Fs)):n.placeholderData,n.select&&P!==void 0)try{P=n.select(P),G(this,tr,null)}catch(k){G(this,tr,k)}P!==void 0&&(x="success",p=Ng(o==null?void 0:o.data,P,n),f=!0)}_(this,tr)&&(h=_(this,tr),p=_(this,Ds),m=Date.now(),x="error");const g=d.fetchStatus==="fetching",y=x==="pending",v=x==="error",w=y&&g,C=p!==void 0;return{status:x,fetchStatus:d.fetchStatus,isPending:y,isSuccess:x==="success",isError:v,isInitialLoading:w,isLoading:w,data:p,dataUpdatedAt:d.dataUpdatedAt,error:h,errorUpdatedAt:m,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:v&&!C,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:v&&C,isStale:fy(t,n),refetch:this.refetch}}updateResult(t){const n=_(this,It),r=this.createResult(_(this,ke),this.options);if(G(this,go,_(this,ke).state),G(this,js,this.options),_(this,go).data!==void 0&&G(this,Fs,_(this,ke)),Dg(r,n))return;G(this,It,r);const i={},o=()=>{if(!n)return!0;const{notifyOnChangeProps:s}=this.options,a=typeof s=="function"?s():s;if(a==="all"||!a&&!_(this,Ns).size)return!0;const l=new Set(a??_(this,Ns));return this.options.throwOnError&&l.add("error"),Object.keys(_(this,It)).some(u=>{const c=u;return _(this,It)[c]!==n[c]&&l.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),pe(this,tf,Sk).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&pe(this,cu,Ug).call(this)}},Ft=new WeakMap,ke=new WeakMap,ou=new WeakMap,It=new WeakMap,go=new WeakMap,js=new WeakMap,tr=new WeakMap,su=new WeakMap,Ds=new WeakMap,Fs=new WeakMap,vo=new WeakMap,yo=new WeakMap,fi=new WeakMap,Ns=new WeakMap,xo=new WeakSet,Wa=function(t){pe(this,pu,Gg).call(this);let n=_(this,ke).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(gn)),n},au=new WeakSet,zg=function(){if(pe(this,du,Wg).call(this),Js||_(this,It).isStale||!jg(this.options.staleTime))return;const n=gk(_(this,It).dataUpdatedAt,this.options.staleTime)+1;G(this,vo,setTimeout(()=>{_(this,It).isStale||this.updateResult()},n))},lu=new WeakSet,Vg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,ke)):this.options.refetchInterval)??!1},uu=new WeakSet,Bg=function(t){pe(this,fu,Hg).call(this),G(this,fi,t),!(Js||this.options.enabled===!1||!jg(_(this,fi))||_(this,fi)===0)&&G(this,yo,setInterval(()=>{(this.options.refetchIntervalInBackground||cy.isFocused())&&pe(this,xo,Wa).call(this)},_(this,fi)))},cu=new WeakSet,Ug=function(){pe(this,au,zg).call(this),pe(this,uu,Bg).call(this,pe(this,lu,Vg).call(this))},du=new WeakSet,Wg=function(){_(this,vo)&&(clearTimeout(_(this,vo)),G(this,vo,void 0))},fu=new WeakSet,Hg=function(){_(this,yo)&&(clearInterval(_(this,yo)),G(this,yo,void 0))},pu=new WeakSet,Gg=function(){const t=_(this,Ft).getQueryCache().build(_(this,Ft),this.options);if(t===_(this,ke))return;const n=_(this,ke);G(this,ke,t),G(this,ou,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},tf=new WeakSet,Sk=function(t){xt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(_(this,It))}),_(this,Ft).getQueryCache().notify({query:_(this,ke),type:"observerResultsUpdated"})})},iC);function p9(e,t){return t.enabled!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function yb(e,t){return p9(e,t)||e.state.data!==void 0&&qg(e,t,t.refetchOnMount)}function qg(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&fy(e,t)}return!1}function xb(e,t,n,r){return(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&fy(e,n)}function fy(e,t){return t.enabled!==!1&&e.isStaleByTime(t.staleTime)}function h9(e,t){return!Dg(e.getCurrentResult(),t)}var Ck=b.createContext(void 0),m9=e=>{const t=b.useContext(Ck);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},g9=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),S.jsx(Ck.Provider,{value:e,children:t})),Ek=b.createContext(!1),v9=()=>b.useContext(Ek);Ek.Provider;function y9(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var x9=b.createContext(y9()),w9=()=>b.useContext(x9);function b9(e,t){return typeof e=="function"?e(...t):!!e}var S9=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},C9=e=>{b.useEffect(()=>{e.clearReset()},[e])},E9=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&b9(n,[e.error,r]),P9=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},T9=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,k9=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function M9(e,t,n){const r=m9(n),i=v9(),o=w9(),s=r.defaultQueryOptions(e);s._optimisticResults=i?"isRestoring":"optimistic",P9(s),S9(s,o),C9(o);const[a]=b.useState(()=>new t(r,s)),l=a.getOptimisticResult(s);if(b.useSyncExternalStore(b.useCallback(u=>{const c=i?()=>{}:a.subscribe(xt.batchCalls(u));return a.updateResult(),c},[a,i]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),b.useEffect(()=>{a.setOptions(s,{listeners:!1})},[s,a]),T9(s,l))throw k9(s,a,o);if(E9({result:l,errorResetBoundary:o,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash)}))throw l.error;return s.notifyOnChangeProps?l:a.trackResult(l)}function Pk(e,t){return M9(e,f9,t)}async function _9(){try{return(await _u.get("/projects")).data}catch{return[{_id:"66292f8768dc79f8d04536ad",name:"Space Safety Visualizer",organization:"Amazon",description:"The Fall 2023 Amazon project was a low Earth orbit satellite visualization system. This was designed for Project Kuiper as a way to visualize satellite collision risk to non-technical stakeholders at Amazon.",members:[{memberInfo:{_id:"66292f8768dc79f8d0453673",firstName:"Samai",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/8a7fb3e66260f050539a6d8021a733635298861369c9ba60278abeb78e8c6216"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368b",firstName:"Ishan",lastName:"Revankar",profileUrl:"https://gravatar.com/avatar/66e5f9478a8c5c1090326d16f13ac2f9d56540fbc38c86e0b16061dd4d6c31d9"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045368d",firstName:"Nitish",lastName:"Vobilisetti",profileUrl:"https://gravatar.com/avatar/eb8416def562dd101a91cb9ad66731467420be6dafff0a691f33b184d796d7f5"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368f",firstName:"Neil",lastName:"Hajela",profileUrl:"https://gravatar.com/avatar/9ec79c36a878d718e93405ec8431d2f414d1e6e021376763b85ec2555418bcd2"},role:"Engineer"},{memberInfo:{_id:"66292f8768dc79f8d0453691",firstName:"Hadijat",lastName:"Oke",profileUrl:"https://gravatar.com/avatar/4e7a51f508246f5a290cd93aead661a323322a0fecc28e2ebb44714f5825a7ef"},role:"Project Manager"},{memberInfo:{_id:"66292f8768dc79f8d0453693",firstName:"Nand",lastName:"Vinchhi",profileUrl:"https://gravatar.com/avatar/5c7e99e4bd1a8bc12f56605f7ec6a09a95472ebb07dd30f4d4e1ef134655c35a"},role:"Tech Lead"}],cover:null,semester:"Fall 2023",__v:0},{_id:"66292f8768dc79f8d04536b9",name:"Pattern of Life Application",organization:"Praxis Engineering",description:`The Fall 2023 GDIT project was a "pattern of life" understanding system. This Android application collects key data metrics from users including location, application usage, and message data and coallates it to form an understanding of a user's pattern of life.`,members:[{memberInfo:{_id:"66292f8768dc79f8d0453670",firstName:"Aidan",lastName:"Melvin",profileUrl:"https://gravatar.com/avatar/5e99dcb1de10b83cd0e90620d77b046c13ff633b688f72dbb5a3c22202b2f1d7"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453695",firstName:"Mohammad",lastName:"Abd-Elmoniem",profileUrl:"https://gravatar.com/avatar/767766ff1d10a3d06a4e222b42a3ae7ff16a11bb83e25385202089a77efab30e"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453697",firstName:"Nishkal",lastName:"Hundia",profileUrl:"https://gravatar.com/avatar/bb1facd1c2182bdc9f840b9b4c396e67ea94ad2395f76a4fac43a7d43b6a437e"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453699",firstName:"Ojas",lastName:"Jagtap",profileUrl:"https://gravatar.com/avatar/68e78c20b977b3ff0f44d1e1f9f5a0ec6be745620062d6709fcbf8a73ff773df"},role:"Full-stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369b",firstName:"Josiah",lastName:"Lim",profileUrl:"https://gravatar.com/avatar/b277c291ff3c46b46124f62ae5f8d9fc5cd052300814f5bdbd89580759bcc027"},role:"ML Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369d",firstName:"Om",lastName:"Duggineni",profileUrl:"https://gravatar.com/avatar/00b197895f49ed34677306f551bddceaaa7c65756a238e2aee72b6ef95fd8525"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369f",firstName:"Dev",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/fb0bc07ce80323d4513cf2b60118de6dca5dd70a9edf08d12aa2b3c4451733ab"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a1",firstName:"Ananth",lastName:"Sankaralingam",profileUrl:"https://gravatar.com/avatar/ef0cd3559a6c30fc53bebd50c1533136de0d10c69b6b7a5df1fbe607b6b19e7d"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a3",firstName:"Advik",lastName:"Sachdeva",profileUrl:"https://gravatar.com/avatar/3b4653ea5eec167a3498fce281baf6ad961c465805b7758b0d77a090a3b666eb"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a5",firstName:"Rahul",lastName:"Ramasubramanian",profileUrl:"https://gravatar.com/avatar/9b42bb4f4bdb330a258afce57cee5b14b67de14c5ebbcc86814fcd270fff669c"},role:"Full-Stack Engineer"}],cover:null,semester:"Fall 2023",__v:0}]}}async function R9(e){try{return(await _u.get(`/projects/${e}`)).data}catch{return{_id:"66292f8768dc79f8d04536ad",name:"Space Safety Visualizer",organization:"Amazon",description:"The Fall 2023 Amazon project was a low Earth orbit satellite visualization system. This was designed for Project Kuiper as a way to visualize satellite collision risk to non-technical stakeholders at Amazon.",members:[{memberInfo:{_id:"66292f8768dc79f8d0453673",firstName:"Samai",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/8a7fb3e66260f050539a6d8021a733635298861369c9ba60278abeb78e8c6216"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368b",firstName:"Ishan",lastName:"Revankar",profileUrl:"https://gravatar.com/avatar/66e5f9478a8c5c1090326d16f13ac2f9d56540fbc38c86e0b16061dd4d6c31d9"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045368d",firstName:"Nitish",lastName:"Vobilisetti",profileUrl:"https://gravatar.com/avatar/eb8416def562dd101a91cb9ad66731467420be6dafff0a691f33b184d796d7f5"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368f",firstName:"Neil",lastName:"Hajela",profileUrl:"https://gravatar.com/avatar/9ec79c36a878d718e93405ec8431d2f414d1e6e021376763b85ec2555418bcd2"},role:"Engineer"},{memberInfo:{_id:"66292f8768dc79f8d0453691",firstName:"Hadijat",lastName:"Oke",profileUrl:"https://gravatar.com/avatar/4e7a51f508246f5a290cd93aead661a323322a0fecc28e2ebb44714f5825a7ef"},role:"Project Manager"},{memberInfo:{_id:"66292f8768dc79f8d0453693",firstName:"Nand",lastName:"Vinchhi",profileUrl:"https://gravatar.com/avatar/5c7e99e4bd1a8bc12f56605f7ec6a09a95472ebb07dd30f4d4e1ef134655c35a"},role:"Tech Lead"}],demo:"https://www.youtube.com/embed/UFwHEMrSO-M?si=NmlpAyAtZwOLEPiE",cover:null,semester:"Fall 2023",__v:0}}}const Tk={getAll:_9,getById:R9};var Ha={},kk={},vp={},as=ge&&ge.__assign||function(){return as=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(!((c=h==null?void 0:h.in)===null||c===void 0)&&c.style)&&(h.in.style.transform=function(v){return m.in.map(function(w){return wb(w,v)}).join(" ")}),m.out.length>0&&(!((d=h==null?void 0:h.out)===null||d===void 0)&&d.style)&&(h.out.style.transform=function(v){return m.out.map(function(w){return wb(w,v)}).join(" ")}),h};vp.batch=O9;var _i={},Lo={},py={},Kg=ge&&ge.__assign||function(){return Kg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u")){if(t==="height")return bb&&Sb?window.screen.height-80:window.innerHeight;if(t==="width")return bb&&Sb?window.screen.width:window.innerWidth}}});hy.default=I9;var yp={};Object.defineProperty(yp,"__esModule",{value:!0});yp.SimpleInterpolation=void 0;var $9=function(e,t,n){return e*(1-n)+t*n};yp.SimpleInterpolation=$9;(function(e){var t=ge&&ge.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0}),e.computeStyle=e.SimpleInterpolation=e.environment=void 0;var n=t(py);e.computeStyle=n.default;var r=t(hy);e.environment=r.default;var i=yp;Object.defineProperty(e,"SimpleInterpolation",{enumerable:!0,get:function(){return i.SimpleInterpolation}})})(Lo);Object.defineProperty(_i,"__esModule",{value:!0});_i.FadeOut=_i.FadeIn=_i.Fade=void 0;var Ud=Lo,L9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Ud.SimpleInterpolation)(e,t,n)}}},out:{style:{opacity:function(n){return(0,Ud.SimpleInterpolation)(t,e,n)}}}}};_i.Fade=L9;var j9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Ud.SimpleInterpolation)(e,t,n)}}}}};_i.FadeIn=j9;var D9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{out:{style:{opacity:function(n){return(0,Ud.SimpleInterpolation)(e,t,n)}}}}};_i.FadeOut=D9;var Ri={};Object.defineProperty(Ri,"__esModule",{value:!0});Ri.MoveOut=Ri.MoveIn=Ri.Move=void 0;var xi=Lo,F9=function(e,t,n,r){return e===void 0&&(e=0),t===void 0&&(t=100),n===void 0&&(n=null),r===void 0&&(r=-100),{in:{style:{transform:function(i){return"translate(".concat((0,xi.SimpleInterpolation)(e,0,i),"px, ").concat((0,xi.SimpleInterpolation)(t,0,i),"px)")}}},out:{style:{transform:function(i){return"translate(".concat((0,xi.SimpleInterpolation)(0,n||e,i),"px, ").concat((0,xi.SimpleInterpolation)(0,r||t,i),"px)")}}}}};Ri.Move=F9;var N9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=100),{in:{style:{transform:function(n){return"translate(".concat((0,xi.SimpleInterpolation)(e,0,n),"px, ").concat((0,xi.SimpleInterpolation)(t,0,n),"px)")}}}}};Ri.MoveIn=N9;var z9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=-100),{out:{style:{transform:function(n){return"translate(".concat((0,xi.SimpleInterpolation)(0,e,n),"px, ").concat((0,xi.SimpleInterpolation)(0,t,n),"px)")}}}}};Ri.MoveOut=z9;var Oi={};Object.defineProperty(Oi,"__esModule",{value:!0});Oi.StickyOut=Oi.StickyIn=Oi.Sticky=void 0;var En=Lo,V9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}}}};Oi.Sticky=V9;var B9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"absolute"}}}};Oi.StickyIn=B9;var U9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:"".concat(e*En.environment.width/100,"px"),top:"".concat(t*En.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"absolute"}},out:{style:{left:"".concat(e*En.environment.width/100,"px"),top:"".concat(t*En.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"fixed"}}}};Oi.StickyOut=U9;var Ai={};Object.defineProperty(Ai,"__esModule",{value:!0});Ai.ZoomOut=Ai.ZoomIn=Ai.Zoom=void 0;var Wd=Lo,W9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,Wd.SimpleInterpolation)(e,t,n),")")}}},out:{style:{transform:function(n){return"scale(".concat((0,Wd.SimpleInterpolation)(t,e,n),")")}}}}};Ai.Zoom=W9;var H9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,Wd.SimpleInterpolation)(e,t,n),")")}}}}};Ai.ZoomIn=H9;var G9=function(e,t){return e===void 0&&(e=1),t===void 0&&(t=10),{out:{style:{transform:function(n){return"scale(".concat((0,Wd.SimpleInterpolation)(e,t,n),")")}}}}};Ai.ZoomOut=G9;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ZoomOut=e.ZoomIn=e.Zoom=e.StickyOut=e.StickyIn=e.Sticky=e.MoveOut=e.MoveIn=e.Move=e.FadeOut=e.FadeIn=e.Fade=e.batch=void 0;var t=vp;Object.defineProperty(e,"batch",{enumerable:!0,get:function(){return t.batch}});var n=_i;Object.defineProperty(e,"Fade",{enumerable:!0,get:function(){return n.Fade}}),Object.defineProperty(e,"FadeIn",{enumerable:!0,get:function(){return n.FadeIn}}),Object.defineProperty(e,"FadeOut",{enumerable:!0,get:function(){return n.FadeOut}});var r=Ri;Object.defineProperty(e,"Move",{enumerable:!0,get:function(){return r.Move}}),Object.defineProperty(e,"MoveIn",{enumerable:!0,get:function(){return r.MoveIn}}),Object.defineProperty(e,"MoveOut",{enumerable:!0,get:function(){return r.MoveOut}});var i=Oi;Object.defineProperty(e,"Sticky",{enumerable:!0,get:function(){return i.Sticky}}),Object.defineProperty(e,"StickyIn",{enumerable:!0,get:function(){return i.StickyIn}}),Object.defineProperty(e,"StickyOut",{enumerable:!0,get:function(){return i.StickyOut}});var o=Ai;Object.defineProperty(e,"Zoom",{enumerable:!0,get:function(){return o.Zoom}}),Object.defineProperty(e,"ZoomIn",{enumerable:!0,get:function(){return o.ZoomIn}}),Object.defineProperty(e,"ZoomOut",{enumerable:!0,get:function(){return o.ZoomOut}})})(kk);var my={},xp={},wp={},Ni={},gy={};Object.defineProperty(gy,"__esModule",{value:!0});var q9={currentY:0,viewportHeight:0,totalPage:0,totalHeight:0,totalProgress:0,realPage:0,currentPage:0,currentProgress:0};gy.default=q9;var vy={};Object.defineProperty(vy,"__esModule",{value:!0});var K9={page:0};vy.default=K9;var Mk=ge&&ge.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ni,"__esModule",{value:!0});Ni.initialScrollPage=Ni.initialScrollData=void 0;var Q9=Mk(gy);Ni.initialScrollData=Q9.default;var Y9=Mk(vy);Ni.initialScrollPage=Y9.default;Object.defineProperty(wp,"__esModule",{value:!0});wp.ScrollDataContext=void 0;var X9=b,Z9=Ni;wp.ScrollDataContext=(0,X9.createContext)(Z9.initialScrollData);var bp={};Object.defineProperty(bp,"__esModule",{value:!0});bp.ScrollPageContext=void 0;var J9=b,eV=Ni;bp.ScrollPageContext=(0,J9.createContext)(eV.initialScrollPage);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollPageContext=e.ScrollDataContext=void 0;var t=wp;Object.defineProperty(e,"ScrollDataContext",{enumerable:!0,get:function(){return t.ScrollDataContext}});var n=bp;Object.defineProperty(e,"ScrollPageContext",{enumerable:!0,get:function(){return n.ScrollPageContext}})})(xp);var ls=ge&&ge.__assign||function(){return ls=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){const o=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=vV(l),l in Tb)return;Tb[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!r)for(let p=o.length-1;p>=0;p--){const h=o[p];if(h.href===l&&(!u||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":gV,u||(f.as="script",f.crossOrigin=""),f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),u)return new Promise((p,h)=>{f.addEventListener("load",p),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>t()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})},zh="generated",_G="pointerdown",RG="pointerup",OG="pointerleave",AG="pointerout",IG="pointermove",$G="touchstart",LG="touchend",jG="touchmove",DG="touchcancel",FG="resize",NG="visibilitychange",wy="tsParticles - Error",us=100,kb=.5,_k=1e3;function zG(e){return typeof e=="boolean"}function Zl(e){return typeof e=="string"}function pa(e){return typeof e=="number"}function pc(e){return typeof e=="object"&&e!==null}function jo(e){return Array.isArray(e)}const Xn={x:0,y:0,z:0},Mb=2,yV=1;class jn{constructor(t,n,r){if(this._updateFromAngle=(i,o)=>{this.x=Math.cos(i)*o,this.y=Math.sin(i)*o},!pa(t)&&t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:Xn.z}else if(t!==void 0&&n!==void 0)this.x=t,this.y=n,this.z=r??Xn.z;else throw new Error(`${wy} Vector3d not initialized correctly`)}static get origin(){return jn.create(Xn.x,Xn.y,Xn.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return jn.create(t.x,t.y,t.z)}static create(t,n,r){return new jn(t,n,r)}add(t){return jn.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return jn.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return jn.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**Mb+this.y**Mb}mult(t){return jn.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=0&&this.multTo(yV/t)}rotate(t){return jn.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),Xn.z)}setTo(t){this.x=t.x,this.y=t.y;const n=t;this.z=n.z?n.z:Xn.z}sub(t){return jn.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class Co extends jn{constructor(t,n){super(t,n,Xn.z)}static get origin(){return Co.create(Xn.x,Xn.y)}static clone(t){return Co.create(t.x,t.y)}static create(t,n){return new Co(t,n)}}let xV=Math.random;const Qg=new Map,wV=2,bV=Math.PI*wV;function VG(e,t){Qg.get(e)||Qg.set(e,t)}function BG(e){return Qg.get(e)??(t=>t)}function fr(){return by(xV(),0,1-Number.EPSILON)}function by(e,t,n){return Math.min(Math.max(e,t),n)}function Vh(e,t,n,r){return Math.floor((e*n+t*r)/(n+r))}function Ps(e){const t=Cp(e),n=0;let r=Sp(e);return t===r&&(r=n),fr()*(t-r)+r}function pt(e){return pa(e)?e:Ps(e)}function Sp(e){return pa(e)?e:e.min}function Cp(e){return pa(e)?e:e.max}function cl(e,t){if(e===t||t===void 0&&pa(e))return e;const n=Sp(e),r=Cp(e);return t!==void 0?{min:Math.min(n,t),max:Math.max(r,t)}:cl(n,r)}function Rk(e,t){const n=e.x-t.x,r=e.y-t.y,i=2;return{dx:n,dy:r,distance:Math.sqrt(n**i+r**i)}}function UG(e,t){return Rk(e,t).distance}function SV(e){return e*Math.PI/180}function WG(e,t,n){if(pa(e))return SV(e);const r=0,i=.5,o=.25,s=i+o;switch(e){case"top":return-Math.PI*i;case"top-right":return-Math.PI*o;case"right":return r;case"bottom-right":return Math.PI*o;case"bottom":return Math.PI*i;case"bottom-left":return Math.PI*s;case"left":return Math.PI;case"top-left":return-Math.PI*s;case"inside":return Math.atan2(n.y-t.y,n.x-t.x);case"outside":return Math.atan2(t.y-n.y,t.x-n.x);default:return fr()*bV}}function HG(e){const t=Co.origin;return t.length=1,t.angle=e,t}function _b(e,t,n,r){return Co.create(e.x*(n-r)/(n+r)+t.x*2*r/(n+r),e.y)}function GG(e){var t,n;return{x:((t=e.position)==null?void 0:t.x)??fr()*e.size.width,y:((n=e.position)==null?void 0:n.y)??fr()*e.size.height}}function Ok(e){return e?e.endsWith("%")?parseFloat(e)/us:parseFloat(e):1}const CV={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function EV(){return CV}function Rb(e){const t={bounced:!1},{pSide:n,pOtherSide:r,rectSide:i,rectOtherSide:o,velocity:s,factor:a}=e,l=.5,u=0;return r.mino.max||r.maxo.max||(n.max>=i.min&&n.max<=(i.max+i.min)*l&&s>u||n.min<=i.max&&n.min>(i.max+i.min)*l&&se.matches(r));return jo(n)?n.some(r=>r):n}function Ep(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function TV(){return!Ep()&&typeof matchMedia<"u"}function qG(e){if(TV())return matchMedia(e)}function KG(e){if(!(Ep()||typeof IntersectionObserver>"u"))return new IntersectionObserver(e)}function QG(e){if(!(Ep()||typeof MutationObserver>"u"))return new MutationObserver(e)}function Ak(e,t){return e===t||jo(t)&&t.indexOf(e)>-1}async function YG(e,t){try{await document.fonts.load(`${t??"400"} 36px '${e??"Verdana"}'`)}catch{}}function kV(e){return Math.floor(fr()*e.length)}function Sy(e,t,n=!0){return e[t!==void 0&&n?t%e.length:kV(e)]}function XG(e,t,n,r,i){return MV(Ik(e,r??0),t,n,i)}function MV(e,t,n,r){let i=!0;return(!r||r==="bottom")&&(i=e.topn.x),i&&(!r||r==="right")&&(i=e.leftn.y),i}function Ik(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function Ob(e,...t){for(const n of t){if(n==null)continue;if(!pc(n)){e=n;continue}const r=Array.isArray(n);r&&(pc(e)||!e||!Array.isArray(e))?e=[]:!r&&(pc(e)||!e||Array.isArray(e))&&(e={});for(const i in n){if(i==="__proto__")continue;const o=n,s=o[i],a=e;a[i]=pc(s)&&Array.isArray(s)?s.map(l=>Ob(a[i],l)):Ob(a[i],s)}}return e}function ZG(e,t){return!!Lk(t,n=>n.enable&&Ak(e,n.mode))}function JG(e,t,n){Jl(t,r=>{const i=r.mode;r.enable&&Ak(e,i)&&_V(r,n)})}function _V(e,t){const n=e.selectors;Jl(n,r=>{t(r,e)})}function eq(e,t){if(!(!t||!e))return Lk(e,n=>PV(t,n.selectors))}function tq(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:Co.create(pt(e.options.bounce.horizontal.value),pt(e.options.bounce.vertical.value))}}function nq(e,t){const{x:n,y:r}=e.velocity.sub(t.velocity),[i,o]=[e.position,t.position],{dx:s,dy:a}=Rk(o,i);if(n*s+r*a<0)return;const u=-Math.atan2(a,s),c=e.mass,d=t.mass,f=e.velocity.rotate(u),p=t.velocity.rotate(u),h=_b(f,p,c,d),m=_b(p,f,c,d),x=h.rotate(-u),g=m.rotate(-u);e.velocity.x=x.x*e.factor.x,e.velocity.y=x.y*e.factor.y,t.velocity.x=g.x*t.factor.x,t.velocity.y=g.y*t.factor.y}function rq(e,t){const n=e.getPosition(),r=e.getRadius(),i=Ik(n,r),o=e.options.bounce,s=Rb({pSide:{min:i.left,max:i.right},pOtherSide:{min:i.top,max:i.bottom},rectSide:{min:t.left,max:t.right},rectOtherSide:{min:t.top,max:t.bottom},velocity:e.velocity.x,factor:pt(o.horizontal.value)});s.bounced&&(s.velocity!==void 0&&(e.velocity.x=s.velocity),s.position!==void 0&&(e.position.x=s.position));const a=Rb({pSide:{min:i.top,max:i.bottom},pOtherSide:{min:i.left,max:i.right},rectSide:{min:t.top,max:t.bottom},rectOtherSide:{min:t.left,max:t.right},velocity:e.velocity.y,factor:pt(o.vertical.value)});a.bounced&&(a.velocity!==void 0&&(e.velocity.y=a.velocity),a.position!==void 0&&(e.position.y=a.position))}function Jl(e,t){return jo(e)?e.map((r,i)=>t(r,i)):t(e,0)}function $k(e,t,n){return jo(e)?Sy(e,t,n):e}function Lk(e,t){return jo(e)?e.find((r,i)=>t(r,i)):t(e,0)?e:void 0}function iq(e,t){const n=e.value,r=e.animation,i={delayTime:pt(r.delay)*_k,enable:r.enable,value:pt(e.value)*t,max:Cp(n)*t,min:Sp(n)*t,loops:0,maxLoops:pt(r.count),time:0},o=1;if(r.enable){switch(i.decay=o-pt(r.decay),r.mode){case"increase":i.status="increasing";break;case"decrease":i.status="decreasing";break;case"random":i.status=fr()>=kb?"increasing":"decreasing";break}const s=r.mode==="auto";switch(r.startValue){case"min":i.value=i.min,s&&(i.status="increasing");break;case"max":i.value=i.max,s&&(i.status="decreasing");break;case"random":default:i.value=Ps(i),s&&(i.status=fr()>=kb?"increasing":"decreasing");break}}return i.initialValue=i.value,i}function RV(e,t){if(!(e.mode==="percent")){const{mode:i,...o}=e;return o}return"x"in e?{x:e.x/us*t.width,y:e.y/us*t.height}:{width:e.width/us*t.width,height:e.height/us*t.height}}function oq(e,t){return RV(e,t)}function OV(e,t,n,r,i){switch(t){case"max":n>=i&&e.destroy();break;case"min":n<=r&&e.destroy();break}}function sq(e,t,n,r,i){if(e.destroyed||!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const c=(t.velocity??0)*i.factor,d=t.min,f=t.max,p=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=i.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case"increasing":t.value>=f?(n?t.status="decreasing":t.value-=f,t.loops||(t.loops=0),t.loops++):t.value+=c;break;case"decreasing":t.value<=d?(n?t.status="increasing":t.value+=f,t.loops||(t.loops=0),t.loops++):t.value-=c}t.velocity&&p!==1&&(t.velocity*=p),OV(e,r,t.value,d,f),e.destroyed||(t.value=by(t.value,d,f))}}class AV{constructor(){this._listeners=new Map}addEventListener(t,n){this.removeEventListener(t,n);let r=this._listeners.get(t);r||(r=[],this._listeners.set(t,r)),r.push(n)}dispatchEvent(t,n){const r=this._listeners.get(t);r==null||r.forEach(i=>i(n))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,n){const r=this._listeners.get(t);if(!r)return;const i=r.length,o=r.indexOf(n);if(o<0)return;const a=1;i===a?this._listeners.delete(t):r.splice(o,a)}}async function Bh(e,t,n,r=!1){let i=t.get(e);return(!i||r)&&(i=await Promise.all([...n.values()].map(o=>o(e))),t.set(e,i)),i}async function IV(e){const t=$k(e.url,e.index);if(!t)return e.fallback;const n=await fetch(t);return n.ok?await n.json():(EV().error(`${wy} ${n.status} while retrieving config file`),e.fallback)}class $V{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new AV,this._initialized=!1,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[n,r]of this._configs)t[n]=r;return t}get version(){return"3.3.0"}addConfig(t){const n=t.key??t.name??"default";this._configs.set(n,t),this._eventDispatcher.dispatchEvent("configAdded",{data:{name:n,config:t}})}async addEffect(t,n,r=!0){Jl(t,i=>{this.getEffectDrawer(i)||this.effectDrawers.set(i,n)}),await this.refresh(r)}addEventListener(t,n){this._eventDispatcher.addEventListener(t,n)}async addInteractor(t,n,r=!0){this._initializers.interactors.set(t,n),await this.refresh(r)}async addMover(t,n,r=!0){this._initializers.movers.set(t,n),await this.refresh(r)}async addParticleUpdater(t,n,r=!0){this._initializers.updaters.set(t,n),await this.refresh(r)}async addPathGenerator(t,n,r=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,n),await this.refresh(r)}async addPlugin(t,n=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(n)}async addPreset(t,n,r=!1,i=!0){(r||!this.getPreset(t))&&this.presets.set(t,n),await this.refresh(i)}async addShape(t,n,r=!0){Jl(t,i=>{this.getShapeDrawer(i)||this.shapeDrawers.set(i,n)}),await this.refresh(r)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,n){this._eventDispatcher.dispatchEvent(t,n)}dom(){return this._domArray}domItem(t){const n=this.dom(),r=n[t];if(!r||r.destroyed){n.splice(t,1);return}return r}async getAvailablePlugins(t){const n=new Map;for(const r of this.plugins)r.needsPlugin(t.actualOptions)&&n.set(r.id,await r.getPlugin(t));return n}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,n=!1){return await Bh(t,this.interactors,this._initializers.interactors,n)}async getMovers(t,n=!1){return await Bh(t,this.movers,this._initializers.movers,n)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(n=>n.id===t)}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,n=!1){return await Bh(t,this.updaters,this._initializers.updaters,n)}init(){this._initialized||(this._initialized=!0)}async load(t){var m;const r=t.id??((m=t.element)==null?void 0:m.id)??`tsparticles${Math.floor(fr()*1e4)}`,{index:i,url:o}=t,s=o?await IV({fallback:t.options,url:o,index:i}):t.options;let a=t.element??document.getElementById(r);a||(a=document.createElement("div"),a.id=r,document.body.append(a));const l=$k(s,i),u=this.dom(),c=u.findIndex(x=>x.id.description===r),d=0;if(c>=d){const x=this.domItem(c);x&&!x.destroyed&&(x.destroy(),u.splice(c,1))}let f;if(a.tagName.toLowerCase()==="canvas")f=a,f.dataset[zh]="false";else{const x=a.getElementsByTagName("canvas");x.length?(f=x[0],f.dataset[zh]="false"):(f=document.createElement("canvas"),f.dataset[zh]="true",a.appendChild(f))}f.style.width||(f.style.width="100%"),f.style.height||(f.style.height="100%");const{Container:p}=await Te(()=>import("./Container-8nUmEQKU.js"),__vite__mapDeps([0,1,2,3,4])),h=new p(this,r,l);return c>=d?u.splice(c,0,h):u.push(h),h.canvas.loadCanvas(f),await h.start(),h}loadOptions(t,n){for(const r of this.plugins)r.loadOptions(t,n)}loadParticlesOptions(t,n,...r){var o;const i=this.updaters.get(t);if(i)for(const s of i)(o=s.loadOptions)==null||o.call(s,n,...r)}async refresh(t=!0){t&&await Promise.all(this.dom().map(n=>n.refresh()))}removeEventListener(t,n){this._eventDispatcher.removeEventListener(t,n)}setOnClickHandler(t){const n=this.dom();if(!n.length)throw new Error(`${wy} can only set click handlers after calling tsParticles.load()`);for(const r of n)r.addClickHandler(t)}}const Gd="random",Vc="mid",Pp=new Map;function Ab(e){Pp.set(e.key,e)}function LV(e){for(const[,l]of Pp)if(e.startsWith(l.stringPrefix))return l.parseString(e);const t=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,n=e.replace(t,(l,u,c,d,f)=>u+u+c+c+d+d+(f!==void 0?f+f:"")),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,i=r.exec(n),o=16;return i?{a:i[4]!==void 0?parseInt(i[4],o)/255:1,b:parseInt(i[3],o),g:parseInt(i[2],o),r:parseInt(i[1],o)}:void 0}function qd(e,t,n=!0){if(!e)return;const r=Zl(e)?{value:e}:e;if(Zl(r.value))return jk(r.value,t,n);if(jo(r.value))return qd({value:Sy(r.value,t,n)});for(const[,i]of Pp){const o=i.handleRangeColor(r);if(o)return o}}function jk(e,t,n=!0){if(!e)return;const r=Zl(e)?{value:e}:e;if(Zl(r.value))return r.value===Gd?Dk():DV(r.value);if(jo(r.value))return jk({value:Sy(r.value,t,n)});for(const[,i]of Pp){const o=i.handleColor(r);if(o)return o}}function aq(e,t,n=!0){const r=qd(e,t,n);return r?jV(r):void 0}function jV(e){const c=e.r/255,d=e.g/255,f=e.b/255,p=Math.max(c,d,f),h=Math.min(c,d,f),m={h:0,l:(p+h)*.5,s:0};return p!==h&&(m.s=m.l<.5?(p-h)/(p+h):(p-h)/(2-p-h),m.h=c===p?(d-f)/(p-h):m.h=d===p?2+(f-c)/(p-h):2*2+(c-d)/(p-h)),m.l*=100,m.s*=100,m.h*=60,m.h<0&&(m.h+=360),m.h>=360&&(m.h-=360),m}function DV(e){return LV(e)}function ea(e){const s=(e.h%360+360)%360,a=Math.max(0,Math.min(100,e.s)),l=Math.max(0,Math.min(100,e.l)),u=s/360,c=a/100,d=l/100,f=255,p=3;if(a===0){const k=Math.round(d*f);return{r:k,g:k,b:k}}const h=.5,m=2,x=(k,M,A)=>{if(A<0&&A++,A>1&&A--,A*6<1)return k+(M-k)*6*A;if(A*m<1)return M;if(A*p<1*m){const B=m/p;return k+(M-k)*(B-A)*6}return k},g=1,y=d0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=r.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const c=e.offset?Ps(e.offset):0,d=(e.velocity??0)*r.factor+c*3.6,f=e.decay??1,p=Cp(t),h=Sp(t);!n||e.status==="increasing"?(e.value+=d,e.value>p&&(e.loops||(e.loops=0),e.loops++,n?e.status="decreasing":e.value-=p)):(e.value-=d,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status="increasing")),e.velocity&&f!==1&&(e.velocity*=f),e.value=by(e.value,h,p)}function hq(e,t){if(!e)return;const{h:n,s:r,l:i}=e,o={h:{min:0,max:360},s:{min:0,max:100},l:{min:0,max:100}};n&&Wh(n,o.h,!1,t),r&&Wh(r,o.s,!0,t),i&&Wh(i,o.l,!0,t)}class zV{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.s!==void 0&&r.l!==void 0)return ea(r)}handleRangeColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.l!==void 0)return ea({h:pt(r.h),l:pt(r.l),s:pt(r.s)})}parseString(t){if(!t.startsWith("hsl"))return;const n=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i,r=n.exec(t),i=4,o=1,s=10;return r?FV({a:r.length>i?Ok(r[5]):o,h:parseInt(r[1],s),l:parseInt(r[3],s),s:parseInt(r[2],s)}):void 0}}class VV{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){const n=t.value,r=n.rgb??t.value;if(r.r!==void 0)return r}handleRangeColor(t){const n=t.value,r=n.rgb??t.value;if(r.r!==void 0)return{r:pt(r.r),g:pt(r.g),b:pt(r.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const n=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i,r=n.exec(t),i=10;return r?{a:r.length>4?Ok(r[5]):1,b:parseInt(r[3],i),g:parseInt(r[2],i),r:parseInt(r[1],i)}:void 0}}function BV(){const e=new VV,t=new zV;Ab(e),Ab(t);const n=new $V;return n.init(),n}const Cy=BV();Ep()||(window.tsParticles=Cy);const UV=e=>{const t=e.id??"tsparticles";return b.useEffect(()=>{let n;return Cy.load({id:t,url:e.url,options:e.options}).then(r=>{var i;n=r,(i=e.particlesLoaded)==null||i.call(e,r)}),()=>{n==null||n.destroy()}},[t,e,e.url,e.options]),S.jsx("div",{id:t,className:e.className})};async function WV(e){await e(Cy)}async function HV(e,t=!0){const{loadParallaxMover:n}=await Te(()=>import("./index-CgFR6zfI.js"),[]),{loadExternalAttractInteraction:r}=await Te(()=>import("./index-CSIqqfMP.js"),[]),{loadExternalBounceInteraction:i}=await Te(()=>import("./index-B6OMlKuI.js"),[]),{loadExternalBubbleInteraction:o}=await Te(()=>import("./index-CLuVHlD1.js"),__vite__mapDeps([5,2])),{loadExternalConnectInteraction:s}=await Te(()=>import("./index-VG78SYyB.js"),[]),{loadExternalGrabInteraction:a}=await Te(()=>import("./index--hX2mYuR.js"),__vite__mapDeps([6,2])),{loadExternalPauseInteraction:l}=await Te(()=>import("./index-CF6pQnyZ.js"),[]),{loadExternalPushInteraction:u}=await Te(()=>import("./index-bSu6BdYY.js"),[]),{loadExternalRemoveInteraction:c}=await Te(()=>import("./index-Iqo3_cpu.js"),[]),{loadExternalRepulseInteraction:d}=await Te(()=>import("./index-QQ6uHbG2.js"),[]),{loadExternalSlowInteraction:f}=await Te(()=>import("./index-CoT1PRBU.js"),[]),{loadParticlesAttractInteraction:p}=await Te(()=>import("./index-CIV0x1Ju.js"),[]),{loadParticlesCollisionsInteraction:h}=await Te(()=>import("./index-BpQ_GYIU.js"),[]),{loadParticlesLinksInteraction:m}=await Te(()=>import("./index-DuBBfDxH.js"),__vite__mapDeps([7,2])),{loadEasingQuadPlugin:x}=await Te(()=>import("./index-Cg5Whl7_.js"),[]),{loadEmojiShape:g}=await Te(()=>import("./index-F8YEyshB.js").then(A=>A.i),[]),{loadImageShape:y}=await Te(()=>import("./index-5GyFzaiD.js").then(A=>A.i),[]),{loadLineShape:v}=await Te(()=>import("./index-DD9e3Rtt.js"),[]),{loadPolygonShape:w}=await Te(()=>import("./index-wTeSQbMO.js"),[]),{loadSquareShape:C}=await Te(()=>import("./index-DdTwVvx0.js"),[]),{loadStarShape:E}=await Te(()=>import("./index-DLAqrV0n.js"),[]),{loadLifeUpdater:T}=await Te(()=>import("./index-BVI4STTs.js"),[]),{loadRotateUpdater:P}=await Te(()=>import("./index-CYdE7z6m.js"),[]),{loadStrokeColorUpdater:k}=await Te(()=>import("./index-BEYqMGyy.js"),[]),{loadBasic:M}=await Te(()=>import("./index-CuUbjQ-d.js"),[]);await n(e,!1),await r(e,!1),await i(e,!1),await o(e,!1),await s(e,!1),await a(e,!1),await l(e,!1),await u(e,!1),await c(e,!1),await d(e,!1),await f(e,!1),await p(e,!1),await h(e,!1),await m(e,!1),await x(),await g(e,!1),await y(e,!1),await v(e,!1),await w(e,!1),await C(e,!1),await E(e,!1),await T(e,!1),await P(e,!1),await k(e,!1),await M(e,t)}const Ey="-";function GV(e){const t=KV(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function i(s){const a=s.split(Ey);return a[0]===""&&a.length!==1&&a.shift(),Fk(a,t)||qV(s)}function o(s,a){const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}return{getClassGroupId:i,getConflictingClassGroupIds:o}}function Fk(e,t){var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Fk(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(Ey);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId}const Ib=/^\[(.+)\]$/;function qV(e){if(Ib.test(e)){const t=Ib.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function KV(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return YV(Object.entries(e.classGroups),n).forEach(([o,s])=>{Yg(s,r,o,t)}),r}function Yg(e,t,n,r){e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:$b(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(QV(i)){Yg(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{Yg(s,$b(t,o),n,r)})})}function $b(e,t){let n=e;return t.split(Ey).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function QV(e){return e.isThemeGetter}function YV(e,t){return t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,a])=>[t+s,a])):o);return[n,i]}):e}function XV(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function i(o,s){n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)}return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s)}}}const Nk="!";function ZV(e){const t=e.separator,n=t.length===1,r=t[0],i=t.length;return function(s){const a=[];let l=0,u=0,c;for(let m=0;mu?c-u:void 0;return{modifiers:a,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:h}}}function JV(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function e7(e){return{cache:XV(e.cacheSize),splitModifiers:ZV(e),...GV(e)}}const t7=/\s+/;function n7(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=new Set;return e.trim().split(t7).map(s=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(s);let d=r(c?u.substring(0,c):u),f=!!c;if(!d){if(!c)return{isTailwindClass:!1,originalClassName:s};if(d=r(u),!d)return{isTailwindClass:!1,originalClassName:s};f=!1}const p=JV(a).join(":");return{isTailwindClass:!0,modifierId:l?p+Nk:p,classGroupId:d,originalClassName:s,hasPostfixModifier:f}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=s,c=a+l;return o.has(c)?!1:(o.add(c),i(l,u).forEach(d=>o.add(a+d)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function r7(){let e=0,t,n,r="";for(;ed(c),e());return n=e7(u),r=n.cache.get,i=n.cache.set,o=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=n7(l,n);return i(l,c),c}return function(){return o(r7.apply(null,arguments))}}function Re(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Vk=/^\[(?:([a-z-]+):)?(.+)\]$/i,o7=/^\d+\/\d+$/,s7=new Set(["px","full","screen"]),a7=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,l7=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,u7=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,c7=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,d7=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function hr(e){return uo(e)||s7.has(e)||o7.test(e)}function Yr(e){return ha(e,"length",x7)}function uo(e){return!!e&&!Number.isNaN(Number(e))}function hc(e){return ha(e,"number",uo)}function Ia(e){return!!e&&Number.isInteger(Number(e))}function f7(e){return e.endsWith("%")&&uo(e.slice(0,-1))}function ie(e){return Vk.test(e)}function Xr(e){return a7.test(e)}const p7=new Set(["length","size","percentage"]);function h7(e){return ha(e,p7,Bk)}function m7(e){return ha(e,"position",Bk)}const g7=new Set(["image","url"]);function v7(e){return ha(e,g7,b7)}function y7(e){return ha(e,"",w7)}function $a(){return!0}function ha(e,t,n){const r=Vk.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function x7(e){return l7.test(e)&&!u7.test(e)}function Bk(){return!1}function w7(e){return c7.test(e)}function b7(e){return d7.test(e)}function S7(){const e=Re("colors"),t=Re("spacing"),n=Re("blur"),r=Re("brightness"),i=Re("borderColor"),o=Re("borderRadius"),s=Re("borderSpacing"),a=Re("borderWidth"),l=Re("contrast"),u=Re("grayscale"),c=Re("hueRotate"),d=Re("invert"),f=Re("gap"),p=Re("gradientColorStops"),h=Re("gradientColorStopPositions"),m=Re("inset"),x=Re("margin"),g=Re("opacity"),y=Re("padding"),v=Re("saturate"),w=Re("scale"),C=Re("sepia"),E=Re("skew"),T=Re("space"),P=Re("translate"),k=()=>["auto","contain","none"],M=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",ie,t],I=()=>[ie,t],L=()=>["",hr,Yr],D=()=>["auto",uo,ie],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],N=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],$=()=>["","0",ie],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[uo,hc],ne=()=>[uo,ie];return{cacheSize:500,separator:":",theme:{colors:[$a],spacing:[hr,Yr],blur:["none","",Xr,ie],brightness:K(),borderColor:[e],borderRadius:["none","","full",Xr,ie],borderSpacing:I(),borderWidth:L(),contrast:K(),grayscale:$(),hueRotate:ne(),invert:$(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[f7,Yr],inset:A(),margin:A(),opacity:K(),padding:I(),saturate:K(),scale:K(),sepia:$(),skew:ne(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",ie]}],container:["container"],columns:[{columns:[Xr]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),ie]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ia,ie]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ie]}],grow:[{grow:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",Ia,ie]}],"grid-cols":[{"grid-cols":[$a]}],"col-start-end":[{col:["auto",{span:["full",Ia,ie]},ie]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[$a]}],"row-start-end":[{row:["auto",{span:[Ia,ie]},ie]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ie]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ie,t]}],"min-w":[{"min-w":[ie,t,"min","max","fit"]}],"max-w":[{"max-w":[ie,t,"none","full","min","max","fit","prose",{screen:[Xr]},Xr]}],h:[{h:[ie,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ie,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ie,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ie,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Xr,Yr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",hc]}],"font-family":[{font:[$a]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ie]}],"line-clamp":[{"line-clamp":["none",uo,hc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",hr,ie]}],"list-image":[{"list-image":["none",ie]}],"list-style-type":[{list:["none","disc","decimal",ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...N(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",hr,Yr]}],"underline-offset":[{"underline-offset":["auto",hr,ie]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),m7]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",h7]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},v7]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...N(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:N()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...N()]}],"outline-offset":[{"outline-offset":[hr,ie]}],"outline-w":[{outline:[hr,Yr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[hr,Yr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Xr,y7]}],"shadow-color":[{shadow:[$a]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Xr,ie]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ie]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",ie]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Ia,ie]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ie]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ie]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ie]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[hr,Yr,hc]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const C7=i7(S7);function E7(...e){return C7(oe(e))}const Uk=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Tp=b.createContext({}),Py=b.createContext(null),Ty=typeof document<"u",ky=Ty?b.useLayoutEffect:b.useEffect,Wk=b.createContext({strict:!1}),My=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),P7="framerAppearId",Hk="data-"+My(P7),T7={skipAnimations:!1,useManualTiming:!1};class Lb{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function k7(e){let t=new Lb,n=new Lb,r=0,i=!1,o=!1;const s=new WeakSet,a={schedule:(l,u=!1,c=!1)=>{const d=c&&i,f=d?t:n;return u&&s.add(l),f.add(l)&&d&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),s.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(d[f]=k7(()=>n=!0),d),{}),s=d=>{o[d].process(i)},a=()=>{const d=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(d-i.timestamp,M7),1),i.timestamp=d,i.isProcessing=!0,mc.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:mc.reduce((d,f)=>{const p=o[f];return d[f]=(h,m=!1,x=!1)=>(n||l(),p.schedule(h,m,x)),d},{}),cancel:d=>mc.forEach(f=>o[f].cancel(d)),state:i,steps:o}}const{schedule:_y,cancel:mq}=Gk(queueMicrotask,!1);function _7(e,t,n,r){const{visualElement:i}=b.useContext(Tp),o=b.useContext(Wk),s=b.useContext(Py),a=b.useContext(Uk).reducedMotion,l=b.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;b.useInsertionEffect(()=>{u&&u.update(n,s)});const c=b.useRef(!!(n[Hk]&&!window.HandoffComplete));return ky(()=>{u&&(_y.postRender(u.render),c.current&&u.animationState&&u.animationState.animateChanges())}),b.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function cs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function R7(e,t,n){return b.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):cs(n)&&(n.current=r))},[t])}function eu(e){return typeof e=="string"||Array.isArray(e)}function kp(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Ry=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Oy=["initial",...Ry];function Mp(e){return kp(e.animate)||Oy.some(t=>eu(e[t]))}function qk(e){return!!(Mp(e)||e.variants)}function O7(e,t){if(Mp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||eu(n)?n:void 0,animate:eu(r)?r:void 0}}return e.inherit!==!1?t:{}}function A7(e){const{initial:t,animate:n}=O7(e,b.useContext(Tp));return b.useMemo(()=>({initial:t,animate:n}),[jb(t),jb(n)])}function jb(e){return Array.isArray(e)?e.join(" "):e}const Db={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},tu={};for(const e in Db)tu[e]={isEnabled:t=>Db[e].some(n=>!!t[n])};function I7(e){for(const t in e)tu[t]={...tu[t],...e[t]}}const Kk=b.createContext({}),Qk=b.createContext({}),$7=Symbol.for("motionComponentSymbol");function L7({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&I7(e);function o(a,l){let u;const c={...b.useContext(Uk),...a,layoutId:j7(a)},{isStatic:d}=c,f=A7(a),p=r(a,d);if(!d&&Ty){f.visualElement=_7(i,p,c,t);const h=b.useContext(Qk),m=b.useContext(Wk).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,m,e,h))}return S.jsxs(Tp.Provider,{value:f,children:[u&&f.visualElement?S.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,R7(p,f.visualElement,l),p,d,f.visualElement)]})}const s=b.forwardRef(o);return s[$7]=i,s}function j7({layoutId:e}){const t=b.useContext(Kk).id;return t&&e!==void 0?t+"-"+e:e}function D7(e){function t(r,i={}){return L7(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const F7=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Ay(e){return typeof e!="string"||e.includes("-")?!1:!!(F7.indexOf(e)>-1||/[A-Z]/u.test(e))}const Kd={};function N7(e){Object.assign(Kd,e)}const $u=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Do=new Set($u);function Yk(e,{layout:t,layoutId:n}){return Do.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Kd[e]||e==="opacity")}const Rt=e=>!!(e&&e.getVelocity),z7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},V7=$u.length;function B7(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),Zk=Xk("--"),U7=Xk("var(--"),Iy=e=>U7(e)?W7.test(e.split("/*")[0].trim()):!1,W7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,H7=(e,t)=>t&&typeof e=="number"?t.transform(e):e,zi=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},dl={...ma,transform:e=>zi(0,1,e)},gc={...ma,default:1},fl=e=>Math.round(e*1e5)/1e5,$y=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,G7=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,q7=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Lu(e){return typeof e=="string"}const ju=e=>({test:t=>Lu(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Jr=ju("deg"),cr=ju("%"),Z=ju("px"),K7=ju("vh"),Q7=ju("vw"),Fb={...cr,parse:e=>cr.parse(e)/100,transform:e=>cr.transform(e*100)},Nb={...ma,transform:Math.round},Jk={borderWidth:Z,borderTopWidth:Z,borderRightWidth:Z,borderBottomWidth:Z,borderLeftWidth:Z,borderRadius:Z,radius:Z,borderTopLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderBottomLeftRadius:Z,width:Z,maxWidth:Z,height:Z,maxHeight:Z,size:Z,top:Z,right:Z,bottom:Z,left:Z,padding:Z,paddingTop:Z,paddingRight:Z,paddingBottom:Z,paddingLeft:Z,margin:Z,marginTop:Z,marginRight:Z,marginBottom:Z,marginLeft:Z,rotate:Jr,rotateX:Jr,rotateY:Jr,rotateZ:Jr,scale:gc,scaleX:gc,scaleY:gc,scaleZ:gc,skew:Jr,skewX:Jr,skewY:Jr,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:dl,originX:Fb,originY:Fb,originZ:Z,zIndex:Nb,backgroundPositionX:Z,backgroundPositionY:Z,fillOpacity:dl,strokeOpacity:dl,numOctaves:Nb};function Ly(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:a}=e;let l=!1,u=!1,c=!0;for(const d in t){const f=t[d];if(Zk(d)){o[d]=f;continue}const p=Jk[d],h=H7(f,p);if(Do.has(d)){if(l=!0,s[d]=h,!c)continue;f!==(p.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,a[d]=h):i[d]=h}if(t.transform||(l||r?i.transform=B7(e.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:d="50%",originY:f="50%",originZ:p=0}=a;i.transformOrigin=`${d} ${f} ${p}`}}const jy=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eM(e,t,n){for(const r in t)!Rt(t[r])&&!Yk(r,n)&&(e[r]=t[r])}function Y7({transformTemplate:e},t,n){return b.useMemo(()=>{const r=jy();return Ly(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function X7(e,t,n){const r=e.style||{},i={};return eM(i,r,e),Object.assign(i,Y7(e,t,n)),i}function Z7(e,t,n){const r={},i=X7(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const J7=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Qd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||J7.has(e)}let tM=e=>!Qd(e);function eB(e){e&&(tM=t=>t.startsWith("on")?!Qd(t):e(t))}try{eB(require("@emotion/is-prop-valid").default)}catch{}function tB(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(tM(i)||n===!0&&Qd(i)||!t&&!Qd(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function zb(e,t,n){return typeof e=="string"?e:Z.transform(t+n*e)}function nB(e,t,n){const r=zb(t,e.x,e.width),i=zb(n,e.y,e.height);return`${r} ${i}`}const rB={offset:"stroke-dashoffset",array:"stroke-dasharray"},iB={offset:"strokeDashoffset",array:"strokeDasharray"};function oB(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?rB:iB;e[o.offset]=Z.transform(-r);const s=Z.transform(t),a=Z.transform(n);e[o.array]=`${s} ${a}`}function Dy(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d,f){if(Ly(e,u,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(i!==void 0||o!==void 0||h.transform)&&(h.transformOrigin=nB(m,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),s!==void 0&&oB(p,s,a,l,!1)}const nM=()=>({...jy(),attrs:{}}),Fy=e=>typeof e=="string"&&e.toLowerCase()==="svg";function sB(e,t,n,r){const i=b.useMemo(()=>{const o=nM();return Dy(o,t,{enableHardwareAcceleration:!1},Fy(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};eM(o,e.style,e),i.style={...o,...i.style}}return i}function aB(e=!1){return(n,r,i,{latestValues:o},s)=>{const l=(Ay(n)?sB:Z7)(r,o,s,n),u=tB(r,typeof n=="string",e),c=n!==b.Fragment?{...u,...l,ref:i}:{},{children:d}=r,f=b.useMemo(()=>Rt(d)?d.get():d,[d]);return b.createElement(n,{...c,children:f})}}function rM(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const iM=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function oM(e,t,n,r){rM(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(iM.has(i)?i:My(i),t.attrs[i])}function Ny(e,t,n){var r;const{style:i}=e,o={};for(const s in i)(Rt(i[s])||t.style&&Rt(t.style[s])||Yk(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return o}function sM(e,t,n){const r=Ny(e,t,n);for(const i in e)if(Rt(e[i])||Rt(t[i])){const o=$u.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function zy(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function Vy(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Xg=e=>Array.isArray(e),lB=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),uB=e=>Xg(e)?e[e.length-1]||0:e;function Bc(e){const t=Rt(e)?e.get():e;return lB(t)?t.toValue():t}function cB({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:dB(r,i,o,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}const aM=e=>(t,n)=>{const r=b.useContext(Tp),i=b.useContext(Py),o=()=>cB(e,t,r,i);return n?o():Vy(o)};function dB(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=Bc(o[f]);let{initial:s,animate:a}=e;const l=Mp(e),u=qk(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const d=c?a:s;return d&&typeof d!="boolean"&&!kp(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{const h=zy(e,p);if(!h)return;const{transitionEnd:m,transition:x,...g}=h;for(const y in g){let v=g[y];if(Array.isArray(v)){const w=c?v.length-1:0;v=v[w]}v!==null&&(i[y]=v)}for(const y in m)i[y]=m[y]}),i}const bt=e=>e,{schedule:Ke,cancel:Dr,state:dt,steps:Hh}=Gk(typeof requestAnimationFrame<"u"?requestAnimationFrame:bt,!0),fB={useVisualState:aM({scrapeMotionValuesFromProps:sM,createRenderState:nM,onMount:(e,t,{renderState:n,latestValues:r})=>{Ke.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Ke.render(()=>{Dy(n,r,{enableHardwareAcceleration:!1},Fy(t.tagName),e.transformTemplate),oM(t,n)})}})},pB={useVisualState:aM({scrapeMotionValuesFromProps:Ny,createRenderState:jy})};function hB(e,{forwardMotionProps:t=!1},n,r){return{...Ay(e)?fB:pB,preloadedFeatures:n,useRender:aB(t),createVisualElement:r,Component:e}}function Cr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const lM=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function _p(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const mB=e=>t=>lM(t)&&e(t,_p(t));function _r(e,t,n,r){return Cr(e,t,mB(n),r)}const gB=(e,t)=>n=>t(e(n)),Rr=(...e)=>e.reduce(gB);function uM(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Vb=uM("dragHorizontal"),Bb=uM("dragVertical");function cM(e){let t=!1;if(e==="y")t=Bb();else if(e==="x")t=Vb();else{const n=Vb(),r=Bb();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function dM(){const e=cM(!0);return e?(e(),!1):!0}class Gi{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Ub(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||dM())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&l(o,s)};return _r(e.current,n,i,{passive:!e.getProps()[r]})}class vB extends Gi{mount(){this.unmount=Rr(Ub(this.node,!0),Ub(this.node,!1))}unmount(){}}class yB extends Gi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Rr(Cr(this.node.current,"focus",()=>this.onFocus()),Cr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const fM=(e,t)=>t?e===t?!0:fM(e,t.parentElement):!1;function Gh(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,_p(n))}class xB extends Gi{constructor(){super(...arguments),this.removeStartListeners=bt,this.removeEndListeners=bt,this.removeAccessibleListeners=bt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=_r(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!fM(this.node.current,a.target)?c&&c(a,l):u&&u(a,l)},{passive:!(r.onTap||r.onPointerUp)}),s=_r(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Rr(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=a=>{a.key!=="Enter"||!this.checkPressEnd()||Gh("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&c(l,u)})};this.removeEndListeners(),this.removeEndListeners=Cr(this.node.current,"keyup",s),Gh("down",(a,l)=>{this.startPress(a,l)})},n=Cr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Gh("cancel",(o,s)=>this.cancelPress(o,s))},i=Cr(this.node.current,"blur",r);this.removeAccessibleListeners=Rr(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&r(t,n)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!dM()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(t,n)}mount(){const t=this.node.getProps(),n=_r(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Cr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Rr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Zg=new WeakMap,qh=new WeakMap,wB=e=>{const t=Zg.get(e.target);t&&t(e)},bB=e=>{e.forEach(wB)};function SB({root:e,...t}){const n=e||document;qh.has(n)||qh.set(n,{});const r=qh.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(bB,{root:e,...t})),r[i]}function CB(e,t,n){const r=SB(t);return Zg.set(e,n),r.observe(e),()=>{Zg.delete(e),r.unobserve(e)}}const EB={some:0,all:1};class PB extends Gi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:EB[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return CB(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(TB(t,n))&&this.startObserver()}unmount(){}}function TB({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const kB={inView:{Feature:PB},tap:{Feature:xB},focus:{Feature:yB},hover:{Feature:vB}};function pM(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function _B(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Rp(e,t,n){const r=e.getProps();return zy(r,t,n!==void 0?n:r.custom,MB(e),_B(e))}const Ii=e=>e*1e3,Or=e=>e/1e3,RB={type:"spring",stiffness:500,damping:25,restSpeed:10},OB=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),AB={type:"keyframes",duration:.8},IB={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$B=(e,{keyframes:t})=>t.length>2?AB:Do.has(e)?e.startsWith("scale")?OB(t[1]):RB:IB;function LB({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function By(e,t){return e[t]||e.default||e}const jB=e=>e!==null;function Op(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(jB),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}let Uc;function DB(){Uc=void 0}const $i={now:()=>(Uc===void 0&&$i.set(dt.isProcessing||T7.useManualTiming?dt.timestamp:performance.now()),Uc),set:e=>{Uc=e,queueMicrotask(DB)}},hM=e=>/^0[^.\s]+$/u.test(e);function FB(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||hM(e):!0}let NB=bt,Uy=bt;const mM=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),zB=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function VB(e){const t=zB.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function gM(e,t,n=1){const[r,i]=VB(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return mM(s)?parseFloat(s):s}return Iy(i)?gM(i,t,n+1):i}const BB=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Wb=e=>e===ma||e===Z,Hb=(e,t)=>parseFloat(e.split(", ")[t]),Gb=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Hb(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?Hb(o[1],e):0}},UB=new Set(["x","y","z"]),WB=$u.filter(e=>!UB.has(e));function HB(e){const t=[];return WB.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ta={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Gb(4,13),y:Gb(5,14)};ta.translateX=ta.x;ta.translateY=ta.y;const vM=e=>t=>t.test(e),GB={test:e=>e==="auto",parse:e=>e},yM=[ma,Z,cr,Jr,Q7,K7,GB],qb=e=>yM.find(vM(e)),Eo=new Set;let Jg=!1,e0=!1;function xM(){if(e0){const e=Array.from(Eo).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=HB(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}e0=!1,Jg=!1,Eo.forEach(e=>e.complete()),Eo.clear()}function wM(){Eo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(e0=!0)})}function qB(){wM(),xM()}class Wy{constructor(t,n,r,i,o,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Eo.add(this),Jg||(Jg=!0,Ke.read(wM),Ke.resolveKeyframes(xM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;on=>!!(Lu(n)&&q7.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),bM=(e,t,n)=>r=>{if(!Lu(r))return r;const[i,o,s,a]=r.match($y);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},KB=e=>zi(0,255,e),Kh={...ma,transform:e=>Math.round(KB(e))},co={test:Hy("rgb","red"),parse:bM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Kh.transform(e)+", "+Kh.transform(t)+", "+Kh.transform(n)+", "+fl(dl.transform(r))+")"};function QB(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const t0={test:Hy("#"),parse:QB,transform:co.transform},ds={test:Hy("hsl","hue"),parse:bM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+cr.transform(fl(t))+", "+cr.transform(fl(n))+", "+fl(dl.transform(r))+")"},Mt={test:e=>co.test(e)||t0.test(e)||ds.test(e),parse:e=>co.test(e)?co.parse(e):ds.test(e)?ds.parse(e):t0.parse(e),transform:e=>Lu(e)?e:e.hasOwnProperty("red")?co.transform(e):ds.transform(e)};function YB(e){var t,n;return isNaN(e)&&Lu(e)&&(((t=e.match($y))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(G7))===null||n===void 0?void 0:n.length)||0)>0}const SM="number",CM="color",XB="var",ZB="var(",Kb="${}",JB=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Yd(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(JB,l=>(Mt.test(l)?(r.color.push(o),i.push(CM),n.push(Mt.parse(l))):l.startsWith(ZB)?(r.var.push(o),i.push(XB),n.push(l)):(r.number.push(o),i.push(SM),n.push(parseFloat(l))),++o,Kb)).split(Kb);return{values:n,split:a,indexes:r,types:i}}function EM(e){return Yd(e).values}function PM(e){const{split:t,types:n}=Yd(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function tU(e){const t=EM(e);return PM(e)(t.map(eU))}const Vi={test:YB,parse:EM,createTransformer:PM,getAnimatableNone:tU},nU=new Set(["brightness","contrast","saturate","opacity"]);function rU(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match($y)||[];if(!r)return e;const i=n.replace(r,"");let o=nU.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const iU=/\b([a-z-]*)\(.*?\)/gu,n0={...Vi,getAnimatableNone:e=>{const t=e.match(iU);return t?t.map(rU).join(" "):e}},oU={...Jk,color:Mt,backgroundColor:Mt,outlineColor:Mt,fill:Mt,stroke:Mt,borderColor:Mt,borderTopColor:Mt,borderRightColor:Mt,borderBottomColor:Mt,borderLeftColor:Mt,filter:n0,WebkitFilter:n0},Gy=e=>oU[e];function TM(e,t){let n=Gy(e);return n!==n0&&(n=Vi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function sU(e,t,n){let r=0,i;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function aU(e){let t;return()=>(t===void 0&&(t=e()),t)}const Qb=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Vi.test(e)||e==="0")&&!e.startsWith("url("));function lU(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n{this.resolveFinishedPromise=t})}}function qy(e,t){return t?e*(1e3/t):0}const cU=5;function _M(e,t,n){const r=Math.max(t-cU,0);return qy(n-e(r),t-r)}const Qh=.001,dU=.01,fU=10,pU=.05,hU=1;function mU({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o,s=1-t;s=zi(pU,hU,s),e=zi(dU,fU,Or(e)),s<1?(i=u=>{const c=u*s,d=c*e,f=c-n,p=r0(u,s),h=Math.exp(-d);return Qh-f/p*h},o=u=>{const d=u*s*e,f=d*n+n,p=Math.pow(s,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=r0(Math.pow(u,2),s);return(-i(u)+Qh>0?-1:1)*((f-p)*h)/m}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Qh+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=vU(i,o,a);if(e=Ii(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const gU=12;function vU(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function wU(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Yb(e,xU)&&Yb(e,yU)){const n=mU(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function RM({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=wU({...r,velocity:-Or(r.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(a*u)),m=o-i,x=Or(Math.sqrt(a/u)),g=Math.abs(m)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let y;if(h<1){const v=r0(x,h);y=w=>{const C=Math.exp(-h*x*w);return o-C*((p+h*x*m)/v*Math.sin(v*w)+m*Math.cos(v*w))}}else if(h===1)y=v=>o-Math.exp(-x*v)*(m+(p+x*m)*v);else{const v=x*Math.sqrt(h*h-1);y=w=>{const C=Math.exp(-h*x*w),E=Math.min(v*w,300);return o-C*((p+h*x*m)*Math.sinh(E)+v*m*Math.cosh(E))/v}}return{calculatedDuration:f&&c||null,next:v=>{const w=y(v);if(f)s.done=v>=c;else{let C=p;v!==0&&(h<1?C=_M(y,v,w):C=0);const E=Math.abs(C)<=n,T=Math.abs(o-w)<=t;s.done=E&&T}return s.value=s.done?o:w,s}}}function Xb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=P=>a!==void 0&&Pl,h=P=>a===void 0?l:l===void 0||Math.abs(a-P)-m*Math.exp(-P/r),v=P=>g+y(P),w=P=>{const k=y(P),M=v(P);f.done=Math.abs(k)<=u,f.value=f.done?g:M};let C,E;const T=P=>{p(f.value)&&(C=P,E=RM({keyframes:[f.value,h(f.value)],velocity:_M(v,P,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let k=!1;return!E&&C===void 0&&(k=!0,w(P),T(P)),C!==void 0&&P>=C?E.next(P-C):(!k&&w(P),f)}}}const OM=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,bU=1e-7,SU=12;function CU(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=OM(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>bU&&++aCU(o,0,1,e,n);return o=>o===0||o===1?o:OM(i(o),t,r)}const EU=Du(.42,0,1,1),PU=Du(0,0,.58,1),AM=Du(.42,0,.58,1),TU=e=>Array.isArray(e)&&typeof e[0]!="number",IM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$M=e=>t=>1-e(1-t),Ky=e=>1-Math.sin(Math.acos(e)),LM=$M(Ky),kU=IM(Ky),jM=Du(.33,1.53,.69,.99),Qy=$M(jM),MU=IM(Qy),_U=e=>(e*=2)<1?.5*Qy(e):.5*(2-Math.pow(2,-10*(e-1))),RU={linear:bt,easeIn:EU,easeInOut:AM,easeOut:PU,circIn:Ky,circInOut:kU,circOut:LM,backIn:Qy,backInOut:MU,backOut:jM,anticipate:_U},Zb=e=>{if(Array.isArray(e)){Uy(e.length===4);const[t,n,r,i]=e;return Du(t,n,r,i)}else if(typeof e=="string")return RU[e];return e},na=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},je=(e,t,n)=>e+(t-e)*n;function Yh(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function OU({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Yh(l,a,e+1/3),o=Yh(l,a,e),s=Yh(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const Xh=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},AU=[t0,co,ds],IU=e=>AU.find(t=>t.test(e));function Jb(e){const t=IU(e);let n=t.parse(e);return t===ds&&(n=OU(n)),n}const eS=(e,t)=>{const n=Jb(e),r=Jb(t),i={...n};return o=>(i.red=Xh(n.red,r.red,o),i.green=Xh(n.green,r.green,o),i.blue=Xh(n.blue,r.blue,o),i.alpha=je(n.alpha,r.alpha,o),co.transform(i))};function i0(e,t){return n=>n>0?t:e}function $U(e,t){return n=>je(e,t,n)}function Yy(e){return typeof e=="number"?$U:typeof e=="string"?Iy(e)?i0:Mt.test(e)?eS:DU:Array.isArray(e)?DM:typeof e=="object"?Mt.test(e)?eS:LU:i0}function DM(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>Yy(o)(o,t[s]));return o=>{for(let s=0;s{for(const o in r)n[o]=r[o](i);return n}}function jU(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o{const n=Vi.createTransformer(t),r=Yd(e),i=Yd(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Rr(DM(jU(r,i),i.values),n):i0(e,t)};function FM(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?je(e,t,n):Yy(e)(e,t)}function FU(e,t,n){const r=[],i=n||FM,o=e.length-1;for(let s=0;st[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=FU(t,r,i),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(zi(e[0],e[o-1],u)):l}function NU(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=na(0,t,r);e.push(je(n,1,i))}}function zM(e){const t=[0];return NU(t,e.length-1),t}function zU(e,t){return e.map(n=>n*t)}function VU(e,t){return e.map(()=>t||AM).splice(0,e.length-1)}function Xd({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=TU(r)?r.map(Zb):Zb(r),o={done:!1,value:t[0]},s=zU(n&&n.length===t.length?n:zM(t),e),a=NM(s,t,{ease:Array.isArray(i)?i:VU(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const tS=2e4;function BU(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=tS?1/0:t}const UU=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Ke.update(t,!0),stop:()=>Dr(t),now:()=>dt.isProcessing?dt.timestamp:$i.now()}},WU={decay:Xb,inertia:Xb,tween:Xd,keyframes:Xd,spring:RM},HU=e=>e/100;class Xy extends MM{constructor({KeyframeResolver:t=Wy,...n}){super(n),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:a}=this.options;a&&a()};const{name:r,motionValue:i,keyframes:o}=this.options,s=(a,l)=>this.onKeyframesResolved(a,l);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(o,s,r,i):this.resolver=new t(o,s,r,i),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=this.options,a=WU[n]||Xd;let l,u;a!==Xd&&typeof t[0]!="number"&&(l=Rr(HU,FM(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});o==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=BU(c));const{calculatedDuration:d}=c,f=d+i,p=f*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return o.next(0);const{delay:f,repeat:p,repeatType:h,repeatDelay:m,onUpdate:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const g=this.currentTime-f*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,w=o;if(p){const P=Math.min(this.currentTime,c)/d;let k=Math.floor(P),M=P%1;!M&&P>=1&&(M=1),M===1&&k--,k=Math.min(k,p+1),!!(k%2)&&(h==="reverse"?(M=1-M,m&&(M-=m/d)):h==="mirror"&&(w=s)),v=zi(0,1,M)*d}const C=y?{done:!1,value:l[0]}:w.next(v);a&&(C.value=a(C.value));let{done:E}=C;!y&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&i!==void 0&&(C.value=Op(l,this.options,i)),x&&x(C.value),T&&this.finish(),C}get duration(){const{resolved:t}=this;return t?Or(t.calculatedDuration):0}get time(){return Or(this.currentTime)}set time(t){t=Ii(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Or(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=UU,onPlay:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=r),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const VM=e=>Array.isArray(e)&&typeof e[0]=="number";function BM(e){return!!(!e||typeof e=="string"&&e in Zy||VM(e)||Array.isArray(e)&&e.every(BM))}const Ga=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Zy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ga([0,.65,.55,1]),circOut:Ga([.55,0,1,.45]),backIn:Ga([.31,.01,.66,-.59]),backOut:Ga([.33,1.53,.69,.99])};function GU(e){return UM(e)||Zy.easeOut}function UM(e){if(e)return VM(e)?Ga(e):Array.isArray(e)?e.map(GU):Zy[e]}function qU(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=UM(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}const KU=aU(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),QU=new Set(["opacity","clipPath","filter","transform"]),Zd=10,YU=2e4;function XU(e){return e.type==="spring"||e.name==="backgroundColor"||!BM(e.ease)}function ZU(e,t){const n=new Xy({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&othis.onKeyframesResolved(o,s),n,r),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:o,ease:s,type:a,motionValue:l,name:u}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(XU(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...h}=this.options,m=ZU(t,h);t=m.keyframes,t.length===1&&(t[1]=t[0]),i=m.duration,o=m.times,s=m.ease,a="keyframes"}const c=qU(l.owner.current,u,t,{...this.options,duration:i,times:o,ease:s});return c.startTime=$i.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;l.set(Op(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:o,type:a,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Or(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Or(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Ii(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return bt;const{animation:r}=n;r.timeline=t,r.onfinish=null}return bt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:o,ease:s,times:a}=t;if(!(n.playState==="idle"||n.playState==="finished")){if(this.time){const{motionValue:l,onUpdate:u,onComplete:c,...d}=this.options,f=new Xy({...d,keyframes:r,duration:i,type:o,ease:s,times:a,isGenerator:!0}),p=Ii(this.time);l.setWithVelocity(f.sample(p-Zd).value,f.sample(p).value,Zd)}this.cancel()}}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:o,damping:s,type:a}=t;return KU()&&r&&QU.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&o!=="mirror"&&s!==0&&a!=="inertia"}}const Jy=(e,t,n,r={},i,o)=>s=>{const a=By(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Ii(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};LB(a)||(c={...c,...$B(e,c)}),c.duration&&(c.duration=Ii(c.duration)),c.repeatDelay&&(c.repeatDelay=Ii(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!o&&t.get()!==void 0){const f=Op(c.keyframes,a);if(f!==void 0){Ke.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!o&&nS.supports(c)?new nS(c):new Xy(c)};function Jd(e){return!!(Rt(e)&&e.add)}function e1(e,t){e.indexOf(t)===-1&&e.push(t)}function t1(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class n1{constructor(){this.subscriptions=[]}add(t){return e1(this.subscriptions,t),()=>t1(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class eW{constructor(t,n={}){this.version="11.1.7",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=$i.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.canTrackVelocity=JU(this.current),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=$i.now()}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new n1);const r=this.events[t].add(n);return t==="change"?()=>{r(),Ke.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=$i.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>rS)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,rS);return qy(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Er(e,t){return new eW(e,t)}function tW(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Er(n))}function r1(e,t){const n=Rp(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=uB(o[s]);tW(e,s,a)}}function nW({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function WM(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;const u=e.getValue("willChange");r&&(s=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in l){const p=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),h=l[f];if(h===void 0||d&&nW(d,f))continue;const m={delay:n,elapsed:0,...By(s||{},f)};let x=!1;if(window.HandoffAppearAnimations){const v=e.getProps()[Hk];if(v){const w=window.HandoffAppearAnimations(v,f);w!==null&&(m.elapsed=w,x=!0)}}p.start(Jy(f,p,h,e.shouldReduceMotion&&Do.has(f)?{type:!1}:m,e,x));const g=p.animation;g&&(Jd(u)&&(u.add(f),g.then(()=>u.remove(f))),c.push(g))}return a&&Promise.all(c).then(()=>{Ke.update(()=>{a&&r1(e,a)})}),c}function o0(e,t,n={}){var r;const i=Rp(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const s=i?()=>Promise.all(WM(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=o;return rW(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[u,c]=l==="beforeChildren"?[s,a]:[a,s];return u().then(()=>c())}else return Promise.all([s(),a(n.delay)])}function rW(e,t,n=0,r=0,i=1,o){const s=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(iW).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(o0(u,t,{...o,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function iW(e,t){return e.sortNodePosition(t)}function HM(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>o0(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=o0(e,t,n);else{const i=typeof t=="function"?Rp(e,t,n.custom):t;r=Promise.all(WM(e,i,n))}return r.then(()=>{Ke.postRender(()=>{e.notify("AnimationComplete",t)})})}const oW=[...Ry].reverse(),sW=Ry.length;function aW(e){return t=>Promise.all(t.map(({animation:n,options:r})=>HM(e,n,r)))}function lW(e){let t=aW(e);const n=cW();let r=!0;const i=l=>(u,c)=>{var d;const f=Rp(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:h,...m}=f;u={...u,...m,...h}}return u};function o(l){t=l(e)}function s(l){const u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let p={},h=1/0;for(let x=0;xh&&w,k=!1;const M=Array.isArray(v)?v:[v];let A=M.reduce(i(g),{});C===!1&&(A={});const{prevResolvedValues:I={}}=y,L={...I,...A},D=B=>{P=!0,f.has(B)&&(k=!0,f.delete(B)),y.needsAnimating[B]=!0;const N=e.getValue(B);N&&(N.liveStyle=!1)};for(const B in L){const N=A[B],H=I[B];if(p.hasOwnProperty(B))continue;let O=!1;Xg(N)&&Xg(H)?O=!pM(N,H):O=N!==H,O?N!=null?D(B):f.add(B):N!==void 0&&f.has(B)?D(B):y.protectedKeys[B]=!0}y.prevProp=v,y.prevResolvedValues=A,y.isActive&&(p={...p,...A}),r&&e.blockInitialAnimation&&(P=!1),P&&(!E||k)&&d.push(...M.map(B=>({animation:B,options:{type:g}})))}if(f.size){const x={};f.forEach(g=>{const y=e.getBaseTarget(g),v=e.getValue(g);v&&(v.liveStyle=!0),x[g]=y??null}),d.push({animation:x})}let m=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(l,u)}),n[l].isActive=u;const d=s(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n}}function uW(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!pM(t,e):!1}function Yi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function cW(){return{animate:Yi(!0),whileInView:Yi(),whileHover:Yi(),whileTap:Yi(),whileDrag:Yi(),whileFocus:Yi(),exit:Yi()}}class dW extends Gi{constructor(t){super(t),t.animationState||(t.animationState=lW(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),kp(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let fW=0;class pW extends Gi{constructor(){super(...arguments),this.id=fW++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const hW={animation:{Feature:dW},exit:{Feature:pW}},iS=(e,t)=>Math.abs(e-t);function mW(e,t){const n=iS(e.x,t.x),r=iS(e.y,t.y);return Math.sqrt(n**2+r**2)}class GM{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Jh(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=mW(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:h}=d,{timestamp:m}=dt;this.history.push({...h,timestamp:m});const{onStart:x,onMove:g}=this.handlers;f||(x&&x(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Zh(f,this.transformPagePoint),Ke.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:h,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Jh(d.type==="pointercancel"?this.lastMoveEventInfo:Zh(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,x),h&&h(d,x)},!lM(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=_p(t),a=Zh(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=dt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Jh(a,this.history)),this.removeListeners=Rr(_r(this.contextWindow,"pointermove",this.handlePointerMove),_r(this.contextWindow,"pointerup",this.handlePointerUp),_r(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Dr(this.updatePoint)}}function Zh(e,t){return t?{point:t(e.point)}:e}function oS(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Jh({point:e},t){return{point:e,delta:oS(e,qM(t)),offset:oS(e,gW(t)),velocity:vW(t,.1)}}function gW(e){return e[0]}function qM(e){return e[e.length-1]}function vW(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=qM(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ii(t)));)n--;if(!r)return{x:0,y:0};const o=Or(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function on(e){return e.max-e.min}function s0(e,t=0,n=.01){return Math.abs(e-t)<=n}function sS(e,t,n,r=.5){e.origin=r,e.originPoint=je(t.min,t.max,e.origin),e.scale=on(n)/on(t),(s0(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=je(n.min,n.max,e.origin)-e.originPoint,(s0(e.translate)||isNaN(e.translate))&&(e.translate=0)}function pl(e,t,n,r){sS(e.x,t.x,n.x,r?r.originX:void 0),sS(e.y,t.y,n.y,r?r.originY:void 0)}function aS(e,t,n){e.min=n.min+t.min,e.max=e.min+on(t)}function yW(e,t,n){aS(e.x,t.x,n.x),aS(e.y,t.y,n.y)}function lS(e,t,n){e.min=t.min-n.min,e.max=e.min+on(t)}function hl(e,t,n){lS(e.x,t.x,n.x),lS(e.y,t.y,n.y)}function xW(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?je(n,e,r.max):Math.min(e,n)),e}function uS(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function wW(e,{top:t,left:n,bottom:r,right:i}){return{x:uS(e.x,n,i),y:uS(e.y,t,r)}}function cS(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=na(t.min,t.max-r,e.min):r>i&&(n=na(e.min,e.max-i,t.min)),zi(0,1,n)}function CW(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const a0=.35;function EW(e=a0){return e===!1?e=0:e===!0&&(e=a0),{x:dS(e,"left","right"),y:dS(e,"top","bottom")}}function dS(e,t,n){return{min:fS(e,t),max:fS(e,n)}}function fS(e,t){return typeof e=="number"?e:e[t]||0}const pS=()=>({translate:0,scale:1,origin:0,originPoint:0}),fs=()=>({x:pS(),y:pS()}),hS=()=>({min:0,max:0}),Ge=()=>({x:hS(),y:hS()});function fn(e){return[e("x"),e("y")]}function KM({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function PW({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function TW(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function em(e){return e===void 0||e===1}function l0({scale:e,scaleX:t,scaleY:n}){return!em(e)||!em(t)||!em(n)}function to(e){return l0(e)||QM(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function QM(e){return mS(e.x)||mS(e.y)}function mS(e){return e&&e!=="0%"}function ef(e,t,n){const r=e-n,i=t*r;return n+i}function gS(e,t,n,r,i){return i!==void 0&&(e=ef(e,i,r)),ef(e,n,r)+t}function u0(e,t=0,n=1,r,i){e.min=gS(e.min,t,n,r,i),e.max=gS(e.max,t,n,r,i)}function YM(e,{x:t,y:n}){u0(e.x,t.translate,t.scale,t.originPoint),u0(e.y,n.translate,n.scale,n.originPoint)}function kW(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function ri(e,t){e.min=e.min+t,e.max=e.max+t}function yS(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=je(e.min,e.max,o);u0(e,t[n],t[r],s,t.scale)}const MW=["x","scaleX","originX"],_W=["y","scaleY","originY"];function ps(e,t){yS(e.x,t,MW),yS(e.y,t,_W)}function XM(e,t){return KM(TW(e.getBoundingClientRect(),t))}function RW(e,t,n){const r=XM(e,n),{scroll:i}=t;return i&&(ri(r.x,i.offset.x),ri(r.y,i.offset.y)),r}const ZM=({current:e})=>e?e.ownerDocument.defaultView:null,OW=new WeakMap;class AW{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ge(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(_p(c,"page").point)},o=(c,d)=>{const{drag:f,dragPropagation:p,onDragStart:h}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=cM(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),fn(x=>{let g=this.getAxisMotionValue(x).get()||0;if(cr.test(g)){const{projection:y}=this.visualElement;if(y&&y.layout){const v=y.layout.layoutBox[x];v&&(g=on(v)*(parseFloat(g)/100))}}this.originPoint[x]=g}),h&&h(c,d);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:h,onDrag:m}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:x}=d;if(p&&this.currentDirection===null){this.currentDirection=IW(x),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",d.point,x),this.updateAxis("y",d.point,x),this.visualElement.render(),m&&m(c,d)},a=(c,d)=>this.stop(c,d),l=()=>fn(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new GM(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:ZM(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&o(t,n)}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!vc(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=xW(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&cs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=wW(i.layoutBox,n):this.constraints=!1,this.elastic=EW(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&fn(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=CW(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!cs(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=RW(r,i.root,this.visualElement.getTransformPagePoint());let s=bW(i.layout.layoutBox,o);if(n){const a=n(PW(s));this.hasMutatedConstraints=!!a,a&&(s=KM(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=fn(c=>{if(!vc(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,h={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Jy(t,r,0,n,this.visualElement))}stopAnimation(){fn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){fn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){fn(n=>{const{drag:r}=this.getProps();if(!vc(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n];o.set(t[n]-je(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!cs(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};fn(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();i[s]=SW({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),fn(s=>{if(!vc(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(je(l,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;OW.set(this.visualElement,this);const t=this.visualElement.current,n=_r(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();cs(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const s=Cr(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(fn(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=a0,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function vc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function IW(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class $W extends Gi{constructor(t){super(t),this.removeGroupControls=bt,this.removeListeners=bt,this.controls=new AW(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bt}unmount(){this.removeGroupControls(),this.removeListeners()}}const xS=e=>(t,n)=>{e&&e(t,n)};class LW extends Gi{constructor(){super(...arguments),this.removePointerDownListener=bt}onPointerDown(t){this.session=new GM(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ZM(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:xS(t),onStart:xS(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&i(o,s)}}}mount(){this.removePointerDownListener=_r(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function jW(){const e=b.useContext(Py);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=b.useId();return b.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Wc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function wS(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const La={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;const n=wS(e,t.target.x),r=wS(e,t.target.y);return`${n}% ${r}%`}},DW={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Vi.parse(e);if(i.length>5)return r;const o=Vi.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const u=je(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}};class FW extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;N7(NW),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Wc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||Ke.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),_y.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function JM(e){const[t,n]=jW(),r=b.useContext(Kk);return S.jsx(FW,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(Qk),isPresent:t,safeToRemove:n})}const NW={borderRadius:{...La,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:La,borderTopRightRadius:La,borderBottomLeftRadius:La,borderBottomRightRadius:La,boxShadow:DW},e_=["TopLeft","TopRight","BottomLeft","BottomRight"],zW=e_.length,bS=e=>typeof e=="string"?parseFloat(e):e,SS=e=>typeof e=="number"||Z.test(e);function VW(e,t,n,r,i,o){i?(e.opacity=je(0,n.opacity!==void 0?n.opacity:1,BW(r)),e.opacityExit=je(t.opacity!==void 0?t.opacity:1,0,UW(r))):o&&(e.opacity=je(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(na(e,t,r))}function ES(e,t){e.min=t.min,e.max=t.max}function dn(e,t){ES(e.x,t.x),ES(e.y,t.y)}function PS(e,t,n,r,i){return e-=t,e=ef(e,1/n,r),i!==void 0&&(e=ef(e,1/i,r)),e}function WW(e,t=0,n=1,r=.5,i,o=e,s=e){if(cr.test(t)&&(t=parseFloat(t),t=je(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=je(o.min,o.max,r);e===o&&(a-=t),e.min=PS(e.min,t,n,a,i),e.max=PS(e.max,t,n,a,i)}function TS(e,t,[n,r,i],o,s){WW(e,t[n],t[r],t[i],t.scale,o,s)}const HW=["x","scaleX","originX"],GW=["y","scaleY","originY"];function kS(e,t,n,r){TS(e.x,t,HW,n?n.x:void 0,r?r.x:void 0),TS(e.y,t,GW,n?n.y:void 0,r?r.y:void 0)}function MS(e){return e.translate===0&&e.scale===1}function n_(e){return MS(e.x)&&MS(e.y)}function qW(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function r_(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function _S(e){return on(e.x)/on(e.y)}class KW{constructor(){this.members=[]}add(t){e1(this.members,t),t.scheduleRender()}remove(t){if(t1(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function RS(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:p,skewY:h}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),h&&(r+=`skewY(${h}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const QW=(e,t)=>e.depth-t.depth;class YW{constructor(){this.children=[],this.isDirty=!1}add(t){e1(this.children,t),this.isDirty=!0}remove(t){t1(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(QW),this.isDirty=!1,this.children.forEach(t)}}function XW(e,t){const n=$i.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Dr(r),e(o-t))};return Ke.read(r,!0),()=>Dr(r)}function ZW(e){window.MotionDebug&&window.MotionDebug.record(e)}function JW(e){return e instanceof SVGElement&&e.tagName!=="svg"}function eH(e,t,n){const r=Rt(e)?e:Er(e);return r.start(Jy("",r,t,n)),r.animation}const tm=["","X","Y","Z"],tH={visibility:"hidden"},OS=1e3;let nH=0;const no={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function nm(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function i_({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=nH++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,no.totalNodes=no.resolvedTargetDeltas=no.recalculatedProjection=0,this.nodes.forEach(oH),this.nodes.forEach(cH),this.nodes.forEach(dH),this.nodes.forEach(sH),ZW(no)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=XW(f,250),Wc.hasAnimatedSinceResize&&(Wc.hasAnimatedSinceResize=!1,this.nodes.forEach(IS))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||gH,{onLayoutAnimationStart:x,onLayoutAnimationComplete:g}=c.getProps(),y=!this.targetLayout||!r_(this.targetLayout,h)||p,v=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const w={...By(m,"layout"),onPlay:x,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else f||IS(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Dr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(fH),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(aH),this.sharedNodes.forEach(pH)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ke.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ke.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const C=w/1e3;$S(d.x,s.x,C),$S(d.y,s.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(hl(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),hH(this.relativeTarget,this.relativeTargetOrigin,f,C),v&&qW(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ge()),dn(v,this.relativeTarget)),m&&(this.animationValues=c,VW(c,u,this.latestValues,C,y,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Dr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ke.update(()=>{Wc.hasAnimatedSinceResize=!0,this.currentAnimation=eH(0,OS,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(OS),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&o_(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ge();const d=on(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=on(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}dn(a,l),ps(a,c),pl(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new KW),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&nm("z",s,u,this.animationValues);for(let c=0;c{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(AS),this.root.sharedNodes.clear()}}}function rH(e){e.updateLayout()}function iH(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?fn(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],p=on(f);f.min=r[d].min,f.max=f.min+p}):o_(o,n.layoutBox,r)&&fn(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],p=on(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=fs();pl(a,r,n.layoutBox);const l=fs();s?pl(l,e.applyTransform(i,!0),n.measuredBox):pl(l,r,n.layoutBox);const u=!n_(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const h=Ge();hl(h,n.layoutBox,f.layoutBox);const m=Ge();hl(m,r,p.layoutBox),r_(h,m)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=h,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function oH(e){no.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function sH(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function aH(e){e.clearSnapshot()}function AS(e){e.clearMeasurements()}function lH(e){e.isLayoutDirty=!1}function uH(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function IS(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function cH(e){e.resolveTargetDelta()}function dH(e){e.calcProjection()}function fH(e){e.resetSkewAndRotation()}function pH(e){e.removeLeadSnapshot()}function $S(e,t,n){e.translate=je(t.translate,0,n),e.scale=je(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function LS(e,t,n,r){e.min=je(t.min,n.min,r),e.max=je(t.max,n.max,r)}function hH(e,t,n,r){LS(e.x,t.x,n.x,r),LS(e.y,t.y,n.y,r)}function mH(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const gH={duration:.45,ease:[.4,0,.1,1]},jS=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),DS=jS("applewebkit/")&&!jS("chrome/")?Math.round:bt;function FS(e){e.min=DS(e.min),e.max=DS(e.max)}function vH(e){FS(e.x),FS(e.y)}function o_(e,t,n){return e==="position"||e==="preserve-aspect"&&!s0(_S(t),_S(n),.2)}const yH=i_({attachResizeListener:(e,t)=>Cr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rm={current:void 0},s_=i_({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rm.current){const e=new yH({});e.mount(window),e.setOptions({layoutScroll:!0}),rm.current=e}return rm.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),xH={pan:{Feature:LW},drag:{Feature:$W,ProjectionNode:s_,MeasureLayout:JM}},c0={current:null},a_={current:!1};function wH(){if(a_.current=!0,!!Ty)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>c0.current=e.matches;e.addListener(t),t()}else c0.current=!1}function bH(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(Rt(o))e.addValue(i,o),Jd(r)&&r.add(i);else if(Rt(s))e.addValue(i,Er(o,{owner:e})),Jd(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const a=e.getValue(i);a.liveStyle===!0?a.jump(o):a.hasAnimated||a.set(o)}else{const a=e.getStaticValue(i);e.addValue(i,Er(a!==void 0?a:o,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const NS=new WeakMap,SH=[...yM,Mt,Vi],CH=e=>SH.find(vM(e)),l_=Object.keys(tu),EH=l_.length,zS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],PH=Oy.length;function u_(e){if(e)return e.options.allowProjection!==!1?e.projection:u_(e.parent)}class TH{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},a={}){this.resolveKeyframes=(f,p,h,m)=>new this.KeyframeResolver(f,p,h,m,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Wy,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Ke.render(this.render,!1,!0);const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=Mp(n),this.isVariantNode=qk(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const p=d[f];l[f]!==void 0&&Rt(p)&&(p.set(l[f],!1),Jd(c)&&c.add(f))}}mount(t){this.current=t,NS.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),a_.current||wH(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:c0.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var t;NS.delete(this.current),this.projection&&this.projection.unmount(),Dr(this.notifyUpdate),Dr(this.render),this.valueSubscriptions.forEach(n=>n()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features)(t=this.features[n])===null||t===void 0||t.unmount();this.current=null}bindToMotionValue(t,n){const r=Do.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Ke.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,o){let s,a;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,layoutScroll:f,layoutRoot:p})}return a}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ge()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Er(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(mM(i)||hM(i))?i=parseFloat(i):!CH(i)&&Vi.test(n)&&(i=TM(t,n)),this.setBaseTarget(t,Rt(i)?i.get():i)),Rt(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const s=zy(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(i=s[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Rt(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new n1),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class c_ extends TH{constructor(){super(...arguments),this.KeyframeResolver=kM}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}}function kH(e){return window.getComputedStyle(e)}class MH extends c_{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(Do.has(n)){const r=Gy(n);return r&&r.default||0}else{const r=kH(t),i=(Zk(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return XM(t,n)}build(t,n,r,i){Ly(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Ny(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Rt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){rM(t,n,r,i)}}class _H extends c_{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Do.has(n)){const r=Gy(n);return r&&r.default||0}return n=iM.has(n)?n:My(n),t.getAttribute(n)}measureInstanceViewportBox(){return Ge()}scrapeMotionValuesFromProps(t,n,r){return sM(t,n,r)}build(t,n,r,i){Dy(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){oM(t,n,r,i)}mount(t){this.isSVGTag=Fy(t.tagName),super.mount(t)}}const RH=(e,t)=>Ay(e)?new _H(t,{enableHardwareAcceleration:!1}):new MH(t,{allowProjection:e!==b.Fragment,enableHardwareAcceleration:!0}),OH={layout:{ProjectionNode:s_,MeasureLayout:JM}},AH={...hW,...kB,...xH,...OH},IH=D7((e,t)=>hB(e,t,AH,RH));function $H(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(Uy(!!t.current),i=t.current),n?((r=n[e])!==null&&r!==void 0||(n[e]=i.querySelectorAll(e)),e=n[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}const Hc=new WeakMap;let ei;function LH(e,t){if(t){const{inlineSize:n,blockSize:r}=t[0];return{width:n,height:r}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function jH({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Hc.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return LH(e,n)}})})}function DH(e){e.forEach(jH)}function FH(){typeof ResizeObserver>"u"||(ei=new ResizeObserver(DH))}function NH(e,t){ei||FH();const n=$H(e);return n.forEach(r=>{let i=Hc.get(r);i||(i=new Set,Hc.set(r,i)),i.add(t),ei==null||ei.observe(r)}),()=>{n.forEach(r=>{const i=Hc.get(r);i==null||i.delete(t),i!=null&&i.size||ei==null||ei.unobserve(r)})}}const Gc=new Set;let ml;function zH(){ml=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Gc.forEach(n=>n(t))},window.addEventListener("resize",ml)}function VH(e){return Gc.add(e),ml||zH(),()=>{Gc.delete(e),!Gc.size&&ml&&(ml=void 0)}}function BH(e,t){return typeof e=="function"?VH(e):NH(e,t)}const UH=50,VS=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),WH=()=>({time:0,x:VS(),y:VS()}),HH={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function BS(e,t,n,r){const i=n[t],{length:o,position:s}=HH[t],a=i.current,l=n.time;i.current=e[`scroll${s}`],i.scrollLength=e[`scroll${o}`]-e[`client${o}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=na(0,i.scrollLength,i.current);const u=r-l;i.velocity=u>UH?0:qy(i.current-a,u)}function GH(e,t,n){BS(e,"x",t,n),BS(e,"y",t,n),t.time=n}function qH(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const i=r.getBoundingClientRect();r=r.parentElement;const o=r.getBoundingClientRect();n.x+=i.left-o.left,n.y+=i.top-o.top}else if(r instanceof SVGGraphicsElement){const{x:i,y:o}=r.getBBox();n.x+=i,n.y+=o;let s=null,a=r.parentNode;for(;!s;)a.tagName==="svg"&&(s=a),a=r.parentNode;r=s}else break;return n}const KH={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},d0={start:0,center:.5,end:1};function US(e,t,n=0){let r=0;if(e in d0&&(e=d0[e]),typeof e=="string"){const i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(r=t*e),n+r}const QH=[0,0];function YH(e,t,n,r){let i=Array.isArray(e)?e:QH,o=0,s=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,d0[e]?e:"0"]),o=US(i[0],n,r),s=US(i[1],t),o-s}const XH={x:0,y:0};function ZH(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function JH(e,t,n){const{offset:r=KH.All}=n,{target:i=e,axis:o="y"}=n,s=o==="y"?"height":"width",a=i!==e?qH(i,e):XH,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:ZH(i),u={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let c=!t[o].interpolate;const d=r.length;for(let f=0;feG(e,r.target,n),update:i=>{GH(e,n,i),(r.offset||r.target)&&JH(e,n,r)},notify:()=>t(n)}}const ja=new WeakMap,WS=new WeakMap,im=new WeakMap,HS=e=>e===document.documentElement?window:e;function nG(e,{container:t=document.documentElement,...n}={}){let r=im.get(t);r||(r=new Set,im.set(t,r));const i=WH(),o=tG(t,e,i,n);if(r.add(o),!ja.has(t)){const a=()=>{for(const f of r)f.measure()},l=()=>{for(const f of r)f.update(dt.timestamp)},u=()=>{for(const f of r)f.notify()},c=()=>{Ke.read(a,!1,!0),Ke.read(l,!1,!0),Ke.update(u,!1,!0)};ja.set(t,c);const d=HS(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&WS.set(t,BH(t,c)),d.addEventListener("scroll",c,{passive:!0})}const s=ja.get(t);return Ke.read(s,!1,!0),()=>{var a;Dr(s);const l=im.get(t);if(!l||(l.delete(o),l.size))return;const u=ja.get(t);ja.delete(t),u&&(HS(t).removeEventListener("scroll",u),(a=WS.get(t))===null||a===void 0||a(),window.removeEventListener("resize",u))}}function GS(e,t){NB(!!(!t||t.current))}const rG=()=>({scrollX:Er(0),scrollY:Er(0),scrollXProgress:Er(0),scrollYProgress:Er(0)});function Ap({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=Vy(rG);return(n?ky:b.useEffect)(()=>(GS("target",t),GS("container",e),nG(({x:s,y:a})=>{i.scrollX.set(s.current),i.scrollXProgress.set(s.progress),i.scrollY.set(a.current),i.scrollYProgress.set(a.progress)},{...r,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0})),[e,t,JSON.stringify(r.offset)]),i}function iG(e){e.values.forEach(t=>t.stop())}function f0(e,t){[...t].reverse().forEach(r=>{const i=e.getVariant(r);i&&r1(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{f0(o,t)})})}function oG(e,t){if(Array.isArray(t))return f0(e,t);if(typeof t=="string")return f0(e,[t]);r1(e,t)}function sG(){const e=new Set,t={subscribe(n){return e.add(n),()=>void e.delete(n)},start(n,r){const i=[];return e.forEach(o=>{i.push(HM(o,n,{transitionOverride:r}))}),Promise.all(i)},set(n){return e.forEach(r=>{oG(r,n)})},stop(){e.forEach(n=>{iG(n)})},mount(){return()=>{t.stop()}}};return t}function aG(){const e=Vy(sG);return ky(e.mount,[]),e}const lG=aG,p0=e=>{const{id:t,className:n,background:r,minSize:i,maxSize:o,speed:s,particleColor:a,particleDensity:l}=e,[u,c]=b.useState(!1);b.useEffect(()=>{WV(async p=>{await HV(p)}).then(()=>{c(!0)})},[]);const d=lG(),f=async p=>{p&&(console.log(p),d.start({opacity:1,transition:{duration:1}}))};return S.jsx(IH.div,{style:{...e.sx},animate:d,className:E7("opacity-0",n),children:u&&S.jsx(UV,{id:t||"tsparticles",particlesLoaded:f,options:{background:{color:{value:r||"#0d47a1"}},fullScreen:{enable:!1,zIndex:1},fpsLimit:120,interactivity:{events:{onClick:{enable:!0,mode:"push"},onHover:{enable:!1,mode:"repulse"},resize:!0},modes:{push:{quantity:4},repulse:{distance:200,duration:.4}}},particles:{bounce:{horizontal:{value:1},vertical:{value:1}},collisions:{absorb:{speed:2},bounce:{horizontal:{value:1},vertical:{value:1}},enable:!1,maxSpeed:50,mode:"bounce",overlap:{enable:!0,retries:0}},color:{value:a||"#ffffff",animation:{h:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0},s:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0},l:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0}}},effect:{close:!0,fill:!0,options:{},type:{}},groups:{},move:{angle:{offset:0,value:90},attract:{distance:200,enable:!1,rotate:{x:3e3,y:3e3}},center:{x:50,y:50,mode:"percent",radius:0},decay:0,distance:{},direction:"none",drift:0,enable:!0,gravity:{acceleration:9.81,enable:!1,inverse:!1,maxSpeed:50},path:{clamp:!0,delay:{value:0},enable:!1,options:{}},outModes:{default:"out"},random:!1,size:!1,speed:{min:.1,max:1},spin:{acceleration:0,enable:!1},straight:!1,trail:{enable:!1,length:10,fill:{}},vibrate:!1,warp:!1},number:{density:{enable:!0,width:400,height:400},limit:{mode:"delete",value:0},value:l||120},opacity:{value:{min:.1,max:1},animation:{count:0,enable:!0,speed:s||4,decay:0,delay:0,sync:!1,mode:"auto",startValue:"random",destroy:"none"}},reduceDuplicates:!1,shadow:{blur:0,color:{value:"#000"},enable:!1,offset:{x:0,y:0}},shape:{close:!0,fill:!0,options:{},type:"circle"},size:{value:{min:i||1,max:o||3},animation:{count:0,enable:!1,speed:5,decay:0,delay:0,sync:!1,mode:"auto",startValue:"random",destroy:"none"}},stroke:{width:0},zIndex:{value:0,opacityRate:1,sizeRate:1,velocityRate:1},destroy:{bounds:{},mode:"none",split:{count:1,factor:{value:3},rate:{value:{min:4,max:9}},sizeOffset:!0}},roll:{darken:{enable:!1,value:0},enable:!1,enlighten:{enable:!1,value:0},mode:"vertical",speed:25},tilt:{value:0,animation:{enable:!1,speed:0,decay:0,sync:!1},direction:"clockwise",enable:!1},twinkle:{lines:{enable:!1,frequency:.05,opacity:1},particles:{enable:!1,frequency:.05,opacity:1}},wobble:{distance:5,enable:!1,speed:{angle:50,move:10}},life:{count:0,delay:{value:0,sync:!1},duration:{value:0,sync:!1}},rotate:{value:0,animation:{enable:!1,speed:0,decay:0,sync:!1},direction:"clockwise",path:!1},orbit:{animation:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!1},enable:!1,opacity:1,rotation:{value:45},width:1},links:{blink:!1,color:{value:"#fff"},consent:!1,distance:100,enable:!1,frequency:1,opacity:1,shadow:{blur:5,color:{value:"#000"},enable:!1},triangles:{enable:!1,frequency:1},width:1,warp:!1},repulse:{value:0,enabled:!1,distance:1,duration:1,factor:1,speed:1}},detectRetina:!0}})})};function qS(e){let t="",n="";e.project.tier=="Silver"?(t="#E5E4E2",n="#9E9E9E"):e.project.tier=="Gold"?(t="#EBD197",n="#B48811"):(t="#DC8E41",n="#BE7023");function r(i){let o=i.toLowerCase().replaceAll("-","").replaceAll(" ","-");return`${_u.getUri()}/sponsor-logos/${o}.png`}return S.jsx(Q,{sx:{...e.sx,boxShadow:5,position:"sticky",height:"60vh",width:{xs:"100%",md:"50vw"},borderRadius:"20px",padding:"30px",background:"linear-gradient(90deg,"+t+", "+n+")"},children:S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",height:"100%",gap:"15px"},children:[S.jsx("img",{style:{maxWidth:"48px",mixBlendMode:"luminosity"},src:"/logo256.png"}),S.jsx(Q,{sx:{marginTop:"10px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"30px",maxWidth:"100%"},children:e.project.members.map(i=>S.jsx("img",{style:{maxHeight:"50px",maxWidth:"100%"},src:r(i)}))}),S.jsx(Q,{sx:{flexGrow:1}}),S.jsx(ae,{sx:{lineHeight:.7,fontSize:"2.8rem",fontWeight:"bold",color:"black",textAlign:"end"},children:e.project.tier})]})})}function d_(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,o]=W.useState(0),{scrollYProgress:s}=Ap({target:t,offset:["start start","end end"]});return W.useEffect(()=>{s.on("change",a=>{a<.9&&(r(Math.abs(1-a*.08)),o(Math.abs(200*a)))})},[]),S.jsxs(Q,{sx:{...e==null?void 0:e.sx,display:"flex",flexDirection:"column",alignItems:"center",gap:"50px",minHeight:`calc(${400*(e.children.length+1)}px)`,transform:`scale(${n})`},children:[S.jsx(ae,{sx:{position:"sticky",top:`calc(${e.stickyPosition?"33vh":"130px"} - ${i}px)`,fontSize:"2.3rem",fontWeight:"bold",lineHeight:e.stickyPosition?.4:"unset"},children:e.title}),e.children.map((a,l)=>W.cloneElement(a,{sx:{position:"sticky",top:`calc(${e.stickyPosition??"25vh"} + ${l*40}px - ${i}px)`,transform:`scale(${1+l*.03})`}}))]})}function uG(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,o]=W.useState([]),{scrollYProgress:s}=Ap({target:t,offset:["start start","end end"]});return W.useEffect(()=>{s.on("change",a=>{a<.9&&r(Math.abs(1-a*.08))}),o(()=>[{tier:"Gold",members:["Amazon Project Kuiper","Fischell Institute","Children's National","Praxis Engineering"]},{tier:"Silver",members:["MCERSI","SECU"]},{tier:"Bronze",members:["NSA"]}])},[]),S.jsxs(Q,{sx:{width:"100%",height:"100%",display:"flex",position:"relative",justifyContent:"center",padding:{xs:"15px",md:"0px 100px 0px 50px"}},children:[S.jsxs(Q,{sx:{display:{xs:"none",md:"flex"},flexDirection:"column",width:"100%",height:"max-content",position:"sticky",top:"45vh",left:"0px",textAlign:"center"},children:[S.jsx(ae,{sx:{fontSize:"2.5rem",fontWeight:"bold"},children:"Our Sponsors"}),S.jsx(Nl,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold"},children:"Want to be a part of something amazing? Sponsor us today!"})]}),e!=null&&e.mobileView?S.jsxs(Q,{sx:{display:"flex",flexDirection:"column"},children:[S.jsx(d_,{title:"Our Sponsors",stickyPosition:"40vh",children:i.map(a=>S.jsx(qS,{project:a}))}),S.jsx(Nl,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold",textAlign:"center"},children:"Want to be a part of something amazing? Sponsor us today!"})]}):S.jsx(Q,{ref:t,sx:{...e==null?void 0:e.sx,flexGrow:1,display:"flex",flexDirection:"column",alignItems:"center",gap:"50px",width:"100%",minHeight:`${60*(i.length+1)}vh`,transform:`scale(${n})`},children:i.map((a,l)=>S.jsx(qS,{project:a,sx:{top:`calc(22vh + ${l*40}px)`,transform:`scale(${1+l*.03})`}}))})]})}const cG=e=>{for(let t=e.length-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e},Da=e=>(console.warn(e.highlights),S.jsx(Q,{sx:{width:"100%",...e.sx},id:e.id,children:S.jsx(t2,{autoFill:!0,...e.marquee,style:{padding:e.scale==""?"15px":"20px",margin:e.scale==""?"0px":"-35px 0px -35px 0px"},children:cG(e.highlights).map(t=>S.jsx(Ys,{elevation:8,sx:{display:"flex",borderRadius:"20px",background:"white",position:"relative",margin:"0px 50px 0px 50px",scale:e.scale,overflow:"hidden"},children:S.jsx("img",{src:t.imageURL,style:{maxWidth:"400px",maxHeight:"300px"}})}))})}));function dG(){const[e,t]=W.useState([]);return W.useEffect(()=>{t([{imageURL:"https://picsum.photos/800/500",redirect:"",description:"a"},{imageURL:"https://picsum.photos/600/700",redirect:"",description:"a"},{imageURL:"https://picsum.photos/400/600",redirect:"",description:"a"},{imageURL:"https://picsum.photos/600/300",redirect:"",description:"a"},{imageURL:"https://picsum.photos/900/500",redirect:"",description:"a"}])},[]),S.jsxs(Q,{sx:{width:"100%",height:"100%",position:"relative",display:"flex",flexDirection:"column"},children:[S.jsx(p0,{background:"transparent",minSize:.5,maxSize:1.3,particleDensity:40,sx:{position:"absolute",zIndex:1,width:"100%",height:"100%",top:"50px"}}),S.jsx(Da,{id:"bg01-highlightscontainer",marquee:{direction:"left",speed:70},highlights:e,scale:"0.6",sx:{filter:"blur(6px)",opacity:"0.4",zIndex:1}}),S.jsx(Da,{id:"fg-highlightscontainer",marquee:{direction:"right",speed:50},highlights:e,scale:"",sx:{position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:4}}),S.jsx(Da,{id:"bg02-highlightscontainer",marquee:{direction:"left",speed:90},highlights:e,scale:"0.6",sx:{filter:"blur(6px)",marginTop:"-170px",zIndex:3,opacity:"0.4"}}),S.jsx(Da,{id:"bg03-highlightscontainer",marquee:{direction:"left",speed:110},highlights:e,scale:"0.6",sx:{filter:"blur(6px)",marginTop:"-140px",opacity:"0.4",zIndex:2}}),S.jsx(Da,{id:"bg04-highlightscontainer",marquee:{direction:"left",speed:40},highlights:e,scale:"0.6",sx:{filter:"blur(6px)",marginTop:"-170px",opacity:"0.4",zIndex:1}})]})}function fG(e){return S.jsxs(Q,{id:e==null?void 0:e.id,sx:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[S.jsx(ae,{id:"contact-us",sx:{fontSize:"3rem",fontWeight:"bold",textAlign:"center"},children:"Stay Connected!"}),S.jsx(ae,{sx:{textAlign:"center"},children:"We hold a lot of events thoughout the year, Keep in touch with us!"}),S.jsx(QT,{sx:{marginTop:"25px"},fontSize:"2rem"}),S.jsx(HD,{sx:{minWidth:{xs:"90%",md:"60%",lg:"40%"},marginTop:"40px"},placeholder:"Drop us an Email!"})]})}const KS=b.forwardRef((e,t)=>{if(e.isLoading)return"Loading...";if(e.error)return e.error.message;const n=W.useRef(null),r=W.useRef(null),{scrollYProgress:i}=Ap({target:n,offset:["start start","end end"]});return W.useEffect(()=>{i.on("change",o=>{r.current&&(r.current.scrollLeft=(r.current.scrollWidth-r.current.clientWidth)*o)})},[]),S.jsx(Q,{ref:t,children:e.mobileView?S.jsx(d_,{title:"Projects",sx:{padding:"20px"},children:e.data.map(o=>S.jsx(Sw,{mobileView:!0,project:o},o._id))}):S.jsx(Q,{ref:n,sx:{height:`${e.data.length*600}px`},children:S.jsx(Q,{id:e.id,ref:r,sx:{display:"flex",gap:"30px",padding:"80px 50px 80px 50px",maxWidth:"100%",overflowX:"hidden",top:"100px",position:"sticky"},children:e.data.map(o=>S.jsx(Sw,{mobileView:!1,project:o},o._id))})})})}),QS=[{title:"About",anchor:"/#maindiv-001"},{title:"Projects",anchor:"/#subdiv-002"},{title:"Our Team",anchor:"/#team"},{title:"Sponsors",anchor:"/#sponsors"},{title:"Highlights",anchor:"/#highlights"},{title:"Contact Us",anchor:"/#contact"}];function pG(){function e(w){switch(w){case 1:return"linear-gradient(30deg, #1e1e1e, #5626a1);";case 0:return"radial-gradient(55% 55% at -3% 104%, #0F114AFF 13%, #07074178 41%, #00000014 76%, #073AFF00 99%),radial-gradient(25% 25% at 62% 54%, #2324A9C4 0%, #073AFF00 100%),radial-gradient(25% 44% at 83% 33%, #434EA3FF 0%, #44579D29 65%, #073AFF00 93%),radial-gradient(49% 81% at 45% 47%, #0891A245 0%, #073AFF00 100%),radial-gradient(113% 91% at 17% -2%, #6122A6FF 1%, #FF000000 99%),radial-gradient(142% 91% at 83% 7%, #0522A9FF 1%, #FF000000 99%),radial-gradient(142% 91% at -6% 74%, #1C2581FF 1%, #FF000000 99%),radial-gradient(142% 91% at 109% 60%, #131B36FF 0%, #205353FF 99%)0";case-1:return"linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);";case 2:return"linear-gradient(135deg, #000000, #120037, #2e002b, #170018);";case 3:return"radial-gradient(circle at 30% 30%, #5F0F40 0%, #310E68 30%, #5626a1 50%, #1e1e1e 70%, #330136 80%, #560bad 100%), linear-gradient(135deg, #5F0F40, #310E68);";case 4:return"linear-gradient(135deg, #060101, #0e0202, #160303, #1e0404);";case-2:return"linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);";default:return"black"}}const t=Q4(XT.baseTheme.breakpoints.down("md")),[n,r]=W.useState(-120),[i]=W.useState([{title:"General Body Meeting, 3/25 8pm @ Iribe"}]),[o,s]=W.useState({start:0,end:0}),[a,l]=W.useState(!1);W.useEffect(()=>{a&&setTimeout(()=>{s(w=>(l(!1),w.start=w.end,w))},200)},[a]);function u(w){s(C=>(C.end!=w&&(l(!0),C.start=C.end,C.end=w,console.warn(`Gradient Transition: ${C.start} -> ${C.end}`)),C))}const c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(null),h=b.useRef(null),{scrollYProgress:m}=Ap({target:c,offset:["start start","end end"]});W.useEffect(()=>{m.on("change",w=>{var L,D,B,N,H,O,$;r(Math.min(-120*(1-30*w),0));const C=(((L=c.current)==null?void 0:L.offsetHeight)??0)*w,E=(((D=f==null?void 0:f.current)==null?void 0:D.offsetTop)??0)-100,T=E+(((B=f==null?void 0:f.current)==null?void 0:B.offsetHeight)??0)+50,P=(((N=p==null?void 0:p.current)==null?void 0:N.offsetTop)??0)-50,k=P+(((H=p==null?void 0:p.current)==null?void 0:H.offsetHeight)??0)+100,M=(((O=h==null?void 0:h.current)==null?void 0:O.offsetTop)??0)-100,A=M+((($=h==null?void 0:h.current)==null?void 0:$.offsetHeight)??0)+400,I=A;C>E&&CP&&CM&&CI?u(4):u(0)})},[]);const[x]=W.useState("fixed"),{data:g,isLoading:y,error:v}=Pk({queryKey:["projects"],queryFn:async()=>await Tk.getAll()});return S.jsxs(S.Fragment,{children:[S.jsxs(Q,{ref:c,id:"maindiv-001",sx:{position:"relative"},children:[i.length<1?S.jsx(S.Fragment,{}):S.jsx(HT,{events:i}),S.jsx(Md,{links:QS,fullWidth:!0}),S.jsx(Q,{id:"paddingdiv-001",sx:{height:"50px"}}),S.jsx(Ha.ScrollContainer,{style:{position:x,scrollBehavior:"smooth",overflow:"visible",width:"100%",height:"100%"},children:S.jsx(Ha.ScrollPage,{style:{width:"100%",overflow:"visible",flexDirection:"column",display:"flex",alignItems:"center",justifyContent:"flex-start"},children:S.jsxs(Ha.Animator,{style:{width:"100%",overflow:"visible"},animation:Ha.batch(mG(1,-.5,0),hG(3,1,0),gG(0,-400,0)),children:[S.jsx("div",{id:"stars1"}),S.jsx("div",{id:"stars2"}),S.jsx("div",{id:"stars3"}),S.jsxs(ae,{sx:{flexGrow:1,fontSize:"4vw",fontWeight:"bold",textAlign:"center"},children:["Empower Code. Inspire Design.",S.jsx("br",{}),"Drive Innovation."]}),S.jsxs(Q,{id:"subdiv-001",ref:d,sx:{display:"flex",flex:1,flexWrap:"wrap",gap:4,marginLeft:{md:8},marginRight:{md:8},marginTop:"5vw",flexDirection:{xs:"column",md:"row"}},children:[S.jsx(Ah,{end:5e5,title:"Dollars Saved",prefix:"$",minWidth:336,alignSelf:{xs:"center",md:"flex-start"}}),S.jsx(Ah,{end:170,title:"Members",minWidth:81}),S.jsx(Ah,{end:5e4,title:"Lines of Code",minWidth:267,alignSelf:{xs:"center",md:"flex-end"}})]})]})})}),S.jsx(Q,{id:"paddingdiv-002",sx:{height:"100vh"}}),t?S.jsx(Q,{ref:f,sx:{padding:"10px"},id:"subdiv-002",children:S.jsx(KS,{sx:{},mobileView:!0,data:g,isLoading:y,error:v})}):S.jsx(Q,{ref:f,id:"subdiv-002",children:S.jsx(KS,{sx:{height:"300vh"},data:g,isLoading:y,error:v})}),t&&!t?S.jsx(S.Fragment,{}):S.jsxs(Q,{id:"team",ref:p,sx:{paddingTop:"100px",background:"linear-gradient(0deg, #00FFFF00 0%, #000000FF 44%, #000000FF 50%, #000000FF 56%, #073AFF00 100%)",transition:"opacity 0.5s ease"},children:[S.jsx(p0,{id:"members_sparkles",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"}),S.jsx(Q,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:S.jsx(Cz,{id:"member-carousel"})}),S.jsx(p0,{id:"members_sparkles2",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"})]}),S.jsx(Q,{id:"paddingdiv-003",sx:{height:"150px"}}),S.jsx(Q,{id:"sponsors",ref:h,children:S.jsx(uG,{mobileView:t})}),S.jsx(Q,{id:"paddingdiv-004",sx:{height:"300px"}}),S.jsx(ae,{id:"highlights",sx:{fontSize:"3rem",fontWeight:"bold",textAlign:"center"},children:"Highlights"}),S.jsx(dG,{}),S.jsx(Q,{id:"paddingdiv-006",sx:{height:"200px"}}),S.jsx(fG,{id:"contact"}),S.jsx(Q,{id:"paddingdiv-006",sx:{height:"200px"}}),S.jsx(YT,{}),S.jsx(Md,{links:QS,translucent:!0,sx:{marginTop:"25px",zIndex:5,position:"fixed",top:`${n}px`,left:"0px"}})]}),S.jsx(Q,{id:"maindiv-002",sx:{height:"100vh",width:"100vw",position:"fixed",zIndex:-1,top:"0px","::before":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:e(o.start),transition:"opacity 0.4s",animation:"plasma 6s ease infinite",backgroundBlendMode:o.start==3?"color-dodge":"unset",opacity:a?.5:1,zIndex:1},"::after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:e(o.end),animation:"plasma 6s ease infinite",transition:"opacity 0.4s",opacity:a?1:.5,zIndex:0}}})]})}const hG=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`scale(${t*(1-r)+e*r})`)}}}),mG=(e,t,n)=>({out:{style:{opacity:r=>(r=Math.max(r-n,0),e*(1-r)+t*r)}}}),gG=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`translate(${0*(1-r)+e*r}px, ${0*(1-r)+t*r}px)`)}}});function vG(){const{projectId:e}=v5(),{data:t,isFetching:n,error:r}=Pk({queryKey:["project"],queryFn:async()=>await Tk.getById(e)});return b.useEffect(()=>{window.scrollTo(0,0)},[]),n?S.jsx(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:S.jsx(Qj,{})}):r?S.jsx(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:S.jsx(sL,{variant:"filled",severity:"error",children:"Unable to retrieve project data..."})}):S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",gap:"2rem",justifyContent:"center",padding:"15vh 0",alignItems:"center",minHeight:"100vh"},children:[S.jsx(yG,{name:t.name,organization:t.organization}),S.jsx(xG,{description:t.description}),S.jsx(wG,{demo:t.demo}),S.jsx(bG,{members:t.members})]})}function yG(e){return S.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[S.jsx(ae,{variant:"h2",sx:{fontWeight:"bold"},children:e.name}),S.jsxs(ae,{variant:"h4",sx:{fontStyle:"italic"},children:["In collaboration with ",e.organization]})]})}function xG(e){return S.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[S.jsx(ae,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Overview"}),S.jsx(Dv,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),S.jsx(ae,{children:e.description})]})}function wG(e){return S.jsxs(Q,{children:[S.jsx(ae,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Demo"}),S.jsx(Dv,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),S.jsx(Oj,{sx:{marginTop:"15px",borderRadius:"5px",width:"clamp(25rem, 50vw, 60rem)",backgroundColor:"white",color:"black"},children:S.jsx(Nj,{component:"iframe",image:e.demo,sx:{width:"inherit",aspectRatio:"16/9",border:"none"}})})]})}function bG(e){return S.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[S.jsx(ae,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Members"}),S.jsx(Dv,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),S.jsx(Q,{sx:{marginTop:"15px",display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",gap:"10px"},children:e.members.map((t,n)=>S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",backgroundColor:"white",borderRadius:"5px",color:"black",minWidth:"15%",padding:"1rem"},children:[t.memberInfo.profileUrl?S.jsx(kd,{src:t.memberInfo.profileUrl,sx:{width:"50px",height:"50px"}},n):b.createElement(kd,{...JT(`${t.memberInfo.firstName} ${t.memberInfo.lastName}`),sx:{width:"50px",height:"50px"},key:n}),S.jsx(ae,{variant:"subtitle1",sx:{fontWeight:"bold",marginTop:"5px"},children:`${t.memberInfo.firstName} ${t.memberInfo.lastName}`}),S.jsx(ae,{variant:"subtitle2",sx:{opacity:"0.75"},children:t.role})]}))})]})}function SG(){return S.jsx("h1",{children:"WebTierPage"})}function om(e){return S.jsxs(Q,{sx:{...e==null?void 0:e.sx,display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"center",width:e.width,backgroundColor:"white",borderRadius:"5px",boxShadow:5,color:"black",wordBreak:"break-word"},children:[S.jsx(CG,{tier:e.tier,backgroundColor:e.backgroundColor,price:e.price}),S.jsx(PG,{backgroundColor:e.backgroundColor,benefits:e.benefits,prereq:e.prereq})]})}function CG(e){return S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"60%"},children:[S.jsx(ae,{variant:"h4",sx:{textShadow:"-2px 2px 3px gray"},children:e.tier}),S.jsxs(ae,{variant:"h2",sx:{textShadow:"-2px 2px 3px gray"},children:["$",e.price,"+"]}),S.jsx(ae,{variant:"h6",gutterBottom:!0,sx:{textShadow:"-2px 2px 3px gray"},children:"per year"}),S.jsx(EG,{tier:e.tier,backgroundColor:e.backgroundColor})]})}function EG(e){const t=uv();return S.jsx(Q,{sx:{marginTop:"0.75rem",padding:"0.5rem 1rem",boxShadow:1,backgroundColor:e.backgroundColor,borderRadius:"5px",width:"80%",textAlign:"center",cursor:"pointer"},onClick:()=>t(`/tier/${e.tier}`),children:S.jsxs(ae,{children:["Select ",e.tier," Tier →"]})})}function PG(e){return S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"left",alignItems:"top",backgroundColor:e.backgroundColor,borderRadius:"5px",padding:"1.5rem",boxShadow:12,width:"105.5%",height:"40%",boxSizing:"border-box"},children:[e.prereq&&S.jsx(ae,{gutterBottom:!0,children:`< Everything included in ${e.prereq}, plus...`}),e.benefits.map((t,n)=>S.jsx(ae,{children:`> ${t}`},n))]})}function TG(){return S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",width:"100%",justifyContent:"center",alignItems:"center",gap:"35px",marginBottom:"100px"},children:[S.jsx(ae,{sx:{textAlign:"center"},variant:"h3",children:"Sponsorship Tiers"}),S.jsxs(Q,{sx:{marginTop:"40px",width:{xs:"100%",md:"75%"},display:"flex",flexDirection:"row",gap:"100px",height:"100vh",flexWrap:"wrap"},children:[S.jsx(om,{tier:"Gold",backgroundColor:"gold",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),S.jsx(om,{tier:"Silver",backgroundColor:"silver",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),S.jsx(om,{tier:"Bronze",backgroundColor:"#CD7F32",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}})]})]})}const kG=new d9;sm.createRoot(document.getElementById("root")).render(S.jsx(j5,{children:S.jsx(g9,{client:kG,children:S.jsxs(s$,{theme:XT.baseTheme,children:[S.jsx(Jj,{}),S.jsxs(I5,{children:[S.jsx(qo,{path:"/",element:S.jsx(pG,{})}),S.jsxs(qo,{path:"/",element:S.jsx(fF,{}),children:[S.jsx(qo,{path:"/project/:projectId",element:S.jsx(vG,{})}),S.jsx(qo,{path:"tier/:tier",element:S.jsx(SG,{})}),S.jsx(qo,{path:"/sponsor-us",element:S.jsx(TG,{})})]})]})]})})}));export{tq as $,NG as A,FG as B,OG as C,AG as D,GG as E,HG as F,SV as G,pt as H,Ps as I,fr as J,UG as K,by as L,oq as M,WG as N,Co as O,fq as P,$k as Q,iq as R,Ak as S,Ep as T,KG as U,jn as V,Rk as W,BG as X,JG as Y,nq as Z,Te as _,VG as a,rq as a0,Ik as a1,ZG as a2,Cp as a3,jV as a4,NV as a5,eq as a6,dq as a7,cq as a8,Sy as a9,YG as aa,sq as ab,pq as ac,hq as ad,us as ae,XG as af,EV as b,wy as c,Zl as d,Jl as e,Ob as f,uq as g,pa as h,jo as i,pc as j,zG as k,qG as l,qd as m,lq as n,QG as o,zh as p,_k as q,aq as r,cl as s,IG as t,$G as u,jG as v,LG as w,RG as x,_G as y,DG as z}; diff --git a/dist/assets/index-Rwe__rMQ.js b/dist/assets/index-CgFR6zfI.js similarity index 50% rename from dist/assets/index-Rwe__rMQ.js rename to dist/assets/index-CgFR6zfI.js index f8478e4..6c9adeb 100644 --- a/dist/assets/index-Rwe__rMQ.js +++ b/dist/assets/index-CgFR6zfI.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/ParallaxMover-BWh3OOEZ.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/ParallaxMover-CZoSgvFL.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as t}from"./index-CIovSKpD.js";async function l(a,r=!0){await a.addMover("parallax",async()=>{const{ParallaxMover:o}=await t(()=>import("./ParallaxMover-BWh3OOEZ.js"),__vite__mapDeps([0,1,2]));return new o},r)}export{l as loadParallaxMover}; +import{_ as t}from"./index-CgAHdhFx.js";async function l(a,r=!0){await a.addMover("parallax",async()=>{const{ParallaxMover:o}=await t(()=>import("./ParallaxMover-CZoSgvFL.js"),__vite__mapDeps([0,1,2]));return new o},r)}export{l as loadParallaxMover}; diff --git a/dist/assets/index-BhGalRD2.js b/dist/assets/index-CoT1PRBU.js similarity index 59% rename from dist/assets/index-BhGalRD2.js rename to dist/assets/index-CoT1PRBU.js index 889bac5..19deff1 100644 --- a/dist/assets/index-BhGalRD2.js +++ b/dist/assets/index-CoT1PRBU.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Slower-ZR4xdB-u.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/Slower-CiBrQAdj.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-CIovSKpD.js";class a{constructor(){this.factor=3,this.radius=200}load(r){r&&(r.factor!==void 0&&(this.factor=r.factor),r.radius!==void 0&&(this.radius=r.radius))}}async function s(t,r=!0){await t.addInteractor("externalSlow",async o=>{const{Slower:i}=await e(()=>import("./Slower-ZR4xdB-u.js"),__vite__mapDeps([0,1,2,3]));return new i(o)},r)}export{a as Slow,s as loadExternalSlowInteraction}; +import{_ as e}from"./index-CgAHdhFx.js";class a{constructor(){this.factor=3,this.radius=200}load(r){r&&(r.factor!==void 0&&(this.factor=r.factor),r.radius!==void 0&&(this.radius=r.radius))}}async function s(t,r=!0){await t.addInteractor("externalSlow",async o=>{const{Slower:i}=await e(()=>import("./Slower-CiBrQAdj.js"),__vite__mapDeps([0,1,2,3]));return new i(o)},r)}export{a as Slow,s as loadExternalSlowInteraction}; diff --git a/dist/assets/index-CuUbjQ-d.js b/dist/assets/index-CuUbjQ-d.js new file mode 100644 index 0000000..ece269e --- /dev/null +++ b/dist/assets/index-CuUbjQ-d.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/index-DJy56vkk.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/index-DmVDzt_N.js","assets/index-D-DXSEJ6.js","assets/index-auOhvgFb.js","assets/index-Bb7QZEuw.js","assets/index-HQm8VGKG.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as t}from"./index-CgAHdhFx.js";async function s(a,_=!0){const{loadBaseMover:o}=await t(()=>import("./index-DJy56vkk.js"),__vite__mapDeps([0,1,2])),{loadCircleShape:i}=await t(()=>import("./index-DmVDzt_N.js"),__vite__mapDeps([3,1,2])),{loadColorUpdater:r}=await t(()=>import("./index-D-DXSEJ6.js"),__vite__mapDeps([4,1,2])),{loadOpacityUpdater:d}=await t(()=>import("./index-auOhvgFb.js"),__vite__mapDeps([5,1,2])),{loadOutModesUpdater:e}=await t(()=>import("./index-Bb7QZEuw.js"),__vite__mapDeps([6,1,2])),{loadSizeUpdater:l}=await t(()=>import("./index-HQm8VGKG.js"),__vite__mapDeps([7,1,2]));await o(a,!1),await i(a,!1),await r(a,!1),await d(a,!1),await e(a,!1),await l(a,!1),await a.refresh(_)}export{s as loadBasic}; diff --git a/dist/assets/index-DfP0nwyZ.js b/dist/assets/index-D-DXSEJ6.js similarity index 51% rename from dist/assets/index-DfP0nwyZ.js rename to dist/assets/index-D-DXSEJ6.js index 3d6600b..ac54b83 100644 --- a/dist/assets/index-DfP0nwyZ.js +++ b/dist/assets/index-D-DXSEJ6.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/ColorUpdater-D6gs7tCA.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/ColorUpdater-DG1hP2o-.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-CIovSKpD.js";async function i(r,o=!0){await r.addParticleUpdater("color",async t=>{const{ColorUpdater:a}=await e(()=>import("./ColorUpdater-D6gs7tCA.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadColorUpdater}; +import{_ as e}from"./index-CgAHdhFx.js";async function i(r,o=!0){await r.addParticleUpdater("color",async t=>{const{ColorUpdater:a}=await e(()=>import("./ColorUpdater-DG1hP2o-.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadColorUpdater}; diff --git a/dist/assets/index-D2-jkfOB.js b/dist/assets/index-D2-jkfOB.js deleted file mode 100644 index 1c95f9d..0000000 --- a/dist/assets/index-D2-jkfOB.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/CircleDrawer-BJGDWPDR.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as i}from"./index-CIovSKpD.js";async function o(a,e=!0){const{CircleDrawer:r}=await i(()=>import("./CircleDrawer-BJGDWPDR.js"),__vite__mapDeps([0,1,2]));await a.addShape("circle",new r,e)}export{o as loadCircleShape}; diff --git a/dist/assets/index-rS29FyBE.js b/dist/assets/index-DD9e3Rtt.js similarity index 67% rename from dist/assets/index-rS29FyBE.js rename to dist/assets/index-DD9e3Rtt.js index a9a8d1a..2f19e1f 100644 --- a/dist/assets/index-rS29FyBE.js +++ b/dist/assets/index-DD9e3Rtt.js @@ -1 +1 @@ -import{_ as t}from"./index-CIovSKpD.js";async function r(a,e=!0){const{LineDrawer:i}=await t(()=>import("./LineDrawer-1OQKWYNc.js"),[]);await a.addShape("line",new i,e)}export{r as loadLineShape}; +import{_ as t}from"./index-CgAHdhFx.js";async function r(a,e=!0){const{LineDrawer:i}=await t(()=>import("./LineDrawer-1OQKWYNc.js"),[]);await a.addShape("line",new i,e)}export{r as loadLineShape}; diff --git a/dist/assets/index-DDppo6v8.js b/dist/assets/index-DDppo6v8.js deleted file mode 100644 index 5cca908..0000000 --- a/dist/assets/index-DDppo6v8.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LifeUpdater-Cjy4NoRV.js","assets/ValueWithRandom-CNZCHi2W.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as i}from"./index-CIovSKpD.js";async function d(t,a=!0){await t.addParticleUpdater("life",async e=>{const{LifeUpdater:r}=await i(()=>import("./LifeUpdater-Cjy4NoRV.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{d as loadLifeUpdater}; diff --git a/dist/assets/index-DJy56vkk.js b/dist/assets/index-DJy56vkk.js new file mode 100644 index 0000000..2cf5041 --- /dev/null +++ b/dist/assets/index-DJy56vkk.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/BaseMover-CcP6UoZD.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as r}from"./index-CgAHdhFx.js";async function _(a,e=!0){await a.addMover("base",async()=>{const{BaseMover:o}=await r(()=>import("./BaseMover-CcP6UoZD.js"),__vite__mapDeps([0,1,2]));return new o},e)}export{_ as loadBaseMover}; diff --git a/dist/assets/index-DLAqrV0n.js b/dist/assets/index-DLAqrV0n.js new file mode 100644 index 0000000..a5c9cba --- /dev/null +++ b/dist/assets/index-DLAqrV0n.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/StarDrawer-BVbBm9FB.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as e}from"./index-CgAHdhFx.js";async function _(a,t=!0){const{StarDrawer:r}=await e(()=>import("./StarDrawer-BVbBm9FB.js"),__vite__mapDeps([0,1,2]));await a.addShape("star",new r,t)}export{_ as loadStarShape}; diff --git a/dist/assets/index-DaQ7GeMN.js b/dist/assets/index-DaQ7GeMN.js deleted file mode 100644 index 938ef80..0000000 --- a/dist/assets/index-DaQ7GeMN.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Attractor-CQIUFSlF.js","assets/ParticlesInteractorBase-vfDeBun3.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as c}from"./index-CIovSKpD.js";async function i(t,r=!0){await t.addInteractor("particlesAttract",async a=>{const{Attractor:o}=await c(()=>import("./Attractor-CQIUFSlF.js"),__vite__mapDeps([0,1,2,3]));return new o(a)},r)}export{i as loadParticlesAttractInteraction}; diff --git a/dist/assets/index-Dxg-gCcK.js b/dist/assets/index-DdTwVvx0.js similarity index 70% rename from dist/assets/index-Dxg-gCcK.js rename to dist/assets/index-DdTwVvx0.js index dc07640..f357964 100644 --- a/dist/assets/index-Dxg-gCcK.js +++ b/dist/assets/index-DdTwVvx0.js @@ -1 +1 @@ -import{_ as t}from"./index-CIovSKpD.js";async function _(a,e=!0){const{SquareDrawer:r}=await t(()=>import("./SquareDrawer-C3wQIQqh.js"),[]);await a.addShape(["edge","square"],new r,e)}export{_ as loadSquareShape}; +import{_ as t}from"./index-CgAHdhFx.js";async function _(a,e=!0){const{SquareDrawer:r}=await t(()=>import("./SquareDrawer-C3wQIQqh.js"),[]);await a.addShape(["edge","square"],new r,e)}export{_ as loadSquareShape}; diff --git a/dist/assets/index-DmVDzt_N.js b/dist/assets/index-DmVDzt_N.js new file mode 100644 index 0000000..a04c879 --- /dev/null +++ b/dist/assets/index-DmVDzt_N.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/CircleDrawer-D0Dgqoh5.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as i}from"./index-CgAHdhFx.js";async function o(a,e=!0){const{CircleDrawer:r}=await i(()=>import("./CircleDrawer-D0Dgqoh5.js"),__vite__mapDeps([0,1,2]));await a.addShape("circle",new r,e)}export{o as loadCircleShape}; diff --git a/dist/assets/index-tAKDc-jX.js b/dist/assets/index-DuBBfDxH.js similarity index 75% rename from dist/assets/index-tAKDc-jX.js rename to dist/assets/index-DuBBfDxH.js index f8a30aa..1c9adf1 100644 --- a/dist/assets/index-tAKDc-jX.js +++ b/dist/assets/index-DuBBfDxH.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/interaction-COFT-REm.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/plugin-DxCUAG87.js"] + __vite__mapDeps.viteFileDeps = ["assets/interaction-CjA2e5dm.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/plugin-kGRKNk_E.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-CIovSKpD.js";import{O as n}from"./OptionsColor-D2YVVpO2.js";class l{constructor(){this.blur=5,this.color=new n,this.color.value="#000",this.enable=!1}load(i){i&&(i.blur!==void 0&&(this.blur=i.blur),this.color=n.create(this.color,i.color),i.enable!==void 0&&(this.enable=i.enable))}}class t{constructor(){this.enable=!1,this.frequency=1}load(i){i&&(i.color!==void 0&&(this.color=n.create(this.color,i.color)),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=i.opacity))}}class h{constructor(){this.blink=!1,this.color=new n,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new l,this.triangles=new t,this.width=1,this.warp=!1}load(i){i&&(i.id!==void 0&&(this.id=i.id),i.blink!==void 0&&(this.blink=i.blink),this.color=n.create(this.color,i.color),i.consent!==void 0&&(this.consent=i.consent),i.distance!==void 0&&(this.distance=i.distance),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=i.opacity),this.shadow.load(i.shadow),this.triangles.load(i.triangles),i.width!==void 0&&(this.width=i.width),i.warp!==void 0&&(this.warp=i.warp))}}async function u(e,i=!0){const{loadLinksInteraction:o}=await s(()=>import("./interaction-COFT-REm.js"),__vite__mapDeps([0,1,2])),{loadLinksPlugin:r}=await s(()=>import("./plugin-DxCUAG87.js"),__vite__mapDeps([3,1,2]));await o(e,i),await r(e,i)}export{h as Links,l as LinksShadow,t as LinksTriangle,u as loadParticlesLinksInteraction}; +import{_ as s}from"./index-CgAHdhFx.js";import{O as n}from"./OptionsColor-D4_II_Ky.js";class l{constructor(){this.blur=5,this.color=new n,this.color.value="#000",this.enable=!1}load(i){i&&(i.blur!==void 0&&(this.blur=i.blur),this.color=n.create(this.color,i.color),i.enable!==void 0&&(this.enable=i.enable))}}class t{constructor(){this.enable=!1,this.frequency=1}load(i){i&&(i.color!==void 0&&(this.color=n.create(this.color,i.color)),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=i.opacity))}}class h{constructor(){this.blink=!1,this.color=new n,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new l,this.triangles=new t,this.width=1,this.warp=!1}load(i){i&&(i.id!==void 0&&(this.id=i.id),i.blink!==void 0&&(this.blink=i.blink),this.color=n.create(this.color,i.color),i.consent!==void 0&&(this.consent=i.consent),i.distance!==void 0&&(this.distance=i.distance),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=i.opacity),this.shadow.load(i.shadow),this.triangles.load(i.triangles),i.width!==void 0&&(this.width=i.width),i.warp!==void 0&&(this.warp=i.warp))}}async function u(e,i=!0){const{loadLinksInteraction:o}=await s(()=>import("./interaction-CjA2e5dm.js"),__vite__mapDeps([0,1,2])),{loadLinksPlugin:r}=await s(()=>import("./plugin-kGRKNk_E.js"),__vite__mapDeps([3,1,2]));await o(e,i),await r(e,i)}export{h as Links,l as LinksShadow,t as LinksTriangle,u as loadParticlesLinksInteraction}; diff --git a/dist/assets/index-CzC25xao.js b/dist/assets/index-F8YEyshB.js similarity index 58% rename from dist/assets/index-CzC25xao.js rename to dist/assets/index-F8YEyshB.js index 45c0ba6..4e045e6 100644 --- a/dist/assets/index-CzC25xao.js +++ b/dist/assets/index-F8YEyshB.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/EmojiDrawer-D7Da8PUp.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/EmojiDrawer-D1d9klM8.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as a}from"./index-CIovSKpD.js";const i=["emoji"];async function r(e,o=!0){const{EmojiDrawer:t}=await a(()=>import("./EmojiDrawer-D7Da8PUp.js"),__vite__mapDeps([0,1,2]));await e.addShape(i,new t,o)}const n=Object.freeze(Object.defineProperty({__proto__:null,loadEmojiShape:r},Symbol.toStringTag,{value:"Module"}));export{n as i,i as v}; +import{_ as a}from"./index-CgAHdhFx.js";const i=["emoji"];async function r(e,o=!0){const{EmojiDrawer:t}=await a(()=>import("./EmojiDrawer-D1d9klM8.js"),__vite__mapDeps([0,1,2]));await e.addShape(i,new t,o)}const n=Object.freeze(Object.defineProperty({__proto__:null,loadEmojiShape:r},Symbol.toStringTag,{value:"Module"}));export{n as i,i as v}; diff --git a/dist/assets/index-CjJjuNz4.js b/dist/assets/index-HQm8VGKG.js similarity index 51% rename from dist/assets/index-CjJjuNz4.js rename to dist/assets/index-HQm8VGKG.js index a8e5f80..7b513f1 100644 --- a/dist/assets/index-CjJjuNz4.js +++ b/dist/assets/index-HQm8VGKG.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/SizeUpdater-DagaWaEJ.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/SizeUpdater-BlVVvz0z.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as r}from"./index-CIovSKpD.js";async function o(t,a=!0){await t.addParticleUpdater("size",async()=>{const{SizeUpdater:e}=await r(()=>import("./SizeUpdater-DagaWaEJ.js"),__vite__mapDeps([0,1,2]));return new e},a)}export{o as loadSizeUpdater}; +import{_ as r}from"./index-CgAHdhFx.js";async function o(t,a=!0){await t.addParticleUpdater("size",async()=>{const{SizeUpdater:e}=await r(()=>import("./SizeUpdater-BlVVvz0z.js"),__vite__mapDeps([0,1,2]));return new e},a)}export{o as loadSizeUpdater}; diff --git a/dist/assets/index-Bjm3viXX.js b/dist/assets/index-Iqo3_cpu.js similarity index 58% rename from dist/assets/index-Bjm3viXX.js rename to dist/assets/index-Iqo3_cpu.js index 5b89923..7b6d131 100644 --- a/dist/assets/index-Bjm3viXX.js +++ b/dist/assets/index-Iqo3_cpu.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Remover-CekZ5eGm.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/Remover-B55CQg0a.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{s as o,_ as r}from"./index-CIovSKpD.js";class s{constructor(){this.quantity=2}load(t){if(!t)return;const e=t.quantity;e!==void 0&&(this.quantity=o(e))}}async function u(n,t=!0){await n.addInteractor("externalRemove",async e=>{const{Remover:a}=await r(()=>import("./Remover-CekZ5eGm.js"),__vite__mapDeps([0,1,2,3]));return new a(e)},t)}export{s as Remove,u as loadExternalRemoveInteraction}; +import{s as o,_ as r}from"./index-CgAHdhFx.js";class s{constructor(){this.quantity=2}load(t){if(!t)return;const e=t.quantity;e!==void 0&&(this.quantity=o(e))}}async function u(n,t=!0){await n.addInteractor("externalRemove",async e=>{const{Remover:a}=await r(()=>import("./Remover-B55CQg0a.js"),__vite__mapDeps([0,1,2,3]));return new a(e)},t)}export{s as Remove,u as loadExternalRemoveInteraction}; diff --git a/dist/assets/index-dQ4aXhzE.js b/dist/assets/index-QQ6uHbG2.js similarity index 75% rename from dist/assets/index-dQ4aXhzE.js rename to dist/assets/index-QQ6uHbG2.js index d1ed380..40ad7ef 100644 --- a/dist/assets/index-dQ4aXhzE.js +++ b/dist/assets/index-QQ6uHbG2.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Repulser-DTQ8wAL7.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-CMjHcLDp.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/Repulser-C-3MhRRA.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-Bq4zSnBQ.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{e as r,_ as o}from"./index-CIovSKpD.js";class t{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.speed!==void 0&&(this.speed=e.speed),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed))}}class u extends t{constructor(){super(),this.selectors=[]}load(e){super.load(e),e&&e.selectors!==void 0&&(this.selectors=e.selectors)}}class c extends t{load(e){super.load(e),e&&(this.divs=r(e.divs,n=>{const i=new u;return i.load(n),i}))}}async function l(s,e=!0){await s.addInteractor("externalRepulse",async n=>{const{Repulser:i}=await o(()=>import("./Repulser-DTQ8wAL7.js"),__vite__mapDeps([0,1,2,3,4]));return new i(s,n)},e)}export{c as Repulse,t as RepulseBase,u as RepulseDiv,l as loadExternalRepulseInteraction}; +import{e as r,_ as o}from"./index-CgAHdhFx.js";class t{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.speed!==void 0&&(this.speed=e.speed),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed))}}class u extends t{constructor(){super(),this.selectors=[]}load(e){super.load(e),e&&e.selectors!==void 0&&(this.selectors=e.selectors)}}class c extends t{load(e){super.load(e),e&&(this.divs=r(e.divs,n=>{const i=new u;return i.load(n),i}))}}async function l(s,e=!0){await s.addInteractor("externalRepulse",async n=>{const{Repulser:i}=await o(()=>import("./Repulser-C-3MhRRA.js"),__vite__mapDeps([0,1,2,3,4]));return new i(s,n)},e)}export{c as Repulse,t as RepulseBase,u as RepulseDiv,l as loadExternalRepulseInteraction}; diff --git a/dist/assets/index-CKskvlcg.js b/dist/assets/index-VG78SYyB.js similarity index 66% rename from dist/assets/index-CKskvlcg.js rename to dist/assets/index-VG78SYyB.js index 40853d8..e7e7571 100644 --- a/dist/assets/index-CKskvlcg.js +++ b/dist/assets/index-VG78SYyB.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Connector-D1Il0HlT.js","assets/CanvasUtils-Bhok4vf-.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Connector-BBsWcqAt.js","assets/CanvasUtils-CXWEKbNF.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-CIovSKpD.js";class o{constructor(){this.opacity=.5}load(n){n&&n.opacity!==void 0&&(this.opacity=n.opacity)}}class c{constructor(){this.distance=80,this.links=new o,this.radius=60}load(n){n&&(n.distance!==void 0&&(this.distance=n.distance),this.links.load(n.links),n.radius!==void 0&&(this.radius=n.radius))}}async function a(i,n=!0){await i.addInteractor("externalConnect",async t=>{const{Connector:e}=await s(()=>import("./Connector-D1Il0HlT.js"),__vite__mapDeps([0,1,2,3,4]));return new e(t)},n)}export{c as Connect,o as ConnectLinks,a as loadExternalConnectInteraction}; +import{_ as s}from"./index-CgAHdhFx.js";class o{constructor(){this.opacity=.5}load(n){n&&n.opacity!==void 0&&(this.opacity=n.opacity)}}class c{constructor(){this.distance=80,this.links=new o,this.radius=60}load(n){n&&(n.distance!==void 0&&(this.distance=n.distance),this.links.load(n.links),n.radius!==void 0&&(this.radius=n.radius))}}async function a(i,n=!0){await i.addInteractor("externalConnect",async t=>{const{Connector:e}=await s(()=>import("./Connector-BBsWcqAt.js"),__vite__mapDeps([0,1,2,3,4]));return new e(t)},n)}export{c as Connect,o as ConnectLinks,a as loadExternalConnectInteraction}; diff --git a/dist/assets/index-dWXBjqua.js b/dist/assets/index-auOhvgFb.js similarity index 52% rename from dist/assets/index-dWXBjqua.js rename to dist/assets/index-auOhvgFb.js index 2017966..385d7a8 100644 --- a/dist/assets/index-dWXBjqua.js +++ b/dist/assets/index-auOhvgFb.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/OpacityUpdater-CVsV_e-f.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/OpacityUpdater-Cn_y5keR.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-CIovSKpD.js";async function p(t,a=!0){await t.addParticleUpdater("opacity",async r=>{const{OpacityUpdater:e}=await i(()=>import("./OpacityUpdater-CVsV_e-f.js"),__vite__mapDeps([0,1,2]));return new e(r)},a)}export{p as loadOpacityUpdater}; +import{_ as i}from"./index-CgAHdhFx.js";async function p(t,a=!0){await t.addParticleUpdater("opacity",async r=>{const{OpacityUpdater:e}=await i(()=>import("./OpacityUpdater-Cn_y5keR.js"),__vite__mapDeps([0,1,2]));return new e(r)},a)}export{p as loadOpacityUpdater}; diff --git a/dist/assets/index-BissIl3H.js b/dist/assets/index-bSu6BdYY.js similarity index 70% rename from dist/assets/index-BissIl3H.js rename to dist/assets/index-bSu6BdYY.js index 95388ba..6547aad 100644 --- a/dist/assets/index-BissIl3H.js +++ b/dist/assets/index-bSu6BdYY.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Pusher-DZHjAZn6.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Pusher-C0hb5ADP.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{s,_ as n}from"./index-CIovSKpD.js";class o{constructor(){this.default=!0,this.groups=[],this.quantity=4}load(t){if(!t)return;t.default!==void 0&&(this.default=t.default),t.groups!==void 0&&(this.groups=t.groups.map(u=>u)),this.groups.length||(this.default=!0);const e=t.quantity;e!==void 0&&(this.quantity=s(e))}}async function a(i,t=!0){await i.addInteractor("externalPush",async e=>{const{Pusher:u}=await n(()=>import("./Pusher-DZHjAZn6.js"),__vite__mapDeps([0,1,2,3]));return new u(e)},t)}export{o as Push,a as loadExternalPushInteraction}; +import{s,_ as n}from"./index-CgAHdhFx.js";class o{constructor(){this.default=!0,this.groups=[],this.quantity=4}load(t){if(!t)return;t.default!==void 0&&(this.default=t.default),t.groups!==void 0&&(this.groups=t.groups.map(u=>u)),this.groups.length||(this.default=!0);const e=t.quantity;e!==void 0&&(this.quantity=s(e))}}async function a(i,t=!0){await i.addInteractor("externalPush",async e=>{const{Pusher:u}=await n(()=>import("./Pusher-C0hb5ADP.js"),__vite__mapDeps([0,1,2,3]));return new u(e)},t)}export{o as Push,a as loadExternalPushInteraction}; diff --git a/dist/assets/index-cU2PfNmv.js b/dist/assets/index-cU2PfNmv.js deleted file mode 100644 index fe7b86b..0000000 --- a/dist/assets/index-cU2PfNmv.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/PolygonDrawer-Ia00f0HX.js","assets/PolygonDrawerBase-Dkja-2hD.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/TriangleDrawer-spWTcREN.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as n}from"./index-CIovSKpD.js";async function e(a,o=!0){const{PolygonDrawer:t}=await n(()=>import("./PolygonDrawer-Ia00f0HX.js"),__vite__mapDeps([0,1,2,3]));await a.addShape("polygon",new t,o)}async function i(a,o=!0){const{TriangleDrawer:t}=await n(()=>import("./TriangleDrawer-spWTcREN.js"),__vite__mapDeps([4,1,2,3]));await a.addShape("triangle",new t,o)}async function _(a,o=!0){await e(a,o),await i(a,o)}export{e as loadGenericPolygonShape,_ as loadPolygonShape,i as loadTriangleShape}; diff --git a/dist/assets/index-wTeSQbMO.js b/dist/assets/index-wTeSQbMO.js new file mode 100644 index 0000000..0eff0c2 --- /dev/null +++ b/dist/assets/index-wTeSQbMO.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/PolygonDrawer-CUSri03x.js","assets/PolygonDrawerBase-CU7uyfXk.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/TriangleDrawer-l19jsz0a.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as n}from"./index-CgAHdhFx.js";async function e(a,o=!0){const{PolygonDrawer:t}=await n(()=>import("./PolygonDrawer-CUSri03x.js"),__vite__mapDeps([0,1,2,3]));await a.addShape("polygon",new t,o)}async function i(a,o=!0){const{TriangleDrawer:t}=await n(()=>import("./TriangleDrawer-l19jsz0a.js"),__vite__mapDeps([4,1,2,3]));await a.addShape("triangle",new t,o)}async function _(a,o=!0){await e(a,o),await i(a,o)}export{e as loadGenericPolygonShape,_ as loadPolygonShape,i as loadTriangleShape}; diff --git a/dist/assets/index-ywq806aE.js b/dist/assets/index-ywq806aE.js deleted file mode 100644 index 1efd309..0000000 --- a/dist/assets/index-ywq806aE.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/StrokeColorUpdater-D1S9PShx.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as e}from"./index-CIovSKpD.js";async function i(r,o=!0){await r.addParticleUpdater("strokeColor",async t=>{const{StrokeColorUpdater:a}=await e(()=>import("./StrokeColorUpdater-D1S9PShx.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadStrokeColorUpdater}; diff --git a/dist/assets/interaction-COFT-REm.js b/dist/assets/interaction-COFT-REm.js deleted file mode 100644 index dc32cf1..0000000 --- a/dist/assets/interaction-COFT-REm.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Linker-3NY7CY_P.js","assets/Ranges-CMjHcLDp.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css","assets/index-tAKDc-jX.js","assets/OptionsColor-D2YVVpO2.js","assets/ParticlesInteractorBase-vfDeBun3.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as i}from"./index-CIovSKpD.js";async function o(t,r=!0){await t.addInteractor("particlesLinks",async a=>{const{Linker:n}=await i(()=>import("./Linker-3NY7CY_P.js"),__vite__mapDeps([0,1,2,3,4,5,6]));return new n(a)},r)}export{o as loadLinksInteraction}; diff --git a/dist/assets/interaction-CjA2e5dm.js b/dist/assets/interaction-CjA2e5dm.js new file mode 100644 index 0000000..c638d4a --- /dev/null +++ b/dist/assets/interaction-CjA2e5dm.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/Linker-D1kl1_H9.js","assets/Ranges-Bq4zSnBQ.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css","assets/index-DuBBfDxH.js","assets/OptionsColor-D4_II_Ky.js","assets/ParticlesInteractorBase-vfDeBun3.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as i}from"./index-CgAHdhFx.js";async function o(t,r=!0){await t.addInteractor("particlesLinks",async a=>{const{Linker:n}=await i(()=>import("./Linker-D1kl1_H9.js"),__vite__mapDeps([0,1,2,3,4,5,6]));return new n(a)},r)}export{o as loadLinksInteraction}; diff --git a/dist/assets/plugin-DxCUAG87.js b/dist/assets/plugin-DxCUAG87.js deleted file mode 100644 index 58571d5..0000000 --- a/dist/assets/plugin-DxCUAG87.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LinksPlugin-DnSlMdjr.js","assets/index-CIovSKpD.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as o}from"./index-CIovSKpD.js";async function r(i,n=!0){const{LinksPlugin:t}=await o(()=>import("./LinksPlugin-DnSlMdjr.js"),__vite__mapDeps([0,1,2])),a=new t;await i.addPlugin(a,n)}export{r as loadLinksPlugin}; diff --git a/dist/assets/plugin-kGRKNk_E.js b/dist/assets/plugin-kGRKNk_E.js new file mode 100644 index 0000000..06951cb --- /dev/null +++ b/dist/assets/plugin-kGRKNk_E.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/LinksPlugin-Bs8Ewd3m.js","assets/index-CgAHdhFx.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as o}from"./index-CgAHdhFx.js";async function r(i,n=!0){const{LinksPlugin:t}=await o(()=>import("./LinksPlugin-Bs8Ewd3m.js"),__vite__mapDeps([0,1,2])),a=new t;await i.addPlugin(a,n)}export{r as loadLinksPlugin}; diff --git a/dist/index.html b/dist/index.html index 0404fd2..b7a10ae 100644 --- a/dist/index.html +++ b/dist/index.html @@ -9,8 +9,8 @@ - - + +
diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index 183d2d4..b13d5b8 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -1,9 +1,5 @@ import { Box, SxProps, Typography } from "@mui/material" -import { Instagram } from "@mui/icons-material"; -import { LinkedIn } from "@mui/icons-material"; -import { GitHub } from "@mui/icons-material"; -import { Email } from "@mui/icons-material"; -import { BiLogoDiscord } from "react-icons/bi"; +import ContactUs from "../StayConnectedContainer/ContactUs"; export default function Footer(props: { sx?: SxProps }) { const today = new Date() @@ -12,13 +8,7 @@ export default function Footer(props: { sx?: SxProps }) { © {year} App Dev Club - - - - - - - + ); } \ No newline at end of file diff --git a/src/components/HighlightsContainer/HighlightsContainer.tsx b/src/components/HighlightsContainer/HighlightsContainer.tsx new file mode 100644 index 0000000..a0633a3 --- /dev/null +++ b/src/components/HighlightsContainer/HighlightsContainer.tsx @@ -0,0 +1,162 @@ +import { Box, Paper, SxProps } from "@mui/material"; +import React from "react"; +import { Highlight } from "./interfaces"; +import Marquee from "react-fast-marquee"; +import Sparkles from "../Sparkles"; + +const RandomizeArray = (array: any[]) => { + /* Uses the Fisher-Yates (Knuth) Shuffle algorithm */ + for (let i = array.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)); + [array[i], array[j]] = [array[j], array[i]]; + } + + return array; +} + +const HighlightsCarousel = (props: { + id?: string, + sx?: SxProps, + scale?: string, + marquee?: any, + highlights: Highlight[], +}) => { + console.warn(props.highlights); + return ( + + + { + RandomizeArray(props.highlights).map((highlight) => ( + + + + )) + } + + + ); +} + +export default function HighlightsContainer() { + const [highlights, setHighlights] = React.useState([]); + + React.useEffect(() => { + setHighlights([ + { + imageURL: 'https://picsum.photos/800/500', + redirect: '', + description: 'a' + }, + { + imageURL: 'https://picsum.photos/600/700', + redirect: '', + description: 'a' + }, + { + imageURL: 'https://picsum.photos/400/600', + redirect: '', + description: 'a' + }, + { + imageURL: 'https://picsum.photos/600/300', + redirect: '', + description: 'a' + }, + { + imageURL: 'https://picsum.photos/900/500', + redirect: '', + description: 'a' + } + ]); + }, []); + + return ( + + + + + + + + + ) +} \ No newline at end of file diff --git a/src/components/HighlightsContainer/index.tsx b/src/components/HighlightsContainer/index.tsx new file mode 100644 index 0000000..947d14d --- /dev/null +++ b/src/components/HighlightsContainer/index.tsx @@ -0,0 +1 @@ +export { default } from './HighlightsContainer.tsx' \ No newline at end of file diff --git a/src/components/HighlightsContainer/interfaces.ts b/src/components/HighlightsContainer/interfaces.ts new file mode 100644 index 0000000..18d6a8d --- /dev/null +++ b/src/components/HighlightsContainer/interfaces.ts @@ -0,0 +1,5 @@ +export interface Highlight { + imageURL: string, + redirect: string, + description: string +}; \ No newline at end of file diff --git a/src/components/Sparkles/Sparkles.tsx b/src/components/Sparkles/Sparkles.tsx index d1e80ec..76be720 100644 --- a/src/components/Sparkles/Sparkles.tsx +++ b/src/components/Sparkles/Sparkles.tsx @@ -16,6 +16,7 @@ type ParticlesProps = { speed?: number; particleColor?: string; particleDensity?: number; + sx?: any; }; const Sparkles = (props: ParticlesProps) => { const { id, className, background, minSize, maxSize, speed, particleColor, particleDensity } = props; @@ -42,11 +43,10 @@ const Sparkles = (props: ParticlesProps) => { }; return ( - + {init && ( + + + + + + + ) +} \ No newline at end of file diff --git a/src/components/StayConnectedContainer/StayConnectedContainer.tsx b/src/components/StayConnectedContainer/StayConnectedContainer.tsx new file mode 100644 index 0000000..fe8e478 --- /dev/null +++ b/src/components/StayConnectedContainer/StayConnectedContainer.tsx @@ -0,0 +1,23 @@ +import { Box, OutlinedInput, Typography } from "@mui/material"; +import ContactUs from "./ContactUs"; + +export default function StayConnectedContainer(props: { id?: string }) { + return ( + + Stay Connected! + We hold a lot of events thoughout the year, Keep in touch with us! + + + + ); +}; \ No newline at end of file diff --git a/src/components/StayConnectedContainer/index.tsx b/src/components/StayConnectedContainer/index.tsx new file mode 100644 index 0000000..6a490e4 --- /dev/null +++ b/src/components/StayConnectedContainer/index.tsx @@ -0,0 +1 @@ +export { default } from './StayConnectedContainer'; \ No newline at end of file diff --git a/src/index.css b/src/index.css index 6ab820b..f53c083 100644 --- a/src/index.css +++ b/src/index.css @@ -21,6 +21,12 @@ body { overflow-x: hidden; } +/* Sparkles */ +#tsparticles { + width: 100%; + height: 100%; +} + /* Custom Scrollbar */ /* Firefox */ * { diff --git a/src/integrals/WebLandingPage.tsx b/src/integrals/WebLandingPage.tsx index ebf15d9..3e011c2 100644 --- a/src/integrals/WebLandingPage.tsx +++ b/src/integrals/WebLandingPage.tsx @@ -25,6 +25,8 @@ import SponsorCardsStack from "../components/SponsorCardsStack"; import VerticalCardStack from "../components/VerticalCardStack"; import { useScroll } from "framer-motion"; import "./WebLandingPage.css"; +import HighlightsContainer from "../components/HighlightsContainer"; +import StayConnectedContainer from "../components/StayConnectedContainer"; const LandingProjectCards = forwardRef((props: { id?: string, @@ -114,6 +116,7 @@ export default function WebLandingPage() { case -1: return "linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);" case 2: return "linear-gradient(135deg, #000000, #120037, #2e002b, #170018);" case 3: return "radial-gradient(circle at 30% 30%, #5F0F40 0%, #310E68 30%, #5626a1 50%, #1e1e1e 70%, #330136 80%, #560bad 100%), linear-gradient(135deg, #5F0F40, #310E68);"; + case 4: return "linear-gradient(135deg, #060101, #0e0202, #160303, #1e0404);" case -2: return "linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);" default: return "black"; } @@ -178,7 +181,10 @@ export default function WebLandingPage() { const teamBoxStart = (teamBoxRef?.current?.offsetTop ?? 0) - 50; const teamBoxEnd = teamBoxStart + (teamBoxRef?.current?.offsetHeight ?? 0) + 100; const sponsorsBoxStart = (sponsorsBoxRef?.current?.offsetTop ?? 0) - 100; - const sponsorsBoxEnd = sponsorsBoxStart + (sponsorsBoxRef?.current?.offsetHeight ?? 0) + 100; + const sponsorsBoxEnd = sponsorsBoxStart + (sponsorsBoxRef?.current?.offsetHeight ?? 0) + 400; + const highlightsBoxStart = sponsorsBoxEnd; + //const highlightsBoxEnd = highlightsBoxStart + 1000; + if (mainBoxPos > projectsBoxStart && mainBoxPos < projectsBoxEnd) SetBackgroundMode(1); @@ -189,6 +195,9 @@ export default function WebLandingPage() { else if (mainBoxPos > sponsorsBoxStart && mainBoxPos < sponsorsBoxEnd) SetBackgroundMode(2); + else if (mainBoxPos > highlightsBoxStart) + SetBackgroundMode(4); + else SetBackgroundMode(0); @@ -362,7 +371,14 @@ export default function WebLandingPage() { - {/* Translucent App Bar, Last Element, On Top of All */} + Highlights + + + + + + {/* Translucent App Bar, Last Eleme,nt, On Top of All */} +