1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[354],{2821:(t,e,i)=>{function r(){for(var t,e,i=0,r="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=t(e[i]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}i.d(e,{$:()=>r,A:()=>n});let n=r},6500:(t,e,i)=>{i.d(e,{l:()=>r});let r=t=>t},8453:(t,e,i)=>{i.d(e,{v:()=>n});var r=i(16105);class n{constructor(){this.subscriptions=[]}add(t){return(0,r.Kq)(this.subscriptions,t),()=>(0,r.Ai)(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},9150:(t,e,i)=>{i.d(e,{a:()=>r});let r=t=>Math.round(1e5*t)/1e5},11785:(t,e,i)=>{i.d(e,{f:()=>tI});var r=i(63354),n=i(73934),s=i(23656),o=i(48895),a=i(27290),l=i(27424),u=i(62213),h=i(78041),d=i(21391),c=i(55389),p=i(24888),m=i(68894),f=i(44807);function g(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var v=i(31739);function y(t,e){return i=>i>0?e:t}var x=i(39361);let b=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},w=[m.u,v.B,f.V];function T(t){let e=w.find(e=>e.test(t));if((0,h.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===f.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=g(a,r,t+1/3),s=g(a,r,t),o=g(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let P=(t,e)=>{let i=T(t),r=T(e);if(!i||!r)return y(t,e);let n={...i};return t=>(n.red=b(i.red,r.red,t),n.green=b(i.green,r.green,t),n.blue=b(i.blue,r.blue,t),n.alpha=(0,x.k)(i.alpha,r.alpha,t),v.B.transform(n))},S=new Set(["none","hidden"]);function k(t,e){return i=>(0,x.k)(t,e,i)}function A(t){return"number"==typeof t?k:"string"==typeof t?(0,d.p)(t)?y:c.y.test(t)?P:E:Array.isArray(t)?M:"object"==typeof t?c.y.test(t)?P:V:y}function M(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>A(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function V(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=A(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let E=(t,e)=>{let i=p.f.createTransformer(e),r=(0,p.V)(t),n=(0,p.V)(e);return r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length?S.has(t)&&!n.values.length||S.has(e)&&!r.values.length?function(t,e){return S.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,s.F)(M(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][r[s]],a=t.values[o]??0;i[n]=a,r[s]++}return i}(r,n),n.values),i):((0,h.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),y(t,e))};function C(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,x.k)(t,e,i):A(t)(t,e)}let D=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>n.Gt.update(e,t),stop:()=>(0,n.WG)(e),now:()=>n.uv.isProcessing?n.uv.timestamp:l.k.now()}},j=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function R(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}var L=i(45242);function F(t,e,i){let r=Math.max(e-5,0);return(0,L.f)(i-t(r),e-r)}let B={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 I(t,e){return t*Math.sqrt(1-e*e)}let O=["duration","bounce"],z=["stiffness","damping","mass"];function U(t,e){return e.some(e=>void 0!==t[e])}
1function N(t=B.visualDuration,e=B.bounce){let i,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=r,l=r.keyframes[0],u=r.keyframes[r.keyframes.length-1],d={done:!1,value:l},{stiffness:c,damping:p,mass:m,duration:f,velocity:g,isResolvedFromDuration:v}=function(t){let e={velocity:B.velocity,stiffness:B.stiffness,damping:B.damping,mass:B.mass,isResolvedFromDuration:!1,...t};if(!U(t,z)&&U(t,O))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*(0,o.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:B.mass,stiffness:r,damping:n}}else{let i=function({duration:t=B.duration,bounce:e=B.bounce,velocity:i=B.velocity,mass:r=B.mass}){let n,s;(0,h.$)(t<=(0,a.f)(B.maxDuration),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,o.q)(B.minDamping,B.maxDamping,l),t=(0,o.q)(B.minDuration,B.maxDuration,(0,a.X)(t)),l<1?(n=e=>{let r=e*l,n=r*t;return .001-(r-i)/I(e,l)*Math.exp(-n)},s=e=>{let r=e*l*t,s=Math.pow(l,2)*Math.pow(e,2)*t,o=Math.exp(-r),a=I(Math.pow(e,2),l);return(r*i+i-s)*o*(-n(e)+.001>0?-1:1)/a}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let u=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=(0,a.f)(t),isNaN(u))return{stiffness:B.stiffness,damping:B.damping,duration:t};{let e=Math.pow(u,2)*r;return{stiffness:e,damping:2*l*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:B.mass}).isResolvedFromDuration=!0}return e}({...r,velocity:-(0,a.X)(r.velocity||0)}),y=g||0,x=p/(2*Math.sqrt(c*m)),b=u-l,w=(0,a.X)(Math.sqrt(c/m)),T=5>Math.abs(b);if(n||(n=T?B.restSpeed.granular:B.restSpeed.default),s||(s=T?B.restDelta.granular:B.restDelta.default),x<1){let t=I(w,x);i=e=>u-Math.exp(-x*w*e)*((y+x*w*b)/t*Math.sin(t*e)+b*Math.cos(t*e))}else if(1===x)i=t=>u-Math.exp(-w*t)*(b+(y+w*b)*t);else{let t=w*Math.sqrt(x*x-1);i=e=>{let i=Math.exp(-x*w*e),r=Math.min(t*e,300);return u-i*((y+x*w*b)*Math.sinh(r)+t*b*Math.cosh(r))/t}}let P={calculatedDuration:v&&f||null,next:t=>{let e=i(t);if(v)d.done=t>=f;else{let r=0===t?y:0;x<1&&(r=0===t?(0,a.f)(y):F(i,t,e));let o=Math.abs(u-e)<=s;d.done=Math.abs(r)<=n&&o}return d.value=d.done?u:e,d},toString:()=>{let t=Math.min(R(P),2e4),e=j(e=>P.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return P}function W({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,v=void 0===o?g:o(g);v!==g&&(f=v-p);let y=t=>-f*Math.exp(-t/r),x=t=>v+y(t),b=t=>{let e=y(t),i=x(t);m.done=Math.abs(e)<=u,m.value=m.done?v:i},w=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,c=N({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:F(x,t,m.value),damping:n,stiffness:s,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,b(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||b(t),m)}}}N.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),n=Math.min(R(r),2e4);return{type:"keyframes",ease:t=>r.next(n*t).value/e,duration:(0,a.X)(n)}}(t,100,N);return t.ease=e.ease,t.duration=(0,a.f)(e.duration),t.type="keyframes",t};var $=i(6500);let G=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function q(t,e,i,r){return t===e&&i===r?$.l:n=>0===n||1===n?n:G(function(t,e,i,r,n){let s,o,a=0;do(s=G(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o}(n,0,1,t,i),e,r)}let X=q(.42,0,1,1),K=q(0,0,.58,1),H=q(.42,0,.58,1);var Y=i(95516),Q=i(16815);let _=q(.33,1.53,.69,.99),Z=(0,Q.G)(_),J=(0,Y.V)(Z),tt=t=>(t*=2)<1?.5*Z(t):.5*(2-Math.pow(2,-10*(t-1)));var te=i(69809);let ti=t=>Array.isArray(t)&&"number"==typeof t[0],tr={linear:$.l,easeIn:X,easeInOut:H,easeOut:K,circIn:te.po,circInOut:te.tn,circOut:te.yT,backIn:Z,backInOut:J,backOut:_,anticipate:tt},tn=t=>{if(ti(t)){(0,h.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,n]=t;return q(e,i,r,n)}return"string"==typeof t?((0,h.V)(void 0!==tr[t],`Invalid easing type '${t}'`),tr[t]):t};var ts=i(40042),to=i(91225);function ta({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let a=Array.isArray(r)&&"number"!=typeof r[0]?r.map(tn):tn(r),l={done:!1,value:e[0]},u=function(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let a=t.length;if((0,h.V)(a===e.length,"Both input and output ranges must be the same length"),1===a)return()=>e[0];if(2===a&&e[0]===e[1])return()=>e[1];let l=t[0]===t[1];t[0]>t[a-1]&&(t=[...t].reverse(),e=[...e].reverse());
1let u=function(t,e,i){let r=[],n=i||ts.W.mix||C,o=t.length-1;for(let i=0;i<o;i++){let o=n(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||$.l:e;o=(0,s.F)(t,o)}r.push(o)}return r}(e,r,n),d=u.length,c=i=>{if(l&&i<t[0])return e[0];let r=0;if(d>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=(0,to.q)(t[r],t[r+1],i);return u[r](n)};return i?e=>c((0,o.q)(t[0],t[a-1],e)):c}((n=i&&i.length===e.length?i:function(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=(0,to.q)(0,e,r);t.push((0,x.k)(i,1,n))}}(e,t.length-1),e}(e),n.map(e=>e*t)),e,{ease:Array.isArray(a)?a:e.map(()=>a||H).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=u(e),l.done=e>=t,l)}}let tl=t=>null!==t;function tu(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(tl),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}let th={decay:W,inertia:W,tween:ta,keyframes:ta,spring:N};function td(t){"string"==typeof t.type&&(t.type=th[t.type])}class tc{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let tp=t=>t/100;class tm extends tc{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!==l.k.now()&&this.tick(l.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;td(t);let{type:e=ta,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:o=0}=t,{keyframes:a}=t,l=e||ta;l!==ta&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,s.F)(tp,C(a[0],a[1])),a=[0,100]);let u=l({...t,keyframes:a});"mirror"===n&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=R(u));let{calculatedDuration:h}=u;this.calculatedDuration=h,this.resolvedDuration=h+r,this.totalDuration=this.resolvedDuration*(i+1)-r,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{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:d,repeatType:c,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:g}=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 v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,b=i;if(d){let t=Math.min(this.currentTime,r)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===c?(i=1-i,p&&(i-=p/a)):"mirror"===c&&(b=s)),x=(0,o.q)(0,1,i)*a}let w=y?{done:!1,value:h[0]}:b.next(x);n&&(w.value=n(w.value));let{done:T}=w;y||null===l||(T=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return P&&m!==W&&(w.value=tu(h,this.options,g,this.speed)),f&&f(w.value),P&&this.finish(),w}then(t,e){return this.finished.then(t,e)}get duration(){return(0,a.X)(this.calculatedDuration)}get time(){return(0,a.X)(this.currentTime)}set time(t){t=(0,a.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(l.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,a.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=D,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(l.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 tf=i(63946);function tg(t){let e;return()=>(void 0===e&&(e=t()),e)}let tv=tg(()=>void 0!==window.ScrollTimeline);var ty=i(23867);let tx={},tb=function(t,e){let i=tg(t);return()=>tx[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),tw=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,tT={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tw([0,.65,.55,1]),circOut:tw([.55,0,1,.45]),backIn:tw([.31,.01,.66,-.59]),backOut:tw([.33,1.53,.69,.99])};function tP(t){return"function"==typeof t&&"applyToOptions"in t}class tS extends tc{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,(0,h.V)("string"!=typeof t.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');let l=function({type:t,...e}){return tP(t)&&tb()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},h){let d={[e]:i};l&&(d.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?tb()?j(e,i):"ease-out":ti(e)?tw(e):Array.isArray(e)?e.map(e=>t(e,i)||tT.easeOut):tT[e]}(a,n);Array.isArray(c)&&(d.easing=c),ty.Q.value&&u.q.waapi++;let p={delay:r,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};h&&(p.pseudoElement=h);let m=t.animate(d,p);return ty.Q.value&&m.finished.finally(()=>{u.q.waapi--}),m}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=tu(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,a.X)(Number(t))}get time(){return(0,a.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,a.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&&tv())?(this.animation.timeline=t,$.l):e(this)}}let tk={anticipate:tt,backInOut:J,circInOut:te.tn};class tA extends tS{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tk&&(t.ease=tk[t.ease])}(t),td(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new tm({...s,autoplay:!1}),l=(0,a.f)(this.finishedTime??this.time);e.setWithVelocity(o.sample(l-10).value,o.sample(l).value,10),o.stop()}}let tM=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(p.f.test(t)||"0"===t)&&!t.startsWith("url("));var tV=i(81402);let tE=new Set(["opacity","clipPath","filter","transform"]),tC=tg(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tD extends tc{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:u,element:h,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=l.k.now();let c={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:u,element:h,...d},p=h?.KeyframeResolver||tf.h;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,u,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){this.keyframeResolver=void 0;let{name:n,type:s,velocity:o,delay:a,isHandoff:u,onUpdate:d}=i;
1this.resolvedAt=l.k.now(),!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=tM(n,e),a=tM(s,e);return(0,h.$)(o===a,`You are trying to animate ${e} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||tP(i))&&r)}(t,n,s,o)&&((ts.W.instantAnimations||!a)&&d?.(tu(t,i,e)),t[0]=t[t.length-1],i.duration=0,i.repeat=0);let c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=!u&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=t;if(!(0,tV.s)(e?.owner?.current))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return tC()&&i&&tE.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(c)?new tA({...c,element:c.motionValue.owner.current}):new tm(c);p.finished.then(()=>this.notifyFinished()).catch($.l),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}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,tf.q)()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let tj=t=>null!==t;var tR=i(40479);let tL={type:"spring",stiffness:500,damping:25,restSpeed:10},tF={type:"keyframes",duration:.8},tB={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tI=(t,e,i,s={},o,l)=>u=>{let h=(0,r.r)(s,t)||{},d=h.delay||s.delay||0,{elapsed:c=0}=s;c-=(0,a.f)(d);let p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...h,delay:-c,onUpdate:t=>{e.set(t),h.onUpdate&&h.onUpdate(t)},onComplete:()=>{u(),h.onComplete&&h.onComplete()},name:t,motionValue:e,element:l?void 0:o};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(h)&&Object.assign(p,((t,{keyframes:e})=>e.length>2?tF:tR.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tL:tB)(t,p)),p.duration&&(p.duration=(0,a.f)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,a.f)(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let m=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(p.duration=0,0===p.delay&&(m=!0)),(ts.W.instantAnimations||ts.W.skipAnimations)&&(m=!0,p.duration=0,p.delay=0),p.allowFlatten=!h.type&&!h.ease,m&&!l&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},r){let n=t.filter(tj),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[s]}(p.keyframes,h);if(void 0!==t)return void n.Gt.update(()=>{p.onUpdate(t),p.onComplete()})}return h.isSync?new tm(p):new tD(p)}},12096:(t,e,i)=>{i.d(e,{K:()=>n});var r=i(34100);function n(t,e,i){let n=t.getProps();return(0,r.a)(n,e,void 0!==i?i:n.custom,t)}}
1,16105:(t,e,i)=>{function r(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>n,Kq:()=>r})},16815:(t,e,i)=>{i.d(e,{G:()=>r});let r=t=>e=>1-t(1-e)},21391:(t,e,i)=>{i.d(e,{j:()=>n,p:()=>o});let r=t=>e=>"string"==typeof e&&e.startsWith(t),n=r("--"),s=r("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},22039:(t,e,i)=>{i.d(e,{OQ:()=>u});var r=i(8453),n=i(45242),s=i(27424),o=i(73934);let a={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 r.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,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 a.current&&a.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,n.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},23656:(t,e,i)=>{i.d(e,{F:()=>n});let r=(t,e)=>i=>e(t(i)),n=(...t)=>t.reduce(r)},23867:(t,e,i)=>{i.d(e,{Q:()=>r});let r={value:null,addProjectionMetrics:null}},23919:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>o});var r=i(24531);let n=/^(?:#[\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&&n.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,o,a,l]=n.match(r.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},24531:(t,e,i)=>{i.d(e,{S:()=>r});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},24888:(t,e,i)=>{i.d(e,{V:()=>h,f:()=>m});var r=i(55389);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(24531),o=i(9150);let a="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=[],n={color:[],number:[],var:[]}
1,s=[],o=0,h=e.replace(u,t=>(r.y.test(t)?(n.color.push(o),s.push(l),i.push(r.y.parse(t))):t.startsWith("var(")?(n.var.push(o),s.push("var"),i.push(t)):(n.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:n,types:s}}function d(t){return h(t).values}function c(t){let{split:e,types:i}=h(t),n=e.length;return t=>{let s="";for(let u=0;u<n;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===a?s+=(0,o.a)(t[u]):e===l?s+=r.y.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:r.y.test(t)?r.y.getAnimatableNone(t):t,m={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(n)?.length||0)>0},parse:d,createTransformer:c,getAnimatableNone:function(t){let e=d(t);return c(t)(e.map(p))}}},27290:(t,e,i)=>{i.d(e,{X:()=>n,f:()=>r});let r=t=>1e3*t,n=t=>t/1e3},27424:(t,e,i)=>{let r;i.d(e,{k:()=>a});var n=i(40042),s=i(73934);function o(){r=void 0}let a={now:()=>(void 0===r&&a.set(s.uv.isProcessing||n.W.useManualTiming?s.uv.timestamp:performance.now()),r),set:t=>{r=t,queueMicrotask(o)}}},31739:(t,e,i)=>{i.d(e,{B:()=>l});var r=i(48895),n=i(37822),s=i(9150),o=i(23919);let a={...n.ai,transform:t=>Math.round((0,r.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,s.a)(n.X4.transform(r))+")"}},33182:(t,e,i)=>{i.d(e,{S:()=>r});let r=t=>!!(t&&t.getVelocity)},33577:(t,e,i)=>{i.d(e,{B:()=>r});let r="undefined"!=typeof window},34100:(t,e,i)=>{function r(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function n(t,e,i,n){if("function"==typeof e){let[s,o]=r(n);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=r(n);e=e(void 0!==i?i:t.custom,s,o)}return e}i.d(e,{a:()=>n})},37822:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>n,hs:()=>o});var r=i(48895);let n={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...n,transform:t=>(0,r.q)(0,1,t)},o={...n,default:1}},37899:(t,e,i)=>{i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>h});let r=t=>180*t/Math.PI,n=t=>o(r(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:n,rotateZ:n,skewX:t=>r(Math.atan(t[1])),skewY:t=>r(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(r(Math.atan2(t[6],t[5]))),rotateY:t=>o(r(Math.atan2(-t[2],t[0]))),rotateZ:n,rotate:n,skewX:t=>r(Math.atan(t[4])),skewY:t=>r(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,r;if(!t||"none"===t)return h(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=u,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,r=e}if(!r)return h(e);let o=i[e],a=r[1].split(",").map(p);return"function"==typeof o?o(a):a[o]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},39361:(t,e,i)=>{i.d(e,{k:()=>r});let r=(t,e,i)=>t+(e-t)*i},40042:(t,e,i)=>{i.d(e,{W:()=>r});let r={}},40479:(t,e,i)=>{i.d(e,{U:()=>r,f:()=>n});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(r)},41089:(t,e,i)=>{i.d(e,{p:()=>r});let r=t=>Array.isArray(t)},41515:(t,e,i)=>{i.d(e,{P:()=>n});var r=i(61729);function n(t){return t.props[r.n]}},44300:(t,e,i)=>{i.d(e,{I:()=>o});var r=i(40042);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=i(23867);function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,u=n.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(d.schedule(e),t()),u++,e(l)}let d={schedule:(t,e=!1,s=!1)=>{let o=s&&n?i:r;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{r.delete(t),a.delete(t)},process:t=>{if(l=t,n){o=!0;return}
1n=!0,[i,r]=[r,i],i.forEach(h),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,i.clear(),n=!1,o&&(o=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:h,read:d,resolveKeyframes:c,preUpdate:p,update:m,preRender:f,render:g,postRender:v}=u,y=()=>{let n=r.W.useManualTiming?a.timestamp:performance.now();i=!1,r.W.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(n-a.timestamp,40),1)),a.timestamp=n,a.isProcessing=!0,h.process(a),d.process(a),c.process(a),p.process(a),m.process(a),f.process(a),g.process(a),v.process(a),a.isProcessing=!1,i&&e&&(o=!1,t(y))};return{schedule:n.reduce((e,r)=>{let n=u[r];return e[r]=(e,r=!1,s=!1)=>(!i&&(i=!0,o=!0,a.isProcessing||t(y)),n.schedule(e,r,s)),e},{}),cancel:t=>{for(let e=0;e<n.length;e++)u[n[e]].cancel(t)},state:a,steps:u}}},44807:(t,e,i)=>{i.d(e,{V:()=>a});var r=i(37822),n=i(92419),s=i(9150),o=i(23919);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+n.KN.transform((0,s.a)(e))+", "+n.KN.transform((0,s.a)(i))+", "+(0,s.a)(r.X4.transform(o))+")"}},45242:(t,e,i)=>{i.d(e,{f:()=>r});function r(t,e){return e?1e3/e*t:0}},48895:(t,e,i)=>{i.d(e,{q:()=>r});let r=(t,e,i)=>i>e?e:i<t?t:i},53127:(t,e,i)=>{i.d(e,{Q:()=>r});let r=(0,i(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},55389:(t,e,i)=>{i.d(e,{y:()=>o});var r=i(68894),n=i(44807),s=i(31739);let o={test:t=>s.B.test(t)||r.u.test(t)||n.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):n.V.test(t)?n.V.parse(t):r.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):n.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},55888:(t,e,i)=>{i.d(e,{_:()=>m});var r=i(12096),n=i(63354),s=i(73934),o=i(88786),a=i(98763),l=i(76258),u=i(41515),h=i(11785);function d(t,e,{delay:i=0,transitionOverride:r,type:c}={}){let{transition:p=t.getDefaultTransition(),transitionEnd:m,...f}=e;r&&(p=r);let g=[],v=c&&t.animationState&&t.animationState.getState()[c];for(let e in f){let r=t.getValue(e,t.latestValues[e]??null),a=f[e];if(void 0===a||v&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(v,e))continue;let d={delay:i,...(0,n.r)(p||{},e)},c=r.get();if(void 0!==c&&!r.isAnimating&&!Array.isArray(a)&&a===c&&!d.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){let i=(0,u.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,s.Gt);null!==t&&(d.startTime=t,m=!0)}}(0,l.g)(t,e),r.start((0,h.f)(e,r,a,t.shouldReduceMotion&&o.$.has(e)?{type:!1}:d,t,m));let y=r.animation;y&&g.push(y)}return m&&Promise.all(g).then(()=>{s.Gt.update(()=>{m&&(0,a.U)(t,m)})}),g}function c(t,e,i={}){let n=(0,r.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let o=n?()=>Promise.all(d(t,n,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,r=0,n=0,s=1,o){let a=[],l=t.variantChildren.size,u=(l-1)*n,h="function"==typeof r,d=h?t=>r(t,l):1===s?(t=0)=>t*n:(t=0)=>u-t*n;return Array.from(t.variantChildren).sort(p).forEach((t,n)=>{t.notify("AnimationStart",e),a.push(c(t,e,{...o,delay:i+(h?0:r)+d(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(a)}(t,e,r,n,o,a,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function p(t,e){return t.sortNodePosition(e)}function m(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>c(t,e,i)));else if("string"==typeof e)n=c(t,e,i);else{let s="function"==typeof e?(0,r.K)(t,e,i.custom):e;n=Promise.all(d(t,s,i))}return n.then(()=>{t.notify("AnimationComplete",e)})}},59686:(t,e,i)=>{i.d(e,{t:()=>r});let r=(0,i(12115).createContext)(null)},60296:(t,e,i)=>{i.d(e,{L:()=>r});let r=(0,i(12115).createContext)({})},61729:(t,e,i)=>{i.d(e,{n:()=>r});let r="data-"+(0,i(92287).I)("framerAppearId")},62213:(t,e,i)=>{i.d(e,{q:()=>r});let r={layout:0,mainThread:0,waapi:0}},63354:(t,e,i)=>{i.d(e,{r:()=>r});function r(t,e){return t?.[e]??t?.default??t}}
1,63946:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>d});var r=i(78617),n=i(73934);let s=new Set,o=!1,a=!1,l=!1;function u(){if(a){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,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)})}a=!1,o=!1,s.forEach(t=>t.complete(l)),s.clear()}function h(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function d(){l=!0,h(),u(),l=!1}class c{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),o||(o=!0,n.Gt.read(h),n.Gt.resolveKeyframes(u))):(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 r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},68894:(t,e,i)=>{i.d(e,{u:()=>n});var r=i(31739);let n={test:(0,i(23919).$)("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:r.B.transform}},69809:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var r=i(95516),n=i(16815);let s=t=>1-Math.sin(Math.acos(t)),o=(0,n.G)(s),a=(0,r.V)(s)},71408:(t,e,i)=>{i.d(e,{N:()=>y});var r=i(95155),n=i(12115),s=i(60296),o=i(94416),a=i(86553),l=i(59686),u=i(81402),h=i(53127);class d extends n.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=(0,u.s)(t)&&t.offsetWidth||0,r=this.props.sizeRef.current;r.height=e.offsetHeight||0,r.width=e.offsetWidth||0,r.top=e.offsetTop,r.left=e.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function c(t){let{children:e,isPresent:i,anchorX:s,root:o}=t,a=(0,n.useId)(),l=(0,n.useRef)(null),u=(0,n.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:c}=(0,n.useContext)(h.Q);return(0,n.useInsertionEffect)(()=>{let{width:t,height:e,top:r,left:n,right:h}=u.current;if(i||!l.current||!t||!e)return;l.current.dataset.motionPopId=a;let d=document.createElement("style");c&&(d.nonce=c);let p=null!=o?o:document.head;return p.appendChild(d),d.sheet&&d.sheet.insertRule('\n [data-motion-pop-id="'.concat(a,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n ").concat("left"===s?"left: ".concat(n):"right: ".concat(h),"px !important;\n top: ").concat(r,"px !important;\n }\n ")),()=>{p.removeChild(d),p.contains(d)&&p.removeChild(d)}},[i]),(0,r.jsx)(d,{isPresent:i,childRef:l,sizeRef:u,children:n.cloneElement(e,{ref:l})})}let p=t=>{let{children:e,initial:i,isPresent:s,onExitComplete:a,custom:u,presenceAffectsLayout:h,mode:d,anchorX:p,root:f}=t,g=(0,o.M)(m),v=(0,n.useId)(),y=!0,x=(0,n.useMemo)(()=>(y=!1,{id:v,initial:i,isPresent:s,custom:u,onExitComplete:t=>{for(let e of(g.set(t,!0),g.values()))if(!e)return;a&&a()},register:t=>(g.set(t,!1),()=>g.delete(t))}),[s,g,a]);return h&&y&&(x={...x}),(0,n.useMemo)(()=>{g.forEach((t,e)=>g.set(e,!1))},[s]),n.useEffect(()=>{s||g.size||!a||a()},[s]),"popLayout"===d&&(e=(0,r.jsx)(c,{isPresent:s,anchorX:p,root:f,children:e})),(0,r.jsx)(l.t.Provider,{value:x,children:e})};function m(){return new Map}var f=i(75601);let g=t=>t.key||"";function v(t){let e=[];
1return n.Children.forEach(t,t=>{(0,n.isValidElement)(t)&&e.push(t)}),e}let y=t=>{let{children:e,custom:i,initial:l=!0,onExitComplete:u,presenceAffectsLayout:h=!0,mode:d="sync",propagate:c=!1,anchorX:m="left",root:y}=t,[x,b]=(0,f.xQ)(c),w=(0,n.useMemo)(()=>v(e),[e]),T=c&&!x?[]:w.map(g),P=(0,n.useRef)(!0),S=(0,n.useRef)(w),k=(0,o.M)(()=>new Map),[A,M]=(0,n.useState)(w),[V,E]=(0,n.useState)(w);(0,a.E)(()=>{P.current=!1,S.current=w;for(let t=0;t<V.length;t++){let e=g(V[t]);T.includes(e)?k.delete(e):!0!==k.get(e)&&k.set(e,!1)}},[V,T.length,T.join("-")]);let C=[];if(w!==A){let t=[...w];for(let e=0;e<V.length;e++){let i=V[e],r=g(i);T.includes(r)||(t.splice(e,0,i),C.push(i))}return"wait"===d&&C.length&&(t=C),E(v(t)),M(w),null}let{forceRender:D}=(0,n.useContext)(s.L);return(0,r.jsx)(r.Fragment,{children:V.map(t=>{let e=g(t),n=(!c||!!x)&&(w===V||T.includes(e));return(0,r.jsx)(p,{isPresent:n,initial:(!P.current||!!l)&&void 0,custom:i,presenceAffectsLayout:h,mode:d,root:y,onExitComplete:n?void 0:()=>{if(!k.has(e))return;k.set(e,!0);let t=!0;k.forEach(e=>{e||(t=!1)}),t&&(null==D||D(),E(S.current),c&&(null==b||b()),u&&u())},anchorX:m,children:t},e)})})}},73142:(t,e,i)=>{i.d(e,{G:()=>r});function r(t){return"object"==typeof t&&null!==t}},73934:(t,e,i)=>{i.d(e,{Gt:()=>n,PP:()=>a,WG:()=>s,uv:()=>o});var r=i(6500);let{schedule:n,cancel:s,state:o,steps:a}=(0,i(44300).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},75601:(t,e,i)=>{i.d(e,{xQ:()=>s});var r=i(12115),n=i(59686);function s(t=!0){let e=(0,r.useContext)(n.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,r.useId)();(0,r.useEffect)(()=>{if(t)return a(l)},[t]);let u=(0,r.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,u]:[!0]}},75889:(t,e,i)=>{i.d(e,{QP:()=>ti});let r=(t,e)=>{if(0===t.length)return e.classGroupId;let i=t[0],n=e.nextPart.get(i),s=n?r(t.slice(1),n):void 0;if(s)return s;if(0===e.validators.length)return;let o=t.join("-");return e.validators.find(({validator:t})=>t(o))?.classGroupId},n=/^\[(.+)\]$/,s=(t,e,i,r)=>{t.forEach(t=>{if("string"==typeof t){(""===t?e:o(e,t)).classGroupId=i;return}if("function"==typeof t)return a(t)?void s(t(r),e,i,r):void e.validators.push({validator:t,classGroupId:i});Object.entries(t).forEach(([t,n])=>{s(n,o(e,t),i,r)})})},o=(t,e)=>{let i=t;return e.split("-").forEach(t=>{i.nextPart.has(t)||i.nextPart.set(t,{nextPart:new Map,validators:[]}),i=i.nextPart.get(t)}),i},a=t=>t.isThemeGetter,l=/\s+/;function u(){let t,e,i=0,r="";for(;i<arguments.length;)(t=arguments[i++])&&(e=h(t))&&(r&&(r+=" "),r+=e);return r}let h=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=h(t[r]))&&(i&&(i+=" "),i+=e);return i},d=t=>{let e=e=>e[t]||[];return e.isThemeGetter=!0,e},c=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,p=/^\((?:(\w[\w-]*):)?(.+)\)$/i,m=/^\d+\/\d+$/,f=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,v=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,y=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,x=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,b=t=>m.test(t),w=t=>!!t&&!Number.isNaN(Number(t)),T=t=>!!t&&Number.isInteger(Number(t)),P=t=>t.endsWith("%")&&w(t.slice(0,-1)),S=t=>f.test(t),k=()=>!0,A=t=>g.test(t)&&!v.test(t),M=()=>!1,V=t=>y.test(t),E=t=>x.test(t),C=t=>!j(t)&&!O(t),D=t=>q(t,_,M),j=t=>c.test(t),R=t=>q(t,Z,A),L=t=>q(t,J,w),F=t=>q(t,K,M),B=t=>q(t,Y,E),I=t=>q(t,M,V),O=t=>p.test(t),z=t=>X(t,Z),U=t=>X(t,tt),N=t=>X(t,K),W=t=>X(t,_),$=t=>X(t,Y),G=t=>X(t,te,!0),q=(t,e,i)=>{let r=c.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},X=(t,e,i=!1)=>{let r=p.exec(t);return!!r&&(r[1]?e(r[1]):i)},K=t=>"position"===t,H=new Set(["image","url"]),Y=t=>H.has(t),Q=new Set(["length","size","percentage"]),_=t=>Q.has(t),Z=t=>"length"===t,J=t=>"number"===t,tt=t=>"family-name"===t,te=t=>"shadow"===t;Symbol.toStringTag;let ti=function(t,...e){let i,o,a,h=function(l){let u;return o=(i={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=new Map,r=new Map,n=(n,s)=>{i.set(n,s),++e>t&&(e=0,r=i,i=new Map)};return{get(t){let e=i.get(t);return void 0!==e?e:void 0!==(e=r.get(t))?(n(t,e),e):void 0},set(t,e){i.has(t)?i.set(t,e):n(t,e)}}})((u=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i,r=[],n=0,s=0,o=0;for(let i=0;i<t.length;i++){let a=t[i];if(0===n&&0===s){if(":"===a){r.push(t.slice(o,i)),o=i+1;continue}if("/"===a){e=i;continue}}"["===a?n++:"]"===a?n--:"("===a?s++:")"===a&&s--}let a=0===r.length?t:t.substring(o),l=(i=a).endsWith("!")?i.substring(0,i.length-1):i.startsWith("!")?i.substring(1):i;return{modifiers:r,hasImportantModifier:l!==a,baseClassName:l,maybePostfixModifierPosition:e&&e>o?e-o:void 0}};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.substring(t.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:e,maybePostfixModifierPosition:void 0}}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r})(u),sortModifiers:(t=>{let e=Object.fromEntries(t.orderSensitiveModifiers.map(t=>[t,!0]));return t=>{if(t.length<=1)return t;let i=[],r=[];return t.forEach(t=>{"["===t[0]||e[t]?(i.push(...r.sort(),t),r=[]):r.push(t)}),i.push(...r.sort()),i}})(u),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t,r={nextPart:new Map,validators:[]};for(let t in i)s(i[t],r,t,e);return r})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{let i=t.split("-");return""===i[0]&&1!==i.length&&i.shift(),r(i,e)||(t=>
1{if(n.test(t)){let e=n.exec(t)[1],i=e?.substring(0,e.indexOf(":"));if(i)return"arbitrary.."+i}})(t)},getConflictingClassGroupIds:(t,e)=>{let r=i[t]||[];return e&&o[t]?[...r,...o[t]]:r}}})(u)}).cache.get,a=i.cache.set,h=d,d(l)};function d(t){let e=o(t);if(e)return e;let r=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(l),u="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:l,modifiers:h,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=i(e);if(l){u=e+(u.length>0?" "+u:u);continue}let m=!!p,f=r(m?c.substring(0,p):c);if(!f){if(!m||!(f=r(c))){u=e+(u.length>0?" "+u:u);continue}m=!1}let g=s(h).join(":"),v=d?g+"!":g,y=v+f;if(o.includes(y))continue;o.push(y);let x=n(f,m);for(let t=0;t<x.length;++t){let e=x[t];o.push(v+e)}u=e+(u.length>0?" "+u:u)}return u})(t,i);return a(t,r),r}return function(){return h(u.apply(null,arguments))}}(()=>{let t=d("color"),e=d("font"),i=d("text"),r=d("font-weight"),n=d("tracking"),s=d("leading"),o=d("breakpoint"),a=d("container"),l=d("spacing"),u=d("radius"),h=d("shadow"),c=d("inset-shadow"),p=d("drop-shadow"),m=d("blur"),f=d("perspective"),g=d("aspect"),v=d("ease"),y=d("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],M=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto","contain","none"],E=()=>[b,"px","full","auto",O,j,l],q=()=>[T,"none","subgrid",O,j],X=()=>["auto",{span:["full",T,O,j]},O,j],K=()=>[T,"auto",O,j],H=()=>["auto","min","max","fr",O,j],Y=()=>[O,j,l],Q=()=>["start","end","center","between","around","evenly","stretch","baseline"],_=()=>["start","end","center","stretch"],Z=()=>[O,j,l],J=()=>["px",...Z()],tt=()=>["px","auto",...Z()],te=()=>[b,"auto","px","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",O,j,l],ti=()=>[t,O,j],tr=()=>[P,R],tn=()=>["","none","full",u,O,j],ts=()=>["",w,z,R],to=()=>["solid","dashed","dotted","double"],ta=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],tl=()=>["","none",m,O,j],tu=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O,j],th=()=>["none",w,O,j],td=()=>["none",w,O,j],tc=()=>[w,O,j],tp=()=>[b,"full","px",O,j,l];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[S],breakpoint:[S],color:[k],container:[S],"drop-shadow":[S],ease:["in","out","in-out"],font:[C],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[S],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[S],shadow:[S],spacing:[w],text:[S],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",b,j,O,g]}],container:["container"],columns:[{columns:[w,j,O,a]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...A(),j,O]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}
vendor: 6,950 bytes, line 1
1],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[T,"auto",O,j]}],basis:[{basis:[b,"full","auto",O,j,a,l]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[w,b,"auto","initial","none",j]}],grow:[{grow:["",w,O,j]}],shrink:[{shrink:["",w,O,j]}],order:[{order:[T,"first","last","none",O,j]}],"grid-cols":[{"grid-cols":q()}],"col-start-end":[{col:X()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":q()}],"row-start-end":[{row:X()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":H()}],"auto-rows":[{"auto-rows":H()}],gap:[{gap:Y()}],"gap-x":[{"gap-x":Y()}],"gap-y":[{"gap-y":Y()}],"justify-content":[{justify:[...Q(),"normal"]}],"justify-items":[{"justify-items":[..._(),"normal"]}],"justify-self":[{"justify-self":["auto",..._()]}],"align-content":[{content:["normal",...Q()]}],"align-items":[{items:[..._(),"baseline"]}],"align-self":[{self:["auto",..._(),"baseline"]}],"place-content":[{"place-content":Q()}],"place-items":[{"place-items":[..._(),"baseline"]}],"place-self":[{"place-self":["auto",..._()]}],p:[{p:J()}],px:[{px:J()}],py:[{py:J()}],ps:[{ps:J()}],pe:[{pe:J()}],pt:[{pt:J()}],pr:[{pr:J()}],pb:[{pb:J()}],pl:[{pl:J()}],m:[{m:tt()}],mx:[{mx:tt()}],my:[{my:tt()}],ms:[{ms:tt()}],me:[{me:tt()}],mt:[{mt:tt()}],mr:[{mr:tt()}],mb:[{mb:tt()}],ml:[{ml:tt()}],"space-x":[{"space-x":Z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Z()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[a,"screen",...te()]}],"min-w":[{"min-w":[a,"screen","none",...te()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...te()]}],h:[{h:["screen",...te()]}],"min-h":[{"min-h":["screen","none",...te()]}],"max-h":[{"max-h":["screen",...te()]}],"font-size":[{text:["base",i,z,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,O,L]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",P,j]}],"font-family":[{font:[U,j,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,O,j]}],"line-clamp":[{"line-clamp":[w,"none",O,L]}],leading:[{leading:[O,j,s,l]}],"list-image":[{"list-image":["none",O,j]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",O,j]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ti()}],"text-color":[{text:ti()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...to(),"wavy"]}],"text-decoration-thickness":[{decoration:[w,"from-font","auto",O,R]}],"text-decoration-color":[{decoration:ti()}],"underline-offset":[{"underline-offset":[w,"auto",O,j]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:["px",...Z()]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O,j]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O,j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...A(),N,F]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",W,D]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},T,O,j],radial:["",O,j],conic:[T,O,j]},$,B]}],"bg-color":[{bg:ti()}],"gradient-from-pos":[{from:tr()}],"gradient-via-pos":[{via:tr()}],"gradient-to-pos":[{to:tr()}],"gradient-from":[{from:ti()}],"gradient-via":[{via:ti()}],"gradient-to":[{to:ti()}],rounded:[{rounded:tn()}],"rounded-s":[{"rounded-s":tn()}],"rounded-e":[{"rounded-e":tn()}],"rounded-t":[{"rounded-t":tn()}],"rounded-r":[{"rounded-r":tn()}],"rounded-b":[{"rounded-b":tn()}],"rounded-l":[{"rounded-l":tn()}],"rounded-ss":[{"rounded-ss":tn()}],"rounded-se":[{"rounded-se":tn()}],"rounded-ee":[{"rounded-ee":tn()}],"rounded-es":[{"rounded-es":tn()}],"rounded-tl":[{"rounded-tl":tn()}],"rounded-tr":[{"rounded-tr":tn()}],"rounded-br":[{"rounded-br":tn()}],"rounded-bl":[{"rounded-bl":tn()}],"border-w":[{border:ts()}],"border-w-x":[{"border-x":ts()}],"border-w-y":[{"border-y":ts()}],"border-w-s":[{"border-s":ts()}],"border-w-e":[{"border-e":ts()}],"border-w-t":[{"border-t":ts()}],"border-w-r":[{"border-r":ts()}],"border-w-b":[{"border-b":ts()}],"border-w-l":[{"border-l":ts()}],"divide-x":[{"divide-x":ts()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ts()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...to(),"hidden","none"]}],"divide-style":[{divide:[...to(),"hidden","none"]}],"border-color":[{border:ti()}],"border-color-x":[{"border-x":ti()}],"border-color-y":[{"border-y":ti()}],"border-color-s":[{"border-s":ti()}],"border-color-e":[{"border-e":ti()}],"border-color-t":[{"border-t":ti()}],"border-color-r":[{"border-r":ti()}],"border-color-b":[{"border-b":ti()}],"border-color-l":[{"border-l":ti()}],"divide-color":[{divide:ti()}],"outline-style":[{outline:[...to(),"none","hidden"]}],"outline-offset":[{"outline-offset":[w,O,j]}],"outline-w":[{outline:["",w,z,R]}],"outline-color":[{outline:[t]}],shadow:[{shadow:["","none",h,G,I]}],"shadow-color":[{shadow:ti()}],"inset-shadow":[{"inset-shadow":["none",O,j,c]}],"inset-shadow-color":[{"inset-shadow":ti()}],"ring-w":[{ring:ts()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ti()}],"ring-offset-w":[{"ring-offset":[w,R]}],"ring-offset-color":[{"ring-offset":ti()}],"inset-ring-w":[{"inset-ring":ts()}],"inset-ring-color":[{"inset-ring":ti()}],opacity:[{opacity:[w,O,j]}],"mix-blend":[{"mix-blend":[...ta(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ta()}],filter:[{filter:["","none",O,j]}],blur:[{blur:tl()}],brightness:[{brightness:[w,O,j]}],contrast:[{contrast:[w,O,j]}],"drop-shadow":[{"drop-shadow":["","none",p,O,j]}],grayscale:[{grayscale:["",w,O,j]}],"hue-rotate":[{"hue-rotate":[w,O,j]}],invert:[{invert:["",w,O,j]}],saturate:[{saturate:[w,O,j]}],sepia:[{sepia:["",w,O,j]}],"backdrop-filter":[{"backdrop-filter":["","none",O,j]}
vendor: 6,357 bytes, line 1
1],"backdrop-blur":[{"backdrop-blur":tl()}],"backdrop-brightness":[{"backdrop-brightness":[w,O,j]}],"backdrop-contrast":[{"backdrop-contrast":[w,O,j]}],"backdrop-grayscale":[{"backdrop-grayscale":["",w,O,j]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w,O,j]}],"backdrop-invert":[{"backdrop-invert":["",w,O,j]}],"backdrop-opacity":[{"backdrop-opacity":[w,O,j]}],"backdrop-saturate":[{"backdrop-saturate":[w,O,j]}],"backdrop-sepia":[{"backdrop-sepia":["",w,O,j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Z()}],"border-spacing-x":[{"border-spacing-x":Z()}],"border-spacing-y":[{"border-spacing-y":Z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",O,j]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[w,"initial",O,j]}],ease:[{ease:["linear","initial",v,O,j]}],delay:[{delay:[w,O,j]}],animate:[{animate:["none",y,O,j]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,O,j]}],"perspective-origin":[{"perspective-origin":tu()}],rotate:[{rotate:th()}],"rotate-x":[{"rotate-x":th()}],"rotate-y":[{"rotate-y":th()}],"rotate-z":[{"rotate-z":th()}],scale:[{scale:td()}],"scale-x":[{"scale-x":td()}],"scale-y":[{"scale-y":td()}],"scale-z":[{"scale-z":td()}],"scale-3d":["scale-3d"],skew:[{skew:tc()}],"skew-x":[{"skew-x":tc()}],"skew-y":[{"skew-y":tc()}],transform:[{transform:[O,j,"","none","gpu","cpu"]}],"transform-origin":[{origin:tu()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tp()}],"translate-x":[{"translate-x":tp()}],"translate-y":[{"translate-y":tp()}],"translate-z":[{"translate-z":tp()}],"translate-none":["translate-none"],accent:[{accent:ti()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ti()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O,j]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O,j]}],fill:[{fill:["none",...ti()]}],"stroke-w":[{stroke:[w,z,R,L]}],stroke:[{stroke:["none",...ti()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}})},76258:(t,e,i)=>{i.d(e,{g:()=>s});var r=i(40042),n=i(33182);function s(t,e){let i=t.getValue("willChange");if((0,n.S)(i)&&i.add)return i.add(e);
1if(!i&&r.W.WillChange){let i=new r.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},78041:(t,e,i)=>{i.d(e,{$:()=>r,V:()=>n});let r=()=>{},n=()=>{}},78617:(t,e,i)=>{i.d(e,{E4:()=>a,Hr:()=>d,W9:()=>h});var r=i(37899),n=i(40479),s=i(37822),o=i(92419);let a=t=>t===s.ai||t===o.px,l=new Set(["x","y","z"]),u=n.U.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.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,r.ry)(e,"x"),y:(t,{transform:e})=>(0,r.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},81402:(t,e,i)=>{i.d(e,{s:()=>n});var r=i(73142);function n(t){return(0,r.G)(t)&&"offsetHeight"in t}},81673:(t,e,i)=>{function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{P:()=>rf});var n,s,o=i(55888),a=i(41089);function l(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}function u(t){return"string"==typeof t||Array.isArray(t)}let h=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...h],c=d.length;var p=i(12096);let m=[...h].reverse(),f=h.length;function g(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function v(){return{animate:g(!0),whileInView:g(),whileHover:g(),whileTap:g(),whileDrag:g(),whileFocus:g(),exit:g()}}class y{constructor(t){this.isMounted=!1,this.node=t}update(){}}class x extends y{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(0,o._)(t,e,i))),i=v(),n=!0,s=e=>(i,r)=>{let n=(0,p.K)(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function h(o){let{props:h}=t,g=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<c;t++){let r=d[t],n=e.props[r];(u(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},v=[],y=new Set,x={},b=1/0;for(let e=0;e<f;e++){var w,T;let d=m[e],c=i[d],p=void 0!==h[d]?h[d]:g[d],f=u(p),P=d===o?c.isActive:null;!1===P&&(b=e);let S=p===g[d]&&p!==h[d]&&f;if(S&&n&&t.manuallyAnimateOnMount&&(S=!1),c.protectedKeys={...x},!c.isActive&&null===P||!p&&!c.prevProp||r(p)||"boolean"==typeof p)continue;let k=(w=c.prevProp,"string"==typeof(T=p)?T!==w:!!Array.isArray(T)&&!l(T,w)),A=k||d===o&&c.isActive&&!S&&f||e>b&&f,M=!1,V=Array.isArray(p)?p:[p],E=V.reduce(s(d),{});!1===P&&(E={});let{prevResolvedValues:C={}}=c,D={...C,...E},j=e=>{A=!0,y.has(e)&&(M=!0,y.delete(e)),c.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in D){let e=E[t],i=C[t];if(!x.hasOwnProperty(t))((0,a.p)(e)&&(0,a.p)(i)?l(e,i):e===i)?void 0!==e&&y.has(t)?j(t):c.protectedKeys[t]=!0:null!=e?j(t):y.add(t)}c.prevProp=p,c.prevResolvedValues=E,c.isActive&&(x={...x,...E}),n&&t.blockInitialAnimation&&(A=!1);let R=!(S&&k)||M;A&&R&&v.push(...V.map(t=>({animation:t,options:{type:d}})))}if(y.size){let e={};if("boolean"!=typeof h.initial){let i=(0,p.K)(t,Array.isArray(h.initial)?h.initial[0]:h.initial);i&&i.transition&&(e.transition=i.transition)}y.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),v.push({animation:e})}let P=!!v.length;return n&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(P=!1),n=!1,P?e(v):Promise.resolve()}return{animateChanges:h,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let n=h(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=v(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();r(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 b=0;class w extends y{constructor(){super(...arguments),this.id=b++}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 r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var T=i(6500);let P={x:!1,y:!1};var S=i(92419),k=i(73934),A=i(39361),M=i(78041),V=i(11785);function E(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let C=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function D(t){return{point:{x:t.pageX,y:t.pageY}}}function j(t,e,i,r){return E(t,e,t=>C(t)&&i(t,D(t)),r)}function R({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function L(t){return t.max-t.min}function F(t,e,i,r=.5){t.origin=r,t.originPoint=(0,A.k)(e.min,e.max,t.origin),t.scale=L(i)/L(e),t.translate=(0,A.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function B(t,e,i,r){F(t.x,e.x,i.x,r?r.originX:void 0),F(t.y,e.y,i.y,r?r.originY:void 0)}function I(t,e,i){t.min=i.min+e.min,t.max=t.min+L(e)}function O(t,e,i){t.min=e.min-i.min,t.max=t.min+L(e)}function z(t,e,i){O(t.x,e.x,i.x),O(t.y,e.y,i.y)}let U=()=>({translate:0,scale:1,origin:0,originPoint:0}),N=()=>({x:U(),y:U()}),W=()=>({min:0,max:0}),$=()=>({x:W(),y:W()});function G(t){return[t("x"),t("y")]}function q(t){return void 0===t||1===t}function X({scale:t,scaleX:e,scaleY:i}){return!q(t)||!q(e)||!q(i)}function K(t){return X(t)||H(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function H(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function Y(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function Q(t,e=0,i=1,r,n){t.min=Y(t.min,e,i,r,n),t.max=Y(t.max,e,i,r,n)}function _(t,{x:e,y:i}){Q(t.x,e.translate,e.scale,e.originPoint),Q(t.y,i.translate,i.scale,i.originPoint)}function Z(t,e){t.min=t.min+e,t.max=t.max+e}function J(t,e,i,r,n=.5){let s=(0,A.k)(t.min,t.max,n);Q(t,e,i,s,r)}function tt(t,e){J(t.x,e.x,e.scaleX,e.scale,e.originX),J(t.y,e.y,e.scaleY,e.scale,e.originY)}function te(t,e){return R(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let ti=({current:t})=>t?t.ownerDocument.defaultView:null;function tr(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var tn=i(76258),ts=i(23656),to=i(27290);let ta=(t,e)=>Math.abs(t-e);class tl{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=td(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(ta(t.x,e.x)**2+ta(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:r}=t,{timestamp:n}=k.uv;this.history.push({...r,timestamp:n});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tu(e,this.transformPagePoint),k.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=td("pointercancel"===t.type?this.lastMoveEventInfo:tu(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!C(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;let o=tu(D(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=k.uv;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=e;u&&u(t,td(o,this.history)),this.removeListeners=(0,ts.F)(j(this.contextWindow,"pointermove",this.handlePointerMove),j(this.contextWindow,"pointerup",this.handlePointerUp),j(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,k.WG)(this.updatePoint)}}function tu(t,e){return e?{point:e(t.point)}:t}function th(t,e){return{x:t.x-e.x,y:t.y-e.y}}function td({point:t},e){return{point:t,delta:th(t,tc(e)),offset:th(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=tc(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>(0,to.f)(.1)));)i--;if(!r)return{x:0,y:0};let s=(0,to.X)(n.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function tc(t){return t[t.length-1]}var tp=i(91225),tm=i(48895);function tf(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function tg(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function tv(t,e,i){return{min:ty(t,e),max:ty(t,i)}}function ty(t,e){return"number"==typeof t?t:t[e]||0}let tx=new WeakMap;class tb{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(D(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(P[t])return null;else return P[t]=!0,()=>{P[t]=!1};return P.x||P.y?null:(P.x=P.y=!0,()=>{P.x=P.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),G(t=>{let e=this.getAxisMotionValue(t).get()||0;if(S.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=L(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&k.Gt.postRender(()=>n(t,e)),(0,tn.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>G(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();
1this.panSession=new tl(t,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:ti(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&k.Gt.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!tw(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?(0,A.k)(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?(0,A.k)(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&tr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:tf(t.x,i,n),y:tf(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tv(t,"left","right"),y:tv(t,"top","bottom")}}(e),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&G(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!tr(e))return!1;let r=e.current;(0,M.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(t,e,i){let r=te(t,i),{scroll:n}=e;return n&&(Z(r.x,n.offset.x),Z(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:tg(t.x,s.x),y:tg(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=R(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(G(o=>{if(!tw(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,tn.g)(this.visualElement,t),i.start((0,V.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){G(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){G(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){G(e=>{let{drag:i}=this.getProps();if(!tw(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-(0,A.k)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!tr(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};G(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();r[t]=function(t,e){let i=.5,r=L(t),n=L(e);return n>r?i=(0,tp.q)(e.min,e.max-r,t.min):r>n&&(i=(0,tp.q)(t.min,t.max-n,e.min)),(0,tm.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),G(e=>{if(!tw(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set((0,A.k)(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;tx.set(this.visualElement,this);let t=j(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();tr(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),k.Gt.read(e);let n=E(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(G(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function tw(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tT extends y{constructor(t){super(t),this.removeGroupControls=T.l,this.removeListeners=T.l,this.controls=new tb(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||T.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let tP=t=>(e,i)=>{t&&k.Gt.postRender(()=>t(e,i))};class tS extends y{constructor(){super(...arguments),this.removePointerDownListener=T.l}onPointerDown(t){this.session=new tl(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ti(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:tP(t),onStart:tP(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&k.Gt.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=j(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tk=i(95155);let{schedule:tA}=(0,i(44300).I)(queueMicrotask,!1);var tM=i(12115),tV=i(75601),tE=i(60296);let tC=(0,tM.createContext)({}),tD={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tj(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tR={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!S.px.test(t))return t;else t=parseFloat(t);let i=tj(t,e.target.x),r=tj(t,e.target.y);return`${i}% ${r}%`}};var tL=i(24888),tF=i(21391);let tB={},tI=!1;class tO extends tM.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;for(let t in tU)tB[t]=tU[t],(0,tF.j)(t)&&(tB[t].isCSSVariable=!0);n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),tI&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),tD.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,tI=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||k.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tA.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tz(t){let[e,i]=(0,tV.xQ)(),r=(0,tM.useContext)(tE.L);return(0,tk.jsx)(tO,{...t,layoutGroup:r,switchLayoutGroup:(0,tM.useContext)(tC),isPresent:e,safeToRemove:i})}let tU={borderRadius:{...tR,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tR,borderTopRightRadius:tR,borderBottomLeftRadius:tR,borderBottomRightRadius:tR,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=tL.f.parse(t);if(r.length>5)return t;let n=tL.f.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=(0,A.k)(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};var tN=i(23867),tW=i(73142);function t$(t){return(0,tW.G)(t)&&"ownerSVGElement"in t}var tG=i(63354),tq=i(27424),tX=i(62213),tK=i(22039),tH=i(8453),tY=i(33182),tQ=i(41515),t_=i(16105);let tZ=(t,e)=>t.depth-e.depth;class tJ{constructor(){this.children=[],this.isDirty=!1}add(t){(0,t_.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,t_.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tZ),this.isDirty=!1,this.children.forEac
1h(t)}}function t0(t){return(0,tY.S)(t)?t.get():t}var t1=i(69809);let t2=["TopLeft","TopRight","BottomLeft","BottomRight"],t5=t2.length,t3=t=>"string"==typeof t?parseFloat(t):t,t9=t=>"number"==typeof t||S.px.test(t);function t4(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let t8=t7(0,.5,t1.yT),t6=t7(.5,.95,T.l);function t7(t,e,i){return r=>r<t?0:r>e?1:i((0,tp.q)(t,e,r))}function et(t,e){t.min=e.min,t.max=e.max}function ee(t,e){et(t.x,e.x),et(t.y,e.y)}function ei(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function er(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function en(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(S.KN.test(e)&&(e=parseFloat(e),e=(0,A.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,A.k)(s.min,s.max,r);t===s&&(a-=e),t.min=er(t.min,e,i,a,n),t.max=er(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let es=["x","scaleX","originX"],eo=["y","scaleY","originY"];function ea(t,e,i,r){en(t.x,e,es,i?i.x:void 0,r?r.x:void 0),en(t.y,e,eo,i?i.y:void 0,r?r.y:void 0)}function el(t){return 0===t.translate&&1===t.scale}function eu(t){return el(t.x)&&el(t.y)}function eh(t,e){return t.min===e.min&&t.max===e.max}function ed(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ec(t,e){return ed(t.x,e.x)&&ed(t.y,e.y)}function ep(t){return L(t.x)/L(t.y)}function em(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class ef{constructor(){this.members=[]}add(t){(0,t_.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,t_.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let eg={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ev=["","X","Y","Z"],ey=0;function ex(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function eb({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=ey++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tN.Q.value&&(eg.nodes=eg.calculatedTargetDeltas=eg.calculatedProjections=0),this.nodes.forEach(eP),this.nodes.forEach(eC),this.nodes.forEach(eD),this.nodes.forEach(eS),tN.Q.addProjectionMetrics&&tN.Q.addProjectionMetrics(eg)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new tJ)}
1addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tH.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=t$(e)&&!(t$(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;k.Gt.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==r&&(r=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tq.k.now(),r=({timestamp:e})=>{let n=e-i;n>=250&&((0,k.WG)(r),t(n-250))};return k.Gt.setup(r,!0),()=>(0,k.WG)(r)}(n,250),tD.hasAnimatedSinceResize&&(tD.hasAnimatedSinceResize=!1,this.nodes.forEach(eE)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||eI,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!ec(this.targetLayout,r),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,tG.r)(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||eE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,k.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ej),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=(0,tQ.P)(i);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",k.Gt,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eA);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(eM);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eV),this.nodes.forEach(ew),this.nodes.forEach(eT)):this.nodes.forEach(eM),this.clearAllSnapshots();let t=tq.k.now();
1k.uv.delta=(0,tm.q)(0,1e3/60,t-k.uv.timestamp),k.uv.timestamp=t,k.uv.isProcessing=!0,k.PP.update.process(k.uv),k.PP.preRender.process(k.uv),k.PP.render.process(k.uv),k.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tA.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ek),this.sharedNodes.forEach(eR)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,k.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){k.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||L(this.snapshot.measuredBox.x)||L(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=$(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!eu(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||K(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),eU((e=r).x),eU(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return $();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eW))){let{scroll:t}=this.root;t&&(Z(e.x,t.offset.x),Z(e.y,t.offset.y))}return e}removeElementScroll(t){let e=$();if(ee(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&ee(e,t),Z(e.x,n.offset.x),Z(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=$();ee(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&tt(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),K(r.latestValues)&&tt(i,r.latestValues)}return K(this.latestValues)&&tt(i,this.latestValues),i}removeTransform(t){let e=$();ee(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!K(i.latestValues))continue;X(i.latestValues)&&i.updateSnapshot();let r=$();ee(r,i.measurePageBox()),ea(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return K(this.latestValues)&&ea(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==k.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;
1if(this.layout&&(r||n)){if(this.resolvedRelativeTargetAt=k.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$(),this.relativeTargetOrigin=$(),z(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ee(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=$(),this.targetWithTransforms=$()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,I(s.x,o.x,a.x),I(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ee(this.target,this.layout.layoutBox),_(this.target,this.targetDelta)):ee(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$(),this.relativeTargetOrigin=$(),z(this.relativeTargetOrigin,this.target,t.target),ee(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tN.Q.value&&eg.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||X(this.parent.latestValues)||H(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===k.uv.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;ee(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&tt(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,_(t,s)),r&&K(n.latestValues)&&tt(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=$());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ei(this.prevProjectionDelta.x,this.projectionDelta.x),ei(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),B(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&em(this.projectionDelta.x,this.prevProjectionDelta.x)&&em(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),tN.Q.value&&eg.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=N(),this.projectionDelta=N(),this.projectionDeltaWithTransform=N()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=N();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=$(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&
1!0===this.options.crossfade&&!this.path.some(eB));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(eL(o.x,t.x,r),eL(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,m,f,g;z(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=r,eF(p.x,m.x,f.x,g),eF(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,c=i,eh(u.x,c.x)&&eh(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=$()),ee(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=(0,A.k)(0,i.opacity??1,t8(r)),t.opacityExit=(0,A.k)(e.opacity??1,0,t6(r))):s&&(t.opacity=(0,A.k)(e.opacity??1,i.opacity??1,r));for(let n=0;n<t5;n++){let s=`border${t2[n]}Radius`,o=t4(e,s),a=t4(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||t9(o)===t9(a)?(t[s]=Math.max((0,A.k)(t3(o),t3(a),r),0),(S.KN.test(a)||S.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,A.k)(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,d,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,k.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=k.Gt.update(()=>{tD.hasAnimatedSinceResize=!0,tX.q.layout++,this.motionValue||(this.motionValue=(0,tK.OQ)(0)),this.currentAnimation=function(t,e,i){let r=(0,tY.S)(t)?t:(0,tK.OQ)(t);return r.start((0,V.f)("",r,e,i)),r.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{tX.q.layout--},onComplete:()=>{tX.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&eN(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||$();let e=L(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=L(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}ee(e,i),tt(e,n),B(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ef),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&ex("z",t,r,this.animationValues);for(let e=0;e<ev.length;e++)ex(`rotate${ev[e]}`,t,r,this.animationValues),ex(`skew${ev[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=t0(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=t0(e?.pointerEvents)||""),this.hasProjected&&!K(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,tB){if(void 0===n[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=tB[e],l="none"===s?n[e]:i(n[e],r);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?t0(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eA),this.root.sharedNodes.clear()}}}function ew(t){t.updateLayout()}function eT(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;"size"===n?G(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=L(r);r.min=i[t].min,r.max=r.min+n}):eN(n,e.layoutBox,i)&&G(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=L(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=N();B(o,i,e.layoutBox);let a=N();s?B(a,t.applyTransform(r,!0),e.measuredBox):B(a,i,e.layoutBox);let l=!eu(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=$();z(o,e.layoutBox,n.layoutBox);let a=$();z(a,i,s.layoutBox),ec(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eP(t){tN.Q.value&&eg.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eS(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ek(t){t.clearSnapshot()}function eA(t){t.clearMeasurements()}function eM(t){t.isLayoutDirty=!1}function eV(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eE(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eC(t){t.resolveTargetDelta()}function eD(t){t.calcProjection()}function ej(t){t.resetSkewAndRotation()}function eR(t){t.removeLeadSnapshot()}function eL(t,e,i){t.translate=(0,A.k)(e.translate,0,i),t.scale=(0,A.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eF(t,e,i,r){t.min=(0,A.k)(e.min,i.min,r),t.max=(0,A.k)(e.max,i.max,r)}function eB(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eI={duration:.45,ease:[.4,0,.1,1]},eO=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ez=eO("applewebkit/")&&!eO("chrome/")?Math.round:T.l;function eU(t){t.min=ez(t.min),t.max=ez(t.max)}function eN(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(ep(e)-ep(i)))}function eW(t){return t!==t.root&&t.scroll?.wasRoot}let e$=eb({attachResizeListener:(t,e)=>E(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eG={current:void 0},eq=eb({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eG.current){let t=new e$({});t.mount(window),t.setOptions({layoutScroll:!0}),eG.current=t}return eG.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function eX(t,e){let i=function(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,i=(void 0)??e.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function eK(t){return!("touch"===t.pointerType||P.x||P.y)}function eH(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&k.Gt.postRender(()=>n(e,D(e)))}class eY extends y{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=eX(t,i),o=t=>{if(!eK(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let s=t=>{eK(t)&&(r(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,n)};return r.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}(t,(t,e)=>(eH(this.node,e,"Start"),t=>eH(this.node,t,"End"))))}unmount(){}}class eQ extends y{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,ts.F)(E(this.node.current,"focus",()=>this.onFocus()),E(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var e_=i(81402);let eZ=(t,e)=>!!e&&(t===e||eZ(t,e.parentElement)),eJ=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),e0=new WeakSet;function e1(t){return e=>{"Enter"===e.key&&t(e)}}function e2(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function e5(t){return C(t)&&!(P.x||P.y)}function e3(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 n=r["onTap"+("End"===i?"":i)];n&&k.Gt.postRender(()=>n(e,D(e)))}class e9 extends y{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=eX(t,i),o=t=>{let r=t.currentTarget;if(!e5(t))return;e0.add(r);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),e0.has(r)&&e0.delete(r),e5(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||eZ(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),(0,e_.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=e1(()=>
1{if(e0.has(i))return;e2(i,"down");let t=e1(()=>{e2(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>e2(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),eJ.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(e3(this.node,e,"Start"),(t,{success:e})=>e3(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let e4=new WeakMap,e8=new WeakMap,e6=t=>{let e=e4.get(t.target);e&&e(t)},e7=t=>{t.forEach(e6)},it={some:0,all:1};class ie extends y{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:r="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof r?r:it[r]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)};var a=this.node.current;let l=function({root:t,...e}){let i=t||document;e8.has(i)||e8.set(i,{});let r=e8.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(e7,{root:t,...e})),r[n]}(s);return e4.set(a,o),l.observe(a),()=>{e4.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let ii=(0,tM.createContext)({strict:!1});var ir=i(53127);let is=(0,tM.createContext)({});function io(t){return r(t.animate)||d.some(e=>u(t[e]))}function ia(t){return!!(io(t)||t.variants)}function il(t){return Array.isArray(t)?t.join(" "):t}var iu=i(33577);let ih={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},id={};for(let t in ih)id[t]={isEnabled:e=>ih[t].some(t=>!!e[t])};let ic=Symbol.for("motionComponentSymbol");var ip=i(61729),im=i(59686),ig=i(86553),iv=i(40479);function iy(t,{layout:e,layoutId:i}){return iv.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!tB[t]||"opacity"===t)}let ix=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var ib=i(37822);let iw={...ib.ai,transform:Math.round},iT={rotate:S.uj,rotateX:S.uj,rotateY:S.uj,rotateZ:S.uj,scale:ib.hs,scaleX:ib.hs,scaleY:ib.hs,scaleZ:ib.hs,skew:S.uj,skewX:S.uj,skewY:S.uj,distance:S.px,translateX:S.px,translateY:S.px,translateZ:S.px,x:S.px,y:S.px,z:S.px,perspective:S.px,transformPerspective:S.px,opacity:ib.X4,originX:S.gQ,originY:S.gQ,originZ:S.px},iP={borderWidth:S.px,borderTopWidth:S.px,borderRightWidth:S.px,borderBottomWidth:S.px,borderLeftWidth:S.px,borderRadius:S.px,radius:S.px,borderTopLeftRadius:S.px,borderTopRightRadius:S.px,borderBottomRightRadius:S.px,borderBottomLeftRadius:S.px,width:S.px,maxWidth:S.px,height:S.px,maxHeight:S.px,top:S.px,right:S.px,bottom:S.px,left:S.px,padding:S.px,paddingTop:S.px,paddingRight:S.px,paddingBottom:S.px,paddingLeft:S.px,margin:S.px,marginTop:S.px,marginRight:S.px,marginBottom:S.px,marginLeft:S.px,backgroundPositionX:S.px,backgroundPositionY:S.px,...iT,zIndex:iw,fillOpacity:ib.X4,strokeOpacity:ib.X4,numOctaves:iw},iS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ik=iv.U.length;function iA(t,e,i){let{style:r,vars:n,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(iv.f.has(t)){o=!0;continue}if((0,tF.j)(t)){n[t]=i;continue}{let e=ix(i,iP[t]);t.startsWith("origin")?(a=!0,s[t]=e):r[t]=e}}if(!e.transform&&(o||i?r.transform=function(t,e,i){let r="",n=!0;for(let s=0;s<ik;s++){let o=iv.U[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===+!!o.startsWith("scale"):0===parseFloat(a))||i){let t=ix(a,iP[o]);if(!l){n=!1;let e=iS[o]||o;r+=`${e}(${t}) `}i&&(e[o]=t)}}return r=r.trim(),i?r=i(e,n?"":r):n&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;r.transformOrigin=`${t} ${e} ${i}`}}let iM=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iV(t,e,i){for(let r in e)(0,tY.S)(e[r])||iy(r,i)||(t[r]=e[r])}let iE={offset:"stroke-dashoffset",array:"stroke-dasharray"},iC={offset:"strokeDashoffset",array:"strokeDasharray"};function iD(t,{attrX:e,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a}
1,l,u,h){if(iA(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=h?.transformBox??"fill-box",delete d.transformBox),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==r&&(d.scale=r),void 0!==n&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?iE:iC;t[s.offset]=S.px.transform(-r);let o=S.px.transform(e),a=S.px.transform(i);t[s.array]=`${o} ${a}`}(d,n,s,o,!1)}let ij=()=>({...iM(),attrs:{}}),iR=t=>"string"==typeof t&&"svg"===t.toLowerCase(),iL=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function iF(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||iL.has(t)}let iB=t=>!iF(t);try{!function(t){"function"==typeof t&&(iB=e=>e.startsWith("on")?!iF(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}let iI=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function iO(t){if("string"!=typeof t||t.includes("-"));else if(iI.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var iz=i(34100),iU=i(94416);let iN=t=>(e,i)=>{let n=(0,tM.useContext)(is),s=(0,tM.useContext)(im.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,s){return{latestValues:function(t,e,i,n){let s={},o=n(t,{});for(let t in o)s[t]=t0(o[t]);let{initial:a,animate:l}=t,u=io(t),h=ia(t);e&&h&&!u&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let d=!!i&&!1===i.initial,c=(d=d||!1===a)?l:a;if(c&&"boolean"!=typeof c&&!r(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let r=(0,iz.a)(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(i,n,s,t),renderState:e()}})(t,e,n,s);return i?o():(0,iU.M)(o)};function iW(t,e,i){let{style:r}=t,n={};for(let s in r)((0,tY.S)(r[s])||e.style&&(0,tY.S)(e.style[s])||iy(s,t)||i?.getValue(s)?.liveStyle!==void 0)&&(n[s]=r[s]);return n}let i$={useVisualState:iN({scrapeMotionValuesFromProps:iW,createRenderState:iM})};function iG(t,e,i){let r=iW(t,e,i);for(let i in t)((0,tY.S)(t[i])||(0,tY.S)(e[i]))&&(r[-1!==iv.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}let iq={useVisualState:iN({scrapeMotionValuesFromProps:iG,createRenderState:ij})};var iX=i(37899),iK=i(88786);let iH=t=>e=>e.test(t),iY=[ib.ai,S.px,S.KN,S.uj,S.vw,S.vh,{test:t=>"auto"===t,parse:t=>t}],iQ=t=>iY.find(iH(t)),i_=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),iZ=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var iJ=i(63946);let i0=t=>/^0[^.\s]+$/u.test(t);var i1=i(24531);let i2=new Set(["brightness","contrast","saturate","opacity"]);function i5(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(i1.S)||[];if(!r)return t;let n=i.replace(r,""),s=+!!i2.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let i3=/\b([a-z-]*)\(.*?\)/gu,i9={...tL.f,getAnimatableNone:t=>{let e=t.match(i3);return e?e.map(i5).join(" "):t}};var i4=i(55389);let i8={...iP,color:i4.y,backgroundColor:i4.y,outlineColor:i4.y,fill:i4.y,stroke:i4.y,borderColor:i4.y,borderTopColor:i4.y,borderRightColor:i4.y,borderBottomColor:i4.y,borderLeftColor:i4.y,filter:i9,WebkitFilter:i9},i6=t=>i8[t];function i7(t,e){let i=i6(t);return i!==i9&&(i=tL.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let rt=new Set(["auto","none","0"]);var re=i(78617);class ri extends iJ.h{constructor(t,e,i,r,n){super(t,e,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&(r=r.trim(),(0,tF.p)(r))){let n=function t(e,i,r=1){(0,M.V)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,s]=function(t){let e=iZ.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return i_(t)?parseFloat(t):t}return(0,tF.p)(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!iK.$.has(i)||2!==t.length)return;let[r,n]=t,s=iQ(r),o=iQ(n);if(s!==o)if((0,re.E4)(s)&&(0,re.E4)(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else re.Hr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var r;(null===t[e]||("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||i0(r)))&&i.push(e)}i.length&&function(t,e,i){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!rt.has(e)&&(0,tL.V)(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=i7(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=re.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=re.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let rr=[...iY,i4.y,tL.f],rn={current:null},rs={current:!1},ro=new WeakMap,ra=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class rl{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=iJ.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=tq.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,k.Gt.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=io(e),this.isVariantNode=ia(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==a[t]&&(0,tY.S)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,ro.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),rs.current||function(){if(rs.current=!0,iu.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>rn.current=t.matches;t.addEventListener("change",e),e()}else rn.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rn.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,k.WG)(this.notifyUpdate),(0,k.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 r=iv.f.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&k.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in id){let e=id[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(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):$()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ra.length;e++){let i=ra[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}
1this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if((0,tY.S)(n))t.addValue(r,n);else if((0,tY.S)(s))t.addValue(r,(0,tK.OQ)(n,{owner:t}));else if(s!==n)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,(0,tK.OQ)(void 0!==e?e:n,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,tK.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){if("string"==typeof i&&(i_(i)||i0(i)))i=parseFloat(i);else{let r;r=i,!rr.find(iH(r))&&tL.f.test(e)&&(i=i7(t,e))}this.setBaseTarget(t,(0,tY.S)(i)?i.get():i)}return(0,tY.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 r=(0,iz.a)(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,tY.S)(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new tH.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class ru extends rl{constructor(){super(...arguments),this.KeyframeResolver=ri}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,tY.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function rh(t,{style:e,vars:i},r,n){let s,o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}class rd extends ru{constructor(){super(...arguments),this.type="html",this.renderInstance=rh}readValueFromInstance(t,e){if(iv.f.has(e))return this.projection?.isProjecting?(0,iX.zs)(e):(0,iX.Ib)(t,e);{let i=window.getComputedStyle(t),r=((0,tF.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return te(t,e)}build(t,e,i){iA(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return iW(t,e,i)}}var rc=i(92287);let rp=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"]);class rm extends ru{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(iv.f.has(e)){let t=i6(e);return t&&t.default||0}return e=rp.has(e)?e:(0,rc.I)(e),t.getAttribute(e)}
1scrapeMotionValuesFromProps(t,e,i){return iG(t,e,i)}build(t,e,i){iD(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in rh(t,e,void 0,r),e.attrs)t.setAttribute(rp.has(i)?i:(0,rc.I)(i),e.attrs[i])}mount(t){this.isSVGTag=iR(t.tagName),super.mount(t)}}let rf=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,r)=>"create"===r?t:(e.has(r)||e.set(r,t(r)),e.get(r))})}((n={animation:{Feature:x},exit:{Feature:w},inView:{Feature:ie},tap:{Feature:e9},focus:{Feature:eQ},hover:{Feature:eY},pan:{Feature:tS},drag:{Feature:tT,ProjectionNode:eq,MeasureLayout:tz},layout:{ProjectionNode:eq,MeasureLayout:tz}},s=(t,e)=>iO(t)?new rm(e):new rd(e,{allowProjection:t!==tM.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,i;let{preloadedFeatures:r,createVisualElement:n,useRender:s,useVisualState:o,Component:a}=t;function l(t,e){var i;let r,l={...(0,tM.useContext)(ir.Q),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,tM.useContext)(tE.L).id;return i&&void 0!==e?i+"-"+e:e}(t)},{isStatic:h}=l,d=function(t){let{initial:e,animate:i}=function(t,e){if(io(t)){let{initial:e,animate:i}=t;return{initial:!1===e||u(e)?e:void 0,animate:u(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,tM.useContext)(is));return(0,tM.useMemo)(()=>({initial:e,animate:i}),[il(e),il(i)])}(t),c=o(t,h);if(!h&&iu.B){(0,tM.useContext)(ii).strict;let t=function(t){let{drag:e,layout:i}=id;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(l);r=t.MeasureLayout,d.visualElement=function(t,e,i,r,n){let{visualElement:s}=(0,tM.useContext)(is),o=(0,tM.useContext)(ii),a=(0,tM.useContext)(im.t),l=(0,tM.useContext)(ir.Q).reducedMotion,u=(0,tM.useRef)(null);r=r||o.renderer,!u.current&&r&&(u.current=r(t,{visualState:e,parent:s,props:i,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));let h=u.current,d=(0,tM.useContext)(tC);h&&!h.projection&&n&&("html"===h.type||"svg"===h.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&tr(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:h,layoutScroll:l,layoutRoot:u})}(u.current,i,n,d);let c=(0,tM.useRef)(!1);(0,tM.useInsertionEffect)(()=>{h&&c.current&&h.update(i,a)});let p=i[ip.n],m=(0,tM.useRef)(!!p&&!window.MotionHandoffIsComplete?.(p)&&window.MotionHasOptimisedAnimation?.(p));return(0,ig.E)(()=>{h&&(c.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),tA.render(h.render),m.current&&h.animationState&&h.animationState.animateChanges())}),(0,tM.useEffect)(()=>{h&&(!m.current&&h.animationState&&h.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(p)}),m.current=!1))}),h}(a,c,l,n,t.ProjectionNode)}return(0,tk.jsxs)(is.Provider,{value:d,children:[r&&d.visualElement?(0,tk.jsx)(r,{visualElement:d.visualElement,...l}):null,s(a,t,(i=d.visualElement,(0,tM.useCallback)(t=>{t&&c.onMount&&c.onMount(t),i&&(t?i.mount(t):i.unmount()),e&&("function"==typeof e?e(t):tr(e)&&(e.current=t))},[i])),c,h,d.visualElement)]})}r&&function(t){for(let e in t)id[e]={...id[e],...t[e]}}(r),l.displayName="motion.".concat("string"==typeof a?a:"create(".concat(null!=(i=null!=(e=a.displayName)?e:a.name)?i:"",")"));let h=(0,tM.forwardRef)(l);return h[ic]=a,h}({...iO(t)?iq:i$,preloadedFeatures:n,useRender:function(t=!1){return(e,i,r,{latestValues:n},s)=>{let o=(iO(e)?function(t,e,i,r){let n=(0,tM.useMemo)(()=>{let i=ij();return iD(i,e,iR(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};iV(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i={},r=function(t,e){let i=t.style||{},r={};return iV(r,i,t),Object.assign(r,function({transformTemplate:t},e){return(0,tM.useMemo)(()=>{let i=iM();return iA(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=r,i}
1)(i,n,s,e),a=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(iB(n)||!0===i&&iF(n)||!e&&!iF(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(i,"string"==typeof e,t),l=e!==tM.Fragment?{...a,...o,ref:r}:{},{children:u}=i,h=(0,tM.useMemo)(()=>(0,tY.S)(u)?u.get():u,[u]);return(0,tM.createElement)(e,{...l,children:h})}}(e),createVisualElement:s,Component:t})}))},83101:(t,e,i)=>{i.d(e,{F:()=>o});var r=i(2821);let n=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,s=r.$,o=(t,e)=>i=>{var r;if((null==e?void 0:e.variants)==null)return s(t,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:o,defaultVariants:a}=e,l=Object.keys(o).map(t=>{let e=null==i?void 0:i[t],r=null==a?void 0:a[t];if(null===e)return null;let s=n(e)||n(r);return o[t][s]}),u=i&&Object.entries(i).reduce((t,e)=>{let[i,r]=e;return void 0===r||(t[i]=r),t},{});return s(t,l,null==e||null==(r=e.compoundVariants)?void 0:r.reduce((t,e)=>{let{class:i,className:r,...n}=e;return Object.entries(n).every(t=>{let[e,i]=t;return Array.isArray(i)?i.includes({...a,...u}[e]):({...a,...u})[e]===i})?[...t,i,r]:t},[]),null==i?void 0:i.class,null==i?void 0:i.className)}},86553:(t,e,i)=>{i.d(e,{E:()=>n});var r=i(12115);let n=i(33577).B?r.useLayoutEffect:r.useEffect},88786:(t,e,i)=>{i.d(e,{$:()=>r});let r=new Set(["width","height","top","left","right","bottom",...i(40479).U])},91225:(t,e,i)=>{i.d(e,{q:()=>r});let r=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r}},92287:(t,e,i)=>{i.d(e,{I:()=>r});let r=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},92419:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>u,px:()=>o,uj:()=>n,vh:()=>a,vw:()=>l});let r=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),n=r("deg"),s=r("%"),o=r("px"),a=r("vh"),l=r("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},94416:(t,e,i)=>{i.d(e,{M:()=>n});var r=i(12115);function n(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},95516:(t,e,i)=>{i.d(e,{V:()=>r});let r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},98763:(t,e,i)=>{i.d(e,{U:()=>o});var r=i(22039),n=i(41089),s=i(12096);function o(t,e){let{transitionEnd:i={},transition:o={},...a}=(0,s.K)(t,e)||{};for(let e in a={...a,...i}){var l;let i=(l=a[e],(0,n.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,r.OQ)(i))}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.