uplord-ui 0.1.25 → 0.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33697,7 +33697,7 @@ const zne = "button-module__group___YdABW", One = "button-module__block___r2gUN"
33697
33697
  children: e,
33698
33698
  title: t,
33699
33699
  border: a = !1,
33700
- padding: o = !0,
33700
+ padding: o = !1,
33701
33701
  className: i = ""
33702
33702
  }) => /* @__PURE__ */ _.jsxs(
33703
33703
  "div",
@@ -7824,7 +7824,7 @@ Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/code
7824
7824
  .dark .leaseloco {
7825
7825
  fill: #fff;
7826
7826
  }
7827
- `)),Oae=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 1402.223 555.556",enableBackground:"new 0 0 1402.223 555.556",xmlSpace:"preserve",...e},k.createElement("g",null,k.createElement("path",{d:"M525.544,124.801c46.138,24.343,77.665,59.881,82.312,141.069c0,68.89,0,271.454,0,271.454H485.701V318.559 c0-43.113,0-67.861-11.176-85.426c-9.582-15.967-28.741-23.953-46.307-23.953c-10.379,0-39.125,2.396-54.294,29.543 c-9.582,16.762-8.785,34.327-8.785,71.854v226.748H242.982V289.818c0-39.917-5.579-57.483-23.951-69.46 c-10.375-7.187-23.149-10.379-35.923-10.379c-5.588,0-21.56,0-35.131,10.379c-25.549,19.162-26.351,51.895-26.351,79.039v237.928 H0.272c0,0-0.325-207.584-0.265-270.582c6.238-82.061,41.884-118.628,86.636-142.683c59.142-31.791,168.606-39.686,226.02,15.525 c-7.087,13.047-19.857,29.651-23.716,52.304C341.313,95.412,454.07,87.095,525.544,124.801z",fill:"#1055c4"}),k.createElement("path",{d:"M813.066,205.987v186.827c0,16.764-0.797,26.346,3.197,33.533c7.182,13.57,26.346,13.57,28.746,13.57 c14.367,0,28.74-0.797,43.109-0.797v95.01c-7.979,1.598-36.725,6.389-64.674,6.389c-8.779,0-17.561,0-25.539-0.801 c-11.182-0.797-47.91,0-75.855-25.549c-31.938-27.943-30.339-70.258-30.339-108.584V205.188h-60.68v-75.052h60.68V0h121.354 v130.939h81.438v75.048H813.066z",fill:"#1055c4"}),k.createElement("path",{d:"M1267.896,479.039c-55.092,64.674-126.15,71.859-156.49,71.859c-18.363,0-55.088-2.395-97.404-23.156 c-78.242-38.324-109.379-112.574-109.379-195.611c0-19.16,0.797-59.079,20.754-105.383 c47.107-109.387,150.102-118.169,188.424-118.169c32.736,0,106.189,6.387,162.078,76.651c4.787,6.387,7.984,11.178,15.967,23.953 l-91.02,51.895c-0.797-2.396-7.186-15.172-13.57-23.955c-7.188-8.783-30.428-31.756-67.861-34.327 c-21.539-1.479-45.242,4.065-66.498,21.07c-41.398,33.119-44.307,96.297-44.307,104.276c0,35.928,9.92,84.969,39.918,105.393 c22.141,15.076,48.238,22.283,74.875,19.957c39.779-3.475,61.498-27.129,68.664-37.521c4.592-6.658,7.168-10.158,14.744-23.318 l89.842,46.467C1287.852,452.697,1278.275,467.062,1267.896,479.039",fill:"#1055c4"}),k.createElement("g",null,k.createElement("path",{d:"M1311.33,509.396c0-11.961,8.439-39.393,43.617-39.393c20.395,0,39.395,16.178,39.395,42.209 c0,23.213-17.588,38.686-39.395,38.686C1339.465,550.898,1311.33,542.457,1311.33,509.396z",fill:"#1055c4"})))),Dae=e=>k.createElement("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 317.4 115.8",style:{enableBackground:"new 0 0 317.4 115.8"},xmlSpace:"preserve",...e},k.createElement("g",{id:"Layer_1-2"},k.createElement("path",{fill:"#06549E",d:"M38.1,5.1l-5.1,9.7c-5.7-2.9-10.3-4.4-13.6-4.4c-1.9,0-3.1,0.7-3.1,2c0,4.7,21.7,2.6,21.7,16.8 c0,8.6-7.4,13.8-18.3,13.8c-7,0.1-13.8-1.9-19.6-5.9l4.8-9.7c5.2,3.4,10.5,5.1,15.1,5.1c2.1,0,3.5-0.6,3.5-1.9 C23.3,25.9,2,28.2,2,14C2,5.2,9.3,0,19.8,0C26.2,0.1,32.5,1.8,38.1,5.1z"}),k.createElement("path",{fill:"#06549E",d:"M84.5,15.9v26.4H69v-22c0-4.1-2.4-6.7-6-6.7c-4.2,0.1-6.8,3.4-6.8,8.1v20.6H40.7V0.6h15.5v6.4 c2.9-4.6,7.4-7,13.2-7C78.3,0,84.5,6.2,84.5,15.9z"}),k.createElement("path",{fill:"#06549E",d:"M127.9,15.2v27h-15.2v-4.6c-2.5,3.4-6.7,5.4-12.2,5.4c-8.9,0-14.1-5.3-14.1-13.1c0-8,5.6-12.5,16.1-12.6h10.2 v-0.1c0-3.4-2.4-5.5-7.2-5.5c-4.3,0.2-8.6,1.2-12.6,3L89.2,4.3c6.3-2.7,13.2-4.2,20.1-4.3C121,0,127.9,5.6,127.9,15.2z M112.8,28.6 v-3.8h-7c-3.1,0-4.7,1.3-4.7,3.9s1.7,4.1,4.7,4.1C108.8,32.9,111.5,31.2,112.8,28.6z"}),k.createElement("path",{fill:"#06549E",d:"M176.8,21.8c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.8-11.8-5.4v20.1h-15.5V0.7h15.5v4.8 c2.8-3.5,7-5.4,11.4-5.4C169.2,0.2,176.8,8.8,176.8,21.8z M161.2,21.4c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C158.2,30.7,161.2,26.9,161.2,21.4z"}),k.createElement("path",{fill:"#06549E",d:"M224.7,21.8c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v20.1h-15.5V0.7H194v4.8 c2.8-3.5,7-5.4,11.4-5.4C217,0.2,224.7,8.8,224.7,21.8z M209.1,21.4c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C206.1,30.7,209.1,26.9,209.1,21.4z"}),k.createElement("path",{fill:"#06549E",d:"M250.6,45.9c-3.3,8.2-9,12-17.3,12c-4.9,0.1-9.6-1.6-13.4-4.6l6.4-10.3c1.5,1.5,3.5,2.4,5.6,2.4 c1.9,0.1,3.7-0.9,4.5-2.7l0.8-1.5L220,0.7h15.8l9.1,25.5l7.7-25.5H268L250.6,45.9z"}),k.createElement("path",{fill:"#E42833",d:"M38.1,63.5l-5.1,9.7c-5.7-2.9-10.3-4.4-13.6-4.4c-1.9,0-3.1,0.7-3.1,2c0,4.7,21.7,2.6,21.7,16.8 c0,8.6-7.4,13.8-18.3,13.8c-7,0.1-13.8-1.9-19.6-5.9l4.8-9.7C10,89.2,15.2,91,19.8,91c2.1,0,3.5-0.6,3.5-1.9 C23.3,84.3,2,86.6,2,72.3c0-8.7,7.3-13.9,17.8-13.9C26.2,58.5,32.5,60.2,38.1,63.5z"}),k.createElement("path",{fill:"#E42833",d:"M84.5,74.3v26.4H69v-22c0-4.1-2.3-6.8-6-6.8c-4.2,0.1-6.8,3.4-6.8,8.1v20.6H40.7V43.9h15.5v21.6 c2.9-4.6,7.4-7,13.2-7C78.4,58.5,84.5,64.7,84.5,74.3z"}),k.createElement("path",{fill:"#E42833",d:"M127.9,79.9c0,12.9-8.2,21.4-20.7,21.4s-20.7-8.5-20.7-21.4s8.2-21.4,20.7-21.4S127.9,67,127.9,79.9z M99.5,79.8c0,5.6,3.1,9.3,7.8,9.3s7.7-3.7,7.7-9.3s-3.1-9.3-7.7-9.3S99.5,74.3,99.5,79.8z"}),k.createElement("path",{fill:"#E42833",d:"M176.8,80.3c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v19.7h-15.5V59.2h15.5v4.8 c2.8-3.5,7-5.4,11.4-5.4C169.2,58.7,176.8,67.3,176.8,80.3z M161.2,79.9c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3 s3.1,9.3,7.5,9.3C158.2,89.2,161.2,85.4,161.2,79.9z"}),k.createElement("path",{fill:"#E42833",d:"M224.7,80.3c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v19.7h-15.5V59.2H194v4.8 c2.8-3.5,7-5.5,11.4-5.4C217,58.7,224.7,67.3,224.7,80.3z M209.1,79.9c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C206.1,89.2,209.1,85.4,209.1,79.9z"}),k.createElement("path",{fill:"#E42833",d:"M269.8,83.8h-28c1.2,4,4.1,6.2,8.1,6.2c3.5-0.1,6.7-1.6,9.2-4l8,7.9c-4.4,4.8-10.6,7.5-18.5,7.5 c-13.9,0-22.4-8.4-22.4-21.2c0-13,8.8-21.5,22-21.5C262.7,58.7,270.7,68.5,269.8,83.8z M254.5,76.2c0.1-4.1-2.5-7-6.3-7 c-3.6,0-6,2.8-6.8,7H254.5z"}),k.createElement("path",{fill:"#E42833",d:"M286.6,65.8c2.8-4.6,7.8-7.3,13.1-7.2v13.9c-8-1-13.1,2.4-13.1,8.4v19.9h-15.5V59.2h15.5V65.8z"}),k.createElement("path",{fill:"#E42833",d:"M276.3,8.1c0.4-1.6,1.7-3.4,3.3-3.4h4.4c0,4.4,0.8,4.4,1.7,4.4h10c0.9,0,1.7,0,1.7-4.4h4.4 c1.6,0,2.9,1.9,3.3,3.4l2.4,11.6h3.5L308.2,7c-0.7-3.1-3.4-6.3-6.5-6.3h-22.2c-3.1,0-5.8,3.3-6.5,6.3l-2.6,12.6h3.5L276.3,8.1z"}),k.createElement("path",{fill:"#06549E",d:"M281.2,41c-4.1,0-7.4,3.3-7.4,7.4c0,4.1,3.3,7.4,7.4,7.4c4.1,0,7.4-3.3,7.4-7.4c0,0,0,0,0,0 C288.6,44.3,285.3,41,281.2,41C281.2,41,281.2,41,281.2,41z M283.7,48.4c0,1.4-1.1,2.5-2.5,2.5s-2.5-1.1-2.5-2.5s1.1-2.5,2.5-2.5 l0,0C282.5,45.9,283.7,47,283.7,48.4L283.7,48.4z"}),k.createElement("path",{fill:"#06549E",d:"M300,41c-4.1,0-7.4,3.3-7.4,7.4s3.3,7.4,7.4,7.4c4.1,0,7.4-3.3,7.4-7.4c0,0,0,0,0,0 C307.4,44.3,304.1,41,300,41z M302.5,48.4c0,1.4-1.2,2.5-2.6,2.5c-1.4,0-2.5-1.2-2.5-2.6c0-1.4,1.1-2.5,2.5-2.5 C301.4,45.8,302.5,46.9,302.5,48.4C302.6,48.4,302.6,48.4,302.5,48.4L302.5,48.4z"}),k.createElement("path",{fill:"#E42833",d:"M314.1,19.7h-46.9c-1.8,0-3.3,1.5-3.3,3.3s1.5,3.3,3.3,3.3l0,0h0.4l3,17.9c0.2,1.1,0.9,2.2,1.9,2.8 c0.6-4.9,5.1-8.3,9.9-7.7c4.2,0.5,7.4,3.9,7.7,8.1h1.1c0.4-4.9,4.6-8.5,9.5-8.2c4.2,0.3,7.6,3.5,8.1,7.7c1-0.7,1.7-1.7,1.9-2.8 l3-17.9h0.4c1.8,0,3.3-1.5,3.3-3.3S315.9,19.6,314.1,19.7L314.1,19.7z M275.3,28.3h0.1c0.1,0,0.3,0,0.4,0H275.3z M285.4,28.3h0.2 h0.2H285.4z M295.4,28.3h0.2h0.2H295.4z M305.4,28.3c0.1,0,0.3,0,0.4,0h0.1H305.4z"}),k.createElement("path",{fill:"#E42833",d:"M285.5,29h0.4h-0.2H285.5z"}),k.createElement("path",{fill:"#E42833",d:"M295.3,29h0.4h-0.2H295.3z"}),k.createElement("path",{fill:"#E42833",d:"M305,29h0.5h-0.1C305.3,29,305.1,29,305,29z"}))),Fae={"leaseloco-logo":zae,"snappy-logo":Dae,"hungrrr-logo":Vae,"mtc-logo":Oae},Bae=({id:e,data:t,hasHeader:a=!1})=>{const i=t1.useMounted()?"":Ue.skeleton;return _.jsx("div",{id:e,className:Y(Ue.timeline,a&&Ue.header),children:_.jsxs("div",{className:Ue.container,children:[_.jsxs("div",{className:Ue.intro,children:[_.jsx("h2",{className:i,children:"My timeline"}),_.jsx("h3",{className:i,children:"Explore key roles and milestones over the years"})]}),_.jsx("div",{className:Ue.list,children:t.map((c,r)=>{const s=Fae[c.icon];return _.jsxs("div",{className:Ue.item,children:[_.jsxs("div",{className:Ue.left,children:[_.jsx("span",{className:Y(Ue.dot,i)}),_.jsxs("div",{className:Ue.text,children:[_.jsx("h4",{className:i,children:c.date}),s&&_.jsx(s,{height:"32",className:i})]})]}),_.jsxs("div",{className:Ue.right,children:[_.jsx("h4",{className:i,children:c.location}),_.jsx("h5",{className:i,children:c.role}),c.description.map((d,l)=>_.jsx("p",{className:i,children:d},l))]})]},r)})})]})})},Uae="card-module__container___IbiZO",Zae="card-module__border___EGmYn",Gae="card-module__padding___EM-vf",Wae="card-module__title___-UuxP",Xae="card-module__content___dH-X7",fa={container:Uae,border:Zae,padding:Gae,title:Wae,content:Xae},Kae=({children:e,title:t,border:a=!1,padding:o=!0,className:i=""})=>_.jsxs("div",{className:Y(fa.container,a&&fa.border,o&&fa.padding,i),children:[t&&_.jsx("div",{className:fa.title,children:t}),_.jsx("div",{className:fa.content,children:e})]}),Yae="footer-module__footer___5PSsO",Qae="footer-module__skeleton___xsTB0",Jae="footer-module__container___VZcu-",eoe="footer-module__social___B-T-l",Qa={footer:Yae,skeleton:Qae,container:Jae,social:eoe},toe=()=>{const e=t1.useMounted(),t=new Date().getFullYear();return _.jsx("div",{className:Qa.footer,children:_.jsxs("div",{className:Qa.container,children:[_.jsx(hx,{className:Qa.social,isMounted:e}),_.jsxs("p",{className:Y(!e&&Qa.skeleton),children:["© ",t," Michael Allen"]})]})})},noe="navigation-module__nav___xApEM",aoe="navigation-module__skeleton___5r35M",ooe="navigation-module__active___cFzkK",l1={nav:noe,skeleton:aoe,active:ooe},ioe=({activeSection:e,className:t})=>{const a=t1.useMounted();return _.jsx("div",{className:Y(l1.nav,!a&&l1.skeleton,t),children:_.jsxs("ul",{children:[_.jsx("li",{children:_.jsx(Wn,{href:"/",className:Y(e==="banner"&&l1.active),children:"Home"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#about-me",className:Y(e==="about-me"&&l1.active),children:"About me"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#projects",className:Y(e==="projects"&&l1.active),children:"Projects"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#timeline",className:Y(e==="timeline"&&l1.active),children:"Timeline"})}),_.jsx("li",{children:_.jsx(Wn,{href:"mailto:michael@uplord.co.uk",className:Y(e==="stack"&&l1.active),children:"Contact"})})]})})},ux=q.createContext({});function bv(e){const t=q.useRef(null);return t.current===null&&(t.current=e()),t.current}const px=typeof window<"u",Wb=px?q.useLayoutEffect:q.useEffect,Sv=q.createContext(null);function yx(e,t){e.indexOf(t)===-1&&e.push(t)}function kx(e,t){const a=e.indexOf(t);a>-1&&e.splice(a,1)}const o1=(e,t,a)=>a>t?t:a<e?e:a;let ha=()=>{},i1=()=>{};process.env.NODE_ENV!=="production"&&(ha=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},i1=(e,t)=>{if(!e)throw new Error(t)});const c1={},Xb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Kb(e){return typeof e=="object"&&e!==null}const Yb=e=>/^0[^.\s]+$/u.test(e);function fx(e){let t;return()=>(t===void 0&&(t=e()),t)}const Be=e=>e,coe=(e,t)=>a=>t(e(a)),Ea=(...e)=>e.reduce(coe),wa=(e,t,a)=>{const o=t-e;return o===0?1:(a-e)/o};class mx{constructor(){this.subscriptions=[]}add(t){return yx(this.subscriptions,t),()=>kx(this.subscriptions,t)}notify(t,a,o){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,a,o);else for(let c=0;c<i;c++){const r=this.subscriptions[c];r&&r(t,a,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ge=e=>e*1e3,Je=e=>e/1e3;function Qb(e,t){return t?e*(1e3/t):0}const tw=new Set;function Mx(e,t,a){e||tw.has(t)||(console.warn(t),tw.add(t))}const Jb=(e,t,a)=>(((1-3*a+3*t)*e+(3*a-6*t))*e+3*t)*e,roe=1e-7,soe=12;function doe(e,t,a,o,i){let c,r,s=0;do r=t+(a-t)/2,c=Jb(r,o,i)-e,c>0?a=r:t=r;while(Math.abs(c)>roe&&++s<soe);return r}function Ra(e,t,a,o){if(e===t&&a===o)return Be;const i=c=>doe(c,0,1,e,a);return c=>c===0||c===1?c:Jb(i(c),t,o)}const eS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tS=e=>t=>1-e(1-t),nS=Ra(.33,1.53,.69,.99),_x=tS(nS),aS=eS(_x),oS=e=>(e*=2)<1?.5*_x(e):.5*(2-Math.pow(2,-10*(e-1))),gx=e=>1-Math.sin(Math.acos(e)),iS=tS(gx),cS=eS(gx),hoe=Ra(.42,0,1,1),loe=Ra(0,0,.58,1),rS=Ra(.42,0,.58,1),uoe=e=>Array.isArray(e)&&typeof e[0]!="number",sS=e=>Array.isArray(e)&&typeof e[0]=="number",nw={linear:Be,easeIn:hoe,easeInOut:rS,easeOut:loe,circIn:gx,circInOut:cS,circOut:iS,backIn:_x,backInOut:aS,backOut:nS,anticipate:oS},poe=e=>typeof e=="string",aw=e=>{if(sS(e)){i1(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,a,o,i]=e;return Ra(t,a,o,i)}else if(poe(e))return i1(nw[e]!==void 0,`Invalid easing type '${e}'`),nw[e];return e},Ja=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],ow={value:null};function yoe(e,t){let a=new Set,o=new Set,i=!1,c=!1;const r=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1},d=0;function l(u){r.has(u)&&(h.schedule(u),e()),d++,u(s)}const h={schedule:(u,p=!1,y=!1)=>{const g=y&&i?a:o;return p&&r.add(u),g.has(u)||g.add(u),u},cancel:u=>{o.delete(u),r.delete(u)},process:u=>{if(s=u,i){c=!0;return}i=!0,[a,o]=[o,a],a.forEach(l),t&&ow.value&&ow.value.frameloop[t].push(d),d=0,a.clear(),i=!1,c&&(c=!1,h.process(u))}};return h}const koe=40;function dS(e,t){let a=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},c=()=>a=!0,r=Ja.reduce((f,w)=>(f[w]=yoe(c,t?w:void 0),f),{}),{setup:s,read:d,resolveKeyframes:l,preUpdate:h,update:u,preRender:p,render:y,postRender:C}=r,g=()=>{const f=c1.useManualTiming?i.timestamp:performance.now();a=!1,c1.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(f-i.timestamp,koe),1)),i.timestamp=f,i.isProcessing=!0,s.process(i),d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),C.process(i),i.isProcessing=!1,a&&t&&(o=!1,e(g))},x=()=>{a=!0,o=!0,i.isProcessing||e(g)};return{schedule:Ja.reduce((f,w)=>{const M=r[w];return f[w]=(S,A=!1,P=!1)=>(a||x(),M.schedule(S,A,P)),f},{}),cancel:f=>{for(let w=0;w<Ja.length;w++)r[Ja[w]].cancel(f)},state:i,steps:r}}const{schedule:be,cancel:s1,state:Ae,steps:vC}=dS(typeof requestAnimationFrame<"u"?requestAnimationFrame:Be,!0);let lv;function foe(){lv=void 0}const He={now:()=>(lv===void 0&&He.set(Ae.isProcessing||c1.useManualTiming?Ae.timestamp:performance.now()),lv),set:e=>{lv=e,queueMicrotask(foe)}},hS=e=>t=>typeof t=="string"&&t.startsWith(e),vx=hS("--"),moe=hS("var(--"),Cx=e=>moe(e)?Moe.test(e.split("/*")[0].trim()):!1,Moe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,la={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ba={...la,transform:e=>o1(0,1,e)},eo={...la,default:1},va=e=>Math.round(e*1e5)/1e5,xx=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function _oe(e){return e==null}const goe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Lx=(e,t)=>a=>!!(typeof a=="string"&&goe.test(a)&&a.startsWith(e)||t&&!_oe(a)&&Object.prototype.hasOwnProperty.call(a,t)),lS=(e,t,a)=>o=>{if(typeof o!="string")return o;const[i,c,r,s]=o.match(xx);return{[e]:parseFloat(i),[t]:parseFloat(c),[a]:parseFloat(r),alpha:s!==void 0?parseFloat(s):1}},voe=e=>o1(0,255,e),CC={...la,transform:e=>Math.round(voe(e))},Xn={test:Lx("rgb","red"),parse:lS("red","green","blue"),transform:({red:e,green:t,blue:a,alpha:o=1})=>"rgba("+CC.transform(e)+", "+CC.transform(t)+", "+CC.transform(a)+", "+va(ba.transform(o))+")"};function Coe(e){let t="",a="",o="",i="";return e.length>5?(t=e.substring(1,3),a=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),a=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,a+=a,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}const DC={test:Lx("#"),parse:Coe,transform:Xn.transform},$a=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),r1=$a("deg"),e1=$a("%"),de=$a("px"),xoe=$a("vh"),Loe=$a("vw"),iw={...e1,parse:e=>e1.parse(e)/100,transform:e=>e1.transform(e*100)},na={test:Lx("hsl","hue"),parse:lS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:a,alpha:o=1})=>"hsla("+Math.round(e)+", "+e1.transform(va(t))+", "+e1.transform(va(a))+", "+va(ba.transform(o))+")"},Ie={test:e=>Xn.test(e)||DC.test(e)||na.test(e),parse:e=>Xn.test(e)?Xn.parse(e):na.test(e)?na.parse(e):DC.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Xn.transform(e):na.transform(e),getAnimatableNone:e=>{const t=Ie.parse(e);return t.alpha=0,Ie.transform(t)}},woe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function boe(e){var t,a;return isNaN(e)&&typeof e=="string"&&(((t=e.match(xx))==null?void 0:t.length)||0)+(((a=e.match(woe))==null?void 0:a.length)||0)>0}const uS="number",pS="color",Soe="var",Ioe="var(",cw="${}",Noe=/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 Sa(e){const t=e.toString(),a=[],o={color:[],number:[],var:[]},i=[];let c=0;const s=t.replace(Noe,d=>(Ie.test(d)?(o.color.push(c),i.push(pS),a.push(Ie.parse(d))):d.startsWith(Ioe)?(o.var.push(c),i.push(Soe),a.push(d)):(o.number.push(c),i.push(uS),a.push(parseFloat(d))),++c,cw)).split(cw);return{values:a,split:s,indexes:o,types:i}}function yS(e){return Sa(e).values}function kS(e){const{split:t,types:a}=Sa(e),o=t.length;return i=>{let c="";for(let r=0;r<o;r++)if(c+=t[r],i[r]!==void 0){const s=a[r];s===uS?c+=va(i[r]):s===pS?c+=Ie.transform(i[r]):c+=i[r]}return c}}const Aoe=e=>typeof e=="number"?0:Ie.test(e)?Ie.getAnimatableNone(e):e;function Poe(e){const t=yS(e);return kS(e)(t.map(Aoe))}const d1={test:boe,parse:yS,createTransformer:kS,getAnimatableNone:Poe};function xC(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(t-e)*6*a:a<1/2?t:a<2/3?e+(t-e)*(2/3-a)*6:e}function Eoe({hue:e,saturation:t,lightness:a,alpha:o}){e/=360,t/=100,a/=100;let i=0,c=0,r=0;if(!t)i=c=r=a;else{const s=a<.5?a*(1+t):a+t-a*t,d=2*a-s;i=xC(d,s,e+1/3),c=xC(d,s,e),r=xC(d,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(c*255),blue:Math.round(r*255),alpha:o}}function fv(e,t){return a=>a>0?t:e}const we=(e,t,a)=>e+(t-e)*a,LC=(e,t,a)=>{const o=e*e,i=a*(t*t-o)+o;return i<0?0:Math.sqrt(i)},Roe=[DC,Xn,na],$oe=e=>Roe.find(t=>t.test(e));function rw(e){const t=$oe(e);if(ha(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let a=t.parse(e);return t===na&&(a=Eoe(a)),a}const sw=(e,t)=>{const a=rw(e),o=rw(t);if(!a||!o)return fv(e,t);const i={...a};return c=>(i.red=LC(a.red,o.red,c),i.green=LC(a.green,o.green,c),i.blue=LC(a.blue,o.blue,c),i.alpha=we(a.alpha,o.alpha,c),Xn.transform(i))},FC=new Set(["none","hidden"]);function qoe(e,t){return FC.has(e)?a=>a<=0?e:t:a=>a>=1?t:e}function Toe(e,t){return a=>we(e,t,a)}function wx(e){return typeof e=="number"?Toe:typeof e=="string"?Cx(e)?fv:Ie.test(e)?sw:Voe:Array.isArray(e)?fS:typeof e=="object"?Ie.test(e)?sw:joe:fv}function fS(e,t){const a=[...e],o=a.length,i=e.map((c,r)=>wx(c)(c,t[r]));return c=>{for(let r=0;r<o;r++)a[r]=i[r](c);return a}}function joe(e,t){const a={...e,...t},o={};for(const i in a)e[i]!==void 0&&t[i]!==void 0&&(o[i]=wx(e[i])(e[i],t[i]));return i=>{for(const c in o)a[c]=o[c](i);return a}}function Hoe(e,t){const a=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const c=t.types[i],r=e.indexes[c][o[c]],s=e.values[r]??0;a[i]=s,o[c]++}return a}const Voe=(e,t)=>{const a=d1.createTransformer(t),o=Sa(e),i=Sa(t);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?FC.has(e)&&!i.values.length||FC.has(t)&&!o.values.length?qoe(e,t):Ea(fS(Hoe(o,i),i.values),a):(ha(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),fv(e,t))};function mS(e,t,a){return typeof e=="number"&&typeof t=="number"&&typeof a=="number"?we(e,t,a):wx(e)(e,t)}const zoe=e=>{const t=({timestamp:a})=>e(a);return{start:(a=!0)=>be.update(t,a),stop:()=>s1(t),now:()=>Ae.isProcessing?Ae.timestamp:He.now()}},MS=(e,t,a=10)=>{let o="";const i=Math.max(Math.round(t/a),2);for(let c=0;c<i;c++)o+=Math.round(e(c/(i-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},mv=2e4;function bx(e){let t=0;const a=50;let o=e.next(t);for(;!o.done&&t<mv;)t+=a,o=e.next(t);return t>=mv?1/0:t}function Ooe(e,t=100,a){const o=a({...e,keyframes:[0,t]}),i=Math.min(bx(o),mv);return{type:"keyframes",ease:c=>o.next(i*c).value/t,duration:Je(i)}}const Doe=5;function _S(e,t,a){const o=Math.max(t-Doe,0);return Qb(a-e(o),t-o)}const Le={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},wC=.001;function Foe({duration:e=Le.duration,bounce:t=Le.bounce,velocity:a=Le.velocity,mass:o=Le.mass}){let i,c;ha(e<=Ge(Le.maxDuration),"Spring duration must be 10 seconds or less");let r=1-t;r=o1(Le.minDamping,Le.maxDamping,r),e=o1(Le.minDuration,Le.maxDuration,Je(e)),r<1?(i=l=>{const h=l*r,u=h*e,p=h-a,y=BC(l,r),C=Math.exp(-u);return wC-p/y*C},c=l=>{const u=l*r*e,p=u*a+a,y=Math.pow(r,2)*Math.pow(l,2)*e,C=Math.exp(-u),g=BC(Math.pow(l,2),r);return(-i(l)+wC>0?-1:1)*((p-y)*C)/g}):(i=l=>{const h=Math.exp(-l*e),u=(l-a)*e+1;return-wC+h*u},c=l=>{const h=Math.exp(-l*e),u=(a-l)*(e*e);return h*u});const s=5/e,d=Uoe(i,c,s);if(e=Ge(e),isNaN(d))return{stiffness:Le.stiffness,damping:Le.damping,duration:e};{const l=Math.pow(d,2)*o;return{stiffness:l,damping:r*2*Math.sqrt(o*l),duration:e}}}const Boe=12;function Uoe(e,t,a){let o=a;for(let i=1;i<Boe;i++)o=o-e(o)/t(o);return o}function BC(e,t){return e*Math.sqrt(1-t*t)}const Zoe=["duration","bounce"],Goe=["stiffness","damping","mass"];function dw(e,t){return t.some(a=>e[a]!==void 0)}function Woe(e){let t={velocity:Le.velocity,stiffness:Le.stiffness,damping:Le.damping,mass:Le.mass,isResolvedFromDuration:!1,...e};if(!dw(e,Goe)&&dw(e,Zoe))if(e.visualDuration){const a=e.visualDuration,o=2*Math.PI/(a*1.2),i=o*o,c=2*o1(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Le.mass,stiffness:i,damping:c}}else{const a=Foe(e);t={...t,...a,mass:Le.mass},t.isResolvedFromDuration=!0}return t}function Mv(e=Le.visualDuration,t=Le.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:i}=a;const c=a.keyframes[0],r=a.keyframes[a.keyframes.length-1],s={done:!1,value:c},{stiffness:d,damping:l,mass:h,duration:u,velocity:p,isResolvedFromDuration:y}=Woe({...a,velocity:-Je(a.velocity||0)}),C=p||0,g=l/(2*Math.sqrt(d*h)),x=r-c,m=Je(Math.sqrt(d/h)),N=Math.abs(x)<5;o||(o=N?Le.restSpeed.granular:Le.restSpeed.default),i||(i=N?Le.restDelta.granular:Le.restDelta.default);let f;if(g<1){const M=BC(m,g);f=S=>{const A=Math.exp(-g*m*S);return r-A*((C+g*m*x)/M*Math.sin(M*S)+x*Math.cos(M*S))}}else if(g===1)f=M=>r-Math.exp(-m*M)*(x+(C+m*x)*M);else{const M=m*Math.sqrt(g*g-1);f=S=>{const A=Math.exp(-g*m*S),P=Math.min(M*S,300);return r-A*((C+g*m*x)*Math.sinh(P)+M*x*Math.cosh(P))/M}}const w={calculatedDuration:y&&u||null,next:M=>{const S=f(M);if(y)s.done=M>=u;else{let A=M===0?C:0;g<1&&(A=M===0?Ge(C):_S(f,M,S));const P=Math.abs(A)<=o,H=Math.abs(r-S)<=i;s.done=P&&H}return s.value=s.done?r:S,s},toString:()=>{const M=Math.min(bx(w),mv),S=MS(A=>w.next(M*A).value,M,30);return M+"ms "+S},toTransition:()=>{}};return w}Mv.applyToOptions=e=>{const t=Ooe(e,100,Mv);return e.ease=t.ease,e.duration=Ge(t.duration),e.type="keyframes",e};function UC({keyframes:e,velocity:t=0,power:a=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:c=500,modifyTarget:r,min:s,max:d,restDelta:l=.5,restSpeed:h}){const u=e[0],p={done:!1,value:u},y=P=>s!==void 0&&P<s||d!==void 0&&P>d,C=P=>s===void 0?d:d===void 0||Math.abs(s-P)<Math.abs(d-P)?s:d;let g=a*t;const x=u+g,m=r===void 0?x:r(x);m!==x&&(g=m-u);const N=P=>-g*Math.exp(-P/o),f=P=>m+N(P),w=P=>{const H=N(P),E=f(P);p.done=Math.abs(H)<=l,p.value=p.done?m:E};let M,S;const A=P=>{y(p.value)&&(M=P,S=Mv({keyframes:[p.value,C(p.value)],velocity:_S(f,P,p.value),damping:i,stiffness:c,restDelta:l,restSpeed:h}))};return A(0),{calculatedDuration:null,next:P=>{let H=!1;return!S&&M===void 0&&(H=!0,w(P),A(P)),M!==void 0&&P>=M?S.next(P-M):(!H&&w(P),p)}}}function Xoe(e,t,a){const o=[],i=a||c1.mix||mS,c=e.length-1;for(let r=0;r<c;r++){let s=i(e[r],e[r+1]);if(t){const d=Array.isArray(t)?t[r]||Be:t;s=Ea(d,s)}o.push(s)}return o}function Koe(e,t,{clamp:a=!0,ease:o,mixer:i}={}){const c=e.length;if(i1(c===t.length,"Both input and output ranges must be the same length"),c===1)return()=>t[0];if(c===2&&t[0]===t[1])return()=>t[1];const r=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Xoe(t,o,i),d=s.length,l=h=>{if(r&&h<e[0])return t[0];let u=0;if(d>1)for(;u<e.length-2&&!(h<e[u+1]);u++);const p=wa(e[u],e[u+1],h);return s[u](p)};return a?h=>l(o1(e[0],e[c-1],h)):l}function Yoe(e,t){const a=e[e.length-1];for(let o=1;o<=t;o++){const i=wa(0,t,o);e.push(we(a,1,i))}}function Qoe(e){const t=[0];return Yoe(t,e.length-1),t}function Joe(e,t){return e.map(a=>a*t)}function e0e(e,t){return e.map(()=>t||rS).splice(0,e.length-1)}function aa({duration:e=300,keyframes:t,times:a,ease:o="easeInOut"}){const i=uoe(o)?o.map(aw):aw(o),c={done:!1,value:t[0]},r=Joe(a&&a.length===t.length?a:Qoe(t),e),s=Koe(r,t,{ease:Array.isArray(i)?i:e0e(t,i)});return{calculatedDuration:e,next:d=>(c.value=s(d),c.done=d>=e,c)}}const t0e=e=>e!==null;function Sx(e,{repeat:t,repeatType:a="loop"},o,i=1){const c=e.filter(t0e),s=i<0||t&&a!=="loop"&&t%2===1?0:c.length-1;return!s||o===void 0?c[s]:o}const n0e={decay:UC,inertia:UC,tween:aa,keyframes:aa,spring:Mv};function gS(e){typeof e.type=="string"&&(e.type=n0e[e.type])}class Ix{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}}const a0e=e=>e/100;class Nx extends Ix{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var o,i;const{motionValue:a}=this.options;a&&a.updatedAt!==He.now()&&this.tick(He.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(o=this.options).onStop)==null||i.call(o))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;gS(t);const{type:a=aa,repeat:o=0,repeatDelay:i=0,repeatType:c,velocity:r=0}=t;let{keyframes:s}=t;const d=a||aa;process.env.NODE_ENV!=="production"&&d!==aa&&i1(s.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`),d!==aa&&typeof s[0]!="number"&&(this.mixKeyframes=Ea(a0e,mS(s[0],s[1])),s=[0,100]);const l=d({...t,keyframes:s});c==="mirror"&&(this.mirroredGenerator=d({...t,keyframes:[...s].reverse(),velocity:-r})),l.calculatedDuration===null&&(l.calculatedDuration=bx(l));const{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+i,this.totalDuration=this.resolvedDuration*(o+1)-i,this.generator=l}updateTime(t){const a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){const{generator:o,totalDuration:i,mixKeyframes:c,mirroredGenerator:r,resolvedDuration:s,calculatedDuration:d}=this;if(this.startTime===null)return o.next(0);const{delay:l=0,keyframes:h,repeat:u,repeatType:p,repeatDelay:y,type:C,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);const m=this.currentTime-l*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?m<0:m>i;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let f=this.currentTime,w=o;if(u){const P=Math.min(this.currentTime,i)/s;let H=Math.floor(P),E=P%1;!E&&P>=1&&(E=1),E===1&&H--,H=Math.min(H,u+1),!!(H%2)&&(p==="reverse"?(E=1-E,y&&(E-=y/s)):p==="mirror"&&(w=r)),f=o1(0,1,E)*s}const M=N?{done:!1,value:h[0]}:w.next(f);c&&(M.value=c(M.value));let{done:S}=M;!N&&d!==null&&(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const A=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return A&&C!==UC&&(M.value=Sx(h,this.options,x,this.speed)),g&&g(M.value),A&&this.finish(),M}then(t,a){return this.finished.then(t,a)}get duration(){return Je(this.calculatedDuration)}get time(){return Je(this.currentTime)}set time(t){var a;t=Ge(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(a=this.driver)==null||a.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(He.now());const a=this.playbackSpeed!==t;this.playbackSpeed=t,a&&(this.time=Je(this.currentTime))}play(){var i,c;if(this.isStopped)return;const{driver:t=zoe,startTime:a}=this.options;this.driver||(this.driver=t(r=>this.tick(r))),(c=(i=this.options).onPlay)==null||c.call(i);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=a??o),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(He.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,a;this.notifyFinished(),this.teardown(),this.state="finished",(a=(t=this.options).onComplete)==null||a.call(t)}cancel(){var t,a;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(a=(t=this.options).onCancel)==null||a.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var a;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(a=this.driver)==null||a.stop(),t.observe(this)}}function o0e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Kn=e=>e*180/Math.PI,ZC=e=>{const t=Kn(Math.atan2(e[1],e[0]));return GC(t)},i0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ZC,rotateZ:ZC,skewX:e=>Kn(Math.atan(e[1])),skewY:e=>Kn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},GC=e=>(e=e%360,e<0&&(e+=360),e),hw=ZC,lw=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),uw=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),c0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:lw,scaleY:uw,scale:e=>(lw(e)+uw(e))/2,rotateX:e=>GC(Kn(Math.atan2(e[6],e[5]))),rotateY:e=>GC(Kn(Math.atan2(-e[2],e[0]))),rotateZ:hw,rotate:hw,skewX:e=>Kn(Math.atan(e[4])),skewY:e=>Kn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function WC(e){return e.includes("scale")?1:0}function XC(e,t){if(!e||e==="none")return WC(t);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(a)o=c0e,i=a;else{const s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=i0e,i=s}if(!i)return WC(t);const c=o[t],r=i[1].split(",").map(s0e);return typeof c=="function"?c(r):r[c]}const r0e=(e,t)=>{const{transform:a="none"}=getComputedStyle(e);return XC(a,t)};function s0e(e){return parseFloat(e.trim())}const ua=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pa=new Set(ua),pw=e=>e===la||e===de,d0e=new Set(["x","y","z"]),h0e=ua.filter(e=>!d0e.has(e));function l0e(e){const t=[];return h0e.forEach(a=>{const o=e.getValue(a);o!==void 0&&(t.push([a,o.get()]),o.set(a.startsWith("scale")?1:0))}),t}const Yn={width:({x:e},{paddingLeft:t="0",paddingRight:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),height:({y:e},{paddingTop:t="0",paddingBottom:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),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})=>XC(t,"x"),y:(e,{transform:t})=>XC(t,"y")};Yn.translateX=Yn.x;Yn.translateY=Yn.y;const Qn=new Set;let KC=!1,YC=!1,QC=!1;function vS(){if(YC){const e=Array.from(Qn).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),a=new Map;t.forEach(o=>{const i=l0e(o);i.length&&(a.set(o,i),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const i=a.get(o);i&&i.forEach(([c,r])=>{var s;(s=o.getValue(c))==null||s.set(r)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}YC=!1,KC=!1,Qn.forEach(e=>e.complete(QC)),Qn.clear()}function CS(){Qn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(YC=!0)})}function u0e(){QC=!0,CS(),vS(),QC=!1}class Ax{constructor(t,a,o,i,c,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=o,this.motionValue=i,this.element=c,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(Qn.add(this),KC||(KC=!0,be.read(CS),be.resolveKeyframes(vS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:a,element:o,motionValue:i}=this;if(t[0]===null){const c=i==null?void 0:i.get(),r=t[t.length-1];if(c!==void 0)t[0]=c;else if(o&&a){const s=o.readValue(a,r);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=r),i&&c===void 0&&i.set(t[0])}o0e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Qn.delete(this)}cancel(){this.state==="scheduled"&&(Qn.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const p0e=e=>e.startsWith("--");function y0e(e,t,a){p0e(t)?e.style.setProperty(t,a):e.style[t]=a}const k0e=fx(()=>window.ScrollTimeline!==void 0),f0e={};function m0e(e,t){const a=fx(e);return()=>f0e[t]??a()}const xS=m0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),_a=([e,t,a,o])=>`cubic-bezier(${e}, ${t}, ${a}, ${o})`,yw={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_a([0,.65,.55,1]),circOut:_a([.55,0,1,.45]),backIn:_a([.31,.01,.66,-.59]),backOut:_a([.33,1.53,.69,.99])};function LS(e,t){if(e)return typeof e=="function"?xS()?MS(e,t):"ease-out":sS(e)?_a(e):Array.isArray(e)?e.map(a=>LS(a,t)||yw.easeOut):yw[e]}function M0e(e,t,a,{delay:o=0,duration:i=300,repeat:c=0,repeatType:r="loop",ease:s="easeOut",times:d}={},l=void 0){const h={[t]:a};d&&(h.offset=d);const u=LS(s,i);Array.isArray(u)&&(h.easing=u);const p={delay:o,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:c+1,direction:r==="reverse"?"alternate":"normal"};return l&&(p.pseudoElement=l),e.animate(h,p)}function wS(e){return typeof e=="function"&&"applyToOptions"in e}function _0e({type:e,...t}){return wS(e)&&xS()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class g0e extends Ix{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:a,name:o,keyframes:i,pseudoElement:c,allowFlatten:r=!1,finalKeyframe:s,onComplete:d}=t;this.isPseudoElement=!!c,this.allowFlatten=r,this.options=t,i1(typeof t.type!="string",`animateMini doesn't support "type" as a string. Did you mean to import { spring } from "motion"?`);const l=_0e(t);this.animation=M0e(a,o,i,l,c),l.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const h=Sx(i,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(h):y0e(a,o,h),this.animation.cancel()}d==null||d(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,a;(a=(t=this.animation).finish)==null||a.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,a;this.isPseudoElement||(a=(t=this.animation).commitStyles)==null||a.call(t)}get duration(){var a,o;const t=((o=(a=this.animation.effect)==null?void 0:a.getComputedTiming)==null?void 0:o.call(a).duration)||0;return Je(Number(t))}get time(){return Je(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ge(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:a}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&k0e()?(this.animation.timeline=t,Be):a(this)}}const bS={anticipate:oS,backInOut:aS,circInOut:cS};function v0e(e){return e in bS}function C0e(e){typeof e.ease=="string"&&v0e(e.ease)&&(e.ease=bS[e.ease])}const kw=10;class x0e extends g0e{constructor(t){C0e(t),gS(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:a,onUpdate:o,onComplete:i,element:c,...r}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}const s=new Nx({...r,autoplay:!1}),d=Ge(this.finishedTime??this.time);a.setWithVelocity(s.sample(d-kw).value,s.sample(d).value,kw),s.stop()}}const fw=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(d1.test(e)||e==="0")&&!e.startsWith("url("));function L0e(e){const t=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==t)return!0}function w0e(e,t,a,o){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],r=fw(i,t),s=fw(c,t);return ha(r===s,`You are trying to animate ${t} from "${i}" to "${c}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${c} via the \`style\` property.`),!r||!s?!1:L0e(e)||(a==="spring"||wS(a))&&o}function Px(e){return Kb(e)&&"offsetHeight"in e}const b0e=new Set(["opacity","clipPath","filter","transform"]),S0e=fx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function I0e(e){var l;const{motionValue:t,name:a,repeatDelay:o,repeatType:i,damping:c,type:r}=e;if(!Px((l=t==null?void 0:t.owner)==null?void 0:l.current))return!1;const{onUpdate:s,transformTemplate:d}=t.owner.getProps();return S0e()&&a&&b0e.has(a)&&(a!=="transform"||!d)&&!s&&!o&&i!=="mirror"&&c!==0&&r!=="inertia"}const N0e=40;class A0e extends Ix{constructor({autoplay:t=!0,delay:a=0,type:o="keyframes",repeat:i=0,repeatDelay:c=0,repeatType:r="loop",keyframes:s,name:d,motionValue:l,element:h,...u}){var C;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=He.now();const p={autoplay:t,delay:a,type:o,repeat:i,repeatDelay:c,repeatType:r,name:d,motionValue:l,element:h,...u},y=(h==null?void 0:h.KeyframeResolver)||Ax;this.keyframeResolver=new y(s,(g,x,m)=>this.onKeyframesResolved(g,x,p,!m),d,l,h),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(t,a,o,i){this.keyframeResolver=void 0;const{name:c,type:r,velocity:s,delay:d,isHandoff:l,onUpdate:h}=o;this.resolvedAt=He.now(),w0e(t,c,r,s)||((c1.instantAnimations||!d)&&(h==null||h(Sx(t,o,a))),t[0]=t[t.length-1],o.duration=0,o.repeat=0);const p={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>N0e?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...o,keyframes:t},y=!l&&I0e(p)?new x0e({...p,element:p.motionValue.owner.current}):new Nx(p);y.finished.then(()=>this.notifyFinished()).catch(Be),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),u0e()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const P0e=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function E0e(e){const t=P0e.exec(e);if(!t)return[,];const[,a,o,i]=t;return[`--${a??o}`,i]}const R0e=4;function SS(e,t,a=1){i1(a<=R0e,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,i]=E0e(e);if(!o)return;const c=window.getComputedStyle(t).getPropertyValue(o);if(c){const r=c.trim();return Xb(r)?parseFloat(r):r}return Cx(i)?SS(i,t,a+1):i}function Ex(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const IS=new Set(["width","height","top","left","right","bottom",...ua]),$0e={test:e=>e==="auto",parse:e=>e},NS=e=>t=>t.test(e),AS=[la,de,e1,r1,Loe,xoe,$0e],mw=e=>AS.find(NS(e));function q0e(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Yb(e):!0}const T0e=new Set(["brightness","contrast","saturate","opacity"]);function j0e(e){const[t,a]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=a.match(xx)||[];if(!o)return e;const i=a.replace(o,"");let c=T0e.has(t)?1:0;return o!==a&&(c*=100),t+"("+c+i+")"}const H0e=/\b([a-z-]*)\(.*?\)/gu,JC={...d1,getAnimatableNone:e=>{const t=e.match(H0e);return t?t.map(j0e).join(" "):e}},Mw={...la,transform:Math.round},V0e={rotate:r1,rotateX:r1,rotateY:r1,rotateZ:r1,scale:eo,scaleX:eo,scaleY:eo,scaleZ:eo,skew:r1,skewX:r1,skewY:r1,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:ba,originX:iw,originY:iw,originZ:de},Rx={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,radius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,top:de,right:de,bottom:de,left:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,backgroundPositionX:de,backgroundPositionY:de,...V0e,zIndex:Mw,fillOpacity:ba,strokeOpacity:ba,numOctaves:Mw},z0e={...Rx,color:Ie,backgroundColor:Ie,outlineColor:Ie,fill:Ie,stroke:Ie,borderColor:Ie,borderTopColor:Ie,borderRightColor:Ie,borderBottomColor:Ie,borderLeftColor:Ie,filter:JC,WebkitFilter:JC},PS=e=>z0e[e];function ES(e,t){let a=PS(e);return a!==JC&&(a=d1),a.getAnimatableNone?a.getAnimatableNone(t):void 0}const O0e=new Set(["auto","none","0"]);function D0e(e,t,a){let o=0,i;for(;o<e.length&&!i;){const c=e[o];typeof c=="string"&&!O0e.has(c)&&Sa(c).values.length&&(i=e[o]),o++}if(i&&a)for(const c of t)e[c]=ES(a,i)}class F0e extends Ax{constructor(t,a,o,i,c){super(t,a,o,i,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:a,name:o}=this;if(!a||!a.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let l=t[d];if(typeof l=="string"&&(l=l.trim(),Cx(l))){const h=SS(l,a.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!IS.has(o)||t.length!==2)return;const[i,c]=t,r=mw(i),s=mw(c);if(r!==s)if(pw(r)&&pw(s))for(let d=0;d<t.length;d++){const l=t[d];typeof l=="string"&&(t[d]=parseFloat(l))}else Yn[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:a}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||q0e(t[i]))&&o.push(i);o.length&&D0e(t,o,a)}measureInitialState(){const{element:t,unresolvedKeyframes:a,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Yn[o](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;const i=a[a.length-1];i!==void 0&&t.getValue(o,i).jump(i,!1)}measureEndState(){var s;const{element:t,name:a,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const i=t.getValue(a);i&&i.jump(this.measuredOrigin,!1);const c=o.length-1,r=o[c];o[c]=Yn[a](t.measureViewportBox(),window.getComputedStyle(t.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),(s=this.removedTransforms)!=null&&s.length&&this.removedTransforms.forEach(([d,l])=>{t.getValue(d).set(l)}),this.resolveNoneKeyframes()}}function B0e(e,t,a){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const i=(a==null?void 0:a[e])??o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const RS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,_w=30,U0e=e=>!isNaN(parseFloat(e));class Z0e{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,i=!0)=>{var r,s;const c=He.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((r=this.events.change)==null||r.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty();i&&((s=this.events.renderRequest)==null||s.notify(this.current))},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=He.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=U0e(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Mx(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new mx);const o=this.events[t].add(a);return t==="change"?()=>{o(),be.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t,a=!0){!a||!this.passiveEffect?this.updateAndNotify(t,a):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,a,o){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=He.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>_w)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,_w);return Qb(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),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(){var t,a;(t=this.dependents)==null||t.clear(),(a=this.events.destroy)==null||a.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function sa(e,t){return new Z0e(e,t)}const{schedule:$x}=dS(queueMicrotask,!1),Ze={x:!1,y:!1};function $S(){return Ze.x||Ze.y}function G0e(e){return e==="x"||e==="y"?Ze[e]?null:(Ze[e]=!0,()=>{Ze[e]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function qS(e,t){const a=B0e(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[a,i,()=>o.abort()]}function gw(e){return!(e.pointerType==="touch"||$S())}function W0e(e,t,a={}){const[o,i,c]=qS(e,a),r=s=>{if(!gw(s))return;const{target:d}=s,l=t(d,s);if(typeof l!="function"||!d)return;const h=u=>{gw(u)&&(l(u),d.removeEventListener("pointerleave",h))};d.addEventListener("pointerleave",h,i)};return o.forEach(s=>{s.addEventListener("pointerenter",r,i)}),c}const TS=(e,t)=>t?e===t?!0:TS(e,t.parentElement):!1,qx=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,X0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function K0e(e){return X0e.has(e.tagName)||e.tabIndex!==-1}const uv=new WeakSet;function vw(e){return t=>{t.key==="Enter"&&e(t)}}function bC(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Y0e=(e,t)=>{const a=e.currentTarget;if(!a)return;const o=vw(()=>{if(uv.has(a))return;bC(a,"down");const i=vw(()=>{bC(a,"up")}),c=()=>bC(a,"cancel");a.addEventListener("keyup",i,t),a.addEventListener("blur",c,t)});a.addEventListener("keydown",o,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",o),t)};function Cw(e){return qx(e)&&!$S()}function Q0e(e,t,a={}){const[o,i,c]=qS(e,a),r=s=>{const d=s.currentTarget;if(!Cw(s))return;uv.add(d);const l=t(d,s),h=(y,C)=>{window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",p),uv.has(d)&&uv.delete(d),Cw(y)&&typeof l=="function"&&l(y,{success:C})},u=y=>{h(y,d===window||d===document||a.useGlobalTarget||TS(d,y.target))},p=y=>{h(y,!1)};window.addEventListener("pointerup",u,i),window.addEventListener("pointercancel",p,i)};return o.forEach(s=>{(a.useGlobalTarget?window:s).addEventListener("pointerdown",r,i),Px(s)&&(s.addEventListener("focus",l=>Y0e(l,i)),!K0e(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),c}function jS(e){return Kb(e)&&"ownerSVGElement"in e}function J0e(e){return jS(e)&&e.tagName==="svg"}const Re=e=>!!(e&&e.getVelocity),eie=[...AS,Ie,d1],tie=e=>eie.find(NS(e)),Tx=q.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class nie extends k.Component{getSnapshotBeforeUpdate(t){const a=this.props.childRef.current;if(a&&t.isPresent&&!this.props.isPresent){const o=a.offsetParent,i=Px(o)&&o.offsetWidth||0,c=this.props.sizeRef.current;c.height=a.offsetHeight||0,c.width=a.offsetWidth||0,c.top=a.offsetTop,c.left=a.offsetLeft,c.right=i-c.width-c.left}return null}componentDidUpdate(){}render(){return this.props.children}}function aie({children:e,isPresent:t,anchorX:a}){const o=q.useId(),i=q.useRef(null),c=q.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:r}=q.useContext(Tx);return q.useInsertionEffect(()=>{const{width:s,height:d,top:l,left:h,right:u}=c.current;if(t||!i.current||!s||!d)return;const p=a==="left"?`left: ${h}`:`right: ${u}`;i.current.dataset.motionPopId=o;const y=document.createElement("style");return r&&(y.nonce=r),document.head.appendChild(y),y.sheet&&y.sheet.insertRule(`
7827
+ `)),Oae=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 1402.223 555.556",enableBackground:"new 0 0 1402.223 555.556",xmlSpace:"preserve",...e},k.createElement("g",null,k.createElement("path",{d:"M525.544,124.801c46.138,24.343,77.665,59.881,82.312,141.069c0,68.89,0,271.454,0,271.454H485.701V318.559 c0-43.113,0-67.861-11.176-85.426c-9.582-15.967-28.741-23.953-46.307-23.953c-10.379,0-39.125,2.396-54.294,29.543 c-9.582,16.762-8.785,34.327-8.785,71.854v226.748H242.982V289.818c0-39.917-5.579-57.483-23.951-69.46 c-10.375-7.187-23.149-10.379-35.923-10.379c-5.588,0-21.56,0-35.131,10.379c-25.549,19.162-26.351,51.895-26.351,79.039v237.928 H0.272c0,0-0.325-207.584-0.265-270.582c6.238-82.061,41.884-118.628,86.636-142.683c59.142-31.791,168.606-39.686,226.02,15.525 c-7.087,13.047-19.857,29.651-23.716,52.304C341.313,95.412,454.07,87.095,525.544,124.801z",fill:"#1055c4"}),k.createElement("path",{d:"M813.066,205.987v186.827c0,16.764-0.797,26.346,3.197,33.533c7.182,13.57,26.346,13.57,28.746,13.57 c14.367,0,28.74-0.797,43.109-0.797v95.01c-7.979,1.598-36.725,6.389-64.674,6.389c-8.779,0-17.561,0-25.539-0.801 c-11.182-0.797-47.91,0-75.855-25.549c-31.938-27.943-30.339-70.258-30.339-108.584V205.188h-60.68v-75.052h60.68V0h121.354 v130.939h81.438v75.048H813.066z",fill:"#1055c4"}),k.createElement("path",{d:"M1267.896,479.039c-55.092,64.674-126.15,71.859-156.49,71.859c-18.363,0-55.088-2.395-97.404-23.156 c-78.242-38.324-109.379-112.574-109.379-195.611c0-19.16,0.797-59.079,20.754-105.383 c47.107-109.387,150.102-118.169,188.424-118.169c32.736,0,106.189,6.387,162.078,76.651c4.787,6.387,7.984,11.178,15.967,23.953 l-91.02,51.895c-0.797-2.396-7.186-15.172-13.57-23.955c-7.188-8.783-30.428-31.756-67.861-34.327 c-21.539-1.479-45.242,4.065-66.498,21.07c-41.398,33.119-44.307,96.297-44.307,104.276c0,35.928,9.92,84.969,39.918,105.393 c22.141,15.076,48.238,22.283,74.875,19.957c39.779-3.475,61.498-27.129,68.664-37.521c4.592-6.658,7.168-10.158,14.744-23.318 l89.842,46.467C1287.852,452.697,1278.275,467.062,1267.896,479.039",fill:"#1055c4"}),k.createElement("g",null,k.createElement("path",{d:"M1311.33,509.396c0-11.961,8.439-39.393,43.617-39.393c20.395,0,39.395,16.178,39.395,42.209 c0,23.213-17.588,38.686-39.395,38.686C1339.465,550.898,1311.33,542.457,1311.33,509.396z",fill:"#1055c4"})))),Dae=e=>k.createElement("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 317.4 115.8",style:{enableBackground:"new 0 0 317.4 115.8"},xmlSpace:"preserve",...e},k.createElement("g",{id:"Layer_1-2"},k.createElement("path",{fill:"#06549E",d:"M38.1,5.1l-5.1,9.7c-5.7-2.9-10.3-4.4-13.6-4.4c-1.9,0-3.1,0.7-3.1,2c0,4.7,21.7,2.6,21.7,16.8 c0,8.6-7.4,13.8-18.3,13.8c-7,0.1-13.8-1.9-19.6-5.9l4.8-9.7c5.2,3.4,10.5,5.1,15.1,5.1c2.1,0,3.5-0.6,3.5-1.9 C23.3,25.9,2,28.2,2,14C2,5.2,9.3,0,19.8,0C26.2,0.1,32.5,1.8,38.1,5.1z"}),k.createElement("path",{fill:"#06549E",d:"M84.5,15.9v26.4H69v-22c0-4.1-2.4-6.7-6-6.7c-4.2,0.1-6.8,3.4-6.8,8.1v20.6H40.7V0.6h15.5v6.4 c2.9-4.6,7.4-7,13.2-7C78.3,0,84.5,6.2,84.5,15.9z"}),k.createElement("path",{fill:"#06549E",d:"M127.9,15.2v27h-15.2v-4.6c-2.5,3.4-6.7,5.4-12.2,5.4c-8.9,0-14.1-5.3-14.1-13.1c0-8,5.6-12.5,16.1-12.6h10.2 v-0.1c0-3.4-2.4-5.5-7.2-5.5c-4.3,0.2-8.6,1.2-12.6,3L89.2,4.3c6.3-2.7,13.2-4.2,20.1-4.3C121,0,127.9,5.6,127.9,15.2z M112.8,28.6 v-3.8h-7c-3.1,0-4.7,1.3-4.7,3.9s1.7,4.1,4.7,4.1C108.8,32.9,111.5,31.2,112.8,28.6z"}),k.createElement("path",{fill:"#06549E",d:"M176.8,21.8c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.8-11.8-5.4v20.1h-15.5V0.7h15.5v4.8 c2.8-3.5,7-5.4,11.4-5.4C169.2,0.2,176.8,8.8,176.8,21.8z M161.2,21.4c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C158.2,30.7,161.2,26.9,161.2,21.4z"}),k.createElement("path",{fill:"#06549E",d:"M224.7,21.8c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v20.1h-15.5V0.7H194v4.8 c2.8-3.5,7-5.4,11.4-5.4C217,0.2,224.7,8.8,224.7,21.8z M209.1,21.4c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C206.1,30.7,209.1,26.9,209.1,21.4z"}),k.createElement("path",{fill:"#06549E",d:"M250.6,45.9c-3.3,8.2-9,12-17.3,12c-4.9,0.1-9.6-1.6-13.4-4.6l6.4-10.3c1.5,1.5,3.5,2.4,5.6,2.4 c1.9,0.1,3.7-0.9,4.5-2.7l0.8-1.5L220,0.7h15.8l9.1,25.5l7.7-25.5H268L250.6,45.9z"}),k.createElement("path",{fill:"#E42833",d:"M38.1,63.5l-5.1,9.7c-5.7-2.9-10.3-4.4-13.6-4.4c-1.9,0-3.1,0.7-3.1,2c0,4.7,21.7,2.6,21.7,16.8 c0,8.6-7.4,13.8-18.3,13.8c-7,0.1-13.8-1.9-19.6-5.9l4.8-9.7C10,89.2,15.2,91,19.8,91c2.1,0,3.5-0.6,3.5-1.9 C23.3,84.3,2,86.6,2,72.3c0-8.7,7.3-13.9,17.8-13.9C26.2,58.5,32.5,60.2,38.1,63.5z"}),k.createElement("path",{fill:"#E42833",d:"M84.5,74.3v26.4H69v-22c0-4.1-2.3-6.8-6-6.8c-4.2,0.1-6.8,3.4-6.8,8.1v20.6H40.7V43.9h15.5v21.6 c2.9-4.6,7.4-7,13.2-7C78.4,58.5,84.5,64.7,84.5,74.3z"}),k.createElement("path",{fill:"#E42833",d:"M127.9,79.9c0,12.9-8.2,21.4-20.7,21.4s-20.7-8.5-20.7-21.4s8.2-21.4,20.7-21.4S127.9,67,127.9,79.9z M99.5,79.8c0,5.6,3.1,9.3,7.8,9.3s7.7-3.7,7.7-9.3s-3.1-9.3-7.7-9.3S99.5,74.3,99.5,79.8z"}),k.createElement("path",{fill:"#E42833",d:"M176.8,80.3c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v19.7h-15.5V59.2h15.5v4.8 c2.8-3.5,7-5.4,11.4-5.4C169.2,58.7,176.8,67.3,176.8,80.3z M161.2,79.9c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3 s3.1,9.3,7.5,9.3C158.2,89.2,161.2,85.4,161.2,79.9z"}),k.createElement("path",{fill:"#E42833",d:"M224.7,80.3c0,12.8-7.4,21.1-18.9,21.1c-4.5,0.1-8.9-1.9-11.8-5.4v19.7h-15.5V59.2H194v4.8 c2.8-3.5,7-5.5,11.4-5.4C217,58.7,224.7,67.3,224.7,80.3z M209.1,79.9c0-5.5-3-9.3-7.6-9.3c-4.4,0-7.5,3.8-7.5,9.3s3.1,9.3,7.5,9.3 C206.1,89.2,209.1,85.4,209.1,79.9z"}),k.createElement("path",{fill:"#E42833",d:"M269.8,83.8h-28c1.2,4,4.1,6.2,8.1,6.2c3.5-0.1,6.7-1.6,9.2-4l8,7.9c-4.4,4.8-10.6,7.5-18.5,7.5 c-13.9,0-22.4-8.4-22.4-21.2c0-13,8.8-21.5,22-21.5C262.7,58.7,270.7,68.5,269.8,83.8z M254.5,76.2c0.1-4.1-2.5-7-6.3-7 c-3.6,0-6,2.8-6.8,7H254.5z"}),k.createElement("path",{fill:"#E42833",d:"M286.6,65.8c2.8-4.6,7.8-7.3,13.1-7.2v13.9c-8-1-13.1,2.4-13.1,8.4v19.9h-15.5V59.2h15.5V65.8z"}),k.createElement("path",{fill:"#E42833",d:"M276.3,8.1c0.4-1.6,1.7-3.4,3.3-3.4h4.4c0,4.4,0.8,4.4,1.7,4.4h10c0.9,0,1.7,0,1.7-4.4h4.4 c1.6,0,2.9,1.9,3.3,3.4l2.4,11.6h3.5L308.2,7c-0.7-3.1-3.4-6.3-6.5-6.3h-22.2c-3.1,0-5.8,3.3-6.5,6.3l-2.6,12.6h3.5L276.3,8.1z"}),k.createElement("path",{fill:"#06549E",d:"M281.2,41c-4.1,0-7.4,3.3-7.4,7.4c0,4.1,3.3,7.4,7.4,7.4c4.1,0,7.4-3.3,7.4-7.4c0,0,0,0,0,0 C288.6,44.3,285.3,41,281.2,41C281.2,41,281.2,41,281.2,41z M283.7,48.4c0,1.4-1.1,2.5-2.5,2.5s-2.5-1.1-2.5-2.5s1.1-2.5,2.5-2.5 l0,0C282.5,45.9,283.7,47,283.7,48.4L283.7,48.4z"}),k.createElement("path",{fill:"#06549E",d:"M300,41c-4.1,0-7.4,3.3-7.4,7.4s3.3,7.4,7.4,7.4c4.1,0,7.4-3.3,7.4-7.4c0,0,0,0,0,0 C307.4,44.3,304.1,41,300,41z M302.5,48.4c0,1.4-1.2,2.5-2.6,2.5c-1.4,0-2.5-1.2-2.5-2.6c0-1.4,1.1-2.5,2.5-2.5 C301.4,45.8,302.5,46.9,302.5,48.4C302.6,48.4,302.6,48.4,302.5,48.4L302.5,48.4z"}),k.createElement("path",{fill:"#E42833",d:"M314.1,19.7h-46.9c-1.8,0-3.3,1.5-3.3,3.3s1.5,3.3,3.3,3.3l0,0h0.4l3,17.9c0.2,1.1,0.9,2.2,1.9,2.8 c0.6-4.9,5.1-8.3,9.9-7.7c4.2,0.5,7.4,3.9,7.7,8.1h1.1c0.4-4.9,4.6-8.5,9.5-8.2c4.2,0.3,7.6,3.5,8.1,7.7c1-0.7,1.7-1.7,1.9-2.8 l3-17.9h0.4c1.8,0,3.3-1.5,3.3-3.3S315.9,19.6,314.1,19.7L314.1,19.7z M275.3,28.3h0.1c0.1,0,0.3,0,0.4,0H275.3z M285.4,28.3h0.2 h0.2H285.4z M295.4,28.3h0.2h0.2H295.4z M305.4,28.3c0.1,0,0.3,0,0.4,0h0.1H305.4z"}),k.createElement("path",{fill:"#E42833",d:"M285.5,29h0.4h-0.2H285.5z"}),k.createElement("path",{fill:"#E42833",d:"M295.3,29h0.4h-0.2H295.3z"}),k.createElement("path",{fill:"#E42833",d:"M305,29h0.5h-0.1C305.3,29,305.1,29,305,29z"}))),Fae={"leaseloco-logo":zae,"snappy-logo":Dae,"hungrrr-logo":Vae,"mtc-logo":Oae},Bae=({id:e,data:t,hasHeader:a=!1})=>{const i=t1.useMounted()?"":Ue.skeleton;return _.jsx("div",{id:e,className:Y(Ue.timeline,a&&Ue.header),children:_.jsxs("div",{className:Ue.container,children:[_.jsxs("div",{className:Ue.intro,children:[_.jsx("h2",{className:i,children:"My timeline"}),_.jsx("h3",{className:i,children:"Explore key roles and milestones over the years"})]}),_.jsx("div",{className:Ue.list,children:t.map((c,r)=>{const s=Fae[c.icon];return _.jsxs("div",{className:Ue.item,children:[_.jsxs("div",{className:Ue.left,children:[_.jsx("span",{className:Y(Ue.dot,i)}),_.jsxs("div",{className:Ue.text,children:[_.jsx("h4",{className:i,children:c.date}),s&&_.jsx(s,{height:"32",className:i})]})]}),_.jsxs("div",{className:Ue.right,children:[_.jsx("h4",{className:i,children:c.location}),_.jsx("h5",{className:i,children:c.role}),c.description.map((d,l)=>_.jsx("p",{className:i,children:d},l))]})]},r)})})]})})},Uae="card-module__container___IbiZO",Zae="card-module__border___EGmYn",Gae="card-module__padding___EM-vf",Wae="card-module__title___-UuxP",Xae="card-module__content___dH-X7",fa={container:Uae,border:Zae,padding:Gae,title:Wae,content:Xae},Kae=({children:e,title:t,border:a=!1,padding:o=!1,className:i=""})=>_.jsxs("div",{className:Y(fa.container,a&&fa.border,o&&fa.padding,i),children:[t&&_.jsx("div",{className:fa.title,children:t}),_.jsx("div",{className:fa.content,children:e})]}),Yae="footer-module__footer___5PSsO",Qae="footer-module__skeleton___xsTB0",Jae="footer-module__container___VZcu-",eoe="footer-module__social___B-T-l",Qa={footer:Yae,skeleton:Qae,container:Jae,social:eoe},toe=()=>{const e=t1.useMounted(),t=new Date().getFullYear();return _.jsx("div",{className:Qa.footer,children:_.jsxs("div",{className:Qa.container,children:[_.jsx(hx,{className:Qa.social,isMounted:e}),_.jsxs("p",{className:Y(!e&&Qa.skeleton),children:["© ",t," Michael Allen"]})]})})},noe="navigation-module__nav___xApEM",aoe="navigation-module__skeleton___5r35M",ooe="navigation-module__active___cFzkK",l1={nav:noe,skeleton:aoe,active:ooe},ioe=({activeSection:e,className:t})=>{const a=t1.useMounted();return _.jsx("div",{className:Y(l1.nav,!a&&l1.skeleton,t),children:_.jsxs("ul",{children:[_.jsx("li",{children:_.jsx(Wn,{href:"/",className:Y(e==="banner"&&l1.active),children:"Home"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#about-me",className:Y(e==="about-me"&&l1.active),children:"About me"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#projects",className:Y(e==="projects"&&l1.active),children:"Projects"})}),_.jsx("li",{children:_.jsx(Wn,{href:"/#timeline",className:Y(e==="timeline"&&l1.active),children:"Timeline"})}),_.jsx("li",{children:_.jsx(Wn,{href:"mailto:michael@uplord.co.uk",className:Y(e==="stack"&&l1.active),children:"Contact"})})]})})},ux=q.createContext({});function bv(e){const t=q.useRef(null);return t.current===null&&(t.current=e()),t.current}const px=typeof window<"u",Wb=px?q.useLayoutEffect:q.useEffect,Sv=q.createContext(null);function yx(e,t){e.indexOf(t)===-1&&e.push(t)}function kx(e,t){const a=e.indexOf(t);a>-1&&e.splice(a,1)}const o1=(e,t,a)=>a>t?t:a<e?e:a;let ha=()=>{},i1=()=>{};process.env.NODE_ENV!=="production"&&(ha=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},i1=(e,t)=>{if(!e)throw new Error(t)});const c1={},Xb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Kb(e){return typeof e=="object"&&e!==null}const Yb=e=>/^0[^.\s]+$/u.test(e);function fx(e){let t;return()=>(t===void 0&&(t=e()),t)}const Be=e=>e,coe=(e,t)=>a=>t(e(a)),Ea=(...e)=>e.reduce(coe),wa=(e,t,a)=>{const o=t-e;return o===0?1:(a-e)/o};class mx{constructor(){this.subscriptions=[]}add(t){return yx(this.subscriptions,t),()=>kx(this.subscriptions,t)}notify(t,a,o){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,a,o);else for(let c=0;c<i;c++){const r=this.subscriptions[c];r&&r(t,a,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ge=e=>e*1e3,Je=e=>e/1e3;function Qb(e,t){return t?e*(1e3/t):0}const tw=new Set;function Mx(e,t,a){e||tw.has(t)||(console.warn(t),tw.add(t))}const Jb=(e,t,a)=>(((1-3*a+3*t)*e+(3*a-6*t))*e+3*t)*e,roe=1e-7,soe=12;function doe(e,t,a,o,i){let c,r,s=0;do r=t+(a-t)/2,c=Jb(r,o,i)-e,c>0?a=r:t=r;while(Math.abs(c)>roe&&++s<soe);return r}function Ra(e,t,a,o){if(e===t&&a===o)return Be;const i=c=>doe(c,0,1,e,a);return c=>c===0||c===1?c:Jb(i(c),t,o)}const eS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tS=e=>t=>1-e(1-t),nS=Ra(.33,1.53,.69,.99),_x=tS(nS),aS=eS(_x),oS=e=>(e*=2)<1?.5*_x(e):.5*(2-Math.pow(2,-10*(e-1))),gx=e=>1-Math.sin(Math.acos(e)),iS=tS(gx),cS=eS(gx),hoe=Ra(.42,0,1,1),loe=Ra(0,0,.58,1),rS=Ra(.42,0,.58,1),uoe=e=>Array.isArray(e)&&typeof e[0]!="number",sS=e=>Array.isArray(e)&&typeof e[0]=="number",nw={linear:Be,easeIn:hoe,easeInOut:rS,easeOut:loe,circIn:gx,circInOut:cS,circOut:iS,backIn:_x,backInOut:aS,backOut:nS,anticipate:oS},poe=e=>typeof e=="string",aw=e=>{if(sS(e)){i1(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,a,o,i]=e;return Ra(t,a,o,i)}else if(poe(e))return i1(nw[e]!==void 0,`Invalid easing type '${e}'`),nw[e];return e},Ja=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],ow={value:null};function yoe(e,t){let a=new Set,o=new Set,i=!1,c=!1;const r=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1},d=0;function l(u){r.has(u)&&(h.schedule(u),e()),d++,u(s)}const h={schedule:(u,p=!1,y=!1)=>{const g=y&&i?a:o;return p&&r.add(u),g.has(u)||g.add(u),u},cancel:u=>{o.delete(u),r.delete(u)},process:u=>{if(s=u,i){c=!0;return}i=!0,[a,o]=[o,a],a.forEach(l),t&&ow.value&&ow.value.frameloop[t].push(d),d=0,a.clear(),i=!1,c&&(c=!1,h.process(u))}};return h}const koe=40;function dS(e,t){let a=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},c=()=>a=!0,r=Ja.reduce((f,w)=>(f[w]=yoe(c,t?w:void 0),f),{}),{setup:s,read:d,resolveKeyframes:l,preUpdate:h,update:u,preRender:p,render:y,postRender:C}=r,g=()=>{const f=c1.useManualTiming?i.timestamp:performance.now();a=!1,c1.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(f-i.timestamp,koe),1)),i.timestamp=f,i.isProcessing=!0,s.process(i),d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),C.process(i),i.isProcessing=!1,a&&t&&(o=!1,e(g))},x=()=>{a=!0,o=!0,i.isProcessing||e(g)};return{schedule:Ja.reduce((f,w)=>{const M=r[w];return f[w]=(S,A=!1,P=!1)=>(a||x(),M.schedule(S,A,P)),f},{}),cancel:f=>{for(let w=0;w<Ja.length;w++)r[Ja[w]].cancel(f)},state:i,steps:r}}const{schedule:be,cancel:s1,state:Ae,steps:vC}=dS(typeof requestAnimationFrame<"u"?requestAnimationFrame:Be,!0);let lv;function foe(){lv=void 0}const He={now:()=>(lv===void 0&&He.set(Ae.isProcessing||c1.useManualTiming?Ae.timestamp:performance.now()),lv),set:e=>{lv=e,queueMicrotask(foe)}},hS=e=>t=>typeof t=="string"&&t.startsWith(e),vx=hS("--"),moe=hS("var(--"),Cx=e=>moe(e)?Moe.test(e.split("/*")[0].trim()):!1,Moe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,la={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ba={...la,transform:e=>o1(0,1,e)},eo={...la,default:1},va=e=>Math.round(e*1e5)/1e5,xx=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function _oe(e){return e==null}const goe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Lx=(e,t)=>a=>!!(typeof a=="string"&&goe.test(a)&&a.startsWith(e)||t&&!_oe(a)&&Object.prototype.hasOwnProperty.call(a,t)),lS=(e,t,a)=>o=>{if(typeof o!="string")return o;const[i,c,r,s]=o.match(xx);return{[e]:parseFloat(i),[t]:parseFloat(c),[a]:parseFloat(r),alpha:s!==void 0?parseFloat(s):1}},voe=e=>o1(0,255,e),CC={...la,transform:e=>Math.round(voe(e))},Xn={test:Lx("rgb","red"),parse:lS("red","green","blue"),transform:({red:e,green:t,blue:a,alpha:o=1})=>"rgba("+CC.transform(e)+", "+CC.transform(t)+", "+CC.transform(a)+", "+va(ba.transform(o))+")"};function Coe(e){let t="",a="",o="",i="";return e.length>5?(t=e.substring(1,3),a=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),a=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,a+=a,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}const DC={test:Lx("#"),parse:Coe,transform:Xn.transform},$a=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),r1=$a("deg"),e1=$a("%"),de=$a("px"),xoe=$a("vh"),Loe=$a("vw"),iw={...e1,parse:e=>e1.parse(e)/100,transform:e=>e1.transform(e*100)},na={test:Lx("hsl","hue"),parse:lS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:a,alpha:o=1})=>"hsla("+Math.round(e)+", "+e1.transform(va(t))+", "+e1.transform(va(a))+", "+va(ba.transform(o))+")"},Ie={test:e=>Xn.test(e)||DC.test(e)||na.test(e),parse:e=>Xn.test(e)?Xn.parse(e):na.test(e)?na.parse(e):DC.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Xn.transform(e):na.transform(e),getAnimatableNone:e=>{const t=Ie.parse(e);return t.alpha=0,Ie.transform(t)}},woe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function boe(e){var t,a;return isNaN(e)&&typeof e=="string"&&(((t=e.match(xx))==null?void 0:t.length)||0)+(((a=e.match(woe))==null?void 0:a.length)||0)>0}const uS="number",pS="color",Soe="var",Ioe="var(",cw="${}",Noe=/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 Sa(e){const t=e.toString(),a=[],o={color:[],number:[],var:[]},i=[];let c=0;const s=t.replace(Noe,d=>(Ie.test(d)?(o.color.push(c),i.push(pS),a.push(Ie.parse(d))):d.startsWith(Ioe)?(o.var.push(c),i.push(Soe),a.push(d)):(o.number.push(c),i.push(uS),a.push(parseFloat(d))),++c,cw)).split(cw);return{values:a,split:s,indexes:o,types:i}}function yS(e){return Sa(e).values}function kS(e){const{split:t,types:a}=Sa(e),o=t.length;return i=>{let c="";for(let r=0;r<o;r++)if(c+=t[r],i[r]!==void 0){const s=a[r];s===uS?c+=va(i[r]):s===pS?c+=Ie.transform(i[r]):c+=i[r]}return c}}const Aoe=e=>typeof e=="number"?0:Ie.test(e)?Ie.getAnimatableNone(e):e;function Poe(e){const t=yS(e);return kS(e)(t.map(Aoe))}const d1={test:boe,parse:yS,createTransformer:kS,getAnimatableNone:Poe};function xC(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(t-e)*6*a:a<1/2?t:a<2/3?e+(t-e)*(2/3-a)*6:e}function Eoe({hue:e,saturation:t,lightness:a,alpha:o}){e/=360,t/=100,a/=100;let i=0,c=0,r=0;if(!t)i=c=r=a;else{const s=a<.5?a*(1+t):a+t-a*t,d=2*a-s;i=xC(d,s,e+1/3),c=xC(d,s,e),r=xC(d,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(c*255),blue:Math.round(r*255),alpha:o}}function fv(e,t){return a=>a>0?t:e}const we=(e,t,a)=>e+(t-e)*a,LC=(e,t,a)=>{const o=e*e,i=a*(t*t-o)+o;return i<0?0:Math.sqrt(i)},Roe=[DC,Xn,na],$oe=e=>Roe.find(t=>t.test(e));function rw(e){const t=$oe(e);if(ha(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let a=t.parse(e);return t===na&&(a=Eoe(a)),a}const sw=(e,t)=>{const a=rw(e),o=rw(t);if(!a||!o)return fv(e,t);const i={...a};return c=>(i.red=LC(a.red,o.red,c),i.green=LC(a.green,o.green,c),i.blue=LC(a.blue,o.blue,c),i.alpha=we(a.alpha,o.alpha,c),Xn.transform(i))},FC=new Set(["none","hidden"]);function qoe(e,t){return FC.has(e)?a=>a<=0?e:t:a=>a>=1?t:e}function Toe(e,t){return a=>we(e,t,a)}function wx(e){return typeof e=="number"?Toe:typeof e=="string"?Cx(e)?fv:Ie.test(e)?sw:Voe:Array.isArray(e)?fS:typeof e=="object"?Ie.test(e)?sw:joe:fv}function fS(e,t){const a=[...e],o=a.length,i=e.map((c,r)=>wx(c)(c,t[r]));return c=>{for(let r=0;r<o;r++)a[r]=i[r](c);return a}}function joe(e,t){const a={...e,...t},o={};for(const i in a)e[i]!==void 0&&t[i]!==void 0&&(o[i]=wx(e[i])(e[i],t[i]));return i=>{for(const c in o)a[c]=o[c](i);return a}}function Hoe(e,t){const a=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const c=t.types[i],r=e.indexes[c][o[c]],s=e.values[r]??0;a[i]=s,o[c]++}return a}const Voe=(e,t)=>{const a=d1.createTransformer(t),o=Sa(e),i=Sa(t);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?FC.has(e)&&!i.values.length||FC.has(t)&&!o.values.length?qoe(e,t):Ea(fS(Hoe(o,i),i.values),a):(ha(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),fv(e,t))};function mS(e,t,a){return typeof e=="number"&&typeof t=="number"&&typeof a=="number"?we(e,t,a):wx(e)(e,t)}const zoe=e=>{const t=({timestamp:a})=>e(a);return{start:(a=!0)=>be.update(t,a),stop:()=>s1(t),now:()=>Ae.isProcessing?Ae.timestamp:He.now()}},MS=(e,t,a=10)=>{let o="";const i=Math.max(Math.round(t/a),2);for(let c=0;c<i;c++)o+=Math.round(e(c/(i-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},mv=2e4;function bx(e){let t=0;const a=50;let o=e.next(t);for(;!o.done&&t<mv;)t+=a,o=e.next(t);return t>=mv?1/0:t}function Ooe(e,t=100,a){const o=a({...e,keyframes:[0,t]}),i=Math.min(bx(o),mv);return{type:"keyframes",ease:c=>o.next(i*c).value/t,duration:Je(i)}}const Doe=5;function _S(e,t,a){const o=Math.max(t-Doe,0);return Qb(a-e(o),t-o)}const Le={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},wC=.001;function Foe({duration:e=Le.duration,bounce:t=Le.bounce,velocity:a=Le.velocity,mass:o=Le.mass}){let i,c;ha(e<=Ge(Le.maxDuration),"Spring duration must be 10 seconds or less");let r=1-t;r=o1(Le.minDamping,Le.maxDamping,r),e=o1(Le.minDuration,Le.maxDuration,Je(e)),r<1?(i=l=>{const h=l*r,u=h*e,p=h-a,y=BC(l,r),C=Math.exp(-u);return wC-p/y*C},c=l=>{const u=l*r*e,p=u*a+a,y=Math.pow(r,2)*Math.pow(l,2)*e,C=Math.exp(-u),g=BC(Math.pow(l,2),r);return(-i(l)+wC>0?-1:1)*((p-y)*C)/g}):(i=l=>{const h=Math.exp(-l*e),u=(l-a)*e+1;return-wC+h*u},c=l=>{const h=Math.exp(-l*e),u=(a-l)*(e*e);return h*u});const s=5/e,d=Uoe(i,c,s);if(e=Ge(e),isNaN(d))return{stiffness:Le.stiffness,damping:Le.damping,duration:e};{const l=Math.pow(d,2)*o;return{stiffness:l,damping:r*2*Math.sqrt(o*l),duration:e}}}const Boe=12;function Uoe(e,t,a){let o=a;for(let i=1;i<Boe;i++)o=o-e(o)/t(o);return o}function BC(e,t){return e*Math.sqrt(1-t*t)}const Zoe=["duration","bounce"],Goe=["stiffness","damping","mass"];function dw(e,t){return t.some(a=>e[a]!==void 0)}function Woe(e){let t={velocity:Le.velocity,stiffness:Le.stiffness,damping:Le.damping,mass:Le.mass,isResolvedFromDuration:!1,...e};if(!dw(e,Goe)&&dw(e,Zoe))if(e.visualDuration){const a=e.visualDuration,o=2*Math.PI/(a*1.2),i=o*o,c=2*o1(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Le.mass,stiffness:i,damping:c}}else{const a=Foe(e);t={...t,...a,mass:Le.mass},t.isResolvedFromDuration=!0}return t}function Mv(e=Le.visualDuration,t=Le.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:i}=a;const c=a.keyframes[0],r=a.keyframes[a.keyframes.length-1],s={done:!1,value:c},{stiffness:d,damping:l,mass:h,duration:u,velocity:p,isResolvedFromDuration:y}=Woe({...a,velocity:-Je(a.velocity||0)}),C=p||0,g=l/(2*Math.sqrt(d*h)),x=r-c,m=Je(Math.sqrt(d/h)),N=Math.abs(x)<5;o||(o=N?Le.restSpeed.granular:Le.restSpeed.default),i||(i=N?Le.restDelta.granular:Le.restDelta.default);let f;if(g<1){const M=BC(m,g);f=S=>{const A=Math.exp(-g*m*S);return r-A*((C+g*m*x)/M*Math.sin(M*S)+x*Math.cos(M*S))}}else if(g===1)f=M=>r-Math.exp(-m*M)*(x+(C+m*x)*M);else{const M=m*Math.sqrt(g*g-1);f=S=>{const A=Math.exp(-g*m*S),P=Math.min(M*S,300);return r-A*((C+g*m*x)*Math.sinh(P)+M*x*Math.cosh(P))/M}}const w={calculatedDuration:y&&u||null,next:M=>{const S=f(M);if(y)s.done=M>=u;else{let A=M===0?C:0;g<1&&(A=M===0?Ge(C):_S(f,M,S));const P=Math.abs(A)<=o,H=Math.abs(r-S)<=i;s.done=P&&H}return s.value=s.done?r:S,s},toString:()=>{const M=Math.min(bx(w),mv),S=MS(A=>w.next(M*A).value,M,30);return M+"ms "+S},toTransition:()=>{}};return w}Mv.applyToOptions=e=>{const t=Ooe(e,100,Mv);return e.ease=t.ease,e.duration=Ge(t.duration),e.type="keyframes",e};function UC({keyframes:e,velocity:t=0,power:a=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:c=500,modifyTarget:r,min:s,max:d,restDelta:l=.5,restSpeed:h}){const u=e[0],p={done:!1,value:u},y=P=>s!==void 0&&P<s||d!==void 0&&P>d,C=P=>s===void 0?d:d===void 0||Math.abs(s-P)<Math.abs(d-P)?s:d;let g=a*t;const x=u+g,m=r===void 0?x:r(x);m!==x&&(g=m-u);const N=P=>-g*Math.exp(-P/o),f=P=>m+N(P),w=P=>{const H=N(P),E=f(P);p.done=Math.abs(H)<=l,p.value=p.done?m:E};let M,S;const A=P=>{y(p.value)&&(M=P,S=Mv({keyframes:[p.value,C(p.value)],velocity:_S(f,P,p.value),damping:i,stiffness:c,restDelta:l,restSpeed:h}))};return A(0),{calculatedDuration:null,next:P=>{let H=!1;return!S&&M===void 0&&(H=!0,w(P),A(P)),M!==void 0&&P>=M?S.next(P-M):(!H&&w(P),p)}}}function Xoe(e,t,a){const o=[],i=a||c1.mix||mS,c=e.length-1;for(let r=0;r<c;r++){let s=i(e[r],e[r+1]);if(t){const d=Array.isArray(t)?t[r]||Be:t;s=Ea(d,s)}o.push(s)}return o}function Koe(e,t,{clamp:a=!0,ease:o,mixer:i}={}){const c=e.length;if(i1(c===t.length,"Both input and output ranges must be the same length"),c===1)return()=>t[0];if(c===2&&t[0]===t[1])return()=>t[1];const r=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Xoe(t,o,i),d=s.length,l=h=>{if(r&&h<e[0])return t[0];let u=0;if(d>1)for(;u<e.length-2&&!(h<e[u+1]);u++);const p=wa(e[u],e[u+1],h);return s[u](p)};return a?h=>l(o1(e[0],e[c-1],h)):l}function Yoe(e,t){const a=e[e.length-1];for(let o=1;o<=t;o++){const i=wa(0,t,o);e.push(we(a,1,i))}}function Qoe(e){const t=[0];return Yoe(t,e.length-1),t}function Joe(e,t){return e.map(a=>a*t)}function e0e(e,t){return e.map(()=>t||rS).splice(0,e.length-1)}function aa({duration:e=300,keyframes:t,times:a,ease:o="easeInOut"}){const i=uoe(o)?o.map(aw):aw(o),c={done:!1,value:t[0]},r=Joe(a&&a.length===t.length?a:Qoe(t),e),s=Koe(r,t,{ease:Array.isArray(i)?i:e0e(t,i)});return{calculatedDuration:e,next:d=>(c.value=s(d),c.done=d>=e,c)}}const t0e=e=>e!==null;function Sx(e,{repeat:t,repeatType:a="loop"},o,i=1){const c=e.filter(t0e),s=i<0||t&&a!=="loop"&&t%2===1?0:c.length-1;return!s||o===void 0?c[s]:o}const n0e={decay:UC,inertia:UC,tween:aa,keyframes:aa,spring:Mv};function gS(e){typeof e.type=="string"&&(e.type=n0e[e.type])}class Ix{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}}const a0e=e=>e/100;class Nx extends Ix{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var o,i;const{motionValue:a}=this.options;a&&a.updatedAt!==He.now()&&this.tick(He.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(o=this.options).onStop)==null||i.call(o))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;gS(t);const{type:a=aa,repeat:o=0,repeatDelay:i=0,repeatType:c,velocity:r=0}=t;let{keyframes:s}=t;const d=a||aa;process.env.NODE_ENV!=="production"&&d!==aa&&i1(s.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`),d!==aa&&typeof s[0]!="number"&&(this.mixKeyframes=Ea(a0e,mS(s[0],s[1])),s=[0,100]);const l=d({...t,keyframes:s});c==="mirror"&&(this.mirroredGenerator=d({...t,keyframes:[...s].reverse(),velocity:-r})),l.calculatedDuration===null&&(l.calculatedDuration=bx(l));const{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+i,this.totalDuration=this.resolvedDuration*(o+1)-i,this.generator=l}updateTime(t){const a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){const{generator:o,totalDuration:i,mixKeyframes:c,mirroredGenerator:r,resolvedDuration:s,calculatedDuration:d}=this;if(this.startTime===null)return o.next(0);const{delay:l=0,keyframes:h,repeat:u,repeatType:p,repeatDelay:y,type:C,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);const m=this.currentTime-l*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?m<0:m>i;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let f=this.currentTime,w=o;if(u){const P=Math.min(this.currentTime,i)/s;let H=Math.floor(P),E=P%1;!E&&P>=1&&(E=1),E===1&&H--,H=Math.min(H,u+1),!!(H%2)&&(p==="reverse"?(E=1-E,y&&(E-=y/s)):p==="mirror"&&(w=r)),f=o1(0,1,E)*s}const M=N?{done:!1,value:h[0]}:w.next(f);c&&(M.value=c(M.value));let{done:S}=M;!N&&d!==null&&(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const A=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return A&&C!==UC&&(M.value=Sx(h,this.options,x,this.speed)),g&&g(M.value),A&&this.finish(),M}then(t,a){return this.finished.then(t,a)}get duration(){return Je(this.calculatedDuration)}get time(){return Je(this.currentTime)}set time(t){var a;t=Ge(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(a=this.driver)==null||a.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(He.now());const a=this.playbackSpeed!==t;this.playbackSpeed=t,a&&(this.time=Je(this.currentTime))}play(){var i,c;if(this.isStopped)return;const{driver:t=zoe,startTime:a}=this.options;this.driver||(this.driver=t(r=>this.tick(r))),(c=(i=this.options).onPlay)==null||c.call(i);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=a??o),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(He.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,a;this.notifyFinished(),this.teardown(),this.state="finished",(a=(t=this.options).onComplete)==null||a.call(t)}cancel(){var t,a;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(a=(t=this.options).onCancel)==null||a.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var a;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(a=this.driver)==null||a.stop(),t.observe(this)}}function o0e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Kn=e=>e*180/Math.PI,ZC=e=>{const t=Kn(Math.atan2(e[1],e[0]));return GC(t)},i0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ZC,rotateZ:ZC,skewX:e=>Kn(Math.atan(e[1])),skewY:e=>Kn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},GC=e=>(e=e%360,e<0&&(e+=360),e),hw=ZC,lw=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),uw=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),c0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:lw,scaleY:uw,scale:e=>(lw(e)+uw(e))/2,rotateX:e=>GC(Kn(Math.atan2(e[6],e[5]))),rotateY:e=>GC(Kn(Math.atan2(-e[2],e[0]))),rotateZ:hw,rotate:hw,skewX:e=>Kn(Math.atan(e[4])),skewY:e=>Kn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function WC(e){return e.includes("scale")?1:0}function XC(e,t){if(!e||e==="none")return WC(t);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(a)o=c0e,i=a;else{const s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=i0e,i=s}if(!i)return WC(t);const c=o[t],r=i[1].split(",").map(s0e);return typeof c=="function"?c(r):r[c]}const r0e=(e,t)=>{const{transform:a="none"}=getComputedStyle(e);return XC(a,t)};function s0e(e){return parseFloat(e.trim())}const ua=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pa=new Set(ua),pw=e=>e===la||e===de,d0e=new Set(["x","y","z"]),h0e=ua.filter(e=>!d0e.has(e));function l0e(e){const t=[];return h0e.forEach(a=>{const o=e.getValue(a);o!==void 0&&(t.push([a,o.get()]),o.set(a.startsWith("scale")?1:0))}),t}const Yn={width:({x:e},{paddingLeft:t="0",paddingRight:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),height:({y:e},{paddingTop:t="0",paddingBottom:a="0"})=>e.max-e.min-parseFloat(t)-parseFloat(a),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})=>XC(t,"x"),y:(e,{transform:t})=>XC(t,"y")};Yn.translateX=Yn.x;Yn.translateY=Yn.y;const Qn=new Set;let KC=!1,YC=!1,QC=!1;function vS(){if(YC){const e=Array.from(Qn).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),a=new Map;t.forEach(o=>{const i=l0e(o);i.length&&(a.set(o,i),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const i=a.get(o);i&&i.forEach(([c,r])=>{var s;(s=o.getValue(c))==null||s.set(r)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}YC=!1,KC=!1,Qn.forEach(e=>e.complete(QC)),Qn.clear()}function CS(){Qn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(YC=!0)})}function u0e(){QC=!0,CS(),vS(),QC=!1}class Ax{constructor(t,a,o,i,c,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=o,this.motionValue=i,this.element=c,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(Qn.add(this),KC||(KC=!0,be.read(CS),be.resolveKeyframes(vS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:a,element:o,motionValue:i}=this;if(t[0]===null){const c=i==null?void 0:i.get(),r=t[t.length-1];if(c!==void 0)t[0]=c;else if(o&&a){const s=o.readValue(a,r);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=r),i&&c===void 0&&i.set(t[0])}o0e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Qn.delete(this)}cancel(){this.state==="scheduled"&&(Qn.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const p0e=e=>e.startsWith("--");function y0e(e,t,a){p0e(t)?e.style.setProperty(t,a):e.style[t]=a}const k0e=fx(()=>window.ScrollTimeline!==void 0),f0e={};function m0e(e,t){const a=fx(e);return()=>f0e[t]??a()}const xS=m0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),_a=([e,t,a,o])=>`cubic-bezier(${e}, ${t}, ${a}, ${o})`,yw={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_a([0,.65,.55,1]),circOut:_a([.55,0,1,.45]),backIn:_a([.31,.01,.66,-.59]),backOut:_a([.33,1.53,.69,.99])};function LS(e,t){if(e)return typeof e=="function"?xS()?MS(e,t):"ease-out":sS(e)?_a(e):Array.isArray(e)?e.map(a=>LS(a,t)||yw.easeOut):yw[e]}function M0e(e,t,a,{delay:o=0,duration:i=300,repeat:c=0,repeatType:r="loop",ease:s="easeOut",times:d}={},l=void 0){const h={[t]:a};d&&(h.offset=d);const u=LS(s,i);Array.isArray(u)&&(h.easing=u);const p={delay:o,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:c+1,direction:r==="reverse"?"alternate":"normal"};return l&&(p.pseudoElement=l),e.animate(h,p)}function wS(e){return typeof e=="function"&&"applyToOptions"in e}function _0e({type:e,...t}){return wS(e)&&xS()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class g0e extends Ix{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:a,name:o,keyframes:i,pseudoElement:c,allowFlatten:r=!1,finalKeyframe:s,onComplete:d}=t;this.isPseudoElement=!!c,this.allowFlatten=r,this.options=t,i1(typeof t.type!="string",`animateMini doesn't support "type" as a string. Did you mean to import { spring } from "motion"?`);const l=_0e(t);this.animation=M0e(a,o,i,l,c),l.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const h=Sx(i,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(h):y0e(a,o,h),this.animation.cancel()}d==null||d(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,a;(a=(t=this.animation).finish)==null||a.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,a;this.isPseudoElement||(a=(t=this.animation).commitStyles)==null||a.call(t)}get duration(){var a,o;const t=((o=(a=this.animation.effect)==null?void 0:a.getComputedTiming)==null?void 0:o.call(a).duration)||0;return Je(Number(t))}get time(){return Je(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ge(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:a}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&k0e()?(this.animation.timeline=t,Be):a(this)}}const bS={anticipate:oS,backInOut:aS,circInOut:cS};function v0e(e){return e in bS}function C0e(e){typeof e.ease=="string"&&v0e(e.ease)&&(e.ease=bS[e.ease])}const kw=10;class x0e extends g0e{constructor(t){C0e(t),gS(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:a,onUpdate:o,onComplete:i,element:c,...r}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}const s=new Nx({...r,autoplay:!1}),d=Ge(this.finishedTime??this.time);a.setWithVelocity(s.sample(d-kw).value,s.sample(d).value,kw),s.stop()}}const fw=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(d1.test(e)||e==="0")&&!e.startsWith("url("));function L0e(e){const t=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==t)return!0}function w0e(e,t,a,o){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],r=fw(i,t),s=fw(c,t);return ha(r===s,`You are trying to animate ${t} from "${i}" to "${c}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${c} via the \`style\` property.`),!r||!s?!1:L0e(e)||(a==="spring"||wS(a))&&o}function Px(e){return Kb(e)&&"offsetHeight"in e}const b0e=new Set(["opacity","clipPath","filter","transform"]),S0e=fx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function I0e(e){var l;const{motionValue:t,name:a,repeatDelay:o,repeatType:i,damping:c,type:r}=e;if(!Px((l=t==null?void 0:t.owner)==null?void 0:l.current))return!1;const{onUpdate:s,transformTemplate:d}=t.owner.getProps();return S0e()&&a&&b0e.has(a)&&(a!=="transform"||!d)&&!s&&!o&&i!=="mirror"&&c!==0&&r!=="inertia"}const N0e=40;class A0e extends Ix{constructor({autoplay:t=!0,delay:a=0,type:o="keyframes",repeat:i=0,repeatDelay:c=0,repeatType:r="loop",keyframes:s,name:d,motionValue:l,element:h,...u}){var C;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=He.now();const p={autoplay:t,delay:a,type:o,repeat:i,repeatDelay:c,repeatType:r,name:d,motionValue:l,element:h,...u},y=(h==null?void 0:h.KeyframeResolver)||Ax;this.keyframeResolver=new y(s,(g,x,m)=>this.onKeyframesResolved(g,x,p,!m),d,l,h),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(t,a,o,i){this.keyframeResolver=void 0;const{name:c,type:r,velocity:s,delay:d,isHandoff:l,onUpdate:h}=o;this.resolvedAt=He.now(),w0e(t,c,r,s)||((c1.instantAnimations||!d)&&(h==null||h(Sx(t,o,a))),t[0]=t[t.length-1],o.duration=0,o.repeat=0);const p={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>N0e?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...o,keyframes:t},y=!l&&I0e(p)?new x0e({...p,element:p.motionValue.owner.current}):new Nx(p);y.finished.then(()=>this.notifyFinished()).catch(Be),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),u0e()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const P0e=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function E0e(e){const t=P0e.exec(e);if(!t)return[,];const[,a,o,i]=t;return[`--${a??o}`,i]}const R0e=4;function SS(e,t,a=1){i1(a<=R0e,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,i]=E0e(e);if(!o)return;const c=window.getComputedStyle(t).getPropertyValue(o);if(c){const r=c.trim();return Xb(r)?parseFloat(r):r}return Cx(i)?SS(i,t,a+1):i}function Ex(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const IS=new Set(["width","height","top","left","right","bottom",...ua]),$0e={test:e=>e==="auto",parse:e=>e},NS=e=>t=>t.test(e),AS=[la,de,e1,r1,Loe,xoe,$0e],mw=e=>AS.find(NS(e));function q0e(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Yb(e):!0}const T0e=new Set(["brightness","contrast","saturate","opacity"]);function j0e(e){const[t,a]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=a.match(xx)||[];if(!o)return e;const i=a.replace(o,"");let c=T0e.has(t)?1:0;return o!==a&&(c*=100),t+"("+c+i+")"}const H0e=/\b([a-z-]*)\(.*?\)/gu,JC={...d1,getAnimatableNone:e=>{const t=e.match(H0e);return t?t.map(j0e).join(" "):e}},Mw={...la,transform:Math.round},V0e={rotate:r1,rotateX:r1,rotateY:r1,rotateZ:r1,scale:eo,scaleX:eo,scaleY:eo,scaleZ:eo,skew:r1,skewX:r1,skewY:r1,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:ba,originX:iw,originY:iw,originZ:de},Rx={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,radius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,top:de,right:de,bottom:de,left:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,backgroundPositionX:de,backgroundPositionY:de,...V0e,zIndex:Mw,fillOpacity:ba,strokeOpacity:ba,numOctaves:Mw},z0e={...Rx,color:Ie,backgroundColor:Ie,outlineColor:Ie,fill:Ie,stroke:Ie,borderColor:Ie,borderTopColor:Ie,borderRightColor:Ie,borderBottomColor:Ie,borderLeftColor:Ie,filter:JC,WebkitFilter:JC},PS=e=>z0e[e];function ES(e,t){let a=PS(e);return a!==JC&&(a=d1),a.getAnimatableNone?a.getAnimatableNone(t):void 0}const O0e=new Set(["auto","none","0"]);function D0e(e,t,a){let o=0,i;for(;o<e.length&&!i;){const c=e[o];typeof c=="string"&&!O0e.has(c)&&Sa(c).values.length&&(i=e[o]),o++}if(i&&a)for(const c of t)e[c]=ES(a,i)}class F0e extends Ax{constructor(t,a,o,i,c){super(t,a,o,i,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:a,name:o}=this;if(!a||!a.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let l=t[d];if(typeof l=="string"&&(l=l.trim(),Cx(l))){const h=SS(l,a.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!IS.has(o)||t.length!==2)return;const[i,c]=t,r=mw(i),s=mw(c);if(r!==s)if(pw(r)&&pw(s))for(let d=0;d<t.length;d++){const l=t[d];typeof l=="string"&&(t[d]=parseFloat(l))}else Yn[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:a}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||q0e(t[i]))&&o.push(i);o.length&&D0e(t,o,a)}measureInitialState(){const{element:t,unresolvedKeyframes:a,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Yn[o](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;const i=a[a.length-1];i!==void 0&&t.getValue(o,i).jump(i,!1)}measureEndState(){var s;const{element:t,name:a,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const i=t.getValue(a);i&&i.jump(this.measuredOrigin,!1);const c=o.length-1,r=o[c];o[c]=Yn[a](t.measureViewportBox(),window.getComputedStyle(t.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),(s=this.removedTransforms)!=null&&s.length&&this.removedTransforms.forEach(([d,l])=>{t.getValue(d).set(l)}),this.resolveNoneKeyframes()}}function B0e(e,t,a){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const i=(a==null?void 0:a[e])??o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const RS=(e,t)=>t&&typeof e=="number"?t.transform(e):e,_w=30,U0e=e=>!isNaN(parseFloat(e));class Z0e{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,i=!0)=>{var r,s;const c=He.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((r=this.events.change)==null||r.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty();i&&((s=this.events.renderRequest)==null||s.notify(this.current))},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=He.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=U0e(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Mx(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new mx);const o=this.events[t].add(a);return t==="change"?()=>{o(),be.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t,a=!0){!a||!this.passiveEffect?this.updateAndNotify(t,a):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,a,o){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=He.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>_w)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,_w);return Qb(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),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(){var t,a;(t=this.dependents)==null||t.clear(),(a=this.events.destroy)==null||a.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function sa(e,t){return new Z0e(e,t)}const{schedule:$x}=dS(queueMicrotask,!1),Ze={x:!1,y:!1};function $S(){return Ze.x||Ze.y}function G0e(e){return e==="x"||e==="y"?Ze[e]?null:(Ze[e]=!0,()=>{Ze[e]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function qS(e,t){const a=B0e(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[a,i,()=>o.abort()]}function gw(e){return!(e.pointerType==="touch"||$S())}function W0e(e,t,a={}){const[o,i,c]=qS(e,a),r=s=>{if(!gw(s))return;const{target:d}=s,l=t(d,s);if(typeof l!="function"||!d)return;const h=u=>{gw(u)&&(l(u),d.removeEventListener("pointerleave",h))};d.addEventListener("pointerleave",h,i)};return o.forEach(s=>{s.addEventListener("pointerenter",r,i)}),c}const TS=(e,t)=>t?e===t?!0:TS(e,t.parentElement):!1,qx=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,X0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function K0e(e){return X0e.has(e.tagName)||e.tabIndex!==-1}const uv=new WeakSet;function vw(e){return t=>{t.key==="Enter"&&e(t)}}function bC(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Y0e=(e,t)=>{const a=e.currentTarget;if(!a)return;const o=vw(()=>{if(uv.has(a))return;bC(a,"down");const i=vw(()=>{bC(a,"up")}),c=()=>bC(a,"cancel");a.addEventListener("keyup",i,t),a.addEventListener("blur",c,t)});a.addEventListener("keydown",o,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",o),t)};function Cw(e){return qx(e)&&!$S()}function Q0e(e,t,a={}){const[o,i,c]=qS(e,a),r=s=>{const d=s.currentTarget;if(!Cw(s))return;uv.add(d);const l=t(d,s),h=(y,C)=>{window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",p),uv.has(d)&&uv.delete(d),Cw(y)&&typeof l=="function"&&l(y,{success:C})},u=y=>{h(y,d===window||d===document||a.useGlobalTarget||TS(d,y.target))},p=y=>{h(y,!1)};window.addEventListener("pointerup",u,i),window.addEventListener("pointercancel",p,i)};return o.forEach(s=>{(a.useGlobalTarget?window:s).addEventListener("pointerdown",r,i),Px(s)&&(s.addEventListener("focus",l=>Y0e(l,i)),!K0e(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),c}function jS(e){return Kb(e)&&"ownerSVGElement"in e}function J0e(e){return jS(e)&&e.tagName==="svg"}const Re=e=>!!(e&&e.getVelocity),eie=[...AS,Ie,d1],tie=e=>eie.find(NS(e)),Tx=q.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class nie extends k.Component{getSnapshotBeforeUpdate(t){const a=this.props.childRef.current;if(a&&t.isPresent&&!this.props.isPresent){const o=a.offsetParent,i=Px(o)&&o.offsetWidth||0,c=this.props.sizeRef.current;c.height=a.offsetHeight||0,c.width=a.offsetWidth||0,c.top=a.offsetTop,c.left=a.offsetLeft,c.right=i-c.width-c.left}return null}componentDidUpdate(){}render(){return this.props.children}}function aie({children:e,isPresent:t,anchorX:a}){const o=q.useId(),i=q.useRef(null),c=q.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:r}=q.useContext(Tx);return q.useInsertionEffect(()=>{const{width:s,height:d,top:l,left:h,right:u}=c.current;if(t||!i.current||!s||!d)return;const p=a==="left"?`left: ${h}`:`right: ${u}`;i.current.dataset.motionPopId=o;const y=document.createElement("style");return r&&(y.nonce=r),document.head.appendChild(y),y.sheet&&y.sheet.insertRule(`
7828
7828
  [data-motion-pop-id="${o}"] {
7829
7829
  position: absolute !important;
7830
7830
  width: ${s}px !important;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Rating-x797yZQy.cjs");exports.Accordion=t.Accordion;exports.Alert=t.Alert;exports.Banner=t.Banner;exports.Button=t.Button;exports.Card=t.Card;exports.Checkbox=t.Checkbox;exports.Footer=t.Footer;exports.FormikInput=t.FormikInput;exports.Header=t.Header;exports.Icon=t.Icon;exports.Input=t.Input;exports.InputOtp=t.InputOtp;exports.Logo=t.Logo;exports.Modal=t.Modal;exports.Navbar=t.Navbar;exports.Pagination=t.Pagination;exports.Projects=t.Projects;exports.Radio=t.Radio;exports.Rating=t.Rating;exports.Section=t.Section;exports.Select=t.Select;exports.Social=t.Social;exports.Stack=t.Stack;exports.Textarea=t.Textarea;exports.Timeline=t.Timeline;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Rating-_L1M6rsn.cjs");exports.Accordion=t.Accordion;exports.Alert=t.Alert;exports.Banner=t.Banner;exports.Button=t.Button;exports.Card=t.Card;exports.Checkbox=t.Checkbox;exports.Footer=t.Footer;exports.FormikInput=t.FormikInput;exports.Header=t.Header;exports.Icon=t.Icon;exports.Input=t.Input;exports.InputOtp=t.InputOtp;exports.Logo=t.Logo;exports.Modal=t.Modal;exports.Navbar=t.Navbar;exports.Pagination=t.Pagination;exports.Projects=t.Projects;exports.Radio=t.Radio;exports.Rating=t.Rating;exports.Section=t.Section;exports.Select=t.Select;exports.Social=t.Social;exports.Stack=t.Stack;exports.Textarea=t.Textarea;exports.Timeline=t.Timeline;
@@ -1,4 +1,4 @@
1
- import { A as o, j as e, B as t, d as n, C as r, e as i, F as c, f as d, H as l, k as p, I, g as S, L as g, M as k, N as u, c as b, P as m, R as x, l as A, S as B, h as C, b as F, a as P, i as R, T } from "./Rating-DDn8AyDI.js";
1
+ import { A as o, j as e, B as t, d as n, C as r, e as i, F as c, f as d, H as l, k as p, I, g as S, L as g, M as k, N as u, c as b, P as m, R as x, l as A, S as B, h as C, b as F, a as P, i as R, T } from "./Rating-DJZiAbFd.js";
2
2
  export {
3
3
  o as Accordion,
4
4
  e as Alert,
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Rating-x797yZQy.cjs");exports.Accordion=t.Accordion;exports.Alert=t.Alert;exports.Banner=t.Banner;exports.Button=t.Button;exports.Card=t.Card;exports.Checkbox=t.Checkbox;exports.Footer=t.Footer;exports.FormikInput=t.FormikInput;exports.Header=t.Header;exports.Icon=t.Icon;exports.Input=t.Input;exports.InputOtp=t.InputOtp;exports.Logo=t.Logo;exports.Modal=t.Modal;exports.Navbar=t.Navbar;exports.Pagination=t.Pagination;exports.Projects=t.Projects;exports.Radio=t.Radio;exports.Rating=t.Rating;exports.Section=t.Section;exports.Select=t.Select;exports.Social=t.Social;exports.Stack=t.Stack;exports.Textarea=t.Textarea;exports.Timeline=t.Timeline;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Rating-_L1M6rsn.cjs");exports.Accordion=t.Accordion;exports.Alert=t.Alert;exports.Banner=t.Banner;exports.Button=t.Button;exports.Card=t.Card;exports.Checkbox=t.Checkbox;exports.Footer=t.Footer;exports.FormikInput=t.FormikInput;exports.Header=t.Header;exports.Icon=t.Icon;exports.Input=t.Input;exports.InputOtp=t.InputOtp;exports.Logo=t.Logo;exports.Modal=t.Modal;exports.Navbar=t.Navbar;exports.Pagination=t.Pagination;exports.Projects=t.Projects;exports.Radio=t.Radio;exports.Rating=t.Rating;exports.Section=t.Section;exports.Select=t.Select;exports.Social=t.Social;exports.Stack=t.Stack;exports.Textarea=t.Textarea;exports.Timeline=t.Timeline;
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as o, j as e, B as t, d as n, C as r, e as i, F as c, f as d, H as l, k as p, I, g as S, L as g, M as k, N as u, c as b, P as m, R as x, l as A, S as B, h as C, b as F, a as P, i as R, T } from "./Rating-DDn8AyDI.js";
1
+ import { A as o, j as e, B as t, d as n, C as r, e as i, F as c, f as d, H as l, k as p, I, g as S, L as g, M as k, N as u, c as b, P as m, R as x, l as A, S as B, h as C, b as F, a as P, i as R, T } from "./Rating-DJZiAbFd.js";
2
2
  export {
3
3
  o as Accordion,
4
4
  e as Alert,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uplord-ui",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "A modern, reusable React UI library.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",