1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[813],{1335:(t,e,i)=>{i.d(e,{u:()=>n});var s=i(9064);let n={test:(0,i(55920).$)("#"),parse:function(t){let e="",i="",s="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,s+=s,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:n?parseInt(n,16)/255:1}},transform:s.B.transform}},1707:(t,e,i)=>{i.d(e,{f:()=>tO});var s=i(78777);function n(t){t.duration=0,t.type}var r=i(69515),o=i(53191),a=i(53678),l=i(47215),h=i(74261),c=i(63704),d=i(54542),u=i(78606),p=i(4272),f=i(60010),m=i(1335),g=i(18476);function v(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var y=i(9064);function b(t,e){return i=>i>0?e:t}var x=i(33210);let w=(t,e,i)=>{let s=t*t,n=i*(e*e-s)+s;return n<0?0:Math.sqrt(n)},k=[m.u,y.B,g.V];function P(t){let e=k.find(e=>e.test(t));if((0,d.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===g.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let n=0,r=0,o=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,a=2*i-s;n=v(a,s,t+1/3),r=v(a,s,t),o=v(a,s,t-1/3)}else n=r=o=i;return{red:Math.round(255*n),green:Math.round(255*r),blue:Math.round(255*o),alpha:s}}(i)),i}let _=(t,e)=>{let i=P(t),s=P(e);if(!i||!s)return b(t,e);let n={...i};return t=>(n.red=w(i.red,s.red,t),n.green=w(i.green,s.green,t),n.blue=w(i.blue,s.blue,t),n.alpha=(0,x.k)(i.alpha,s.alpha,t),y.B.transform(n))},T=new Set(["none","hidden"]);function M(t,e){return i=>(0,x.k)(t,e,i)}function S(t){return"number"==typeof t?M:"string"==typeof t?(0,u.p)(t)?b:p.y.test(t)?_:A:Array.isArray(t)?C:"object"==typeof t?p.y.test(t)?_:E:b}function C(t,e){let i=[...t],s=i.length,n=t.map((t,i)=>S(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=n[e](t);return i}}function E(t,e){let i={...t,...e},s={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(s[n]=S(t[n])(t[n],e[n]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let A=(t,e)=>{let i=f.f.createTransformer(e),s=(0,f.V)(t),n=(0,f.V)(e);return s.indexes.var.length===n.indexes.var.length&&s.indexes.color.length===n.indexes.color.length&&s.indexes.number.length>=n.indexes.number.length?T.has(t)&&!n.values.length||T.has(e)&&!s.values.length?function(t,e){return T.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,o.F)(C(function(t,e){let i=[],s={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let r=e.types[n],o=t.indexes[r][s[r]],a=t.values[o]??0;i[n]=a,s[r]++}return i}(s,n),n.values),i):((0,d.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),b(t,e))};function z(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,x.k)(t,e,i):S(t)(t,e)}let D=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>r.Gt.update(e,t),stop:()=>(0,r.WG)(e),now:()=>r.uv.isProcessing?r.uv.timestamp:h.k.now()}};var O=i(84687),R=i(73945);function V({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:n=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:c}){let d,u,p=t[0],f={done:!1,value:p},m=i*e,g=p+m,v=void 0===o?g:o(g);v!==g&&(m=v-p);let y=t=>-m*Math.exp(-t/s),b=t=>v+y(t),x=t=>{let e=y(t),i=b(t);f.done=Math.abs(e)<=h,f.value=f.done?v:i},w=t=>{let e;if(e=f.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,u=(0,O.o)({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:(0,R.Y)(b,t,f.value),damping:n,stiffness:r,restDelta:h,restSpeed:c})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(u||void 0!==d||(e=!0,x(t),w(t)),void 0!==d&&t>=d)?u.next(t-d):(e||x(t),f)}}}var I=i(19827);let L=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function j(t,e,i,s){return t===e&&i===s?I.l:n=>
10===n||1===n?n:L(function(t,e,i,s,n){let r,o,a=0;do(r=L(o=e+(i-e)/2,s,n)-t)>0?i=o:e=o;while(Math.abs(r)>1e-7&&++a<12);return o}(n,0,1,t,i),e,s)}let F=j(.42,0,1,1),B=j(0,0,.58,1),U=j(.42,0,.58,1);var q=i(61081),G=i(91765),W=i(54180);let $=j(.33,1.53,.69,.99),N=(0,W.G)($),H=(0,G.V)(N),Y=t=>(t*=2)<1?.5*N(t):.5*(2-Math.pow(2,-10*(t-1)));var X=i(7712);let K=t=>Array.isArray(t)&&"number"==typeof t[0],Q={linear:I.l,easeIn:F,easeInOut:U,easeOut:B,circIn:X.po,circInOut:X.tn,circOut:X.yT,backIn:N,backInOut:H,backOut:$,anticipate:Y},Z=t=>{if(K(t)){(0,d.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,s,n]=t;return j(e,i,s,n)}return"string"==typeof t?((0,d.V)(void 0!==Q[t],`Invalid easing type '${t}'`,"invalid-easing-type"),Q[t]):t};var J=i(23387),tt=i(45818),te=i(79115);function ti({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var n;let r=(0,q.h)(s)?s.map(Z):Z(s),l={done:!1,value:e[0]},h=function(t,e,{clamp:i=!0,ease:s,mixer:n}={}){let r=t.length;if((0,d.V)(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let l=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let h=function(t,e,i){let s=[],n=i||J.W.mix||z,r=t.length-1;for(let i=0;i<r;i++){let r=n(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||I.l:e;r=(0,o.F)(t,r)}s.push(r)}return s}(e,s,n),c=h.length,u=i=>{if(l&&i<t[0])return e[0];let s=0;if(c>1)for(;s<t.length-2&&!(i<t[s+1]);s++);let n=(0,tt.q)(t[s],t[s+1],i);return h[s](n)};return i?e=>u((0,a.q)(t[0],t[r-1],e)):u}((n=i&&i.length===e.length?i:(0,te.Z)(e),n.map(e=>e*t)),e,{ease:Array.isArray(r)?r:e.map(()=>r||U).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=h(e),l.done=e>=t,l)}}var ts=i(52458);let tn=t=>null!==t;function tr(t,{repeat:e,repeatType:i="loop"},s,n=1){let r=t.filter(tn),o=n<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return o&&void 0!==s?s:r[o]}let to={decay:V,inertia:V,tween:ti,keyframes:ti,spring:O.o};function ta(t){"string"==typeof t.type&&(t.type=to[t.type])}class tl{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let th=t=>t/100;class tc extends tl{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==h.k.now()&&this.tick(h.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},c.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;ta(t);let{type:e=ti,repeat:i=0,repeatDelay:s=0,repeatType:n,velocity:r=0}=t,{keyframes:a}=t,l=e||ti;l!==ti&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,o.F)(th,z(a[0],a[1])),a=[0,100]);let h=l({...t,keyframes:a});"mirror"===n&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-r})),null===h.calculatedDuration&&(h.calculatedDuration=(0,ts.t)(h));let{calculatedDuration:c}=h;this.calculatedDuration=c,this.resolvedDuration=c+s,this.totalDuration=this.resolvedDuration*(i+1)-s,this.generator=h}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:s,mixKeyframes:n,mirroredGenerator:r,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:h=0,keyframes:c,repeat:d,repeatType:u,repeatDelay:p,type:f,onUpdate:m,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-h*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>s;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let b=this.currentTime,x=i;if(d){let t=Math.min(this.currentTime,s)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===u?(i=1-i,p&&(i-=p/o)):"mirror"===u&&(x=r)),b=(0,a.q)(0,1,i)*o}let w=y?{done:!1,value:c[0]}:x.next(b);n&&(w.value=n(w.value));let{done:k}=w;y||null===l||(k=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return P&&f!==V&&(w.value=tr(c,this.options,g,this.speed)),m&&m(w.value),P&&this.finish(),w}then(t,e){return this.finished.then(t,e)}get duration(){return(0,l.X)(this.calculatedDuration)}get time(){return(0,l.X)(this.currentTime)}set time(t){t=(0,l.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(h.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,l.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=D,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(h.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,c.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var td=i(7322);function tu(t){let e;return()=>(void 0===e&&(e=t()),e)}let tp=tu(()=>void 0!==window.ScrollTimeline);var tf=i(24744);let tm={},tg=function(t,e){let i=tu(t);return()=>tm[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var tv=i(47705);let ty=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,tb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ty([0,.65,.55,1]),circOut:ty([.55,0,1,.45]),backIn:ty([.31,.01,.66,-.59]),backOut:ty([.33,1.53,.69,.99])};var tx=i(43128);class tw extends tl{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:s,pseudoElement:n,allowFlatten:r=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=r,this.options=t,(0,d.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return(0,tx.W)(t)&&tg()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:s=0,duration:n=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:l}={},h){let d={[e]:i};l&&(d.offset=l);let u=function t(e,i){if(e)return"function"==typeof e?tg()?(0,tv.K)(e,i):"ease-out":K(e)?ty(e):Array.isArray(e)?e.map(e=>t(e,i)||tb.easeOut):tb[e]}(a,n);Array.isArray(u)&&(d.easing=u),tf.Q.value&&c.q.waapi++;let p={delay:s,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"};h&&(p.pseudoElement=h);let f=t.animate(d,p);return tf.Q.value&&f.finished.finally(()=>{c.q.waapi--}),f}(e,i,s,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=tr(s,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,l.X)(Number(t))}get time(){return(0,l.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,l.f)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tp())?(this.animation.timeline=t,I.l):e(this)}}let tk={anticipate:Y,backInOut:H,circInOut:X.tn};class tP extends tw{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tk&&(t.ease=tk[t.ease])}(t),ta(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:n,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new tc({...r,autoplay:!1}),a=(0,l.f)(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let t_=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(f.f.test(t)||"0"===t)&&!t.startsWith("url(")),tT=new Set(["opacity","clipPath","filter","transform"]),tM=tu(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tS extends tl{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:r="loop",keyframes:o,name:a,motionValue:l,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=h.k.now();let u={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:r,name:a,motionValue:l,element:c,...d},p=c?.KeyframeResolver||td.h;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,u,!i),a,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,s){this.keyframeResolver=void 0;let{name:r,type:o,velocity:a,delay:l,isHandoff:c,onUpdate:u}=i;
1this.resolvedAt=h.k.now(),!function(t,e,i,s){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=t_(n,e),a=t_(r,e);return(0,d.$)(o===a,`You are trying to animate ${e} from "${n}" to "${r}". "${o?r:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,tx.W)(i))&&s)}(t,r,o,a)&&((J.W.instantAnimations||!l)&&u?.(tr(t,i,e)),t[0]=t[t.length-1],n(i),i.repeat=0);let p={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},f=!c&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:n,damping:r,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return tM()&&i&&tT.has(i)&&("transform"!==i||!l)&&!a&&!s&&"mirror"!==n&&0!==r&&"inertia"!==o}(p)?new tP({...p,element:p.motionValue.owner.current}):new tc(p);f.finished.then(()=>this.notifyFinished()).catch(I.l),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,td.q)()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let tC=t=>null!==t;var tE=i(60018);let tA={type:"spring",stiffness:500,damping:25,restSpeed:10},tz={type:"keyframes",duration:.8},tD={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tO=(t,e,i,o={},a,h)=>c=>{let d=(0,s.r)(o,t)||{},u=d.delay||o.delay||0,{elapsed:p=0}=o;p-=(0,l.f)(u);let f={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-p,onUpdate:t=>{e.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:h?void 0:a};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:n,repeat:r,repeatType:o,repeatDelay:a,from:l,elapsed:h,...c}){return!!Object.keys(c).length}(d)&&Object.assign(f,((t,{keyframes:e})=>e.length>2?tz:tE.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tA:tD)(t,f)),f.duration&&(f.duration=(0,l.f)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,l.f)(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let m=!1;if(!1!==f.type&&(0!==f.duration||f.repeatDelay)||(n(f),0===f.delay&&(m=!0)),(J.W.instantAnimations||J.W.skipAnimations)&&(m=!0,n(f),f.delay=0),f.allowFlatten=!d.type&&!d.ease,m&&!h&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},s){let n=t.filter(tC),r=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[r]}(f.keyframes,d);if(void 0!==t)return void r.Gt.update(()=>{f.onUpdate(t),f.onComplete()})}return d.isSync?new tc(f):new tS(f)}},2735:(t,e,i)=>{function s(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function n(t,e,i,n){if("function"==typeof e){let[r,o]=s(n);e=e(void 0!==i?i:t.custom,r,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,o]=s(n);e=e(void 0!==i?i:t.custom,r,o)}return e}i.d(e,{a:()=>n})},4272:(t,e,i)=>{i.d(e,{y:()=>o});var s=i(1335),n=i(18476),r=i(9064);let o={test:t=>r.B.test(t)||s.u.test(t)||n.V.test(t),parse:t=>r.B.test(t)?r.B.parse(t):n.V.test(t)?n.V.parse(t):s.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?r.B.transform(t):n.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},4608:(t,e,i)=>{i.d(e,{X:()=>r});var s=i(47215),n=i(52458);function r(t,e=100,i){let o=i({...t,keyframes:[0,e]}),a=Math.min((0,n.t)(o),n.Y);return{type:"keyframes",ease:t=>o.next(a*t).value/e,duration:(0,s.X)(a)}}},5599:(t,e,i)=>{i.d(e,{P:()=>iP});var s=i(12115),n=i(75245),r=i(60728);let o=["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 a(t){if("string"!=typeof t||t.includes("-"));else if(o.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var l=i(95155),h=i(90869);let c=(0,s.createContext)({strict:!1});var d=i(51508);let u=(0,s.createContext)({});var p=i(19253),f=i(65305);function m(t){return Array.isArray(t)?t.join(" "):t}var g=i(64803),v=i(33055),y=i(7684);let b=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
1function x(t,e,i){for(let s in e)(0,g.S)(e[s])||(0,v.z)(s,i)||(t[s]=e[s])}var w=i(82076);let k=()=>({...b(),attrs:{}});var P=i(93095);let _=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 T(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||_.has(t)}let M=t=>!T(t);try{!function(t){"function"==typeof t&&(M=e=>e.startsWith("on")?!T(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}var S=i(6340),C=i(80845),E=i(2735),A=i(82885);function z(t){return(0,g.S)(t)?t.get():t}let D=t=>(e,i)=>{let n=(0,s.useContext)(u),r=(0,s.useContext)(C.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,s,n){return{latestValues:function(t,e,i,s){let n={},r=s(t,{});for(let t in r)n[t]=z(r[t]);let{initial:o,animate:a}=t,l=(0,p.e)(t),h=(0,p.O)(t);e&&h&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let c=!!i&&!1===i.initial,d=(c=c||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!(0,S.N)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let s=(0,E.a)(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(i,s,n,t),renderState:e()}})(t,e,n,r);return i?o():(0,A.M)(o)},O=D({scrapeMotionValuesFromProps:i(60990).x,createRenderState:b}),R=D({scrapeMotionValuesFromProps:i(34527).x,createRenderState:k});var V=i(68972),I=i(6642);let L=Symbol.for("motionComponentSymbol");function j(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var F=i(31788);let B=(0,s.createContext)({});var U=i(97494);function q(t){var e,i;let{forwardMotionProps:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;r&&function(t){for(let e in t)I.B[e]={...I.B[e],...t[e]}}(r);let v=a(t)?R:O;function _(e,i){var r;let _,S={...(0,s.useContext)(d.Q),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,s.useContext)(h.L).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:E}=S,A=function(t){let{initial:e,animate:i}=function(t,e){if((0,p.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,f.w)(e)?e:void 0,animate:(0,f.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,s.useContext)(u));return(0,s.useMemo)(()=>({initial:e,animate:i}),[m(e),m(i)])}(e),z=v(e,E);if(!E&&V.B){(0,s.useContext)(c).strict;let e=function(t){let{drag:e,layout:i}=I.B;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(S);_=e.MeasureLayout,A.visualElement=function(t,e,i,n,r){let{visualElement:o}=(0,s.useContext)(u),a=(0,s.useContext)(c),l=(0,s.useContext)(C.t),h=(0,s.useContext)(d.Q).reducedMotion,p=(0,s.useRef)(null);n=n||a.renderer,!p.current&&n&&(p.current=n(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h}));let f=p.current,m=(0,s.useContext)(B);f&&!f.projection&&r&&("html"===f.type||"svg"===f.type)&&function(t,e,i,s){let{layoutId:n,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:r,alwaysMeasureLayout:!!o||a&&j(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:s,crossfade:c,layoutScroll:l,layoutRoot:h})}(p.current,i,r,m);let g=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{f&&g.current&&f.update(i,l)});let v=i[F.n],y=(0,s.useRef)(!!v&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return(0,U.E)(()=>{f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),y.current&&f.animationState&&f.animationState.animateChanges())}),(0,s.useEffect)(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),y.current=!1),f.enteringChildren=void 0)}),f}(t,z,S,o,e.ProjectionNode)}return(0,l.jsxs)(u.Provider,{value:A,children:[_&&A.visualElement?(0,l.jsx)(_,{visualElement:A.visualElement,...S}
1):null,function(t,e,i,{latestValues:n},r,o=!1){let l=(a(t)?function(t,e,i,n){let r=(0,s.useMemo)(()=>{let i=k();return(0,w.B)(i,e,(0,P.n)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};x(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return x(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,s.useMemo)(()=>{let i=b();return(0,y.O)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(e,n,r,t),h=function(t,e,i){let s={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(M(n)||!0===i&&T(n)||!e&&!T(n)||t.draggable&&n.startsWith("onDrag"))&&(s[n]=t[n]);return s}(e,"string"==typeof t,o),c=t!==s.Fragment?{...h,...l,ref:i}:{},{children:d}=e,u=(0,s.useMemo)(()=>(0,g.S)(d)?d.get():d,[d]);return(0,s.createElement)(t,{...c,children:u})}(t,e,(r=A.visualElement,(0,s.useCallback)(t=>{t&&z.onMount&&z.onMount(t),r&&(t?r.mount(t):r.unmount()),i&&("function"==typeof i?i(t):j(i)&&(i.current=t))},[r])),z,E,n)]})}_.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let S=(0,s.forwardRef)(_);return S[L]=t,S}var G=i(78660),W=i(56622),$=i(5910);function N(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}var H=i(98312);let Y=H._.length;var X=i(20419);let K=[...H.U].reverse(),Q=H.U.length;function Z(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function J(){return{animate:Z(!0),whileInView:Z(),whileHover:Z(),whileTap:Z(),whileDrag:Z(),whileFocus:Z(),exit:Z()}}class tt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class te extends tt{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(0,G._)(t,e,i))),i=J(),s=!0,n=e=>(i,s)=>{let n=(0,X.K)(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...s}=n;i={...i,...s,...e}}return i};function r(r){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<Y;t++){let s=H._[t],n=e.props[s];((0,f.w)(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},l=[],h=new Set,c={},d=1/0;for(let e=0;e<Q;e++){var u,p;let m=K[e],g=i[m],v=void 0!==o[m]?o[m]:a[m],y=(0,f.w)(v),b=m===r?g.isActive:null;!1===b&&(d=e);let x=v===a[m]&&v!==o[m]&&y;if(x&&s&&t.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...c},!g.isActive&&null===b||!v&&!g.prevProp||(0,S.N)(v)||"boolean"==typeof v)continue;let w=(u=g.prevProp,"string"==typeof(p=v)?p!==u:!!Array.isArray(p)&&!N(p,u)),k=w||m===r&&g.isActive&&!x&&y||e>d&&y,P=!1,_=Array.isArray(v)?v:[v],T=_.reduce(n(m),{});!1===b&&(T={});let{prevResolvedValues:M={}}=g,C={...M,...T},E=e=>{k=!0,h.has(e)&&(P=!0,h.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in C){let e=T[t],i=M[t];if(!c.hasOwnProperty(t))((0,$.p)(e)&&(0,$.p)(i)?N(e,i):e===i)?void 0!==e&&h.has(t)?E(t):g.protectedKeys[t]=!0:null!=e?E(t):h.add(t)}g.prevProp=v,g.prevResolvedValues=T,g.isActive&&(c={...c,...T}),s&&t.blockInitialAnimation&&(k=!1);let A=x&&w,z=!A||P;k&&z&&l.push(..._.map(e=>{let i={type:m};if("string"==typeof e&&s&&!A&&t.manuallyAnimateOnMount&&t.parent){let{parent:s}=t,n=(0,X.K)(s,e);if(s.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=(0,W.L)(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof o.initial){let i=(0,X.K)(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let s=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=s??null}),l.push({animation:e})}let m=!!l.length;return s&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(m=!1),s=!1,m?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,s){if(i[e].isActive===s)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,s)),i[e].isActive=s;let n=r(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=J(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,S.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ti=0;class ts extends tt{constructor(){super(...arguments),this.id=ti++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var tn=i(19827);let tr={x:!1,y:!1};var to=i(34158),ta=i(69515),tl=i(33210),th=i(54542),tc=i(1707);function td(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}let tu=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tp(t){return{point:{x:t.pageX,y:t.pageY}}}function tf(t,e,i,s){return td(t,e,t=>tu(t)&&i(t,tp(t)),s)}var tm=i(78588);function tg(t){return t.max-t.min}function tv(t,e,i,s=.5){t.origin=s,t.originPoint=(0,tl.k)(e.min,e.max,t.origin),t.scale=tg(i)/tg(e),t.translate=(0,tl.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function ty(t,e,i,s){tv(t.x,e.x,i.x,s?s.originX:void 0),tv(t.y,e.y,i.y,s?s.originY:void 0)}function tb(t,e,i){t.min=i.min+e.min,t.max=t.min+tg(e)}function tx(t,e,i){t.min=e.min-i.min,t.max=t.min+tg(e)}function tw(t,e,i){tx(t.x,e.x,i.x),tx(t.y,e.y,i.y)}var tk=i(81786);function tP(t){return[t("x"),t("y")]}var t_=i(33757);let tT=({current:t})=>t?t.ownerDocument.defaultView:null;var tM=i(76333),tS=i(53191),tC=i(47215);let tE=(t,e)=>Math.abs(t-e);class tA{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:n=!1,distanceThreshold:r=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=tO(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(tE(t.x,e.x)**2+tE(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:s}=t,{timestamp:n}=ta.uv;this.history.push({...s,timestamp:n});let{onStart:r,onMove:o}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tz(e,this.transformPagePoint),ta.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=tO("pointercancel"===t.type?this.lastMoveEventInfo:tz(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),s&&s(t,r)},!tu(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=s||window;let o=tz(tp(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=ta.uv;this.history=[{...a,timestamp:l}];let{onSessionStart:h}=e;h&&h(t,tO(o,this.history)),this.removeListeners=(0,tS.F)(tf(this.contextWindow,"pointermove",this.handlePointerMove),tf(this.contextWindow,"pointerup",this.handlePointerUp),tf(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,ta.WG)(this.updatePoint)}}function tz(t,e){return e?{point:e(t.point)}:t}function tD(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tO({point:t},e){return{point:t,delta:tD(t,tR(e)),offset:tD(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null,n=tR(t);for(;i>=0&&(s=t[i],!(n.timestamp-s.timestamp>(0,tC.f)(.1)));)i--;if(!s)return{x:0,y:0};let r=(0,tC.X)(n.timestamp-s.timestamp);if(0===r)return{x:0,y:0};let o={x:(n.x-s.x)/r,y:(n.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function tR(t){return t[t.length-1]}var tV=i(45818),tI=i(53678);function tL(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function tj(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function tF(t,e,i){return{min:tB(t,e),max:tB(t,i)}}function tB(t,e){return"number"==typeof t?t:t[e]||0}let tU=new WeakMap;class tq{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,tk.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tp(t).point)},r=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(tr[t])return null;else return tr[t]=!0,()=>{tr[t]=!1};return tr.x||tr.y?null:(tr.x=tr.y=!0,()=>{tr.x=tr.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tP(t=>{let e=this.getAxisMotionValue(t).get()||0;if(to.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];
1s&&(e=tg(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&ta.Gt.postRender(()=>n(t,e)),(0,tM.g)(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:n,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),r&&r(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>tP(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:h}=this.getProps();this.panSession=new tA(t,{onSessionStart:n,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:tT(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!s||!i)return;let{velocity:r}=s;this.startAnimation(r);let{onDragEnd:o}=this.getProps();o&&ta.Gt.postRender(()=>o(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!tG(t,s,this.currentDirection))return;let n=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,tl.k)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,tl.k)(i,t,s.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),n.set(r)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&j(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:n}){return{x:tL(t.x,i,n),y:tL(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tF(t,"left","right"),y:tF(t,"top","bottom")}}(e),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&tP(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!j(e))return!1;let s=e.current;(0,th.V)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let r=(0,t_.L)(s,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:tj(t.x,r.x),y:tj(t.y,r.y)});if(i){let t=i((0,tm.pA)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,tm.FY)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tP(o=>{if(!tG(o,e,this.currentDirection))return;let l=a&&a[o]||{};r&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,tM.g)(this.visualElement,t),i.start((0,tc.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){tP(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tP(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){tP(e=>{let{drag:i}=this.getProps();if(!tG(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,n=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:r}=s.layout.layoutBox[e];n.set(t[e]-(0,tl.k)(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!j(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};tP(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();s[t]=function(t,e){let i=.5,s=tg(t),n=tg(e);return n>s?i=(0,tV.q)(e.min,e.max-s,t.min):s>n&&(i=(0,tV.q)(t.min,t.max-n,e.min)),(0,tI.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tP(e=>{if(!tG(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:r}=this.constraints[e];i.set((0,tl.k)(n,r,s[e]))})}addListeners(){if(!this.visualElement.current)return;tU.set(this.visualElement,this);let t=tf(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();j(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ta.Gt.read(e);let n=td(window,"resize",()=>this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tP(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),s(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:r,dragMomentum:o}}}function tG(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tW extends tt{constructor(t){super(t),this.removeGroupControls=tn.l,this.removeListeners=tn.l,this.controls=new tq(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tn.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let t$=t=>(e,i)=>{t&&ta.Gt.postRender(()=>t(e,i))};class tN extends tt{constructor(){super(...arguments),this.removePointerDownListener=tn.l}onPointerDown(t){this.session=new tA(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tT(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:t$(t),onStart:t$(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&ta.Gt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=tf(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tH=i(87123),tY=i(32082);let tX={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tK(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tQ={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!to.px.test(t))return t;else t=parseFloat(t);let i=tK(t,e.target.x),s=tK(t,e.target.y);return`${i}% ${s}%`}};var tZ=i(60010),tJ=i(20637);let t0=!1;class t1 extends s.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:n}=t;(0,tJ.$)(t5),n&&(e.group&&e.group.add(n),i&&i.register&&s&&i.register(n),t0&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),tX.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:n}=this.props,{projection:r}=i;return r&&(r.isPresent=n,t0=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==n?r.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?r.promote():r.relegate()||ta.Gt.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tH.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;t0=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function t2(t){let[e,i]=(0,tY.xQ)(),n=(0,s.useContext)(h.L);return(0,l.jsx)(t1,{...t,layoutGroup:n,switchLayoutGroup:(0,s.useContext)(B),isPresent:e,safeToRemove:i})}let t5={borderRadius:{...tQ,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tQ,borderTopRightRadius:tQ,borderBottomLeftRadius:tQ,borderBottomRightRadius:tQ,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=tZ.f.parse(t);if(s.length>5)return t;let n=tZ.f.createTransformer(t),r=+("number"!=typeof s[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;s[0+r]/=o,s[1+r]/=a;let l=(0,tl.k)(o,a,.5);return"number"==typeof s[2+r]&&(s[2+r]/=l),"number"==typeof s[3+r]&&(s[3+r]/=l),n(s)}}};var t3=i(24744),t8=i(69782),t6=i(25943),t4=i(78777),t7=i(74261),t9=i(63704),et=i(60098),ee=i(75626),ei=i(35580),es=i(46926),en=i(56668);let er=(t,e)=>t.depth-e.depth;class eo{constructor(){this.children=[],this.isDirty=!1}add(t){(0,en.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,en.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(er),this.isDirty=!1,this.children.forEac
1h(t)}}var ea=i(7712);let el=["TopLeft","TopRight","BottomLeft","BottomRight"],eh=el.length,ec=t=>"string"==typeof t?parseFloat(t):t,ed=t=>"number"==typeof t||to.px.test(t);function eu(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ep=em(0,.5,ea.yT),ef=em(.5,.95,tn.l);function em(t,e,i){return s=>s<t?0:s>e?1:i((0,tV.q)(t,e,s))}function eg(t,e){t.min=e.min,t.max=e.max}function ev(t,e){eg(t.x,e.x),eg(t.y,e.y)}function ey(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var eb=i(96147);function ex(t,e,i,s,n){return t-=e,t=(0,eb.hq)(t,1/i,s),void 0!==n&&(t=(0,eb.hq)(t,1/n,s)),t}function ew(t,e,[i,s,n],r,o){!function(t,e=0,i=1,s=.5,n,r=t,o=t){if(to.KN.test(e)&&(e=parseFloat(e),e=(0,tl.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tl.k)(r.min,r.max,s);t===r&&(a-=e),t.min=ex(t.min,e,i,a,n),t.max=ex(t.max,e,i,a,n)}(t,e[i],e[s],e[n],e.scale,r,o)}let ek=["x","scaleX","originX"],eP=["y","scaleY","originY"];function e_(t,e,i,s){ew(t.x,e,ek,i?i.x:void 0,s?s.x:void 0),ew(t.y,e,eP,i?i.y:void 0,s?s.y:void 0)}function eT(t){return 0===t.translate&&1===t.scale}function eM(t){return eT(t.x)&&eT(t.y)}function eS(t,e){return t.min===e.min&&t.max===e.max}function eC(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function eE(t,e){return eC(t.x,e.x)&&eC(t.y,e.y)}function eA(t){return tg(t.x)/tg(t.y)}function ez(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class eD{constructor(){this.members=[]}add(t){(0,en.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,en.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var eO=i(62662);let eR={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eV=["","X","Y","Z"],eI=0;function eL(t,e,i,s){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),s&&(s[t]=0))}function ej({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=eI++,this.animationId=0,this.animationCommitId=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.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,t3.Q.value&&(eR.nodes=eR.calculatedTargetDeltas=eR.calculatedProjections=0),this.nodes.forEach(eU),this.nodes.forEach(eY),this.nodes.forEach(eX),this.nodes.forEach(eq),t3.Q.addProjectionMetrics&&t3.Q.addProjectionMetrics(eR)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new eo)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ee.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,t8.x)(e)&&!(0,t6.h)(e),this.instance=e;let{layoutId:i,layout:s,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i,s=0,n=()=>this.root.updateBlockedByResize=!1;ta.Gt.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==s&&(s=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=t7.k.now(),s=({timestamp:e})=>{let n=e-i;n>=250&&((0,ta.WG)(s),t(n-250))};return ta.Gt.setup(s,!0),()=>(0,ta.WG)(s)}(n,250),tX.hasAnimatedSinceResize&&(tX.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(eH)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||n.getDefaultTransition()||e1,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!eE(this.targetLayout,s),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,t4.r)(r,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||eH(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,ta.WG)(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(eK),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,es.P)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",ta.Gt,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eW);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(e$);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eN),this.nodes.forEach(eF),this.nodes.forEach(eB)):this.nodes.forEach(e$),this.clearAllSnapshots();let t=t7.k.now();ta.uv.delta=(0,tI.q)(0,1e3/60,t-ta.uv.timestamp),ta.uv.timestamp=t,ta.uv.isProcessing=!0,ta.PP.update.process(ta.uv),ta.PP.preRender.process(ta.uv),ta.PP.render.process(ta.uv),ta.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tH.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eG),this.sharedNodes.forEach(eQ)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ta.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ta.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tg(this.snapshot.measuredBox.x)||tg(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,tk.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!eM(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,r=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,eO.HD)(this.latestValues)||r)&&(n(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),e3((e=s).x),e3(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,tk.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(e6))){let{scroll:t}=this.root;t&&((0,eb.Ql)(e.x,t.offset.x),(0,eb.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,tk.ge)();if(ev(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:n,options:r}=s;s!==this.root&&n&&r.layoutScroll&&(n.wasRoot&&ev(e,t),(0,eb.Ql)(e.x,n.offset.x),(0,eb.Ql)(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=(0,tk.ge)();ev(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(0,eb.Ww)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,eO.HD)(s.latestValues)&&(0,eb.Ww)(i,s.latestValues)}return(0,eO.HD)(this.latestValues)&&(0,eb.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,tk.ge)();ev(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,eO.HD)(i.latestValues))continue;(0,eO.vk)(i.latestValues)&&i.updateSnapshot();let s=(0,tk.ge)();ev(s,i.measurePageBox()),e_(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,eO.HD)(this.latestValues)&&e_(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ta.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:n}=this.options;if(this.layout&&(s||n)){if(this.resolvedRelativeTargetAt=ta.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tk.ge)(),this.relativeTargetOrigin=(0,tk.ge)(),tw(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ev(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,tk.ge)(),this.targetWithTransforms=(0,tk.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var r,o,a;this.forceRelativeParentToResolveTarget(),r=this.target,o=this.relativeTarget,a=this.relativeParent.target,tb(r.x,o.x,a.x),tb(r.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ev(this.target,this.layout.layoutBox),(0,eb.o4)(this.target,this.targetDelta)):ev(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tk.ge)(),this.relativeTargetOrigin=(0,tk.ge)(),tw(this.relativeTargetOrigin,this.target,t.target),ev(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}t3.Q.value&&eR.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,eO.vk)(this.parent.latestValues)||(0,eO.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===ta.uv.timestamp&&(i=!1),i)return;let{layout:s,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||n))return;ev(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,o=this.treeScale.y;(0,eb.OU)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,tk.ge)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ey(this.prevProjectionDelta.x,this.projectionDelta.x),ey(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ty(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===r&&this.treeScale.y===o&&ez(this.projectionDelta.x,this.prevProjectionDelta.x)&&ez(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),t3.Q.value&&eR.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,tk.xU)(),this.projectionDelta=(0,tk.xU)(),this.projectionDeltaWithTransform=(0,tk.xU)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,n=s?s.latestValues:{},r={...this.latestValues},o=(0,tk.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,tk.ge)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(e0));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(eZ(o.x,t.x,s),eZ(o.y,t.y,s),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,u,p,f,m,g;tw(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,g=s,eJ(p.x,f.x,m.x,g),eJ(p.y,f.y,m.y,g),i&&(h=this.relativeTarget,u=i,eS(h.x,u.x)&&eS(h.y,u.y))&&(this.isProjectionDirty=!1),i||(i=(0,tk.ge)()),ev(i,this.relativeTarget)}l&&(this.animationValues=r,function(t,e,i,s,n,r){n?(t.opacity=(0,tl.k)(0,i.opacity??1,ep(s)),t.opacityExit=(0,tl.k)(e.opacity??1,0,ef(s))):r&&(t.opacity=(0,tl.k)(e.opacity??1,i.opacity??1,s));for(let n=0;n<eh;n++){let r=`border${el[n]}Radius`,o=eu(e,r),a=eu(i,r);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||ed(o)===ed(a)?(t[r]=Math.max((0,tl.k)(ec(o),ec(a),s),0),(to.KN.test(a)||to.KN.test(o))&&(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,tl.k)(e.rotate||0,i.rotate||0,s))}(r,n,this.latestValues,s,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,ta.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ta.Gt.update(()=>{tX.hasAnimatedSinceResize=!0,t9.q.layout++,this.motionValue||(this.motionValue=(0,et.OQ)(0)),this.currentAnimation=(0,ei.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{t9.q.layout--},onComplete:()=>{t9.q.layout--,t.onComplete&&t.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);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:n}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&e8(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,tk.ge)();let e=tg(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=tg(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}ev(e,i),(0,eb.Ww)(e,n),ty(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eD),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&eL("z",t,s,this.animationValues);for(let e=0;e<eV.length;e++)eL(`rotate${eV[e]}`,t,s,this.animationValues),eL(`skew${eV[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=z(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=z(e?.pointerEvents)||""),this.hasProjected&&!(0,eO.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=s.animationValues||s.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let s="",n=t.x.translate/e.x,r=t.y.translate/e.y,o=i?.z||0;if((n||r||o)&&(s=`translate3d(${n}px, ${r}px, ${o}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:r,skewX:o,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),n&&(s+=`rotateX(${n}deg) `),r&&(s+=`rotateY(${r}deg) `),o&&(s+=`skewX(${o}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(r=i(n,r)),t.transform=r;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,s.animationValues?t.opacity=s===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=s===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,tJ.H){if(void 0===n[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=tJ.H[e],l="none"===r?n[e]:i(n[e],s);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?z(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eW),this.root.sharedNodes.clear()}}}function eF(t){t.updateLayout()}function eB(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:n}=t.options,r=e.source!==t.layout.source;"size"===n?tP(t=>{let s=r?e.measuredBox[t]:e.layoutBox[t],n=tg(s);s.min=i[t].min,s.max=s.min+n}):e8(n,e.layoutBox,i)&&tP(s=>{let n=r?e.measuredBox[s]:e.layoutBox[s],o=tg(i[s]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+o)});let o=(0,tk.xU)();ty(o,i,e.layoutBox);let a=(0,tk.xU)();r?ty(a,t.applyTransform(s,!0),e.measuredBox):ty(a,i,e.layoutBox);let l=!eM(o),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:n,layout:r}=s;if(n&&r){let o=(0,tk.ge)();tw(o,e.layoutBox,n.layoutBox);let a=(0,tk.ge)();tw(a,i,r.layoutBox),eE(o,a)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eU(t){t3.Q.value&&eR.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eq(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eG(t){t.clearSnapshot()}function eW(t){t.clearMeasurements()}function e$(t){t.isLayoutDirty=!1}function eN(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eH(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eY(t){t.resolveTargetDelta()}function eX(t){t.calcProjection()}function eK(t){t.resetSkewAndRotation()}function eQ(t){t.removeLeadSnapshot()}function eZ(t,e,i){t.translate=(0,tl.k)(e.translate,0,i),t.scale=(0,tl.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eJ(t,e,i,s){t.min=(0,tl.k)(e.min,i.min,s),t.max=(0,tl.k)(e.max,i.max,s)}function e0(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let e1={duration:.45,ease:[.4,0,.1,1]},e2=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),e5=e2("applewebkit/")&&!e2("chrome/")?Math.round:tn.l;function e3(t){t.min=e5(t.min),t.max=e5(t.max)}function e8(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(eA(e)-eA(i)))}function e6(t){return t!==t.root&&t.scroll?.wasRoot}let e4=ej({attachResizeListener:(t,e)=>td(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),e7={current:void 0},e9=ej({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!e7.current){let t=new e4({});t.mount(window),t.setOptions({layoutScroll:!0}),e7.current=t}return e7.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var it=i(42198);function ie(t,e){let i=(0,it.K)(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function ii(t){return!("touch"===t.pointerType||tr.x||tr.y)}function is(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=s["onHover"+i];n&&ta.Gt.postRender(()=>n(e,tp(e)))}class ir extends tt{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,n,r]=ie(t,i),o=t=>{if(!ii(t))return;let{target:i}=t,s=e(i,t);if("function"!=typeof s||!i)return;let r=t=>{ii(t)&&(s(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,n)};return s.forEach(t=>{t.addEventListener("pointerenter",o,n)}),r}(t,(t,e)=>(is(this.node,e,"Start"),t=>is(this.node,t,"End"))))}unmount(){}}class io extends tt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){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=(0,tS.F)(td(this.node.current,"focus",()=>this.onFocus()),td(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var ia=i(27351);let il=(t,e)=>!!e&&(t===e||il(t,e.parentElement)),ih=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ic=new WeakSet;function id(t){return e=>{"Enter"===e.key&&t(e)}}function iu(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function ip(t){return tu(t)&&!(tr.x||tr.y)}function im(t,e,i){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=s["onTap"+("End"===i?"":i)];n&&ta.Gt.postRender(()=>n(e,tp(e)))}class ig extends tt{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,n,r]=ie(t,i),o=t=>{let s=t.currentTarget;if(!ip(t))return;ic.add(s);let r=e(s,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),ic.has(s)&&ic.delete(s),ip(t)&&"function"==typeof r&&r(t,{success:e})},a=t=>{o(t,s===window||s===document||i.useGlobalTarget||il(s,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};
1return s.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),(0,ia.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=id(()=>{if(ic.has(i))return;iu(i,"down");let t=id(()=>{iu(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>iu(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,n)),ih.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(im(this.node,e,"Start"),(t,{success:e})=>im(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iv=new WeakMap,iy=new WeakMap,ib=t=>{let e=iv.get(t.target);e&&e(t)},ix=t=>{t.forEach(ib)},iw={some:0,all:1};class ik extends tt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:s="some",once:n}=t,r={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof s?s:iw[s]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),r=e?i:s;r&&r(t)};var a=this.node.current;let l=function({root:t,...e}){let i=t||document;iy.has(i)||iy.set(i,{});let s=iy.get(i),n=JSON.stringify(e);return s[n]||(s[n]=new IntersectionObserver(ix,{root:t,...e})),s[n]}(r);return iv.set(a,o),l.observe(a),()=>{iv.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let iP=function(t,e){if("undefined"==typeof Proxy)return q;let i=new Map,s=(i,s)=>q(i,s,t,e);return new Proxy((t,e)=>s(t,e),{get:(n,r)=>"create"===r?s:(i.has(r)||i.set(r,q(r,void 0,t,e)),i.get(r))})}({animation:{Feature:te},exit:{Feature:ts},inView:{Feature:ik},tap:{Feature:ig},focus:{Feature:io},hover:{Feature:ir},pan:{Feature:tN},drag:{Feature:tW,ProjectionNode:e9,MeasureLayout:t2},layout:{ProjectionNode:e9,MeasureLayout:t2}},(t,e)=>a(t)?new r.l(e):new n.M(e,{allowProjection:t!==s.Fragment}))},5910:(t,e,i)=>{i.d(e,{p:()=>s});let s=t=>Array.isArray(t)},6340:(t,e,i)=>{i.d(e,{N:()=>s});function s(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},6642:(t,e,i)=>{i.d(e,{B:()=>n});let s={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"]},n={};for(let t in s)n[t]={isEnabled:e=>s[t].some(t=>!!e[t])}},6983:(t,e,i)=>{i.d(e,{G:()=>s});function s(t){return"object"==typeof t&&null!==t}},7312:(t,e,i)=>{i.d(e,{$:()=>s});let s=t=>/^0[^.\s]+$/u.test(t)},7322:(t,e,i)=>{i.d(e,{h:()=>u,q:()=>d});var s=i(60280),n=i(69515);let r=new Set,o=!1,a=!1,l=!1;function h(){if(a){let t=Array.from(r).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,s.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,r.forEach(t=>t.complete(l)),r.clear()}function c(){r.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function d(){l=!0,c(),h(),l=!1}class u{constructor(t,e,i,s,n,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=n,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(r.add(this),o||(o=!0,n.Gt.read(c),n.Gt.resolveKeyframes(h))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;
1if(null===t[0]){let n=s?.get(),r=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let s=i.readValue(e,r);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=r),s&&void 0===n&&s.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),r.delete(this)}cancel(){"scheduled"===this.state&&(r.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},7684:(t,e,i)=>{i.d(e,{O:()=>h});var s=i(60018),n=i(78606);let r=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var o=i(72403);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=s.U.length;function h(t,e,i){let{style:h,vars:c,transformOrigin:d}=t,u=!1,p=!1;for(let t in e){let i=e[t];if(s.f.has(t)){u=!0;continue}if((0,n.j)(t)){c[t]=i;continue}{let e=r(i,o.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):h[t]=e}}if(!e.transform&&(u||i?h.transform=function(t,e,i){let n="",h=!0;for(let c=0;c<l;c++){let l=s.U[c],d=t[l];if(void 0===d)continue;let u=!0;if(!(u="number"==typeof d?d===+!!l.startsWith("scale"):0===parseFloat(d))||i){let t=r(d,o.W[l]);if(!u){h=!1;let e=a[l]||l;n+=`${e}(${t}) `}i&&(e[l]=t)}}return n=n.trim(),i?n=i(e,h?"":n):h&&(n="none"),n}(e,t.transform,i):h.transform&&(h.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=d;h.transformOrigin=`${t} ${e} ${i}`}}},7712:(t,e,i)=>{i.d(e,{po:()=>r,tn:()=>a,yT:()=>o});var s=i(91765),n=i(54180);let r=t=>1-Math.sin(Math.acos(t)),o=(0,n.G)(r),a=(0,s.V)(r)},8619:(t,e,i)=>{i.d(e,{d:()=>a});var s=i(60098),n=i(12115),r=i(51508),o=i(82885);function a(t){let e=(0,o.M)(()=>(0,s.OQ)(t)),{isStatic:i}=(0,n.useContext)(r.Q);if(i){let[,i]=(0,n.useState)(t);(0,n.useEffect)(()=>e.on("change",i),[])}return e}},9064:(t,e,i)=>{i.d(e,{B:()=>l});var s=i(53678),n=i(57887),r=i(11557),o=i(55920);let a={...n.ai,transform:t=>Math.round((0,s.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,r.a)(n.X4.transform(s))+")"}},11557:(t,e,i)=>{i.d(e,{a:()=>s});let s=t=>Math.round(1e5*t)/1e5},15933:(t,e,i)=>{i.d(e,{_:()=>s});function s(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}},17580:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(19946).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},18476:(t,e,i)=>{i.d(e,{V:()=>a});var s=i(57887),n=i(34158),r=i(11557),o=i(55920);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+n.KN.transform((0,r.a)(e))+", "+n.KN.transform((0,r.a)(i))+", "+(0,r.a)(s.X4.transform(o))+")"}},18802:(t,e,i)=>{i.d(e,{U:()=>o});var s=i(60098),n=i(5910),r=i(20419);function o(t,e){let{transitionEnd:i={},transition:o={},...a}=(0,r.K)(t,e)||{};for(let e in a={...a,...i}){var l;let i=(l=a[e],(0,n.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,s.OQ)(i))}}},19253:(t,e,i)=>{i.d(e,{O:()=>a,e:()=>o});var s=i(6340),n=i(65305),r=i(98312);function o(t){return(0,s.N)(t.animate)||r._.some(e=>(0,n.w)(t[e]))}function a(t){return!!(o(t)||t.variants)}},19578:(t,e,i)=>{i.d(e,{$:()=>c});var s=i(78777),n=i(69515),r=i(58109),o=i(18802),a=i(76333),l=i(46926),h=i(1707);function c(t,e,{delay:i=0,transitionOverride:d,type:u}={}){let{transition:p=t.getDefaultTransition(),transitionEnd:f,...m}=e;d&&(p=d);let g=[],v=u&&t.animationState&&t.animationState.getState()[u];for(let e in m){let o=t.getValue(e,t.latestValues[e]??null),c=m[e];if(void 0===c||v&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(v,e))continue;let d={delay:i,...(0,s.r)(p||{},e)},u=o.get();if(void 0!==u&&!o.isAnimating&&!Array.isArray(c)&&c===u&&!d.velocity)continue;let f=!1;if(window.MotionHandoffAnimation){let i=(0,l.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,n.Gt);null!==t&&(d.startTime=t,f=!0)}}(0,a.g)(t,e),o.start((0,h.f)(e,o,c,t.shouldReduceMotion&&r.$.has(e)?{type:!1}:d,t,f));let y=o.animation;y&&g.push(y)}return f&&Promise.all(g).then(()=>{n.Gt.update(()=>{f&&(0,o.U)(t,f)})}),g}},19827:(t,e,i)=>{i.d(e,{l:()=>s});let s=t=>t},19946:(t,e,i)=>{i.d(e,{A:()=>l});var s=i(12115);let n=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)},r=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,s.forwardRef)((t,e)=>{let{color:i="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:h="",children:c,iconNode:d,...u}=t;return(0,s.createElement)("svg",{ref:e,...o,width:n,height:n,stroke:i,strokeWidth:l?24*Number(a)/Number(n):a,className:r("lucide",h),...!c&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0})(u)&&{"aria-hidden":"true"},...u},[...d.map(t=>{let[e,i]=t;return(0,s.createElement)(e,i)}),...Array.isArray(c)?c:[c]])}),l=(t,e)=>{let i=(0,s.forwardRef)((i,o)=>{let{className:l,...h}=i;return(0,s.createElement)(a,{ref:o,iconNode:e,className:r("lucide-".concat(n(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(t),l),...h})});return i.displayName=n(t),i}},20419:(t,e,i)=>{i.d(e,{K:()=>n});var s=i(2735);function n(t,e,i){let n=t.getProps();return(0,s.a)(n,e,void 0!==i?i:n.custom,t)}},20600:(t,e,i)=>{i.d(e,{e:()=>s});function s(t,{style:e,vars:i},s,n){let r,o=t.style;for(r in e)o[r]=e[r];for(r in n?.applyProjectionStyles(o,s),i)o.setProperty(r,i[r])}},20637:(t,e,i)=>{i.d(e,{$:()=>r,H:()=>n});var s=i(78606);let n={};function r(t){for(let e in t)n[e]=t[e],(0,s.j)(e)&&(n[e].isCSSVariable=!0)}},23387:(t,e,i)=>{i.d(e,{W:()=>s});let s={}},24744:(t,e,i)=>{i.d(e,{Q:()=>s});let s={value:null,addProjectionMetrics:null}},25193:(t,e,i)=>{i.d(e,{b:()=>y});var s=i(58109),n=i(64050),r=i(54542),o=i(83014),a=i(78606);let l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var h=i(7322),c=i(7312),d=i(60010),u=i(47277);
1let p=new Set(["auto","none","0"]);var f=i(60280);class m extends h.h{constructor(t,e,i,s,n){super(t,e,i,s,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&(s=s.trim(),(0,a.p)(s))){let n=function t(e,i,s=1){(0,r.V)(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,h]=function(t){let e=l.exec(t);if(!e)return[,];let[,i,s,n]=e;return[`--${i??s}`,n]}(e);if(!n)return;let c=window.getComputedStyle(i).getPropertyValue(n);if(c){let t=c.trim();return(0,o.i)(t)?parseFloat(t):t}return(0,a.p)(h)?t(h,i,s+1):h}(s,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!s.$.has(i)||2!==t.length)return;let[h,c]=t,d=(0,n.n)(h),u=(0,n.n)(c);if(d!==u)if((0,f.E4)(d)&&(0,f.E4)(u))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else f.Hr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var s;(null===t[e]||("number"==typeof(s=t[e])?0===s:null===s||"none"===s||"0"===s||(0,c.$)(s)))&&i.push(e)}i.length&&function(t,e,i){let s,n=0;for(;n<t.length&&!s;){let e=t[n];"string"==typeof e&&!p.has(e)&&(0,d.V)(e).values.length&&(s=t[n]),n++}if(s&&i)for(let n of e)t[n]=(0,u.J)(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=f.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);let n=i.length-1,r=i[n];i[n]=f.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var g=i(64803),v=i(63562);class y extends v.B{constructor(){super(...arguments),this.KeyframeResolver=m}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,g.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},25943:(t,e,i)=>{i.d(e,{h:()=>n});var s=i(69782);function n(t){return(0,s.x)(t)&&"svg"===t.tagName}},27351:(t,e,i)=>{i.d(e,{s:()=>n});var s=i(6983);function n(t){return(0,s.G)(t)&&"offsetHeight"in t}},30614:(t,e,i)=>{i.d(e,{S:()=>s});let s=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},31788:(t,e,i)=>{i.d(e,{n:()=>s});let s="data-"+(0,i(78450).I)("framerAppearId")},32082:(t,e,i)=>{i.d(e,{xQ:()=>r});var s=i(12115),n=i(80845);function r(t=!0){let e=(0,s.useContext)(n.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,s.useId)();(0,s.useEffect)(()=>{if(t)return a(l)},[t]);let h=(0,s.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,h]:[!0]}},32919:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(19946).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},33055:(t,e,i)=>{i.d(e,{z:()=>r});var s=i(60018),n=i(20637);function r(t,{layout:e,layoutId:i}){return s.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!n.H[t]||"opacity"===t)}},33109:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(19946).A)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]])},33210:(t,e,i)=>{i.d(e,{k:()=>s});let s=(t,e,i)=>t+(e-t)*i},33757:(t,e,i)=>{i.d(e,{L:()=>o,m:()=>r});var s=i(78588),n=i(96147);function r(t,e){return(0,s.FY)((0,s.bS)(t.getBoundingClientRect(),e))}function o(t,e,i){let s=r(t,i),{scroll:o}=e;return o&&((0,n.Ql)(s.x,o.offset.x),(0,n.Ql)(s.y,o.offset.y)),s}},34158:(t,e,i)=>{i.d(e,{KN:()=>r,gQ:()=>h,px:()=>o,uj:()=>n,vh:()=>a,vw:()=>l});let s=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),n=s("deg"),r=s("%"),o=s("px"),a=s("vh"),l=s("vw"),h={...r,parse:t=>r.parse(t)/100,transform:t=>r.transform(100*t)}},34527:(t,e,i)=>{i.d(e,{x:()=>o});var s=i(64803),n=i(60018),r=i(60990);function o(t,e,i){let o=(0,r.x)(t,e,i);for(let i in t)((0,s.S)(t[i])||(0,s.S)(e[i]))&&(o[-1!==n.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}},34869:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(19946).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},35580:(t,e,i)=>{i.d(e,{z:()=>o});var s=i(64803),n=i(60098),r=i(1707);function o(t,e,i){let o=(0,s.S)(t)?t:(0,n.OQ)(t);return o.start((0,r.f)("",o,e,i)),o.animation}},39688:(t,e,i)=>{i.d(e,{QP:()=>tt});let s=(t,e)=>{if(0===t.length)return e.classGroupId;let i=t[0],n=e.nextPart.get(i),r=n?s(t.slice(1),n):void 0;if(r)return r;if(0===e.validators.length)return;let o=t.join("-");return e.validators.find(({validator:t})=>t(o))?.classGroupId},n=/^\[(.+)\]$/,r=(t,e,i,s)=>{t.forEach(t=>{if("string"==typeof t){(""===t?e:o(e,t)).classGroupId=i;return}if("function"==typeof t)return a(t)?void r(t(s),e,i,s):void e.validators.push({validator:t,classGroupId:i});Object.entries(t).forEach(([t,n])=>{r(n,o(e,t),i,s)})})},o=(t,e)=>{let i=t;return e.split("-").forEach(t=>{i.nextPart.has(t)||i.nextPart.set(t,{nextPart:new Map,validators:[]}),i=i.nextPart.get(t)}),i},a=t=>t.isThemeGetter,l=/\s+/;function h(){let t,e,i=0,s="";for(;i<arguments.length;)(t=arguments[i++])&&(e=c(t))&&(s&&(s+=" "),s+=e);return s}let c=t=>{let e;if("string"==typeof t)return t;let i="";for(let s=0;s<t.length;s++)t[s]&&(e=c(t[s]))&&(i&&(i+=" "),i+=e);return i},d=t=>{let e=e=>e[t]||[];return e.isThemeGetter=!0,e},u=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,p=/^\((?:(\w[\w-]*):)?(.+)\)$/i,f=/^\d+\/\d+$/,m=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g=/\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$/,v=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,y=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,b=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,x=t=>f.test(t),w=t=>!!t&&!Number.isNaN(Number(t)),k=t=>!!t&&Number.isInteger(Number(t)),P=t=>t.endsWith("%")&&w(t.slice(0,-1)),_=t=>m.test(t),T=()=>!0,M=t=>g.test(t)&&!v.test(t),S=()=>!1,C=t=>y.test(t),E=t=>b.test(t),A=t=>!D(t)&&!j(t),z=t=>$(t,X,S),D=t=>u.test(t),O=t=>$(t,K,M),R=t=>$(t,Q,w),V=t=>$(t,H,S),I=t=>$(t,Y,E),L=t=>$(t,J,C),j=t=>p.test(t),F=t=>N(t,K),B=t=>N(t,Z),U=t=>N(t,H),q=t=>N(t,X),G=t=>N(t,Y),W=t=>N(t,J,!0),$=(t,e,i)=>{let s=u.exec(t);return!!s&&(s[1]?e(s[1]):i(s[2]))},N=(t,e,i=!1)=>{let s=p.exec(t);return!!s&&(s[1]?e(s[1]):i)},H=t=>"position"===t||"percentage"===t,Y=t=>"image"===t||"url"===t,X=t=>"length"===t||"size"===t||"bg-size"===t,K=t=>"length"===t,Q=t=>"number"===t,Z=t=>"family-name"===t,J=t=>"shadow"===t;Symbol.toStringTag;let tt=function(t,...e){let i,o,a,c=function(l){let h;return o=(i={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=new Map,s=new Map,n=(n,r)=>{i.set(n,r),++e>t&&(e=0,s=i,i=new Map)};return{get(t){let e=i.get(t);return void 0!==e?e:void 0!==(e=s.get(t))?(n(t,e),e):void 0},set(t,e){i.has(t)?i.set(t,e):n(t,e)}}})((h=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,s=t=>{let e,i,s=[],n=0,r=0,o=0;for(let i=0;i<t.length;i++){let a=t[i];if(0===n&&0===r){if(":"===a){s.push(t.slice(o,i)),o=i+1;continue}if("/"===a){e=i;continue}}"["===a?n++:"]"===a?n--:"("===a?r++:")"===a&&r--}let a=0===s.length?t:t.substring(o),l=(i=a).endsWith("!")?i.substring(0,i.length-1):i.startsWith("!")?i.substring(1):i;return{modifiers:s,hasImportantModifier:l!==a,baseClassName:l,maybePostfixModifierPosition:e&&e>o?e-o:void 0}};if(e){let t=e+":",i=s;s=e=>e.startsWith(t)?i(e.substring(t.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:e,maybePostfixModifierPosition:void 0}}if(i){let t=s;s=e=>i({className:e,parseClassName:t})}return s})(h),sortModifiers:(t=>{let e=Object.fromEntries(t.orderSensitiveModifiers.map(t=>[t,!0]));return t=>{if(t.length<=1)return t;let i=[],s=[];return t.forEach(t=>{"["===t[0]||e[t]?(i.push(...s.sort(),t),s=[]):s.push(t)}),i.push(...s.sort()),i}})(h),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t,s={nextPart:new Map,validators:[]};for(let t in i)r(i[t],s,t,e);return s})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{let i=t.split("-");return""===i[0]&&1!==i.length&&i.shift(),s(i,e)||(t=>
1{if(n.test(t)){let e=n.exec(t)[1],i=e?.substring(0,e.indexOf(":"));if(i)return"arbitrary.."+i}})(t)},getConflictingClassGroupIds:(t,e)=>{let s=i[t]||[];return e&&o[t]?[...s,...o[t]]:s}}})(h)}).cache.get,a=i.cache.set,c=d,d(l)};function d(t){let e=o(t);if(e)return e;let s=((t,e)=>{let{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:n,sortModifiers:r}=e,o=[],a=t.trim().split(l),h="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:l,modifiers:c,hasImportantModifier:d,baseClassName:u,maybePostfixModifierPosition:p}=i(e);if(l){h=e+(h.length>0?" "+h:h);continue}let f=!!p,m=s(f?u.substring(0,p):u);if(!m){if(!f||!(m=s(u))){h=e+(h.length>0?" "+h:h);continue}f=!1}let g=r(c).join(":"),v=d?g+"!":g,y=v+m;if(o.includes(y))continue;o.push(y);let b=n(m,f);for(let t=0;t<b.length;++t){let e=b[t];o.push(v+e)}h=e+(h.length>0?" "+h:h)}return h})(t,i);return a(t,s),s}return function(){return c(h.apply(null,arguments))}}(()=>{let t=d("color"),e=d("font"),i=d("text"),s=d("font-weight"),n=d("tracking"),r=d("leading"),o=d("breakpoint"),a=d("container"),l=d("spacing"),h=d("radius"),c=d("shadow"),u=d("inset-shadow"),p=d("text-shadow"),f=d("drop-shadow"),m=d("blur"),g=d("perspective"),v=d("aspect"),y=d("ease"),b=d("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...S(),j,D],E=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],N=()=>[j,D,l],H=()=>[x,"full","auto",...N()],Y=()=>[k,"none","subgrid",j,D],X=()=>["auto",{span:["full",k,j,D]},k,j,D],K=()=>[k,"auto",j,D],Q=()=>["auto","min","max","fr",j,D],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],tt=()=>["auto",...N()],te=()=>[x,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],ti=()=>[t,j,D],ts=()=>[...S(),U,V,{position:[j,D]}],tn=()=>["no-repeat",{repeat:["","x","y","space","round"]}],tr=()=>["auto","cover","contain",q,z,{size:[j,D]}],to=()=>[P,F,O],ta=()=>["","none","full",h,j,D],tl=()=>["",w,F,O],th=()=>["solid","dashed","dotted","double"],tc=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],td=()=>[w,P,U,V],tu=()=>["","none",m,j,D],tp=()=>["none",w,j,D],tf=()=>["none",w,j,D],tm=()=>[w,j,D],tg=()=>[x,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[_],breakpoint:[_],color:[T],container:[_],"drop-shadow":[_],ease:["in","out","in-out"],font:[A],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[_],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[_],shadow:[_],spacing:["px",w],text:[_],"text-shadow":[_],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",x,D,j,v]}],container:["container"],columns:[{columns:[w,D,j,a]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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"],sr:["sr-only","not-sr-only"],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:C()}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:H()}],"inset-x":[{"inset-x":H()}],"inset-y":[{"inset-y":H()}],start:[{start:H()}],end:[{end:H()}],top:[{top:H()}
vendor: 11,039 bytes, line 1
1],right:[{right:H()}],bottom:[{bottom:H()}],left:[{left:H()}],visibility:["visible","invisible","collapse"],z:[{z:[k,"auto",j,D]}],basis:[{basis:[x,"full","auto",a,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[w,x,"auto","initial","none",D]}],grow:[{grow:["",w,j,D]}],shrink:[{shrink:["",w,j,D]}],order:[{order:[k,"first","last","none",j,D]}],"grid-cols":[{"grid-cols":Y()}],"col-start-end":[{col:X()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":Y()}],"row-start-end":[{row:X()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Q()}],"auto-rows":[{"auto-rows":Q()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:tt()}],mx:[{mx:tt()}],my:[{my:tt()}],ms:[{ms:tt()}],me:[{me:tt()}],mt:[{mt:tt()}],mr:[{mr:tt()}],mb:[{mb:tt()}],ml:[{ml:tt()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[a,"screen",...te()]}],"min-w":[{"min-w":[a,"screen","none",...te()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...te()]}],h:[{h:["screen","lh",...te()]}],"min-h":[{"min-h":["screen","lh","none",...te()]}],"max-h":[{"max-h":["screen","lh",...te()]}],"font-size":[{text:["base",i,F,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,j,R]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",P,D]}],"font-family":[{font:[B,D,e]}],"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-fractions"],tracking:[{tracking:[n,j,D]}],"line-clamp":[{"line-clamp":[w,"none",j,R]}],leading:[{leading:[r,...N()]}],"list-image":[{"list-image":["none",j,D]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",j,D]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ti()}],"text-color":[{text:ti()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...th(),"wavy"]}],"text-decoration-thickness":[{decoration:[w,"from-font","auto",j,O]}],"text-decoration-color":[{decoration:ti()}],"underline-offset":[{"underline-offset":[w,"auto",j,D]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",j,D]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",j,D]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ts()}],"bg-repeat":[{bg:tn()}],"bg-size":[{bg:tr()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},k,j,D],radial:["",j,D],conic:[k,j,D]},G,I]}],"bg-color":[{bg:ti()}],"gradient-from-pos":[{from:to()}],"gradient-via-pos":[{via:to()}],"gradient-to-pos":[{to:to()}],"gradient-from":[{from:ti()}],"gradient-via":[{via:ti()}],"gradient-to":[{to:ti()}],rounded:[{rounded:ta()}],"rounded-s":[{"rounded-s":ta()}],"rounded-e":[{"rounded-e":ta()}],"rounded-t":[{"rounded-t":ta()}],"rounded-r":[{"rounded-r":ta()}],"rounded-b":[{"rounded-b":ta()}],"rounded-l":[{"rounded-l":ta()}],"rounded-ss":[{"rounded-ss":ta()}],"rounded-se":[{"rounded-se":ta()}],"rounded-ee":[{"rounded-ee":ta()}],"rounded-es":[{"rounded-es":ta()}],"rounded-tl":[{"rounded-tl":ta()}],"rounded-tr":[{"rounded-tr":ta()}],"rounded-br":[{"rounded-br":ta()}],"rounded-bl":[{"rounded-bl":ta()}],"border-w":[{border:tl()}],"border-w-x":[{"border-x":tl()}],"border-w-y":[{"border-y":tl()}],"border-w-s":[{"border-s":tl()}],"border-w-e":[{"border-e":tl()}],"border-w-t":[{"border-t":tl()}],"border-w-r":[{"border-r":tl()}],"border-w-b":[{"border-b":tl()}],"border-w-l":[{"border-l":tl()}],"divide-x":[{"divide-x":tl()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tl()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...th(),"hidden","none"]}],"divide-style":[{divide:[...th(),"hidden","none"]}],"border-color":[{border:ti()}],"border-color-x":[{"border-x":ti()}],"border-color-y":[{"border-y":ti()}],"border-color-s":[{"border-s":ti()}],"border-color-e":[{"border-e":ti()}],"border-color-t":[{"border-t":ti()}],"border-color-r":[{"border-r":ti()}],"border-color-b":[{"border-b":ti()}],"border-color-l":[{"border-l":ti()}],"divide-color":[{divide:ti()}],"outline-style":[{outline:[...th(),"none","hidden"]}],"outline-offset":[{"outline-offset":[w,j,D]}],"outline-w":[{outline:["",w,F,O]}],"outline-color":[{outline:ti()}],shadow:[{shadow:["","none",c,W,L]}],"shadow-color":[{shadow:ti()}],"inset-shadow":[{"inset-shadow":["none",u,W,L]}],"inset-shadow-color":[{"inset-shadow":ti()}],"ring-w":[{ring:tl()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ti()}],"ring-offset-w":[{"ring-offset":[w,O]}],"ring-offset-color":[{"ring-offset":ti()}],"inset-ring-w":[{"inset-ring":tl()}],"inset-ring-color":[{"inset-ring":ti()}],"text-shadow":[{"text-shadow":["none",p,W,L]}],"text-shadow-color":[{"text-shadow":ti()}],opacity:[{opacity:[w,j,D]}],"mix-blend":[{"mix-blend":[...tc(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tc()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[w]}],"mask-image-linear-from-pos":[{"mask-linear-from":td()}],"mask-image-linear-to-pos":[{"mask-linear-to":td()}],"mask-image-linear-from-color":[{"mask-linear-from":ti()}],"mask-image-linear-to-color":[{"mask-linear-to":ti()}],"mask-image-t-from-pos":[{"mask-t-from":td()}],"mask-image-t-to-pos":[{"mask-t-to":td()}],"mask-image-t-from-color":[{"mask-t-from":ti()}],"mask-image-t-to-color":[{"mask-t-to":ti()}],"mask-image-r-from-pos":[{"mask-r-from":td()}],"mask-image-r-to-pos":[{"mask-r-to":td()}],"mask-image-r-from-color":[{"mask-r-from":ti()}],"mask-image-r-to-color":[{"mask-r-to":ti()}],"mask-image-b-from-pos":[{"mask-b-from":td()}],"mask-image-b-to-pos":[{"mask-b-to":td()}],"mask-image-b-from-color":[{"mask-b-from":ti()}],"mask-image-b-to-color":[{"mask-b-to":ti()}],"mask-image-l-from-pos":[{"mask-l-from":td()}],"mask-image-l-to-pos":[{"mask-l-to":td()}],"mask-image-l-from-color":[{"mask-l-from":ti()}],"mask-image-l-to-color":[{"mask-l-to":ti()}],"mask-image-x-from-pos":[{"mask-x-from":td()}],"mask-image-x-to-pos":[{"mask-x-to":td()}],"mask-image-x-from-color":[{"mask-x-from":ti()}],"mask-image-x-to-color":[{"mask-x-to":ti()}],"mask-image-y-from-pos":[{"mask-y-from":td()}],"mask-image-y-to-pos":[{"mask-y-to":td()}],"mask-image-y-from-color":[{"mask-y-from":ti()}],"mask-image-y-to-color":[{"mask-y-to":ti()}],"mask-image-radial":[{"mask-radial":[j,D]}],"mask-image-radial-from-pos":[{"mask-radial-from":td()}],"mask-image-radial-to-pos":[{"mask-radial-to":td()}],"mask-image-radial-from-color":[{"mask-radial-from":ti()}],"mask-image-radial-to-color":[{"mask-radial-to":ti()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":S()}],"mask-image-conic-pos":[{"mask-conic":[w]}],"mask-image-conic-from-pos":[{"mask-conic-from":td()}],"mask-image-conic-to-pos":[{"mask-conic-to":td()}],"mask-image-conic-from-color":[{"mask-conic-from":ti()}],"mask-image-conic-to-color":[{"mask-conic-to":ti()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ts()}],"mask-repeat":[{mask:tn()}],"mask-size":[{mask:tr()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",j,D]}],filter:[{filter:["","none",j,D]}],blur:[{blur:tu()}],brightness:[{brightness:[w,j,D]}],contrast:[{contrast:[w,j,D]}],"drop-shadow":[{"drop-shadow":["","none",f,W,L]}],"drop-shadow-color":[{"drop-shadow":ti()}],grayscale:[{grayscale:["",w,j,D]}],"hue-rotate":[{"hue-rotate":[w,j,D]}],invert:[{invert:["",w,j,D]}],saturate:[{saturate:[w,j,D]}],sepia:[{sepia:["",w,j,D]}],"backdrop-filter":[{"backdrop-filter":["","none",j,D]}],"backdrop-blur":[{"backdrop-blur":tu()}],"backdrop-brightness":[{"backdrop-brightness":[w,j,D]}],"backdrop-contrast":[{"backdrop-contrast":[w,j,D]}],"backdrop-grayscale":[{"backdrop-grayscale":["",w,j,D]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w,j,D]}],"backdrop-invert":[{"backdrop-invert":["",w,j,D]}],"backdrop-opacity":[{"backdrop-opacity":[w,j,D]}],"backdrop-saturate":[{"backdrop-saturate":[w,j,D]}],"backdrop-sepia":[{"backdrop-sepia":["",w,j,D]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",j,D]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[w,"initial",j,D]}],ease:[{ease:["linear","initial",y,j,D]}],delay:[{delay:[w,j,D]}],animate:[{animate:["none",b,j,D]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,j,D]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:tp()}],"rotate-x":[{"rotate-x":tp()}],"rotate-y":[{"rotate-y":tp()}],"rotate-z":[{"rotate-z":tp()}],scale:[{scale:tf()}],"scale-x":[{"scale-x":tf()}],"scale-y":[{"scale-y":tf()}],"scale-z":[{"scale-z":tf()}
1],"scale-3d":["scale-3d"],skew:[{skew:tm()}],"skew-x":[{"skew-x":tm()}],"skew-y":[{"skew-y":tm()}],transform:[{transform:[j,D,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tg()}],"translate-x":[{"translate-x":tg()}],"translate-y":[{"translate-y":tg()}],"translate-z":[{"translate-z":tg()}],"translate-none":["translate-none"],accent:[{accent:ti()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ti()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",j,D]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"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",j,D]}],fill:[{fill:["none",...ti()]}],"stroke-w":[{stroke:[w,F,O,R]}],stroke:[{stroke:["none",...ti()]}],"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-x","border-w-y","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-x","border-color-y","border-color-s","border-color-e","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},40024:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(86467).A)("outline","arrow-right","ArrowRight",[["path",{d:"M5 12l14 0",key:"svg-0"}],["path",{d:"M13 18l6 -6",key:"svg-1"}],["path",{d:"M13 6l6 6",key:"svg-2"}]])},41834:(t,e,i)=>{i.d(e,{D:()=>o});var s=i(4272),n=i(72171);let r={...i(72403).W,color:s.y,backgroundColor:s.y,outlineColor:s.y,fill:s.y,stroke:s.y,borderColor:s.y,borderTopColor:s.y,borderRightColor:s.y,borderBottomColor:s.y,borderLeftColor:s.y,filter:n.p,WebkitFilter:n.p},o=t=>r[t]},42198:(t,e,i)=>{i.d(e,{K:()=>s});function s(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);let n=i?.[t]??s.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}},43128:(t,e,i)=>{i.d(e,{W:()=>s});function s(t){return"function"==typeof t&&"applyToOptions"in t}},44947:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(86467).A)("filled","stack-filled","StackFilled",[["path",{d:"M20.894 13.553a1 1 0 0 1 -.447 1.341l-8 4a1 1 0 0 1 -.894 0l-8 -4a1 1 0 0 1 .894 -1.788l7.553 3.774l7.554 -3.775a1 1 0 0 1 1.341 .447m-8.887 -8.552q .056 0 .111 .007l.111 .02l.086 .024l.012 .006l.012 .002l.029 .014l.05 .019l.016 .009l.012 .005l8 4a1 1 0 0 1 0 1.788l-8 4a1 1 0 0 1 -.894 0l-8 -4a1 1 0 0 1 0 -1.788l8 -4l.011 -.005l.018 -.01l.078 -.032l.011 -.002l.013 -.006l.086 -.024l.11 -.02l.056 -.005z",key:"svg-0"}]])},45818:(t,e,i)=>{i.d(e,{q:()=>s});let s=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s}}
1,46896:(t,e,i)=>{i.d(e,{s:()=>c});var s=i(82885),n=i(97494),r=i(54542),o=i(18802),a=i(78660);function l(t,e){[...e].reverse().forEach(i=>{let s=t.getVariant(i);s&&(0,o.U)(t,s),t.variantChildren&&t.variantChildren.forEach(t=>{l(t,e)})})}function h(){let t=!1,e=new Set,i={subscribe:t=>(e.add(t),()=>void e.delete(t)),start(i,s){(0,r.V)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let n=[];return e.forEach(t=>{n.push((0,a._)(t,i,{transitionOverride:s}))}),Promise.all(n)},set:i=>((0,r.V)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>{var e,s;e=t,Array.isArray(s=i)?l(e,s):"string"==typeof s?l(e,[s]):(0,o.U)(e,s)})),stop(){e.forEach(t=>{t.values.forEach(t=>t.stop())})},mount:()=>(t=!0,()=>{t=!1,i.stop()})};return i}let c=function(){let t=(0,s.M)(h);return(0,n.E)(t.mount,[]),t}},46926:(t,e,i)=>{i.d(e,{P:()=>n});var s=i(31788);function n(t){return t.props[s.n]}},47215:(t,e,i)=>{i.d(e,{X:()=>n,f:()=>s});let s=t=>1e3*t,n=t=>t/1e3},47277:(t,e,i)=>{i.d(e,{J:()=>o});var s=i(60010),n=i(72171),r=i(41834);function o(t,e){let i=(0,r.D)(t);return i!==n.p&&(i=s.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},47705:(t,e,i)=>{i.d(e,{K:()=>s});let s=(t,e,i=10)=>{let s="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)s+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`}},51508:(t,e,i)=>{i.d(e,{Q:()=>s});let s=(0,i(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},52458:(t,e,i)=>{i.d(e,{Y:()=>s,t:()=>n});let s=2e4;function n(t){let e=0,i=t.next(e);for(;!i.done&&e<s;)e+=50,i=t.next(e);return e>=s?1/0:e}},52596:(t,e,i)=>{i.d(e,{$:()=>s});function s(){for(var t,e,i=0,s="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,s,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(i=0;i<r;i++)e[i]&&(s=t(e[i]))&&(n&&(n+=" "),n+=s)}else for(s in e)e[s]&&(n&&(n+=" "),n+=s);return n}(t))&&(s&&(s+=" "),s+=e);return s}},53191:(t,e,i)=>{i.d(e,{F:()=>n});let s=(t,e)=>i=>e(t(i)),n=(...t)=>t.reduce(s)},53678:(t,e,i)=>{i.d(e,{q:()=>s});let s=(t,e,i)=>i>e?e:i<t?t:i},54180:(t,e,i)=>{i.d(e,{G:()=>s});let s=t=>e=>1-t(1-e)},54542:(t,e,i)=>{i.d(e,{$:()=>s,V:()=>n});let s=()=>{},n=()=>{}},55563:(t,e,i)=>{i.d(e,{E:()=>a});var s=i(64803),n=i(69515),r=i(97494),o=i(8619);function a(t,...e){let i=t.length;return function(t,e){let i=(0,o.d)(e()),s=()=>i.set(e());return s(),(0,r.E)(()=>{let e=()=>n.Gt.preRender(s,!1,!0),i=t.map(t=>t.on("change",e));return()=>{i.forEach(t=>t()),(0,n.WG)(s)}}),i}(e.filter(s.S),function(){let n="";for(let r=0;r<i;r++){n+=t[r];let i=e[r];i&&(n+=(0,s.S)(i)?i.get():i)}return n})}},55920:(t,e,i)=>{i.d(e,{$:()=>r,q:()=>o});var s=i(30614);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,r=(t,e)=>i=>!!("string"==typeof i&&n.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,o,a,l]=n.match(s.S);return{[t]:parseFloat(r),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},56622:(t,e,i)=>{i.d(e,{L:()=>s});function s(t,e,i,n=0,r=1){let o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,l=(a-1)*n;return"function"==typeof i?i(o,a):1===r?o*n:l-o*n}},56668:(t,e,i)=>{function s(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>n,Kq:()=>s})},57887:(t,e,i)=>{i.d(e,{X4:()=>r,ai:()=>n,hs:()=>o});var s=i(53678);let n={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},r={...n,transform:t=>(0,s.q)(0,1,t)},o={...n,default:1}},58109:(t,e,i)=>{i.d(e,{$:()=>s});let s=new Set(["width","height","top","left","right","bottom",...i(60018).U])},58437:(t,e,i)=>{i.d(e,{I:()=>o});var s=i(23387);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var r=i(24744);function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,h=n.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=new Set,n=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},h=0;function c(e){a.has(e)&&(d.schedule(e),t()),h++,e(l)}let d={schedule:(t,e=!1,r=!1)=>{let o=r&&n?i:s;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{s.delete(t),a.delete(t)},process:t=>{if(l=t,n){o=!0;return}
1n=!0,[i,s]=[s,i],i.forEach(c),e&&r.Q.value&&r.Q.value.frameloop[e].push(h),h=0,i.clear(),n=!1,o&&(o=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:c,read:d,resolveKeyframes:u,preUpdate:p,update:f,preRender:m,render:g,postRender:v}=h,y=()=>{let n=s.W.useManualTiming?a.timestamp:performance.now();i=!1,s.W.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(n-a.timestamp,40),1)),a.timestamp=n,a.isProcessing=!0,c.process(a),d.process(a),u.process(a),p.process(a),f.process(a),m.process(a),g.process(a),v.process(a),a.isProcessing=!1,i&&e&&(o=!1,t(y))};return{schedule:n.reduce((e,s)=>{let n=h[s];return e[s]=(e,s=!1,r=!1)=>(!i&&(i=!0,o=!0,a.isProcessing||t(y)),n.schedule(e,s,r)),e},{}),cancel:t=>{for(let e=0;e<n.length;e++)h[n[e]].cancel(t)},state:a,steps:h}}},60010:(t,e,i)=>{i.d(e,{V:()=>c,f:()=>f});var s=i(4272);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var r=i(30614),o=i(11557);let a="number",l="color",h=/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 c(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],o=0,c=e.replace(h,t=>(s.y.test(t)?(n.color.push(o),r.push(l),i.push(s.y.parse(t))):t.startsWith("var(")?(n.var.push(o),r.push("var"),i.push(t)):(n.number.push(o),r.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:c,indexes:n,types:r}}function d(t){return c(t).values}function u(t){let{split:e,types:i}=c(t),n=e.length;return t=>{let r="";for(let h=0;h<n;h++)if(r+=e[h],void 0!==t[h]){let e=i[h];e===a?r+=(0,o.a)(t[h]):e===l?r+=s.y.transform(t[h]):r+=t[h]}return r}}let p=t=>"number"==typeof t?0:s.y.test(t)?s.y.getAnimatableNone(t):t,f={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(r.S)?.length||0)+(t.match(n)?.length||0)>0},parse:d,createTransformer:u,getAnimatableNone:function(t){let e=d(t);return u(t)(e.map(p))}}},60018:(t,e,i)=>{i.d(e,{U:()=>s,f:()=>n});let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(s)},60098:(t,e,i)=>{i.d(e,{OQ:()=>h});var s=i(75626),n=i(62923),r=i(74261),o=i(69515);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=r.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=r.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new s.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=r.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new l(t,e)}}
1,60280:(t,e,i)=>{i.d(e,{E4:()=>a,Hr:()=>d,W9:()=>c});var s=i(84160),n=i(60018),r=i(57887),o=i(34158);let a=t=>t===r.ai||t===o.px,l=new Set(["x","y","z"]),h=n.U.filter(t=>!l.has(t));function c(t){let e=[];return h.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,s.ry)(e,"x"),y:(t,{transform:e})=>(0,s.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},60728:(t,e,i)=>{i.d(e,{l:()=>p});var s=i(60018),n=i(41834),r=i(81786),o=i(25193),a=i(78450),l=i(82076);let h=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"]);var c=i(93095),d=i(20600),u=i(34527);class p extends o.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.f.has(e)){let t=(0,n.D)(e);return t&&t.default||0}return e=h.has(e)?e:(0,a.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,u.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in(0,d.e)(t,e,void 0,s),e.attrs)t.setAttribute(h.has(i)?i:(0,a.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,c.n)(t.tagName),super.mount(t)}}},60760:(t,e,i)=>{i.d(e,{N:()=>y});var s=i(95155),n=i(12115),r=i(90869),o=i(82885),a=i(97494),l=i(80845),h=i(27351),c=i(51508);class d extends n.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=(0,h.s)(t)&&t.offsetWidth||0,s=this.props.sizeRef.current;s.height=e.offsetHeight||0,s.width=e.offsetWidth||0,s.top=e.offsetTop,s.left=e.offsetLeft,s.right=i-s.width-s.left}return null}componentDidUpdate(){}render(){return this.props.children}}function u(t){let{children:e,isPresent:i,anchorX:r,root:o}=t,a=(0,n.useId)(),l=(0,n.useRef)(null),h=(0,n.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=(0,n.useContext)(c.Q);return(0,n.useInsertionEffect)(()=>{let{width:t,height:e,top:s,left:n,right:c}=h.current;if(i||!l.current||!t||!e)return;l.current.dataset.motionPopId=a;let d=document.createElement("style");u&&(d.nonce=u);let p=null!=o?o:document.head;return p.appendChild(d),d.sheet&&d.sheet.insertRule('\n [data-motion-pop-id="'.concat(a,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n ").concat("left"===r?"left: ".concat(n):"right: ".concat(c),"px !important;\n top: ").concat(s,"px !important;\n }\n ")),()=>{p.contains(d)&&p.removeChild(d)}},[i]),(0,s.jsx)(d,{isPresent:i,childRef:l,sizeRef:h,children:n.cloneElement(e,{ref:l})})}let p=t=>{let{children:e,initial:i,isPresent:r,onExitComplete:a,custom:h,presenceAffectsLayout:c,mode:d,anchorX:p,root:m}=t,g=(0,o.M)(f),v=(0,n.useId)(),y=!0,b=(0,n.useMemo)(()=>(y=!1,{id:v,initial:i,isPresent:r,custom:h,onExitComplete:t=>{for(let e of(g.set(t,!0),g.values()))if(!e)return;a&&a()},register:t=>(g.set(t,!1),()=>g.delete(t))}),[r,g,a]);return c&&y&&(b={...b}),(0,n.useMemo)(()=>{g.forEach((t,e)=>g.set(e,!1))},[r]),n.useEffect(()=>{r||g.size||!a||a()},[r]),"popLayout"===d&&(e=(0,s.jsx)(u,{isPresent:r,anchorX:p,root:m,children:e})),(0,s.jsx)(l.t.Provider,{value:b,children:e})};function f(){return new Map}var m=i(32082);let g=t=>t.key||"";function v(t){let e=[];return n.Children.forEach(t,t=>{(0,n.isValidElement)(t)&&e.push(t)}),e}let y=t=>{let{children:e,custom:i,initial:l=!0,onExitComplete:h,presenceAffectsLayout:c=!0,mode:d="sync",propagate:u=!1,anchorX:f="left",root:y}=t,[b,x]=(0,m.xQ)(u),w=(0,n.useMemo)(()=>v(e),[e]),k=u&&!b?[]:w.map(g),P=(0,n.useRef)(!0),_=(0,n.useRef)(w),T=(0,o.M)(()=>
1new Map),[M,S]=(0,n.useState)(w),[C,E]=(0,n.useState)(w);(0,a.E)(()=>{P.current=!1,_.current=w;for(let t=0;t<C.length;t++){let e=g(C[t]);k.includes(e)?T.delete(e):!0!==T.get(e)&&T.set(e,!1)}},[C,k.length,k.join("-")]);let A=[];if(w!==M){let t=[...w];for(let e=0;e<C.length;e++){let i=C[e],s=g(i);k.includes(s)||(t.splice(e,0,i),A.push(i))}return"wait"===d&&A.length&&(t=A),E(v(t)),S(w),null}let{forceRender:z}=(0,n.useContext)(r.L);return(0,s.jsx)(s.Fragment,{children:C.map(t=>{let e=g(t),n=(!u||!!b)&&(w===C||k.includes(e));return(0,s.jsx)(p,{isPresent:n,initial:(!P.current||!!l)&&void 0,custom:i,presenceAffectsLayout:c,mode:d,root:y,onExitComplete:n?void 0:()=>{if(!T.has(e))return;T.set(e,!0);let t=!0;T.forEach(e=>{e||(t=!1)}),t&&(null==z||z(),E(_.current),u&&(null==x||x()),h&&h())},anchorX:f,children:t},e)})})}},60990:(t,e,i)=>{i.d(e,{x:()=>r});var s=i(64803),n=i(33055);function r(t,e,i){let{style:r}=t,o={};for(let a in r)((0,s.S)(r[a])||e.style&&(0,s.S)(e.style[a])||(0,n.z)(a,t)||i?.getValue(a)?.liveStyle!==void 0)&&(o[a]=r[a]);return o}},61081:(t,e,i)=>{i.d(e,{h:()=>s});let s=t=>Array.isArray(t)&&"number"!=typeof t[0]},62662:(t,e,i)=>{function s(t){return void 0===t||1===t}function n({scale:t,scaleX:e,scaleY:i}){return!s(t)||!s(e)||!s(i)}function r(t){return n(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>r,vF:()=>o,vk:()=>n})},62923:(t,e,i)=>{i.d(e,{f:()=>s});function s(t,e){return e?1e3/e*t:0}},63562:(t,e,i)=>{i.d(e,{B:()=>C});var s=i(7322),n=i(74261),r=i(69515),o=i(64803),a=i(60018),l=i(60098),h=i(4272),c=i(60010),d=i(64050),u=i(73522);let p=[...d.T,h.y,c.f];var f=i(47277),m=i(87123),g=i(83014),v=i(7312),y=i(75626),b=i(6642),x=i(81786),w=i(68972);let k={current:null},P={current:!1};var _=i(65511),T=i(19253),M=i(2735);let S=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class C{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:a,blockInitialAnimation:l,visualState:h},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=s.h,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.renderScheduledAt=0,this.scheduleRender=()=>{let t=n.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,r.Gt.render(this.render,!1,!0))};let{latestValues:d,renderState:u}=h;this.latestValues=d,this.baseTarget={...d},this.initialValues=e.initial?{...d}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=c,this.blockInitialAnimation=!!l,this.isControllingVariants=(0,T.e)(e),this.isVariantNode=(0,T.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...f}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in f){let e=f[t];void 0!==d[t]&&(0,o.S)(e)&&e.set(d[t])}}mount(t){this.current=t,_.C.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((t,e)=>this.bindToMotionValue(e,t)),P.current||function(){if(P.current=!0,w.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>k.current=t.matches;t.addEventListener("change",e),e()}else k.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||k.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,r.WG)(this.notifyUpdate),(0,r.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let s=a.f.has(t);s&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&r.Gt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in b.B){let e=b.B[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,x.ge)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<S.length;e++){let i=S[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){for(let s in e){let n=e[s],r=i[s];if((0,o.S)(n))t.addValue(s,n);else if((0,o.S)(r))t.addValue(s,(0,l.OQ)(n,{owner:t}));else if(r!==n)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(s);t.addValue(s,(0,l.OQ)(void 0!==e?e:n,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,l.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){if("string"==typeof i&&((0,g.i)(i)||(0,v.$)(i)))i=parseFloat(i);else{let s;s=i,!p.find((0,u.w)(s))&&c.f.test(e)&&(i=(0,f.J)(t,e))}this.setBaseTarget(t,(0,o.S)(i)?i.get():i)}return(0,o.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=(0,M.a)(this.props,i,this.presenceContext?.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,o.S)(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new y.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){m.k.render(this.render)}}},63704:(t,e,i)=>{i.d(e,{q:()=>s});let s={layout:0,mainThread:0,waapi:0}},64050:(t,e,i)=>{i.d(e,{T:()=>o,n:()=>a});var s=i(57887),n=i(34158),r=i(73522);let o=[s.ai,n.px,n.KN,n.uj,n.vw,n.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,r.w)(t))},64803:(t,e,i)=>{i.d(e,{S:()=>s});let s=t=>!!(t&&t.getVelocity)},65305:(t,e,i)=>{i.d(e,{w:()=>s});function s(t){return"string"==typeof t||Array.isArray(t)}},65511:(t,e,i)=>{i.d(e,{C:()=>s});let s=new WeakMap},66474:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(19946).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},68972:(t,e,i)=>{i.d(e,{B:()=>s});let s="undefined"!=typeof window}
1,69515:(t,e,i)=>{i.d(e,{Gt:()=>n,PP:()=>a,WG:()=>r,uv:()=>o});var s=i(19827);let{schedule:n,cancel:r,state:o,steps:a}=(0,i(58437).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:s.l,!0)},69782:(t,e,i)=>{i.d(e,{x:()=>n});var s=i(6983);function n(t){return(0,s.G)(t)&&"ownerSVGElement"in t}},70046:(t,e,i)=>{var s,n,r,o,a,l,h,c,d,u,p,f,m,g,v,y,b,x,w,k,P,_;i.d(e,{H_P:()=>r,jlt:()=>eZ,_or:()=>g,VKE:()=>o,Q5V:()=>p,mgy:()=>_,sJd:()=>ie,Oit:()=>t1,Yzx:()=>v,v5k:()=>a,x_I:()=>x,U4p:()=>ii,M_G:()=>eJ,pTR:()=>k,PVU:()=>em,Miz:()=>H,AEc:()=>ty,pEn:()=>t_,Tgl:()=>tP,qE8:()=>Q,EYT:()=>tU,puj:()=>to,NVT:()=>tk,U6C:()=>tw,V6E:()=>tX,dIx:()=>E,wJ2:()=>tM,YfF:()=>tr,vrU:()=>tn,pzy:()=>t$,_hh:()=>tq,PGG:()=>tG,tZQ:()=>tc,G0i:()=>K,W9e:()=>ti,VGA:()=>tt,LCf:()=>tB,xxz:()=>tF,YLU:()=>tI,ayx:()=>tL,XsS:()=>tE,cyL:()=>W,iKf:()=>tx,hnD:()=>tf,kZJ:()=>$,Gvm:()=>G,Tj8:()=>tv,B90:()=>tu,Vh1:()=>tg,TA3:()=>tS,AlN:()=>tm,XuV:()=>z,Z04:()=>M,RbF:()=>S,M3Y:()=>tl,a56:()=>A,U43:()=>J,R5R:()=>tR,BN0:()=>tO,jon:()=>tT,K6u:()=>tV,DT4:()=>ts,$k3:()=>is,UC0:()=>tz,JvX:()=>tY});let T="generated",M="pointerleave",S="pointermove",C="touchend",E="tsParticles - Error",A=100,z=1e3,D={x:0,y:0,z:0},O={a:1,b:0,c:0,d:1},R="random",V=2*Math.PI,I="true",L="false",j="canvas",F=0;function B(t){return"boolean"==typeof t}function U(t){return"string"==typeof t}function q(t){return"number"==typeof t}function G(t){return"object"==typeof t&&null!==t}function W(t){return Array.isArray(t)}function $(t){return null==t}!function(t){t.bottom="bottom",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.left="left",t.none="none",t.right="right",t.top="top",t.topLeft="top-left",t.topRight="top-right",t.outside="outside",t.inside="inside"}(s||(s={}));class N{constructor(t,e,i){if(this._updateFromAngle=(t,e)=>{this.x=Math.cos(t)*e,this.y=Math.sin(t)*e},!q(t)&&t)this.x=t.x,this.y=t.y,this.z=t.z?t.z:D.z;else if(void 0!==t&&void 0!==e)this.x=t,this.y=e,this.z=i??D.z;else throw Error(`${E} Vector3d not initialized correctly`)}static get origin(){return N.create(D.x,D.y,D.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 N.create(t.x,t.y,t.z)}static create(t,e,i){return new N(t,e,i)}add(t){return N.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 N.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return N.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**2+this.y**2}mult(t){return N.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){let t=this.length;0!=t&&this.multTo(1/t)}rotate(t){return N.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),D.z)}setTo(t){this.x=t.x,this.y=t.y,this.z=t.z?t.z:D.z}sub(t){return N.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 H extends N{constructor(t,e){super(t,e,D.z)}static get origin(){return H.create(D.x,D.y)}static clone(t){return H.create(t.x,t.y)}static create(t,e){return new H(t,e)}}let Y=Math.random,X={nextFrame:t=>requestAnimationFrame(t),cancel:t=>cancelAnimationFrame(t)};function K(){return Q(Y(),0,1-Number.EPSILON)}function Q(t,e,i){return Math.min(Math.max(t,e),i)}function Z(t,e,i,s){return Math.floor((t*i+e*s)/(i+s))}function J(t){let e=ti(t),i=te(t);return e===i&&(i=0),K()*(e-i)+i}function tt(t){return q(t)?t:J(t)}function te(t){return q(t)?t:t.min}function ti(t){return q(t)?t:t.max}function ts(t,e){if(t===e||void 0===e&&q(t))return t;let i=te(t),s=ti(t);return void 0!==e?{min:Math.min(i,e),max:Math.max(s,e)}:ts(i,s)}function tn(t,e){let i=t.x-e.x,s=t.y-e.y;return{dx:i,dy:s,distance:Math.sqrt(i**2+s**2)}}function tr(t,e){return tn(t,e).distance}function to(t){return t*Math.PI/180}function ta(t,e,i,s){return H.create(t.x*(i-s)/(i+s)+2*e.x*s/(i+s),t.y)}function tl(t){return t?t.endsWith("%")?parseFloat(t)/A:parseFloat(t):1}!function(t){t.auto="auto",t.increase="increase",t.decrease="decrease",t.random="random"}(n||(n={})),function(t){t.increasing="increasing",t.decreasing="decreasing"}(r||(r={}
1)),function(t){t.none="none",t.max="max",t.min="min"}(o||(o={})),function(t){t.bottom="bottom",t.left="left",t.right="right",t.top="top"}(a||(a={})),function(t){t.precise="precise",t.percent="percent"}(l||(l={})),function(t){t.max="max",t.min="min",t.random="random"}(h||(h={}));let th={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function tc(){return th}function td(t){let e={bounced:!1},{pSide:i,pOtherSide:s,rectSide:n,rectOtherSide:r,velocity:o,factor:a}=t;return s.min<r.min||s.min>r.max||s.max<r.min||s.max>r.max||(i.max>=n.min&&i.max<=(n.max+n.min)*.5&&o>0||i.min<=n.max&&i.min>(n.max+n.min)*.5&&o<0)&&(e.velocity=-(o*a),e.bounced=!0),e}function tu(){return"undefined"==typeof window||!window||void 0===window.document||!window.document}function tp(t){if(!tu()&&"undefined"!=typeof matchMedia)return matchMedia(t)}function tf(t,e){return t===e||W(e)&&e.indexOf(t)>-1}async function tm(t,e){try{await document.fonts.load(`${e??"400"} 36px '${t??"Verdana"}'`)}catch{}}function tg(t,e,i=!0){return t[void 0!==e&&i?e%t.length:Math.floor(K()*t.length)]}function tv(t,e,i,s,n){var r,o,l,h;let c;return r=ty(t,s??0),o=e,l=i,c=!0,(h=n)&&h!==a.bottom||(c=r.top<o.height+l.x),c&&(!h||h===a.left)&&(c=r.right>l.x),c&&(!h||h===a.right)&&(c=r.left<o.width+l.y),c&&(!h||h===a.top)&&(c=r.bottom>l.y),c}function ty(t,e){return{bottom:t.y+e,left:t.x-e,right:t.x+e,top:t.y-e}}function tb(t,...e){for(let i of e){if(null==i)continue;if(!G(i)){t=i;continue}let e=Array.isArray(i);for(let s in e&&(G(t)||!t||!Array.isArray(t))?t=[]:!e&&(G(t)||!t||Array.isArray(t))&&(t={}),i){if("__proto__"===s)continue;let e=i[s],n=t;n[s]=G(e)&&Array.isArray(e)?e.map(t=>tb(n[s],t)):tb(n[s],e)}}return t}function tx(t,e){return!!tC(e,e=>e.enable&&tf(t,e.mode))}function tw(t,e,i){tM(e,e=>{var s,n;let r=e.mode;e.enable&&tf(t,r)&&(s=e,n=i,tM(s.selectors,t=>{n(t,s)}))})}function tk(t,e){if(e&&t)return tC(t,t=>(function(t,e){let i=tM(e,e=>t.matches(e));return W(i)?i.some(t=>t):i})(e,t.selectors))}function tP(t){return{position:t.getPosition(),radius:t.getRadius(),mass:t.getMass(),velocity:t.velocity,factor:H.create(tt(t.options.bounce.horizontal.value),tt(t.options.bounce.vertical.value))}}function t_(t,e){let{x:i,y:s}=t.velocity.sub(e.velocity),[n,r]=[t.position,e.position],{dx:o,dy:a}=tn(r,n);if(i*o+s*a<0)return;let l=-Math.atan2(a,o),h=t.mass,c=e.mass,d=t.velocity.rotate(l),u=e.velocity.rotate(l),p=ta(d,u,h,c),f=ta(u,d,h,c),m=p.rotate(-l),g=f.rotate(-l);t.velocity.x=m.x*t.factor.x,t.velocity.y=m.y*t.factor.y,e.velocity.x=g.x*e.factor.x,e.velocity.y=g.y*e.factor.y}function tT(t,e){let i=ty(t.getPosition(),t.getRadius()),s=t.options.bounce,n=td({pSide:{min:i.left,max:i.right},pOtherSide:{min:i.top,max:i.bottom},rectSide:{min:e.left,max:e.right},rectOtherSide:{min:e.top,max:e.bottom},velocity:t.velocity.x,factor:tt(s.horizontal.value)});n.bounced&&(void 0!==n.velocity&&(t.velocity.x=n.velocity),void 0!==n.position&&(t.position.x=n.position));let r=td({pSide:{min:i.top,max:i.bottom},pOtherSide:{min:i.left,max:i.right},rectSide:{min:e.top,max:e.bottom},rectOtherSide:{min:e.left,max:e.right},velocity:t.velocity.y,factor:tt(s.vertical.value)});r.bounced&&(void 0!==r.velocity&&(t.velocity.y=r.velocity),void 0!==r.position&&(t.position.y=r.position))}function tM(t,e){return W(t)?t.map((t,i)=>e(t,i)):e(t,0)}function tS(t,e,i){return W(t)?tg(t,e,i):t}function tC(t,e){return W(t)?t.find((t,i)=>e(t,i)):e(t,0)?t:void 0}function tE(t,e){let i=t.value,s=t.animation,o={delayTime:tt(s.delay)*z,enable:s.enable,value:tt(t.value)*e,max:ti(i)*e,min:te(i)*e,loops:0,maxLoops:tt(s.count),time:0};if(s.enable){switch(o.decay=1-tt(s.decay),s.mode){case n.increase:o.status=r.increasing;break;case n.decrease:o.status=r.decreasing;break;case n.random:o.status=K()>=.5?r.increasing:r.decreasing}let t=s.mode===n.auto;switch(s.startValue){case h.min:o.value=o.min,t&&(o.status=r.increasing);break;case h.max:o.value=o.max,t&&(o.status=r.decreasing);break;case h.random:default:o.value=J(o),t&&(o.status=K()>=.5?r.increasing:r.decreasing)}}return o.initialValue=o.value,o}function tA(t,e){if(t.mode!==l.percent){let{mode:e,...i}=t;return i}return"x"in t?{x:t.x/A*e.width,y:t.y/A*e.height}:{width:t.width/A*e.width,height:t.height/A*e.height}}function tz(t,e,i,s,n){if(t.destroyed||!e||!e.enable||(e.maxLoops??0)>0&&(e.loops??0)>(e.maxLoops??0))return;let a=(e.velocity??0)*n.factor,l=e.min,h=e.max,c=e.decay??1;if(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=n.value),!((e.delayTime??0)>
10)||!(e.time<(e.delayTime??0))){switch(e.status){case r.increasing:e.value>=h?(i?e.status=r.decreasing:e.value-=h,e.loops||(e.loops=0),e.loops++):e.value+=a;break;case r.decreasing:e.value<=l?(i?e.status=r.increasing:e.value+=h,e.loops||(e.loops=0),e.loops++):e.value-=a}e.velocity&&1!==c&&(e.velocity*=c);var d=e.value;switch(s){case o.max:d>=h&&t.destroy();break;case o.min:d<=l&&t.destroy()}t.destroyed||(e.value=Q(e.value,l,h))}}let tD=function(t){let e=new Map;return(...i)=>{let s=JSON.stringify(i);if(e.has(s))return e.get(s);let n=t(...i);return e.set(s,n),n}}(function(t){let e=document.createElement("div").style,i={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:t.toString(10),"z-index":t.toString(10),top:"0",left:"0"};for(let t in i){let s=i[t];e.setProperty(t,s)}return e});function tO(t,e,i,s=!0){if(!e)return;let n=U(e)?{value:e}:e;if(U(n.value))return function t(e,i,s,n=!0){if(!i)return;let r=U(i)?{value:i}:i;if(U(r.value))return r.value===R?tj():function(t,e){if(e){for(let i of t.colorManagers.values())if(e.startsWith(i.stringPrefix))return i.parseString(e)}}(e,r.value);if(W(r.value))return t(e,{value:tg(r.value,s,n)});for(let t of e.colorManagers.values()){let e=t.handleColor(r);if(e)return e}}(t,n.value,i,s);if(W(n.value))return tO(t,{value:tg(n.value,i,s)});for(let e of t.colorManagers.values()){let t=e.handleRangeColor(n);if(t)return t}}function tR(t,e,i,s=!0){let n=tO(t,e,i,s);return n?tV(n):void 0}function tV(t){let e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),r=Math.min(e,i,s),o={h:0,l:(n+r)*.5,s:0};return n!==r&&(o.s=o.l<.5?(n-r)/(n+r):(n-r)/(2-n-r),o.h=e===n?(i-s)/(n-r):o.h=i===n?2+(s-e)/(n-r):4+(e-i)/(n-r)),o.l*=100,o.s*=100,o.h*=60,o.h<0&&(o.h+=360),o.h>=360&&(o.h-=360),o}function tI(t){let e=(t.h%360+360)%360,i=Math.max(0,Math.min(100,t.s)),s=Math.max(0,Math.min(100,t.l)),n=e/360,r=i/100,o=s/100;if(0===i){let t=Math.round(255*o);return{r:t,g:t,b:t}}let a=(t,e,i)=>(i<0&&i++,i>1&&i--,6*i<1)?t+(e-t)*6*i:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t,l=o<.5?o*(1+r):o+r-o*r,h=2*o-l,c=Math.min(255,255*a(h,l,n+.3333333333333333));return{r:Math.round(c),g:Math.round(Math.min(255,255*a(h,l,n))),b:Math.round(Math.min(255,255*a(h,l,n-.3333333333333333)))}}function tL(t){let e=tI(t);return{a:t.a,b:e.b,g:e.g,r:e.r}}function tj(t){let e=t??0;return{b:Math.floor(J(ts(e,256))),g:Math.floor(J(ts(e,256))),r:Math.floor(J(ts(e,256)))}}function tF(t,e){return`rgba(${t.r}, ${t.g}, ${t.b}, ${e??1})`}function tB(t,e){return`hsla(${t.h}, ${t.s}%, ${t.l}%, ${e??1})`}function tU(t,e,i,s){let n=t,r=e;return void 0===n.r&&(n=tI(t)),void 0===r.r&&(r=tI(e)),{b:Z(n.b,r.b,i,s),g:Z(n.g,r.g,i,s),r:Z(n.r,r.r,i,s)}}function tq(t,e,i){if(i===R)return tj();if("mid"!==i)return i;{let i=t.getFillColor()??t.getStrokeColor(),s=e?.getFillColor()??e?.getStrokeColor();if(i&&s&&e)return tU(i,s,t.getRadius(),e.getRadius());{let t=i??s;if(t)return tI(t)}}}function tG(t,e,i,s){let n=U(e)?e:e.value;return n===R?s?tO(t,{value:n}):i?R:"mid":"mid"===n?"mid":tO(t,{value:n})}function tW(t){return void 0!==t?{h:t.h.value,s:t.s.value,l:t.l.value}:void 0}function t$(t,e,i){let s={h:{enable:!1,value:t.h},s:{enable:!1,value:t.s},l:{enable:!1,value:t.l}};return e&&(tN(s.h,e.h,i),tN(s.s,e.s,i),tN(s.l,e.l,i)),s}function tN(t,e,i){t.enable=e.enable,t.enable?(t.velocity=tt(e.speed)/A*i,t.decay=1-tt(e.decay),t.status=r.increasing,t.loops=0,t.maxLoops=tt(e.count),t.time=0,t.delayTime=tt(e.delay)*z,e.sync||(t.velocity
1*=K(),t.value*=K()),t.initialValue=t.value,t.offset=ts(e.offset)):t.velocity=0}function tH(t,e,i,s){if(!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0)||(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=s.value),(t.delayTime??0)>0&&t.time<(t.delayTime??0)))return;let n=t.offset?J(t.offset):0,o=(t.velocity??0)*s.factor+3.6*n,a=t.decay??1,l=ti(e),h=te(e);i&&t.status!==r.increasing?(t.value-=o,t.value<0&&(t.loops||(t.loops=0),t.loops++,t.status=r.increasing)):(t.value+=o,t.value>l&&(t.loops||(t.loops=0),t.loops++,i?t.status=r.decreasing:t.value-=l)),t.velocity&&1!==a&&(t.velocity*=a),t.value=Q(t.value,h,l)}function tY(t,e){if(!t)return;let{h:i,s,l:n}=t;i&&tH(i,{min:0,max:360},!1,e),s&&tH(s,{min:0,max:100},!0,e),n&&tH(n,{min:0,max:100},!0,e)}function tX(t,e,i){t.beginPath(),t.moveTo(e.x,e.y),t.lineTo(i.x,i.y),t.closePath()}function tK(t,e){t.clearRect(D.x,D.y,e.width,e.height)}function tQ(t,e,i=!1){if(!e||!t)return;let s=t.style;if(!s)return;let n=new Set;for(let t in s)Object.prototype.hasOwnProperty.call(s,t)&&n.add(s[t]);for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.add(e[t]);for(let t of n){let n=e.getPropertyValue(t);n?s.setProperty(t,n,i?"important":""):s.removeProperty(t)}}!function(t){t.darken="darken",t.enlighten="enlighten"}(c||(c={}));class tZ{constructor(t,e){this.container=t,this._applyPostDrawUpdaters=t=>{for(let e of this._postDrawUpdaters)e.afterDraw?.(t)},this._applyPreDrawUpdaters=(t,e,i,s,n,r)=>{for(let o of this._preDrawUpdaters){if(o.getColorStyles){let{fill:r,stroke:a}=o.getColorStyles(e,t,i,s);r&&(n.fill=r),a&&(n.stroke=a)}if(o.getTransformValues){let t=o.getTransformValues(e);for(let e in t)!function(t,e,i){let s=e[i];void 0!==s&&(t[i]=(t[i]??1)*s)}(r,t,e)}o.beforeDraw?.(e)}},this._applyResizePlugins=()=>{for(let t of this._resizePlugins)t.resize?.()},this._getPluginParticleColors=t=>{let e,i;for(let s of this._colorPlugins)if(!e&&s.particleFillColor&&(e=tR(this._engine,s.particleFillColor(t))),!i&&s.particleStrokeColor&&(i=tR(this._engine,s.particleStrokeColor(t))),e&&i)break;return[e,i]},this._initCover=async()=>{let t=this.container.actualOptions.backgroundMask.cover,e=t.color;if(e){let i=tO(this._engine,e);if(i){let e={...i,a:t.opacity};this._coverColorStyle=tF(e,e.a)}}else await new Promise((e,i)=>{if(!t.image)return;let s=document.createElement("img");s.addEventListener("load",()=>{this._coverImage={image:s,opacity:t.opacity},e()}),s.addEventListener("error",t=>{i(t.error)}),s.src=t.image})},this._initStyle=()=>{let t=this.element,e=this.container.actualOptions;if(t)for(let i in this._fullScreen?this._setFullScreenStyle():this._resetOriginalStyle(),e.style){if(!i||!e.style||!Object.prototype.hasOwnProperty.call(e.style,i))continue;let s=e.style[i];s&&t.style.setProperty(i,s,"important")}},this._initTrail=async()=>{let t=this.container.actualOptions.particles.move.trail,e=t.fill;if(!t.enable)return;let i=1/t.length;if(e.color){let t=tO(this._engine,e.color);if(!t)return;this._trailFill={color:{...t},opacity:i}}else await new Promise((t,s)=>{if(!e.image)return;let n=document.createElement("img");n.addEventListener("load",()=>{this._trailFill={image:n,opacity:i},t()}),n.addEventListener("error",t=>{s(t.error)}),n.src=e.image})},this._paintBase=t=>{this.draw(e=>(function(t,e,i){t.fillStyle=i??"rgba(0,0,0,0)",t.fillRect(D.x,D.y,e.width,e.height)})(e,this.size,t))},this._paintImage=(t,e)=>{this.draw(i=>(function(t,e,i,s){i&&(t.globalAlpha=s,t.drawImage(i,D.x,D.y,e.width,e.height),t.globalAlpha=1)})(i,this.size,t,e))},this._repairStyle=()=>{let t=this.element;t&&(this._safeMutationObserver(t=>
1t.disconnect()),this._initStyle(),this.initBackground(),this._safeMutationObserver(e=>{t&&t instanceof Node&&e.observe(t,{attributes:!0})}))},this._resetOriginalStyle=()=>{let t=this.element,e=this._originalStyle;t&&e&&tQ(t,e,!0)},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{let t=this.element;t&&tQ(t,tD(this.container.actualOptions.fullScreen.zIndex),!0)},this._engine=e,this._standardSize={height:0,width:0};let i=t.retina.pixelRatio,s=this._standardSize;this.size={height:s.height*i,width:s.width*i},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){let t=this.container.actualOptions,e=t.particles.move.trail,i=this._trailFill;t.backgroundMask.enable?this.paint():e.enable&&e.length>0&&i?i.color?this._paintBase(tF(i.color,i.opacity)):i.image&&this._paintImage(i.image,i.opacity):t.clear&&this.draw(t=>{tK(t,this.size)})}destroy(){if(this.stop(),this._generated){let t=this.element;t?.remove(),this.element=void 0}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(t){let e=this._context;if(e)return t(e)}drawAsync(t){let e=this._context;if(e)return t(e)}drawParticle(t,e){if(t.spawning||t.destroyed)return;let i=t.getRadius();if(i<=0)return;let s=t.getFillColor(),n=t.getStrokeColor()??s,[r,o]=this._getPluginParticleColors(t);r||(r=s),o||(o=n),(r||o)&&this.draw(s=>{let n=this.container,a=n.actualOptions,l=t.options.zIndex,h=1-t.zIndexFactor,c=h**l.opacityRate,d=t.bubble.opacity??t.opacity?.value??1,u=t.strokeOpacity??d,p=d*c,f={},m={fill:r?tB(r,p):void 0};m.stroke=o?tB(o,u*c):m.fill,this._applyPreDrawUpdaters(s,t,i,p,m,f),function(t){let{container:e,context:i,particle:s,delta:n,colorStyles:r,backgroundMask:o,composite:a,radius:l,opacity:h,shadow:c,transform:d}=t,u=s.getPosition(),p=s.rotation+(s.pathRotation?s.velocity.angle:0),f={sin:Math.sin(p),cos:Math.cos(p)},m=!!p,g={a:f.cos*(d.a??O.a),b:m?f.sin*(d.b??1):d.b??O.b,c:m?-f.sin*(d.c??1):d.c??O.c,d:f.cos*(d.d??O.d)};i.setTransform(g.a,g.b,g.c,g.d,u.x,u.y),o&&(i.globalCompositeOperation=a);let v=s.shadowColor;c.enable&&v&&(i.shadowBlur=c.blur,i.shadowColor=tF(v),i.shadowOffsetX=c.offset.x,i.shadowOffsetY=c.offset.y),r.fill&&(i.fillStyle=r.fill);let y=s.strokeWidth??0;i.lineWidth=y,r.stroke&&(i.strokeStyle=r.stroke);let b={container:e,context:i,particle:s,radius:l,opacity:h,delta:n,transformData:g,strokeWidth:y};(function(t){let{container:e,context:i,particle:s,radius:n,opacity:r,delta:o,strokeWidth:a,transformData:l}=t;if(!s.shape)return;let h=e.shapeDrawers.get(s.shape);h&&(i.beginPath(),h.draw({context:i,particle:s,radius:n,opacity:r,delta:o,pixelRatio:e.retina.pixelRatio,transformData:{...l}}),s.shapeClose&&i.closePath(),a>0&&i.stroke(),s.shapeFill&&i.fill())})(b),function(t){let{container:e,context:i,particle:s,radius:n,opacity:r,delta:o,transformData:a}=t;if(!s.shape)return;let l=e.shapeDrawers.get(s.shape);l?.afterDraw&&l.afterDraw({context:i,particle:s,radius:n,opacity:r,delta:o,pixelRatio:e.retina.pixelRatio,transformData:{...a}})}(b),function(t){let{container:e,context:i,particle:s,radius:n,opacity:r,delta:o,transformData:a}=t;if(!s.effect)return;let l=e.effectDrawers.get(s.effect);l&&l.draw({context:i,particle:s,radius:n,opacity:r,delta:o,pixelRatio:e.retina.pixelRatio,transformData:{...a}})}(b),i.globalCompositeOperation="source-over",i.resetTransform()}({container:n,context:s,particle:t,delta:e,colorStyles:m,backgroundMask:a.backgroundMask.enable,composite:a.backgroundMask.composite,radius:i*h**l.sizeRate,opacity:p,shadow:t.options.shadow,transform:f}),this._applyPostDrawUpdaters(t)})}drawParticlePlugin(t,e,i){this.draw(s=>{t.drawParticle&&t.drawParticle(s,e,i)})}drawPlugin(t,e){this.draw(i=>{t.draw&&t.draw(i,e)})}
1async init(){this._safeMutationObserver(t=>t.disconnect()),this._mutationObserver=function(t){if(!tu()&&"undefined"!=typeof MutationObserver)return new MutationObserver(t)}(t=>{for(let e of t)"attributes"===e.type&&"style"===e.attributeName&&this._repairStyle()}),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(t){th.error(t)}this.initBackground(),this._safeMutationObserver(t=>{this.element&&this.element instanceof Node&&t.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){let t=this.container.actualOptions.background,e=this.element;if(!e)return;let i=e.style;if(i){if(t.color){let e=tO(this._engine,t.color);i.backgroundColor=e?tF(e,t.opacity):""}else i.backgroundColor="";i.backgroundImage=t.image||"",i.backgroundPosition=t.position||"",i.backgroundRepeat=t.repeat||"",i.backgroundSize=t.size||""}}initPlugins(){for(let t of(this._resizePlugins=[],this.container.plugins.values()))t.resize&&this._resizePlugins.push(t),(t.particleFillColor??t.particleStrokeColor)&&this._colorPlugins.push(t)}initUpdaters(){for(let t of(this._preDrawUpdaters=[],this._postDrawUpdaters=[],this.container.particles.updaters))t.afterDraw&&this._postDrawUpdaters.push(t),(t.getColorStyles??t.getTransformValues??t.beforeDraw)&&this._preDrawUpdaters.push(t)}loadCanvas(t){this._generated&&this.element&&this.element.remove(),this._generated=t.dataset&&T in t.dataset?"true"===t.dataset[T]:this._generated,this.element=t,this.element.ariaHidden="true",this._originalStyle=function(t){let e=document.createElement("div").style;if(!t)return e;for(let i in t){let s=t[i];if(!Object.prototype.hasOwnProperty.call(t,i)||$(s))continue;let n=t.getPropertyValue?.(s);if(!n)continue;let r=t.getPropertyPriority?.(s);r?e.setProperty?.(s,n,r):e.setProperty?.(s,n)}return e}(this.element.style);let e=this._standardSize;e.height=t.offsetHeight,e.width=t.offsetWidth;let i=this.container.retina.pixelRatio,s=this.size;t.height=s.height=e.height*i,t.width=s.width=e.width*i,this._context=this.element.getContext("2d"),this._safeMutationObserver(t=>
1t.disconnect()),this.container.retina.init(),this.initBackground(),this._safeMutationObserver(t=>{this.element&&this.element instanceof Node&&t.observe(this.element,{attributes:!0})})}paint(){let t=this.container.actualOptions;this.draw(e=>{t.backgroundMask.enable&&t.backgroundMask.cover?(tK(e,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;let t=this.container,e=t.canvas._standardSize,i={width:this.element.offsetWidth,height:this.element.offsetHeight},s=t.retina.pixelRatio,n={width:i.width*s,height:i.height*s};if(i.height===e.height&&i.width===e.width&&n.height===this.element.height&&n.width===this.element.width)return!1;let r={...e};e.height=i.height,e.width=i.width;let o=this.size;return this.element.width=o.width=n.width,this.element.height=o.height=n.height,this.container.started&&t.particles.setResizeFactor({width:e.width/r.width,height:e.height/r.height}),!0}stop(){this._safeMutationObserver(t=>t.disconnect()),this._mutationObserver=void 0,this.draw(t=>tK(t,this.size))}async windowResize(){if(!this.element||!this.resize())return;let t=this.container,e=t.updateActualOptions();t.particles.setDensity(),this._applyResizePlugins(),e&&await t.refresh()}}function tJ(t,e,i,s,n){if(s){let s={passive:!0};B(n)?s.capture=n:void 0!==n&&(s=n),t.addEventListener(e,i,s)}else t.removeEventListener(e,i,n)}!function(t){t.canvas="canvas",t.parent="parent",t.window="window"}(d||(d={}));class t0{constructor(t){this.container=t,this._doMouseTouchClick=t=>{let e=this.container,i=e.actualOptions;if(this._canPush){let t=e.interactivity.mouse,s=t.position;if(!s)return;t.clickPosition={...s},t.clickTime=new Date().getTime(),tM(i.interactivity.events.onClick.mode,t=>this.container.handleClickMode(t))}"touchend"===t.type&&setTimeout(()=>this._mouseTouchFinish(),500)},this._handleThemeChange=t=>{let e=this.container,i=e.options,s=i.defaultThemes,n=t.matches?s.dark:s.light,r=i.themes.find(t=>t.name===n);r?.default.auto&&e.loadTheme(n)},this._handleVisibilityChange=()=>{let t=this.container,e=t.actualOptions;this._mouseTouchFinish(),e.pauseOnBlur&&(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);let t=async()=>{let t=this.container.canvas;await t?.windowResize()};this._resizeTimeout=setTimeout(()=>void t(),this.container.actualOptions.interactivity.events.resize.delay*z)},this._manageInteractivityListeners=(t,e)=>{let i=this._handlers,s=this.container,n=s.actualOptions,r=s.interactivity.element;if(!r)return;let o=s.canvas.element;o&&(o.style.pointerEvents=r===o?"initial":"none"),(n.interactivity.events.onHover.enable||n.interactivity.events.onClick.enable)&&(tJ(r,S,i.mouseMove,e),tJ(r,"touchstart",i.touchStart,e),tJ(r,"touchmove",i.touchMove,e),n.interactivity.events.onClick.enable?(tJ(r,C,i.touchEndClick,e),tJ(r,"pointerup",i.mouseUp,e),tJ(r,"pointerdown",i.mouseDown,e)):tJ(r,C,i.touchEnd,e),tJ(r,t,i.mouseLeave,e),tJ(r,"touchcancel",i.touchCancel,e))},this._manageListeners=t=>{let e=this._handlers,i=this.container,s=i.actualOptions.interactivity.detectsOn,n=i.canvas.element,r=M;s===d.window?(i.interactivity.element=window,r="pointerout"):s===d.parent&&n?i.interactivity.element=n.parentElement??n.parentNode:i.interactivity.element=n,this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(r,t),document&&tJ(document,"visibilitychange",e.visibilityChange,t,!1)},this._manageMediaMatch=t=>{let e=this._handlers,i=tp("(prefers-color-scheme: dark)");if(i){if(void 0!==i.addEventListener)return void tJ(i,"change",e.themeChange,t);void 0!==i.addListener&&(t?i.addListener(e.oldThemeChange):i.removeListener(e.oldThemeChange))}},this._manageResize=t=>{let e=this._handlers,i=this.container;if(!i.actualOptions.interactivity.events.resize)return;if("undefined"==typeof ResizeObserver)return void tJ(window,"resize",e.resize,t);let s=i.canvas.element;this._resizeObserver&&!t?(s&&this._resizeObserver.unobserve(s),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&s&&(this._resizeObserver=new ResizeObserver(t=>{t.find(t=>t.target===s)&&this._handleWindowResize()}),this._resizeObserver.observe(s))},this._mouseDown=()=>{let{interactivity:t}=this.container;if(!t)return;let{mouse:e}=t;e.clicking=!0,e.downPosition=e.position},this._mouseTouchClick=t=>{let e=this.container,i=e.actualOptions,{mouse:s}=e.interactivity;s.inside=!0;let n=!1,r=s.position;if(r&&i.interactivity.events.onClick.enable){for(let t of e.plugins.values())if(t.clickPositionValid&&
1(n=t.clickPositionValid(r)))break;n||this._doMouseTouchClick(t),s.clicking=!1}},this._mouseTouchFinish=()=>{let t=this.container.interactivity;if(!t)return;let e=t.mouse;delete e.position,delete e.clickPosition,delete e.downPosition,t.status=M,e.inside=!1,e.clicking=!1},this._mouseTouchMove=t=>{let e,i=this.container,s=i.actualOptions,n=i.interactivity,r=i.canvas.element;if(!n?.element)return;if(n.mouse.inside=!0,t.type.startsWith("pointer"))if(this._canPush=!0,n.element===window){if(r){let i=r.getBoundingClientRect();e={x:t.clientX-i.left,y:t.clientY-i.top}}}else if(s.interactivity.detectsOn===d.parent){let i=t.target,s=t.currentTarget;if(i&&s&&r){let n=i.getBoundingClientRect(),o=s.getBoundingClientRect(),a=r.getBoundingClientRect();e={x:t.offsetX+2*n.left-(o.left+a.left),y:t.offsetY+2*n.top-(o.top+a.top)}}else e={x:t.offsetX??t.clientX,y:t.offsetY??t.clientY}}else t.target===r&&(e={x:t.offsetX??t.clientX,y:t.offsetY??t.clientY});else if(this._canPush="touchmove"!==t.type,r){let i=t.touches[t.touches.length-1],s=r.getBoundingClientRect();e={x:i.clientX-(s.left??0),y:i.clientY-(s.top??0)}}let o=i.retina.pixelRatio;e&&(e.x*=o,e.y*=o),n.mouse.position=e,n.status=S},this._touchEnd=t=>{for(let e of Array.from(t.changedTouches))this._touches.delete(e.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{for(let e of Array.from(t.changedTouches))this._touches.delete(e.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{for(let e of Array.from(t.changedTouches))this._touches.set(e.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)}}!function(t){t.configAdded="configAdded",t.containerInit="containerInit",t.particlesSetup="particlesSetup",t.containerStarted="containerStarted",t.containerStopped="containerStopped",t.containerDestroyed="containerDestroyed",t.containerPaused="containerPaused",t.containerPlay="containerPlay",t.containerBuilt="containerBuilt",t.particleAdded="particleAdded",t.particleDestroyed="particleDestroyed",t.particleRemoved="particleRemoved"}(u||(u={}));class t1{constructor(){this.value=""}static create(t,e){let i=new t1;return i.load(t),void 0!==e&&(U(e)||W(e)?i.load({value:e}):i.load(e)),i}load(t){!$(t)&&($(t.value)||(this.value=t.value))}}class t2{constructor(){this.color=new t1,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){$(t)||(void 0!==t.color&&(this.color=t1.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.position&&(this.position=t.position),void 0!==t.repeat&&(this.repeat=t.repeat),void 0!==t.size&&(this.size=t.size),void 0!==t.opacity&&(this.opacity=t.opacity))}}class t5{constructor(){this.opacity=1}load(t){$(t)||(void 0!==t.color&&(this.color=t1.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image),void 0!==t.opacity&&(this.opacity=t.opacity))}}class t3{constructor(){this.composite="destination-out",this.cover=new t5,this.enable=!1}load(t){if(!$(t)){if(void 0!==t.composite&&(this.composite=t.composite),void 0!==t.cover){let e=t.cover,i=U(t.cover)?{color:t.cover}:t.cover;this.cover.load(void 0!==e.color||void 0!==e.image?e:{color:i})}void 0!==t.enable&&(this.enable=t.enable)}}}class t8{constructor(){this.enable=!0,this.zIndex=0}load(t){$(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.zIndex&&(this.zIndex=t.zIndex))}}class t6{constructor(){this.enable=!1,this.mode=[]}load(t){$(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode))}}!function(t){t.circle="circle",t.rectangle="rectangle"}(p||(p={}));class t4{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=p.circle}load(t){$(t)||(void 0!==t.selectors&&(this.selectors=t.selectors),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.type&&(this.t
1ype=t.type))}}class t7{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){$(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.force&&(this.force=t.force),void 0!==t.smooth&&(this.smooth=t.smooth))}}class t9{constructor(){this.enable=!1,this.mode=[],this.parallax=new t7}load(t){$(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.mode&&(this.mode=t.mode),this.parallax.load(t.parallax))}}class et{constructor(){this.delay=.5,this.enable=!0}load(t){$(t)||(void 0!==t.delay&&(this.delay=t.delay),void 0!==t.enable&&(this.enable=t.enable))}}class ee{constructor(){this.onClick=new t6,this.onDiv=new t4,this.onHover=new t9,this.resize=new et}load(t){if($(t))return;this.onClick.load(t.onClick);let e=t.onDiv;void 0!==e&&(this.onDiv=tM(e,t=>{let e=new t4;return e.load(t),e})),this.onHover.load(t.onHover),this.resize.load(t.resize)}}class ei{constructor(t,e){this._engine=t,this._container=e}load(t){if($(t)||!this._container)return;let e=this._engine.interactors.get(this._container);if(e)for(let i of e)i.loadModeOptions&&i.loadModeOptions(this,t)}}class es{constructor(t,e){this.detectsOn=d.window,this.events=new ee,this.modes=new ei(t,e)}load(t){if($(t))return;let e=t.detectsOn;void 0!==e&&(this.detectsOn=e),this.events.load(t.events),this.modes.load(t.modes)}}class en{load(t){!$(t)&&(t.position&&(this.position={x:t.position.x??50,y:t.position.y??50,mode:t.position.mode??l.percent}),t.options&&(this.options=tb({},t.options)))}}!function(t){t.screen="screen",t.canvas="canvas"}(f||(f={}));class er{constructor(){this.maxWidth=1/0,this.options={},this.mode=f.canvas}load(t){!$(t)&&($(t.maxWidth)||(this.maxWidth=t.maxWidth),$(t.mode)||(t.mode===f.screen?this.mode=f.screen:this.mode=f.canvas),$(t.options)||(this.options=tb({},t.options)))}}!function(t){t.any="any",t.dark="dark",t.light="light"}(m||(m={}));class eo{constructor(){this.auto=!1,this.mode=m.any,this.value=!1}load(t){$(t)||(void 0!==t.auto&&(this.auto=t.auto),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}class ea{constructor(){this.name="",this.default=new eo}load(t){$(t)||(void 0!==t.name&&(this.name=t.name),this.default.load(t.default),void 0!==t.options&&(this.options=tb({},t.options)))}}class el{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){$(t)||(void 0!==t.count&&(this.count=ts(t.count)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=ts(t.speed)),void 0!==t.decay&&(this.decay=ts(t.decay)),void 0!==t.delay&&(this.delay=ts(t.delay)),void 0!==t.sync&&(this.sync=t.sync))}}class eh extends el{constructor(){super(),this.mode=n.auto,this.startValue=h.random}load(t){super.load(t),$(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.startValue&&(this.startValue=t.startValue))}}class ec extends el{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),$(t)||void 0!==t.offset&&(this.offset=ts(t.offset))}}class ed{constructor(){this.h=new ec,this.s=new ec,this.l=new ec}load(t){$(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}class eu extends t1{constructor(){super(),this.animation=new ed}static create(t,e){let i=new eu;return i.load(t),void 0!==e&&(U(e)||W(e)?i.load({value:e}):i.load(e)),i}load(t){if(super.load(t),$(t))return;let e=t.animation;void 0!==e&&(void 0!==e.enable?this.animation.h.load(e):this.animation.load(t.animation))}}!function(t){t.absorb="absorb",t.bounce="bounce",t.destroy="destroy"}(g||(g={}));class ep{constructor(){this.speed=2}load(t){$(t)||void 0!==t.speed&&(this.speed=t.speed)}}class ef{constructor(){this.enable=!0,this.retries=0}load(t){$(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.retries&&(this.retries=t.retries))}}class em{constructor(){this.value=0}load(t){!$(t)&&($(t.value)||(this.value=ts(t.value)))}}class eg extends em{constructor(){super(),this.animation=new el}load(t){if(super.load(t),$(t))return;let e=t.animation;void 0!==e&&this.animation.load(e)}}class ev extends eg{constructor(){super(),this.animation=new eh}load(t){super.load(t)}}class ey extends em{constructor(){super(),this.value=1}}class eb{constructor(){this.horizontal=new ey,this.vertical=new ey}load(t){$(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class ex{constructor(){this.absorb=new ep,this.bounce=new eb,this.enable=!1,this.maxSpeed=50,this.mode=g.bounce,this.overlap=new ef}load(t){$(t)||(this.absorb.load(t.absorb),this.bounce.load(t.bounce),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.maxSpeed&&(this.maxSpeed=ts(t.maxSpeed)),void 0!==t.mode&&(this.mode=t.mode),this.overlap.load(t.overlap))}}class ew{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if($(t))return;let e=t.options;if(void 0!==e)for(let t in e){let i=e[t];i&&(this.options[t]=tb(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.t
1ype=t.type)}}class ek{constructor(){this.offset=0,this.value=90}load(t){$(t)||(void 0!==t.offset&&(this.offset=ts(t.offset)),void 0!==t.value&&(this.value=ts(t.value)))}}class eP{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!$(t)&&(void 0!==t.distance&&(this.distance=ts(t.distance)),void 0!==t.enable&&(this.enable=t.enable),t.rotate)){let e=t.rotate.x;void 0!==e&&(this.rotate.x=e);let i=t.rotate.y;void 0!==i&&(this.rotate.y=i)}}}class e_{constructor(){this.x=50,this.y=50,this.mode=l.percent,this.radius=0}load(t){$(t)||(void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.mode&&(this.mode=t.mode),void 0!==t.radius&&(this.radius=t.radius))}}class eT{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){$(t)||(void 0!==t.acceleration&&(this.acceleration=ts(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.inverse&&(this.inverse=t.inverse),void 0!==t.maxSpeed&&(this.maxSpeed=ts(t.maxSpeed)))}}class eM{constructor(){this.clamp=!0,this.delay=new em,this.enable=!1,this.options={}}load(t){!$(t)&&(void 0!==t.clamp&&(this.clamp=t.clamp),this.delay.load(t.delay),void 0!==t.enable&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=tb(this.options,t.options)))}}class eS{load(t){$(t)||(void 0!==t.color&&(this.color=t1.create(this.color,t.color)),void 0!==t.image&&(this.image=t.image))}}class eC{constructor(){this.enable=!1,this.length=10,this.fill=new eS}load(t){$(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.fill&&this.fill.load(t.fill),void 0!==t.length&&(this.length=t.length))}}!function(t){t.bounce="bounce",t.none="none",t.out="out",t.destroy="destroy",t.split="split"}(v||(v={}));class eE{constructor(){this.default=v.out}load(t){$(t)||(void 0!==t.default&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}class eA{constructor(){this.acceleration=0,this.enable=!1}load(t){!$(t)&&(void 0!==t.acceleration&&(this.acceleration=ts(t.acceleration)),void 0!==t.enable&&(this.enable=t.enable),t.position&&(this.position=tb({},t.position)))}}class ez{constructor(){this.angle=new ek,this.attract=new eP,this.center=new e_,this.decay=0,this.distance={},this.direction=s.none,this.drift=0,this.enable=!1,this.gravity=new eT,this.path=new eM,this.outModes=new eE,this.random=!1,this.size=!1,this.speed=2,this.spin=new eA,this.straight=!1,this.trail=new eC,this.vibrate=!1,this.warp=!1}load(t){if($(t))return;this.angle.load(q(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),void 0!==t.decay&&(this.decay=ts(t.decay)),void 0!==t.direction&&(this.direction=t.direction),void 0!==t.distance&&(this.distance=q(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),void 0!==t.drift&&(this.drift=ts(t.drift)),void 0!==t.enable&&(this.enable=t.enable),this.gravity.load(t.gravity);let e=t.outModes;void 0!==e&&(G(e)?this.outModes.load(e):this.outModes.load({default:e})),this.path.load(t.path),void 0!==t.random&&(this.random=t.random),void 0!==t.size&&(this.size=t.size),void 0!==t.speed&&(this.speed=ts(t.speed)),this.spin.load(t.spin),void 0!==t.straight&&(this.straight=t.straight),this.trail.load(t.trail),void 0!==t.vibrate&&(this.vibrate=t.vibrate),void 0!==t.warp&&(this.warp=t.warp)}}class eD extends eh{constructor(){super(),this.destroy=o.none,this.speed=2}load(t){super.load(t),$(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}class eO extends ev{constructor(){super(),this.animation=new eD,this.value=1}load(t){if($(t))return;super.load(t);let e=t.animation;void 0!==e&&this.animation.load(e)}}class eR{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if($(t))return;void 0!==t.enable&&(this.enable=t.enable);let e=t.width;void 0!==e&&(this.width=e);let i=t.height;void 0!==i&&(this.height=i)}}!function(t){t.delete="delete",t.wait="wait"}(y||(y={}));class eV{constructor(){this.mode=y.delete,this.value=0}load(t){$(t)||(void 0!==t.mode&&(this.mode=t.mode),void 0!==t.value&&(this.value=t.value))}}class eI{constructor(){this.density=new eR,this.limit=new eV,this.value=0}load(t){$(t)||(this.density.load(t.density),this.limit.load(t.limit),void 0!==t.value&&(this.value=t.value))}}class eL{constructor(){this.blur=0,this.color=new t1,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(t){$(t)||(void 0!==t.blur&&(this.blur=t.blur),this.color=t1.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.offset&&(void 0!==t.offset.x&&(this.offset.x=t.offset.x),void 0!==t.offset.y&&(this.offset.y=t.offset.y)))}}class ej{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if($(t))return;let e=t.options;if(void 0!==e)for(let t in e){let i=e[t];i&&(this.options[t]=tb(this.options[t]??{},i))}void 0!==t.close&&(this.close=t.close),void 0!==t.fill&&(this.fill=t.fill),void 0!==t.type&&(this.t
1ype=t.type)}}class eF extends eh{constructor(){super(),this.destroy=o.none,this.speed=5}load(t){super.load(t),$(t)||void 0!==t.destroy&&(this.destroy=t.destroy)}}class eB extends ev{constructor(){super(),this.animation=new eF,this.value=3}load(t){if(super.load(t),$(t))return;let e=t.animation;void 0!==e&&this.animation.load(e)}}class eU{constructor(){this.width=0}load(t){$(t)||(void 0!==t.color&&(this.color=eu.create(this.color,t.color)),void 0!==t.width&&(this.width=ts(t.width)),void 0!==t.opacity&&(this.opacity=ts(t.opacity)))}}class eq extends em{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),$(t)||(void 0!==t.opacityRate&&(this.opacityRate=t.opacityRate),void 0!==t.sizeRate&&(this.sizeRate=t.sizeRate),void 0!==t.velocityRate&&(this.velocityRate=t.velocityRate))}}class eG{constructor(t,e){this._engine=t,this._container=e,this.bounce=new eb,this.collisions=new ex,this.color=new eu,this.color.value="#fff",this.effect=new ew,this.groups={},this.move=new ez,this.number=new eI,this.opacity=new eO,this.reduceDuplicates=!1,this.shadow=new eL,this.shape=new ej,this.size=new eB,this.stroke=new eU,this.zIndex=new eq}load(t){if($(t))return;if(void 0!==t.groups)for(let e of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,e))continue;let i=t.groups[e];void 0!==i&&(this.groups[e]=tb(this.groups[e]??{},i))}void 0!==t.reduceDuplicates&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(eu.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.shadow.load(t.shadow),this.zIndex.load(t.zIndex),this.collisions.load(t.collisions),void 0!==t.interactivity&&(this.interactivity=tb({},t.interactivity));let e=t.stroke;if(e&&(this.stroke=tM(e,t=>{let e=new eU;return e.load(t),e})),this._container){let e=this._engine.updaters.get(this._container);if(e)for(let i of e)i.loadOptions&&i.loadOptions(this,t);let i=this._engine.interactors.get(this._container);if(i)for(let e of i)e.loadParticlesOptions&&e.loadParticlesOptions(this,t)}}}function eW(t,...e){for(let i of e)t.load(i)}function e$(t,e,...i){let s=new eG(t,e);return eW(s,...i),s}class eN{constructor(t,e){this._findDefaultTheme=t=>this.themes.find(e=>e.default.value&&e.default.mode===t)??this.themes.find(t=>t.default.value&&t.default.mode===m.any),this._importPreset=t=>{this.load(this._engine.getPreset(t))},this._engine=t,this._container=e,this.autoPlay=!0,this.background=new t2,this.backgroundMask=new t3,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new t8,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new es(t,e),this.manualParticles=[],this.particles=e$(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(t){if($(t))return;void 0!==t.preset&&tM(t.preset,t=>this._importPreset(t)),void 0!==t.autoPlay&&(this.autoPlay=t.autoPlay),void 0!==t.clear&&(this.clear=t.clear),void 0!==t.key&&(this.key=t.key),void 0!==t.name&&(this.name=t.name),void 0!==t.delay&&(this.delay=ts(t.delay));let e=t.detectRetina;void 0!==e&&(this.detectRetina=e),void 0!==t.duration&&(this.duration=ts(t.duration));let i=t.fpsLimit;void 0!==i&&(this.fpsLimit=i),void 0!==t.pauseOnBlur&&(this.pauseOnBlur=t.pauseOnBlur),void 0!==t.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),void 0!==t.zLayers&&(this.zLayers=t.zLayers),this.background.load(t.background);let s=t.fullScreen;B(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.backgroundMask.load(t.backgroundMask),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map(t=>{let e=new en;return e.load(t),e})),this.particles.load(t.particles),this.style=tb(this.style,t.style),this._engine.loadOptions(this,t),void 0!==t.smooth&&(this.smooth=t.smooth);let n=this._engine.interactors.get(this._container);if(n)for(let e of n)e.loadOptions&&e.loadOptions(this,t);if(void 0!==t.responsive)for(let e of t.responsive){let t=new er;t.load(e),this.responsive.push(t)}if(this.responsive.sort((t,e)=>t.maxWidth-e.maxWidth),void 0!==t.themes)for(let e of t.themes){let t=this.themes.find(t=>t.name===e.name);if(t)t.load(e);else{let t=new ea;t.load(e),this.themes.push(t)}}this.defaultThemes.dark=this._findDefaultTheme(m.dark)?.name,this.defaultThemes.light=this._findDefaultTheme(m.light)?.name}setResponsive(t,e,i){this.load(i);let s=this.responsive.find(i=>i.mode===f.screen&&screen?i.maxWidth>
1screen.availWidth:i.maxWidth*e>t);return this.load(s?.options),s?.maxWidth}setTheme(t){if(t){let e=this.themes.find(e=>e.name===t);e&&this.load(e.options)}else{let t=tp("(prefers-color-scheme: dark)"),e=t?.matches,i=this._findDefaultTheme(e?m.dark:m.light);i&&this.load(i.options)}}}!function(t){t.external="external",t.particles="particles"}(b||(b={}));class eH{constructor(t,e){this.container=e,this._engine=t,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(t){for(let e of this._externalInteractors)e.isEnabled()&&e.interact(t)}handleClickMode(t){for(let e of this._externalInteractors)e.handleClickMode?.(t)}async init(){for(let t of(this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[],this._interactors)){switch(t.type){case b.external:this._externalInteractors.push(t);break;case b.particles:this._particleInteractors.push(t)}t.init()}}particlesInteract(t,e){for(let i of this._externalInteractors)i.clear(t,e);for(let i of this._particleInteractors)i.isEnabled(t)&&i.interact(t,e)}reset(t){for(let e of this._externalInteractors)e.isEnabled()&&e.reset(t);for(let e of this._particleInteractors)e.isEnabled(t)&&e.reset(t)}}function eY(t){if(!tf(t.outMode,t.checkModes))return;let e=2*t.radius;t.coord>t.maxCoord-e?t.setCb(-t.radius):t.coord<e&&t.setCb(t.radius)}!function(t){t.normal="normal",t.inside="inside",t.outside="outside"}(x||(x={}));class eX{constructor(t,e){this.container=e,this._calcPosition=(t,e,i,s=F)=>{for(let s of t.plugins.values()){let t=void 0!==s.particlePosition?s.particlePosition(e,this):void 0;if(t)return N.create(t.x,t.y,i)}let n=function(t){return{x:t.position?.x??K()*t.size.width,y:t.position?.y??K()*t.size.height}}({size:t.canvas.size,position:e}),r=N.create(n.x,n.y,i),o=this.getRadius(),a=this.options.move.outModes,l=e=>{eY({outMode:e,checkModes:[v.bounce],coord:r.x,maxCoord:t.canvas.size.width,setCb:t=>r.x+=t,radius:o})},h=e=>{eY({outMode:e,checkModes:[v.bounce],coord:r.y,maxCoord:t.canvas.size.height,setCb:t=>r.y+=t,radius:o})};return(l(a.left??a.default),l(a.right??a.default),h(a.top??a.default),h(a.bottom??a.default),this._checkOverlap(r,s))?this._calcPosition(t,void 0,i,s+1):r},this._calculateVelocity=()=>{let t=(function(t){let e=H.origin;return e.length=1,e.angle=t,e})(this.direction).copy(),e=this.options.move;if(e.direction===s.inside||e.direction===s.outside)return t;let i=to(tt(e.angle.value)),n=to(tt(e.angle.offset)),r={left:n-.5*i,right:n+.5*i};return e.straight||(t.angle+=J(ts(r.left,r.right))),e.random&&"number"==typeof e.speed&&(t.length*=K()),t},this._checkOverlap=(t,e=F)=>{let i=this.options.collisions,s=this.getRadius();if(!i.enable)return!1;let n=i.overlap;if(n.enable)return!1;let r=n.retries;if(r>=0&&e>r)throw Error(`${E} particle is overlapping and can't be placed`);return!!this.container.particles.find(e=>tr(t,e.position)<s+e.getRadius())},this._getRollColor=t=>{if(!t||!this.roll||!this.backColor&&!this.roll.alter)return t;let e=this.roll.horizontal&&this.roll.vertical?2:1,i=this.roll.horizontal?.5*Math.PI:0;return Math.floor(((this.roll.angle??0)+i)/(Math.PI/e))%2?this.backColor?this.backColor:this.roll.alter?function(t,e,i){return{h:t.h,s:t.s,l:t.l+(e===c.darken?-1:1)*i}}(t,this.roll.alter.type,this.roll.alter.value):t:t},this._initPosition=t=>{let e=this.container,i=tt(this.options.zIndex.value);this.position=this._calcPosition(e,t,Q(i,0,e.zLayers)),this.initialPosition=this.position.copy();let n=e.canvas.size;switch(this.moveCenter={...tA(this.options.move.center,n),radius:this.options.move.center.radius??0,mode:this.options.move.center.mode??l.percent},this.direction=function(t,e,i){if(q(t))return to(t);switch(t){case s.top:return-(.5*Math.PI);case s.topRight:return-(.25*Math.PI);case s.right:return 0;case s.bottomRight:return .25*Math.PI;case s.bottom:return .5*Math.PI;case s.bottomLeft:return .75*Math.PI;case s.left:return Math.PI;case s.topLeft:return-(.75*Math.PI);case s.inside:return Math.atan2(i.y-e.y,i.x-e.x);case s.outside:return Math.atan2(e.y-i.y,e.x-i.x);default:return K()*V}}(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case s.inside:this.outType=x.inside;break;case s.outside:this.outType=x.outside}this.offset=H.origin},this._engine=t}destroy(t){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;let e=this.container,i=this.pathGenerator,s=e.shapeDrawers.get(this.shape);
1for(let i of(s?.particleDestroy?.(this),e.plugins.values()))i.particleDestroyed?.(this,t);for(let i of e.particles.updaters)i.particleDestroyed?.(this,t);i?.reset(this),this._engine.dispatchEvent(u.particleDestroyed,{container:this.container,data:{particle:this}})}draw(t){let e=this.container,i=e.canvas;for(let s of e.plugins.values())i.drawParticlePlugin(s,this,t);i.drawParticle(this,t)}getFillColor(){return this._getRollColor(this.bubble.color??tW(this.color))}getMass(){return this.getRadius()**2*Math.PI*.5}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??tW(this.strokeColor))}init(t,e,i,s){let n=this.container,r=this._engine;this.id=t,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.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType=x.normal,this.ignoresResizeRatio=!0;let o=n.retina.pixelRatio,a=n.actualOptions,l=e$(this._engine,n,a.particles),{reduceDuplicates:h}=l,c=l.effect.type,d=l.shape.type;this.effect=tS(c,this.id,h),this.shape=tS(d,this.id,h);let u=l.effect,p=l.shape;if(i){if(i.effect?.type){let t=tS(i.effect.type,this.id,h);t&&(this.effect=t,u.load(i.effect))}if(i.shape?.type){let t=tS(i.shape.type,this.id,h);t&&(this.shape=t,p.load(i.shape))}}if(this.effect===R){let t=[...this.container.effectDrawers.keys()];this.effect=t[Math.floor(Math.random()*t.length)]}if(this.shape===R){let t=[...this.container.shapeDrawers.keys()];this.shape=t[Math.floor(Math.random()*t.length)]}this.effectData=function(t,e,i,s){let n=e.options[t];if(n)return tb({close:e.close,fill:e.fill},tS(n,i,s))}(this.effect,u,this.id,h),this.shapeData=function(t,e,i,s){let n=e.options[t];if(n)return tb({close:e.close,fill:e.fill},tS(n,i,s))}(this.shape,p,this.id,h),l.load(i);let f=this.effectData;f&&l.load(f.particles);let m=this.shapeData;m&&l.load(m.particles);let g=new es(r,n);g.load(n.actualOptions.interactivity),g.load(l.interactivity),this.interactivity=g,this.effectFill=f?.fill??l.effect.fill,this.effectClose=f?.close??l.effect.close,this.shapeFill=m?.fill??l.shape.fill,this.shapeClose=m?.close??l.shape.close,this.options=l;let v=this.options.move.path;this.pathDelay=tt(v.delay.value)*z,v.generator&&(this.pathGenerator=this._engine.getPathGenerator(v.generator),this.pathGenerator&&n.addPath(v.generator,this.pathGenerator)&&this.pathGenerator.init(n)),n.retina.initParticle(this),this.size=tE(this.options.size,o),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(e),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=1-tt(this.options.move.decay);let y=n.particles;y.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/n.zLayers,this.sides=24;let b=n.effectDrawers.get(this.effect);!b&&(b=this._engine.getEffectDrawer(this.effect))&&n.effectDrawers.set(this.effect,b),b?.loadEffect&&b.loadEffect(this);let w=n.shapeDrawers.get(this.shape);!w&&(w=this._engine.getShapeDrawer(this.shape))&&n.shapeDrawers.set(this.shape,w),w?.loadShape&&w.loadShape(this);let k=w?.getSidesCount;for(let t of(k&&(this.sides=k(this)),this.spawning=!1,this.shadowColor=tO(this._engine,this.options.shadow.color),y.updaters))t.init(this);for(let t of y.movers)t.init?.(this);for(let t of(b?.particleInit?.(n,this),w?.particleInit?.(n,this),n.plugins.values()))t.particleCreated?.(this)}isInsideCanvas(){let t=this.getRadius(),e=this.container.canvas.size,i=this.position;return i.x>=-t&&i.y>=-t&&i.y<=e.height+t&&i.x<=e.width+t}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(let t of this.container.particles.updaters)t.reset?.(this)}}class eK{constructor(t,e){this.position=t,this.particle=e}}!function(t){t.circle="circle",t.rectangle="rectangle"}(w||(w={}));class eQ{constructor(t,e,i){this.position={x:t,y:e},this.type=i}}class eZ extends eQ{constructor(t,e,i){super(t,e,w.circle),this.radius=i}contains(t){return tr(t,this.position)<=this.radius}intersects(t){let e=this.position,i=t.position,s={x:Math.abs(i.x-e.x),y:Math.abs(i.y-e.y)},n=this.radius;if(t instanceof eZ||t.type===w.circle)return n+t.radius>Math.sqrt(s.x**2+s.y**2);if(t instanceof eJ||t.type===w.rectangle){let{width:e,height:i}=t.size;return Math.pow(s.x-e,2)+Math.pow(s.y-i,2)<=n**2||s.x<=n+e&&s.y<=n+i||s.x<=e||s.y<=i}return!1}}class eJ extends eQ{constructor(t,e,i,s){super(t,e,w.rectangle),this.size={height:s,width:i}}contains(t){let e=this.size.width,i=this.size.height,s=this.position;return t.x>=s.x&&t.x<=s.x+e&&t.y>=s.y&&t.y<=s.y+i}intersects(t){if(t instanceof eZ)return t.intersects(this);let e=this.size.width,i=this.size.height,s=this.position,n=t.position,r=t instanceof eJ?t.size:{width:0,height:0},o=r.width,a=r.height;return n.x<s.x+e&&n.x+o>s.x&&n.y<s.y+i&&n.y+a>s.y}}class e0{constructor(t,e){this.rectangle=t,this.capacity=e,this._subdivide=()=>{let{x:t,y:e}=this.rectangle.position,{width:i,height:s}=this.rectangle.size,{capacity:n}=this;for(let r=0;r<4;r++){let o=r%2;this._subs.push(new e0(new eJ(t+.5*i*o,e+.5*s*(Math.round(.5*r)-o),.5*i,.5*s),n))}this._divided=!0},this._points=[],this._divided=!1,this._subs=[]}insert(t){return!!this.rectangle.contains(t.position)&&(this._points.length<this.capacity?(this._points.push(t),!0):(this._divided||this._subdivide(),this._subs.some(e=>e.insert(t))))}query(t,e){let i=[];if(!t.intersects(this.rectangle))return[];for(let s of this._points)!t.contains(s.position)&&tr(t.position,s.position)>s.particle.getRadius()&&(!e||e(s.particle))||i.push(s.particle);if(this._divided)for(let s of this._subs)i.push(...s.query(t,e));return i}queryCircle(t,e,i){return this.query(new eZ(t.x,t.y,e),i)}queryRectangle(t,e,i){return this.query(new eJ(t.x,t.y,e.width,e.height),i)}}let e1=t=>{let{height:e,width:i}=t;return new eJ(-.25*i,-.25*e,1.5*i,1.5*e)};class e2{constructor(t,e){this._addToPool=(...t)=>{this._pool.push(...t)},this._applyDensity=(t,e,i)=>{let s=t.number;if(!t.number.density?.enable)return void(void 0===i?this._limit=s.limit.value:s.limit&&this._groupLimits.set(i,s.limit.value));let n=this._initDensityFactor(s.density),r=s.value,o=s.limit.value>0?s.limit.value:r,a=Math.min(r,o)*n+e,l=Math.min(this.count,this.filter(t=>t.group===i).length);void 0===i?this._limit=s.limit.value*n:this._groupLimits.set(i,s.limit.value*n),l<a?this.push(Math.abs(a-l),void 0,t,i):l>a&&this.removeQuantity(l-a,i)},this._initDensityFactor=t=>{let e=this._container;if(!e.canvas.element||!t.enable)return 1;let i=e.canvas.element,s=e.retina.pixelRatio;return i.width*i.height/(t.height*t.width*s**2)},this._pushParticle=(t,e,i,s)=>{try{let n=this._pool.pop();n||(n=new eX(this._engine,this._container)),n.init(this._nextId,t,e,i);let r=!0;if(s&&(r=s(n)),!r)return;return this._array.push(n),this._zArray.push(n),this._nextId++,this._engine.dispatchEvent(u.particleAdded,{container:this._container,data:{particle:n}}),n}catch(t){th.warning(`${E} adding particle: ${t}`)}},this._removeParticle=(t,e,i)=>{let s=this._array[t];if(!s||s.group!==e)return!1;let n=this._zArray.indexOf(s);return this._array.splice(t,1),this._zArray.splice(n,1),s.destroy(i),this._engine.dispatchEvent(u.particleRemoved,{container:this._container,data:{particle:s}}),this._addToPool(s),!0},this._engine=t,this._container=e,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 eH(t,e),this._pluginsInitialized=!1;let i=e.canvas.size;this.quadTree=new e0(e1(i),4),this.movers=[],this.updaters=[]}get count(){return this._array.length}
1addManualParticles(){let t=this._container;t.actualOptions.manualParticles.forEach(e=>this.addParticle(e.position?tA(e.position,t.canvas.size):void 0,e.options))}addParticle(t,e,i,s){let n=this._container.actualOptions.particles.number.limit.mode,r=void 0===i?this._limit:this._groupLimits.get(i)??this._limit,o=this.count;if(r>0)switch(n){case y.delete:{let t=o+1-r;t>0&&this.removeQuantity(t);break}case y.wait:if(o>=r)return}return this._pushParticle(t,e,i,s)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(t){let e=this._container,i=e.canvas;for(let s of(i.clear(),this.update(t),e.plugins.values()))i.drawPlugin(s,t);for(let e of this._zArray)e.draw(t)}filter(t){return this._array.filter(t)}find(t){return this._array.find(t)}get(t){return this._array[t]}handleClickMode(t){this._interactionManager.handleClickMode(t)}async init(){let t=this._container,e=t.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let i=!1;for(let e of t.plugins.values())if(i=e.particlesInitialization?.()??i)break;if(this.addManualParticles(),!i){let t=e.particles,i=t.groups;for(let e in i){let s=i[e];for(let i=this.count,n=0;n<s.number?.value&&i<t.number.value;i++,n++)this.addParticle(void 0,s,e)}for(let e=this.count;e<t.number.value;e++)this.addParticle()}}async initPlugins(){if(this._pluginsInitialized)return;let t=this._container;for(let e of(this.movers=await this._engine.getMovers(t,!0),this.updaters=await this._engine.getUpdaters(t,!0),await this._interactionManager.init(),t.pathGenerators.values()))e.init(t)}push(t,e,i,s){for(let n=0;n<t;n++)this.addParticle(e?.position,i,s)}async redraw(){this.clear(),await this.init(),this.draw({value:0,factor:0})}remove(t,e,i){this.removeAt(this._array.indexOf(t),void 0,e,i)}removeAt(t,e=1,i,s){if(t<0||t>this.count)return;let n=0;for(let r=t;n<e&&r<this.count;r++)this._removeParticle(r,i,s)&&(r--,n++)}removeQuantity(t,e){this.removeAt(0,t,e)}setDensity(){let t=this._container.actualOptions,e=t.particles.groups;for(let t in e)this._applyDensity(e[t],0,t);this._applyDensity(t.particles,t.manualParticles.length)}setLastZIndex(t){this._lastZIndex=t,this._needsSort=this._needsSort||this._lastZIndex<t}setResizeFactor(t){this._resizeFactor=t}update(t){let e=this._container,i=new Set;for(let t of(this.quadTree=new e0(e1(e.canvas.size),4),e.pathGenerators.values()))t.update();for(let i of e.plugins.values())i.update?.(t);let s=this._resizeFactor;for(let e of this._array){for(let i of(s&&!e.ignoresResizeRatio&&(e.position.x*=s.width,e.position.y*=s.height,e.initialPosition.x*=s.width,e.initialPosition.y*=s.height),e.ignoresResizeRatio=!1,this._interactionManager.reset(e),this._container.plugins.values())){if(e.destroyed)break;i.particleUpdate?.(e,t)}for(let i of this.movers)i.isEnabled(e)&&i.move(e,t);if(e.destroyed){i.add(e);continue}this.quadTree.insert(new eK(e.getPosition(),e))}if(i.size){let t=t=>!i.has(t);for(let e of(this._array=this.filter(t),this._zArray=this._zArray.filter(t),i))this._engine.dispatchEvent(u.particleRemoved,{container:this._container,data:{particle:e}});this._addToPool(...i)}for(let e of(this._interactionManager.externalInteract(t),this._array)){for(let i of this.updaters)i.update(e,t);e.destroyed||e.spawning||this._interactionManager.particlesInteract(e,t)}if(delete this._resizeFactor,this._needsSort){let t=this._zArray;t.sort((t,e)=>e.position.z-t.position.z||t.id-e.id),this._lastZIndex=t[t.length-1].position.z,this._needsSort=!1}}}class e5{constructor(t){this.container=t,this.pixelRatio=1,this.reduceFactor=1}init(){let t=this.container,e=t.actualOptions;this.pixelRatio=!e.detectRetina||tu()?1:window.devicePixelRatio,this.reduceFactor=1;let i=this.pixelRatio,s=t.canvas;if(s.element){let t=s.element;s.size.width=t.offsetWidth*i,s.size.height=t.offsetHeight*i}let n=e.particles,r=n.move;this.maxSpeed=tt(r.gravity.maxSpeed)*i,this.sizeAnimationSpeed=tt(n.size.animation.speed)*i}initParticle(t){let e=t.options,i=this.pixelRatio,s=e.move,n=s.distance,r=t.retina;r.moveDrift=tt(s.drift)*i,r.moveSpeed=tt(s.speed)*i,r.sizeAnimationSpeed=tt(e.size.animation.speed)*i;let o=r.maxDistance;o.horizontal=void 0!==n.horizontal?n.horizontal*i:void 0,o.vertical=void 0!==n.vertical?n.vertical*i:void 0,r.maxSpeed=tt(s.gravity.maxSpeed)*i}}function e3(t){return t&&!t.destroyed}function e8(t,e,...i){let s=new eN(t,e);return eW(s,...i),s}class e6{constructor(t,e,i){this._intersectionManager=t=>{if(e3(this)&&this.actualOptions.pauseOnOutsideViewport)for(let e of t)e.target===this.interactivity.element&&(e.isIntersecting?this.play():this.pause())},this._nextFrame=t=>{try{if(!this._smooth&&void 0!==this._lastFrameTime&&t<this._lastFrameTime+z/this.fpsLimit)return void this.draw(!1);this._lastFrameTime??=t;let e=function(t,e=60,i=!1){return{value:t,factor:i?60/e:60*t/z}}(t-this._lastFrameTime,this.fpsLimit,this._smooth);if(this.addLifeTime(e.value),this._lastFrameTime=t,e.value>z)return void this.draw(!1);if(this.particles.draw(e),!this.alive())return void this.destroy();this.animationStatus&&this.draw(!1)}catch(t){th.error(`${E} in animation loop`,t)}},this._engine=t,this.id=Symbol(e),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._clickHandlers=new Map,this._sourceOptions=i,this._initialSourceOptions=i,this.retina=new e5(this),this.canvas=new tZ(this,this._engine),this.particles=new e2(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=e8(this._engine,this),this.actualOptions=e8(this._engine,this),this._eventListeners=new t0(this),this._intersectionObserver=function(t){if(!tu()&&"undefined"!=typeof IntersectionObserver)return new IntersectionObserver(t)}(t=>this._intersectionManager(t)),this._engine.dispatchEvent(u.containerBuilt,{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&e3(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(t){if(!e3(this))return;let e=this.interactivity.element;if(!e)return;let i=(e,i,s)=>{if(!e3(this))return;let n=this.retina.pixelRatio,r={x:i.x*n,y:i.y*n};t(e,this.particles.quadTree.queryCircle(r,s*n))},s=t=>{if(!e3(this))return;let e={x:t.offsetX||t.clientX,y:t.offsetY||t.clientY};i(t,e,1)},n=()=>{e3(this)&&(l=!0,h=!1)},r=()=>{e3(this)&&(h=!0)},o=t=>{if(e3(this)){if(l&&!h){let e=t.touches[t.touches.length-1];if(!e&&!(e=t.changedTouches[t.changedTouches.length-1]))return;let s=this.canvas.element,n=s?s.getBoundingClientRect():void 0;i(t,{x:e.clientX-(n?n.left:0),y:e.clientY-(n?n.top:0)},Math.max(e.radiusX,e.radiusY))}l=!1,h=!1}},a=()=>{e3(this)&&(l=!1,h=!1)},l=!1,h=!1;
1for(let[t,i]of(this._clickHandlers.set("click",s),this._clickHandlers.set("touchstart",n),this._clickHandlers.set("touchmove",r),this._clickHandlers.set("touchend",o),this._clickHandlers.set("touchcancel",a),this._clickHandlers))e.addEventListener(t,i)}addLifeTime(t){this._lifeTime+=t}addPath(t,e,i=!1){return!(!e3(this)||!i&&this.pathGenerators.has(t))&&(this.pathGenerators.set(t,e),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}clearClickHandlers(){if(e3(this)){for(let[t,e]of this._clickHandlers)this.interactivity.element?.removeEventListener(t,e);this._clickHandlers.clear()}}destroy(t=!0){if(e3(this)){for(let t of(this.stop(),this.clearClickHandlers(),this.particles.destroy(),this.canvas.destroy(),this.effectDrawers.values()))t.destroy?.(this);for(let t of this.shapeDrawers.values())t.destroy?.(this);for(let t of this.effectDrawers.keys())this.effectDrawers.delete(t);for(let t of this.shapeDrawers.keys())this.shapeDrawers.delete(t);if(this._engine.clearPlugins(this),this.destroyed=!0,t){let t=this._engine.items,e=t.findIndex(t=>t===this);e>=0&&t.splice(e,1)}this._engine.dispatchEvent(u.containerDestroyed,{container:this})}}draw(t){var e;if(!e3(this))return;let i=t,s=t=>{i&&(this._lastFrameTime=void 0,i=!1),this._nextFrame(t)};this._drawAnimationFrame=(e=t=>s(t),X.nextFrame(e))}async export(t,e={}){for(let i of this.plugins.values()){if(!i.export)continue;let s=await i.export(t,e);if(s.supported)return s.blob}th.error(`${E} - Export plugin with type ${t} not found`)}handleClickMode(t){if(e3(this))for(let e of(this.particles.handleClickMode(t),this.plugins.values()))e.handleClickMode?.(t)}
1async init(){if(!e3(this))return;for(let t of this._engine.getSupportedEffects()){let e=this._engine.getEffectDrawer(t);e&&this.effectDrawers.set(t,e)}for(let t of this._engine.getSupportedShapes()){let e=this._engine.getShapeDrawer(t);e&&this.shapeDrawers.set(t,e)}for(let[t,e]of(await this.particles.initPlugins(),this._options=e8(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=e8(this._engine,this,this._options),await this._engine.getAvailablePlugins(this)))this.plugins.set(t,e);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();let{zLayers:t,duration:e,delay:i,fpsLimit:s,smooth:n}=this.actualOptions;for(let r of(this.zLayers=t,this._duration=tt(e)*z,this._delay=tt(i)*z,this._lifeTime=0,this.fpsLimit=s>0?s:120,this._smooth=n,this.effectDrawers.values()))await r.init?.(this);for(let t of this.shapeDrawers.values())await t.init?.(this);for(let t of this.plugins.values())await t.init?.();for(let t of(this._engine.dispatchEvent(u.containerInit,{container:this}),await this.particles.init(),this.particles.setDensity(),this.plugins.values()))t.particlesSetup?.();this._engine.dispatchEvent(u.particlesSetup,{container:this})}async loadTheme(t){e3(this)&&(this._currentTheme=t,await this.refresh())}pause(){if(e3(this)){if(void 0!==this._drawAnimationFrame){var t;t=this._drawAnimationFrame,X.cancel(t),delete this._drawAnimationFrame}if(!this._paused){for(let t of this.plugins.values())t.pause?.();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent(u.containerPaused,{container:this})}}}play(t){if(!e3(this))return;let e=this._paused||t;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),e)for(let t of this.plugins.values())t.play&&t.play();this._engine.dispatchEvent(u.containerPlay,{container:this}),this.draw(e??!1)}async refresh(){if(e3(this))return this.stop(),this.start()}async reset(t){if(e3(this))return this._initialSourceOptions=t,this._sourceOptions=t,this._options=e8(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=e8(this._engine,this,this._options),this.refresh()}async start(){e3(this)&&!this.started&&(await this.init(),this.started=!0,await new Promise(t=>{let e=async()=>{for(let t of(this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element),this.plugins.values()))await t.start?.();this._engine.dispatchEvent(u.containerStarted,{container:this}),this.play(),t()};this._delayTimeout=setTimeout(()=>void e(),this._delay)}))}stop(){if(e3(this)&&this.started){for(let t of(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),this.plugins.values()))t.stop?.();for(let t of this.plugins.keys())this.plugins.delete(t);this._sourceOptions=this._options,this._engine.dispatchEvent(u.containerStopped,{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];let t=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth!==t&&(this._responsiveMaxWidth=t,!0)}}class e4{constructor(){this._listeners=new Map}addEventListener(t,e){this.removeEventListener(t,e);let i=this._listeners.get(t);i||(i=[],this._listeners.set(t,i)),i.push(e)}dispatchEvent(t,e){let i=this._listeners.get(t);i?.forEach(t=>t(e))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,e){let i=this._listeners.get(t);if(!i)return;let s=i.length,n=i.indexOf(e);n<0||(1===s?this._listeners.delete(t):i.splice(n,1))}}async function e7(t,e,i,s=!1){let n=e.get(t);return(!n||s)&&(n=await Promise.all([...i.values()].map(e=>e(t))),e.set(t,n)),n}async function e9(t){let e=tS(t.url,t.index);if(!e)return t.fallback;let i=await fetch(e);return i.ok?await i.json():(th.error(`${E} ${i.status} while retrieving config file`),t.fallback)}class it{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new e4,this._initialized=!1,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializer
1s={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(){let t={};for(let[e,i]of this._configs)t[e]=i;return t}get items(){return this._domArray}get version(){return"3.8.1"}async addColorManager(t,e=!0){this.colorManagers.set(t.key,t),await this.refresh(e)}addConfig(t){let e=t.key??t.name??"default";this._configs.set(e,t),this._eventDispatcher.dispatchEvent(u.configAdded,{data:{name:e,config:t}})}async addEasing(t,e,i=!0){this.getEasing(t)||(this.easingFunctions.set(t,e),await this.refresh(i))}async addEffect(t,e,i=!0){tM(t,t=>{this.getEffectDrawer(t)||this.effectDrawers.set(t,e)}),await this.refresh(i)}addEventListener(t,e){this._eventDispatcher.addEventListener(t,e)}async addInteractor(t,e,i=!0){this._initializers.interactors.set(t,e),await this.refresh(i)}async addMover(t,e,i=!0){this._initializers.movers.set(t,e),await this.refresh(i)}async addParticleUpdater(t,e,i=!0){this._initializers.updaters.set(t,e),await this.refresh(i)}async addPathGenerator(t,e,i=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,e),await this.refresh(i)}async addPlugin(t,e=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(e)}async addPreset(t,e,i=!1,s=!0){(i||!this.getPreset(t))&&this.presets.set(t,e),await this.refresh(s)}async addShape(t,e=!0){for(let e of t.validTypes)this.getShapeDrawer(e)||this.shapeDrawers.set(e,t);await this.refresh(e)}checkVersion(t){if(this.version!==t)throw Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,e){this._eventDispatcher.dispatchEvent(t,e)}dom(){return this.items}domItem(t){return this.item(t)}async getAvailablePlugins(t){let e=new Map;for(let i of this.plugins)i.needsPlugin(t.actualOptions)&&e.set(i.id,await i.getPlugin(t));return e}getEasing(t){return this.easingFunctions.get(t)??(t=>t)}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,e=!1){return e7(t,this.interactors,this._initializers.interactors,e)}async getMovers(t,e=!1){return e7(t,this.movers,this._initializers.movers,e)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(e=>e.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,e=!1){return e7(t,this.updaters,this._initializers.updaters,e)}init(){this._initialized||(this._initialized=!0)}item(t){let{items:e}=this,i=e[t];return!i||i.destroyed?void e.splice(t,1):i}async load(t){let e,i=t.id??t.element?.id??`tsparticles${Math.floor(1e4*K())}`,{index:s,url:n}=t,r=tS(n?await e9({fallback:t.options,url:n,index:s}):t.options,s),{items:o}=this,a=o.findIndex(t=>t.id.description===i),l=new e6(this,i,r);if(a>=0){let t=this.item(a),e=+!!t;t&&!t.destroyed&&t.destroy(!1),o.splice(a,e,l)}else o.push(l);let h=(t=>{let e;if(t instanceof HTMLCanvasElement||t.tagName.toLowerCase()===j)(e=t).dataset[T]||(e.dataset[T]=L);else{let i=t.getElementsByTagName(j);i.length?(e=i[0]).dataset[T]=L:((e=document.createElement(j)).dataset[T]=I,t.appendChild(e))}let i="100%";return e.style.width||(e.style.width=i),e.style.height||(e.style.height=i),e}
1)(((e=t.element??document.getElementById(i))||((e=document.createElement("div")).id=i,e.dataset[T]=I,document.body.append(e)),e));return l.canvas.loadCanvas(h),await l.start(),l}loadOptions(t,e){this.plugins.forEach(i=>i.loadOptions?.(t,e))}loadParticlesOptions(t,e,...i){let s=this.updaters.get(t);s&&s.forEach(t=>t.loadOptions?.(e,...i))}async refresh(t=!0){t&&await Promise.all(this.items.map(t=>t.refresh()))}removeEventListener(t,e){this._eventDispatcher.removeEventListener(t,e)}setOnClickHandler(t){let{items:e}=this;if(!e.length)throw Error(`${E} can only set click handlers after calling tsParticles.load()`);e.forEach(e=>e.addClickHandler(t))}}class ie{constructor(t){this.type=b.external,this.container=t}}class ii{constructor(t){this.type=b.particles,this.container=t}}!function(t){t.clockwise="clockwise",t.counterClockwise="counter-clockwise",t.random="random"}(k||(k={})),function(t){t.linear="linear",t.radial="radial",t.random="random"}(P||(P={})),function(t){t.easeInBack="ease-in-back",t.easeInCirc="ease-in-circ",t.easeInCubic="ease-in-cubic",t.easeInLinear="ease-in-linear",t.easeInQuad="ease-in-quad",t.easeInQuart="ease-in-quart",t.easeInQuint="ease-in-quint",t.easeInExpo="ease-in-expo",t.easeInSine="ease-in-sine",t.easeOutBack="ease-out-back",t.easeOutCirc="ease-out-circ",t.easeOutCubic="ease-out-cubic",t.easeOutLinear="ease-out-linear",t.easeOutQuad="ease-out-quad",t.easeOutQuart="ease-out-quart",t.easeOutQuint="ease-out-quint",t.easeOutExpo="ease-out-expo",t.easeOutSine="ease-out-sine",t.easeInOutBack="ease-in-out-back",t.easeInOutCirc="ease-in-out-circ",t.easeInOutCubic="ease-in-out-cubic",t.easeInOutLinear="ease-in-out-linear",t.easeInOutQuad="ease-in-out-quad",t.easeInOutQuart="ease-in-out-quart",t.easeInOutQuint="ease-in-out-quint",t.easeInOutExpo="ease-in-out-expo",t.easeInOutSine="ease-in-out-sine"}(_||(_={}));let is=function(){let t=new it;return t.init(),t}();tu()||(window.tsParticles=is)},72017:(t,e,i)=>{i.d(e,{f:()=>r});var s=i(45818),n=i(33210);function r(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let o=(0,s.q)(0,e,r);t.push((0,n.k)(i,1,o))}}},72171:(t,e,i)=>{i.d(e,{p:()=>l});var s=i(60010),n=i(30614);let r=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(n.S)||[];if(!s)return t;let o=i.replace(s,""),a=+!!r.has(e);return s!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...s.f,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},72403:(t,e,i)=>{i.d(e,{W:()=>a});var s=i(57887);let n={...s.ai,transform:Math.round};var r=i(34158);let o={rotate:r.uj,rotateX:r.uj,rotateY:r.uj,rotateZ:r.uj,scale:s.hs,scaleX:s.hs,scaleY:s.hs,scaleZ:s.hs,skew:r.uj,skewX:r.uj,skewY:r.uj,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:s.X4,originX:r.gQ,originY:r.gQ,originZ:r.px},a={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,backgroundPositionX:r.px,backgroundPositionY:r.px,...o,zIndex:n,fillOpacity:s.X4,strokeOpacity:s.X4,numOctaves:n}},73522:(t,e,i)=>{i.d(e,{w:()=>s});let s=t=>e=>e.test(t)},73945:(t,e,i)=>{i.d(e,{Y:()=>n});var s=i(62923);function n(t,e,i){let n=Math.max(e-5,0);return(0,s.f)(i-t(n),e-n)}},74261:(t,e,i)=>{let s;i.d(e,{k:()=>a});var n=i(23387),r=i(69515);function o(){s=void 0}let a={now:()=>(void 0===s&&a.set(r.uv.isProcessing||n.W.useManualTiming?r.uv.timestamp:performance.now()),s),set:t=>{s=t,queueMicrotask(o)}}},74436:(t,e,i)=>{i.d(e,{k5:()=>c});var s=i(12115),n={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},r=s.createContext&&s.createContext(n),o=["attr","size","title"];function a(){return(a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])}return t}).apply(this,arguments)}function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,s)}return i}function h(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
1e%2?l(Object(i),!0).forEach(function(e){var s,n,r;s=t,n=e,r=i[e],(n=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var s=i.call(t,e||"default");if("object"!=typeof s)return s;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(n))in s?Object.defineProperty(s,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):s[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function c(t){return e=>s.createElement(d,a({attr:h({},t.attr)},e),function t(e){return e&&e.map((e,i)=>s.createElement(e.tag,h({key:i},e.attr),t(e.child)))}(t.child))}function d(t){var e=e=>{var i,{attr:n,size:r,title:l}=t,c=function(t,e){if(null==t)return{};var i,s,n=function(t,e){if(null==t)return{};var i={};for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s)){if(e.indexOf(s)>=0)continue;i[s]=t[s]}return i}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(s=0;s<r.length;s++)i=r[s],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(n[i]=t[i])}return n}(t,o),d=r||e.size||"1em";return e.className&&(i=e.className),t.className&&(i=(i?i+" ":"")+t.className),s.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,n,c,{className:i,style:h(h({color:t.color||e.color},e.style),t.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&s.createElement("title",null,l),t.children)};return void 0!==r?s.createElement(r.Consumer,null,t=>e(t)):e(n)}},75245:(t,e,i)=>{i.d(e,{M:()=>d});var s=i(60018),n=i(84160),r=i(78606),o=i(33757),a=i(25193),l=i(7684),h=i(20600),c=i(60990);class d extends a.b{constructor(){super(...arguments),this.type="html",this.renderInstance=h.e}readValueFromInstance(t,e){if(s.f.has(e))return this.projection?.isProjecting?(0,n.zs)(e):(0,n.Ib)(t,e);{let i=window.getComputedStyle(t),s=((0,r.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,o.m)(t,e)}build(t,e,i){(0,l.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,c.x)(t,e,i)}}},75626:(t,e,i)=>{i.d(e,{v:()=>n});var s=i(56668);class n{constructor(){this.subscriptions=[]}add(t){return(0,s.Kq)(this.subscriptions,t),()=>(0,s.Ai)(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let n=0;n<s;n++){let s=this.subscriptions[n];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},76231:(t,e,i)=>{i.d(e,{m:()=>ez});var s,n,r,o,a,l,h=i(70046);let c=2*Math.PI;class d{init(t){let e=t.options.move.gravity;t.gravity={enable:e.enable,acceleration:(0,h.VGA)(e.acceleration),inverse:e.inverse},function(t){let e=t.container,i=t.options.move.spin;if(!i.enable)return;let s=i.position??{x:50,y:50},n={x:.01*s.x*e.canvas.size.width,y:.01*s.y*e.canvas.size.height},r=t.getPosition(),o=(0,h.YfF)(r,n),a=(0,h.VGA)(i.acceleration);t.retina.spinAcceleration=a*e.retina.pixelRatio,t.spin={center:n,direction:t.velocity.x>=0?h.pTR.clockwise:h.pTR.counterClockwise,angle:(0,h.G0i)()*c,radius:o,acceleration:t.retina.spinAcceleration}}(t)}isEnabled(t){return!t.destroyed&&t.options.move.enable}move(t,e){let i=t.options,s=i.move;if(!s.enable)return;let n=t.container,r=n.retina.pixelRatio;t.retina.moveSpeed??=(0,h.VGA)(s.speed)*r,t.retina.moveDrift??=(0,h.VGA)(t.options.move.drift)*r;let o=t.slow.inRange?t.slow.factor:1,a=t.retina.moveSpeed*n.retina.reduceFactor,l=t.retina.moveDrift,c=(0,h.W9e)(i.size.value)*r,d=a*(s.size?t.getRadius()/c:1)*o*(e.factor||1)/2,u=t.retina.maxSpeed??n.retina.maxSpeed;s.spin.enable?function(t,e){let i=t.container;if(!t.spin)return;let s=t.spin.direction===h.pTR.clockwise,n={x:s?Math.cos:Math.sin,y:s?Math.sin:Math.cos};t.position.x=t.spin.center.x+t.spin.radius*n.x(t.spin.angle),t.position.y=t.spin.center.y+t.spin.radius*n.y(t.spin.angle),t.spin.radius+=t.spin.acceleration;let r=Math.max(i.canvas.size.width,i.canvas.size.height),o=.5*r;t.spin.radius>o?(t.spin.radius=o,t.spin.acceleration*=-1):t.spin.radius<0&&(t.spin.radius=0,t.spin.acceleration*=-1),t.spin.angle+=.01*e*(1-t.spin.radius/r)}
1(t,d):function(t,e,i,s,n,r){!function(t,e){let i=t.options.move.path;if(!i.enable)return;if(t.lastPathTime<=t.pathDelay){t.lastPathTime+=e.value;return}let s=t.pathGenerator?.generate(t,e);s&&t.velocity.addTo(s),i.clamp&&(t.velocity.x=(0,h.qE8)(t.velocity.x,-1,1),t.velocity.y=(0,h.qE8)(t.velocity.y,-1,1)),t.lastPathTime-=t.pathDelay}(t,r);let o=t.gravity,a=o?.enable&&o.inverse?-1:1;n&&i&&(t.velocity.x+=n*r.factor/(60*i)),o?.enable&&i&&(t.velocity.y+=a*(o.acceleration*r.factor)/(60*i));let l=t.moveDecay;t.velocity.multTo(l);let c=t.velocity.mult(i);o?.enable&&s>0&&(!o.inverse&&c.y>=0&&c.y>=s||o.inverse&&c.y<=0&&c.y<=-s)&&(c.y=a*s,i&&(t.velocity.y=c.y/i));let d=t.options.zIndex,u=(1-t.zIndexFactor)**d.velocityRate;c.multTo(u);let{position:p}=t;p.addTo(c),e.vibrate&&(p.x+=Math.sin(p.x*Math.cos(p.y)),p.y+=Math.cos(p.y*Math.sin(p.x)))}(t,s,d,u,l,e),function(t){let e=t.initialPosition,{dx:i,dy:s}=(0,h.vrU)(e,t.position),n=Math.abs(i),r=Math.abs(s),{maxDistance:o}=t.retina,a=o.horizontal,l=o.vertical;if(a||l){if((a&&n>=a||l&&r>=l)&&!t.misplaced)t.misplaced=!!a&&n>a||!!l&&r>l,a&&(t.velocity.x=.5*t.velocity.y-t.velocity.x),l&&(t.velocity.y=.5*t.velocity.x-t.velocity.y);else if((!a||n<a)&&(!l||r<l)&&t.misplaced)t.misplaced=!1;else if(t.misplaced){let i=t.position,s=t.velocity;a&&(i.x<e.x&&s.x<0||i.x>e.x&&s.x>0)&&(s.x*=-(0,h.G0i)()),l&&(i.y<e.y&&s.y<0||i.y>e.y&&s.y>0)&&(s.y*=-(0,h.G0i)())}}}(t)}}async function u(t,e=!0){t.checkVersion("3.8.1"),await t.addMover("base",()=>Promise.resolve(new d),e)}let p=2*Math.PI,f={x:0,y:0};class m{constructor(){this.validTypes=["circle"]}draw(t){let{context:e,particle:i,radius:s}=t;i.circleRange||(i.circleRange={min:0,max:p});let n=i.circleRange;e.arc(f.x,f.y,s,n.min,n.max,!1)}getSidesCount(){return 12}particleInit(t,e){let i=e.shapeData,s=i?.angle??{max:360,min:0};e.circleRange=(0,h.Gvm)(s)?{min:(0,h.puj)(s.min),max:(0,h.puj)(s.max)}:{min:0,max:(0,h.puj)(s)}}}async function g(t,e=!0){t.checkVersion("3.8.1"),await t.addShape(new m,e)}class v{constructor(t,e){this._container=t,this._engine=e}init(t){let e=(0,h.R5R)(this._engine,t.options.color,t.id,t.options.reduceDuplicates);e&&(t.color=(0,h.pzy)(e,t.options.color.animation,this._container.retina.reduceFactor))}isEnabled(t){let{h:e,s:i,l:s}=t.options.color.animation,{color:n}=t;return!t.destroyed&&!t.spawning&&(n?.h.value!==void 0&&e.enable||n?.s.value!==void 0&&i.enable||n?.l.value!==void 0&&s.enable)}update(t,e){(0,h.JvX)(t.color,e)}}async function y(t,e=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("color",e=>Promise.resolve(new v(e,t)),e)}!function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=4]="a"}(s||(s={}));let b=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,x=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i;class w{constructor(){this.key="hex",this.stringPrefix="#"}handleColor(t){return this._parseString(t.value)}handleRangeColor(t){return this._parseString(t.value)}parseString(t){return this._parseString(t)}_parseString(t){if("string"!=typeof t||!t?.startsWith(this.stringPrefix))return;let e=t.replace(b,(t,e,i,s,n)=>e+e+i+i+s+s+(void 0!==n?n+n:"")),i=x.exec(e);return i?{a:void 0!==i[s.a]?parseInt(i[s.a],16)/255:1,b:parseInt(i[s.b],16),g:parseInt(i[s.g],16),r:parseInt(i[s.r],16)}:void 0}}async function k(t,e=!0){t.checkVersion("3.8.1"),await t.addColorManager(new w,e)}!function(t){t[t.h=1]="h",t[t.s=2]="s",t[t.l=3]="l",t[t.a=5]="a"}(n||(n={}));class P{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){let e=t.value.hsl??t.value;if(void 0!==e.h&&void 0!==e.s&&void 0!==e.l)return(0,h.YLU)(e)}handleRangeColor(t){let e=t.value.hsl??t.value;if(void 0!==e.h&&void 0!==e.l)return(0,h.YLU)({h:(0,h.VGA)(e.h),l:(0,h.VGA)(e.l),s:(0,h.VGA)(e.s)})}parseString(t){if(!t.startsWith("hsl"))return;let e=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i.exec(t);return e?(0,h.ayx)({a:e.length>4?(0,h.M3Y)(e[n.a]):1,h:parseInt(e[n.h],10),l:parseInt(e[n.l],10),s:parseInt(e[n.s],10)}):void 0}}async function _(t,e=!0){t.checkVersion("3.8.1"),await t.addColorManager(new P,e)}class T{constructor(t){this.container=t}init(t){let e=t.options.opacity;t.opacity=(0,h.XsS)(e,1);let i=e.animation;i.enable&&(t.opacity.velocity=(0,h.VGA)(i.speed)/h.a56*this.container.retina.reduceFactor,i.sync||(t.opacity.velocity
1*=(0,h.G0i)()))}isEnabled(t){return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((t.opacity.maxLoops??0)<=0||(t.opacity.maxLoops??0)>0&&(t.opacity.loops??0)<(t.opacity.maxLoops??0))}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,e){this.isEnabled(t)&&t.opacity&&(0,h.UC0)(t,t.opacity,!0,t.options.opacity.animation.destroy,e)}}async function M(t,e=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("opacity",t=>Promise.resolve(new T(t)),e)}class S{constructor(t){this.container=t,this.modes=[h.Yzx.bounce,h.Yzx.split]}update(t,e,i,s){if(!this.modes.includes(s))return;let n=this.container,r=!1;for(let s of n.plugins.values())if(void 0!==s.particleBounce&&(r=s.particleBounce(t,i,e)),r)break;if(r)return;let o=t.getPosition(),a=t.offset,l=t.getRadius(),c=(0,h.AEc)(o,l),d=n.canvas.size;!function(t){if(t.outMode!==h.Yzx.bounce&&t.outMode!==h.Yzx.split||t.direction!==h.v5k.left&&t.direction!==h.v5k.right)return;t.bounds.right<0&&t.direction===h.v5k.left?t.particle.position.x=t.size+t.offset.x:t.bounds.left>t.canvasSize.width&&t.direction===h.v5k.right&&(t.particle.position.x=t.canvasSize.width-t.size-t.offset.x);let e=t.particle.velocity.x,i=!1;if(t.direction===h.v5k.right&&t.bounds.right>=t.canvasSize.width&&e>0||t.direction===h.v5k.left&&t.bounds.left<=0&&e<0){let e=(0,h.VGA)(t.particle.options.bounce.horizontal.value);t.particle.velocity.x*=-e,i=!0}if(!i)return;let s=t.offset.x+t.size;t.bounds.right>=t.canvasSize.width&&t.direction===h.v5k.right?t.particle.position.x=t.canvasSize.width-s:t.bounds.left<=0&&t.direction===h.v5k.left&&(t.particle.position.x=s),t.outMode===h.Yzx.split&&t.particle.destroy()}({particle:t,outMode:s,direction:e,bounds:c,canvasSize:d,offset:a,size:l}),function(t){if(t.outMode!==h.Yzx.bounce&&t.outMode!==h.Yzx.split||t.direction!==h.v5k.bottom&&t.direction!==h.v5k.top)return;t.bounds.bottom<0&&t.direction===h.v5k.top?t.particle.position.y=t.size+t.offset.y:t.bounds.top>t.canvasSize.height&&t.direction===h.v5k.bottom&&(t.particle.position.y=t.canvasSize.height-t.size-t.offset.y);let e=t.particle.velocity.y,i=!1;if(t.direction===h.v5k.bottom&&t.bounds.bottom>=t.canvasSize.height&&e>0||t.direction===h.v5k.top&&t.bounds.top<=0&&e<0){let e=(0,h.VGA)(t.particle.options.bounce.vertical.value);t.particle.velocity.y*=-e,i=!0}if(!i)return;let s=t.offset.y+t.size;t.bounds.bottom>=t.canvasSize.height&&t.direction===h.v5k.bottom?t.particle.position.y=t.canvasSize.height-s:t.bounds.top<=0&&t.direction===h.v5k.top&&(t.particle.position.y=s),t.outMode===h.Yzx.split&&t.particle.destroy()}({particle:t,outMode:s,direction:e,bounds:c,canvasSize:d,offset:a,size:l})}}class C{constructor(t){this.container=t,this.modes=[h.Yzx.destroy]}update(t,e,i,s){if(!this.modes.includes(s))return;let n=this.container;switch(t.outType){case h.x_I.normal:case h.x_I.outside:if((0,h.Tj8)(t.position,n.canvas.size,h.Miz.origin,t.getRadius(),e))return;break;case h.x_I.inside:{let{dx:e,dy:i}=(0,h.vrU)(t.position,t.moveCenter),{x:s,y:n}=t.velocity;if(s<0&&e>t.moveCenter.radius||n<0&&i>t.moveCenter.radius||s>=0&&e<-t.moveCenter.radius||n>=0&&i<-t.moveCenter.radius)return}}n.particles.remove(t,t.group,!0)}}class E{constructor(t){this.container=t,this.modes=[h.Yzx.none]}update(t,e,i,s){if(!this.modes.includes(s)||((t.options.move.distance.horizontal&&(e===h.v5k.left||e===h.v5k.right))??(t.options.move.distance.vertical&&(e===h.v5k.top||e===h.v5k.bottom))))return;let n=t.options.move.gravity,r=this.container,o=r.canvas.size,a=t.getRadius();if(n.enable){let i=t.position;(!n.inverse&&i.y>o.height+a&&e===h.v5k.bottom||n.inverse&&i.y<-a&&e===h.v5k.top)&&r.particles.remove(t)}else{if(t.velocity.y>0&&t.position.y<=o.height+a||t.velocity.y<0&&t.position.y>=-a||t.velocity.x>0&&t.position.x<=o.width+a||t.velocity.x<0&&t.position.x>=-a)return;(0,h.Tj8)(t.position,r.canvas.size,h.Miz.origin,a,e)||r.particles.remove(t)}}}class A{constructor(t){this.container=t,this.modes=[h.Yzx.out]}update(t,e,i,s){if(!this.modes.includes(s))return;let n=this.container;if(t.outType===h.x_I.inside){let{x:e,y:i}=t.velocity,s=h.Miz.origin;s.length=t.moveCenter.radius,s.angle=t.velocity.angle+Math.PI,s.addTo(h.Miz.create(t.moveCenter));let{dx:r,dy:o}=(0,h.vrU)(t.position,s);if(e<=0&&r>=0||i<=0&&o>=0||e>=0&&r<=0||i>=0&&o<=0)return;t.position.x=Math.floor((0,h.U43)({min:0,max:n.canvas.size.width})),t.position.y=Math.floor((0,h.U43)({min:0,max:n.canvas.size.height}));let{dx:a,dy:l}=(0,h.vrU)(t.position,t.moveCenter);t.direction=Math.atan2(-l,-a),t.velocity.angle=t.direction}else{if((0,h.Tj8)(t.position,n.canvas.size,h.Miz.origin,t.getRadius(),e))return;switch(t.outType){case h.x_I.outside:{t.position.x=Math.floor((0,h.U43)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor((0,h.U43)({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;let{dx:e,dy:i}=(0,h.vrU)(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(i,e),t.velocity.angle=t.direction);break}case h.x_I.normal:{let i=t.options.move.warp,s=n.canvas.size,r={bottom:s.height+t.getRadius()+t.offset.y,left
1:-t.getRadius()-t.offset.x,right:s.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},o=t.getRadius(),a=(0,h.AEc)(t.position,o);e===h.v5k.right&&a.left>s.width+t.offset.x?(t.position.x=r.left,t.initialPosition.x=t.position.x,i||(t.position.y=(0,h.G0i)()*s.height,t.initialPosition.y=t.position.y)):e===h.v5k.left&&a.right<-t.offset.x&&(t.position.x=r.right,t.initialPosition.x=t.position.x,i||(t.position.y=(0,h.G0i)()*s.height,t.initialPosition.y=t.position.y)),e===h.v5k.bottom&&a.top>s.height+t.offset.y?(i||(t.position.x=(0,h.G0i)()*s.width,t.initialPosition.x=t.position.x),t.position.y=r.top,t.initialPosition.y=t.position.y):e===h.v5k.top&&a.bottom<-t.offset.y&&(i||(t.position.x=(0,h.G0i)()*s.width,t.initialPosition.x=t.position.x),t.position.y=r.bottom,t.initialPosition.y=t.position.y)}}}}}class z{constructor(t){this._addUpdaterIfMissing=(t,e,i)=>{let s=t.options.move.outModes;!this.updaters.has(e)&&((t,e)=>t.default===e||t.bottom===e||t.left===e||t.right===e||t.top===e)(s,e)&&this.updaters.set(e,i(this.container))},this._updateOutMode=(t,e,i,s)=>{for(let n of this.updaters.values())n.update(t,s,e,i)},this.container=t,this.updaters=new Map}init(t){this._addUpdaterIfMissing(t,h.Yzx.bounce,t=>new S(t)),this._addUpdaterIfMissing(t,h.Yzx.out,t=>new A(t)),this._addUpdaterIfMissing(t,h.Yzx.destroy,t=>new C(t)),this._addUpdaterIfMissing(t,h.Yzx.none,t=>new E(t))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,e){let i=t.options.move.outModes;this._updateOutMode(t,e,i.bottom??i.default,h.v5k.bottom),this._updateOutMode(t,e,i.left??i.default,h.v5k.left),this._updateOutMode(t,e,i.right??i.default,h.v5k.right),this._updateOutMode(t,e,i.top??i.default,h.v5k.top)}}async function D(t,e=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("outModes",t=>Promise.resolve(new z(t)),e)}!function(t){t[t.r=1]="r",t[t.g=2]="g",t[t.b=3]="b",t[t.a=5]="a"}(r||(r={}));class O{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){let e=t.value.rgb??t.value;if(void 0!==e.r)return e}handleRangeColor(t){let e=t.value.rgb??t.value;if(void 0!==e.r)return{r:(0,h.VGA)(e.r),g:(0,h.VGA)(e.g),b:(0,h.VGA)(e.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;let e=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i.exec(t);return e?{a:e.length>4?(0,h.M3Y)(e[r.a]):1,b:parseInt(e[r.b],10),g:parseInt(e[r.g],10),r:parseInt(e[r.r],10)}:void 0}}async function R(t,e=!0){t.checkVersion("3.8.1"),await t.addColorManager(new O,e)}class V{init(t){let e=t.container,i=t.options.size.animation;i.enable&&(t.size.velocity=(t.retina.sizeAnimationSpeed??e.retina.sizeAnimationSpeed)/h.a56*e.retina.reduceFactor,i.sync||(t.size.velocity*=(0,h.G0i)()))}isEnabled(t){return!t.destroyed&&!t.spawning&&t.size.enable&&((t.size.maxLoops??0)<=0||(t.size.maxLoops??0)>0&&(t.size.loops??0)<(t.size.maxLoops??0))}reset(t){t.size.loops=0}update(t,e){this.isEnabled(t)&&(0,h.UC0)(t,t.size,!0,t.options.size.animation.destroy,e)}}async function I(t,e=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("size",()=>Promise.resolve(new V),e)}async function L(t,e=!0){t.checkVersion("3.8.1"),await k(t,!1),await _(t,!1),await R(t,!1),await u(t,!1),await g(t,!1),await y(t,!1),await M(t,!1),await D(t,!1),await I(t,!1),await t.refresh(e)}async function j(t,e=!0){t.checkVersion("3.8.1"),await t.addEasing(h.mgy.easeInQuad,t=>t**2,!1),await t.addEasing(h.mgy.easeOutQuad,t=>1-(1-t)**2,!1),await t.addEasing(h.mgy.easeInOutQuad,t=>t<.5?2*t**2:1-(-2*t+2)**2/2,!1),await t.refresh(e)}let F='"Twemoji Mozilla", Apple Color Emoji, "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne Color"';class B{constructor(){this.validTypes=["emoji"],this._emojiShapeDict=new Map}destroy(){for(let[t,e]of this._emojiShapeDict)e instanceof ImageBitmap&&e?.close(),this._emojiShapeDict.delete(t)}draw(t){let e=t.particle.emojiDataKey;if(!e)return;let i=this._emojiShapeDict.get(e);i&&function(t,e){let{context:i,opacity:s}=t,n=i.globalAlpha;if(!e)return;let r=e.width,o=.5*r;i.globalAlpha=s,i.drawImage(e,-o,-o,r,r),i.globalAlpha=n}(t,i)}async init(t){let e=t.actualOptions,{validTypes:i}=this;if(!i.find(t=>(0,h.hnD)(t,e.particles.shape.type)))return;let s=[(0,h.AlN)(F)],n=i.map(t=>e.particles.shape.options[t]).find(t=>!!t);
1n&&(0,h.wJ2)(n,t=>{t.font&&s.push((0,h.AlN)(t.font))}),await Promise.all(s)}particleDestroy(t){t.emojiDataKey=void 0}particleInit(t,e){let i,s=e.shapeData;if(!s?.value)return;let n=(0,h.TA3)(s.value,e.randomIndexData);if(!n)return;let r="string"==typeof n?{font:s.font??F,padding:s.padding??0,value:n}:{font:F,padding:0,...s,...n},o=r.font,a=r.value,l=`${a}_${o}`;if(this._emojiShapeDict.has(l)){e.emojiDataKey=l;return}let c=2*r.padding,d=(0,h.W9e)(e.size.value),u=d+c,p=2*u;if("undefined"!=typeof OffscreenCanvas){let t=new OffscreenCanvas(p,p),e=t.getContext("2d");if(!e)return;e.font=`400 ${2*d}px ${o}`,e.textBaseline="middle",e.textAlign="center",e.fillText(a,u,u),i=t.transferToImageBitmap()}else{let t=document.createElement("canvas");t.width=p,t.height=p;let e=t.getContext("2d");if(!e)return;e.font=`400 ${2*d}px ${o}`,e.textBaseline="middle",e.textAlign="center",e.fillText(a,u,u),i=t}this._emojiShapeDict.set(l,i),e.emojiDataKey=l}}async function U(t,e=!0){t.checkVersion("3.8.1"),await t.addShape(new B,e)}function q(t,e,i,s,n,r){let o=e.actualOptions.interactivity.modes.attract;if(o)for(let a of e.particles.quadTree.query(n,r)){let{dx:e,dy:n,distance:r}=(0,h.vrU)(a.position,i),l=o.speed*o.factor,c=(0,h.qE8)(t.getEasing(o.easing)(1-r/s)*l,1,o.maxSpeed),d=h.Miz.create(r?e/r*c:l,r?n/r*c:l);a.position.subFrom(d)}}class G{constructor(){this.distance=200,this.duration=.4,this.easing=h.mgy.easeOutQuad,this.factor=1,this.maxSpeed=50,this.speed=1}load(t){(0,h.kZJ)(t)||(void 0!==t.distance&&(this.distance=t.distance),void 0!==t.duration&&(this.duration=t.duration),void 0!==t.easing&&(this.easing=t.easing),void 0!==t.factor&&(this.factor=t.factor),void 0!==t.maxSpeed&&(this.maxSpeed=t.maxSpeed),void 0!==t.speed&&(this.speed=t.speed))}}let W="attract";class $ extends h.sJd{constructor(t,e){super(e),this._engine=t,e.attract||(e.attract={particles:[]}),this.handleClickMode=t=>{let i=this.container.actualOptions.interactivity.modes.attract;if(i&&t===W){for(let t of(e.attract||(e.attract={particles:[]}),e.attract.clicking=!0,e.attract.count=0,e.attract.particles))this.isEnabled(t)&&t.velocity.setTo(t.initialVelocity);e.attract.particles=[],e.attract.finish=!1,setTimeout(()=>{e.destroyed||(e.attract||(e.attract={particles:[]}),e.attract.clicking=!1)},i.duration*h.XuV)}}}clear(){}init(){let t=this.container,e=t.actualOptions.interactivity.modes.attract;e&&(t.retina.attractModeDistance=e.distance*t.retina.pixelRatio)}interact(){let t=this.container,e=t.actualOptions,i=t.interactivity.status===h.RbF,s=e.interactivity.events,{enable:n,mode:r}=s.onHover,{enable:o,mode:a}=s.onClick;i&&n&&(0,h.hnD)(W,r)?function(t,e,i){let s=e.interactivity.mouse.position,n=e.retina.attractModeDistance;n&&!(n<0)&&s&&q(t,e,s,n,new h.jlt(s.x,s.y,n),t=>i(t))}(this._engine,this.container,t=>this.isEnabled(t)):o&&(0,h.hnD)(W,a)&&function(t,e,i){e.attract||(e.attract={particles:[]});let{attract:s}=e;if(s.finish||(s.count||(s.count=0),s.count++,s.count===e.particles.count&&(s.finish=!0)),s.clicking){let s=e.interactivity.mouse.clickPosition,n=e.retina.attractModeDistance;if(!n||n<0||!s)return;q(t,e,s,n,new h.jlt(s.x,s.y,n),t=>i(t))}else!1===s.clicking&&(s.particles=[])}(this._engine,this.container,t=>this.isEnabled(t))}isEnabled(t){let e=this.container,i=e.actualOptions,s=e.interactivity.mouse,n=(t?.interactivity??i.interactivity).events;if((!s.position||!n.onHover.enable)&&(!s.clickPosition||!n.onClick.enable))return!1;let r=n.onHover.mode,o=n.onClick.mode;return(0,h.hnD)(W,r)||(0,h.hnD)(W,o)}loadModeOptions(t,...e){for(let i of(t.attract||(t.attract=new G),e))t.attract.load(i?.attract)}reset(){}}async function N(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("externalAttract",e=>Promise.resolve(new $(t,e)),e)}let H=.5*Math.PI;function Y(t,e,i,s,n){for(let r of t.particles.quadTree.query(s,n))s instanceof h.jlt?(0,h.pEn)((0,h.Tgl)(r),{position:e,radius:i,mass:i**2*H,velocity:h.Miz.origin,factor:h.Miz.origin}):s instanceof h.M_G&&(0,h.jon)(r,(0,h.AEc)(e,i))}class X{constructor(){this.distance=200}load(t){(0,h.kZJ)(t)||void 0!==t.distance&&(this.distance=t.distance)}}let K="bounce";class Q extends h.sJd{constructor(t){super(t)}clear(){}init(){let t=this.container,e=t.actualOptions.interactivity.modes.bounce;e&&(t.retina.bounceModeDistance=e.distance*t.retina.pixelRatio)}interact(){let t=this.container,e=t.actualOptions.interactivity.events,i=t.interactivity.status===h.RbF,s=e.onHover.enable,n=e.onHover.mode,r=e.onDiv;if(i&&s&&(0,h.hnD)(K,n))!function(t,e){let i=t.retina.pixelRatio,s=t.interactivity.mouse.position,n=t.retina.bounceModeDistance;n&&!(n<0)&&s&&Y(t,s,n,new h.jlt(s.x,s.y,n+10*i),e)}(this.container,t=>this.isEnabled(t));else{var o,a;o=this.container,a=t=>this.isEnabled(t),(0,h.U6C)(K,r,(t,e)=>
1(function(t,e,i,s){let n=document.querySelectorAll(e);n.length&&n.forEach(e=>{let n=t.retina.pixelRatio,r={x:(e.offsetLeft+.5*e.offsetWidth)*n,y:(e.offsetTop+.5*e.offsetHeight)*n},o=.5*e.offsetWidth*n,a=10*n,l=i.type===h.Q5V.circle?new h.jlt(r.x,r.y,o+a):new h.M_G(e.offsetLeft*n-a,e.offsetTop*n-a,e.offsetWidth*n+2*a,e.offsetHeight*n+2*a);s(r,o,l)})})(o,t,e,(t,e,i)=>Y(o,t,e,i,a)))}}isEnabled(t){let e=this.container,i=e.actualOptions,s=e.interactivity.mouse,n=(t?.interactivity??i.interactivity).events,r=n.onDiv;return!!s.position&&n.onHover.enable&&(0,h.hnD)(K,n.onHover.mode)||(0,h.iKf)(K,r)}loadModeOptions(t,...e){for(let i of(t.bounce||(t.bounce=new X),e))t.bounce.load(i?.bounce)}reset(){}}async function Z(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("externalBounce",t=>Promise.resolve(new Q(t)),e)}class J{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(t){if(!(0,h.kZJ)(t)){if(void 0!==t.distance&&(this.distance=t.distance),void 0!==t.duration&&(this.duration=t.duration),void 0!==t.mix&&(this.mix=t.mix),void 0!==t.opacity&&(this.opacity=t.opacity),void 0!==t.color){let e=(0,h.cyL)(this.color)?void 0:this.color;this.color=(0,h.wJ2)(t.color,t=>h.Oit.create(e,t))}void 0!==t.size&&(this.size=t.size)}}}class tt extends J{constructor(){super(),this.selectors=[]}load(t){super.load(t),(0,h.kZJ)(t)||void 0!==t.selectors&&(this.selectors=t.selectors)}}class te extends J{load(t){super.load(t),(0,h.kZJ)(t)||(this.divs=(0,h.wJ2)(t.divs,t=>{let e=new tt;return e.load(t),e}))}}function ti(t,e,i,s){return e>=i?(0,h.qE8)(t+(e-i)*s,t,e):e<i?(0,h.qE8)(t-(i-e)*s,e,t):void 0}!function(t){t.color="color",t.opacity="opacity",t.size="size"}(o||(o={}));let ts="bubble";class tn extends h.sJd{constructor(t,e){super(t),this._clickBubble=()=>{let t=this.container,e=t.actualOptions,i=t.interactivity.mouse.clickPosition,s=e.interactivity.modes.bubble;if(!s||!i)return;t.bubble||(t.bubble={});let n=t.retina.bubbleModeDistance;if(!n||n<0)return;let r=t.particles.quadTree.queryCircle(i,n,t=>this.isEnabled(t)),{bubble:a}=t;for(let e of r){if(!a.clicking)continue;e.bubble.inRange=!a.durationEnd;let r=e.getPosition(),l=(0,h.YfF)(r,i),c=(new Date().getTime()-(t.interactivity.mouse.clickTime??0))/h.XuV;c>s.duration&&(a.durationEnd=!0),c>2*s.duration&&(a.clicking=!1,a.durationEnd=!1);let d={bubbleObj:{optValue:t.retina.bubbleModeSize,value:e.bubble.radius},particlesObj:{optValue:(0,h.W9e)(e.options.size.value)*t.retina.pixelRatio,value:e.size.value},type:o.size};this._process(e,l,c,d);let u={bubbleObj:{optValue:s.opacity,value:e.bubble.opacity},particlesObj:{optValue:(0,h.W9e)(e.options.opacity.value),value:e.opacity?.value??1},type:o.opacity};this._process(e,l,c,u),!a.durationEnd&&l<=n?this._hoverBubbleColor(e,l):delete e.bubble.color}},this._hoverBubble=()=>{let t=this.container,e=t.interactivity.mouse.position,i=t.retina.bubbleModeDistance;if(i&&!(i<0)&&e)for(let s of t.particles.quadTree.queryCircle(e,i,t=>this.isEnabled(t))){s.bubble.inRange=!0;let n=s.getPosition(),r=(0,h.YfF)(n,e),o=1-r/i;r<=i?o>=0&&t.interactivity.status===h.RbF&&(this._hoverBubbleSize(s,o),this._hoverBubbleOpacity(s,o),this._hoverBubbleColor(s,o)):this.reset(s),t.interactivity.status===h.Z04&&this.reset(s)}},this._hoverBubbleColor=(t,e,i)=>{let s=this.container.actualOptions,n=i??s.interactivity.modes.bubble;if(n){if(!t.bubble.finalColor){let e=n.color;if(!e)return;let i=(0,h.TA3)(e);t.bubble.finalColor=(0,h.R5R)(this._engine,i)}if(t.bubble.finalColor)if(n.mix){t.bubble.color=void 0;let i=t.getFillColor();t.bubble.color=i?(0,h.K6u)((0,h.EYT)(i,t.bubble.finalColor,1-e,e)):t.bubble.finalColor}else t.bubble.color=t.bubble.finalColor}},this._hoverBubbleOpacity=(t,e,i)=>{let s=this.container.actualOptions,n=i?.opacity??s.interactivity.modes.bubble?.opacity;if(!n)return;let r=t.options.opacity.value,o=ti(t.opacity?.value??1,n,(0,h.W9e)(r),e);void 0!==o&&(t.bubble.opacity=o)},this._hoverBubbleSize=(t,e,i)=>{let s=this.container,n=i?.size?i.size*s.retina.pixelRatio:s.retina.bubbleModeSize;if(void 0===n)return;let r=(0,h.W9e)(t.options.size.value)*s.retina.pixelRatio,o=ti(t.size.value,n,r,e);void 0!==o&&(t.bubble.radius=o)},this._process=(t,e,i,s)=>{let n=this.container,r=s.bubbleObj.optValue,a=n.actualOptions.interactivity.modes.bubble;if(!a||void 0===r)return;let l=a.duration,h=n.retina.bubbleModeDistance,c=s.particlesObj.optValue,d=s.bubbleObj.value,u=s.particlesObj.value??0,p=s.type;if(h&&!(h<0)&&r!==c)if(n.bubble||(n.bubble={}
1),n.bubble.durationEnd)d&&(p===o.size&&delete t.bubble.radius,p===o.opacity&&delete t.bubble.opacity);else if(e<=h){if((d??u)!==r){let e=u-i*(u-r)/l;p===o.size&&(t.bubble.radius=e),p===o.opacity&&(t.bubble.opacity=e)}}else p===o.size&&delete t.bubble.radius,p===o.opacity&&delete t.bubble.opacity},this._singleSelectorHover=(t,e,i)=>{let s=this.container,n=document.querySelectorAll(e),r=s.actualOptions.interactivity.modes.bubble;r&&n.length&&n.forEach(e=>{let n=s.retina.pixelRatio,o={x:(e.offsetLeft+.5*e.offsetWidth)*n,y:(e.offsetTop+.5*e.offsetHeight)*n},a=.5*e.offsetWidth*n,l=i.type===h.Q5V.circle?new h.jlt(o.x,o.y,a):new h.M_G(e.offsetLeft*n,e.offsetTop*n,e.offsetWidth*n,e.offsetHeight*n);for(let i of s.particles.quadTree.query(l,t=>this.isEnabled(t))){if(!l.contains(i.getPosition()))continue;i.bubble.inRange=!0;let s=r.divs,n=(0,h.NVT)(s,e);i.bubble.div&&i.bubble.div===e||(this.clear(i,t,!0),i.bubble.div=e),this._hoverBubbleSize(i,1,n),this._hoverBubbleOpacity(i,1,n),this._hoverBubbleColor(i,1,n)}})},this._engine=e,t.bubble||(t.bubble={}),this.handleClickMode=e=>{e===ts&&(t.bubble||(t.bubble={}),t.bubble.clicking=!0)}}clear(t,e,i){(!t.bubble.inRange||i)&&(delete t.bubble.div,delete t.bubble.opacity,delete t.bubble.radius,delete t.bubble.color)}init(){let t=this.container,e=t.actualOptions.interactivity.modes.bubble;e&&(t.retina.bubbleModeDistance=e.distance*t.retina.pixelRatio,void 0!==e.size&&(t.retina.bubbleModeSize=e.size*t.retina.pixelRatio))}interact(t){let e=this.container.actualOptions.interactivity.events,i=e.onHover,s=e.onClick,n=i.enable,r=i.mode,o=s.enable,a=s.mode,l=e.onDiv;n&&(0,h.hnD)(ts,r)?this._hoverBubble():o&&(0,h.hnD)(ts,a)?this._clickBubble():(0,h.U6C)(ts,l,(e,i)=>this._singleSelectorHover(t,e,i))}isEnabled(t){let e=this.container,i=e.actualOptions,s=e.interactivity.mouse,{onClick:n,onDiv:r,onHover:o}=(t?.interactivity??i.interactivity).events,a=(0,h.iKf)(ts,r);return!!(a||o.enable&&s.position||n.enable&&s.clickPosition)&&((0,h.hnD)(ts,o.mode)||(0,h.hnD)(ts,n.mode)||a)}loadModeOptions(t,...e){for(let i of(t.bubble||(t.bubble=new te),e))t.bubble.load(i?.bubble)}reset(t){t.bubble.inRange=!1}}async function tr(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("externalBubble",e=>Promise.resolve(new tn(e,t)),e)}class to{constructor(){this.opacity=.5}load(t){(0,h.kZJ)(t)||void 0!==t.opacity&&(this.opacity=t.opacity)}}class ta{constructor(){this.distance=80,this.links=new to,this.radius=60}load(t){(0,h.kZJ)(t)||(void 0!==t.distance&&(this.distance=t.distance),this.links.load(t.links),void 0!==t.radius&&(this.radius=t.radius))}}class tl extends h.sJd{constructor(t){super(t)}clear(){}init(){let t=this.container,e=t.actualOptions.interactivity.modes.connect;e&&(t.retina.connectModeDistance=e.distance*t.retina.pixelRatio,t.retina.connectModeRadius=e.radius*t.retina.pixelRatio)}interact(){let t=this.container;if(t.actualOptions.interactivity.events.onHover.enable&&"pointermove"===t.interactivity.status){let e=t.interactivity.mouse.position,{connectModeDistance:i,connectModeRadius:s}=t.retina;if(!i||i<0||!s||s<0||!e)return;let n=Math.abs(s),r=t.particles.quadTree.queryCircle(e,n,t=>this.isEnabled(t));r.forEach((e,s)=>{let n=e.getPosition();for(let o of r.slice(s+1)){let s=o.getPosition(),r=Math.abs(i),a=Math.abs(n.x-s.x),l=Math.abs(n.y-s.y);a<r&&l<r&&function(t,e,i){t.canvas.draw(s=>{var n;let r=function(t,e,i,s){let n=t.actualOptions.interactivity.modes.connect;if(n)return function(t,e,i,s){let n=Math.floor(i.getRadius()/e.getRadius()),r=e.getFillColor(),o=i.getFillColor();if(!r||!o)return;let a=e.getPosition(),l=i.getPosition(),c=(0,h.EYT)(r,o,e.getRadius(),i.getRadius()),d=t.createLinearGradient(a.x,a.y,l.x,l.y);return d.addColorStop(0,(0,h.LCf)(r,s)),d.addColorStop((0,h.qE8)(n,0,1),(0,h.xxz)(c,s)),d.addColorStop(1,(0,h.LCf)(o,s)),d}(e,i,s,n.links.opacity)}(t,s,e,i);if(!r)return;let o=e.getPosition(),a=i.getPosition();n=e.retina.linksWidth??0,(0,h.V6E)(s,o,a),s.lineWidth=n,s.strokeStyle=r,s.stroke()})}(t,e,o)}})}}isEnabled(t){let e=this.container,i=e.interactivity.mouse,s=(t?.interactivity??e.actualOptions.interactivity).events;return!!(s.onHover.enable&&i.position)&&(0,h.hnD)("connect",s.onHover.mode)}loadModeOptions(t,...e){for(let i of(t.connect||(t.connect=new ta),e))t.connect.load(i?.connect)}reset(){}}async function th(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("externalConnect",t=>Promise.resolve(new tl(t)),e)}class tc{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(t){(0,h.kZJ)(t)||(void 0!==t.blink&&(this.blink=t.blink),void 0!==t.color&&(this.color=h.Oit.create(this.color,t.color)),void 0!==t.consent&&(this.consent=t.consent),void 0!==t.opacity&&(this.opacity=t.opacity))}}class td{constructor(){this.distance=100,this.links=new tc}load(t){(0,h.kZJ)(t)||(void 0!==t.distance&&(this.distance=t.distance),this.links.load(t.links))}}class tu extends h.sJd{constructor(t,e){super(t),this._engine=e}clear(){}init(){let t=this.container,e=t.actualOptions.interactivity.modes.grab;e&&(t.retina.grabModeDistance=e.distance*t.retina.pixelRatio)}interact(){let t=this.container,e=t.actualOptions.interactivity;if(!e.modes.grab||!e.events.onHover.enable||t.interactivity.status!==
1h.RbF)return;let i=t.interactivity.mouse.position;if(!i)return;let s=t.retina.grabModeDistance;if(s&&!(s<0))for(let n of t.particles.quadTree.queryCircle(i,s,t=>this.isEnabled(t))){let r=n.getPosition(),o=(0,h.YfF)(r,i);if(o>s)continue;let a=e.modes.grab.links,l=a.opacity,c=l-o*l/s;if(c<=0)continue;let d=a.color??n.options.links?.color;if(!t.particles.grabLineColor&&d){let i=e.modes.grab.links;t.particles.grabLineColor=(0,h.PGG)(this._engine,d,i.blink,i.consent)}let u=(0,h._hh)(n,void 0,t.particles.grabLineColor);u&&function(t,e,i,s,n){t.canvas.draw(t=>{var r;let o=e.getPosition();r=e.retina.linksWidth??0,(0,h.V6E)(t,o,n),t.strokeStyle=(0,h.xxz)(i,s),t.lineWidth=r,t.stroke()})}(t,n,u,c,i)}}isEnabled(t){let e=this.container,i=e.interactivity.mouse,s=(t?.interactivity??e.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&(0,h.hnD)("grab",s.onHover.mode)}loadModeOptions(t,...e){for(let i of(t.grab||(t.grab=new td),e))t.grab.load(i?.grab)}reset(){}}async function tp(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("externalGrab",e=>Promise.resolve(new tu(e,t)),e)}class tf extends h.sJd{constructor(t){super(t),this.handleClickMode=t=>{if("pause"!==t)return;let e=this.container;e.animationStatus?e.pause():e.play()}}clear(){}init(){}interact(){}isEnabled(){return!0}reset(){}}async function tm(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("externalPause",t=>Promise.resolve(new tf(t)),e)}class tg{constructor(){this.default=!0,this.groups=[],this.quantity=4}load(t){if((0,h.kZJ)(t))return;void 0!==t.default&&(this.default=t.default),void 0!==t.groups&&(this.groups=t.groups.map(t=>t)),this.groups.length||(this.default=!0);let e=t.quantity;void 0!==e&&(this.quantity=(0,h.DT4)(e))}}class tv extends h.sJd{constructor(t){super(t),this.handleClickMode=t=>{if("push"!==t)return;let e=this.container,i=e.actualOptions.interactivity.modes.push;if(!i)return;let s=(0,h.VGA)(i.quantity);if(s<=0)return;let n=(0,h.Vh1)([void 0,...i.groups]),r=void 0!==n?e.actualOptions.particles.groups[n]:void 0;e.particles.push(s,e.interactivity.mouse,r,n)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(t,...e){for(let i of(t.push||(t.push=new tg),e))t.push.load(i?.push)}reset(){}}async function ty(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("externalPush",t=>Promise.resolve(new tv(t)),e)}class tb{constructor(){this.quantity=2}load(t){if((0,h.kZJ)(t))return;let e=t.quantity;void 0!==e&&(this.quantity=(0,h.DT4)(e))}}class tx extends h.sJd{constructor(t){super(t),this.handleClickMode=t=>{let e=this.container,i=e.actualOptions;if(!i.interactivity.modes.remove||"remove"!==t)return;let s=(0,h.VGA)(i.interactivity.modes.remove.quantity);e.particles.removeQuantity(s)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(t,...e){for(let i of(t.remove||(t.remove=new tb),e))t.remove.load(i?.remove)}reset(){}}async function tw(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("externalRemove",t=>Promise.resolve(new tx(t)),e)}class tk{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing=h.mgy.easeOutQuad}load(t){(0,h.kZJ)(t)||(void 0!==t.distance&&(this.distance=t.distance),void 0!==t.duration&&(this.duration=t.duration),void 0!==t.easing&&(this.easing=t.easing),void 0!==t.factor&&(this.factor=t.factor),void 0!==t.speed&&(this.speed=t.speed),void 0!==t.maxSpeed&&(this.maxSpeed=t.maxSpeed))}}class tP extends tk{constructor(){super(),this.selectors=[]}load(t){super.load(t),(0,h.kZJ)(t)||void 0!==t.selectors&&(this.selectors=t.selectors)}}class t_ extends tk{load(t){super.load(t),(0,h.kZJ)(t)||(this.divs=(0,h.wJ2)(t.divs,t=>{let e=new tP;return e.load(t),e}))}}let tT="repulse";class tM extends h.sJd{constructor(t,e){super(e),this._clickRepulse=()=>{let t=this.container,e=t.actualOptions.interactivity.modes.repulse;if(!e)return;let i=t.repulse??{particles:[]};if(i.finish||(i.count||(i.count=0),i.count++,i.count===t.particles.count&&(i.finish=!0)),i.clicking){let s=t.retina.repulseModeDistance;if(!s||s<0)return;let n=Math.pow(s/6,3),r=t.interactivity.mouse.clickPosition;if(void 0===r)return;let o=new h.jlt(r.x,r.y,n);for(let s of t.particles.quadTree.query(o,t=>this.isEnabled(t))){let{dx:t,dy:o,distance:a}=(0,h.vrU)(r,s.position),l=a**2,c=-n*e.speed/l;if(l<=n){i.particles.push(s);let e=h.Miz.create(t,o);e.length=c,s.velocity.setTo(e)}}}else if(!1===i.clicking){for(let t of i.particles)t.velocity.setTo(t.
1initialVelocity);i.particles=[]}},this._hoverRepulse=()=>{let t=this.container,e=t.interactivity.mouse.position,i=t.retina.repulseModeDistance;i&&!(i<0)&&e&&this._processRepulse(e,i,new h.jlt(e.x,e.y,i))},this._processRepulse=(t,e,i,s)=>{let n=this.container,r=n.particles.quadTree.query(i,t=>this.isEnabled(t)),o=n.actualOptions.interactivity.modes.repulse;if(!o)return;let{easing:a,speed:l,factor:c,maxSpeed:d}=o,u=this._engine.getEasing(a),p=(s?.speed??l)*c;for(let i of r){let{dx:s,dy:n,distance:r}=(0,h.vrU)(i.position,t),o=(0,h.qE8)(u(1-r/e)*p,0,d),a=h.Miz.create(r?s/r*o:p,r?n/r*o:p);i.position.addTo(a)}},this._singleSelectorRepulse=(t,e)=>{let i=this.container,s=i.actualOptions.interactivity.modes.repulse;if(!s)return;let n=document.querySelectorAll(t);n.length&&n.forEach(t=>{let n=i.retina.pixelRatio,r={x:(t.offsetLeft+.5*t.offsetWidth)*n,y:(t.offsetTop+.5*t.offsetHeight)*n},o=.5*t.offsetWidth*n,a=e.type===h.Q5V.circle?new h.jlt(r.x,r.y,o):new h.M_G(t.offsetLeft*n,t.offsetTop*n,t.offsetWidth*n,t.offsetHeight*n),l=s.divs,c=(0,h.NVT)(l,t);this._processRepulse(r,o,a,c)})},this._engine=t,e.repulse||(e.repulse={particles:[]}),this.handleClickMode=t=>{let i=this.container.actualOptions.interactivity.modes.repulse;if(!i||t!==tT)return;e.repulse||(e.repulse={particles:[]});let s=e.repulse;for(let t of(s.clicking=!0,s.count=0,e.repulse.particles))this.isEnabled(t)&&t.velocity.setTo(t.initialVelocity);s.particles=[],s.finish=!1,setTimeout(()=>{e.destroyed||(s.clicking=!1)},i.duration*h.XuV)}}clear(){}init(){let t=this.container,e=t.actualOptions.interactivity.modes.repulse;e&&(t.retina.repulseModeDistance=e.distance*t.retina.pixelRatio)}interact(){let t=this.container,e=t.actualOptions,i=t.interactivity.status===h.RbF,s=e.interactivity.events,n=s.onHover,r=n.enable,o=n.mode,a=s.onClick,l=a.enable,c=a.mode,d=s.onDiv;i&&r&&(0,h.hnD)(tT,o)?this._hoverRepulse():l&&(0,h.hnD)(tT,c)?this._clickRepulse():(0,h.U6C)(tT,d,(t,e)=>this._singleSelectorRepulse(t,e))}isEnabled(t){let e=this.container,i=e.actualOptions,s=e.interactivity.mouse,n=(t?.interactivity??i.interactivity).events,r=n.onDiv,o=n.onHover,a=n.onClick,l=(0,h.iKf)(tT,r);if(!(l||o.enable&&s.position||a.enable&&s.clickPosition))return!1;let c=o.mode,d=a.mode;return(0,h.hnD)(tT,c)||(0,h.hnD)(tT,d)||l}loadModeOptions(t,...e){for(let i of(t.repulse||(t.repulse=new t_),e))t.repulse.load(i?.repulse)}reset(){}}async function tS(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("externalRepulse",e=>Promise.resolve(new tM(t,e)),e)}class tC{constructor(){this.factor=3,this.radius=200}load(t){(0,h.kZJ)(t)||(void 0!==t.factor&&(this.factor=t.factor),void 0!==t.radius&&(this.radius=t.radius))}}class tE extends h.sJd{constructor(t){super(t)}clear(t,e,i){(!t.slow.inRange||i)&&(t.slow.factor=1)}init(){let t=this.container,e=t.actualOptions.interactivity.modes.slow;e&&(t.retina.slowModeRadius=e.radius*t.retina.pixelRatio)}interact(){}isEnabled(t){let e=this.container,i=e.interactivity.mouse,s=(t?.interactivity??e.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&(0,h.hnD)("slow",s.onHover.mode)}loadModeOptions(t,...e){for(let i of(t.slow||(t.slow=new tC),e))t.slow.load(i?.slow)}reset(t){t.slow.inRange=!1;let e=this.container,i=e.actualOptions,s=e.interactivity.mouse.position,n=e.retina.slowModeRadius,r=i.interactivity.modes.slow;if(!r||!n||n<0||!s)return;let o=t.getPosition(),a=(0,h.YfF)(s,o),l=r.factor,{slow:c}=t;a>n||(c.inRange=!0,c.factor=a/n/l)}}async function tA(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("externalSlow",t=>Promise.resolve(new tE(t)),e)}let tz=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;async function tD(t){return new Promise(e=>{t.loading=!0;let i=new Image;t.element=i,i.addEventListener("load",()=>{t.loading=!1,e()}),i.addEventListener("error",()=>{t.element=void 0,t.error=!0,t.loading=!1,(0,h.tZQ)().error(`${h.dIx} loading image: ${t.source}`),e()}),i.src=t.source})}async function tO(t){if("svg"!==t.type)return void await tD(t);t.loading=!0;let e=await fetch(t.source);e.ok?t.svgData=await e.text():((0,h.tZQ)().error(`${h.dIx} Image not found`),t.error=!0),t.loading=!1}let tR=[0,4,2,1],tV=[8,8,4,2];class tI{constructor(t){this.pos=0,this.data=new Uint8ClampedArray(t)}getString(t){let e=this.data.slice(this.pos,this.pos+t);return this.pos+=e.length,e.reduce((t,e)=>t+String.fromCharCode(e),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let t="",e=0;do{e=this.data[this.pos++];for(let i=e;--i>=0;t+=String.fromCharCode(this.data[this.pos++]));}while(0!==e);return t}readSubBlocksBin(){let t=this.data[this.pos],e=0;for(let i=0;0!==t;i+=t+1,t=this.data[this.pos+i])e+=t;let i=new Uint8Array(e);t=this.data[this.pos++];for(let e=0;0!==t;t=this.data[this.pos++])for(let s=t;--s>=0;i[e++]=this.data[this.pos++]);return i}skipSubBlocks(){for(;0!==this.data[this.pos];this.pos+=this.data[this.pos]+1);this.pos++}}!function(t){t[t.Replace=0]="Replace",t[t.Combine=1]="Combine",t[t.RestoreBackgroun
1d=2]="RestoreBackground",t[t.RestorePrevious=3]="RestorePrevious",t[t.UndefinedA=4]="UndefinedA",t[t.UndefinedB=5]="UndefinedB",t[t.UndefinedC=6]="UndefinedC",t[t.UndefinedD=7]="UndefinedD"}(a||(a={})),function(t){t[t.Extension=33]="Extension",t[t.ApplicationExtension=255]="ApplicationExtension",t[t.GraphicsControlExtension=249]="GraphicsControlExtension",t[t.PlainTextExtension=1]="PlainTextExtension",t[t.CommentExtension=254]="CommentExtension",t[t.Image=44]="Image",t[t.EndOfFile=59]="EndOfFile"}(l||(l={}));let tL={x:0,y:0};function tj(t,e){let i=[];for(let s=0;s<e;s++)i.push({r:t.data[t.pos],g:t.data[t.pos+1],b:t.data[t.pos+2]}),t.pos+=3;return i}async function tF(t,e,i,s,n,r){let o=e.frames[s(!0)];o.left=t.nextTwoBytes(),o.top=t.nextTwoBytes(),o.width=t.nextTwoBytes(),o.height=t.nextTwoBytes();let a=t.nextByte(),l=(128&a)==128;o.sortFlag=(32&a)==32,o.reserved=(24&a)>>>3,l&&(o.localColorTable=tj(t,1<<(7&a)+1));let h=t=>{let{r:s,g:r,b:a}=(l?o.localColorTable:e.globalColorTable)[t];return t!==n(null)?{r:s,g:r,b:a,a:255}:{r:s,g:r,b:a,a:i?~~((s+r+a)/3):0}},c=(()=>{try{return new ImageData(o.width,o.height,{colorSpace:"srgb"})}catch(t){if(t instanceof DOMException&&"IndexSizeError"===t.name)return null;throw t}})();if(null==c)throw EvalError("GIF frame size is to large");let d=t.nextByte(),u=t.readSubBlocksBin(),p=1<<d,f=(t,e)=>{let i=t>>>3,s=7&t;return(u[i]+(u[i+1]<<8)+(u[i+2]<<16)&(1<<e)-1<<s)>>>s};if((64&a)==64){for(let i=0,n=d+1,a=0,l=[[0]],u=0;u<4;u++){if(tR[u]<o.height){let t=0,e=0,s=!1;for(;!s;){let r=i;if(i=f(a,n),a+=n+1,i===p){n=d+1,l.length=p+2;for(let t=0;t<l.length;t++)l[t]=t<p?[t]:[]}else{for(let s of(i>=l.length?l.push(l[r].concat(l[r][0])):r!==p&&l.push(l[r].concat(l[i][0])),l[i])){let{r:i,g:n,b:r,a}=h(s);c.data.set([i,n,r,a],tR[u]*o.width+tV[u]*e+t%(4*o.width)),t+=4}l.length===1<<n&&n<12&&n++}t===4*o.width*(e+1)&&(e++,tR[u]+tV[u]*e>=o.height&&(s=!0))}}r?.(t.pos/(t.data.length-1),s(!1)+1,c,{x:o.left,y:o.top},{width:e.width,height:e.height})}o.image=c,o.bitmap=await createImageBitmap(c)}else{let i=0,n=d+1,a=0,l=-4,u=!1,m=[[0]];for(;!u;){let t=i;if(i=f(a,n),a+=n,i===p){n=d+1,m.length=p+2;for(let t=0;t<m.length;t++)m[t]=t<p?[t]:[]}else{if(i===p+1){u=!0;break}for(let e of(i>=m.length?m.push(m[t].concat(m[t][0])):t!==p&&m.push(m[t].concat(m[i][0])),m[i])){let{r:t,g:i,b:s,a:n}=h(e);c.data.set([t,i,s,n],l+=4)}m.length>=1<<n&&n<12&&n++}}o.image=c,o.bitmap=await createImageBitmap(c),r?.((t.pos+1)/t.data.length,s(!1)+1,o.image,{x:o.left,y:o.top},{width:e.width,height:e.height})}}async function tB(t,e,i,s,n,r){switch(t.nextByte()){case l.EndOfFile:return!0;case l.Image:await tF(t,e,i,s,n,r);break;case l.Extension:switch(t.nextByte()){case l.GraphicsControlExtension:{let i=e.frames[s(!1)];t.pos++;let r=t.nextByte();i.GCreserved=(224&r)>>>5,i.disposalMethod=(28&r)>>>2,i.userInputDelayFlag=(2&r)==2,i.delayTime=10*t.nextTwoBytes();let o=t.nextByte();(1&r)==1&&n(o),t.pos++;break}case l.ApplicationExtension:{t.pos++;let i={identifier:t.getString(8),authenticationCode:t.getString(3),data:t.readSubBlocksBin()};e.applicationExtensions.push(i);break}case l.CommentExtension:e.comments.push([s(!1),t.readSubBlocks()]);break;case l.PlainTextExtension:if(0===e.globalColorTable.length)throw EvalError("plain text extension without global color table");t.pos++,e.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;default:throw EvalError("undefined block found")}return!1}async function tU(t,e,i){i||(i=!1);let s=await fetch(t);if(!s.ok&&404===s.status)throw EvalError("file not found");let n=await s.arrayBuffer(),r={width:0,height:0,totalTime:0,colorRes:0,pixelAspectRatio:0,frames:[],sortFlag:!1,globalColorTable:[],backgroundImage:new ImageData(1,1,{colorSpace:"srgb"}),comments:[],applicationExtensions:[]},o=new tI(new Uint8ClampedArray(n));if("GIF89a"!==o.getString(6))throw Error("not a supported GIF file");r.width=o.nextTwoBytes(),r.height=o.nextTwoBytes();let l=o.nextByte(),h=(128&l)==128;r.colorRes=(112&l)>>>4,r.sortFlag=(8&l)==8;let c=o.nextByte();r.pixelAspectRatio=o.nextByte(),0!==r.pixelAspectRatio&&(r.pixelAspectRatio=(r.pixelAspectRatio+15)/64),h&&(r.globalColorTable=tj(o,1<<(7&l)+1));let d=(()=>{try{return new ImageData(r.width,r.height,{colorSpace:"srgb"})}catch(t){if(t instanceof DOMException&&"IndexSizeError"===t.name)return null;throw t}})();if(null==d)throw Error("GIF frame size is to large");let{r:u,g:p,b:f}=r.globalColorTable[c];d.data.set(h?[u,p,f,255]:[0,0,0,0]);for(let t=4;t<d.data.length;t*=2)d.data.copyWithin(t,0,t);r.backgroundImage=d;let m=-1,g=!0,v=-1,y=t=>(t&&(g=!0),m),b=t=>(null!=t&&(v=t),v);try{do g&&(r.frames.push({left:0,top:0,width:0,height:0,disposalMethod:a.Replace,image:new ImageData(1,1,{colorSpace:"srgb"}
1),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),m++,v=-1,g=!1);while(!await tB(o,r,i,y,b,e));for(let t of(r.frames.length--,r.frames)){if(t.userInputDelayFlag&&0===t.delayTime){r.totalTime=1/0;break}r.totalTime+=t.delayTime}return r}catch(t){if(t instanceof EvalError)throw Error(`error while parsing frame ${m} "${t.message}"`);throw t}}async function tq(t){if("gif"!==t.type)return void await tD(t);t.loading=!0;try{t.gifData=await tU(t.source),t.gifLoopCount=function(t){for(let e of t.applicationExtensions)if(e.identifier+e.authenticationCode==="NETSCAPE2.0")return e.data[1]+(e.data[2]<<8);return NaN}(t.gifData)??0,t.gifLoopCount||(t.gifLoopCount=1/0)}catch{t.error=!0}t.loading=!1}class tG{constructor(t){this.validTypes=["image","images"],this.loadImageShape=async t=>{if(!this._engine.loadImage)throw Error(`${h.dIx} image shape not initialized`);await this._engine.loadImage({gif:t.gif,name:t.name,replaceColor:t.replaceColor??!1,src:t.src})},this._engine=t}addImage(t){this._engine.images||(this._engine.images=[]),this._engine.images.push(t)}draw(t){let{context:e,radius:i,particle:s,opacity:n}=t,r=s.image,o=r?.element;if(r){if(e.globalAlpha=n,r.gif&&r.gifData)!function(t){let{context:e,radius:i,particle:s,delta:n}=t,r=s.image;if(!r?.gifData||!r.gif)return;let o=new OffscreenCanvas(r.gifData.width,r.gifData.height),l=o.getContext("2d");if(!l)throw Error("could not create offscreen canvas context");l.imageSmoothingQuality="low",l.imageSmoothingEnabled=!1,l.clearRect(tL.x,tL.y,o.width,o.height),void 0===s.gifLoopCount&&(s.gifLoopCount=r.gifLoopCount??0);let h=s.gifFrame??0,c={x:-(.5*r.gifData.width),y:-(.5*r.gifData.height)},d=r.gifData.frames[h];if(void 0===s.gifTime&&(s.gifTime=0),d.bitmap){switch(e.scale(i/r.gifData.width,i/r.gifData.height),d.disposalMethod){case a.UndefinedA:case a.UndefinedB:case a.UndefinedC:case a.UndefinedD:case a.Replace:l.drawImage(d.bitmap,d.left,d.top),e.drawImage(o,c.x,c.y),l.clearRect(tL.x,tL.y,o.width,o.height);break;case a.Combine:l.drawImage(d.bitmap,d.left,d.top),e.drawImage(o,c.x,c.y);break;
1case a.RestoreBackground:l.drawImage(d.bitmap,d.left,d.top),e.drawImage(o,c.x,c.y),l.clearRect(tL.x,tL.y,o.width,o.height),r.gifData.globalColorTable.length?l.putImageData(r.gifData.backgroundImage,c.x,c.y):l.putImageData(r.gifData.frames[0].image,c.x+d.left,c.y+d.top);break;case a.RestorePrevious:{let t=l.getImageData(tL.x,tL.y,o.width,o.height);l.drawImage(d.bitmap,d.left,d.top),e.drawImage(o,c.x,c.y),l.clearRect(tL.x,tL.y,o.width,o.height),l.putImageData(t,tL.x,tL.y)}}if(s.gifTime+=n.value,s.gifTime>d.delayTime){if(s.gifTime-=d.delayTime,++h>=r.gifData.frames.length){if(--s.gifLoopCount<=0)return;h=0,l.clearRect(tL.x,tL.y,o.width,o.height)}s.gifFrame=h}e.scale(r.gifData.width/i,r.gifData.height/i)}}(t);else if(o){let t=r.ratio,s={x:-i,y:-i},n=2*i;e.drawImage(o,s.x,s.y,n,n/t)}e.globalAlpha=1}}getSidesCount(){return 12}async init(t){let e=t.actualOptions;if(e.preload&&this._engine.loadImage)for(let t of e.preload)await this._engine.loadImage(t)}loadShape(t){if("image"!==t.shape&&"images"!==t.shape)return;this._engine.images||(this._engine.images=[]);let e=t.shapeData;e&&(this._engine.images.find(t=>t.name===e.name||t.source===e.src)||this.loadImageShape(e).then(()=>{this.loadShape(t)}))}particleInit(t,e){if("image"!==e.shape&&"images"!==e.shape)return;this._engine.images||(this._engine.images=[]);let i=this._engine.images,s=e.shapeData;if(!s)return;let n=e.getFillColor(),r=i.find(t=>t.name===s.name||t.source===s.src);if(!r)return;let o=s.replaceColor??r.replaceColor;if(r.loading)return void setTimeout(()=>{this.particleInit(t,e)});(async()=>{let t;(t=r.svgData&&n?await function(t,e,i,s){let n=function(t,e,i){let{svgData:s}=t;if(!s)return"";let n=(0,h.LCf)(e,i);if(s.includes("fill"))return s.replace(tz,()=>n);let r=s.indexOf(">");return`${s.substring(0,r)} fill="${n}"${s.substring(r)}`}(t,i,s.opacity?.value??1),r={color:i,gif:e.gif,data:{...t,svgData:n},loaded:!1,ratio:e.width/e.height,replaceColor:e.replaceColor,source:e.src};return new Promise(e=>{let i=new Blob([n],{type:"image/svg+xml"}),s=URL||window.URL||window.webkitURL||window,o=s.createObjectURL(i),a=new Image;a.addEventListener("load",()=>{r.loaded=!0,r.element=a,e(r),s.revokeObjectURL(o)});let l=async()=>{s.revokeObjectURL(o);let i={...t,error:!1,loading:!0};await tD(i),r.loaded=!0,r.element=i.element,e(r)};a.addEventListener("error",()=>void l()),a.src=o})}(r,s,n,e):{color:n,data:r,element:r.element,gif:r.gif,gifData:r.gifData,gifLoopCount:r.gifLoopCount,loaded:!0,ratio:s.width&&s.height?s.width/s.height:r.ratio??1,replaceColor:o,source:s.src}).ratio||(t.ratio=1);let i=s.fill??e.shapeFill,a=s.close??e.shapeClose;e.image=t,e.shapeFill=i,e.shapeClose=a})()}}class tW{constructor(){this.src="",this.gif=!1}load(t){(0,h.kZJ)(t)||(void 0!==t.gif&&(this.gif=t.gif),void 0!==t.height&&(this.height=t.height),void 0!==t.name&&(this.name=t.name),void 0!==t.replaceColor&&(this.replaceColor=t.replaceColor),void 0!==t.src&&(this.src=t.src),void 0!==t.width&&(this.width=t.width))}}class t${constructor(t){this.id="imagePreloader",this._engine=t}async getPlugin(){return await Promise.resolve(),{}}loadOptions(t,e){if(!e?.preload)return;t.preload||(t.preload=[]);let i=t.preload;for(let t of e.preload){let e=i.find(e=>e.name===t.name||e.src===t.src);if(e)e.load(t);else{let e=new tW;e.load(t),i.push(e)}}}needsPlugin(){return!0}}async function tN(t,e=!0){t.checkVersion("3.8.1"),t.loadImage||(t.loadImage=async e=>{if(!e.name&&!e.src)throw Error(`${h.dIx} no image source provided`);if(t.images||(t.images=[]),!t.images.find(t=>t.name===e.name||t.source===e.src))try{let i,s={gif:e.gif??!1,name:e.name??e.src,source:e.src,type:e.src.substring(e.src.length-3),error:!1,loading:!0,replaceColor:e.replaceColor,ratio:e.width&&e.height?e.width/e.height:void 0};t.images.push(s),i=e.gif?tq:e.replaceColor?tO:tD,await i(s)}catch{throw Error(`${h.dIx} ${e.name??e.src} not found`)}});let i=new t$(t);await t.addPlugin(i,e),await t.addShape(new tG(t),e)}class tH extends h.PVU{constructor(){super(),this.sync=!1}load(t){(0,h.kZJ)(t)||(super.load(t),void 0!==t.sync&&(this.sync=t.sync))}}class tY extends h.PVU{constructor(){super(),this.sync=!1}load(t){(0,h.kZJ)(t)||(super.load(t),void 0!==t.sync&&(this.sync=t.sync))}}class tX{constructor(){this.count=0,this.delay=new tH,this.duration=new tY}load(t){(0,h.kZJ)(t)||(void 0!==t.count&&(this.count=t.count),this.delay.load(t.delay),this.duration.load(t.duration))}}class tK{constructor(t){this.container=t}init(t){let e=this.container,i=t.options.life;i&&(t.life={delay:e.retina.reduceFactor?(0,h.VGA)(i.delay.value)*(i.delay.sync?1:(0,h.G0i)())/e.retina.reduceFactor*h.XuV:0,delayTime:0,duration:e.retina.reduceFactor?(0,h.VGA)(i.duration.value)*(i.duration.sync?1:(0,h.G0i)())/e.retina.reduceFactor*h.XuV:0,time:0,count:i.count},t.life.duration<=0&&(t.life.duration=-1),t.life.count<=0&&(t.life.count=-1),t.life&&(t.spawning=t.life.delay>0))}isEnabled(t){return!t.destroyed}loadOptions(t,...e){for(let i of(t.life||(t.life=new tX),e))t.life.load(i?.life)}
1update(t,e){this.isEnabled(t)&&t.life&&function(t,e,i){if(!t.life)return;let s=t.life,n=!1;if(t.spawning){if(s.delayTime+=e.value,!(s.delayTime>=t.life.delay))return;n=!0,t.spawning=!1,s.delayTime=0,s.time=0}if(-1===s.duration||t.spawning||(n?s.time=0:s.time+=e.value,s.time<s.duration))return;if(s.time=0,t.life.count>0&&t.life.count--,0===t.life.count)return t.destroy();let r=(0,h.DT4)(0,i.width),o=(0,h.DT4)(0,i.width);t.position.x=(0,h.U43)(r),t.position.y=(0,h.U43)(o),t.spawning=!0,s.delayTime=0,s.time=0,t.reset();let a=t.options.life;a&&(s.delay=(0,h.VGA)(a.delay.value)*h.XuV,s.duration=(0,h.VGA)(a.duration.value)*h.XuV)}(t,e,this.container.canvas.size)}}async function tQ(t,e=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("life",async t=>Promise.resolve(new tK(t)),e)}class tZ{constructor(){this.validTypes=["line"]}draw(t){let{context:e,particle:i,radius:s}=t,n=i.shapeData;e.moveTo(-s,0),e.lineTo(s,0),e.lineCap=n?.cap??"butt"}getSidesCount(){return 1}}async function tJ(t,e=!0){t.checkVersion("3.8.1"),await t.addShape(new tZ,e)}class t0{init(){}isEnabled(t){return!(0,h.B90)()&&!t.destroyed&&t.container.actualOptions.interactivity.events.onHover.parallax.enable}move(t){let e=t.container,i=e.actualOptions.interactivity.events.onHover.parallax;if((0,h.B90)()||!i.enable)return;let s=i.force,n=e.interactivity.mouse.position;if(!n)return;let r=e.canvas.size,o={x:.5*r.width,y:.5*r.height},a=i.smooth,l=t.getRadius()/s,c={x:(n.x-o.x)*l,y:(n.y-o.y)*l},{offset:d}=t;d.x+=(c.x-d.x)/a,d.y+=(c.y-d.y)/a}}async function t1(t,e=!0){t.checkVersion("3.8.1"),await t.addMover("parallax",()=>Promise.resolve(new t0),e)}class t2 extends h.U4p{constructor(t){super(t)}clear(){}init(){}interact(t){let e=this.container;void 0===t.attractDistance&&(t.attractDistance=(0,h.VGA)(t.options.move.attract.distance)*e.retina.pixelRatio);let i=t.attractDistance,s=t.getPosition();for(let n of e.particles.quadTree.queryCircle(s,i)){if(t===n||!n.options.move.attract.enable||n.destroyed||n.spawning)continue;let e=n.getPosition(),{dx:i,dy:r}=(0,h.vrU)(s,e),o=t.options.move.attract.rotate,a=i/(1e3*o.x),l=r/(1e3*o.y),c=n.size.value/t.size.value,d=1/c;t.velocity.x-=a*c,t.velocity.y-=l*c,n.velocity.x+=a*d,n.velocity.y+=l*d}}isEnabled(t){return t.options.move.attract.enable}reset(){}}async function t5(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("particlesAttract",t=>Promise.resolve(new t2(t)),e)}function t3(t,e,i,s,n,r){let o=(0,h.qE8)(t.options.collisions.absorb.speed*n.factor/10,0,s);t.size.value+=.5*o,i.size.value-=o,s<=r&&(i.size.value=0,i.destroy())}let t8=t=>{void 0===t.collisionMaxSpeed&&(t.collisionMaxSpeed=(0,h.VGA)(t.options.collisions.maxSpeed)),t.velocity.length>t.collisionMaxSpeed&&(t.velocity.length=t.collisionMaxSpeed)};function t6(t,e){(0,h.pEn)((0,h.Tgl)(t),(0,h.Tgl)(e)),t8(t),t8(e)}class t4 extends h.U4p{constructor(t){super(t)}clear(){}init(){}interact(t,e){if(t.destroyed||t.spawning)return;let i=this.container,s=t.getPosition(),n=t.getRadius();for(let r of i.particles.quadTree.queryCircle(s,2*n)){if(t===r||!r.options.collisions.enable||t.options.collisions.mode!==r.options.collisions.mode||r.destroyed||r.spawning)continue;let o=r.getPosition(),a=r.getRadius();if(!(Math.abs(Math.round(s.z)-Math.round(o.z))>n+a))(0,h.YfF)(s,o)>n+a||function(t,e,i,s){switch(t.options.collisions.mode){case h._or.absorb:let n=t.getRadius(),r=e.getRadius();void 0===n&&void 0!==r?t.destroy():void 0!==n&&void 0===r?e.destroy():void 0!==n&&void 0!==r&&(n>=r?t3(t,n,e,r,i,s):t3(e,r,t,n,i,s));break;case h._or.bounce:t6(t,e);break;case h._or.destroy:t.unbreakable||e.unbreakable||t6(t,e),void 0===t.getRadius()&&void 0!==e.getRadius()?t.destroy():void 0!==t.getRadius()&&void 0===e.getRadius()?e.destroy():void 0!==t.getRadius()&&void 0!==e.getRadius()&&(t.getRadius()>=e.getRadius()?e:t).destroy()}}(t,r,e,i.retina.pixelRatio)}}isEnabled(t){return t.options.collisions.enable}reset(){}}async function t7(t,e=!0){t.checkVersion("3.8.1"),await t.addInteractor("particlesCollisions",t=>Promise.resolve(new t4(t)),e)}class t9 extends h.jlt{constructor(t,e,i,s){super(t,e,i),this.canvasSize=s,this.canvasSize={...s}}contains(t){let{width:e,height:i}=this.canvasSize,{x:s,y:n}=t;return super.contains(t)||super.contains({x:s-e,y:n})||super.contains({x:s-e,y:n-i})||super.contains({x:s,y:n-i})}intersects(t){if(super.intersects(t))return!0;let e={x:t.position.x-this.canvasSize.width,y:t.position.y-this.canvasSize.height};if(void 0!==t.radius){let i=new h.jlt(e.x,e.y,2*t.radius);return super.intersects(i)}if(void 0!==t.size){let i=new h.M_G(e.x,e.y,2*t.size.width,2*t.size.height);return super.intersects(i)}return!1}}class et{constructor(){this.blur=5,this.color=new h.Oit,this.color.value="#000",this.enable=!1}load(t){(0,h.kZJ)(t)||(void 0!==t.blur&&(this.blur=t.blur),this.color=h.Oit.create(this.color,t.color),void 0!==t.enable&&(this.enable=t.enable))}}class ee{constructor(){this.enable=!1,this.frequency=1}load(t){(0,h.kZJ)(t)||(void 0!==t.color&&(this.color=h.Oit.create(this.color,t.color)),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.frequency&&(this.frequency=t.frequency),void 0!==t.opacity&&(this.opacity=t.opacity))}}class ei{constructor(){this.blink=!1,this.color=new h.Oit,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new et,this.triangles=new ee,this.width=1,this.warp=!1}load(t){(0,h.kZJ)(t)||(void 0!==t.id&&(this.id=t.id),void 0!==t.blink&&(this.blink=t.blink),this.color=h.Oit.create(this.color,t.color),void 0!==t.consent&&(this.consent=t.consent),void 0!==t.distance&&(this.distance=t.distance),void 0!==t.enable&&(this.enable=t.enable),void 0!==t.frequency&&(this.frequency=t.frequency),void 0!==t.opacity&&(this.opacity=t.opacity),this.shadow.load(t.shadow),this.triangles.load(t.triangles),void 0!==t.width&&(this.width=t.width),void 0!==t.warp&&(this.warp=t.warp))}}let es={x:0,y:0};class en extends h.U4p{constructor(t,e){super(t),this._setColor=t=>{if(!t.options.links)return;let e=this._linkContainer,i=t.options.links,s=void 0===i.id?e.particles.linksColor:e.particles.linksColors.get(i.id);if(s)return;let n=i.color;s=(0,h.PGG)(this._engine,n,i.blink,i.consent),void 0===i.id?e.particles.linksColor=s:e.particles.linksColors.set(i.id,s)},this._linkContainer=t,this._engine=e}clear(){}init(){this._linkContainer.particles.linksColor=void 0,this._linkContainer.particles.linksColors=new Map}interact(t){let e;if(!t.options.links)return;t.links=[];let i=t.getPosition(),s=this.container,n=s.canvas.size;if(i.x<es.x||i.y<es.y||i.x>n.width||i.y>n.height)return;let r=t.options.links,o=r.opacity,a=t.retina.linksDistance??0,l=r.warp;for(let c of(e=l?new t9(i.x,i.y,a,n):new h.jlt(i.x,i.y,a),s.particles.quadTree.query(e))){let e=c.options.links;
1if(t===c||!e?.enable||r.id!==e.id||c.spawning||c.destroyed||!c.links||t.links.some(t=>t.destination===c)||c.links.some(e=>e.destination===t))continue;let s=c.getPosition();if(s.x<es.x||s.y<es.y||s.x>n.width||s.y>n.height)continue;let d=function(t,e,i,s,n){let{dx:r,dy:o,distance:a}=(0,h.vrU)(t,e);if(!n||a<=i)return a;let l={x:Math.abs(r),y:Math.abs(o)},c={x:Math.min(l.x,s.width-l.x),y:Math.min(l.y,s.height-l.y)};return Math.sqrt(c.x**2+c.y**2)}(i,s,a,n,l&&e.warp);if(d>a)continue;let u=(1-d/a)*o;this._setColor(t),t.links.push({destination:c,opacity:u})}}isEnabled(t){return!!t.options.links?.enable}loadParticlesOptions(t,...e){for(let i of(t.links||(t.links=new ei),e))t.links.load(i?.links)}reset(){}}async function er(t,e=!0){await t.addInteractor("particlesLinks",async e=>Promise.resolve(new en(e,t)),e)}function eo(t,e){var i;let s=((i=t.map(t=>t.id)).sort((t,e)=>t-e),i.join("_")),n=e.get(s);return void 0===n&&(n=(0,h.G0i)(),e.set(s,n)),n}class ea{constructor(t,e){this._drawLinkLine=(t,e)=>{let i=t.options.links;if(!i?.enable)return;let s=this._container,n=s.actualOptions,r=e.destination,o=t.getPosition(),a=r.getPosition(),l=e.opacity;s.canvas.draw(e=>{let c,d=t.options.twinkle?.lines;if(d?.enable){let t=d.frequency,e=(0,h.BN0)(this._engine,d.color);(0,h.G0i)()<t&&e&&(c=e,l=(0,h.VGA)(d.opacity))}if(!c){let e=void 0!==i.id?s.particles.linksColors.get(i.id):s.particles.linksColor;c=(0,h._hh)(t,r,e)}if(!c)return;let u=t.retina.linksWidth??0,p=t.retina.linksDistance??0,{backgroundMask:f}=n;!function(t){let e=!1,{begin:i,end:s,engine:n,maxDistance:r,context:o,canvasSize:a,width:l,backgroundMask:c,colorLine:d,opacity:u,links:p}=t;if((0,h.YfF)(i,s)<=r)(0,h.V6E)(o,i,s),e=!0;else if(p.warp){let t,n,l={x:s.x-a.width,y:s.y},c=(0,h.vrU)(i,l);if(c.distance<=r){let e=i.y-c.dy/c.dx*i.x;t={x:0,y:e},n={x:a.width,y:e}}else{let e={x:s.x,y:s.y-a.height},o=(0,h.vrU)(i,e);if(o.distance<=r){let e=-(i.y-o.dy/o.dx*i.x)/(o.dy/o.dx);t={x:e,y:0},n={x:e,y:a.height}}else{let e={x:s.x-a.width,y:s.y-a.height},o=(0,h.vrU)(i,e);if(o.distance<=r){let e=i.y-o.dy/o.dx*i.x;n={x:(t={x:-e/(o.dy/o.dx),y:e}).x+a.width,y:t.y+a.height}}}}t&&n&&((0,h.V6E)(o,i,t),(0,h.V6E)(o,s,n),e=!0)}if(!e)return;o.lineWidth=l,c.enable&&(o.globalCompositeOperation=c.composite),o.strokeStyle=(0,h.xxz)(d,u);let{shadow:f}=p;if(f.enable){let t=(0,h.BN0)(n,f.color);t&&(o.shadowBlur=f.blur,o.shadowColor=(0,h.xxz)(t))}o.stroke()}({context:e,width:u,begin:o,end:a,engine:this._engine,maxDistance:p,canvasSize:s.canvas.size,links:i,backgroundMask:f,colorLine:c,opacity:l})})},this._drawLinkTriangle=(t,e,i)=>{let s=t.options.links;if(!s?.enable)return;let n=s.triangles;if(!n.enable)return;let r=this._container,o=r.actualOptions,a=e.destination,l=i.destination,c=n.opacity??(e.opacity+i.opacity)*.5;c<=0||r.canvas.draw(e=>{let i=t.getPosition(),d=a.getPosition(),u=l.getPosition(),p=t.retina.linksDistance??0;if((0,h.YfF)(i,d)>p||(0,h.YfF)(u,d)>p||(0,h.YfF)(u,i)>p)return;let f=(0,h.BN0)(this._engine,n.color);if(!f){let e=void 0!==s.id?r.particles.linksColors.get(s.id):r.particles.linksColor;f=(0,h._hh)(t,a,e)}f&&function(t){let{context:e,pos1:i,pos2:s,pos3:n,backgroundMask:r,colorTriangle:o,opacityTriangle:a}=t;e.beginPath(),e.moveTo(i.x,i.y),e.lineTo(s.x,s.y),e.lineTo(n.x,n.y),e.closePath(),r.enable&&(e.globalCompositeOperation=r.composite),e.fillStyle=(0,h.xxz)(o,a),e.fill()}({context:e,pos1:i,pos2:d,pos3:u,backgroundMask:o.backgroundMask,colorTriangle:f,opacityTriangle:c})})},this._drawTriangles=(t,e,i,s)=>{let n=i.destination;if(!(t.links?.triangles.enable&&n.options.links?.triangles.enable))return;let r=n.links?.filter(t=>{let e=this._getLinkFrequency(n,t.destination);return n.options.links&&e<=n.options.links.frequency&&s.findIndex(e=>e.destination===t.destination)>=0});if(r?.length)for(let s of r){let r=s.destination;this._getTriangleFrequency(e,n,r)>t.links.triangles.frequency||this._drawLinkTriangle(e,i,s)}},this._getLinkFrequency=(t,e)=>eo([t,e],this._freqs.links),this._getTriangleFrequency=(t,e,i)=>eo([t,e,i],this._freqs.triangles),this._container=t,this._engine=e,this._freqs={links:new Map,triangles:new Map}}
1drawParticle(t,e){let{links:i,options:s}=e;if(!i?.length)return;let n=i.filter(t=>s.links&&(s.links.frequency>=1||this._getLinkFrequency(e,t.destination)<=s.links.frequency));for(let t of n)this._drawTriangles(s,e,t,n),t.opacity>0&&(e.retina.linksWidth??0)>0&&this._drawLinkLine(e,t)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map,await Promise.resolve()}particleCreated(t){if(t.links=[],!t.options.links)return;let e=this._container.retina.pixelRatio,{retina:i}=t,{distance:s,width:n}=t.options.links;i.linksDistance=s*e,i.linksWidth=n*e}particleDestroyed(t){t.links=[]}}class el{constructor(t){this.id="links",this._engine=t}getPlugin(t){return Promise.resolve(new ea(t,this._engine))}loadOptions(){}needsPlugin(){return!0}}async function eh(t,e=!0){let i=new el(t);await t.addPlugin(i,e)}async function ec(t,e=!0){t.checkVersion("3.8.1"),await er(t,e),await eh(t,e)}let ed={x:0,y:0};class eu{draw(t){let{particle:e,radius:i}=t;!function(t,e,i){let{context:s}=t,n=i.count.numerator*i.count.denominator,r=i.count.numerator/i.count.denominator,o=Math.PI-(0,h.puj)(180*(r-2)/r);if(s){s.beginPath(),s.translate(e.x,e.y),s.moveTo(ed.x,ed.y);for(let t=0;t<n;t++)s.lineTo(i.length,ed.y),s.translate(i.length,ed.y),s.rotate(o)}}(t,this.getCenter(e,i),this.getSidesData(e,i))}getSidesCount(t){let e=t.shapeData;return Math.round((0,h.VGA)(e?.sides??5))}}class ep extends eu{constructor(){super(...arguments),this.validTypes=["polygon"]}getCenter(t,e){return{x:-e/(t.sides/3.5),y:-e/.76}}getSidesData(t,e){let i=t.sides;return{count:{denominator:1,numerator:i},length:2.66*e/(i/3)}}}class ef extends eu{constructor(){super(...arguments),this.validTypes=["triangle"]}getCenter(t,e){return{x:-e,y:e/1.66}}getSidesCount(){return 3}getSidesData(t,e){return{count:{denominator:2,numerator:3},length:2*e}}}async function em(t,e=!0){t.checkVersion("3.8.1"),await t.addShape(new ep,e)}async function eg(t,e=!0){t.checkVersion("3.8.1"),await t.addShape(new ef,e)}async function ev(t,e=!0){t.checkVersion("3.8.1"),await em(t,e),await eg(t,e)}class ey{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(t){(0,h.kZJ)(t)||(void 0!==t.enable&&(this.enable=t.enable),void 0!==t.speed&&(this.speed=(0,h.DT4)(t.speed)),void 0!==t.decay&&(this.decay=(0,h.DT4)(t.decay)),void 0!==t.sync&&(this.sync=t.sync))}}class eb extends h.PVU{constructor(){super(),this.animation=new ey,this.direction=h.pTR.clockwise,this.path=!1,this.value=0}load(t){(0,h.kZJ)(t)||(super.load(t),void 0!==t.direction&&(this.direction=t.direction),this.animation.load(t.animation),void 0!==t.path&&(this.path=t.path))}}let ex=2*Math.PI;class ew{constructor(t){this.container=t}init(t){let e=t.options.rotate;if(!e)return;t.rotate={enable:e.animation.enable,value:(0,h.puj)((0,h.VGA)(e.value)),min:0,max:ex},t.pathRotation=e.path;let i=e.direction;switch(i===h.pTR.random&&(i=Math.floor(2*(0,h.G0i)())>0?h.pTR.counterClockwise:h.pTR.clockwise),i){case h.pTR.counterClockwise:case"counterClockwise":t.rotate.status=h.H_P.decreasing;break;case h.pTR.clockwise:t.rotate.status=h.H_P.increasing}let s=e.animation;s.enable&&(t.rotate.decay=1-(0,h.VGA)(s.decay),t.rotate.velocity=(0,h.VGA)(s.speed)/360*this.container.retina.reduceFactor,s.sync||(t.rotate.velocity*=(0,h.G0i)())),t.rotation=t.rotate.value}isEnabled(t){let e=t.options.rotate;return!!e&&!t.destroyed&&!t.spawning&&(!!e.value||e.animation.enable||e.path)}loadOptions(t,...e){for(let i of(t.rotate||(t.rotate=new eb),e))t.rotate.load(i?.rotate)}update(t,e){this.isEnabled(t)&&(t.isRotating=!!t.rotate,t.rotate&&((0,h.UC0)(t,t.rotate,!1,h.VKE.none,e),t.rotation=t.rotate.value))}}async function ek(t,e=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("rotate",t=>Promise.resolve(new ew(t)),e)}let eP=Math.sqrt(2);class e_{constructor(){this.validTypes=["edge","square"]}draw(t){let{context:e,radius:i}=t,s=i/eP,n=2*s;e.rect(-s,-s,n,n)}getSidesCount(){return 4}}async function eT(t,e=!0){t.checkVersion("3.8.1"),await t.addShape(new e_,e)}let eM={x:0,y:0};class eS{constructor(){this.validTypes=["star"]}draw(t){let{context:e,particle:i,radius:s}
1=t,n=i.sides,r=i.starInset??2;e.moveTo(eM.x,eM.y-s);for(let t=0;t<n;t++)e.rotate(Math.PI/n),e.lineTo(eM.x,eM.y-s*r),e.rotate(Math.PI/n),e.lineTo(eM.x,eM.y-s)}getSidesCount(t){let e=t.shapeData;return Math.round((0,h.VGA)(e?.sides??5))}particleInit(t,e){let i=e.shapeData;e.starInset=(0,h.VGA)(i?.inset??2)}}async function eC(t,e=!0){t.checkVersion("3.8.1"),await t.addShape(new eS,e)}class eE{constructor(t,e){this._container=t,this._engine=e}init(t){let e=this._container,i=t.options,s=(0,h.TA3)(i.stroke,t.id,i.reduceDuplicates);t.strokeWidth=(0,h.VGA)(s.width)*e.retina.pixelRatio,t.strokeOpacity=(0,h.VGA)(s.opacity??1),t.strokeAnimation=s.color?.animation;let n=(0,h.R5R)(this._engine,s.color)??t.getFillColor();n&&(t.strokeColor=(0,h.pzy)(n,t.strokeAnimation,e.retina.reduceFactor))}isEnabled(t){let e=t.strokeAnimation,{strokeColor:i}=t;return!t.destroyed&&!t.spawning&&!!e&&(i?.h.value!==void 0&&i.h.enable||i?.s.value!==void 0&&i.s.enable||i?.l.value!==void 0&&i.l.enable)}update(t,e){this.isEnabled(t)&&(0,h.JvX)(t.strokeColor,e)}}async function eA(t,e=!0){t.checkVersion("3.8.1"),await t.addParticleUpdater("strokeColor",e=>Promise.resolve(new eE(e,t)),e)}async function ez(t,e=!0){t.checkVersion("3.8.1"),await t1(t,!1),await N(t,!1),await Z(t,!1),await tr(t,!1),await th(t,!1),await tp(t,!1),await tm(t,!1),await ty(t,!1),await tw(t,!1),await tS(t,!1),await tA(t,!1),await t5(t,!1),await t7(t,!1),await ec(t,!1),await j(t,!1),await U(t,!1),await tN(t,!1),await tJ(t,!1),await ev(t,!1),await eT(t,!1),await eC(t,!1),await tQ(t,!1),await ek(t,!1),await eA(t,!1),await L(t,e)}},76333:(t,e,i)=>{i.d(e,{g:()=>r});var s=i(23387),n=i(64803);function r(t,e){let i=t.getValue("willChange");if((0,n.S)(i)&&i.add)return i.add(e);if(!i&&s.W.WillChange){let i=new s.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},76377:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(86467).A)("filled","layout-bottombar-filled","LayoutBottombarFilled",[["path",{d:"M18 3a3 3 0 0 1 2.995 2.824l.005 .176v12a3 3 0 0 1 -2.824 2.995l-.176 .005h-12a3 3 0 0 1 -2.995 -2.824l-.005 -.176v-12a3 3 0 0 1 2.824 -2.995l.176 -.005h12zm0 2h-12a1 1 0 0 0 -.993 .883l-.007 .117v9h14v-9a1 1 0 0 0 -.883 -.993l-.117 -.007z",key:"svg-0"}]])},77695:(t,e,i)=>{i.d(e,{i:()=>B});class s{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t){let e=this.animations.map(e=>e.attachTimeline(t));return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class n extends s{then(t,e){return this.finished.finally(t).then(()=>{})}}var r=i(56668),o=i(84687),a=i(79115),l=i(43128),h=i(4608),c=i(72017),d=i(64803),u=i(47215),p=i(54542),f=i(61081);function m(t,e){return(0,f.h)(t)?t[((t,e,i)=>{let s=e-t;return((i-t)%s+s)%s+t})(0,t.length,e)]:t}var g=i(45818),v=i(42198);function y(t){return"object"==typeof t&&!Array.isArray(t)}function b(t,e,i,s){return"string"==typeof t&&y(e)?(0,v.K)(t,i,s):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function x(t,e,i,s){return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?i:e.startsWith("<")?Math.max(0,i+parseFloat(e.slice(1))):s.get(e)??t}var w=i(33210);function k(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function P(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function _(t,e){return e[t]||(e[t]=[]),e[t]}let T=t=>"number"==typeof t,M=t=>t.every(T);var S=i(65511),C=i(19578),E=i(69782),A=i(25943),z=i(75245),D=i(81786),O=i(63562);class R extends O.B{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(e in t){let i=t[e];if("string"==typeof i||"number"==typeof i)return i}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return(0,D.ge)()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}var V=i(60728);function I(t){let e={presenceContext:null,props:{}
1,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=(0,E.x)(t)&&!(0,A.h)(t)?new V.l(e):new z.M(e);i.mount(t),S.C.set(t,i)}function L(t){let e=new R({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),S.C.set(t,e)}var j=i(35580);function F(t,e,i,s){let n=[];if((0,d.S)(t)||"number"==typeof t||"string"==typeof t&&!y(e))n.push((0,j.z)(t,y(e)&&e.default||e,i&&i.default||i));else{let r=b(t,e,s),o=r.length;(0,p.V)(!!o,"No valid elements provided.","no-valid-elements");for(let t=0;t<o;t++){let s=r[t];(0,p.V)(null!==s,"You're trying to perform an animation on null. Ensure that selectors are correctly finding elements and refs are correctly hydrated.","animate-null");let a=s instanceof Element?I:L;S.C.has(s)||a(s);let l=S.C.get(s),h={...i};"delay"in h&&"function"==typeof h.delay&&(h.delay=h.delay(t,o)),n.push(...(0,C.$)(l,{...e,transition:h},{}))}}return n}let B=function(t){return function(e,i,s){let f=[],v=new n(f=Array.isArray(e)&&e.some(Array.isArray)?function(t,e,i){let s=[];return(function(t,{defaultTransition:e={},...i}={},s,n){let o=e.duration||.3,f=new Map,v=new Map,y={},T=new Map,S=0,C=0,E=0;for(let i=0;i<t.length;i++){let f=t[i];if("string"==typeof f){T.set(f,C);continue}if(!Array.isArray(f)){T.set(f.name,x(C,f.at,S,T));continue}let[g,k,D={}]=f;void 0!==D.at&&(C=x(C,D.at,S,T));let O=0,R=(t,i,s,d=0,f=0)=>{var g;let v=Array.isArray(g=t)?g:[g],{delay:y=0,times:b=(0,a.Z)(v),type:x="keyframes",repeat:k,repeatType:P,repeatDelay:_=0,...T}=i,{ease:S=e.ease||"easeOut",duration:A}=i,z="function"==typeof y?y(d,f):y,D=v.length,R=(0,l.W)(x)?x:n?.[x||"keyframes"];if(D<=2&&R){let t=100;2===D&&M(v)&&(t=Math.abs(v[1]-v[0]));let e={...T};void 0!==A&&(e.duration=(0,u.f)(A));let i=(0,h.X)(e,t,R);S=i.ease,A=i.duration}A??(A=o);let V=C+z;1===b.length&&0===b[0]&&(b[1]=1);let I=b.length-v.length;if(I>0&&(0,c.f)(b,I),1===v.length&&v.unshift(null),k){(0,p.V)(k<20,"Repeat count too high, must be less than 20","repeat-count-high");A*=k+1;let t=[...v],e=[...b],i=[...S=Array.isArray(S)?[...S]:[S]];for(let s=0;s<k;s++){v.push(...t);for(let n=0;n<t.length;n++)b.push(e[n]+(s+1)),S.push(0===n?"linear":m(i,n-1))}for(let t=0;t<b.length;t++)b[t]=b[t]/(k+1)}let L=V+A;!function(t,e,i,s,n,o){for(let e=0;e<t.length;e++){let i=t[e];i.at>n&&i.at<o&&((0,r.Ai)(t,i),e--)}for(let r=0;r<e.length;r++)t.push({value:e[r],at:(0,w.k)(n,o,s[r]),easing:m(i,r)})}(s,v,S,b,V,L),O=Math.max(z+A,O),E=Math.max(L,E)};if((0,d.S)(g))R(k,D,_("default",P(g,v)));else{let t=b(g,k,s,y),e=t.length;for(let i=0;i<e;i++){let s=P(t[i],v);for(let t in k){var A,z;R(k[t],(A=D,z=t,A&&A[z]?{...A,...A[z]}:{...A}),_(t,s),i,e)}}}S=C,C+=O}return v.forEach((t,s)=>{for(let n in t){let r=t[n];r.sort(k);let o=[],a=[],l=[];for(let t=0;t<r.length;t++){let{at:e,value:i,easing:s}=r[t];o.push(i),a.push((0,g.q)(0,E,e)),l.push(s||"easeOut")}0!==a[0]&&(a.unshift(0),o.unshift(o[0]),l.unshift("easeInOut")),1!==a[a.length-1]&&(a.push(1),o.push(null)),f.has(s)||f.set(s,{keyframes:{},transition:{}});let h=f.get(s);h.keyframes[n]=o,h.transition[n]={...e,duration:E,ease:l,times:a,...i}}}),f})(t,e,i,{spring:o.o}).forEach(({keyframes:t,transition:e},i)=>{s.push(...F(i,t,e))}),s}(e,i,void 0):F(e,i,s,void 0));return t&&(t.animations.push(v),v.finished.then(()=>{(0,r.Ai)(t.animations,v)})),v}}()},78450:(t,e,i)=>{i.d(e,{I:()=>s});let s=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},78588:(t,e,i)=>{function s({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function n({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function r(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}i.d(e,{FY:()=>s,bS:()=>r,pA:()=>n})},78606:(t,e,i)=>{i.d(e,{j:()=>n,p:()=>o});let s=t=>e=>"string"==typeof e&&e.startsWith(t),n=s("--"),r=s("var(--"),o=t=>!!r(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},78660:(t,e,i)=>{i.d(e,{_:()=>a});var s=i(20419),n=i(19578),r=i(56622);function o(t,e,i={}){let a=(0,s.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:l=t.getDefaultTransition()||{}}=a||{};i.transitionOverride&&(l=i.transitionOverride);let h=a?()=>Promise.all((0,n.$)(t,a,i)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:n=0,staggerChildren:a,staggerDirection:h}=l;
1return function(t,e,i=0,s=0,n=0,a=1,l){let h=[];for(let c of t.variantChildren)c.notify("AnimationStart",e),h.push(o(c,e,{...l,delay:i+("function"==typeof s?0:s)+(0,r.L)(t.variantChildren,c,s,n,a)}).then(()=>c.notify("AnimationComplete",e)));return Promise.all(h)}(t,e,s,n,a,h,i)}:()=>Promise.resolve(),{when:d}=l;if(!d)return Promise.all([h(),c(i.delay)]);{let[t,e]="beforeChildren"===d?[h,c]:[c,h];return t().then(()=>e())}}function a(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>o(t,e,i)));else if("string"==typeof e)r=o(t,e,i);else{let o="function"==typeof e?(0,s.K)(t,e,i.custom):e;r=Promise.all((0,n.$)(t,o,i))}return r.then(()=>{t.notify("AnimationComplete",e)})}},78777:(t,e,i)=>{i.d(e,{r:()=>s});function s(t,e){return t?.[e]??t?.default??t}},79115:(t,e,i)=>{i.d(e,{Z:()=>n});var s=i(72017);function n(t){let e=[0];return(0,s.f)(e,t.length-1),e}},80131:(t,e,i)=>{i.d(e,{Ay:()=>o,iC:()=>a});var s=i(70046),n=i(95155),r=i(12115);let o=t=>{let e=t.id??"tsparticles";return(0,r.useEffect)(()=>{let i;return s.$k3.load({id:e,url:t.url,options:t.options}).then(e=>{var s;i=e,null==(s=t.particlesLoaded)||s.call(t,e)}),()=>{null==i||i.destroy()}},[e,t,t.url,t.options]),(0,n.jsx)("div",{id:e,className:t.className})};async function a(t){await t(s.$k3)}},80845:(t,e,i)=>{i.d(e,{t:()=>s});let s=(0,i(12115).createContext)(null)},81786:(t,e,i)=>{i.d(e,{ge:()=>o,xU:()=>n});let s=()=>({translate:0,scale:1,origin:0,originPoint:0}),n=()=>({x:s(),y:s()}),r=()=>({min:0,max:0}),o=()=>({x:r(),y:r()})},82076:(t,e,i)=>{i.d(e,{B:()=>a});var s=i(7684),n=i(34158);let r={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"};function a(t,{attrX:e,attrY:i,attrScale:a,pathLength:l,pathSpacing:h=1,pathOffset:c=0,...d},u,p,f){if((0,s.O)(t,d,p),u){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:g}=t;m.transform&&(g.transform=m.transform,delete m.transform),(g.transform||m.transformOrigin)&&(g.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),g.transform&&(g.transformBox=f?.transformBox??"fill-box",delete m.transformBox),void 0!==e&&(m.x=e),void 0!==i&&(m.y=i),void 0!==a&&(m.scale=a),void 0!==l&&function(t,e,i=1,s=0,a=!0){t.pathLength=1;let l=a?r:o;t[l.offset]=n.px.transform(-s);let h=n.px.transform(e),c=n.px.transform(i);t[l.array]=`${h} ${c}`}(m,l,h,c,!1)}},82885:(t,e,i)=>{i.d(e,{M:()=>n});var s=i(12115);function n(t){let e=(0,s.useRef)(null);return null===e.current&&(e.current=t()),e.current}},83014:(t,e,i)=>{i.d(e,{i:()=>s});let s=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},84160:(t,e,i)=>{i.d(e,{Ib:()=>u,ry:()=>d,zs:()=>c});let s=t=>180*t/Math.PI,n=t=>o(s(Math.atan2(t[1],t[0]))),r={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:n,rotateZ:n,skewX:t=>s(Math.atan(t[1])),skewY:t=>s(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),h={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(s(Math.atan2(t[6],t[5]))),rotateY:t=>o(s(Math.atan2(-t[2],t[0]))),rotateZ:n,rotate:n,skewX:t=>s(Math.atan(t[4])),skewY:t=>s(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function c(t){return+!!t.includes("scale")}function d(t,e){let i,s;if(!t||"none"===t)return c(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=h,s=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=r,s=e}if(!s)return c(e);let o=i[e],a=s[1].split(",").map(p);return"function"==typeof o?o(a):a[o]}let u=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},84687:(t,e,i)=>{i.d(e,{o:()=>m});var s=i(53678),n=i(47215),r=i(47705),o=i(52458),a=i(4608),l=i(73945);let h={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var c=i(54542);function d(t,e){return t*Math.sqrt(1-e*e)}let u=["duration","bounce"],p=["stiffness","damping","mass"];function f(t,e){return e.some(e=>void 0!==t[e])}function m(t=h.visualDuration,e=h.bounce){let i,a="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:g,restDelta:v}=a,y=a.keyframes[0],b=a.keyframes[a.keyframes.length-1],x={done:!1,value:y},{stiffness:w,damping:k,mass:P,duration:_,velocity:T,isResolvedFromDuration:M}=function(t){let e={velocity:h.velocity,stiffness:h.stiffness,damping:h.damping,mass:h.mass,isResolvedFromDuration:!1,...t};if(!f(t,p)&&f(t,u))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,s.q)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:h.mass,stiffness:n,damping:r}}else{let i=function({duration:t=h.duration,bounce:e=h.bounce,velocity:i=h.velocity,mass:r=h.mass}){let o,a;(0,c.$)(t<=(0,n.f)(h.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-e;l=(0,s.q)(h.minDamping,h.maxDamping,l),t=(0,s.q)(h.minDuration,h.maxDuration,(0,n.X)(t)),l<1?(o=e=>{let s=e*l,n=s*t;return .001-(s-i)/d(e,l)*Math.exp(-n)},a=e=>{let s=e*l*t,n=Math.pow(l,2)*Math.pow(e,2)*t,r=Math.exp(-s),a=d(Math.pow(e,2),l);return(s*i+i-n)*r*(-o(e)+.001>0?-1:1)/a}):(o=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));
1let u=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(o,a,5/t);if(t=(0,n.f)(t),isNaN(u))return{stiffness:h.stiffness,damping:h.damping,duration:t};{let e=Math.pow(u,2)*r;return{stiffness:e,damping:2*l*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:h.mass}).isResolvedFromDuration=!0}return e}({...a,velocity:-(0,n.X)(a.velocity||0)}),S=T||0,C=k/(2*Math.sqrt(w*P)),E=b-y,A=(0,n.X)(Math.sqrt(w/P)),z=5>Math.abs(E);if(g||(g=z?h.restSpeed.granular:h.restSpeed.default),v||(v=z?h.restDelta.granular:h.restDelta.default),C<1){let t=d(A,C);i=e=>b-Math.exp(-C*A*e)*((S+C*A*E)/t*Math.sin(t*e)+E*Math.cos(t*e))}else if(1===C)i=t=>b-Math.exp(-A*t)*(E+(S+A*E)*t);else{let t=A*Math.sqrt(C*C-1);i=e=>{let i=Math.exp(-C*A*e),s=Math.min(t*e,300);return b-i*((S+C*A*E)*Math.sinh(s)+t*E*Math.cosh(s))/t}}let D={calculatedDuration:M&&_||null,next:t=>{let e=i(t);if(M)x.done=t>=_;else{let s=0===t?S:0;C<1&&(s=0===t?(0,n.f)(S):(0,l.Y)(i,t,e));let r=Math.abs(b-e)<=v;x.done=Math.abs(s)<=g&&r}return x.value=x.done?b:e,x},toString:()=>{let t=Math.min((0,o.t)(D),o.Y),e=(0,r.K)(e=>D.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return D}m.applyToOptions=t=>{let e=(0,a.X)(t,100,m);return t.ease=e.ease,t.duration=(0,n.f)(e.duration),t.type="keyframes",t}},85449:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(86467).A)("outline","shopping-bag-plus","ShoppingBagPlus",[["path",{d:"M12.5 21h-3.926a3 3 0 0 1 -2.965 -2.544l-1.255 -8.152a2 2 0 0 1 1.977 -2.304h11.339a2 2 0 0 1 1.977 2.304l-.263 1.708",key:"svg-0"}],["path",{d:"M16 19h6",key:"svg-1"}],["path",{d:"M19 16v6",key:"svg-2"}],["path",{d:"M9 11v-5a3 3 0 0 1 6 0v5",key:"svg-3"}]])},87123:(t,e,i)=>{i.d(e,{k:()=>s});let{schedule:s}=(0,i(58437).I)(queueMicrotask,!1)},90869:(t,e,i)=>{i.d(e,{L:()=>s});let s=(0,i(12115).createContext)({})},91765:(t,e,i)=>{i.d(e,{V:()=>s});let s=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},93095:(t,e,i)=>{i.d(e,{n:()=>s});let s=t=>"string"==typeof t&&"svg"===t.toLowerCase()},93550:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(19946).A)("coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]])},94870:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(19946).A)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},96147:(t,e,i)=>{i.d(e,{OU:()=>h,Ql:()=>c,Ww:()=>u,hq:()=>r,o4:()=>l});var s=i(33210),n=i(62662);function r(t,e,i){return i+e*(t-i)}function o(t,e,i,s,n){return void 0!==n&&(t=s+n*(t-s)),s+i*(t-s)+e}function a(t,e=0,i=1,s,n){t.min=o(t.min,e,i,s,n),t.max=o(t.max,e,i,s,n)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function h(t,e,i,s=!1){let r,o,a=i.length;if(a){e.x=e.y=1;for(let h=0;h<a;h++){o=(r=i[h]).projectionDelta;let{visualElement:a}=r.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&u(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),s&&(0,n.HD)(r.latestValues)&&u(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function c(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,i,n,r=.5){let o=(0,s.k)(t.min,t.max,r);a(t,e,i,o,n)}function u(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},97494:(t,e,i)=>{i.d(e,{E:()=>n});var s=i(12115);let n=i(68972).B?s.useLayoutEffect:s.useEffect},98312:(t,e,i)=>{i.d(e,{U:()=>s,_:()=>n});let s=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],n=["initial",...s]}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.