"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2495],{6833:(t,e,n)=>{n.d(e,{F:()=>a,e:()=>r});var i=n(55141);function r(t){return{point:{x:t.pageX,y:t.pageY}}}let a=t=>e=>(0,i.M)(e)&&t(e,r(e))},7112:(t,e,n)=>{n.d(e,{p:()=>i});let i=t=>Array.isArray(t)},15874:(t,e,n)=>{n.d(e,{n:()=>P});var i=n(73934),r=n(94322),a=n(29792),s=n(38561);function o(t,e){let n=(0,s.K)(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}var l=n(6833);function u(t,e,n){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===n);let a=r["onHover"+n];a&&i.Gt.postRender(()=>a(e,(0,l.e)(e)))}class h extends r.X{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){let[i,r,s]=o(t,n);return i.forEach(t=>{let n,i=!1,s=!1,o=e=>{n&&(n(e),n=void 0),t.removeEventListener("pointerleave",u)},l=t=>{i=!1,window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",l),s&&(s=!1,o(t))},u=t=>{if("touch"!==t.pointerType){if(i){s=!0;return}o(t)}};t.addEventListener("pointerenter",i=>{if("touch"===i.pointerType||(0,a.D)())return;s=!1;let o=e(t,i);"function"==typeof o&&(n=o,t.addEventListener("pointerleave",u,r))},r),t.addEventListener("pointerdown",()=>{i=!0,window.addEventListener("pointerup",l,r),window.addEventListener("pointercancel",l,r)},r)}),s}(t,(t,e)=>(u(this.node,e,"Start"),t=>u(this.node,t,"End"))))}unmount(){}}var d=n(32494),m=n(23656);class c extends r.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,m.F)((0,d.k)(this.node.current,"focus",()=>this.onFocus()),(0,d.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var p=n(81402);let f=(t,e)=>!!e&&(t===e||f(t,e.parentElement));var v=n(55141),y=n(51945);let g=new WeakSet;function w(t){return e=>{"Enter"===e.key&&t(e)}}function b(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function x(t){return(0,v.M)(t)&&!(0,a.D)()}let T=new WeakSet;function S(t,e,n){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===n);let a=r["onTap"+("End"===n?"":n)];a&&i.Gt.postRender(()=>a(e,(0,l.e)(e)))}class k extends r.X{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:n}=this.node.props;this.unmount=function(t,e,n={}){let[i,r,a]=o(t,n),s=t=>{let i=t.currentTarget;if(!x(t)||T.has(t))return;g.add(i),n.stopPropagation&&T.add(t);let a=e(i,t),s=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),g.has(i)&&g.delete(i),x(t)&&"function"==typeof a&&a(t,{success:e})},o=t=>{s(t,i===window||i===document||n.useGlobalTarget||f(i,t.target))},l=t=>{s(t,!1)};window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",l,r)};return i.forEach(t=>{(n.useGlobalTarget?window:t).addEventListener("pointerdown",s,r),(0,p.s)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let n=t.currentTarget;if(!n)return;let i=w(()=>{if(g.has(n))return;b(n,"down");let t=w(()=>{b(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>b(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)})(t,r)),(0,y.c)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),a}(t,(t,e)=>(S(this.node,e,"Start"),(t,{success:e})=>S(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:n?.tap===!1})}unmount(){}}let A=new WeakMap,M=new WeakMap,C=t=>{let e=A.get(t.target);e&&e(t)},V=t=>{t.forEach(C)},E={some:0,all:1};class D extends r.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:r}=t,a={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:E[i]},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:n,onViewportLeave:i}=this.node.getProps(),a=e?n:i;a&&a(t)};this.stopObserver=function(t,e,n){let i=function({root:t,...e}){let n=t||document;M.has(n)||M.set(n,{});let i=M.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(V,{root:t,...e})),i[r]}(e);return A.set(t,n),i.observe(t),()=>{A.delete(t),i.unobserve(t)}}(this.node.current,a,s)}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 n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let P={inView:{Feature:D},tap:{Feature:k},focus:{Feature:c},hover:{Feature:h}}},16815:(t,e,n)=>{n.d(e,{G:()=>i});let i=t=>e=>1-t(1-e)},17727:(t,e,n)=>{n.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>c,hq:()=>a,o4:()=>l});var i=n(39361),r=n(42418);function a(t,e,n){return n+e*(t-n)}function s(t,e,n,i,r){return void 0!==r&&(t=i+r*(t-i)),i+n*(t-i)+e}function o(t,e=0,n=1,i,r){t.min=s(t.min,e,n,i,r),t.max=s(t.max,e,n,i,r)}function l(t,{x:e,y:n}){o(t.x,e.translate,e.scale,e.originPoint),o(t.y,n.translate,n.scale,n.originPoint)}function u(t,e,n,i=!1){let a,s,o=n.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+=e,t.max+=e}function d(t,e,n,r,a=.5){let s=(0,i.k)(t.min,t.max,a);o(t,e,n,s,r)}function m(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function c(t,e,n){let i=n??t;d(t.x,m(e.x,i.x),e.scaleX,e.scale,e.originX),d(t.y,m(e.y,i.y),e.scaleY,e.scale,e.originY)}},21767:(t,e,n)=>{n.d(e,{K:()=>r});var i=n(10883);function r(t,e,n){let r=t.getProps();return(0,i.a)(r,e,void 0!==n?n:r.custom,t)}},23656:(t,e,n)=>{n.d(e,{F:()=>r});let i=(t,e)=>n=>e(t(n)),r=(...t)=>t.reduce(i)},23781:(t,e,n)=>{n.d(e,{g:()=>a});var i=n(40042),r=n(33182);function a(t,e){let n=t.getValue("willChange");if((0,r.S)(n)&&n.add)return n.add(e);if(!n&&i.W.WillChange){let n=new i.W.WillChange("auto");t.addValue("willChange",n),n.add(e)}}},26666:(t,e,n)=>{n.d(e,{W:()=>b});var i=n(94322),r=n(65777),a=n(93746),s=n(19461),o=n(52036);let l=o._.length;var u=n(36874),h=n(7112),d=n(21767);function m(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;iPromise.all(e.map(({animation:e,options:n})=>(0,r._)(t,e,n))),n=v(),i=!0,f=!1,y=e=>(n,i)=>{let r=(0,d.K)(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...i}=r;n={...n,...i,...e}}return n};function g(r){let{props:v}=t,g=function t(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(n.initial=e.props.initial),n}let n={};for(let t=0;tT&&A,D=!1,P=Array.isArray(p)?p:[p],F=P.reduce(y(o),{});!1===M&&(F={});let{prevResolvedValues:O={}}=l,I={...O,...F},L=e=>{E=!0,b.has(e)&&(D=!0,b.delete(e)),l.needsAnimating[e]=!0;let n=t.getValue(e);n&&(n.liveStyle=!1)};for(let t in I){let e=F[t],n=O[t];if(!x.hasOwnProperty(t))((0,h.p)(e)&&(0,h.p)(n)?m(e,n):e===n)?void 0!==e&&b.has(t)?L(t):l.protectedKeys[t]=!0:null!=e?L(t):b.add(t)}l.prevProp=p,l.prevResolvedValues=F,l.isActive&&(x={...x,...F}),(i||f)&&t.blockInitialAnimation&&(E=!1);let K=C&&V,q=!K||D;E&&q&&w.push(...P.map(e=>{let n={type:o};if("string"==typeof e&&(i||f)&&!K&&t.manuallyAnimateOnMount&&t.parent){let{parent:i}=t,r=(0,d.K)(i,e);if(i.enteringChildren&&r){let{delayChildren:e}=r.transition||{};n.delay=(0,a.L)(i.enteringChildren,t,e)}}return{animation:e,options:n}}))}if(b.size){let e={};if("boolean"!=typeof v.initial){let n=(0,d.K)(t,Array.isArray(v.initial)?v.initial[0]:v.initial);n&&n.transition&&(e.transition=n.transition)}b.forEach(n=>{let i=t.getBaseTarget(n),r=t.getValue(n);r&&(r.liveStyle=!0),e[n]=i??null}),w.push({animation:e})}let A=!!w.length;return i&&(!1===v.initial||v.initial===v.animate)&&!t.manuallyAnimateOnMount&&(A=!1),i=!1,f=!1,A?e(w):Promise.resolve()}return{animateChanges:g,setActive:function(e,i){if(n[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),n[e].isActive=i;let r=g(e);for(let t in n)n[t].protectedKeys={};return r},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=v(),f=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,u.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 g=0;class w extends i.X{constructor(){super(...arguments),this.id=g++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&!1===n){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t){let n=(0,d.K)(this.node,t,e);if(n){let{transition:t,transitionEnd:e,...i}=n;for(let t in i)this.node.getValue(t)?.jump(i[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>{this.isExitComplete=!0,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:y},exit:{Feature:w}}},29792:(t,e,n)=>{n.d(e,{D:()=>r,I:()=>i});let i={x:!1,y:!1};function r(){return i.x||i.y}},32494:(t,e,n)=>{n.d(e,{k:()=>i});function i(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}},33152:(t,e,n)=>{function i({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function a(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}n.d(e,{FY:()=>i,bS:()=>a,pA:()=>r})},38561:(t,e,n)=>{n.d(e,{K:()=>i});function i(t,e,n){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let i=document;e&&(i=e.current);let r=n?.[t]??i.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}},39719:(t,e,n)=>{n.d(e,{f:()=>tO});var i=n(27290),r=n(40042),a=n(6500),s=n(27424),o=n(23656),l=n(48895),u=n(62213),h=n(78041),d=n(21391),m=n(55389),c=n(24888),p=n(68894),f=n(44807);function v(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var y=n(31739);function g(t,e){return n=>n>0?e:t}var w=n(39361);let b=(t,e,n)=>{let i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},x=[p.u,y.B,f.V];function T(t){let e=x.find(e=>e.test(t));if((0,h.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let n=e.parse(t);return e===f.V&&(n=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let r=0,a=0,s=0;if(e/=100){let i=n<.5?n*(1+e):n+e-n*e,o=2*n-i;r=v(o,i,t+1/3),a=v(o,i,t),s=v(o,i,t-1/3)}else r=a=s=n;return{red:Math.round(255*r),green:Math.round(255*a),blue:Math.round(255*s),alpha:i}}(n)),n}let S=(t,e)=>{let n=T(t),i=T(e);if(!n||!i)return g(t,e);let r={...n};return t=>(r.red=b(n.red,i.red,t),r.green=b(n.green,i.green,t),r.blue=b(n.blue,i.blue,t),r.alpha=(0,w.k)(n.alpha,i.alpha,t),y.B.transform(r))},k=new Set(["none","hidden"]);function A(t,e){return n=>(0,w.k)(t,e,n)}function M(t){return"number"==typeof t?A:"string"==typeof t?(0,d.pG)(t)?g:m.y.test(t)?S:E:Array.isArray(t)?C:"object"==typeof t?m.y.test(t)?S:V:g}function C(t,e){let n=[...t],i=n.length,r=t.map((t,n)=>M(t)(t,e[n]));return t=>{for(let e=0;e{for(let e in i)n[e]=i[e](t);return n}}let E=(t,e)=>{let n=c.f.createTransformer(e),i=(0,c.V)(t),r=(0,c.V)(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?k.has(t)&&!r.values.length||k.has(e)&&!i.values.length?function(t,e){return k.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):(0,o.F)(C(function(t,e){let n=[],i={color:0,var:0,number:0};for(let r=0;r{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>P.Gt.update(e,t),stop:()=>(0,P.WG)(e),now:()=>P.uv.isProcessing?P.uv.timestamp:s.k.now()}};var O=n(33754);function I(t){let e=0,n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}let L={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};function K(t,e){return t*Math.sqrt(1-e*e)}let q=["duration","bounce"],X=["stiffness","damping","mass"];function R(t,e){return e.some(e=>void 0!==t[e])}function G(t=L.visualDuration,e=L.bounce){let n,r,a,s,o,u,d="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:m,restDelta:c}=d,p=d.keyframes[0],f=d.keyframes[d.keyframes.length-1],v={done:!1,value:p},{stiffness:y,damping:g,mass:w,duration:b,velocity:x,isResolvedFromDuration:T}=function(t){let e={velocity:L.velocity,stiffness:L.stiffness,damping:L.damping,mass:L.mass,isResolvedFromDuration:!1,...t};if(!R(t,X)&&R(t,q))if(e.velocity=0,t.visualDuration){let n=2*Math.PI/(1.2*t.visualDuration),i=n*n,r=2*(0,l.q)(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:L.mass,stiffness:i,damping:r}}else{let n=function({duration:t=L.duration,bounce:e=L.bounce,velocity:n=L.velocity,mass:r=L.mass}){let a,s;(0,h.$)(t<=(0,i.f)(L.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=(0,l.q)(L.minDamping,L.maxDamping,o),t=(0,l.q)(L.minDuration,L.maxDuration,(0,i.X)(t)),o<1?(a=e=>{let i=e*o,r=i*t;return .001-(i-n)/K(e,o)*Math.exp(-r)},s=e=>{let i=e*o*t,r=Math.pow(o,2)*Math.pow(e,2)*t,s=Math.exp(-i),l=K(Math.pow(e,2),o);return(i*n+n-r)*s*(-a(e)+.001>0?-1:1)/l}):(a=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),s=e=>t*t*(n-e)*Math.exp(-e*t));let u=function(t,e,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/e(i);return i}(a,s,5/t);if(t=(0,i.f)(t),isNaN(u))return{stiffness:L.stiffness,damping:L.damping,duration:t};{let e=Math.pow(u,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}({...t,velocity:0});(e={...e,...n,mass:L.mass}).isResolvedFromDuration=!0}return e}({...d,velocity:-(0,i.X)(d.velocity||0)}),S=x||0,k=g/(2*Math.sqrt(y*w)),A=f-p,M=(0,i.X)(Math.sqrt(y/w)),C=5>Math.abs(A);if(m||(m=C?L.restSpeed.granular:L.restSpeed.default),c||(c=C?L.restDelta.granular:L.restDelta.default),k<1)a=K(M,k),s=(S+k*M*A)/a,n=t=>f-Math.exp(-k*M*t)*(s*Math.sin(a*t)+A*Math.cos(a*t)),o=k*M*s+A*a,u=k*M*A-s*a,r=t=>Math.exp(-k*M*t)*(o*Math.sin(a*t)+u*Math.cos(a*t));else if(1===k){n=t=>f-Math.exp(-M*t)*(A+(S+M*A)*t);let t=S+M*A;r=e=>Math.exp(-M*e)*(M*t*e-S)}else{let t=M*Math.sqrt(k*k-1);n=e=>{let n=Math.exp(-k*M*e),i=Math.min(t*e,300);return f-n*((S+k*M*A)*Math.sinh(i)+t*A*Math.cosh(i))/t};let e=(S+k*M*A)/t,i=k*M*e-A*t,a=k*M*A-e*t;r=e=>{let n=Math.exp(-k*M*e),r=Math.min(t*e,300);return n*(i*Math.sinh(r)+a*Math.cosh(r))}}let V={calculatedDuration:T&&b||null,velocity:t=>(0,i.f)(r(t)),next:t=>{if(!T&&k<1){let e=Math.exp(-k*M*t),n=Math.sin(a*t),r=Math.cos(a*t),l=f-e*(s*n+A*r);return v.done=Math.abs((0,i.f)(e*(o*n+u*r)))<=m&&Math.abs(f-l)<=c,v.value=v.done?f:l,v}let e=n(t);return T?v.done=t>=b:v.done=Math.abs((0,i.f)(r(t)))<=m&&Math.abs(f-e)<=c,v.value=v.done?f:e,v},toString:()=>{let t=Math.min(I(V),2e4),e=(0,O.K)(e=>V.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return V}G.applyToOptions=t=>{let e=function(t,e=100,n){let r=n({...t,keyframes:[0,e]}),a=Math.min(I(r),2e4);return{type:"keyframes",ease:t=>r.next(a*t).value/e,duration:(0,i.X)(a)}}(t,100,G);return t.ease=e.ease,t.duration=(0,i.f)(e.duration),t.type="keyframes",t};var B=n(45242);function W(t,e,n){let i=Math.max(e-5,0);return(0,B.f)(n-t(i),e-i)}function $({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:a=500,modifyTarget:s,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,m,c=t[0],p={done:!1,value:c},f=n*e,v=c+f,y=void 0===s?v:s(v);y!==v&&(f=y-c);let g=t=>-f*Math.exp(-t/i),w=t=>y+g(t),b=t=>{let e=g(t),n=w(t);p.done=Math.abs(e)<=u,p.value=p.done?y:n},x=t=>{let e;if(e=p.value,void 0!==o&&el){var n;d=t,m=G({keyframes:[p.value,(n=p.value,void 0===o?l:void 0===l||Math.abs(o-n){let e=!1;return(m||void 0!==d||(e=!0,b(t),x(t)),void 0!==d&&t>=d)?m.next(t-d):(e||b(t),p)}}}let N=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function _(t,e,n,i){return t===e&&n===i?a.l:r=>0===r||1===r?r:N(function(t,e,n,i,r){let a,s,o=0;do(a=N(s=e+(n-e)/2,i,r)-t)>0?n=s:e=s;while(Math.abs(a)>1e-7&&++o<12);return s}(r,0,1,t,n),e,i)}let H=_(.42,0,1,1),U=_(0,0,.58,1),j=_(.42,0,.58,1);var Y=n(95516),z=n(16815);let Q=_(.33,1.53,.69,.99),J=(0,z.G)(Q),Z=(0,Y.V)(J),tt=t=>t>=1?1:(t*=2)<1?.5*J(t):.5*(2-Math.pow(2,-10*(t-1)));var te=n(69809),tn=n(34324);let ti={linear:a.l,easeIn:H,easeInOut:j,easeOut:U,circIn:te.po,circInOut:te.tn,circOut:te.yT,backIn:J,backInOut:Z,backOut:Q,anticipate:tt},tr=t=>{if((0,tn.D)(t)){(0,h.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,n,i,r]=t;return _(e,n,i,r)}return"string"==typeof t?((0,h.V)(void 0!==ti[t],`Invalid easing type '${t}'`,"invalid-easing-type"),ti[t]):t};var ta=n(91225);function ts({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){var s;let u=Array.isArray(i)&&"number"!=typeof i[0]?i.map(tr):tr(i),d={done:!1,value:e[0]},m=function(t,e,{clamp:n=!0,ease:i,mixer:s}={}){let u=t.length;if((0,h.V)(u===e.length,"Both input and output ranges must be the same length","range-length"),1===u)return()=>e[0];if(2===u&&e[0]===e[1])return()=>e[1];let d=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),e=[...e].reverse());let m=function(t,e,n){let i=[],s=n||r.W.mix||D,l=t.length-1;for(let n=0;n{if(d&&n1)for(;ip((0,l.q)(t[0],t[u-1],e)):p}((s=n&&n.length===e.length?n:function(t){let e=[0];return!function(t,e){let n=t[t.length-1];for(let i=1;i<=e;i++){let r=(0,ta.q)(0,e,i);t.push((0,w.k)(n,1,r))}}(e,t.length-1),e}(e),s.map(e=>e*t)),e,{ease:Array.isArray(u)?u:e.map(()=>u||j).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(d.value=m(e),d.done=e>=t,d)}}var to=n(33855);let tl={decay:$,inertia:$,tween:ts,keyframes:ts,spring:G};function tu(t){"string"==typeof t.type&&(t.type=tl[t.type])}var th=n(87671);let td=t=>t/100;class tm extends th.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==s.k.now()&&this.tick(s.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},u.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;tu(t);let{type:e=ts,repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:a=0}=t,{keyframes:s}=t,l=e||ts;l!==ts&&"number"!=typeof s[0]&&(this.mixKeyframes=(0,o.F)(td,D(s[0],s[1])),s=[0,100]);let u=l({...t,keyframes:s});"mirror"===r&&(this.mirroredGenerator=l({...t,keyframes:[...s].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=I(u));let{calculatedDuration:h}=u;this.calculatedDuration=h,this.resolvedDuration=h+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}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 n,{generator:i,totalDuration:r,mixKeyframes:a,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:u}=this;if(null===this.startTime)return i.next(0);let{delay:h=0,keyframes:d,repeat:m,repeatType:c,repeatDelay:p,type:f,onUpdate:v,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-h*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let b=this.currentTime,x=i;if(m){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,(e=Math.min(e,m+1))%2&&("reverse"===c?(n=1-n,p&&(n-=p/o)):"mirror"===c&&(x=s)),b=(0,l.q)(0,1,n)*o}w?(this.delayState.value=d[0],n=this.delayState):n=x.next(b),a&&!w&&(n.value=a(n.value));let{done:T}=n;w||null===u||(T=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return S&&f!==$&&(n.value=(0,to.X)(d,this.options,y,this.speed)),v&&v(n.value),S&&this.finish(),n}then(t,e){return this.finished.then(t,e)}get duration(){return(0,i.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,i.X)(t)}get time(){return(0,i.X)(this.currentTime)}set time(t){t=(0,i.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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return W(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(s.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,i.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=F,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"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(s.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,u.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var tc=n(63946),tp=n(46934),tf=n(82617);let tv={anticipate:tt,backInOut:Z,circInOut:te.tn};class ty extends tf.m{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tv&&(t.ease=tv[t.ease])}(t),tu(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:n,onComplete:i,element:r,...a}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new tm({...a,autoplay:!1}),u=Math.max(10,s.k.now()-this.startTime),h=(0,l.q)(0,10,u-10),d=o.sample(u).value,{name:m}=this.options;r&&m&&(0,tp.e)(r,m,d),e.setWithVelocity(o.sample(Math.max(0,u-h)).value,d,h),o.stop()}}var tg=n(65181);let tw=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(c.f.test(t)||"0"===t)&&!t.startsWith("url("));function tb(t){t.duration=0,t.type="keyframes"}var tx=n(60178),tT=n(87913);let tS=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,tk=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tA=(0,tx.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tM extends th.q{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:a="loop",keyframes:o,name:l,motionValue:u,element:h,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=s.k.now();let m={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:r,repeatType:a,name:l,motionValue:u,element:h,...d},c=h?.KeyframeResolver||tc.h;this.keyframeResolver=new c(o,(t,e,n)=>this.onKeyframesResolved(t,e,m,!n),l,u,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){let o;this.keyframeResolver=void 0;let{name:l,type:u,velocity:d,delay:m,isHandoff:c,onUpdate:p}=n;this.resolvedAt=s.k.now();let f=!0;!function(t,e,n,i){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let a=t[t.length-1],s=tw(r,e),o=tw(a,e);return(0,h.$)(s===o,`You are trying to animate ${e} from "${r}" to "${a}". "${s?a:r}" is not an animatable value.`,"value-not-animatable"),!!s&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let n=0;n40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},y=f&&!c&&function(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:r,damping:a,type:s,keyframes:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return tA()&&n&&(tT.M.has(n)||tk.has(n)&&function(t){for(let e=0;e{this.notifyFinished()}).catch(a.l),this.pendingTimeline&&(this.stopTimeline=o.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=o}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,tc.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}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()}}var tC=n(63354),tV=n(40479);let tE={type:"spring",stiffness:500,damping:25,restSpeed:10},tD={type:"keyframes",duration:.8},tP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tF=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),tO=(t,e,n,a={},s,o)=>l=>{let u=(0,tC.r)(a,t)||{},h=u.delay||a.delay||0,{elapsed:d=0}=a;d-=(0,i.f)(h);let m={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...u,delay:-d,onUpdate:t=>{e.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:t,motionValue:e,element:o?void 0:s};!function(t){for(let e in t)if(!tF.has(e))return!0;return!1}(u)&&Object.assign(m,((t,{keyframes:e})=>e.length>2?tD:tV.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tE:tP)(t,m)),m.duration&&(m.duration=(0,i.f)(m.duration)),m.repeatDelay&&(m.repeatDelay=(0,i.f)(m.repeatDelay)),void 0!==m.from&&(m.keyframes[0]=m.from);let c=!1;if(!1!==m.type&&(0!==m.duration||m.repeatDelay)||(tb(m),0===m.delay&&(c=!0)),(r.W.instantAnimations||r.W.skipAnimations||s?.shouldSkipAnimations)&&(c=!0,tb(m),m.delay=0),m.allowFlatten=!u.type&&!u.ease,c&&!o&&void 0!==e.get()){let t=(0,to.X)(m.keyframes,u);if(void 0!==t)return void P.Gt.update(()=>{m.onUpdate(t),m.onComplete()})}return u.isSync?new tm(m):new tM(m)}},42418:(t,e,n)=>{function i(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:n}){return!i(t)||!i(e)||!i(n)}function a(t){return r(t)||s(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function s(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}n.d(e,{HD:()=>a,vF:()=>s,vk:()=>r})},45606:(t,e,n)=>{n.d(e,{U:()=>s});var i=n(22039),r=n(21767),a=n(7112);function s(t,e){let{transitionEnd:n={},transition:s={},...o}=(0,r.K)(t,e)||{};for(let e in o={...o,...n}){var l;let n=(l=o[e],(0,a.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,i.OQ)(n))}}},51118:(t,e,n)=>{n.d(e,{K:()=>i});function i(t,e){if(t?.inherit&&e){let{inherit:n,...i}=t;return{...e,...i}}return t}},51945:(t,e,n)=>{n.d(e,{a:()=>s,c:()=>r});let i=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function r(t){return i.has(t.tagName)||!0===t.isContentEditable}let a=new Set(["INPUT","SELECT","TEXTAREA"]);function s(t){return a.has(t.tagName)||!0===t.isContentEditable}},55141:(t,e,n)=>{n.d(e,{M:()=>i});let i=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary},60738:(t,e,n)=>{n.d(e,{P:()=>r});var i=n(99256);function r(t){return t.props[i.n]}},63354:(t,e,n)=>{n.d(e,{r:()=>r});var i=n(51118);function r(t,e){let n=t?.[e]??t?.default??t;return n!==t?(0,i.K)(n,t):n}},65777:(t,e,n)=>{n.d(e,{_:()=>f});var i=n(21767),r=n(63354),a=n(51118),s=n(88786),o=n(45606),l=n(23781),u=n(60738),h=n(39719),d=n(73934);function m(t,e,{delay:n=0,transitionOverride:i,type:c}={}){let{transition:p,transitionEnd:f,...v}=e,y=t.getDefaultTransition();p=p?(0,a.K)(p,y):y;let g=p?.reduceMotion;i&&(p=i);let w=[],b=c&&t.animationState&&t.animationState.getState()[c];for(let e in v){let i=t.getValue(e,t.latestValues[e]??null),a=v[e];if(void 0===a||b&&function({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}(b,e))continue;let o={delay:n,...(0,r.r)(p||{},e)},m=i.get();if(void 0!==m&&!i.isAnimating()&&!Array.isArray(a)&&a===m&&!o.velocity){d.Gt.update(()=>i.set(a));continue}let c=!1;if(window.MotionHandoffAnimation){let n=(0,u.P)(t);if(n){let t=window.MotionHandoffAnimation(n,e,d.Gt);null!==t&&(o.startTime=t,c=!0)}}(0,l.g)(t,e);let f=g??t.shouldReduceMotion;i.start((0,h.f)(e,i,a,f&&s.$.has(e)?{type:!1}:o,t,c));let y=i.animation;y&&w.push(y)}if(f){let e=()=>d.Gt.update(()=>{f&&(0,o.U)(t,f)});w.length?Promise.all(w).then(e):e()}return w}var c=n(93746);function p(t,e,n={}){let r=(0,i.K)(t,e,"exit"===n.type?t.presenceContext?.custom:void 0),{transition:a=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(a=n.transitionOverride);let s=r?()=>Promise.all(m(t,r,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:s,staggerDirection:o}=a;return function(t,e,n=0,i=0,r=0,a=1,s){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(p(l,e,{...s,delay:n+("function"==typeof i?0:i)+(0,c.L)(t.variantChildren,l,i,r,a)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,i,r,s,o,n)}:()=>Promise.resolve(),{when:l}=a;if(!l)return Promise.all([s(),o(n.delay)]);{let[t,e]="beforeChildren"===l?[s,o]:[o,s];return t().then(()=>e())}}function f(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>p(t,e,n)));else if("string"==typeof e)r=p(t,e,n);else{let a="function"==typeof e?(0,i.K)(t,e,n.custom):e;r=Promise.all(m(t,a,n))}return r.then(()=>{t.notify("AnimationComplete",e)})}},68745:(t,e,n)=>{n.d(e,{L:()=>s,m:()=>a});var i=n(33152),r=n(17727);function a(t,e){return(0,i.FY)((0,i.bS)(t.getBoundingClientRect(),e))}function s(t,e,n){let i=a(t,n),{scroll:s}=e;return s&&((0,r.Ql)(i.x,s.offset.x),(0,r.Ql)(i.y,s.offset.y)),i}},69809:(t,e,n)=>{n.d(e,{po:()=>a,tn:()=>o,yT:()=>s});var i=n(95516),r=n(16815);let a=t=>1-Math.sin(Math.acos(t)),s=(0,r.G)(a),o=(0,i.V)(a)},88786:(t,e,n)=>{n.d(e,{$:()=>i});let i=new Set(["width","height","top","left","right","bottom",...n(40479).U])},91225:(t,e,n)=>{n.d(e,{q:()=>i});let i=(t,e,n)=>{let i=e-t;return 0===i?1:(n-t)/i}},93746:(t,e,n)=>{n.d(e,{L:()=>i});function i(t,e,n,r=0,a=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,l=(o-1)*r;return"function"==typeof n?n(s,o):1===a?s*r:l-s*r}},94322:(t,e,n)=>{n.d(e,{X:()=>i});class i{constructor(t){this.isMounted=!1,this.node=t}update(){}}},94701:(t,e,n)=>{n.d(e,{J:()=>K});var i=n(40479),r=n(98387),a=n(39622),s=n(33182),o=n(88786),l=n(20091),u=n(78041),h=n(23863),d=n(21391);let m=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var c=n(63946),p=n(15075),f=n(24888),v=n(82264);let y=new Set(["auto","none","0"]);var g=n(78617);class w extends c.h{constructor(t,e,n,i,r){super(t,e,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n