<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[878],{6878:function(t,e,i){let n;i.d(e,{AnimatePresence:function(){return b},animate:function(){return r_},motion:function(){return rD},useMotionValue:function(){return rk},useMotionValueEvent:function(){return rR},useReducedMotion:function(){return rF},useWillChange:function(){return rL}});var s,r,o,a,l=i(1237),u=i(8833);let h=(0,u.createContext)({});function d(t){let e=(0,u.useRef)(null);return null===e.current&amp;&amp;(e.current=t()),e.current}let c=(0,u.createContext)(null),p=(0,u.createContext)({transformPagePoint:t=&gt;t,isStatic:!1,reducedMotion:"never"});class m extends u.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&amp;&amp;t.isPresent&amp;&amp;!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function f(t){let{children:e,isPresent:i}=t,n=(0,u.useId)(),s=(0,u.useRef)(null),r=(0,u.useRef)({width:0,height:0,top:0,left:0}),{nonce:o}=(0,u.useContext)(p);return(0,u.useInsertionEffect)(()=&gt;{let{width:t,height:e,top:a,left:l}=r.current;if(i||!s.current||!t||!e)return;s.current.dataset.motionPopId=n;let u=document.createElement("style");return o&amp;&amp;(u.nonce=o),document.head.appendChild(u),u.sheet&amp;&amp;u.sheet.insertRule('\n          [data-motion-pop-id="'.concat(n,'"] {\n            position: absolute !important;\n            width: ').concat(t,"px !important;\n            height: ").concat(e,"px !important;\n            top: ").concat(a,"px !important;\n            left: ").concat(l,"px !important;\n          }\n        ")),()=&gt;{document.head.removeChild(u)}},[i]),(0,l.jsx)(m,{isPresent:i,childRef:s,sizeRef:r,children:u.cloneElement(e,{ref:s})})}let v=t=&gt;{let{children:e,initial:i,isPresent:n,onExitComplete:s,custom:r,presenceAffectsLayout:o,mode:a}=t,h=d(g),p=(0,u.useId)(),m=(0,u.useCallback)(t=&gt;{for(let e of(h.set(t,!0),h.values()))if(!e)return;s&amp;&amp;s()},[h,s]),v=(0,u.useMemo)(()=&gt;({id:p,initial:i,isPresent:n,custom:r,onExitComplete:m,register:t=&gt;(h.set(t,!1),()=&gt;h.delete(t))}),o?[Math.random(),m]:[n,m]);return(0,u.useMemo)(()=&gt;{h.forEach((t,e)=&gt;h.set(e,!1))},[n]),u.useEffect(()=&gt;{n||h.size||!s||s()},[n]),"popLayout"===a&amp;&amp;(e=(0,l.jsx)(f,{isPresent:n,children:e})),(0,l.jsx)(c.Provider,{value:v,children:e})};function g(){return new Map}function y(t=!0){let e=(0,u.useContext)(c);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:s}=e,r=(0,u.useId)();(0,u.useEffect)(()=&gt;{t&amp;&amp;s(r)},[t]);let o=(0,u.useCallback)(()=&gt;t&amp;&amp;n&amp;&amp;n(r),[r,n,t]);return!i&amp;&amp;n?[!1,o]:[!0]}let x=t=&gt;t.key||"";function w(t){let e=[];return u.Children.forEach(t,t=&gt;{(0,u.isValidElement)(t)&amp;&amp;e.push(t)}),e}let P="undefined"!=typeof window,T=P?u.useLayoutEffect:u.useEffect,b=t=&gt;{let{children:e,custom:i,initial:n=!0,onExitComplete:s,presenceAffectsLayout:r=!0,mode:o="sync",propagate:a=!1}=t,[c,p]=y(a),m=(0,u.useMemo)(()=&gt;w(e),[e]),f=a&amp;&amp;!c?[]:m.map(x),g=(0,u.useRef)(!0),P=(0,u.useRef)(m),b=d(()=&gt;new Map),[S,A]=(0,u.useState)(m),[E,M]=(0,u.useState)(m);T(()=&gt;{g.current=!1,P.current=m;for(let t=0;t&lt;E.length;t++){let e=x(E[t]);f.includes(e)?b.delete(e):!0!==b.get(e)&amp;&amp;b.set(e,!1)}},[E,f.length,f.join("-")]);let V=[];if(m!==S){let t=[...m];for(let e=0;e&lt;E.length;e++){let i=E[e],n=x(i);f.includes(n)||(t.splice(e,0,i),V.push(i))}"wait"===o&amp;&amp;V.length&amp;&amp;(t=V),M(w(t)),A(m);return}let{forceRender:C}=(0,u.useContext)(h);return(0,l.jsx)(l.Fragment,{children:E.map(t=&gt;{let e=x(t),u=(!a||!!c)&amp;&amp;(m===E||f.includes(e));return(0,l.jsx)(v,{isPresent:u,initial:(!g.current||!!n)&amp;&amp;void 0,custom:u?void 0:i,presenceAffectsLayout:r,mode:o,onExitComplete:u?void 0:()=&gt;{if(!b.has(e))return;b.set(e,!0);let t=!0;b.forEach(e=&gt;{e||(t=!1)}),t&amp;&amp;(null==C||C(),M(P.current),a&amp;&amp;(null==p||p()),s&amp;&amp;s())},children:t},e)})})};function S(t){return null!==t&amp;&amp;"object"==typeof t&amp;&amp;"function"==typeof t.start}let A=t=&gt;Array.isArray(t);function E(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n&lt;i;n++)if(e[n]!==t[n])return!1;return!0}function M(t){return"string"==typeof t||Array.isArray(t)}function V(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=&gt;{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function C(t,e,i,n){if("function"==typeof e){let[s,r]=V(n);e=e(void 0!==i?i:t.custom,s,r)}if("string"==typeof e&amp;&amp;(e=t.variants&amp;&amp;t.variants[e]),"function"==typeof e){let[s,r]=V(n);e=e(void 0!==i?i:t.custom,s,r)}return e}function D(t,e,i){let n=t.getProps();return C(n,e,void 0!==i?i:n.custom,t)}let R=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],k=["initial",...R];function j(t){let e;return()=&gt;(void 0===e&amp;&amp;(e=t()),e)}let L=j(()=&gt;void 0!==window.ScrollTimeline);class F{constructor(t){this.stop=()=&gt;this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=&gt;"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i&lt;this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=&gt;L()&amp;&amp;i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=&gt;{i.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]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class B extends F{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function O(t,e){return t?t[e]||t.default||t:void 0}function I(t){let e=0,i=t.next(e);for(;!i.done&amp;&amp;e&lt;2e4;)e+=50,i=t.next(e);return e&gt;=2e4?1/0:e}let U=t=&gt;1e3*t,N=t=&gt;t/1e3;function $(t){return"function"==typeof t}function W(t,e){t.timeline=e,t.onfinish=null}let z=t=&gt;Array.isArray(t)&amp;&amp;"number"==typeof t[0],H={linearEasing:void 0},Y=function(t,e){let i=j(t);return()=&gt;{var t;return null!==(t=H[e])&amp;&amp;void 0!==t?t:i()}}(()=&gt;{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),X=(t,e,i)=&gt;{let n=e-t;return 0===n?1:(i-t)/n},K=(t,e,i=10)=&gt;{let n="",s=Math.max(Math.round(e/i),2);for(let e=0;e&lt;s;e++)n+=t(X(0,s-1,e))+", ";return`linear(${n.substring(0,n.length-2)})`},q=([t,e,i,n])=&gt;`cubic-bezier(${t}, ${e}, ${i}, ${n})`,G={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:q([0,.65,.55,1]),circOut:q([.55,0,1,.45]),backIn:q([.31,.01,.66,-.59]),backOut:q([.33,1.53,.69,.99])},_={x:!1,y:!1};function Z(t,e,i){var n;if(t instanceof Element)return[t];if("string"==typeof t){let s=document;e&amp;&amp;(s=e.current);let r=null!==(n=null==i?void 0:i[t])&amp;&amp;void 0!==n?n:s.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}function J(t,e){let i=Z(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=&gt;n.abort()]}function Q(t){return e=&gt;{"touch"===e.pointerType||_.x||_.y||t(e)}}let tt=(t,e)=&gt;!!e&amp;&amp;(t===e||tt(t,e.parentElement)),te=t=&gt;"mouse"===t.pointerType?"number"!=typeof t.button||t.button&lt;=0:!1!==t.isPrimary,ti=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),tn=new WeakSet;function ts(t){return e=&gt;{"Enter"===e.key&amp;&amp;t(e)}}function tr(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let to=(t,e)=&gt;{let i=t.currentTarget;if(!i)return;let n=ts(()=&gt;{if(tn.has(i))return;tr(i,"down");let t=ts(()=&gt;{tr(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=&gt;tr(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=&gt;i.removeEventListener("keydown",n),e)};function ta(t){return te(t)&amp;&amp;!(_.x||_.y)}let tl=t=&gt;t,tu=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],th=new Set(tu),td=new Set(["width","height","top","left","right","bottom",...tu]),tc=t=&gt;!!(t&amp;&amp;"object"==typeof t&amp;&amp;t.mix&amp;&amp;t.toValue),tp=t=&gt;A(t)?t[t.length-1]||0:t,tm={skipAnimations:!1,useManualTiming:!1},tf=["read","resolveKeyframes","update","preRender","render","postRender"];function tv(t,e){let i=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},r=()=&gt;i=!0,o=tf.reduce((t,e)=&gt;(t[e]=function(t){let e=new Set,i=new Set,n=!1,s=!1,r=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){r.has(e)&amp;&amp;(l.schedule(e),t()),e(o)}let l={schedule:(t,s=!1,o=!1)=&gt;{let a=o&amp;&amp;n?e:i;return s&amp;&amp;r.add(t),a.has(t)||a.add(t),t},cancel:t=&gt;{i.delete(t),r.delete(t)},process:t=&gt;{if(o=t,n){s=!0;return}n=!0,[e,i]=[i,e],e.forEach(a),e.clear(),n=!1,s&amp;&amp;(s=!1,l.process(t))}};return l}(r),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:h,render:d,postRender:c}=o,p=()=&gt;{let r=tm.useManualTiming?s.timestamp:performance.now();i=!1,s.delta=n?1e3/60:Math.max(Math.min(r-s.timestamp,40),1),s.timestamp=r,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),h.process(s),d.process(s),c.process(s),s.isProcessing=!1,i&amp;&amp;e&amp;&amp;(n=!1,t(p))},m=()=&gt;{i=!0,n=!0,s.isProcessing||t(p)};return{schedule:tf.reduce((t,e)=&gt;{let n=o[e];return t[e]=(t,e=!1,s=!1)=&gt;(i||m(),n.schedule(t,e,s)),t},{}),cancel:t=&gt;{for(let e=0;e&lt;tf.length;e++)o[tf[e]].cancel(t)},state:s,steps:o}}let{schedule:tg,cancel:ty,state:tx,steps:tw}=tv("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tl,!0);function tP(){n=void 0}let tT={now:()=&gt;(void 0===n&amp;&amp;tT.set(tx.isProcessing||tm.useManualTiming?tx.timestamp:performance.now()),n),set:t=&gt;{n=t,queueMicrotask(tP)}};function tb(t,e){-1===t.indexOf(e)&amp;&amp;t.push(e)}function tS(t,e){let i=t.indexOf(e);i&gt;-1&amp;&amp;t.splice(i,1)}class tA{constructor(){this.subscriptions=[]}add(t){return tb(this.subscriptions,t),()=&gt;tS(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s&lt;n;s++){let n=this.subscriptions[s];n&amp;&amp;n(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let tE=t=&gt;!isNaN(parseFloat(t)),tM={current:void 0};class tV{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=&gt;{let i=tT.now();this.updatedAt!==i&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){this.current=t,this.updatedAt=tT.now(),null===this.canTrackVelocity&amp;&amp;void 0!==t&amp;&amp;(this.canTrackVelocity=tE(this.current))}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 tA);let i=this.events[t].add(e);return"change"===t?()=&gt;{i(),tg.read(()=&gt;{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let 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,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}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 tM.current&amp;&amp;tM.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=tT.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt&gt;30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}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 tC(t,e){return new tV(t,e)}let tD=t=&gt;!!(t&amp;&amp;t.getVelocity);function tR(t,e){let i=t.getValue("willChange");if(tD(i)&amp;&amp;i.add)return i.add(e)}let tk=t=&gt;t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tj="data-"+tk("framerAppearId"),tL={current:!1},tF=(t,e,i)=&gt;(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tB(t,e,i,n){if(t===e&amp;&amp;i===n)return tl;let s=e=&gt;(function(t,e,i,n,s){let r,o;let a=0;do(r=tF(o=e+(i-e)/2,n,s)-t)&gt;0?i=o:e=o;while(Math.abs(r)&gt;1e-7&amp;&amp;++a&lt;12);return o})(e,0,1,t,i);return t=&gt;0===t||1===t?t:tF(s(t),e,n)}let tO=t=&gt;e=&gt;e&lt;=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tI=t=&gt;e=&gt;1-t(1-e),tU=tB(.33,1.53,.69,.99),tN=tI(tU),t$=tO(tN),tW=t=&gt;(t*=2)&lt;1?.5*tN(t):.5*(2-Math.pow(2,-10*(t-1))),tz=t=&gt;1-Math.sin(Math.acos(t)),tH=tI(tz),tY=tO(tz),tX=t=&gt;/^0[^.\s]+$/u.test(t),tK=(t,e,i)=&gt;i&gt;e?e:i&lt;t?t:i,tq={test:t=&gt;"number"==typeof t,parse:parseFloat,transform:t=&gt;t},tG={...tq,transform:t=&gt;tK(0,1,t)},t_={...tq,default:1},tZ=t=&gt;Math.round(1e5*t)/1e5,tJ=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tQ=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,t0=(t,e)=&gt;i=&gt;!!("string"==typeof i&amp;&amp;tQ.test(i)&amp;&amp;i.startsWith(t)||e&amp;&amp;null!=i&amp;&amp;Object.prototype.hasOwnProperty.call(i,e)),t1=(t,e,i)=&gt;n=&gt;{if("string"!=typeof n)return n;let[s,r,o,a]=n.match(tJ);return{[t]:parseFloat(s),[e]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},t5=t=&gt;tK(0,255,t),t2={...tq,transform:t=&gt;Math.round(t5(t))},t3={test:t0("rgb","red"),parse:t1("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=&gt;"rgba("+t2.transform(t)+", "+t2.transform(e)+", "+t2.transform(i)+", "+tZ(tG.transform(n))+")"},t9={test:t0("#"),parse:function(t){let e="",i="",n="",s="";return t.length&gt;5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:t3.transform},t4=t=&gt;({test:e=&gt;"string"==typeof e&amp;&amp;e.endsWith(t)&amp;&amp;1===e.split(" ").length,parse:parseFloat,transform:e=&gt;`${e}${t}`}),t6=t4("deg"),t8=t4("%"),t7=t4("px"),et=t4("vh"),ee=t4("vw"),ei={...t8,parse:t=&gt;t8.parse(t)/100,transform:t=&gt;t8.transform(100*t)},en={test:t0("hsl","hue"),parse:t1("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=&gt;"hsla("+Math.round(t)+", "+t8.transform(tZ(e))+", "+t8.transform(tZ(i))+", "+tZ(tG.transform(n))+")"},es={test:t=&gt;t3.test(t)||t9.test(t)||en.test(t),parse:t=&gt;t3.test(t)?t3.parse(t):en.test(t)?en.parse(t):t9.parse(t),transform:t=&gt;"string"==typeof t?t:t.hasOwnProperty("red")?t3.transform(t):en.transform(t)},er=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eo="number",ea="color",el=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function eu(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],r=0,o=e.replace(el,t=&gt;(es.test(t)?(n.color.push(r),s.push(ea),i.push(es.parse(t))):t.startsWith("var(")?(n.var.push(r),s.push("var"),i.push(t)):(n.number.push(r),s.push(eo),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:o,indexes:n,types:s}}function eh(t){return eu(t).values}function ed(t){let{split:e,types:i}=eu(t),n=e.length;return t=&gt;{let s="";for(let r=0;r&lt;n;r++)if(s+=e[r],void 0!==t[r]){let e=i[r];e===eo?s+=tZ(t[r]):e===ea?s+=es.transform(t[r]):s+=t[r]}return s}}let ec=t=&gt;"number"==typeof t?0:t,ep={test:function(t){var e,i;return isNaN(t)&amp;&amp;"string"==typeof t&amp;&amp;((null===(e=t.match(tJ))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(er))||void 0===i?void 0:i.length)||0)&gt;0},parse:eh,createTransformer:ed,getAnimatableNone:function(t){let e=eh(t);return ed(t)(e.map(ec))}},em=new Set(["brightness","contrast","saturate","opacity"]);function ef(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(tJ)||[];if(!n)return t;let s=i.replace(n,""),r=em.has(e)?1:0;return n!==i&amp;&amp;(r*=100),e+"("+r+s+")"}let ev=/\b([a-z-]*)\(.*?\)/gu,eg={...ep,getAnimatableNone:t=&gt;{let e=t.match(ev);return e?e.map(ef).join(" "):t}},ey={...tq,transform:Math.round},ex={borderWidth:t7,borderTopWidth:t7,borderRightWidth:t7,borderBottomWidth:t7,borderLeftWidth:t7,borderRadius:t7,radius:t7,borderTopLeftRadius:t7,borderTopRightRadius:t7,borderBottomRightRadius:t7,borderBottomLeftRadius:t7,width:t7,maxWidth:t7,height:t7,maxHeight:t7,top:t7,right:t7,bottom:t7,left:t7,padding:t7,paddingTop:t7,paddingRight:t7,paddingBottom:t7,paddingLeft:t7,margin:t7,marginTop:t7,marginRight:t7,marginBottom:t7,marginLeft:t7,backgroundPositionX:t7,backgroundPositionY:t7,rotate:t6,rotateX:t6,rotateY:t6,rotateZ:t6,scale:t_,scaleX:t_,scaleY:t_,scaleZ:t_,skew:t6,skewX:t6,skewY:t6,distance:t7,translateX:t7,translateY:t7,translateZ:t7,x:t7,y:t7,z:t7,perspective:t7,transformPerspective:t7,opacity:tG,originX:ei,originY:ei,originZ:t7,zIndex:ey,size:t7,fillOpacity:tG,strokeOpacity:tG,numOctaves:ey},ew={...ex,color:es,backgroundColor:es,outlineColor:es,fill:es,stroke:es,borderColor:es,borderTopColor:es,borderRightColor:es,borderBottomColor:es,borderLeftColor:es,filter:eg,WebkitFilter:eg},eP=t=&gt;ew[t];function eT(t,e){let i=eP(t);return i!==eg&amp;&amp;(i=ep),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let eb=new Set(["auto","none","0"]),eS=t=&gt;t===tq||t===t7,eA=(t,e)=&gt;parseFloat(t.split(", ")[e]),eE=(t,e)=&gt;(i,{transform:n})=&gt;{if("none"===n||!n)return 0;let s=n.match(/^matrix3d\((.+)\)$/u);if(s)return eA(s[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?eA(e[1],t):0}},eM=new Set(["x","y","z"]),eV=tu.filter(t=&gt;!eM.has(t)),eC={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=&gt;t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=&gt;t.max-t.min-parseFloat(e)-parseFloat(i),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:eE(4,13),y:eE(5,14)};eC.translateX=eC.x,eC.translateY=eC.y;let eD=new Set,eR=!1,ek=!1;function ej(){if(ek){let t=Array.from(eD).filter(t=&gt;t.needsMeasurement),e=new Set(t.map(t=&gt;t.element)),i=new Map;e.forEach(t=&gt;{let e=function(t){let e=[];return eV.forEach(i=&gt;{let n=t.getValue(i);void 0!==n&amp;&amp;(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}(t);e.length&amp;&amp;(i.set(t,e),t.render())}),t.forEach(t=&gt;t.measureInitialState()),e.forEach(t=&gt;{t.render();let e=i.get(t);e&amp;&amp;e.forEach(([e,i])=&gt;{var n;null===(n=t.getValue(e))||void 0===n||n.set(i)})}),t.forEach(t=&gt;t.measureEndState()),t.forEach(t=&gt;{void 0!==t.suspendedScrollY&amp;&amp;window.scrollTo(0,t.suspendedScrollY)})}ek=!1,eR=!1,eD.forEach(t=&gt;t.complete()),eD.clear()}function eL(){eD.forEach(t=&gt;{t.readKeyframes(),t.needsMeasurement&amp;&amp;(ek=!0)})}class eF{constructor(t,e,i,n,s,r=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}scheduleResolve(){this.isScheduled=!0,this.isAsync?(eD.add(this),eR||(eR=!0,tg.read(eL),tg.resolveKeyframes(ej))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let s=0;s&lt;t.length;s++)if(null===t[s]){if(0===s){let s=null==n?void 0:n.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&amp;&amp;e){let n=i.readValue(e,r);null!=n&amp;&amp;(t[0]=n)}void 0===t[0]&amp;&amp;(t[0]=r),n&amp;&amp;void 0===s&amp;&amp;n.set(t[0])}else t[s]=t[s-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),eD.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,eD.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let eB=t=&gt;/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),eO=t=&gt;e=&gt;"string"==typeof e&amp;&amp;e.startsWith(t),eI=eO("--"),eU=eO("var(--"),eN=t=&gt;!!eU(t)&amp;&amp;e$.test(t.split("/*")[0].trim()),e$=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,eW=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ez=t=&gt;e=&gt;e.test(t),eH=[tq,t7,t8,t6,ee,et,{test:t=&gt;"auto"===t,parse:t=&gt;t}],eY=t=&gt;eH.find(ez(t));class eX extends eF{constructor(t,e,i,n,s){super(t,e,i,n,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i&lt;t.length;i++){let n=t[i];if("string"==typeof n&amp;&amp;eN(n=n.trim())){let s=function t(e,i,n=1){tl(n&lt;=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[s,r]=function(t){let e=eW.exec(t);if(!e)return[,];let[,i,n,s]=e;return[`--${null!=i?i:n}`,s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return eB(t)?parseFloat(t):t}return eN(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&amp;&amp;(t[i]=s),i===t.length-1&amp;&amp;(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!td.has(i)||2!==t.length)return;let[n,s]=t,r=eY(n),o=eY(s);if(r!==o){if(eS(r)&amp;&amp;eS(o))for(let e=0;e&lt;t.length;e++){let i=t[e];"string"==typeof i&amp;&amp;(t[e]=parseFloat(i))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e&lt;t.length;e++){var n;("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||tX(n))&amp;&amp;i.push(e)}i.length&amp;&amp;function(t,e,i){let n,s=0;for(;s&lt;t.length&amp;&amp;!n;){let e=t[s];"string"==typeof e&amp;&amp;!eb.has(e)&amp;&amp;eu(e).values.length&amp;&amp;(n=t[s]),s++}if(n&amp;&amp;i)for(let s of e)t[s]=eT(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&amp;&amp;(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eC[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&amp;&amp;t.getValue(i,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let s=e.getValue(i);s&amp;&amp;s.jump(this.measuredOrigin,!1);let r=n.length-1,o=n[r];n[r]=eC[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&amp;&amp;void 0===this.finalKeyframe&amp;&amp;(this.finalKeyframe=o),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&amp;&amp;this.removedTransforms.forEach(([t,i])=&gt;{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let eK=(t,e)=&gt;"zIndex"!==e&amp;&amp;!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&amp;&amp;(ep.test(t)||"0"===t)&amp;&amp;!t.startsWith("url(")),eq=t=&gt;null!==t;function eG(t,{repeat:e,repeatType:i="loop"},n){let s=t.filter(eq),r=e&amp;&amp;"loop"!==i&amp;&amp;e%2==1?0:s.length-1;return r&amp;&amp;void 0!==n?n:s[r]}class e_{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=tT.now(),this.options={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,...o},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||(eL(),ej()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=tT.now(),this.hasAttemptedResolve=!0;let{name:i,type:n,velocity:s,delay:r,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&amp;&amp;!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=eK(s,e),a=eK(r,e);return tl(o===a,`You are trying to animate ${e} from "${s}" to "${r}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${r} via the \`style\` property.`),!!o&amp;&amp;!!a&amp;&amp;(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i&lt;t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||$(i))&amp;&amp;n)}(t,i,n,s)){if(tL.current||!r){a&amp;&amp;a(eG(t,this.options,e)),o&amp;&amp;o(),this.resolveFinishedPromise();return}this.options.duration=0}let 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)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=&gt;{this.resolveFinishedPromise=t})}}let eZ=(t,e,i)=&gt;t+(e-t)*i;function eJ(t,e,i){return(i&lt;0&amp;&amp;(i+=1),i&gt;1&amp;&amp;(i-=1),i&lt;1/6)?t+(e-t)*6*i:i&lt;.5?e:i&lt;2/3?t+(e-t)*(2/3-i)*6:t}function eQ(t,e){return i=&gt;i&gt;0?e:t}let e0=(t,e,i)=&gt;{let n=t*t,s=i*(e*e-n)+n;return s&lt;0?0:Math.sqrt(s)},e1=[t9,t3,en],e5=t=&gt;e1.find(e=&gt;e.test(t));function e2(t){let e=e5(t);if(tl(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===en&amp;&amp;(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let s=0,r=0,o=0;if(e/=100){let n=i&lt;.5?i*(1+e):i+e-i*e,a=2*i-n;s=eJ(a,n,t+1/3),r=eJ(a,n,t),o=eJ(a,n,t-1/3)}else s=r=o=i;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*o),alpha:n}}(i)),i}let e3=(t,e)=&gt;{let i=e2(t),n=e2(e);if(!i||!n)return eQ(t,e);let s={...i};return t=&gt;(s.red=e0(i.red,n.red,t),s.green=e0(i.green,n.green,t),s.blue=e0(i.blue,n.blue,t),s.alpha=eZ(i.alpha,n.alpha,t),t3.transform(s))},e9=(t,e)=&gt;i=&gt;e(t(i)),e4=(...t)=&gt;t.reduce(e9),e6=new Set(["none","hidden"]);function e8(t,e){return i=&gt;eZ(t,e,i)}function e7(t){return"number"==typeof t?e8:"string"==typeof t?eN(t)?eQ:es.test(t)?e3:ii:Array.isArray(t)?it:"object"==typeof t?es.test(t)?e3:ie:eQ}function it(t,e){let i=[...t],n=i.length,s=t.map((t,i)=&gt;e7(t)(t,e[i]));return t=&gt;{for(let e=0;e&lt;n;e++)i[e]=s[e](t);return i}}function ie(t,e){let i={...t,...e},n={};for(let s in i)void 0!==t[s]&amp;&amp;void 0!==e[s]&amp;&amp;(n[s]=e7(t[s])(t[s],e[s]));return t=&gt;{for(let e in n)i[e]=n[e](t);return i}}let ii=(t,e)=&gt;{let i=ep.createTransformer(e),n=eu(t),s=eu(e);return n.indexes.var.length===s.indexes.var.length&amp;&amp;n.indexes.color.length===s.indexes.color.length&amp;&amp;n.indexes.number.length&gt;=s.indexes.number.length?e6.has(t)&amp;&amp;!s.values.length||e6.has(e)&amp;&amp;!n.values.length?e6.has(t)?i=&gt;i&lt;=0?t:e:i=&gt;i&gt;=1?e:t:e4(it(function(t,e){var i;let n=[],s={color:0,var:0,number:0};for(let r=0;r&lt;e.values.length;r++){let o=e.types[r],a=t.indexes[o][s[o]],l=null!==(i=t.values[a])&amp;&amp;void 0!==i?i:0;n[r]=l,s[o]++}return n}(n,s),s.values),i):(tl(!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.`),eQ(t,e))};function is(t,e,i){return"number"==typeof t&amp;&amp;"number"==typeof e&amp;&amp;"number"==typeof i?eZ(t,e,i):e7(t)(t,e)}function ir(t,e,i){var n,s;let r=Math.max(e-5,0);return n=i-t(r),(s=e-r)?1e3/s*n:0}let io={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function ia(t,e){return t*Math.sqrt(1-e*e)}let il=["duration","bounce"],iu=["stiffness","damping","mass"];function ih(t,e){return e.some(e=&gt;void 0!==t[e])}function id(t=io.visualDuration,e=io.bounce){let i;let n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:s,restDelta:r}=n,o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:d,duration:c,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:io.velocity,stiffness:io.stiffness,damping:io.damping,mass:io.mass,isResolvedFromDuration:!1,...t};if(!ih(t,iu)&amp;&amp;ih(t,il)){if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*tK(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:io.mass,stiffness:n,damping:s}}else{let i=function({duration:t=io.duration,bounce:e=io.bounce,velocity:i=io.velocity,mass:n=io.mass}){let s,r;tl(t&lt;=U(io.maxDuration),"Spring duration must be 10 seconds or less");let o=1-e;o=tK(io.minDamping,io.maxDamping,o),t=tK(io.minDuration,io.maxDuration,N(t)),o&lt;1?(s=e=&gt;{let n=e*o,s=n*t;return .001-(n-i)/ia(e,o)*Math.exp(-s)},r=e=&gt;{let n=e*o*t,r=Math.pow(o,2)*Math.pow(e,2)*t,a=ia(Math.pow(e,2),o);return(n*i+i-r)*Math.exp(-n)*(-s(e)+.001&gt;0?-1:1)/a}):(s=e=&gt;-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=&gt;t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let n=i;for(let i=1;i&lt;12;i++)n-=t(n)/e(n);return n}(s,r,5/t);if(t=U(t),isNaN(a))return{stiffness:io.stiffness,damping:io.damping,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:io.mass}).isResolvedFromDuration=!0}}return e}({...n,velocity:-N(n.velocity||0)}),f=p||0,v=h/(2*Math.sqrt(u*d)),g=a-o,y=N(Math.sqrt(u/d)),x=5&gt;Math.abs(g);if(s||(s=x?io.restSpeed.granular:io.restSpeed.default),r||(r=x?io.restDelta.granular:io.restDelta.default),v&lt;1){let t=ia(y,v);i=e=&gt;a-Math.exp(-v*y*e)*((f+v*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}else if(1===v)i=t=&gt;a-Math.exp(-y*t)*(g+(f+y*g)*t);else{let t=y*Math.sqrt(v*v-1);i=e=&gt;{let i=Math.exp(-v*y*e),n=Math.min(t*e,300);return a-i*((f+v*y*g)*Math.sinh(n)+t*g*Math.cosh(n))/t}}let w={calculatedDuration:m&amp;&amp;c||null,next:t=&gt;{let e=i(t);if(m)l.done=t&gt;=c;else{let n=0;v&lt;1&amp;&amp;(n=0===t?U(f):ir(i,t,e));let o=Math.abs(n)&lt;=s,u=Math.abs(a-e)&lt;=r;l.done=o&amp;&amp;u}return l.value=l.done?a:e,l},toString:()=&gt;{let t=Math.min(I(w),2e4),e=K(e=&gt;w.next(t*e).value,t,30);return t+"ms "+e}};return w}function ic({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,c;let p=t[0],m={done:!1,value:p},f=t=&gt;void 0!==a&amp;&amp;t&lt;a||void 0!==l&amp;&amp;t&gt;l,v=t=&gt;void 0===a?l:void 0===l?a:Math.abs(a-t)&lt;Math.abs(l-t)?a:l,g=i*e,y=p+g,x=void 0===o?y:o(y);x!==y&amp;&amp;(g=x-p);let w=t=&gt;-g*Math.exp(-t/n),P=t=&gt;x+w(t),T=t=&gt;{let e=w(t),i=P(t);m.done=Math.abs(e)&lt;=u,m.value=m.done?x:i},b=t=&gt;{f(m.value)&amp;&amp;(d=t,c=id({keyframes:[m.value,v(m.value)],velocity:ir(P,t,m.value),damping:s,stiffness:r,restDelta:u,restSpeed:h}))};return b(0),{calculatedDuration:null,next:t=&gt;{let e=!1;return(c||void 0!==d||(e=!0,T(t),b(t)),void 0!==d&amp;&amp;t&gt;=d)?c.next(t-d):(e||T(t),m)}}}let ip=tB(.42,0,1,1),im=tB(0,0,.58,1),iv=tB(.42,0,.58,1),ig=t=&gt;Array.isArray(t)&amp;&amp;"number"!=typeof t[0],iy={linear:tl,easeIn:ip,easeInOut:iv,easeOut:im,circIn:tz,circInOut:tY,circOut:tH,backIn:tN,backInOut:t$,backOut:tU,anticipate:tW},ix=t=&gt;{if(z(t)){tl(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,s]=t;return tB(e,i,n,s)}return"string"==typeof t?(tl(void 0!==iy[t],`Invalid easing type '${t}'`),iy[t]):t};function iw(t,e){let i=t[t.length-1];for(let n=1;n&lt;=e;n++){let s=X(0,e,n);t.push(eZ(i,1,s))}}function iP(t){let e=[0];return iw(e,t.length-1),e}function iT({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let s=ig(n)?n.map(ix):ix(n),r={done:!1,value:e[0]},o=function(t,e,{clamp:i=!0,ease:n,mixer:s}={}){let r=t.length;if(tl(r===e.length,"Both input and output ranges must be the same length"),1===r)return()=&gt;e[0];if(2===r&amp;&amp;e[0]===e[1])return()=&gt;e[1];let o=t[0]===t[1];t[0]&gt;t[r-1]&amp;&amp;(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],s=i||is,r=t.length-1;for(let i=0;i&lt;r;i++){let r=s(t[i],t[i+1]);e&amp;&amp;(r=e4(Array.isArray(e)?e[i]||tl:e,r)),n.push(r)}return n}(e,n,s),l=a.length,u=i=&gt;{if(o&amp;&amp;i&lt;t[0])return e[0];let n=0;if(l&gt;1)for(;n&lt;t.length-2&amp;&amp;!(i&lt;t[n+1]);n++);let s=X(t[n],t[n+1],i);return a[n](s)};return i?e=&gt;u(tK(t[0],t[r-1],e)):u}((i&amp;&amp;i.length===e.length?i:iP(e)).map(e=&gt;e*t),e,{ease:Array.isArray(s)?s:e.map(()=&gt;s||iv).splice(0,e.length-1)});return{calculatedDuration:t,next:e=&gt;(r.value=o(e),r.done=e&gt;=t,r)}}let ib=t=&gt;{let e=({timestamp:e})=&gt;t(e);return{start:()=&gt;tg.update(e,!0),stop:()=&gt;ty(e),now:()=&gt;tx.isProcessing?tx.timestamp:tT.now()}},iS={decay:ic,inertia:ic,tween:iT,keyframes:iT,spring:id},iA=t=&gt;t/100;class iE extends e_{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();let{onStop:t}=this.options;t&amp;&amp;t()};let{name:e,motionValue:i,element:n,keyframes:s}=this.options,r=(null==n?void 0:n.KeyframeResolver)||eF;this.resolver=new r(s,(t,e)=&gt;this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&amp;&amp;Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i;let{type:n="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:o,velocity:a=0}=this.options,l=$(n)?n:iS[n]||iT;l!==iT&amp;&amp;"number"!=typeof t[0]&amp;&amp;(e=e4(iA,is(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&amp;&amp;(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&amp;&amp;(u.calculatedDuration=I(u));let{calculatedDuration:h}=u,d=h+r;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:d,totalDuration:d*(s+1)-r}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&amp;&amp;t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:s,mirroredGenerator:r,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return s.next(0);let{delay:d,repeat:c,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;let v=this.currentTime-d*(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(c){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&amp;&amp;t&gt;=1&amp;&amp;(i=1),1===i&amp;&amp;e--,(e=Math.min(e,c+1))%2&amp;&amp;("reverse"===p?(i=1-i,m&amp;&amp;(i-=m/h)):"mirror"===p&amp;&amp;(x=r)),y=tK(0,1,i)*h}let w=g?{done:!1,value:a[0]}:x.next(y);o&amp;&amp;(w.value=o(w.value));let{done:P}=w;g||null===l||(P=this.speed&gt;=0?this.currentTime&gt;=u:this.currentTime&lt;=0);let T=null===this.holdTime&amp;&amp;("finished"===this.state||"running"===this.state&amp;&amp;P);return T&amp;&amp;void 0!==n&amp;&amp;(w.value=eG(a,this.options,n)),f&amp;&amp;f(w.value),T&amp;&amp;this.finish(),w}get duration(){let{resolved:t}=this;return t?N(t.calculatedDuration):0}get time(){return N(this.currentTime)}set time(t){t=U(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){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&amp;&amp;(this.time=N(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=ib,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=&gt;this.tick(t))),e&amp;&amp;e();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&amp;&amp;(this.startTime=n):this.startTime=null!=i?i: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;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&amp;&amp;void 0!==t?t:0}complete(){"running"!==this.state&amp;&amp;this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{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)}}let iM=new Set(["opacity","clipPath","filter","transform"]),iV=j(()=&gt;Object.hasOwnProperty.call(Element.prototype,"animate")),iC={anticipate:tW,backInOut:t$,circInOut:tY};class iD extends e_{constructor(t){super(t);let{name:e,motionValue:i,element:n,keyframes:s}=this.options;this.resolver=new eX(s,(t,e)=&gt;this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:n=300,times:s,ease:r,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof r&amp;&amp;Y()&amp;&amp;r in iC&amp;&amp;(r=iC[r]),$((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&amp;&amp;Y()||!e||"string"==typeof e&amp;&amp;(e in G||Y())||z(e)||Array.isArray(e)&amp;&amp;e.every(t))}(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new iE({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},s=[],r=0;for(;!n.done&amp;&amp;r&lt;2e4;)s.push((n=i.sample(r)).value),r+=10;return{times:void 0,keyframes:s,duration:r-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&amp;&amp;(t[1]=t[0]),n=h.duration,s=h.times,r=h.ease,o="keyframes"}let h=function(t,e,i,{delay:n=0,duration:s=300,repeat:r=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&amp;&amp;(u.offset=l);let h=function t(e,i){if(e)return"function"==typeof e&amp;&amp;Y()?K(e,i):z(e)?q(e):Array.isArray(e)?e.map(e=&gt;t(e,i)||G.easeOut):G[e]}(a,s);return Array.isArray(h)&amp;&amp;(u.easing=h),t.animate(u,{delay:n,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:n,times:s,ease:r});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(W(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=&gt;{let{onComplete:i}=this.options;a.set(eG(t,this.options,e)),i&amp;&amp;i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:n,times:s,type:o,ease:r,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return N(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return N(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=U(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return tl;let{animation:i}=e;W(i,t)}else this.pendingTimeline=t;return tl}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&amp;&amp;this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:n,type:s,ease:r,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new iE({...u,keyframes:i,duration:n,type:s,ease:r,times:o,isGenerator:!0}),d=U(this.time);t.setWithVelocity(h.sample(d-10).value,h.sample(d).value,10)}let{onStop:a}=this.options;a&amp;&amp;a(),this.cancel()}complete(){let{resolved:t}=this;t&amp;&amp;t.animation.finish()}cancel(){let{resolved:t}=this;t&amp;&amp;t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:s,damping:r,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return iV()&amp;&amp;i&amp;&amp;iM.has(i)&amp;&amp;!a&amp;&amp;!l&amp;&amp;!n&amp;&amp;"mirror"!==s&amp;&amp;0!==r&amp;&amp;"inertia"!==o}}let iR={type:"spring",stiffness:500,damping:25,restSpeed:10},ik=t=&gt;({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),ij={type:"keyframes",duration:.8},iL={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},iF=(t,{keyframes:e})=&gt;e.length&gt;2?ij:th.has(t)?t.startsWith("scale")?ik(e[1]):iR:iL,iB=(t,e,i,n={},s,r)=&gt;o=&gt;{let a=O(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=U(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=&gt;{e.set(t),a.onUpdate&amp;&amp;a.onUpdate(t)},onComplete:()=&gt;{o(),a.onComplete&amp;&amp;a.onComplete()},name:t,motionValue:e,element:r?void 0:s};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:s,repeat:r,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&amp;&amp;(h={...h,...iF(t,h)}),h.duration&amp;&amp;(h.duration=U(h.duration)),h.repeatDelay&amp;&amp;(h.repeatDelay=U(h.repeatDelay)),void 0!==h.from&amp;&amp;(h.keyframes[0]=h.from);let d=!1;if(!1!==h.type&amp;&amp;(0!==h.duration||h.repeatDelay)||(h.duration=0,0!==h.delay||(d=!0)),(tL.current||tm.skipAnimations)&amp;&amp;(d=!0,h.duration=0,h.delay=0),d&amp;&amp;!r&amp;&amp;void 0!==e.get()){let t=eG(h.keyframes,a);if(void 0!==t)return tg.update(()=&gt;{h.onUpdate(t),h.onComplete()}),new B([])}return!r&amp;&amp;iD.supports(h)?new iD(h):new iE(h)};function iO(t,e,{delay:i=0,transitionOverride:n,type:s}={}){var r;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;n&amp;&amp;(o=n);let u=[],h=s&amp;&amp;t.animationState&amp;&amp;t.animationState.getState()[s];for(let e in l){let n=t.getValue(e,null!==(r=t.latestValues[e])&amp;&amp;void 0!==r?r:null),s=l[e];if(void 0===s||h&amp;&amp;function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&amp;&amp;!0!==e[i];return e[i]=!1,n}(h,e))continue;let a={delay:i,...O(o||{},e)},d=!1;if(window.MotionHandoffAnimation){let i=t.props[tj];if(i){let t=window.MotionHandoffAnimation(i,e,tg);null!==t&amp;&amp;(a.startTime=t,d=!0)}}tR(t,e),n.start(iB(e,n,s,t.shouldReduceMotion&amp;&amp;td.has(e)?{type:!1}:a,t,d));let c=n.animation;c&amp;&amp;u.push(c)}return a&amp;&amp;Promise.all(u).then(()=&gt;{tg.update(()=&gt;{a&amp;&amp;function(t,e){let{transitionEnd:i={},transition:n={},...s}=D(t,e)||{};for(let e in s={...s,...i}){let i=tp(s[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,tC(i))}}(t,a)})}),u}function iI(t,e,i={}){var n;let s=D(t,e,"exit"===i.type?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&amp;&amp;(r=i.transitionOverride);let o=s?()=&gt;Promise.all(iO(t,s,i)):()=&gt;Promise.resolve(),a=t.variantChildren&amp;&amp;t.variantChildren.size?(n=0)=&gt;{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,s=1,r){let o=[],a=(t.variantChildren.size-1)*n,l=1===s?(t=0)=&gt;t*n:(t=0)=&gt;a-t*n;return Array.from(t.variantChildren).sort(iU).forEach((t,n)=&gt;{t.notify("AnimationStart",e),o.push(iI(t,e,{...r,delay:i+l(n)}).then(()=&gt;t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+n,o,a,i)}:()=&gt;Promise.resolve(),{when:l}=r;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=&gt;e())}}function iU(t,e){return t.sortNodePosition(e)}let iN=k.length,i$=[...R].reverse(),iW=R.length;function iz(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function iH(){return{animate:iz(!0),whileInView:iz(),whileHover:iz(),whileTap:iz(),whileDrag:iz(),whileFocus:iz(),exit:iz()}}class iY{constructor(t){this.isMounted=!1,this.node=t}update(){}}class iX extends iY{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=&gt;Promise.all(e.map(({animation:e,options:i})=&gt;(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=&gt;iI(t,e,i)));else if("string"==typeof e)n=iI(t,e,i);else{let s="function"==typeof e?D(t,e,i.custom):e;n=Promise.all(iO(t,s,i))}return n.then(()=&gt;{t.notify("AnimationComplete",e)})})(t,e,i))),i=iH(),n=!0,s=e=&gt;(i,n)=&gt;{var s;let r=D(t,n,"exit"===e?null===(s=t.presenceContext)||void 0===s?void 0:s.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function r(r){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&amp;&amp;t(e.parent)||{};return void 0!==e.props.initial&amp;&amp;(i.initial=e.props.initial),i}let i={};for(let t=0;t&lt;iN;t++){let n=k[t],s=e.props[n];(M(s)||!1===s)&amp;&amp;(i[n]=s)}return i}(t.parent)||{},l=[],u=new Set,h={},d=1/0;for(let e=0;e&lt;iW;e++){var c;let p=i$[e],m=i[p],f=void 0!==o[p]?o[p]:a[p],v=M(f),g=p===r?m.isActive:null;!1===g&amp;&amp;(d=e);let y=f===a[p]&amp;&amp;f!==o[p]&amp;&amp;v;if(y&amp;&amp;n&amp;&amp;t.manuallyAnimateOnMount&amp;&amp;(y=!1),m.protectedKeys={...h},!m.isActive&amp;&amp;null===g||!f&amp;&amp;!m.prevProp||S(f)||"boolean"==typeof f)continue;let x=(c=m.prevProp,"string"==typeof f?f!==c:!!Array.isArray(f)&amp;&amp;!E(f,c)),w=x||p===r&amp;&amp;m.isActive&amp;&amp;!y&amp;&amp;v||e&gt;d&amp;&amp;v,P=!1,T=Array.isArray(f)?f:[f],b=T.reduce(s(p),{});!1===g&amp;&amp;(b={});let{prevResolvedValues:V={}}=m,C={...V,...b},D=e=&gt;{w=!0,u.has(e)&amp;&amp;(P=!0,u.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);i&amp;&amp;(i.liveStyle=!1)};for(let t in C){let e=b[t],i=V[t];if(!h.hasOwnProperty(t))(A(e)&amp;&amp;A(i)?E(e,i):e===i)?void 0!==e&amp;&amp;u.has(t)?D(t):m.protectedKeys[t]=!0:null!=e?D(t):u.add(t)}m.prevProp=f,m.prevResolvedValues=b,m.isActive&amp;&amp;(h={...h,...b}),n&amp;&amp;t.blockInitialAnimation&amp;&amp;(w=!1);let R=!(y&amp;&amp;x)||P;w&amp;&amp;R&amp;&amp;l.push(...T.map(t=&gt;({animation:t,options:{type:p}})))}if(u.size){let e={};u.forEach(i=&gt;{let n=t.getBaseTarget(i),s=t.getValue(i);s&amp;&amp;(s.liveStyle=!0),e[i]=null!=n?n:null}),l.push({animation:e})}let p=!!l.length;return n&amp;&amp;(!1===o.initial||o.initial===o.animate)&amp;&amp;!t.manuallyAnimateOnMount&amp;&amp;(p=!1),n=!1,p?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,n){var s;if(i[e].isActive===n)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=&gt;{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let o=r(e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=&gt;i,reset:()=&gt;{i=iH(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();S(t)&amp;&amp;(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{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)}}let iK=0;class iq extends iY{constructor(){super(...arguments),this.id=iK++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&amp;&amp;!t&amp;&amp;n.then(()=&gt;e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&amp;&amp;(this.unmount=t(this.id))}unmount(){}}function iG(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=&gt;t.removeEventListener(e,i)}function i_(t){return{point:{x:t.pageX,y:t.pageY}}}let iZ=t=&gt;e=&gt;te(e)&amp;&amp;t(e,i_(e));function iJ(t,e,i,n){return iG(t,e,iZ(i),n)}let iQ=(t,e)=&gt;Math.abs(t-e);class i0{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=&gt;{var t,e;if(!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;let i=i2(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(iQ(t.x,e.x)**2+iQ(t.y,e.y)**2)&gt;=3);if(!n&amp;&amp;!s)return;let{point:r}=i,{timestamp:o}=tx;this.history.push({...r,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&amp;&amp;a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&amp;&amp;l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=&gt;{this.lastMoveEvent=t,this.lastMoveEventInfo=i1(e,this.transformPagePoint),tg.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=&gt;{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&amp;&amp;s&amp;&amp;s(),!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;let r=i2("pointercancel"===t.type?this.lastMoveEventInfo:i1(e,this.transformPagePoint),this.history);this.startEvent&amp;&amp;i&amp;&amp;i(t,r),n&amp;&amp;n(t,r)},!te(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let r=i1(i_(t),this.transformPagePoint),{point:o}=r,{timestamp:a}=tx;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&amp;&amp;l(t,i2(r,this.history)),this.removeListeners=e4(iJ(this.contextWindow,"pointermove",this.handlePointerMove),iJ(this.contextWindow,"pointerup",this.handlePointerUp),iJ(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&amp;&amp;this.removeListeners(),ty(this.updatePoint)}}function i1(t,e){return e?{point:e(t.point)}:t}function i5(t,e){return{x:t.x-e.x,y:t.y-e.y}}function i2({point:t},e){return{point:t,delta:i5(t,i3(e)),offset:i5(t,e[0]),velocity:function(t,e){if(t.length&lt;2)return{x:0,y:0};let i=t.length-1,n=null,s=i3(t);for(;i&gt;=0&amp;&amp;(n=t[i],!(s.timestamp-n.timestamp&gt;U(.1)));)i--;if(!n)return{x:0,y:0};let r=N(s.timestamp-n.timestamp);if(0===r)return{x:0,y:0};let o={x:(s.x-n.x)/r,y:(s.y-n.y)/r};return o.x===1/0&amp;&amp;(o.x=0),o.y===1/0&amp;&amp;(o.y=0),o}(e,0)}}function i3(t){return t[t.length-1]}function i9(t){return t&amp;&amp;"object"==typeof t&amp;&amp;Object.prototype.hasOwnProperty.call(t,"current")}function i4(t){return t.max-t.min}function i6(t,e,i,n=.5){t.origin=n,t.originPoint=eZ(e.min,e.max,t.origin),t.scale=i4(i)/i4(e),t.translate=eZ(i.min,i.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 i8(t,e,i,n){i6(t.x,e.x,i.x,n?n.originX:void 0),i6(t.y,e.y,i.y,n?n.originY:void 0)}function i7(t,e,i){t.min=i.min+e.min,t.max=t.min+i4(e)}function nt(t,e,i){t.min=e.min-i.min,t.max=t.min+i4(e)}function ne(t,e,i){nt(t.x,e.x,i.x),nt(t.y,e.y,i.y)}function ni(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function nn(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min&lt;t.max-t.min&amp;&amp;([i,n]=[n,i]),{min:i,max:n}}function ns(t,e,i){return{min:nr(t,e),max:nr(t,i)}}function nr(t,e){return"number"==typeof t?t:t[e]||0}let no=()=&gt;({translate:0,scale:1,origin:0,originPoint:0}),na=()=&gt;({x:no(),y:no()}),nl=()=&gt;({min:0,max:0}),nu=()=&gt;({x:nl(),y:nl()});function nh(t){return[t("x"),t("y")]}function nd({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function nc(t){return void 0===t||1===t}function np({scale:t,scaleX:e,scaleY:i}){return!nc(t)||!nc(e)||!nc(i)}function nm(t){return np(t)||nf(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function nf(t){var e,i;return(e=t.x)&amp;&amp;"0%"!==e||(i=t.y)&amp;&amp;"0%"!==i}function nv(t,e,i,n,s){return void 0!==s&amp;&amp;(t=n+s*(t-n)),n+i*(t-n)+e}function ng(t,e=0,i=1,n,s){t.min=nv(t.min,e,i,n,s),t.max=nv(t.max,e,i,n,s)}function ny(t,{x:e,y:i}){ng(t.x,e.translate,e.scale,e.originPoint),ng(t.y,i.translate,i.scale,i.originPoint)}function nx(t,e){t.min=t.min+e,t.max=t.max+e}function nw(t,e,i,n,s=.5){let r=eZ(t.min,t.max,s);ng(t,e,i,r,n)}function nP(t,e){nw(t.x,e.x,e.scaleX,e.scale,e.originX),nw(t.y,e.y,e.scaleY,e.scale,e.originY)}function nT(t,e){return nd(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let nb=({current:t})=&gt;t?t.ownerDocument.defaultView:null,nS=new WeakMap;class nA{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nu(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&amp;&amp;!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new i0(t,{onSessionStart:t=&gt;{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&amp;&amp;this.snapToCursor(i_(t).point)},onStart:(t,e)=&gt;{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&amp;&amp;!n&amp;&amp;(this.openDragLock&amp;&amp;this.openDragLock(),this.openDragLock="x"===i||"y"===i?_[i]?null:(_[i]=!0,()=&gt;{_[i]=!1}):_.x||_.y?null:(_.x=_.y=!0,()=&gt;{_.x=_.y=!1}),!this.openDragLock))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),nh(t=&gt;{let e=this.getAxisMotionValue(t).get()||0;if(t8.test(e)){let{projection:i}=this.visualElement;if(i&amp;&amp;i.layout){let n=i.layout.layoutBox[t];if(n){let t=i4(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),s&amp;&amp;tg.postRender(()=&gt;s(t,e)),tR(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&amp;&amp;r.setActive("whileDrag",!0)},onMove:(t,e)=&gt;{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&amp;&amp;!this.openDragLock)return;let{offset:o}=e;if(n&amp;&amp;null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)&gt;e?i="y":Math.abs(t.x)&gt;e&amp;&amp;(i="x"),i}(o),null!==this.currentDirection&amp;&amp;s&amp;&amp;s(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),r&amp;&amp;r(t,e)},onSessionEnd:(t,e)=&gt;this.stop(t,e),resumeAnimation:()=&gt;nh(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:n,contextWindow:nb(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:s}=this.getProps();s&amp;&amp;tg.postRender(()=&gt;s(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&amp;&amp;(t.isAnimationBlocked=!1),this.panSession&amp;&amp;this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&amp;&amp;this.openDragLock&amp;&amp;(this.openDragLock(),this.openDragLock=null),e&amp;&amp;e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!nE(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&amp;&amp;this.constraints[t]&amp;&amp;(r=function(t,{min:e,max:i},n){return void 0!==e&amp;&amp;t&lt;e?t=n?eZ(e,t,n.min):Math.max(t,e):void 0!==i&amp;&amp;t&gt;i&amp;&amp;(t=n?eZ(i,t,n.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=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;i9(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&amp;&amp;n?this.constraints=function(t,{top:e,left:i,bottom:n,right:s}){return{x:ni(t.x,i,s),y:ni(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&amp;&amp;(t=.35),{x:ns(t,"left","right"),y:ns(t,"top","bottom")}}(i),s!==this.constraints&amp;&amp;n&amp;&amp;this.constraints&amp;&amp;!this.hasMutatedConstraints&amp;&amp;nh(t=&gt;{!1!==this.constraints&amp;&amp;this.getAxisMotionValue(t)&amp;&amp;(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&amp;&amp;(i.min=e.min-t.min),void 0!==e.max&amp;&amp;(i.max=e.max-t.min),i}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!i9(e))return!1;let n=e.current;tl(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let r=function(t,e,i){let n=nT(t,i),{scroll:s}=e;return s&amp;&amp;(nx(n.x,s.offset.x),nx(n.y,s.offset.y)),n}(n,s.root,this.visualElement.getTransformPagePoint()),o={x:nn((t=s.layout.layoutBox).x,r.x),y:nn(t.y,r.y)};if(i){let t=i(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=nd(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(nh(o=&gt;{if(!nE(o,e,this.currentDirection))return;let l=a&amp;&amp;a[o]||{};r&amp;&amp;(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return tR(this.visualElement,t),i.start(iB(t,i,0,e,this.visualElement,!1))}stopAnimation(){nh(t=&gt;this.getAxisMotionValue(t).stop())}pauseAnimation(){nh(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){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){nh(e=&gt;{let{drag:i}=this.getProps();if(!nE(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&amp;&amp;n.layout){let{min:i,max:r}=n.layout.layoutBox[e];s.set(t[e]-eZ(i,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!i9(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nh(t=&gt;{let e=this.getAxisMotionValue(t);if(e&amp;&amp;!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=i4(t),s=i4(e);return s&gt;n?i=X(e.min,e.max-n,t.min):n&gt;s&amp;&amp;(i=X(t.min,t.max-s,e.min)),tK(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&amp;&amp;i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),nh(e=&gt;{if(!nE(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set(eZ(s,r,n[e]))})}addListeners(){if(!this.visualElement.current)return;nS.set(this.visualElement,this);let t=iJ(this.visualElement.current,"pointerdown",t=&gt;{let{drag:e,dragListener:i=!0}=this.getProps();e&amp;&amp;i&amp;&amp;this.start(t)}),e=()=&gt;{let{dragConstraints:t}=this.getProps();i9(t)&amp;&amp;t.current&amp;&amp;(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&amp;&amp;!i.layout&amp;&amp;(i.root&amp;&amp;i.root.updateScroll(),i.updateLayout()),tg.read(e);let s=iG(window,"resize",()=&gt;this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=&gt;{this.isDragging&amp;&amp;e&amp;&amp;(nh(e=&gt;{let i=this.getAxisMotionValue(e);i&amp;&amp;(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=&gt;{s(),t(),n(),r&amp;&amp;r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:o}}}function nE(t,e,i){return(!0===e||e===t)&amp;&amp;(null===i||i===t)}class nM extends iY{constructor(t){super(t),this.removeGroupControls=tl,this.removeListeners=tl,this.controls=new nA(t)}mount(){let{dragControls:t}=this.node.getProps();t&amp;&amp;(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tl}unmount(){this.removeGroupControls(),this.removeListeners()}}let nV=t=&gt;(e,i)=&gt;{t&amp;&amp;tg.postRender(()=&gt;t(e,i))};class nC extends iY{constructor(){super(...arguments),this.removePointerDownListener=tl}onPointerDown(t){this.session=new i0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nb(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:nV(t),onStart:nV(e),onMove:i,onEnd:(t,e)=&gt;{delete this.session,n&amp;&amp;tg.postRender(()=&gt;n(t,e))}}}mount(){this.removePointerDownListener=iJ(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()}}let nD=(0,u.createContext)({}),nR={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nk(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let nj={correct:(t,e)=&gt;{if(!e.target)return t;if("string"==typeof t){if(!t7.test(t))return t;t=parseFloat(t)}let i=nk(t,e.target.x),n=nk(t,e.target.y);return`${i}% ${n}%`}},nL={},{schedule:nF,cancel:nB}=tv(queueMicrotask,!1);class nO extends u.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=t;Object.assign(nL,nU),s&amp;&amp;(e.group&amp;&amp;e.group.add(s),i&amp;&amp;i.register&amp;&amp;n&amp;&amp;i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=&gt;{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=&gt;this.safeToRemove()})),nR.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,r=i.projection;return r&amp;&amp;(r.isPresent=s,n||t.layoutDependency!==e||void 0===e?r.willUpdate():this.safeToRemove(),t.isPresent===s||(s?r.promote():r.relegate()||tg.postRender(()=&gt;{let t=r.getStack();t&amp;&amp;t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&amp;&amp;(t.root.didUpdate(),nF.postRender(()=&gt;{!t.currentAnimation&amp;&amp;t.isLead()&amp;&amp;this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&amp;&amp;(n.scheduleCheckAfterUnmount(),e&amp;&amp;e.group&amp;&amp;e.group.remove(n),i&amp;&amp;i.deregister&amp;&amp;i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&amp;&amp;t()}render(){return null}}function nI(t){let[e,i]=y(),n=(0,u.useContext)(h);return(0,l.jsx)(nO,{...t,layoutGroup:n,switchLayoutGroup:(0,u.useContext)(nD),isPresent:e,safeToRemove:i})}let nU={borderRadius:{...nj,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nj,borderTopRightRadius:nj,borderBottomLeftRadius:nj,borderBottomRightRadius:nj,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=&gt;{let n=ep.parse(t);if(n.length&gt;5)return t;let s=ep.createTransformer(t),r="number"!=typeof n[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+r]/=o,n[1+r]/=a;let l=eZ(o,a,.5);return"number"==typeof n[2+r]&amp;&amp;(n[2+r]/=l),"number"==typeof n[3+r]&amp;&amp;(n[3+r]/=l),s(n)}}};function nN(t,e,i){let n=tD(t)?t:tC(t);return n.start(iB("",n,e,i)),n.animation}function n$(t){return t instanceof SVGElement&amp;&amp;"svg"!==t.tagName}let nW=(t,e)=&gt;t.depth-e.depth;class nz{constructor(){this.children=[],this.isDirty=!1}add(t){tb(this.children,t),this.isDirty=!0}remove(t){tS(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&amp;&amp;this.children.sort(nW),this.isDirty=!1,this.children.forEach(t)}}function nH(t){let e=tD(t)?t.get():t;return tc(e)?e.toValue():e}let nY=["TopLeft","TopRight","BottomLeft","BottomRight"],nX=nY.length,nK=t=&gt;"string"==typeof t?parseFloat(t):t,nq=t=&gt;"number"==typeof t||t7.test(t);function nG(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let n_=nJ(0,.5,tH),nZ=nJ(.5,.95,tl);function nJ(t,e,i){return n=&gt;n&lt;t?0:n&gt;e?1:i(X(t,e,n))}function nQ(t,e){t.min=e.min,t.max=e.max}function n0(t,e){nQ(t.x,e.x),nQ(t.y,e.y)}function n1(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function n5(t,e,i,n,s){return t-=e,t=n+1/i*(t-n),void 0!==s&amp;&amp;(t=n+1/s*(t-n)),t}function n2(t,e,[i,n,s],r,o){!function(t,e=0,i=1,n=.5,s,r=t,o=t){if(t8.test(e)&amp;&amp;(e=parseFloat(e),e=eZ(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eZ(r.min,r.max,n);t===r&amp;&amp;(a-=e),t.min=n5(t.min,e,i,a,s),t.max=n5(t.max,e,i,a,s)}(t,e[i],e[n],e[s],e.scale,r,o)}let n3=["x","scaleX","originX"],n9=["y","scaleY","originY"];function n4(t,e,i,n){n2(t.x,e,n3,i?i.x:void 0,n?n.x:void 0),n2(t.y,e,n9,i?i.y:void 0,n?n.y:void 0)}function n6(t){return 0===t.translate&amp;&amp;1===t.scale}function n8(t){return n6(t.x)&amp;&amp;n6(t.y)}function n7(t,e){return t.min===e.min&amp;&amp;t.max===e.max}function st(t,e){return Math.round(t.min)===Math.round(e.min)&amp;&amp;Math.round(t.max)===Math.round(e.max)}function se(t,e){return st(t.x,e.x)&amp;&amp;st(t.y,e.y)}function si(t){return i4(t.x)/i4(t.y)}function sn(t,e){return t.translate===e.translate&amp;&amp;t.scale===e.scale&amp;&amp;t.originPoint===e.originPoint}class ss{constructor(){this.members=[]}add(t){tb(this.members,t),t.scheduleRender()}remove(t){if(tS(this.members,t),t===this.prevLead&amp;&amp;(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&amp;&amp;this.promote(t)}}relegate(t){let e;let i=this.members.findIndex(e=&gt;t===e);if(0===i)return!1;for(let t=i;t&gt;=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&amp;&amp;(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&amp;&amp;(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&amp;&amp;i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&amp;&amp;(t.resumeFrom.preserveOpacity=!0),i.snapshot&amp;&amp;(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&amp;&amp;t.root.isUpdating&amp;&amp;(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&amp;&amp;i.hide()}}exitAnimationComplete(){this.members.forEach(t=&gt;{let{options:e,resumingFrom:i}=t;e.onExitComplete&amp;&amp;e.onExitComplete(),i&amp;&amp;i.options.onExitComplete&amp;&amp;i.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)}}let sr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},so="undefined"!=typeof window&amp;&amp;void 0!==window.MotionDebug,sa=["","X","Y","Z"],sl={visibility:"hidden"},su=0;function sh(t,e,i,n){let{latestValues:s}=e;s[t]&amp;&amp;(i[t]=s[t],e.setStaticValue(t,0),n&amp;&amp;(n[t]=0))}function sd({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(t={},i=null==e?void 0:e()){this.id=su++,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,so&amp;&amp;(sr.totalNodes=sr.resolvedTargetDeltas=sr.recalculatedProjection=0),this.nodes.forEach(sm),this.nodes.forEach(sP),this.nodes.forEach(sT),this.nodes.forEach(sf),so&amp;&amp;window.MotionDebug.record(sr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t&lt;this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&amp;&amp;(this.nodes=new nz)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tA),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&amp;&amp;i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=n$(e),this.instance=e;let{layoutId:n,layout:s,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),i&amp;&amp;(s||n)&amp;&amp;(this.isLayoutDirty=!0),t){let i;let n=()=&gt;this.root.updateBlockedByResize=!1;t(e,()=&gt;{this.root.updateBlockedByResize=!0,i&amp;&amp;i(),i=function(t,e){let i=tT.now(),n=({timestamp:e})=&gt;{let s=e-i;s&gt;=250&amp;&amp;(ty(n),t(s-250))};return tg.read(n,!0),()=&gt;ty(n)}(n,0),nR.hasAnimatedSinceResize&amp;&amp;(nR.hasAnimatedSinceResize=!1,this.nodes.forEach(sw))})}n&amp;&amp;this.root.registerSharedNode(n,this),!1!==this.options.animate&amp;&amp;r&amp;&amp;(n||s)&amp;&amp;this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=&gt;{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||sV,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!se(this.targetLayout,n)||i,u=!e&amp;&amp;i;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);let e={...O(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&amp;&amp;(e.delay=0,e.type=!1),this.startAnimation(e)}else e||sw(this),this.isLead()&amp;&amp;this.options.onExitComplete&amp;&amp;this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&amp;&amp;this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&amp;&amp;t.remove(this),this.parent&amp;&amp;this.parent.children.delete(this),this.instance=void 0,ty(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()&amp;&amp;(this.isUpdating=!0,this.nodes&amp;&amp;this.nodes.forEach(sb),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&amp;&amp;t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&amp;&amp;this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&amp;&amp;!this.hasCheckedOptimisedAppear&amp;&amp;function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[tj];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tg,!(t||i))}let{parent:s}=e;s&amp;&amp;!s.hasCheckedOptimisedAppear&amp;&amp;t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t&lt;this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&amp;&amp;e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&amp;&amp;!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&amp;&amp;this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(sg);return}this.isUpdating||this.nodes.forEach(sy),this.isUpdating=!1,this.nodes.forEach(sx),this.nodes.forEach(sc),this.nodes.forEach(sp),this.clearAllSnapshots();let t=tT.now();tx.delta=tK(0,1e3/60,t-tx.timestamp),tx.timestamp=t,tx.isProcessing=!0,tw.update.process(tx),tw.preRender.process(tx),tw.render.process(tx),tx.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nF.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sv),this.sharedNodes.forEach(sS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tg.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tg.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||(this.updateScroll(),!(this.options.alwaysMeasureLayout&amp;&amp;this.isLead())&amp;&amp;!this.isLayoutDirty))return;if(this.resumeFrom&amp;&amp;!this.resumeFrom.instance)for(let t=0;t&lt;this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=nu(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&amp;&amp;e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(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){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&amp;&amp;!n8(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;t&amp;&amp;(e||nm(this.latestValues)||r)&amp;&amp;(s(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&amp;&amp;(n=this.removeTransform(n)),sR((e=n).x),sR(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return nu();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(sj))){let{scroll:t}=this.root;t&amp;&amp;(nx(i.x,t.offset.x),nx(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=nu();if(n0(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e&lt;this.path.length;e++){let n=this.path[e],{scroll:s,options:r}=n;n!==this.root&amp;&amp;s&amp;&amp;r.layoutScroll&amp;&amp;(s.wasRoot&amp;&amp;n0(i,t),nx(i.x,s.offset.x),nx(i.y,s.offset.y))}return i}applyTransform(t,e=!1){let i=nu();n0(i,t);for(let t=0;t&lt;this.path.length;t++){let n=this.path[t];!e&amp;&amp;n.options.layoutScroll&amp;&amp;n.scroll&amp;&amp;n!==n.root&amp;&amp;nP(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),nm(n.latestValues)&amp;&amp;nP(i,n.latestValues)}return nm(this.latestValues)&amp;&amp;nP(i,this.latestValues),i}removeTransform(t){let e=nu();n0(e,t);for(let t=0;t&lt;this.path.length;t++){let i=this.path[t];if(!i.instance||!nm(i.latestValues))continue;np(i.latestValues)&amp;&amp;i.updateSnapshot();let n=nu();n0(n,i.measurePageBox()),n4(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return nm(this.latestValues)&amp;&amp;n4(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!==tx.timestamp&amp;&amp;this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,n,s;let r=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=r.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==r;if(!(t||o&amp;&amp;this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&amp;&amp;(a||l)){if(this.resolvedRelativeTargetAt=tx.timestamp,!this.targetDelta&amp;&amp;!this.relativeTarget){let t=this.getClosestProjectingParent();t&amp;&amp;t.layout&amp;&amp;1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nu(),this.relativeTargetOrigin=nu(),ne(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),n0(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=nu(),this.targetWithTransforms=nu()),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,s=this.relativeParent.target,i7(i.x,n.x,s.x),i7(i.y,n.y,s.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):n0(this.target,this.layout.layoutBox),ny(this.target,this.targetDelta)):n0(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&amp;&amp;!!t.resumingFrom==!!this.resumingFrom&amp;&amp;!t.options.layoutScroll&amp;&amp;t.target&amp;&amp;1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nu(),this.relativeTargetOrigin=nu(),ne(this.relativeTargetOrigin,this.target,t.target),n0(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}so&amp;&amp;sr.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||np(this.parent.latestValues)||nf(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&amp;&amp;this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&amp;&amp;(n=!1),i&amp;&amp;(this.isSharedProjectionDirty||this.isTransformDirty)&amp;&amp;(n=!1),this.resolvedRelativeTargetAt===tx.timestamp&amp;&amp;(n=!1),n)return;let{layout:s,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&amp;&amp;this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||r))return;n0(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){let s,r;let o=i.length;if(o){e.x=e.y=1;for(let a=0;a&lt;o;a++){r=(s=i[a]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&amp;&amp;(n&amp;&amp;s.options.layoutScroll&amp;&amp;s.scroll&amp;&amp;s!==s.root&amp;&amp;nP(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),r&amp;&amp;(e.x*=r.x.scale,e.y*=r.y.scale,ny(t,r)),n&amp;&amp;nm(s.latestValues)&amp;&amp;nP(t,s.latestValues))}e.x&lt;1.0000000000001&amp;&amp;e.x&gt;.999999999999&amp;&amp;(e.x=1),e.y&lt;1.0000000000001&amp;&amp;e.y&gt;.999999999999&amp;&amp;(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&amp;&amp;!e.target&amp;&amp;(1!==this.treeScale.x||1!==this.treeScale.y)&amp;&amp;(e.target=e.layout.layoutBox,e.targetWithTransforms=nu());let{target:l}=e;if(!l){this.prevProjectionDelta&amp;&amp;(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&amp;&amp;this.prevProjectionDelta?(n1(this.prevProjectionDelta.x,this.projectionDelta.x),n1(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),i8(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&amp;&amp;this.treeScale.y===a&amp;&amp;sn(this.projectionDelta.x,this.prevProjectionDelta.x)&amp;&amp;sn(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),so&amp;&amp;sr.recalculatedProjection++}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){let t=this.getStack();t&amp;&amp;t.scheduleRender()}this.resumingFrom&amp;&amp;!this.resumingFrom.instance&amp;&amp;(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=na(),this.projectionDelta=na(),this.projectionDeltaWithTransform=na()}setAnimationOrigin(t,e=!1){let i;let n=this.snapshot,s=n?n.latestValues:{},r={...this.latestValues},o=na();this.relativeParent&amp;&amp;this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=nu(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length&lt;=1,d=!!(l&amp;&amp;!h&amp;&amp;!0===this.options.crossfade&amp;&amp;!this.path.some(sM));this.animationProgress=0,this.mixTargetDelta=e=&gt;{let n=e/1e3;if(sA(o.x,t.x,n),sA(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){var u,c,p,m;ne(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,sE(p.x,m.x,a.x,n),sE(p.y,m.y,a.y,n),i&amp;&amp;(u=this.relativeTarget,c=i,n7(u.x,c.x)&amp;&amp;n7(u.y,c.y))&amp;&amp;(this.isProjectionDirty=!1),i||(i=nu()),n0(i,this.relativeTarget)}l&amp;&amp;(this.animationValues=r,function(t,e,i,n,s,r){s?(t.opacity=eZ(0,void 0!==i.opacity?i.opacity:1,n_(n)),t.opacityExit=eZ(void 0!==e.opacity?e.opacity:1,0,nZ(n))):r&amp;&amp;(t.opacity=eZ(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let s=0;s&lt;nX;s++){let r=`border${nY[s]}Radius`,o=nG(e,r),a=nG(i,r);(void 0!==o||void 0!==a)&amp;&amp;(o||(o=0),a||(a=0),0===o||0===a||nq(o)===nq(a)?(t[r]=Math.max(eZ(nK(o),nK(a),n),0),(t8.test(a)||t8.test(o))&amp;&amp;(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&amp;&amp;(t.rotate=eZ(e.rotate||0,i.rotate||0,n))}(r,s,this.latestValues,n,d,h)),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;(ty(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tg.update(()=&gt;{nR.hasAnimatedSinceResize=!0,this.currentAnimation=nN(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);let 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(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:s}=t;if(e&amp;&amp;i&amp;&amp;n){if(this!==t&amp;&amp;this.layout&amp;&amp;n&amp;&amp;sk(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||nu();let e=i4(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=i4(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}n0(e,i),nP(e,s),i8(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ss),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&amp;&amp;i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&amp;&amp;(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&amp;&amp;n.promote(this,i),t&amp;&amp;(this.projectionDelta=void 0,this.needsReset=!0),e&amp;&amp;this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&amp;&amp;t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&amp;&amp;(e=!0),!e)return;let n={};i.z&amp;&amp;sh("z",t,n,this.animationValues);for(let e=0;e&lt;sa.length;e++)sh(`rotate${sa[e]}`,t,n,this.animationValues),sh(`skew${sa[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&amp;&amp;(this.animationValues[e]=n[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return sl;let n={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=nH(null==t?void 0:t.pointerEvents)||"",n.transform=s?s(this.latestValues,""):"none",n;let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){let e={};return this.options.layoutId&amp;&amp;(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=nH(null==t?void 0:t.pointerEvents)||""),this.hasProjected&amp;&amp;!nm(this.latestValues)&amp;&amp;(e.transform=s?s({},""):"none",this.hasProjected=!1),e}let o=r.animationValues||r.latestValues;this.applyTransformsToTarget(),n.transform=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((s||r||o)&amp;&amp;(n=`translate3d(${s}px, ${r}px, ${o}px) `),(1!==e.x||1!==e.y)&amp;&amp;(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:r,skewX:o,skewY:a}=i;t&amp;&amp;(n=`perspective(${t}px) ${n}`),e&amp;&amp;(n+=`rotate(${e}deg) `),s&amp;&amp;(n+=`rotateX(${s}deg) `),r&amp;&amp;(n+=`rotateY(${r}deg) `),o&amp;&amp;(n+=`skewX(${o}deg) `),a&amp;&amp;(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&amp;&amp;(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),s&amp;&amp;(n.transform=s(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,r.animationValues?n.opacity=r===this?null!==(i=null!==(e=o.opacity)&amp;&amp;void 0!==e?e:this.latestValues.opacity)&amp;&amp;void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=r===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,nL){if(void 0===o[t])continue;let{correct:e,applyTo:i}=nL[t],s="none"===n.transform?o[t]:e(o[t],r);if(i){let t=i.length;for(let e=0;e&lt;t;e++)n[i[e]]=s}else n[t]=s}return this.options.layoutId&amp;&amp;(n.pointerEvents=r===this?nH(null==t?void 0:t.pointerEvents)||"":"none"),n}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(sg),this.root.sharedNodes.clear()}}}function sc(t){t.updateLayout()}function sp(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&amp;&amp;t.layout&amp;&amp;i&amp;&amp;t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:s}=t.options,r=i.source!==t.layout.source;"size"===s?nh(t=&gt;{let n=r?i.measuredBox[t]:i.layoutBox[t],s=i4(n);n.min=e[t].min,n.max=n.min+s}):sk(s,i.layoutBox,e)&amp;&amp;nh(n=&gt;{let s=r?i.measuredBox[n]:i.layoutBox[n],o=i4(e[n]);s.max=s.min+o,t.relativeTarget&amp;&amp;!t.currentAnimation&amp;&amp;(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=na();i8(o,e,i.layoutBox);let a=na();r?i8(a,t.applyTransform(n,!0),i.measuredBox):i8(a,e,i.layoutBox);let l=!n8(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&amp;&amp;!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&amp;&amp;r){let o=nu();ne(o,i.layoutBox,s.layoutBox);let a=nu();ne(a,e,r.layoutBox),se(o,a)||(u=!0),n.options.layoutRoot&amp;&amp;(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&amp;&amp;e()}t.options.transition=void 0}function sm(t){so&amp;&amp;sr.totalNodes++,t.parent&amp;&amp;(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function sf(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function sv(t){t.clearSnapshot()}function sg(t){t.clearMeasurements()}function sy(t){t.isLayoutDirty=!1}function sx(t){let{visualElement:e}=t.options;e&amp;&amp;e.getProps().onBeforeLayoutMeasure&amp;&amp;e.notify("BeforeLayoutMeasure"),t.resetTransform()}function sw(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function sP(t){t.resolveTargetDelta()}function sT(t){t.calcProjection()}function sb(t){t.resetSkewAndRotation()}function sS(t){t.removeLeadSnapshot()}function sA(t,e,i){t.translate=eZ(e.translate,0,i),t.scale=eZ(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function sE(t,e,i,n){t.min=eZ(e.min,i.min,n),t.max=eZ(e.max,i.max,n)}function sM(t){return t.animationValues&amp;&amp;void 0!==t.animationValues.opacityExit}let sV={duration:.45,ease:[.4,0,.1,1]},sC=t=&gt;"undefined"!=typeof navigator&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().includes(t),sD=sC("applewebkit/")&amp;&amp;!sC("chrome/")?Math.round:tl;function sR(t){t.min=sD(t.min),t.max=sD(t.max)}function sk(t,e,i){return"position"===t||"preserve-aspect"===t&amp;&amp;!(.2&gt;=Math.abs(si(e)-si(i)))}function sj(t){var e;return t!==t.root&amp;&amp;(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let sL=sd({attachResizeListener:(t,e)=&gt;iG(t,"resize",e),measureScroll:()=&gt;({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=&gt;!0}),sF={current:void 0},sB=sd({measureScroll:t=&gt;({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=&gt;{if(!sF.current){let t=new sL({});t.mount(window),t.setOptions({layoutScroll:!0}),sF.current=t}return sF.current},resetTransform:(t,e)=&gt;{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=&gt;"fixed"===window.getComputedStyle(t).position});function sO(t,e,i){let{props:n}=t;t.animationState&amp;&amp;n.whileHover&amp;&amp;t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&amp;&amp;tg.postRender(()=&gt;s(e,i_(e)))}class sI extends iY{mount(){let{current:t}=this.node;t&amp;&amp;(this.unmount=function(t,e,i={}){let[n,s,r]=J(t,i),o=Q(t=&gt;{let{target:i}=t,n=e(t);if("function"!=typeof n||!i)return;let r=Q(t=&gt;{n(t),i.removeEventListener("pointerleave",r)});i.addEventListener("pointerleave",r,s)});return n.forEach(t=&gt;{t.addEventListener("pointerenter",o,s)}),r}(t,t=&gt;(sO(this.node,t,"Start"),t=&gt;sO(this.node,t,"End"))))}unmount(){}}class sU extends iY{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=e4(iG(this.node.current,"focus",()=&gt;this.onFocus()),iG(this.node.current,"blur",()=&gt;this.onBlur()))}unmount(){}}function sN(t,e,i){let{props:n}=t;t.animationState&amp;&amp;n.whileTap&amp;&amp;t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&amp;&amp;tg.postRender(()=&gt;s(e,i_(e)))}class s$ extends iY{mount(){let{current:t}=this.node;t&amp;&amp;(this.unmount=function(t,e,i={}){let[n,s,r]=J(t,i),o=t=&gt;{let n=t.currentTarget;if(!ta(t)||tn.has(n))return;tn.add(n);let r=e(t),o=(t,e)=&gt;{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),ta(t)&amp;&amp;tn.has(n)&amp;&amp;(tn.delete(n),"function"==typeof r&amp;&amp;r(t,{success:e}))},a=t=&gt;{o(t,i.useGlobalTarget||tt(n,t.target))},l=t=&gt;{o(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return n.forEach(t=&gt;{ti.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),t.addEventListener("focus",t=&gt;to(t,s),s)}),r}(t,t=&gt;(sN(this.node,t,"Start"),(t,{success:e})=&gt;sN(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let sW=new WeakMap,sz=new WeakMap,sH=t=&gt;{let e=sW.get(t.target);e&amp;&amp;e(t)},sY=t=&gt;{t.forEach(sH)},sX={some:0,all:1};class sK extends iY{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:s}=t,r={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:sX[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;sz.has(i)||sz.set(i,{});let n=sz.get(i),s=JSON.stringify(e);return n[s]||(n[s]=new IntersectionObserver(sY,{root:t,...e})),n[s]}(e);return sW.set(t,i),n.observe(t),()=&gt;{sW.delete(t),n.unobserve(t)}}(this.node.current,r,t=&gt;{let{isIntersecting:e}=t;if(this.isInView===e||(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);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&amp;&amp;r(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=&gt;t[i]!==e[i]}(t,e))&amp;&amp;this.startObserver()}unmount(){}}let sq=(0,u.createContext)({strict:!1}),sG=(0,u.createContext)({});function s_(t){return S(t.animate)||k.some(e=&gt;M(t[e]))}function sZ(t){return!!(s_(t)||t.variants)}function sJ(t){return Array.isArray(t)?t.join(" "):t}let sQ={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"]},s0={};for(let t in sQ)s0[t]={isEnabled:e=&gt;sQ[t].some(t=&gt;!!e[t])};let s1=Symbol.for("motionComponentSymbol"),s5=["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 s2(t){if("string"!=typeof t||t.includes("-"));else if(s5.indexOf(t)&gt;-1||/[A-Z]/u.test(t))return!0;return!1}let s3=t=&gt;(e,i)=&gt;{let n=(0,u.useContext)(sG),s=(0,u.useContext)(c),r=()=&gt;(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},n,s,r){let o={latestValues:function(t,e,i,n){let s={},r=n(t,{});for(let t in r)s[t]=nH(r[t]);let{initial:o,animate:a}=t,l=s_(t),u=sZ(t);e&amp;&amp;u&amp;&amp;!l&amp;&amp;!1!==t.inherit&amp;&amp;(void 0===o&amp;&amp;(o=e.initial),void 0===a&amp;&amp;(a=e.animate));let h=!!i&amp;&amp;!1===i.initial,d=(h=h||!1===o)?a:o;if(d&amp;&amp;"boolean"!=typeof d&amp;&amp;!S(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i&lt;e.length;i++){let n=C(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&amp;&amp;(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(n,s,r,t),renderState:e()};return i&amp;&amp;(o.onMount=t=&gt;i({props:n,current:t,...o}),o.onUpdate=t=&gt;i(t)),o})(t,e,n,s);return i?r():d(r)},s9=(t,e)=&gt;e&amp;&amp;"number"==typeof t?e.transform(t):t,s4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},s6=tu.length;function s8(t,e,i){let{style:n,vars:s,transformOrigin:r}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(th.has(t)){o=!0;continue}if(eI(t)){s[t]=i;continue}{let e=s9(i,ex[t]);t.startsWith("origin")?(a=!0,r[t]=e):n[t]=e}}if(!e.transform&amp;&amp;(o||i?n.transform=function(t,e,i){let n="",s=!0;for(let r=0;r&lt;s6;r++){let o=tu[r],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||i){let t=s9(a,ex[o]);if(!l){s=!1;let e=s4[o]||o;n+=`${e}(${t}) `}i&amp;&amp;(e[o]=t)}}return n=n.trim(),i?n=i(e,s?"":n):s&amp;&amp;(n="none"),n}(e,t.transform,i):n.transform&amp;&amp;(n.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=r;n.transformOrigin=`${t} ${e} ${i}`}}let s7={offset:"stroke-dashoffset",array:"stroke-dasharray"},rt={offset:"strokeDashoffset",array:"strokeDasharray"};function re(t,e,i){return"string"==typeof t?t:t7.transform(e+i*t)}function ri(t,{attrX:e,attrY:i,attrScale:n,originX:s,originY:r,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,d){if(s8(t,u,d),h){t.style.viewBox&amp;&amp;(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:p,dimensions:m}=t;c.transform&amp;&amp;(m&amp;&amp;(p.transform=c.transform),delete c.transform),m&amp;&amp;(void 0!==s||void 0!==r||p.transform)&amp;&amp;(p.transformOrigin=function(t,e,i){let n=re(e,t.x,t.width),s=re(i,t.y,t.height);return`${n} ${s}`}(m,void 0!==s?s:.5,void 0!==r?r:.5)),void 0!==e&amp;&amp;(c.x=e),void 0!==i&amp;&amp;(c.y=i),void 0!==n&amp;&amp;(c.scale=n),void 0!==o&amp;&amp;function(t,e,i=1,n=0,s=!0){t.pathLength=1;let r=s?s7:rt;t[r.offset]=t7.transform(-n);let o=t7.transform(e),a=t7.transform(i);t[r.array]=`${o} ${a}`}(c,o,a,l,!1)}let rn=()=&gt;({style:{},transform:{},transformOrigin:{},vars:{}}),rs=()=&gt;({...rn(),attrs:{}}),rr=t=&gt;"string"==typeof t&amp;&amp;"svg"===t.toLowerCase();function ro(t,{style:e,vars:i},n,s){for(let r in Object.assign(t.style,e,s&amp;&amp;s.getProjectionStyles(n)),i)t.style.setProperty(r,i[r])}let ra=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 rl(t,e,i,n){for(let i in ro(t,e,void 0,n),e.attrs)t.setAttribute(ra.has(i)?i:tk(i),e.attrs[i])}function ru(t,{layout:e,layoutId:i}){return th.has(t)||t.startsWith("origin")||(e||void 0!==i)&amp;&amp;(!!nL[t]||"opacity"===t)}function rh(t,e,i){var n;let{style:s}=t,r={};for(let o in s)(tD(s[o])||e.style&amp;&amp;tD(e.style[o])||ru(o,t)||(null===(n=null==i?void 0:i.getValue(o))||void 0===n?void 0:n.liveStyle)!==void 0)&amp;&amp;(r[o]=s[o]);return r}function rd(t,e,i){let n=rh(t,e,i);for(let i in t)(tD(t[i])||tD(e[i]))&amp;&amp;(n[-1!==tu.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}let rc=["x","y","width","height","cx","cy","r"],rp={useVisualState:s3({scrapeMotionValuesFromProps:rd,createRenderState:rs,onUpdate:({props:t,prevProps:e,current:i,renderState:n,latestValues:s})=&gt;{if(!i)return;let r=!!t.drag;if(!r){for(let t in s)if(th.has(t)){r=!0;break}}if(!r)return;let o=!e;if(e)for(let i=0;i&lt;rc.length;i++){let n=rc[i];t[n]!==e[n]&amp;&amp;(o=!0)}o&amp;&amp;tg.read(()=&gt;{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}(i,n),tg.render(()=&gt;{ri(n,s,rr(i.tagName),t.transformTemplate),rl(i,n)})})}})},rm={useVisualState:s3({scrapeMotionValuesFromProps:rh,createRenderState:rn})};function rf(t,e,i){for(let n in e)tD(e[n])||ru(n,i)||(t[n]=e[n])}let rv=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 rg(t){return t.startsWith("while")||t.startsWith("drag")&amp;&amp;"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||rv.has(t)}let ry=t=&gt;!rg(t);try{(s=require("@emotion/is-prop-valid").default)&amp;&amp;(ry=t=&gt;t.startsWith("on")?!rg(t):s(t))}catch(t){}let rx={current:null},rw={current:!1};function rP(){if(rw.current=!0,P){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=&gt;rx.current=t.matches;t.addListener(e),e()}else rx.current=!1}}let rT=[...eH,es,ep],rb=t=&gt;rT.find(ez(t)),rS=new WeakMap,rA=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class rE{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:s,visualState:r},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eF,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=&gt;this.notify("Update",this.latestValues),this.render=()=&gt;{this.current&amp;&amp;(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=&gt;{let t=tT.now();this.renderScheduledAt&lt;t&amp;&amp;(this.renderScheduledAt=t,tg.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=r;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!s,this.isControllingVariants=s_(e),this.isVariantNode=sZ(e),this.isVariantNode&amp;&amp;(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&amp;&amp;t.current);let{willChange:h,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in d){let e=d[t];void 0!==a[t]&amp;&amp;tD(e)&amp;&amp;e.set(a[t],!1)}}mount(t){this.current=t,rS.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)),rw.current||rP(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&amp;&amp;("always"===this.reducedMotionConfig||rx.current),this.parent&amp;&amp;this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in rS.delete(this.current),this.projection&amp;&amp;this.projection.unmount(),ty(this.notifyUpdate),ty(this.render),this.valueSubscriptions.forEach(t=&gt;t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&amp;&amp;this.removeFromVariantTree(),this.parent&amp;&amp;this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&amp;&amp;(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&amp;&amp;this.valueSubscriptions.get(t)();let n=th.has(t),s=e.on("change",e=&gt;{this.latestValues[t]=e,this.props.onUpdate&amp;&amp;tg.preRender(this.notifyUpdate),n&amp;&amp;this.projection&amp;&amp;(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&amp;&amp;(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=&gt;{s(),r(),i&amp;&amp;i(),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 s0){let e=s0[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&amp;&amp;n&amp;&amp;i(this.props)&amp;&amp;(this.features[t]=new n(this)),this.features[t]){let 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):nu()}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 e=0;e&lt;rA.length;e++){let i=rA[e];this.propEventSubscriptions[i]&amp;&amp;(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&amp;&amp;(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],r=i[n];if(tD(s))t.addValue(n,s);else if(tD(r))t.addValue(n,tC(s,{owner:t}));else if(r!==s){if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,tC(void 0!==e?e:s,{owner:t}))}}}for(let n in i)void 0===e[n]&amp;&amp;t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&amp;&amp;this.handleChildMotionValue(),this.onUpdate&amp;&amp;this.onUpdate(this)}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}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&amp;&amp;e.variantChildren.add(t),()=&gt;e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&amp;&amp;(i&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);let 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 i=this.values.get(t);return void 0===i&amp;&amp;void 0!==e&amp;&amp;(i=tC(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&amp;&amp;this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&amp;&amp;void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=n&amp;&amp;("string"==typeof n&amp;&amp;(eB(n)||tX(n))?n=parseFloat(n):!rb(n)&amp;&amp;ep.test(e)&amp;&amp;(n=eT(t,e)),this.setBaseTarget(t,tD(n)?n.get():n)),tD(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let s=C(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;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||tD(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 tA),this.events[t].add(e)}notify(t,...e){this.events[t]&amp;&amp;this.events[t].notify(...e)}}class rM extends rE{constructor(){super(...arguments),this.KeyframeResolver=eX}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:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&amp;&amp;(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;tD(t)&amp;&amp;(this.childSubscription=t.on("change",t=&gt;{this.current&amp;&amp;(this.current.textContent=`${t}`)}))}}class rV extends rM{constructor(){super(...arguments),this.type="html",this.renderInstance=ro}readValueFromInstance(t,e){if(th.has(e)){let t=eP(e);return t&amp;&amp;t.default||0}{let i=window.getComputedStyle(t),n=(eI(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return nT(t,e)}build(t,e,i){s8(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return rh(t,e,i)}}class rC extends rM{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nu}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(th.has(e)){let t=eP(e);return t&amp;&amp;t.default||0}return e=ra.has(e)?e:tk(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return rd(t,e,i)}build(t,e,i){ri(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){rl(t,e,i,n)}mount(t){this.isSVGTag=rr(t.tagName),super.mount(t)}}let rD=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=&gt;t(...e),{get:(i,n)=&gt;"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}((r={animation:{Feature:iX},exit:{Feature:iq},inView:{Feature:sK},tap:{Feature:s$},focus:{Feature:sU},hover:{Feature:sI},pan:{Feature:nC},drag:{Feature:nM,ProjectionNode:sB,MeasureLayout:nI},layout:{ProjectionNode:sB,MeasureLayout:nI}},o=(t,e)=&gt;s2(t)?new rC(e):new rV(e,{allowProjection:t!==u.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,i;let{preloadedFeatures:n,createVisualElement:s,useRender:r,useVisualState:o,Component:a}=t;function d(t,e){var i;let n;let d={...(0,u.useContext)(p),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,u.useContext)(h).id;return i&amp;&amp;void 0!==e?i+"-"+e:e}(t)},{isStatic:m}=d,f=function(t){let{initial:e,animate:i}=function(t,e){if(s_(t)){let{initial:e,animate:i}=t;return{initial:!1===e||M(e)?e:void 0,animate:M(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,u.useContext)(sG));return(0,u.useMemo)(()=&gt;({initial:e,animate:i}),[sJ(e),sJ(i)])}(t),v=o(t,m);if(!m&amp;&amp;P){(0,u.useContext)(sq).strict;let t=function(t){let{drag:e,layout:i}=s0;if(!e&amp;&amp;!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);n=t.MeasureLayout,f.visualElement=function(t,e,i,n,s){var r,o;let{visualElement:a}=(0,u.useContext)(sG),l=(0,u.useContext)(sq),h=(0,u.useContext)(c),d=(0,u.useContext)(p).reducedMotion,m=(0,u.useRef)(null);n=n||l.renderer,!m.current&amp;&amp;n&amp;&amp;(m.current=n(t,{visualState:e,parent:a,props:i,presenceContext:h,blockInitialAnimation:!!h&amp;&amp;!1===h.initial,reducedMotionConfig:d}));let f=m.current,v=(0,u.useContext)(nD);f&amp;&amp;!f.projection&amp;&amp;s&amp;&amp;("html"===f.type||"svg"===f.type)&amp;&amp;function(t,e,i,n){let{layoutId:s,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:r,alwaysMeasureLayout:!!o||a&amp;&amp;i9(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(m.current,i,s,v);let g=(0,u.useRef)(!1);(0,u.useInsertionEffect)(()=&gt;{f&amp;&amp;g.current&amp;&amp;f.update(i,h)});let y=i[tj],x=(0,u.useRef)(!!y&amp;&amp;!(null===(r=window.MotionHandoffIsComplete)||void 0===r?void 0:r.call(window,y))&amp;&amp;(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,y)));return T(()=&gt;{f&amp;&amp;(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),nF.render(f.render),x.current&amp;&amp;f.animationState&amp;&amp;f.animationState.animateChanges())}),(0,u.useEffect)(()=&gt;{f&amp;&amp;(!x.current&amp;&amp;f.animationState&amp;&amp;f.animationState.animateChanges(),x.current&amp;&amp;(queueMicrotask(()=&gt;{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,y)}),x.current=!1))}),f}(a,v,d,s,t.ProjectionNode)}return(0,l.jsxs)(sG.Provider,{value:f,children:[n&amp;&amp;f.visualElement?(0,l.jsx)(n,{visualElement:f.visualElement,...d}):null,r(a,t,(i=f.visualElement,(0,u.useCallback)(t=&gt;{t&amp;&amp;v.onMount&amp;&amp;v.onMount(t),i&amp;&amp;(t?i.mount(t):i.unmount()),e&amp;&amp;("function"==typeof e?e(t):i9(e)&amp;&amp;(e.current=t))},[i])),v,m,f.visualElement)]})}n&amp;&amp;function(t){for(let e in t)s0[e]={...s0[e],...t[e]}}(n),d.displayName="motion.".concat("string"==typeof a?a:"create(".concat(null!==(i=null!==(e=a.displayName)&amp;&amp;void 0!==e?e:a.name)&amp;&amp;void 0!==i?i:"",")"));let m=(0,u.forwardRef)(d);return m[s1]=a,m}({...s2(t)?rp:rm,preloadedFeatures:r,useRender:function(t=!1){return(e,i,n,{latestValues:s},r)=&gt;{let o=(s2(e)?function(t,e,i,n){let s=(0,u.useMemo)(()=&gt;{let i=rs();return ri(i,e,rr(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};rf(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return rf(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,u.useMemo)(()=&gt;{let i=rn();return s8(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&amp;&amp;!1!==t.dragListener&amp;&amp;(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.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;(i.tabIndex=0),i.style=n,i})(i,s,r,e),a=function(t,e,i){let n={};for(let s in t)("values"!==s||"object"!=typeof t.values)&amp;&amp;(ry(s)||!0===i&amp;&amp;rg(s)||!e&amp;&amp;!rg(s)||t.draggable&amp;&amp;s.startsWith("onDrag"))&amp;&amp;(n[s]=t[s]);return n}(i,"string"==typeof e,t),l=e!==u.Fragment?{...a,...o,ref:n}:{},{children:h}=i,d=(0,u.useMemo)(()=&gt;tD(h)?h.get():h,[h]);return(0,u.createElement)(e,{...l,children:d})}}(e),createVisualElement:o,Component:t})}));function rR(t,e,i){(0,u.useInsertionEffect)(()=&gt;t.on(e,i),[t,e,i])}function rk(t){let e=d(()=&gt;tC(t)),{isStatic:i}=(0,u.useContext)(p);if(i){let[,i]=(0,u.useState)(t);(0,u.useEffect)(()=&gt;e.on("change",i),[])}return e}class rj extends tV{constructor(){super(...arguments),this.values=[]}add(t){let e=th.has(t)?"transform":iM.has(t)?tk(t):void 0;e&amp;&amp;(tb(this.values,e),this.update())}update(){this.set(this.values.length?this.values.join(", "):"auto")}}function rL(){return d(()=&gt;new rj("auto"))}function rF(){rw.current||rP();let[t]=(0,u.useState)(rx.current);return t}let rB=(t,e,i)=&gt;{let n=e-t;return((i-t)%n+n)%n+t};function rO(t,e){return ig(t)?t[rB(0,t.length,e)]:t}function rI(t){return"object"==typeof t&amp;&amp;!Array.isArray(t)}function rU(t,e,i,n){return"string"==typeof t&amp;&amp;rI(e)?Z(t,i,n):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function rN(t,e,i,n){var s;return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"&lt;"===e?i:null!==(s=n.get(e))&amp;&amp;void 0!==s?s:t}function r$(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function rW(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function rz(t,e){return e[t]||(e[t]=[]),e[t]}let rH=t=&gt;"number"==typeof t,rY=t=&gt;t.every(rH);class rX extends rE{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(e in t){let i=t[e];if("string"==typeof i||"number"==typeof i)return i}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return nu()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}function rK(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=n$(t)?new rC(e):new rV(e);i.mount(t),rS.set(t,i)}function rq(t){let e=new rX({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),rS.set(t,e)}function rG(t,e,i,n){let s=[];if(tD(t)||"number"==typeof t||"string"==typeof t&amp;&amp;!rI(e))s.push(nN(t,rI(e)&amp;&amp;e.default||e,i&amp;&amp;i.default||i));else{let r=rU(t,e,n),o=r.length;tl(!!o,"No valid elements provided.");for(let t=0;t&lt;o;t++){let n=r[t],a=n instanceof Element?rK:rq;rS.has(n)||a(n);let l=rS.get(n),u={...i};"delay"in u&amp;&amp;"function"==typeof u.delay&amp;&amp;(u.delay=u.delay(t,o)),s.push(...iO(l,{...e,transition:u},{}))}}return s}let r_=function(t,e,i){let n=[],s=new B(Array.isArray(t)&amp;&amp;t.some(Array.isArray)?function(t,e,i){let n=[];return(function(t,{defaultTransition:e={},...i}={},n,s){let r=e.duration||.3,o=new Map,a=new Map,l={},u=new Map,h=0,d=0,c=0;for(let i=0;i&lt;t.length;i++){let o=t[i];if("string"==typeof o){u.set(o,d);continue}if(!Array.isArray(o)){u.set(o.name,rN(d,o.at,h,u));continue}let[p,m,f={}]=o;void 0!==f.at&amp;&amp;(d=rN(d,f.at,h,u));let v=0,g=(t,i,n,o=0,a=0)=&gt;{let l=Array.isArray(t)?t:[t],{delay:u=0,times:h=iP(l),type:p="keyframes",repeat:m,repeatType:f,repeatDelay:g=0,...y}=i,{ease:x=e.ease||"easeOut",duration:w}=i,P="function"==typeof u?u(o,a):u,T=l.length,b=$(p)?p:null==s?void 0:s[p];if(T&lt;=2&amp;&amp;b){let t=100;2===T&amp;&amp;rY(l)&amp;&amp;(t=Math.abs(l[1]-l[0]));let e={...y};void 0!==w&amp;&amp;(e.duration=U(w));let i=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min(I(n),2e4);return{type:"keyframes",ease:t=&gt;n.next(s*t).value/e,duration:N(s)}}(e,t,b);x=i.ease,w=i.duration}null!=w||(w=r);let S=d+P;1===h.length&amp;&amp;0===h[0]&amp;&amp;(h[1]=1);let A=h.length-l.length;if(A&gt;0&amp;&amp;iw(h,A),1===l.length&amp;&amp;l.unshift(null),m){tl(m&lt;20,"Repeat count too high, must be less than 20"),w*=m+1;let t=[...l],e=[...h],i=[...x=Array.isArray(x)?[...x]:[x]];for(let n=0;n&lt;m;n++){l.push(...t);for(let s=0;s&lt;t.length;s++)h.push(e[s]+(n+1)),x.push(0===s?"linear":rO(i,s-1))}!function(t,e){for(let i=0;i&lt;t.length;i++)t[i]=t[i]/(e+1)}(h,m)}let E=S+w;(function(t,e,i,n,s,r){!function(t,e,i){for(let n=0;n&lt;t.length;n++){let s=t[n];s.at&gt;e&amp;&amp;s.at&lt;i&amp;&amp;(tS(t,s),n--)}}(t,s,r);for(let o=0;o&lt;e.length;o++)t.push({value:e[o],at:eZ(s,r,n[o]),easing:rO(i,o)})})(n,l,x,h,S,E),v=Math.max(P+w,v),c=Math.max(E,c)};if(tD(p))g(m,f,rz("default",rW(p,a)));else{let t=rU(p,m,n,l),e=t.length;for(let i=0;i&lt;e;i++){let n=rW(t[i],a);for(let t in m)g(m[t],f&amp;&amp;f[t]?{...f,...f[t]}:{...f},rz(t,n),i,e)}}h=d,d+=v}return a.forEach((t,n)=&gt;{for(let s in t){let r=t[s];r.sort(r$);let a=[],l=[],u=[];for(let t=0;t&lt;r.length;t++){let{at:e,value:i,easing:n}=r[t];a.push(i),l.push(X(0,c,e)),u.push(n||"easeOut")}0!==l[0]&amp;&amp;(l.unshift(0),a.unshift(a[0]),u.unshift("easeInOut")),1!==l[l.length-1]&amp;&amp;(l.push(1),a.push(null)),o.has(n)||o.set(n,{keyframes:{},transition:{}});let h=o.get(n);h.keyframes[s]=a,h.transition[s]={...e,duration:c,ease:u,times:l,...i}}}),o})(t,e,i,{spring:id}).forEach(({keyframes:t,transition:e},i)=&gt;{n.push(...rG(i,t,e))}),n}(t,e,void 0):rG(t,e,i,a));return a&amp;&amp;a.animations.push(s),s}}}]);</pre></body></html>