1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34942,e=>{e.v({droplet:"droplet-module__ti0ZeW__droplet",label:"droplet-module__ti0ZeW__label",text:"droplet-module__ti0ZeW__text"})},5649,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(43794),n=e.i(1720),s=e.i(70789),a=e.i(14828),o=e.i(30965),l=e.i(94103),u=e.i(64125),h=e.i(62613),d=e.i(22122);function c(e,t){var i;let r;return(0,d.isEasingArray)(e)?e[i=e.length,((t-0)%(r=i-0)+r)%r+0]:e}var p=e.i(32344),m=e.i(80525),f=e.i(69115),g=e.i(35927);function v(e){return"object"==typeof e&&!Array.isArray(e)}function y(e,t,i,r){return"string"==typeof e&&v(t)?(0,g.resolveElements)(e,i,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function x(e,t,i,r){var n;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?i:null!=(n=r.get(t))?n:e}var b=e.i(25185),w=e.i(98612);function j(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function S(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function P(e,t){return t[e]||(t[e]=[]),t[e]}let T=e=>"number"==typeof e,k=e=>e.every(T);var A=e.i(60323),E=e.i(99306),M=e.i(32449),C=e.i(465),R=e.i(96971),L=e.i(67520),V=e.i(3002);class D extends V.VisualElement{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(t in e){let i=e[t];if("string"==typeof i||"number"==typeof i)return i}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return(0,L.createBox)()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}function _(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=(0,M.isSVGElement)(e)?new C.SVGVisualElement(t):new R.HTMLVisualElement(t);i.mount(e),A.visualElementStore.set(e,i)}function N(e){let t=new D({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),A.visualElementStore.set(e,t)}var O=e.i(77232);function I(e,t,i,r){let n=[];if((0,f.isMotionValue)(e)||"number"==typeof e||"string"==typeof e&&!v(t))n.push((0,O.animateSingleValue)(e,v(t)&&t.default||t,i&&i.default||i));else{let s=y(e,t,r),o=s.length;(0,a.invariant)(!!o,"No valid elements provided.");for(let e=0;e<o;e++){let r=s[e],a=r instanceof Element?_:N;A.visualElementStore.has(r)||a(r);let l=A.visualElementStore.get(r),u={...i};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(e,o)),n.push(...(0,E.animateTarget)(l,{...t,transition:u},{}))}}return n}let F=function(e,t,i){let r=[];if(Array.isArray(e)&&e.some(Array.isArray)){let i;i=[],(function(e,{defaultTransition:t={},...i}={},r,n){let s=t.duration||.3,d=new Map,g=new Map,v={},T=new Map,A=0,E=0,M=0;for(let i=0;i<e.length;i++){let o=e[i];if("string"==typeof o){T.set(o,E);continue}if(!Array.isArray(o)){T.set(o.name,x(E,o.at,A,T));continue}let[d,j,L={}]=o;void 0!==L.at&&(E=x(E,L.at,A,T));let V=0,D=(e,i,r,o=0,d=0)=>{var f;let g=Array.isArray(f=e)?f:[f],{delay:v=0,times:y=(0,p.defaultOffset)(g),type:x="keyframes",repeat:j,repeatType:S,repeatDelay:P=0,...T}=i,{ease:A=t.ease||"easeOut",duration:C}=i,R="function"==typeof v?v(o,d):v,L=g.length,D=(0,h.isGenerator)(x)?x:null==n?void 0:n[x];if(L<=2&&D){let e=100;2===L&&k(g)&&(e=Math.abs(g[1]-g[0]));let t={...T};void 0!==C&&(t.duration=(0,l.secondsToMilliseconds)(C));let i=function(e,t=100,i){let r=i({...e,keyframes:[0,t]}),n=Math.min((0,u.calcGeneratorDuration)(r),u.maxGeneratorDuration);return{type:"keyframes",ease:e=>r.next(n*e).value/t,duration:(0,l.millisecondsToSeconds)(n)}}(t,e,D);A=i.ease,C=i.duration}null!=C||(C=s);let _=E+R;1===y.length&&0===y[0]&&(y[1]=1);let N=y.length-g.length;if(N>0&&(0,m.fillOffset)(y,N),1===g.length&&g.unshift(null),j){(0,a.invariant)(j<20,"Repeat count too high, must be less than 20"),C*=j+1;let e=[...g],t=[...y],i=[...A=Array.isArray(A)?[...A]:[A]];for(let r=0;r<j;r++){g.push(...e);for(let n=0;n<e.length;n++)y.push(t[n]+(r+1)),A.push(0===n?"linear":c(i,n-1))}for(let e=0;e<y.length;e++)y[e]=y[e]/(j+1)}let O=_+C;!function(e,t,i,r,n,s){for(let t=0;t<e.length;t++){let i=e[t];i.at>n&&i.at<s&&((0,b.removeItem)(e,i),t--)}for(let a=0;a<t.length;
1a++)e.push({value:t[a],at:(0,w.mixNumber)(n,s,r[a]),easing:c(i,a)})}(r,g,A,y,_,O),V=Math.max(R+C,V),M=Math.max(O,M)};if((0,f.isMotionValue)(d))D(j,L,P("default",S(d,g)));else{let e=y(d,j,r,v),t=e.length;for(let i=0;i<t;i++){let r=S(e[i],g);for(let e in j){var C,R;D(j[e],(C=L,R=e,C&&C[R]?{...C,...C[R]}:{...C}),P(e,r),i,t)}}}A=E,E+=V}return g.forEach((e,r)=>{for(let n in e){let s=e[n];s.sort(j);let a=[],l=[],u=[];for(let e=0;e<s.length;e++){let{at:t,value:i,easing:r}=s[e];a.push(i),l.push((0,o.progress)(0,M,t)),u.push(r||"easeOut")}0!==l[0]&&(l.unshift(0),a.unshift(a[0]),u.unshift("easeInOut")),1!==l[l.length-1]&&(l.push(1),a.push(null)),d.has(r)||d.set(r,{keyframes:{},transition:{}});let h=d.get(r);h.keyframes[n]=a,h.transition[n]={...t,duration:M,ease:u,times:l,...i}}}),d})(e,t,void 0,{spring:s.spring}).forEach(({keyframes:e,transition:t},r)=>{i.push(...I(r,e,t))}),r=i}else r=I(e,t,i,void 0);return new n.GroupPlaybackControls(r)};var B=e.i(30589),$=e.i(47734);class z{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(i=>{i.start(e.nativeEvent||e,t)})}}let U=()=>new z;var W=e.i(59379),G=e.i(9344);function H(e){let t=(0,$.useConstant)(()=>(0,W.motionValue)(e)),{isStatic:r}=(0,i.useContext)(G.MotionConfigContext);if(r){let[,r]=(0,i.useState)(e);(0,i.useEffect)(()=>t.on("change",r),[])}return t}var q=e.i(34942);let X={type:"spring",damping:3,stiffness:50,restDelta:.001};e.s(["default",0,({text:e,className:n,position:s={x:5,y:5},size:a,delay:o})=>{let l=(0,i.useRef)(null),u=(0,i.useRef)(null),[h,d]=(0,i.useState)(!0),[c,p]=(0,i.useState)(null),m=(0,$.useConstant)(U),f=H(0),g=H(s.x),v=H(s.y),y=a??c??void 0,x={x:g,y:v,scale:f};return(0,i.useLayoutEffect)(()=>{if(!e||a||!u.current)return;let t=u.current,i=()=>{p({width:t.offsetWidth,height:t.offsetHeight})};i();let r=new ResizeObserver(i);return r.observe(t),()=>r.disconnect()},[e,a]),(0,i.useEffect)(()=>{d(!1)},[]),(0,i.useEffect)(()=>{g.set(s.x),v.set(s.y)},[s.x,s.y,g,v]),(0,i.useEffect)(()=>{let e=F(f,1,{...X,delay:h?o||.5:0});return()=>e.stop()},[o,h,f]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{onPointerDown:function(e){m.start(e)}}),(0,t.jsx)(B.motion.div,{ref:l,style:{...x,width:y?.width?`${y.width}px`:void 0,height:y?.height?`${y.height}px`:void 0,backdropFilter:"url(#fractal-noise-glass) opacity(1) blur(2px)",WebkitBackdropFilter:"url(#fractal-noise-glass) opacity(1) blur(2px)"},className:(0,r.default)("absolute left-0 top-0 rounded-[87.5px] border border-solid border-white mix-blend-overlay z-10 pointer-events-auto hover:cursor-move",q.default.droplet,n),drag:!0,dragControls:m,onHoverStart:function(){F(f,1.2,X)},onHoverEnd:function(){F(f,1,X)}}),e?(0,t.jsx)(B.motion.div,{ref:u,style:x,className:(0,r.default)("absolute left-0 top-0 z-[11] pointer-events-none",q.default.label),children:(0,t.jsx)("span",{className:(0,r.default)(q.default.text,"font-inter text-[1rem] text-white uppercase font-bold"),children:e})}):null]})}],5649)},49612,e=>{"use strict";var t=e.i(43476),i=e.i(57688),r=e.i(30589),n=e.i(5649);let s=[{label:"GitHub",href:"https://github.com/lukyvj"},{label:"LinkedIn",href:"https://www.linkedin.com/in/lukyvj/"},{label:"X / Twitter",href:"https://x.com/lukyvj"},{label:"Instagram",href:"https://www.instagram.com/lukyvj/"},{label:"CodePen",href:"https://codepen.io/lukyvj"},{label:"Bluesky",href:"https://bsky.app/profile/lukyvj.bsky.social"}],a=[{label:"Projects",href:"#work"},{label:"Videos",href:"#videos"},{label:"Community",href:"#community"},{label:"Testimonials",href:"#testimonials"},{label:"About",href:"#about"},{label:"Writing",href:"#writing"},{label:"Experiments",href:"#experiments"},{label:"Bluesky",href:"#bluesky"}],o=[{label:"Built with Next.js + motion",href:"https://nextjs.org"},{label:"3D with Three.js + GLSL",href:"https://threejs.org"},{label:"Hosted on Vercel",href:"https://vercel.com"}],l={hidden:{opacity:0,y:24},show:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}};e.s(["default",0,function({socialLinks:e}){let u=e&&e.length>0?e.map(e=>({label:e.name,href:e.url})):s,h={Sections:a,Elsewhere:u.slice(0,5),Colophon:o},d=["linkedin","twitter","x","github","bluesky","bsky"],c=u.filter(e=>d.some(t=>e.label.toLowerCase().includes(t)));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{id:"contact",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsxs)("div",{className:"section-label",children:[(0,t.jsx)("span",{className:"num",children:"11 â"}),(0,t.jsxs)("span",{className:"title",children:["Let's ",(0,t.jsx)("span",{className:"ital",children:"talk"})]}),(0,t.jsx)("span",{className:"meta",children:"Open to freelance, speaking, workshops"})]}),(0,t.jsxs)(r.motion.div,{className:"contact-a",initial:"hidden",
1whileInView:"show",viewport:{once:!0,margin:"-10%"},variants:l,children:[(0,t.jsx)(r.motion.div,{className:"avatar",animate:{y:[-4,4,-4]},transition:{duration:5,repeat:1/0,ease:"easeInOut"},children:(0,t.jsx)(i.default,{src:"/images/[email protected]",alt:"Lucas Bonomi",fill:!0,sizes:"120px",style:{objectFit:"cover",borderRadius:"50%",maskImage:"radial-gradient(black 60%, transparent 78%)",WebkitMaskImage:"radial-gradient(black 60%, transparent 78%)"}})}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"h",children:["Let's get ",(0,t.jsx)("span",{className:"ital",children:"in touch"})]}),(0,t.jsx)("p",{className:"b",children:"Apart from CSS I love nature, animal life and plants. If you want to build something weird or talk about DevRel craft, drop a line."}),(0,t.jsxs)("div",{className:"channels",children:[(0,t.jsx)("a",{href:"mailto:[email protected]",children:"Email"}),c.map(e=>{var i;return(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",children:(i=e.label,/twitter|\/ x\b|^x$/i.test(i)||i.includes("X /")?"X":/linkedin/i.test(i)?"LinkedIn":/github/i.test(i)?"GitHub":/bluesky|bsky/i.test(i)?"Bluesky":i)},e.href)})]})]})]})]})}),(0,t.jsxs)("footer",{className:"relative",children:[(0,t.jsx)(n.default,{className:"z-2",position:{x:60,y:60},size:{width:140,height:80},move:!0,delay:.6},"footer-droplet-a"),(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsxs)("div",{className:"footer-grid",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("a",{href:"#top",className:"brandmark",children:[(0,t.jsx)("span",{className:"sig","aria-hidden":!0}),(0,t.jsx)("span",{children:"Lucas Bonomi · @lukyvj"})]}),(0,t.jsx)("p",{style:{marginTop:14,fontSize:13,color:"var(--ink-3)",maxWidth:"38ch",lineHeight:1.55},children:"Frontend engineering + developer relations. Building, and still surprised by CSS most weeks."})]}),Object.entries(h).map(([e,i])=>(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{children:e}),(0,t.jsx)("ul",{children:i.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.href,target:e.href.startsWith("#")?void 0:"_blank",rel:e.href.startsWith("#")?void 0:"noopener noreferrer",children:e.label})},e.href))})]},e))]}),(0,t.jsxs)("div",{className:"footer-cred",children:[(0,t.jsxs)("span",{children:["© ",new Date().getFullYear()," Lucas Bonomi"]}),(0,t.jsx)("span",{children:"Paris, FR · hand-built"})]})]})]})]})}])},47777,e=>{"use strict";var t=e.i(43476),i=e.i(70703),r=e.i(71645),n=e.i(75254);let s=(0,n.default)("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]),a=(0,n.default)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]),o=["Lucas","Bonomi"];function l(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2}function u(){return(0,t.jsx)(t.Fragment,{children:o.map(e=>(0,t.jsx)("span",{className:"hero-title-line",children:Array.from(e).map((e,i)=>(0,t.jsx)("span",{"data-hero-glyph":!0,children:e},i))},e))})}function h({paused:e,flightEnabled:i=!0,onInvalidate:n}){let s=(0,r.useRef)(null),a=(0,r.useRef)(null),o=(0,r.useRef)(null),d=(0,r.useRef)(e),c=(0,r.useRef)(i),p=(0,r.useRef)(n);(0,r.useEffect)(()=>{d.current=e},[e]),(0,r.useEffect)(()=>{c.current=i},[i]),(0,r.useEffect)(()=>{p.current=n},[n]);let m=(0,r.useRef)(()=>{});return(0,r.useEffect)(()=>{m.current()},[i]),(0,r.useEffect)(()=>{let e=s.current,t=a.current,i=o.current;if(!e||!t||!i)return;let r=!1,n=0,u=0,h=!1,f=0,g=0,v=!1,y=!1,x=[],b=0,w=0,j=0,S=0,P=window.matchMedia("(prefers-reduced-motion: reduce)"),T=window.matchMedia("(forced-colors: active)"),k=e.closest(".portfolio-hero")??document.documentElement,A=()=>!d.current&&!P.matches&&!T.matches&&"off"!==document.documentElement.style.getPropertyValue("--motion").trim(),E=()=>{p.current?.()},M=()=>{x.forEach(({element:e})=>{e.style.transform="",e.style.transformOrigin=""})},C=()=>{t.style.position="absolute",t.style.left="50%",t.style.transform="translateX(-50%)",t.style.width="max-content",t.style.maxWidth="100%",t.style.zIndex="",t.dataset.pinned="false",t.dataset.scroll="home";let e=document.querySelector(".hero-title-spacer"),i=t.parentElement;if(e&&i){let r=e.getBoundingClientRect(),n=i.getBoundingClientRect();t.style.top=`${Math.round(r.top-n.top)}px`}else t.style.top="0"},R=()=>{M(),C(),function(e,t){e.style.fontSize="",e.style.width="max-content",e.style.maxWidth="none";let i=parseFloat(getComputedStyle(e).fontSize)||72,r=40,n=i;if(e.style.fontSize=`${n}px`,!((e.offsetWidth||0)<=t)){for(let i=0;i<14;i++){let i=(r+n)/2;e.style.fontSize=`${i}px`,(e.offsetWidth||0)<=t?r=i:n=i}e.style.fontSize=`${r}px`}}(i,Math.max(160,Math.min(window.innerWidth-32,900)));let t=i.getBoundingClientRect();S=t.height+12,e.style.height=`${Math.ceil(S)}
1px`,document.querySelectorAll(".hero-title-spacer").forEach(e=>{e.style.height=`${Math.ceil(S)}px`}),x=Array.from(i.querySelectorAll("[data-hero-glyph]")).map((e,i)=>{let r=e.getBoundingClientRect();return{element:e,homeX:r.left-t.left,homeY:r.top-t.top,width:r.width,height:r.height,x:0,y:0,vx:0,vy:0,angle:0,scale:1,skew:0,seed:(i+1)*1.618}}),L(!0),w=1,E()},L=(i=!1)=>{if(!c.current||P.matches){j=0,M(),C();return}let r=k.getBoundingClientRect(),n=Math.max(220,.8*r.height),s=Math.min(1,Math.max(0,-r.top/n));if(!i&&.001>Math.abs(s-j))return;if((j=s)<=.015)return void C();let a=e.getBoundingClientRect(),o=l(j),u=a.top,h=.74*window.innerHeight;t.style.position="fixed",t.style.left="50%",t.style.top=`${u+(h-u)*o}px`,t.style.transform=`translateX(-50%) scale(${1-.62*o})`,t.style.transformOrigin="center top",t.style.width="max-content",t.style.maxWidth="94vw",t.style.zIndex="60",t.dataset.pinned="true",t.dataset.scroll=j>.92?"docked":"flying",w=Math.max(w,1),E()},V=e=>{let t=i.getBoundingClientRect();return f=e.clientX-t.left,g=e.clientY-t.top,e.clientX>=t.left-56&&e.clientX<=t.right+56&&e.clientY>=t.top-56&&e.clientY<=t.bottom+56},D=e=>{if(n=0,document.hidden||(n=requestAnimationFrame(D),r||!x.length))return;let t=Math.min((e-(u||e-16))/1e3,.04);u=e;let s=A()&&!v&&!y,a=j>.015&&j<.985;if(!s&&!a&&w<.2&&b<.02&&j<=.015)return;let o=Math.sin(j*Math.PI),d=l(j);if(s||a){let r=Math.max(180,Math.min(280,.55*i.offsetWidth));x.forEach((i,n)=>{let s=i.homeX+i.width/2,a=i.homeY+i.height/2,l=s-f,u=a-g,c=Math.max(1,Math.hypot(l,u)),p=h&&j<.18?Math.pow(Math.max(0,1-c/r),2):0,m=Math.sin(.008*e+.9*n)*p;i.vx+=(l/c*p*42-i.x)*18*t-11*i.vx*t,i.vy+=(u/c*p*30-20*p-i.y)*18*t-11*i.vy*t,i.x+=i.vx*t,i.y+=i.vy*t,i.x=Math.max(-56,Math.min(56,i.x)),i.y=Math.max(-56,Math.min(56,i.y)),i.angle+=(.35*m+.0015*i.vx-i.angle)*Math.min(1,12*t),i.scale+=(1+p*(.18+n%3*.025)-i.scale)*Math.min(1,14*t),i.skew+=(7*m-i.skew)*Math.min(1,10*t);let v=.0014*e+i.seed,y=Math.cos(v)*o*(34+n%5*12)+Math.sin(2.7*i.seed)*o*22,x=Math.sin(1.25*v)*o*(48+n%4*14)-d*(n%2?10:-6)+Math.cos(i.seed)*o*16,b=Math.sin(v)*o*.7+(n%2?1:-1)*o*.28,w=1+Math.sin(9*i.seed+.0022*e)*o*.22,S=Math.cos(v)*o*10;i.element.style.transformOrigin="center",i.element.style.transform="translate3d("+(i.x+y).toFixed(2)+"px, "+(i.y+x).toFixed(2)+"px, 0) rotate("+(i.angle+b).toFixed(4)+"rad) skewX("+(i.skew+S).toFixed(2)+"deg) scale("+(i.scale*w).toFixed(4)+")"}),b*=Math.pow(.08,t)}w=x.reduce((e,t)=>e+Math.abs(t.x)+Math.abs(t.y)+Math.abs(t.vx)+Math.abs(t.vy),0),(h||w>.8||b>.02||a)&&E()},_=e=>{"touch"!==e.pointerType&&((h=V(e))&&(w=Math.max(w,1)),E())},N=()=>{h=!1,E()},O=e=>{"touch"!==e.pointerType&&V(e)&&(v=!0)},I=()=>{v=!1,E()},F=e=>{!A()||!V(e)||window.getSelection()?.toString()||j>.25||(b=1,w=1,x.forEach((e,t)=>{let i=e.homeX+e.width/2-f,r=e.homeY+e.height/2-g,n=Math.max(20,Math.hypot(i,r)),s=640/n;e.vx+=i/n*s*(1+t%3*.1),e.vy+=r/n*s-260,e.angle+=(t%2?1:-1)*.35}),E())},B=()=>{let e=window.getSelection();(y=!!(e?.toString()&&e.anchorNode&&i.contains(e.anchorNode)))||E()},$=()=>L(),z=()=>{if(document.hidden){cancelAnimationFrame(n),n=0;return}u=0,n||(n=requestAnimationFrame(D))};R(),m.current=()=>L(!0),document.hidden||(n=requestAnimationFrame(D));let U=new ResizeObserver(R);return U.observe(i),U.observe(e),t.addEventListener("pointermove",_),t.addEventListener("pointerleave",N),t.addEventListener("pointerdown",O),t.addEventListener("click",F),window.addEventListener("pointerup",I),window.addEventListener("pointercancel",I),document.addEventListener("selectionchange",B),window.addEventListener("resize",R),window.addEventListener("scroll",$,{passive:!0}),document.addEventListener("visibilitychange",z),document.fonts.addEventListener("loadingdone",R),()=>{r=!0,m.current=()=>{},cancelAnimationFrame(n),M(),U.disconnect(),t.removeEventListener("pointermove",_),t.removeEventListener("pointerleave",N),t.removeEventListener("pointerdown",O),t.removeEventListener("click",F),window.removeEventListener("pointerup",I),window.removeEventListener("pointercancel",I),document.removeEventListener("selectionchange",B),window.removeEventListener("resize",R),window.removeEventListener("scroll",$),document.removeEventListener("visibilitychange",z),document.fonts.removeEventListener("loadingdone",R)}},[]),(0,t.jsxs)("div",{className:"hero-live-title-shell",children:[(0,t.jsx)("div",{ref:s,className:"hero-live-title-slot","aria-hidden":"true"}),(0,t.jsx)("div",{ref:a,className:"hero-live-title","data-scroll":"home",children:(0,t.jsx)("h1",{ref:o,"aria-label":"Lucas Bonomi",children:(0,t.jsx)(u,{})})})]})}let d=(0,i.default)(()=>e.A(75705),{loadableGenerated:{modules:[76699]},ssr:!1}),c={Orbit:"Planet",Ribbon:"Helix",Crystal:"Keyboard"},p="lukyvj:html-in-canvas";function m({sculpture:e,paused:i,burst:r,setSculpture:n,setBurst:o,setPaused:l,onInvalidate:u,includeSculpture:p=!0,includeTitle:f=!0}){return(0,t.jsxs)(t.Fragment,{children:[p?(0,t.jsx)("div",{className:"hero-playground","aria-hidden":"true",children:(0,t.jsx)(d,{sculpture:e,paused:i,burst:r})}):null,(0,t.jsxs)("div",{className:"hero-foreground",children:[(0,t.jsxs)("nav",{className:"portfolio-nav wrap","aria-label":"Main navigation",children:[(0,t.jsx)("a",{href:"#top",className:"wordmark",children:"LukyVj"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("a",{href:"#work",children:"Work"}),(0,t.jsx)("a",{href:"#writing",children:"Writing"}),(0,t.jsx)("a",{href:"#videos",children:"Videos"}),(0,t.jsx)("a",{href:"#about",children:"About"}),(0,t.jsx)("a",{href:"#contact",children:"Contact"})]})]}),(0,t.jsxs)("div",{className:"hero-copy",children:[(0,t.jsx)("p",{className:"hero-kicker",children:"Frontend engineer · Creative developer · Paris"}),f?(0,t.jsx)(h,{paused:i,onInvalidate:u}):(0,t.jsx)("div",{className:"hero-title-spacer","aria-hidden":"true"}),(0,t.jsxs)("p",{className:"hero-intro",children:["I build for the web.",(0,t.jsx)("br",{}),"And play with everything it can become."]}),(0,t.jsxs)("a",{className:"hero-link",href:"#work",children:["Explore my work ",(0,t.jsx)("span",{"aria-hidden":"true",children:"â"})]})]}),(0,t.jsxs)("div",{className:"hero-bottom wrap",children:[(0,t.jsx)("span",{children:"CSS, code & curiosity."}
1),(0,t.jsxs)("div",{className:"sculpture-controls",role:"group","aria-label":"3D sculpture",children:[["Orbit","Ribbon","Crystal"].map(i=>(0,t.jsx)("button",{type:"button","aria-pressed":e===i,onClick:()=>n(i),children:c[i]},i)),(0,t.jsx)("button",{type:"button",onClick:()=>o(e=>e+1),"aria-label":"Make a little chaos",title:"Make a little chaos",children:"â³"}),(0,t.jsx)("button",{type:"button",onClick:()=>l(e=>!e),"aria-pressed":i,"aria-label":i?"Resume sculpture animation":"Pause sculpture animation",title:i?"Resume animation":"Pause animation",children:i?(0,t.jsx)(a,{size:16}):(0,t.jsx)(s,{size:16})})]})]})]})]})}function f({children:e,onReady:i,onFail:n}){let s=(0,r.useRef)(null),a=(0,r.useRef)(null),o=(0,r.useRef)(()=>{});(0,r.useEffect)(()=>{let e=s.current,t=a.current;if(!e||!t)return;e.setAttribute("layoutsubtree",""),t.setAttribute("drawable","");let r=e.getContext("2d");if(!r||"function"!=typeof e.requestPaint||"function"!=typeof r.drawElementImage)return void n();let l=!1,u=!1,h=!1,d=0,c=0,p=!0,m=i=>{u||l||(u=!0,h=!1,e.removeAttribute("layoutsubtree"),t.removeAttribute("drawable"),n())},f=()=>{if(!l&&!u&&!h&&!document.hidden){h=!0;try{e.requestPaint()}catch(e){m(e)}}};o.current=f;let g=()=>{if(d=0,l||u)return;let i=e.parentElement,r=Math.max(1,Math.ceil(i?.clientWidth||window.innerWidth)),n=Math.max(1,Math.ceil(i?.clientHeight||.95*window.innerHeight));e.style.width=`${r}px`,e.style.height=`${n}px`,e.width=r,e.height=n,t.style.width=`${r}px`,t.style.height=`${n}px`,t.style.maxWidth=`${r}px`,t.style.transform="",t.style.inset="0",t.style.left="0",t.style.top="0",f()},v=()=>{l||u||d||(d=window.requestAnimationFrame(g))},y=()=>{if(h=!1,l||u)return;let i=e.clientWidth||e.width||1,n=e.clientHeight||e.height||1;try{r.setTransform(1,0,0,1,0,0),r.clearRect(0,0,i,n),r.drawElementImage(t,0,0),t.style.transform="";let e=t.getBoundingClientRect();(e.width>1.25*window.innerWidth||e.height>1.5*window.innerHeight||e.left<-80||e.top<-80)&&m(Error("Native hero scene exceeded viewport bounds"))}catch(e){m(e)}},x=()=>{c=0,!p||document.hidden||u||l||(f(),c=requestAnimationFrame(x))},b=()=>{if(document.hidden){cancelAnimationFrame(c),c=0;return}c||!p||u||l||(c=requestAnimationFrame(x))},w=e.parentElement,j=new ResizeObserver(v);w&&j.observe(w);let S=new IntersectionObserver(([e])=>{(p=e.isIntersecting)?(f(),b()):(cancelAnimationFrame(c),c=0)});return S.observe(e),e.addEventListener("paint",y),e.addEventListener("contextlost",m),window.addEventListener("resize",v),document.fonts.addEventListener("loadingdone",v),document.addEventListener("visibilitychange",b),v(),b(),i?.(),()=>{l=!0,cancelAnimationFrame(d),cancelAnimationFrame(c),j.disconnect(),S.disconnect(),e.removeEventListener("paint",y),e.removeEventListener("contextlost",m),window.removeEventListener("resize",v),document.fonts.removeEventListener("loadingdone",v),document.removeEventListener("visibilitychange",b),t.style.transform=""}},[n,i]);let l=(0,r.useCallback)(()=>{o.current()},[]);return(0,t.jsx)("canvas",{ref:s,className:"hero-scene-canvas",children:(0,t.jsx)("div",{ref:a,className:"hero-scene",children:e({invalidate:l})})})}e.s(["default",0,function(){let[e,i]=(0,r.useState)("Orbit"),[n,s]=(0,r.useState)(!1),[a,o]=(0,r.useState)(0),[l,u]=(0,r.useState)(!1),[c,g]=(0,r.useState)(!0),[v,y]=(0,r.useState)("fallback");(0,r.useEffect)(()=>{let e=function(){let e;if("u"<typeof document)return!1;let t=document.createElement("canvas");t.style.cssText="position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;",document.body.appendChild(t);let i=(t.setAttribute("layoutsubtree",""),e=t.getContext("2d"),"layoutSubtree"in t&&"function"==typeof t.requestPaint&&"function"==typeof e?.drawElementImage);return t.remove(),i}(),t=function(){try{return"off"!==window.sessionStorage.getItem(p)}catch{return!0}}();u(e),g(t),y(e&&t?"native":"fallback")},[]);let x=(0,r.useCallback)(()=>y("fallback"),[]);(0,r.useCallback)(()=>{g(e=>{let t=!e;try{window.sessionStorage.setItem(p,t?"on":"off")}catch{}return y(t&&l?"native":"fallback"),t})},[l]);let b={sculpture:e,paused:n,burst:a,setSculpture:i,setBurst:o,setPaused:s};return(0,t.jsxs)("header",{className:"portfolio-hero",id:"top","data-html-in-canvas":v,"data-title-flight":c?"on":"off",children:[null,(0,t.jsx)("div",{className:"hero-playground","aria-hidden":"true",children:(0,t.jsx)(d,{sculpture:e,paused:n,burst:a})}),"native"===v?(0,t.jsx)(f,{onFail:x,children:({invalidate:e})=>(0,t.jsx)(m,{...b,includeSculpture:!1,includeTitle:!1,onInvalidate:e})}):(0,t.jsx)("div",{className:"hero-scene",children:(0,t.jsx)(m,{...b,includeSculpture:!1,includeTitle:!1})}),(0,t.jsx)("div",{className:"hero-title-layer",children:(0,t.jsxs)("div",{className:"hero-foreground hero-foreground--title",children:[(0,t.jsx)("div",{className:"portfolio-nav wrap hero-title-chrome","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"hero-copy",children:[(0,t.jsx)("p",{className:"hero-kicker hero-title-chrome","aria-hidden":"true",children:"Frontend engineer · Creative developer · Paris"}),(0,t.jsx)(h,{paused:n,flightEnabled:c})]}),(0,t.jsxs)("div",{className:"hero-bottom wrap hero-title-chrome","aria-hidden":"true",children:[(0,t.jsx)("span",{children:"CSS, code & curiosity."}
1),(0,t.jsxs)("div",{className:"sculpture-controls",children:[(0,t.jsx)("button",{type:"button",tabIndex:-1,children:"Planet"}),(0,t.jsx)("button",{type:"button",tabIndex:-1,children:"Helix"}),(0,t.jsx)("button",{type:"button",tabIndex:-1,children:"Keyboard"}),(0,t.jsx)("button",{type:"button",tabIndex:-1,children:"â³"}),(0,t.jsx)("button",{type:"button",tabIndex:-1,children:"ââ"})]})]})]})})]})}],47777)},71517,e=>{"use strict";var t=e.i(43476),i=e.i(71645);e.s(["default",0,function(){let e=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let t=e.current;if(!t)return;let i=0,r=()=>{i=0,t.dataset.active=window.scrollY>8?"true":"false"},n=()=>{i||(i=window.requestAnimationFrame(r))};return r(),window.addEventListener("scroll",n,{passive:!0}),()=>{window.cancelAnimationFrame(i),window.removeEventListener("scroll",n)}},[]),(0,t.jsx)("div",{ref:e,className:"paper-roll-viewport","data-active":"false","aria-hidden":"true",children:(0,t.jsx)("div",{className:"paper-roll-viewport__surface"})})}])},90890,e=>{"use strict";var t=e.i(43476),i=e.i(30589),r=e.i(46041);let n={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.05,delayChildren:.1}}},s={hidden:{opacity:0,y:16},show:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}},a={hidden:{opacity:0,scale:.85},show:{opacity:1,scale:1,transition:{duration:.3,ease:"easeOut"}}};e.s(["default",0,function({content:e}){let o=e??r.siteBlockDefaults.about,l=o.lead.split(/\bCSS\b/);return(0,t.jsx)("section",{id:"about",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsxs)("div",{className:"section-label",children:[(0,t.jsx)("span",{className:"num",children:"03 â"}),(0,t.jsxs)("span",{className:"title",children:["Ab",(0,t.jsx)("span",{className:"ital",children:"o"}),"ut"]}),(0,t.jsx)("span",{className:"meta",children:"Frontend, design & developer relations"})]}),(0,t.jsxs)(i.motion.div,{className:"about-a",variants:n,initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-10%"},children:[(0,t.jsx)(i.motion.div,{variants:s,children:(0,t.jsx)("p",{className:"lead",children:l.length>1?(0,t.jsxs)(t.Fragment,{children:[l[0],(0,t.jsx)("span",{className:"ital",children:"CSS"}),l.slice(1).join("CSS")]}):o.lead})}),(0,t.jsxs)(i.motion.div,{className:"body",variants:s,children:[o.paragraphs.map(e=>(0,t.jsx)("p",{children:e},e.slice(0,48))),(0,t.jsx)(i.motion.div,{className:"stack",variants:n,children:o.stack.map(e=>(0,t.jsx)(i.motion.span,{variants:a,children:e},e))})]})]})]})})}])},16948,e=>{"use strict";var t=e.i(43476);let i=(0,e.i(70703).default)(()=>e.A(18472),{loadableGenerated:{modules:[16733]},ssr:!1});e.s(["default",0,function(){return(0,t.jsx)("div",{className:"github-sculpture",children:(0,t.jsx)(i,{sculpture:"Crystal"})})}])},9569,e=>{"use strict";var t=e.i(43476),i=e.i(30589),r=e.i(46041);let n={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.08,delayChildren:.05}}},s={hidden:{opacity:0,y:8},show:{opacity:1,y:0,transition:{duration:.4,ease:"easeOut"}}};e.s(["default",0,function({content:e}){let a=e?.items?.length?e.items:r.siteBlockDefaults.now.items;return(0,t.jsx)("section",{style:{padding:0},id:"now",children:(0,t.jsx)("div",{className:"wrap",children:(0,t.jsx)(i.motion.div,{className:"now-strip tabular",variants:n,initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-10%"},children:a.map(e=>(0,t.jsxs)(i.motion.div,{variants:s,children:[(0,t.jsx)("span",{className:"k",children:e.label}),(0,t.jsx)("span",{className:"v",children:e.href?(0,t.jsx)("a",{className:"Community"===e.label?"accent":void 0,href:e.href,target:"_blank",rel:"noopener noreferrer",children:e.value}):e.value})]},e.label))})})})}])},73977,e=>{"use strict";var t=e.i(43476),i=e.i(30589);let r=[{n:"01",t:"Building Swagsearch: Crafting a real-time swag discovery platform",m:"Algolia · 2025 · Engineering",url:"https://www.algolia.com/blog/engineering/building-swagsearch"},{n:"02",t:"How I recreated r/place with Algolia",m:"Algolia · 2022 · Engineering",url:"https://www.algolia.com/blog/engineering/how-i-recreated-r-place-with-algolia/"},{n:"03",t:"Recreating AlterTable.ai cards with modern CSS",m:"CodePen · 2025 · Demo",url:"https://codepen.io/LukyVj/full/YPXGpWy"},{n:"04",t:"Futuristic Dial Button",m:"DEV · 2023 · CSS Demo",url:"https://dev.to/lukyvj/futuristic-dial-button-3d8e"},{n:"05",t:"Subtle rainbow gradient buttons",m:"DEV · 2023 · CSS Demo",url:"https://dev.to/lukyvj/subtle-rainbow-gradient-buttons-4lp1"},{n:"06",t:"Tilt playing card",m:"DEV · 2023 · CSS Demo",url:"https://dev.to/lukyvj/tilt-playing-card-30k9"},{n:"07",t:"Sharp & Glowing dark card",m:"DEV · 2023 · CSS Demo",url:"https://dev.to/lukyvj/sharp-glowing-dark-card-chrome-only-5g90"},{n:"08",t:"Grainy & Gradients text",m:"DEV · 2023 · CSS Demo",url:"https://dev.to/lukyvj/grainy-gradients-text-chromepen-52g5"},{n:"09",t:"The new Pandicons",m:"Medium · 2015 · Archive",url:"https://medium.com/@lukyvj/the-new-pandicons-6ced6a512d03"},{n:"10",t:"An introduction to Gulp.js",m:"Medium · 2015 · Archive",url:"https://medium.com/@lukyvj/an-introduction-to-gulp-js-295ee489e2c9"},{n:"11",t:"How to Create a Metro Style Accordion",m:"Medium · 2014 · Archive",url:"https://medium.com/@lukyvj/how-to-create-a-metro-style-accordion-5eb3e1afe780"},{n:"12",t:"How I animated Color-Template",m:"Medium · 2014 · Archive",url:"https://medium.com/@lukyvj/how-i-animated-color-template-4f45dc4e9410"},{n:"13",t:"Responsive images with CSS",m:"Medium · 2014 · Archive",url:"https://medium.com/@lukyvj/responsive-images-with-css-f76093bd8719"}],n={hidden:{opacity:0}
1,show:{opacity:1,transition:{staggerChildren:.06}}},s={hidden:{opacity:0,x:-12},show:{opacity:1,x:0,transition:{duration:.4,ease:"easeOut"}}};e.s(["default",0,function({items:e}){let a=e&&e.length>0?e.map(e=>({n:e.number,t:e.title,m:e.meta,url:e.url})):r;return(0,t.jsx)("section",{id:"writing",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsxs)("div",{className:"section-label",children:[(0,t.jsx)("span",{className:"num",children:"04 â"}),(0,t.jsxs)("span",{className:"title",children:["Wri",(0,t.jsx)("span",{className:"ital",children:"t"}),"ing & demos"]}),(0,t.jsx)("span",{className:"meta",children:"Published articles & experiments"})]}),(0,t.jsx)(i.motion.div,{className:"writing-list",variants:n,initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-10%"},children:a.map(e=>e.url?(0,t.jsxs)(i.motion.a,{href:e.url,className:"writing-item",target:"_blank",rel:"noopener noreferrer",variants:s,whileHover:{x:6},transition:{type:"spring",stiffness:300,damping:24},children:[(0,t.jsx)("span",{className:"n",children:e.n}),(0,t.jsx)("span",{className:"t",children:e.t}),(0,t.jsx)("span",{className:"m",children:e.m})]},`${e.n}-${e.url}`):(0,t.jsxs)(i.motion.div,{className:"writing-item",variants:s,whileHover:{x:6},transition:{type:"spring",stiffness:300,damping:24},children:[(0,t.jsx)("span",{className:"n",children:e.n}),(0,t.jsx)("span",{className:"t",children:e.t}),(0,t.jsx)("span",{className:"m",children:e.m})]},e.n))})]})})}],73977)},98302,e=>{"use strict";var t=e.i(43476),i=e.i(71645);let r=function(){let[e,t]=(0,i.useState)("system");return(0,i.useEffect)(()=>{let t=document.body;t.classList.remove("dark","light"),"dark"===e?(t.classList.add("dark"),localStorage.setItem("theme","dark")):"light"===e?(t.classList.add("dark"),localStorage.setItem("theme","light")):(window.matchMedia("(prefers-color-scheme: dark)").matches,t.classList.add("dark"))},[e]),(0,i.useEffect)(()=>{let i=i=>{"dark"===e||"light"===e||"system"===e&&i.matches,t("dark")},r=window.matchMedia("(prefers-color-scheme: dark)");return t(localStorage.getItem("theme")?"dark"===localStorage.getItem("theme")?"dark":"light":r.matches?"dark":"light"),r.addEventListener("change",i),()=>{r.removeEventListener("change",i)}},[]),{colorScheme:e,setColorScheme:t}};var n=e.i(5649),s=e.i(75254);let a=(0,s.default)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),o=(0,s.default)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);e.s(["default",0,()=>{let{colorScheme:e,setColorScheme:i}=r();return(0,t.jsx)("div",{className:"utils fixed top-5 left-5 pointer-events-none hidden",children:(0,t.jsx)("div",{className:"dark-mode-toggle",children:(0,t.jsxs)("label",{children:[(0,t.jsx)("input",{type:"checkbox",hidden:!0,checked:"dark"===e,onChange:()=>i("dark"===e?"light":"dark")}),(0,t.jsx)(n.default,{className:"z-5 mix-blend-normal",position:{x:10,y:10},delay:1.35,text:"dark"===e?(0,t.jsx)(o,{}):(0,t.jsx)(a,{})},"droplet-398")]})})})}],98302)},71792,e=>{e.v({bottom:"waiting-screen-module__10_ITG__bottom",copy:"waiting-screen-module__10_ITG__copy",foreground:"waiting-screen-module__10_ITG__foreground",intro:"waiting-screen-module__10_ITG__intro",kicker:"waiting-screen-module__10_ITG__kicker",links:"waiting-screen-module__10_ITG__links",playground:"waiting-screen-module__10_ITG__playground",pulse:"waiting-screen-module__10_ITG__pulse",screen:"waiting-screen-module__10_ITG__screen",status:"waiting-screen-module__10_ITG__status",title:"waiting-screen-module__10_ITG__title",top:"waiting-screen-module__10_ITG__top",wordmark:"waiting-screen-module__10_ITG__wordmark"})},29575,e=>{"use strict";var t=e.i(43476),i=e.i(70703),r=e.i(30589),n=e.i(71792);let s=(0,i.default)(()=>e.A(75705),{loadableGenerated:{modules:[76699]},ssr:!1}),a=[{label:"X",href:"https://x.com/lukyvj"},{label:"LinkedIn",href:"https://www.linkedin.com/in/lucas-bonomi-lukyvj/"},{label:"GitHub",href:"https://github.com/lukyvj"},{label:"Email",href:"mailto:[email protected]"}],o=[.22,1,.36,1];e.s(["default",0,function(){return(0,t.jsxs)("main",{id:"main-content",className:n.default.screen,children:[(0,t.jsx)("div",{className:"overlay"}),(0,t.jsx)("div",{className:n.default.playground,"aria-hidden":"true",children:(0,t.jsx)(s,{sculpture:"Orbit",paused:!1})}),(0,t.jsxs)("div",{className:n.default.foreground,children:[(0,t.jsxs)("div",{className:`${n.default.top} wrap`,children:[(0,t.jsx)("span",{className:n.default.wordmark,children:"LukyVj"}),(0,t.jsxs)("p",{className:n.default.status,children:[(0,t.jsx)("span",{className:n.default.pulse,"aria-hidden":"true"}),"In the making"]})]}),(0,t.jsxs)("div",{className:`${n.default.copy} wrap`,children:[(0,t.jsx)(r.motion.p,{className:n.default.kicker,initial:{opacity:0,y:12}
1,animate:{opacity:1,y:0},transition:{duration:.7,ease:o,delay:.1},children:"New portfolio · Coming soon"}),(0,t.jsxs)(r.motion.h1,{className:n.default.title,initial:{opacity:0,y:28},animate:{opacity:1,y:0},transition:{duration:.9,ease:o,delay:.2},children:["Lucas",(0,t.jsx)("br",{}),"Bonomi"]}),(0,t.jsxs)(r.motion.p,{className:n.default.intro,initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.75,ease:o,delay:.45},children:["Something new is taking shape.",(0,t.jsx)("br",{}),"Check back shortly or say hi meanwhile."]}),(0,t.jsx)(r.motion.nav,{className:n.default.links,"aria-label":"Elsewhere",initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,ease:o,delay:.7},children:a.map(e=>(0,t.jsx)("a",{href:e.href,...e.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{},children:e.label},e.href))})]}),(0,t.jsxs)("div",{className:`${n.default.bottom} wrap`,children:[(0,t.jsx)("span",{children:"CSS, code & curiosity."}),(0,t.jsx)("span",{children:"Paris"})]})]})]})}])},63450,(e,t,i)=>{t.exports=[{title:"Shadow Vision",description:"users can adjust the \"y + x\" slider to modify the shadow's angle and toggle the animation feature to observe the shadow's dynamic behavior. This interactive tool exemplifies how the Houdini Paint API enables developers to craft custom CSS properties and effects, enhancing the capabilities of traditional CSS.",url:"https://shadow-vision.vercel.app/",type:"CSS"},{title:"Algo Flix",description:"AlgoFlix is an experiment that renders small videos in CSS",url:"https://algo-flix.vercel.app/",type:"Algolia"},{title:"r/place with Algolia",description:"A re-creation of the Reddit April Fools' Day event, r/place, using Algolia as the backend",url:"https://algolia-canvas.vercel.app/",type:"Algolia"},{title:"Video to CSS Box shadow",description:"This experiment converts a video into a CSS box-shadow",url:"https://videos-css-box-shadow.vercel.app/",type:"CSS"},{title:"colorify 2",description:"Colorify 2 is a project that takes an image and generates a color palette from it",url:"https://colorify-two.vercel.app/",type:"Misc"},{title:"Hair Salon Search",description:"A search experience for hair salons in Paris",url:"https://hair-salons.vercel.app/",type:"Algolia"},{title:"Pageviews counter with Algolia",description:"A simple pageviews counter using Algolia",url:"https://algolia-pageviews-counter.vercel.app/",type:"Algolia"},{title:"BlurHash Playground",description:"I've built this small app to play around with the BlurHash format, you can upload images and get their blurash representation either as images, CSS background or more!",url:"https://blurhash-playground.vercel.app/",type:"CSS"},{title:"RandomiCSSer",description:"RandomiCSSer is a project that generates random numbers as css variables",url:"https://github.com/LukyVj/randomiCSSer",type:"CSS"},{title:"Al Cool",description:"Live demo â Al Cool.",url:"https://al-cool.vercel.app/",type:"Misc"},{title:"Alg Design Experiment",description:"Live demo â Alg Design Experiment.",url:"https://alg-design-experiment.vercel.app/",type:"Algolia"},{title:"Algo Globe",description:"Live demo â Algo Globe.",url:"https://algo-globe-lucasbonomi.vercel.app/",type:"Algolia"},{title:"AlgoCraft",description:"Live demo â AlgoCraft.",url:"https://algocraft-lucasbonomi.vercel.app/",type:"Algolia"},{title:"ATProto Search",description:"Live demo â ATProto Search.",url:"https://atproto-search.vercel.app/",type:"Algolia"},{title:"Bluesky Advanced",description:"Live demo â Bluesky Advanced.",url:"https://bluesky-advanced.vercel.app/",type:"Misc"},{title:"Falling Sand",description:"Live demo â Falling Sand.",url:"https://falling-sand.vercel.app/",type:"Three.js"},{title:"Fontizer",description:"Live demo â Fontizer.",url:"https://fontizer.vercel.app/",type:"CSS"},{title:"Framer Motion DocSearch",description:"Live demo â Framer Motion DocSearch.",url:"https://framer-motion-docsearch.vercel.app/",type:"Algolia"},{title:"Genesis",description:"Live demo â Genesis.",url:"https://genesis-algolia.vercel.app/",type:"Algolia"},{title:"Heerich Voxelcraft",description:"Live demo â Heerich Voxelcraft.",url:"https://heerich-voxelcraft.vercel.app/",type:"Three.js"},{title:"HelloFresh Recipes Search",description:"Live demo â HelloFresh Recipes Search.",url:"https://hellofresh-recipes-indol.vercel.app/",type:"Misc"},{title:"InstantSearch Infinite Hits Scroll",description:"Live demo â InstantSearch Infinite Hits Scroll.",url:"https://instantsearch-infinite-hits-persistent-scroll-position.vercel.app/",type:"Algolia"},{title:"LukyShawty",description:"Live demo â LukyShawty.",url:"https://lukyshawty.vercel.app/",type:"CSS"},{title:"Meetup Signs",description:"Live demo â Meetup Signs.",url:"https://meetup-signs.vercel.app/",type:"Misc"},{title:"Midjourney Archive",description:"Live demo â Midjourney Archive.",url:"https://lukyvj-midjourney-archive.vercel.app/",type:"Misc"},{title:"Pretext Text Webcam",description:"Live demo â Pretext Text Webcam.",url:"https://pretext-text-webcam.vercel.app/",type:"Misc"},{title:"React WebGL Waves",description:"Live demo â React WebGL Waves.",url:"https://react-webgl-waves.vercel.app/",type:"Three.js"},{title:"Search what's missing from CSS",description:"Live demo â Search what's missing from CSS.",url:"https://search-whats-missing-from-css.vercel.app/",type:"CSS"},{title:"Spooky Movies Search",description:"Live demo â Spooky Movies Search.",url:"https://spooky-movies-search.vercel.app/",type:"Algolia"},{title:"Three.js 3D Text",description:"Live demo â Three.js 3D Text.",url:"https://threejs-3d-text-lucasbonomi.vercel.app/",type:"Three.js"},{title:"Three.js Code Structuring",description:"Live demo â Three.js Code Structuring.",url:"https://three-js-cde-structuring.vercel.app/",type:"Three.js"},{title:"Three.js Environment Map",description:"Live demo â Three.js Environment Map.",url:"https://threejs-environment-map-psi.vercel.app/",type:"Three.js"},{title:"Three.js Galaxy Generator",description:"Live demo â Three.js Galaxy Generator.",url:"https://threejs-galaxy-generator-cyan.vercel.app/",type:"Three.js"},{title:"Three.js Haunted House",description:"Live demo â Three.js Haunted House.",url:"https://threejs-haunted-house-delta.vercel.app/",type:"Three.js"},{title:"Three.js Imported Models",description:"Live demo â Three.js Imported Models.",url:"https://threejs-imported-models-rho.vercel.app/",type:"Three.js"},{title:"Three.js Journey Demos",description:"Live demo â Three.js Journey Demos.",url:"https://threejs-journey-demos.vercel.app/",type:"Three.js"},{title:"Three.js Lights",description:"Live demo â Three.js Lights.",url:"https://threejs-journey-lights-steel.vercel.app/",type:"Three.js"},{title:"Three.js Particles",description:"Live demo â Three.js Particles.",url:"https://threejs-particles-seven.vercel.app/",type:"Three.js"}
1,{title:"Three.js Physics Basics",description:"Live demo â Three.js Physics Basics.",url:"https://physic-basic-three-js.vercel.app/",type:"Three.js"},{title:"Three.js Raycaster",description:"Live demo â Three.js Raycaster.",url:"https://threejs-raycaster-omega.vercel.app/",type:"Three.js"},{title:"Three.js Realistic Renders",description:"Live demo â Three.js Realistic Renders.",url:"https://threejs-realistic-renders.vercel.app/",type:"Three.js"},{title:"Three.js Shaders",description:"Live demo â Three.js Shaders.",url:"https://threejs-shaders-smoky.vercel.app/",type:"Three.js"},{title:"Three.js Shadows",description:"Live demo â Three.js Shadows.",url:"https://threejs-shadows-zeta.vercel.app/",type:"Three.js"},{title:"Three.js Test Portfolio",description:"Live demo â Three.js Test Portfolio.",url:"https://threejs-test-portfolio.vercel.app/",type:"Three.js"},{title:"Tiny OS",description:"Live demo â Tiny OS.",url:"https://tiny-os.vercel.app/",type:"Misc"},{title:"Total Recall",description:"Live demo â Total Recall.",url:"https://total-recall-self.vercel.app/",type:"Algolia"},{title:"v0 Dashboard Monkey",description:"Live demo â v0 Dashboard Monkey.",url:"https://v0-dashboard-m-o-n-k-y.vercel.app/",type:"Misc"},{title:"What The Prompt",description:"Live demo â What The Prompt.",url:"https://what-the-prompt.vercel.app/",type:"Misc"}]},54839,e=>{"use strict";var t=e.i(43476),i=e.i(30589),r=e.i(63450);let n={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.05}}},s={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,ease:"easeOut"}}};e.s(["default",0,function({projects:e}){let a=e&&e.length>0?e:r.default;return(0,t.jsx)("section",{id:"experiments",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsxs)("div",{className:"section-label",children:[(0,t.jsx)("span",{className:"num",children:"06 â"}),(0,t.jsxs)("span",{className:"title",children:["Exp",(0,t.jsx)("span",{className:"ital",children:"e"}),"riments"]}),(0,t.jsx)("span",{className:"meta",children:"CSS, Three.js & search playgrounds â @codepen/lukyvj"})]}),(0,t.jsx)(i.motion.div,{className:"xp-grid-outer",variants:n,initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-10%"},children:a.map(e=>(0,t.jsx)(i.motion.a,{className:"xp",href:e.url,target:"_blank",rel:"noopener noreferrer",variants:s,style:{background:function(e){switch(e){case"Algolia":return"radial-gradient(120% 80% at 20% 10%, oklch(0.62 0.18 260) 0%, transparent 55%), conic-gradient(from 210deg at 70% 80%, oklch(0.45 0.14 260) 0%, oklch(0.25 0.08 260) 60%, oklch(0.38 0.12 260) 100%)";case"Three.js":return"radial-gradient(120% 80% at 20% 10%, oklch(0.58 0.14 195) 0%, transparent 55%), conic-gradient(from 210deg at 70% 80%, oklch(0.40 0.12 195) 0%, oklch(0.22 0.06 195) 60%, oklch(0.34 0.10 195) 100%)";case"Misc":return"radial-gradient(120% 80% at 20% 10%, oklch(0.60 0.18 300) 0%, transparent 55%), conic-gradient(from 210deg at 70% 80%, oklch(0.42 0.14 300) 0%, oklch(0.24 0.08 300) 60%, oklch(0.36 0.12 300) 100%)";default:return"radial-gradient(120% 80% at 20% 10%, var(--accent) 0%, transparent 55%), conic-gradient(from 210deg at 70% 80%, oklch(0.45 0.14 var(--hue)) 0%, oklch(0.22 0.06 var(--hue)) 60%, oklch(0.38 0.12 var(--hue)) 100%)"}}(e.type)},children:(0,t.jsxs)("div",{className:"label",children:[(0,t.jsx)("strong",{children:e.title}),(0,t.jsx)("p",{children:e.description}),(0,t.jsx)("span",{children:e.type})]})},e.url))})]})})}])},83111,(e,t,i)=>{t.exports=[{id:1,author:{name:"Sarah Dayan",url:"https://twitter.com/frontstuff_io",picture:"/images/picture-sarah.jpeg",job_title:"Principal Software Engineer"},value:"Iâve met gifted people, but Luky is one of the few true CSS wizards I know. Heâs highly imaginative, and heâs always down to use new features and cutting-edge APIs to show you that, yes, this is possible in CSS. His enthusiasm and energy are refreshing, and everyone secretly aspires to be as cool as he is."},{id:2,author:{name:"Sebastien Navizet",url:"https://twitter.com/sebastienNvzt",picture:"/images/picture-sebastien.jpeg",job_title:"Freelance creative director"},value:"Luky is the dream partner in crime for a designer, always keen to implement the craziest designs. He is never afraid to explore new techniques, with a rare sense of detail and aesthetics. The best part is that in the end, you end up with an even cleaner look than the initial design!"},{id:3,author:{name:"Nicolas Meuzard",url:"https://twitter.com/NicolasMzrd",picture:"/images/picture-nico.jpeg",job_title:"Product Designer"},value:"Working with Lucas has been one of the most flawless collaboration I've had as a designer. Constantly paying attention to details, crafting pixel-perfect experiences, he's not afraid to go above and beyond to be proud of the final result, which is a quality inherent to passionated workers I love working with."},{id:4,author:{name:"Kevin Granger",url:"https://twitter.com/shipow",picture:"/images/picture-kevin.jpeg",job_title:"Head of growth & development journey"},value:"Among all the stars in the galaxy, the shiniest is called Luky. If you see it, make a wish for your next project and the sparkles of his creativity will bring life to your craziest dreams. Luky is the magic sauce."},{id:5,author:{name:"Ronan Levesque",url:"https://twitter.com/ronanlevesque",picture:"",job_title:"Engineering Manager"},value:"I've had the chance to work with Lucas for many years, and all I can say is that every minute of it was a blast. Not only is he an incredible, funny and humble human being, but he also has a hacking mindset that helps him push his limits further and further. Lucas is truly a front-end expert with crazy CSS skills, and he always delivers pixel-perfect web experiences which are simply delightful to explore."}]},48462,e=>{"use strict";var t=e.i(43476),i=e.i(30589),r=e.i(83111);let n={hidden:{opacity:0}
1,show:{opacity:1,transition:{staggerChildren:.08}}},s={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}};function a(e){return{id:e.id,author:{name:e.author_name,url:e.author_url,picture:e.author_picture,job_title:e.author_job_title},value:e.quote}}e.s(["default",0,function({testimonials:e}){let o=e&&e.length>0?e.map(a):r.default;return(0,t.jsx)("section",{id:"testimonials",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsxs)("div",{className:"section-label",children:[(0,t.jsx)("span",{className:"num",children:"08 â"}),(0,t.jsxs)("span",{className:"title",children:["Coll",(0,t.jsx)("span",{className:"ital",children:"a"}),"boration"]}),(0,t.jsx)("span",{className:"meta",children:"Words from collaborators"})]}),(0,t.jsxs)(i.motion.div,{className:"quotes",variants:n,initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-10%"},children:[(0,t.jsx)(i.motion.div,{className:"quote intro",variants:s,children:(0,t.jsx)("blockquote",{children:"I like building with CSS things it probably shouldn't be built with â and apparently a few designers and engineers enjoy the ride too. Here's what some of them had to say."})}),o.map(e=>(0,t.jsxs)(i.motion.div,{className:"quote",variants:s,children:[(0,t.jsx)("blockquote",{children:e.value}),(0,t.jsxs)("cite",{children:[(0,t.jsx)("b",{children:e.author.name}),e.author.job_title]})]},e.id))]})]})})}])},46041,e=>{"use strict";e.s(["siteBlockDefaults",0,{now:{items:[{label:"Now",value:"Paris, FR"},{label:"Craft",value:"Frontend · CSS · creative development"},{label:"Open source",value:"@LukyVj",href:"https://github.com/LukyVj"},{label:"Community",value:"Paris Design Meetup",href:"https://design-meetup.com"},{label:"Exploring",value:"WebGL · AI · design workflows"}]},about:{lead:"I build things with CSS, sometimes things that probably shouldn't be built with CSS â and then I tell the rest of the industry they can do it too.",paragraphs:["I joined Algolia in 2016 as employee #22 and grew from frontend developer to Senior Developer Relations Engineer, leaving in July 2025. I built interfaces, technical demos and tools that helped developers explore what search could do.","Today I work across frontend engineering, creative development and developer advocacy. My work includes CSS playgrounds, open-source tools, design systems and experiments connecting code, design and AI."],stack:["CSS","Vanilla JS","React","Next.js","Astro","Three.js","Algolia","Figma","Design Systems","DX","Public Speaking","Writing"]},community:{lead:"I build communities as well as interfaces.",paragraphs:["I organize Paris Design Meetup with Sébastien Navizet, bringing designers, developers and creative technologists together for talks, demos and conversations.","Our May 2026 edition at Jitter explored design workflows and AI, with Mathieu Boulet, Célia Lopez and Kim Köhler. My role: organizing the event and creating a space for these voices."],cta_label:"Explore Paris Design Meetup â",cta_url:"https://design-meetup.com"}}])},43794,(e,t,i)=>{!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var s=arguments[t];s&&(e=n(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var s in e)i.call(e,s)&&e[s]&&(t=n(t,s));return t}(s)))}return e}function n(e,t){return t?e?e+" "+t:e+t:e}if(t.exports)r.default=r,t.exports=r;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==r&&e.v(r);else window.classNames=r}()},30589,25185,59379,69115,1720,94103,62613,30965,14828,64125,98612,70789,22122,80525,32344,99306,67520,77232,32449,35927,60323,3002,96971,465,e=>{"use strict";let t,i,r;function n(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}let s=e=>Array.isArray(e);function a(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let r=0;r<i;r++)if(t[r]!==e[r])return!1;return!0}function o(e){return"string"==typeof e||Array.isArray(e)}function l(e){let t=[{},{}];
1return null==e||e.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function u(e,t,i,r){if("function"==typeof t){let[n,s]=l(r);t=t(void 0!==i?i:e.custom,n,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[n,s]=l(r);t=t(void 0!==i?i:e.custom,n,s)}return t}function h(e,t,i){let r=e.getProps();return u(r,t,void 0!==i?i:r.custom,e)}let d=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],c=["initial",...d];function p(e,t){return e?e[t]||e.default||e:void 0}let m=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],f=new Set(m),g=new Set(["width","height","top","left","right","bottom",...m]),v=e=>s(e)?e[e.length-1]||0:e,y=e=>e,x=["read","resolveKeyframes","update","preRender","render","postRender"];function b(e,t){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,a=x.reduce((e,t)=>(e[t]=function(e){let t=new Set,i=new Set,r=!1,n=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(t){s.has(t)&&(l.schedule(t),e()),t(a)}let l={schedule:(e,n=!1,a=!1)=>{let o=a&&r?t:i;return n&&s.add(e),o.has(e)||o.add(e),e},cancel:e=>{i.delete(e),s.delete(e)},process:e=>{if(a=e,r){n=!0;return}r=!0,[t,i]=[i,t],t.forEach(o),t.clear(),r=!1,n&&(n=!1,l.process(e))}};return l}(s),e),{}),{read:o,resolveKeyframes:l,update:u,preRender:h,render:d,postRender:c}=a,p=()=>{let s=performance.now();i=!1,n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1),n.timestamp=s,n.isProcessing=!0,o.process(n),l.process(n),u.process(n),h.process(n),d.process(n),c.process(n),n.isProcessing=!1,i&&t&&(r=!1,e(p))};return{schedule:x.reduce((t,s)=>{let o=a[s];return t[s]=(t,s=!1,a=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||e(p)),o.schedule(t,s,a)),t},{}),cancel:e=>{for(let t=0;t<x.length;t++)a[x[t]].cancel(e)},state:n,steps:a}}let{schedule:w,cancel:j,state:S,steps:P}=b("u">typeof requestAnimationFrame?requestAnimationFrame:y,!0);function T(){t=void 0}let k={now:()=>(void 0===t&&k.set(S.isProcessing?S.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(T)}};function A(e,t){-1===e.indexOf(t)&&e.push(t)}function E(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}e.s(["addUniqueItem",0,A,"removeItem",0,E],25185);class M{constructor(){this.subscriptions=[]}add(e){return A(this.subscriptions,e),()=>E(this.subscriptions,e)}notify(e,t,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class C{constructor(e,t={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let i=k.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new M);let i=this.events[e].add(t);return"change"===e?()=>{i(),w.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return r&&r.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function R(e,t){return new C(e,t)}e.s(["motionValue",0,R],59379);let L=e=>!!(e&&e.getVelocity);function V(e,t){let i=e.getValue("willChange");if(L(i)&&i.add)return i.add(t)}e.s(["isMotionValue",0,L],69115);let D=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),_="data-"+D("framerAppearId");function N(e){let t;return()=>(void 0===t&&(t=e()),t)}let O=N(()=>void 0!==window.ScrollTimeline);class I{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=t}attachTimeline(e,t){let i=this.animations.map(i=>O()&&i.attachTimeline?i.attachTimeline(e):"function"==typeof t?t(i):void 0);return()=>
1{i.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class F extends I{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}e.s(["GroupPlaybackControls",0,F],1720);let B=e=>1e3*e,$=e=>e/1e3;e.s(["millisecondsToSeconds",0,$,"secondsToMilliseconds",0,B],94103);function z(e){return"function"==typeof e}function U(e,t){e.timeline=t,e.onfinish=null}e.s(["isGenerator",0,z],62613);let W=e=>Array.isArray(e)&&"number"==typeof e[0],G,H=(i=N(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),()=>{var e;return null!=(e=G)?e:i()}),q=(e,t,i)=>{let r=t-e;return 0===r?1:(i-e)/r};e.s(["progress",0,q],30965);let X=(e,t,i=10)=>{let r="",n=Math.max(Math.round(t/i),2);for(let t=0;t<n;t++)r+=e(q(0,n-1,t))+", ";return`linear(${r.substring(0,r.length-2)})`},Y=([e,t,i,r])=>`cubic-bezier(${e}, ${t}, ${i}, ${r})`,K={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Y([0,.65,.55,1]),circOut:Y([.55,0,1,.45]),backIn:Y([.31,.01,.66,-.59]),backOut:Y([.33,1.53,.69,.99])},Z=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function J(e,t,i,r){return e===t&&i===r?y:n=>0===n||1===n?n:Z(function(e,t,i,r,n){let s,a,o=0;do(s=Z(a=t+(i-t)/2,r,n)-e)>0?i=a:t=a;while(Math.abs(s)>1e-7&&++o<12)return a}(n,0,1,e,i),t,r)}let Q=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ee=e=>t=>1-e(1-t),et=J(.33,1.53,.69,.99),ei=ee(et),er=Q(ei),en=e=>(e*=2)<1?.5*ei(e):.5*(2-Math.pow(2,-10*(e-1))),es=e=>1-Math.sin(Math.acos(e)),ea=ee(es),eo=Q(es),el=(e,t,i)=>i>t?t:i<e?e:i,eu={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},eh={...eu,transform:e=>el(0,1,e)},ed={...eu,default:1},ec=e=>Math.round(1e5*e)/1e5,ep=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,em=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ef=(e,t)=>i=>!!("string"==typeof i&&em.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),eg=(e,t,i)=>r=>{if("string"!=typeof r)return r;let[n,s,a,o]=r.match(ep);return{[e]:parseFloat(n),[t]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},ev={...eu,transform:e=>Math.round(el(0,255,e))},ey={test:ef("rgb","red"),parse:eg("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:r=1})=>"rgba("+ev.transform(e)+", "+ev.transform(t)+", "+ev.transform(i)+", "+ec(eh.transform(r))+")"},ex={test:ef("#"),parse:function(e){let t="",i="",r="",n="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,i+=i,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:ey.transform},eb=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),ew=eb("deg"),ej=eb("%"),eS=eb("px"),eP=eb("vh"),eT=eb("vw"),ek={...ej,parse:e=>ej.parse(e)/100,transform:e=>ej.transform(100*e)},eA={test:ef("hsl","hue"),parse:eg("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:r=1})=>"hsla("+Math.round(e)+", "+ej.transform(ec(t))+", "+ej.transform(ec(i))+", "+ec(eh.transform(r))+")"},eE={test:e=>ey.test(e)||ex.test(e)||eA.test(e),parse:e=>ey.test(e)?ey.parse(e):eA.test(e)?eA.parse(e):ex.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?ey.transform(e):eA.transform(e)},eM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eC="number",eR="color",eL=/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 eV(e){let t=e.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,a=t.replace(eL,e=>(eE.test(e)?(r.color.push(s),n.push(eR),i.push(eE.parse(e))):e.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(e)):(r.number.push(s),n.push(eC),i.push(parseFloat(e))),++s,"${}")).split("${}");return{values:i,split:a,indexes:r,types:n}}function eD(e){return eV(e).values}function e_(e){let{split:t,types:i}=eV(e),r=t.length;return e=>{let n="";for(let s=0;s<r;s++)if(n+=t[s],void 0!==e[s]){let t=i[s];t===eC?n+=ec(e[s]):t===eR?n+=eE.transform(e[s]):n+=e[s]}return n}}let eN=e=>"number"==typeof e?0:e,eO={test:function(e){var t,i;return isNaN(e)&&"string"==typeof e&&((null==(t=e.match(ep))?void 0:t.length)||0)+((null==(i=e.match(eM))?void 0:i.length)||0)>0},parse:eD,createTransformer:e_,getAnimatableNone:function(e){let t=eD(e);return e_(e)(t.map(eN))}},eI=new Set(["brightness","contrast","saturate","opacity"]);function eF(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=i.match(ep)||[];
1if(!r)return e;let n=i.replace(r,""),s=+!!eI.has(t);return r!==i&&(s*=100),t+"("+s+n+")"}let eB=/\b([a-z-]*)\(.*?\)/gu,e$={...eO,getAnimatableNone:e=>{let t=e.match(eB);return t?t.map(eF).join(" "):e}},ez={...eu,transform:Math.round},eU={borderWidth:eS,borderTopWidth:eS,borderRightWidth:eS,borderBottomWidth:eS,borderLeftWidth:eS,borderRadius:eS,radius:eS,borderTopLeftRadius:eS,borderTopRightRadius:eS,borderBottomRightRadius:eS,borderBottomLeftRadius:eS,width:eS,maxWidth:eS,height:eS,maxHeight:eS,top:eS,right:eS,bottom:eS,left:eS,padding:eS,paddingTop:eS,paddingRight:eS,paddingBottom:eS,paddingLeft:eS,margin:eS,marginTop:eS,marginRight:eS,marginBottom:eS,marginLeft:eS,backgroundPositionX:eS,backgroundPositionY:eS,rotate:ew,rotateX:ew,rotateY:ew,rotateZ:ew,scale:ed,scaleX:ed,scaleY:ed,scaleZ:ed,skew:ew,skewX:ew,skewY:ew,distance:eS,translateX:eS,translateY:eS,translateZ:eS,x:eS,y:eS,z:eS,perspective:eS,transformPerspective:eS,opacity:eh,originX:ek,originY:ek,originZ:eS,zIndex:ez,size:eS,fillOpacity:eh,strokeOpacity:eh,numOctaves:ez},eW={...eU,color:eE,backgroundColor:eE,outlineColor:eE,fill:eE,stroke:eE,borderColor:eE,borderTopColor:eE,borderRightColor:eE,borderBottomColor:eE,borderLeftColor:eE,filter:e$,WebkitFilter:e$},eG=e=>eW[e];function eH(e,t){let i=eG(e);return i!==e$&&(i=eO),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let eq=new Set(["auto","none","0"]),eX=e=>e===eu||e===eS,eY=(e,t)=>parseFloat(e.split(", ")[t]),eK=(e,t)=>(i,{transform:r})=>{if("none"===r||!r)return 0;let n=r.match(/^matrix3d\((.+)\)$/u);if(n)return eY(n[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?eY(t[1],e):0}},eZ=new Set(["x","y","z"]),eJ=m.filter(e=>!eZ.has(e)),eQ={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),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:eK(4,13),y:eK(5,14)};eQ.translateX=eQ.x,eQ.translateY=eQ.y;let e0=new Set,e1=!1,e2=!1;function e5(){if(e2){let e=Array.from(e0).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t,r=(t=[],eJ.forEach(i=>{let r=e.getValue(i);void 0!==r&&(t.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),t);r.length&&(i.set(e,r),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{var r;null==(r=e.getValue(t))||r.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}e2=!1,e1=!1,e0.forEach(e=>e.complete()),e0.clear()}function e3(){e0.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(e2=!0)})}class e4{constructor(e,t,i,r,n,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(e0.add(this),e1||(e1=!0,w.read(e3),w.resolveKeyframes(e5))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:r}=this;for(let n=0;n<e.length;n++)if(null===e[n])if(0===n){let n=null==r?void 0:r.get(),s=e[e.length-1];if(void 0!==n)e[0]=n;else if(i&&t){let r=i.readValue(t,s);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=s),r&&void 0===n&&r.set(e[0])}else e[n]=e[n-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),e0.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,e0.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}e.s(["invariant",0,y,"warning",0,y],14828);let e6=e=>t=>"string"==typeof t&&t.startsWith(e),e9=e6("--"),e7=e6("var(--"),e8=e=>!!e7(e)&&te.test(e.split("/*")[0].trim()),te=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tt=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ti=e=>t=>t.test(e),tr=[eu,eS,ej,ew,eT,eP,{test:e=>"auto"===e,parse:e=>e}],tn=e=>tr.find(ti(e));class ts extends e4{constructor(e,t,i,r,n){super(e,t,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let r=e[i];if("string"==typeof r&&e8(r=r.trim())){let n=function e(t,i,r=1){y(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,s]=function(e){let t=tt.exec(e);if(!t)return[,];let[,i,r,n]=t;return[`--${null!=i?i:r}`,n]}(t);if(!n)return;let a=window.getComputedStyle(i).getPropertyValue(n);if(a){let e=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return e8(s)?e(s,i,r+1):s}(r,t.current);void 0!==n&&(e[i]=n),i===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!g.has(i)||2!==e.length)return;let[r,n]=e,s=tn(r),a=tn(n);if(s!==a)if(eX(s)&&eX(a))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++)(function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)})(e[t])&&i.push(t);i.length&&function(e,t,i){let r,n=0;for(;n<e.length&&!r;){let t=e[n];"string"==typeof t&&!eq.has(t)&&eV(t).values.length&&(r=e[n]),n++}if(r&&i)for(let n of t)e[n]=eH(i,r)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eQ[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(i,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:i,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let n=t.getValue(i);n&&n.jump(this.measuredOrigin,!1);let s=r.length-1,a=r[s];r[s]=eQ[i](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null==(e=this.removedTransforms)?void 0:e.length)&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let ta=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eO.test(e)||"0"===e)&&!e.startsWith("url(")),to=e=>null!==e;function tl(e,{repeat:t,repeatType:i="loop"},r){let n=e.filter(to),s=t&&"loop"!==i&&t%2==1?0:n.length-1;return s&&void 0!==r?r:n[s]}class tu{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=k.now(),this.options={autoplay:e,delay:t,type:i,repeat:r,repeatDelay:n,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(e3(),e5()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=k.now(),this.hasAttemptedResolve=!0;let{name:i,type:r,velocity:n,delay:s,onComplete:a,onUpdate:o,isGenerator:l}=this.options;if(!l&&!function(e,t,i,r){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],a=ta(n,t),o=ta(s,t);return y(a===o,`You are trying to animate ${t} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!a&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||z(i))&&r)}(e,i,r,n))if(s)this.options.duration=0;else{o&&o(tl(e,this.options,t)),a&&a(),this.resolveFinishedPromise();return}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function th(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}e.s(["calcGeneratorDuration",0,th,"maxGeneratorDuration",0,2e4],64125);let td=(e,t,i)=>e+(t-e)*i;function tc(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function tp(e,t){return i=>i>0?t:e}e.s(["mixNumber",0,td],98612);let tm=(e,t,i)=>{let r=e*e,n=i*(t*t-r)+r;return n<0?0:Math.sqrt(n)},tf=[ex,ey,eA];function tg(e){let t=tf.find(t=>t.test(e));if(y(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let i=t.parse(e);return t===eA&&(i=function({hue:e,saturation:t,lightness:i,alpha:r}){e/=360,i/=100;let n=0,s=0,a=0;if(t/=100){let r=i<.5?i*(1+t):i+t-i*t,o=2*i-r;n=tc(o,r,e+1/3),s=tc(o,r,e),a=tc(o,r,e-1/3)}else n=s=a=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*a),alpha:r}}(i)),i}let tv=(e,t)=>{let i=tg(e),r=tg(t);if(!i||!r)return tp(e,t);let n={...i};return e=>(n.red=tm(i.red,r.red,e),n.green=tm(i.green,r.green,e),n.blue=tm(i.blue,r.blue,e),n.alpha=td(i.alpha,r.alpha,e),ey.transform(n))},ty=(e,t)=>i=>t(e(i)),tx=(...e)=>e.reduce(ty),tb=new Set(["none","hidden"]);function tw(e,t){return i=>td(e,t,i)}function tj(e){return"number"==typeof e?tw:"string"==typeof e?e8(e)?tp:eE.test(e)?tv:tT:Array.isArray(e)?tS:"object"==typeof e?eE.test(e)?tv:tP:tp}function tS(e,t){let i=[...e],r=i.length,n=e.map((e,i)=>tj(e)(e,t[i]));return e=>{for(let t=0;t<r;t++)i[t]=n[t](e);return i}}function tP(e,t){let i={...e,...t},r={};for(let n in i)void 0!==e[n]&&void 0!==t[n]&&(r[n]=tj(e[n])(e[n],t[n]));return e=>{for(let t in r)i[t]=r[t](e);return i}}let tT=(e,t)=>{let i=eO.createTransformer(t),r=eV(e),n=eV(t);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return y(!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.`),tp(e,t);if(tb.has(e)&&!n.values.length||tb.has(t)&&!r.values.length)return tb.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return tx(tS(function(e,t){var i;let r=[],n={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){let a=t.types[s],o=e.indexes[a][n[a]],l=null!=(i=e.values[o])?i:0;r[s]=l,n[a]++}return r}(r,n),n.values),i)};function tk(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?td(e,t,i):tj(e)(e,t)}function tA(e,t,i){var r,n;let s=Math.max(t-5,0);return r=i-e(s),(n=t-s)?1e3/n*r:0}let tE=.01,tM=2,tC=.005,tR=.5;function tL(e,t){return e*Math.sqrt(1-t*t)}let tV=["duration","bounce"],tD=["stiffness","damping","mass"];function t_(e,t){return t.some(t=>void 0!==e[t])}function tN(e=.3,t=.3){let i,r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:n,restDelta:s}=r,a=r.keyframes[0],o=r.keyframes[r.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:h,mass:d,duration:c,velocity:p,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!t_(e,tD)&&t_(e,tV))if(e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),r=i*i,n=2*el(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:1,stiffness:r,damping:n}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:r=1}){let n,s;y(e<=B(10));let a=1-t;a=el(.05,1,a),e=el(.01,10,$(e)),a<1?(n=t=>{let r=t*a,n=r*e;return .001-(r-i)/tL(t,a)*Math.exp(-n)},s=t=>{let r=t*a*e,s=Math.pow(a,2)*Math.pow(t,2)*e,o=Math.exp(-r),l=tL(Math.pow(t,2),a);return(r*i+i-s)*o*(-n(t)+.001>0?-1:1)/l}):(n=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),s=t=>e*e*(i-t)*Math.exp(-t*e));let o=function(e,t,i){let r=i;for(let i=1;i<12;i++)r-=e(r)/t(r);return r}(n,s,5/e);if(e=B(e),isNaN(o))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(o,2)*r;
1return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...r,velocity:-$(r.velocity||0)}),f=p||0,g=h/(2*Math.sqrt(u*d)),v=o-a,x=$(Math.sqrt(u/d)),b=5>Math.abs(v);if(n||(n=b?tE:tM),s||(s=b?tC:tR),g<1){let e=tL(x,g);i=t=>o-Math.exp(-g*x*t)*((f+g*x*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===g)i=e=>o-Math.exp(-x*e)*(v+(f+x*v)*e);else{let e=x*Math.sqrt(g*g-1);i=t=>{let i=Math.exp(-g*x*t),r=Math.min(e*t,300);return o-i*((f+g*x*v)*Math.sinh(r)+e*v*Math.cosh(r))/e}}let w={calculatedDuration:m&&c||null,next:e=>{let t=i(e);if(m)l.done=e>=c;else{let r=0;g<1&&(r=0===e?B(f):tA(i,e,t));let a=Math.abs(o-t)<=s;l.done=Math.abs(r)<=n&&a}return l.value=l.done?o:t,l},toString:()=>{let e=Math.min(th(w),2e4),t=X(t=>w.next(e*t).value,e,30);return e+"ms "+t}};return w}function tO({keyframes:e,velocity:t=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,c,p=e[0],m={done:!1,value:p},f=i*t,g=p+f,v=void 0===a?g:a(g);v!==g&&(f=v-p);let y=e=>-f*Math.exp(-e/r),x=e=>v+y(e),b=e=>{let t=y(e),i=x(e);m.done=Math.abs(t)<=u,m.value=m.done?v:i},w=e=>{let t;if(t=m.value,void 0!==o&&t<o||void 0!==l&&t>l){var i;d=e,c=tN({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:tA(x,e,m.value),damping:n,stiffness:s,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(c||void 0!==d||(t=!0,b(e),w(e)),void 0!==d&&e>=d)?c.next(e-d):(t||b(e),m)}}}e.s(["spring",0,tN],70789);let tI=J(.42,0,1,1),tF=J(0,0,.58,1),tB=J(.42,0,.58,1),t$=e=>Array.isArray(e)&&"number"!=typeof e[0];e.s(["isEasingArray",0,t$],22122);let tz={linear:y,easeIn:tI,easeInOut:tB,easeOut:tF,circIn:es,circInOut:eo,circOut:ea,backIn:ei,backInOut:er,backOut:et,anticipate:en},tU=e=>{if(W(e)){y(4===e.length);let[t,i,r,n]=e;return J(t,i,r,n)}return"string"==typeof e?(y(void 0!==tz[e],`Invalid easing type '${e}'`),tz[e]):e};function tW(e,t){let i=e[e.length-1];for(let r=1;r<=t;r++){let n=q(0,t,r);e.push(td(i,1,n))}}function tG(e){let t=[0];return tW(t,e.length-1),t}function tH({duration:e=300,keyframes:t,times:i,ease:r="easeInOut"}){var n;let s=t$(r)?r.map(tU):tU(r),a={done:!1,value:t[0]},o=function(e,t,{clamp:i=!0,ease:r,mixer:n}={}){let s=e.length;if(y(s===t.length),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,i){let r=[],n=i||tk,s=e.length-1;for(let i=0;i<s;i++){let s=n(e[i],e[i+1]);t&&(s=tx(Array.isArray(t)?t[i]||y:t,s)),r.push(s)}return r}(t,r,n),l=o.length,u=i=>{if(a&&i<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(i<e[r+1]);r++);let n=q(e[r],e[r+1],i);return o[r](n)};return i?t=>u(el(e[0],e[s-1],t)):u}((n=i&&i.length===t.length?i:tG(t),n.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||tB).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}e.s(["fillOffset",0,tW],80525),e.s(["defaultOffset",0,tG],32344);let tq=e=>{let t=({timestamp:t})=>e(t);return{start:()=>w.update(t,!0),stop:()=>j(t),now:()=>S.isProcessing?S.timestamp:k.now()}},tX={decay:tO,inertia:tO,tween:tH,keyframes:tH,spring:tN},tY=e=>e/100;class tK extends tu{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};const{name:t,motionValue:i,element:r,keyframes:n}=this.options,s=(null==r?void 0:r.KeyframeResolver)||e4,a=(e,t)=>this.onKeyframesResolved(e,t);this.resolver=new s(n,a,t,i,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,i,{type:r="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:a,velocity:o=0}=this.options,l=z(r)?r:tX[r]||tH;l!==tH&&"number"!=typeof e[0]&&(t=tx(tY,tk(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(i=l({...this.options,keyframes:[...e].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=th(u));let{calculatedDuration:h}=u,d=h+s;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:t,calculatedDuration:h,resolvedDuration:d,totalDuration:d*(n+1)-s}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:i}=this;if(!i){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:n,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:o,c
1alculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return n.next(0);let{delay:d,repeat:c,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=n;if(c){let e=Math.min(this.currentTime,u)/h,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,c+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/h)):"mirror"===p&&(x=s)),y=el(0,1,i)*h}let b=v?{done:!1,value:o[0]}:x.next(y);a&&(b.value=a(b.value));let{done:w}=b;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let j=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return j&&void 0!==r&&(b.value=tl(o,this.options,r)),f&&f(b.value),j&&this.finish(),b}get duration(){let{resolved:e}=this;return e?$(e.calculatedDuration):0}get time(){return $(this.currentTime)}set time(e){e=B(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=$(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=tq,onPlay:t,startTime:i}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(e=this.currentTime)?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let tZ=new Set(["opacity","clipPath","filter","transform"]),tJ=N(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tQ={anticipate:en,backInOut:er,circInOut:eo};class t0 extends tu{constructor(e){super(e);const{name:t,motionValue:i,element:r,keyframes:n}=this.options;this.resolver=new ts(n,(e,t)=>this.onKeyframesResolved(e,t),t,i,r),this.resolver.scheduleResolve()}initPlayback(e,t){var i;let{duration:r=300,times:n,ease:s,type:a,motionValue:o,name:l,startTime:u}=this.options;if(!o.owner||!o.owner.current)return!1;if("string"==typeof s&&H()&&s in tQ&&(s=tQ[s]),z((i=this.options).type)||"spring"===i.type||!function e(t){return!!("function"==typeof t&&H()||!t||"string"==typeof t&&(t in K||H())||W(t)||Array.isArray(t)&&t.every(e))}(i.ease)){let{onComplete:t,onUpdate:i,motionValue:o,element:l,...u}=this.options,h=function(e,t){let i=new tK({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},n=[],s=0;for(;!r.done&&s<2e4;)n.push((r=i.sample(s)).value),s+=10;return{times:void 0,keyframes:n,duration:s-10,ease:"linear"}}(e,u);1===(e=h.keyframes).length&&(e[1]=e[0]),r=h.duration,n=h.times,s=h.ease,a="keyframes"}let h=function(e,t,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:a="loop",ease:o="easeInOut",times:l}={}){let u={[t]:i};l&&(u.offset=l);let h=function e(t,i){if(t)return"function"==typeof t&&H()?X(t,i):W(t)?Y(t):Array.isArray(t)?t.map(t=>e(t,i)||K.easeOut):K[t]}(o,n);return Array.isArray(h)&&(u.easing=h),e.animate(u,{delay:r,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"})}(o.owner.current,l,e,{...this.options,duration:r,times:n,ease:s});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(U(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;o.set(tl(e,this.options,t)),i&&i(),this.cancel(),this.resolveFinishedProm
1ise()},{animation:h,duration:r,times:n,type:a,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return $(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return $(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:i}=t;i.currentTime=B(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:i}=t;i.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return y;let{animation:i}=t;U(i,e)}else this.pendingTimeline=e;return y}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:i,duration:r,type:n,ease:s,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:o,element:l,...u}=this.options,h=new tK({...u,keyframes:i,duration:r,type:n,ease:s,times:a,isGenerator:!0}),d=B(this.time);e.setWithVelocity(h.sample(d-10).value,h.sample(d).value,10)}let{onStop:o}=this.options;o&&o(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:i,repeatDelay:r,repeatType:n,damping:s,type:a}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=t.owner.getProps();return tJ()&&i&&tZ.has(i)&&!o&&!l&&!r&&"mirror"!==n&&0!==s&&"inertia"!==a}}let t1={type:"spring",stiffness:500,damping:25,restSpeed:10},t2={type:"keyframes",duration:.8},t5={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},t3=(e,t,i,r={},n,s)=>a=>{let o=p(r,e)||{},l=o.delay||r.delay||0,{elapsed:u=0}=r;u-=B(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-u,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:s?void 0:n};!function({when:e,delay:t,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(o)&&(h={...h,...((e,{keyframes:t})=>t.length>2?t2:f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:t1:t5)(e,h)}),h.duration&&(h.duration=B(h.duration)),h.repeatDelay&&(h.repeatDelay=B(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let d=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0===h.delay&&(d=!0)),d&&!s&&void 0!==t.get()){let e=tl(h.keyframes,o);if(void 0!==e)return w.update(()=>{h.onUpdate(e),h.onComplete()}),new F([])}return!s&&t0.supports(h)?new t0(h):new tK(h)};function t4(e,t,{delay:i=0,transitionOverride:r,type:n}={}){var s;let{transition:a=e.getDefaultTransition(),transitionEnd:o,...l}=t;r&&(a=r);let u=[],d=n&&e.animationState&&e.animationState.getState()[n];for(let t in l){let r=e.getValue(t,null!=(s=e.latestValues[t])?s:null),n=l[t];if(void 0===n||d&&function({protectedKeys:e,needsAnimating:t},i){let r=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,r}(d,t))continue;let o={delay:i,...p(a||{},t)},h=!1;if(window.MotionHandoffAnimation){let i=e.props[_];if(i){let e=window.MotionHandoffAnimation(i,t,w);null!==e&&(o.startTime=e,h=!0)}}V(e,t),r.start(t3(t,r,n,e.shouldReduceMotion&&g.has(t)?{type:!1}:o,e,h));let c=r.animation;c&&u.push(c)}return o&&Promise.all(u).then(()=>{w.update(()=>{o&&function(e,t){let{transitionEnd:i={},transition:r={},...n}=h(e,t)||{};for(let t in n={...n,...i}){let i=v(n[t]);e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,R(i))}}(e,o)})}),u}function t6(e,t,i={}){var r;let n=h(e,t,"exit"===i.type?null==(r=e.presenceContext)?void 0:r.custom:void 0),{transition:s=e.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let a=n?()=>
1Promise.all(t4(e,n,i)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:n=0,staggerChildren:a,staggerDirection:o}=s;return function(e,t,i=0,r=0,n=1,s){let a=[],o=(e.variantChildren.size-1)*r,l=1===n?(e=0)=>e*r:(e=0)=>o-e*r;return Array.from(e.variantChildren).sort(t9).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(t6(e,t,{...s,delay:i+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,n+r,a,o,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([a(),o(i.delay)]);{let[e,t]="beforeChildren"===l?[a,o]:[o,a];return e().then(()=>t())}}function t9(e,t){return e.sortNodePosition(t)}e.s(["animateTarget",0,t4],99306);let t7=c.length,t8=[...d].reverse(),ie=d.length;function it(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ii(){return{animate:it(!0),whileInView:it(),whileHover:it(),whileTap:it(),whileDrag:it(),whileFocus:it(),exit:it()}}class ir{constructor(e){this.isMounted=!1,this.node=e}update(){}}let is=0,ia={x:!1,y:!1},io=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function il(e,t,i,r={passive:!0}){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i)}function iu(e){return{point:{x:e.pageX,y:e.pageY}}}function ih(e,t,i,r){return il(e,t,e=>io(e)&&i(e,iu(e)),r)}let id=(e,t)=>Math.abs(e-t);class ic{constructor(e,t,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=ig(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(e=i.offset,t={x:0,y:0},Math.sqrt(id(e.x,t.x)**2+id(e.y,t.y)**2)>=3);if(!r&&!n)return;let{point:s}=i,{timestamp:a}=S;this.history.push({...s,timestamp:a});let{onStart:o,onMove:l}=this.handlers;r||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=ip(t,this.transformPagePoint),w.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ig("pointercancel"===e.type?this.lastMoveEventInfo:ip(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),r&&r(e,s)},!io(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=i,this.contextWindow=r||window;const s=ip(iu(e),this.transformPagePoint),{point:a}=s,{timestamp:o}=S;this.history=[{...a,timestamp:o}];const{onSessionStart:l}=t;l&&l(e,ig(s,this.history)),this.removeListeners=tx(ih(this.contextWindow,"pointermove",this.handlePointerMove),ih(this.contextWindow,"pointerup",this.handlePointerUp),ih(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),j(this.updatePoint)}}function ip(e,t){return t?{point:t(e.point)}:e}function im(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ig({point:e},t){return{point:e,delta:im(e,iv(t)),offset:im(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,r=iv(e);for(;t>=0&&(i=e[t],!(r.timestamp-i.timestamp>B(.1)));)t--;if(!i)return{x:0,y:0};let n=$(r.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t)}}function iv(e){return e[e.length-1]}function iy(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function ix(e){return e.max-e.min}function ib(e,t,i,r=.5){e.origin=r,e.originPoint=td(t.min,t.max,e.origin),e.scale=ix(i)/ix(t),e.translate=td(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function iw(e,t,i,r){ib(e.x,t.x,i.x,r?r.originX:void 0),ib(e.y,t.y,i.y,r?r.originY:void 0)}function ij(e,t,i){e.min=i.min+t.min,e.max=e.min+ix(t)}function iS(e,t,i){e.min=t.min-i.min,e.max=e.min+ix(t)}function iP(e,t,i){iS(e.x,t.x,i.x),iS(e.y,t.y,i.y)}function iT(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function ik(e,t){let i=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,r]=[r,i]),{min:i,max:r}}function iA(e,t,i){return{min:iE(e,t),max:iE(e,i)}}function iE(e,t){return"number"==typeof e?e:e[t]||0}let iM=()=>({translate:0,scale:1,origin:0,originPoint:0}),iC=()=>({x:iM(),y:iM()}),iR=()=>({min:0,max:0}),iL=()=>({x:iR(),y:iR()});function iV(e){return[e("x"),e("y")]}function iD({top:e,left:t,right:i,bottom:r}){return{x:{min:t,max:i},y:{min:e,max:r}}}function i_(e){return void 0===e||1===e}function iN({scale:e,scaleX:t,scaleY:i}){return!i_(e)||!i_(t)||!i_(i)}function iO(e){return iN(e)||iI(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function iI(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}e.s(["createBox",0,iL,"createDelta",0,iC],67520);function iF(e,t,i,r,n){return void 0!==n&&(e=r+n*(e-r)),r+i*(e-r)+t}function iB(e,t=0,i=1,r,n){e.min=iF(e.min,t,i,r,n),e.max=iF(e.max,t,i,r,n)}function i$(e,{x:t,y:i}){iB(e.x,t.translate,t.scale,t.originPoint),iB(e.y,i.translate,i.scale,i.originPoint)}function iz(e,t){e.min=e.min+t,e.max=e.max+t}function iU(e,t,i,r,n=.5){let s=td(e.min,e.max,n);iB(e,t,i,s,r)}function iW(e,t){iU(e.x,t.x,t.scaleX,t.scale,t.originX),iU(e.y,t.y,t.scaleY,t.scale,t.originY)}function iG(e,t){return iD(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let iH=({current:e})=>e?e.ownerDocument.defaultView:null,iq=new WeakMap;class iX{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iL(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let r=e=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(iu(e).point)},n=(e,t)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
1y"===e)if(ia[e])return null;else return ia[e]=!0,()=>{ia[e]=!1};return ia.x||ia.y?null:(ia.x=ia.y=!0,()=>{ia.x=ia.y=!1})}(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iV(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ej.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[e];r&&(t=ix(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&w.postRender(()=>n(e,t)),V(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},s=(e,t)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(a),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),s&&s(e,t)},a=(e,t)=>this.stop(e,t),o=()=>iV(e=>{var t;return"paused"===this.getAnimationState(e)&&(null==(t=this.getAxisMotionValue(e).animation)?void 0:t.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new ic(e,{onSessionStart:r,onStart:n,onMove:s,onSessionEnd:a,resumeAnimation:o},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:iH(this.visualElement)})}stop(e,t){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:n}=this.getProps();n&&w.postRender(()=>n(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,i){let{drag:r}=this.getProps();if(!i||!iY(e,r,this.currentDirection))return;let n=this.getAxisMotionValue(e),s=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:i},r){return void 0!==t&&e<t?e=r?td(t,e,r.min):Math.max(e,t):void 0!==i&&e>i&&(e=r?td(i,e,r.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),n.set(s)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(e=this.visualElement.projection)?void 0:e.layout,n=this.constraints;t&&iy(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(e,{top:t,left:i,bottom:r,right:n}){return{x:iT(e.x,i,n),y:iT(e.y,t,r)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:iA(e,"left","right"),y:iA(e,"top","bottom")}}(i),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&iV(e=>{var t,i;let n;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],i=this.constraints[e],n={},void 0!==i.min&&(n.min=i.min-t.min),void 0!==i.max&&(n.max=i.max-t.min),n))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!iy(t))return!1;let r=t.current;y(null!==r);let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(e,t,i){let r=iG(e,i),{scroll:n}=t;return n&&(iz(r.x,n.offset.x),iz(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),a=(e=n.layout.layoutBox,{x:ik(e.x,s.x),y:ik(e.y,s.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=iD(e))}return a}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(iV(a=>{if(!iY(a,t,this.currentDirection))return;let l=o&&o[a]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return V(this.visualElement,e),i.start(t3(e,i,0,t,this.visualElement,!1))}stopAnimation(){iV(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){iV(e=>{var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.pause()})}getAnimationState(e){var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){iV(t=>{let{drag:i}=this.getProps();if(!iY(t,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(t);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[t];n.set(e[t]-td(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!iy(t)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};iV(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,n;let s,a,o,l=t.get();r[e]=(i={min:l,max:l},n=this.constraints[e],s=.5,a=ix(i),(o=ix(n))>a?s=q(n.min,n.max-a,i.min):a>o&&(s=q(i.min,i.max-o,n.min)),el(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),iV(t=>{if(!iY(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];i.set(td(n,s,r[t]))})}addListeners(){if(!this.visualElement.current)return;iq.set(this.visualElement,this);let e=ih(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:i=!0}=this.getProps();t&&i&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();iy(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",t);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),w.read(t);let n=il(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(iV(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{n(),e(),r(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:a}}}function iY(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let iK=e=>(t,i)=>{e&&w.postRender(()=>e(t,i))};var iZ,iJ,iQ=e.i(43476),i0=e.i(71645);let i1=(0,i0.createContext)(null),i2=(0,i0.createContext)({}),i5=(0,i0.createContext)({}),i3={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function i4(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let i6={correct:(e,t)=>
1{if(!t.target)return e;if("string"==typeof e)if(!eS.test(e))return e;else e=parseFloat(e);let i=i4(e,t.target.x),r=i4(e,t.target.y);return`${i}% ${r}%`}},i9={},{schedule:i7,cancel:i8}=b(queueMicrotask,!1);class re extends i0.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=e;Object.assign(i9,ri),n&&(t.group&&t.group.add(n),i&&i.register&&r&&i.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),i3.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:r,isPresent:n}=this.props,s=i.projection;return s&&(s.isPresent=n,r||e.layoutDependency!==t||void 0===t?s.willUpdate():this.safeToRemove(),e.isPresent!==n&&(n?s.promote():s.relegate()||w.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),i7.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function rt(e){let[t,i]=function(e=!0){let t=(0,i0.useContext)(i1);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:r,register:n}=t,s=(0,i0.useId)();(0,i0.useEffect)(()=>{e&&n(s)},[e]);let a=(0,i0.useCallback)(()=>e&&r&&r(s),[s,r,e]);return!i&&r?[!1,a]:[!0]}(),r=(0,i0.useContext)(i2);return(0,iQ.jsx)(re,{...e,layoutGroup:r,switchLayoutGroup:(0,i0.useContext)(i5),isPresent:t,safeToRemove:i})}let ri={borderRadius:{...i6,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:i6,borderTopRightRadius:i6,borderBottomLeftRadius:i6,borderBottomRightRadius:i6,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let r=eO.parse(e);if(r.length>5)return e;let n=eO.createTransformer(e),s=+("number"!=typeof r[0]),a=i.x.scale*t.x,o=i.y.scale*t.y;r[0+s]/=a,r[1+s]/=o;let l=td(a,o,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function rr(e,t,i){let r=L(e)?e:R(e);return r.start(t3("",r,t,i)),r.animation}function rn(e){return e instanceof SVGElement&&"svg"!==e.tagName}e.s(["animateSingleValue",0,rr],77232),e.s(["isSVGElement",0,rn],32449);let rs=(e,t)=>e.depth-t.depth;class ra{constructor(){this.children=[],this.isDirty=!1}add(e){A(this.children,e),this.isDirty=!0}remove(e){E(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rs),this.isDirty=!1,this.children.forEach(e)}}function ro(e){let t=L(e)?e.get():e;return t&&"object"==typeof t&&t.mix&&t.toValue?t.toValue():t}let rl=["TopLeft","TopRight","BottomLeft","BottomRight"],ru=rl.length,rh=e=>"string"==typeof e?parseFloat(e):e,rd=e=>"number"==typeof e||eS.test(e);function rc(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rp=rf(0,.5,ea),rm=rf(.5,.95,y);function rf(e,t,i){return r=>r<e?0:r>t?1:i(q(e,t,r))}function rg(e,t){e.min=t.min,e.max=t.max}function rv(e,t){rg(e.x,t.x),rg(e.y,t.y)}function ry(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rx(e,t,i,r,n){return e-=t,e=r+1/i*(e-r),void 0!==n&&(e=r+1/n*(e-r)),e}function rb(e,t,[i,r,n],s,a){!function(e,t=0,i=1,r=.5,n,s=e,a=e){if(ej.test(t)&&(t=parseFloat(t),t=td(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let o=td(s.min,s.max,r);e===s&&(o-=t),e.min=rx(e.min,t,i,o,n),e.max=rx(e.max,t,i,o,n)}(e,t[i],t[r],t[n],t.scale,s,a)}let rw=["x","scaleX","originX"],rj=["y","scaleY","originY"];function rS(e,t,i,r){rb(e.x,t,rw,i?i.x:void 0,r?r.x:void 0),rb(e.y,t,rj,i?i.y:void 0,r?r.y:void 0)}function rP(e){return 0===e.translate&&1===e.scale}function rT(e){return rP(e.x)&&rP(e.y)}function rk(e,t){return e.min===t.min&&e.max===t.max}function rA(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function rE(e,t){return rA(e.x,t.x)&&rA(e.y,t.y)}function rM(e){return ix(e.x)/ix(e.y)}function rC(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class rR{constructor(){this.members=[]}add(e){A(this.members,e),e.scheduleRender()}remove(e){if(E(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&i.hide()}}
1exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rL={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},rV="u">typeof window&&void 0!==window.MotionDebug,rD=["","X","Y","Z"],r_={visibility:"hidden"},rN=0;function rO(e,t,i,r){let{latestValues:n}=t;n[e]&&(i[e]=n[e],t.setStaticValue(e,0),r&&(r[e]=0))}function rI({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(e={},i=null==t?void 0:t()){this.id=rN++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rV&&(rL.totalNodes=rL.resolvedTargetDeltas=rL.recalculatedProjection=0),this.nodes.forEach(r$),this.nodes.forEach(rX),this.nodes.forEach(rY),this.nodes.forEach(rz),rV&&window.MotionDebug.record(rL)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new ra)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new M),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=rn(t),this.instance=t;let{layoutId:r,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(n||r)&&(this.isLayoutDirty=!0),e){let i,r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{let e,t;this.root.updateBlockedByResize=!0,i&&i(),e=k.now(),t=({timestamp:i})=>{let n=i-e;n>=250&&(j(t),r())},w.read(t,!0),i=()=>j(t),i3.hasAnimatedSinceResize&&(i3.hasAnimatedSinceResize=!1,this.nodes.forEach(rq))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||r1,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=s.getProps(),l=!this.targetLayout||!rE(this.targetLayout,r)||i,u=!t&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...p(n,"layout"),onPlay:a,onComplete:o};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||rq(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,j(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(rK),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let r=i.props[_];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",w,!(e||i))}let{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&e(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rW);return}this.isUpdating||this.nodes.forEach(rG),this.isUpdating=!1,this.nodes.forEach(rH),this.nodes.forEach(rF),this.nodes.forEach(rB),this.clearAllSnapshots();let e=k.now();S.delta=el(0,1e3/60,e-S.timestamp),S.timestamp=e,S.isProcessing=!0,P.update.process(S),P.preRender.process(S),P.render.process(S),S.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,i7.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rU),this.sharedNodes.forEach(rZ)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,w.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){w.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=iL(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!n)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!rT(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;e&&(t||iO(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),r=this.removeElementScroll(i);return e&&(r=this.removeTransform(r)),r3((t=r).x),r3(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return iL();let i=t.measureViewportBox();if(!((null==(e=this.scroll)?void 0:e.wasRoot)||this.path.some(r6))){let{scroll:e}=this.root;e&&(iz(i.x,e.offset.x),iz(i.y,e.offset.y))}return i}removeElementScroll(e){var t;let i=iL();if(rv(i,e),null==(t=this.scroll)?void 0:t.wasRoot)return i;for(let t=0;t<this.path.length;t++){let r=this.path[t],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&rv(i,e),iz(i.x,n.offset.x),iz(i.y,n.offset.y))}return i}applyTransform(e,t=!1){let i=iL();rv(i,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&iW(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),iO(r.latestValues)&&iW(i,r.latestValues)}return iO(this.latestValues)&&iW(i,this.latestValues),i}removeTransform(e){let t=iL();rv(t,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];if(!i.instance||!iO(i.latestValues))continue;iN(i.latestValues)&&i.updateSnapshot();let r=iL();rv(r,i.measurePageBox()),rS(t,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return iO(this.latestValues)&&rS(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==S.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,i,r,n;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
1haredProjectionDirty);let a=!!this.resumingFrom||this!==s;if(!(e||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:o,layoutId:l}=this.options;if(this.layout&&(o||l)){if(this.resolvedRelativeTargetAt=S.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iL(),this.relativeTargetOrigin=iL(),iP(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),rv(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=iL(),this.targetWithTransforms=iL()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,r=this.relativeTarget,n=this.relativeParent.target,ij(i.x,r.x,n.x),ij(i.y,r.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rv(this.target,this.layout.layoutBox),i$(this.target,this.targetDelta)):rv(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iL(),this.relativeTargetOrigin=iL(),iP(this.relativeTargetOrigin,this.target,e.target),rv(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rV&&rL.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||iN(this.parent.latestValues)||iI(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),i=!!this.resumingFrom||this!==t,r=!0;if((this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty))&&(r=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===S.timestamp&&(r=!1),r)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;rv(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;!function(e,t,i,r=!1){let n,s,a=i.length;if(a){t.x=t.y=1;for(let o=0;o<a;o++){s=(n=i[o]).projectionDelta;let{visualElement:a}=n.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&iW(e,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,i$(e,s)),r&&iO(n.latestValues)&&iW(e,n.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=iL());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ry(this.prevProjectionDelta.x,this.projectionDelta.x),ry(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iw(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===o&&rC(this.projectionDelta.x,this.prevProjectionDelta.x)&&rC(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rV&&rL.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=iC(),this.projectionDelta=iC(),this.projectionDeltaWithTransform=iC()}setAnimationOrigin(e,t=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},a=iC();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=iL(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&
1!0===this.options.crossfade&&!this.path.some(r0));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(rJ(a.x,e.x,r),rJ(a.y,e.y,r),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,m,f,g;iP(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,g=r,rQ(p.x,m.x,f.x,g),rQ(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,c=i,rk(u.x,c.x)&&rk(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=iL()),rv(i,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,i,r,n,s){n?(e.opacity=td(0,void 0!==i.opacity?i.opacity:1,rp(r)),e.opacityExit=td(void 0!==t.opacity?t.opacity:1,0,rm(r))):s&&(e.opacity=td(void 0!==t.opacity?t.opacity:1,void 0!==i.opacity?i.opacity:1,r));for(let n=0;n<ru;n++){let s=`border${rl[n]}Radius`,a=rc(t,s),o=rc(i,s);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||rd(a)===rd(o)?(e[s]=Math.max(td(rh(a),rh(o),r),0),(ej.test(o)||ej.test(a))&&(e[s]+="%")):e[s]=o)}(t.rotate||i.rotate)&&(e.rotate=td(t.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,d,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(j(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=w.update(()=>{i3.hasAnimatedSinceResize=!0,this.currentAnimation=rr(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:r,latestValues:n}=e;if(t&&i&&r){if(this!==e&&this.layout&&r&&r4(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||iL();let t=ix(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let r=ix(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+r}rv(t,i),iW(t,n),iw(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rR),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null==(e=this.getStack())?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null==(e=this.getStack())?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let r={};i.z&&rO("z",e,r,this.animationValues);for(let t=0;t<rD.length;t++)rO(`rotate${rD[t]}`,e,r,this.animationValues),rO(`skew${rD[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return r_;let r={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=ro(null==e?void 0:e.pointerEvents)||"",r.transform=n?n(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ro(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!iO(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1),t}let a=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,i){let r="",n=e.x.translate/t.x,s=e.y.translate/t.y,a=(null==i?void 0:i.z)||0;if((n||s||a)&&(r=`translate3d(${n}px, ${s}px, ${a}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,rotateX:n,rotateY:s,skewX:a,skewY:o}=i;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),a&&(r+=`skewX(${a}deg) `),o&&(r+=`skewY(${o}deg) `)}let o=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==o||1!==l)&&(r+=`scale(${o}, ${l}
1)`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,a),n&&(r.transform=n(a,r.transform));let{x:o,y:l}=this.projectionDelta;for(let e in r.transformOrigin=`${100*o.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!=(i=null!=(t=a.opacity)?t:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=s===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,i9){if(void 0===a[e])continue;let{correct:t,applyTo:i}=i9[e],n="none"===r.transform?a[e]:t(a[e],s);if(i){let e=i.length;for(let t=0;t<e;t++)r[i[t]]=n}else r[e]=n}return this.options.layoutId&&(r.pointerEvents=s===this?ro(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null==(t=e.currentAnimation)?void 0:t.stop()}),this.root.nodes.forEach(rW),this.root.sharedNodes.clear()}}}function rF(e){e.updateLayout()}function rB(e){var t;let i=(null==(t=e.resumeFrom)?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:r}=e.layout,{animationType:n}=e.options,s=i.source!==e.layout.source;"size"===n?iV(e=>{let r=s?i.measuredBox[e]:i.layoutBox[e],n=ix(r);r.min=t[e].min,r.max=r.min+n}):r4(n,i.layoutBox,t)&&iV(r=>{let n=s?i.measuredBox[r]:i.layoutBox[r],a=ix(t[r]);n.max=n.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});let a=iC();iw(a,t,i.layoutBox);let o=iC();s?iw(o,e.applyTransform(r,!0),i.measuredBox):iw(o,t,i.layoutBox);let l=!rT(a),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let a=iL();iP(a,i.layoutBox,n.layoutBox);let o=iL();iP(o,t,s.layoutBox),rE(a,o)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=o,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:i,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function r$(e){rV&&rL.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function rz(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function rU(e){e.clearSnapshot()}function rW(e){e.clearMeasurements()}function rG(e){e.isLayoutDirty=!1}function rH(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function rq(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function rX(e){e.resolveTargetDelta()}function rY(e){e.calcProjection()}function rK(e){e.resetSkewAndRotation()}function rZ(e){e.removeLeadSnapshot()}function rJ(e,t,i){e.translate=td(t.translate,0,i),e.scale=td(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function rQ(e,t,i,r){e.min=td(t.min,i.min,r),e.max=td(t.max,i.max,r)}function r0(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let r1={duration:.45,ease:[.4,0,.1,1]},r2=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),r5=r2("applewebkit/")&&!r2("chrome/")?Math.round:y;function r3(e){e.min=r5(e.min),e.max=r5(e.max)}function r4(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(rM(t)-rM(i)))}function r6(e){var t;return e!==e.root&&(null==(t=e.scroll)?void 0:t.wasRoot)}let r9=rI({attachResizeListener:(e,t)=>il(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),r7={current:void 0},r8=rI({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!r7.current){let e=new r9({});e.mount(window),e.setOptions({layoutScroll:!0}),r7.current=e}return r7.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function ne(e,t,i){var r;if(e instanceof Element)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let s=null!=(r=null==i?void 0:i[e])?r:n.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}function nt(e,t){let i=ne(e),r=new AbortController;return[i,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function ni(e){return t=>{"touch"===t.pointerType||ia.x||ia.y||e(t)}}function nr(e,t,i){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&w.postRender(()=>n(t,iu(t)))}e.s(["resolveElements",0,ne],35927);let nn=(e,t)=>!!t&&(e===t||nn(e,t.parentElement)),ns=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),na=new WeakSet;function no(e){return t=>{"Enter"===t.key&&e(t)}}function nl(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function nu(e){return io(e)&&!(ia.x||ia.y)}function nh(e,t,i){let{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&w.postRender(()=>n(t,iu(t)))}let nd=new WeakMap,nc=new WeakMap,np=e=>{let t=nd.get(e.target);t&&t(e)},nm=e=>{e.forEach(np)},nf={some:0,all:1},ng=(0,i0.createContext)({strict:!1});var nv=e.i(9344);let ny=(0,i0.createContext)({});function nx(e){return n(e.animate)||c.some(t=>o(e[t]))}function nb(e){return!!(nx(e)||e.variants)}function nw(e){return Array.isArray(e)?e.join(" "):e}let nj="u">typeof window,nS={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},nP={};for(let e in nS)nP[e]={isEnabled:t=>nS[e].some(e=>!!t[e])};let nT=Symbol.for("motionComponentSymbol"),nk=nj?i0.useLayoutEffect:i0.useEffect,nA=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function nE(e){if("string"!=typeof e||e.includes("-"));else if(nA.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var nM=e.i(47734);let nC=e=>(t,i)=>{let r=(0,i0.useContext)(ny),s=(0,i0.useContext)(i1),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:i},r,s,a){let o={latestValues:function(e,t,i,r){let s={},a=r(e,{});for(let e in a)s[e]=ro(a[e]);let{initial:o,animate:l}=e,h=nx(e),d=nb(e);t&&d&&!h&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===l&&(l=t.animate));let c=!!i&&!1===i.initial,p=(c=c||!1===o)?l:o;if(p&&"boolean"!=typeof p&&!n(p)){let t=Array.isArray(p)?p:[p];for(let i=0;i<t.length;i++){let r=u(e,t[i]);if(r){let{transitionEnd:e,transition:t,...i}=r;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(s[e]=t)}for(let t in e)s[t]=e[t]}}}return s}(r,s,a,e),renderState:t()};return i&&(o.onMount=e=>i({props:r,current:e,...o}),o.onUpdate=e=>i(e)),o})(e,t,r,s);return i?a():(0,nM.useConstant)(a)},nR=(e,t)=>t&&"number"==typeof e?t.transform(e):e,nL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nV=m.length;function nD(e,t,i){let{style:r,vars:n,transformOrigin:s}=e,a=!1,o=!1;for(let e in t){let i=t[e];if(f.has(e)){a=!0;continue}if(e9(e)){n[e]=i;continue}{let t=nR(i,eU[e]);e.startsWith("origin")?(o=!0,s[e]=t):r[e]=t}}if(!t.transform&&(a||i?r.transform=function(e,t,i){let r="",n=!0;for(let s=0;s<nV;s++){let a=m[s],o=e[a];if(void 0===o)continue;let l=!0;if(!(l="number"==typeof o?o===+!!a.startsWith("scale"):0===parseFloat(o))||i){let e=nR(o,eU[a]);if(!l){n=!1;let t=nL[a]||a;r+=`${t}(${e}) `}i&&(t[a]=e)}}return r=r.trim(),i?r=i(t,n?"":r):n&&(r="none"),r}(t,e.transform,i):r.transform&&(r.transform="none")),o){let{originX:e="50%",originY:t="50%",originZ:i=0}=s;r.transformOrigin=`${e} ${t} ${i}`}}let n_={offset:"stroke-dashoffset",array:"stroke-dasharray"},nN={offset:"strokeDashoffset",array:"strokeDasharray"};function nO(e,t,i){return"string"==typeof e?e:eS.transform(t+i*e)}function nI(e,{attrX:t,attrY:i,attrScale:r,originX:n,originY:s,pathLength:a,pathSpacing:o=1,pathOffset:l=0,...u},h,d){let c,p;
1if(nD(e,u,d),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:m,style:f,dimensions:g}=e;m.transform&&(g&&(f.transform=m.transform),delete m.transform),g&&(void 0!==n||void 0!==s||f.transform)&&(c=nO(void 0!==n?n:.5,g.x,g.width),p=nO(void 0!==s?s:.5,g.y,g.height),f.transformOrigin=`${c} ${p}`),void 0!==t&&(m.x=t),void 0!==i&&(m.y=i),void 0!==r&&(m.scale=r),void 0!==a&&function(e,t,i=1,r=0,n=!0){e.pathLength=1;let s=n?n_:nN;e[s.offset]=eS.transform(-r);let a=eS.transform(t),o=eS.transform(i);e[s.array]=`${a} ${o}`}(m,a,o,l,!1)}let nF=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),nB=()=>({...nF(),attrs:{}}),n$=e=>"string"==typeof e&&"svg"===e.toLowerCase();function nz(e,{style:t,vars:i},r,n){for(let s in Object.assign(e.style,t,n&&n.getProjectionStyles(r)),i)e.style.setProperty(s,i[s])}let nU=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function nW(e,t,i,r){for(let i in nz(e,t,void 0,r),t.attrs)e.setAttribute(nU.has(i)?i:D(i),t.attrs[i])}function nG(e,{layout:t,layoutId:i}){return f.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!i9[e]||"opacity"===e)}function nH(e,t,i){var r;let{style:n}=e,s={};for(let a in n)(L(n[a])||t.style&&L(t.style[a])||nG(a,e)||(null==(r=null==i?void 0:i.getValue(a))?void 0:r.liveStyle)!==void 0)&&(s[a]=n[a]);return s}function nq(e,t,i){let r=nH(e,t,i);for(let i in e)(L(e[i])||L(t[i]))&&(r[-1!==m.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return r}let nX=["x","y","width","height","cx","cy","r"],nY={useVisualState:nC({scrapeMotionValuesFromProps:nq,createRenderState:nB,onUpdate:({props:e,prevProps:t,current:i,renderState:r,latestValues:n})=>{if(!i)return;let s=!!e.drag;if(!s){for(let e in n)if(f.has(e)){s=!0;break}}if(!s)return;let a=!t;if(t)for(let i=0;i<nX.length;i++){let r=nX[i];e[r]!==t[r]&&(a=!0)}a&&w.read(()=>{try{r.dimensions="function"==typeof i.getBBox?i.getBBox():i.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}w.render(()=>{nI(r,n,n$(i.tagName),e.transformTemplate),nW(i,r)})})}})},nK={useVisualState:nC({scrapeMotionValuesFromProps:nH,createRenderState:nF})};function nZ(e,t,i){for(let r in t)L(t[r])||nG(r,i)||(e[r]=t[r])}var nJ=e.i(53047);let nQ={current:null},n0={current:!1},n1=[...tr,eE,eO],n2=new WeakMap;e.s(["visualElementStore",0,n2],60323);let n5=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class n3{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:n,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=e4,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=k.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,w.render(this.render,!1,!0))};const{latestValues:o,renderState:l,onUpdate:u}=s;this.onUpdate=u,this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!n,this.isControllingVariants=nx(t),this.isVariantNode=nb(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:h,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==o[e]&&L(t)&&t.set(o[e],!1)}}mount(e){this.current=e,n2.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),n0.current||function(){if(n0.current=!0,nj)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nQ.current=e.matches;e.addListener(t),t()}else nQ.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nQ.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in n2.delete(this.current),this.projection&&this.projection.unmount(),j(this.notifyUpdate),j(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let i;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=f.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&w.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{n(),s(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in nP){let t=nP[e];if(!t)continue;let{isEnabled:i,Feature:r}=t;if(!this.features[e]&&r&&i(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iL()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<n5.length;t++){let i=n5[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=e["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(e,t,i){for(let r in t){let n=t[r],s=i[r];if(L(n))e.addValue(r,n);else if(L(s))e.addValue(r,R(n,{owner:e}));else if(s!==n)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(n):t.hasAnimated||t.set(n)}else{let t=e.getStaticValue(r);e.addValue(r,R(void 0!==t?t:n,{owner:e}))}}for(let r in i)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=R(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){var i;let r=void 0===this.latestValues[e]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,e))?i:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){let i,n;if("string"==typeof r&&(i=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i)||(n=r,/^0[^.\s]+$/u.test(n))))r=parseFloat(r);else{let i;i=r,!n1.find(ti(i))&&eO.test(t)&&(r=eH(e,t))}this.setBaseTarget(e,L(r)?r.get():r)}return L(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let i,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=u(this.props,r,null==(t=this.presenceContext)?void 0:t.custom);n&&(i=n[e])}if(r&&void 0!==i)return i;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||L(n)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new M),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}e.s(["VisualElement",0,n3],3002);class n4 extends n3{constructor(){super(...arguments),this.KeyframeResolver=ts}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;L(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class n6 extends n4{constructor(){super(...arguments),this.type="html",this.renderInstance=nz}readValueFromInstance(e,t){if(f.has(t)){let e=eG(t);return e&&e.default||0}{let i=window.getComputedStyle(e),r=(e9(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return iG(e,t)}build(e,t,i){nD(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return nH(e,t,i)}}e.s(["HTMLVisualElement",0,n6],96971);
1class n9 extends n4{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=iL}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(f.has(t)){let e=eG(t);return e&&e.default||0}return t=nU.has(t)?t:D(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return nq(e,t,i)}build(e,t,i){nI(e,t,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,i,r){nW(e,t,i,r)}mount(e){this.isSVGTag=n$(e.tagName),super.mount(e)}}e.s(["SVGVisualElement",0,n9],465);let n7=function(e){if("u"<typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(i,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}((iZ={animation:{Feature:class extends ir{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>t6(e,t,i)));else if("string"==typeof t)r=t6(e,t,i);else{let n="function"==typeof t?h(e,t,i.custom):t;r=Promise.all(t4(e,n,i))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=ii(),r=!0,l=t=>(i,r)=>{var n;let s=h(e,r,"exit"===t?null==(n=e.presenceContext)?void 0:n.custom:void 0);if(s){let{transition:e,transitionEnd:t,...r}=s;i={...i,...r,...t}}return i};function u(u){let{props:h}=e,d=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<t7;e++){let r=c[e],n=t.props[r];(o(n)||!1===n)&&(i[r]=n)}return i}(e.parent)||{},p=[],m=new Set,f={},g=1/0;for(let t=0;t<ie;t++){var v,y;let c=t8[t],x=i[c],b=void 0!==h[c]?h[c]:d[c],w=o(b),j=c===u?x.isActive:null;!1===j&&(g=t);let S=b===d[c]&&b!==h[c]&&w;if(S&&r&&e.manuallyAnimateOnMount&&(S=!1),x.protectedKeys={...f},!x.isActive&&null===j||!b&&!x.prevProp||n(b)||"boolean"==typeof b)continue;let P=(v=x.prevProp,"string"==typeof(y=b)?y!==v:!!Array.isArray(y)&&!a(y,v)),T=P||c===u&&x.isActive&&!S&&w||t>g&&w,k=!1,A=Array.isArray(b)?b:[b],E=A.reduce(l(c),{});!1===j&&(E={});let{prevResolvedValues:M={}}=x,C={...M,...E},R=t=>{T=!0,m.has(t)&&(k=!0,m.delete(t)),x.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in C){let t=E[e],i=M[e];if(!f.hasOwnProperty(e))(s(t)&&s(i)?a(t,i):t===i)?void 0!==t&&m.has(e)?R(e):x.protectedKeys[e]=!0:null!=t?R(e):m.add(e)}x.prevProp=b,x.prevResolvedValues=E,x.isActive&&(f={...f,...E}),r&&e.blockInitialAnimation&&(T=!1);let L=!(S&&P)||k;T&&L&&p.push(...A.map(e=>({animation:e,options:{type:c}})))}if(m.size){let t={};m.forEach(i=>{let r=e.getBaseTarget(i),n=e.getValue(i);n&&(n.liveStyle=!0),t[i]=null!=r?r:null}),p.push({animation:t})}let x=!!p.length;return r&&(!1===h.initial||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?t(p):Promise.resolve()}return{animateChanges:u,setActive:function(t,r){var n;if(i[t].isActive===r)return Promise.resolve();null==(n=e.variantChildren)||n.forEach(e=>{var i;return null==(i=e.animationState)?void 0:i.setActive(t,r)}),i[t].isActive=r;let s=u(t);for(let e in i)i[e].protectedKeys={};return s},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=ii(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();n(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null==(e=this.unmountControls)||e.call(this)}}},exit:{Feature:class extends ir{constructor(){super(...arguments),this.id=is++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends ir{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:a}=i,o={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:nf[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),n=t?i:r;n&&n(e)};return e=this.node.current,t=function({root:e,...t}){let i=e||document;nc.has(i)||nc.set(i,{});let r=nc.get(i),n=JSON.stringify(t);return r[n]||(r[n]=new IntersectionObserver(nm,{root:e,...t})),r[n]}(o),nd.set(e,l),t.observe(e),()=>{nd.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ir{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[r,n,s]=nt(e,i),a=e=>{let r=e.currentTarget;if(!nu(e)||na.has(r))return;na.add(r);let s=t(e),a=(e,t)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),nu(e)&&na.has(r)&&(na.delete(r),"function"==typeof s&&s(e,{success:t}))},o=e=>{a(e,i.useGlobalTarget||nn(r,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",o,n),window.addEventListener("pointercancel",l,n)};
1return r.forEach(e=>{ns.has(e.tagName)||-1!==e.tabIndex||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(i.useGlobalTarget?window:e).addEventListener("pointerdown",a,n),e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let r=no(()=>{if(na.has(i))return;nl(i,"down");let e=no(()=>{nl(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>nl(i,"cancel"),t)});i.addEventListener("keydown",r,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),t)})(e,n),n)}),s}(e,e=>(nh(this.node,e,"Start"),(e,{success:t})=>nh(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends ir{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tx(il(this.node.current,"focus",()=>this.onFocus()),il(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ir{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[r,n,s]=nt(e,i),a=ni(e=>{let{target:i}=e,r=t(e);if("function"!=typeof r||!i)return;let s=ni(e=>{r(e),i.removeEventListener("pointerleave",s)});i.addEventListener("pointerleave",s,n)});return r.forEach(e=>{e.addEventListener("pointerenter",a,n)}),s}(e,e=>(nr(this.node,e,"Start"),e=>nr(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends ir{constructor(){super(...arguments),this.removePointerDownListener=y}onPointerDown(e){this.session=new ic(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:iH(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:iK(e),onStart:iK(t),onMove:i,onEnd:(e,t)=>{delete this.session,r&&w.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=ih(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ir{constructor(e){super(e),this.removeGroupControls=y,this.removeListeners=y,this.controls=new iX(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||y}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:r8,MeasureLayout:rt},layout:{ProjectionNode:r8,MeasureLayout:rt}},iJ=(e,t)=>nE(e)?new n9(t):new n6(t,{allowProjection:e!==i0.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:r,Component:n}){var s,a;function l(e,s){var a;let l,u={...(0,i0.useContext)(nv.MotionConfigContext),...e,layoutId:function({layoutId:e}){let t=(0,i0.useContext)(i2).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:h}=u,d=function(e){let{initial:t,animate:i}=function(e,t){if(nx(e)){let{initial:t,animate:i}=e;return{initial:!1===t||o(t)?t:void 0,animate:o(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,i0.useContext)(ny));return(0,i0.useMemo)(()=>({initial:t,animate:i}),[nw(t),nw(i)])}(e),c=r(e,h);if(!h&&nj){(0,i0.useContext)(ng).strict;let e=function(e){let{drag:t,layout:i}=nP;if(!t&&!i)return{};let r={...t,...i};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==i?void 0:i.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(u);l=e.MeasureLayout,d.visualElement=function(e,t,i,r,n){var s,a;let{visualElement:o}=(0,i0.useContext)(ny),l=(0,i0.useContext)(ng),u=(0,i0.useContext)(i1),h=(0,i0.useContext)(nv.MotionConfigContext).reducedMotion,d=(0,i0.useRef)(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:o,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:h}));let c=d.current,p=(0,i0.useContext)(i5);
1c&&!c.projection&&n&&("html"===c.type||"svg"===c.type)&&function(e,t,i,r){let{layoutId:n,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!a||o&&iy(o),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(d.current,i,n,p);let m=(0,i0.useRef)(!1);(0,i0.useInsertionEffect)(()=>{c&&m.current&&c.update(i,u)});let f=i[_],g=(0,i0.useRef)(!!f&&!(null==(s=window.MotionHandoffIsComplete)?void 0:s.call(window,f))&&(null==(a=window.MotionHasOptimisedAnimation)?void 0:a.call(window,f)));return nk(()=>{c&&(m.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),i7.render(c.render),g.current&&c.animationState&&c.animationState.animateChanges())}),(0,i0.useEffect)(()=>{c&&(!g.current&&c.animationState&&c.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var e;null==(e=window.MotionHandoffMarkAsComplete)||e.call(window,f)}),g.current=!1))}),c}(n,c,u,t,e.ProjectionNode)}return(0,iQ.jsxs)(ny.Provider,{value:d,children:[l&&d.visualElement?(0,iQ.jsx)(l,{visualElement:d.visualElement,...u}):null,i(n,e,(a=d.visualElement,(0,i0.useCallback)(e=>{e&&c.onMount&&c.onMount(e),a&&(e?a.mount(e):a.unmount()),s&&("function"==typeof s?s(e):iy(s)&&(s.current=e))},[a])),c,h,d.visualElement)]})}e&&function(e){for(let t in e)nP[t]={...nP[t],...e[t]}}(e),l.displayName=`motion.${"string"==typeof n?n:`create(${null!=(a=null!=(s=n.displayName)?s:n.name)?a:""})`}`;let u=(0,i0.forwardRef)(l);return u[nT]=n,u}({...nE(e)?nY:nK,preloadedFeatures:iZ,useRender:function(e=!1){return(t,i,r,{latestValues:n},s)=>{let a=(nE(t)?function(e,t,i,r){let n=(0,i0.useMemo)(()=>{let i=nB();return nI(i,t,n$(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};nZ(t,e.style,e),n.style={...t,...n.style}}return n}:function(e,t){let i,r,n={},s=(i=e.style||{},nZ(r={},i,e),Object.assign(r,function({transformTemplate:e},t){return(0,i0.useMemo)(()=>{let i=nF();return nD(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=s,n})(i,n,s,t),o=(0,nJ.filterProps)(i,"string"==typeof t,e),l=t!==i0.Fragment?{...o,...a,ref:r}:{},{children:u}=i,h=(0,i0.useMemo)(()=>L(u)?u.get():u,[u]);return(0,i0.createElement)(t,{...l,children:h})}}(t),createVisualElement:iJ,Component:e})}));e.s(["motion",0,n7],30589)},5500,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return w}});let r=e.r(55682),n=e.r(90809),s=e.r(43476),a=n._(e.r(71645)),o=r._(e.r(74080)),l=r._(e.r(25633)),u=e.r(8927),h=e.r(87690),d=e.r(18556),c=e.r(65856),p=r._(e.r(1948)),m=e.r(18581),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,i,r,n,s,a){let o=e?.src;e&&e["data-loaded-src"]!==o&&(e["data-loaded-src"]=o,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&n(!0),i?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,n=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{n=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function v(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let y="u"<typeof window?a.useEffect:a.useLayoutEffect,x=(0,a.forwardRef)(({src:e,srcSet:t,sizes:i,height:r,width:n,decoding:o,className:l,style:u,fetchPriority:h,placeholder:d,loading:c,unoptimized:p,fill:f,onLoadRef:x,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:j,sizesInput:S,onLoad:P,onError:T,...k},A)=>{let E=(0,a.useRef)(!1),M=(0,a.useRef)(null);y(()=>{let{current:e}=E,{current:t}=M;e||null===t||(T&&(t.src=t.src),t.complete&&g(t,d,x,b,w,p,S),E.current=!0)},[e,d,x,b,T,p,S]);let C=(0,m.useMergedRef)(A,M);return(0,s.jsx)("img",{...k,...v(h),loading:c,width:n,height:r,decoding:o,"data-nimg":f?"fill":"1",className:l,style:u,sizes:i,srcSet:t,src:e,ref:C,onLoad:e=>{g(e.currentTarget,d,x,b,w,p,S)},onError:e=>{j(!0),"empty"!==d&&w(!0),T&&T(e)}})});function b({isAppRouter:e,imgAttributes:t}){let i={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...v(t.fetchPriority)};return e&&o.default.preload?(o.default.preload(t.src,i),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...i},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,a.forwardRef)((e,t)=>{let i=(0,a.useContext)(c.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),n=(0,a.useMemo)(()=>{let e=f||r||h.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
1e-t),i=e.deviceSizes.sort((e,t)=>e-t),n=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:i,qualities:n,localPatterns:"u"<typeof window?r?.localPatterns:e.localPatterns}},[r]),{onLoad:o,onLoadingComplete:l}=e,m=(0,a.useRef)(o);(0,a.useEffect)(()=>{m.current=o},[o]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[v,y]=(0,a.useState)(!1),[w,j]=(0,a.useState)(!1),{props:S,meta:P}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:n,blurComplete:v,showAltText:w});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x,{...S,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:y,setShowAltText:j,sizesInput:e.sizes,ref:t}),P.preload?(0,s.jsx)(b,{isAppRouter:!i,imgAttributes:S}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},94909,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return h},getImageProps:function(){return u}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(55682),a=e.r(8927),o=e.r(5500),l=s._(e.r(1948));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}}let h=o.Image},57688,(e,t,i)=>{t.exports=e.r(94909)},90317,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={bindSnapshot:function(){return u},createAsyncLocalStorage:function(){return l},createSnapshot:function(){return h}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class a{disable(){throw s}getStore(){}run(){throw s}exit(){throw s}enterWith(){throw s}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function l(){return o?new o:new a}function u(e){return o?o.bind(e):a.bind(e)}function h(){return o?o.snapshot():function(e,...t){return e(...t)}}},42344,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,e.r(90317).createAsyncLocalStorage)()},63599,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=e.r(42344)},9885,(e,t,i)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"encodeURIPath",{enumerable:!0,get:function(){return r}})},25633,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return f},defaultHead:function(){return d}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(55682),a=e.r(90809),o=e.r(43476),l=a._(e.r(71645)),u=s._(e.r(98879)),h=e.r(42732);function d(){return[(0,o.jsx)("meta",{charSet:"utf-8"},"charset"),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let p=["name","httpEquiv","charSet","itemProp"];function m(e){let t,i,r,n;return e.reduce(c,[]).reverse().concat(d().reverse()).filter((t=new Set,i=new Set,r=new Set,n={},e=>{let s=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let i=e.key.slice(e.key.indexOf("$")+1);t.has(i)?s=!1:t.add(i)}switch(e.type){case"title":case"base":i.has(e.type)?s=!1:i.add(e.type);break;case"meta":for(let t=0,i=p.length;t<i;t++){let i=p[t];if(e.props.hasOwnProperty(i))if("charSet"===i)r.has(i)?s=!1:r.add(i);else{let t=e.props[i],r=n[i]||new Set;("name"!==i||!a)&&r.has(t)?s=!1:(r.add(t),n[i]=r)}}}return s})).reverse().map((e,t)=>{let i=e.key||t;return l.default.cloneElement(e,{key:i})})}let f=function({children:e}){let t=(0,l.useContext)(h.HeadManagerContext);return(0,o.jsx)(u.default,{reduceComponentsToState:m,headManager:t,children:e})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
1dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},18556,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let r=e.r(55682)._(e.r(71645)),n=e.r(87690),s=r.default.createContext(n.imageConfigDefault)},65856,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return r}});let r=e.r(55682)._(e.r(71645)).default.createContext(null)},70965,(e,t,i)=>{"use strict";function r(e,t){let i=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e,t.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return r}})},1948,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let r=e.r(70965),n=e.r(43369);function s({config:e,src:t,width:i,quality:a}){let o=(0,n.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,n.getAssetToken)())o=void 0;else{let e=t.indexOf("?");if(-1!==e){let i=new URLSearchParams(t.slice(e+1)),r=i.get("dpl");if(r){o=r,i.delete("dpl");let n=i.toString();t=t.slice(0,e)+(n?"?"+n:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. 2Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,r.findClosestQuality)(a,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${i}&q=${l}${t.startsWith("/")&&o?`&dpl=${o}`:""}`}s.__next_img_default=!0;let a=s},67423,(e,t,i)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:i,blurHeight:n,blurDataURL:s,objectFit:a}){let o=i?40*i:e,l=n?40*n:t,u=o&&l?`viewBox='0 0 ${o} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${s}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},87690,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return s},imageConfigDefault:function(){return a}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return u}});let r=e.r(43369),n=e.r(67423),s=e.r(87690),a=["-moz-initial","fill","none","scale-down",void 0];function o(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:i=!1,priority:h=!1,preload:d=!1,loading:c,className:p,quality:m,width:f,height:g,fill:v=!1,style:y,overrideSrc:x,onLoad:b,onLoadingComplete:w,placeholder:j="empty",blurDataURL:S,fetchPriority:P,decoding:T="async",layout:k,objectFit:A,objectPosition:E,lazyBoundary:M,lazyRoot:C,...R},L){var V;let D,_,N,{imgConf:O,showAltText:I,blurComplete:F,defaultLoader:B}=L,$=O||s.imageConfigDefault;if("allSizes"in $)D=$;else{let e=[...$.deviceSizes,...$.imageSizes].sort((e,t)=>
2e-t),t=$.deviceSizes.sort((e,t)=>e-t),i=$.qualities?.sort((e,t)=>e-t);D={...$,allSizes:e,deviceSizes:t,qualities:i}}if(void 0===B)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let z=R.loader||B;delete R.loader,delete R.srcSet;let U="__next_img_default"in z;if(U){if("custom"===D.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. 3Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=z;z=t=>{let{config:i,...r}=t;return e(r)}}if(k){"fill"===k&&(v=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[k];e&&(y={...y,...e});let i={responsive:"100vw",fill:"100vw"}[k];i&&!t&&(t=i)}let W="",G=l(f),H=l(g);if((V=e)&&"object"==typeof V&&(o(V)||void 0!==V.src)){let t=o(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(_=t.blurWidth,N=t.blurHeight,S=S||t.blurDataURL,W=t.src,!v)if(G||H){if(G&&!H){let e=G/t.width;H=Math.round(t.height*e)}else if(!G&&H){let e=H/t.height;G=Math.round(t.width*e)}}else G=t.width,H=t.height}let q=!h&&!d&&("lazy"===c||void 0===c);(!(e="string"==typeof e?e:W)||e.startsWith("data:")||e.startsWith("blob:"))&&(i=!0,q=!1),D.unoptimized&&(i=!0),U&&!D.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(i=!0);let X=l(m),Y=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:A,objectPosition:E}:{},I?{}:{color:"transparent"},y),K=F||"empty"===j?null:"blur"===j?`url("data:image/svg+xml;charset=utf-8,${(0,n.getImageBlurSvg)({widthInt:G,heightInt:H,blurWidth:_,blurHeight:N,blurDataURL:S||"",objectFit:Y.objectFit})}")`:`url("${j}")`,Z=a.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,J=K?{backgroundSize:Z,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},Q=function({config:e,src:t,unoptimized:i,width:n,quality:s,sizes:a,loader:o}){if(i){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,r.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,r.getAssetToken)())e=void 0;else if(e){let i=t.indexOf("?");if(-1!==i){let r=new URLSearchParams(t.slice(i+1));r.get("dpl")||(r.append("dpl",e),t=t.slice(0,i)+"?"+r.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},i,r){if(r){let i=/(^|\s)(1?\d?\d)vw/g,n=[];for(let e;e=i.exec(r);)n.push(parseInt(e[2]));if(n.length){let i=.01*Math.min(...n);return{widths:t.filter(t=>t>=e[0]*i),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof i?{widths:e,kind:"w"}:{widths:[...new Set([i,2*i].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,n,a),h=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((i,r)=>`${o({config:e,src:t,quality:s,width:i})} ${"w"===u?i:r+1}${u}`).join(", "),src:o({config:e,src:t,quality:s,width:l[h]})}}({config:D,src:e,unoptimized:i,width:G,quality:X,sizes:t,loader:z}),ee=q?"lazy":c;return{props:{...R,loading:ee,fetchPriority:P,width:G,height:H,decoding:T,className:p,style:{...Y,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:x||Q.src},meta:{unoptimized:i,preload:d||h,placeholder:j,fill:v}}}},67585,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let r=e.r(32061);function n({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new r.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
3configurable:!0});return t}},52157,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"PreloadChunks",{enumerable:!0,get:function(){return l}});let r=e.r(43476),n=e.r(74080),s=e.r(63599),a=e.r(9885),o=e.r(43369);function l({moduleIds:e}){if("u">typeof window)return null;let t=s.workAsyncStorage.getStore();if(void 0===t)return null;let i=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;i.push(...e)}}if(0===i.length)return null;let u=(0,o.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:i.map(e=>{let i=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}${u}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:i,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,n.preload)(i,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},69093,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return u}});let r=e.r(43476),n=e.r(71645),s=e.r(67585),a=e.r(52157);function o(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},u=function(e){let t={...l,...e},i=(0,n.lazy)(()=>t.loader().then(o)),u=t.loading;function h(e){let o=u?(0,r.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,h=l?n.Suspense:n.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"<typeof window?(0,r.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,r.jsx)(i,{...e})]}):(0,r.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(i,{...e})});return(0,r.jsx)(h,{...l?{fallback:o}:{},children:d})}return h.displayName="LoadableComponent",h}},70703,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return n}});let r=e.r(55682)._(e.r(69093));function n(e,t){let i={};"function"==typeof e&&(i.loader=e);let n={...i,...t};return(0,r.default)({...n,modules:n.loadableGenerated?.modules})}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},98879,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return o}});let r=e.r(71645),n="u"<typeof window,s=n?()=>{}:r.useLayoutEffect,a=n?()=>{}:r.useEffect;function o(e){let{headManager:t,reduceComponentsToState:i}=e;function o(){if(t&&t.mountedInstances){let e=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(i(e))}}return n&&(t?.mountedInstances?.add(e.children),o()),s(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),s(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.