1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2719],{2877:(t,e,i)=>{"use strict";i.d(e,{$:()=>p});var n=i(63354),r=i(51118),s=i(88786),o=i(22039),a=i(21767),l=i(7112),u=i(23781),h=i(60738),d=i(20241),c=i(73934);function p(t,e,{delay:i=0,transitionOverride:m,type:f}={}){let{transition:v,transitionEnd:y,...g}=e,x=t.getDefaultTransition();v=v?(0,r.K)(v,x):x;let w=v?.reduceMotion,S=v?.skipAnimations;m&&(v=m);let b=[],A=f&&t.animationState&&t.animationState.getState()[f],P=v?.path;for(let e in P&&P.animateVisualElement(t,g,v,i,b),g){let r=t.getValue(e,t.latestValues[e]??null),o=g[e];if(void 0===o||A&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(A,e))continue;let a={delay:i,...(0,n.r)(v||{},e)};S&&(a.skipAnimations=!0);let l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(o)&&o===l&&!a.velocity){c.Gt.update(()=>r.set(o));continue}let p=!1;if(window.MotionHandoffAnimation){let i=(0,h.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,c.Gt);null!==t&&(a.startTime=t,p=!0)}}(0,u.g)(t,e);let m=w??t.shouldReduceMotion;r.start((0,d.f)(e,r,o,m&&s.$.has(e)?{type:!1}:a,t,p));let f=r.animation;f&&b.push(f)}if(y){let e=()=>c.Gt.update(()=>{y&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=(0,a.K)(t,e)||{};for(let e in r={...r,...i}){var s;let i=(s=r[e],(0,l.p)(s)?s[s.length-1]||0:s);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,o.OQ)(i))}}(t,y)});b.length?Promise.all(b).then(e):e()}return b}},3729:(t,e,i)=>{"use strict";i.d(e,{M:()=>d});var n=i(21391),r=i(40479),s=i(37899),o=i(68745),a=i(12709),l=i(38708),u=i(33452),h=i(76066);class d extends a.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(t,e){if(r.f.has(e))return this.projection?.isProjecting?(0,s.zs)(e):(0,s.Ib)(t,e);{let i=window.getComputedStyle(t),r=((0,n.j4)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,o.m)(t,e)}build(t,e,i){(0,l.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,h.x)(t,e,i)}}},5917:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(71847).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},6500:(t,e,i)=>{"use strict";i.d(e,{l:()=>n});let n=t=>t},7112:(t,e,i)=>{"use strict";i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},8453:(t,e,i)=>{"use strict";i.d(e,{v:()=>r});var n=i(16105);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(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}}},9150:(t,e,i)=>{"use strict";i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},9699:(t,e,i)=>{"use strict";i.d(e,{b:()=>r});var n=i(58605);let r=t=>t>=1?1:(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},10883:(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,{a:()=>r})},12205:(t,e,i)=>{"use strict";i.d(e,{w:()=>n});let n=t=>e=>e.test(t)},12636:(t,e,i)=>{"use strict";i.d(e,{BX:()=>j,vK:()=>R,lr:()=>D});var n=i(27290),r=i(23863),s=i(15075),o=i(8453),a=i(63946),l=i(82617),u=i(87913),h=i(38358),d=i(27424),c=i(39622),p=i(22039),m=i(24888),f=i(82264),v=i(55389),y=i(20091),g=i(12205);let x=[...y.T,v.y,m.f];var w=i(33182),S=i(36851),b=i(28033),A=i(40479);let P={current:null},T={current:!1},E="undefined"!=typeof window;var k=i(10883),M=i(73934);let V=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],C={};function D(t){C=t}function R(){return C}class j{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.h,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=d.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,M.Gt.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,b.e)(e),this.isVariantNode=(0,b.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:c,...p}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in p){let e=p[t];void 0!==u[t]&&(0,w.S)(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,S.C.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.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(T.current||function(){if(T.current=!0,E)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>P.current=t.matches;t.addEventListener("change",e),e()}else P.current=!1}(),this.shouldReduceMotion=P.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,M.WG)(this.notifyUpdate),(0,M.WG)(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.M.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:s,ease:o,duration:a}=e.accelerate,u=new l.m({element:this.current,name:t,keyframes:r,times:s,ease:o,duration:(0,n.f)(a)}),h=i(u);this.valueSubscriptions.set(t,()=>{h(),u.cancel()});return}let r=A.f.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&M.Gt.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,c.ge)()}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<V.length;e++){let i=V[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,w.S)(r))t.addValue(n,r);else if((0,w.S)(s))t.addValue(n,(0,p.OQ)(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.OQ)(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.OQ)(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];if(null!=i){if("string"==typeof i&&((0,r.i)(i)||(0,s.$)(i)))i=parseFloat(i);else{let n;n=i,!x.find((0,g.w)(n))&&m.f.test(e)&&(i=(0,f.J)(t,e))}this.setBaseTarget(t,(0,w.S)(i)?i.get():i)}return(0,w.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,k.a)(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,w.S)(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.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){h.k.render(this.render)}}},12709:(t,e,i)=>{"use strict";i.d(e,{b:()=>g});var n=i(33182),r=i(88786),s=i(20091),o=i(78041),a=i(23863),l=i(21391);let u=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var h=i(63946),d=i(15075),c=i(24888),p=i(82264);
1let m=new Set(["auto","none","0"]);var f=i(78617);class v extends h.h{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,l.pG)(n))){let r=function t(e,i,n=1){(0,o.V)(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=u.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let h=window.getComputedStyle(i).getPropertyValue(r);if(h){let t=h.trim();return(0,a.i)(t)?parseFloat(t):t}return(0,l.pG)(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(),!r.$.has(i)||2!==t.length)return;let[n,h]=t,d=(0,s.n)(n),c=(0,s.n)(h);if((0,l.rm)(n)!==(0,l.rm)(h)&&f.Hr[i]){this.needsMeasurement=!0;return}if(d!==c)if((0,f.E4)(d)&&(0,f.E4)(c))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else f.Hr[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,d.$)(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&&!m.has(e)&&(0,c.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=(0,p.J)(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=f.Hr[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]=f.Hr[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 y=i(12636);class g extends y.BX{constructor(){super(...arguments),this.KeyframeResolver=v}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,n.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},15075:(t,e,i)=>{"use strict";i.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},15239:(t,e,i)=>{"use strict";i.d(e,{default:()=>r.a});var n=i(54652),r=i.n(n)},16105:(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,{Ai:()=>r,Kq:()=>n})},16706:(t,e,i)=>{"use strict";i.d(e,{G:()=>h});var n=i(40042),r=i(6500),s=i(23656),o=i(78041),a=i(91225),l=i(48895),u=i(45130);function h(t,e,{clamp:i=!0,ease:d,mixer:c}={}){let p=t.length;if((0,o.V)(p===e.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let m=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,i){let o=[],a=i||n.W.mix||u.j,l=t.length-1;for(let i=0;i<l;i++){let n=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.l:e;n=(0,s.F)(t,n)}o.push(n)}return o}(e,d,c),v=f.length,y=i=>{if(m&&i<t[0])return e[0];let n=0;if(v>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,a.q)(t[n],t[n+1],i);return f[n](r)};return i?e=>y((0,l.q)(t[0],t[p-1],e)):y}},16815:(t,e,i)=>{"use strict";i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},17727:(t,e,i)=>{"use strict";i.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>p,hq:()=>s,o4:()=>l});var n=i(39361),r=i(42418);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,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.HD)(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 d(t,e,i,r,s=.5){let o=(0,n.k)(t.min,t.max,s);a(t,e,i,o,r)}function c(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function p(t,e,i){let n=i??t;d(t.x,c(e.x,n.x),e.scaleX,e.scale,e.originX),d(t.y,c(e.y,n.y),e.scaleY,e.scale,e.originY)}},19461:(t,e,i)=>{"use strict";function n(t){return"string"==typeof t||Array.isArray(t)}i.d(e,{w:()=>n})},20063:(t,e,i)=>{"use strict";var n=i(47260);i.o(n,"useParams")&&i.d(e,{useParams:function(){return n.useParams}}),i.o(n,"usePathname")&&i.d(e,{usePathname:function(){return n.usePathname}}),i.o(n,"useRouter")&&i.d(e,{useRouter:function(){return n.useRouter}}),i.o(n,"useSearchParams")&&i.d(e,{useSearchParams:function(){return n.useSearchParams}})},20091:(t,e,i)=>{"use strict";i.d(e,{T:()=>o,n:()=>a});var n=i(37822),r=i(92419),s=i(12205);let o=[n.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.w)(t))},20241:(t,e,i)=>{"use strict";i.d(e,{f:()=>I});var n=i(27290),r=i(40042),s=i(6500),o=i(27424),a=i(49752),l=i(33855),u=i(63946),h=i(48895),d=i(46934),c=i(82617),p=i(90625),m=i(9699),f=i(58605),v=i(69809);let y={anticipate:m.b,backInOut:f.ZZ,circInOut:v.tn};class g extends c.m{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in y&&(t.ease=y[t.ease])}(t),(0,p.E)(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)return void e.set(t);let l=new a.s({...s,autoplay:!1}),u=Math.max(10,o.k.now()-this.startTime),c=(0,h.q)(0,10,u-10),p=l.sample(u).value,{name:m}=this.options;r&&m&&(0,d.e)(r,m,p),e.setWithVelocity(l.sample(Math.max(0,u-c)).value,p,c),l.stop()}}var x=i(78041),w=i(65181),S=i(24888);let b=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(S.f.test(t)||"0"===t)&&!t.startsWith("url("));function A(t){t.duration=0,t.type="keyframes"}var P=i(87671),T=i(60178),E=i(87913);
1let k=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,M=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),V=(0,T.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class C extends P.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:a,name:l,motionValue:h,element:d,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=o.k.now();let p={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:l,motionValue:h,element:d,...c},m=d?.KeyframeResolver||u.h;this.keyframeResolver=new m(a,(t,e,i)=>this.onKeyframesResolved(t,e,p,!i),l,h,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let u;this.keyframeResolver=void 0;let{name:h,type:d,velocity:c,delay:p,isHandoff:m,onUpdate:f}=i;this.resolvedAt=o.k.now();let v=!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=b(r,e),a=b(s,e);return(0,x.$)(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,w.W)(i))&&n)}(t,h,d,c)&&(v=!1,(r.W.instantAnimations||!p)&&f?.((0,l.X)(t,i,e)),t[0]=t[t.length-1],A(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},S=v&&!m&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return V()&&i&&(E.M.has(i)||M.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&k.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!u)&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(y),P=y.motionValue?.owner?.current;if(S)try{u=new g({...y,element:P})}catch{u=new a.s(y)}else u=new a.s(y);u.finished.then(()=>{this.notifyFinished()}).catch(s.l),this.pendingTimeline&&(this.stopTimeline=u.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=u}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,u.q)()),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 D=i(63354),R=i(40479);let j={type:"spring",stiffness:500,damping:25,restSpeed:10},L={type:"keyframes",duration:.8},O={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},B=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);var F=i(73934);let I=(t,e,i,s={},o,u)=>h=>{let d=(0,D.r)(s,t)||{},c=d.delay||s.delay||0,{elapsed:p=0}=s;p-=(0,n.f)(c);let m={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-p,onUpdate:t=>{e.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{h(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:u?void 0:o};!function(t){for(let e in t)if(!B.has(e))return!0;return!1}(d)&&Object.assign(m,((t,{keyframes:e})=>e.length>2?L:R.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:j:O)(t,m)),m.duration&&(m.duration=(0,n.f)(m.duration)),m.repeatDelay&&(m.repeatDelay=(0,n.f)(m.repeatDelay)),void 0!==m.from&&(m.keyframes[0]=m.from);let f=!1;if(!1!==m.type&&(0!==m.duration||m.repeatDelay)||(A(m),0===m.delay&&(f=!0)),(r.W.instantAnimations||r.W.skipAnimations||o?.shouldSkipAnimations||d.skipAnimations)&&(f=!0,A(m),m.delay=0),m.allowFlatten=!d.type&&!d.ease,f&&!u&&void 0!==e.get()){let t=(0,l.X)(m.keyframes,d);if(void 0!==t)return void F.Gt.update(()=>{m.onUpdate(t),m.onComplete()})}return d.isSync?new a.s(m):new C(m)}},20835:(t,e,i)=>{"use strict";i.d(e,{i:()=>g});var n=i(36262);
1let r=(0,n.A)(.42,0,1,1),s=(0,n.A)(0,0,.58,1),o=(0,n.A)(.42,0,.58,1);var a=i(55038),l=i(78041),u=i(6500),h=i(9699),d=i(58605),c=i(69809),p=i(34324);let m={linear:u.l,easeIn:r,easeInOut:o,easeOut:s,circIn:c.po,circInOut:c.tn,circOut:c.yT,backIn:d.dg,backInOut:d.ZZ,backOut:d.Sz,anticipate:h.b},f=t=>{if((0,p.D)(t)){(0,l.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return(0,n.A)(e,i,r,s)}return"string"==typeof t?((0,l.V)(void 0!==m[t],`Invalid easing type '${t}'`,"invalid-easing-type"),m[t]):t};var v=i(16706),y=i(44554);function g({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=(0,a.h)(n)?n.map(f):f(n),l={done:!1,value:e[0]},u=(r=i&&i.length===e.length?i:(0,y.Z)(e),r.map(e=>e*t)),h=(0,v.G)(u,e,{ease:Array.isArray(s)?s:e.map(()=>s||o).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=h(e),l.done=e>=t,l)}}},21391:(t,e,i)=>{"use strict";i.d(e,{j4:()=>r,pG:()=>o,rm:()=>l});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(--")}},21767:(t,e,i)=>{"use strict";i.d(e,{K:()=>r});var n=i(10883);function r(t,e,i){let r=t.getProps();return(0,n.a)(r,e,void 0!==i?i:r.custom,t)}},22039:(t,e,i)=>{"use strict";i.d(e,{OQ:()=>u,bt:()=>a});var n=i(8453),r=i(45242),s=i(27424),o=i(73934);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.k.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.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(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.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.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 a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.k.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.f)(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 u(t,e){return new l(t,e)}},23656:(t,e,i)=>{"use strict";i.d(e,{F:()=>n});let n=(...t)=>t.reduce((t,e)=>i=>e(t(i)))},23781:(t,e,i)=>{"use strict";i.d(e,{g:()=>s});var n=i(40042),r=i(33182);function s(t,e){let i=t.getValue("willChange");if((0,r.S)(i)&&i.add)return i.add(e);if(!i&&n.W.WillChange){let i=new n.W.WillChange("auto");
1t.addValue("willChange",i),i.add(e)}}},23863:(t,e,i)=>{"use strict";i.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},23919:(t,e,i)=>{"use strict";i.d(e,{$:()=>s,q:()=>o});var n=i(24531);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.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},24033:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(71847).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},24531:(t,e,i)=>{"use strict";i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},24888:(t,e,i)=>{"use strict";i.d(e,{V:()=>h,f:()=>c});var n=i(55389);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(24531),o=i(9150);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.y.test(t)?(r.color.push(o),s.push(l),i.push(n.y.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 d({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.a)(r[u]):t===l?s+=n.y.transform(r[u]):s+=r[u]}return s}}let c={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(r)?.length||0)>0},parse:function(t){return h(t).values},createTransformer:function(t){return d(h(t))},getAnimatableNone:function(t){let e=h(t);return d(e)(e.values.map((t,i)=>{var r;let s;return r=e.split[i],"number"==typeof t?r?.trim().endsWith("/")?t:0:"number"==typeof(s=t)?0:n.y.test(s)?n.y.getAnimatableNone(s):s}))}}},25188:(t,e,i)=>{"use strict";i.d(e,{h:()=>r});var n=i(29089);function r(t){return(0,n.x)(t)&&"svg"===t.tagName}},27290:(t,e,i)=>{"use strict";i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},27424:(t,e,i)=>{"use strict";let n;i.d(e,{k:()=>a});var r=i(40042),s=i(73934);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},27937:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(71847).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},28033:(t,e,i)=>{"use strict";i.d(e,{O:()=>a,e:()=>o});var n=i(36874),r=i(19461),s=i(52036);function o(t){return(0,n.N)(t.animate)||s._.some(e=>(0,r.w)(t[e]))}function a(t){return!!(o(t)||t.variants)}},28634:(t,e,i)=>{"use strict";i.d(e,{f:()=>s});var n=i(91225),r=i(39361);function s(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,o))}}},29089:(t,e,i)=>{"use strict";i.d(e,{x:()=>r});var n=i(73142);function r(t){return(0,n.G)(t)&&"ownerSVGElement"in t}},31439:(t,e,i)=>{"use strict";i.d(e,{B:()=>a});var n=i(38708);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,...d},c,p,m){if((0,n.O)(t,d,p),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:v}=t;for(let t of(f.transform&&(v.transform=f.transform,delete f.transform),(v.transform||f.transformOrigin)&&(v.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),v.transform&&(v.transformBox=m?.transformBox??"fill-box",delete f.transformBox),o))void 0!==f[t]&&(v[t]=f[t],delete f[t]);void 0!==e&&(f.x=e),void 0!==i&&(f.y=i),void 0!==a&&(f.scale=a),void 0!==l&&function(t,e,
1i=1,n=0,o=!0){t.pathLength=1;let a=o?r:s;t[a.offset]=`${-n}`,t[a.array]=`${e} ${i}`}(f,l,u,h,!1)}},31739:(t,e,i)=>{"use strict";i.d(e,{B:()=>l});var n=i(48895),r=i(37822),s=i(9150),o=i(23919);let a={...r.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},32246:(t,e,i)=>{"use strict";function n(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}i.d(e,{I:()=>n})},33152:(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,{FY:()=>n,bS:()=>s,pA:()=>r})},33182:(t,e,i)=>{"use strict";i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},33452:(t,e,i)=>{"use strict";function n(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}i.d(e,{e:()=>n})},33754:(t,e,i)=>{"use strict";i.d(e,{K:()=>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)})`}},33855:(t,e,i)=>{"use strict";i.d(e,{X:()=>r});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},s,o=1){let a=t.filter(n),l=o<0||e&&"loop"!==i&&e%2==1?0:a.length-1;return l&&void 0!==s?s:a[l]}},34324:(t,e,i)=>{"use strict";i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},34576:(t,e,i)=>{"use strict";i.d(e,{l:()=>p});var n=i(40479),r=i(98387),s=i(39622),o=i(12709),a=i(32246),l=i(31439);let u=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 h=i(36795),d=i(33452),c=i(35043);class p extends o.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.f.has(e)){let t=(0,r.D)(e);return t&&t.default||0}return e=u.has(e)?e:(0,a.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,c.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in(0,d.e)(t,e,void 0,n),e.attrs)t.setAttribute(u.has(i)?i:(0,a.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,h.n)(t.tagName),super.mount(t)}}},35043:(t,e,i)=>{"use strict";i.d(e,{x:()=>o});var n=i(33182),r=i(40479),s=i(76066);function o(t,e,i){let o=(0,s.x)(t,e,i);for(let i in t)((0,n.S)(t[i])||(0,n.S)(e[i]))&&(o[-1!==r.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}},35626:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(71847).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},36262:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var n=i(6500);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){return t===e&&i===s?n.l:n=>0===n||1===n?n:r(function(t,e,i,n,s){let o,a,l=0;do(o=r(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a}(n,0,1,t,i),e,s)}},36795:(t,e,i)=>{"use strict";i.d(e,{n:()=>n});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},36851:(t,e,i)=>{"use strict";i.d(e,{C:()=>n});let n=new WeakMap},36874:(t,e,i)=>{"use strict";function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{N:()=>n})},37822:(t,e,i)=>{"use strict";i.d(e,{X4:()=>s,ai:()=>r,hs:()=>o});var n=i(48895);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.q)(0,1,t)},o={...r,default:1}},37899:(t,e,i)=>{"use strict";i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>h});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")}function d(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 c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},38358:(t,e,i)=>{"use strict";i.d(e,{k:()=>n});let{schedule:n}=(0,i(44300).I)(queueMicrotask,!1)},38561:(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,{K:()=>n})},38708:(t,e,i)=>{"use strict";i.d(e,{O:()=>u});let n=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var r=i(96868),s=i(40479),o=i(21391);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=s.U.length;function u(t,e,i){let{style:u,vars:h,transformOrigin:d}=t,c=!1,p=!1;for(let t in e){let i=e[t];if(s.f.has(t)){c=!0;continue}if((0,o.j4)(t)){h[t]=i;continue}{let e=n(i,r.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):u[t]=e}}
1if(!e.transform&&(c||i?u.transform=function(t,e,i){let o="",u=!0;for(let h=0;h<l;h++){let l=s.U[h],d=t[l];if(void 0===d)continue;let c=!0;if("number"==typeof d)c=d===+!!l.startsWith("scale");else{let t=parseFloat(d);c=l.startsWith("scale")?1===t:0===t}if(!c||i){let t=n(d,r.W[l]);if(!c){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.W.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}=d;u.transformOrigin=`${t} ${e} ${i}`}}},38857:(t,e,i)=>{"use strict";i.d(e,{Y:()=>n,t:()=>r});let n=2e4;function r(t){let e=0,i=t.next(e);for(;!i.done&&e<n;)e+=50,i=t.next(e);return e>=n?1/0:e}},39361:(t,e,i)=>{"use strict";i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},39622:(t,e,i)=>{"use strict";i.d(e,{ge:()=>o,xU:()=>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()})},40042:(t,e,i)=>{"use strict";i.d(e,{W:()=>n});let n={}},40479:(t,e,i)=>{"use strict";i.d(e,{U:()=>n,f:()=>r});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set([...n,"pathRotation"])},42418:(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,{HD:()=>s,vF:()=>o,vk:()=>r})},44300:(t,e,i)=>{"use strict";i.d(e,{I:()=>s});var n=i(40042);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:d,preUpdate:c,update:p,preRender:m,render:f,postRender:v}=l,y=()=>{let r=n.W.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),d.process(o),c.process(o),p.process(o),m.process(o),f.process(o),v.process(o),o.isProcessing=!1,i&&e&&(s=!1,t(y))};return{schedule:r.reduce((e,n)=>{let r=l[n];return e[n]=(e,n=!1,a=!1)=>(!i&&(i=!0,s=!0,o.isProcessing||t(y)),r.schedule(e,n,a)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:o,steps:l}}},44554:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(28634);function r(t){let e=[0];return(0,n.f)(e,t.length-1),e}},44807:(t,e,i)=>{"use strict";i.d(e,{V:()=>a});var n=i(37822),r=i(92419),s=i(9150),o=i(23919);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.a)(e))+", "+r.KN.transform((0,s.a)(i))+", "+(0,s.a)(n.X4.transform(o))+")"}},45130:(t,e,i)=>{"use strict";i.d(e,{j:()=>P});var n=i(23656),r=i(78041),s=i(21391),o=i(55389),a=i(24888),l=i(68894),u=i(44807);function h(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 d=i(31739);function c(t,e){return i=>i>0?e:t}var p=i(39361);let m=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},f=[l.u,d.B,u.V];function v(t){let e=f.find(e=>e.test(t));if((0,r.$)(!!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===u.V&&(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=h(a,n,t+1/3),s=h(a,n,t),o=h(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 y=(t,e)=>{let i=v(t),n=v(e);if(!i||!n)return c(t,e);let r={...i};return t=>(r.red=m(i.red,n.red,t),r.green=m(i.green,n.green,t),r.blue=m(i.blue,n.blue,t),r.alpha=(0,p.k)(i.alpha,n.alpha,t),d.B.transform(r))},g=new Set(["none","hidden"]);function x(t,e){return i=>(0,p.k)(t,e,i)}function w(t){return"number"==typeof t?x:"string"==typeof t?(0,s.pG)(t)?c:o.y.test(t)?y:A:Array.isArray(t)?S:"object"==typeof t?o.y.test(t)?y:b:c}function S(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>w(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function b(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=w(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let A=(t,e)=>{let i=a.f.createTransformer(e),s=(0,a.V)(t),o=(0,a.V)(e);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?g.has(t)&&!o.values.length||g.has(e)&&!s.values.length?function(t,e){return g.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,n.F)(S(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}(s,o),o.values),i):((0,r.$)(!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"),c(t,e))};function P(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.k)(t,e,i):w(t)(t,e)}},45242:(t,e,i)=>{"use strict";i.d(e,{f:()=>n});let n=(t,e)=>e?1e3/e*t:0},45385:(t,e,i)=>{"use strict";i.d(e,{H:()=>u});var n=i(81666),r=i(92419);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;else t=parseFloat(t);let i=s(t,e.target.x),n=s(t,e.target.y);return`${i}% ${n}%`}};var a=i(24888),l=i(39361);let u={borderRadius:{...o,applyTo:[...n.S]},borderTopLeftRadius:o,borderTopRightRadius:o,borderBottomLeftRadius:o,borderBottomRightRadius:o,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=a.f.parse(t);if(n.length>5)return t;let r=a.f.createTransformer(t),s=+("number"!=typeof n[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.k)(o,u,.5);return"number"==typeof n[2+s]&&(n[2+s]/=h),"number"==typeof n[3+s]&&(n[3+s]/=h),r(n)}}}},46436:(t,e,i)=>{"use strict";i.d(e,{E:()=>r});var n=i(12115);let r="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},46934:(t,e,i)=>{"use strict";function n(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}i.d(e,{e:()=>n})},48895:(t,e,i)=>{"use strict";i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i},49752:(t,e,i)=>{"use strict";i.d(e,{s:()=>g});var n=i(23656),r=i(48895),s=i(27290),o=i(27424),a=i(45130),l=i(73934);let u=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>l.Gt.update(e,t),stop:()=>(0,l.WG)(e),now:()=>l.uv.isProcessing?l.uv.timestamp:o.k.now()}};var h=i(70561),d=i(20835),c=i(38857),p=i(66876),m=i(33855),f=i(90625),v=i(87671);let y=t=>t/100;class g extends v.q{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.k.now()&&this.tick(o.k.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;(0,f.E)(t);let{type:e=d.i,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=t,{keyframes:l}=t,u=e||d.i;u!==d.i&&"number"!=typeof l[0]&&(this.mixKeyframes=(0,n.F)(y,(0,a.j)(l[0],l[1])),l=[0,100]);let h=u({...t,keyframes:l});"mirror"===s&&(this.mirroredGenerator=u({...t,keyframes:[...l].reverse(),velocity:-o})),null===h.calculatedDuration&&(h.calculatedDuration=(0,c.t)(h));let{calculatedDuration:p}=h;this.calculatedDuration=p,this.resolvedDuration=p+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=h}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,{generator:n,totalDuration:s,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:d=0,keyframes:c,repeat:p,repeatType:f,repeatDelay:v,type:y,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let w=this.currentTime-d*(this.playbackSpeed>=0?1:-1),S=this.playbackSpeed>=0?w<0:w>s;this.currentTime=Math.max(w,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let b=this.currentTime,A=n;if(p){let t=Math.min(this.currentTime,s)/l,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,p+1))%2&&("reverse"===f?(i=1-i,v&&(i-=v/l)):"mirror"===f&&(A=a)),b=(0,r.q)(0,1,i)*l}S?(this.delayState.value=c[0],i=this.delayState):i=A.next(b),o&&!S&&(i.value=o(i.value));let{done:P}=i;S||null===u||(P=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return T&&y!==h.B&&(i.value=(0,m.X)(c,this.options,x,this.speed)),g&&g(i.value),T&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,s.X)(t)}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.f)(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(0,p.z)(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.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=u,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.k.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)}}},49848:(t,e,i)=>{"use strict";i.d(e,{i:()=>G});class n{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t){let e=this.animations.map(e=>e.attachTimeline(t));return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return r(this.animations,"duration")}get iterationDuration(){return r(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function r(t,e){let i=0;for(let n=0;n<t.length;n++){let r=t[n][e];null!==r&&r>i&&(i=r)}return i}class s extends n{then(t,e){return this.finished.finally(t).then(()=>{})}}var o=i(16105),a=i(22039),l=i(72980),u=i(44554),h=i(65181),d=i(65971),c=i(28634),p=i(33182),m=i(27290),f=i(78041),v=i(16815),y=i(55038);function g(t,e){return(0,y.h)(t)?t[((t,e,i)=>{let n=e-t;return((i-t)%n+n)%n+t})(0,t.length,e)]:t}var x=i(91225),w=i(38561);function S(t){return"object"==typeof t&&!Array.isArray(t)}function b(t,e,i,n){return null==t?[]:"string"==typeof t&&S(e)?(0,w.K)(t,i,n):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter(t=>null!=t):[t]}function A(t,e,i,n){return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?i:e.startsWith("<")?Math.max(0,i+parseFloat(e.slice(1))):n.get(e)??t}var P=i(39361);function T(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function E(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function k(t,e){return e[t]||(e[t]=[]),e[t]}let M=t=>"number"==typeof t,V=t=>t.every(M);var C=i(78616),D=i(36851),R=i(2877),j=i(29089),L=i(25188),O=i(34576),B=i(3729),F=i(39622),I=i(12636);class W extends I.BX{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(e in t){let i=t[e];if("string"==typeof i||"number"==typeof i)return i}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return(0,F.ge)()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}function U(t){let e={presenceContext:null,props:{}
1,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},i=(0,j.x)(t)&&!(0,L.h)(t)?new O.l(e):new B.M(e);i.mount(t),D.C.set(t,i)}function N(t){let e=new W({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),D.C.set(t,e)}function $(t,e,i,n){let r=[];if((0,p.S)(t)||"number"==typeof t||"string"==typeof t&&!S(e))r.push((0,C.z)(t,S(e)&&e.default||e,i&&i.default||i));else{if(null==t)return r;let s=b(t,e,n),o=s.length;(0,f.V)(!!o,"No valid elements provided.","no-valid-elements");for(let t=0;t<o;t++){let n=s[t],a=n instanceof Element?U:N;D.C.has(n)||a(n);let l=D.C.get(n),u={...i};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(t,o)),r.push(...(0,R.$)(l,{...e,transition:u},{}))}}return r}let G=function(t={}){let{scope:e,reduceMotion:i,skipAnimations:n}=t;return function(t,r,y){let w,S=[],M={};if(void 0!==i&&(M.reduceMotion=i),void 0!==n&&(M.skipAnimations=n),Array.isArray(t)&&t.some(Array.isArray)){let{onComplete:i,...n}=r||{};"function"==typeof i&&(w=i),S=function(t,e,i){let n=[];return(function(t,{defaultTransition:e={},...i}={},n,r){let s=e.duration||.3,a=new Map,l=new Map,y={},w=new Map,S=0,M=0,C=0;for(let i=0;i<t.length;i++){let a=t[i];if("string"==typeof a){w.set(a,M);continue}if(!Array.isArray(a)){w.set(a.name,A(M,a.at,S,w));continue}let[x,T,j={}]=a;void 0!==j.at&&(M=A(M,j.at,S,w));let L=0,O=(t,i,n,a=0,l=0)=>{var p;let y=Array.isArray(p=t)?p:[p],{delay:x=0,times:w=(0,u.Z)(y),type:S=e.type||"keyframes",repeat:b,repeatType:A,repeatDelay:T=0,...E}=i,{ease:k=e.ease||"easeOut",duration:D}=i,R="function"==typeof x?x(a,l):x,j=y.length,O=(0,h.W)(S)?S:r?.[S||"keyframes"];if(j<=2&&O){let t=100;2===j&&V(y)&&(t=Math.abs(y[1]-y[0]));let i={...e,...E};void 0!==D&&(i.duration=(0,m.f)(D));let n=(0,d.X)(i,t,O);k=n.ease,D=n.duration}D??(D=s);let B=M+R;1===w.length&&0===w[0]&&(w[1]=1);let F=w.length-y.length;if(F>0&&(0,c.f)(w,F),1===y.length&&y.unshift(null),b&&(0,f.$)(b<20,`Sequence segments can't repeat ${b} times — ignoring repeat option. Use a value below 20 or apply repeat at the sequence level instead.`),b&&b<20){let t=D>0?T/D:0;D=D*(b+1)+T*b;let e=[...y],i=[...w],n=[...k=Array.isArray(k)?[...k]:[k]],r="reverse"===A||"mirror"===A,s=e,o=n;r&&(s=[...e].reverse(),"reverse"===A&&(o=[...n].reverse().map(t=>"function"==typeof t?(0,v.G)(t):t)));for(let a=0;a<b;a++){let l=r&&a%2==0,u=l?s:e,h=l?o:n,d=(a+1)*(1+t);t>0&&(y.push(y[y.length-1]),w.push(d),k.push("linear")),y.push(...u);for(let t=0;t<u.length;t++)w.push(i[t]+d),k.push(0===t?"linear":g(h,t-1))}!function(t,e,i=0){let n=e+1+e*i;for(let e=0;e<t.length;e++)t[e]=t[e]/n}(w,b,t)}let I=B+D;!function(t,e,i,n,r,s){for(let e=0;e<t.length;e++){let i=t[e];i.at>r&&i.at<s&&((0,o.Ai)(t,i),e--)}for(let o=0;o<e.length;o++)t.push({value:e[o],at:(0,P.k)(r,s,n[o]),easing:g(i,o)})}(n,y,k,w,B,I),L=Math.max(R+D,L),C=Math.max(I,C)};if((0,p.S)(x))O(T,j,k("default",E(x,l)));else{let t=b(x,T,n,y),e=t.length;for(let i=0;i<e;i++){let n=E(t[i],l);for(let t in T){var D,R;O(T[t],(D=j,R=t,D&&D[R]?{...D,...D[R]}:{...D}),k(t,n),i,e)}}}S=M,M+=L}return l.forEach((t,n)=>{for(let r in t){let s=t[r];s.sort(T);let o=[],l=[],u=[];for(let t=0;t<s.length;t++){let{at:e,value:i,easing:n}=s[t];o.push(i),l.push((0,x.q)(0,C,e)),u.push(n||"easeOut")}0!==l[0]&&(l.unshift(0),o.unshift(o[0]),u.unshift("easeInOut")),1!==l[l.length-1]&&(l.push(1),o.push(null)),a.has(n)||a.set(n,{keyframes:{},transition:{}});let h=a.get(n);h.keyframes[r]=o;let{type:d,...c}=e;h.transition[r]={...c,duration:C,ease:u,times:l,...i}}}),a})(t.map(t=>{if(Array.isArray(t)&&"function"==typeof t[0]){let e=t[0],i=(0,a.OQ)(0);return(i.on("change",e),1===t.length)?[i,[0,1]]:2===t.length?[i,[0,1],t[1]]:[i,t[1],t[2]]}return t}),e,i,{spring:l.o}).forEach(({keyframes:t,transition:e},i)=>{n.push(...$(i,t,e))}),n}(t,{...M,...n},e)}else{let{onComplete:i,...n}=y||{};"function"==typeof i&&(w=i),S=$(t,r,{...M,...n},e)}let C=new s(S);return w&&C.finished.then(w),e&&(e.animations.push(C),C.finished.then(()=>{(0,o.Ai)(e.animations,C)})),C}}()},51118:(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,{K:()=>n})},52036:(t,e,i)=>{"use strict";i.d(e,{U:()=>n,_:()=>r});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},52987:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(71847).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},53127:(t,e,i)=>{"use strict";i.d(e,{Q:()=>n});let n=(0,i(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},53350:(t,e,i)=>{"use strict";i.d(e,{d:()=>a});var n=i(22039),r=i(12115),s=i(53127),o=i(94416);function a(t){let e=(0,o.M)(()=>(0,n.OQ)(t)),{isStatic:i}=(0,r.useContext)(s.Q);if(i){let[,i]=(0,r.useState)(t);(0,r.useEffect)(()=>
1e.on("change",i),[])}return e}},54652:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return l},getImageProps:function(){return a}});let n=i(28140),r=i(75040),s=i(81356),o=n._(i(71124));function a(t){let{props:e}=(0,r.getImgProps)(t,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let l=s.Image},55038:(t,e,i)=>{"use strict";i.d(e,{h:()=>n});let n=t=>Array.isArray(t)&&"number"!=typeof t[0]},55389:(t,e,i)=>{"use strict";i.d(e,{y:()=>o});var n=i(68894),r=i(44807),s=i(31739);let o={test:t=>s.B.test(t)||n.u.test(t)||r.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):r.V.test(t)?r.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):r.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},58605:(t,e,i)=>{"use strict";i.d(e,{Sz:()=>o,ZZ:()=>l,dg:()=>a});var n=i(36262),r=i(95516),s=i(16815);let o=(0,n.A)(.33,1.53,.69,.99),a=(0,s.G)(o),l=(0,r.V)(a)},60178:(t,e,i)=>{"use strict";function n(t){let e;return()=>(void 0===e&&(e=t()),e)}i.d(e,{p:()=>n})},60738:(t,e,i)=>{"use strict";i.d(e,{P:()=>r});var n=i(99256);function r(t){return t.props[n.n]}},63354:(t,e,i)=>{"use strict";i.d(e,{r:()=>r});var n=i(51118);function r(t,e){let i=t?.[e]??t?.default??t;return i!==t?(0,n.K)(i,t):i}},63946:(t,e,i)=>{"use strict";i.d(e,{h:()=>c,q:()=>d});var n=i(78617),r=i(73934);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.W9)(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 d(){l=!0,h(),u(),l=!1}class c{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.Gt.read(h),r.Gt.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])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}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()}}},65181:(t,e,i)=>{"use strict";function n(t){return"function"==typeof t&&"applyToOptions"in t}i.d(e,{W:()=>n})},65971:(t,e,i)=>{"use strict";i.d(e,{X:()=>s});var n=i(27290),r=i(38857);function s(t,e=100,i){let o=i({...t,keyframes:[0,e]}),a=Math.min((0,r.t)(o),r.Y);return{type:"keyframes",ease:t=>o.next(a*t).value/e,duration:(0,n.X)(a)}}},66876:(t,e,i)=>{"use strict";i.d(e,{z:()=>r});var n=i(45242);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}},67853:function(t,e,i){(function(t,e,i){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=n(e),s=n(i);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
1e%2?a(Object(i),!0).forEach(function(e){var n,r;n=e,r=i[e],(n=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(n))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function u(t,e){if(null==t)return{};var i,n,r=function(t,e){if(null==t)return{};var i={};for(var n in t)if(({}).hasOwnProperty.call(t,n)){if(e.includes(n))continue;i[n]=t[n]}return i}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(n=0;n<s.length;n++)i=s[n],e.includes(i)||({}).propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}var h=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],d=function(t,e){var n,a=t.animationData,d=t.loop,c=t.autoplay,p=t.initialSegment,m=t.onComplete,f=t.onLoopComplete,v=t.onEnterFrame,y=t.onSegmentStart,g=t.onConfigReady,x=t.onDataReady,w=t.onDataFailed,S=t.onLoadedImages,b=t.onDOMLoaded,A=t.onDestroy;t.lottieRef,t.renderer,t.name,t.assetsPath,t.rendererSettings;var P=u(t,h),T=function(t){if(Array.isArray(t))return t}(n=i.useState(!1))||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,s,o,a=[],l=!0,u=!1;try{s=(i=i.call(t)).next,!1;for(;!(l=(n=s.call(i)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){u=!0,r=t}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(u)throw r}}return a}}(n,2)||function(t,e){if(t){if("string"==typeof t)return o(t,2);var i=({}).toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,e):void 0}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),E=T[0],k=T[1],M=i.useRef(),V=i.useRef(null),C=function(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(V.current){null==(e=M.current)||e.destroy();var n=l(l(l({},t),i),{},{container:V.current});return M.current=r.default.loadAnimation(n),k(!!M.current),function(){var t;null==(t=M.current)||t.destroy(),M.current=void 0}}};return i.useEffect(function(){var t=C();return function(){return null==t?void 0:t()}},[a,d]),i.useEffect(function(){M.current&&(M.current.autoplay=!!c)},[c]),i.useEffect(function(){if(M.current){if(!p)return void M.current.resetSegments(!0);Array.isArray(p)&&p.length&&((M.current.currentRawFrame<p[0]||M.current.currentRawFrame>p[1])&&(M.current.currentRawFrame=p[0]),M.current.setSegment(p[0],p[1]))}},[p]),i.useEffect(function(){var t=[{name:"complete",handler:m},{name:"loopComplete",handler:f},{name:"enterFrame",handler:v},{name:"segmentStart",handler:y},{name:"config_ready",handler:g},{name:"data_ready",handler:x},{name:"data_failed",handler:w},{name:"loaded_images",handler:S},{name:"DOMLoaded",handler:b},{name:"destroy",handler:A}].filter(function(t){return null!=t.handler});if(t.length){var e=t.map(function(t){var e;return null==(e=M.current)||e.addEventListener(t.name,t.handler),function(){var e;null==(e=M.current)||e.removeEventListener(t.name,t.handler)}});return function(){e.forEach(function(t){return t()})}}},[m,f,v,y,g,x,w,S,b,A]),{View:s.default.createElement("div",l({style:e,ref:V},P)),play:function(){var t;null==(t=M.current)||t.play()},stop:function(){var t;null==(t=M.current)||t.stop()},pause:function(){var t;null==(t=M.current)||t.pause()},setSpeed:function(t){var e;null==(e=M.current)||e.setSpeed(t)},goToAndStop:function(t,e){var i;null==(i=M.current)||i.goToAndStop(t,e)},goToAndPlay:function(t,e){var i;null==(i=M.current)||i.goToAndPlay(t,e)},setDirection:function(t){var e;null==(e=M.current)||e.setDirection(t)},playSegments:function(t,e){var i;null==(i=M.current)||i.playSegments(t,e)},setSubframe:function(t){var e;null==(e=M.current)||e.setSubframe(t)},getDuration:function(t){var e;return null==(e=M.current)?void 0:e.getDuration(t)},destroy:function(){var t;null==(t=M.current)||t.destroy(),M.current=void 0},animationContainerRef:V,animationLoaded:E,animationItem:M.current}},c=function(t){var e=t.wrapperRef,n=t.animationItem,r=t.mode,s=t.actions;i.useEffect(function(){var t,i,o,a,l,u=e.current;if(u&&n&&s.length)switch(n.stop(),r){case"scroll":return t=null,i=function(){var e,i,r,o=(i=(e=u.getBoundingClientRect()).top,r=e.height,(window.innerHeight-i)/(window.innerHeight+r)),a=s.find(function(t){var e=t.visibility;return e&&o>=e[0]&&o<=e[1]});if(a){if("seek"===a.type&&a.visibility&&2===a.frames.length){var l=a.frames[0]+Math.ceil((o-a.visibility[0])/(a.visibility[1]-a.visibility[0])*a.frames[1]);n.goToAndStop(l-n.firstFrame-1,!0)}"loop"===a.type&&(null===t||t!==a.frames?(n.playSegments(a.frames,!0),t=a.frames):n.isPaused&&(n.playSegments(a.frames,!0),t=a.frames)),"play"===a.type&&n.isPaused&&(n.resetSegments(!0),n.play()),"stop"===a.type&&n.goToAndStop(a.frames[0]-n.firstFrame-1,!0)}},document.addEventListener("scroll",i),function(){document.removeEventListener("scroll",i)};case"cursor":return o=function(t,e){var i=t,r=e;if(-1!==i&&-1!==r){var o,a,l,h,d,c=(o=i,a=r,h=(l=u.getBoundingClientRect()).top,d=l.left,{x:(o-d)/l.width,y:(a-h)
1/l.height});i=c.x,r=c.y}var p=s.find(function(t){var e=t.position;return e&&Array.isArray(e.x)&&Array.isArray(e.y)?i>=e.x[0]&&i<=e.x[1]&&r>=e.y[0]&&r<=e.y[1]:!(!e||Number.isNaN(e.x)||Number.isNaN(e.y))&&i===e.x&&r===e.y});if(p){if("seek"===p.type&&p.position&&Array.isArray(p.position.x)&&Array.isArray(p.position.y)&&2===p.frames.length){var m=(i-p.position.x[0])/(p.position.x[1]-p.position.x[0]),f=(r-p.position.y[0])/(p.position.y[1]-p.position.y[0]);n.playSegments(p.frames,!0),n.goToAndStop(Math.ceil((m+f)/2*(p.frames[1]-p.frames[0])),!0)}"loop"===p.type&&n.playSegments(p.frames,!0),"play"===p.type&&(n.isPaused&&n.resetSegments(!1),n.playSegments(p.frames)),"stop"===p.type&&n.goToAndStop(p.frames[0],!0)}},a=function(t){o(t.clientX,t.clientY)},l=function(){o(-1,-1)},u.addEventListener("mousemove",a),u.addEventListener("mouseout",l),function(){u.removeEventListener("mousemove",a),u.removeEventListener("mouseout",l)}}},[r,n])},p=function(t){var e=t.actions,i=t.mode,n=t.lottieObj,r=n.animationItem,s=n.View;return c({actions:e,animationItem:r,mode:i,wrapperRef:n.animationContainerRef}),s},m=["style","interactivity"];Object.defineProperty(t,"LottiePlayer",{enumerable:!0,get:function(){return r.default}}),t.default=function(t){var e,n,r,s=t.style,o=t.interactivity,a=d(u(t,m),s),l=a.View,h=a.play,c=a.stop,f=a.pause,v=a.setSpeed,y=a.goToAndStop,g=a.goToAndPlay,x=a.setDirection,w=a.playSegments,S=a.setSubframe,b=a.getDuration,A=a.destroy,P=a.animationContainerRef,T=a.animationLoaded,E=a.animationItem;return i.useEffect(function(){t.lottieRef&&(t.lottieRef.current={play:h,stop:c,pause:f,setSpeed:v,goToAndPlay:g,goToAndStop:y,setDirection:x,playSegments:w,setSubframe:S,getDuration:b,destroy:A,animationContainerRef:P,animationLoaded:T,animationItem:E})},[null==(e=t.lottieRef)?void 0:e.current]),p({lottieObj:{View:l,play:h,stop:c,pause:f,setSpeed:v,goToAndStop:y,goToAndPlay:g,setDirection:x,playSegments:w,setSubframe:S,getDuration:b,destroy:A,animationContainerRef:P,animationLoaded:T,animationItem:E},actions:null!=(n=null==o?void 0:o.actions)?n:[],mode:null!=(r=null==o?void 0:o.mode)?r:"scroll"})},t.useLottie=d,t.useLottieInteractivity=p,Object.defineProperty(t,"__esModule",{value:!0})})(e,i(29081),i(12115))},68745:(t,e,i)=>{"use strict";i.d(e,{L:()=>o,m:()=>s});var n=i(33152),r=i(17727);function s(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function o(t,e,i){let n=s(t,i),{scroll:o}=e;return o&&((0,r.Ql)(n.x,o.offset.x),(0,r.Ql)(n.y,o.offset.y)),n}},68894:(t,e,i)=>{"use strict";i.d(e,{u:()=>r});var n=i(31739);let r={test:(0,i(23919).$)("#"),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.B.transform}},69809:(t,e,i)=>{"use strict";i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var n=i(95516),r=i(16815);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.G)(s),a=(0,n.V)(s)},70561:(t,e,i)=>{"use strict";i.d(e,{B:()=>s});var n=i(72980),r=i(66876);function s({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:h,restDelta:d=.5,restSpeed:c}){let p,m,f=t[0],v={done:!1,value:f},y=i*e,g=f+y,x=void 0===l?g:l(g);x!==g&&(y=x-f);let w=t=>-y*Math.exp(-t/s),S=t=>x+w(t),b=t=>{let e=w(t),i=S(t);v.done=Math.abs(e)<=d,v.value=v.done?x:i},A=t=>{let e;if(e=v.value,void 0!==u&&e<u||void 0!==h&&e>h){var i;p=t,m=(0,n.o)({keyframes:[v.value,(i=v.value,void 0===u?h:void 0===h||Math.abs(u-i)<Math.abs(h-i)?u:h)],velocity:(0,r.z)(S,t,v.value),damping:o,stiffness:a,restDelta:d,restSpeed:c})}};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(m||void 0!==p||(e=!0,b(t),A(t)),void 0!==p&&t>=p)?m.next(t-p):(e||b(t),v)}}}},71847:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var n=i(12115);let r=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)},s=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,n.forwardRef)((t,e)=>{let{color:i="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:u="",children:h,iconNode:d,...c}=t;return(0,n.createElement)("svg",{ref:e,...o,width:r,height:r,stroke:i,strokeWidth:l?24*Number(a)/Number(r):a,className:s("lucide",u),...!h&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0})(c)&&{"aria-hidden":"true"},...c},[...d.map(t=>{let[e,i]=t;return(0,n.createElement)(e,i)}),...Array.isArray(h)?h:[h]])}),l=(t,e)=>{let i=(0,n.forwardRef)((i,o)=>{let{className:l,...u}=i;return(0,n.createElement)(a,{ref:o,iconNode:e,className:s("lucide-".concat(r(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(t),l),...u})});return i.displayName=r(t),i}}
1,72980:(t,e,i)=>{"use strict";i.d(e,{o:()=>m});var n=i(78041),r=i(27290),s=i(48895),o=i(33754),a=i(38857),l=i(65971);let u={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 h(t,e){return t*Math.sqrt(1-e*e)}let d=["duration","bounce"],c=["stiffness","damping","mass"];function p(t,e){return e.some(e=>void 0!==t[e])}function m(t=u.visualDuration,e=u.bounce){let i,l,f,v,y,g,x="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:w,restDelta:S}=x,b=x.keyframes[0],A=x.keyframes[x.keyframes.length-1],P={done:!1,value:b},{stiffness:T,damping:E,mass:k,duration:M,velocity:V,isResolvedFromDuration:C}=function(t){let e={velocity:u.velocity,stiffness:u.stiffness,damping:u.damping,mass:u.mass,isResolvedFromDuration:!1,...t};if(!p(t,c)&&p(t,d))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,s.q)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:u.mass,stiffness:n,damping:r}}else{let i=function({duration:t=u.duration,bounce:e=u.bounce,velocity:i=u.velocity,mass:o=u.mass}){let a,l;(0,n.$)(t<=(0,r.f)(u.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let d=1-e;d=(0,s.q)(u.minDamping,u.maxDamping,d),t=(0,s.q)(u.minDuration,u.maxDuration,(0,r.X)(t)),d<1?(a=e=>{let n=e*d,r=n*t;return .001-(n-i)/h(e,d)*Math.exp(-r)},l=e=>{let n=e*d*t,r=Math.pow(d,2)*Math.pow(e,2)*t,s=Math.exp(-n),o=h(Math.pow(e,2),d);return(n*i+i-r)*s*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),l=e=>t*t*(i-e)*Math.exp(-e*t));let c=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(a,l,5/t);if(t=(0,r.f)(t),isNaN(c))return{stiffness:u.stiffness,damping:u.damping,duration:t};{let e=Math.pow(c,2)*o;return{stiffness:e,damping:2*d*Math.sqrt(o*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:u.mass}).isResolvedFromDuration=!0}return e}({...x,velocity:-(0,r.X)(x.velocity||0)}),D=V||0,R=E/(2*Math.sqrt(T*k)),j=A-b,L=(0,r.X)(Math.sqrt(T/k)),O=5>Math.abs(j);if(w||(w=O?u.restSpeed.granular:u.restSpeed.default),S||(S=O?u.restDelta.granular:u.restDelta.default),R<1)f=h(L,R),v=(D+R*L*j)/f,i=t=>
1A-Math.exp(-R*L*t)*(v*Math.sin(f*t)+j*Math.cos(f*t)),y=R*L*v+j*f,g=R*L*j-v*f,l=t=>Math.exp(-R*L*t)*(y*Math.sin(f*t)+g*Math.cos(f*t));else if(1===R){i=t=>A-Math.exp(-L*t)*(j+(D+L*j)*t);let t=D+L*j;l=e=>Math.exp(-L*e)*(L*t*e-D)}else{let t=L*Math.sqrt(R*R-1);i=e=>{let i=Math.exp(-R*L*e),n=Math.min(t*e,300);return A-i*((D+R*L*j)*Math.sinh(n)+t*j*Math.cosh(n))/t};let e=(D+R*L*j)/t,n=R*L*e-j*t,r=R*L*j-e*t;l=e=>{let i=Math.exp(-R*L*e),s=Math.min(t*e,300);return i*(n*Math.sinh(s)+r*Math.cosh(s))}}let B={calculatedDuration:C&&M||null,velocity:t=>(0,r.f)(l(t)),next:t=>{if(!C&&R<1){let e=Math.exp(-R*L*t),i=Math.sin(f*t),n=Math.cos(f*t),s=A-e*(v*i+j*n);return P.done=Math.abs((0,r.f)(e*(y*i+g*n)))<=w&&Math.abs(A-s)<=S,P.value=P.done?A:s,P}let e=i(t);return C?P.done=t>=M:P.done=Math.abs((0,r.f)(l(t)))<=w&&Math.abs(A-e)<=S,P.value=P.done?A:e,P},toString:()=>{let t=Math.min((0,a.t)(B),a.Y),e=(0,o.K)(e=>B.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return B}m.applyToOptions=t=>{let e=(0,l.X)(t,100,m);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},73142:(t,e,i)=>{"use strict";i.d(e,{G:()=>n});let n=t=>"object"==typeof t&&null!==t},73934:(t,e,i)=>{"use strict";i.d(e,{Gt:()=>r,PP:()=>a,WG:()=>s,uv:()=>o});var n=i(6500);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(44300).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},74570:(t,e,i)=>{"use strict";i.d(e,{W:()=>o});var n=i(12115),r=i(38561);let s={some:0,all:1};function o(t){let{root:e,margin:i,amount:o,once:a=!1,initial:l=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[u,h]=(0,n.useState)(l);return(0,n.useEffect)(()=>{if(!t.current||a&&u)return;let n={root:e&&e.current||void 0,margin:i,amount:o};return function(t,e,{root:i,margin:n,amount:o="some"}={}){let a=(0,r.K)(t),l=new WeakMap,u=new IntersectionObserver(t=>{t.forEach(t=>{let i=l.get(t.target);if(!!i!==t.isIntersecting)if(t.isIntersecting){let i=e(t.target,t);"function"==typeof i?l.set(t.target,i):u.unobserve(t.target)}else"function"==typeof i&&(i(t),l.delete(t.target))})},{root:i,rootMargin:n,threshold:"number"==typeof o?o:s[o]});return a.forEach(t=>u.observe(t)),()=>u.disconnect()}(t.current,()=>(h(!0),a?void 0:()=>h(!1)),n)},[e,t,i,a,o]),u}},76066:(t,e,i)=>{"use strict";i.d(e,{x:()=>s});var n=i(33182),r=i(93709);function s(t,e,i){let s=t.style,o=e?.style,a={};if(!s)return a;for(let e in s)((0,n.S)(s[e])||o&&(0,n.S)(o[e])||(0,r.zK)(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(a[e]=s[e]);return a}},78041:(t,e,i)=>{"use strict";i.d(e,{$:()=>n,V:()=>r}),i(87358);let n=()=>{},r=()=>{}},78449:(t,e,i)=>{"use strict";let n,r;i.d(e,{P:()=>iB});var s=i(34576),o=i(3729),a=i(12115);let l=["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 u(t){if("string"!=typeof t||t.includes("-"));else if(l.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var h=i(95155);let d=(0,a.createContext)({}),c=(0,a.createContext)({strict:!1});var p=i(53127);let m=(0,a.createContext)({});var f=i(28033),v=i(19461);function y(t){return Array.isArray(t)?t.join(" "):t}var g=i(33182),x=i(93709),w=i(38708);let S=()=>({style:{},transform:{},transformOrigin:{},vars:{}});
1function b(t,e,i){for(let n in e)(0,g.S)(e[n])||(0,x.zK)(n,i)||(t[n]=e[n])}var A=i(31439),P=i(36795);let T=()=>({...S(),attrs:{}}),E=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 k(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||E.has(t)}let M=t=>!k(t);try{!function(t){"function"==typeof t&&(M=e=>e.startsWith("on")?!k(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}var V=i(76066);function C(t){return(0,g.S)(t)?t.get():t}var D=i(36874),R=i(10883);let j=(0,a.createContext)(null);var L=i(94416);let O=t=>(e,i)=>{let n=(0,a.useContext)(m),r=(0,a.useContext)(j),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]=C(s[t]);let{initial:o,animate:a}=t,l=(0,f.e)(t),u=(0,f.O)(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,d=(h=h||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!(0,D.N)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=(0,R.a)(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():(0,L.M)(s)},B=O({scrapeMotionValuesFromProps:V.x,createRenderState:S}),F=O({scrapeMotionValuesFromProps:i(35043).x,createRenderState:T});var I=i(12636);let W={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"]},U=!1;function N(){return!function(){if(U)return;let t={};for(let e in W)t[e]={isEnabled:t=>W[e].some(e=>!!t[e])};(0,I.lr)(t),U=!0}(),(0,I.vK)()}let $=Symbol.for("motionComponentSymbol");var G=i(99256);let X=(0,a.createContext)({});function z(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var K=i(46436);function q(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&&function(t){let e=N();for(let i in t)e[i]={...e[i],...t[i]};(0,I.lr)(e)}(s);let l=r?"svg"===r:u(t),x=l?F:B;function E(e,i){let r,s={...(0,a.useContext)(p.Q),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,a.useContext)(d).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:E}=s,V=function(t){let{initial:e,animate:i}=function(t,e){if((0,f.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,v.w)(e)?e:void 0,animate:(0,v.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,a.useContext)(m));return(0,a.useMemo)(()=>({initial:e,animate:i}),[y(e),y(i)])}(e),C=x(e,E);if(!E&&"undefined"!=typeof window){(0,a.useContext)(c).strict;let e=function(t){let{drag:e,layout:i}=N();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,V.visualElement=function(t,e,i,n,r,s){var o,l,u,h;let{visualElement:d}=(0,a.useContext)(m),f=(0,a.useContext)(c),v=(0,a.useContext)(j),y=(0,a.useContext)(p.Q),g=y.reducedMotion,x=y.skipAnimations,w=(0,a.useRef)(null),S=(0,a.useRef)(!1);n=n||f.renderer,!w.current&&n&&(w.current=n(t,{visualState:e,parent:d,props:i,presenceContext:v,blockInitialAnimation:!!v&&!1===v.initial,reducedMotionConfig:g,skipAnimations:x,isSVG:s}),S.current&&w.current&&(w.current.manuallyAnimateOnMount=!0));let b=w.current,A=(0,a.useContext)(X);b&&!b.projection&&r&&("html"===b.type||"svg"===b.type)&&function(t,e,
1i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:d}=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:d,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(w.current,i,r,A);let P=(0,a.useRef)(!1);(0,a.useInsertionEffect)(()=>{b&&P.current&&b.update(i,v)});let T=i[G.n],E=(0,a.useRef)(!!T&&"undefined"!=typeof window&&!(null==(o=(l=window).MotionHandoffIsComplete)?void 0:o.call(l,T))&&(null==(u=(h=window).MotionHasOptimisedAnimation)?void 0:u.call(h,T)));return(0,K.E)(()=>{S.current=!0,b&&(P.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),b.scheduleRenderMicrotask(),E.current&&b.animationState&&b.animationState.animateChanges())}),(0,a.useEffect)(()=>{b&&(!E.current&&b.animationState&&b.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,T)}),E.current=!1),b.enteringChildren=void 0)}),b}(t,C,s,o,e.ProjectionNode,l)}return(0,h.jsxs)(m.Provider,{value:V,children:[r&&V.visualElement?(0,h.jsx)(r,{visualElement:V.visualElement,...s}):null,function(t,e,i,n,r){let{latestValues:s}=n,o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0,h=((null!=l?l:u(t))?function(t,e,i,n){let r=(0,a.useMemo)(()=>{let i=T();return(0,A.B)(i,e,(0,P.n)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};b(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 b(n,i,t),Object.assign(n,function(t,e){let{transformTemplate:i}=t;return(0,a.useMemo)(()=>{let t=S();return(0,w.O)(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),d=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&!(0,g.S)(t[r])&&(M(r)||!0===i&&k(r)||!e&&!k(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,o),c=t!==a.Fragment?{...d,...h,ref:i}:{},{children:p}=e,m=(0,a.useMemo)(()=>(0,g.S)(p)?p.get():p,[p]);return(0,a.createElement)(t,{...c,children:m})}(t,e,function(t,e,i){let n=(0,a.useRef)(i);(0,a.useInsertionEffect)(()=>{n.current=i});let r=(0,a.useRef)(null);return(0,a.useCallback)(i=>{if(i){var s;null==(s=t.onMount)||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,V.visualElement,i),C,E,n,l)]})}E.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let V=(0,a.forwardRef)(E);return V[$]=t,V}class H{constructor(t){this.isMounted=!1,this.node=t}update(){}}var Y=i(21767),_=i(2877);function Q(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 Z(t,e,i={}){let n=(0,Y.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all((0,_.$)(t,n,i)):()=>Promise.resolve(),o=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(Z(l,e,{...o,delay:i+("function"==typeof n?0:n)+Q(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:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}var J=i(52036);let tt=J._.length;var te=i(7112);function ti(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 tn=[...J.U].reverse(),tr=J.U.length;function ts(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function to(){return{animate:ts(!0),whileInView:ts(),whileHover:ts(),whileTap:ts(),whileDrag:ts(),whileFocus:ts(),exit:ts()}}class ta extends H{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>
1(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>Z(t,e,i)));else if("string"==typeof e)n=Z(t,e,i);else{let r="function"==typeof e?(0,Y.K)(t,e,i.custom):e;n=Promise.all((0,_.$)(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=to(),n=!0,r=!1,s=e=>(i,n)=>{let r=(0,Y.K)(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 o(o){let{props:a}=t,l=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<tt;t++){let n=J._[t],r=e.props[n];((0,v.w)(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},u=[],h=new Set,d={},c=1/0;for(let e=0;e<tr;e++){var p,m;let f=tn[e],y=i[f],g=void 0!==a[f]?a[f]:l[f],x=(0,v.w)(g),w=f===o?y.isActive:null;!1===w&&(c=e);let S=g===l[f]&&g!==a[f]&&x;if(S&&(n||r)&&t.manuallyAnimateOnMount&&(S=!1),y.protectedKeys={...d},!y.isActive&&null===w||!g&&!y.prevProp||(0,D.N)(g)||"boolean"==typeof g)continue;if("exit"===f&&y.isActive&&!0!==w){y.prevResolvedValues&&(d={...d,...y.prevResolvedValues});continue}let b=(p=y.prevProp,"string"==typeof(m=g)?m!==p:!!Array.isArray(m)&&!ti(m,p)),A=b||f===o&&y.isActive&&!S&&x||e>c&&x,P=!1,T=Array.isArray(g)?g:[g],E=T.reduce(s(f),{});!1===w&&(E={});let{prevResolvedValues:k={}}=y,M={...k,...E},V=e=>{A=!0,h.has(e)&&(P=!0,h.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in M){let e=E[t],i=k[t];if(!d.hasOwnProperty(t))((0,te.p)(e)&&(0,te.p)(i)?!ti(e,i)||b:e!==i)?null!=e?V(t):h.add(t):void 0!==e&&h.has(t)?V(t):y.protectedKeys[t]=!0}y.prevProp=g,y.prevResolvedValues=E,y.isActive&&(d={...d,...E}),(n||r)&&t.blockInitialAnimation&&(A=!1);let C=S&&b,R=!C||P;A&&R&&u.push(...T.map(e=>{let i={type:f};if("string"==typeof e&&(n||r)&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=(0,Y.K)(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=Q(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=(0,Y.K)(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),u.push({animation:e})}let f=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,r=!1,f?e(u):Promise.resolve()}return{animateChanges:o,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=o(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=to(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,D.N)(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 tl=0;class tu extends H{constructor(){super(...arguments),this.id=tl++,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=(0,Y.K)(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(){}}var th=i(6500),td=i(39622);let tc={x:!1,y:!1};function tp(t){return[t("x"),t("y")]}var tm=i(92419),tf=i(39361);function tv(t){return t.max-t.min}function ty(t,e,i,n=.5){t.origin=n,t.originPoint=(0,tf.k)(e.min,e.max,t.origin),t.scale=tv(i)/tv(e),t.translate=(0,tf.k)(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 tg(t,e,i,n){ty(t.x,e.x,i.x,n?n.originX:void 0),ty(t.y,e.y,i.y,n?n.originY:void 0)}function tx(t,e,i,n=0){t.min=(n?(0,tf.k)(i.min,i.max,n):i.min)+e.min,t.max=t.min+tv(e)}function tw(t,e,i,n=0){let r=n?(0,tf.k)(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+tv(e)}function tS(t,e,i,n){tw(t.x,e.x,i.x,n?.x),tw(t.y,e.y,i.y,n?.y)}var tb=i(73934),tA=i(23781),tP=i(68745),tT=i(33152),tE=i(20241);let tk=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),tM=new Set(["INPUT","SELECT","TEXTAREA"]);function tV(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}var tC=i(29089),tD=i(38561);let tR=new WeakMap,tj=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:(0,tC.x)(n)&&"getBBox"in n?n.getBBox()[e]:n[i],tL=tj("inline","width","offsetWidth"),tO=tj("block","height","offsetHeight");function tB({target:t,borderBoxSize:e}){tR.get(t)?.forEach(i=>{i(t,{get width(){return tL(t,e)},get height(){return tO(t,e)}})})}function tF(t){t.forEach(tB)}let tI=new Set;function tW(t,e){return"function"==typeof t?(tI.add(t),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};tI.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{tI.delete(t),tI.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):function(t,e){n||"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(tF));let i=(0,tD.K)(t);return i.forEach(t=>{let i=tR.get(t);i||(i=new Set,tR.set(t,i)),i.add(e),n?.observe(t)}),()=>{i.forEach(t=>{let i=tR.get(t);i?.delete(e),i?.size||n?.unobserve(t)})}}(t,e)}var tU=i(78041);let tN=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function t$(t){return{point:{x:t.pageX,y:t.pageY}}}function tG(t,e,i,n){return tV(t,e,t=>tN(t)&&i(t,t$(t)),n)}let tX=({current:t})=>t?t.ownerDocument.defaultView:null;var tz=i(23656),tK=i(27290);let tq=(t,e)=>Math.abs(t-e),tH=new Set(["auto","scroll"]);class tY{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=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=t_(this.lastRawMoveEventInfo,this.transformPagePoint));let t=tZ(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(tq(t.x,e.x)**2+tq(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=tb.uv;this.history.push({...n,timestamp:r});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=t_(e,this.transformPagePoint),tb.Gt.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=tZ("pointercancel"===t.type?this.lastMoveEventInfo:t_(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!tN(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;let a=t_(t$(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tb.uv;this.history=[{...l,timestamp:u}];let{onSessionStart:h}=e;h&&h(t,tZ(a,this.history));let d={passive:!0,capture:!0};this.removeListeners=(0,tz.F)(tG(this.contextWindow,"pointermove",this.handlePointerMove,d),tG(this.contextWindow,"pointerup",this.handlePointerUp,d),tG(this.contextWindow,"pointercancel",this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(tH.has(t.overflowX)||tH.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),tb.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,tb.WG)(this.updatePoint)}}function t_(t,e){return e?{point:e(t.point)}:t}function tQ(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tZ({point:t},e){return{point:t,delta:tQ(t,tJ(e)),offset:tQ(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=tJ(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,tK.f)(.1)));)i--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&r.timestamp-n.timestamp>2*(0,tK.f)(e)&&(n=t[1]);let s=(0,tK.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 tJ(t){return t[t.length-1]}var t0=i(91225),t1=i(48895);function t2(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 t3(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 t5(t,e,i){return{min:t8(t,e),max:t8(t,i)}}function t8(t,e){return"number"==typeof t?t:t[e]||0}let t4=new WeakMap;class t6{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,td.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{e&&this.snapToCursor(t$(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(tc[t])return null;else return tc[t]=!0,()=>{tc[t]=!1};return tc.x||tc.y?null:(tc.x=tc.y=!0,()=>{tc.x=tc.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tp(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tm.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=tv(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tb.Gt.update(()=>r(t,e),!1,!0),(0,tA.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&tb.Gt.update(()=>s(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new tY(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:tX(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tb.Gt.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!t7(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,tf.k)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,tf.k)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&z(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:t2(t.x,i,r),y:t2(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:t5(t,"left","right"),y:t5(t,"top","bottom")}}(e),n!==this.constraints&&!z(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&tp(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!z(e))return!1;let n=e.current;(0,tU.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let s=(0,tP.L)(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:t3(t.x,s.x),y:t3(t.y,s.y)});if(i){let t=i((0,tT.pA)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,tT.FY)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tp(o=>
1{if(!t7(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,tA.g)(this.visualElement,t),i.start((0,tE.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){tp(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){tp(e=>{let{drag:i}=this.getProps();if(!t7(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],o=r.get()||0;r.set(t[e]-(0,tf.k)(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!z(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};tp(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=tv(t),r=tv(e);return r>n?i=(0,t0.q)(e.min,e.max-n,t.min):n>r&&(i=(0,t0.q)(t.min,t.max-r,e.min)),(0,t1.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),tp(e=>{if(!t7(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,tf.k)(r,s,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;t4.set(this.visualElement,this);let e=this.visualElement.current,i=tG(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),r=t.target,s=r!==e&&(tM.has(r.tagName)||!0===r.isContentEditable);i&&n&&!s&&this.start(t)}),n=()=>{let{dragConstraints:i}=this.getProps();z(i)&&i.current&&(this.constraints=this.resolveRefConstraints(),t||(t=function(t,e,i){let n=tW(t,t9(i)),r=tW(e,t9(i));return()=>{n(),r()}}(e,i.current,()=>this.scalePositionWithinConstraints())))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),tb.Gt.read(n);let o=tV(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tp(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function t9(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function t7(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class et extends H{constructor(t){super(t),this.removeGroupControls=th.l,this.removeListeners=th.l,this.controls=new t6(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||th.l}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let ee=t=>(e,i)=>{t&&tb.Gt.update(()=>t(e,i),!1,!0)};class ei extends H{constructor(){super(...arguments),this.removePointerDownListener=th.l}onPointerDown(t){this.session=new tY(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tX(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:ee(t),onStart:ee(e),onMove:ee(i),onEnd:(t,e)=>{delete this.session,n&&tb.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tG(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let en={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var er=i(38358);let es=!1;class eo extends a.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),es&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),en.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),es=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||tb.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),er.k.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;es=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ea(t){let[e,i]=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,a.useContext)(j);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=e,s=(0,a.useId)();(0,a.useEffect)(()=>
1{if(t)return r(s)},[t]);let o=(0,a.useCallback)(()=>t&&n&&n(s),[s,n,t]);return!i&&n?[!1,o]:[!0]}(),n=(0,a.useContext)(d);return(0,h.jsx)(eo,{...t,layoutGroup:n,switchLayoutGroup:(0,a.useContext)(X),isPresent:e,safeToRemove:i})}var el=i(8453),eu=i(78616),eh=i(60738),ed=i(63354),ec=i(27424),ep=i(45385);let em={value:null,addProjectionMetrics:null};var ef=i(25188),ev=i(22039),ey=i(69809),eg=i(81666);let ex=eg.S.length,ew=t=>"string"==typeof t?parseFloat(t):t,eS=t=>"number"==typeof t||tm.px.test(t);function eb(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let eA=eT(0,.5,ey.yT),eP=eT(.5,.95,th.l);function eT(t,e,i){return n=>n<t?0:n>e?1:i((0,t0.q)(t,e,n))}function eE(t,e){t.min=e.min,t.max=e.max}function ek(t,e){eE(t.x,e.x),eE(t.y,e.y)}function eM(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var eV=i(17727);function eC(t,e,i,n,r){return t-=e,t=(0,eV.hq)(t,1/i,n),void 0!==r&&(t=(0,eV.hq)(t,1/r,n)),t}function eD(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(tm.KN.test(e)&&(e=parseFloat(e),e=(0,tf.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tf.k)(s.min,s.max,n);t===s&&(a-=e),t.min=eC(t.min,e,i,a,r),t.max=eC(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let eR=["x","scaleX","originX"],ej=["y","scaleY","originY"];function eL(t,e,i,n){eD(t.x,e,eR,i?i.x:void 0,n?n.x:void 0),eD(t.y,e,ej,i?i.y:void 0,n?n.y:void 0)}function eO(t){return 0===t.translate&&1===t.scale}function eB(t){return eO(t.x)&&eO(t.y)}function eF(t,e){return t.min===e.min&&t.max===e.max}function eI(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function eW(t,e){return eI(t.x,e.x)&&eI(t.y,e.y)}function eU(t){return tv(t.x)/tv(t.y)}function eN(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var e$=i(16105);class eG{constructor(){this.members=[]}add(t){(0,e$.Kq)(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,e$.Ai)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,e$.Ai)(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 eX=(t,e)=>t.depth-e.depth;class ez{constructor(){this.children=[],this.isDirty=!1}add(t){(0,e$.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,e$.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eX),this.isDirty=!1,this.children.forEach(t)}}var eK=i(42418);let eq={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eH=["","X","Y","Z"],eY=0;function e_(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function eQ({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=eY++,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,em.value&&(eq.nodes=eq.calculatedTargetDeltas=eq.calculatedProjections=0),this.nodes.forEac
1h(e0),this.nodes.forEach(e7),this.nodes.forEach(it),this.nodes.forEach(e1),em.addProjectionMetrics&&em.addProjectionMetrics(eq)},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 ez)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new el.v),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=(0,tC.x)(e)&&!(0,ef.h)(e),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,n=0,r=()=>this.root.updateBlockedByResize=!1;tb.Gt.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=ec.k.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,tb.WG)(n),t(r-250))};return tb.Gt.setup(n,!0),()=>(0,tb.WG)(n)}(r,250),en.hasAnimatedSinceResize&&(en.hasAnimatedSinceResize=!1,this.nodes.forEach(e9)))})}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()||ia,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!eW(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,ed.r)(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||e9(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,tb.WG)(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(ie),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,eh.P)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tb.Gt,!(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(e5),this.nodes.forEach(e3);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(e8);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(e4),this.nodes.forEach(e6),this.nodes.forEach(eZ),this.nodes.forEach(eJ)):this.nodes.forEach(e8),this.clearAllSnapshots();let t=ec.k.now();tb.uv.delta=(0,t1.q)(0,1e3/60,t-tb.uv.timestamp),tb.uv.timestamp=t,tb.uv.isProcessing=!0,tb.PP.update.process(tb.uv),tb.PP.preRender.process(tb.uv),tb.PP.render.process(tb.uv),tb.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,er.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(e2),this.sharedNodes.forEach(ii)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tb.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tb.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tv(this.snapshot.measuredBox.x)||tv(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,td.ge)()),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&&!eB(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,eK.HD)(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)),ih((e=n).x),ih(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,td.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ic))){let{scroll:t}=this.root;t&&((0,eV.Ql)(e.x,t.offset.x),(0,eV.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,td.ge)();if(ek(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&&ek(e,t),(0,eV.Ql)(e.x,r.offset.x),(0,eV.Ql)(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||(0,td.ge)();ek(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,eV.Ql)(n.x,-i.scroll.offset.x),(0,eV.Ql)(n.y,-i.scroll.offset.y)),(0,eK.HD)(i.latestValues)&&(0,eV.Ww)(n,i.latestValues,i.layout?.layoutBox)}return(0,eK.HD)(this.latestValues)&&(0,eV.Ww)(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=(0,td.ge)();ek(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];(0,eK.HD)(n.latestValues)&&(n.instance&&((0,eK.vk)(n.latestValues)&&n.updateSnapshot(),ek(i=(0,td.ge)(),n.measurePageBox())),eL(e,n.latestValues,n.snapshot?.layoutBox,i))}return(0,eK.HD)(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!==tb.uv.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=tb.uv.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,td.ge)(),this.targetWithTransforms=(0,td.ge)()),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,tx(o.x,a.x,l.x,u?.x),tx(o.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ek(this.target,this.layout.layoutBox),(0,eV.o4)(this.target,this.targetDelta)):ek(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),em.value&&eq.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||(0,eK.vk)(this.parent.latestValues)||(0,eK.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,td.ge)(),this.relativeTargetOrigin=(0,td.ge)(),tS(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),ek(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tb.uv.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;ek(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;(0,eV.OU)(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,td.ge)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(eM(this.prevProjectionDelta.x,this.projectionDelta.x),eM(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tg(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&eN(this.projectionDelta.x,this.prevProjectionDelta.x)&&eN(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),em.value&&eq.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,td.xU)(),this.projectionDelta=(0,td.xU)(),this.projectionDeltaWithTransform=(0,td.xU)()}setAnimationOrigin(t,e=!1,i){let n,r=this.snapshot,s=r?r.latestValues:{},o={...this.latestValues},a=(0,td.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=(0,td.ge)(),u=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),d=!h||h.members.length<=1,c=!!(u&&!d&&!0===this.options.crossfade&&!this.path.some(io));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,tf.k)(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,tf.k)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(ir(a.x,t.x,i),ir(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,v,y,g;tS(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,v=this.relativeTargetOrigin,y=l,g=i,is(f.x,v.x,y.x,g),is(f.y,v.y,y.y,g),n&&(h=this.relativeTarget,m=n,eF(h.x,m.x)&&eF(h.y,m.y))&&(this.isProjectionDirty=!1),n||(n=(0,td.ge)()),ek(n,this.relativeTarget)}u&&(this.animationValues=o,function(t,e,i,n,r,s){r?(t.opacity=(0,tf.k)(0,i.opacity??1,eA(n)),t.opacityExit=(0,tf.k)(e.opacity??1,0,eP(n))):s&&(t.opacity=(0,tf.k)(e.opacity??1,i.opacity??1,n));for(let r=0;r<ex;r++){let s=eg.S[r],o=eb(e,s),a=eb(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||eS(o)===eS(a)?(t[s]=Math.max((0,tf.k)(ew(o),ew(a),n),0),(tm.KN.test(a)||tm.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,tf.k)(e.rotate||0,i.rotate||0,n))}(o,s,this.latestValues,i,c,d)),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(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,tb.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tb.Gt.update(()=>{en.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,ev.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,eu.z)(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&&id(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,td.ge)();let e=tv(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=tv(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}ek(e,i),(0,eV.Ww)(e,r),tg(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eG),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&&e_("z",t,n,this.animationValues);for(let e=0;e<eH.length;e++)e_(`rotate${eH[e]}`,t,n,this.animationValues),e_(`skew${eH[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=C(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=C(e?.pointerEvents)||""),this.hasProjected&&!(0,eK.HD)(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,ep.H){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=ep.H[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?C(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(e3),this.root.sharedNodes.clear()}}}function eZ(t){t.updateLayout()}function eJ(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)tp(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=tv(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";eE(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else id(r,e.layoutBox,i)&&tp(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=tv(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,td.xU)();tg(o,i,e.layoutBox);let a=(0,td.xU)();s?tg(a,t.applyTransform(n,!0),e.measuredBox):tg(a,i,e.layoutBox);let l=!eB(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,td.ge)();tS(a,e.layoutBox,r.layoutBox,o);let l=(0,td.ge)();tS(l,i,s.layoutBox,o),eW(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 e0(t){em.value&&eq.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 e1(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function e2(t){t.clearSnapshot()}function e3(t){t.clearMeasurements()}function e5(t){t.isLayoutDirty=!0,t.updateLayout()}function e8(t){t.isLayoutDirty=!1}function e4(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function e6(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function e9(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function e7(t){t.resolveTargetDelta()}function it(t){t.calcProjection()}function ie(t){t.resetSkewAndRotation()}function ii(t){t.removeLeadSnapshot()}function ir(t,e,i){t.translate=(0,tf.k)(e.translate,0,i),t.scale=(0,tf.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function is(t,e,i,n){t.min=(0,tf.k)(e.min,i.min,n),t.max=(0,tf.k)(e.max,i.max,n)}function io(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let ia={duration:.45,ease:[.4,0,.1,1]},il=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),iu=il("applewebkit/")&&!il("chrome/")?Math.round:th.l;function ih(t){t.min=iu(t.min),t.max=iu(t.max)}function id(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(eU(e)-eU(i)))}function ic(t){return t!==t.root&&t.scroll?.wasRoot}let ip=eQ({attachResizeListener:(t,e)=>tV(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),im={current:void 0},iv=eQ({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!im.current){let t=new ip({});t.mount(window),t.setOptions({layoutScroll:!0}),im.current=t}return im.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function iy(t,e){let i=(0,tD.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function ig(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tb.Gt.postRender(()=>r(e,t$(e)))}class ix extends H{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=iy(t,i);return n.forEach(t=>{let i,n=!1,s=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){s=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||tc.x||tc.y)return;s=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),s}(t,(t,e)=>(ig(this.node,e,"Start"),t=>ig(this.node,t,"End"))))}unmount(){}}class iw extends H{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,tz.F)(tV(this.node.current,"focus",()=>this.onFocus()),tV(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var iS=i(73142);let ib=(t,e)=>!!e&&(t===e||ib(t,e.parentElement)),iA=new WeakSet;function iP(t){return e=>{"Enter"===e.key&&t(e)}}function iT(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function iE(t){return tN(t)&&!(tc.x||tc.y)}let ik=new WeakSet;function iM(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&tb.Gt.postRender(()=>r(e,t$(e)))}class iV extends H{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;
1this.unmount=function(t,e,i={}){let[n,r,s]=iy(t,i),o=t=>{let n=t.currentTarget;if(!iE(t)||ik.has(t))return;iA.add(n),i.stopPropagation&&ik.add(t);let s=e(n,t),o={...r,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",u,o),iA.has(n)&&iA.delete(n),iE(t)&&"function"==typeof s&&s(t,{success:e})},l=t=>{a(t,n===window||n===document||i.useGlobalTarget||ib(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,iS.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=iP(()=>{if(iA.has(i))return;iT(i,"down");let t=iP(()=>{iT(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>iT(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),tk.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(iM(this.node,e,"Start"),(t,{success:e})=>iM(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let iC=new WeakMap,iD=new WeakMap,iR=t=>{let e=iC.get(t.target);e&&e(t)},ij=t=>{t.forEach(iR)},iL={some:0,all:1};class iO extends H{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:iL[n]},o=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)};this.stopObserver=function(t,e,i){let n=function({root:t,...e}){let i=t||document;iD.has(i)||iD.set(i,{});let n=iD.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(ij,{root:t,...e})),n[r]}(e);return iC.set(t,i),n.observe(t),()=>{iC.delete(t),n.unobserve(t)}}(this.node.current,s,o)}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 iB=function(t,e){if("undefined"==typeof Proxy)return q;let i=new Map,n=(i,n)=>q(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,q(s,void 0,t,e)),i.get(s))})}({animation:{Feature:ta},exit:{Feature:tu},inView:{Feature:iO},tap:{Feature:iV},focus:{Feature:iw},hover:{Feature:ix},pan:{Feature:ei},drag:{Feature:et,ProjectionNode:iv,MeasureLayout:ea},layout:{ProjectionNode:iv,MeasureLayout:ea}},(t,e)=>e.isSVG??u(t)?new s.l(e):new o.M(e,{allowProjection:t!==a.Fragment}))},78616:(t,e,i)=>{"use strict";i.d(e,{z:()=>o});var n=i(20241),r=i(22039),s=i(33182);function o(t,e,i){let o=(0,s.S)(t)?t:(0,r.OQ)(t);return o.start((0,n.f)("",o,e,i)),o.animation}},78617:(t,e,i)=>{"use strict";i.d(e,{E4:()=>a,Hr:()=>d,W9:()=>h});var n=i(37899),r=i(40479),s=i(37822),o=i(92419);let a=t=>t===s.ai||t===o.px,l=new Set(["x","y","z"]),u=r.U.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")))}),e}let d={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.ry)(e,"x"),y:(t,{transform:e})=>(0,n.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},81288:(t,e,i)=>{"use strict";i.d(e,{p:()=>l});var n=i(24888),r=i(24531);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.S)||[];if(!n)return t;let o=i.replace(n,""),a=+!!s.has(e);return n!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...n.f,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},81666:(t,e,i)=>{"use strict";i.d(e,{S:()=>n});let n=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]},82264:(t,e,i)=>{"use strict";i.d(e,{J:()=>l});var n=i(24888),r=i(81288),s=i(83370),o=i(98387);let a=new Set([r.p,s.d]);function l(t,e){let i=(0,o.D)(t);return a.has(i)||(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}}
1,82617:(t,e,i)=>{"use strict";i.d(e,{m:()=>x});var n=i(78041),r=i(27290),s=i(6500),o=i(46934),a=i(60178);let l={};function u(t,e){let i=(0,a.p)(t);return()=>l[e]??i()}let h=u(()=>void 0!==window.ScrollTimeline,"scrollTimeline");var d=i(33855),c=i(87671),p=i(34324);let m=u(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var f=i(33754);let v=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,y={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:v([0,.65,.55,1]),circOut:v([.55,0,1,.45]),backIn:v([.31,.01,.66,-.59]),backOut:v([.33,1.53,.69,.99])};var g=i(65181);class x extends c.q{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.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let h=function({type:t,...e}){return(0,g.W)(t)&&m()?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 d=function t(e,i){if(e)return"function"==typeof e?m()?(0,f.K)(e,i):"ease-out":(0,p.D)(e)?v(e):Array.isArray(e)?e.map(e=>t(e,i)||y.easeOut):y[e]}(a,r);Array.isArray(d)&&(h.easing=d);let c={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};return u&&(c.pseudoElement=u),t.animate(h,c)}(e,i,r,h,s),!1===h.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=(0,d.X)(r,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,o.e)(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.f)(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.l):n(this)}}},83370:(t,e,i)=>{"use strict";i.d(e,{d:()=>r});var n=i(24888);let r={...n.f,getAnimatableNone:t=>{let e=n.f.parse(t);return n.f.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}}},87671:(t,e,i)=>{"use strict";i.d(e,{q:()=>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)}}},87913:(t,e,i)=>{"use strict";i.d(e,{M:()=>n});let n=new Set(["opacity","clipPath","filter","transform"])},87952:(t,e,i)=>{"use strict";i.d(e,{z:()=>d});var n=i(33182),r=i(49752),s=i(73934);function o(t){return"number"==typeof t?t:parseFloat(t)}var a=i(12115),l=i(53127),u=i(53350),h=i(99770);function d(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{isStatic:i}=(0,a.useContext)(l.Q),d=()=>(0,n.S)(t)?t.get():t;if(i)return(0,h.G)(d);let c=(0,u.d)(d());return(0,a.useInsertionEffect)(()=>
1(function(t,e,i={}){let a,l=t.get(),u=null,h=l,d="string"==typeof l?l.replace(/[\d.-]/g,""):void 0,c=()=>{u&&(u.stop(),u=null),t.animation=void 0},p=()=>{(()=>{let e=o(t.get()),n=o(h);if(e===n)return c();let s=u?u.getGeneratorVelocity():t.getVelocity();c(),u=new r.s({keyframes:[e,n],velocity:s,type:"spring",restDelta:.001,restSpeed:.01,...i,onUpdate:a})})(),t.animation=u??void 0,t.events.animationStart?.notify(),u?.then(()=>{t.animation=void 0,t.events.animationComplete?.notify()})};if(t.attach((t,e)=>{h=t,a=t=>{var i,n;return e((i=t,(n=d)?i+n:i))},s.Gt.postRender(p)},c),(0,n.S)(e)){let n=!0===i.skipInitialAnimation,r=e.on("change",e=>{var i,r,s,o;n?(n=!1,t.jump((i=e,(r=d)?i+r:i),!1)):t.set((s=e,(o=d)?s+o:s))}),s=t.on("destroy",r);return()=>{r(),s()}}return c})(c,t,e),[c,JSON.stringify(e)]),c}(t,{type:"spring",...e})}},88786:(t,e,i)=>{"use strict";i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(40479).U])},90368:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(71847).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},90625:(t,e,i)=>{"use strict";i.d(e,{E:()=>a});var n=i(70561),r=i(20835),s=i(72980);let o={decay:n.B,inertia:n.B,tween:r.i,keyframes:r.i,spring:s.o};function a(t){"string"==typeof t.type&&(t.type=o[t.type])}},91225:(t,e,i)=>{"use strict";i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1}},92419:(t,e,i)=>{"use strict";i.d(e,{KN:()=>s,gQ:()=>u,px:()=>o,uj:()=>r,vh:()=>a,vw:()=>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)}},93709:(t,e,i)=>{"use strict";i.d(e,{zK:()=>s});var n=i(40479),r=i(45385);function s(t,{layout:e,layoutId:i}){return n.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!r.H[t]||"opacity"===t)}},94416:(t,e,i)=>{"use strict";i.d(e,{M:()=>r});var n=i(12115);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},95516:(t,e,i)=>{"use strict";i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},96868:(t,e,i)=>{"use strict";i.d(e,{W:()=>a});var n=i(37822);let r={...n.ai,transform:Math.round};var s=i(92419);let o={rotate:s.uj,pathRotation:s.uj,rotateX:s.uj,rotateY:s.uj,rotateZ:s.uj,scale:n.hs,scaleX:n.hs,scaleY:n.hs,scaleZ:n.hs,skew:s.uj,skewX:s.uj,skewY:s.uj,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.X4,originX:s.gQ,originY:s.gQ,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.X4,strokeOpacity:n.X4,numOctaves:r}},98387:(t,e,i)=>{"use strict";i.d(e,{D:()=>a});var n=i(55389),r=i(81288),s=i(83370);let o={...i(96868).W,color:n.y,backgroundColor:n.y,outlineColor:n.y,fill:n.y,stroke:n.y,borderColor:n.y,borderTopColor:n.y,borderRightColor:n.y,borderBottomColor:n.y,borderLeftColor:n.y,filter:r.p,WebkitFilter:r.p,mask:s.d,WebkitMask:s.d},a=t=>o[t]},99256:(t,e,i)=>{"use strict";i.d(e,{n:()=>n});let n="data-"+(0,i(32246).I)("framerAppearId")},99770:(t,e,i)=>{"use strict";i.d(e,{G:()=>function t(e,i,s,o){if("function"==typeof e){u.bt.current=[],e();let t=l(u.bt.current,e);return u.bt.current=void 0,t}if(void 0!==s&&!Array.isArray(s)&&"function"!=typeof i){var a=e,d=i,c=s,p=o;let n=(0,r.M)(()=>Object.keys(c)),l=(0,r.M)(()=>({}));for(let e of n)l[e]=t(a,d,c[e],p);return l}let m="function"==typeof i?i:function(...t){let e=!Array.isArray(t[0]),i=e?0:-1,r=t[0+i],s=t[1+i],o=t[2+i],a=t[3+i],l=(0,n.G)(s,o,a);return e?l(r):l}(i,s,o),f=Array.isArray(e)?h(e,m):h([e],t=>{let[e]=t;return m(e)}),v=Array.isArray(e)?void 0:e.accelerate;return v&&!v.isTransformed&&"function"!=typeof i&&Array.isArray(s)&&(null==o?void 0:o.clamp)!==!1&&(f.accelerate={...v,times:i,keyframes:s,isTransformed:!0,...(null==o?void 0:o.ease)?{ease:o.ease}:{}}),f}});var n=i(16706),r=i(94416),s=i(73934),o=i(46436),a=i(53350);function l(t,e){let i=(0,a.d)(e()),n=()=>i.set(e());return n(),(0,o.E)(()=>{let e=()=>s.Gt.preRender(n,!1,!0),i=t.map(t=>t.on("change",e));return()=>
1{i.forEach(t=>t()),(0,s.WG)(n)}}),i}var u=i(22039);function h(t,e){let i=(0,r.M)(()=>[]);return l(t,()=>{i.length=0;let n=t.length;for(let e=0;e<n;e++)i[e]=t[e].get();return e(i)})}}}]);
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.