<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3126],{594:function(t,e,n){"use strict";var i=n(4836);e.Z=void 0;var s=i(n(4938)),o=n(5893),r=(0,s.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.Z=r},4938:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i.createSvgIcon}});var i=n(8670)},3946:function(t,e,n){"use strict";n.d(e,{Z:function(){return P}});var i=n(3366),s=n(7462),o=n(7294),r=n(6010),a=n(4780),l=n(1796),u=n(1496),c=n(7623),h=n(7037),d=n(8216),p=n(1588),m=n(4867);function f(t){return(0,m.Z)("MuiIconButton",t)}var v=(0,p.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),g=n(5893);const y=["edge","children","className","color","disabled","disableFocusRipple","size"],x=(0,u.ZP)(h.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=&gt;{const{ownerState:n}=t;return[e.root,"default"!==n.color&amp;&amp;e[`color${(0,d.Z)(n.color)}`],n.edge&amp;&amp;e[`edge${(0,d.Z)(n.edge)}`],e[`size${(0,d.Z)(n.size)}`]]}})((({theme:t,ownerState:e})=&gt;(0,s.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!e.disableRipple&amp;&amp;{"&amp;:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===e.edge&amp;&amp;{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&amp;&amp;{marginRight:"small"===e.size?-3:-12})),(({theme:t,ownerState:e})=&gt;{var n;const i=null==(n=(t.vars||t).palette)?void 0:n[e.color];return(0,s.Z)({},"inherit"===e.color&amp;&amp;{color:"inherit"},"inherit"!==e.color&amp;&amp;"default"!==e.color&amp;&amp;(0,s.Z)({color:null==i?void 0:i.main},!e.disableRipple&amp;&amp;{"&amp;:hover":(0,s.Z)({},i&amp;&amp;{backgroundColor:t.vars?`rgba(${i.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(i.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===e.size&amp;&amp;{padding:5,fontSize:t.typography.pxToRem(18)},"large"===e.size&amp;&amp;{padding:12,fontSize:t.typography.pxToRem(28)},{[`&amp;.${v.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}));var P=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiIconButton"}),{edge:o=!1,children:l,className:u,color:h="default",disabled:p=!1,disableFocusRipple:m=!1,size:v="medium"}=n,P=(0,i.Z)(n,y),T=(0,s.Z)({},n,{edge:o,color:h,disabled:p,disableFocusRipple:m,size:v}),w=(t=&gt;{const{classes:e,disabled:n,color:i,edge:s,size:o}=t,r={root:["root",n&amp;&amp;"disabled","default"!==i&amp;&amp;`color${(0,d.Z)(i)}`,s&amp;&amp;`edge${(0,d.Z)(s)}`,`size${(0,d.Z)(o)}`]};return(0,a.Z)(r,f,e)})(T);return(0,g.jsx)(x,(0,s.Z)({className:(0,r.Z)(w.root,u),centerRipple:!0,focusRipple:!m,disabled:p,ref:e,ownerState:T},P,{children:l}))}))},8670:function(t,e,n){"use strict";n.r(e),n.d(e,{capitalize:function(){return s.Z},createChainedFunction:function(){return o},createSvgIcon:function(){return r.Z},debounce:function(){return a},deprecatedPropType:function(){return l},isMuiElement:function(){return h},ownerDocument:function(){return p},ownerWindow:function(){return m},requirePropFactory:function(){return f},setRef:function(){return v},unstable_ClassNameGenerator:function(){return C},unstable_useEnhancedEffect:function(){return g},unstable_useId:function(){return P},unsupportedProp:function(){return T},useControlled:function(){return w.Z},useEventCallback:function(){return S.Z},useForkRef:function(){return b.Z},useIsFocusVisible:function(){return A.Z}});var i=n(7078),s=n(8216);var o=function(...t){return t.reduce(((t,e)=&gt;null==e?t:function(...n){t.apply(this,n),e.apply(this,n)}),(()=&gt;{}))},r=n(8169);var a=function(t,e=166){let n;function i(...i){clearTimeout(n),n=setTimeout((()=&gt;{t.apply(this,i)}),e)}return i.clear=()=&gt;{clearTimeout(n)},i};var l=function(t,e){return()=&gt;null},u=n(7294),c=n.t(u,2);var h=function(t,e){return u.isValidElement(t)&amp;&amp;-1!==e.indexOf(t.type.muiName)},d=n(7094),p=d.Z;var m=function(t){return(0,d.Z)(t).defaultView||window};n(7462);var f=function(t,e){return()=&gt;null},v=n(7960).Z,g=n(6600).Z;let y=0;const x=c.useId;var P=function(t){if(void 0!==x){const e=x();return null!=t?t:e}return function(t){const[e,n]=u.useState(t),i=t||e;return u.useEffect((()=&gt;{null==e&amp;&amp;(y+=1,n(`mui-${y}`))}),[e]),i}(t)};var T=function(t,e,n,i,s){return null},w=n(9299),S=n(2068),b=n(1705),A=n(9674);const C={configure:t=&gt;{i.Z.configure(t)}}},9299:function(t,e,n){"use strict";var i=n(8925);e.Z=i.Z},4836:function(t){t.exports=function(t){return t&amp;&amp;t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},6376:function(t,e,n){"use strict";n.d(e,{E:function(){return Sr}});var i=n(5893),s=n(7294);const o=(0,s.createContext)({transformPagePoint:t=&gt;t,isStatic:!1,reducedMotion:"never"}),r=(0,s.createContext)({}),a=(0,s.createContext)(null),l="undefined"!==typeof window,u=l?s.useLayoutEffect:s.useEffect,c=(0,s.createContext)({strict:!1}),h=t=&gt;t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),d="data-"+h("framerAppearId"),p=!1,m=!1;const f=["read","resolveKeyframes","update","preRender","render","postRender"];function v(t,e){let n=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=&gt;n=!0,r=f.reduce(((t,e)=&gt;(t[e]=function(t){let e=new Set,n=new Set,i=!1,s=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&amp;&amp;(l.schedule(e),t()),e(r)}const l={schedule:(t,s=!1,r=!1)=&gt;{const a=r&amp;&amp;i?e:n;return s&amp;&amp;o.add(t),a.has(t)||a.add(t),t},cancel:t=&gt;{n.delete(t),o.delete(t)},process:t=&gt;{r=t,i?s=!0:(i=!0,[e,n]=[n,e],n.clear(),e.forEach(a),i=!1,s&amp;&amp;(s=!1,l.process(t)))}};return l}(o),t)),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:d}=r,p=()=&gt;{const o=m?s.timestamp:performance.now();n=!1,s.delta=i?1e3/60:Math.max(Math.min(o-s.timestamp,40),1),s.timestamp=o,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),c.process(s),h.process(s),d.process(s),s.isProcessing=!1,n&amp;&amp;e&amp;&amp;(i=!1,t(p))};return{schedule:f.reduce(((e,o)=&gt;{const a=r[o];return e[o]=(e,o=!1,r=!1)=&gt;(n||(n=!0,i=!0,s.isProcessing||t(p)),a.schedule(e,o,r)),e}),{}),cancel:t=&gt;{for(let e=0;e&lt;f.length;e++)r[f[e]].cancel(t)},state:s,steps:r}}const{schedule:g,cancel:y}=v(queueMicrotask,!1);function x(t){return t&amp;&amp;"object"===typeof t&amp;&amp;Object.prototype.hasOwnProperty.call(t,"current")}const P=(0,s.createContext)({});let T=!1;function w(t,e,n,i,l){var h;const{visualElement:p}=(0,s.useContext)(r),m=(0,s.useContext)(c),f=(0,s.useContext)(a),v=(0,s.useContext)(o).reducedMotion,y=(0,s.useRef)();i=i||m.renderer,!y.current&amp;&amp;i&amp;&amp;(y.current=i(t,{visualState:e,parent:p,props:n,presenceContext:f,blockInitialAnimation:!!f&amp;&amp;!1===f.initial,reducedMotionConfig:v}));const w=y.current,A=(0,s.useContext)(P);!w||w.projection||!l||"html"!==w.type&amp;&amp;"svg"!==w.type||function(t,e,n,i){const{layoutId:s,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:b(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(r)||a&amp;&amp;x(a),visualElement:t,animationType:"string"===typeof o?o:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:u})}(y.current,n,l,A),(0,s.useInsertionEffect)((()=&gt;{w&amp;&amp;w.update(n,f)}));const C=n[d],V=(0,s.useRef)(Boolean(C)&amp;&amp;!window.MotionHandoffIsComplete&amp;&amp;(null===(h=window.MotionHasOptimisedAnimation)||void 0===h?void 0:h.call(window,C)));return u((()=&gt;{w&amp;&amp;(w.updateFeatures(),g.render(w.render),V.current&amp;&amp;w.animationState&amp;&amp;w.animationState.animateChanges())})),(0,s.useEffect)((()=&gt;{w&amp;&amp;(!V.current&amp;&amp;w.animationState&amp;&amp;w.animationState.animateChanges(),V.current=!1,T||(T=!0,queueMicrotask(S)))})),w}function S(){window.MotionHandoffIsComplete=!0}function b(t){if(t)return!1!==t.options.allowProjection?t.projection:b(t.parent)}function A(t,e,n){return(0,s.useCallback)((i=&gt;{i&amp;&amp;t.mount&amp;&amp;t.mount(i),e&amp;&amp;(i?e.mount(i):e.unmount()),n&amp;&amp;("function"===typeof n?n(i):x(n)&amp;&amp;(n.current=i))}),[e])}function C(t){return"string"===typeof t||Array.isArray(t)}function V(t){return null!==t&amp;&amp;"object"===typeof t&amp;&amp;"function"===typeof t.start}const E=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],M=["initial",...E];function R(t){return V(t.animate)||M.some((e=&gt;C(t[e])))}function D(t){return Boolean(R(t)||t.variants)}function k(t){const{initial:e,animate:n}=function(t,e){if(R(t)){const{initial:e,animate:n}=t;return{initial:!1===e||C(e)?e:void 0,animate:C(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,s.useContext)(r));return(0,s.useMemo)((()=&gt;({initial:e,animate:n})),[L(e),L(n)])}function L(t){return Array.isArray(t)?t.join(" "):t}const j={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"]},F={};for(const Ar in j)F[Ar]={isEnabled:t=&gt;j[Ar].some((e=&gt;!!t[e]))};const B=(0,s.createContext)({}),O=Symbol.for("motionComponentSymbol");function I({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:a,Component:u}){t&amp;&amp;function(t){for(const e in t)F[e]={...F[e],...t[e]}}(t);const h=(0,s.forwardRef)((function(t,h){let d;const p={...(0,s.useContext)(o),...t,layoutId:U(t)},{isStatic:m}=p,f=k(t),v=a(t,m);if(!m&amp;&amp;l){!function(t,e){(0,s.useContext)(c).strict;0}();const t=function(t){const{drag:e,layout:n}=F;if(!e&amp;&amp;!n)return{};const i={...e,...n};return{MeasureLayout:(null===e||void 0===e?void 0:e.isEnabled(t))||(null===n||void 0===n?void 0:n.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(p);d=t.MeasureLayout,f.visualElement=w(u,v,p,e,t.ProjectionNode)}return(0,i.jsxs)(r.Provider,{value:f,children:[d&amp;&amp;f.visualElement?(0,i.jsx)(d,{visualElement:f.visualElement,...p}):null,n(u,t,A(v,f.visualElement,h),v,m,f.visualElement)]})}));return h[O]=u,h}function U({layoutId:t}){const e=(0,s.useContext)(B).id;return e&amp;&amp;void 0!==t?e+"-"+t:t}function $(t){function e(e,n={}){return I(t(e,n))}if("undefined"===typeof Proxy)return e;const n=new Map;return new Proxy(e,{get:(t,i)=&gt;(n.has(i)||n.set(i,e(i)),n.get(i))})}const W=["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 N(t){return"string"===typeof t&amp;&amp;!t.includes("-")&amp;&amp;!!(W.indexOf(t)&gt;-1||/[A-Z]/u.test(t))}const z={};const Z=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Y=new Set(Z);function K(t,{layout:e,layoutId:n}){return Y.has(t)||t.startsWith("origin")||(e||void 0!==n)&amp;&amp;(!!z[t]||"opacity"===t)}const X=t=&gt;Boolean(t&amp;&amp;t.getVelocity),H=(t,e)=&gt;e&amp;&amp;"number"===typeof t?e.transform(t):t,G=(t,e,n)=&gt;n&gt;e?e:n&lt;t?t:n,q={test:t=&gt;"number"===typeof t,parse:parseFloat,transform:t=&gt;t},_={...q,transform:t=&gt;G(0,1,t)},J={...q,default:1},Q=t=&gt;Math.round(1e5*t)/1e5,tt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,et=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,nt=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function it(t){return"string"===typeof t}const st=t=&gt;({test:e=&gt;it(e)&amp;&amp;e.endsWith(t)&amp;&amp;1===e.split(" ").length,parse:parseFloat,transform:e=&gt;`${e}${t}`}),ot=st("deg"),rt=st("%"),at=st("px"),lt=st("vh"),ut=st("vw"),ct={...rt,parse:t=&gt;rt.parse(t)/100,transform:t=&gt;rt.transform(100*t)},ht={...q,transform:Math.round},dt={borderWidth:at,borderTopWidth:at,borderRightWidth:at,borderBottomWidth:at,borderLeftWidth:at,borderRadius:at,radius:at,borderTopLeftRadius:at,borderTopRightRadius:at,borderBottomRightRadius:at,borderBottomLeftRadius:at,width:at,maxWidth:at,height:at,maxHeight:at,size:at,top:at,right:at,bottom:at,left:at,padding:at,paddingTop:at,paddingRight:at,paddingBottom:at,paddingLeft:at,margin:at,marginTop:at,marginRight:at,marginBottom:at,marginLeft:at,rotate:ot,rotateX:ot,rotateY:ot,rotateZ:ot,scale:J,scaleX:J,scaleY:J,scaleZ:J,skew:ot,skewX:ot,skewY:ot,distance:at,translateX:at,translateY:at,translateZ:at,x:at,y:at,z:at,perspective:at,transformPerspective:at,opacity:_,originX:ct,originY:ct,originZ:at,zIndex:ht,backgroundPositionX:at,backgroundPositionY:at,fillOpacity:_,strokeOpacity:_,numOctaves:ht},pt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},mt=Z.length;const ft=t=&gt;e=&gt;"string"===typeof e&amp;&amp;e.startsWith(t),vt=ft("--"),gt=ft("var(--"),yt=t=&gt;!!gt(t)&amp;&amp;xt.test(t.split("/*")[0].trim()),xt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Pt(t,e,n){const{style:i,vars:s,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const t=e[l];if(Y.has(l))r=!0;else if(vt(l))s[l]=t;else{const e=H(t,dt[l]);l.startsWith("origin")?(a=!0,o[l]=e):i[l]=e}}if(e.transform||(r||n?i.transform=function(t,e,n){let i="",s=!0;for(let o=0;o&lt;mt;o++){const r=Z[o],a=t[r];if(void 0===a)continue;let l=!0;if(l="number"===typeof a?a===(r.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const t=H(a,dt[r]);l||(s=!1,i+=`${pt[r]||r}(${t}) `),n&amp;&amp;(e[r]=t)}}return i=i.trim(),n?i=n(e,s?"":i):s&amp;&amp;(i="none"),i}(e,t.transform,n):i.transform&amp;&amp;(i.transform="none")),a){const{originX:t="50%",originY:e="50%",originZ:n=0}=o;i.transformOrigin=`${t} ${e} ${n}`}}const Tt=()=&gt;({style:{},transform:{},transformOrigin:{},vars:{}});function wt(t,e,n){for(const i in e)X(e[i])||K(i,n)||(t[i]=e[i])}function St(t,e){const n={};return wt(n,t.style||{},t),Object.assign(n,function({transformTemplate:t},e){return(0,s.useMemo)((()=&gt;{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Pt(n,e,t),Object.assign({},n.vars,n.style)}),[e])}(t,e)),n}function bt(t,e){const n={},i=St(t,e);return t.drag&amp;&amp;!1!==t.dragListener&amp;&amp;(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&amp;&amp;(t.onTap||t.onTapStart||t.whileTap)&amp;&amp;(n.tabIndex=0),n.style=i,n}const At=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Ct(t){return t.startsWith("while")||t.startsWith("drag")&amp;&amp;"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||At.has(t)}let Vt=t=&gt;!Ct(t);try{(Et=require("@emotion/is-prop-valid").default)&amp;&amp;(Vt=t=&gt;t.startsWith("on")?!Ct(t):Et(t))}catch(br){}var Et;function Mt(t,e,n){return"string"===typeof t?t:at.transform(e+n*t)}const Rt={offset:"stroke-dashoffset",array:"stroke-dasharray"},Dt={offset:"strokeDashoffset",array:"strokeDasharray"};function kt(t,{attrX:e,attrY:n,attrScale:i,originX:s,originY:o,pathLength:r,pathSpacing:a=1,pathOffset:l=0,...u},c,h){if(Pt(t,u,h),c)return void(t.style.viewBox&amp;&amp;(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:d,style:p,dimensions:m}=t;d.transform&amp;&amp;(m&amp;&amp;(p.transform=d.transform),delete d.transform),m&amp;&amp;(void 0!==s||void 0!==o||p.transform)&amp;&amp;(p.transformOrigin=function(t,e,n){return`${Mt(e,t.x,t.width)} ${Mt(n,t.y,t.height)}`}(m,void 0!==s?s:.5,void 0!==o?o:.5)),void 0!==e&amp;&amp;(d.x=e),void 0!==n&amp;&amp;(d.y=n),void 0!==i&amp;&amp;(d.scale=i),void 0!==r&amp;&amp;function(t,e,n=1,i=0,s=!0){t.pathLength=1;const o=s?Rt:Dt;t[o.offset]=at.transform(-i);const r=at.transform(e),a=at.transform(n);t[o.array]=`${r} ${a}`}(d,r,a,l,!1)}const Lt=()=&gt;({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),jt=t=&gt;"string"===typeof t&amp;&amp;"svg"===t.toLowerCase();function Ft(t,e,n,i){const o=(0,s.useMemo)((()=&gt;{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return kt(n,e,jt(i),t.transformTemplate),{...n.attrs,style:{...n.style}}}),[e]);if(t.style){const e={};wt(e,t.style,t),o.style={...e,...o.style}}return o}function Bt(t=!1){return(e,n,i,{latestValues:o},r)=&gt;{const a=(N(e)?Ft:bt)(n,o,r,e),l=function(t,e,n){const i={};for(const s in t)"values"===s&amp;&amp;"object"===typeof t.values||(Vt(s)||!0===n&amp;&amp;Ct(s)||!e&amp;&amp;!Ct(s)||t.draggable&amp;&amp;s.startsWith("onDrag"))&amp;&amp;(i[s]=t[s]);return i}(n,"string"===typeof e,t),u=e!==s.Fragment?{...l,...a,ref:i}:{},{children:c}=n,h=(0,s.useMemo)((()=&gt;X(c)?c.get():c),[c]);return(0,s.createElement)(e,{...u,children:h})}}function Ot(t,{style:e,vars:n},i,s){Object.assign(t.style,e,s&amp;&amp;s.getProjectionStyles(i));for(const o in n)t.style.setProperty(o,n[o])}const It=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 Ut(t,e,n,i){Ot(t,e,void 0,i);for(const s in e.attrs)t.setAttribute(It.has(s)?s:h(s),e.attrs[s])}function $t(t,e,n){var i;const{style:s}=t,o={};for(const r in s)(X(s[r])||e.style&amp;&amp;X(e.style[r])||K(r,t)||void 0!==(null===(i=null===n||void 0===n?void 0:n.getValue(r))||void 0===i?void 0:i.liveStyle))&amp;&amp;(o[r]=s[r]);return n&amp;&amp;s&amp;&amp;"string"===typeof s.willChange&amp;&amp;(n.applyWillChange=!1),o}function Wt(t,e,n){const i=$t(t,e,n);for(const s in t)if(X(t[s])||X(e[s])){i[-1!==Z.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s]=t[s]}return i}function Nt(t){const e=[{},{}];return null===t||void 0===t||t.values.forEach(((t,n)=&gt;{e[0][n]=t.get(),e[1][n]=t.getVelocity()})),e}function zt(t,e,n,i){if("function"===typeof e){const[s,o]=Nt(i);e=e(void 0!==n?n:t.custom,s,o)}if("string"===typeof e&amp;&amp;(e=t.variants&amp;&amp;t.variants[e]),"function"===typeof e){const[s,o]=Nt(i);e=e(void 0!==n?n:t.custom,s,o)}return e}const Zt=t=&gt;Array.isArray(t);function Yt(t){const e=X(t)?t.get():t;return n=e,Boolean(n&amp;&amp;"object"===typeof n&amp;&amp;n.mix&amp;&amp;n.toValue)?e.toValue():e;var n}const Kt=new Set(["opacity","clipPath","filter","transform"]);function Xt(t){return Y.has(t)?"transform":Kt.has(t)?h(t):void 0}function Ht(t,e){-1===t.indexOf(e)&amp;&amp;t.push(e)}function Gt(t,e){const n=t.indexOf(e);n&gt;-1&amp;&amp;t.splice(n,1)}const qt=t=&gt;(e,n)=&gt;{const i=(0,s.useContext)(r),o=(0,s.useContext)(a),l=()=&gt;function({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:n,onMount:i},s,o,r,a){const l={latestValues:Qt(s,o,r,!a&amp;&amp;t,e),renderState:n()};return i&amp;&amp;(l.mount=t=&gt;i(s,t,l)),l}(t,e,i,o,n);return n?l():function(t){const e=(0,s.useRef)(null);return null===e.current&amp;&amp;(e.current=t()),e.current}(l)};function _t(t,e){const n=Xt(e);n&amp;&amp;Ht(t,n)}function Jt(t,e,n){const i=Array.isArray(e)?e:[e];for(let s=0;s&lt;i.length;s++){const e=zt(t,i[s]);if(e){const{transitionEnd:t,transition:i,...s}=e;n(s,t)}}}function Qt(t,e,n,i,s){var o;const r={},a=[],l=i&amp;&amp;void 0===(null===(o=t.style)||void 0===o?void 0:o.willChange),u=s(t,{});for(const v in u)r[v]=Yt(u[v]);let{initial:c,animate:h}=t;const d=R(t),p=D(t);e&amp;&amp;p&amp;&amp;!d&amp;&amp;!1!==t.inherit&amp;&amp;(void 0===c&amp;&amp;(c=e.initial),void 0===h&amp;&amp;(h=e.animate));let m=!!n&amp;&amp;!1===n.initial;m=m||!1===c;const f=m?h:c;return f&amp;&amp;"boolean"!==typeof f&amp;&amp;!V(f)&amp;&amp;Jt(t,f,((t,e)=&gt;{for(const n in t){let e=t[n];if(Array.isArray(e)){e=e[m?e.length-1:0]}null!==e&amp;&amp;(r[n]=e)}for(const n in e)r[n]=e[n]})),l&amp;&amp;(h&amp;&amp;!1!==c&amp;&amp;!V(h)&amp;&amp;Jt(t,h,(t=&gt;{for(const e in t)_t(a,e)})),a.length&amp;&amp;(r.willChange=a.join(","))),r}const te=t=&gt;t,{schedule:ee,cancel:ne,state:ie,steps:se}=v("undefined"!==typeof requestAnimationFrame?requestAnimationFrame:te,!0),oe={useVisualState:qt({scrapeMotionValuesFromProps:Wt,createRenderState:Lt,onMount:(t,e,{renderState:n,latestValues:i})=&gt;{ee.read((()=&gt;{try{n.dimensions="function"===typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}})),ee.render((()=&gt;{kt(n,i,jt(e.tagName),t.transformTemplate),Ut(e,n)}))}})},re={useVisualState:qt({applyWillChange:!0,scrapeMotionValuesFromProps:$t,createRenderState:Tt})};function ae(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=&gt;t.removeEventListener(e,n)}const le=t=&gt;"mouse"===t.pointerType?"number"!==typeof t.button||t.button&lt;=0:!1!==t.isPrimary;function ue(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function ce(t,e,n,i){return ae(t,e,(t=&gt;e=&gt;le(e)&amp;&amp;t(e,ue(e)))(n),i)}const he=(t,e)=&gt;n=&gt;e(t(n)),de=(...t)=&gt;t.reduce(he);function pe(t){let e=null;return()=&gt;{const n=()=&gt;{e=null};return null===e&amp;&amp;(e=t,n)}}const me=pe("dragHorizontal"),fe=pe("dragVertical");function ve(t){let e=!1;if("y"===t)e=fe();else if("x"===t)e=me();else{const t=me(),n=fe();t&amp;&amp;n?e=()=&gt;{t(),n()}:(t&amp;&amp;t(),n&amp;&amp;n())}return e}function ge(){const t=ve(!0);return!t||(t(),!1)}class ye{constructor(t){this.isMounted=!1,this.node=t}update(){}}function xe(t,e){const n=e?"pointerenter":"pointerleave",i=e?"onHoverStart":"onHoverEnd";return ce(t.current,n,((n,s)=&gt;{if("touch"===n.pointerType||ge())return;const o=t.getProps();t.animationState&amp;&amp;o.whileHover&amp;&amp;t.animationState.setActive("whileHover",e);const r=o[i];r&amp;&amp;ee.postRender((()=&gt;r(n,s)))}),{passive:!t.getProps()[i]})}const Pe=(t,e)=&gt;!!e&amp;&amp;(t===e||Pe(t,e.parentElement));function Te(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,ue(n))}const we=new WeakMap,Se=new WeakMap,be=t=&gt;{const e=we.get(t.target);e&amp;&amp;e(t)},Ae=t=&gt;{t.forEach(be)};function Ce(t,e,n){const i=function({root:t,...e}){const n=t||document;Se.has(n)||Se.set(n,{});const i=Se.get(n),s=JSON.stringify(e);return i[s]||(i[s]=new IntersectionObserver(Ae,{root:t,...e})),i[s]}(e);return we.set(t,n),i.observe(t),()=&gt;{we.delete(t),i.unobserve(t)}}const Ve={some:0,all:1};const Ee={inView:{Feature:class extends ye{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:s}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"===typeof i?i:Ve[i]};return Ce(this.node.current,o,(t=&gt;{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&amp;&amp;!e&amp;&amp;this.hasEnteredView)return;e&amp;&amp;(this.hasEnteredView=!0),this.node.animationState&amp;&amp;this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&amp;&amp;o(t)}))}mount(){this.startObserver()}update(){if("undefined"===typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=&gt;t[n]!==e[n]}(t,e))&amp;&amp;this.startObserver()}unmount(){}}},tap:{Feature:class extends ye{constructor(){super(...arguments),this.removeStartListeners=te,this.removeEndListeners=te,this.removeAccessibleListeners=te,this.startPointerPress=(t,e)=&gt;{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),i=ce(window,"pointerup",((t,e)=&gt;{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:i,globalTapTarget:s}=this.node.getProps(),o=s||Pe(this.node.current,t.target)?n:i;o&amp;&amp;ee.update((()=&gt;o(t,e)))}),{passive:!(n.onTap||n.onPointerUp)}),s=ce(window,"pointercancel",((t,e)=&gt;this.cancelPress(t,e)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=de(i,s),this.startPress(t,e)},this.startAccessiblePress=()=&gt;{const t=ae(this.node.current,"keydown",(t=&gt;{if("Enter"!==t.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=ae(this.node.current,"keyup",(t=&gt;{"Enter"===t.key&amp;&amp;this.checkPressEnd()&amp;&amp;Te("up",((t,e)=&gt;{const{onTap:n}=this.node.getProps();n&amp;&amp;ee.postRender((()=&gt;n(t,e)))}))})),Te("down",((t,e)=&gt;{this.startPress(t,e)}))})),e=ae(this.node.current,"blur",(()=&gt;{this.isPressing&amp;&amp;Te("cancel",((t,e)=&gt;this.cancelPress(t,e)))}));this.removeAccessibleListeners=de(t,e)}}startPress(t,e){this.isPressing=!0;const{onTapStart:n,whileTap:i}=this.node.getProps();i&amp;&amp;this.node.animationState&amp;&amp;this.node.animationState.setActive("whileTap",!0),n&amp;&amp;ee.postRender((()=&gt;n(t,e)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&amp;&amp;this.node.animationState&amp;&amp;this.node.animationState.setActive("whileTap",!1),!ge()}cancelPress(t,e){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&amp;&amp;ee.postRender((()=&gt;n(t,e)))}mount(){const t=this.node.getProps(),e=ce(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=ae(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=de(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends ye{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&amp;&amp;this.node.animationState&amp;&amp;(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&amp;&amp;this.node.animationState&amp;&amp;(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=de(ae(this.node.current,"focus",(()=&gt;this.onFocus())),ae(this.node.current,"blur",(()=&gt;this.onBlur())))}unmount(){}}},hover:{Feature:class extends ye{mount(){this.unmount=de(xe(this.node,!0),xe(this.node,!1))}unmount(){}}}};function Me(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i&lt;n;i++)if(e[i]!==t[i])return!1;return!0}function Re(t,e,n){const i=t.getProps();return zt(i,e,void 0!==n?n:i.custom,t)}const De=t=&gt;1e3*t,ke=t=&gt;t/1e3,Le={type:"spring",stiffness:500,damping:25,restSpeed:10},je={type:"keyframes",duration:.8},Fe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Be=(t,{keyframes:e})=&gt;e.length&gt;2?je:Y.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:Le:Fe;function Oe(t,e){return t[e]||t.default||t}const Ie=!1,Ue=t=&gt;null!==t;function $e(t,{repeat:e,repeatType:n="loop"},i){const s=t.filter(Ue),o=e&amp;&amp;"loop"!==n&amp;&amp;e%2===1?0:s.length-1;return o&amp;&amp;void 0!==i?i:s[o]}const We=t=&gt;/^0[^.\s]+$/u.test(t);let Ne=te,ze=te;const Ze=t=&gt;/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Ye=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Ke(t,e,n=1){ze(n&lt;=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[i,s]=function(t){const e=Ye.exec(t);if(!e)return[,];const[,n,i,s]=e;return[`--${null!==n&amp;&amp;void 0!==n?n:i}`,s]}(t);if(!i)return;const o=window.getComputedStyle(e).getPropertyValue(i);if(o){const t=o.trim();return Ze(t)?parseFloat(t):t}return yt(s)?Ke(s,e,n+1):s}const Xe=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),He=t=&gt;t===q||t===at,Ge=(t,e)=&gt;parseFloat(t.split(", ")[e]),qe=(t,e)=&gt;(n,{transform:i})=&gt;{if("none"===i||!i)return 0;const s=i.match(/^matrix3d\((.+)\)$/u);if(s)return Ge(s[1],e);{const e=i.match(/^matrix\((.+)\)$/u);return e?Ge(e[1],t):0}},_e=new Set(["x","y","z"]),Je=Z.filter((t=&gt;!_e.has(t)));const Qe={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=&gt;t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=&gt;t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=&gt;parseFloat(e),left:(t,{left:e})=&gt;parseFloat(e),bottom:({y:t},{top:e})=&gt;parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=&gt;parseFloat(e)+(t.max-t.min),x:qe(4,13),y:qe(5,14)};Qe.translateX=Qe.x,Qe.translateY=Qe.y;const tn=t=&gt;e=&gt;e.test(t),en=[q,at,rt,ot,ut,lt,{test:t=&gt;"auto"===t,parse:t=&gt;t}],nn=t=&gt;en.find(tn(t)),sn=new Set;let on=!1,rn=!1;function an(){if(rn){const t=Array.from(sn).filter((t=&gt;t.needsMeasurement)),e=new Set(t.map((t=&gt;t.element))),n=new Map;e.forEach((t=&gt;{const e=function(t){const e=[];return Je.forEach((n=&gt;{const i=t.getValue(n);void 0!==i&amp;&amp;(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))})),e}(t);e.length&amp;&amp;(n.set(t,e),t.render())})),t.forEach((t=&gt;t.measureInitialState())),e.forEach((t=&gt;{t.render();const e=n.get(t);e&amp;&amp;e.forEach((([e,n])=&gt;{var i;null===(i=t.getValue(e))||void 0===i||i.set(n)}))})),t.forEach((t=&gt;t.measureEndState())),t.forEach((t=&gt;{void 0!==t.suspendedScrollY&amp;&amp;window.scrollTo(0,t.suspendedScrollY)}))}rn=!1,on=!1,sn.forEach((t=&gt;t.complete())),sn.clear()}function ln(){sn.forEach((t=&gt;{t.readKeyframes(),t.needsMeasurement&amp;&amp;(rn=!0)}))}class un{constructor(t,e,n,i,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(sn.add(this),on||(on=!0,ee.read(ln),ee.resolveKeyframes(an))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;for(let s=0;s&lt;t.length;s++)if(null===t[s])if(0===s){const s=null===i||void 0===i?void 0:i.get(),o=t[t.length-1];if(void 0!==s)t[0]=s;else if(n&amp;&amp;e){const i=n.readValue(e,o);void 0!==i&amp;&amp;null!==i&amp;&amp;(t[0]=i)}void 0===t[0]&amp;&amp;(t[0]=o),i&amp;&amp;void 0===s&amp;&amp;i.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),sn.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,sn.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const cn=(t,e)=&gt;n=&gt;Boolean(it(n)&amp;&amp;nt.test(n)&amp;&amp;n.startsWith(t)||e&amp;&amp;!function(t){return null==t}(n)&amp;&amp;Object.prototype.hasOwnProperty.call(n,e)),hn=(t,e,n)=&gt;i=&gt;{if(!it(i))return i;const[s,o,r,a]=i.match(tt);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(r),alpha:void 0!==a?parseFloat(a):1}},dn={...q,transform:t=&gt;Math.round((t=&gt;G(0,255,t))(t))},pn={test:cn("rgb","red"),parse:hn("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=&gt;"rgba("+dn.transform(t)+", "+dn.transform(e)+", "+dn.transform(n)+", "+Q(_.transform(i))+")"};const mn={test:cn("#"),parse:function(t){let e="",n="",i="",s="";return t.length&gt;5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}},transform:pn.transform},fn={test:cn("hsl","hue"),parse:hn("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=&gt;"hsla("+Math.round(t)+", "+rt.transform(Q(e))+", "+rt.transform(Q(n))+", "+Q(_.transform(i))+")"},vn={test:t=&gt;pn.test(t)||mn.test(t)||fn.test(t),parse:t=&gt;pn.test(t)?pn.parse(t):fn.test(t)?fn.parse(t):mn.parse(t),transform:t=&gt;it(t)?t:t.hasOwnProperty("red")?pn.transform(t):fn.transform(t)};const gn="number",yn="color",xn=/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 Pn(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},s=[];let o=0;const r=e.replace(xn,(t=&gt;(vn.test(t)?(i.color.push(o),s.push(yn),n.push(vn.parse(t))):t.startsWith("var(")?(i.var.push(o),s.push("var"),n.push(t)):(i.number.push(o),s.push(gn),n.push(parseFloat(t))),++o,"${}"))).split("${}");return{values:n,split:r,indexes:i,types:s}}function Tn(t){return Pn(t).values}function wn(t){const{split:e,types:n}=Pn(t),i=e.length;return t=&gt;{let s="";for(let o=0;o&lt;i;o++)if(s+=e[o],void 0!==t[o]){const e=n[o];s+=e===gn?Q(t[o]):e===yn?vn.transform(t[o]):t[o]}return s}}const Sn=t=&gt;"number"===typeof t?0:t;const bn={test:function(t){var e,n;return isNaN(t)&amp;&amp;it(t)&amp;&amp;((null===(e=t.match(tt))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(et))||void 0===n?void 0:n.length)||0)&gt;0},parse:Tn,createTransformer:wn,getAnimatableNone:function(t){const e=Tn(t);return wn(t)(e.map(Sn))}},An=new Set(["brightness","contrast","saturate","opacity"]);function Cn(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(tt)||[];if(!i)return t;const s=n.replace(i,"");let o=An.has(e)?1:0;return i!==n&amp;&amp;(o*=100),e+"("+o+s+")"}const Vn=/\b([a-z-]*)\(.*?\)/gu,En={...bn,getAnimatableNone:t=&gt;{const e=t.match(Vn);return e?e.map(Cn).join(" "):t}},Mn={...dt,color:vn,backgroundColor:vn,outlineColor:vn,fill:vn,stroke:vn,borderColor:vn,borderTopColor:vn,borderRightColor:vn,borderBottomColor:vn,borderLeftColor:vn,filter:En,WebkitFilter:En},Rn=t=&gt;Mn[t];function Dn(t,e){let n=Rn(t);return n!==En&amp;&amp;(n=bn),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const kn=new Set(["auto","none","0"]);class Ln extends un{constructor(t,e,n,i,s){super(t,e,n,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let a=0;a&lt;t.length;a++){let n=t[a];if("string"===typeof n&amp;&amp;(n=n.trim(),yt(n))){const i=Ke(n,e.current);void 0!==i&amp;&amp;(t[a]=i),a===t.length-1&amp;&amp;(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!Xe.has(n)||2!==t.length)return;const[i,s]=t,o=nn(i),r=nn(s);if(o!==r)if(He(o)&amp;&amp;He(r))for(let a=0;a&lt;t.length;a++){const e=t[a];"string"===typeof e&amp;&amp;(t[a]=parseFloat(e))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let s=0;s&lt;t.length;s++)("number"===typeof(i=t[s])?0===i:null===i||"none"===i||"0"===i||We(i))&amp;&amp;n.push(s);var i;n.length&amp;&amp;function(t,e,n){let i,s=0;for(;s&lt;t.length&amp;&amp;!i;){const e=t[s];"string"===typeof e&amp;&amp;!kn.has(e)&amp;&amp;Pn(e).values.length&amp;&amp;(i=t[s]),s++}if(i&amp;&amp;n)for(const o of e)t[o]=Dn(n,i)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&amp;&amp;(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Qe[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&amp;&amp;t.getValue(n,i).jump(i,!1)}measureEndState(){var t;const{element:e,name:n,unresolvedKeyframes:i}=this;if(!e||!e.current)return;const s=e.getValue(n);s&amp;&amp;s.jump(this.measuredOrigin,!1);const o=i.length-1,r=i[o];i[o]=Qe[n](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==r&amp;&amp;void 0===this.finalKeyframe&amp;&amp;(this.finalKeyframe=r),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&amp;&amp;this.removedTransforms.forEach((([t,n])=&gt;{e.getValue(t).set(n)})),this.resolveNoneKeyframes()}}function jn(t){let e;return()=&gt;(void 0===e&amp;&amp;(e=t()),e)}let Fn;function Bn(){Fn=void 0}const On={now:()=&gt;(void 0===Fn&amp;&amp;On.set(ie.isProcessing||m?ie.timestamp:performance.now()),Fn),set:t=&gt;{Fn=t,queueMicrotask(Bn)}},In=(t,e)=&gt;"zIndex"!==e&amp;&amp;(!("number"!==typeof t&amp;&amp;!Array.isArray(t))||!("string"!==typeof t||!bn.test(t)&amp;&amp;"0"!==t||t.startsWith("url(")));class Un{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",...r}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=On.now(),this.options={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:s,repeatType:o,...r},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&amp;&amp;this.resolvedAt-this.createdAt&gt;40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(ln(),an()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=On.now(),this.hasAttemptedResolve=!0;const{name:n,type:i,velocity:s,delay:o,onComplete:r,onUpdate:a,isGenerator:l}=this.options;if(!l&amp;&amp;!function(t,e,n,i){const s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;const o=t[t.length-1],r=In(s,e),a=In(o,e);return Ne(r===a,`You are trying to animate ${e} from "${s}" to "${o}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${o} via the \`style\` property.`),!(!r||!a)&amp;&amp;(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n&lt;t.length;n++)if(t[n]!==e)return!0}(t)||"spring"===n&amp;&amp;i)}(t,n,i,s)){if(Ie||!o)return null===a||void 0===a||a($e(t,this.options,e)),null===r||void 0===r||r(),void this.resolveFinishedPromise();this.options.duration=0}const u=this.initPlayback(t,e);!1!==u&amp;&amp;(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}updateFinishedPromise(){this.currentFinishedPromise=new Promise((t=&gt;{this.resolveFinishedPromise=t}))}}function $n(t,e){return e?t*(1e3/e):0}function Wn(t,e,n){const i=Math.max(e-5,0);return $n(n-t(i),e-i)}const Nn=.001;function zn({duration:t=800,bounce:e=.25,velocity:n=0,mass:i=1}){let s,o;Ne(t&lt;=De(10),"Spring duration must be 10 seconds or less");let r=1-e;r=G(.05,1,r),t=G(.01,10,ke(t)),r&lt;1?(s=e=&gt;{const i=e*r,s=i*t,o=i-n,a=Zn(e,r),l=Math.exp(-s);return Nn-o/a*l},o=e=&gt;{const i=e*r*t,o=i*n+n,a=Math.pow(r,2)*Math.pow(e,2)*t,l=Math.exp(-i),u=Zn(Math.pow(e,2),r);return(-s(e)+Nn&gt;0?-1:1)*((o-a)*l)/u}):(s=e=&gt;Math.exp(-e*t)*((e-n)*t+1)-.001,o=e=&gt;Math.exp(-e*t)*(t*t*(n-e)));const a=function(t,e,n){let i=n;for(let s=1;s&lt;12;s++)i-=t(i)/e(i);return i}(s,o,5/t);if(t=De(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(a,2)*i;return{stiffness:e,damping:2*r*Math.sqrt(i*e),duration:t}}}function Zn(t,e){return t*Math.sqrt(1-e*e)}const Yn=["duration","bounce"],Kn=["stiffness","damping","mass"];function Xn(t,e){return e.some((e=&gt;void 0!==t[e]))}function Hn({keyframes:t,restDelta:e,restSpeed:n,...i}){const s=t[0],o=t[t.length-1],r={done:!1,value:s},{stiffness:a,damping:l,mass:u,duration:c,velocity:h,isResolvedFromDuration:d}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!Xn(t,Kn)&amp;&amp;Xn(t,Yn)){const n=zn(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}({...i,velocity:-ke(i.velocity||0)}),p=h||0,m=l/(2*Math.sqrt(a*u)),f=o-s,v=ke(Math.sqrt(a/u)),g=Math.abs(f)&lt;5;let y;if(n||(n=g?.01:2),e||(e=g?.005:.5),m&lt;1){const t=Zn(v,m);y=e=&gt;{const n=Math.exp(-m*v*e);return o-n*((p+m*v*f)/t*Math.sin(t*e)+f*Math.cos(t*e))}}else if(1===m)y=t=&gt;o-Math.exp(-v*t)*(f+(p+v*f)*t);else{const t=v*Math.sqrt(m*m-1);y=e=&gt;{const n=Math.exp(-m*v*e),i=Math.min(t*e,300);return o-n*((p+m*v*f)*Math.sinh(i)+t*f*Math.cosh(i))/t}}return{calculatedDuration:d&amp;&amp;c||null,next:t=&gt;{const i=y(t);if(d)r.done=t&gt;=c;else{let s=0;m&lt;1&amp;&amp;(s=0===t?De(p):Wn(y,t,i));const a=Math.abs(s)&lt;=n,l=Math.abs(o-i)&lt;=e;r.done=a&amp;&amp;l}return r.value=r.done?o:i,r}}}function Gn({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],d={done:!1,value:h},p=t=&gt;void 0===a?l:void 0===l||Math.abs(a-t)&lt;Math.abs(l-t)?a:l;let m=n*e;const f=h+m,v=void 0===r?f:r(f);v!==f&amp;&amp;(m=v-h);const g=t=&gt;-m*Math.exp(-t/i),y=t=&gt;v+g(t),x=t=&gt;{const e=g(t),n=y(t);d.done=Math.abs(e)&lt;=u,d.value=d.done?v:n};let P,T;const w=t=&gt;{var e;(e=d.value,void 0!==a&amp;&amp;e&lt;a||void 0!==l&amp;&amp;e&gt;l)&amp;&amp;(P=t,T=Hn({keyframes:[d.value,p(d.value)],velocity:Wn(y,t,d.value),damping:s,stiffness:o,restDelta:u,restSpeed:c}))};return w(0),{calculatedDuration:null,next:t=&gt;{let e=!1;return T||void 0!==P||(e=!0,x(t),w(t)),void 0!==P&amp;&amp;t&gt;=P?T.next(t-P):(!e&amp;&amp;x(t),d)}}}const qn=(t,e,n)=&gt;(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function _n(t,e,n,i){if(t===e&amp;&amp;n===i)return te;const s=e=&gt;function(t,e,n,i,s){let o,r,a=0;do{r=e+(n-e)/2,o=qn(r,i,s)-t,o&gt;0?n=r:e=r}while(Math.abs(o)&gt;1e-7&amp;&amp;++a&lt;12);return r}(e,0,1,t,n);return t=&gt;0===t||1===t?t:qn(s(t),e,i)}const Jn=_n(.42,0,1,1),Qn=_n(0,0,.58,1),ti=_n(.42,0,.58,1),ei=t=&gt;e=&gt;e&lt;=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ni=t=&gt;e=&gt;1-t(1-e),ii=t=&gt;1-Math.sin(Math.acos(t)),si=ni(ii),oi=ei(ii),ri=_n(.33,1.53,.69,.99),ai=ni(ri),li=ei(ai),ui={linear:te,easeIn:Jn,easeInOut:ti,easeOut:Qn,circIn:ii,circInOut:oi,circOut:si,backIn:ai,backInOut:li,backOut:ri,anticipate:t=&gt;(t*=2)&lt;1?.5*ai(t):.5*(2-Math.pow(2,-10*(t-1)))},ci=t=&gt;{if(Array.isArray(t)){ze(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,i,s]=t;return _n(e,n,i,s)}return"string"===typeof t?(ze(void 0!==ui[t],`Invalid easing type '${t}'`),ui[t]):t},hi=(t,e,n)=&gt;{const i=e-t;return 0===i?1:(n-t)/i},di=(t,e,n)=&gt;t+(e-t)*n;function pi(t,e,n){return n&lt;0&amp;&amp;(n+=1),n&gt;1&amp;&amp;(n-=1),n&lt;1/6?t+6*(e-t)*n:n&lt;.5?e:n&lt;2/3?t+(e-t)*(2/3-n)*6:t}function mi(t,e){return n=&gt;n&gt;0?e:t}const fi=(t,e,n)=&gt;{const i=t*t,s=n*(e*e-i)+i;return s&lt;0?0:Math.sqrt(s)},vi=[mn,pn,fn];function gi(t){const e=(n=t,vi.find((t=&gt;t.test(n))));var n;if(Ne(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(e))return!1;let i=e.parse(t);return e===fn&amp;&amp;(i=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let s=0,o=0,r=0;if(e/=100){const i=n&lt;.5?n*(1+e):n+e-n*e,a=2*n-i;s=pi(a,i,t+1/3),o=pi(a,i,t),r=pi(a,i,t-1/3)}else s=o=r=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*r),alpha:i}}(i)),i}const yi=(t,e)=&gt;{const n=gi(t),i=gi(e);if(!n||!i)return mi(t,e);const s={...n};return t=&gt;(s.red=fi(n.red,i.red,t),s.green=fi(n.green,i.green,t),s.blue=fi(n.blue,i.blue,t),s.alpha=di(n.alpha,i.alpha,t),pn.transform(s))},xi=new Set(["none","hidden"]);function Pi(t,e){return n=&gt;di(t,e,n)}function Ti(t){return"number"===typeof t?Pi:"string"===typeof t?yt(t)?mi:vn.test(t)?yi:bi:Array.isArray(t)?wi:"object"===typeof t?vn.test(t)?yi:Si:mi}function wi(t,e){const n=[...t],i=n.length,s=t.map(((t,n)=&gt;Ti(t)(t,e[n])));return t=&gt;{for(let e=0;e&lt;i;e++)n[e]=s[e](t);return n}}function Si(t,e){const n={...t,...e},i={};for(const s in n)void 0!==t[s]&amp;&amp;void 0!==e[s]&amp;&amp;(i[s]=Ti(t[s])(t[s],e[s]));return t=&gt;{for(const e in i)n[e]=i[e](t);return n}}const bi=(t,e)=&gt;{const n=bn.createTransformer(e),i=Pn(t),s=Pn(e);return i.indexes.var.length===s.indexes.var.length&amp;&amp;i.indexes.color.length===s.indexes.color.length&amp;&amp;i.indexes.number.length&gt;=s.indexes.number.length?xi.has(t)&amp;&amp;!s.values.length||xi.has(e)&amp;&amp;!i.values.length?function(t,e){return xi.has(t)?n=&gt;n&lt;=0?t:e:n=&gt;n&gt;=1?e:t}(t,e):de(wi(function(t,e){var n;const i=[],s={color:0,var:0,number:0};for(let o=0;o&lt;e.values.length;o++){const r=e.types[o],a=t.indexes[r][s[r]],l=null!==(n=t.values[a])&amp;&amp;void 0!==n?n:0;i[o]=l,s[r]++}return i}(i,s),s.values),n):(Ne(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),mi(t,e))};function Ai(t,e,n){if("number"===typeof t&amp;&amp;"number"===typeof e&amp;&amp;"number"===typeof n)return di(t,e,n);return Ti(t)(t,e)}function Ci(t,e,{clamp:n=!0,ease:i,mixer:s}={}){const o=t.length;if(ze(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=&gt;e[0];if(2===o&amp;&amp;t[0]===t[1])return()=&gt;e[1];t[0]&gt;t[o-1]&amp;&amp;(t=[...t].reverse(),e=[...e].reverse());const r=function(t,e,n){const i=[],s=n||Ai,o=t.length-1;for(let r=0;r&lt;o;r++){let n=s(t[r],t[r+1]);if(e){const t=Array.isArray(e)?e[r]||te:e;n=de(t,n)}i.push(n)}return i}(e,i,s),a=r.length,l=e=&gt;{let n=0;if(a&gt;1)for(;n&lt;t.length-2&amp;&amp;!(e&lt;t[n+1]);n++);const i=hi(t[n],t[n+1],e);return r[n](i)};return n?e=&gt;l(G(t[0],t[o-1],e)):l}function Vi(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let i=1;i&lt;=e;i++){const s=hi(0,e,i);t.push(di(n,1,s))}}(e,t.length-1),e}function Ei({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const s=(t=&gt;Array.isArray(t)&amp;&amp;"number"!==typeof t[0])(i)?i.map(ci):ci(i),o={done:!1,value:e[0]},r=function(t,e){return t.map((t=&gt;t*e))}(n&amp;&amp;n.length===e.length?n:Vi(e),t),a=Ci(r,e,{ease:Array.isArray(s)?s:(l=e,u=s,l.map((()=&gt;u||ti)).splice(0,l.length-1))});var l,u;return{calculatedDuration:t,next:e=&gt;(o.value=a(e),o.done=e&gt;=t,o)}}const Mi=t=&gt;{const e=({timestamp:e})=&gt;t(e);return{start:()=&gt;ee.update(e,!0),stop:()=&gt;ne(e),now:()=&gt;ie.isProcessing?ie.timestamp:On.now()}},Ri={decay:Gn,inertia:Gn,tween:Ei,keyframes:Ei,spring:Hn},Di=t=&gt;t/100;class ki extends Un{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=&gt;{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:t}=this.options;t&amp;&amp;t()};const{name:e,motionValue:n,element:i,keyframes:s}=this.options,o=(null===i||void 0===i?void 0:i.KeyframeResolver)||un;this.resolver=new o(s,((t,e)=&gt;this.onKeyframesResolved(t,e)),e,n,i),this.resolver.scheduleResolve()}initPlayback(t){const{type:e="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,r=Ri[e]||Ei;let a,l;r!==Ei&amp;&amp;"number"!==typeof t[0]&amp;&amp;(a=de(Di,Ai(t[0],t[1])),t=[0,100]);const u=r({...this.options,keyframes:t});"mirror"===s&amp;&amp;(l=r({...this.options,keyframes:[...t].reverse(),velocity:-o})),null===u.calculatedDuration&amp;&amp;(u.calculatedDuration=function(t){let e=0,n=t.next(e);for(;!n.done&amp;&amp;e&lt;2e4;)e+=50,n=t.next(e);return e&gt;=2e4?1/0:e}(u));const{calculatedDuration:c}=u,h=c+i;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:c,resolvedDuration:h,totalDuration:h*(n+1)-i}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&amp;&amp;t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){const{resolved:n}=this;if(!n){const{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:r,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return s.next(0);const{delay:h,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed&gt;0?this.startTime=Math.min(this.startTime,t):this.speed&lt;0&amp;&amp;(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const v=this.currentTime-h*(this.speed&gt;=0?1:-1),g=this.speed&gt;=0?v&lt;0:v&gt;u;this.currentTime=Math.max(v,0),"finished"===this.state&amp;&amp;null===this.holdTime&amp;&amp;(this.currentTime=u);let y=this.currentTime,x=s;if(d){const t=Math.min(this.currentTime,u)/c;let e=Math.floor(t),n=t%1;!n&amp;&amp;t&gt;=1&amp;&amp;(n=1),1===n&amp;&amp;e--,e=Math.min(e,d+1);Boolean(e%2)&amp;&amp;("reverse"===p?(n=1-n,m&amp;&amp;(n-=m/c)):"mirror"===p&amp;&amp;(x=o)),y=G(0,1,n)*c}const P=g?{done:!1,value:a[0]}:x.next(y);r&amp;&amp;(P.value=r(P.value));let{done:T}=P;g||null===l||(T=this.speed&gt;=0?this.currentTime&gt;=u:this.currentTime&lt;=0);const w=null===this.holdTime&amp;&amp;("finished"===this.state||"running"===this.state&amp;&amp;T);return w&amp;&amp;void 0!==i&amp;&amp;(P.value=$e(a,this.options,i)),f&amp;&amp;f(P.value),w&amp;&amp;this.finish(),P}get duration(){const{resolved:t}=this;return t?ke(t.calculatedDuration):0}get time(){return ke(this.currentTime)}set time(t){t=De(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&amp;&amp;(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&amp;&amp;(this.time=ke(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:t=Mi,onPlay:e,startTime:n}=this.options;this.driver||(this.driver=t((t=&gt;this.tick(t)))),e&amp;&amp;e();const i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&amp;&amp;(this.startTime=i):this.startTime=null!==n&amp;&amp;void 0!==n?n:this.calcStartTime(),"finished"===this.state&amp;&amp;this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;this._resolved?(this.state="paused",this.holdTime=null!==(t=this.currentTime)&amp;&amp;void 0!==t?t:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&amp;&amp;this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&amp;&amp;t()}cancel(){null!==this.cancelTime&amp;&amp;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&amp;&amp;(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const Li=t=&gt;Array.isArray(t)&amp;&amp;"number"===typeof t[0];function ji(t){return Boolean(!t||"string"===typeof t&amp;&amp;t in Bi||Li(t)||Array.isArray(t)&amp;&amp;t.every(ji))}const Fi=([t,e,n,i])=&gt;`cubic-bezier(${t}, ${e}, ${n}, ${i})`,Bi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Fi([0,.65,.55,1]),circOut:Fi([.55,0,1,.45]),backIn:Fi([.31,.01,.66,-.59]),backOut:Fi([.33,1.53,.69,.99])};function Oi(t){return Ii(t)||Bi.easeOut}function Ii(t){return t?Li(t)?Fi(t):Array.isArray(t)?t.map(Oi):Bi[t]:void 0}const Ui=jn((()=&gt;Object.hasOwnProperty.call(Element.prototype,"animate")));class $i extends Un{constructor(t){super(t);const{name:e,motionValue:n,element:i,keyframes:s}=this.options;this.resolver=new Ln(s,((t,e)=&gt;this.onKeyframesResolved(t,e)),e,n,i),this.resolver.scheduleResolve()}initPlayback(t,e){var n;let{duration:i=300,times:s,ease:o,type:r,motionValue:a,name:l,startTime:u}=this.options;if(!(null===(n=a.owner)||void 0===n?void 0:n.current))return!1;if("spring"===(c=this.options).type||!ji(c.ease)){const{onComplete:e,onUpdate:n,motionValue:a,element:l,...u}=this.options,c=function(t,e){const n=new ki({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:t[0]};const s=[];let o=0;for(;!i.done&amp;&amp;o&lt;2e4;)i=n.sample(o),s.push(i.value),o+=10;return{times:void 0,keyframes:s,duration:o-10,ease:"linear"}}(t,u);1===(t=c.keyframes).length&amp;&amp;(t[1]=t[0]),i=c.duration,s=c.times,o=c.ease,r="keyframes"}var c;const h=function(t,e,n,{delay:i=0,duration:s=300,repeat:o=0,repeatType:r="loop",ease:a,times:l}={}){const u={[e]:n};l&amp;&amp;(u.offset=l);const c=Ii(a);return Array.isArray(c)&amp;&amp;(u.easing=c),t.animate(u,{delay:i,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:i,times:s,ease:o});return h.startTime=null!==u&amp;&amp;void 0!==u?u:this.calcStartTime(),this.pendingTimeline?(h.timeline=this.pendingTimeline,this.pendingTimeline=void 0):h.onfinish=()=&gt;{const{onComplete:n}=this.options;a.set($e(t,this.options,e)),n&amp;&amp;n(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:i,times:s,type:r,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:e}=t;return ke(e)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:e}=t;return ke(e.currentTime||0)}set time(t){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.currentTime=De(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:e}=t;return e.playbackRate}set speed(t){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:e}=t;return e.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){const{resolved:e}=this;if(!e)return te;const{animation:n}=e;n.timeline=t,n.onfinish=null}else this.pendingTimeline=t;return te}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:e}=t;"finished"===e.playState&amp;&amp;this.updateFinishedPromise(),e.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:e,keyframes:n,duration:i,type:s,ease:o,times:r}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){const{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,c=new ki({...u,keyframes:n,duration:i,type:s,ease:o,times:r,isGenerator:!0}),h=De(this.time);t.setWithVelocity(c.sample(h-10).value,c.sample(h).value,10)}const{onStop:a}=this.options;a&amp;&amp;a(),this.cancel()}complete(){const{resolved:t}=this;t&amp;&amp;t.animation.finish()}cancel(){const{resolved:t}=this;t&amp;&amp;t.animation.cancel()}static supports(t){const{motionValue:e,name:n,repeatDelay:i,repeatType:s,damping:o,type:r}=t;return Ui()&amp;&amp;n&amp;&amp;Kt.has(n)&amp;&amp;e&amp;&amp;e.owner&amp;&amp;e.owner.current instanceof HTMLElement&amp;&amp;!e.owner.getProps().onUpdate&amp;&amp;!i&amp;&amp;"mirror"!==s&amp;&amp;0!==o&amp;&amp;"inertia"!==r}}const Wi=jn((()=&gt;void 0!==window.ScrollTimeline));class Ni{constructor(t){this.stop=()=&gt;this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n&lt;this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){const e=this.animations.map((e=&gt;{if(!Wi()||!e.attachTimeline)return e.pause(),function(t,e){let n;const i=()=&gt;{const{currentTime:i}=e,s=(null===i?0:i.value)/100;n!==s&amp;&amp;t(s),n=s};return ee.update(i,!0),()=&gt;ne(i)}((t=&gt;{e.time=e.duration*t}),t);e.attachTimeline(t)}));return()=&gt;{e.forEach(((t,e)=&gt;{t&amp;&amp;t(),this.animations[e].stop()}))}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e&lt;this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach((e=&gt;e[t]()))}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const zi=(t,e,n,i={},s,o,r)=&gt;a=&gt;{const l=Oe(i,t)||{},u=l.delay||i.delay||0;let{elapsed:c=0}=i;c-=De(u);let h={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-c,onUpdate:t=&gt;{e.set(t),l.onUpdate&amp;&amp;l.onUpdate(t)},onComplete:()=&gt;{a(),l.onComplete&amp;&amp;l.onComplete(),r&amp;&amp;r()},onStop:r,name:t,motionValue:e,element:o?void 0:s};(function({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:s,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(l)||(h={...h,...Be(t,h)}),h.duration&amp;&amp;(h.duration=De(h.duration)),h.repeatDelay&amp;&amp;(h.repeatDelay=De(h.repeatDelay)),void 0!==h.from&amp;&amp;(h.keyframes[0]=h.from);let d=!1;if((!1===h.type||0===h.duration&amp;&amp;!h.repeatDelay)&amp;&amp;(h.duration=0,0===h.delay&amp;&amp;(d=!0)),(Ie||p)&amp;&amp;(d=!0,h.duration=0,h.delay=0),d&amp;&amp;!o&amp;&amp;void 0!==e.get()){const t=$e(h.keyframes,l);if(void 0!==t)return ee.update((()=&gt;{h.onUpdate(t),h.onComplete()})),new Ni([])}return!o&amp;&amp;$i.supports(h)?new $i(h):new ki(h)};class Zi{constructor(){this.subscriptions=[]}add(t){return Ht(this.subscriptions,t),()=&gt;Gt(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let s=0;s&lt;i;s++){const i=this.subscriptions[s];i&amp;&amp;i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Yi={current:void 0};class Ki{constructor(t,e={}){this.version="11.3.30",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=&gt;{const n=On.now();this.updatedAt!==n&amp;&amp;this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&amp;&amp;this.events.change&amp;&amp;this.events.change.notify(this.current),e&amp;&amp;this.events.renderRequest&amp;&amp;this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=On.now(),null===this.canTrackVelocity&amp;&amp;void 0!==t&amp;&amp;(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new Zi);const n=this.events[t].add(e);return"change"===t?()=&gt;{n(),ee.read((()=&gt;{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&amp;&amp;this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&amp;&amp;this.stop(),this.stopPassiveEffect&amp;&amp;this.stopPassiveEffect()}get(){return Yi.current&amp;&amp;Yi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=On.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt&gt;30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return $n(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise((e=&gt;{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&amp;&amp;this.events.animationStart.notify()})).then((()=&gt;{this.events.animationComplete&amp;&amp;this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&amp;&amp;(this.animation.stop(),this.events.animationCancel&amp;&amp;this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&amp;&amp;this.stopPassiveEffect()}}function Xi(t,e){return new Ki(t,e)}function Hi(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Xi(n))}function Gi(t){return t.getProps()[d]}class qi extends Ki{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){const e=Xt(t);if(!e)return;const n=this.counts.get(e)||0;this.counts.set(e,n+1),0===n&amp;&amp;(this.output.push(e),this.update());let i=!1;return()=&gt;{if(i)return;i=!0;const t=this.counts.get(e)-1;this.counts.set(e,t),0===t&amp;&amp;(Gt(this.output,e),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function _i(t,e){var n;if(!t.applyWillChange)return;let i=t.getValue("willChange");return i||(null===(n=t.props.style)||void 0===n?void 0:n.willChange)||(i=new qi("auto"),t.addValue("willChange",i)),s=i,Boolean(X(s)&amp;&amp;s.add)?i.add(e):void 0;var s}function Ji({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&amp;&amp;!0!==e[n];return e[n]=!1,i}function Qi(t,e,{delay:n=0,transitionOverride:i,type:s}={}){var o;let{transition:r=t.getDefaultTransition(),transitionEnd:a,...l}=e;i&amp;&amp;(r=i);const u=[],c=s&amp;&amp;t.animationState&amp;&amp;t.animationState.getState()[s];for(const h in l){const e=t.getValue(h,null!==(o=t.latestValues[h])&amp;&amp;void 0!==o?o:null),i=l[h];if(void 0===i||c&amp;&amp;Ji(c,h))continue;const s={delay:n,...Oe(r||{},h)};let a=!1;if(window.MotionHandoffAnimation){const e=Gi(t);if(e){const t=window.MotionHandoffAnimation(e,h,ee);null!==t&amp;&amp;(s.startTime=t,a=!0)}}e.start(zi(h,e,i,t.shouldReduceMotion&amp;&amp;Y.has(h)?{type:!1}:s,t,a,_i(t,h)));const d=e.animation;d&amp;&amp;u.push(d)}return a&amp;&amp;Promise.all(u).then((()=&gt;{ee.update((()=&gt;{a&amp;&amp;function(t,e){const n=Re(t,e);let{transitionEnd:i={},transition:s={},...o}=n||{};o={...o,...i};for(const a in o)Hi(t,a,(r=o[a],Zt(r)?r[r.length-1]||0:r));var r}(t,a)}))})),u}function ts(t,e,n={}){var i;const s=Re(t,e,"exit"===n.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&amp;&amp;(o=n.transitionOverride);const r=s?()=&gt;Promise.all(Qi(t,s,n)):()=&gt;Promise.resolve(),a=t.variantChildren&amp;&amp;t.variantChildren.size?(i=0)=&gt;{const{delayChildren:s=0,staggerChildren:r,staggerDirection:a}=o;return function(t,e,n=0,i=0,s=1,o){const r=[],a=(t.variantChildren.size-1)*i,l=1===s?(t=0)=&gt;t*i:(t=0)=&gt;a-t*i;return Array.from(t.variantChildren).sort(es).forEach(((t,i)=&gt;{t.notify("AnimationStart",e),r.push(ts(t,e,{...o,delay:n+l(i)}).then((()=&gt;t.notify("AnimationComplete",e))))})),Promise.all(r)}(t,e,s+i,r,a,n)}:()=&gt;Promise.resolve(),{when:l}=o;if(l){const[t,e]="beforeChildren"===l?[r,a]:[a,r];return t().then((()=&gt;e()))}return Promise.all([r(),a(n.delay)])}function es(t,e){return t.sortNodePosition(e)}const ns=[...E].reverse(),is=E.length;function ss(t){return e=&gt;Promise.all(e.map((({animation:e,options:n})=&gt;function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map((e=&gt;ts(t,e,n)));i=Promise.all(s)}else if("string"===typeof e)i=ts(t,e,n);else{const s="function"===typeof e?Re(t,e,n.custom):e;i=Promise.all(Qi(t,s,n))}return i.then((()=&gt;{t.notify("AnimationComplete",e)}))}(t,e,n))))}function os(t,e){return"string"===typeof e?e!==t:!!Array.isArray(e)&amp;&amp;!Me(e,t)}function rs(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function as(){return{animate:rs(!0),whileInView:rs(),whileHover:rs(),whileTap:rs(),whileDrag:rs(),whileFocus:rs(),exit:rs()}}let ls=0;const us={animation:{Feature:class extends ye{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=ss(t),n=as(),i=!0;const s=e=&gt;(n,i)=&gt;{var s;const o=Re(t,i,"exit"===e?null===(s=t.presenceContext)||void 0===s?void 0:s.custom:void 0);if(o){const{transition:t,transitionEnd:e,...i}=o;n={...n,...i,...e}}return n};function o(o){const r=t.getProps(),a=t.getVariantContext(!0)||{},l=[],u=new Set;let c={},h=1/0;for(let e=0;e&lt;is;e++){const d=ns[e],p=n[d],m=void 0!==r[d]?r[d]:a[d],f=C(m),v=d===o?p.isActive:null;!1===v&amp;&amp;(h=e);let g=m===a[d]&amp;&amp;m!==r[d]&amp;&amp;f;if(g&amp;&amp;i&amp;&amp;t.manuallyAnimateOnMount&amp;&amp;(g=!1),p.protectedKeys={...c},!p.isActive&amp;&amp;null===v||!m&amp;&amp;!p.prevProp||V(m)||"boolean"===typeof m)continue;let y=os(p.prevProp,m)||d===o&amp;&amp;p.isActive&amp;&amp;!g&amp;&amp;f||e&gt;h&amp;&amp;f,x=!1;const P=Array.isArray(m)?m:[m];let T=P.reduce(s(d),{});!1===v&amp;&amp;(T={});const{prevResolvedValues:w={}}=p,S={...w,...T},b=e=&gt;{y=!0,u.has(e)&amp;&amp;(x=!0,u.delete(e)),p.needsAnimating[e]=!0;const n=t.getValue(e);n&amp;&amp;(n.liveStyle=!1)};for(const t in S){const e=T[t],n=w[t];if(c.hasOwnProperty(t))continue;let i=!1;i=Zt(e)&amp;&amp;Zt(n)?!Me(e,n):e!==n,i?void 0!==e&amp;&amp;null!==e?b(t):u.add(t):void 0!==e&amp;&amp;u.has(t)?b(t):p.protectedKeys[t]=!0}p.prevProp=m,p.prevResolvedValues=T,p.isActive&amp;&amp;(c={...c,...T}),i&amp;&amp;t.blockInitialAnimation&amp;&amp;(y=!1),!y||g&amp;&amp;!x||l.push(...P.map((t=&gt;({animation:t,options:{type:d}}))))}if(u.size){const e={};u.forEach((n=&gt;{const i=t.getBaseTarget(n),s=t.getValue(n);s&amp;&amp;(s.liveStyle=!0),e[n]=null!==i&amp;&amp;void 0!==i?i:null})),l.push({animation:e})}let d=Boolean(l.length);return!i||!1!==r.initial&amp;&amp;r.initial!==r.animate||t.manuallyAnimateOnMount||(d=!1),i=!1,d?e(l):Promise.resolve()}return{animateChanges:o,setActive:function(e,i){var s;if(n[e].isActive===i)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach((t=&gt;{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)})),n[e].isActive=i;const r=o(e);for(const t in n)n[t].protectedKeys={};return r},setAnimateFunction:function(n){e=n(t)},getState:()=&gt;n,reset:()=&gt;{n=as(),i=!0}}}(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();V(t)&amp;&amp;(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&amp;&amp;this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}},exit:{Feature:class extends ye{constructor(){super(...arguments),this.id=ls++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const i=this.node.animationState.setActive("exit",!t);e&amp;&amp;!t&amp;&amp;i.then((()=&gt;e(this.id)))}mount(){const{register:t}=this.node.presenceContext||{};t&amp;&amp;(this.unmount=t(this.id))}unmount(){}}}},cs=(t,e)=&gt;Math.abs(t-e);class hs{constructor(t,e,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=&gt;{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=ms(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=cs(t.x,e.x),i=cs(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})&gt;=3;if(!e&amp;&amp;!n)return;const{point:i}=t,{timestamp:s}=ie;this.history.push({...i,timestamp:s});const{onStart:o,onMove:r}=this.handlers;e||(o&amp;&amp;o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&amp;&amp;r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=&gt;{this.lastMoveEvent=t,this.lastMoveEventInfo=ds(e,this.transformPagePoint),ee.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=&gt;{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&amp;&amp;s&amp;&amp;s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=ms("pointercancel"===t.type?this.lastMoveEventInfo:ds(e,this.transformPagePoint),this.history);this.startEvent&amp;&amp;n&amp;&amp;n(t,o),i&amp;&amp;i(t,o)},!le(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=n,this.contextWindow=i||window;const o=ds(ue(t),this.transformPagePoint),{point:r}=o,{timestamp:a}=ie;this.history=[{...r,timestamp:a}];const{onSessionStart:l}=e;l&amp;&amp;l(t,ms(o,this.history)),this.removeListeners=de(ce(this.contextWindow,"pointermove",this.handlePointerMove),ce(this.contextWindow,"pointerup",this.handlePointerUp),ce(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&amp;&amp;this.removeListeners(),ne(this.updatePoint)}}function ds(t,e){return e?{point:e(t.point)}:t}function ps(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ms({point:t},e){return{point:t,delta:ps(t,vs(e)),offset:ps(t,fs(e)),velocity:gs(e,.1)}}function fs(t){return t[0]}function vs(t){return t[t.length-1]}function gs(t,e){if(t.length&lt;2)return{x:0,y:0};let n=t.length-1,i=null;const s=vs(t);for(;n&gt;=0&amp;&amp;(i=t[n],!(s.timestamp-i.timestamp&gt;De(e)));)n--;if(!i)return{x:0,y:0};const o=ke(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&amp;&amp;(r.x=0),r.y===1/0&amp;&amp;(r.y=0),r}function ys(t){return t.max-t.min}function xs(t,e,n,i=.5){t.origin=i,t.originPoint=di(e.min,e.max,t.origin),t.scale=ys(n)/ys(e),t.translate=di(n.min,n.max,t.origin)-t.originPoint,(t.scale&gt;=.9999&amp;&amp;t.scale&lt;=1.0001||isNaN(t.scale))&amp;&amp;(t.scale=1),(t.translate&gt;=-.01&amp;&amp;t.translate&lt;=.01||isNaN(t.translate))&amp;&amp;(t.translate=0)}function Ps(t,e,n,i){xs(t.x,e.x,n.x,i?i.originX:void 0),xs(t.y,e.y,n.y,i?i.originY:void 0)}function Ts(t,e,n){t.min=n.min+e.min,t.max=t.min+ys(e)}function ws(t,e,n){t.min=e.min-n.min,t.max=t.min+ys(e)}function Ss(t,e,n){ws(t.x,e.x,n.x),ws(t.y,e.y,n.y)}function bs(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function As(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min&lt;t.max-t.min&amp;&amp;([n,i]=[i,n]),{min:n,max:i}}const Cs=.35;function Vs(t,e,n){return{min:Es(t,e),max:Es(t,n)}}function Es(t,e){return"number"===typeof t?t:t[e]||0}const Ms=()=&gt;({x:{min:0,max:0},y:{min:0,max:0}});function Rs(t){return[t("x"),t("y")]}function Ds({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function ks(t){return void 0===t||1===t}function Ls({scale:t,scaleX:e,scaleY:n}){return!ks(t)||!ks(e)||!ks(n)}function js(t){return Ls(t)||Fs(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Fs(t){return Bs(t.x)||Bs(t.y)}function Bs(t){return t&amp;&amp;"0%"!==t}function Os(t,e,n){return n+e*(t-n)}function Is(t,e,n,i,s){return void 0!==s&amp;&amp;(t=Os(t,s,i)),Os(t,n,i)+e}function Us(t,e=0,n=1,i,s){t.min=Is(t.min,e,n,i,s),t.max=Is(t.max,e,n,i,s)}function $s(t,{x:e,y:n}){Us(t.x,e.translate,e.scale,e.originPoint),Us(t.y,n.translate,n.scale,n.originPoint)}const Ws=.999999999999,Ns=1.0000000000001;function zs(t,e){t.min=t.min+e,t.max=t.max+e}function Zs(t,e,n,i,s=.5){Us(t,e,n,di(t.min,t.max,s),i)}function Ys(t,e){Zs(t.x,e.x,e.scaleX,e.scale,e.originX),Zs(t.y,e.y,e.scaleY,e.scale,e.originY)}function Ks(t,e){return Ds(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}const Xs=({current:t})=&gt;t?t.ownerDocument.defaultView:null,Hs=new WeakMap;class Gs{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:n}=this.visualElement;if(n&amp;&amp;!1===n.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new hs(t,{onSessionStart:t=&gt;{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&amp;&amp;this.snapToCursor(ue(t,"page").point)},onStart:(t,e)=&gt;{var n;const{drag:i,dragPropagation:s,onDragStart:o}=this.getProps();if(i&amp;&amp;!s&amp;&amp;(this.openGlobalLock&amp;&amp;this.openGlobalLock(),this.openGlobalLock=ve(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&amp;&amp;(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Rs((t=&gt;{let e=this.getAxisMotionValue(t).get()||0;if(rt.test(e)){const{projection:n}=this.visualElement;if(n&amp;&amp;n.layout){const i=n.layout.layoutBox[t];if(i){e=ys(i)*(parseFloat(e)/100)}}}this.originPoint[t]=e})),o&amp;&amp;ee.postRender((()=&gt;o(t,e))),null===(n=this.removeWillChange)||void 0===n||n.call(this),this.removeWillChange=_i(this.visualElement,"transform");const{animationState:r}=this.visualElement;r&amp;&amp;r.setActive("whileDrag",!0)},onMove:(t,e)=&gt;{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&amp;&amp;!this.openGlobalLock)return;const{offset:r}=e;if(i&amp;&amp;null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)&gt;e?n="y":Math.abs(t.x)&gt;e&amp;&amp;(n="x");return n}(r),void(null!==this.currentDirection&amp;&amp;s&amp;&amp;s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&amp;&amp;o(t,e)},onSessionEnd:(t,e)=&gt;this.stop(t,e),resumeAnimation:()=&gt;Rs((t=&gt;{var e;return"paused"===this.getAnimationState(t)&amp;&amp;(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:Xs(this.visualElement)})}stop(t,e){var n;null===(n=this.removeWillChange)||void 0===n||n.call(this);const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:s}=e;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&amp;&amp;ee.postRender((()=&gt;o(t,e)))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&amp;&amp;(t.isAnimationBlocked=!1),this.panSession&amp;&amp;this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&amp;&amp;this.openGlobalLock&amp;&amp;(this.openGlobalLock(),this.openGlobalLock=null),e&amp;&amp;e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!qs(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&amp;&amp;this.constraints[t]&amp;&amp;(o=function(t,{min:e,max:n},i){return void 0!==e&amp;&amp;t&lt;e?t=i?di(e,t,i.min):Math.max(t,e):void 0!==n&amp;&amp;t&gt;n&amp;&amp;(t=i?di(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&amp;&amp;!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,s=this.constraints;e&amp;&amp;x(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!i)&amp;&amp;function(t,{top:e,left:n,bottom:i,right:s}){return{x:bs(t.x,n,s),y:bs(t.y,e,i)}}(i.layoutBox,e),this.elastic=function(t=Cs){return!1===t?t=0:!0===t&amp;&amp;(t=Cs),{x:Vs(t,"left","right"),y:Vs(t,"top","bottom")}}(n),s!==this.constraints&amp;&amp;i&amp;&amp;this.constraints&amp;&amp;!this.hasMutatedConstraints&amp;&amp;Rs((t=&gt;{!1!==this.constraints&amp;&amp;this.getAxisMotionValue(t)&amp;&amp;(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&amp;&amp;(n.min=e.min-t.min),void 0!==e.max&amp;&amp;(n.max=e.max-t.min),n}(i.layoutBox[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!x(t))return!1;const n=t.current;ze(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=function(t,e,n){const i=Ks(t,n),{scroll:s}=e;return s&amp;&amp;(zs(i.x,s.offset.x),zs(i.y,s.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:As(t.x,e.x),y:As(t.y,e.y)}}(i.layout.layoutBox,s);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&amp;&amp;(o=Ds(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Rs((r=&gt;{if(!qs(r,e,this.currentDirection))return;let l=a&amp;&amp;a[r]||{};o&amp;&amp;(l={min:0,max:0});const u=i?200:1e6,c=i?40:1e7,h={type:"inertia",velocity:n?t[r]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(r,h)}));return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return n.start(zi(t,n,0,e,this.visualElement,!1,_i(this.visualElement,t)))}stopAnimation(){Rs((t=&gt;this.getAxisMotionValue(t).stop()))}pauseAnimation(){Rs((t=&gt;{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()}))}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),i=n[e];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Rs((e=&gt;{const{drag:n}=this.getProps();if(!qs(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&amp;&amp;i.layout){const{min:n,max:o}=i.layout.layoutBox[e];s.set(t[e]-di(n,o,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!x(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Rs((t=&gt;{const e=this.getAxisMotionValue(t);if(e&amp;&amp;!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=ys(t),s=ys(e);return s&gt;i?n=hi(e.min,e.max-i,t.min):i&gt;s&amp;&amp;(n=hi(t.min,t.max-s,e.min)),G(0,1,n)}({min:n,max:n},this.constraints[t])}}));const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&amp;&amp;n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Rs((e=&gt;{if(!qs(e,t,null))return;const n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set(di(s,o,i[e]))}))}addListeners(){if(!this.visualElement.current)return;Hs.set(this.visualElement,this);const t=ce(this.visualElement.current,"pointerdown",(t=&gt;{const{drag:e,dragListener:n=!0}=this.getProps();e&amp;&amp;n&amp;&amp;this.start(t)})),e=()=&gt;{const{dragConstraints:t}=this.getProps();x(t)&amp;&amp;t.current&amp;&amp;(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&amp;&amp;!n.layout&amp;&amp;(n.root&amp;&amp;n.root.updateScroll(),n.updateLayout()),ee.read(e);const s=ae(window,"resize",(()=&gt;this.scalePositionWithinConstraints())),o=n.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e})=&gt;{this.isDragging&amp;&amp;e&amp;&amp;(Rs((e=&gt;{const n=this.getAxisMotionValue(e);n&amp;&amp;(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))})),this.visualElement.render())}));return()=&gt;{s(),t(),i(),o&amp;&amp;o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=Cs,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r}}}function qs(t,e,n){return(!0===e||e===t)&amp;&amp;(null===n||n===t)}const _s=t=&gt;(e,n)=&gt;{t&amp;&amp;ee.postRender((()=&gt;t(e,n)))};const Js={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Qs(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const to={correct:(t,e)=&gt;{if(!e.target)return t;if("string"===typeof t){if(!at.test(t))return t;t=parseFloat(t)}return`${Qs(t,e.target.x)}% ${Qs(t,e.target.y)}%`}},eo={correct:(t,{treeScale:e,projectionDelta:n})=&gt;{const i=t,s=bn.parse(t);if(s.length&gt;5)return i;const o=bn.createTransformer(t),r="number"!==typeof s[0]?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;s[0+r]/=a,s[1+r]/=l;const u=di(a,l,.5);return"number"===typeof s[2+r]&amp;&amp;(s[2+r]/=u),"number"===typeof s[3+r]&amp;&amp;(s[3+r]/=u),o(s)}};class no extends s.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:s}=t;var o;o=so,Object.assign(z,o),s&amp;&amp;(e.group&amp;&amp;e.group.add(s),n&amp;&amp;n.register&amp;&amp;i&amp;&amp;n.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(()=&gt;{this.safeToRemove()})),s.setOptions({...s.options,onExitComplete:()=&gt;this.safeToRemove()})),Js.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,o=n.projection;return o?(o.isPresent=s,i||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent!==s&amp;&amp;(s?o.promote():o.relegate()||ee.postRender((()=&gt;{const t=o.getStack();t&amp;&amp;t.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&amp;&amp;(t.root.didUpdate(),g.postRender((()=&gt;{!t.currentAnimation&amp;&amp;t.isLead()&amp;&amp;this.safeToRemove()})))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&amp;&amp;(i.scheduleCheckAfterUnmount(),e&amp;&amp;e.group&amp;&amp;e.group.remove(i),n&amp;&amp;n.deregister&amp;&amp;n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&amp;&amp;t()}render(){return null}}function io(t){const[e,n]=function(){const t=(0,s.useContext)(a);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:i}=t,o=(0,s.useId)();(0,s.useEffect)((()=&gt;i(o)),[]);const r=(0,s.useCallback)((()=&gt;n&amp;&amp;n(o)),[o,n]);return!e&amp;&amp;n?[!1,r]:[!0]}(),o=(0,s.useContext)(B);return(0,i.jsx)(no,{...t,layoutGroup:o,switchLayoutGroup:(0,s.useContext)(P),isPresent:e,safeToRemove:n})}const so={borderRadius:{...to,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:to,borderTopRightRadius:to,borderBottomLeftRadius:to,borderBottomRightRadius:to,boxShadow:eo},oo=["TopLeft","TopRight","BottomLeft","BottomRight"],ro=oo.length,ao=t=&gt;"string"===typeof t?parseFloat(t):t,lo=t=&gt;"number"===typeof t||at.test(t);function uo(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const co=po(0,.5,si),ho=po(.5,.95,te);function po(t,e,n){return i=&gt;i&lt;t?0:i&gt;e?1:n(hi(t,e,i))}function mo(t,e){t.min=e.min,t.max=e.max}function fo(t,e){mo(t.x,e.x),mo(t.y,e.y)}function vo(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function go(t,e,n,i,s){return t=Os(t-=e,1/n,i),void 0!==s&amp;&amp;(t=Os(t,1/s,i)),t}function yo(t,e,[n,i,s],o,r){!function(t,e=0,n=1,i=.5,s,o=t,r=t){rt.test(e)&amp;&amp;(e=parseFloat(e),e=di(r.min,r.max,e/100)-r.min);if("number"!==typeof e)return;let a=di(o.min,o.max,i);t===o&amp;&amp;(a-=e),t.min=go(t.min,e,n,a,s),t.max=go(t.max,e,n,a,s)}(t,e[n],e[i],e[s],e.scale,o,r)}const xo=["x","scaleX","originX"],Po=["y","scaleY","originY"];function To(t,e,n,i){yo(t.x,e,xo,n?n.x:void 0,i?i.x:void 0),yo(t.y,e,Po,n?n.y:void 0,i?i.y:void 0)}function wo(t){return 0===t.translate&amp;&amp;1===t.scale}function So(t){return wo(t.x)&amp;&amp;wo(t.y)}function bo(t,e){return t.min===e.min&amp;&amp;t.max===e.max}function Ao(t,e){return Math.round(t.min)===Math.round(e.min)&amp;&amp;Math.round(t.max)===Math.round(e.max)}function Co(t,e){return Ao(t.x,e.x)&amp;&amp;Ao(t.y,e.y)}function Vo(t){return ys(t.x)/ys(t.y)}function Eo(t,e){return t.translate===e.translate&amp;&amp;t.scale===e.scale&amp;&amp;t.originPoint===e.originPoint}class Mo{constructor(){this.members=[]}add(t){Ht(this.members,t),t.scheduleRender()}remove(t){if(Gt(this.members,t),t===this.prevLead&amp;&amp;(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&amp;&amp;this.promote(t)}}relegate(t){const e=this.members.findIndex((e=&gt;t===e));if(0===e)return!1;let n;for(let i=e;i&gt;=0;i--){const t=this.members[i];if(!1!==t.isPresent){n=t;break}}return!!n&amp;&amp;(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&amp;&amp;(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&amp;&amp;n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&amp;&amp;(t.resumeFrom.preserveOpacity=!0),n.snapshot&amp;&amp;(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&amp;&amp;t.root.isUpdating&amp;&amp;(t.isLayoutDirty=!0);const{crossfade:i}=t.options;!1===i&amp;&amp;n.hide()}}exitAnimationComplete(){this.members.forEach((t=&gt;{const{options:e,resumingFrom:n}=t;e.onExitComplete&amp;&amp;e.onExitComplete(),n&amp;&amp;n.options.onExitComplete&amp;&amp;n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((t=&gt;{t.instance&amp;&amp;t.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&amp;&amp;this.lead.snapshot&amp;&amp;(this.lead.snapshot=void 0)}}const Ro=(t,e)=&gt;t.depth-e.depth;class Do{constructor(){this.children=[],this.isDirty=!1}add(t){Ht(this.children,t),this.isDirty=!0}remove(t){Gt(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&amp;&amp;this.children.sort(Ro),this.isDirty=!1,this.children.forEach(t)}}const ko={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Lo="undefined"!==typeof window&amp;&amp;void 0!==window.MotionDebug,jo=["","X","Y","Z"],Fo={visibility:"hidden"};let Bo=0;function Oo(t,e,n,i){const{latestValues:s}=e;s[t]&amp;&amp;(n[t]=s[t],e.setStaticValue(t,0),i&amp;&amp;(i[t]=0))}function Io(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Gi(e);window.MotionHasOptimisedTransformAnimation(n)&amp;&amp;window.MotionCancelOptimisedTransform(n);const{parent:i}=t;i&amp;&amp;!i.hasCheckedOptimisedAppear&amp;&amp;Io(i)}function Uo({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(t={},n=(null===e||void 0===e?void 0:e())){this.id=Bo++,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=()=&gt;this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=&gt;{this.isUpdating&amp;&amp;(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=&gt;{this.projectionUpdateScheduled=!1,Lo&amp;&amp;(ko.totalNodes=ko.resolvedTargetDeltas=ko.recalculatedProjection=0),this.nodes.forEach(No),this.nodes.forEach(Go),this.nodes.forEach(qo),this.nodes.forEach(zo),Lo&amp;&amp;window.MotionDebug.record(ko)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e&lt;this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&amp;&amp;(this.nodes=new Do)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new Zi),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&amp;&amp;n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,n=this.root.hasTreeAnimated){if(this.instance)return;var i;this.isSVG=(i=e)instanceof SVGElement&amp;&amp;"svg"!==i.tagName,this.instance=e;const{layoutId:s,layout:o,visualElement:r}=this.options;if(r&amp;&amp;!r.current&amp;&amp;r.mount(e),this.root.nodes.add(this),this.parent&amp;&amp;this.parent.children.add(this),n&amp;&amp;(o||s)&amp;&amp;(this.isLayoutDirty=!0),t){let n;const i=()=&gt;this.root.updateBlockedByResize=!1;t(e,(()=&gt;{this.root.updateBlockedByResize=!0,n&amp;&amp;n(),n=function(t,e){const n=On.now(),i=({timestamp:s})=&gt;{const o=s-n;o&gt;=e&amp;&amp;(ne(i),t(o-e))};return ee.read(i,!0),()=&gt;ne(i)}(i,250),Js.hasAnimatedSinceResize&amp;&amp;(Js.hasAnimatedSinceResize=!1,this.nodes.forEach(Ho))}))}s&amp;&amp;this.root.registerSharedNode(s,this),!1!==this.options.animate&amp;&amp;r&amp;&amp;(s||o)&amp;&amp;this.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:i})=&gt;{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const s=this.options.transition||r.getDefaultTransition()||nr,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!Co(this.targetLayout,i)||n,u=!e&amp;&amp;n;if(this.options.layoutRoot||this.resumeFrom&amp;&amp;this.resumeFrom.instance||u||e&amp;&amp;(l||!this.currentAnimation)){this.resumeFrom&amp;&amp;(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);const e={...Oe(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&amp;&amp;(e.delay=0,e.type=!1),this.startAnimation(e)}else e||Ho(this),this.isLead()&amp;&amp;this.options.onExitComplete&amp;&amp;this.options.onExitComplete();this.targetLayout=i}))}unmount(){this.options.layoutId&amp;&amp;this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&amp;&amp;t.remove(this),this.parent&amp;&amp;this.parent.children.delete(this),this.instance=void 0,ne(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&amp;&amp;this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&amp;&amp;this.nodes.forEach(_o),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&amp;&amp;t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&amp;&amp;this.options.onExitComplete());if(window.MotionCancelOptimisedTransform&amp;&amp;!this.hasCheckedOptimisedAppear&amp;&amp;Io(this),!this.root.isUpdating&amp;&amp;this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s&lt;this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&amp;&amp;t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&amp;&amp;!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&amp;&amp;this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Yo);this.isUpdating||this.nodes.forEach(Ko),this.isUpdating=!1,this.nodes.forEach(Xo),this.nodes.forEach($o),this.nodes.forEach(Wo),this.clearAllSnapshots();const t=On.now();ie.delta=G(0,1e3/60,t-ie.timestamp),ie.timestamp=t,ie.isProcessing=!0,se.update.process(ie),se.preRender.process(ie),se.render.process(ie),ie.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,g.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Zo),this.sharedNodes.forEach(Jo)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ee.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ee.postRender((()=&gt;{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&amp;&amp;this.instance&amp;&amp;(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&amp;&amp;!this.isLayoutDirty)return;if(this.resumeFrom&amp;&amp;!this.resumeFrom.instance)for(let n=0;n&lt;this.path.length;n++){this.path[n].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&amp;&amp;e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&amp;&amp;this.instance);if(this.scroll&amp;&amp;this.scroll.animationId===this.root.animationId&amp;&amp;this.scroll.phase===t&amp;&amp;(e=!1),e){const e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&amp;&amp;!So(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&amp;&amp;(e||js(this.latestValues)||o)&amp;&amp;(s(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&amp;&amp;(n=this.removeTransform(n)),or((i=n).x),or(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const n=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(ar))){const{scroll:t}=this.root;t&amp;&amp;(zs(n.x,t.offset.x),zs(n.y,t.offset.y))}return n}removeElementScroll(t){var e;const n={x:{min:0,max:0},y:{min:0,max:0}};if(fo(n,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return n;for(let i=0;i&lt;this.path.length;i++){const e=this.path[i],{scroll:s,options:o}=e;e!==this.root&amp;&amp;s&amp;&amp;o.layoutScroll&amp;&amp;(s.wasRoot&amp;&amp;fo(n,t),zs(n.x,s.offset.x),zs(n.y,s.offset.y))}return n}applyTransform(t,e=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};fo(n,t);for(let i=0;i&lt;this.path.length;i++){const t=this.path[i];!e&amp;&amp;t.options.layoutScroll&amp;&amp;t.scroll&amp;&amp;t!==t.root&amp;&amp;Ys(n,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),js(t.latestValues)&amp;&amp;Ys(n,t.latestValues)}return js(this.latestValues)&amp;&amp;Ys(n,this.latestValues),n}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};fo(e,t);for(let n=0;n&lt;this.path.length;n++){const t=this.path[n];if(!t.instance)continue;if(!js(t.latestValues))continue;Ls(t.latestValues)&amp;&amp;t.updateSnapshot();const i={x:{min:0,max:0},y:{min:0,max:0}};fo(i,t.measurePageBox()),To(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,i)}return js(this.latestValues)&amp;&amp;To(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&amp;&amp;this.relativeParent.resolvedRelativeTargetAt!==ie.timestamp&amp;&amp;this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(t||i&amp;&amp;this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:s,layoutId:o}=this.options;if(this.layout&amp;&amp;(s||o)){if(this.resolvedRelativeTargetAt=ie.timestamp,!this.targetDelta&amp;&amp;!this.relativeTarget){const t=this.getClosestProjectingParent();t&amp;&amp;t.layout&amp;&amp;1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ss(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),fo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var r,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,Ts(r.x,a.x,l.x),Ts(r.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):fo(this.target,this.layout.layoutBox),$s(this.target,this.targetDelta)):fo(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&amp;&amp;Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&amp;&amp;!t.options.layoutScroll&amp;&amp;t.target&amp;&amp;1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ss(this.relativeTargetOrigin,this.target,t.target),fo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Lo&amp;&amp;ko.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&amp;&amp;!Ls(this.parent.latestValues)&amp;&amp;!Fs(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&amp;&amp;this.layout)}calcProjection(){var t;const e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e;let i=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&amp;&amp;(i=!1),n&amp;&amp;(this.isSharedProjectionDirty||this.isTransformDirty)&amp;&amp;(i=!1),this.resolvedRelativeTargetAt===ie.timestamp&amp;&amp;(i=!1),i)return;const{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&amp;&amp;this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!s&amp;&amp;!o)return;fo(this.layoutCorrected,this.layout.layoutBox);const r=this.treeScale.x,a=this.treeScale.y;!function(t,e,n,i=!1){const s=n.length;if(!s)return;let o,r;e.x=e.y=1;for(let a=0;a&lt;s;a++){o=n[a],r=o.projectionDelta;const{visualElement:s}=o.options;s&amp;&amp;s.props.style&amp;&amp;"contents"===s.props.style.display||(i&amp;&amp;o.options.layoutScroll&amp;&amp;o.scroll&amp;&amp;o!==o.root&amp;&amp;Ys(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&amp;&amp;(e.x*=r.x.scale,e.y*=r.y.scale,$s(t,r)),i&amp;&amp;js(o.latestValues)&amp;&amp;Ys(t,o.latestValues))}e.x&lt;Ns&amp;&amp;e.x&gt;Ws&amp;&amp;(e.x=1),e.y&lt;Ns&amp;&amp;e.y&gt;Ws&amp;&amp;(e.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!e.layout||e.target||1===this.treeScale.x&amp;&amp;1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=e;l?(this.projectionDelta&amp;&amp;this.prevProjectionDelta?(vo(this.prevProjectionDelta.x,this.projectionDelta.x),vo(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Ps(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===r&amp;&amp;this.treeScale.y===a&amp;&amp;Eo(this.projectionDelta.x,this.prevProjectionDelta.x)&amp;&amp;Eo(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Lo&amp;&amp;ko.recalculatedProjection++):this.prevProjectionDelta&amp;&amp;(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){const t=this.getStack();t&amp;&amp;t.scheduleRender()}this.resumingFrom&amp;&amp;!this.resumingFrom.instance&amp;&amp;(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(t,e=!1){const n=this.snapshot,i=n?n.latestValues:{},s={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&amp;&amp;this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const r={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length&lt;=1,c=Boolean(a&amp;&amp;!u&amp;&amp;!0===this.options.crossfade&amp;&amp;!this.path.some(er));let h;this.animationProgress=0,this.mixTargetDelta=e=&gt;{const n=e/1e3;var l,d,p,m,f,v;Qo(o.x,t.x,n),Qo(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.layout&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.layout&amp;&amp;(Ss(r,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=r,v=n,tr(p.x,m.x,f.x,v),tr(p.y,m.y,f.y,v),h&amp;&amp;(l=this.relativeTarget,d=h,bo(l.x,d.x)&amp;&amp;bo(l.y,d.y))&amp;&amp;(this.isProjectionDirty=!1),h||(h={x:{min:0,max:0},y:{min:0,max:0}}),fo(h,this.relativeTarget)),a&amp;&amp;(this.animationValues=s,function(t,e,n,i,s,o){s?(t.opacity=di(0,void 0!==n.opacity?n.opacity:1,co(i)),t.opacityExit=di(void 0!==e.opacity?e.opacity:1,0,ho(i))):o&amp;&amp;(t.opacity=di(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r&lt;ro;r++){const s=`border${oo[r]}Radius`;let o=uo(e,s),a=uo(n,s);void 0===o&amp;&amp;void 0===a||(o||(o=0),a||(a=0),0===o||0===a||lo(o)===lo(a)?(t[s]=Math.max(di(ao(o),ao(a),i),0),(rt.test(a)||rt.test(o))&amp;&amp;(t[s]+="%")):t[s]=a)}(e.rotate||n.rotate)&amp;&amp;(t.rotate=di(e.rotate||0,n.rotate||0,i))}(s,i,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&amp;&amp;this.currentAnimation.stop(),this.resumingFrom&amp;&amp;this.resumingFrom.currentAnimation&amp;&amp;this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&amp;&amp;(ne(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ee.update((()=&gt;{Js.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){const i=X(t)?t:Xi(t);return i.start(zi("",i,e,n)),i.animation}(0,1e3,{...t,onUpdate:e=&gt;{this.mixTargetDelta(e),t.onUpdate&amp;&amp;t.onUpdate(e)},onComplete:()=&gt;{t.onComplete&amp;&amp;t.onComplete(),this.completeAnimation()}}),this.resumingFrom&amp;&amp;(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&amp;&amp;(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&amp;&amp;t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&amp;&amp;(this.mixTargetDelta&amp;&amp;this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:s}=t;if(e&amp;&amp;n&amp;&amp;i){if(this!==t&amp;&amp;this.layout&amp;&amp;i&amp;&amp;rr(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=ys(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=ys(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}fo(e,n),Ys(e,s),Ps(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Mo);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&amp;&amp;n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&amp;&amp;(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&amp;&amp;i.promote(this,n),t&amp;&amp;(this.projectionDelta=void 0,this.needsReset=!0),e&amp;&amp;this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&amp;&amp;t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&amp;&amp;(e=!0),!e)return;const i={};n.z&amp;&amp;Oo("z",t,i,this.animationValues);for(let s=0;s&lt;jo.length;s++)Oo(`rotate${jo[s]}`,t,i,this.animationValues),Oo(`skew${jo[s]}`,t,i,this.animationValues);t.render();for(const s in i)t.setStaticValue(s,i[s]),this.animationValues&amp;&amp;(this.animationValues[s]=i[s]);t.scheduleRender()}getProjectionStyles(t){var e,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Fo;const i={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=Yt(null===t||void 0===t?void 0:t.pointerEvents)||"",i.transform=s?s(this.latestValues,""):"none",i;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const e={};return this.options.layoutId&amp;&amp;(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=Yt(null===t||void 0===t?void 0:t.pointerEvents)||""),this.hasProjected&amp;&amp;!js(this.latestValues)&amp;&amp;(e.transform=s?s({},""):"none",this.hasProjected=!1),e}const r=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=function(t,e,n){let i="";const s=t.x.translate/e.x,o=t.y.translate/e.y,r=(null===n||void 0===n?void 0:n.z)||0;if((s||o||r)&amp;&amp;(i=`translate3d(${s}px, ${o}px, ${r}px) `),1===e.x&amp;&amp;1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,rotateX:s,rotateY:o,skewX:r,skewY:a}=n;t&amp;&amp;(i=`perspective(${t}px) ${i}`),e&amp;&amp;(i+=`rotate(${e}deg) `),s&amp;&amp;(i+=`rotateX(${s}deg) `),o&amp;&amp;(i+=`rotateY(${o}deg) `),r&amp;&amp;(i+=`skewX(${r}deg) `),a&amp;&amp;(i+=`skewY(${a}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&amp;&amp;1===l||(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,r),s&amp;&amp;(i.transform=s(r,i.transform));const{x:a,y:l}=this.projectionDelta;i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(n=null!==(e=r.opacity)&amp;&amp;void 0!==e?e:this.latestValues.opacity)&amp;&amp;void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:i.opacity=o===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0;for(const u in z){if(void 0===r[u])continue;const{correct:t,applyTo:e}=z[u],n="none"===i.transform?r[u]:t(r[u],o);if(e){const t=e.length;for(let s=0;s&lt;t;s++)i[e[s]]=n}else i[u]=n}return this.options.layoutId&amp;&amp;(i.pointerEvents=o===this?Yt(null===t||void 0===t?void 0:t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((t=&gt;{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(Yo),this.root.sharedNodes.clear()}}}function $o(t){t.updateLayout()}function Wo(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&amp;&amp;t.layout&amp;&amp;n&amp;&amp;t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:i}=t.layout,{animationType:s}=t.options,o=n.source!==t.layout.source;"size"===s?Rs((t=&gt;{const i=o?n.measuredBox[t]:n.layoutBox[t],s=ys(i);i.min=e[t].min,i.max=i.min+s})):rr(s,n.layoutBox,e)&amp;&amp;Rs((i=&gt;{const s=o?n.measuredBox[i]:n.layoutBox[i],r=ys(e[i]);s.max=s.min+r,t.relativeTarget&amp;&amp;!t.currentAnimation&amp;&amp;(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+r)}));const r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ps(r,e,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?Ps(a,t.applyTransform(i,!0),n.measuredBox):Ps(a,e,n.layoutBox);const l=!So(r);let u=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&amp;&amp;!i.resumeFrom){const{snapshot:s,layout:o}=i;if(s&amp;&amp;o){const r={x:{min:0,max:0},y:{min:0,max:0}};Ss(r,n.layoutBox,s.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Ss(a,e,o.layoutBox),Co(r,a)||(u=!0),i.options.layoutRoot&amp;&amp;(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&amp;&amp;e()}t.options.transition=void 0}function No(t){Lo&amp;&amp;ko.totalNodes++,t.parent&amp;&amp;(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function zo(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Zo(t){t.clearSnapshot()}function Yo(t){t.clearMeasurements()}function Ko(t){t.isLayoutDirty=!1}function Xo(t){const{visualElement:e}=t.options;e&amp;&amp;e.getProps().onBeforeLayoutMeasure&amp;&amp;e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ho(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Go(t){t.resolveTargetDelta()}function qo(t){t.calcProjection()}function _o(t){t.resetSkewAndRotation()}function Jo(t){t.removeLeadSnapshot()}function Qo(t,e,n){t.translate=di(e.translate,0,n),t.scale=di(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function tr(t,e,n,i){t.min=di(e.min,n.min,i),t.max=di(e.max,n.max,i)}function er(t){return t.animationValues&amp;&amp;void 0!==t.animationValues.opacityExit}const nr={duration:.45,ease:[.4,0,.1,1]},ir=t=&gt;"undefined"!==typeof navigator&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().includes(t),sr=ir("applewebkit/")&amp;&amp;!ir("chrome/")?Math.round:te;function or(t){t.min=sr(t.min),t.max=sr(t.max)}function rr(t,e,n){return"position"===t||"preserve-aspect"===t&amp;&amp;(i=Vo(e),s=Vo(n),o=.2,!(Math.abs(i-s)&lt;=o));var i,s,o}function ar(t){var e;return t!==t.root&amp;&amp;(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}const lr=Uo({attachResizeListener:(t,e)=&gt;ae(t,"resize",e),measureScroll:()=&gt;({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=&gt;!0}),ur={current:void 0},cr=Uo({measureScroll:t=&gt;({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=&gt;{if(!ur.current){const t=new lr({});t.mount(window),t.setOptions({layoutScroll:!0}),ur.current=t}return ur.current},resetTransform:(t,e)=&gt;{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=&gt;Boolean("fixed"===window.getComputedStyle(t).position)}),hr={pan:{Feature:class extends ye{constructor(){super(...arguments),this.removePointerDownListener=te}onPointerDown(t){this.session=new hs(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Xs(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:_s(t),onStart:_s(e),onMove:n,onEnd:(t,e)=&gt;{delete this.session,i&amp;&amp;ee.postRender((()=&gt;i(t,e)))}}}mount(){this.removePointerDownListener=ce(this.node.current,"pointerdown",(t=&gt;this.onPointerDown(t)))}update(){this.session&amp;&amp;this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&amp;&amp;this.session.end()}}},drag:{Feature:class extends ye{constructor(t){super(t),this.removeGroupControls=te,this.removeListeners=te,this.controls=new Gs(t)}mount(){const{dragControls:t}=this.node.getProps();t&amp;&amp;(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||te}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:cr,MeasureLayout:io}},dr={current:null},pr={current:!1};const mr=new WeakMap,fr=[...en,vn,bn],vr=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],gr=M.length;class yr extends class{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},r={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=un,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=&gt;this.notify("Update",this.latestValues),this.render=()=&gt;{this.isRenderScheduled=!1,this.current&amp;&amp;(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=&gt;{this.isRenderScheduled||(this.isRenderScheduled=!0,ee.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=r,this.blockInitialAnimation=Boolean(s),this.isControllingVariants=R(e),this.isVariantNode=D(e),this.isVariantNode&amp;&amp;(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&amp;&amp;t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(const h in c){const t=c[h];void 0!==a[h]&amp;&amp;X(t)&amp;&amp;t.set(a[h],!1)}}mount(t){this.current=t,mr.set(t,this),this.projection&amp;&amp;!this.projection.instance&amp;&amp;this.projection.mount(t),this.parent&amp;&amp;this.isVariantNode&amp;&amp;!this.isControllingVariants&amp;&amp;(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((t,e)=&gt;this.bindToMotionValue(e,t))),pr.current||function(){if(pr.current=!0,l)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=&gt;dr.current=t.matches;t.addListener(e),e()}else dr.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&amp;&amp;("always"===this.reducedMotionConfig||dr.current),this.parent&amp;&amp;this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){mr.delete(this.current),this.projection&amp;&amp;this.projection.unmount(),ne(this.notifyUpdate),ne(this.render),this.valueSubscriptions.forEach((t=&gt;t())),this.removeFromVariantTree&amp;&amp;this.removeFromVariantTree(),this.parent&amp;&amp;this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&amp;&amp;(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){this.valueSubscriptions.has(t)&amp;&amp;this.valueSubscriptions.get(t)();const n=Y.has(t),i=e.on("change",(e=&gt;{this.latestValues[t]=e,this.props.onUpdate&amp;&amp;ee.preRender(this.notifyUpdate),n&amp;&amp;this.projection&amp;&amp;(this.projection.isTransformDirty=!0)})),s=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,(()=&gt;{i(),s(),e.owner&amp;&amp;e.stop()}))}sortNodePosition(t){return this.current&amp;&amp;this.sortInstanceNodePosition&amp;&amp;this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in F){const e=F[t];if(!e)continue;const{isEnabled:n,Feature:i}=e;if(!this.features[t]&amp;&amp;i&amp;&amp;n(this.props)&amp;&amp;(this.features[t]=new i(this)),this.features[t]){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&amp;&amp;this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n&lt;vr.length;n++){const e=vr[n];this.propEventSubscriptions[e]&amp;&amp;(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const i=t["on"+e];i&amp;&amp;(this.propEventSubscriptions[e]=this.on(e,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const s=e[i],o=n[i];if(X(s))t.addValue(i,s);else if(X(o))t.addValue(i,Xi(s,{owner:t}));else if(o!==s)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{const e=t.getStaticValue(i);t.addValue(i,Xi(void 0!==e?e:s,{owner:t}))}}for(const i in n)void 0===e[i]&amp;&amp;t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&amp;&amp;this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const t=this.parent&amp;&amp;this.parent.getVariantContext()||{};return void 0!==this.props.initial&amp;&amp;(t.initial=this.props.initial),t}const e={};for(let n=0;n&lt;gr;n++){const t=M[n],i=this.props[t];(C(i)||!1===i)&amp;&amp;(e[t]=i)}return e}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&amp;&amp;e.variantChildren.add(t),()=&gt;e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&amp;&amp;(n&amp;&amp;this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&amp;&amp;(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&amp;&amp;this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&amp;&amp;void 0!==e&amp;&amp;(n=Xi(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var n;let i=void 0===this.latestValues[t]&amp;&amp;this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&amp;&amp;void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var s;return void 0!==i&amp;&amp;null!==i&amp;&amp;("string"===typeof i&amp;&amp;(Ze(i)||We(i))?i=parseFloat(i):(s=i,!fr.find(tn(s))&amp;&amp;bn.test(e)&amp;&amp;(i=Dn(t,e))),this.setBaseTarget(t,X(i)?i.get():i)),X(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:n}=this.props;let i;if("string"===typeof n||"object"===typeof n){const s=zt(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);s&amp;&amp;(i=s[t])}if(n&amp;&amp;void 0!==i)return i;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||X(s)?void 0!==this.initialValues[t]&amp;&amp;void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new Zi),this.events[t].add(e)}notify(t,...e){this.events[t]&amp;&amp;this.events[t].notify(...e)}}{constructor(){super(...arguments),this.KeyframeResolver=Ln}sortInstanceNodePosition(t,e){return 2&amp;t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}}class xr extends yr{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Ot}readValueFromInstance(t,e){if(Y.has(e)){const t=Rn(e);return t&amp;&amp;t.default||0}{const i=(n=t,window.getComputedStyle(n)),s=(vt(e)?i.getPropertyValue(e):i[e])||0;return"string"===typeof s?s.trim():s}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return Ks(t,e)}build(t,e,n){Pt(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return $t(t,e,n)}handleChildMotionValue(){this.childSubscription&amp;&amp;(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;X(t)&amp;&amp;(this.childSubscription=t.on("change",(t=&gt;{this.current&amp;&amp;(this.current.textContent=`${t}`)})))}}class Pr extends yr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ms}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(Y.has(e)){const t=Rn(e);return t&amp;&amp;t.default||0}return e=It.has(e)?e:h(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return Wt(t,e,n)}build(t,e,n){kt(t,e,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,n,i){Ut(t,e,0,i)}mount(t){this.isSVGTag=jt(t.tagName),super.mount(t)}}const Tr=(t,e)=&gt;N(t)?new Pr(e):new xr(e,{allowProjection:t!==s.Fragment}),wr={...us,...Ee,...hr,...{layout:{ProjectionNode:cr,MeasureLayout:io}}},Sr=$(((t,e)=&gt;function(t,{forwardMotionProps:e=!1},n,i){return{...N(t)?oe:re,preloadedFeatures:n,useRender:Bt(e),createVisualElement:i,Component:t}}(t,e,wr,Tr)))}}]);</pre></body></html>