1import{$ as e,C as t,F as n,G as r,K as i,M as a,N as o,Nt as s,Q as c,R as l,V as u,X as d,Y as f,Z as p,b as m,cn as h,dt as g,ft as _,g as v,it as y,n as b,ot as x,pt as S,r as C,t as w,tt as ee,wt as te,x as ne,yt as re}from"./vue.runtime.esm-bundler-CQND_IVA.js";import{q as ie,r as ae}from"./core-hDH_FBV0.js";function oe(t,n){let r=typeof t==`string`&&!n?`${t}Context`:n,i=Symbol(r);return[e=>{let n=l(i,e);if(n===void 0)throw Error(`Injection \`${i.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(`, `)}`:`\`${t}\``}`);return n},t=>(e(i,t),t),i]}var se=h((()=>{w()}));function ce(e,t){let{layoutGroup:n,presenceContext:r,config:i}=t,a=n.id&&e.layoutId?`${n.id}-${e.layoutId}`:e.layoutId||void 0;return{...e,layoutId:a,transition:e.transition??i.transition,layoutGroup:n,motionConfig:i,inViewOptions:e.inViewOptions??i.inViewOptions,presenceContext:r,initial:r.initial===!1?r.initial:e.initial===!0?void 0:e.initial}}var le=h((()=>{}));function ue(e,t){e.indexOf(t)===-1&&e.push(t)}function de(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var fe=h((()=>{})),T,pe=h((()=>{T=(e,t,n)=>n>t?t:n<e?e:n})),me,he,ge=h((()=>{me=()=>{},he=()=>{}})),_e,ve=h((()=>{_e={}})),ye,be=h((()=>{ye=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)})),xe,Se=h((()=>{xe=e=>typeof e==`object`&&!!e})),Ce,we=h((()=>{Ce=e=>/^0[^.\s]+$/u.test(e)}));function Te(e){let t;return()=>(t===void 0&&(t=e()),t)}var Ee=h((()=>{})),E,De=h((()=>{E=e=>e})),Oe,ke=h((()=>{Oe=(...e)=>e.reduce((e,t)=>n=>t(e(n)))})),Ae,je=h((()=>{Ae=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1}})),Me,Ne=h((()=>{fe(),Me=class{constructor(){this.subscriptions=[]}add(e){return ue(this.subscriptions,e),()=>de(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}})),D,O,Pe=h((()=>{D=e=>e*1e3,O=e=>e/1e3})),Fe,Ie=h((()=>{Fe=(e,t)=>t?1e3/t*e:0})),Le,Re=h((()=>{Le=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e}}));function ze(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Ve(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>He&&++s<Ue);return o}function Be(e,t,n,r){if(e===t&&n===r)return E;let i=t=>ze(t,0,1,e,n);return e=>e===0||e===1?e:Ve(i(e),t,r)}var Ve,He,Ue,We=h((()=>{De(),Ve=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,He=1e-7,Ue=12})),Ge,Ke=h((()=>{Ge=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2})),qe,Je=h((()=>{qe=e=>t=>1-e(1-t)})),Ye,Xe,Ze,Qe=h((()=>{We(),Ke(),Je(),Ye=Be(.33,1.53,.69,.99),Xe=qe(Ye),Ze=Ge(Xe)})),$e,et=h((()=>{Qe(),$e=e=>e>=1?1:(e*=2)<1?.5*Xe(e):.5*(2-2**(-10*(e-1)))})),tt,nt,rt,it=h((()=>{Ke(),Je(),tt=e=>1-Math.sin(Math.acos(e)),nt=qe(tt),rt=Ge(tt)})),at,ot,st,ct=h((()=>{We(),at=Be(.42,0,1,1),ot=Be(0,0,.58,1),st=Be(.42,0,.58,1)})),lt,ut=h((()=>{lt=e=>Array.isArray(e)&&typeof e[0]!=`number`}));function dt(e,t){return lt(e)?e[Le(0,e.length,t)]:e}var ft=h((()=>{Re(),ut()})),pt,mt=h((()=>{pt=e=>Array.isArray(e)&&typeof e[0]==`number`})),ht,gt,_t,vt=h((()=>{ge(),De(),et(),Qe(),it(),We(),ct(),mt(),ht={linear:E,easeIn:at,easeInOut:st,easeOut:ot,circIn:tt,circInOut:rt,circOut:nt,backIn:Xe,backInOut:Ze,backOut:Ye,anticipate:$e},gt=e=>typeof e==`string`,_t=e=>{if(pt(e)){he(e.length===4,`Cubic bezier arrays must contain four numerical values.`,`cubic-bezier-length`);let[t,n,r,i]=e;return Be(t,n,r,i)}else if(gt(e))return he(ht[e]!==void 0,`Invalid easing type '${e}'`,`invalid-easing-type`),ht[e];return e}})),k=h((()=>{fe(),pe(),ge(),ve(),be(),Se(),we(),Ee(),De(),ke(),je(),Ne(),Pe(),Ie(),Re(),et(),Qe(),it(),We(),ct(),Ke(),Je(),ft(),mt(),ut(),vt()})),yt,bt=h((()=>{yt=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`]})),A,xt=h((()=>{A={value:null,addProjectionMetrics:null}}));function St(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;
1n=r,r=o,n.forEach(l),t&&A.value&&A.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var Ct=h((()=>{xt()}));function wt(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=yt.reduce((e,n)=>(e[n]=St(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=_e.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Tt),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:yt.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<yt.length;t++)o[yt[t]].cancel(e)},state:i,steps:o}}var Tt,Et=h((()=>{k(),bt(),Ct(),Tt=40})),j,M,N,Dt,P=h((()=>{k(),Et(),{schedule:j,cancel:M,state:N,steps:Dt}=wt(typeof requestAnimationFrame<`u`?requestAnimationFrame:E,!0)}));function Ot(){kt=void 0}var kt,F,At=h((()=>{k(),P(),F={now:()=>(kt===void 0&&F.set(N.isProcessing||_e.useManualTiming?N.timestamp:performance.now()),kt),set:e=>{kt=e,queueMicrotask(Ot)}}})),jt,Mt=h((()=>{jt={layout:0,mainThread:0,waapi:0}}));function Nt(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var Pt,Ft,It,Lt,Rt,zt=h((()=>{Pt=e=>t=>typeof t==`string`&&t.startsWith(e),Ft=Pt(`--`),It=Pt(`var(--`),Lt=e=>It(e)?Rt.test(e.split(`/*`)[0].trim()):!1,Rt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu})),Bt,Vt,Ht,Ut=h((()=>{k(),Bt={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Vt={...Bt,transform:e=>T(0,1,e)},Ht={...Bt,default:1}})),Wt,Gt=h((()=>{Wt=e=>Math.round(e*1e5)/1e5})),Kt,qt=h((()=>{Kt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu}));function Jt(e){return e==null}var Yt=h((()=>{})),Xt,Zt=h((()=>{Xt=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu})),Qt,$t,en=h((()=>{qt(),Yt(),Zt(),Qt=(e,t)=>n=>!!(typeof n==`string`&&Xt.test(n)&&n.startsWith(e)||t&&!Jt(n)&&Object.prototype.hasOwnProperty.call(n,t)),$t=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Kt);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}}})),tn,nn,rn,an=h((()=>{k(),Ut(),Gt(),en(),tn=e=>T(0,255,e),nn={...Bt,transform:e=>Math.round(tn(e))},rn={test:Qt(`rgb`,`red`),parse:$t(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+nn.transform(e)+`, `+nn.transform(t)+`, `+nn.transform(n)+`, `+Wt(Vt.transform(r))+`)`}}));function on(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var sn,cn=h((()=>{an(),en(),sn={test:Qt(`#`),parse:on,transform:rn.transform}})),ln,I,L,R,un,dn,fn,pn=h((()=>{ln=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),I=ln(`deg`),L=ln(`%`),R=ln(`px`),un=ln(`vh`),dn=ln(`vw`),fn={...L,parse:e=>L.parse(e)/100,transform:e=>L.transform(e*100)}})),mn,hn=h((()=>{Ut(),pn(),Gt(),en(),mn={test:Qt(`hsl`,`hue`),parse:$t(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+L.transform(Wt(t))+`, `+L.transform(Wt(n))+`, `+Wt(Vt.transform(r))+`)`}})),z,gn=h((()=>{cn(),hn(),an(),z={test:e=>rn.test(e)||sn.test(e)||mn.test(e),parse:e=>rn.test(e)?rn.parse(e):mn.test(e)?mn.parse(e):sn.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?rn.transform(e):mn.transform(e),getAnimatableNone:e=>{let t=z.parse(e);return t.alpha=0,z.transform(t)}}})),_n,vn=h((()=>{_n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu}));function yn(e){return isNaN(e)&&typeof e==`string`&&(e.match(Kt)?.length||0)+(e.match(_n)?.length||0)>0}function bn(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(An,e=>(z.test(e)?(r.color.push(a),i.push(En),n.push(z.parse(e))):e.startsWith(On)?(r.var.push(a),i.push(Dn),n.push(e)):(r.number.push(a),i.push(Tn),n.push(parseFloat(e))),++a,kn)).split(kn),indexes:r,types:i}}function xn(e){return bn(e).values}function Sn({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===Tn?i+=Wt(r[a]):e===En?i+=z.transform(r[a]):i+=r[a]}return i}}function Cn(e){return Sn(bn(e))}function wn(e){let t=bn(e);return Sn(t)(t.values.map((e,n)=>Mn(e,t.split[n])))}var Tn,En,Dn,On,kn,An,jn,Mn,B,V=h((()=>{gn(),vn(),qt(),Gt(),Tn=`number`,En=`color`,Dn=`var`,On=`var(`,kn="${}",An=/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,jn=e=>typeof e==`number`?0:z.test(e)?z.getAnimatableNone(e):e,Mn=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:jn(e),B={test:yn,parse:xn,createTransformer:Cn,getAnimatableNone:wn}}));function Nn(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Pn({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Nn(s,r,e+1/3),a=Nn(s,r,e),o=Nn(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}var Fn=h((()=>{}));function In(e,t){return n=>n>0?t:e}var Ln=h((()=>{})),H,U=h((()=>{H=(e,t,n)=>e+(t-e)*n}));function Rn(e){let t=Vn(e);if(me(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,`color-not-animatable`),!t)return!1;let n=t.parse(e);return t===mn&&(n=Pn(n)),n}var zn,Bn,Vn,Hn,Un=h((()=>{k(),cn(),hn(),Fn(),an(),Ln(),U(),zn=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Bn=[sn,rn,mn],Vn=e=>Bn.find(t=>t.test(e)),Hn=(e,t)=>{let n=Rn(e),r=Rn(t);if(!n||!r)return In(e,t);let i={...n};return e=>(i.red=zn(n.red,r.red,e),i.green=zn(n.green,r.green,e),i.blue=zn(n.blue,r.blue,e),i.alpha=H(n.alpha,r.alpha,e),rn.transform(i))}}));function Wn(e,t){return Gn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}var Gn,Kn=h((()=>{Gn=new Set([`none`,`hidden`])}));function qn(e,t){return n=>
1H(e,t,n)}function Jn(e){return typeof e==`number`?qn:typeof e==`string`?Lt(e)?In:z.test(e)?Hn:Qn:Array.isArray(e)?Yn:typeof e==`object`?z.test(e)?Hn:Xn:In}function Yn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Jn(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Xn(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Jn(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Zn(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Qn,$n=h((()=>{k(),zt(),gn(),V(),Un(),Ln(),U(),Kn(),Qn=(e,t)=>{let n=B.createTransformer(t),r=bn(e),i=bn(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Gn.has(e)&&!i.values.length||Gn.has(t)&&!r.values.length?Wn(e,t):Oe(Yn(Zn(r,i),i.values),n):(me(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,`complex-values-different`),In(e,t))}}));function er(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?H(e,t,n):Jn(e)(e,t)}var tr=h((()=>{$n(),U()})),nr,rr=h((()=>{At(),P(),nr=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>j.update(t,e),stop:()=>M(t),now:()=>N.isProcessing?N.timestamp:F.now()}}})),ir,ar=h((()=>{ir=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`}}));function or(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}var sr,cr=h((()=>{sr=2e4}));function lr(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(or(r),sr);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:O(i)}}var ur=h((()=>{k(),cr()}));function dr(e,t){return e*Math.sqrt(1-t*t)}function fr(e,t,n){let r=n;for(let n=1;n<_r;n++)r-=e(r)/t(r);return r}function pr({duration:e=W.duration,bounce:t=W.bounce,velocity:n=W.velocity,mass:r=W.mass}){let i,a;me(e<=D(W.maxDuration),`Spring duration must be 10 seconds or less`,`spring-duration-limit`);let o=1-t;o=T(W.minDamping,W.maxDamping,o),e=T(W.minDuration,W.maxDuration,O(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=dr(t,o),c=Math.exp(-i);return vr-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=dr(t**2,o);return(-i(t)+vr>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=fr(i,a,s);if(e=D(e),isNaN(c))return{stiffness:W.stiffness,damping:W.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}function mr(e,t){return t.some(t=>e[t]!==void 0)}function hr(e){let t={velocity:W.velocity,stiffness:W.stiffness,damping:W.damping,mass:W.mass,isResolvedFromDuration:!1,...e};if(!mr(e,br)&&mr(e,yr))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*T(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:W.mass,stiffness:i,damping:a}}else{let n=pr({...e,velocity:0});t={...t,...n,mass:W.mass},t.isResolvedFromDuration=!0}return t}function gr(e=W.visualDuration,t=W.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=hr({...n,velocity:-O(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=O(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?W.restSpeed.granular:W.restSpeed.default,i||=v?W.restDelta.granular:W.restDelta.default;let y,b,x,S,C,w;if(h<1)x=dr(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let ee={calculatedDuration:p&&d||null,velocity:e=>D(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=D(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=D(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(or(ee),sr),t=ir(t=>ee.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return ee}var W,_r,vr,yr,br,xr=h((()=>{k(),ar(),cr(),ur(),W={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},_r=12,vr=.001,yr=[`duration`,`bounce`],br=[`stiffness`,`damping`,`mass`],gr.applyToOptions=e=>{let t=lr(e,100,gr);return e.ease=t.ease,e.duration=D(t.duration),e.type=`keyframes`,e}}));function Sr(e,t,n){let r=Math.max(t-Cr,0);return Fe(n-e(r),t-r)}var Cr,wr=h((()=>{k(),Cr=5}));function Tr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=
1500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=gr({keyframes:[f.value,m(f.value)],velocity:Sr(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}var Er=h((()=>{xr(),wr()}));function Dr(e,t,n){let r=[],i=n||_e.mix||er,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Oe(Array.isArray(t)?t[n]||E:t,a)),r.push(a)}return r}function Or(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(he(a===t.length,`Both input and output ranges must be the same length`,`range-length`),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Dr(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Ae(e[r],e[r+1],n);return s[r](i)};return n?t=>l(T(e[0],e[a-1],t)):l}var kr=h((()=>{k(),tr()}));function Ar(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Ae(0,t,r);e.push(H(n,1,i))}}var jr=h((()=>{k(),U()}));function Mr(e){let t=[0];return Ar(t,e.length-1),t}var Nr=h((()=>{jr()}));function Pr(e,t){return e.map(e=>e*t)}var Fr=h((()=>{}));function Ir(e,t){return e.map(()=>t||st).splice(0,e.length-1)}function Lr({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=lt(r)?r.map(_t):_t(r),a={done:!1,value:t[0]},o=Or(Pr(n&&n.length===t.length?n:Mr(t),e),t,{ease:Array.isArray(i)?i:Ir(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Rr=h((()=>{k(),kr(),Nr(),Fr()}));function zr(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Br),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Br,Vr=h((()=>{Br=e=>e!==null}));function Hr(e){typeof e.type==`string`&&(e.type=Ur[e.type])}var Ur,Wr=h((()=>{Er(),Rr(),xr(),Ur={decay:Tr,inertia:Tr,tween:Lr,keyframes:Lr,spring:gr}})),Gr,Kr=h((()=>{Gr=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}})),qr,Jr,Yr=h((()=>{k(),At(),Mt(),tr(),rr(),Er(),Rr(),cr(),wr(),Vr(),Wr(),Kr(),qr=e=>e/100,Jr=class extends Gr{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==F.now()&&this.tick(F.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},jt.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;Hr(e);let{type:t=Lr,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||Lr;s!==Lr&&typeof o[0]!=`number`&&(this.mixKeyframes=Oe(qr,er(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=or(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=T(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Tr&&(b.value=zr(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return O(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O(e)}get time(){return O(this.currentTime)}set time(e){e=D(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Sr(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(F.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=O(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=nr,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(F.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&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,jt.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}}}));function Xr(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Zr=h((()=>{}));function Qr(e){return+!!e.includes(`scale`)}
1function $r(e,t){if(!e||e===`none`)return Qr(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=ci,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ri,i=t}if(!i)return Qr(t);let a=r[t],o=i[1].split(`,`).map(ei);return typeof a==`function`?a(o):o[a]}function ei(e){return parseFloat(e.trim())}var ti,ni,ri,ii,ai,oi,si,ci,li,ui=h((()=>{ti=e=>e*180/Math.PI,ni=e=>{let t=ti(Math.atan2(e[1],e[0]));return ii(t)},ri={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ni,rotateZ:ni,skewX:e=>ti(Math.atan(e[1])),skewY:e=>ti(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ii=e=>(e%=360,e<0&&(e+=360),e),ai=ni,oi=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),si=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ci={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:oi,scaleY:si,scale:e=>(oi(e)+si(e))/2,rotateX:e=>ii(ti(Math.atan2(e[6],e[5]))),rotateY:e=>ii(ti(Math.atan2(-e[2],e[0]))),rotateZ:ai,rotate:ai,skewX:e=>ti(Math.atan(e[4])),skewY:e=>ti(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2},li=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return $r(n,t)}})),di,fi,G=h((()=>{di=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],fi=new Set([...di,`pathRotation`])}));function pi(e){let t=[];return gi.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var mi,hi,gi,_i,vi=h((()=>{ui(),G(),Ut(),pn(),mi=e=>e===Bt||e===R,hi=new Set([`x`,`y`,`z`]),gi=di.filter(e=>!hi.has(e)),_i={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>$r(t,`x`),y:(e,{transform:t})=>$r(t,`y`)},_i.translateX=_i.x,_i.translateY=_i.y}));function yi(){if(wi){let e=Array.from(Si).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=pi(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}wi=!1,Ci=!1,Si.forEach(e=>e.complete(Ti)),Si.clear()}function bi(){Si.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(wi=!0)})}function xi(){Ti=!0,bi(),yi(),Ti=!1}var Si,Ci,wi,Ti,Ei,Di=h((()=>{Zr(),vi(),P(),Si=new Set,Ci=!1,wi=!1,Ti=!1,Ei=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Si.add(this),Ci||(Ci=!0,j.read(bi),j.resolveKeyframes(yi))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Xr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Si.delete(this)}cancel(){this.state===`scheduled`&&(Si.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}}})),Oi,ki=h((()=>{Oi=e=>e.startsWith(`--`)}));function Ai(e,t,n){Oi(t)?e.style.setProperty(t,n):e.style[t]=n}var ji=h((()=>{ki()})),Mi,Ni=h((()=>{Mi={}}));function Pi(e,t){let n=Te(e);return()=>Mi[t]??n()}var Fi=h((()=>{k(),Ni()})),Ii,Li=h((()=>{Fi(),Ii=Pi(()=>window.ScrollTimeline!==void 0,`scrollTimeline`)})),Ri,zi=h((()=>{Fi(),Ri=Pi(()=>{try{document.createElement(`div`).animate({opacity:0}
1,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`)})),Bi,Vi=h((()=>{Bi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`})),Hi,Ui=h((()=>{Vi(),Hi={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Bi([0,.65,.55,1]),circOut:Bi([.55,0,1,.45]),backIn:Bi([.31,.01,.66,-.59]),backOut:Bi([.33,1.53,.69,.99])}}));function Wi(e,t){if(e)return typeof e==`function`?Ri()?ir(e,t):`ease-out`:pt(e)?Bi(e):Array.isArray(e)?e.map(e=>Wi(e,t)||Hi.easeOut):Hi[e]}var Gi=h((()=>{k(),zi(),ar(),Vi(),Ui()}));function Ki(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=Wi(s,i);Array.isArray(d)&&(u.easing=d),A.value&&jt.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return A.value&&p.finished.finally(()=>{jt.waapi--}),p}var qi=h((()=>{Mt(),xt(),Gi()}));function Ji(e){return typeof e==`function`&&`applyToOptions`in e}var Yi=h((()=>{}));function Xi({type:e,...t}){return Ji(e)&&Ri()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Zi=h((()=>{zi(),Yi()})),Qi,$i=h((()=>{k(),ji(),Li(),Vr(),Kr(),qi(),Zi(),Qi=class extends Gr{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,he(typeof e.type!=`string`,`Mini animate() doesn't support "type" as a string.`,`mini-spring`);let c=Xi(e);this.animation=Ki(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=zr(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Ai(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return O(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O(e)}get time(){return O(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=D(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
1inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Ii()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),E):r(this)}}}));function ea(e){return e in na}function ta(e){typeof e.ease==`string`&&ea(e.ease)&&(e.ease=na[e.ease])}var na,ra=h((()=>{k(),na={anticipate:$e,backInOut:Ze,circInOut:rt}})),ia,aa,oa=h((()=>{k(),At(),ji(),Yr(),$i(),Wr(),ra(),ia=10,aa=class extends Qi{constructor(e){ta(e),Hr(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new Jr({...a,autoplay:!1}),s=Math.max(ia,F.now()-this.startTime),c=T(0,ia,s-ia),l=o.sample(s).value,{name:u}=this.options;i&&u&&Ai(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}}})),sa,ca=h((()=>{V(),sa=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(B.test(e)||e===`0`)&&!e.startsWith(`url(`))}));function la(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function ua(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=sa(i,t),s=sa(a,t);return me(o===s,`You are trying to animate ${t} from "${i}" to "${a}". "${o?a:i}" is not an animatable value.`,`value-not-animatable`),!o||!s?!1:la(e)||(n===`spring`||Ji(n))&&r}var da=h((()=>{k(),Yi(),ca()}));function fa(e){e.duration=0,e.type=`keyframes`}var pa=h((()=>{})),ma,ha=h((()=>{ma=new Set([`opacity`,`clipPath`,`filter`,`transform`])}));function ga(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&_a.test(e[t]))return!0;return!1}var _a,va=h((()=>{_a=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/}));function ya(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return xa()&&n&&(ma.has(n)||ba.has(n)&&ga(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var ba,xa,Sa=h((()=>{k(),ha(),va(),ba=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),xa=Te(()=>Object.hasOwnProperty.call(Element.prototype,`animate`))})),Ca,wa,Ta=h((()=>{k(),At(),Yr(),Vr(),Di(),oa(),da(),pa(),Kr(),Sa(),Ca=40,wa=class extends Gr{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=F.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||Ei;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=F.now();let u=!0;ua(e,i,a,o)||(u=!1,(_e.instantAnimations||!s)&&l?.(zr(e,n,t)),e[0]=e[e.length-1],fa(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Ca?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&ya(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new aa({...d,element:p})}catch{m=new Jr(d)}else m=new Jr(d);m.finished.then(()=>{this.notifyFinished()}).catch(E),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),xi()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}}));function Ea(e,t){let n=0;for(let r=0;r<e.length;r++){let i=e[r][t];i!==null&&i>n&&(n=i)}return n}var Da,Oa=h((()=>{Da=class{constructor(e){this.stop=()=>this.runAll(`stop`),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll(`time`)}set time(e){this.setAll(`time`,e)}get speed(){return this.getAll(`speed`)}set speed(e){this.setAll(`speed`,e)}get state(){return this.getAll(`state`)}get startTime(){return this.getAll(`startTime`)}get duration(){return Ea(this.animations,`duration`)}get iterationDuration(){return Ea(this.animations,`iterationDuration`)}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll(`play`)}pause(){this.runAll(`pause`)}cancel(){this.runAll(`cancel`)}complete(){this.runAll(`complete`)}}})),ka,Aa=h((()=>{Oa(),ka=class extends Da{then(e,t){return this.finished.finally(e).then(()=>{})}}}));function ja(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Ma=h((()=>{}));function K(e,t){return new Ia(e,t)}var Na,Pa,Fa,Ia,La=h((()=>{k(),At(),P(),Na=30,Pa=e=>!isNaN(parseFloat(e)),Fa={current:void 0},Ia=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=F.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=F.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Pa(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Me);let n=this.events[e].add(t);return e===`change`?()=>{n(),j.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Fa.current&&Fa.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=F.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Na)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Na);return Fe(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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 Ra(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}var za=h((()=>{}));function Ba(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Ra(n,e)}var Va=h((()=>{za()})),Ha,Ua,Wa,Ga,Ka,qa=h((()=>{G(),Ha={type:`spring`,stiffness:500,damping:25,restSpeed:10},Ua=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Wa={type:`keyframes`,duration:.8},Ga={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Ka=(e,{keyframes:t})=>t.length>2?Wa:fi.has(e)?e.startsWith(`scale`)?Ua(t[1]):Ha:Ga}));function Ja(e){for(let t in e)if(!Ya.has(t))return!0;return!1}var Ya,Xa=h((()=>{Ya=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`])})),Za,Qa=h((()=>{k(),Ta(),Yr(),Va(),pa(),qa(),Vr(),Xa(),P(),Za=(e,t,n,r={},i,a)=>o=>{let s=Ba(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=D(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Ja(s)||Object.assign(u,Ka(e,u)),u.duration&&=D(u.duration),u.repeatDelay&&=D(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(fa(u),u.delay===0&&(d=!0)),(_e.instantAnimations||_e.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,fa(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=zr(u.keyframes,s);if(e!==void 0){j.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new Jr(u):new wa(u)}}));function $a(e){let t=to.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function eo(e,t,n=1){he(n<=no,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,`max-css-var-depth`);let[r,i]=$a(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return ye(e)?parseFloat(e):e}return Lt(i)?eo(i,t,n+1):i}var to,no,ro=h((()=>{k(),zt(),to=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,no=4}));function io(e){let t=[{},{}];
1return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function ao(e,t,n,r){if(typeof t==`function`){let[i,a]=io(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=io(r);t=t(n===void 0?e.custom:n,i,a)}return t}var oo=h((()=>{}));function so(e,t,n){let r=e.getProps();return ao(r,t,n===void 0?r.custom:n,e)}var co=h((()=>{oo()})),lo,uo=h((()=>{G(),lo=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...di])})),fo,po=h((()=>{fo=e=>Array.isArray(e)}));function mo(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,K(n))}function ho(e){return fo(e)?e[e.length-1]||0:e}function go(e,t){let{transitionEnd:n={},transition:r={},...i}=so(e,t)||{};i={...i,...n};for(let t in i)mo(e,t,ho(i[t]))}var _o=h((()=>{La(),co(),po()})),q,vo=h((()=>{q=e=>!!(e&&e.getVelocity)}));function yo(e){return!!(q(e)&&e.add)}var bo=h((()=>{vo()}));function xo(e,t){let n=e.getValue(`willChange`);if(yo(n))return n.add(t);if(!n&&_e.WillChange){let n=new _e.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}var So=h((()=>{k(),bo()}));function Co(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var wo=h((()=>{})),To,Eo,Do=h((()=>{wo(),To=`framerAppearId`,Eo=`data-`+Co(To)}));function Oo(e){return e.props[Eo]}var ko=h((()=>{Do()}));function Ao({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function jo(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Ra(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&Ao(f,t))continue;let o={delay:n,...Ba(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){j.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=Oo(e);if(n){let e=window.MotionHandoffAnimation(n,t,j);e!==null&&(o.startTime=e,p=!0)}}xo(e,t);let m=l??e.shouldReduceMotion;r.start(Za(t,r,i,m&&lo.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>j.update(()=>{o&&go(e,o)});d.length?Promise.all(d).then(t):t()}return d}var Mo=h((()=>{Va(),za(),uo(),_o(),So(),ko(),Qa(),P()}));function No(e,t,n={}){let r=so(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(jo(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Po(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function Po(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(No(c,t,{...o,delay:n+(typeof r==`function`?0:r)+ja(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}var Fo=h((()=>{co(),Ma(),Mo()}));function Io(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>No(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=No(e,t,n);else{let i=typeof t==`function`?so(e,t,n.custom):t;r=Promise.all(jo(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var Lo=h((()=>{co(),Mo(),Fo()})),Ro,zo=h((()=>{Ro={test:e=>e===`auto`,parse:e=>e}})),Bo,Vo=h((()=>{Bo=e=>t=>t.test(e)})),Ho,Uo,Wo=h((()=>{zo(),Ut(),pn(),Vo(),Ho=[Bt,R,L,I,dn,un,Ro],Uo=e=>Ho.find(Bo(e))}));function Go(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||Ce(e)}var Ko=h((()=>{k()}));function qo(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Kt)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Jo.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Jo,Yo,Xo,Zo=h((()=>{V(),qt(),Jo=new Set([`brightness`,`contrast`,`saturate`,`opacity`]),Yo=/\b([a-z-]*)\(.*?\)/gu,Xo={...B,getAnimatableNone:e=>{let t=e.match(Yo);return t?t.map(qo).join(` `):e}}})),Qo,$o=h((()=>{V(),Qo={...B,getAnimatableNone:e=>{let t=B.parse(e);return B.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}}})),es,ts=h((()=>{Ut(),es={...Bt,transform:Math.round}})),ns,rs=h((()=>{Ut(),pn(),ns={rotate:I,pathRotation:I,rotateX:I,rotateY:I,rotateZ:I,scale:Ht,scaleX:Ht,scaleY:Ht,scaleZ:Ht,skew:I,skewX:I,skewY:I,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:Vt,originX:fn,originY:fn,originZ:R}})),is,as=h((()=>{ts(),Ut(),pn(),rs(),is={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,top:R,right:R,bottom:R,left
1:R,inset:R,insetBlock:R,insetBlockStart:R,insetBlockEnd:R,insetInline:R,insetInlineStart:R,insetInlineEnd:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,paddingBlock:R,paddingBlockStart:R,paddingBlockEnd:R,paddingInline:R,paddingInlineStart:R,paddingInlineEnd:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,marginBlock:R,marginBlockStart:R,marginBlockEnd:R,marginInline:R,marginInlineStart:R,marginInlineEnd:R,fontSize:R,backgroundPositionX:R,backgroundPositionY:R,...ns,zIndex:es,fillOpacity:Vt,strokeOpacity:Vt,numOctaves:es}})),os,ss,cs=h((()=>{gn(),Zo(),$o(),as(),os={...is,color:z,backgroundColor:z,outlineColor:z,fill:z,stroke:z,borderColor:z,borderTopColor:z,borderRightColor:z,borderBottomColor:z,borderLeftColor:z,filter:Xo,WebkitFilter:Xo,mask:Qo,WebkitMask:Qo},ss=e=>os[e]}));function ls(e,t){let n=ss(e);return us.has(n)||(n=B),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var us,ds=h((()=>{V(),Zo(),$o(),cs(),us=new Set([Xo,Qo])}));function fs(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!ps.has(t)&&bn(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=ls(n,i)}var ps,ms=h((()=>{V(),ds(),ps=new Set([`auto`,`none`,`0`])})),hs,gs=h((()=>{uo(),Wo(),ro(),zt(),Di(),Ko(),ms(),vi(),hs=class extends Ei{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Lt(r))){let i=eo(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!lo.has(n)||e.length!==2)return;let[r,i]=e,a=Uo(r),o=Uo(i);if(Nt(r)!==Nt(i)&&_i[n]){this.needsMeasurement=!0;return}if(a!==o)if(mi(a)&&mi(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else _i[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Go(e[t]))&&n.push(t);n.length&&fs(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_i[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=_i[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}}));function _s(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var vs=h((()=>{})),ys,bs=h((()=>{ys=(e,t)=>t&&typeof e==`number`?t.transform(e):e}));function xs(e){return xe(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var Ss=h((()=>{k()})),Cs,ws,Ts=h((()=>{Et(),{schedule:Cs,cancel:ws}=wt(queueMicrotask,!1)}));function Es(){return Ds.x||Ds.y}var Ds,Os=h((()=>{Ds={x:!1,y:!1}}));function ks(e,t){let n=_s(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}var As=h((()=>{vs()}));function js(e){return!(e.pointerType===`touch`||Es())}function Ms(e,t,n={}){let[r,i,a]=ks(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!js(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var Ns=h((()=>{Os(),As()})),Ps,Fs=h((()=>{Ps=(e,t)=>t?e===t||Ps(e,t.parentElement):!1})),Is,Ls=h((()=>{Is=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1}));function Rs(e){return zs.has(e.tagName)||e.isContentEditable===!0}var zs,Bs=h((()=>{zs=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`])})),Vs,Hs=h((()=>{Vs=new WeakSet}));function Us(e){return t=>{t.key===`Enter`&&e(t)}}function Ws(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Gs,Ks=h((()=>{Hs(),Gs=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Us(()=>{if(Vs.has(n))return;Ws(n,`down`);let e=Us(()=>{Ws(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Ws(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)}}));function qs(e){return Is(e)&&!Es()}function Js(e,t,n={}){let[r,i,a]=ks(e,n),o=e=>{let r=e.currentTarget;if(!qs(e)||Ys.has(e))return;Vs.add(r),n.stopPropagation&&Ys.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),Vs.has(r)&&Vs.delete(r),qs(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||Ps(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),xs(e)&&(e.addEventListener(`focus`,e=>Gs(e,i)),!Rs(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var Ys,Xs=h((()=>{Ss(),Os(),Fs(),Ls(),As(),Bs(),Ks(),Hs(),Ys=new WeakSet}));function Zs(e){return xe(e)&&`ownerSVGElement`in e}var Qs=h((()=>{k()}));function $s(e){return Zs(e)&&e.tagName===`svg`}var ec=h((()=>{Qs()}));function tc(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=Or(i,a,o);return t?s(r):s}var nc=h((()=>{kr()})),rc,ic,ac=h((()=>{gn(),V(),Wo(),Vo(),rc=[...Ho,z,B],ic=e=>rc.find(Bo(e))})),oc,sc,cc,J,lc=h((()=>{oc=()=>({translate:0,scale:1,origin:0,originPoint:0}),sc=()=>({x:oc(),y:oc()}),cc=()=>({min:0,max:0}),J=()=>({x:cc(),y:cc()})})),uc,dc=h((()=>{uc=new WeakMap}));function fc(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}var pc=h((()=>{}));function mc(e){return typeof e==`string`||Array.isArray(e)}var hc=h((()=>{})),gc,_c,vc=h((()=>{gc=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],_c=[`initial`,...gc]}));function yc(e){return fc(e.animate)||_c.some(t=>mc(e[t]))}function bc(e){return!!(yc(e)||e.variants)}var xc=h((()=>{pc(),hc(),vc()}));function Sc(e,t,n){for(let r in t){let i=t[r],a=n[r];if(q(i))e.addValue(r,i);else if(q(a))e.addValue(r,K(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,K(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Cc=h((()=>{La(),vo()})),wc,Tc,Ec=h((()=>{wc={current:null},Tc={current:!1}}));function Dc(){if(Tc.current=!0,Oc)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>wc.current=e.matches;e.addEventListener(`change`,t),t()}else wc.current=!1}var Oc,kc=h((()=>{Ec(),Oc=typeof window<`u`})),Ac,jc,Mc,Nc=h((()=>{k(),Di(),$i(),ha(),Ts(),At(),lc(),La(),V(),ds(),ac(),vo(),dc(),xc(),G(),Cc(),kc(),oo(),Ec(),P(),Ac=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],jc={},Mc=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Ei,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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 e=F.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,j.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=yc(t),this.isVariantNode=bc(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&q(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,uc.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Tc.current||Dc(),this.shouldReduceMotion=wc.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),M(this.notifyUpdate),M(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&ma.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Qi({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:D(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=fi.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&j.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in jc){let t=jc[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):J()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ac.length;t++){let n=Ac[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Sc(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=K(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(ye(n)||Ce(n))?n=parseFloat(n):!ic(n)&&B.test(t)&&(n=ls(e,t)),this.setBaseTarget(e,q(n)?n.get():n)),q(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=ao(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!q(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Me),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Cs.render(this.render)}}})),Pc,Fc=h((()=>{vo(),gs(),Nc(),Pc=class extends Mc{constructor(){super(...arguments),this.KeyframeResolver=hs}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;q(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}}}));function Ic({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Lc({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rc(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}var zc=h((()=>{}));function Bc(e){return e===void 0||e===1}function Vc({scale:e,scaleX:t,scaleY:n}){return!Bc(e)||!Bc(t)||!Bc(n)}function Hc(e){return Vc(e)||Uc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Uc(e){return Wc(e.x)||Wc(e.y)}function Wc(e){return e&&e!==`0%`}var Gc=h((()=>{}));function Kc(e,t,n){return n+t*(e-n)}function qc(e,t,n,r,i){return i!==void 0&&(e=Kc(e,i,r)),Kc(e,n,r)+t}
1function Jc(e,t=0,n=1,r,i){e.min=qc(e.min,t,n,r,i),e.max=qc(e.max,t,n,r,i)}function Yc(e,{x:t,y:n}){Jc(e.x,t.translate,t.scale,t.originPoint),Jc(e.y,n.translate,n.scale,n.originPoint)}function Xc(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(Zc(e.x,-a.scroll.offset.x),Zc(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Yc(e,o)),r&&Hc(a.latestValues)&&el(e,a.latestValues,a.layout?.layoutBox))}t.x<nl&&t.x>tl&&(t.x=1),t.y<nl&&t.y>tl&&(t.y=1)}function Zc(e,t){e.min+=t,e.max+=t}function Qc(e,t,n,r,i=.5){Jc(e,t,n,H(e.min,e.max,i),r)}function $c(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function el(e,t,n){let r=n??e;Qc(e.x,$c(t.x,r.x),t.scaleX,t.scale,t.originX),Qc(e.y,$c(t.y,r.y),t.scaleY,t.scale,t.originY)}var tl,nl,rl=h((()=>{U(),Gc(),tl=.999999999999,nl=1.0000000000001}));function il(e,t){return Ic(Rc(e.getBoundingClientRect(),t))}function al(e,t,n){let r=il(e,n),{scroll:i}=t;return i&&(Zc(r.x,i.offset.x),Zc(r.y,i.offset.y)),r}var ol=h((()=>{zc(),rl()}));function sl(e,t,n){let r=``,i=!0;for(let a=0;a<ll;a++){let o=di[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=ys(s,is[o]);if(!c){i=!1;let t=cl[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${ys(a,is.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}var cl,ll,ul=h((()=>{bs(),as(),G(),cl={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},ll=di.length}));function dl(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(fi.has(e)){o=!0;continue}else if(Ft(e)){i[e]=n;continue}else{let t=ys(n,is[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=sl(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var fl=h((()=>{bs(),as(),G(),zt(),ul()}));function pl(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}var ml=h((()=>{}));function hl(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Y,gl=h((()=>{pn(),Y={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(R.test(e))e=parseFloat(e);else return e;return`${hl(e,t.target.x)}% ${hl(e,t.target.y)}%`}}})),_l,vl=h((()=>{V(),U(),_l={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=B.parse(e);if(i.length>5)return r;let a=B.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=H(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}}}));function yl(e){for(let t in e)bl[t]=e[t],Ft(t)&&(bl[t].isCSSVariable=!0)}var bl,xl=h((()=>{zt(),gl(),vl(),bl={borderRadius:{...Y,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:Y,borderTopRightRadius:Y,borderBottomLeftRadius:Y,borderBottomRightRadius:Y,boxShadow:_l}}));function Sl(e,{layout:t,layoutId:n}){return fi.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!bl[e]||e===`opacity`)}var Cl=h((()=>{G(),xl()}));function wl(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(q(r[t])||i&&q(i[t])||Sl(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}var Tl=h((()=>{vo(),Cl()}));function El(e){return window.getComputedStyle(e)}var Dl,Ol=h((()=>{zt(),G(),ui(),ol(),Fc(),fl(),ml(),Tl(),Dl=class extends Pc{constructor(){super(...arguments),this.type=`html`,this.renderInstance=pl}readValueFromInstance(e,t){if(fi.has(t))return this.projection?.isProjecting?Qr(t):li(e,t);{let n=El(e),r=(Ft(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return il(e,t)}build(e,t,n){dl(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return wl(e,t,n)}}}));function kl(e,t){return e in t}var Al,jl=h((()=>{lc(),Nc(),Al=class extends Mc{constructor(){super(...arguments),this.type=`object`}readValueFromInstance(e,t){if(kl(t,e)){let n=e[t];
1if(typeof n==`string`||typeof n==`number`)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return J()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}}));function Ml(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Nl:Pl;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Nl,Pl,Fl=h((()=>{Nl={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Pl={offset:`strokeDashoffset`,array:`strokeDasharray`}}));function Il(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(dl(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Ll)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Ml(d,i,a,o,!1)}var Ll,Rl=h((()=>{fl(),Fl(),Ll=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`]})),zl,Bl=h((()=>{zl=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`])})),Vl,Hl=h((()=>{Vl=e=>typeof e==`string`&&e.toLowerCase()===`svg`}));function Ul(e,t,n,r){pl(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(zl.has(n)?n:Co(n),t.attrs[n])}var Wl=h((()=>{wo(),ml(),Bl()}));function Gl(e,t,n){let r=wl(e,t,n);for(let n in e)if(q(e[n])||q(t[n])){let t=di.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Kl=h((()=>{vo(),G(),Tl()})),ql,Jl=h((()=>{G(),cs(),lc(),Fc(),wo(),Rl(),Bl(),Hl(),Wl(),Kl(),ql=class extends Pc{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=J}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(fi.has(t)){let e=ss(t);return e&&e.default||0}return t=zl.has(t)?t:Co(t),e.getAttribute(t)}
1scrapeMotionValuesFromProps(e,t,n){return Gl(e,t,n)}build(e,t,n){Il(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Ul(e,t,n,r)}mount(e){this.isSVGTag=Vl(e.tagName),super.mount(e)}}}));function Yl(e,t){e.min=t.min,e.max=t.max}function X(e,t){Yl(e.x,t.x),Yl(e.y,t.y)}function Xl(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Zl=h((()=>{}));function Z(e){return e.max-e.min}function Ql(e,t,n){return Math.abs(e-t)<=n}function $l(e,t,n,r=.5){e.origin=r,e.originPoint=H(t.min,t.max,e.origin),e.scale=Z(n)/Z(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=au&&e.scale<=ou||isNaN(e.scale))&&(e.scale=1),(e.translate>=su&&e.translate<=cu||isNaN(e.translate))&&(e.translate=0)}function eu(e,t,n,r){$l(e.x,t.x,n.x,r?r.originX:void 0),$l(e.y,t.y,n.y,r?r.originY:void 0)}function tu(e,t,n,r=0){e.min=(r?H(n.min,n.max,r):n.min)+t.min,e.max=e.min+Z(t)}function nu(e,t,n,r){tu(e.x,t.x,n.x,r?.x),tu(e.y,t.y,n.y,r?.y)}function ru(e,t,n,r=0){let i=r?H(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Z(t)}function iu(e,t,n,r){ru(e.x,t.x,n.x,r?.x),ru(e.y,t.y,n.y,r?.y)}var au,ou,su,cu,lu=h((()=>{U(),au=.9999,ou=1.0001,su=-.01,cu=.01}));function uu(e,t,n,r,i){return e-=t,e=Kc(e,1/n,r),i!==void 0&&(e=Kc(e,1/i,r)),e}function du(e,t=0,n=1,r=.5,i,a=e,o=e){if(L.test(t)&&(t=parseFloat(t),t=H(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=H(a.min,a.max,r);e===a&&(s-=t),e.min=uu(e.min,t,n,s,i),e.max=uu(e.max,t,n,s,i)}function fu(e,t,[n,r,i],a,o){du(e,t[n],t[r],t[i],t.scale,a,o)}function pu(e,t,n,r){fu(e.x,t,mu,n?n.x:void 0,r?r.x:void 0),fu(e.y,t,hu,n?n.y:void 0,r?r.y:void 0)}var mu,hu,gu=h((()=>{U(),pn(),rl(),mu=[`x`,`scaleX`,`originX`],hu=[`y`,`scaleY`,`originY`]}));function _u(e){return e.translate===0&&e.scale===1}function vu(e){return _u(e.x)&&_u(e.y)}function yu(e,t){return e.min===t.min&&e.max===t.max}function bu(e,t){return yu(e.x,t.x)&&yu(e.y,t.y)}function xu(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Su(e,t){return xu(e.x,t.x)&&xu(e.y,t.y)}function Cu(e){return Z(e.x)/Z(e.y)}function wu(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var Tu=h((()=>{lu()}));function Q(e){return[e(`x`),e(`y`)]}var Eu=h((()=>{}));function Du(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Ou=h((()=>{}));function ku(e,t,n,r,i,a){i?(e.opacity=H(0,n.opacity??1,Iu(r)),e.opacityExit=H(t.opacity??1,0,Lu(r))):a&&(e.opacity=H(t.opacity??1,n.opacity??1,r));for(let i=0;i<Nu;i++){let a=Mu[i],o=Au(t,a),s=Au(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Fu(o)===Fu(s)?(e[a]=Math.max(H(Pu(o),Pu(s),r),0),(L.test(s)||L.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,r))}function Au(e,t){return e[t]===void 0?e.borderRadius:e[t]}function ju(e,t,n){return r=>r<e?0:r>t?1:n(Ae(e,t,r))}var Mu,Nu,Pu,Fu,Iu,Lu,Ru=h((()=>{U(),pn(),k(),Mu=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],Nu=Mu.length,Pu=e=>typeof e==`string`?parseFloat(e):e,Fu=e=>typeof e==`number`||R.test(e),Iu=ju(0,.5,nt),Lu=ju(.5,.95,E)}));function zu(e,t,n){let r=q(e)?e:K(e);return r.start(Za(``,r,t,n)),r.animation}var Bu=h((()=>{Qa(),La(),vo()}));function Vu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Hu=h((()=>{})),Uu,Wu=h((()=>{Uu=(e,t)=>e.depth-t.depth})),Gu,Ku=h((()=>{k(),Wu(),Gu=class{constructor(){this.children=[],this.isDirty=!1}add(e){ue(this.children,e),this.isDirty=!0}remove(e){de(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Uu),this.isDirty=!1,this.children.forEac
1h(e)}}}));function qu(e,t){let n=F.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(M(r),e(a-t))};return j.setup(r,!0),()=>M(r)}var Ju=h((()=>{At(),P()}));function Yu(e){return q(e)?e.get():e}var Xu=h((()=>{vo()})),Zu,Qu=h((()=>{k(),Zu=class{constructor(){this.members=[]}add(e){ue(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(de(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(de(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}})),$u,ed=h((()=>{$u={hasAnimatedSinceResize:!0,hasEverUpdated:!1}}));function td(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function nd(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Oo(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,j,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&nd(r)}function rd({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Ad++,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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,A.value&&(Dd.nodes=Dd.calculatedTargetDeltas=Dd.calculatedProjections=0),this.nodes.forEach(od),this.nodes.forEach(hd),this.nodes.forEach(gd),this.nodes.forEach(sd),A.addProjectionMetrics&&A.addProjectionMetrics(Dd)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Gu)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Me),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=Zs(t)&&!$s(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;j.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=qu(i,250),$u.hasAnimatedSinceResize&&($u.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(md)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||jd,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!Su(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Ba(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||md(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),M(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(_d),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&nd(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(ud),this.nodes.forEach(ld);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(dd);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(fd),this.nodes.forEach(pd),this.nodes.forEach(id),this.nodes.forEach(ad)):this.nodes.forEach(dd),this.clearAllSnapshots();let e=F.now();N.delta=T(0,1e3/60,e-N.timestamp),N.timestamp=e,N.isProcessing=!0,Dt.update.process(N),Dt.preRender.process(N),Dt.render.process(N),N.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Cs.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(cd),this.sharedNodes.forEach(vd)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,j.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){j.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Z(this.snapshot.measuredBox.x)&&!Z(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=J(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!vu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Hc(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),wd(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return J();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Ed))){let{scroll:e}=this.root;e&&(Zc(t.x,e.offset.x),Zc(t.y,e.offset.y))}return t}removeElementScroll(e){let t=J();if(X(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&X(t,e),Zc(t.x,i.offset.x),Zc(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||J();X(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(Zc(r.x,-n.scroll.offset.x),Zc(r.y,-n.scroll.offset.y)),Hc(n.latestValues)&&el(r,n.latestValues,n.layout?.layoutBox)}return Hc(this.latestValues)&&el(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=J();X(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Hc(n.latestValues))continue;let r;n.instance&&(Vc(n.latestValues)&&n.updateSnapshot(),r=J(),X(r,n.measurePageBox())),pu(t,n.latestValues,n.snapshot?.layoutBox,r)}return Hc(this.latestValues)&&pu(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.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!==N.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
1if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=N.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=J(),this.targetWithTransforms=J()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),nu(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):X(this.target,this.layout.layoutBox),Yc(this.target,this.targetDelta)):X(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),A.value&&Dd.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Vc(this.parent.latestValues)||Uc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=J(),this.relativeTargetOrigin=J(),iu(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),X(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===N.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=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||i))return;X(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Xc(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=J());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Xl(this.prevProjectionDelta.x,this.projectionDelta.x),Xl(this.prevProjectionDelta.y,this.projectionDelta.y)),eu(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!wu(this.projectionDelta.x,this.prevProjectionDelta.x)||!wu(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),A.value&&Dd.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=sc(),this.projectionDelta=sc(),this.projectionDeltaWithTransform=sc()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=sc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=J(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(Sd));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=H(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=H(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(yd(o.x,e.x,n),yd(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(iu(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),xd(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&bu(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=J(),X(f,this.relativeTarget)),c&&(this.animationValues=a,ku(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(M(this.pendingAnimation),void 0),this.pendingAnimation=j.update(()=>{$u.hasAnimatedSinceResize=!0,jt.layout++,this.motionValue||=K(0),this.motionValue.jump(0,!1),this.currentAnimation=zu(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{jt.layout--},onComplete:()=>{jt.layout--,e.onComplete&&e.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 e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(kd),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&Td(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||J();let t=Z(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Z(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}X(t,n),el(t,i),eu(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
1)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Zu),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&td(`z`,e,r,this.animationValues);for(let t=0;t<Od.length;t++)td(`rotate${Od[t]}`,e,r,this.animationValues),td(`skew${Od[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Yu(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Yu(t?.pointerEvents)||``),this.hasProjected&&!Hc(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Du(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in bl){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=bl[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Yu(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(ld),this.root.sharedNodes.clear()}}}function id(e){e.updateLayout()}function ad(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Q(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Z(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Yl(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else Td(i,t.layoutBox,n)&&Q(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Z(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=sc();eu(o,n,t.layoutBox);let s=sc();a?eu(s,e.applyTransform(r,!0),t.measuredBox):eu(s,n,t.layoutBox);let c=!vu(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=J();iu(s,t.layoutBox,i.layoutBox,o);let c=J();iu(c,n,a.layoutBox,o),Su(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function od(e){A.value&&Dd.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function sd(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function cd(e){e.clearSnapshot()}function ld(e){e.clearMeasurements()}function ud(e){e.isLayoutDirty=!0,e.updateLayout()}function dd(e){e.isLayoutDirty=!1}function fd(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function pd(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function md(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function hd(e){e.resolveTargetDelta()}function gd(e){e.calcProjection()}
1function _d(e){e.resetSkewAndRotation()}function vd(e){e.removeLeadSnapshot()}function yd(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function bd(e,t,n,r){e.min=H(t.min,n.min,r),e.max=H(t.max,n.max,r)}function xd(e,t,n,r){bd(e.x,t.x,n.x,r),bd(e.y,t.y,n.y,r)}function Sd(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}function Cd(e){e.min=Nd(e.min),e.max=Nd(e.max)}function wd(e){Cd(e.x),Cd(e.y)}function Td(e,t,n){return e===`position`||e===`preserve-aspect`&&!Ql(Cu(t),Cu(n),.2)}function Ed(e){return e!==e.root&&e.scroll?.wasRoot}var Dd,Od,kd,Ad,jd,Md,Nd,Pd=h((()=>{k(),Bu(),ko(),Va(),Ts(),At(),xl(),Mt(),xt(),Ju(),Qs(),ec(),U(),La(),Xu(),Ru(),Zl(),rl(),lu(),gu(),lc(),Tu(),Qu(),Ou(),Eu(),Ku(),Gc(),ed(),P(),Dd={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Od=[``,`X`,`Y`,`Z`],kd=1e3,Ad=0,jd={duration:.45,ease:[.4,0,.1,1]},Md=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Nd=Md(`applewebkit/`)&&!Md(`chrome/`)?Math.round:E})),Fd,Id=h((()=>{Hu(),Pd(),Fd=rd({attachResizeListener:(e,t)=>Vu(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0})})),Ld,Rd,zd=h((()=>{Pd(),Id(),Ld={current:void 0},Rd=rd({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ld.current){let e=new Fd({});e.mount(window),e.setOptions({layoutScroll:!0}),Ld.current=e}return Ld.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`})})),$=h((()=>{Ta(),Oa(),Aa(),Yr(),$i(),oa(),Ma(),k(),La(),Qa(),Va(),ro(),qa(),Vr(),zt(),Xa(),Lo(),Mo(),Fo(),Do(),ko(),Er(),Rr(),xr(),cr(),ur(),Yi(),gs(),Di(),Nr(),jr(),Vi(),zi(),Ui(),Gi(),qi(),Sa(),ha(),Zi(),ar(),P(),as(),bs(),ki(),G(),Ss(),Et(),Ts(),At(),Os(),Ns(),Xs(),Bs(),Fs(),Ls(),ui(),ji(),po(),uo(),Qs(),Mt(),xt(),kr(),ec(),tr(),Un(),$n(),U(),Kn(),Ni(),Li(),nc(),vo(),gn(),cn(),hn(),an(),V(),Wo(),cs(),rs(),Ut(),pn(),Vo(),ds(),ac(),So(),bo(),Fc(),Ol(),jl(),dc(),Jl(),Nc(),vc(),co(),xc(),Cl(),Cc(),_o(),kc(),zc(),rl(),lu(),gu(),lc(),Tu(),Eu(),ol(),gl(),vl(),Ru(),Bu(),Wu(),Ku(),Ju(),Xu(),Pd(),Id(),zd(),ed(),Qu(),fl(),ul(),Tl(),Rl(),Bl(),Hl(),Fl(),Wl(),Kl(),bt(),xl(),Ec()}));function Bd(e){return typeof e==`object`&&!Array.isArray(e)}var Vd=h((()=>{}));function Hd(e,t,n,r){return e==null?[]:typeof e==`string`&&Bd(t)?_s(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>e!=null):[e]}var Ud=h((()=>{$(),Vd()}));function Wd(e,t,n){return e*(t+1)+n*t}var Gd=h((()=>{}));function Kd(e,t,n,r){return typeof t==`number`?t:t.startsWith(`-`)||t.startsWith(`+`)?Math.max(0,e+parseFloat(t)):t===`<`?n:t.startsWith(`<`)?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}var qd=h((()=>{}));function Jd(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];i.at>t&&i.at<n&&(de(e,i),r--)}}function Yd(e,t,n,r,i,a){Jd(e,i,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:H(i,a,r[o]),easing:dt(n,o)})}var Xd=h((()=>{$(),k()}));function Zd(e,t,n=0){let r=t+1+t*n;for(let t=0;t<e.length;t++)e[t]=e[t]/r}var Qd=h((()=>{}));function $d(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var ef=h((()=>{}));function tf(e,{defaultTransition:t={},...n}={},r,i){let a=t.duration||.3,o=new Map,s=new Map,c={},l=new Map,u=0,d=0,f=0;for(let n=0;n<e.length;n++){let o=e[n];if(typeof o==`string`){l.set(o,d);continue}else if(!Array.isArray(o)){l.set(o.name,Kd(d,o.at,u,l));continue}let[p,m,h={}]=o;h.at!==void 0&&(d=Kd(d,h.at,u,l));let g=0,_=(e,n,r,o=0,s=0)=>{let c=af(e),{delay:l=0,times:u=Mr(c),type:p=t.type||`keyframes`,repeat:m,repeatType:h,repeatDelay:_=0,...v}=n,{ease:y=t.ease||`easeOut`,duration:b}=n,x=typeof l==`function`?l(o,s):l,S=c.length,C=Ji(p)?p:i?.[p||`keyframes`];if(S<=2&&C){let e=100;if(S===2&&uf(c)){let t=c[1]-c[0];e=Math.abs(t)}let n={...t,...v};b!==void 0&&(n.duration=D(b));let r=lr(n,e,C);y=r.ease,b=r.duration}b??=a;let w=d+x;u.length===1&&u[0]===0&&(u[1]=1);let ee=u.length-c.length;if(ee>0&&Ar(u,ee),c.length===1&&c.unshift(null),m&&me(m<cf,`Sequence segments can't repeat ${m} times â ignoring repeat option. Use a value below ${cf} or apply repeat at the sequence level instead.`),m&&m<cf){let e=b>0?_/b:0;b=Wd(b,m,_);let t=[...c],n=[...u];y=Array.isArray(y)?[...y]:[y];let r=[...y],i=h===`reverse`||h===`mirror`,a=t,o=r;i&&(a=[...t].reverse(),h===`reverse`&&(o=[...r].reverse().map(e=>typeof e==`function`?qe(e):e)));for(let s=0;s<m;s++){let l=i&&s%2==0,d=l?a:t,f=l?o:r,p=(s+1)*(1+e);e>0&&(c.push(c[c.length-1]),u.push(p),y.push(`linear`)),c.push(...d);for(let e=0;e<d.length;e++)u.push(n[e]+p),y.push(e===0?`linear`:dt(f,e-1))}Zd(u,m,e)}let te=w+b;Yd(r,c,y,u,w,te),g=Math.max(x+b,g),f=Math.max(te,f)};if(q(p)){let e=nf(p,s);_(m,h,rf(`default`,e))}else{let e=Hd(p,m,r,c),t=e.length;for(let n=0;n<t;n++){m=m,h=h;let r=e[n],i=nf(r,s);for(let e in m)_(m[e],of(h,e),rf(e,i),n,t)}}u=d,d+=g}
1return s.forEach((e,r)=>{for(let i in e){let a=e[i];a.sort($d);let s=[],c=[],l=[];for(let e=0;e<a.length;e++){let{at:t,value:n,easing:r}=a[e];s.push(n),c.push(Ae(0,f,t)),l.push(r||`easeOut`)}c[0]!==0&&(c.unshift(0),s.unshift(s[0]),l.unshift(sf)),c[c.length-1]!==1&&(c.push(1),s.push(null)),o.has(r)||o.set(r,{keyframes:{},transition:{}});let u=o.get(r);u.keyframes[i]=s;let{type:d,...p}=t;u.transition[i]={...p,duration:f,ease:l,times:c,...n}}}),o}function nf(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function rf(e,t){return t[e]||(t[e]=[]),t[e]}function af(e){return Array.isArray(e)?e:[e]}function of(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var sf,cf,lf,uf,df=h((()=>{$(),k(),Ud(),Gd(),qd(),Xd(),Qd(),ef(),sf=`easeInOut`,cf=20,lf=e=>typeof e==`number`,uf=e=>e.every(lf)}));function ff(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=Zs(e)&&!$s(e)?new ql(t):new Dl(t);n.mount(e),uc.set(e,n)}function pf(e){let t=new Al({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),uc.set(e,t)}var mf=h((()=>{$()}));function hf(e,t){return q(e)||typeof e==`number`||typeof e==`string`&&!Bd(t)}function gf(e,t,n,r){let i=[];if(hf(e,t))i.push(zu(e,Bd(t)&&t.default||t,n&&(n.default||n)));else{if(e==null)return i;let a=Hd(e,t,r),o=a.length;he(!!o,`No valid elements provided.`,`no-valid-elements`);for(let e=0;e<o;e++){let r=a[e],s=r instanceof Element?ff:pf;uc.has(r)||s(r);let c=uc.get(r),l={...n};`delay`in l&&typeof l.delay==`function`&&(l.delay=l.delay(e,o)),i.push(...jo(c,{...t,transition:l},{}))}}return i}var _f=h((()=>{$(),k(),mf(),Vd(),Ud()}));function vf(e,t,n){let r=[];return tf(e.map(e=>{if(Array.isArray(e)&&typeof e[0]==`function`){let t=e[0],n=K(0);return n.on(`change`,t),e.length===1?[n,[0,1]]:e.length===2?[n,[0,1],e[1]]:[n,e[1],e[2]]}return e}),t,n,{spring:gr}).forEach(({keyframes:e,transition:t},n)=>{r.push(...gf(n,e,t))}),r}var yf=h((()=>{$(),df(),_f()}));function bf(e){return Array.isArray(e)&&e.some(Array.isArray)}function xf(e={}){let{scope:t,reduceMotion:n,skipAnimations:r}=e;function i(e,i,a){let o=[],s,c={};if(n!==void 0&&(c.reduceMotion=n),r!==void 0&&(c.skipAnimations=r),bf(e)){let{onComplete:n,...r}=i||{};typeof n==`function`&&(s=n),o=vf(e,{...c,...r},t)}else{let{onComplete:n,...r}=a||{};typeof n==`function`&&(s=n),o=gf(e,i,{...c,...r},t)}let l=new ka(o);return s&&l.finished.then(s),t&&(t.animations.push(l),l.finished.then(()=>{de(t.animations,l)})),l}return i}var Sf,Cf=h((()=>{$(),k(),yf(),_f(),Sf=xf()}));function wf(e,t,{root:n,margin:r,amount:i=`some`}={}){let a=_s(e),o=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{let n=o.get(e.target);if(e.isIntersecting!==!!n)if(e.isIntersecting){let n=t(e.target,e);typeof n==`function`?o.set(e.target,n):s.unobserve(e.target)}else typeof n==`function`&&(n(e),o.delete(e.target))})},{root:n,rootMargin:r,threshold:typeof i==`number`?i:Tf[i]});return a.forEach(e=>s.observe(e)),()=>s.disconnect()}var Tf,Ef=h((()=>{$(),Tf={some:0,all:1}}));function Df(e,t){let n=Of(e.x,t.x),r=Of(e.y,t.y);return Math.sqrt(n**2+r**2)}var Of,kf=h((()=>{Of=(e,t)=>Math.abs(e-t)})),Af=h((()=>{$(),$(),k(),Cf(),k(),Ef(),kf()}));function jf({current:e}){return e?e.ownerDocument.defaultView:null}var Mf=h((()=>{}));function Nf(e){if(e)return e.nodeType===3||e.nodeType===8?Nf(e.nextSibling):e}var Pf=h((()=>{w()})),Ff,If,Lf,Rf,zf,Bf,Vf=h((()=>{se(),[Ff,If,Lf]=oe(`Motion`),[Rf,zf,Bf]=oe(`LayoutGroup`)}));function Hf(){return Wf(ne(()=>Uf))}var Uf,Wf,Gf,Kf,qf=h((()=>{se(),w(),Uf={reducedMotion:`never`,transition:void 0,nonce:void 0},[Wf,Gf,Kf]=oe(`MotionConfig`)})),Jf,Yf,Xf=h((()=>{Jf=function(){},Yf=function(){}})),Zf,Qf=h((()=>{qf(),w(),ae(),Xf(),Zf=a({name:`MotionConfig`,inheritAttrs:!1,__name:`MotionConfig`,props:{transition:{},reduceMotion:{},reducedMotion:{default:({reduceMotion:e})=>ie(e)?(Jf(!1,"`reduceMotion` is deprecated. Use `reducedMotion` instead."),e):Uf.reducedMotion},nonce:{},inViewOptions:{}},setup(e){let t=e,n=Hf();return Gf(ne(()=>({transition:t.transition??n.value.transition,reducedMotion:t.reducedMotion??n.value.reducedMotion,nonce:t.nonce??n.value.nonce,inViewOptions:t.inViewOptions??n.value.inViewOptions}))),(e,t)=>ee(e.$slots,`default`)}})})),$f,ep=h((()=>{Qf(),$f=Zf})),tp,np=h((()=>{tp={motionAttribute:`data-ap`}}));function rp(e){for(let t of e)t&&!ip.includes(t)&&ip.push(t)}var ip,ap=h((()=>{ip=[]}));function op(e,t,n){if(Array.isArray(e))return e.reduce((e,r)=>{let i=op(r,t,n);return i?{...e,...i}:e},{});if(typeof e==`object`)return e;if(e&&t){let r=t[e];return typeof r==`function`?r(n):r}}
1function sp(e,t,n){let r=op(e,t,n);if(!r)return;let{transition:i,transitionEnd:a,...o}=r;return{...o,...a}}function cp(e,t){let n=(e.initial===void 0&&e.variants?t?.initial:e.initial)===!1?[`initial`,`animate`]:[`initial`],r=e.custom??e.presenceContext?.custom;return n.reduce((n,i)=>({...n,...sp(e[i]||t?.[i],e.variants,r)}),{})}function lp(e,t){let n=t?.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function up(e){return dp.has(e)}var dp,fp=h((()=>{dp=new Set(`animate.circle.defs.desc.ellipse.g.image.line.filter.marker.mask.metadata.path.pattern.polygon.polyline.rect.stop.svg.switch.symbol.text.tspan.use.view.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.linearGradient.radialGradient.textPath`.split(`.`))})),pp,mp,hp=h((()=>{ap(),fp(),np(),$(),Xf(),pp=new WeakMap,mp=class{constructor(e,t){this.element=null,this.isExiting=!1,this.presenceContainer=null,this.children=new Set,this.features=new Map,this._context=null,this.options=e,this.parent=t,t?.children?.add(this),this.latestValues=cp(e,this.context),this.type=up(this.options.as)?`svg`:`html`}get context(){return this._context||=new Proxy({},{get:(e,t)=>{let n=this.options[t];return mc(n)||t===`initial`&&n===!1?n:this.parent?.context[t]}}),this._context}updateFeatures(){if(this.visualElement)for(let e of ip){this.features.has(e.key)||this.features.set(e.key,new e(this));let t=this.features.get(e.key);this.isMounted()&&(t.isMount?t.update():(t.mount(),t.isMount=!0))}}updateOptions(e){this.options=e,this.visualElement?.update({...this.options,whileTap:this.options.whilePress},this.options.presenceContext??null)}mount(e){Yf(!!e,`Animation state must be mounted with valid Element`),pp.set(e,this),this.element=e;let t=this.options.presenceContext?.presenceId;t!==void 0&&e.setAttribute(tp.motionAttribute,t),this.visualElement?.mount(e),this.updateFeatures()}beforeUnmount(){this.getSnapshot(this.options,!1)}unmount(){this.parent?.children?.delete(this),pp.delete(this.element),this.features.forEach(e=>e.unmount?.()),this.visualElement?.unmount()}beforeUpdate(){this.getSnapshot(this.options,void 0)}update(){this.updateFeatures(),this.didUpdate()}tryExitComplete(){this.isExiting||this.options?.layoutId&&this.visualElement.projection?.currentAnimation?.state===`running`||this.options.presenceContext?.onMotionExitComplete?.(this.presenceContainer,this)}setActive(e,t){e===`exit`&&t&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(e,t).then(()=>{e===`exit`&&t&&(this.isExiting=!1,this.options?.layoutId?j.postRender(()=>this.tryExitComplete()):this.tryExitComplete())})}isMounted(){return!!this.element}initVisualElement(e){this.visualElement||(this.visualElement=e(this.options.as,{presenceContext:this.options.presenceContext??null,parent:this.parent?.visualElement,props:{...this.options,whileTap:this.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.latestValues}},reducedMotionConfig:this.options.motionConfig?.reducedMotion}),this.visualElement.parent?.addChild(this.visualElement),this.isMounted()&&this.visualElement.mount(this.element))}getSnapshot(e,t){}didUpdate(){}}})),gp,_p=h((()=>{gp=class{constructor(e){this.state=e}mount(){}unmount(){}update(){}}})),vp,yp=h((()=>{vp=[`initial`,`animate`,`exit`,`whileHover`,`whileDrag`,`whileFocus`,`whilePress`]}));function bp(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&bp(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<xp;n++){let r=vp[n],i=e.props[r];(mc(i)||i===!1)&&(t[r]=i)}return t}var xp,Sp=h((()=>{yp(),$(),xp=vp.length}));function Cp(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function wp(){return{animate:Cp(!0),whileInView:Cp(),whileHover:Cp(),whilePress:Cp(),whileDrag:Cp(),whileFocus:Cp(),exit:Cp()}}function Tp(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!lp(t,e):!1}function Ep(e){return Array.isArray(e)}function Dp(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Io(e,t,n)))}function Op(e){let t=Dp(e),n=wp(),r=!0,i=t=>(n,r)=>{let i=so(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;
1n={...n,...r,...t}}return n};function a(n){t=n(e)}function o(a){let{props:o}=e,s=bp(e.parent)||{},c=[],l=new Set,u={},d=1/0;for(let t=0;t<jp;t++){let f=Ap[t],p=n[f],m=o[f]===void 0?s[f]:o[f],h=mc(m),g=f===a?p.isActive:null;g===!1&&(d=t);let _=m===s[f]&&m!==o[f]&&h;if(_&&r&&e.manuallyAnimateOnMount&&(_=!1),p.protectedKeys={...u},!p.isActive&&g===null||!m&&!p.prevProp||fc(m)||typeof m==`boolean`)continue;let v=Tp(p.prevProp,m),y=v||f===a&&p.isActive&&!_&&h||t>d&&h,b=!1,x=Array.isArray(m)?m:[m],S=x.reduce(i(f),{});g===!1&&(S={});let{prevResolvedValues:C={}}=p,w={...C,...S},ee=t=>{y=!0,l.has(t)&&(b=!0,l.delete(t)),p.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in w){let t=S[e],n=C[e];if(Object.hasOwnProperty.call(u,e))continue;let r=!1;r=Ep(t)&&Ep(n)?!lp(t,n):t!==n,r?t==null?l.add(e):ee(e):t!==void 0&&l.has(e)?ee(e):p.protectedKeys[e]=!0}p.prevProp=m,p.prevResolvedValues=S,p.isActive&&(u={...u,...S}),r&&e.blockInitialAnimation&&(y=!1);let te=_&&v;y&&(!te||b)&&c.push(...x.map(t=>{let n={type:f};if(typeof t==`string`&&r&&!te&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=so(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=ja(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(l.size){let t={};if(typeof o.initial!=`boolean`){let n=so(e,Array.isArray(o.initial)?o.initial[0]:o.initial);n&&n.transition&&(t.transition=n.transition)}l.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),c.push({animation:t})}let f=!!c.length;return r&&(o.initial===!1||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(c):Promise.resolve()}function s(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>{e.animationState?.setActive(t,r)}),n[t].isActive=r;let i=o(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:o,setActive:s,setAnimateFunction:a,getState:()=>n,reset:()=>{n=wp(),r=!0}}}var kp,Ap,jp,Mp=h((()=>{fp(),Sp(),$(),kp=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whilePress`,`whileDrag`,`exit`],Ap=[...kp].reverse(),jp=kp.length}));function Np(e){return e.style.display===`none`||e.offsetParent===null&&window.getComputedStyle(e).position!==`fixed`}var Pp=h((()=>{})),Fp,Ip=h((()=>{_p(),Mp(),Pp(),$(),Fp=class extends gp{static#e=this.key=`animation`;constructor(e){super(e);let t=e.visualElement;t.animationState||=Op(t)}updateAnimationControlsSubscription(){let{animate:e}=this.state.options;fc(e)&&(this.unmountControls=e.subscribe(this.state.visualElement))}mount(){Np(this.state.element)?this.state.setActive(`exit`,!0):this.state.visualElement.animationState?.animateChanges(),this.updateAnimationControlsSubscription()}update(){this.state.visualElement.animationState?.animateChanges();let{animate:e}=this.state.visualElement.getProps(),{animate:t}=this.state.visualElement.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.state.visualElement.animationState.reset(),this.unmountControls?.()}}}));function Lp(e,t){return up(e)?new ql(t):new Dl(t)}var Rp=h((()=>{fp(),$()}));function zp(e){return{point:{x:e.pageX,y:e.pageY}}}var Bp,Vp=h((()=>{_p(),$(),Bp=class extends gp{static#e=this.key=`press`;constructor(e){super(e)}isActive(){let{whilePress:e,onPress:t,onPressCancel:n,onPressStart:r}=this.state.options;return!!(e||t||n||r)}register(){let e=this.state.element;!e||!this.isActive()||(this.removePress?.(),this.removePress=Js(e,(e,t)=>{let n=this.state.options;return this.state.setActive(`whilePress`,!0),n.onPressStart&&j.postRender(()=>n.onPressStart(t,zp(t))),(e,{success:t})=>{this.state.setActive(`whilePress`,!1);let n=t?`onPress`:`onPressCancel`,r=this.state.options[n];r&&j.postRender(()=>r(e,zp(e)))}},{useGlobalTarget:this.state.options.globalPressTarget}))}mount(){this.register()}update(){let e=this.state.visualElement.prevProps;!(e?.whilePress||e?.whileTap||e?.onPress||e?.onPressCancel||e?.onPressStart)&&this.isActive()&&this.register()}unmount(){this.removePress?.(),this.removePress=void 0}}}));function Hp(e){return e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1}var Up=h((()=>{}));function Wp(e,t=`page`){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}function Gp(e){return t=>Hp(t)&&e(t,Wp(t))}var Kp=h((()=>{Up()})),qp,Jp=h((()=>{_p(),Kp(),$(),qp=class extends gp{static#e=this.key=`hover`;constructor(e){super(e)}isActive(){let{whileHover:e,onHoverStart:t,onHoverEnd:n}=this.state.options;return!!(e||t||n)}register(){let e=this.state.element;!e||!this.isActive()||(this.removeHover?.(),this.removeHover=Ms(e,(e,t)=>{let n=this.state.options;return this.state.setActive(`whileHover`,!0),n.onHoverStart&&j.postRender(()=>
1n.onHoverStart(t,Wp(t))),e=>{this.state.setActive(`whileHover`,!1);let t=this.state.options.onHoverEnd;t&&j.postRender(()=>t(e,Wp(e)))}}))}mount(){this.register()}update(){let e=this.state.visualElement.prevProps;!(e?.whileHover||e?.onHoverStart||e?.onHoverEnd)&&this.isActive()&&this.register()}unmount(){this.removeHover?.(),this.removeHover=void 0}}})),Yp,Xp=h((()=>{_p(),Af(),$(),Yp=class extends gp{static#e=this.key=`inView`;constructor(e){super(e)}isActive(){let{whileInView:e,onViewportEnter:t,onViewportLeave:n}=this.state.options;return!!(e||t||n)}startObserver(){let e=this.state.element;if(!e||!this.isActive())return;this.removeObserver?.();let{once:t,...n}=this.state.options.inViewOptions||{};this.removeObserver=wf(e,(e,n)=>{let r=this.state.options;if(this.state.setActive(`whileInView`,!0),r.onViewportEnter&&j.postRender(()=>r.onViewportEnter(n)),!t)return()=>{this.state.setActive(`whileInView`,!1);let e=this.state.options.onViewportLeave;e&&j.postRender(()=>e(n))}},n)}mount(){this.startObserver()}update(){let{props:e,prevProps:t}=this.state.visualElement;[`amount`,`margin`,`root`].some(n=>e.inViewOptions?.[n]!==t?.inViewOptions?.[n])&&this.startObserver()}unmount(){this.removeObserver?.(),this.removeObserver=void 0}}}));function Zp(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Qp=h((()=>{})),$p,em=h((()=>{_p(),Qp(),k(),$p=class extends gp{static#e=this.key=`focus`;constructor(e){super(e),this.isFocused=!1}onFocus(){let e=!1;try{e=this.state.element.matches(`:focus-visible`)}catch{e=!0}e&&(this.state.setActive(`whileFocus`,!0),this.isFocused=!0)}onBlur(){this.isFocused&&=(this.state.setActive(`whileFocus`,!1),!1)}mount(){let e=this.state.element;this.removeFocus=Oe(Zp(e,`focus`,()=>this.onFocus()),Zp(e,`blur`,()=>this.onBlur()))}unmount(){this.removeFocus?.(),this.removeFocus=void 0}}}));function tm(e){if(e)return e.options.allowProjection===!1?tm(e.parent):e.projection}var nm=h((()=>{})),rm,im=h((()=>{$(),rm={borderRadius:{...Y,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:Y,borderTopRightRadius:Y,borderBottomLeftRadius:Y,borderBottomRightRadius:Y,boxShadow:_l}}));function am(e){return typeof e==`object`&&!!e&&`nodeType`in e}var om=h((()=>{})),sm,cm=h((()=>{sm=typeof window>`u`})),lm,um=h((()=>{_p(),nm(),im(),om(),cm(),$(),lm=class extends gp{static#e=this.key=`projection`;constructor(e){super(e),yl(rm),sm||this.initProjection()}initProjection(){let e=this.state.options;this.state.visualElement.projection=new Rd(this.state.visualElement.latestValues,e[`data-framer-portal-id`]?void 0:tm(this.state.visualElement.parent)),this.projection=this.state.visualElement.projection,this.projection.isPresent=!0,this.setOptions()}setOptions(){let e=this.state.options,{layoutId:t,layout:n,drag:r=!1,dragConstraints:i=!1}=e;this.projection?.setOptions({layout:n,layoutId:t,alwaysMeasureLayout:!!t||!!r||i&&am(i),visualElement:this.state.visualElement,animationType:typeof e.layout==`string`?e.layout:`both`,layoutRoot:e.layoutRoot,layoutScroll:e.layoutScroll,crossfade:e.crossfade,onExitComplete:()=>{!this.projection?.isPresent&&this.state.options.layoutId&&!this.state.isExiting&&queueMicrotask(()=>{this.state.options.presenceContext?.onMotionExitComplete?.(this.state.presenceContainer,this.state)})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}}}));function dm(e,t,n,r){return Zp(e,t,Gp(n),r)}var fm=h((()=>{Kp(),Qp()}));function pm(e,t){return t?{point:t(e.point)}:e}function mm(e,t){return{x:e.x-t.x,y:e.y-t.y}}function hm({point:e},t){return{point:e,delta:mm(e,_m(t)),offset:mm(e,gm(t)),velocity:vm(t,.1)}}function gm(e){return e[0]}function _m(e){return e[e.length-1]}function vm(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=_m(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>D(t)));)n--;if(!r)return{x:0,y:0};let a=O(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}var ym,bm,xm=h((()=>{Up(),Kp(),fm(),Af(),k(),ym=new Set([`auto`,`scroll`]),bm=class{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=hm(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Df(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=N;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>
1{this.lastMoveEvent=e,this.lastMoveEventInfo=pm(t,this.transformPagePoint),j.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=hm(e.type===`pointercancel`?this.lastMoveEventInfo:pm(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Hp(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let o=pm(Wp(e),this.transformPagePoint),{point:s}=o,{timestamp:c}=N;this.history=[{...s,timestamp:c}];let{onSessionStart:l}=t;l&&l(e,hm(o,this.history)),this.removeListeners=Oe(dm(this.contextWindow,`pointermove`,this.handlePointerMove),dm(this.contextWindow,`pointerup`,this.handlePointerUp),dm(this.contextWindow,`pointercancel`,this.handlePointerUp)),a&&this.startScrollTracking(a)}isScrollable(e){let t=window.getComputedStyle(e);return t.overflow===`auto`||t.overflow===`scroll`||t.overflowX===`auto`||t.overflowX===`scroll`||t.overflowY===`auto`||t.overflowY===`scroll`}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ym.has(e.overflowX)||ym.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener(`scroll`,this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),j.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),M(this.updatePoint)}}}));function Sm(e){return(t,n)=>{e&&j.postRender(()=>e(t,n))}}var Cm,wm=h((()=>{Mf(),_p(),fm(),xm(),$(),k(),Cm=class extends gp{constructor(...e){super(...e),this.removePointerDownListener=E}static#e=this.key=`pan`;onPointerDown(e){this.session=new bm(e,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:jf(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:Sm((e,t)=>
1{let{onPanSessionStart:n}=this.state.options;n&&n(e,t)}),onStart:Sm((e,t)=>{let{onPanStart:n}=this.state.options;n&&n(e,t)}),onMove:(e,t)=>{let{onPan:n}=this.state.options;n&&n(e,t)},onEnd:(e,t)=>{let{onPanEnd:n}=this.state.options;delete this.session,n&&j.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=dm(this.state.element,`pointerdown`,this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}}));function Tm(e){let t=null;return()=>t===null?(t=e,()=>{t=null}):!1}function Em(e){let t=!1;if(e===`y`)t=Om();else if(e===`x`)t=Dm();else{let e=Dm(),n=Om();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}var Dm,Om,km=h((()=>{Dm=Tm(`dragHorizontal`),Om=Tm(`dragVertical`)}));function Am(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?H(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?H(n,e,r.max):Math.min(e,n)),e}function jm(e,{top:t,left:n,bottom:r,right:i}){return{x:Mm(e.x,n,i),y:Mm(e.y,t,r)}}function Mm(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function Nm(e=Bm){return e===!1?e=0:e===!0&&(e=Bm),{x:Pm(e,`left`,`right`),y:Pm(e,`top`,`bottom`)}}function Pm(e,t,n){return{min:Fm(e,t),max:Fm(e,n)}}function Fm(e,t){return typeof e==`number`?e:e[t]||0}function Im(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}function Lm(e,t){return{x:Rm(e.x,t.x),y:Rm(e.y,t.y)}}function Rm(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function zm(e,t){let n=.5,r=Z(e),i=Z(t);return i>r?n=Ae(t.min,t.max-r,e.min):r>i&&(n=Ae(e.min,e.max-i,t.min)),T(0,1,n)}var Bm,Vm=h((()=>{$(),k(),Bm=.35}));function Hm(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Um(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Wm,Gm,Km=h((()=>{Mf(),Kp(),Qp(),fm(),om(),xm(),km(),Vm(),$(),Xf(),Wm=new WeakMap,Gm=class{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=J(),this.state=e}get visualElement(){return this.state.visualElement}start(e,{snapToCursor:t=!1}={}){let n=e=>{t?this.stopAnimation():this.pauseAnimation(),t&&this.snapToCursor(Wp(e,`page`).point)},r=(e,t)=>{this.stopAnimation();let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Em(n),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Q(e=>{let t=this.getAxisMotionValue(e).get()||0;if(L.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Z(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&j.postRender(()=>i(e,t)),xo(this.visualElement,`transform`),this.state.setActive(`whileDrag`,!0))},i=(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=Um(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&a(e,t)},a=(e,t)=>this.stop(e,t),o=()=>Q(e=>this.getAnimationState(e)===`paused`&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:s}=this.getProps();this.panSession=new bm(e,{onSessionStart:n,onStart:r,onMove:i,onSessionEnd:a,resumeAnimation:o},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,contextWindow:jf(this.visualElement),element:this.state.element})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&j.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:t}=this.getProps();!t&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.state.setActive(`whileDrag`,!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Hm(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Am(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&am(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=jm(n.layoutBox,e):this.constraints=!1,this.elastic=Nm(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Q(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Im(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!am(e))return!1;let n=e;Yf(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=al(n,r.root,this.visualElement.getTransformPagePoint()),a=Lm(r.layout.layoutBox,i);if(t){let e=t(Lc(a));this.hasMutatedConstraints=!!e,e&&(a=Ic(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Q(o=>{if(!Hm(o,t,this.currentDirection))return;let c=s&&s[o]||{};a&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return xo(this.visualElement,e),n.start(Za(e,n,0,t,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&Q(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Q(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Q(t=>{let{drag:n}=this.getProps();if(!Hm(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t];i.set(e[t]-H(n,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!am(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Q(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=zm({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.state.element.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Q(t=>{if(!Hm(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(H(i,a,r[t]))})}addListeners(){if(!this.state.element)return;Wm.set(this.visualElement,this);let e=this.state.element,t=dm(e,`pointerdown`,e=>{let{drag:t,dragListener:n=!0}
1=this.getProps();t&&n&&this.start(e)}),n=()=>{let{dragConstraints:e}=this.getProps();am(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener(`measure`,n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),j.read(n);let a=Zp(window,`resize`,()=>this.scalePositionWithinConstraints()),o=r.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Q(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{a(),t(),i(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=Bm,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}}})),qm,Jm=h((()=>{_p(),Km(),k(),qm=class extends gp{static#e=this.key=`drag`;constructor(e){super(e),this.removeGroupControls=E,this.removeListeners=E,this.controls=new Gm(e)}mount(){let{dragControls:e}=this.state.options;e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||E}unmount(){this.removeGroupControls(),this.removeListeners()}}})),Ym,Xm,Zm=h((()=>{_p(),Pp(),im(),$(),ae(),Ym=!1,Xm=class extends gp{static#e=this.key=`layout`;constructor(e){super(e),this.hasMountSettled=!1,yl(rm),e.getSnapshot=this.getSnapshot.bind(this),e.didUpdate=this.didUpdate.bind(this)}updatePrevLead(e){let t=e.getStack();t?.prevLead&&!t.prevLead.snapshot&&(t.prevLead.willUpdate(),Ym=!0)}didUpdate(){Ym&&(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&(Ym=!1,this.state.visualElement.projection?.root?.didUpdate())}mount(){let e=this.state.options,t=this.state.options.layoutGroup;if(e.layout||e.layoutId){let n=this.state.visualElement.projection;if(e.layoutId){let e=!Np(this.state.element);n.isPresent=e,e?n.promote():n.relegate(),this.updatePrevLead(n)}t?.group?.add(n),$u.hasEverUpdated=!0}this.didUpdate(),j.postRender(()=>{this.hasMountSettled=!0})}unmount(){let e=this.state.options.layoutGroup,t=this.state.visualElement.projection;t&&(e?.group&&(this.state.options.layout||this.state.options.layoutId)&&e.group.remove(t),this.state.options.layoutId&&(Ym=!0),this.didUpdate())}getSnapshot(e,t){let n=this.state.visualElement.projection,{drag:r,layoutDependency:i,layout:a,layoutId:o}=e;if(!n||!a&&!o&&!r||!this.hasMountSettled)return;Ym=!0;let s=this.state.options;(r||s.layoutDependency!==i||i===void 0||ie(t)&&n.isPresent!==t)&&n.willUpdate(),ie(t)&&t!==n.isPresent&&(n.isPresent=t,t?(n.promote(),this.updatePrevLead(n)):n.relegate())}}})),Qm,$m=h((()=>{Ip(),Rp(),Vp(),Jp(),Xp(),em(),um(),wm(),Jm(),Zm(),Qm={renderer:Lp,features:[Fp,Bp,qp,Yp,$p,lm,Cm,qm,Xm]}})),eh,th,nh=h((()=>{se(),[eh,th]=oe(`LazyMotionContext`)})),rh,ih,ah,oh=h((()=>{se(),[rh,ih,ah]=oe(`AnimatePresenceContext`)}));function sh(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function ch(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function lh(){return{...ch(),attrs:{}}}function uh(e){let t=ch();dl(t,e);let n={...t.style};for(let e in t.vars)n[e]=t.vars[e];return Object.keys(n).length===0?null:n}function dh(e,t,n){let r=lh();Il(r,e,Vl(t),void 0,n);let i={};for(let e in r.attrs){let t=zl.has(e)?e:sh(e);i[t]=r.attrs[e]}return{attrs:i,style:{...r.style,...r.vars}}}var fh=h((()=>{$()}));function ph(e,t){let n=Ff(null),a=Rf({}),s=Hf(),c=rh({}),l=eh({features:te({}),strict:!1}),u=x();function m(){return ce(e,{layoutGroup:a,presenceContext:c,config:s.value})}function h(){return{...u,...m()}}let _=new mp(h(),n);If(_),t&&_.initVisualElement(t),g(l.features,e=>{e.features?.length&&rp(e.features),e.renderer&&_.initVisualElement(e.renderer),_.updateFeatures()},{immediate:!0,flush:`pre`});function v(){let t=_.type===`svg`,n={...u};Object.keys(u).forEach(e=>{q(u[e])&&(n[e]=u[e].get())});let r=_.visualElement?.latestValues||_.latestValues,i={...e.style,...t?{}:r};for(let e in i)q(i[e])&&(i[e]=i[e].get());if(t){let{attrs:t,style:a}=dh({...r,...i},_.options.as,e.style);Object.assign(n,t),i=a}e.drag&&e.dragListener!==!1&&Object.assign(i,{userSelect:`none`,WebkitUserSelect:`none`,WebkitTouchCallout:`none`,touchAction:e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`});let a=uh(i);return a&&(n.style=a),n}let y=o().proxy;return f(()=>{let e=Nf(y.$el);_.mount(e)}),r(()=>_.beforeUnmount()),d(()=>{Nf(y.$el)?.isConnected||_.unmount()}),i(()=>{_.beforeUpdate(),_.updateOptions(h())}),p(()=>
1{_.update()}),{getProps:m,getAttrs:v,layoutGroup:a,state:_}}var mh=h((()=>{le(),Pf(),Vf(),nh(),qf(),oh(),fh(),ap(),hp(),Af(),w()})),hh,gh=h((()=>{hh={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object]},whilePress:{type:[String,Array,Object]},whileInView:{type:[String,Array,Object]},whileFocus:{type:[String,Array,Object]},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:null,default:void 0},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}}}));function _h(e){if(!Array.isArray(e))return[e];let t=[];for(let n of e)Array.isArray(n)?t.push(...n):t.push(n);return t}function vh(e,t,r){if(typeof e==`string`&&Ch.includes(e))return n(e,t);if(e===`template`){if(!r.default)return null;let e=_h(r.default()),n=e.findIndex(e=>e.type!==v);if(n===-1)return e;let i=e[n];delete i.props?.ref;let a=i.props?u(t,i.props):t;t.class&&i.props?.class&&delete i.props.class;let o=m(i,a);for(let e in a)e.startsWith(`on`)&&(o.props||={},o.props[e]=a[e]);return e.length===1?o:(e[n]=o,e)}return null}function yh(e,t={}){let r=typeof e==`string`,i=r?e:e.name||``,o=t.renderer?xh:Sh;if(r&&o?.has(e))return o.get(e);let s=a({inheritAttrs:!1,props:{...hh,as:{type:[String,Object],default:e||`div`}},name:i?`motion.${i}`:`Motion`,setup(e,{slots:r}){let{getProps:i,getAttrs:a,state:o}=ph(e,t.renderer);function s(){let t=o.element;if((typeof e.as!=`object`||e.asChild)&&t){let{style:e}=a();if(e)for(let[n,r]of Object.entries(e))t.style[n]=r}}return()=>{let t=i(),o=a(),c=e.asChild?`template`:e.as,l={...e.forwardMotionProps?t:{},...o,onVnodeUpdated:s},u=vh(c,l,r);return u===null?n(c,{...l},r):u}}});return r&&o?.set(e,s),s}function bh(e){let t=e?.renderer;return rp(e?.features||[]),new Proxy({},{get(e,n){return n===`create`?(e,n)=>yh(e,{...n,renderer:t}):yh(n,{renderer:t})}})}var xh,Sh,Ch,wh=h((()=>{ap(),mh(),gh(),w(),xh=new Map,Sh=new Map,Ch=[`area`,`img`,`input`]})),Th,Eh=h((()=>{wh(),$m(),Th=bh(Qm),Th.create(`div`)}));function Dh(e){let t=new WeakMap,n=Hf();function r(r){if(e.mode!==`popLayout`)return;let i=r.offsetParent,a=i instanceof HTMLElement&&i.offsetWidth||0,o={height:r.offsetHeight||0,width:r.offsetWidth||0,top:r.offsetTop,left:r.offsetLeft,right:0};o.right=a-o.width-o.left;let s=e.anchorX===`left`?`left: ${o.left}px`:`right: ${o.right}px`,c=`pop-${Oh++}`;r.dataset.motionPopId=c;let l=document.createElement(`style`);n.value.nonce&&(l.nonce=n.value.nonce),t.set(r,l),document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` 2 [data-motion-pop-id="${c}"] { 3 position: absolute !important; 4 width: ${o.width}px !important; 5 height: ${o.height}px !important; 6 top: ${o.top}px !important; 7 ${s} !important; 8 } 9 `)}function i(e){let n=t.get(e);n&&(t.delete(e),j.render(()=>{document.head.removeChild(n)}))}return{addPopStyle:r,removePopStyle:i}}var Oh,kh=h((()=>{qf(),Af(),Oh=0}));function Ah(e){let t=String(jh++),n=new Map,{addPopStyle:r,removePopStyle:i}=Dh(e);function a(e){let n=[],r=pp.get(e);r&&e.getAttribute(tp.motionAttribute)===t&&n.push(r);let i=Array.from(e.querySelectorAll(`[${tp.motionAttribute}="${t}"]`));for(let e of i){let t=pp.get(e);t&&n.push(t)}return n}function o(e,t){let r=n.get(e);r&&(r.remaining.delete(t),r.remaining.size===0&&c(r))}let s={initial:e.initial,custom:e.custom,presenceId:t,onMotionExitComplete:o};ih(s),f(()=>{s.initial=void 0});
9function c(t){i(t.el),t.states.forEach(e=>{e.getSnapshot(e.options,!1)}),t.done(),n.delete(t.el),t.el?.isConnected?t.states[0]?.didUpdate():t.states.forEach(e=>{e.unmount()}),e.onExitComplete?.()}function l(e,t){a(e).forEach(e=>{e.setActive(`exit`,!1),e.getSnapshot(e.options,!0)}),t()}function u(t,i){s.custom=e.custom;let o=t,c=a(o);if(c.length===0){i(),e.onExitComplete?.();return}let l={remaining:new Set(c),states:c,done:i,el:o};n.set(o,l),r(o),c.forEach(e=>{e.presenceContainer=o,e.setActive(`exit`,!0),e.getSnapshot(e.options,!1)}),c[0]?.didUpdate()}return d(()=>{n.forEach(e=>{e.states.forEach(e=>{e.unmount()})}),n.clear()}),{enter:l,exit:u}}var jh,Mh=h((()=>{oh(),np(),hp(),kh(),w(),jh=0})),Nh,Ph=h((()=>{Mh(),w(),Nh=a({name:`AnimatePresence`,inheritAttrs:!0,__name:`AnimatePresence`,props:{mode:{default:`sync`},initial:{type:Boolean,default:!0},as:{},custom:{},onExitComplete:{},anchorX:{default:`left`}},setup(e){let n=e,{enter:r,exit:i}=Ah(n),a=ne(()=>n.mode===`wait`?{mode:n.mode===`wait`?`out-in`:void 0}:{tag:n.as});return(e,n)=>(c(),t(y(e.mode===`wait`?b:C),u(a.value,{appear:``,css:!1,onLeave:s(i),onEnter:s(r)}),{default:S(()=>[ee(e.$slots,`default`)]),_:3},16,[`onLeave`,`onEnter`]))}})})),Fh,Ih=h((()=>{Ph(),Fh=Nh}));function Lh(e){let t=K(e()),n=()=>t.set(e()),r=()=>j.preRender(n,!1,!0),i,a=e=>{i=e.map(e=>e.on(`change`,r))},s=()=>{i.forEach(e=>e()),M(n)};return o()&&d(()=>{s()}),{subscribe:a,unsubscribe:s,value:t,updateValue:n}}var Rh=h((()=>{$(),w()}));function zh(e){Fa.current=[];let{value:t,subscribe:n,unsubscribe:r,updateValue:i}=Lh(e);return n(Fa.current),Fa.current=void 0,_(()=>{r(),Fa.current=[],i(),n(Fa.current),Fa.current=void 0}),t}var Bh=h((()=>{Rh(),$(),w()}));function Vh(e,t,n,r){if(typeof e==`function`)return zh(e);if(n&&!Array.isArray(n)&&typeof n==`object`){let i={};for(let a in n)if(Object.prototype.hasOwnProperty.call(n,a)){let o=n[a];i[a]=Vh(e,t,o,r)}return i}let i,a;if(typeof t==`function`)a=t,i=Array.isArray(e)?e:[e];else if(re(t)){let o=K(0),s=tc(t.value,n,r);g(t,e=>{s=tc(e,n,r),o.set(o.get()+1)},{flush:`sync`}),a=e=>s(Array.isArray(e)?e[0]:e),i=Array.isArray(e)?[...e,o]:[e,o]}else a=tc(t,n,r),i=Array.isArray(e)?e:[e];let o=Array.isArray(e)?Hh(i,a):Hh(i,e=>a(e[0]));if(!Array.isArray(e)){let i=e.accelerate;if(i&&!i.isTransformed&&typeof t!=`function`&&Array.isArray(n)&&r?.clamp!==!1){let e=re(t)?t.value:t;o.accelerate={...i,times:e,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}}}return o}function Hh(e,t){let n=[],{value:r,subscribe:i}=Lh(()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)});return i(e),r}var Uh=h((()=>{Rh(),Bh(),$(),w()})),Wh=h((()=>{ep(),Eh(),Ih(),Uh(),$(),Af()}));export{Ih as a,$f as c,Cf as d,La as f,Fh as i,ep as l,Uh as n,Eh as o,K as p,Vh as r,Th as s,Wh as t,Sf as u};
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.