try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="9713d472-21d7-434b-9d5a-d3525ba904bd",t._sentryDebugIdIdentifier="sentry-dbid-9713d472-21d7-434b-9d5a-d3525ba904bd")}catch(t){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3922],{1893:(t,e,i)=>{i.d(e,{m:()=>g});var n=i(73030),r=i(971),s=i(38239),a=i(10372),o=i(58609),l=i(10133),u=i(25532),h=i(68643),d=i(90074),p=i(23466),c=i(34615),m=i(24377),f=i(91294);let v={anticipate:a.b,backInOut:o.ZZ,circInOut:l.tn};class g extends h.i{constructor(t){super(t);let{name:e,motionValue:i,element:n,keyframes:r}=this.options;this.resolver=new u.K(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:r=300,times:s,ease:a,type:o,motionValue:l,name:u,startTime:h}=this.options;if(!l.owner||!l.owner.current)return!1;if("string"==typeof a&&(0,n.nL)()&&a in v&&(a=v[a]),i=this.options,(0,n.WH)(i.type)||"spring"===i.type||!(0,n.yL)(i.ease)){let{onComplete:e,onUpdate:i,motionValue:n,element:l,...u}=this.options,h=function(t,e){let i=new d.o({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},r=[],s=0;for(;!n.done&&s<2e4;)r.push((n=i.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),r=h.duration,s=h.times,a=h.ease,o="keyframes"}let p=(0,c.R)(l.owner.current,u,t,{...this.options,duration:r,times:s,ease:a});return p.startTime=null!=h?h:this.calcStartTime(),this.pendingTimeline?((0,n.vG)(p,this.pendingTimeline),this.pendingTimeline=void 0):p.onfinish=()=>{let{onComplete:i}=this.options;l.set((0,m.X)(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:p,duration:r,times:s,type:o,ease:a,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,r.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,r.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,r.f)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return s.l;let{animation:i}=e;(0,n.vG)(i,t)}else this.pendingTimeline=t;return s.l}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:n,type:s,ease:a,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,element:u,...h}=this.options,p=new d.o({...h,keyframes:i,duration:n,type:s,ease:a,times:o,isGenerator:!0}),c=(0,r.f)(this.time);t.setWithVelocity(p.sample(c-10).value,p.sample(c).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:a}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return(0,f.B)()&&i&&p.M.has(i)&&!o&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==a}}},68643:(t,e,i)=>{i.d(e,{i:()=>d});var n=i(64455),r=i(89226),s=i(21205),a=i(73030),o=i(97858),l=i(8941);let u=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(l.f.test(t)||"0"===t)&&!t.startsWith("url("));var h=i(24377);class d{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:a="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=n.k.now(),this.options={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:s,repeatType:a,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,r.q)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=n.k.now(),this.hasAttemptedResolve=!0;let{name:i,type:r,velocity:l,delay:d,onComplete:p,onUpdate:c,isGenerator:m}=this.options;if(!m&&!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],l=u(r,e),h=u(s,e);return(0,o.$)(l===h,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!l&&!!h&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i{this.resolveFinishedPromise=t})}}},90074:(t,e,i)=>{i.d(e,{o:()=>w,L:()=>S});var n=i(73030),r=i(971),s=i(89226),a=i(98502),o=i(49185),l=i(86477),u=i(65258),h=i(49212),d=i(31588),p=i(72610),c=i(68643),m=i(64455),f=i(97865);let v=t=>{let e=({timestamp:e})=>t(e);return{start:()=>f.Gt.update(e,!0),stop:()=>(0,f.WG)(e),now:()=>f.uv.isProcessing?f.uv.timestamp:m.k.now()}};var g=i(24377);let y={decay:h.B,inertia:h.B,tween:d.i,keyframes:d.i,spring:p.o},b=t=>t/100;class w extends c.i{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:n,keyframes:r}=this.options,a=(null==n?void 0:n.KeyframeResolver)||s.h;this.resolver=new a(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i;let{type:r="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:o,velocity:h=0}=this.options,p=(0,n.WH)(r)?r:y[r]||d.i;p!==d.i&&"number"!=typeof t[0]&&(e=(0,u.F)(b,(0,l.j)(t[0],t[1])),t=[0,100]);let c=p({...this.options,keyframes:t});"mirror"===o&&(i=p({...this.options,keyframes:[...t].reverse(),velocity:-h})),null===c.calculatedDuration&&(c.calculatedDuration=(0,n.tu)(c));let{calculatedDuration:m}=c,f=m+a;return{generator:c,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:m,resolvedDuration:f,totalDuration:f*(s+1)-a}}onPostResolved(){let{autoplay:t=!0}=this.options;a.q.mainThread++,this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:h,resolvedDuration:d}=i;if(null===this.startTime)return r.next(0);let{delay:p,repeat:c,repeatType:m,repeatDelay:f,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-h/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let y=this.currentTime-p*(this.speed>=0?1:-1),b=this.speed>=0?y<0:y>h;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=h);let w=this.currentTime,S=r;if(c){let t=Math.min(this.currentTime,h)/d,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===m?(i=1-i,f&&(i-=f/d)):"mirror"===m&&(S=s)),w=(0,o.q)(0,1,i)*d}let T=b?{done:!1,value:l[0]}:S.next(w);a&&(T.value=a(T.value));let{done:A}=T;b||null===u||(A=this.speed>=0?this.currentTime>=h:this.currentTime<=0);let V=null===this.holdTime&&("finished"===this.state||"running"===this.state&&A);return V&&void 0!==n&&(T.value=(0,g.X)(l,this.options,n)),v&&v(T.value),V&&this.finish(),T}get duration(){let{resolved:t}=this;return t?(0,r.X)(t.calculatedDuration):0}get time(){return(0,r.X)(this.currentTime)}set time(t){t=(0,r.f)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,r.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=v,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel(),a.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}function S(t){return new w(t)}},23466:(t,e,i)=>{i.d(e,{M:()=>n});let n=new Set(["opacity","clipPath","filter","transform"])},34615:(t,e,i)=>{i.d(e,{R:()=>a});var n=i(73030),r=i(98502),s=i(55322);function a(t,e,i,{delay:o=0,duration:l=300,repeat:u=0,repeatType:h="loop",ease:d="easeInOut",times:p}={}){let c={[e]:i};p&&(c.offset=p);let m=(0,n.TU)(d,l);Array.isArray(m)&&(c.easing=m),s.Q.value&&r.q.waapi++;let f=t.animate(c,{delay:o,duration:l,easing:Array.isArray(m)?"linear":m,fill:"both",iterations:u+1,direction:"reverse"===h?"alternate":"normal"});return s.Q.value&&f.finished.finally(()=>{r.q.waapi--}),f}},24377:(t,e,i)=>{i.d(e,{X:()=>r});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},r){let s=t.filter(n),a=e&&"loop"!==i&&e%2==1?0:s.length-1;return a&&void 0!==r?r:s[a]}},91294:(t,e,i)=>{i.d(e,{B:()=>n});let n=(0,i(13425).p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"))},49212:(t,e,i)=>{i.d(e,{B:()=>s});var n=i(72610),r=i(97931);function s({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:l,min:u,max:h,restDelta:d=.5,restSpeed:p}){let c,m;let f=t[0],v={done:!1,value:f},g=t=>void 0!==u&&th,y=t=>void 0===u?h:void 0===h?u:Math.abs(u-t)-b*Math.exp(-t/s),A=t=>S+T(t),V=t=>{let e=T(t),i=A(t);v.done=Math.abs(e)<=d,v.value=v.done?S:i},x=t=>{g(v.value)&&(c=t,m=(0,n.o)({keyframes:[v.value,y(v.value)],velocity:(0,r.Y)(A,t,v.value),damping:a,stiffness:o,restDelta:d,restSpeed:p}))};return x(0),{calculatedDuration:null,next:t=>{let e=!1;return(m||void 0!==c||(e=!0,V(t),x(t)),void 0!==c&&t>=c)?m.next(t-c):(e||V(t),v)}}}},31588:(t,e,i)=>{i.d(e,{i:()=>l});var n=i(7450),r=i(94290),s=i(54502),a=i(30597),o=i(35402);function l({duration:t=300,keyframes:e,times:i,ease:l="easeInOut"}){let u=(0,r.h)(l)?l.map(s.K):(0,s.K)(l),h={done:!1,value:e[0]},d=(i&&i.length===e.length?i:(0,o.Z)(e)).map(e=>e*t),p=(0,a.G)(d,e,{ease:Array.isArray(u)?u:e.map(()=>u||n.am).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(h.value=p(e),h.done=e>=t,h)}}},42934:(t,e,i)=>{i.d(e,{s:()=>n});let n={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}},56653:(t,e,i)=>{i.d(e,{a:()=>l,p:()=>o});var n=i(97858),r=i(971),s=i(49185),a=i(42934);function o({duration:t=a.s.duration,bounce:e=a.s.bounce,velocity:i=a.s.velocity,mass:o=a.s.mass}){let u,h;(0,n.$)(t<=(0,r.f)(a.s.maxDuration),"Spring duration must be 10 seconds or less");let d=1-e;d=(0,s.q)(a.s.minDamping,a.s.maxDamping,d),t=(0,s.q)(a.s.minDuration,a.s.maxDuration,(0,r.X)(t)),d<1?(u=e=>{let n=e*d,r=n*t;return .001-(n-i)/l(e,d)*Math.exp(-r)},h=e=>{let n=e*d*t,r=Math.pow(d,2)*Math.pow(e,2)*t,s=Math.exp(-n),a=l(Math.pow(e,2),d);return(n*i+i-r)*s*(-u(e)+.001>0?-1:1)/a}):(u=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),h=e=>t*t*(i-e)*Math.exp(-e*t));let p=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(u,h,5/t);if(t=(0,r.f)(t),isNaN(p))return{stiffness:a.s.stiffness,damping:a.s.damping,duration:t};{let e=Math.pow(p,2)*o;return{stiffness:e,damping:2*d*Math.sqrt(o*e),duration:t}}}function l(t,e){return t*Math.sqrt(1-e*e)}},72610:(t,e,i)=>{i.d(e,{o:()=>p});var n=i(73030),r=i(971),s=i(49185),a=i(97931),o=i(42934),l=i(56653);let u=["duration","bounce"],h=["stiffness","damping","mass"];function d(t,e){return e.some(e=>void 0!==t[e])}function p(t=o.s.visualDuration,e=o.s.bounce){let i;let c="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:m,restDelta:f}=c,v=c.keyframes[0],g=c.keyframes[c.keyframes.length-1],y={done:!1,value:v},{stiffness:b,damping:w,mass:S,duration:T,velocity:A,isResolvedFromDuration:V}=function(t){let e={velocity:o.s.velocity,stiffness:o.s.stiffness,damping:o.s.damping,mass:o.s.mass,isResolvedFromDuration:!1,...t};if(!d(t,h)&&d(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:o.s.mass,stiffness:n,damping:r}}else{let i=(0,l.p)(t);(e={...e,...i,mass:o.s.mass}).isResolvedFromDuration=!0}}return e}({...c,velocity:-(0,r.X)(c.velocity||0)}),x=A||0,M=w/(2*Math.sqrt(b*S)),P=g-v,k=(0,r.X)(Math.sqrt(b/S)),C=5>Math.abs(P);if(m||(m=C?o.s.restSpeed.granular:o.s.restSpeed.default),f||(f=C?o.s.restDelta.granular:o.s.restDelta.default),M<1){let t=(0,l.a)(k,M);i=e=>g-Math.exp(-M*k*e)*((x+M*k*P)/t*Math.sin(t*e)+P*Math.cos(t*e))}else if(1===M)i=t=>g-Math.exp(-k*t)*(P+(x+k*P)*t);else{let t=k*Math.sqrt(M*M-1);i=e=>{let i=Math.exp(-M*k*e),n=Math.min(t*e,300);return g-i*((x+M*k*P)*Math.sinh(n)+t*P*Math.cosh(n))/t}}let E={calculatedDuration:V&&T||null,next:t=>{let e=i(t);if(V)y.done=t>=T;else{let n=0;M<1&&(n=0===t?(0,r.f)(x):(0,a.Y)(i,t,e));let s=Math.abs(n)<=m,o=Math.abs(g-e)<=f;y.done=s&&o}return y.value=y.done?g:e,y},toString:()=>{let t=Math.min((0,n.tu)(E),n.YE),e=(0,n.KZ)(e=>E.next(t*e).value,t,30);return t+"ms "+e}};return E}},97931:(t,e,i)=>{i.d(e,{Y:()=>r});var n=i(30216);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}},40983:(t,e,i)=>{i.d(e,{f:()=>g});var n=i(73030),r=i(971),s=i(97865),a=i(34741),o=i(21205),l=i(1893),u=i(90074),h=i(24377),d=i(22546);let p={type:"spring",stiffness:500,damping:25,restSpeed:10},c=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),m={type:"keyframes",duration:.8},f={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},v=(t,{keyframes:e})=>e.length>2?m:d.f.has(t)?t.startsWith("scale")?c(e[1]):p:f,g=(t,e,i,d={},p,c)=>m=>{let f=(0,n.rU)(d,t)||{},g=f.delay||d.delay||0,{elapsed:y=0}=d;y-=(0,r.f)(g);let b={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...f,delay:-y,onUpdate:t=>{e.set(t),f.onUpdate&&f.onUpdate(t)},onComplete:()=>{m(),f.onComplete&&f.onComplete()},name:t,motionValue:e,element:c?void 0:p};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(f)&&(b={...b,...v(t,b)}),b.duration&&(b.duration=(0,r.f)(b.duration)),b.repeatDelay&&(b.repeatDelay=(0,r.f)(b.repeatDelay)),void 0!==b.from&&(b.keyframes[0]=b.from);let w=!1;if(!1!==b.type&&(0!==b.duration||b.repeatDelay)||(b.duration=0,0!==b.delay||(w=!0)),(o.d.current||a.W.skipAnimations)&&(w=!0,b.duration=0,b.delay=0),w&&!c&&void 0!==e.get()){let t=(0,h.X)(b.keyframes,f);if(void 0!==t)return s.Gt.update(()=>{b.onUpdate(t),b.onComplete()}),new n.P6([])}return!c&&l.m.supports(b)?new l.m(b):new u.o(b)}},70279:(t,e,i)=>{i.d(e,{$:()=>h});var n=i(73030),r=i(45309),s=i(45227),a=i(77904),o=i(19659),l=i(40983),u=i(97865);function h(t,e,{delay:i=0,transitionOverride:d,type:p}={}){var c;let{transition:m=t.getDefaultTransition(),transitionEnd:f,...v}=e;d&&(m=d);let g=[],y=p&&t.animationState&&t.animationState.getState()[p];for(let e in v){let s=t.getValue(e,null!==(c=t.latestValues[e])&&void 0!==c?c:null),h=v[e];if(void 0===h||y&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(y,e))continue;let d={delay:i,...(0,n.rU)(m||{},e)},p=!1;if(window.MotionHandoffAnimation){let i=(0,o.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,u.Gt);null!==t&&(d.startTime=t,p=!0)}}(0,a.g)(t,e),s.start((0,l.f)(e,s,h,t.shouldReduceMotion&&r.$.has(e)?{type:!1}:d,t,p));let f=s.animation;f&&g.push(f)}return f&&Promise.all(g).then(()=>{u.Gt.update(()=>{f&&(0,s.U)(t,f)})}),g}},48033:(t,e,i)=>{i.d(e,{_:()=>o});var n=i(5504),r=i(70279);function s(t,e,i={}){var o;let l=(0,n.K)(t,e,"exit"===i.type?null===(o=t.presenceContext)||void 0===o?void 0:o.custom:void 0),{transition:u=t.getDefaultTransition()||{}}=l||{};i.transitionOverride&&(u=i.transitionOverride);let h=l?()=>Promise.all((0,r.$)(t,l,i)):()=>Promise.resolve(),d=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:l}=u;return function(t,e,i=0,n=0,r=1,o){let l=[],u=(t.variantChildren.size-1)*n,h=1===r?(t=0)=>t*n:(t=0)=>u-t*n;return Array.from(t.variantChildren).sort(a).forEach((t,n)=>{t.notify("AnimationStart",e),l.push(s(t,e,{...o,delay:i+h(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(l)}(t,e,r+n,o,l,i)}:()=>Promise.resolve(),{when:p}=u;if(!p)return Promise.all([h(),d(i.delay)]);{let[t,e]="beforeChildren"===p?[h,d]:[d,h];return t().then(()=>e())}}function a(t,e){return t.sortNodePosition(e)}function o(t,e,i={}){let a;if(t.notify("AnimationStart",e),Array.isArray(e))a=Promise.all(e.map(e=>s(t,e,i)));else if("string"==typeof e)a=s(t,e,i);else{let s="function"==typeof e?(0,n.K)(t,e,i.custom):e;a=Promise.all((0,r.$)(t,s,i))}return a.then(()=>{t.notify("AnimationComplete",e)})}},19659:(t,e,i)=>{i.d(e,{P:()=>r});var n=i(95585);function r(t){return t.props[n.n]}},10372:(t,e,i)=>{i.d(e,{b:()=>r});var n=i(58609);let r=t=>(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},58609:(t,e,i)=>{i.d(e,{Sz:()=>a,ZZ:()=>l,dg:()=>o});var n=i(94890),r=i(70480),s=i(87355);let a=(0,n.A)(.33,1.53,.69,.99),o=(0,s.G)(a),l=(0,r.V)(o)},10133:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>o,yT:()=>a});var n=i(70480),r=i(87355);let s=t=>1-Math.sin(Math.acos(t)),a=(0,r.G)(s),o=(0,n.V)(s)},94890:(t,e,i)=>{i.d(e,{A:()=>s});var n=i(38239);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){if(t===e&&i===s)return n.l;let a=e=>(function(t,e,i,n,s){let a,o;let l=0;do(a=r(o=e+(i-e)/2,n,s)-t)>0?i=o:e=o;while(Math.abs(a)>1e-7&&++l<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:r(a(t),e,s)}},7450:(t,e,i)=>{i.d(e,{a6:()=>r,am:()=>a,vT:()=>s});var n=i(94890);let r=(0,n.A)(.42,0,1,1),s=(0,n.A)(0,0,.58,1),a=(0,n.A)(.42,0,.58,1)},70480:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},87355:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},94290:(t,e,i)=>{i.d(e,{h:()=>n});let n=t=>Array.isArray(t)&&"number"!=typeof t[0]},54502:(t,e,i)=>{i.d(e,{K:()=>p});var n=i(73030),r=i(38239),s=i(97858),a=i(10372),o=i(58609),l=i(10133),u=i(94890),h=i(7450);let d={linear:r.l,easeIn:h.a6,easeInOut:h.am,easeOut:h.vT,circIn:l.po,circInOut:l.tn,circOut:l.yT,backIn:o.dg,backInOut:o.ZZ,backOut:o.Sz,anticipate:a.b},p=t=>{if((0,n.DW)(t)){(0,s.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return(0,u.A)(e,i,n,r)}return"string"==typeof t?((0,s.V)(void 0!==d[t],`Invalid easing type '${t}'`),d[t]):t}},36999:(t,e,i)=>{i.d(e,{k:()=>n});function n(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}},29745:(t,e,i)=>{i.d(e,{F:()=>s,e:()=>r});var n=i(73030);function r(t){return{point:{x:t.pageX,y:t.pageY}}}let s=t=>e=>(0,n.Mc)(e)&&t(e,r(e))},64455:(t,e,i)=>{let n;i.d(e,{k:()=>o});var r=i(34741),s=i(97865);function a(){n=void 0}let o={now:()=>(void 0===n&&o.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(a)}}},20381:(t,e,i)=>{i.d(e,{X:()=>n});class n{constructor(t){this.isMounted=!1,this.node=t}update(){}}},84499:(t,e,i)=>{i.d(e,{W:()=>b});var n=i(54643),r=i(48033),s=i(81697);function a(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;nPromise.all(e.map(({animation:e,options:i})=>(0,r._)(t,e,i))),i=m(),c=!0,f=e=>(i,n)=>{var r;let s=(0,h.K)(t,n,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function v(r){let{props:m}=t,v=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;tw&&p,M=!1,P=Array.isArray(h)?h:[h],k=P.reduce(f(l),{});!1===T&&(k={});let{prevResolvedValues:C={}}=u,E={...C,...k},F=e=>{x=!0,y.has(e)&&(M=!0,y.delete(e)),u.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=k[t],i=C[t];if(!b.hasOwnProperty(t))((0,s.p)(e)&&(0,s.p)(i)?a(e,i):e===i)?void 0!==e&&y.has(t)?F(t):u.protectedKeys[t]=!0:null!=e?F(t):y.add(t)}u.prevProp=h,u.prevResolvedValues=k,u.isActive&&(b={...b,...k}),c&&t.blockInitialAnimation&&(x=!1);let I=!(A&&V)||M;x&&I&&g.push(...P.map(t=>({animation:t,options:{type:l}})))}if(y.size){let e={};if("boolean"!=typeof m.initial){let i=(0,h.K)(t,Array.isArray(m.initial)?m.initial[0]:m.initial);i&&i.transition&&(e.transition=i.transition)}y.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=n?n:null}),g.push({animation:e})}let T=!!g.length;return c&&(!1===m.initial||m.initial===m.animate)&&!t.manuallyAnimateOnMount&&(T=!1),c=!1,T?e(g):Promise.resolve()}return{animateChanges:v,setActive:function(e,n){var r;if(i[e].isActive===n)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let s=v(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=m(),c=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,n.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(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let g=0;class y extends f.X{constructor(){super(...arguments),this.id=g++}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 n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let b={animation:{Feature:v},exit:{Feature:y}}},29567:(t,e,i)=>{i.d(e,{n:()=>w});var n=i(73030),r=i(29745),s=i(20381),a=i(97865);function o(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&a.Gt.postRender(()=>s(e,(0,r.e)(e)))}class l extends s.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,n.PT)(t,(t,e)=>(o(this.node,e,"Start"),t=>o(this.node,t,"End"))))}unmount(){}}var u=i(36999),h=i(65258);class d extends s.X{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,h.F)((0,u.k)(this.node.current,"focus",()=>this.onFocus()),(0,u.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function p(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&a.Gt.postRender(()=>s(e,(0,r.e)(e)))}class c extends s.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,n.c$)(t,(t,e)=>(p(this.node,e,"Start"),(t,{success:e})=>p(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let m=new WeakMap,f=new WeakMap,v=t=>{let e=m.get(t.target);e&&e(t)},g=t=>{t.forEach(v)},y={some:0,all:1};class b extends s.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:y[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;f.has(i)||f.set(i,{});let n=f.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(g,{root:t,...e})),n[r]}(e);return m.set(t,i),n.observe(t),()=>{m.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}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 w={inView:{Feature:b},tap:{Feature:c},focus:{Feature:d},hover:{Feature:l}}},90689:(t,e,i)=>{function n({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(e,{FY:()=>n,bS:()=>s,pA:()=>r})},45392:(t,e,i)=>{i.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>p,hq:()=>s,o4:()=>l});var n=i(58312),r=i(41476);function s(t,e,i){return i+e*(t-i)}function a(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function o(t,e=0,i=1,n,r){t.min=a(t.min,e,i,n,r),t.max=a(t.max,e,i,n,r)}function l(t,{x:e,y:i}){o(t.x,e.translate,e.scale,e.originPoint),o(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,n=!1){let s,a;let o=i.length;if(o){e.x=e.y=1;for(let u=0;u.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function h(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,i,r,s=.5){let a=(0,n.k)(t.min,t.max,s);o(t,e,i,a,r)}function p(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},72883:(t,e,i)=>{i.d(e,{ge:()=>a,xU:()=>r});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),a=()=>({x:s(),y:s()})},41476:(t,e,i)=>{function n(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:i}){return!n(t)||!n(e)||!n(i)}function s(t){return r(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>s,vF:()=>a,vk:()=>r})},42268:(t,e,i)=>{i.d(e,{L:()=>a,m:()=>s});var n=i(90689),r=i(45392);function s(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function a(t,e,i){let n=s(t,i),{scroll:a}=e;return a&&((0,r.Ql)(n.x,a.offset.x),(0,r.Ql)(n.y,a.offset.y)),n}},67435:(t,e,i)=>{i.d(e,{B:()=>P});var n=i(64455),r=i(56341),s=i(72883),a=i(64613),o=i(57993),l=i(12358),u=i(65077),h=i(39935),d=i(58528),p=i(8941),c=i(24553),m=i(70937),f=i(60018),v=i(64076),g=i(48560);let y=[...v.T,f.y,p.f],b=t=>y.find((0,g.w)(t));var w=i(22546),S=i(41178),T=i(37996),A=i(89226),V=i(31444),x=i(97865);let M=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class P{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=A.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.renderScheduledAtthis.bindToMotionValue(e,t)),u.r.current||(0,l.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||u.O.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,x.WG)(this.notifyUpdate),(0,x.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(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}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=w.f.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&x.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),s(),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 r.B){let e=r.B[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.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,s.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;ee.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,d.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=n&&("string"==typeof n&&((0,a.i)(n)||(0,o.$)(n))?n=parseFloat(n):!b(n)&&p.f.test(e)&&(n=(0,m.J)(t,e)),this.setBaseTarget(t,(0,c.S)(n)?n.get():n)),(0,c.S)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=(0,V.a)(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(i=r[t])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,c.S)(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new h.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}},25532:(t,e,i)=>{i.d(e,{K:()=>f});var n=i(57993),r=i(45309),s=i(8941),a=i(70937);let o=new Set(["auto","none","0"]);var l=i(89226),u=i(97858),h=i(64613),d=i(26561);let p=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var c=i(47965),m=i(64076);class f extends l.h{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}},18326:(t,e,i)=>{i.d(e,{b:()=>a});var n=i(67435),r=i(25532),s=i(24553);class a extends n.B{constructor(){super(...arguments),this.KeyframeResolver=r.K}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,s.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},23722:(t,e,i)=>{i.d(e,{J:()=>o});var n=i(52308),r=i(2722),s=i(50910),a=i(46934);let o=(t,e)=>(0,a.Q)(t)?new s.l(e):new r.M(e,{allowProjection:t!==n.Fragment})},63922:(t,e,i)=>{i.d(e,{l:()=>s});var n=i(84499),r=i(29567);let s={renderer:i(23722).J,...n.W,...r.n}},47965:(t,e,i)=>{i.d(e,{E4:()=>a,Hr:()=>p,W9:()=>d});var n=i(86337),r=i(68676),s=i(22546);let a=t=>t===n.ai||t===r.px,o=(t,e)=>parseFloat(t.split(", ")[e]),l=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/u);if(r)return o(r[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?o(e[1],t):0}},u=new Set(["x","y","z"]),h=s.U.filter(t=>!u.has(t));function d(t){let e=[];return h.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}let p={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:l(4,13),y:l(5,14)};p.translateX=p.x,p.translateY=p.y},70937:(t,e,i)=>{i.d(e,{J:()=>a});var n=i(8941),r=i(24173),s=i(86922);function a(t,e){let i=(0,s.D)(t);return i!==r.p&&(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},86922:(t,e,i)=>{i.d(e,{D:()=>a});var n=i(60018),r=i(24173);let s={...i(80123).W,color:n.y,backgroundColor:n.y,outlineColor:n.y,fill:n.y,stroke:n.y,borderColor:n.y,borderTopColor:n.y,borderRightColor:n.y,borderBottomColor:n.y,borderLeftColor:n.y,filter:r.p,WebkitFilter:r.p},a=t=>s[t]},64076:(t,e,i)=>{i.d(e,{T:()=>a,n:()=>o});var n=i(86337),r=i(68676),s=i(48560);let a=[n.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],o=t=>a.find((0,s.w)(t))},48560:(t,e,i)=>{i.d(e,{w:()=>n});let n=t=>e=>e.test(t)},2722:(t,e,i)=>{i.d(e,{M:()=>d});var n=i(42268),r=i(18326),s=i(26561),a=i(86922),o=i(85442),l=i(22546),u=i(5309),h=i(75375);class d extends r.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(t,e){if(l.f.has(e)){let t=(0,a.D)(e);return t&&t.default||0}{let i=window.getComputedStyle(t),n=((0,s.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,n.m)(t,e)}build(t,e,i){(0,o.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,h.x)(t,e,i)}}},45309:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(22546).U])},41178:(t,e,i)=>{i.d(e,{C:()=>n});let n=new WeakMap},50910:(t,e,i)=>{i.d(e,{l:()=>f});var n=i(97865),r=i(72883),s=i(18326),a=i(51551),o=i(86922),l=i(22546),u=i(70048),h=i(51718),d=i(36840),p=i(13104),c=i(97158),m=i(84824);class f extends s.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.ge,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&(0,p.H)(this.current,this.renderState)}}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(l.f.has(e)){let t=(0,o.D)(e);return t&&t.default||0}return e=h.e.has(e)?e:(0,a.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,m.x)(t,e,i)}onBindTransform(){this.current&&!this.renderState.dimensions&&n.Gt.postRender(this.updateDimensions)}build(t,e,i){(0,u.B)(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){(0,c.d)(t,e,i,n)}mount(t){this.isSVGTag=(0,d.n)(t.tagName),super.mount(t)}}},89226:(t,e,i)=>{i.d(e,{h:()=>d,q:()=>h});var n=i(47965),r=i(97865);let s=new Set,a=!1,o=!1;function l(){if(o){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.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])=>{var n;null===(n=t.getValue(e))||void 0===n||n.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}o=!1,a=!1,s.forEach(t=>t.complete()),s.clear()}function u(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}function h(){u(),l()}class d{constructor(t,e,i,n,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(s.add(this),a||(a=!0,r.Gt.read(u),r.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let r=0;r{i.d(e,{K:()=>r});var n=i(31444);function r(t,e,i){let r=t.getProps();return(0,n.a)(r,e,void 0!==i?i:r.custom,t)}},45227:(t,e,i)=>{i.d(e,{U:()=>a});var n=i(36244),r=i(58528),s=i(5504);function a(t,e){let{transitionEnd:i={},transition:a={},...o}=(0,s.K)(t,e)||{};for(let e in o={...o,...i}){let i=(0,n.K)(o[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,r.OQ)(i))}}},98502:(t,e,i)=>{i.d(e,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},25255:(t,e,i)=>{function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function s([...t],e,i){let n=e<0?t.length+e:e;if(n>=0&&nr,Kq:()=>n,Pe:()=>s})},30597:(t,e,i)=>{i.d(e,{G:()=>u});var n=i(38239),r=i(97858),s=i(69862),a=i(49185),o=i(86477),l=i(65258);function u(t,e,{clamp:i=!0,ease:h,mixer:d}={}){let p=t.length;if((0,r.V)(p===e.length,"Both input and output ranges must be the same length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let c=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());let m=function(t,e,i){let r=[],s=i||o.j,a=t.length-1;for(let i=0;i{if(c&&i1)for(;nv((0,a.q)(t[0],t[p-1],e)):v}},64613:(t,e,i)=>{i.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},57993:(t,e,i)=>{i.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},86477:(t,e,i)=>{i.d(e,{j:()=>x});var n=i(58312),r=i(97858);function s(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 a=i(87693),o=i(91670),l=i(45402);function u(t,e){return i=>i>0?e:t}let h=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},d=[a.u,o.B,l.V],p=t=>d.find(e=>e.test(t));function c(t){let e=p(t);if((0,r.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===l.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,a=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,l=2*i-n;r=s(l,n,t+1/3),a=s(l,n,t),o=s(l,n,t-1/3)}else r=a=o=i;return{red:Math.round(255*r),green:Math.round(255*a),blue:Math.round(255*o),alpha:n}}(i)),i}let m=(t,e)=>{let i=c(t),r=c(e);if(!i||!r)return u(t,e);let s={...i};return t=>(s.red=h(i.red,r.red,t),s.green=h(i.green,r.green,t),s.blue=h(i.blue,r.blue,t),s.alpha=(0,n.k)(i.alpha,r.alpha,t),o.B.transform(s))};var f=i(65258),v=i(60018),g=i(8941),y=i(26561);let b=new Set(["none","hidden"]);function w(t,e){return i=>(0,n.k)(t,e,i)}function S(t){return"number"==typeof t?w:"string"==typeof t?(0,y.p)(t)?u:v.y.test(t)?m:V:Array.isArray(t)?T:"object"==typeof t?v.y.test(t)?m:A:u}function T(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>S(t)(t,e[i]));return t=>{for(let e=0;e{for(let e in n)i[e]=n[e](t);return i}}let V=(t,e)=>{let i=g.f.createTransformer(e),n=(0,g.V)(t),s=(0,g.V)(e);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?b.has(t)&&!s.values.length||b.has(e)&&!n.values.length?function(t,e){return b.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,f.F)(T(function(t,e){var i;let n=[],r={color:0,var:0,number:0};for(let s=0;s{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},35402:(t,e,i)=>{i.d(e,{Z:()=>r});var n=i(17914);function r(t){let e=[0];return(0,n.f)(e,t.length-1),e}},17914:(t,e,i)=>{i.d(e,{f:()=>s});var n=i(69862),r=i(58312);function s(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let a=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,a))}}},65258:(t,e,i)=>{i.d(e,{F:()=>r});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},12358:(t,e,i)=>{i.d(e,{U:()=>s});var n=i(6601),r=i(65077);function s(){if(r.r.current=!0,n.B){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>r.O.current=t.matches;t.addListener(e),e()}else r.O.current=!1}}},65077:(t,e,i)=>{i.d(e,{O:()=>n,r:()=>r});let n={current:null},r={current:!1}},39935:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(25255);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r{i.d(e,{d:()=>n});let n={current:!1}},30216:(t,e,i)=>{i.d(e,{f:()=>n});function n(t,e){return e?1e3/e*t:0}},58528:(t,e,i)=>{i.d(e,{KG:()=>u,OQ:()=>h,bt:()=>l});var n=i(64455),r=i(39935),s=i(30216),a=i(97865);let o=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="12.4.5",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=n.k.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=n.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=o(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 r.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),a.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,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}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()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=n.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,s.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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new u(t,e)}},87693:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(91670);let r={test:(0,i(24129).$)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.B.transform}},45402:(t,e,i)=>{i.d(e,{V:()=>o});var n=i(86337),r=i(68676),s=i(59887),a=i(24129);let o={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:a=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.a)(e))+", "+r.KN.transform((0,s.a)(i))+", "+(0,s.a)(n.X4.transform(a))+")"}},60018:(t,e,i)=>{i.d(e,{y:()=>a});var n=i(87693),r=i(45402),s=i(91670);let a={test:t=>s.B.test(t)||n.u.test(t)||r.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):r.V.test(t)?r.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):r.V.transform(t)}},91670:(t,e,i)=>{i.d(e,{B:()=>u});var n=i(49185),r=i(86337),s=i(59887),a=i(24129);let o=t=>(0,n.q)(0,255,t),l={...r.ai,transform:t=>Math.round(o(t))},u={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},24129:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>a});var n=i(72448);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),a=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,a,o,l]=r.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(a),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},24173:(t,e,i)=>{i.d(e,{p:()=>l});var n=i(8941),r=i(72448);let s=new Set(["brightness","contrast","saturate","opacity"]);function a(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.S)||[];if(!n)return t;let a=i.replace(n,""),o=s.has(e)?1:0;return n!==i&&(o*=100),e+"("+o+a+")"}let o=/\b([a-z-]*)\(.*?\)/gu,l={...n.f,getAnimatableNone:t=>{let e=t.match(o);return e?e.map(a).join(" "):t}}},8941:(t,e,i)=>{i.d(e,{V:()=>h,f:()=>m});var n=i(60018);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(72448),a=i(59887);let o="number",l="color",u=/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 h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],a=0,h=e.replace(u,t=>(n.y.test(t)?(r.color.push(a),s.push(l),i.push(n.y.parse(t))):t.startsWith("var(")?(r.var.push(a),s.push("var"),i.push(t)):(r.number.push(a),s.push(o),i.push(parseFloat(t))),++a,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function d(t){return h(t).values}function p(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let s="";for(let u=0;u"number"==typeof t?0:t,m={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(s.S))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(r))||void 0===i?void 0:i.length)||0)>0},parse:d,createTransformer:p,getAnimatableNone:function(t){let e=d(t);return p(t)(e.map(c))}}},72448:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},59887:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},77904:(t,e,i)=>{i.d(e,{g:()=>r});var n=i(24553);function r(t,e){let i=t.getValue("willChange");if((0,n.S)(i)&&i.add)return i.add(e)}},73030:(t,e,i)=>{i.d(e,{P6:()=>a,uN:()=>f,vG:()=>m,tu:()=>u,CD:()=>E,XG:()=>d,KZ:()=>w,rU:()=>o,PT:()=>C,DW:()=>v,D3:()=>x,WH:()=>p,Mc:()=>I,yL:()=>S,TU:()=>function t(e,i){if(e)return"function"==typeof e&&y()?w(e,i):v(e)?T(e):Array.isArray(e)?e.map(e=>t(e,i)||A.easeOut):A[e]},YE:()=>l,c$:()=>R,KJ:()=>M,Wp:()=>N,nL:()=>y,Jb:()=>r});var n=i(13425);let r=(0,n.p)(()=>void 0!==window.ScrollTimeline);class s{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;ir()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.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 startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;ee[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class a extends s{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function o(t,e){return t?t[e]||t.default||t:void 0}let l=2e4;function u(t){let e=0,i=t.next(e);for(;!i.done&&e=l?1/0:e}var h=i(971);function d(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(u(n),l);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:(0,h.X)(r)}}function p(t){return"function"==typeof t}var c=i(38239);function m(t,e){t.timeline=e,t.onfinish=null}class f{constructor(t){this.animation=t}get duration(){var t,e,i;let n=(null===(e=null===(t=this.animation)||void 0===t?void 0:t.effect)||void 0===e?void 0:e.getComputedTiming().duration)||(null===(i=this.options)||void 0===i?void 0:i.duration)||300;return(0,h.X)(Number(n))}get time(){var t;return this.animation?(0,h.X)((null===(t=this.animation)||void 0===t?void 0:t.currentTime)||0):0}set time(t){this.animation&&(this.animation.currentTime=(0,h.f)(t))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(t){this.animation&&(this.animation.playbackRate=t)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}get finished(){return this.animation?this.animation.finished:Promise.resolve()}play(){this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}stop(){this.animation&&"idle"!==this.state&&"finished"!==this.state&&(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}flatten(){var t;this.animation&&(null===(t=this.animation.effect)||void 0===t||t.updateTiming({easing:"linear"}))}attachTimeline(t){return this.animation&&m(this.animation,t),c.l}complete(){this.animation&&this.animation.finish()}cancel(){try{this.animation&&this.animation.cancel()}catch(t){}}}let v=t=>Array.isArray(t)&&"number"==typeof t[0],g={linearEasing:void 0},y=function(t,e){let i=(0,n.p)(t);return()=>{var t;return null!==(t=g[e])&&void 0!==t?t:i()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var b=i(69862);let w=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e`cubic-bezier(${t}, ${e}, ${i}, ${n})`,A={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:T([0,.65,.55,1]),circOut:T([.55,0,1,.45]),backIn:T([.31,.01,.66,-.59]),backOut:T([.33,1.53,.69,.99])},V={x:!1,y:!1};function x(){return V.x||V.y}function M(t,e,i){var n;if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let s=null!==(n=null==i?void 0:i[t])&&void 0!==n?n:r.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t)}function P(t,e){let i=M(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function k(t){return!("touch"===t.pointerType||x())}function C(t,e,i={}){let[n,r,s]=P(t,i),a=t=>{if(!k(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{k(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",a,r)}),s}function E(t,e){let i=`${e}PointerCapture`;if(t.target instanceof Element&&i in t.target&&void 0!==t.pointerId)try{t.target[i](t.pointerId)}catch(t){}}let F=(t,e)=>!!e&&(t===e||F(t,e.parentElement)),I=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,D=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),O=new WeakSet;function B(t){return e=>{"Enter"===e.key&&t(e)}}function K(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let $=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=B(()=>{if(O.has(i))return;K(i,"down");let t=B(()=>{K(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>K(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function R(t,e,i={}){let[n,r,s]=P(t,i),a=t=>{let i=t.currentTarget;if(!i||!(I(t)&&!x())||O.has(i))return;O.add(i),E(t,"set");let n=e(i,t),s=(t,e)=>{i.removeEventListener("pointerup",a),i.removeEventListener("pointercancel",o),E(t,"release"),I(t)&&!x()&&O.has(i)&&(O.delete(i),"function"==typeof n&&n(t,{success:e}))},a=t=>{var e;t.isTrusted&&(e=i instanceof Element?i.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight},t.clientXe.right||t.clientYe.bottom)?s(t,!1):s(t,!(i instanceof Element)||F(i,t.target))},o=t=>{s(t,!1)};i.addEventListener("pointerup",a,r),i.addEventListener("pointercancel",o,r),i.addEventListener("lostpointercapture",o,r)};return n.forEach(t=>{t=i.useGlobalTarget?window:t;let e=!1;if(t instanceof HTMLElement){var n;e=!0,n=t,D.has(n.tagName)||-1!==n.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0)}t.addEventListener("pointerdown",a,r),e&&t.addEventListener("focus",t=>$(t,r),r)}),s}function N(t){return"x"===t||"y"===t?V[t]?null:(V[t]=!0,()=>{V[t]=!1}):V.x||V.y?null:(V.x=V.y=!0,()=>{V.x=V.y=!1})}},97858:(t,e,i)=>{i.d(e,{$:()=>r,V:()=>s});var n=i(38239);let r=n.l,s=n.l},13425:(t,e,i)=>{i.d(e,{p:()=>n});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},69862:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},971:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3}}]);