1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[630],{6858:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},7580:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},6221:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("BarChart3",[["path",{d:"M3 3v18h18",key:"1s2lah"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},8420:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},401:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},1341:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]])},7414:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]])},9202:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},3468:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]])},1817:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},3774:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},6439:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]])},1047:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},5901:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("MonitorPlay",[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]])},3420:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]])},3041:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])}
1,3276:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},9397:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},1484:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("ScreenShare",[["path",{d:"M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3",key:"i8wdob"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m17 8 5-5",key:"fqif7o"}],["path",{d:"M17 3h5v5",key:"1o3tu8"}]])},4413:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2v0a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12v0a2 2 0 0 1-2-2V7",key:"jon5kx"}]])},5805:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},1804:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]])},2042:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]])},1239:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=(0,i(9205).Z)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},257:function(t,e,i){"use strict";var n,r;t.exports=(null==(n=i.g.process)?void 0:n.env)&&"object"==typeof(null==(r=i.g.process)?void 0:r.env)?i.g.process:i(4227)},4227:function(t){!function(){var e={229:function(t){var e,i,n,r=t.exports={};function s(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===s||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(i){try{return e.call(null,t,0)}catch(i){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:s}catch(t){e=s}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(t){i=o}}();var l=[],u=!1,h=-1;function c(){u&&n&&(u=!1,n.length?l=n.concat(l):h=-1,l.length&&d())}function d(){if(!u){var t=a(c);u=!0;for(var e=l.length;e;){for(n=l,l=[];++h<e;)n&&n[h].run();h=-1,e=l.length}n=null,u=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function f(){}r.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];l.push(new p(t,e)),1!==l.length||u||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(t){return[]},r.binding=function(t){throw Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw Error("process.chdir is not supported")},r.umask=function(){return 0}}},i={};function n(t){var r=i[t];
1if(void 0!==r)return r.exports;var s=i[t]={exports:{}},o=!0;try{e[t](s,s.exports,n),o=!1}finally{o&&delete i[t]}return s.exports}n.ab="//";var r=n(229);t.exports=r}()},278:function(t,e,i){"use strict";i.d(e,{X:function(){return a}});var n=i(7437),r=i(2265),s=i(7337),o=i(4470);function a(t){let{children:e,features:i,strict:a=!1}=t,[,u]=(0,r.useState)(!l(i)),h=(0,r.useRef)(void 0);if(!l(i)){let{renderer:t,...e}=i;h.current=t,(0,o.K)(e)}return(0,r.useEffect)(()=>{l(i)&&i().then(t=>{let{renderer:e,...i}=t;(0,o.K)(i),h.current=e,u(!0)})},[]),(0,n.jsx)(s.u.Provider,{value:{renderer:h.current,strict:a},children:e})}function l(t){return"function"==typeof t}},7337:function(t,e,i){"use strict";i.d(e,{u:function(){return n}});let n=(0,i(2265).createContext)({strict:!1})},3490:function(t,e,i){"use strict";i.d(e,{Q:function(){return r},s:function(){return s}});var n=i(5602);function r(t){return{point:{x:t.pageX,y:t.pageY}}}let s=t=>e=>(0,n.D)(e)&&t(e,r(e))},3836:function(t,e,i){"use strict";i.d(e,{s:function(){return C}});var n=i(1885),r=i(2596);function s(t,e,i){let n=t.getProps();return(0,r.o)(n,e,void 0!==i?i:n.custom,t)}var o=i(5551),a=i(686),l=i(4151),u=i(4357);let h=t=>Array.isArray(t);var c=i(4614),d=i(3453),p=i(5731),f=i(6147);function m(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:m,transitionEnd:y,...v}=e,g=t.getDefaultTransition();m=m?(0,a.r)(m,g):g;let x=m?.reduceMotion,w=m?.skipAnimations;n&&(m=n);let T=[],b=r&&t.animationState&&t.animationState.getState()[r],S=m?.path;for(let e in S&&S.animateVisualElement(t,v,m,i,T),v){let n=t.getValue(e,t.latestValues[e]??null),r=v[e];if(void 0===r||b&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(b,e))continue;let s={delay:i,...(0,o.e)(m||{},e)};w&&(s.skipAnimations=!0);let a=n.get();if(void 0!==a&&!n.isAnimating()&&!Array.isArray(r)&&r===a&&!s.velocity){f.Wi.update(()=>n.set(r));continue}let u=!1;if(window.MotionHandoffAnimation){let i=(0,d.s)(t);if(i){let t=window.MotionHandoffAnimation(i,e,f.Wi);null!==t&&(s.startTime=t,u=!0)}}(0,c.K)(t,e);let h=x??t.shouldReduceMotion;n.start((0,p.v)(e,n,r,h&&l.z.has(e)?{type:!1}:s,t,u));let y=n.animation;y&&T.push(y)}if(y){let e=()=>f.Wi.update(()=>{y&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=s(t,e)||{};for(let e in r={...r,...i}){var o;let i=h(o=r[e])?o[o.length-1]||0:o;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,u.BX)(i))}}(t,y)});T.length?Promise.all(T).then(e):e()}return T}function y(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function v(t,e,i={}){let n=s(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let o=n?()=>Promise.all(m(t,n,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(v(l,e,{...o,delay:i+("function"==typeof n?0:n)+y(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>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(()=>e())}}var g=i(5659),x=i(5741);let w=x.V.length;var T=i(435);function b(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let S=[...x.e].reverse(),M=x.e.length;function P(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function k(){return{animate:P(!0),whileInView:P(),whileHover:P(),whileTap:P(),whileDrag:P(),whileFocus:P(),exit:P()}}class A extends n.L{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>v(t,e,i)));else if("string"==typeof e)n=v(t,e,i);else{let r="function"==typeof e?s(t,e,i.custom):e;n=Promise.all(m(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=k(),n=!0,r=!1,o=e=>(i,n)=>{let r=s(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function a(a){let{props:l}=t,u=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<w;t++){let n=x.V[t],r=e.props[n];((0,g.$)(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},c=[],d=new Set,p={},f=1/0;for(let e=0;e<M;e++){var m;let v=S[e],x=i[v],w=void 0!==l[v]?l[v]:u[v],M=(0,g.$)(w),P=v===a?x.isActive:null;!1===P&&(f=e);let k=w===u[v]&&w!==l[v]&&M;if(k&&(n||r)&&t.manuallyAnimateOnMount&&(k=!1),x.protectedKeys={...p},!x.isActive&&null===P||!w&&!x.prevProp||(0,T.H)(w)||"boolean"==typeof w)continue;if("exit"===v&&x.isActive&&!0!==P){x.prevResolvedValues&&(p={...p,...x.prevResolvedValues});continue}let A=(m=x.prevProp,"string"==typeof w?w!==m:!!Array.isArray(w)&&!b(w,m)),V=A||v===a&&x.isActive&&!k&&M||e>f&&M,E=!1,C=Array.isArray(w)?w:[w],D=C.reduce(o(v),{});!1===P&&(D={});let{prevResolvedValues:R={}}=x,L={...R,...D},j=e=>{V=!0,d.has(e)&&(E=!0,d.delete(e)),x.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in L){let e=D[t],i=R[t];if(!p.hasOwnProperty(t))(h(e)&&h(i)?!b(e,i)||A:e!==i)?null!=e?j(t):d.add(t):void 0!==e&&d.has(t)?j(t):x.protectedKeys[t]=!0}x.prevProp=w,x.prevResolvedValues=D,x.isActive&&(p={...p,...D}),(n||r)&&t.blockInitialAnimation&&(V=!1);let B=k&&A,F=!B||E;V&&F&&c.push(...C.map(e=>{let i={type:v};if("string"==typeof e&&(n||r)&&!B&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=s(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=y(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(d.size){let e={};if("boolean"!=typeof l.initial){let i=s(t,Array.isArray(l.initial)?l.initial[0]:l.initial);i&&i.transition&&(e.transition=i.transition)}d.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),c.push({animation:e})}let v=!!c.length;return n&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(v=!1),n=!1,r=!1,v?e(c):Promise.resolve()}return{animateChanges:a,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=a(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=k(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,T.H)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let V=0;class E extends n.L{constructor(){super(...arguments),this.id=V++,this.isExitComplete=!1}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;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=s(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let C={animation:{Feature:A},exit:{Feature:E}}},5938:function(t,e,i){"use strict";i.d(e,{t:function(){return o}});var n=i(6210);let r={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"]},s=!1;function o(){return!function(){if(s)return;let t={};for(let e in r)t[e]={isEnabled:t=>r[e].some(e=>!!t[e])};(0,n.v7)(t),s=!0}(),(0,n.uN)()}},7039:function(t,e,i){"use strict";i.d(e,{E:function(){return R}});var n=i(6147),r=i(1885),s=i(5888),o=i(9960);function a(t,e){let i=(0,o.I)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}var l=i(3490);function u(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=r["onHover"+i];s&&n.Wi.postRender(()=>s(e,(0,l.Q)(e)))}class h extends r.L{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,o]=a(t,i);return n.forEach(t=>{let i,n=!1,o=!1,a=()=>{t.removeEventListener("pointerleave",h)},l=t=>{i&&(i(t),i=void 0),a()},u=t=>{n=!1,window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",u),o&&(o=!1,l(t))},h=t=>{if("touch"!==t.pointerType){if(n){o=!0;return}l(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,s.g)())return;o=!1;let a=e(t,n);"function"==typeof a&&(i=a,t.addEventListener("pointerleave",h,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",u,r),window.addEventListener("pointercancel",u,r)},r)}),o}(t,(t,e)=>(u(this.node,e,"Start"),t=>u(this.node,t,"End"))))}unmount(){}}var c=i(335),d=i(4750);class p extends r.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,d.z)((0,c.E)(this.node.current,"focus",()=>this.onFocus()),(0,c.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var f=i(1464);let m=(t,e)=>!!e&&(t===e||m(t,e.parentElement));var y=i(5602),v=i(5785);let g=new WeakSet;function x(t){return e=>{"Enter"===e.key&&t(e)}}function w(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let T=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=x(()=>{if(g.has(i))return;w(i,"down");let t=x(()=>{w(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>w(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function b(t){return(0,y.D)(t)&&!(0,s.g)()}let S=new WeakSet;function M(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=r["onTap"+("End"===i?"":i)];s&&n.Wi.postRender(()=>s(e,(0,l.Q)(e)))}class P extends r.L{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,r,s]=a(t,i),o=t=>{let n=t.currentTarget;if(!b(t)||S.has(t))return;g.add(n),i.stopPropagation&&S.add(t);let s=e(n,t),o={...r,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",u,o),g.has(n)&&g.delete(n),b(t)&&"function"==typeof s&&s(t,{success:e})},l=t=>{a(t,n===window||n===document||i.useGlobalTarget||m(n,t.target))},u=t=>{a(t,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",u,o)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),(0,f.K)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)&&(t.addEventListener("focus",t=>T(t,r)),(0,v._)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(M(this.node,e,"Start"),(t,{success:e})=>M(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let k=new WeakMap,A=new WeakMap,V=t=>{let e=k.get(t.target);e&&e(t)}
1,E=t=>{t.forEach(V)},C={some:0,all:1};class D extends r.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:C[n]};this.stopObserver=function(t,e,i){let n=function({root:t,...e}){let i=t||document;A.has(i)||A.set(i,{});let n=A.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(E,{root:t,...e})),n[r]}(e);return k.set(t,i),n.observe(t),()=>{k.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(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=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let R={inView:{Feature:D},tap:{Feature:P},focus:{Feature:p},hover:{Feature:h}}},4470:function(t,e,i){"use strict";i.d(e,{K:function(){return s}});var n=i(6210),r=i(5938);function s(t){let e=(0,r.t)();for(let i in t)e[i]={...e[i],...t[i]};(0,n.v7)(e)}},7095:function(t,e,i){"use strict";i.d(e,{b:function(){return F}});var n=i(6440),r=i(2361),s=i(5923),o=i(7493),a=i(4151),l=i(1272),u=i(2035),h=i(1141),c=i(8596);let d=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var p=i(2180),f=i(2476),m=i(5050),y=i(2442);let v=new Set(["auto","none","0"]);var g=i(1152);class x extends p.e{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,c.tm)(n))){let r=function t(e,i,n=1){(0,u.k)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=d.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return(0,h.P)(t)?parseFloat(t):t}return(0,c.tm)(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!a.z.has(i)||2!==t.length)return;let[n,r]=t,s=(0,l.C)(n),o=(0,l.C)(r);if((0,c.V3)(n)!==(0,c.V3)(r)&&g.lw[i]){this.needsMeasurement=!0;return}if(s!==o){if((0,g.mP)(s)&&(0,g.mP)(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else g.lw[i]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||(0,f.W)(n)))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!v.has(e)&&(0,m.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=(0,y.T)(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=g.lw[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=g.lw[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var w=i(6210);class T extends w.l9{constructor(){super(...arguments),this.KeyframeResolver=x}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,o.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var b=i(5843),S=i(5460);let M=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"]);var P=i(2018);function k(t,{style:e,vars:i},n,r){let s;let o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}var A=i(8233);class V extends T{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.dO}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.G.has(e)){let t=(0,r.A)(e);return t&&t.default||0}return e=M.has(e)?e:(0,b.D)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,A.U)(t,e,i)}build(t,e,i){(0,S.i)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){!function(t,e,i,n){for(let i in k(t,e,void 0,n),e.attrs)t.setAttribute(M.has(i)?i:(0,b.D)(i),e.attrs[i])}(t,e,0,n)}mount(t){this.isSVGTag=(0,P.a)(t.tagName),super.mount(t)}}var E=i(1806),C=i(9745),D=i(8274),R=i(6384);class L extends T{constructor(){super(...arguments),this.type="html",this.renderInstance=k}mount(t){(0,u.k)(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(n.G.has(e))return this.projection?.isProjecting?(0,E.E$)(e):(0,E.RT)(t,e);{let i=window.getComputedStyle(t),n=((0,c.f9)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,C.J)(t,e)}build(t,e,i){(0,D.r)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,R.U)(t,e,i)}}var j=i(2265),B=i(4044);let F=(t,e)=>e.isSVG??(0,B.q)(t)?new V(e):new L(e,{allowProjection:t!==j.Fragment})},878:function(t,e,i){"use strict";i.d(e,{H:function(){return s}});var n=i(3836),r=i(7039);let s={renderer:i(7095).b,...n.s,...r.E}},4044:function(t,e,i){"use strict";i.d(e,{q:function(){return r}});let n=["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 r(t){if("string"!=typeof t||t.includes("-"));else if(n.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},2345:function(t,e,i){"use strict";i.d(e,{J:function(){return o}});var n=i(7435),r=i(4662),s=i(2265);function o(){n.O.current||(0,r.Ad)();let[t]=(0,s.useState)(n.n.current);return t}},3966:function(t,e,i){"use strict";i.d(e,{_:function(){return x}});var n=i(2035),r=i(9711),s=i(6277),o=i(3180),a=i(107);let l={};function u(t,e){let i=(0,a.X)(t);return()=>l[e]??i()}let h=u(()=>void 0!==window.ScrollTimeline,"scrollTimeline");var c=i(9118),d=i(9868),p=i(3857);let f=u(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var m=i(6092);let y=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,v={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:y([0,.65,.55,1]),circOut:y([.55,0,1,.45]),backIn:y([.31,.01,.66,-.59]),backOut:y([.33,1.53,.69,.99])};var g=i(721);class x extends d.T{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:i,keyframes:r,pseudoElement:s,allowFlatten:a=!1,finalKeyframe:l,onComplete:u}=t;this.isPseudoElement=!!s,this.allowFlatten=a,this.options=t,(0,n.k)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let h=function({type:t,...e}){return(0,g.x)(t)&&f()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?f()?(0,m.w)(e,i):"ease-out":(0,p.q)(e)?y(e):Array.isArray(e)?e.map(e=>t(e,i)||v.easeOut):v[e]}(a,r);Array.isArray(c)&&(h.easing=c);let d={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};return u&&(d.pseudoElement=u),t.animate(h,d)}(e,i,r,h,s),!1===h.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=(0,c.$)(r,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,o.A)(e,i,t),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,r.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,r.X)(t)}get time(){return(0,r.X)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,r.w)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&h())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),s.Z):n(this)}}},721:function(t,e,i){"use strict";function n(t){return"function"==typeof t&&"applyToOptions"in t}i.d(e,{x:function(){return n}})},5731:function(t,e,i){"use strict";i.d(e,{v:function(){return tO}});var n=i(9711),r=i(1457),s=i(6277),o=i(1927),a=i(4750),l=i(1865),u=i(2035),h=i(8596),c=i(7537),d=i(5050),p=i(1664),f=i(2017);function m(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var y=i(230);function v(t,e){return i=>i>0?e:t}var g=i(3811);let x=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},w=[p.$,y.m,f.J],T=t=>w.find(e=>e.test(t));function b(t){let e=T(t);if((0,u.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===f.J&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=m(a,n,t+1/3),s=m(a,n,t),o=m(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let S=(t,e)=>{let i=b(t),n=b(e);if(!i||!n)return v(t,e);let r={...i};return t=>(r.red=x(i.red,n.red,t),r.green=x(i.green,n.green,t),r.blue=x(i.blue,n.blue,t),r.alpha=(0,g.t)(i.alpha,n.alpha,t),y.m.transform(r))},M=new Set(["none","hidden"]);function P(t,e){return i=>(0,g.t)(t,e,i)}function k(t){return"number"==typeof t?P:"string"==typeof t?(0,h.tm)(t)?v:c.$.test(t)?S:E:Array.isArray(t)?A:"object"==typeof t?c.$.test(t)?S:V:v}function A(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>k(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function V(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=k(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let E=(t,e)=>{let i=d.P.createTransformer(e),n=(0,d.V)(t),r=(0,d.V)(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?M.has(t)&&!r.values.length||M.has(e)&&!n.values.length?M.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:(0,a.z)(A(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(n,r),r.values),i):((0,u.K)(!0,`Complex values '${t}' and '${e}
1' 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.`,"complex-values-different"),v(t,e))};function C(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,g.t)(t,e,i):k(t)(t,e)}var D=i(6147);let R=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>D.Wi.update(e,t),stop:()=>(0,D.Pn)(e),now:()=>D.frameData.isProcessing?D.frameData.timestamp:o.X.now()}};var L=i(6092);function j(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let B={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 F(t,e){return t*Math.sqrt(1-e*e)}let O=["duration","bounce"],I=["stiffness","damping","mass"];function W(t,e){return e.some(e=>void 0!==t[e])}function $(t=B.visualDuration,e=B.bounce){let i,r,s,o,a,h;let c="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:d,restDelta:p}=c,f=c.keyframes[0],m=c.keyframes[c.keyframes.length-1],y={done:!1,value:f},{stiffness:v,damping:g,mass:x,duration:w,velocity:T,isResolvedFromDuration:b}=function(t){let e={velocity:B.velocity,stiffness:B.stiffness,damping:B.damping,mass:B.mass,isResolvedFromDuration:!1,...t};if(!W(t,I)&&W(t,O)){if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,l.u)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:B.mass,stiffness:n,damping:r}}else{let i=function({duration:t=B.duration,bounce:e=B.bounce,velocity:i=B.velocity,mass:r=B.mass}){let s,o;(0,u.K)(t<=(0,n.w)(B.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=(0,l.u)(B.minDamping,B.maxDamping,a),t=(0,l.u)(B.minDuration,B.maxDuration,(0,n.X)(t)),a<1?(s=e=>{let n=e*a,r=n*t;return .001-(n-i)/F(e,a)*Math.exp(-r)},o=e=>{let n=e*a*t,r=Math.pow(a,2)*Math.pow(e,2)*t,o=F(Math.pow(e,2),a);return(n*i+i-r)*Math.exp(-n)*(-s(e)+.001>0?-1:1)/o}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),o=e=>t*t*(i-e)*Math.exp(-e*t));let h=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,o,5/t);if(t=(0,n.w)(t),isNaN(h))return{stiffness:B.stiffness,damping:B.damping,duration:t};{let e=Math.pow(h,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:B.mass}).isResolvedFromDuration=!0}}return e}({...c,velocity:-(0,n.X)(c.velocity||0)}),S=T||0,M=g/(2*Math.sqrt(v*x)),P=m-f,k=(0,n.X)(Math.sqrt(v/x)),A=5>Math.abs(P);if(d||(d=A?B.restSpeed.granular:B.restSpeed.default),p||(p=A?B.restDelta.granular:B.restDelta.default),M<1)s=F(k,M),o=(S+M*k*P)/s,i=t=>m-Math.exp(-M*k*t)*(o*Math.sin(s*t)+P*Math.cos(s*t)),a=M*k*o+P*s,h=M*k*P-o*s,r=t=>Math.exp(-M*k*t)*(a*Math.sin(s*t)+h*Math.cos(s*t));else if(1===M){i=t=>m-Math.exp(-k*t)*(P+(S+k*P)*t);let t=S+k*P;r=e=>Math.exp(-k*e)*(k*t*e-S)}else{let t=k*Math.sqrt(M*M-1);i=e=>{let i=Math.exp(-M*k*e),n=Math.min(t*e,300);return m-i*((S+M*k*P)*Math.sinh(n)+t*P*Math.cosh(n))/t};let e=(S+M*k*P)/t,n=M*k*e-P*t,s=M*k*P-e*t;r=e=>{let i=Math.exp(-M*k*e),r=Math.min(t*e,300);return i*(n*Math.sinh(r)+s*Math.cosh(r))}}let V={calculatedDuration:b&&w||null,velocity:t=>(0,n.w)(r(t)),next:t=>{if(!b&&M<1){let e=Math.exp(-M*k*t),i=Math.sin(s*t),r=Math.cos(s*t),l=m-e*(o*i+P*r),u=(0,n.w)(e*(a*i+h*r));return y.done=Math.abs(u)<=d&&Math.abs(m-l)<=p,y.value=y.done?m:l,y}let e=i(t);if(b)y.done=t>=w;else{let i=(0,n.w)(r(t));y.done=Math.abs(i)<=d&&Math.abs(m-e)<=p}return y.value=y.done?m:e,y},toString:()=>{let t=Math.min(j(V),2e4),e=(0,L.w)(e=>V.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return V}$.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),s=Math.min(j(r),2e4);return{type:"keyframes",ease:t=>r.next(s*t).value/e,duration:(0,n.X)(s)}}(t,100,$);return t.ease=e.ease,t.duration=(0,n.w)(e.duration),t.type="keyframes",t};var Z=i(8294);function X(t,e,i){let n=Math.max(e-5,0);return(0,Z.R)(i-t(n),e-n)}function U({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,y=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,v=i*e,g=p+v,x=void 0===o?g:o(g);x!==g&&(v=x-p);let w=t=>-v*Math.exp(-t/n),T=t=>x+w(t),b=t=>{let e=w(t),i=T(t);f.done=Math.abs(e)<=u,f.value=f.done?x:i},S=t=>{m(f.value)&&(c=t,d=$({keyframes:[f.value,y(f.value)],velocity:X(T,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}
1))};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,b(t),S(t)),void 0!==c&&t>=c)?d.next(t-c):(e||b(t),f)}}}let N=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function z(t,e,i,n){if(t===e&&i===n)return s.Z;let r=e=>(function(t,e,i,n,r){let s,o;let a=0;do(s=N(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:N(r(t),e,n)}let Y=z(.42,0,1,1),K=z(0,0,.58,1),q=z(.42,0,.58,1),H=t=>Array.isArray(t)&&"number"!=typeof t[0];var G=i(2333),_=i(9015);let J=z(.33,1.53,.69,.99),Q=(0,_.M)(J),tt=(0,G.o)(Q),te=t=>t>=1?1:(t*=2)<1?.5*Q(t):.5*(2-Math.pow(2,-10*(t-1)));var ti=i(2927),tn=i(3857);let tr={linear:s.Z,easeIn:Y,easeInOut:q,easeOut:K,circIn:ti.Z7,circInOut:ti.X7,circOut:ti.Bn,backIn:Q,backInOut:tt,backOut:J,anticipate:te},ts=t=>"string"==typeof t,to=t=>{if((0,tn.q)(t)){(0,u.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return z(e,i,n,r)}return ts(t)?((0,u.k)(void 0!==tr[t],`Invalid easing type '${t}'`,"invalid-easing-type"),tr[t]):t};var ta=i(1645);function tl({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let o=H(n)?n.map(to):to(n),h={done:!1,value:e[0]},c=function(t,e,{clamp:i=!0,ease:n,mixer:o}={}){let h=t.length;if((0,u.k)(h===e.length,"Both input and output ranges must be the same length","range-length"),1===h)return()=>e[0];if(2===h&&e[0]===e[1])return()=>e[1];let c=t[0]===t[1];t[0]>t[h-1]&&(t=[...t].reverse(),e=[...e].reverse());let d=function(t,e,i){let n=[],o=i||r.c.mix||C,l=t.length-1;for(let i=0;i<l;i++){let r=o(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||s.Z:e;r=(0,a.z)(t,r)}n.push(r)}return n}(e,n,o),p=d.length,f=i=>{if(c&&i<t[0])return e[0];let n=0;if(p>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,ta.Y)(t[n],t[n+1],i);return d[n](r)};return i?e=>f((0,l.u)(t[0],t[h-1],e)):f}((i&&i.length===e.length?i:function(t){let e=[0];return function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=(0,ta.Y)(0,e,n);t.push((0,g.t)(i,1,r))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(o)?o:e.map(()=>o||q).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(h.value=c(e),h.done=e>=t,h)}}var tu=i(9118);let th={decay:U,inertia:U,tween:tl,keyframes:tl,spring:$};function tc(t){"string"==typeof t.type&&(t.type=th[t.type])}var td=i(9868);let tp=t=>t/100;class tf extends td.T{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==o.X.now()&&this.tick(o.X.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;tc(t);let{type:e=tl,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:o}=t,l=e||tl;l!==tl&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,a.z)(tp,C(o[0],o[1])),o=[0,100]);let u=l({...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=l({...t,keyframes:[...o].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=j(u));let{calculatedDuration:h}=u;this.calculatedDuration=h,this.resolvedDuration=h+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i;let{generator:n,totalDuration:r,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:h=0,keyframes:c,repeat:d,repeatType:p,repeatDelay:f,type:m,onUpdate:y,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-h*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let w=this.currentTime,T=n;if(d){let t=Math.min(this.currentTime,r)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/a)):"mirror"===p&&(T=o)),w=(0,l.u)(0,1,i)*a}x?(this.delayState.value=c[0],i=this.delayState):i=T.next(w),s&&!x&&(i.value=s(i.value));let{done:b}=i;x||null===u||(b=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return S&&m!==U&&(i.value=(0,tu.$)(c,this.options,v,this.speed)),y&&y(i.value),S&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,n.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,n.X)(t)}get time(){return(0,n.X)(this.currentTime)}set time(t){t=(0,n.w)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;
1if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return X(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(o.X.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,n.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=R,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(o.X.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var tm=i(2180),ty=i(3180),tv=i(3966);let tg={anticipate:te,backInOut:tt,circInOut:ti.X7};class tx extends tv._{constructor(t){"string"==typeof t.ease&&t.ease in tg&&(t.ease=tg[t.ease]),tc(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t){e.set(t);return}let a=new tf({...s,autoplay:!1}),u=Math.max(10,o.X.now()-this.startTime),h=(0,l.u)(0,10,u-10),c=a.sample(u).value,{name:d}=this.options;r&&d&&(0,ty.A)(r,d,c),e.setWithVelocity(a.sample(Math.max(0,u-h)).value,c,h),a.stop()}}var tw=i(721);let tT=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(d.P.test(t)||"0"===t)&&!t.startsWith("url("));function tb(t){t.duration=0,t.type="keyframes"}var tS=i(107),tM=i(5160);let tP=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,tk=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tA=(0,tS.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tV extends td.T{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:a,name:l,motionValue:u,element:h,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=o.X.now();let d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:l,motionValue:u,element:h,...c},p=h?.KeyframeResolver||tm.e;this.keyframeResolver=new p(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),l,u,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let a;this.keyframeResolver=void 0;let{name:l,type:h,velocity:c,delay:d,isHandoff:p,onUpdate:f}=i;this.resolvedAt=o.X.now();let m=!0;!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=tT(r,e),a=tT(s,e);return(0,u.K)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,tw.x)(i))&&n)}(t,l,h,c)&&(m=!1,(r.c.instantAnimations||!d)&&f?.(tu.$(t,i,e)),t[0]=t[t.length-1],tb(i),i.repeat=0);let y={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},v=m&&!p&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;
1let{onUpdate:u,transformTemplate:h}=e.owner.getProps();return tA()&&i&&(tM.t.has(i)||tk.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&tP.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!h)&&!u&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(y),g=y.motionValue?.owner?.current;if(v)try{a=new tx({...y,element:g})}catch{a=new tf(y)}else a=new tf(y);a.finished.then(()=>{this.notifyFinished()}).catch(s.Z),this.pendingTimeline&&(this.stopTimeline=a.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=a}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,tm.m)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var tE=i(5551),tC=i(6440);let tD={type:"spring",stiffness:500,damping:25,restSpeed:10},tR=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),tL={type:"keyframes",duration:.8},tj={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tB=(t,{keyframes:e})=>e.length>2?tL:tC.G.has(t)?t.startsWith("scale")?tR(e[1]):tD:tj,tF=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),tO=(t,e,i,s={},o,a)=>l=>{let u=(0,tE.e)(s,t)||{},h=u.delay||s.delay||0,{elapsed:c=0}=s;c-=(0,n.w)(h);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...u,delay:-c,onUpdate:t=>{e.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:t,motionValue:e,element:a?void 0:o};!function(t){for(let e in t)if(!tF.has(e))return!0;return!1}(u)&&Object.assign(d,tB(t,d)),d.duration&&(d.duration=(0,n.w)(d.duration)),d.repeatDelay&&(d.repeatDelay=(0,n.w)(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let p=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(tb(d),0!==d.delay||(p=!0)),(r.c.instantAnimations||r.c.skipAnimations||o?.shouldSkipAnimations||u.skipAnimations)&&(p=!0,tb(d),d.delay=0),d.allowFlatten=!u.type&&!u.ease,p&&!a&&void 0!==e.get()){let t=(0,tu.$)(d.keyframes,u);if(void 0!==t){D.Wi.update(()=>{d.onUpdate(t),d.onComplete()});return}}return u.isSync?new tf(d):new tV(d)}},2180:function(t,e,i){"use strict";i.d(e,{e:function(){return d},m:function(){return c}});var n=i(1152),r=i(6147);let s=new Set,o=!1,a=!1,l=!1;function u(){if(a){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.Ei)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,s.forEach(t=>t.complete(l)),s.clear()}function h(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function c(){l=!0,h(),u(),l=!1}class d{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),o||(o=!0,r.Wi.read(h),r.Wi.resolveKeyframes(u))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}}
1,9118:function(t,e,i){"use strict";i.d(e,{$:function(){return r}});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},r,s=1){let o=t.filter(n),a=s<0||e&&"loop"!==i&&e%2==1?0:o.length-1;return a&&void 0!==r?r:o[a]}},1152:function(t,e,i){"use strict";i.d(e,{Ei:function(){return h},lw:function(){return c},mP:function(){return a}});var n=i(1806),r=i(6440),s=i(1799),o=i(2854);let a=t=>t===s.Rx||t===o.px,l=new Set(["x","y","z"]),u=r._.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}let c={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,n.WK)(e,"x"),y:(t,{transform:e})=>(0,n.WK)(e,"y")};c.translateX=c.x,c.translateY=c.y},2786:function(t,e,i){"use strict";i.d(e,{M:function(){return n}});let n="data-"+(0,i(5843).D)("framerAppearId")},3453:function(t,e,i){"use strict";i.d(e,{s:function(){return r}});var n=i(2786);function r(t){return t.props[n.M]}},9868:function(t,e,i){"use strict";i.d(e,{T:function(){return n}});class n{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},5551:function(t,e,i){"use strict";i.d(e,{e:function(){return r}});var n=i(686);function r(t,e){let i=t?.[e]??t?.default??t;return i!==t?(0,n.r)(i,t):i}},8596:function(t,e,i){"use strict";i.d(e,{V3:function(){return l},f9:function(){return r},tm:function(){return o}});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},686:function(t,e,i){"use strict";function n(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}i.d(e,{r:function(){return n}})},5160:function(t,e,i){"use strict";i.d(e,{t:function(){return n}});let n=new Set(["opacity","clipPath","filter","transform","backgroundColor"])},6092:function(t,e,i){"use strict";i.d(e,{w:function(){return n}});let n=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}},335:function(t,e,i){"use strict";function n(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}i.d(e,{E:function(){return n}})},2862:function(t,e,i){"use strict";i.d(e,{Z:function(){return s}});var n=i(1457);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s(t,e){let i=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0;let s=e;e=i,i=s,e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{setup:u,read:h,resolveKeyframes:c,preUpdate:d,update:p,preRender:f,render:m,postRender:y}=l,v=()=>{let r=n.c.useManualTiming,a=r?o.timestamp:performance.now();i=!1,r||(o.delta=s?1e3/60:Math.max(Math.min(a-o.timestamp,40),1)),o.timestamp=a,o.isProcessing=!0,u.process(o),h.process(o),c.process(o),d.process(o),p.process(o),f.process(o),m.process(o),y.process(o),o.isProcessing=!1,i&&e&&(s=!1,t(v))},g=()=>{i=!0,s=!0,o.isProcessing||t(v)};return{schedule:r.reduce((t,e)=>{let n=l[e];return t[e]=(t,e=!1,r=!1)=>(i||g(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:o,steps:l}}}
1,6147:function(t,e,i){"use strict";i.d(e,{Pn:function(){return s},Wi:function(){return r},frameData:function(){return o},yL:function(){return a}});var n=i(6277);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(2862).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},3697:function(t,e,i){"use strict";i.d(e,{g:function(){return n}});let{schedule:n,cancel:r}=(0,i(2862).Z)(queueMicrotask,!1)},1927:function(t,e,i){"use strict";let n;i.d(e,{X:function(){return a}});var r=i(1457),s=i(6147);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.frameData.isProcessing||r.c.useManualTiming?s.frameData.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},5888:function(t,e,i){"use strict";i.d(e,{g:function(){return r},r:function(){return n}});let n={x:!1,y:!1};function r(){return n.x||n.y}},5785:function(t,e,i){"use strict";i.d(e,{T:function(){return o},_:function(){return r}});let n=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function r(t){return n.has(t.tagName)||!0===t.isContentEditable}let s=new Set(["INPUT","SELECT","TEXTAREA"]);function o(t){return s.has(t.tagName)||!0===t.isContentEditable}},5602:function(t,e,i){"use strict";i.d(e,{D:function(){return n}});let n=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary},4256:function(t,e,i){"use strict";function n({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(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}}i.d(e,{d7:function(){return s},i8:function(){return n},z2:function(){return r}})},7607:function(t,e,i){"use strict";i.d(e,{D2:function(){return p},YY:function(){return u},am:function(){return h},o2:function(){return l},q2:function(){return s}});var n=i(3811),r=i(3251);function s(t,e,i){return i+e*(t-i)}function o(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function a(t,e=0,i=1,n,r){t.min=o(t.min,e,i,n,r),t.max=o(t.max,e,i,n,r)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,n=!1){let s,o;let a=i.length;if(a){e.x=e.y=1;for(let u=0;u<a;u++){o=(s=i[u]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(h(t.x,-s.scroll.offset.x),h(t.y,-s.scroll.offset.y)),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),n&&(0,r.ud)(s.latestValues)&&p(t,s.latestValues,s.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function h(t,e){t.min+=e,t.max+=e}function c(t,e,i,r,s=.5){let o=(0,n.t)(t.min,t.max,s);a(t,e,i,o,r)}function d(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function p(t,e,i){let n=i??t;c(t.x,d(e.x,n.x),e.scaleX,e.scale,e.originX),c(t.y,d(e.y,n.y),e.scaleY,e.scale,e.originY)}},5923:function(t,e,i){"use strict";i.d(e,{dO:function(){return o},wc:function(){return r}});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},302:function(t,e,i){"use strict";i.d(e,{P:function(){return u}});var n=i(7086),r=i(2854);function s(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let o={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!r.px.test(t))return t;t=parseFloat(t)}let i=s(t,e.target.x),n=s(t,e.target.y);return`${i}% ${n}%`}};var a=i(5050),l=i(3811);let u={borderRadius:{...o,applyTo:[...n.v]},borderTopLeftRadius:o,borderTopRightRadius:o,borderBottomLeftRadius:o,borderBottomRightRadius:o,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=a.P.parse(t);if(n.length>5)return t;let r=a.P.createTransformer(t),s="number"!=typeof n[0]?1:0,o=i.x.scale*e.x,u=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=u;let h=(0,l.t)(o,u,.5);return"number"==typeof n[2+s]&&(n[2+s]/=h),"number"==typeof n[3+s]&&(n[3+s]/=h),r(n)}}}},3251:function(t,e,i){"use strict";function n(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:i}){return!n(t)||!n(e)||!n(i)}function s(t){return r(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{D_:function(){return o},Lj:function(){return r},ud:function(){return s}})}
1,9745:function(t,e,i){"use strict";i.d(e,{J:function(){return s},z:function(){return o}});var n=i(4256),r=i(7607);function s(t,e){return(0,n.i8)((0,n.d7)(t.getBoundingClientRect(),e))}function o(t,e,i){let n=s(t,i),{scroll:o}=e;return o&&((0,r.am)(n.x,o.offset.x),(0,r.am)(n.y,o.offset.y)),n}},1885:function(t,e,i){"use strict";i.d(e,{L:function(){return n}});class n{constructor(t){this.isMounted=!1,this.node=t}update(){}}},6210:function(t,e,i){"use strict";i.d(e,{l9:function(){return L},uN:function(){return R},v7:function(){return D}});var n=i(9711),r=i(1141),s=i(2476),o=i(4513),a=i(2180),l=i(3966),u=i(5160),h=i(3697),c=i(1927),d=i(5923),p=i(4357),f=i(5050),m=i(2442),y=i(7537),v=i(1272),g=i(363);let x=[...v.$,y.$,f.P],w=t=>x.find((0,g.l)(t));var T=i(7493);let b=new WeakMap;var S=i(5713),M=i(6440),P=i(4662),k=i(2596),A=i(7435),V=i(6147);let E=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],C={};function D(t){C=t}function R(){return C}class L{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=a.e,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=c.X.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,V.Wi.render(this.render,!1,!0))};let{latestValues:u,renderState:h}=o;this.latestValues=u,this.baseTarget={...u},this.initialValues=e.initial?{...u}:{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,S.G)(e),this.isVariantNode=(0,S.M)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:d,...p}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in p){let e=p[t];void 0!==u[t]&&(0,T.i)(e)&&e.set(u[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,b.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(A.O.current||(0,P.Ad)(),this.shouldReduceMotion=A.n.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,V.Pn
1)(this.notifyUpdate),(0,V.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&u.t.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:s,ease:o,duration:a}=e.accelerate,u=new l._({element:this.current,name:t,keyframes:r,times:s,ease:o,duration:(0,n.w)(a)}),h=i(u);this.valueSubscriptions.set(t,()=>{h(),u.cancel()});return}let r=M.G.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&V.Wi.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in C){let e=C[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(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):(0,d.dO)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<E.length;e++){let i=E[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if((0,T.i)(r))t.addValue(n,r);else if((0,T.i)(s))t.addValue(n,(0,p.BX)(r,{owner:t}));else if(s!==r){if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,p.BX)(void 0!==e?e:r,{owner:t}))}}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&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&&(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&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,p.BX)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&((0,r.P)(i)||(0,s.W)(i))?i=parseFloat(i):!w(i)&&f.P.test(e)&&(i=(0,m.T)(t,e)),this.setBaseTarget(t,(0,T.i)(i)?i.get():i)),(0,T.i)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,k.o)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,T.i)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new o.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){h.g.render(this.render)}}}
1,1806:function(t,e,i){"use strict";i.d(e,{E$:function(){return h},RT:function(){return d},WK:function(){return c}});let n=t=>180*t/Math.PI,r=t=>o(n(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(n(Math.atan2(t[6],t[5]))),rotateY:t=>o(n(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return t.includes("scale")?1:0}function c(t,e){let i,n;if(!t||"none"===t)return h(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=u,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return h(e);let o=i[e],a=n[1].split(",").map(p);return"function"==typeof o?o(a):a[o]}let d=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return c(i,e)};function p(t){return parseFloat(t.trim())}},3180:function(t,e,i){"use strict";i.d(e,{A:function(){return r}});let n=t=>t.startsWith("--");function r(t,e,i){n(e)?t.style.setProperty(e,i):t.style[e]=i}},5843:function(t,e,i){"use strict";function n(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}i.d(e,{D:function(){return n}})},8274:function(t,e,i){"use strict";i.d(e,{r:function(){return u}});let n=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var r=i(6050),s=i(6440),o=i(8596);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=s._.length;function u(t,e,i){let{style:u,vars:h,transformOrigin:c}=t,d=!1,p=!1;for(let t in e){let i=e[t];if(s.G.has(t)){d=!0;continue}if((0,o.f9)(t)){h[t]=i;continue}{let e=n(i,r.j[t]);t.startsWith("origin")?(p=!0,c[t]=e):u[t]=e}}if(!e.transform&&(d||i?u.transform=function(t,e,i){let o="",u=!0;for(let h=0;h<l;h++){let l=s._[h],c=t[l];if(void 0===c)continue;let d=!0;if("number"==typeof c)d=c===(l.startsWith("scale")?1:0);else{let t=parseFloat(c);d=l.startsWith("scale")?1===t:0===t}if(!d||i){let t=n(c,r.j[l]);if(!d){u=!1;let e=a[l]||l;o+=`${e}(${t}) `}i&&(e[l]=t)}}let h=t.pathRotation;return h&&(u=!1,o+=`rotate(${n(h,r.j.pathRotation)}) `),o=o.trim(),i?o=i(e,u?"":o):u&&(o="none"),o}(e,t.transform,i):u.transform&&(u.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;u.transformOrigin=`${t} ${e} ${i}`}}},6384:function(t,e,i){"use strict";i.d(e,{U:function(){return s}});var n=i(7493),r=i(4543);function s(t,e,i){let s=t.style,o=e?.style,a={};if(!s)return a;for(let e in s)((0,n.i)(s[e])||o&&(0,n.i)(o[e])||(0,r.jF)(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(a[e]=s[e]);return a}},5460:function(t,e,i){"use strict";i.d(e,{i:function(){return a}});var n=i(8274);let r={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"},o=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function a(t,{attrX:e,attrY:i,attrScale:a,pathLength:l,pathSpacing:u=1,pathOffset:h=0,...c},d,p,f){if((0,n.r)(t,c,p),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:y}=t;for(let t of(m.transform&&(y.transform=m.transform,delete m.transform),(y.transform||m.transformOrigin)&&(y.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),y.transform&&(y.transformBox=f?.transformBox??"fill-box",delete m.transformBox),o))void 0!==m[t]&&(y[t]=m[t],delete m[t]);void 0!==e&&(m.x=e),void 0!==i&&(m.y=i),void 0!==a&&(m.scale=a),void 0!==l&&function(t,e,i=1,n=0,o=!0){t.pathLength=1;let a=o?r:s;t[a.offset]=`${-n}`,t[a.array]=`${e} ${i}`}(m,l,u,h,!1)}},2018:function(t,e,i){"use strict";i.d(e,{a:function(){return n}});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},8233:function(t,e,i){"use strict";i.d(e,{U:function(){return o}});var n=i(7493),r=i(6440),s=i(6384);function o(t,e,i){let o=(0,s.U)(t,e,i);for(let i in t)((0,n.i)(t[i])||(0,n.i)(e[i]))&&(o[-1!==r._.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}}
1,435:function(t,e,i){"use strict";function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{H:function(){return n}})},5713:function(t,e,i){"use strict";i.d(e,{G:function(){return o},M:function(){return a}});var n=i(435),r=i(5659),s=i(5741);function o(t){return(0,n.H)(t.animate)||s.V.some(e=>(0,r.$)(t[e]))}function a(t){return!!(o(t)||t.variants)}},4543:function(t,e,i){"use strict";i.d(e,{jF:function(){return s}});var n=i(6440),r=i(302);function s(t,{layout:e,layoutId:i}){return n.G.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!r.P[t]||"opacity"===t)}},5659:function(t,e,i){"use strict";function n(t){return"string"==typeof t||Array.isArray(t)}i.d(e,{$:function(){return n}})},4151:function(t,e,i){"use strict";i.d(e,{z:function(){return n}});let n=new Set(["width","height","top","left","right","bottom",...i(6440)._])},6440:function(t,e,i){"use strict";i.d(e,{G:function(){return r},_:function(){return n}});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set([...n,"pathRotation"])},4662:function(t,e,i){"use strict";i.d(e,{Ad:function(){return s}});var n=i(7435);let r="undefined"!=typeof window;function s(){if(n.O.current=!0,r){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>n.n.current=t.matches;t.addEventListener("change",e),e()}else n.n.current=!1}}},7435:function(t,e,i){"use strict";i.d(e,{O:function(){return r},n:function(){return n}});let n={current:null},r={current:!1}},2596:function(t,e,i){"use strict";function n(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function r(t,e,i,r){if("function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}return e}i.d(e,{o:function(){return r}})},5741:function(t,e,i){"use strict";i.d(e,{V:function(){return r},e:function(){return n}});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},7086:function(t,e,i){"use strict";i.d(e,{v:function(){return n}});let n=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]},3811:function(t,e,i){"use strict";i.d(e,{t:function(){return n}});let n=(t,e,i)=>t+(e-t)*i},9960:function(t,e,i){"use strict";function n(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}i.d(e,{I:function(){return n}})},4357:function(t,e,i){"use strict";i.d(e,{BX:function(){return h}});var n=i(4513),r=i(8294),s=i(1927),o=i(6147);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.X.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(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 n.L);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Wi.read(()=>{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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}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&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new u(t,e)}}
1,1664:function(t,e,i){"use strict";i.d(e,{$:function(){return r}});var n=i(230);let r={test:(0,i(8017).i)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.m.transform}},2017:function(t,e,i){"use strict";i.d(e,{J:function(){return a}});var n=i(1799),r=i(2854),s=i(1224),o=i(8017);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,s.N)(e))+", "+r.aQ.transform((0,s.N)(i))+", "+(0,s.N)(n.Fq.transform(o))+")"}},7537:function(t,e,i){"use strict";i.d(e,{$:function(){return o}});var n=i(1664),r=i(2017),s=i(230);let o={test:t=>s.m.test(t)||n.$.test(t)||r.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):r.J.test(t)?r.J.parse(t):n.$.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.m.transform(t):r.J.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},230:function(t,e,i){"use strict";i.d(e,{m:function(){return u}});var n=i(1865),r=i(1799),s=i(1224),o=i(8017);let a=t=>(0,n.u)(0,255,t),l={...r.Rx,transform:t=>Math.round(a(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.N)(r.Fq.transform(n))+")"}},8017:function(t,e,i){"use strict";i.d(e,{i:function(){return s},d:function(){return o}});var n=i(3855);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.K);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},9290:function(t,e,i){"use strict";i.d(e,{h:function(){return l}});var n=i(5050),r=i(3855);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.K)||[];if(!n)return t;let o=i.replace(n,""),a=s.has(e)?1:0;return n!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...n.P,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},5050:function(t,e,i){"use strict";i.d(e,{V:function(){return h},P:function(){return f}});var n=i(7537);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(3855),o=i(1224);let a="number",l="color",u=/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 h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(n.$.test(t)?(r.color.push(o),s.push(l),i.push(n.$.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function c({split:t,types:e}){let i=t.length;return r=>{let s="";for(let u=0;u<i;u++)if(s+=t[u],void 0!==r[u]){let t=e[u];t===a?s+=(0,o.N)(r[u]):t===l?s+=n.$.transform(r[u]):s+=r[u]}return s}}let d=t=>"number"==typeof t?0:n.$.test(t)?n.$.getAnimatableNone(t):t,p=(t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:d(t),f={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.K)?.length||0)+(t.match(r)?.length||0)>0},parse:function(t){return h(t).values},createTransformer:function(t){return c(h(t))},getAnimatableNone:function(t){let e=h(t);return c(e)(e.values.map((t,i)=>p(t,e.split[i])))}}},1472:function(t,e,i){"use strict";i.d(e,{s:function(){return r}});var n=i(5050);let r={...n.P,getAnimatableNone:t=>{let e=n.P.parse(t);return n.P.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}}}
1,1272:function(t,e,i){"use strict";i.d(e,{$:function(){return o},C:function(){return a}});var n=i(1799),r=i(2854),s=i(363);let o=[n.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.l)(t))},2361:function(t,e,i){"use strict";i.d(e,{A:function(){return a}});var n=i(7537),r=i(9290),s=i(1472);let o={...i(6050).j,color:n.$,backgroundColor:n.$,outlineColor:n.$,fill:n.$,stroke:n.$,borderColor:n.$,borderTopColor:n.$,borderRightColor:n.$,borderBottomColor:n.$,borderLeftColor:n.$,filter:r.h,WebkitFilter:r.h,mask:s.s,WebkitMask:s.s},a=t=>o[t]},6050:function(t,e,i){"use strict";i.d(e,{j:function(){return a}});var n=i(1799);let r={...n.Rx,transform:Math.round};var s=i(2854);let o={rotate:s.RW,pathRotation:s.RW,rotateX:s.RW,rotateY:s.RW,rotateZ:s.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:s.RW,skewX:s.RW,skewY:s.RW,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:n.Fq,originX:s.$C,originY:s.$C,originZ:s.px},a={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,inset:s.px,insetBlock:s.px,insetBlockStart:s.px,insetBlockEnd:s.px,insetInline:s.px,insetInlineStart:s.px,insetInlineEnd:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,paddingBlock:s.px,paddingBlockStart:s.px,paddingBlockEnd:s.px,paddingInline:s.px,paddingInlineStart:s.px,paddingInlineEnd:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,marginBlock:s.px,marginBlockStart:s.px,marginBlockEnd:s.px,marginInline:s.px,marginInlineStart:s.px,marginInlineEnd:s.px,fontSize:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...o,zIndex:r,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:r}},1799:function(t,e,i){"use strict";i.d(e,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var n=i(1865);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.u)(0,1,t)},o={...r,default:1}},2854:function(t,e,i){"use strict";i.d(e,{$C:function(){return u},RW:function(){return r},aQ:function(){return s},px:function(){return o},vh:function(){return a},vw:function(){return l}});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},363:function(t,e,i){"use strict";i.d(e,{l:function(){return n}});let n=t=>e=>e.test(t)},2442:function(t,e,i){"use strict";i.d(e,{T:function(){return l}});var n=i(5050),r=i(9290),s=i(1472),o=i(2361);let a=new Set([r.h,s.s]);function l(t,e){let i=(0,o.A)(t);return a.has(i)||(i=n.P),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},3855:function(t,e,i){"use strict";i.d(e,{K:function(){return n}});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},1224:function(t,e,i){"use strict";i.d(e,{N:function(){return n}});let n=t=>Math.round(1e5*t)/1e5},7493:function(t,e,i){"use strict";i.d(e,{i:function(){return n}});let n=t=>!!(t&&t.getVelocity)},4614:function(t,e,i){"use strict";i.d(e,{K:function(){return s}});var n=i(1457),r=i(7493);function s(t,e){let i=t.getValue("willChange");if((0,r.i)(i)&&i.add)return i.add(e);if(!i&&n.c.WillChange){let i=new n.c.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},8425:function(t,e,i){"use strict";function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{cl:function(){return r},y4:function(){return n}})},1865:function(t,e,i){"use strict";i.d(e,{u:function(){return n}});let n=(t,e,i)=>i>e?e:i<t?t:i},2927:function(t,e,i){"use strict";i.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var n=i(2333),r=i(9015);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.M)(s),a=(0,n.o)(s)}
1,2333:function(t,e,i){"use strict";i.d(e,{o:function(){return n}});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},9015:function(t,e,i){"use strict";i.d(e,{M:function(){return n}});let n=t=>e=>1-t(1-e)},3857:function(t,e,i){"use strict";i.d(e,{q:function(){return n}});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},2035:function(t,e,i){"use strict";i.d(e,{K:function(){return n},k:function(){return r}}),i(257);let n=()=>{},r=()=>{}},1457:function(t,e,i){"use strict";i.d(e,{c:function(){return n}});let n={}},1141:function(t,e,i){"use strict";i.d(e,{P:function(){return n}});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},1464:function(t,e,i){"use strict";i.d(e,{K:function(){return n}});let n=t=>"object"==typeof t&&null!==t},2476:function(t,e,i){"use strict";i.d(e,{W:function(){return n}});let n=t=>/^0[^.\s]+$/u.test(t)},107:function(t,e,i){"use strict";function n(t){let e;return()=>(void 0===e&&(e=t()),e)}i.d(e,{X:function(){return n}})},6277:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=t=>t},4750:function(t,e,i){"use strict";i.d(e,{z:function(){return n}});let n=(...t)=>t.reduce((t,e)=>i=>e(t(i)))},1645:function(t,e,i){"use strict";i.d(e,{Y:function(){return n}});let n=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1}},4513:function(t,e,i){"use strict";i.d(e,{L:function(){return r}});var n=i(8425);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(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 r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},9711:function(t,e,i){"use strict";i.d(e,{X:function(){return r},w:function(){return n}});let n=t=>1e3*t,r=t=>t/1e3},8294:function(t,e,i){"use strict";i.d(e,{R:function(){return n}});let n=(t,e)=>e?1e3/e*t:0},893:function(t,e,i){"use strict";let n,r;i.d(e,{m:function(){return eQ}});var s,o=i(7095),a=i(7437),l=i(2265);let u=(0,l.createContext)({});var h=i(7337);let c=(0,l.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),d=(0,l.createContext)({});var p=i(5713),f=i(5659);function m(t){return Array.isArray(t)?t.join(" "):t}var y=i(7493),v=i(4543),g=i(8274);let x=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function w(t,e,i){for(let n in e)(0,y.i)(e[n])||(0,v.jF)(n,i)||(t[n]=e[n])}var T=i(5460),b=i(2018);let S=()=>({...x(),attrs:{}}),M=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function P(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||M.has(t)}let k=t=>!P(t);
1try{s=require("@emotion/is-prop-valid").default,"function"==typeof s&&(k=t=>t.startsWith("on")?!P(t):s(t))}catch{}var A=i(4044),V=i(6384);function E(t){return(0,y.i)(t)?t.get():t}var C=i(435),D=i(2596);let R=(0,l.createContext)(null),L=t=>(e,i)=>{let n=(0,l.useContext)(d),r=(0,l.useContext)(R),s=()=>(function(t,e,i,n){let{scrapeMotionValuesFromProps:r,createRenderState:s}=t;return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=E(s[t]);let{initial:o,animate:a}=t,l=(0,p.G)(t),u=(0,p.M)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!(0,C.H)(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=(0,D.o)(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&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(e,i,n,r),renderState:s()}})(t,e,n,r);return i?s():function(t){let e=(0,l.useRef)(null);return null===e.current&&(e.current=t()),e.current}(s)},j=L({scrapeMotionValuesFromProps:V.U,createRenderState:x}),B=L({scrapeMotionValuesFromProps:i(8233).U,createRenderState:S});var F=i(5938),O=i(4470);let I=Symbol.for("motionComponentSymbol");var W=i(2786);let $=(0,l.createContext)({});function Z(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let X="undefined"!=typeof window?l.useLayoutEffect:l.useEffect;function U(t){var e,i;let{forwardMotionProps:n=!1,type:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;s&&(0,O.K)(s);let v=r?"svg"===r:(0,A.q)(t),M=v?B:j;function V(e,i){let r;let s={...(0,l.useContext)(c),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,l.useContext)(u).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:V}=s,E=function(t){let{initial:e,animate:i}=function(t,e){if((0,p.G)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,f.$)(e)?e:void 0,animate:(0,f.$)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,l.useContext)(d));return(0,l.useMemo)(()=>({initial:e,animate:i}),[m(e),m(i)])}(e),C=M(e,V);if(!V&&"undefined"!=typeof window){(0,l.useContext)(h.u).strict;let e=function(t){let{drag:e,layout:i}=(0,F.t)();if(!e&&!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}}(s);r=e.MeasureLayout,E.visualElement=function(t,e,i,n,r,s){var o,a,u,p;let{visualElement:f}=(0,l.useContext)(d),m=(0,l.useContext)(h.u),y=(0,l.useContext)(R),v=(0,l.useContext)(c),g=v.reducedMotion,x=v.skipAnimations,w=(0,l.useRef)(null),T=(0,l.useRef)(!1);n=n||m.renderer,!w.current&&n&&(w.current=n(t,{visualState:e,parent:f,props:i,presenceContext:y,blockInitialAnimation:!!y&&!1===y.initial,reducedMotionConfig:g,skipAnimations:x,isSVG:s}),T.current&&w.current&&(w.current.manuallyAnimateOnMount=!0));let b=w.current,S=(0,l.useContext)($);b&&!b.projection&&r&&("html"===b.type||"svg"===b.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=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:r,layout:s,alwaysMeasureLayout:!!o||a&&Z(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(w.current,i,r,S);let M=(0,l.useRef)(!1);(0,l.useInsertionEffect)(()=>{b&&M.current&&b.update(i,y)});let P=i[W.M],k=(0,l.useRef)(!!P&&"undefined"!=typeof window&&!(null===(o=(a=window).MotionHandoffIsComplete)||void 0===o?void 0:o.call(a,P))&&(null===(u=(p=window).MotionHasOptimisedAnimation)||void 0===u?void 0:u.call(p,P)));return X(()=>{T.current=!0,b&&(M.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),b.scheduleRenderMicrotask(),k.current&&b.animationState&&b.animationState.animateChanges())}),(0,l.useEffect)(()=>{b&&(!k.current&&b.animationState&&b.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{var t,e;null===(t=(e=window).MotionHandoffMarkAsComplete)||void 0===t||t.call(e,P)}),k.current=!1),b.enteringChildren=void 0)}),b}(t,C,s,o,e.ProjectionNode,v)}return(0,a.jsxs)(d.Provider,{value:E,children:[r&&E.visualElement?(0,a.jsx)(r,{visualElement:E.visualElement,...s}
1):null,function(t,e,i,n,r){let{latestValues:s}=n,o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,u=((null!=a?a:(0,A.q)(t))?function(t,e,i,n){let r=(0,l.useMemo)(()=>{let i=S();return(0,T.i)(i,e,(0,b.a)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};w(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return w(n,i,t),Object.assign(n,function(t,e){let{transformTemplate:i}=t;return(0,l.useMemo)(()=>{let t=x();return(0,g.r)(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(e,s,r,t),h=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&!(0,y.i)(t[r])&&(k(r)||!0===i&&P(r)||!e&&!P(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,o),c=t!==l.Fragment?{...h,...u,ref:i}:{},{children:d}=e,p=(0,l.useMemo)(()=>(0,y.i)(d)?d.get():d,[d]);return(0,l.createElement)(t,{...c,children:p})}(t,e,function(t,e,i){let n=(0,l.useRef)(i);(0,l.useInsertionEffect)(()=>{n.current=i});let r=(0,l.useRef)(null);return(0,l.useCallback)(i=>{if(i){var s;null===(s=t.onMount)||void 0===s||s.call(t,i)}e&&(i?e.mount(i):e.unmount());let o=n.current;if("function"==typeof o){if(i){let t=o(i);"function"==typeof t&&(r.current=t)}else r.current?(r.current(),r.current=null):o(i)}else o&&(o.current=i)},[e])}(C,E.visualElement,i),C,V,n,v)]})}V.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!==(i=null!==(e=t.displayName)&&void 0!==e?e:t.name)&&void 0!==i?i:"",")"));let E=(0,l.forwardRef)(V);return E[I]=t,E}var N=i(3836),z=i(1885),Y=i(6277),K=i(5923),q=i(5888);function H(t){return[t("x"),t("y")]}var G=i(2854),_=i(3811);function J(t){return t.max-t.min}function Q(t,e,i,n=.5){t.origin=n,t.originPoint=(0,_.t)(e.min,e.max,t.origin),t.scale=J(i)/J(e),t.translate=(0,_.t)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function tt(t,e,i,n){Q(t.x,e.x,i.x,n?n.originX:void 0),Q(t.y,e.y,i.y,n?n.originY:void 0)}function te(t,e,i,n=0){let r=n?(0,_.t)(i.min,i.max,n):i.min;t.min=r+e.min,t.max=t.min+J(e)}function ti(t,e,i,n=0){let r=n?(0,_.t)(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+J(e)}function tn(t,e,i,n){ti(t.x,e.x,i.x,n?.x),ti(t.y,e.y,i.y,n?.y)}var tr=i(6147),ts=i(4614),to=i(9745),ta=i(4256),tl=i(5731),tu=i(5785),th=i(335),tc=i(1464);function td(t){return(0,tc.K)(t)&&"ownerSVGElement"in t}var tp=i(9960);let tf=new WeakMap,tm=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:td(n)&&"getBBox"in n?n.getBBox()[e]:n[i],ty=tm("inline","width","offsetWidth"),tv=tm("block","height","offsetHeight");function tg({target:t,borderBoxSize:e}){tf.get(t)?.forEach(i=>{i(t,{get width(){return ty(t,e)},get height(){return tv(t,e)}})})}function tx(t){t.forEach(tg)}let tw=new Set;function tT(t,e){return"function"==typeof t?(tw.add(t),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};tw.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{tw.delete(t),tw.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):function(t,e){n||"undefined"==typeof ResizeObserver||(n=new ResizeObserver(tx));let i=(0,tp.I)(t);return i.forEach(t=>{let i=tf.get(t);i||(i=new Set,tf.set(t,i)),i.add(e),n?.observe(t)}),()=>{i.forEach(t=>{let i=tf.get(t);i?.delete(e),i?.size||n?.unobserve(t)})}}(t,e)}var tb=i(2035),tS=i(3490);function tM(t,e,i,n){return(0,th.E)(t,e,(0,tS.s)(i),n)}let tP=({current:t})=>t?t.ownerDocument.defaultView:null;var tk=i(5602),tA=i(4750),tV=i(9711);let tE=(t,e)=>Math.abs(t-e),tC=new Set(["auto","scroll"]);class tD{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=tR(this.lastRawMoveEventInfo,this.transformPagePoint));let i=tj(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(tE(t.x,e.x)**2+tE(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=tr.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=tR(e,this.transformPagePoint),tr.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tj("pointercancel"===t.type?this.lastMoveEventInfo:tR(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!(0,tk.D)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;let a=tR((0,tS.Q)(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tr.frameData;this.history=[{...l,timestamp:u}];let{onSessionStart:h}=e;h&&h(t,tj(a,this.history));let c={passive:!0,capture:!0};this.removeListeners=(0,tA.z)(tM(this.contextWindow,"pointermove",this.handlePointerMove,c),tM(this.contextWindow,"pointerup",this.handlePointerUp,c),tM(this.contextWindow,"pointercancel",this.handlePointerUp,c)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(tC.has(t.overflowX)||tC.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),tr.Wi.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,tr.Pn)(this.updatePoint)}}function tR(t,e){return e?{point:e(t.point)}:t}function tL(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tj({point:t},e){return{point:t,delta:tL(t,tB(e)),offset:tL(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=tB(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,tV.w)(.1)));)i--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&r.timestamp-n.timestamp>2*(0,tV.w)(.1)&&(n=t[1]);let s=(0,tV.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
1;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function tB(t){return t[t.length-1]}var tF=i(1645),tO=i(1865);function tI(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 tW(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function t$(t,e,i){return{min:tZ(t,e),max:tZ(t,i)}}function tZ(t,e){return"number"==typeof t?t:t[e]||0}let tX=new WeakMap;function tU(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function tN(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}z.L;z.L;let tz={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var tY=i(3697);let tK=!1;l.Component;var tq=i(4513),tH=i(4357),tG=i(3453),t_=i(5551),tJ=i(1927),tQ=i(302);let t0={value:null,addProjectionMetrics:null};var t1=i(2927),t2=i(7086);let t5=t2.v.length,t4=t=>"string"==typeof t?parseFloat(t):t,t7=t=>"number"==typeof t||G.px.test(t);function t3(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let t6=t8(0,.5,t1.Bn),t9=t8(.5,.95,Y.Z);function t8(t,e,i){return n=>n<t?0:n>e?1:i((0,tF.Y)(t,e,n))}function et(t,e){t.min=e.min,t.max=e.max}function ee(t,e){et(t.x,e.x),et(t.y,e.y)}function ei(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var en=i(7607);function er(t,e,i,n,r){return t-=e,t=(0,en.q2)(t,1/i,n),void 0!==r&&(t=(0,en.q2)(t,1/r,n)),t}function es(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(G.aQ.test(e)&&(e=parseFloat(e),e=(0,_.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,_.t)(s.min,s.max,n);t===s&&(a-=e),t.min=er(t.min,e,i,a,r),t.max=er(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let eo=["x","scaleX","originX"],ea=["y","scaleY","originY"];function el(t,e,i,n){es(t.x,e,eo,i?i.x:void 0,n?n.x:void 0),es(t.y,e,ea,i?i.y:void 0,n?n.y:void 0)}function eu(t){return 0===t.translate&&1===t.scale}function eh(t){return eu(t.x)&&eu(t.y)}function ec(t,e){return t.min===e.min&&t.max===e.max}function ed(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ep(t,e){return ed(t.x,e.x)&&ed(t.y,e.y)}function ef(t){return J(t.x)/J(t.y)}function em(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var ey=i(8425);class ev{constructor(){this.members=[]}add(t){(0,ey.y4)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||((0,ey.cl)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,ey.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:r}=t.options;(void 0===n||n!==r)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let eg=(t,e)=>t.depth-e.depth;class ex{constructor(){this.children=[],this.isDirty=!1}add(t){(0,ey.y4)(this.children,t),this.isDirty=!0}remove(t){(0,ey.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eg),this.isDirty=!1,this.children.forEach(t)}}var ew=i(3251);let eT={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eb=["","X","Y","Z"],eS=0;function eM(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function eP({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=eS++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,t0.value&&(eT.nodes=eT.calculatedTargetDeltas=eT.calculatedProjections=0),this.nodes.forEac
1h(eV),this.nodes.forEach(eO),this.nodes.forEach(eI),this.nodes.forEach(eE),t0.addProjectionMetrics&&t0.addProjectionMetrics(eT)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new ex)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tq.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=td(e)&&!(td(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i;let n=0,r=()=>this.root.updateBlockedByResize=!1;tr.Wi.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tJ.X.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,tr.Pn)(n),t(r-250))};return tr.Wi.setup(n,!0),()=>(0,tr.Pn)(n)}(r,0),tz.hasAnimatedSinceResize&&(tz.hasAnimatedSinceResize=!1,this.nodes.forEach(eF)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||eN,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!ep(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,t_.e)(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||eF(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,tr.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(eW),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,tG.s)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tr.Wi,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
1h(eR),this.nodes.forEach(eD);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(eL);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ej),this.nodes.forEach(eB),this.nodes.forEach(ek),this.nodes.forEach(eA)):this.nodes.forEach(eL),this.clearAllSnapshots();let t=tJ.X.now();tr.frameData.delta=(0,tO.u)(0,1e3/60,t-tr.frameData.timestamp),tr.frameData.timestamp=t,tr.frameData.isProcessing=!0,tr.yL.update.process(tr.frameData),tr.yL.preRender.process(tr.frameData),tr.yL.render.process(tr.frameData),tr.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tY.g.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eC),this.sharedNodes.forEach(e$)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tr.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tr.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||J(this.snapshot.measuredBox.x)||J(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,K.dO)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){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(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!eh(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,ew.ud)(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),eK((e=n).x),eK(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,K.dO)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eH))){let{scroll:t}=this.root;t&&((0,en.am)(e.x,t.offset.x),(0,en.am)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,K.dO)();if(ee(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&ee(e,t),(0,en.am)(e.x,r.offset.x),(0,en.am)(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||(0,K.dO)();ee(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,en.am)(n.x,-i.scroll.offset.x),(0,en.am)(n.y,-i.scroll.offset.y)),(0,ew.ud)(i.latestValues)&&(0,en.D2)(n,i.latestValues,i.layout?.layoutBox)}return(0,ew.ud)(this.latestValues)&&(0,en.D2)(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=(0,K.dO)();ee(e,t);for(let t=0;t<this.path.length;t++){let i;let n=this.path[t];(0,ew.ud)(n.latestValues)&&(n.instance&&((0,ew.Lj)(n.latestValues)&&n.updateSnapshot(),ee(i=(0,K.dO)(),n.measurePageBox())),el(e,n.latestValues,n.snapshot?.layoutBox,i))}return(0,ew.ud)(this.latestValues)&&el(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&&this.relativeParent.resolvedRelativeTargetAt!==tr.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=tr.frameData.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,K.dO)(),this.targetWithTransforms=(0,K.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,u;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,te(o.x,a.x,l.x,u?.x),te(o.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ee
1(this.target,this.layout.layoutBox),(0,en.o2)(this.target,this.targetDelta)):ee(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),t0.value&&eT.calculatedTargetDeltas++}}getClosestProjectingParent(){return!this.parent||(0,ew.Lj)(this.parent.latestValues)||(0,ew.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,K.dO)(),this.relativeTargetOrigin=(0,K.dO)(),tn(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),ee(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tr.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;ee(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;(0,en.YY)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,K.dO)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ei(this.prevProjectionDelta.x,this.projectionDelta.x),ei(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tt(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&em(this.projectionDelta.x,this.prevProjectionDelta.x)&&em(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),t0.value&&eT.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,K.wc)(),this.projectionDelta=(0,K.wc)(),this.projectionDeltaWithTransform=(0,K.wc)()}setAnimationOrigin(t,e=!1,i){let n;let r=this.snapshot,s=r?r.latestValues:{},o={...this.latestValues},a=(0,K.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=(0,K.dO)(),u=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(eU));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,r=p?.(i);if(r?(a.x.translate=r.x,a.x.scale=(0,_.t)(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=r.y,a.y.scale=(0,_.t)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(eZ(a.x,t.x,i),eZ(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,f,m,y;tn(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,y=this.relativeTargetOrigin,eX(m.x,y.x,l.x,i),eX(m.y,y.y,l.y,i),n&&(h=this.relativeTarget,f=n,ec(h.x,f.x)&&ec(h.y,f.y))&&(this.isProjectionDirty=!1),n||(n=(0,K.dO)()),ee(n,this.relativeTarget)}
1u&&(this.animationValues=o,function(t,e,i,n,r,s){r?(t.opacity=(0,_.t)(0,i.opacity??1,t6(n)),t.opacityExit=(0,_.t)(e.opacity??1,0,t9(n))):s&&(t.opacity=(0,_.t)(e.opacity??1,i.opacity??1,n));for(let r=0;r<t5;r++){let s=t2.v[r],o=t3(e,s),a=t3(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||t7(o)===t7(a)?(t[s]=Math.max((0,_.t)(t4(o),t4(a),n),0),(G.aQ.test(a)||G.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,_.t)(e.rotate||0,i.rotate||0,n))}(o,s,this.latestValues,i,d,c)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,tr.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tr.Wi.update(()=>{tz.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,tH.BX)(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,i){let n=(0,y.i)(t)?t:(0,tH.BX)(t);return n.start((0,tl.v)("",n,e,i)),n.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&eq(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,K.dO)();let e=J(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=J(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}ee(e,i),(0,en.D2)(e,r),tt(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ev),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.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&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&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)&&(e=!0),!e)return;let n={};i.z&&eM("z",t,n,this.animationValues);for(let e=0;e<eb.length;e++)eM(`rotate${eb[e]}`,t,n,this.animationValues),eM(`skew${eb[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=E(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=E(e?.pointerEvents)||""),this.hasProjected&&!(0,ew.ud)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:r,rotateX:s,rotateY:o,skewX:a,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotate(${r}deg) `),s&&(n+=`rotateX(${s}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,tQ.P){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=tQ.P[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?E(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eD),this.root.sharedNodes.clear()}}}function ek(t){t.updateLayout()}function eA(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;if("size"===r)H(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=J(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";et(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else eq(r,e.layoutBox,i)&&H(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=J(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,K.wc)();tt(o,i,e.layoutBox);let a=(0,K.wc)();s?tt(a,t.applyTransform(n,!0),e.measuredBox):tt(a,i,e.layoutBox);let l=!eh(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=t.options.layoutAnchor||void 0,a=(0,K.dO)();tn(a,e.layoutBox,r.layoutBox,o);let l=(0,K.dO)();tn(l,i,s.layoutBox,o),ep(a,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eV(t){t0.value&&eT.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eE(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eC(t){t.clearSnapshot()}function eD(t){t.clearMeasurements()}function eR(t){t.isLayoutDirty=!0,t.updateLayout()}function eL(t){t.isLayoutDirty=!1}function ej(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function eB(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eF(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eO(t){t.resolveTargetDelta()}function eI(t){t.calcProjection()}function eW(t){t.resetSkewAndRotation()}function e$(t){t.removeLeadSnapshot()}function eZ(t,e,i){t.translate=(0,_.t)(e.translate,0,i),t.scale=(0,_.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eX(t,e,i,n){t.min=(0,_.t)(e.min,i.min,n),t.max=(0,_.t)(e.max,i.max,n)}function eU(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eN={duration:.45,ease:[.4,0,.1,1]},ez=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eY=ez("applewebkit/")&&!ez("chrome/")?Math.round:Y.Z;function eK(t){t.min=eY(t.min),t.max=eY(t.max)}function eq(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(ef(e)-ef(i)))}function eH(t){return t!==t.root&&t.scroll?.wasRoot}let eG=eP({attachResizeListener:(t,e)=>(0,th.E)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),e_={current:void 0};eP({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!e_.current){let t=new eG({});t.mount(window),t.setOptions({layoutScroll:!0}),e_.current=t}return e_.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var eJ=i(7039);N.s,eJ.E,o.b;let eQ=function(t,e){if("undefined"==typeof Proxy)return U;let i=new Map,n=(t,e)=>U(t,e,void 0,void 0);return new Proxy((t,e)=>n(t,e),{get:(t,e)=>"create"===e?n:(i.has(e)||i.set(e,U(e,void 0,void 0,void 0)),i.get(e))})}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.