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]="33bdc119-015f-4492-a110-e6f215e802da",t._sentryDebugIdIdentifier="sentry-dbid-33bdc119-015f-4492-a110-e6f215e802da")}catch(t){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3132],{2431:(t,e,i)=>{i.d(e,{_:()=>o});var n=i(95930),r=i(91297);function s(t,e,i={}){let o=(0,n.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:l=t.getDefaultTransition()||{}}=o||{};i.transitionOverride&&(l=i.transitionOverride);let u=o?()=>Promise.all((0,r.$)(t,o,i)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:u}=l;return function(t,e,i=0,n=0,r=0,o=1,l){let u=[],h=t.variantChildren.size,d=(h-1)*r,p="function"==typeof n,c=p?t=>n(t,h):1===o?(t=0)=>t*r:(t=0)=>d-t*r;return Array.from(t.variantChildren).sort(a).forEach((t,r)=>{t.notify("AnimationStart",e),u.push(s(t,e,{...l,delay:i+(p?0:n)+c(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(u)}(t,e,n,r,o,u,i)}:()=>Promise.resolve(),{when:d}=l;if(!d)return Promise.all([u(),h(i.delay)]);{let[t,e]="beforeChildren"===d?[u,h]:[h,u];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)})}},2607:(t,e,i)=>{i.d(e,{O:()=>n,r:()=>r});let n={current:null},r={current:!1}},2874:(t,e,i)=>{i.d(e,{n:()=>T});var n=i(71418),r=i(70270),s=i(62127),a=i(21351);function o(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let a=r["onHover"+i];a&&n.Gt.postRender(()=>a(e,(0,s.e)(e)))}class l extends a.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,r.P)(t,(t,e)=>(o(this.node,e,"Start"),t=>o(this.node,t,"End"))))}unmount(){}}var u=i(76533),h=i(20017);class d extends a.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,u.F)((0,h.k)(this.node.current,"focus",()=>this.onFocus()),(0,h.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var p=i(61918);function c(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let a=r["onTap"+("End"===i?"":i)];a&&n.Gt.postRender(()=>a(e,(0,s.e)(e)))}class m extends a.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,p.c)(t,(t,e)=>(c(this.node,e,"Start"),(t,{success:e})=>c(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let f=new WeakMap,v=new WeakMap,y=t=>{let e=f.get(t.target);e&&e(t)},g=t=>{t.forEach(y)},b={some:0,all:1};class w extends a.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:b[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;v.has(i)||v.set(i,{});let n=v.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(g,{root:t,...e})),n[r]}(e);return f.set(t,i),n.observe(t),()=>{f.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 T={inView:{Feature:w},tap:{Feature:m},focus:{Feature:d},hover:{Feature:l}}},4740:(t,e,i)=>{i.d(e,{J:()=>a});var n=i(63142),r=i(70996),s=i(66159);function a(t,e){let i=(0,s.D)(t);return i!==r.p&&(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},4839:(t,e,i)=>{i.d(e,{h:()=>n});let n=t=>Array.isArray(t)&&"number"!=typeof t[0]},5146:(t,e,i)=>{i.d(e,{A:()=>n});function n(t,e){return t.map(t=>t*e)}},5946:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},6200:(t,e,i)=>{i.d(e,{Y:()=>r});var n=i(81749);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}},7970:(t,e,i)=>{i.d(e,{c:()=>r,k:()=>n});let{schedule:n,cancel:r}=(0,i(54779).I)(queueMicrotask,!1)},8791:(t,e,i)=>{i.d(e,{n:()=>d});var n=i(89873),r=i(51270),s=i(70571),a=i(49773),o=i(22371),l=i(17314),u=i(34158);let h={anticipate:o.b,backInOut:l.ZZ,circInOut:u.tn};class d extends s.m{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in h&&(t.ease=h[t.ease])}(t),(0,a.E)(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:a,...o}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let l=new r.s({...o,autoplay:!1}),u=(0,n.f)(this.finishedTime??this.time);e.setWithVelocity(l.sample(u-10).value,l.sample(u).value,10),l.stop()}}},10479:(t,e,i)=>{i.d(e,{Ib:()=>p,ry:()=>d,zs:()=>h});let n=t=>180*t/Math.PI,r=t=>a(n(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},a=t=>((t%=360)<0&&(t+=360),t),o=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:o,scaleY:l,scale:t=>(o(t)+l(t))/2,rotateX:t=>a(n(Math.atan2(t[6],t[5]))),rotateY:t=>a(n(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return+!!t.includes("scale")}function d(t,e){let i,n;if(!t||"none"===t)return h(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=u,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return h(e);let a=i[e],o=n[1].split(",").map(c);return"function"==typeof a?a(o):o[a]}let p=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function c(t){return parseFloat(t.trim())}},11997:(t,e,i)=>{i.d(e,{K:()=>n});function n(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}},13502:(t,e,i)=>{i.d(e,{n:()=>s});var n=i(51631),r=i(42763);let s=function(t,e){let i=(0,n.p)(t);return()=>r.e[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing")},15623:(t,e,i)=>{i.d(e,{B:()=>V});var n=i(72917),r=i(31788),s=i(71418),a=i(32762),o=i(56187),l=i(97523),u=i(49990),h=i(63142),d=i(4740),p=i(7970),c=i(43480),m=i(80874),f=i(99088),v=i(46907),y=i(88045),g=i(76704),b=i(2607),w=i(40684),T=i(42466),S=i(81846);let A=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class V{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:o,blockInitialAnimation:l,visualState:u},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=n.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=r.k.now();this.renderScheduledAtthis.bindToMotionValue(e,t)),b.r.current||(0,g.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||b.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,s.WG)(this.notifyUpdate),(0,s.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=o.f.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&s.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),a=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),a(),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 v.B){let e=v.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,y.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,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];return null!=i&&("string"==typeof i&&((0,c.i)(i)||(0,m.$)(i))?i=parseFloat(i):!(0,u.t)(i)&&h.f.test(e)&&(i=(0,d.J)(t,e)),this.setBaseTarget(t,(0,a.S)(i)?i.get():i)),(0,a.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 n=(0,S.a)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,a.S)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new f.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){p.k.render(this.render)}}},15776:(t,e,i)=>{i.d(e,{j:()=>s});var n=i(71192),r=i(20485);function s(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,r.k)(t,e,i):(0,n.W_)(t)(t,e)}},15811:(t,e,i)=>{i.d(e,{e:()=>n});function n(t,{style:e,vars:i},n,r){let s,a=t.style;for(s in e)a[s]=e[s];for(s in r?.applyProjectionStyles(a,n),i)a.setProperty(s,i[s])}},16910:(t,e,i)=>{function n(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}function r({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let s=0,a=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,l=2*i-r;s=n(l,r,t+1/3),a=n(l,r,t),o=n(l,r,t-1/3)}else s=a=o=i;return{red:Math.round(255*s),green:Math.round(255*a),blue:Math.round(255*o),alpha:r}}i.d(e,{a:()=>r})},17187:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},17314:(t,e,i)=>{i.d(e,{Sz:()=>a,ZZ:()=>l,dg:()=>o});var n=i(64069),r=i(17187),s=i(66726);let a=(0,n.A)(.33,1.53,.69,.99),o=(0,s.G)(a),l=(0,r.V)(o)},17561:(t,e,i)=>{i.d(e,{D:()=>n});function n(t){for(let e=1;e{i.d(e,{q:()=>n});let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"]},20017:(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)}},20485:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},21178:(t,e,i)=>{i.d(e,{R:()=>a});var n=i(51631);let r=new Set(["opacity","clipPath","filter","transform"]),s=(0,n.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function a(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:a,damping:o,type:l}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:u,transformTemplate:h}=e.owner.getProps();return s()&&i&&r.has(i)&&("transform"!==i||!h)&&!u&&!n&&"mirror"!==a&&0!==o&&"inertia"!==l}},21351:(t,e,i)=>{i.d(e,{X:()=>n});class n{constructor(t){this.isMounted=!1,this.node=t}update(){}}},21910:(t,e,i)=>{i.d(e,{Q:()=>n,v:()=>r});let n=new Set(["none","hidden"]);function r(t,e){return n.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}},22371:(t,e,i)=>{i.d(e,{b:()=>r});var n=i(17314);let r=t=>(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},22559:(t,e,i)=>{i.d(e,{O:()=>n});function n(t,e){return i=>i>0?e:t}},22753:(t,e,i)=>{i.d(e,{y:()=>a});var n=i(24674),r=i(42819),s=i(39959);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),getAnimatableNone:t=>{let e=a.parse(t);return e.alpha=0,a.transform(e)}}},22999:(t,e,i)=>{i.d(e,{Q:()=>n});let n={value:null,addProjectionMetrics:null}},24589:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},24674:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(39959);let r={test:(0,i(87028).$)("#"),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}},26103:(t,e,i)=>{i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},26157:(t,e,i)=>{i.d(e,{Y:()=>n,t:()=>r});let n=2e4;function r(t){let e=0,i=t.next(e);for(;!i.done&&e=n?1/0:e}},27433:(t,e,i)=>{i.d(e,{w:()=>n});let n=t=>e=>e.test(t)},27604:(t,e,i)=>{i.d(e,{J:()=>o});var n=i(87085),r=i(85588),s=i(28471),a=i(3253);let o=(t,e)=>(0,a.Q)(t)?new s.l(e):new r.M(e,{allowProjection:t!==n.Fragment})},28471:(t,e,i)=>{i.d(e,{l:()=>c});var n=i(56187),r=i(66159),s=i(88045),a=i(93856),o=i(63817),l=i(2743);let u=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 h=i(5374),d=i(15811),p=i(79482);class c extends a.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.f.has(e)){let t=(0,r.D)(e);return t&&t.default||0}return e=u.has(e)?e:(0,o.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,p.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in(0,d.e)(t,e,void 0,n),e.attrs)t.setAttribute(u.has(i)?i:(0,o.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,h.n)(t.tagName),super.mount(t)}}},29068:(t,e,i)=>{i.d(e,{w:()=>n});let n=(t,e)=>!!e&&(t===e||n(t,e.parentElement))},29269:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},31788:(t,e,i)=>{let n;i.d(e,{k:()=>o});var r=i(29269),s=i(71418);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)}}},32081:(t,e,i)=>{i.d(e,{R:()=>a});var n=i(51385),r=i(22999),s=i(90113);function a(t,e,i,{delay:o=0,duration:l=300,repeat:u=0,repeatType:h="loop",ease:d="easeOut",times:p}={},c){let m={[e]:i};p&&(m.offset=p);let f=(0,s.T)(d,l);Array.isArray(f)&&(m.easing=f),r.Q.value&&n.q.waapi++;let v={delay:o,duration:l,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:u+1,direction:"reverse"===h?"alternate":"normal"};c&&(v.pseudoElement=c);let y=t.animate(m,v);return r.Q.value&&y.finished.finally(()=>{n.q.waapi--}),y}},33445:(t,e,i)=>{i.d(e,{B:()=>s});var n=i(91756),r=i(6200);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,f=t[0],v={done:!1,value:f},y=i*e,g=f+y,b=void 0===l?g:l(g);b!==g&&(y=b-f);let w=t=>-y*Math.exp(-t/s),T=t=>b+w(t),S=t=>{let e=w(t),i=T(t);v.done=Math.abs(e)<=d,v.value=v.done?b:i},A=t=>{let e;if(e=v.value,void 0!==u&&eh){var i;c=t,m=(0,n.o)({keyframes:[v.value,(i=v.value,void 0===u?h:void 0===h||Math.abs(u-i){let e=!1;return(m||void 0!==c||(e=!0,S(t),A(t)),void 0!==c&&t>=c)?m.next(t-c):(e||S(t),v)}}}},33686:(t,e,i)=>{i.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>p,hq:()=>s,o4:()=>l});var n=i(20485),r=i(37549);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,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)}},34158:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>o,yT:()=>a});var n=i(17187),r=i(66726);let s=t=>1-Math.sin(Math.acos(t)),a=(0,r.G)(s),o=(0,n.V)(s)},36858:(t,e,i)=>{i.d(e,{A:()=>v});var n=i(29269),r=i(24589),s=i(31788),a=i(51270),o=i(79771),l=i(72917),u=i(8791),h=i(64656),d=i(39417),p=i(63142);let c=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(p.f.test(t)||"0"===t)&&!t.startsWith("url("));var m=i(70251),f=i(21178);class v extends m.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:a="loop",keyframes:o,name:u,motionValue:h,element:d,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=s.k.now();let c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:a,name:u,motionValue:h,element:d,...p},m=d?.KeyframeResolver||l.h;this.keyframeResolver=new m(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),u,h,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,l){this.keyframeResolver=void 0;let{name:p,type:m,velocity:v,delay:y,isHandoff:g,onUpdate:b}=i;this.resolvedAt=s.k.now(),!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],a=c(r,e),o=c(s,e);return(0,h.$)(a===o,`You are trying to animate ${e} from "${r}" to "${s}". "${a?s:r}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},T=!g&&(0,f.R)(w)?new u.n({...w,element:w.motionValue.owner.current}):new a.s(w);T.finished.then(()=>this.notifyFinished()).catch(r.l),this.pendingTimeline&&(this.stopTimeline=T.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=T}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,l.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()}}},37549:(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})},37607:(t,e,i)=>{i.d(e,{J:()=>n});let n=(0,i(51631).p)(()=>void 0!==window.ScrollTimeline)},38574:(t,e,i)=>{i.d(e,{Z:()=>r});var n=i(52030);function r(t){let e=[0];return(0,n.f)(e,t.length-1),e}},39115:(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})},39417:(t,e,i)=>{i.d(e,{W:()=>n});function n(t){return"function"==typeof t&&"applyToOptions"in t}},39959:(t,e,i)=>{i.d(e,{B:()=>l,q:()=>o});var n=i(44012),r=i(67898),s=i(5946),a=i(87028);let o={...r.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+o.transform(t)+", "+o.transform(e)+", "+o.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},40684:(t,e,i)=>{i.d(e,{C:()=>n});let n=new WeakMap},40968:(t,e,i)=>{i.d(e,{i:()=>h,l:()=>u});var n=i(54349),r=i(4839),s=i(76339),a=i(76550),o=i(38574),l=i(5146);function u(t,e){return t.map(()=>e||n.am).splice(0,t.length-1)}function h({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let h=(0,r.h)(n)?n.map(s.K):(0,s.K)(n),d={done:!1,value:e[0]},p=(0,l.A)(i&&i.length===e.length?i:(0,o.Z)(e),t),c=(0,a.G)(p,e,{ease:Array.isArray(h)?h:u(e,h)});return{calculatedDuration:t,next:e=>(d.value=c(e),d.done=e>=t,d)}}},42763:(t,e,i)=>{i.d(e,{e:()=>n});let n={}},42819:(t,e,i)=>{i.d(e,{V:()=>o});var n=i(67898),r=i(41967),s=i(5946),a=i(87028);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))+")"}},43480:(t,e,i)=>{i.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},44447:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},46542:(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})},49773:(t,e,i)=>{i.d(e,{E:()=>o});var n=i(33445),r=i(40968),s=i(91756);let a={decay:n.B,inertia:n.B,tween:r.i,keyframes:r.i,spring:s.o};function o(t){"string"==typeof t.type&&(t.type=a[t.type])}},49990:(t,e,i)=>{i.d(e,{t:()=>l});var n=i(22753),r=i(63142),s=i(73901),a=i(27433);let o=[...s.T,n.y,r.f],l=t=>o.find((0,a.w)(t))},51270:(t,e,i)=>{i.d(e,{s:()=>g,L:()=>b});var n=i(76533),r=i(44012),s=i(89873),a=i(31788),o=i(51385),l=i(15776),u=i(71418);let h=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>u.Gt.update(e,t),stop:()=>(0,u.WG)(e),now:()=>u.uv.isProcessing?u.uv.timestamp:a.k.now()}};var d=i(33445),p=i(40968),c=i(26157),m=i(79771),f=i(49773),v=i(70251);let y=t=>t/100;class g extends v.q{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!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},o.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,f.E)(t);let{type:e=p.i,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:a=0}=t,{keyframes:o}=t,u=e||p.i;u!==p.i&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,n.F)(y,(0,l.j)(o[0],o[1])),o=[0,100]);let h=u({...t,keyframes:o});"mirror"===s&&(this.mirroredGenerator=u({...t,keyframes:[...o].reverse(),velocity:-a})),null===h.calculatedDuration&&(h.calculatedDuration=(0,c.t)(h));let{calculatedDuration:d}=h;this.calculatedDuration=d,this.resolvedDuration=d+r,this.totalDuration=this.resolvedDuration*(i+1)-r,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:n,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:p,repeatType:c,repeatDelay:f,type:v,onUpdate:y,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let b=this.currentTime-u*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?b<0:b>n;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let T=this.currentTime,S=i;if(p){let t=Math.min(this.currentTime,n)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,p+1))%2&&("reverse"===c?(i=1-i,f&&(i-=f/o)):"mirror"===c&&(S=a)),T=(0,r.q)(0,1,i)*o}let A=w?{done:!1,value:h[0]}:S.next(T);s&&(A.value=s(A.value));let{done:V}=A;w||null===l||(V=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let M=null===this.holdTime&&("finished"===this.state||"running"===this.state&&V);return M&&v!==d.B&&(A.value=(0,m.X)(h,this.options,g,this.speed)),y&&y(A.value),M&&this.finish(),A}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.X)(this.calculatedDuration)}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.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(a.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=h,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(a.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,o.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)}}function b(t){return new g(t)}},51385:(t,e,i)=>{i.d(e,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},51631:(t,e,i)=>{i.d(e,{p:()=>n});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},52030:(t,e,i)=>{i.d(e,{f:()=>s});var n=i(73632),r=i(20485);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))}}},54349:(t,e,i)=>{i.d(e,{a6:()=>r,am:()=>a,vT:()=>s});var n=i(64069);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)},54779:(t,e,i)=>{i.d(e,{I:()=>a});var n=i(29269),r=i(18205),s=i(22999);function a(t,e){let i=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,u=r.q.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,a=!1,o=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){o.has(e)&&(d.schedule(e),t()),u++,e(l)}let d={schedule:(t,e=!1,s=!1)=>{let a=s&&r?i:n;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(l=t,r){a=!0;return}r=!0,[i,n]=[n,i],i.forEach(h),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,i.clear(),r=!1,a&&(a=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:h,read:d,resolveKeyframes:p,preUpdate:c,update:m,preRender:f,render:v,postRender:y}=u,g=()=>{let r=n.W.useManualTiming?o.timestamp:performance.now();i=!1,n.W.useManualTiming||(o.delta=a?1e3/60:Math.max(Math.min(r-o.timestamp,40),1)),o.timestamp=r,o.isProcessing=!0,h.process(o),d.process(o),p.process(o),c.process(o),m.process(o),f.process(o),v.process(o),y.process(o),o.isProcessing=!1,i&&e&&(a=!1,t(g))};return{schedule:r.q.reduce((e,n)=>{let r=u[n];return e[n]=(e,n=!1,s=!1)=>(!i&&(i=!0,a=!0,o.isProcessing||t(g)),r.schedule(e,n,s)),e},{}),cancel:t=>{for(let e=0;e{i.d(e,{i:()=>s});var n=i(13502),r=i(39417);function s({type:t,...e}){return(0,r.W)(t)&&(0,n.n)()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}},61583:(t,e,i)=>{i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},61918:(t,e,i)=>{i.d(e,{c:()=>c});var n=i(38166),r=i(89396),s=i(29068),a=i(77177),o=i(67809);let l=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),u=new WeakSet;function h(t){return e=>{"Enter"===e.key&&t(e)}}function d(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function p(t){return(0,a.M)(t)&&!(0,r.D)()}function c(t,e,i={}){let[r,a,m]=(0,o.V)(t,i),f=t=>{let n=t.currentTarget;if(!p(t))return;u.add(n);let r=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",h),u.has(n)&&u.delete(n),p(t)&&"function"==typeof r&&r(t,{success:e})},l=t=>{o(t,n===window||n===document||i.useGlobalTarget||(0,s.w)(n,t.target))},h=t=>{o(t,!1)};window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",h,a)};return r.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",f,a),(0,n.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=h(()=>{if(u.has(i))return;d(i,"down");let t=h(()=>{d(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>d(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,a)),l.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),m}},62127:(t,e,i)=>{i.d(e,{F:()=>s,e:()=>r});var n=i(77177);function r(t){return{point:{x:t.pageX,y:t.pageY}}}let s=t=>e=>(0,n.M)(e)&&t(e,r(e))},63142:(t,e,i)=>{i.d(e,{V:()=>h,f:()=>m});var n=i(22753);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(44447),a=i(5946);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:n.y.test(t)?n.y.getAnimatableNone(t):t,m={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(r)?.length||0)>0},parse:d,createTransformer:p,getAnimatableNone:function(t){let e=d(t);return p(t)(e.map(c))}}},64069:(t,e,i)=>{i.d(e,{A:()=>s});var n=i(24589);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){return t===e&&i===s?n.l:n=>0===n||1===n?n:r(function(t,e,i,n,s){let a,o,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}(n,0,1,t,i),e,s)}},64656:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>r});let n=()=>{},r=()=>{}},66159:(t,e,i)=>{i.d(e,{D:()=>a,Y:()=>s});var n=i(22753),r=i(70996);let s={...i(42146).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]},66726:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},67809:(t,e,i)=>{i.d(e,{V:()=>r});var n=i(11997);function r(t,e){let i=(0,n.K)(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}},70251:(t,e,i)=>{i.d(e,{q:()=>n});class n{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)}}},70270:(t,e,i)=>{i.d(e,{P:()=>a});var n=i(89396),r=i(67809);function s(t){return!("touch"===t.pointerType||(0,n.D)())}function a(t,e,i={}){let[n,o,l]=(0,r.V)(t,i),u=t=>{if(!s(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let r=t=>{s(t)&&(n(t),i.removeEventListener("pointerleave",r))};i.addEventListener("pointerleave",r,o)};return n.forEach(t=>{t.addEventListener("pointerenter",u,o)}),l}},70571:(t,e,i)=>{i.d(e,{m:()=>p});var n=i(64656),r=i(89873),s=i(24589),a=i(87969),o=i(37607),l=i(79771),u=i(70251),h=i(32081),d=i(58049);class p extends u.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:r,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:u,onComplete:p}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,(0,n.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let c=(0,d.i)(t);this.animation=(0,h.R)(e,i,r,c,s),!1===c.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=(0,l.X)(r,this.options,u,this.speed);this.updateMotionValue?this.updateMotionValue(t):(0,a.e)(e,i,t),this.animation.cancel()}p?.(),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,r.X)(Number(t))}get time(){return(0,r.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,r.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&&(0,o.J)())?(this.animation.timeline=t,s.l):e(this)}}},70996:(t,e,i)=>{i.d(e,{p:()=>l});var n=i(63142),r=i(44447);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);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}}},71192:(t,e,i)=>{i.d(e,{JL:()=>v,MC:()=>m,W_:()=>c,YK:()=>f});var n=i(76533),r=i(64656),s=i(7283),a=i(22753),o=i(63142),l=i(76901),u=i(22559),h=i(20485),d=i(21910);function p(t,e){return i=>(0,h.k)(t,e,i)}function c(t){return"number"==typeof t?p:"string"==typeof t?(0,s.p)(t)?u.O:a.y.test(t)?l.i:v:Array.isArray(t)?m:"object"==typeof t?a.y.test(t)?l.i:f:u.O}function m(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>c(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=o.f.createTransformer(e),s=(0,o.V)(t),a=(0,o.V)(e);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?d.Q.has(t)&&!a.values.length||d.Q.has(e)&&!s.values.length?(0,d.v)(t,e):(0,n.F)(m(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r{i.d(e,{Gt:()=>r,PP:()=>o,WG:()=>s,uv:()=>a});var n=i(24589);let{schedule:r,cancel:s,state:a,steps:o}=(0,i(54779).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},72627:(t,e,i)=>{i.d(e,{v:()=>n});let n=t=>t.startsWith("--")},72917:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>p});var n=i(17561),r=i(80413),s=i(71418);let a=new Set,o=!1,l=!1,u=!1;function h(){if(l){let t=Array.from(a).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,r.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)})}l=!1,o=!1,a.forEach(t=>t.complete(u)),a.clear()}function d(){a.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(l=!0)})}function p(){u=!0,d(),h(),u=!1}class c{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(a.add(this),o||(o=!0,s.Gt.read(d),s.Gt.resolveKeyframes(h))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}(0,n.D)(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),a.delete(this)}cancel(){"scheduled"===this.state&&(a.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},73632:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},73901:(t,e,i)=>{i.d(e,{T:()=>a,n:()=>o});var n=i(67898),r=i(41967),s=i(27433);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))},76339:(t,e,i)=>{i.d(e,{K:()=>p});var n=i(64656),r=i(24589),s=i(22371),a=i(17314),o=i(34158),l=i(64069),u=i(54349),h=i(61583);let d={linear:r.l,easeIn:u.a6,easeInOut:u.am,easeOut:u.vT,circIn:o.po,circInOut:o.tn,circOut:o.yT,backIn:a.dg,backInOut:a.ZZ,backOut:a.Sz,anticipate:s.b},p=t=>{if((0,h.D)(t)){(0,n.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return(0,l.A)(e,i,r,s)}return"string"==typeof t?((0,n.V)(void 0!==d[t],`Invalid easing type '${t}'`,"invalid-easing-type"),d[t]):t}},76533:(t,e,i)=>{i.d(e,{F:()=>r});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},76550:(t,e,i)=>{i.d(e,{G:()=>h});var n=i(29269),r=i(24589),s=i(76533),a=i(64656),o=i(73632),l=i(44012),u=i(15776);function h(t,e,{clamp:i=!0,ease:d,mixer:p}={}){let c=t.length;if((0,a.V)(c===e.length,"Both input and output ranges must be the same length","range-length"),1===c)return()=>e[0];if(2===c&&e[0]===e[1])return()=>e[1];let m=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,i){let a=[],o=i||n.W.mix||u.j,l=t.length-1;for(let i=0;i{if(m&&i1)for(;ny((0,l.q)(t[0],t[c-1],e)):y}},76704:(t,e,i)=>{i.d(e,{U:()=>s});var n=i(68907),r=i(2607);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.addEventListener("change",e),e()}else r.O.current=!1}},76901:(t,e,i)=>{i.d(e,{B:()=>h,i:()=>c});var n=i(64656),r=i(24674),s=i(42819),a=i(16910),o=i(39959),l=i(22559),u=i(20485);let h=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},d=[r.u,o.B,s.V];function p(t){let e=d.find(e=>e.test(t));if((0,n.$)(!!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===s.V&&(i=(0,a.a)(i)),i}let c=(t,e)=>{let i=p(t),n=p(e);if(!i||!n)return(0,l.O)(t,e);let r={...i};return t=>(r.red=h(i.red,n.red,t),r.green=h(i.green,n.green,t),r.blue=h(i.blue,n.blue,t),r.alpha=(0,u.k)(i.alpha,n.alpha,t),o.B.transform(r))}},77177:(t,e,i)=>{i.d(e,{M:()=>n});let n=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary},77375:(t,e,i)=>{i.d(e,{X:()=>s});var n=i(89873),r=i(26157);function s(t,e=100,i){let a=i({...t,keyframes:[0,e]}),o=Math.min((0,r.t)(a),r.Y);return{type:"keyframes",ease:t=>a.next(o*t).value/e,duration:(0,n.X)(o)}}},77779:(t,e,i)=>{i.d(e,{g:()=>s});var n=i(29269),r=i(32762);function s(t,e){let i=t.getValue("willChange");if((0,r.S)(i)&&i.add)return i.add(e);if(!i&&n.W.WillChange){let i=new n.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},78022:(t,e,i)=>{i.d(e,{L:()=>a,m:()=>s});var n=i(39115),r=i(33686);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}},79771:(t,e,i)=>{i.d(e,{X:()=>r});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},s,a=1){let o=t.filter(n),l=a<0||e&&"loop"!==i&&e%2==1?0:o.length-1;return l&&void 0!==s?s:o[l]}},80413:(t,e,i)=>{i.d(e,{E4:()=>o,Hr:()=>d,W9:()=>h});var n=i(10479),r=i(56187),s=i(67898),a=i(41967);let o=t=>t===s.ai||t===a.px,l=new Set(["x","y","z"]),u=r.U.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.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,n.ry)(e,"x"),y:(t,{transform:e})=>(0,n.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},80874:(t,e,i)=>{i.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},81749:(t,e,i)=>{i.d(e,{f:()=>n});function n(t,e){return e?1e3/e*t:0}},83071:(t,e,i)=>{i.d(e,{e:()=>r});var n=i(83915);let r={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:(0,n.d)([0,.65,.55,1]),circOut:(0,n.d)([.55,0,1,.45]),backIn:(0,n.d)([.31,.01,.66,-.59]),backOut:(0,n.d)([.33,1.53,.69,.99])}},83915:(t,e,i)=>{i.d(e,{d:()=>n});let n=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`},85167:(t,e,i)=>{i.d(e,{W:()=>b});var n=i(37253),r=i(2431),s=i(26103);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)=>{let r=(0,h.K)(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;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,k=!1,C=Array.isArray(h)?h:[h],P=C.reduce(f(l),{});!1===A&&(P={});let{prevResolvedValues:E={}}=u,F={...E,...P},O=e=>{x=!0,g.has(e)&&(k=!0,g.delete(e)),u.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in F){let e=P[t],i=E[t];if(!b.hasOwnProperty(t))((0,s.p)(e)&&(0,s.p)(i)?a(e,i):e===i)?void 0!==e&&g.has(t)?O(t):u.protectedKeys[t]=!0:null!=e?O(t):g.add(t)}u.prevProp=h,u.prevResolvedValues=P,u.isActive&&(b={...b,...P}),c&&t.blockInitialAnimation&&(x=!1);let D=!(V&&M)||k;x&&D&&y.push(...C.map(t=>({animation:t,options:{type:l}})))}if(g.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)}g.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),y.push({animation:e})}let A=!!y.length;return c&&(!1===m.initial||m.initial===m.animate)&&!t.manuallyAnimateOnMount&&(A=!1),c=!1,A?e(y):Promise.resolve()}return{animateChanges:v,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=v(e);for(let t in i)i[t].protectedKeys={};return r},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(){this.node.animationState.reset(),this.unmountControls?.()}}let y=0;class g extends f.X{constructor(){super(...arguments),this.id=y++}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:g}}},85326:(t,e,i)=>{i.d(e,{r:()=>n});function n(t,e){return t?.[e]??t?.default??t}},85588:(t,e,i)=>{i.d(e,{M:()=>d});var n=i(56187),r=i(10479),s=i(7283),a=i(78022),o=i(93856),l=i(39736),u=i(15811),h=i(65737);class d extends o.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(t,e){if(n.f.has(e))return this.projection?.isProjecting?(0,r.zs)(e):(0,r.Ib)(t,e);{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,a.m)(t,e)}build(t,e,i){(0,l.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,h.x)(t,e,i)}}},85761:(t,e,i)=>{i.d(e,{P:()=>r});var n=i(14103);function r(t){return t.props[n.n]}},85894:(t,e,i)=>{i.d(e,{K:()=>n});let n=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e{i.d(e,{$:()=>s,q:()=>a});var n=i(44447);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}}},87969:(t,e,i)=>{i.d(e,{e:()=>r});var n=i(72627);function r(t,e,i){(0,n.v)(e)?t.style.setProperty(e,i):t.style[e]=i}},88045:(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()})},89396:(t,e,i)=>{i.d(e,{D:()=>r,I:()=>n});let n={x:!1,y:!1};function r(){return n.x||n.y}},89873:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},90113:(t,e,i)=>{i.d(e,{T:()=>function t(e,i){if(e)return"function"==typeof e?(0,r.n)()?(0,s.K)(e,i):"ease-out":(0,n.D)(e)?(0,a.d)(e):Array.isArray(e)?e.map(e=>t(e,i)||o.e.easeOut):o.e[e]}});var n=i(61583),r=i(13502),s=i(85894),a=i(83915),o=i(83071)},91297:(t,e,i)=>{i.d(e,{$:()=>h});var n=i(85326),r=i(71418),s=i(92030),a=i(96293),o=i(77779),l=i(85761),u=i(99731);function h(t,e,{delay:i=0,transitionOverride:d,type:p}={}){let{transition:c=t.getDefaultTransition(),transitionEnd:m,...f}=e;d&&(c=d);let v=[],y=p&&t.animationState&&t.animationState.getState()[p];for(let e in f){let a=t.getValue(e,t.latestValues[e]??null),h=f[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.r)(c||{},e)},p=a.get();if(void 0!==p&&!a.isAnimating&&!Array.isArray(h)&&h===p&&!d.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){let i=(0,l.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,r.Gt);null!==t&&(d.startTime=t,m=!0)}}(0,o.g)(t,e),a.start((0,u.f)(e,a,h,t.shouldReduceMotion&&s.$.has(e)?{type:!1}:d,t,m));let g=a.animation;g&&v.push(g)}return m&&Promise.all(v).then(()=>{r.Gt.update(()=>{m&&(0,a.U)(t,m)})}),v}},91756:(t,e,i)=>{i.d(e,{o:()=>f});var n=i(44012),r=i(89873),s=i(85894),a=i(26157),o=i(77375),l=i(6200);let u={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 h=i(64656);function d(t,e){return t*Math.sqrt(1-e*e)}let p=["duration","bounce"],c=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function f(t=u.visualDuration,e=u.bounce){let i,o="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:v,restDelta:y}=o,g=o.keyframes[0],b=o.keyframes[o.keyframes.length-1],w={done:!1,value:g},{stiffness:T,damping:S,mass:A,duration:V,velocity:M,isResolvedFromDuration:x}=function(t){let e={velocity:u.velocity,stiffness:u.stiffness,damping:u.damping,mass:u.mass,isResolvedFromDuration:!1,...t};if(!m(t,c)&&m(t,p))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*(0,n.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:u.mass,stiffness:r,damping:s}}else{let i=function({duration:t=u.duration,bounce:e=u.bounce,velocity:i=u.velocity,mass:s=u.mass}){let a,o;(0,h.$)(t<=(0,r.f)(u.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-e;l=(0,n.q)(u.minDamping,u.maxDamping,l),t=(0,n.q)(u.minDuration,u.maxDuration,(0,r.X)(t)),l<1?(a=e=>{let n=e*l,r=n*t;return .001-(n-i)/d(e,l)*Math.exp(-r)},o=e=>{let n=e*l*t,r=Math.pow(l,2)*Math.pow(e,2)*t,s=Math.exp(-n),o=d(Math.pow(e,2),l);return(n*i+i-r)*s*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),o=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}(a,o,5/t);if(t=(0,r.f)(t),isNaN(p))return{stiffness:u.stiffness,damping:u.damping,duration:t};{let e=Math.pow(p,2)*s;return{stiffness:e,damping:2*l*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:u.mass}).isResolvedFromDuration=!0}return e}({...o,velocity:-(0,r.X)(o.velocity||0)}),k=M||0,C=S/(2*Math.sqrt(T*A)),P=b-g,E=(0,r.X)(Math.sqrt(T/A)),F=5>Math.abs(P);if(v||(v=F?u.restSpeed.granular:u.restSpeed.default),y||(y=F?u.restDelta.granular:u.restDelta.default),C<1){let t=d(E,C);i=e=>b-Math.exp(-C*E*e)*((k+C*E*P)/t*Math.sin(t*e)+P*Math.cos(t*e))}else if(1===C)i=t=>b-Math.exp(-E*t)*(P+(k+E*P)*t);else{let t=E*Math.sqrt(C*C-1);i=e=>{let i=Math.exp(-C*E*e),n=Math.min(t*e,300);return b-i*((k+C*E*P)*Math.sinh(n)+t*P*Math.cosh(n))/t}}let O={calculatedDuration:x&&V||null,next:t=>{let e=i(t);if(x)w.done=t>=V;else{let n=0===t?k:0;C<1&&(n=0===t?(0,r.f)(k):(0,l.Y)(i,t,e));let s=Math.abs(b-e)<=y;w.done=Math.abs(n)<=v&&s}return w.value=w.done?b:e,w},toString:()=>{let t=Math.min((0,a.t)(O),a.Y),e=(0,s.K)(e=>O.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return O}f.applyToOptions=t=>{let e=(0,o.X)(t,100,f);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},92030:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(56187).U])},93048:(t,e,i)=>{i.d(e,{W:()=>function t(e,i,a=1){(0,n.V)(a<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[l,u]=o(e);if(!l)return;let h=window.getComputedStyle(i).getPropertyValue(l);if(h){let t=h.trim();return(0,r.i)(t)?parseFloat(t):t}return(0,s.p)(u)?t(u,i,a+1):u},t:()=>o});var n=i(64656),r=i(43480),s=i(7283);let a=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function o(t){let e=a.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}},93132:(t,e,i)=>{i.d(e,{l:()=>s});var n=i(85167),r=i(2874);let s={renderer:i(27604).J,...n.W,...r.n}},93856:(t,e,i)=>{i.d(e,{b:()=>a});var n=i(99348),r=i(32762),s=i(15623);class a extends s.B{constructor(){super(...arguments),this.KeyframeResolver=n.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,r.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},95930:(t,e,i)=>{i.d(e,{K:()=>r});var n=i(81846);function r(t,e,i){let r=t.getProps();return(0,n.a)(r,e,void 0!==i?i:r.custom,t)}},96293:(t,e,i)=>{i.d(e,{U:()=>a});var n=i(97523),r=i(26103),s=i(95930);function a(t,e){let{transitionEnd:i={},transition:a={},...o}=(0,s.K)(t,e)||{};for(let e in o={...o,...i}){var l;let i=(l=o[e],(0,r.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,n.OQ)(i))}}},97523:(t,e,i)=>{i.d(e,{KG:()=>l,OQ:()=>u,bt:()=>o});var n=i(99088),r=i(81749),s=i(31788),a=i(71418);let o={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=s.k.now();if(this.updatedAt!==i&&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();e&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.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 n.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()}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 o.current&&o.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.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,r.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 u(t,e){return new l(t,e)}},99088:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(46542);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,{K:()=>c});var n=i(92030),r=i(73901),s=i(93048),a=i(7283),o=i(72917),l=i(80874),u=i(63142),h=i(4740);let d=new Set(["auto","none","0"]);var p=i(80413);class c extends o.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{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}},99731:(t,e,i)=>{i.d(e,{f:()=>m});var n=i(85326),r=i(71418),s=i(51270),a=i(36858),o=i(89873),l=i(29269);let u=t=>null!==t;var h=i(56187);let d={type:"spring",stiffness:500,damping:25,restSpeed:10},p={type:"keyframes",duration:.8},c={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},m=(t,e,i,m={},f,v)=>y=>{let g=(0,n.r)(m,t)||{},b=g.delay||m.delay||0,{elapsed:w=0}=m;w-=(0,o.f)(b);let T={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...g,delay:-w,onUpdate:t=>{e.set(t),g.onUpdate&&g.onUpdate(t)},onComplete:()=>{y(),g.onComplete&&g.onComplete()},name:t,motionValue:e,element:v?void 0:f};!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}(g)&&Object.assign(T,((t,{keyframes:e})=>e.length>2?p:h.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:d:c)(t,T)),T.duration&&(T.duration=(0,o.f)(T.duration)),T.repeatDelay&&(T.repeatDelay=(0,o.f)(T.repeatDelay)),void 0!==T.from&&(T.keyframes[0]=T.from);let S=!1;if(!1!==T.type&&(0!==T.duration||T.repeatDelay)||(T.duration=0,0===T.delay&&(S=!0)),(l.W.instantAnimations||l.W.skipAnimations)&&(S=!0,T.duration=0,T.delay=0),T.allowFlatten=!g.type&&!g.ease,S&&!v&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(u),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(T.keyframes,g);if(void 0!==t)return void r.Gt.update(()=>{T.onUpdate(t),T.onComplete()})}return g.isSync?new s.s(T):new a.A(T)}}}]);