1import{a as e,c as t,d as n,i as r,l as i,n as a,o,r as s,s as c,u as l}from"./index-nufOOjmx.js";import{t as u}from"./logo-isotipo-blanco.png.asset-CZD2Iwya.js";var d=r(`brain`,[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]),f=r(`database`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]),p=r(`graduation-cap`,[[`path`,{d:`M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z`,key:`j76jl0`}],[`path`,{d:`M22 10v6`,key:`1lu8f3`}],[`path`,{d:`M6 12.5V16a6 3 0 0 0 12 0v-3.5`,key:`1r8lef`}]]),m=r(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),h=r(`map-pin`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]),g=r(`map`,[[`path`,{d:`M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z`,key:`169xi5`}],[`path`,{d:`M15 5.764v15`,key:`1pn4in`}],[`path`,{d:`M9 3.236v15`,key:`1uimfh`}]]),_=r(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),v=r(`scan-search`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`path`,{d:`m16 16-1.9-1.9`,key:`1dq9hf`}]]),y=r(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),b=r(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),x=n(c(),1),S=(0,x.createContext)({});function C(e){let t=(0,x.useRef)(null);return t.current===null&&(t.current=e()),t.current}var w=typeof window<`u`?x.useLayoutEffect:x.useEffect,T=(0,x.createContext)(null);function E(e,t){e.indexOf(t)===-1&&e.push(t)}function ee(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var D=(e,t,n)=>n>t?t:n<e?e:n,O={},te=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ne=e=>typeof e==`object`&&!!e,re=e=>/^0[^.\s]+$/u.test(e);function ie(e){let t;return()=>(t===void 0&&(t=e()),t)}var k=e=>e,ae=(...e)=>e.reduce((e,t)=>n=>t(e(n))),oe=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},se=class{constructor(){this.subscriptions=[]}add(e){return E(this.subscriptions,e),()=>ee(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}},A=e=>e*1e3,j=e=>e/1e3,ce=(e,t)=>t?1e3/t*e:0,le=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,ue=1e-7,de=12;function fe(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=le(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>ue&&++s<de);return o}function pe(e,t,n,r){if(e===t&&n===r)return k;let i=t=>fe(t,0,1,e,n);return e=>e===0||e===1?e:le(i(e),t,r)}var me=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,he=e=>t=>1-e(1-t),ge=pe(.33,1.53,.69,.99),_e=he(ge),ve=me(_e),ye=e=>e>=1?1:(e*=2)<1?.5*_e(e):.5*(2-2**(-10*(e-1))),be=e=>1-Math.sin(Math.acos(e)),xe=he(be),Se=me(be),Ce=pe(.42,0,1,1),we=pe(0,0,.58,1),Te=pe(.42,0,.58,1),Ee=e=>Array.isArray(e)&&typeof e[0]!=`number`,De=e=>
1Array.isArray(e)&&typeof e[0]==`number`,Oe={linear:k,easeIn:Ce,easeInOut:Te,easeOut:we,circIn:be,circInOut:Se,circOut:xe,backIn:_e,backInOut:ve,backOut:ge,anticipate:ye},ke=e=>typeof e==`string`,Ae=e=>{if(De(e)){e.length;let[t,n,r,i]=e;return pe(t,n,r,i)}else if(ke(e))return Oe[e],`${e}`,Oe[e];return e},je=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function Me(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var Ne=40;function Pe(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=je.reduce((e,t)=>(e[t]=Me(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=O.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Ne),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:je.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<je.length;t++)o[je[t]].cancel(e)},state:i,steps:o}}var{schedule:M,cancel:N,state:P,steps:Fe}=Pe(typeof requestAnimationFrame<`u`?requestAnimationFrame:k,!0),Ie;function Le(){Ie=void 0}var F={now:()=>(Ie===void 0&&F.set(P.isProcessing||O.useManualTiming?P.timestamp:performance.now()),Ie),set:e=>{Ie=e,queueMicrotask(Le)}},Re=e=>t=>typeof t==`string`&&t.startsWith(e),ze=Re(`--`),Be=Re(`var(--`),Ve=e=>Be(e)?He.test(e.split(`/*`)[0].trim()):!1,He=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ue(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var We={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Ge={...We,transform:e=>D(0,1,e)},Ke={...We,default:1},qe=e=>Math.round(e*1e5)/1e5,Je=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Ye(e){return e==null}var Xe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ze=(e,t)=>n=>!!(typeof n==`string`&&Xe.test(n)&&n.startsWith(e)||t&&!Ye(n)&&Object.prototype.hasOwnProperty.call(n,t)),Qe=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Je);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},$e=e=>D(0,255,e),et={...We,transform:e=>Math.round($e(e))},tt={test:Ze(`rgb`,`red`),parse:Qe(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+et.transform(e)+`, `+et.transform(t)+`, `+et.transform(n)+`, `+qe
1(Ge.transform(r))+`)`};function nt(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 rt={test:Ze(`#`),parse:nt,transform:tt.transform},it=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),I=it(`deg`),L=it(`%`),R=it(`px`),at=it(`vh`),ot=it(`vw`),st={...L,parse:e=>L.parse(e)/100,transform:e=>L.transform(e*100)},ct={test:Ze(`hsl`,`hue`),parse:Qe(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+L.transform(qe(t))+`, `+L.transform(qe(n))+`, `+qe(Ge.transform(r))+`)`},z={test:e=>tt.test(e)||rt.test(e)||ct.test(e),parse:e=>tt.test(e)?tt.parse(e):ct.test(e)?ct.parse(e):rt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?tt.transform(e):ct.transform(e),getAnimatableNone:e=>{let t=z.parse(e);return t.alpha=0,z.transform(t)}},lt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ut(e){return isNaN(e)&&typeof e==`string`&&(e.match(Je)?.length||0)+(e.match(lt)?.length||0)>0}var dt=`number`,ft=`color`,pt=`var`,mt=`var(`,ht="${}",gt=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function _t(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(gt,e=>(z.test(e)?(r.color.push(a),i.push(ft),n.push(z.parse(e))):e.startsWith(mt)?(r.var.push(a),i.push(pt),n.push(e)):(r.number.push(a),i.push(dt),n.push(parseFloat(e))),++a,ht)).split(ht),indexes:r,types:i}}function vt(e){return _t(e).values}function yt({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===dt?i+=qe(r[a]):e===ft?i+=z.transform(r[a]):i+=r[a]}return i}}function bt(e){return yt(_t(e))}var xt=e=>typeof e==`number`?0:z.test(e)?z.getAnimatableNone(e):e,St=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:xt(e);function Ct(e){let t=_t(e);return yt(t)(t.values.map((e,n)=>St(e,t.split[n])))}var B={test:ut,parse:vt,createTransformer:bt,getAnimatableNone:Ct};function wt(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 Tt({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=wt(s,r,e+1/3),a=wt(s,r,e),o=wt(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Et(e,t){return n=>n>0?t:e}var V=(e,t,n)=>e+(t-e)*n,Dt=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Ot=[rt,tt,ct],kt=e=>Ot.find(t=>t.test(e));function At(e){let t=kt(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===ct&&(n=Tt(n)),n}var jt=(e,t)=>{let n=At(e),r=At(t);if(!n||!r)return Et(e,t);let i={...n};return e=>(i.red=Dt(n.red,r.red,e),i.green=Dt(n.green,r.green,e),i.blue=Dt(n.blue,r.blue,e),i.alpha=V(n.alpha,r.alpha,e),tt.transform(i))},Mt=new Set([`none`,`hidden`]);function Nt(e,t){return Mt.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Pt(e,t){return n=>V(e,t,n)}function Ft(e){return typeof e==`number`?Pt:typeof e==`string`?Ve(e)?Et:z.test(e)?jt:zt:Array.isArray(e)?It:typeof e==`object`?z.test(e)?jt:Lt:Et}function It(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Ft(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Lt(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Ft(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Rt(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 zt=(e,t)=>{let n=B.createTransformer(t),r=_t(e),i=_t(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?Mt.has(e)&&!i.values.length||Mt.has(t)&&!r.values.length?Nt(e,t):ae(It(Rt(r,i),i.values),n):(`${e}${t}`,Et(e,t))};function Bt(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`
1number`?V(e,t,n):Ft(e)(e,t)}var Vt=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>M.update(t,e),stop:()=>N(t),now:()=>P.isProcessing?P.timestamp:F.now()}},Ht=(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)})`},Ut=2e4;function Wt(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}function Gt(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Wt(r),Ut);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:j(i)}}var H={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Kt(e,t){return e*Math.sqrt(1-t*t)}var qt=12;function Jt(e,t,n){let r=n;for(let n=1;n<qt;n++)r-=e(r)/t(r);return r}var Yt=.001;function Xt({duration:e=H.duration,bounce:t=H.bounce,velocity:n=H.velocity,mass:r=H.mass}){let i,a;H.maxDuration;let o=1-t;o=D(H.minDamping,H.maxDamping,o),e=D(H.minDuration,H.maxDuration,j(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Kt(t,o),c=Math.exp(-i);return Yt-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=Kt(t**2,o);return(-i(t)+Yt>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=Jt(i,a,s);if(e=A(e),isNaN(c))return{stiffness:H.stiffness,damping:H.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Zt=[`duration`,`bounce`],Qt=[`stiffness`,`damping`,`mass`];function $t(e,t){return t.some(t=>e[t]!==void 0)}function en(e){let t={velocity:H.velocity,stiffness:H.stiffness,damping:H.damping,mass:H.mass,isResolvedFromDuration:!1,...e};if(!$t(e,Qt)&&$t(e,Zt))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*D(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:H.mass,stiffness:i,damping:a}}else{let n=Xt({...e,velocity:0});t={...t,...n,mass:H.mass},t.isResolvedFromDuration=!0}return t}function tn(e=H.visualDuration,t=H.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}=en({...n,velocity:-j(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=j(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?H.restSpeed.granular:H.restSpeed.default,i||=v?H.restDelta.granular:H.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Kt(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(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 T={calculatedDuration:p&&d||null,velocity:e=>A(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=A(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=A(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(Wt(T),Ut),t=Ht(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}tn.applyToOptions=e=>{let t=Gt(e,100,tn);return e.ease=t.ease,e.duration=A(t.duration),e.type=`keyframes`,e};var nn=5;function rn(e,t,n){let r=Math.max(t-nn,0);return ce(n-e(r),t-r)}function an({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,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=tn({keyframes:[f.value,m(f.value)],velocity:rn(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)}}}function on(e,t,n){let r=[],i=n||O.mix||Bt,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=ae(Array.isArray(t)?t[n]||k:t,a)),r.push(a)}return r}function sn(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.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=on(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=oe(e[r],e[r+1],n);return s[r](i)};return n?t=>
1l(D(e[0],e[a-1],t)):l}function cn(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=oe(0,t,r);e.push(V(n,1,i))}}function ln(e){let t=[0];return cn(t,e.length-1),t}function un(e,t){return e.map(e=>e*t)}function dn(e,t){return e.map(()=>t||Te).splice(0,e.length-1)}function fn({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Ee(r)?r.map(Ae):Ae(r),a={done:!1,value:t[0]},o=sn(un(n&&n.length===t.length?n:ln(t),e),t,{ease:Array.isArray(i)?i:dn(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var pn=e=>e!==null;function mn(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(pn),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var hn={decay:an,inertia:an,tween:fn,keyframes:fn,spring:tn};function gn(e){typeof e.type==`string`&&(e.type=hn[e.type])}var _n=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)}},vn=e=>e/100,yn=class extends _n{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?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;gn(e);let{type:t=fn,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||fn;s!==fn&&typeof o[0]!=`number`&&(this.mixKeyframes=ae(vn,Bt(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=Wt(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=D(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!==an&&(b.value=mn(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 j(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+j(e)}get time(){return j(this.currentTime)}set time(e){e=A(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 rn(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=j(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Vt,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}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 bn(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var xn=e=>e*180/Math.PI,Sn=e=>wn(xn(Math.atan2(e[1],e[0]))),Cn={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Sn,rotateZ:Sn,skewX:e=>xn(Math.atan(e[1])),skewY:e=>xn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},wn=e=>(e%=360,e<0&&(e+=360),e),Tn=Sn,En=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Dn=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),On={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:En,scaleY:
1Dn,scale:e=>(En(e)+Dn(e))/2,rotateX:e=>wn(xn(Math.atan2(e[6],e[5]))),rotateY:e=>wn(xn(Math.atan2(-e[2],e[0]))),rotateZ:Tn,rotate:Tn,skewX:e=>xn(Math.atan(e[4])),skewY:e=>xn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function kn(e){return+!!e.includes(`scale`)}function An(e,t){if(!e||e===`none`)return kn(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=On,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Cn,i=t}if(!i)return kn(t);let a=r[t],o=i[1].split(`,`).map(Mn);return typeof a==`function`?a(o):o[a]}var jn=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return An(n,t)};function Mn(e){return parseFloat(e.trim())}var Nn=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Pn=new Set([...Nn,`pathRotation`]),Fn=e=>e===We||e===R,In=new Set([`x`,`y`,`z`]),Ln=Nn.filter(e=>!In.has(e));function Rn(e){let t=[];return Ln.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var U={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})=>An(t,`x`),y:(e,{transform:t})=>An(t,`y`)};U.translateX=U.x,U.translateY=U.y;var zn=new Set,Bn=!1,Vn=!1,Hn=!1;function Un(){if(Vn){let e=Array.from(zn).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Rn(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)})}Vn=!1,Bn=!1,zn.forEach(e=>e.complete(Hn)),zn.clear()}function Wn(){zn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Vn=!0)})}function Gn(){Hn=!0,Wn(),Un(),Hn=!1}var Kn=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?(zn.add(this),Bn||(Bn=!0,M.read(Wn),M.resolveKeyframes(Un))):(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])}bn(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),zn.delete(this)}cancel(){this.state===`scheduled`&&(zn.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},qn=e=>e.startsWith(`--`);function Jn(e,t,n){qn(t)?e.style.setProperty(t,n):e.style[t]=n}var Yn={};function Xn(e,t){let n=ie(e);return()=>Yn[t]??n()}var Zn=Xn(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Qn=Xn(()=>window.ViewTimeline!==void 0,`viewTimeline`),$n=Xn(()=>{try{document.createElement(`div`).animate({opacity:0}
1,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),er=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,tr={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:er([0,.65,.55,1]),circOut:er([.55,0,1,.45]),backIn:er([.31,.01,.66,-.59]),backOut:er([.33,1.53,.69,.99])};function nr(e,t){if(e)return typeof e==`function`?$n()?Ht(e,t):`ease-out`:De(e)?er(e):Array.isArray(e)?e.map(e=>nr(e,t)||tr.easeOut):tr[e]}function rr(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=nr(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function ir(e){return typeof e==`function`&&`applyToOptions`in e}function ar({type:e,...t}){return ir(e)&&$n()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var or=class extends _n{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,e.type;let c=ar(e);this.animation=rr(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=mn(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Jn(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 j(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+j(e)}get time(){return j(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=A(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&&Zn()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),k):r(this)}},sr={anticipate:ye,backInOut:ve,circInOut:Se};function cr(e){return e in sr}function lr(e){typeof e.ease==`string`&&cr(e.ease)&&(e.ease=sr[e.ease])}var ur=10,dr=class extends or{constructor(e){lr(e),gn(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 yn({...a,autoplay:!1}),s=Math.max(ur,F.now()-this.startTime),c=D(0,ur,s-ur),l=o.sample(s).value,{name:u}=this.options;i&&u&&Jn(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},fr=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(B.test(e)||e===`0`)&&!e.startsWith(`url(`));function pr(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 mr(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=fr(i,t),s=fr(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:pr(e)||(n===`spring`||ir(n))&&r}function hr(e){e.duration=0,e.type=`keyframes`}var gr=new Set([`opacity`,`clipPath`,`filter`,`transform`]),_r=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function vr(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&_r.test(e[t]))return!0;return!1}var yr=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),br=ie(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function xr(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 br()&&n&&(gr.has(n)||yr.has(n)&&vr(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Sr=40,Cr=class extends _n{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||Kn;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;mr(e,i,a,o)||(u=!1,(O.instantAnimations||!s)&&l?.(mn(e,n,t)),e[0]=e[e.length-1],hr(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Sr?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&xr(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new dr({...d,element:p})}catch{m=new yn(d)}else m=new yn(d);m.finished.then(()=>{this.notifyFinished()}).catch(k),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(),Gn()),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 wr(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 Tr=30,Er=e=>!isNaN(parseFloat(e)),Dr={current:void 0},Or=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=Er(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 se);let n=this.events[e].add(t);return e===`change`?()=>{n(),M.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 Dr.current&&Dr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=F.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Tr)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Tr);return ce(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 W(e,t){return new Or(e,t)}function kr(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Ar(e,t){let n=e?.[t]??e?.default??e;return n===e?n:kr(n,e)}var jr={type:`spring`,stiffness:500,damping:25,restSpeed:10},Mr=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Nr={type:`keyframes`,duration:.8},Pr={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Fr=(e,{keyframes:t})=>t.length>2?Nr:Pn.has(e)?e.startsWith(`scale`)?Mr(t[1]):jr:Pr,Ir=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Lr(e){for(let t in e)if(!Ir.has(t))return!0;return!1}var Rr=(e,t,n,r={},i,a)=>o=>{let s=Ar(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=A(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};Lr(s)||Object.assign(u,Fr(e,u)),u.duration&&=A(u.duration),u.repeatDelay&&=A(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(hr(u),u.delay===0&&(d=!0)),(O.instantAnimations||O.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,hr(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=mn(u.keyframes,s);if(e!==void 0){M.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new yn(u):new Cr(u)},zr=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Br(e){let t=zr.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Vr(e,t,n=1){`${e}`;let[r,i]=Br(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return te(e)?parseFloat(e):e}return Ve(i)?Vr(i,t,n+1):i}function Hr(e){let t=[{},{}];
1return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Ur(e,t,n,r){if(typeof t==`function`){let[i,a]=Hr(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]=Hr(r);t=t(n===void 0?e.custom:n,i,a)}return t}function Wr(e,t,n){let r=e.getProps();return Ur(r,t,n===void 0?r.custom:n,e)}var Gr=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Nn]),Kr=e=>Array.isArray(e);function qr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,W(n))}function Jr(e){return Kr(e)?e[e.length-1]||0:e}function Yr(e,t){let{transitionEnd:n={},transition:r={},...i}=Wr(e,t)||{};i={...i,...n};for(let t in i)qr(e,t,Jr(i[t]))}var G=e=>!!(e&&e.getVelocity);function Xr(e){return!!(G(e)&&e.add)}function Zr(e,t){let n=e.getValue(`willChange`);if(Xr(n))return n.add(t);if(!n&&O.WillChange){let n=new O.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Qr(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var $r=`data-`+Qr(`framerAppearId`);function ei(e){return e.props[$r]}function ti({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function ni(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?kr(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&&ti(f,t))continue;let o={delay:n,...Ar(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){M.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=ei(e);if(n){let e=window.MotionHandoffAnimation(n,t,M);e!==null&&(o.startTime=e,p=!0)}}Zr(e,t);let m=l??e.shouldReduceMotion;r.start(Rr(t,r,i,m&&Gr.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>M.update(()=>{o&&Yr(e,o)});d.length?Promise.all(d).then(t):t()}return d}function ri(e,t,n={}){let r=Wr(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(ni(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return ii(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 ii(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(ri(c,t,{...o,delay:n+(typeof r==`function`?0:r)+wr(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function ai(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>ri(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=ri(e,t,n);else{let i=typeof t==`function`?Wr(e,t,n.custom):t;r=Promise.all(ni(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var oi={test:e=>e===`auto`,parse:e=>e},si=e=>t=>t.test(e),ci=[We,R,L,I,ot,at,oi],li=e=>ci.find(si(e));function ui(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||re(e)}var di=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function fi(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Je)||[];if(!r)return e;let i=n.replace(r,``),a=+!!di.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var pi=/\b([a-z-]*)\(.*?\)/gu,mi={...B,getAnimatableNone:e=>{let t=e.match(pi);return t?t.map(fi).join(` `):e}},hi={...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))}},gi={...We,transform:Math.round},_i={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,rotate:I,pathRotation:I,rotateX:I,rotateY:I,rotateZ:I,scale:Ke,scaleX:Ke,scaleY:Ke,scaleZ:Ke,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:Ge,originX:st,originY:st,originZ:R,zIndex:gi,fillOpacity:Ge,strokeOpacity:Ge,numOctaves:gi},vi={..._i,color:z,backgroundColor:z,outlineColor:z,fill:z,stroke:z,borderColor:z,borderTopColor:z,borderRightColor:z,borderBottomColor:z,borderLeftColor:z,filter:mi,WebkitFilter:mi,mask:hi,WebkitMask:hi},yi=e=>vi[e],bi=new Set([mi,hi]);function xi(e,t){let n=yi(e);return bi.has(n)||(n=B),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Si=new Set([`auto`,`none`,`0`]);function Ci(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Si.has(t)&&_t(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=xi(n,i)}var wi=class extends Kn{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(),Ve(r))){let i=Vr(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Gr.has(n)||e.length!==2)return;let[r,i]=e,a=li(r),o=li(i);if(Ue(r)!==Ue(i)&&U[n]){this.needsMeasurement=!0;return}if(a!==o)if(Fn(a)&&Fn(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else U[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||ui(e[t]))&&n.push(t);n.length&&Ci(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=U[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]=U[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()}},Ti=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function Ei(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 Di=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Oi(e){return ne(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:ki,cancel:Ai}=Pe(queueMicrotask,!1),K={x:!1,y:!1};function ji(){return K.x||K.y}function Mi(e){return e===`x`||e===`y`?K[e]?null:(K[e]=!0,()=>{K[e]=!1}):K.x||K.y?null:(K.x=K.y=!0,()=>{K.x=K.y=!1})}function Ni(e,t){let n=Ei(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Pi(e){return!(e.pointerType===`touch`||ji())}function Fi(e,t,n={}){let[r,i,a]=Ni(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(!Pi(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 Ii=(e,t)=>t?e===t?!0:Ii(e,t.parentElement):!1,Li=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Ri=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function zi(e){return Ri.has(e.tagName)||e.isContentEditable===!0}var Bi=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Vi(e){return Bi.has(e.tagName)||e.isContentEditable===!0}var Hi=new WeakSet;function Ui(e){return t=>{t.key===`Enter`&&e(t)}}function Wi(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Gi=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Ui(()=>{if(Hi.has(n))return;Wi(n,`down`);let e=Ui(()=>{Wi(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Wi(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Ki(e){return Li(e)&&!ji()}var qi=new WeakSet;function Ji(e,t,n={}){let[r,i,a]=Ni(e,n),o=e=>{let r=e.currentTarget;if(!Ki(e)||qi.has(e))return;Hi.add(r),n.stopPropagation&&qi.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),Hi.has(r)&&Hi.delete(r),Ki(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||Ii(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Oi(e)&&(e.addEventListener(`focus`,e=>Gi(e,i)),!zi(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Yi(e){return ne(e)&&`ownerSVGElement`in e}var Xi=new WeakMap,Zi,Qi=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:Yi(r)&&`getBBox`in r?r.getBBox()[t]:r[n],$i=Qi(`inline`,`width`,`offsetWidth`),ea=Qi(`block`,`height`,`offsetHeight`);function ta({target:e,borderBoxSize:t}){Xi.get(e)?.forEach(n=>{n(e,{get width(){return $i(e,t)},get height(){return ea(e,t)}})})}function na(e){e.forEach(ta)}function ra(){typeof ResizeObserver>`u`||(Zi=new ResizeObserver(na))}function ia(e,t){Zi||ra();let n=Ei(e);return n.forEach(e=>{let n=Xi.get(e);n||(n=new Set,Xi.set(e,n)),n.add(t),Zi?.observe(e)}),()=>{n.forEach(e=>{let n=Xi.get(e);n?.delete(t),n?.size||Zi?.unobserve(e)})}}var aa=new Set,oa;function sa(){oa=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};
1aa.forEach(t=>t(e))},window.addEventListener(`resize`,oa)}function ca(e){return aa.add(e),oa||sa(),()=>{aa.delete(e),!aa.size&&typeof oa==`function`&&(window.removeEventListener(`resize`,oa),oa=void 0)}}function la(e,t){return typeof e==`function`?ca(e):ia(e,t)}function ua(e,t){let n,r=()=>{let{currentTime:r}=t,i=(r===null?0:r.value)/100;n!==i&&e(i),n=i};return M.preUpdate(r,!0),()=>N(r)}var da={value:null,addProjectionMetrics:null};function fa(e){return Yi(e)&&e.tagName===`svg`}function pa(...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=sn(i,a,o);return t?s(r):s}function ma(e,t,n={}){let r=e.get(),i=null,a=r,o,s=typeof r==`string`?r.replace(/[\d.-]/g,``):void 0,c=()=>{i&&=(i.stop(),null),e.animation=void 0},l=()=>{let t=ga(e.get()),r=ga(a);if(t===r){c();return}let s=i?i.getGeneratorVelocity():e.getVelocity();c(),i=new yn({keyframes:[t,r],velocity:s,type:`spring`,restDelta:.001,restSpeed:.01,...n,onUpdate:o})},u=()=>{l(),e.animation=i??void 0,e.events.animationStart?.notify(),i?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{a=e,o=e=>t(ha(e,s)),M.postRender(u)},c),G(t)){let r=n.skipInitialAnimation===!0,i=t.on(`change`,t=>{r?(r=!1,e.jump(ha(t,s),!1)):e.set(ha(t,s))}),a=e.on(`destroy`,i);return()=>{i(),a()}}return c}function ha(e,t){return t?e+t:e}function ga(e){return typeof e==`number`?e:parseFloat(e)}var _a=[...ci,z,B],va=e=>_a.find(si(e)),ya=()=>({translate:0,scale:1,origin:0,originPoint:0}),ba=()=>({x:ya(),y:ya()}),xa=()=>({min:0,max:0}),q=()=>({x:xa(),y:xa()}),Sa=new WeakMap;function Ca(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function wa(e){return typeof e==`string`||Array.isArray(e)}var Ta=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Ea=[`initial`,...Ta];function Da(e){return Ca(e.animate)||Ea.some(t=>wa(e[t]))}function Oa(e){return!!(Da(e)||e.variants)}function ka(e,t,n){for(let r in t){let i=t[r],a=n[r];if(G(i))e.addValue(r,i);else if(G(a))e.addValue(r,W(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,W(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Aa={current:null},ja={current:!1},Ma=typeof window<`u`;function Na(){if(ja.current=!0,Ma)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>Aa.current=e.matches;e.addEventListener(`change`,t),t()}else Aa.current=!1}var Pa=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Fa={};function Ia(e){Fa=e}function La(){return Fa}var Ra=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=Kn,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,M.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=Da(t),this.isVariantNode=Oa(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&&G(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,Sa.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:(ja.current||Na(),this.shouldReduceMotion=Aa.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(),N(this.notifyUpdate),N(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&&gr.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new or({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:A(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Pn.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&M.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 Fa){let t=Fa[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):q()}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<Pa.length;t++){let n=Pa[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=ka(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=W(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`&&(te(n)||re(n))?n=parseFloat(n):!va(n)&&B.test(t)&&(n=xi(e,t)),this.setBaseTarget(e,G(n)?n.get():n)),G(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=Ur(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&&!G(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 se),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){ki.render(this.render)}},za=class extends Ra{constructor(){super(...arguments),this.KeyframeResolver=wi}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;G(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Ba=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Va({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ha({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Ua(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}}function Wa(e){return e===void 0||e===1}function Ga({scale:e,scaleX:t,scaleY:n}){return!Wa(e)||!Wa(t)||!Wa(n)}function Ka(e){return Ga(e)||qa(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function qa(e){return Ja(e.x)||Ja(e.y)}function Ja(e){return e&&e!==`0%`}function Ya(e,t,n){return n+t*(e-n)}function Xa(e,t,n,r,i){return i!==void 0&&(e=Ya(e,i,r)),Ya(e,n,r)+t}function Za(e,t=0,n=1,r,i){e.min=Xa(e.min,t,n,r,i),e.max=Xa(e.max,t,n,r,i)}function Qa(e,{x:t,y:n}){Za(e.x,t.translate,t.scale,t.originPoint),Za(e.y,n.translate,n.scale,n.originPoint)}var $a=.999999999999,eo=1.0000000000001;function to(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&&(J(e.x,-a.scroll.offset.x),J(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Qa(e,o)),r&&Ka(a.latestValues)&&io(e,a.latestValues,a.layout?.layoutBox))}t.x<eo&&t.x>$a&&(t.x=1),t.y<eo&&t.y>$a&&(t.y=1)}function J(e,t){e.min+=t,e.max+=t}function no(e,t,n,r,i=.5){Za(e,t,n,V(e.min,e.max,i),r)}function ro(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function io(e,t,n){let r=n??e;no(e.x,ro(t.x,r.x),t.scaleX,t.scale,t.originX),no(e.y,ro(t.y,r.y),t.scaleY,t.scale,t.originY)}function ao(e,t){return Va(Ua(e.getBoundingClientRect(),t))}
1function oo(e,t,n){let r=ao(e,n),{scroll:i}=t;return i&&(J(r.x,i.offset.x),J(r.y,i.offset.y)),r}var so={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},co=Nn.length;function lo(e,t,n){let r=``,i=!0;for(let a=0;a<co;a++){let o=Nn[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=Di(s,_i[o]);if(!c){i=!1;let t=so[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Di(a,_i.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function uo(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(Pn.has(e)){o=!0;continue}else if(ze(e)){i[e]=n;continue}else{let t=Di(n,_i[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=lo(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function fo(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])}function po(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var mo={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(R.test(e))e=parseFloat(e);else return e;return`${po(e,t.target.x)}% ${po(e,t.target.y)}%`}},ho={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=V(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},go={borderRadius:{...mo,applyTo:[...Ti]},borderTopLeftRadius:mo,borderTopRightRadius:mo,borderBottomLeftRadius:mo,borderBottomRightRadius:mo,boxShadow:ho};function _o(e,{layout:t,layoutId:n}){return Pn.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!go[e]||e===`opacity`)}function vo(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(G(r[t])||i&&G(i[t])||_o(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function yo(e){return window.getComputedStyle(e)}var bo=class extends za{constructor(){super(...arguments),this.type=`html`,this.renderInstance=fo}readValueFromInstance(e,t){if(Pn.has(t))return this.projection?.isProjecting?kn(t):jn(e,t);{let n=yo(e),r=(ze(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ao(e,t)}build(e,t,n){uo(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return vo(e,t,n)}},xo={offset:`stroke-dashoffset`,array:`stroke-dasharray`},So={offset:`strokeDashoffset`,array:`strokeDasharray`};function Co(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?xo:So;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var wo=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function To(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(uo(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 wo)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&&Co(d,i,a,o,!1)}var Eo=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`]),Do=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Oo(e,t,n,r){fo(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Eo.has(n)?n:Qr(n),t.attrs[n])}function ko(e,t,n){let r=vo(e,t,n);for(let n in e)if(G(e[n])||G(t[n])){let t=Nn.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Ao=class extends za{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=q}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Pn.has(t)){let e=yi(t);return e&&e.default||0}return t=Eo.has(t)?t:Qr(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return ko(e,t,n)}
1build(e,t,n){To(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Oo(e,t,n,r)}mount(e){this.isSVGTag=Do(e.tagName),super.mount(e)}},jo=Ea.length;function Mo(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Mo(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<jo;n++){let r=Ea[n],i=e.props[r];(wa(i)||i===!1)&&(t[r]=i)}return t}function No(e,t){if(!Array.isArray(t))return!1;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}var Po=[...Ta].reverse(),Fo=Ta.length;function Io(e){return t=>Promise.all(t.map(({animation:t,options:n})=>ai(e,t,n)))}function Lo(e){let t=Io(e),n=Bo(),r=!0,i=!1,a=t=>(n,r)=>{let i=Wr(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Mo(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Fo;t++){let p=Po[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=wa(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Ca(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Ro(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Kr(t)&&Kr(n)?!No(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let ee=v&&y;b&&(!ee||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!ee&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=Wr(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=wr(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Wr(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(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=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Bo(),i=!0}}}function Ro(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!No(t,e):!1}function zo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Bo(){return{animate:zo(!0),whileInView:zo(),whileHover:zo(),whileTap:zo(),whileDrag:zo(),whileFocus:zo(),exit:zo()}}function Vo(e,t){e.min=t.min,e.max=t.max}function Y(e,t){Vo(e.x,t.x),Vo(e.y,t.y)}function Ho(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Uo=.9999,Wo=1.0001,Go=-.01,Ko=.01;function X(e){return e.max-e.min}function qo(e,t,n){return Math.abs(e-t)<=n}function Jo(e,t,n,r=.5){e.origin=r,e.originPoint=V(t.min,t.max,e.origin),e.scale=X(n)/X(t),e.translate=V(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Uo&&e.scale<=Wo||isNaN(e.scale))&&(e.scale=1),(e.translate>=Go&&e.translate<=Ko||isNaN(e.translate))&&(e.translate=0)}function Yo(e,t,n,r){Jo(e.x,t.x,n.x,r?r.originX:void 0),Jo(e.y,t.y,n.y,r?r.originY:void 0)}function Xo(e,t,n,r=0){e.min=(r?V(n.min,n.max,r):n.min)+t.min,e.max=e.min+X(t)}function Zo(e,t,n,r){Xo(e.x,t.x,n.x,r?.x),Xo(e.y,t.y,n.y,r?.y)}function Qo(e,t,n,r=0){let i=r?V(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+X(t)}function $o(e,t,n,r){Qo(e.x,t.x,n.x,r?.x),Qo(e.y,t.y,n.y,r?.y)}function es(e,t,n,r,i){return e-=t,e=Ya(e,1/n,r),i!==void 0&&(e=Ya(e,1/i,r)),e}function ts(e,t=0,n=1,r=.5,i,a=e,o=e){if(L.test(t)&&(t=parseFloat(t),t=V(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=V(a.min,a.max,r);e===a&&(s-=t),e.min=es(e.min,t,n,s,i),e.max=es(e.max,t,n,s,i)}
1function ns(e,t,[n,r,i],a,o){ts(e,t[n],t[r],t[i],t.scale,a,o)}var rs=[`x`,`scaleX`,`originX`],is=[`y`,`scaleY`,`originY`];function as(e,t,n,r){ns(e.x,t,rs,n?n.x:void 0,r?r.x:void 0),ns(e.y,t,is,n?n.y:void 0,r?r.y:void 0)}function os(e){return e.translate===0&&e.scale===1}function ss(e){return os(e.x)&&os(e.y)}function cs(e,t){return e.min===t.min&&e.max===t.max}function ls(e,t){return cs(e.x,t.x)&&cs(e.y,t.y)}function us(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ds(e,t){return us(e.x,t.x)&&us(e.y,t.y)}function fs(e){return X(e.x)/X(e.y)}function ps(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Z(e){return[e(`x`),e(`y`)]}function ms(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 hs=Ti.length,gs=e=>typeof e==`string`?parseFloat(e):e,_s=e=>typeof e==`number`||R.test(e);function vs(e,t,n,r,i,a){i?(e.opacity=V(0,n.opacity??1,bs(r)),e.opacityExit=V(t.opacity??1,0,xs(r))):a&&(e.opacity=V(t.opacity??1,n.opacity??1,r));for(let i=0;i<hs;i++){let a=Ti[i],o=ys(t,a),s=ys(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||_s(o)===_s(s)?(e[a]=Math.max(V(gs(o),gs(s),r),0),(L.test(s)||L.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=V(t.rotate||0,n.rotate||0,r))}function ys(e,t){return e[t]===void 0?e.borderRadius:e[t]}var bs=Ss(0,.5,xe),xs=Ss(.5,.95,k);function Ss(e,t,n){return r=>r<e?0:r>t?1:n(oe(e,t,r))}function Cs(e,t,n){let r=G(e)?e:W(e);return r.start(Rr(``,r,t,n)),r.animation}function ws(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Ts=(e,t)=>e.depth-t.depth,Es=class{constructor(){this.children=[],this.isDirty=!1}add(e){E(this.children,e),this.isDirty=!0}remove(e){ee(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ts),this.isDirty=!1,this.children.forEach(e)}};function Ds(e,t){let n=F.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(N(r),e(a-t))};return M.setup(r,!0),()=>N(r)}function Os(e){return G(e)?e.get():e}var ks=class{constructor(){this.members=[]}add(e){E(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&&(ee(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(ee(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)}},As={hasAnimatedSinceResize:!0,hasEverUpdated:!1},js={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Ms=[``,`X`,`Y`,`Z`],Ns=1e3,Ps=0;function Fs(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Is(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=ei(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,M,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Is(r)}function Ls({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Ps++,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,da.value&&(js.nodes=js.calculatedTargetDeltas=js.calculatedProjections=0),this.nodes.forEac
1h(Bs),this.nodes.forEach(Ys),this.nodes.forEach(Xs),this.nodes.forEach(Vs),da.addProjectionMetrics&&da.addProjectionMetrics(js)},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 Es)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new se),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=Yi(t)&&!fa(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;M.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Ds(i,250),As.hasAnimatedSinceResize&&(As.hasAnimatedSinceResize=!1,this.nodes.forEach(Js)))})}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()||rc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!ds(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={...Ar(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||Js(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(),N(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(Zs),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&&Is(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(Ws),this.nodes.forEach(Us);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Gs);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEac
1h(Ks),this.nodes.forEach(qs),this.nodes.forEach(Rs),this.nodes.forEach(zs)):this.nodes.forEach(Gs),this.clearAllSnapshots();let e=F.now();P.delta=D(0,1e3/60,e-P.timestamp),P.timestamp=e,P.isProcessing=!0,Fe.update.process(P),Fe.preRender.process(P),Fe.render.process(P),P.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ki.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Hs),this.sharedNodes.forEach(Qs)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,M.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){M.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!X(this.snapshot.measuredBox.x)&&!X(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||=q(),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&&!ss(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Ka(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)),sc(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return q();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(lc))){let{scroll:e}=this.root;e&&(J(t.x,e.offset.x),J(t.y,e.offset.y))}return t}removeElementScroll(e){let t=q();if(Y(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&&Y(t,e),J(t.x,i.offset.x),J(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||q();Y(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&&(J(r.x,-n.scroll.offset.x),J(r.y,-n.scroll.offset.y)),Ka(n.latestValues)&&io(r,n.latestValues,n.layout?.layoutBox)}return Ka(this.latestValues)&&io(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=q();Y(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Ka(n.latestValues))continue;let r;n.instance&&(Ga(n.latestValues)&&n.updateSnapshot(),r=q(),Y(r,n.measurePageBox())),as(t,n.latestValues,n.snapshot?.layoutBox,r)}return Ka(this.latestValues)&&as(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?!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!==P.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=P.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=q(),this.targetWithTransforms=q()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Zo(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Y(this.target,this.layout.layoutBox),Qa(this.target,this.targetDelta)):Y(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),da.value&&js.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Ga(this.parent.latestValues)||qa(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=q(),this.relativeTargetOrigin=q(),$o(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Y(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===P.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;Y(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;to(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=q());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ho(this.prevProjectionDelta.x,this.projectionDelta.x),Ho(this.prevProjectionDelta.y,this.projectionDelta.y)),Yo(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!ps(this.projectionDelta.x,this.prevProjectionDelta.x)||!ps(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),da.value&&js.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=ba(),this.projectionDelta=ba(),this.projectionDeltaWithTransform=ba()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=ba();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=q(),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(nc));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=V(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=V(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):($s(o.x,e.x,n),$s(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&($o(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),tc(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&ls(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=q(),Y(f,this.relativeTarget)),c&&(this.animationValues=a,vs(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&&=(N(this.pendingAnimation),void 0),this.pendingAnimation=M.update(()=>{As.hasAnimatedSinceResize=!0,this.motionValue||=W(0),this.motionValue.jump(0,!1),this.currentAnimation=Cs(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{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(Ns),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&&cc(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||q();let t=X(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=X(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Y(t,n),io(t,i),Yo(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
1)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ks),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:!0}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&&Fs(`z`,e,r,this.animationValues);for(let t=0;t<Ms.length;t++)Fs(`rotate${Ms[t]}`,e,r,this.animationValues),Fs(`skew${Ms[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=Os(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=Os(t?.pointerEvents)||``),this.hasProjected&&!Ka(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=ms(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 go){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=go[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?Os(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Us),this.root.sharedNodes.clear()}}}function Rs(e){e.updateLayout()}function zs(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`)Z(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=X(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Vo(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else cc(i,t.layoutBox,n)&&Z(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=X(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=ba();Yo(o,n,t.layoutBox);let s=ba();a?Yo(s,e.applyTransform(r,!0),t.measuredBox):Yo(s,n,t.layoutBox);let c=!ss(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=q();$o(s,t.layoutBox,i.layoutBox,o);let c=q();$o(c,n,a.layoutBox,o),ds(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 Bs(e){da.value&&js.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 Vs(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Hs(e){e.clearSnapshot()}function Us(e){e.clearMeasurements()}function Ws(e){e.isLayoutDirty=!0,e.updateLayout()}function Gs(e){e.isLayoutDirty=!1}function Ks(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function qs(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Js(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ys(e){e.resolveTargetDelta()}function Xs(e){e.calcProjection()}
1function Zs(e){e.resetSkewAndRotation()}function Qs(e){e.removeLeadSnapshot()}function $s(e,t,n){e.translate=V(t.translate,0,n),e.scale=V(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ec(e,t,n,r){e.min=V(t.min,n.min,r),e.max=V(t.max,n.max,r)}function tc(e,t,n,r){ec(e.x,t.x,n.x,r),ec(e.y,t.y,n.y,r)}function nc(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var rc={duration:.45,ease:[.4,0,.1,1]},ic=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ac=ic(`applewebkit/`)&&!ic(`chrome/`)?Math.round:k;function oc(e){e.min=ac(e.min),e.max=ac(e.max)}function sc(e){oc(e.x),oc(e.y)}function cc(e,t,n){return e===`position`||e===`preserve-aspect`&&!qo(fs(t),fs(n),.2)}function lc(e){return e!==e.root&&e.scroll?.wasRoot}var uc=Ls({attachResizeListener:(e,t)=>ws(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),dc={current:void 0},fc=Ls({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!dc.current){let e=new uc({});e.mount(window),e.setOptions({layoutScroll:!0}),dc.current=e}return dc.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),pc=(0,x.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function mc(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function hc(...e){return t=>{let n=!1,r=e.map(e=>{let r=mc(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():mc(e[t],null)}}}}function gc(...e){return x.useCallback(hc(...e),e)}var Q=o(),_c=class extends x.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(Oi(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=Oi(e)&&e.offsetWidth||0,r=Oi(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function vc({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,x.useId)(),s=(0,x.useRef)(null),c=(0,x.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,x.useContext)(pc),u=gc(s,e.props?.ref??e?.ref);return(0,x.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(` 2 [data-motion-pop-id="${o}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${u}px !important; 6 ${_}px !important; 7 ${v}px !important; 8 } 9 `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,Q.jsx)(_c,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:x.cloneElement(e,{ref:u})})}var yc=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=C(bc),d=(0,x.useId)(),f=(0,x.useRef)(n),p=(0,x.useRef)(r);w(()=>{f.current=n,p.current=r});let m=!0,h=(0,x.useMemo)(()=>(m=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),!f.current&&!u.size&&p.current?.()})}),[n,u,r]);return a&&m&&(h={...h}),(0,x.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),x.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,Q.jsx)(vc,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,Q.jsx)(T.Provider,{value:h,children:e})};function bc(){return new Map}function xc(e=!0){let t=(0,x.useContext)(T);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,x.useId)();(0,x.useEffect)(()=>
9{if(e)return i(a)},[e]);let o=(0,x.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var Sc=e=>e.key||``;function Cc(e){let t=[];return x.Children.forEach(e,e=>{(0,x.isValidElement)(e)&&t.push(e)}),t}var wc=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=xc(o),f=(0,x.useMemo)(()=>Cc(e),[e]),p=o&&!u?[]:f.map(Sc),m=(0,x.useRef)(!0),h=(0,x.useRef)(f),g=C(()=>new Map),_=(0,x.useRef)(new Set),[v,y]=(0,x.useState)(f),[b,T]=(0,x.useState)(f);w(()=>{m.current=!1,h.current=f;for(let e=0;e<b.length;e++){let t=Sc(b[e]);p.includes(t)?(g.delete(t),_.current.delete(t)):g.get(t)!==!0&&g.set(t,!1)}},[b,p.length,p.join(`-`)]);let E=[];if(f!==v){let e=[...f];for(let t=0;t<b.length;t++){let n=b[t],r=Sc(n);p.includes(r)||(e.splice(t,0,n),E.push(n))}return a===`wait`&&E.length&&(e=E),T(Cc(e)),y(f),null}let{forceRender:ee}=(0,x.useContext)(S);return(0,Q.jsx)(Q.Fragment,{children:b.map(e=>{let v=Sc(e),y=o&&!u?!1:f===b||p.includes(v);return(0,Q.jsx)(yc,{isPresent:y,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(_.current.has(v))return;if(g.has(v))_.current.add(v),g.set(v,!0);else return;let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(ee?.(),T(h.current),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},v)})})},Tc=(0,x.createContext)({strict:!1}),Ec={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},Dc=!1;function Oc(){if(Dc)return;let e={};for(let t in Ec)e[t]={isEnabled:e=>Ec[t].some(t=>!!e[t])};Ia(e),Dc=!0}function kc(){return Oc(),La()}function Ac(e){let t=kc();for(let n in e)t[n]={...t[n],...e[n]};Ia(t)}var jc=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function Mc(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||jc.has(e)}var Nc=i({default:()=>Pc}),Pc,Fc=t((()=>{throw Pc={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Ic=e=>!Mc(e);function Lc(e){typeof e==`function`&&(Ic=t=>t.startsWith(`on`)?!Mc(t):e(t))}try{Lc((Fc(),l(Nc)).default)}catch{}function Rc(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||G(e[i])||(Ic(i)||n===!0&&Mc(i)||!t&&!Mc(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var zc=(0,x.createContext)({});function Bc(e,t){if(Da(e)){let{initial:t,animate:n}=e;return{initial:t===!1||wa(t)?t:void 0,animate:wa(n)?n:void 0}}return e.inherit===!1?{}:t}function Vc(e){let{initial:t,animate:n}=Bc(e,(0,x.useContext)(zc));return(0,x.useMemo)(()=>({initial:t,animate:n}),[Hc(t),Hc(n)])}function Hc(e){return Array.isArray(e)?e.join(` `):e}var Uc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Wc(e,t,n){for(let r in t)!G(t[r])&&!_o(r,n)&&(e[r]=t[r])}function Gc({transformTemplate:e},t){return(0,x.useMemo)(()=>{let n=Uc();return uo(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Kc(e,t){let n=e.style||{},r={};return Wc(r,n,e),Object.assign(r,Gc(e,t)),r}function qc(e,t){let n={},r=Kc(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var Jc=()=>({...Uc(),attrs:{}});function Yc(e,t,n,r){let i=(0,x.useMemo)(()=>{let n=Jc();return To(n,t,Do(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Wc(t,e.style,e),i.style={...t,...i.style}}return i}var Xc=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function Zc(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Xc.indexOf(e)>-1||/[A-Z]/u.test(e))}function Qc(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??Zc(e)?Yc:qc)(t,r,i,e),c=Rc(t,typeof e==`string`,a),l=e===x.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,x.useMemo)(()=>G(u)?u.get():u,[u]);return(0,x.createElement)(e,{...l,children:d})}function $c({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:el(n,r,i,e),renderState:t()}}function el(e,t,n,r){let i={}
9,a=r(e,{});for(let e in a)i[e]=Os(a[e]);let{initial:o,animate:s}=e,c=Da(e),l=Oa(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Ca(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Ur(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var tl=e=>(t,n)=>{let r=(0,x.useContext)(zc),i=(0,x.useContext)(T),a=()=>$c(e,t,r,i);return n?a():C(a)},nl=tl({scrapeMotionValuesFromProps:vo,createRenderState:Uc}),rl=tl({scrapeMotionValuesFromProps:ko,createRenderState:Jc}),il=Symbol.for(`motionComponentSymbol`);function al(e,t,n){let r=(0,x.useRef)(n);(0,x.useInsertionEffect)(()=>{r.current=n});let i=(0,x.useRef)(null);return(0,x.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n)},[t])}var ol=(0,x.createContext)({});function sl(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function cl(e,t,n,r,i,a){let{visualElement:o}=(0,x.useContext)(zc),s=(0,x.useContext)(Tc),c=(0,x.useContext)(T),l=(0,x.useContext)(pc),u=l.reducedMotion,d=l.skipAnimations,f=(0,x.useRef)(null),p=(0,x.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,x.useContext)(ol);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&ll(f.current,n,i,h);let g=(0,x.useRef)(!1);(0,x.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[$r],v=(0,x.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return w(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,x.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function ll(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:ul(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&sl(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function ul(e){if(e)return e.options.allowProjection===!1?ul(e.parent):e.projection}function dl(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Ac(r);let a=n?n===`svg`:Zc(e),o=a?rl:nl;function s(n,s){let c,l={...(0,x.useContext)(pc),...n,layoutId:fl(n)},{isStatic:u}=l,d=Vc(n),f=o(n,u);if(!u&&typeof window<`u`){pl(l,r);let t=ml(l);c=t.MeasureLayout,d.visualElement=cl(e,f,l,i,t.ProjectionNode,a)}return(0,Q.jsxs)(zc.Provider,{value:d,children:[c&&d.visualElement?(0,Q.jsx)(c,{visualElement:d.visualElement,...l}):null,Qc(e,n,al(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,x.forwardRef)(s);return c[il]=e,c}function fl({layoutId:e}){let t=(0,x.useContext)(S).id;return t&&e!==void 0?t+`-`+e:e}function pl(e,t){(0,x.useContext)(Tc).strict}function ml(e){let{drag:t,layout:n}=kc();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function hl(e,t){if(typeof Proxy>`u`)return dl;let n=new Map,r=(n,r)=>dl(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,dl(a,void 0,e,t)),n.get(a))})}var gl=(e,t)=>t.isSVG??Zc(e)?new Ao(t):new bo(t,{allowProjection:e!==x.Fragment}),_l=class extends Ba{constructor(e){super(e),e.animationState||=Lo(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Ca(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},vl=0,yl={animation:{Feature:_l},exit:{Feature:class extends Ba{constructor(){super(...arguments),this.id=vl++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=Wr(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>
9{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function bl(e){return{point:{x:e.pageX,y:e.pageY}}}var xl=e=>t=>Li(t)&&e(t,bl(t));function Sl(e,t,n,r){return ws(e,t,xl(n),r)}var Cl=({current:e})=>e?e.ownerDocument.defaultView:null,wl=(e,t)=>Math.abs(e-t);function Tl(e,t){let n=wl(e.x,t.x),r=wl(e.y,t.y);return Math.sqrt(n**2+r**2)}var El=new Set([`auto`,`scroll`]),Dl=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Ol(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Al(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Tl(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=P;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)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=Ol(t,this.transformPagePoint),M.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=Al(e.type===`pointercancel`?this.lastMoveEventInfo:Ol(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Li(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=Ol(bl(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=P;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Al(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=ae(Sl(this.contextWindow,`pointermove`,this.handlePointerMove,d),Sl(this.contextWindow,`pointerup`,this.handlePointerUp,d),Sl(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(El.has(e.overflowX)||El.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}),window.addEventListener(`scroll`,this.onWindowScroll),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),M.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),N(this.updatePoint)}};function Ol(e,t){return t?{point:t(e.point)}:e}function kl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Al({point:e},t){return{point:e,delta:kl(e,Ml(t)),offset:kl(e,jl(t)),velocity:Nl(t,.1)}}function jl(e){return e[0]}function Ml(e){return e[e.length-1]}function Nl(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Ml(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>A(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>A(t)*2&&(r=e[1]);let a=j(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}function Pl(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?V(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?V(n,e,r.max):Math.min(e,n)),e}function Fl(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 Il(e,{top:t,left:n,bottom:r,right:i}){return{x:Fl(e.x,n,i),y:Fl(e.y,t,r)}}function Ll(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 Rl(e,t){return{x:Ll(e.x,t.x),y:Ll(e.y,t.y)}}function zl(e,t){let n=.5,r=X(e),i=X(t);return i>r?n=oe(t.min,t.max-r,e.min):r>i&&(n=oe(e.min,e.max-i,t.min)),D(0,1,n)}function Bl(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}var Vl=.35;function Hl(e=Vl){return e===!1?e=0:e===!0&&(e=Vl),{x:Ul(e,`left`,`right`),y:Ul(e,`top`,`bottom`)}}function Ul(e,t,n){return{min:Wl(e,t),max:Wl(e,n)}}function Wl(e,t){return typeof e==`number`?e:e[t]||0}var Gl=new WeakMap,Kl=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=q(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(bl(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Mi(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Z(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=X(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&M.update(()=>i(e,t),!1,!0),Zr(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;
9if(r&&this.currentDirection===null){this.currentDirection=Xl(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&&M.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new Dl(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:Cl(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&M.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Yl(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Pl(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&&sl(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=Il(n.layoutBox,e):this.constraints=!1,this.elastic=Hl(t),r!==this.constraints&&!sl(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Z(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Bl(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!sl(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=oo(n,r.root,this.visualElement.getTransformPagePoint()),a=Rl(r.layout.layoutBox,i);if(t){let e=t(Ha(a));this.hasMutatedConstraints=!!e,e&&(a=Va(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Z(o=>{if(!Yl(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(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 Zr(this.visualElement,e),n.start(Rr(e,n,0,t,this.visualElement,!1))}stopAnimation(){Z(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){Z(t=>{let{drag:n}=this.getProps();if(!Yl(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],o=i.get()||0;i.set(e[t]-V(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!sl(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Z(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=zl({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Z(t=>{if(!Yl(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(V(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Gl.set(this.visualElement,this);let e=this.visualElement.current,t=Sl(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Vi(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();sl(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=Jl(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),M.read(r);let o=ws(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Z(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=Vl,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function ql(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Jl(e,t,n){let r=la(e,ql(n)),i=la(t,ql(n));return()=>{r(),i()}}function Yl(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Xl(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Zl=class extends Ba{constructor(e){super(e),this.removeGroupControls=k,this.removeListeners=k,this.controls=new Kl(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||k}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},Ql=e=>(t,n)=>{e&&M.update(()=>e(t,n),!1,!0)},$l=class extends Ba{constructor(){super(...arguments),this.removePointerDownListener=k}onPointerDown(e){this.session=new Dl(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cl(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Ql(e),onStart:Ql(t),onMove:Ql(n),onEnd:(e,t)=>{delete this.session,r&&M.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Sl(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},eu=!1,tu=class extends x.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),eu&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),As.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),eu=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||M.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),ki.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;eu=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function nu(e){let[t,n]=xc(),r=(0,x.useContext)(S);return(0,Q.jsx)(tu,{...e,layoutGroup:r,switchLayoutGroup:(0,x.useContext)(ol),isPresent:t,safeToRemove:n})}var ru={pan:{Feature:$l},drag:{Feature:Zl,ProjectionNode:fc,MeasureLayout:nu}};function iu(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&M.postRender(()=>i(t,bl(t)))}var au=class extends Ba{mount(){let{current:e}=this.node;e&&(this.unmount=Fi(e,(e,t)=>(iu(this.node,t,`Start`),e=>iu(this.node,e,`End`))))}unmount(){}},ou=class extends Ba{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=ae(ws(this.node.current,`focus`,()=>this.onFocus()),ws(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function su(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&M.postRender(()=>i(t,bl(t)))}var cu=class extends Ba{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Ji(e,(e,t)=>(su(this.node,t,`Start`),(e,{success:t})=>su(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},lu=new WeakMap,uu=new WeakMap,du=e=>{let t=lu.get(e.target);t&&t(e)},fu=e=>{e.forEach(du)};function pu({root:e,...t}){let n=e||document;uu.has(n)||uu.set(n,{});let r=uu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(fu,{root:e,...t})),r[i]}function mu(e,t,n){let r=pu(t);return lu.set(e,n),r.observe(e),()=>{lu.delete(e),r.unobserve(e)}}var hu={some:0,all:1},gu=class extends Ba{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:hu[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=mu(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(_u(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function _u({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var vu={inView:{Feature:gu},tap:{Feature:cu},focus:{Feature:ou},hover:{Feature:au}},yu={layout:{ProjectionNode:fc,MeasureLayout:nu}},bu=hl({...yl,...vu,...ru,...yu},gl);function xu(e){return typeof window>`u`?!1:e?Qn():Zn()}var Su=50,Cu=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),wu=()=>({time:0,x:Cu(),y:Cu()}),Tu={x:{length:`Width`,position:`Left`},y:{length:`Height`,position:`Top`}};function Eu(e,t,n,r){let i=n[t],{length:a,position:o}=Tu[t],s=i.current,c=n.time;i.current=Math.abs(e[`scroll${o}`]),i.scrollLength=e[`scroll${a}`]-e[`client${a}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=oe(0,i.scrollLength,i.current);let l=r-c;i.velocity=l>Su?0:ce(i.current-s,l)}function Du(e,t,n){Eu(e,`x`,t,n),Eu(e,`y`,t,n),t.time=n}function Ou(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(Oi(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName===`svg`){let e=r.getBoundingClientRect();r=r.parentElement;let t=r.getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,a=r.parentNode;for(;!i;)a.tagName===`svg`&&(i=a),a=r.parentNode;r=i}else break;return n}var ku={start:0,center:.5,end:1};function Au(e,t,n=0){let r=0;if(e in ku&&(e=ku[e]),typeof e==`string`){let t=parseFloat(e);e.endsWith(`px`)?r=t:e.endsWith(`%`)?e=t/100:e.endsWith(`vw`)?r=t/100*document.documentElement.clientWidth:e.endsWith(`vh`)?r=t/100*document.documentElement.clientHeight:e=t}return typeof e==`number`&&(r=t*e),n+r}var ju=[0,0];function Mu(e,t,n,r){let i=Array.isArray(e)?e:ju,a=0,o=0;return typeof e==`number`?i=[e,e]:typeof e==`string`&&(e=e.trim(),i=e.includes(` `)?e.split(` `):[e,ku[e]?e:`0`]),a=Au(i[0],n,r),o=Au(i[1],t),a-o}var Nu={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Pu={x:0,y:0};function Fu(e){return`getBBox`in e&&e.tagName!==`svg`?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function Iu(e,t,n){let{offset:r=Nu.All}=n,{target:i=e,axis:a=`y`}=n,o=a===`y`?`height`:`width`,s=i===e?Pu:Ou(i,e),c=i===e?{width:e.scrollWidth,height:e.scrollHeight}:Fu(i),l={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let u=!t[a].interpolate,d=r.length;for(let e=0;e<d;e++){let n=Mu(r[e],l[o],c[o],s[a]);
9!u&&n!==t[a].interpolatorOffsets[e]&&(u=!0),t[a].offset[e]=n}u&&(t[a].interpolate=sn(t[a].offset,ln(r),{clamp:!1}),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=D(0,1,t[a].interpolate(t[a].current))}function Lu(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function Ru(e,t,n,r={}){return{measure:t=>{Lu(e,r.target,n),Du(e,n,t),(r.offset||r.target)&&Iu(e,n,r)},notify:()=>t(n)}}var zu=new WeakMap,Bu=new WeakMap,Vu=new WeakMap,Hu=new WeakMap,Uu=new WeakMap,Wu=e=>e===document.scrollingElement?window:e;function Gu(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...r}={}){if(!t)return k;let i=Vu.get(t);i||(i=new Set,Vu.set(t,i));let a=Ru(t,e,wu(),r);if(i.add(a),!zu.has(t)){let e=()=>{for(let e of i)e.measure(P.timestamp);M.preUpdate(n)},n=()=>{for(let e of i)e.notify()},r=()=>M.read(e);zu.set(t,r);let a=Wu(t);window.addEventListener(`resize`,r),t!==document.documentElement&&Bu.set(t,la(t,r)),a.addEventListener(`scroll`,r),r()}if(n&&!Uu.has(t)){let e=zu.get(t),n={width:t.scrollWidth,height:t.scrollHeight};Hu.set(t,n);let r=M.read(()=>{let r=t.scrollWidth,i=t.scrollHeight;(n.width!==r||n.height!==i)&&(e(),n.width=r,n.height=i)},!0);Uu.set(t,r)}let o=zu.get(t);return M.read(o,!1,!0),()=>{N(o);let e=Vu.get(t);if(!e||(e.delete(a),e.size))return;let n=zu.get(t);zu.delete(t),n&&(Wu(t).removeEventListener(`scroll`,n),Bu.get(t)?.(),window.removeEventListener(`resize`,n));let r=Uu.get(t);r&&(N(r),Uu.delete(t)),Hu.delete(t)}}var Ku=[[Nu.Enter,`entry`],[Nu.Exit,`exit`],[Nu.Any,`cover`],[Nu.All,`contain`]],qu={start:0,end:1};function Ju(e){let t=e.trim().split(/\s+/);if(t.length!==2)return;let n=qu[t[0]],r=qu[t[1]];if(!(n===void 0||r===void 0))return[n,r]}function Yu(e){if(e.length!==2)return;let t=[];for(let n of e)if(Array.isArray(n))t.push(n);else if(typeof n==`string`){let e=Ju(n);if(!e)return;t.push(e)}else return;return t}function Xu(e,t){let n=Yu(e);if(!n)return!1;for(let e=0;e<2;e++){let r=n[e],i=t[e];if(r[0]!==i[0]||r[1]!==i[1])return!1}return!0}function Zu(e){if(!e)return{rangeStart:`contain 0%`,rangeEnd:`contain 100%`};for(let[t,n]of Ku)if(Xu(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}var Qu=new Map;function $u(e){let t={value:0};return{currentTime:t,cancel:Gu(n=>{t.value=n[e.axis].progress*100},e)}}function ed({source:e,container:t,...n}){let{axis:r}=n;e&&(t=e);let i=Qu.get(t);i||(i=new Map,Qu.set(t,i));let a=n.target??`self`,o=i.get(a);o||(o={},i.set(a,o));let s=r+(n.offset??[]).join(`,`);return o[s]||(n.target&&xu(n.target)?Zu(n.offset)?o[s]=new ViewTimeline({subject:n.target,axis:r}):o[s]=$u({container:t,...n}):xu()?o[s]=new ScrollTimeline({source:t,axis:r}):o[s]=$u({container:t,...n})),o[s]}function td(e,t){let n=ed(t),r=t.target?Zu(t.offset):void 0,i=t.target?xu(t.target)&&!!r:xu();return e.attachTimeline({timeline:i?n:void 0,...r&&i&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:e=>(e.pause(),ua(t=>{e.time=e.iterationDuration*t},n))})}function nd(e){return e&&(e.target||e.offset)}function rd(e){return e.length===2}function id(e,t){return rd(e)||nd(t)?Gu(n=>{e(n[t.axis].progress,n)},t):ua(e,ed(t))}function ad(e,{axis:t=`y`,container:n=document.scrollingElement,...r}={}){if(!n)return k;let i={axis:t,container:n,...r};return typeof e==`function`?id(e,i):td(e,i)}var od=()=>({scrollX:W(0),scrollY:W(0),scrollXProgress:W(0),scrollYProgress:W(0)}),sd=e=>e?!e.current:!1;function cd(e,t,n,r){return{factory:i=>{let a,o=()=>{if(sd(n)||sd(r)){ki.read(o);return}a=ad(i,{...t,axis:e,container:n?.current||void 0,target:r?.current||void 0})};return ki.read(o),()=>{Ai(o),a?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}function ld(e,t){return typeof window>`u`?!1:e?Qn()&&!!Zu(t):Zn()}function ud({container:e,target:t,...n}={}){let r=C(od);ld(t,n.offset)&&(r.scrollXProgress.accelerate=cd(`x`,n,e,t),r.scrollYProgress.accelerate=cd(`y`,n,e,t));let i=(0,x.useRef)(null),a=(0,x.useRef)(!1),o=(0,x.useCallback)(()=>(i.current=ad((e,{x:t,y:n})=>{r.scrollX.set(t.current),r.scrollXProgress.set(t.progress),r.scrollY.set(n.current),r.scrollYProgress.set(n.progress)}
9,{...n,container:e?.current||void 0,target:t?.current||void 0}),()=>{i.current?.()}),[e,t,JSON.stringify(n.offset)]);return w(()=>{if(a.current=!1,sd(e)||sd(t)){a.current=!0;return}else return o()},[o]),(0,x.useEffect)(()=>{if(!a.current)return;let n,r=()=>{let r=sd(e),i=sd(t);!r&&!i&&(n=o())};return ki.read(r),()=>{Ai(r),n?.()}},[o]),r}function dd(e){let t=C(()=>W(e)),{isStatic:n}=(0,x.useContext)(pc);if(n){let[,n]=(0,x.useState)(e);(0,x.useEffect)(()=>t.on(`change`,n),[])}return t}function fd(e,t){let n=dd(t()),r=()=>n.set(t());return r(),w(()=>{let t=()=>M.preRender(r,!1,!0),n=e.map(e=>e.on(`change`,t));return()=>{n.forEach(e=>e()),N(r)}}),n}function pd(e){Dr.current=[],e();let t=fd(Dr.current,e);return Dr.current=void 0,t}function md(e,t,n,r){if(typeof e==`function`)return pd(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!=`function`)return gd(e,t,n,r);let i=typeof t==`function`?t:pa(t,n,r),a=Array.isArray(e)?hd(e,i):hd([e],([e])=>i(e)),o=Array.isArray(e)?void 0:e.accelerate;return o&&!o.isTransformed&&typeof t!=`function`&&Array.isArray(n)&&r?.clamp!==!1&&(a.accelerate={...o,times:t,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),a}function hd(e,t){let n=C(()=>[]);return fd(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function gd(e,t,n,r){let i=C(()=>Object.keys(n)),a=C(()=>({}));for(let o of i)a[o]=md(e,t,n[o],r);return a}function _d(e,t={}){let{isStatic:n}=(0,x.useContext)(pc),r=()=>G(e)?e.get():e;if(n)return md(r);let i=dd(r());return(0,x.useInsertionEffect)(()=>ma(i,e,t),[i,JSON.stringify(t)]),i}function vd(e,t={}){return _d(e,{type:`spring`,...t})}function $({children:e,delay:t=0,y:n=18,className:r}){return(0,Q.jsx)(bu.div,{className:r,initial:{opacity:0,y:n},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-80px`},transition:{duration:.7,delay:t,ease:[.22,1,.36,1]},children:e})}function yd(){let{scrollYProgress:e}=ud(),t=vd(e,{stiffness:120,damping:28,mass:.3});return(0,Q.jsx)(bu.div,{"aria-hidden":!0,style:{scaleX:t},className:`fixed inset-x-0 top-0 z-[60] h-[2px] origin-left bg-ember`})}var bd=[`/assets/q1-B1PamqjF.jpg`,`/assets/q2-CMWSyZk1.jpg`,`/assets/q3-DkOz1fMe.jpg`,`/assets/q4-FUWIhYZZ.jpg`,`/assets/q5-DvHoGI4-.jpg`],xd=[`¿Están mis datos listos para IA?`,`¿Mi equipo está listo para usar IA?`,`¿Puedo disminuir mis costos usando Machine Learning?`,`¿Cumple mi sistema con la Ley 21.719 o la GDPR?`,`¿Puedo aumentar mis ganancias implementando IA?`];function Sd({className:e=``}){return(0,Q.jsxs)(`span`,{className:`inline-flex items-center gap-2.5 ${e}`,children:[(0,Q.jsx)(`img`,{src:u.url,alt:``,"aria-hidden":!0,className:`h-5 w-auto`}),(0,Q.jsx)(`span`,{className:`font-headline text-[16px] leading-none tracking-[0.01em]`,children:`Neuratrix`})]})}function Cd(){let[e,t]=(0,x.useState)(!1),n=[[`Qué hacemos`,`#practica`],[`Cómo trabajamos`,`#metodo`],[`Servicios`,`#ecosistema`],[`Contacto`,`#contacto`]];return(0,Q.jsx)(`nav`,{className:`fixed inset-x-0 top-0 z-50 mix-blend-difference`,children:(0,Q.jsxs)(`div`,{className:`mx-auto flex max-w-[1400px] items-center justify-between px-6 py-5 text-paper md:px-10`,children:[(0,Q.jsx)(`a`,{href:`#top`,className:`flex items-center gap-3 text-paper`,children:(0,Q.jsx)(Sd,{className:`text-paper`})}),(0,Q.jsxs)(`div`,{className:`hidden items-center gap-8 md:flex`,children:[n.slice(0,-1).map(([e,t])=>(0,Q.jsx)(`a`,{href:t,className:`relative font-mono text-[11px] tracking-[0.2em] uppercase text-paper/90 transition-colors after:absolute after:-bottom-1 after:left-0 after:h-px after:w-full after:origin-right after:scale-x-0 after:bg-ember after:transition-transform after:duration-300 hover:text-ember hover:after:origin-left hover:after:scale-x-100`,children:e},t)),(0,Q.jsx)(`a`,{href:`https://app.youform.com/forms/rhno6m9b`,target:`_blank`,rel:`noopener noreferrer`,className:`font-mono text-[11px] tracking-[0.2em] uppercase text-paper transition-colors hover:text-ember`,children:`Contacto â`})]}),(0,Q.jsxs)(`details`,{className:`md:hidden group`,children:[(0,Q.jsxs)(`summary`,{className:`flex h-10 w-10 cursor-pointer list-none flex-col items-center justify-center gap-1.5`,children:[(0,Q.jsx)(`span`,{className:`block h-px w-6 bg-paper transition-transform group-open:translate-y-[3.5px] group-open:rotate-45`}),(0,Q.jsx)(`span`,{className:`block h-px bg-paper transition-all group-open:w-0 group-open:opacity-100 w-6 opacity-100`}),(0,Q.jsx)(`span`,{className:`block h-px w-6 bg-paper transition-transform group-open:-translate-y-[3.5px] group-open:-rotate-45`})]}),(0,Q.jsx)(`div`,{className:`fixed inset-x-0 top-[72px] z-40 bg-ink px-6 pb-8 pt-6`,children:(0,Q.jsx)(`div`,{className:`flex flex-col gap-5`,children:n.map(([e,t])=>(0,Q.jsx)(`a`,{href:t,className:`font-serif text-3xl text-paper transition-colors hover:text-ember`,children:e},t))})})]})]})})}function wd(){let[e,t]=(0,x.useState)(0),[n,r]=(0,x.useState)(``),[i,a]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{r(``),a(!1);let n=xd[e],i=0,o=setInterval(()=>{i+=1,r(n.slice(0,i)),i>=n.length&&(clearInterval(o),a(!0))},45),s=setTimeout(()=>t(e=>(e+1)%xd.length),n.length*45+2600);return()=>{clearInterval(o),clearTimeout(s)}},[e]),(0,Q.jsxs)(`section`,{id:`top`,className:`relative h-[100svh] w-full overflow-hidden bg-ink`,children:[(0,Q.jsx)(wc,{mode:`sync`,children:(0,Q.jsx)(bu.img,{src:bd[e],alt:``,width:1920,height:1280,initial:{opacity:0,scale:1.04}
9,animate:{opacity:1,scale:1},exit:{opacity:0},transition:{opacity:{duration:1.2,ease:[.22,1,.36,1]},scale:{duration:6,ease:`linear`}},className:`absolute inset-0 h-full w-full object-cover`},e)}),(0,Q.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-b from-ink/30 via-ink/10 to-ink/70`}),(0,Q.jsxs)(`div`,{className:`relative z-10 mx-auto flex h-full max-w-[1400px] flex-col items-center justify-center gap-12 px-6 md:px-10`,children:[(0,Q.jsx)(bu.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:1.1,ease:[.22,1,.36,1]},className:`w-full max-w-[620px] border border-paper/25 bg-paper/8 p-8 backdrop-blur-md md:p-10`,children:(0,Q.jsx)(`div`,{className:`min-h-[9rem] md:min-h-[11rem]`,children:(0,Q.jsxs)(`h1`,{className:`font-serif text-4xl leading-[1.05] text-paper md:text-[3.25rem]`,"aria-label":xd[e],children:[(0,Q.jsx)(`span`,{children:n}),(0,Q.jsx)(`span`,{"aria-hidden":!0,className:`ml-1 inline-block w-[0.55ch] bg-ember align-middle ${i?`animate-caret-blink`:``}`,style:{height:`0.95em`}})]})})}),(0,Q.jsx)(`p`,{className:`max-w-[42ch] text-center font-sans text-lg leading-relaxed text-paper/90 md:text-xl`,children:`Diseñamos el sistema y construimos la infraestructura para implementar IA empresarial.`}),(0,Q.jsx)(`a`,{href:`https://app.youform.com/forms/rhno6m9b`,target:`_blank`,rel:`noopener noreferrer`,className:`sheen inline-flex items-center border border-paper/25 bg-paper/8 px-8 py-4 font-mono text-[13px] tracking-[0.18em] uppercase text-paper backdrop-blur-sm transition-all duration-300 hover:-translate-y-0.5 hover:border-ember hover:bg-paper/12 hover:text-ember`,children:`Hablemos`})]})]})}function Td(){return(0,Q.jsx)(`section`,{className:`bg-ink text-paper`,children:(0,Q.jsx)(`div`,{className:`mx-auto max-w-[1400px] px-6 pb-8 pt-32 md:px-10 md:pb-10 md:pt-40`,children:(0,Q.jsx)(`div`,{className:`grid gap-12 md:grid-cols-12`,children:(0,Q.jsxs)(`div`,{className:`md:col-span-12`,children:[(0,Q.jsxs)($,{children:[(0,Q.jsx)(`span`,{className:`label !text-paper/60`,children:`El problema`}),(0,Q.jsx)(`p`,{className:`mt-6 font-serif text-[2rem] leading-[1.2] text-paper md:text-[2.75rem]`,children:`Implementar IA sin calidad de datos, infraestructura segura, ni adopción del equipo es como construir un edificio sobre arena.`})]}),(0,Q.jsx)(`div`,{className:`mt-14 grid gap-8 pt-10 md:grid-cols-3`,children:[[`60%`,`de los proyectos de IA serán abandonados por falta de datos listos.`,`Gartner, 2025`],[`4x`,`más invierten en la base las empresas que sà logran resultados con IA`,`GARTNER, 2026`],[`2x`,`más éxito al construir con un socio especializado que solo con equipo interno.`,`MIT, 2025`]].map(([e,t,n],r)=>(0,Q.jsxs)($,{delay:r*.1,className:`group`,children:[(0,Q.jsx)(`div`,{className:`font-serif text-5xl text-paper transition-colors duration-500 group-hover:text-ember md:text-6xl`,children:e}),(0,Q.jsx)(`span`,{className:`mt-4 block h-px w-10 origin-left bg-paper/30 transition-all duration-500 group-hover:w-20 group-hover:bg-ember`}),(0,Q.jsx)(`p`,{className:`mt-3 max-w-[22ch] text-sm leading-relaxed text-paper/70`,children:t}),(0,Q.jsx)(`p`,{className:`mt-3 font-mono text-[10px] tracking-[0.16em] uppercase text-paper/50`,children:n})]},e))})]})})})})}function Ed(){return(0,Q.jsx)(`section`,{id:`practica`,children:(0,Q.jsxs)(`div`,{className:`mx-auto max-w-[1400px] px-6 py-32 md:px-10 md:py-40`,children:[(0,Q.jsxs)($,{className:`max-w-4xl`,children:[(0,Q.jsx)(`span`,{className:`label`,children:`Qué hacemos`}),(0,Q.jsxs)(`h2`,{className:`mt-6 font-serif text-4xl leading-[1.05] text-ink md:text-6xl`,children:[`Neuratrix diseña, construye y opera la infraestructura de datos que las empresas necesitan para implementar correctamente`,` `,(0,Q.jsx)(`em`,{className:`text-ember`,children:`Inteligencia Artificial`}),`.`]})]}),(0,Q.jsx)(`div`,{className:`mt-16 border-t border-ink/15 md:mt-20`,children:a.map((t,n)=>{let r=t.icon;return(0,Q.jsx)($,{delay:n*.06,children:(0,Q.jsxs)(`details`,{className:`group border-b border-ink/15`,children:[(0,Q.jsxs)(`summary`,{className:`flex cursor-pointer items-center gap-5 py-7 list-none transition-[gap,padding] duration-300 hover:gap-6 md:gap-8 md:py-9 md:hover:gap-9`,children:[(0,Q.jsx)(`span`,{className:`flex h-10 w-10 shrink-0 items-center justify-center rounded-full border border-ink/15 text-ink-soft transition-all duration-300 group-hover:border-ember group-hover:text-ember group-open:border-ember group-open:text-ember md:h-12 md:w-12`,children:(0,Q.jsx)(r,{className:`h-4 w-4 transition-transform duration-300 group-hover:scale-110 md:h-
95 md:w-5`,strokeWidth:1.5})}),(0,Q.jsx)(`span`,{className:`flex-1 font-serif text-2xl leading-tight text-ink transition-colors group-hover:text-ember group-open:text-ember md:text-4xl`,children:t.t}),(0,Q.jsx)(`span`,{"aria-hidden":!0,className:`font-mono text-lg text-ink-soft transition-all duration-300 group-hover:text-ember group-open:rotate-45`,children:`+`})]}),(0,Q.jsx)(`div`,{className:`grid animate-fade-in gap-6 pb-10 md:grid-cols-12 md:gap-10 md:pl-[calc(2rem+1ch)]`,children:(0,Q.jsxs)(`div`,{className:`md:col-span-7`,children:[(0,Q.jsx)(`p`,{className:`text-[15px] leading-relaxed text-ink-soft`,children:t.d}),(0,Q.jsxs)(e,{to:`/practica/$slug`,params:{slug:t.slug},className:`group/link mt-6 inline-flex items-center gap-2 border-b border-ember pb-1 font-mono text-[11px] tracking-[0.18em] uppercase text-ember transition-opacity hover:opacity-70`,children:[`Conocer más`,(0,Q.jsx)(`span`,{className:`transition-transform duration-300 group-hover/link:translate-x-1`,children:`â`})]})]})})]})},t.n)})}),(0,Q.jsx)(`div`,{className:`mt-16 flex justify-center`,children:(0,Q.jsx)(`a`,{href:`https://app.youform.com/forms/rhno6m9b`,target:`_blank`,rel:`noopener noreferrer`,className:`sheen inline-flex items-center border border-ember px-8 py-4 font-mono text-[12px] tracking-[0.18em] uppercase text-ember transition-all duration-300 hover:bg-ember hover:text-paper hover:shadow-[0_10px_30px_-12px_var(--color-ember)]`,children:`Quiero conocer más`})})]})})}function Dd(){return(0,Q.jsx)(`section`,{id:`metodo`,className:`bg-ink text-paper`,children:(0,Q.jsxs)(`div`,{className:`mx-auto max-w-[1400px] px-6 py-32 md:px-10 md:py-40`,children:[(0,Q.jsxs)($,{className:`mb-16 md:mb-20`,children:[(0,Q.jsx)(`span`,{className:`label !text-paper/60`,children:`Cómo trabajamos`}),(0,Q.jsx)(`h2`,{className:`mt-6 font-serif text-4xl leading-[1.05] text-paper md:text-6xl`,children:`Construimos sistemas con compliance y ciberseguridad desde el diseño. Cumple con la ley 21.719.`})]}),(0,Q.jsx)(`div`,{className:`grid gap-4 md:grid-cols-3`,children:[{icon:v,n:``,t:`Medición`,dur:``,d:`Medimos el estado actual de tu infraestructura tecnológica y capacidades de adopción con evidencia técnica.`},{icon:b,n:``,t:`Implementación`,dur:``,d:`Sistemas funcionando para aumentar ventas y/o disminuir tus costos. Proyectos orientados a resultados de negocio.`},{icon:_,n:``,t:`Operación`,dur:``,d:`Monitoreamos, mantenemos y evolucionamos el sistema para que la operación sea eficiente y rentable.`}].map((e,t)=>{let n=e.icon;return(0,Q.jsx)($,{delay:t*.1,children:(0,Q.jsxs)(`div`,{className:`lift group h-full border border-paper/15 p-8 hover:border-ember/50 hover:shadow-[0_24px_60px_-40px_var(--color-ember)] md:p-10`,children:[(0,Q.jsx)(`div`,{className:`mb-8 flex h-12 w-12 items-center justify-center rounded-full bg-ember transition-transform duration-500 group-hover:scale-105 group-hover:rotate-6`,children:(0,Q.jsx)(n,{className:`h-5 w-5 text-ink`,strokeWidth:1.5})}),(0,Q.jsx)(`h3`,{className:`font-serif text-2xl leading-tight text-paper md:text-[1.75rem]`,children:e.t}),e.dur&&(0,Q.jsx)(`span`,{className:`label mt-4 block !text-paper/50`,children:e.dur}),(0,Q.jsx)(`p`,{className:`mt-4 text-[15px] leading-relaxed text-paper/70`,children:e.d})]})},e.n)})})]})})}var Od=[{n:`01`,nombre:`Neuratrix Blueprint`,icon:g,d:`Medimos el estado real de datos, infraestructura, gobernanza, seguridad y adopción sobre los sistemas que ya operan, no con encuestas. Cada caso de uso candidato se estima en impacto, esfuerzo y dependencia de datos, y se ordena por retorno y por riesgo regulatorio. El resultado evita el gasto que se pierde en proyectos sin datos que los sostengan.`,salida:`Informe de madurez con lÃnea base medida, portafolio de casos priorizado con business case y roadmap por fases con costo, dependencias y responsables.`},{n:`02`,nombre:`Data Foundation`,icon:f,d:`Construimos la capa sin la que ni la IA ni el cumplimiento son posibles: ingesta desde ERP, CRM y SaaS locales, lakehouse serverless, transformación versionada con tests, calidad con SLAs de frescura y exactitud, y seguridad y linaje diseñados dentro. Termina el trabajo manual de consolidación y cada caso posterior cuesta una fracción.`,
9salida:`Lakehouse operativo en tu nube, pipelines productivos, modelos de datos con tests de calidad, y catálogo, linaje y control de acceso implementados.`},{n:`03`,nombre:`Applied Intelligence`,icon:d,d:`Forecasting, scoring, riesgo, fraude, anomalÃas y optimización, junto con asistentes y agentes que responden sobre el conocimiento de la empresa con permisos heredados y trazabilidad. Partimos por la decisión que se quiere mejorar y su métrica; la predicción llega al ERP, al CRM o al flujo donde se decide, no a un tablero que nadie abre.`,salida:`Modelos y asistentes en producción con endpoint y SLA, feature store, guardrails y evaluación, y medición de impacto contra la lÃnea base.`},{n:`04`,nombre:`Managed Operations`,icon:y,d:`Un sistema de datos e IA se degrada solo: los datos cambian, los modelos pierden precisión y los controles se desactualizan. Operamos monitoreo de drift y de calidad, gestión de incidentes, reentrenamiento programado, revisión de guardrails y auditorÃa continua, con un responsable on-call identificado.`,salida:`Operación con SLA, alertas y reporte mensual de desempeño, incidentes, consumo cloud y evidencia auditable.`},{n:`05`,nombre:`Adoption & Enablement`,icon:s,d:`Un sistema que nadie usa no produce retorno. Definimos desde el inicio quién usará cada componente, qué decisión reemplaza y qué deja de hacerse, y traspasamos la operación al equipo interno con runbooks, documentación viva y pair working. Baja la dependencia del proveedor en lugar de volverla permanente.`,salida:`Plan de adopción por rol con métricas de uso, traspaso operativo documentado y polÃtica interna de uso de datos e IA.`},{n:`06`,nombre:`Neuratrix Academy`,icon:p,d:`Formación por nivel: alfabetización de datos para el negocio, formación técnica para quienes operan la plataforma y sesiones ejecutivas para quienes deciden e invierten. Sostiene la adopción en el tiempo y forma la capacidad interna que evita rehacer lo mismo cada dos años.`,salida:`Programa de formación con evaluación y certificación, y equipo interno capaz de operar y extender el sistema.`}];function kd(){let[e,t]=(0,x.useState)(`01`);return(0,Q.jsxs)(`section`,{id:`ecosistema`,className:`relative overflow-hidden bg-paper`,children:[(0,Q.jsx)(`div`,{className:`pointer-events-none absolute -left-24 top-24 h-[420px] w-[420px] rounded-full bg-ember-soft/15 blur-[100px] md:h-[560px] md:w-[560px]`}),(0,Q.jsx)(`div`,{className:`pointer-events-none absolute -right-24 bottom-12 h-[320px] w-[320px] rounded-full bg-ember/5 blur-[90px] md:h-[420px] md:w-[420px]`}),(0,Q.jsxs)(`div`,{className:`relative mx-auto max-w-[1400px] px-6 py-32 md:px-10 md:py-40`,children:[(0,Q.jsxs)(`div`,{className:`grid gap-14 lg:grid-cols-12 lg:gap-20`,children:[(0,Q.jsx)(`div`,{className:`lg:col-span-4`,children:(0,Q.jsxs)(`div`,{className:`lg:sticky lg:top-32`,children:[(0,Q.jsx)(`span`,{className:`label`,children:`ECOSISTEMA DE SERVICIOS`}),(0,Q.jsxs)(`h2`,{className:`mt-6 font-serif text-4xl leading-[1.05] text-ink md:text-6xl`,children:[`Un ecosistema que opera como una plataforma modular, diseñada para asegurar que tus sistemas de Datos e IA generen `,(0,Q.jsx)(`em`,{className:`text-ember`,children:`resultados de negocio`}),`.`]}),(0,Q.jsx)(`p`,{className:`mt-6 text-[15px] leading-relaxed text-ink-soft`,children:`Seis lÃneas de producto que pueden ejecutarse de forma independiente o como un sistema integrado.`})]})}),(0,Q.jsx)(`div`,{className:`lg:col-span-8`,children:(0,Q.jsxs)(`div`,{className:`relative`,children:[(0,Q.jsx)(`div`,{className:`absolute left-[20px] top-0 bottom-0 w-px bg-rule md:left-[26px]`}),Od.map((n,r)=>{let i=n.icon,a=e===n.n;return(0,Q.jsxs)(bu.div,{initial:{opacity:0,x:24},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:`-50px`},transition:{duration:.5,delay:r*.08,ease:[.22,1,.36,1]},className:`group relative`,children:[(0,Q.jsx)(`div`,{className:`absolute left-0 top-6 flex h-10 w-10 items-center justify-center rounded-full border transition-all duration-300 md:top-8 md:h-[52px] md:w-[52px] ${a?`border-ember bg-ember text-paper`:`border-rule bg-paper text-ink-soft group-hover:border-ember group-hover:text-ember`}`,children:(0,Q.jsx)(i,{className:`h-4 w-4 md:h-5 md:w-5`,strokeWidth:1.5})}),(0,Q.jsxs)(`div`,{className:`ml-14 border-b border-rule md:ml-[4.5rem]`,children:[(0,Q.jsxs)(`button`,{onClick:()=>t(a?null:n.n),className:`flex w-full cursor-pointer items-baseline gap-4 py-6 text-left md:gap-8 md:py-8`,children:[(0,Q.jsx)(`span`,{className:`font-mono text-[11px] tracking-[0.18em] text-ink-soft transition-colors group-hover:text-ember md:text-[12px]`,children:n.n}),(0,Q.jsx)(`span`,{className:`flex-1 font-serif text-2xl leading-tight text-ink transition-colors group-hover:text-ember md:text-4xl`,children:n.nombre}),(0,Q.jsx)(bu.span,{"aria-hidden":!0,animate:{rotate:a?45:0},transition:{duration:.25},className:`font-mono text-lg text-ink-soft transition-colors group-hover:text-ember`,children:`+`})]}),(0,Q.jsx)(wc,{initial:!1,children:a&&(0,Q.jsx)(bu.div,{initial:{height:0,opacity:0}
9,animate:{height:`auto`,opacity:1},exit:{height:0,opacity:0},transition:{duration:.35,ease:[.22,1,.36,1]},className:`overflow-hidden`,children:(0,Q.jsxs)(`div`,{className:`grid gap-6 pb-8 md:grid-cols-12 md:gap-10 md:pb-10`,children:[(0,Q.jsx)(`p`,{className:`text-[15px] leading-relaxed text-ink-soft md:col-span-7`,children:n.d}),n.salida.trim()&&(0,Q.jsxs)(`div`,{className:`border-l-2 border-ember pl-5 md:col-span-5`,children:[(0,Q.jsx)(`span`,{className:`label !text-ink`,children:`Entrega`}),(0,Q.jsx)(`p`,{className:`mt-2 text-[14px] leading-relaxed text-ink`,children:n.salida})]})]})})})]})]},n.n)})]})})]}),(0,Q.jsx)(`div`,{className:`relative mt-16 flex justify-center`,children:(0,Q.jsx)(`a`,{href:`https://app.youform.com/forms/rhno6m9b`,target:`_blank`,rel:`noopener noreferrer`,className:`sheen inline-flex items-center border border-ember px-8 py-4 font-mono text-[12px] tracking-[0.18em] uppercase text-ember transition-all duration-300 hover:bg-ember hover:text-paper hover:shadow-[0_10px_30px_-12px_var(--color-ember)]`,children:`Agendar una reunión`})})]})]})}function Ad(e){let[t,n]=e.split(`T`),[r,i,a]=t.split(`-`).map(Number),[o,s,c]=n.split(`:`).map(Number),l=new Date(Date.UTC(r,i-1,a,o,s,c)),u=l.toLocaleString(`en-US`,{timeZone:`America/Santiago`,hour12:!1}),d=new Date(u),f=l.getTime()-d.getTime();return l.getTime()+f}function jd(){let[e,t]=(0,x.useState)(0);(0,x.useEffect)(()=>{let e=Ad(`2026-12-01T00:00:00`),n=()=>t(Math.max(0,e-Date.now()));n();let r=setInterval(n,1e3);return()=>clearInterval(r)},[]);let n=Math.floor(e/(1e3*60*60*24)),r=Math.floor(e/(1e3*60*60)%24),i=Math.floor(e/(1e3*60)%60),a=Math.floor(e/1e3%60);return(0,Q.jsxs)(`div`,{className:`mt-14 text-center`,children:[(0,Q.jsx)(`p`,{className:`label mb-6`,children:`Plazo para la vigencia de la Ley 21.719`}),(0,Q.jsx)(`div`,{className:`grid grid-cols-2 gap-4 sm:grid-cols-4 sm:gap-8 md:gap-12`,children:[[n,`DÃas`],[r,`Horas`],[i,`Minutos`],[a,`Segundos`]].map(([e,t])=>(0,Q.jsxs)(`div`,{className:`group`,children:[(0,Q.jsx)(`div`,{className:`overflow-hidden`,children:(0,Q.jsx)(bu.div,{initial:{y:`40%`,opacity:0},animate:{y:0,opacity:1},transition:{duration:.35,ease:[.22,1,.36,1]},className:`font-serif text-5xl leading-none text-ink tabular-nums md:text-6xl`,children:String(e).padStart(2,`0`)},String(e))}),(0,Q.jsx)(`div`,{className:`label mt-3`,children:t})]},t))})]})}function Md(){return(0,Q.jsx)(`section`,{id:`marco`,className:`border-t border-rule bg-secondary/60`,children:(0,Q.jsxs)(`div`,{className:`mx-auto max-w-[1400px] px-6 py-24 md:px-10`,children:[(0,Q.jsx)($,{children:(0,Q.jsxs)(`p`,{className:`font-serif text-2xl leading-[1.25] text-ink md:text-[2rem]`,children:[`La `,(0,Q.jsx)(`span`,{className:`text-ember`,children:`Ley 21.719`}),` de protección de datos entra en vigencia en diciembre de 2026. La `,(0,Q.jsx)(`span`,{className:`text-ember`,children:`Ley 21.663`}),` de ciberseguridad ya está vigente.`,` `,(0,Q.jsx)(`span`,{className:`font-bold text-ember`,children:`La misma infraestructura que exige la ley habilita IA confiable.`}),`\xA0`]})}),(0,Q.jsx)(jd,{})]})})}function Nd(){return(0,Q.jsxs)(`section`,{id:`contacto`,className:`bg-ink text-paper`,children:[(0,Q.jsxs)(`div`,{className:`mx-auto max-w-[1400px] px-6 py-28 md:px-10 md:py-32`,children:[(0,Q.jsxs)($,{className:`flex flex-col items-center text-center`,children:[(0,Q.jsxs)(`h2`,{className:`mx-auto max-w-[24ch] font-serif text-4xl leading-[1.05] text-paper md:text-6xl`,children:[`Los datos y la IA ya no son una ventaja competitiva.`,(0,Q.jsx)(`br`,{}),(0,Q.jsx)(`em`,{className:`text-ember-soft`,children:`Son el nuevo punto de partida.`})]}),(0,Q.jsx)(`div`,{className:`mt-10 flex flex-col items-center gap-6`,children:(0,Q.jsx)(`a`,{href:`https://app.youform.com/forms/rhno6m9b`,target:`_blank`,rel:`noopener noreferrer`,className:`sheen inline-flex items-center border border-ember px-8 py-4 font-mono text-[12px] tracking-[0.18em] uppercase text-ember transition-all duration-300 hover:bg-ember hover:text-paper hover:shadow-[0_10px_30px_-12px_var(--color-ember)]`,children:`Contáctanos`})})]}),(0,Q.jsx)(`div`,{className:`mt-20 md:mt-24`,children:(0,Q.jsxs)(`ul`,{className:`flex flex-col items-start gap-4 font-mono text-[12px] leading-relaxed tracking-[0.12em] text-paper/80`,children:[(0,Q.jsxs)(`li`,{className:`flex items-center gap-3`,children:[(0,Q.jsx)(m,{className:`h-4 w-4 text-ember`,strokeWidth:1.5}),(0,Q.jsx)(`span`,{children:`[email protected]`})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,Q.jsx)(h,{className:`mt-0.5 h-4 w-4 shrink-0 text-ember`,strokeWidth:1.5}),(0,Q.jsx)(`span`,{children:`Av. Vitacura 2939, piso 3, Las Condes, Santiago de Chile.`})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,Q.jsx)(h,{className:`mt-0.5 h-4 w-4 shrink-0 text-ember`,strokeWidth:1.5}),(0,Q.jsx)(`span`,{children:`AnÃbal Pinto 340, Concepción, Chile.`})]})]})})]}),(0,Q.jsx)(`div`,{className:`border-t border-paper/15`,children:(0,Q.jsxs)(`div`,{className:`mx-auto flex max-w-[1400px] flex-col items-center gap-6 px-6 py-8 text-center md:flex-row md:items-center md:justify-between md:gap-4 md:px-10 md:text-left`,children:[(0,Q.jsxs)(`div`,{className:`flex flex-col items-center gap-2 md:flex-row md:items-center md:gap-3`,children:[(0,Q.jsx)(Sd,{className:`text-paper`}),(0,Q.jsx)(`span`,{className:`max-w-[34ch] font-headline text-[13px] leading-relaxed tracking-[0.01em] text-paper/50 md:ml-4`,children:`IngenierÃa de datos e IA aplicada`})]}),(0,Q.jsx)(`p`,{className:`font-mono text-[10px] tracking-[0.2em] uppercase text-paper/50`,children:`© 2026 NEURATRIX SPA â SANTIAGO DE CHILE`})]})})]})}function Pd(){let[e,t]=(0,x.useState)(!1),[n,r]=(0,x.useState)(!1),[i,a]=(0,x.useState)(null);return(0,x.useEffect)(()=>{t(!0);try{a(localStorage.getItem(`neuratrix-cookies`))}catch{}},[]),!e||i?null:(0,Q.jsx)(`div`,{className:`fixed inset-x-0 bottom-0 z-[60] border-t border-paper/15 bg-ink/95 px-6 py-5 backdrop-blur-md md:px-10`,children:(0,Q.jsxs)(`div`,{className:`mx-auto flex max-w-[1400px] flex-col gap-4 md:flex-row md:items-end md:justify-between`,children:[(0,Q.jsxs)(`div`,{className:`max-w-[68ch]`,children:[(0,Q.jsx)(`p`,{className:`font-sans text-sm leading-relaxed text-paper/90 md:text-base`,children:`Usamos cookies solo para entender cómo se usa este sitio y mejorar la experiencia. No vendemos datos.`}),(0,Q.jsxs)(`details`,{open:n,onToggle:e=>r(e.target.open),className:`group mt-3`,children:[(0,Q.jsxs)(`summary`,{className:`inline-flex cursor-pointer list-none items-center gap-2 font-mono text-[11px] tracking-[0.18em] uppercase text-ember transition-colors hover:text-paper`,children:[n?`Menos detalles`:`Más detalles`,(0,Q.jsx)(`span`,{className:`inline-block transition-transform group-open:rotate-180`,children:`â`})]}),(0,Q.jsx)(`div`,{className:`mt-4 border-t border-paper/10 pt-4`,children:(0,Q.jsxs)(`ul`,{className:`space-y-3 font-sans text-sm text-paper/70`,children:[(0,Q.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,Q.jsx)(`span`,{className:`mt-1 block h-1.5 w-1.5 shrink-0 bg-ember`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-paper`,children:`Cookies esenciales:`}),` necesarias para el funcionamiento del sitio. No se pueden desactivar.`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,Q.jsx)(`span`,{className:`mt-1 block h-1.5 w-1.5 shrink-0 bg-ember`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-paper`,children:`Cookies analÃticas:`}),` nos ayudan a contar visitas y entender qué páginas interesan. Solo se activan si aceptas.`]})]})]})})]})]}),(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3 md:pb-0`,children:[(0,Q.jsx)(`button`,{onClick:()=>{try{localStorage.setItem(`neuratrix-cookies`,`rejected`)}catch{}a(`rejected`)},className:`inline-flex items-center justify-center border border-paper/25 px-5 py-2.5 font-mono text-[11px] tracking-[0.18em] uppercase text-paper transition-colors hover:border-paper/50 hover:text-paper`,children:`Rechazar`}),(0,Q.jsx)(`button`,{onClick:()=>{try{localStorage.setItem(`neuratrix-cookies`,`accepted`)}catch{}a(`accepted`)},className:`inline-flex items-center justify-center bg-ember px-5 py-2.5 font-mono text-[11px] tracking-[0.18em] uppercase text-paper transition-colors hover:bg-ember-soft`,children:`Aceptar`})]})]})})}function Fd(){return(0,Q.jsxs)(`main`,{className:`bg-paper text-ink`,children:[(0,Q.jsx)(yd,{}),(0,Q.jsx)(Cd,{}),(0,Q.jsx)(wd,{}),(0,Q.jsx)(Td,{}),(0,Q.jsx)(Ed,{}),(0,Q.jsx)(Dd,{}),(0,Q.jsx)(kd,{}),(0,Q.jsx)(Md,{}),(0,Q.jsx)(Nd,{}),(0,Q.jsx)(Pd,{})]})}
9export{Fd as component};
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.