PageSourceSearch

https://seeda.app/_next/static/chunks/17919-0b5659be329ec681.js

js seeda.app collected 2026-10-04 13:29:58 UTC 135,801 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17919],{639:(t,e,i)=>{i.d(e,{x:()=>s});var n=i(75257),r=i(77710);function s(t,e,i){let s=t.style,a=e?.style,o={};if(!s)return o;for(let e in s)((0,n.S)(s[e])||a&&(0,n.S)(a[e])||(0,r.zK)(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(o[e]=s[e]);return o}},1299:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},1653:(t,e,i)=>{i.d(e,{G:()=>h});var n=i(89808),r=i(14442),s=i(4778),a=i(89279),o=i(25299),l=i(64929),u=i(17702);function h(t,e,{clamp:i=!0,ease:d,mixer:c}={}){let p=t.length;if((0,a.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 a=[],o=i||n.W.mix||u.j,l=t.length-1;for(let i=0;i<l;i++){let n=o(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.l:e;n=(0,s.F)(t,n)}a.push(n)}return a}(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,o.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}},1752:(t,e,i)=>{i.d(e,{n:()=>n});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},2049:(t,e,i)=>{i.d(e,{$:()=>p});var n=i(64171),r=i(3527),s=i(3083),a=i(6608),o=i(62992),l=i(18721),u=i(5013),h=i(10587),d=i(17773),c=i(57689);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;m&&(v=m);let T=[],S=f&&t.animationState&&t.animationState.getState()[f];for(let e in g){let r=t.getValue(e,t.latestValues[e]??null),a=g[e];if(void 0===a||S&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(S,e))continue;let o={delay:i,...(0,n.r)(v||{},e)},l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(a)&&a===l&&!o.velocity){c.Gt.update(()=>r.set(a));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&&(o.startTime=t,p=!0)}}(0,u.g)(t,e);let m=w??t.shouldReduceMotion;r.start((0,d.f)(e,r,a,m&&s.$.has(e)?{type:!1}:o,t,p));let f=r.animation;f&&T.push(f)}if(y){let e=()=>c.Gt.update(()=>{y&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=(0,o.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,a.OQ)(i))}}(t,y)});T.length?Promise.all(T).then(e):e()}return T}},2175:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},2569:(t,e,i)=>{i.d(e,{L:()=>n});var n=(0,i(20792).createContext)({})},3083:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(67244).U])},3135:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(75015);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}}},3527:(t,e,i)=>{i.d(e,{K:()=>n});function n(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}},4778:(t,e,i)=>{i.d(e,{F:()=>r});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},5013:(t,e,i)=>{i.d(e,{g:()=>s});var n=i(89808),r=i(75257);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");t.addValue("willChange",i),i.add(e)}}},5368:(t,e,i)=>{i.d(e,{G:()=>n});function n(t){return"object"==typeof t&&null!==t}},6608:(t,e,i)=>{i.d(e,{OQ:()=>u,bt:()=>o});var n=i(3135),r=i(63496),s=i(50295),a=i(57689);let o={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(),a.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 o.current&&o.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)}}
1,7626:(t,e,i)=>{i.d(e,{Q:()=>n});let n={value:null,addProjectionMetrics:null}},8022:(t,e,i)=>{i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>h});let n=t=>180*t/Math.PI,r=t=>a(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},a=t=>((t%=360)<0&&(t+=360),t),o=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:o,scaleY:l,scale:t=>(o(t)+l(t))/2,rotateX:t=>a(n(Math.atan2(t[6],t[5]))),rotateY:t=>a(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 a=i[e],o=n[1].split(",").map(p);return"function"==typeof a?a(o):o[a]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},8354:(t,e,i)=>{i.d(e,{E4:()=>o,Hr:()=>d,W9:()=>h});var n=i(8022),r=i(67244),s=i(24785),a=i(10068);let o=t=>t===s.ai||t===a.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},10068:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>u,px:()=>a,uj:()=>r,vh:()=>o,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("%"),a=n("px"),o=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},10235:(t,e,i)=>{i.d(e,{BX:()=>L,vK:()=>R,lr:()=>D});var n=i(1299),r=i(52933),s=i(31145),a=i(3135),o=i(12049),l=i(50836),u=i(61300),h=i(14693),d=i(50295),c=i(93219),p=i(6608),m=i(48717),f=i(62939),v=i(39426),y=i(30758),g=i(14004);let x=[...y.T,v.y,m.f];var w=i(75257),T=i(78506),S=i(56636),P=i(67244);let b={current:null},k={current:!1},E="undefined"!=typeof window;var A=i(54148),M=i(57689);let V=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],C={};function D(t){C=t}function R(){return C}class L{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:a},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=o.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}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=e.initial?{...u}:{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,S.e)(e),this.isVariantNode=(0,S.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,T.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:(k.current||function(){if(k.current=!0,E)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>b.current=t.matches;t.addEventListener("change",e),e()}else b.current=!1}(),this.shouldReduceMotion=b.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:a,duration:o}=e.accelerate,u=new l.m({element:this.current,name:t,keyframes:r,times:s,ease:a,duration:(0,n.f)(o)}),h=i(u);this.valueSubscriptions.set(t,()=>{h(),u.cancel()});return}let r=P.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(),e.owner&&e.stop()})}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,A.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 a.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){h.k.render(this.render)}}},10513:(t,e,i)=>{i.d(e,{l:()=>p});var n=i(67244),r=i(19756),s=i(93219),a=i(16488),o=i(84111),l=i(41842);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(1752),d=i(51405),c=i(24200);class p extends a.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,o.I)(e),t.getAttribute(e)}
1scrapeMotionValuesFromProps(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,o.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,h.n)(t.tagName),super.mount(t)}}},10587:(t,e,i)=>{i.d(e,{P:()=>r});var n=i(51889);function r(t){return t.props[n.n]}},12049:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>d});var n=i(8354),r=i(57689);let s=new Set,a=!1,o=!1,l=!1;function u(){if(o){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)})}o=!1,a=!1,s.forEach(t=>t.complete(l)),s.clear()}function h(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!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),a||(a=!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()}}},12338:(t,e,i)=>{i.d(e,{O:()=>u});let n=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var r=i(20554),s=i(67244),a=i(58972);let o={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,a.j4)(t)){h[t]=i;continue}{let e=n(i,r.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):u[t]=e}}if(!e.transform&&(c||i?u.transform=function(t,e,i){let a="",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=o[l]||l;a+=`${e}(${t}) `}i&&(e[l]=t)}}return a=a.trim(),i?a=i(e,u?"":a):u&&(a="none"),a}(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}`}}},14004:(t,e,i)=>{i.d(e,{w:()=>n});let n=t=>e=>e.test(t)},14442:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},14693:(t,e,i)=>{i.d(e,{k:()=>n});let{schedule:n}=(0,i(41657).I)(queueMicrotask,!1)},16488:(t,e,i)=>{i.d(e,{b:()=>g});var n=i(75257),r=i(3083),s=i(30758),a=i(89279),o=i(52933),l=i(58972);let u=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var h=i(12049),d=i(31145),c=i(48717),p=i(62939);let m=new Set(["auto","none","0"]);var f=i(8354);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,a.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,o.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))
1)&&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.forEach(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var y=i(10235);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}`)}))}}},17702:(t,e,i)=>{i.d(e,{j:()=>b});var n=i(4778),r=i(89279),s=i(58972),a=i(39426),o=i(48717),l=i(56605),u=i(41098);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(33606);function c(t,e){return i=>i>0?e:t}var p=i(48088);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,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;r=h(o,n,t+1/3),s=h(o,n,t),a=h(o,n,t-1/3)}else r=s=a=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),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:a.y.test(t)?y:P:Array.isArray(t)?T:"object"==typeof t?a.y.test(t)?y:S:c}function T(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 S(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 P=(t,e)=>{let i=o.f.createTransformer(e),s=(0,o.V)(t),a=(0,o.V)(e);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?g.has(t)&&!a.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)(T(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],a=t.indexes[s][n[s]],o=t.values[a]??0;i[r]=o,n[s]++}return i}(s,a),a.values),i):((0,r.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),c(t,e))};function b(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.k)(t,e,i):w(t)(t,e)}},17773:(t,e,i)=>{i.d(e,{f:()=>td});var n=i(1299),r=i(89808),s=i(14442),a=i(50295),o=i(4778),l=i(64929),u=i(85110),h=i(17702),d=i(57689);let c=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>d.Gt.update(e,t),stop:()=>(0,d.WG)(e),now:()=>d.uv.isProcessing?d.uv.timestamp:a.k.now()}};var p=i(22955),m=i(63496);function f(t,e,i){let n=Math.max(e-5,0);return(0,m.f)(i-t(n),e-n)}function v({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,c,m=t[0],v={done:!1,value:m},y=i*e,g=m+y,x=void 0===a?g:a(g);x!==g&&(y=x-m);let w=t=>-y*Math.exp(-t/n),T=t=>x+w(t),S=t=>{let e=w(t),i=T(t);v.done=Math.abs(e)<=u,v.value=v.done?x:i},P=t=>{let e;if(e=v.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,c=(0,p.o)({keyframes:[v.value,(i=v.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:f(T,t,v.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return P(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,S(t),P(t)),void 0!==d&&t>=d)?c.next(t-d):(e||S(t),v)}}}let y=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function g(t,e,i,n){return t===e&&i===n?s.l:r=>
10===r||1===r?r:y(function(t,e,i,n,r){let s,a,o=0;do(s=y(a=e+(i-e)/2,n,r)-t)>0?i=a:e=a;while(Math.abs(s)>1e-7&&++o<12);return a}(r,0,1,t,i),e,n)}let x=g(.42,0,1,1),w=g(0,0,.58,1),T=g(.42,0,.58,1);var S=i(93448),P=i(89279),b=i(33774),k=i(54557);let E=g(.33,1.53,.69,.99),A=(0,k.G)(E),M=(0,b.V)(A),V=t=>t>=1?1:(t*=2)<1?.5*A(t):.5*(2-Math.pow(2,-10*(t-1)));var C=i(24323),D=i(68666);let R={linear:s.l,easeIn:x,easeInOut:T,easeOut:w,circIn:C.po,circInOut:C.tn,circOut:C.yT,backIn:A,backInOut:M,backOut:E,anticipate:V},L=t=>{if((0,D.D)(t)){(0,P.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return g(e,i,n,r)}return"string"==typeof t?((0,P.V)(void 0!==R[t],`Invalid easing type '${t}'`,"invalid-easing-type"),R[t]):t};var j=i(1653),B=i(86877);function F({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=(0,S.h)(n)?n.map(L):L(n),a={done:!1,value:e[0]},o=(r=i&&i.length===e.length?i:(0,B.Z)(e),r.map(e=>e*t)),l=(0,j.G)(o,e,{ease:Array.isArray(s)?s:e.map(()=>s||T).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}var I=i(90688),O=i(48212);let W={decay:v,inertia:v,tween:F,keyframes:F,spring:p.o};function _(t){"string"==typeof t.type&&(t.type=W[t.type])}var U=i(50360);let N=t=>t/100;class G extends U.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!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},u.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;_(t);let{type:e=F,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:a}=t,l=e||F;l!==F&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,o.F)(N,(0,h.j)(a[0],a[1])),a=[0,100]);let u=l({...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=(0,I.t)(u));let{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:r,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:h=0,keyframes:d,repeat:c,repeatType:p,repeatDelay:m,type:f,onUpdate:y,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let x=this.currentTime-h*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?x<0:x>r;this.currentTime=Math.max(x,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let T=this.currentTime,S=n;if(c){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/o)):"mirror"===p&&(S=a)),T=(0,l.q)(0,1,i)*o}w?(this.delayState.value=d[0],i=this.delayState):i=S.next(T),s&&!w&&(i.value=s(i.value));let{done:P}=i;w||null===u||(P=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return b&&f!==v&&(i.value=(0,O.X)(d,this.options,g,this.speed)),y&&y(i.value),b&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,n.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,n.X)(t)}get time(){return(0,n.X)(this.currentTime)}set time(t){t=(0,n.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 f(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(a.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,n.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=c,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(a.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,u.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var $=i(12049),X=i(18692),q=i(50836);let K={anticipate:V,backInOut:M,circInOut:C.tn};class H extends q.m{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in K&&(t.ease=K[t.ease])}(t),_(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 o=new G({...s,autoplay:!1}),u=Math.max(10,a.k.now()-this.startTime),h=(0,l.q)(0,10,u-10),d=o.sample(u).value,{name:c}=this.options;r&&c&&(0,X.e)(r,c,d),e.setWithVelocity(o.sample(Math.max(0,u-h)).value,d,h),o.stop()}}var z=i(33702),Y=i(48717);let Q=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(Y.f.test(t)||"0"===t)&&!t.startsWith("url("));function Z(t){t.duration=0,t.type="keyframes"}var J=i(96944),tt=i(61300);let te=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,ti=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),tn=(0,J.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tr extends U.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:l,motionValue:u,element:h,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=a.k.now();let c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:l,motionValue:u,element:h,...d},p=h?.KeyframeResolver||$.h;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),l,u,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let o;this.keyframeResolver=void 0;let{name:l,type:u,velocity:h,delay:d,isHandoff:c,onUpdate:p}=i;this.resolvedAt=a.k.now();let m=!0;!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],a=Q(r,e),o=Q(s,e);return(0,P.$)(a===o,`You are trying to animate ${e} from "${r}" to "${s}". "${a?s:r}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(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,z.W)(i))&&n)}(t,l,u,h)&&(m=!1,(r.W.instantAnimations||!d)&&p?.((0,O.X)(t,i,e)),t[0]=t[t.length-1],Z(i),i.repeat=0);let f={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},v=m&&!c&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:a,keyframes:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;
1let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return tn()&&i&&(tt.M.has(i)||ti.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&te.test(t[e]))return!0;return!1}(o))&&("transform"!==i||!u)&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==a}(f),y=f.motionValue?.owner?.current;if(v)try{o=new H({...f,element:y})}catch{o=new G(f)}else o=new G(f);o.finished.then(()=>{this.notifyFinished()}).catch(s.l),this.pendingTimeline&&(this.stopTimeline=o.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=o}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,$.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 ts=i(64171),ta=i(67244);let to={type:"spring",stiffness:500,damping:25,restSpeed:10},tl={type:"keyframes",duration:.8},tu={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},th=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),td=(t,e,i,s={},a,o)=>l=>{let u=(0,ts.r)(s,t)||{},h=u.delay||s.delay||0,{elapsed:c=0}=s;c-=(0,n.f)(h);let p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...u,delay:-c,onUpdate:t=>{e.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:t,motionValue:e,element:o?void 0:a};!function(t){for(let e in t)if(!th.has(e))return!0;return!1}(u)&&Object.assign(p,((t,{keyframes:e})=>e.length>2?tl:ta.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:to:tu)(t,p)),p.duration&&(p.duration=(0,n.f)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,n.f)(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let m=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(Z(p),0===p.delay&&(m=!0)),(r.W.instantAnimations||r.W.skipAnimations||a?.shouldSkipAnimations)&&(m=!0,Z(p),p.delay=0),p.allowFlatten=!u.type&&!u.ease,m&&!o&&void 0!==e.get()){let t=(0,O.X)(p.keyframes,u);if(void 0!==t)return void d.Gt.update(()=>{p.onUpdate(t),p.onComplete()})}return u.isSync?new G(p):new tr(p)}},18692:(t,e,i)=>{i.d(e,{e:()=>n});function n(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}},18721:(t,e,i)=>{i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},19756:(t,e,i)=>{i.d(e,{D:()=>o});var n=i(39426),r=i(44317),s=i(40995);let a={...i(20554).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},o=t=>a[t]},20554:(t,e,i)=>{i.d(e,{W:()=>o});var n=i(24785);let r={...n.ai,transform:Math.round};var s=i(10068);let a={rotate: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},o={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,...a,zIndex:r,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:r}},22576:(t,e,i)=>{i.d(e,{x:()=>r});var n=i(5368);function r(t){return(0,n.G)(t)&&"ownerSVGElement"in t}}
1,22955:(t,e,i)=>{i.d(e,{o:()=>m});var n=i(89279),r=i(1299),s=i(64929),a=i(44967),o=i(90688),l=i(78818);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:T}=x,S=x.keyframes[0],P=x.keyframes[x.keyframes.length-1],b={done:!1,value:S},{stiffness:k,damping:E,mass:A,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:a=u.mass}){let o,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?(o=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),a=h(Math.pow(e,2),d);return(n*i+i-r)*s*(-o(e)+.001>0?-1:1)/a}):(o=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}(o,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)*a;return{stiffness:e,damping:2*d*Math.sqrt(a*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(k*A)),L=P-S,j=(0,r.X)(Math.sqrt(k/A)),B=5>Math.abs(L);if(w||(w=B?u.restSpeed.granular:u.restSpeed.default),T||(T=B?u.restDelta.granular:u.restDelta.default),R<1)f=h(j,R),v=(D+R*j*L)/f,i=t=>
1P-Math.exp(-R*j*t)*(v*Math.sin(f*t)+L*Math.cos(f*t)),y=R*j*v+L*f,g=R*j*L-v*f,l=t=>Math.exp(-R*j*t)*(y*Math.sin(f*t)+g*Math.cos(f*t));else if(1===R){i=t=>P-Math.exp(-j*t)*(L+(D+j*L)*t);let t=D+j*L;l=e=>Math.exp(-j*e)*(j*t*e-D)}else{let t=j*Math.sqrt(R*R-1);i=e=>{let i=Math.exp(-R*j*e),n=Math.min(t*e,300);return P-i*((D+R*j*L)*Math.sinh(n)+t*L*Math.cosh(n))/t};let e=(D+R*j*L)/t,n=R*j*e-L*t,r=R*j*L-e*t;l=e=>{let i=Math.exp(-R*j*e),s=Math.min(t*e,300);return i*(n*Math.sinh(s)+r*Math.cosh(s))}}let F={calculatedDuration:C&&M||null,velocity:t=>(0,r.f)(l(t)),next:t=>{if(!C&&R<1){let e=Math.exp(-R*j*t),i=Math.sin(f*t),n=Math.cos(f*t),s=P-e*(v*i+L*n);return b.done=Math.abs((0,r.f)(e*(y*i+g*n)))<=w&&Math.abs(P-s)<=T,b.value=b.done?P:s,b}let e=i(t);return C?b.done=t>=M:b.done=Math.abs((0,r.f)(l(t)))<=w&&Math.abs(P-e)<=T,b.value=b.done?P:e,b},toString:()=>{let t=Math.min((0,o.t)(F),o.Y),e=(0,a.K)(e=>F.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return F}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}},24200:(t,e,i)=>{i.d(e,{x:()=>a});var n=i(75257),r=i(67244),s=i(639);function a(t,e,i){let a=(0,s.x)(t,e,i);for(let i in t)((0,n.S)(t[i])||(0,n.S)(e[i]))&&(a[-1!==r.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return a}},24323:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>o,yT:()=>a});var n=i(33774),r=i(54557);let s=t=>1-Math.sin(Math.acos(t)),a=(0,r.G)(s),o=(0,n.V)(s)},24785:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>r,hs:()=>a});var n=i(64929);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.q)(0,1,t)},a={...r,default:1}},25299:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},25778:(t,e,i)=>{i.d(e,{M:()=>d});var n=i(58972),r=i(67244),s=i(8022),a=i(48332),o=i(16488),l=i(12338),u=i(51405),h=i(639);class d extends o.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,a.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)}}},29937:(t,e,i)=>{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})},30758:(t,e,i)=>{i.d(e,{T:()=>a,n:()=>o});var n=i(24785),r=i(10068),s=i(14004);let a=[n.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],o=t=>a.find((0,s.w)(t))},31145:(t,e,i)=>{i.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},32112:(t,e,i)=>{i.d(e,{Q:()=>n});var n=(0,i(20792).createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"})},33606:(t,e,i)=>{i.d(e,{B:()=>l});var n=i(64929),r=i(24785),s=i(2175),a=i(43994);let o={...r.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+o.transform(t)+", "+o.transform(e)+", "+o.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},33702:(t,e,i)=>{i.d(e,{W:()=>n});function n(t){return"function"==typeof t&&"applyToOptions"in t}},33774:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},36736:(t,e,i)=>{i.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>p,hq:()=>s,o4:()=>l});var n=i(48088),r=i(52359);function s(t,e,i){return i+e*(t-i)}function a(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function o(t,e=0,i=1,n,r){t.min=a(t.min,e,i,n,r),t.max=a(t.max,e,i,n,r)}function l(t,{x:e,y:i}){o(t.x,e.translate,e.scale,e.originPoint),o(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,n=!1){let s,a,o=i.length;if(o){e.x=e.y=1;for(let u=0;u<o;u++){a=(s=i[u]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.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)),a&&(e.x*=a.x.scale,e.y*=a.y.scale,l(t,a)),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 a=(0,n.k)(t.min,t.max,s);o(t,e,i,a,r)}function c(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}
1function 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)}},39426:(t,e,i)=>{i.d(e,{y:()=>a});var n=i(56605),r=i(41098),s=i(33606);let a={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=a.parse(t);return e.alpha=0,a.transform(e)}}},40995:(t,e,i)=>{i.d(e,{d:()=>r});var n=i(48717);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))}}},41098:(t,e,i)=>{i.d(e,{V:()=>o});var n=i(24785),r=i(10068),s=i(2175),a=i(43994);let o={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:a=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(a))+")"}},41657:(t,e,i)=>{i.d(e,{I:()=>a});var n=i(89808);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=i(7626);function a(t,e){let i=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,u=r.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,a=!1,o=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){o.has(e)&&(d.schedule(e),t()),u++,e(l)}let d={schedule:(t,e=!1,s=!1)=>{let a=s&&r?i:n;return e&&o.add(t),a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(l=t,r){a=!0;return}r=!0;let o=i;i=n,n=o,i.forEach(h),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,i.clear(),r=!1,a&&(a=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:h,read:d,resolveKeyframes:c,preUpdate:p,update:m,preRender:f,render:v,postRender:y}=u,g=()=>{let r=n.W.useManualTiming,s=r?o.timestamp:performance.now();i=!1,r||(o.delta=a?1e3/60:Math.max(Math.min(s-o.timestamp,40),1)),o.timestamp=s,o.isProcessing=!0,h.process(o),d.process(o),c.process(o),p.process(o),m.process(o),f.process(o),v.process(o),y.process(o),o.isProcessing=!1,i&&e&&(a=!1,t(g))};return{schedule:r.reduce((e,n)=>{let r=u[n];return e[n]=(e,n=!1,s=!1)=>(!i&&(i=!0,a=!0,o.isProcessing||t(g)),r.schedule(e,n,s)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)u[r[e]].cancel(t)},state:o,steps:u}}},41842:(t,e,i)=>{i.d(e,{B:()=>o});var n=i(12338);let r={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"},a=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function o(t,{attrX:e,attrY:i,attrScale:o,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),a))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!==o&&(f.scale=o),void 0!==l&&function(t,e,i=1,n=0,a=!0){t.pathLength=1;let o=a?r:s;t[o.offset]=`${-n}`,t[o.array]=`${e} ${i}`}(f,l,u,h,!1)}},43994:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>a});var n=i(80848);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)),a=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,a,o,l]=r.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(a),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},44317:(t,e,i)=>{i.d(e,{p:()=>l});var n=i(48717),r=i(80848);let s=new Set(["brightness","contrast","saturate","opacity"]);function a(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 a=i.replace(n,""),o=+!!s.has(e);return n!==i&&(o*=100),e+"("+o+a+")"}let o=/\b([a-z-]*)\(.*?\)/gu,l={...n.f,getAnimatableNone:t=>{let e=t.match(o);return e?e.map(a).join(" "):t}}},44933:(t,e,i)=>{i.d(e,{J:()=>s});var n=i(96944);let r={};function s(t,e){let i=(0,n.p)(t);return()=>r[e]??i()}},44967:(t,e,i)=>{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)})`}},47840:(t,e,i)=>{i.d(e,{A:()=>n});var n=(0,i(10609).A)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]])},48088:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},48212:(t,e,i)=>{i.d(e,{X:()=>r});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},s,a=1){let o=t.filter(n),l=a<0||e&&"loop"!==i&&e%2==1?0:o.length-1;return l&&void 0!==s?s:o[l]}},48332:(t,e,i)=>{i.d(e,{L:()=>a,m:()=>s});var n=i(29937),r=i(36736);function s(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function a(t,e,i){let n=s(t,i),{scroll:a}=e;return a&&((0,r.Ql)(n.x,a.offset.x),(0,r.Ql)(n.y,a.offset.y)),n}}
1,48717:(t,e,i)=>{i.d(e,{V:()=>h,f:()=>c});var n=i(39426);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(80848),a=i(2175);let o="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=[],a=0,h=e.replace(u,t=>(n.y.test(t)?(r.color.push(a),s.push(l),i.push(n.y.parse(t))):t.startsWith("var(")?(r.var.push(a),s.push("var"),i.push(t)):(r.number.push(a),s.push(o),i.push(parseFloat(t))),++a,"${}")).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===o?s+=(0,a.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}))}}},48859:(t,e,i)=>{i.d(e,{H:()=>l});var n=i(10068);function r(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let s={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!n.px.test(t))return t;else t=parseFloat(t);let i=r(t,e.target.x),s=r(t,e.target.y);return`${i}% ${s}%`}};var a=i(48717),o=i(48088);let l={borderRadius:{...s,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:s,borderTopRightRadius:s,borderBottomLeftRadius:s,borderBottomRightRadius:s,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]),l=i.x.scale*e.x,u=i.y.scale*e.y;n[0+s]/=l,n[1+s]/=u;let h=(0,o.k)(l,u,.5);return"number"==typeof n[2+s]&&(n[2+s]/=h),"number"==typeof n[3+s]&&(n[3+s]/=h),r(n)}}}},49678:(t,e,i)=>{i.d(e,{w:()=>n});function n(t){return"string"==typeof t||Array.isArray(t)}},50295:(t,e,i)=>{let n;i.d(e,{k:()=>o});var r=i(89808),s=i(57689);function a(){n=void 0}let o={now:()=>(void 0===n&&o.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(a)}}},50360:(t,e,i)=>{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)}}},50836:(t,e,i)=>{i.d(e,{m:()=>g});var n=i(89279),r=i(1299),s=i(14442),a=i(18692),o=i(81714),l=i(48212),u=i(50360),h=i(85110),d=i(7626),c=i(68666);let p=(0,i(44933).J)(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var m=i(44967);let f=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,v={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:f([0,.65,.55,1]),circOut:f([.55,0,1,.45]),backIn:f([.31,.01,.66,-.59]),backOut:f([.33,1.53,.69,.99])};var y=i(33702);class g extends u.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:o=!1,finalKeyframe:u,onComplete:g}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,(0,n.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let x=function({type:t,...e}){return(0,y.W)(t)&&p()?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:a="loop",ease:o="easeOut",times:l}={},u){let y={[e]:i};l&&(y.offset=l);let g=function t(e,i){if(e)return"function"==typeof e?p()?(0,m.K)(e,i):"ease-out":(0,c.D)(e)?f(e):Array.isArray(e)?e.map(e=>t(e,i)||v.easeOut):v[e]}(o,r);Array.isArray(g)&&(y.easing=g),d.Q.value&&h.q.waapi++;let x={delay:n,duration:r,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};u&&(x.pseudoElement=u);let w=t.animate(y,x);return d.Q.value&&w.finished.finally(()=>{h.q.waapi--}),w}(e,i,r,x,s),!1===x.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=(0,l.X)(r,this.options,u,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,a.e)(e,i,t),this.animation.cancel()}g?.(),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&&(0,o.J)())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),s.l):n(this)}}},51405:(t,e,i)=>{i.d(e,{e:()=>n});function n(t,{style:e,vars:i},n,r){let s,a=t.style;for(s in e)a[s]=e[s];for(s in r?.applyProjectionStyles(a,n),i)a.setProperty(s,i[s])}},51889:(t,e,i)=>{i.d(e,{n:()=>n});let n="data-"+(0,i(84111).I)("framerAppearId")},52359:(t,e,i)=>{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)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>s,vF:()=>a,vk:()=>r})},52933:(t,e,i)=>{i.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},53277:(t,e,i)=>{i.d(e,{h:()=>r});var n=i(22576);function r(t){return(0,n.x)(t)&&"svg"===t.tagName}},54148:(t,e,i)=>{function n(t){let e=[{},{}];
1return 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,a]=n(r);e=e(void 0!==i?i:t.custom,s,a)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,a]=n(r);e=e(void 0!==i?i:t.custom,s,a)}return e}i.d(e,{a:()=>r})},54557:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},55833:(t,e,i)=>{i.d(e,{M:()=>r});var n=i(20792);function r(t){var e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},56605:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(33606);let r={test:(0,i(43994).$)("#"),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}},56636:(t,e,i)=>{i.d(e,{O:()=>o,e:()=>a});var n=i(76019),r=i(49678),s=i(80861);function a(t){return(0,n.N)(t.animate)||s._.some(e=>(0,r.w)(t[e]))}function o(t){return!!(a(t)||t.variants)}},57689:(t,e,i)=>{i.d(e,{Gt:()=>r,PP:()=>o,WG:()=>s,uv:()=>a});var n=i(14442);let{schedule:r,cancel:s,state:a,steps:o}=(0,i(41657).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},58972:(t,e,i)=>{i.d(e,{j4:()=>r,pG:()=>a,rm:()=>l});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),a=t=>!!s(t)&&o.test(t.split("/*")[0].trim()),o=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},61300:(t,e,i)=>{i.d(e,{M:()=>n});let n=new Set(["opacity","clipPath","filter","transform"])},62325:(t,e,i)=>{i.d(e,{z:()=>a});var n=i(17773),r=i(6608),s=i(75257);function a(t,e,i){let a=(0,s.S)(t)?t:(0,r.OQ)(t);return a.start((0,n.f)("",a,e,i)),a.animation}},62939:(t,e,i)=>{i.d(e,{J:()=>l});var n=i(48717),r=i(44317),s=i(40995),a=i(19756);let o=new Set([r.p,s.d]);function l(t,e){let i=(0,a.D)(t);return o.has(i)||(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},62992:(t,e,i)=>{i.d(e,{K:()=>r});var n=i(54148);function r(t,e,i){let r=t.getProps();return(0,n.a)(r,e,void 0!==i?i:r.custom,t)}},63496:(t,e,i)=>{i.d(e,{f:()=>n});function n(t,e){return e?1e3/e*t:0}},63727:(t,e,i)=>{i.d(e,{f:()=>s});var n=i(25299),r=i(48088);function s(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let a=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,a))}}},64037:(t,e,i)=>{i.d(e,{E:()=>r});var n=i(20792),r="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},64171:(t,e,i)=>{i.d(e,{r:()=>r});var n=i(3527);function r(t,e){let i=t?.[e]??t?.default??t;return i!==t?(0,n.K)(i,t):i}},64929:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i},67244:(t,e,i)=>{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)},68666:(t,e,i)=>{i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},70917:(t,e,i)=>{i.d(e,{A:()=>n});var n=(0,i(10609).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},75015:(t,e,i)=>{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})},75257:(t,e,i)=>{i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},76019:(t,e,i)=>{i.d(e,{N:()=>n});function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},77710:(t,e,i)=>{i.d(e,{zK:()=>s});var n=i(67244),r=i(48859);function s(t,{layout:e,layoutId:i}){return n.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!r.H[t]||"opacity"===t)}},78372:(t,e,i)=>{i.d(e,{P:()=>iW});var n=i(10513),r=i(25778),s=i(20792),a=["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 o(t){if("string"!=typeof t||t.includes("-"));else if(a.indexOf(t)>-1||RegExp("[A-Z]","u").test(t))return!0;return!1}var l=i(32812),u=i(20857),h=i(69140),d=i(2569),c=(0,s.createContext)({strict:!1}),p=i(32112),m=(0,s.createContext)({}),f=i(56636),v=i(49678);function y(t){return Array.isArray(t)?t.join(" "):t}var g=i(75257),x=i(77710),w=i(12338),T=function(){return{style:{},transform:{},transformOrigin:{},vars:{}}};
1function S(t,e,i){for(var n in e)(0,g.S)(e[n])||(0,x.zK)(n,i)||(t[n]=e[n])}var P=i(41842),b=i(1752),k=function(){return(0,u._)((0,l._)({},T()),{attrs:{}})},E=i(49835),A=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 M(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||A.has(t)}var V=function(t){return!M(t)};try{!function(t){"function"==typeof t&&(V=function(e){return e.startsWith("on")?!M(e):t(e)})}(require("@emotion/is-prop-valid").default)}catch(t){}var C=i(639),D=i(7907);function R(t){return(0,g.S)(t)?t.get():t}var L=i(76019),j=i(54148),B=i(99601),F=i(55833),I=function(t){return function(e,i){var n=(0,s.useContext)(m),r=(0,s.useContext)(B.t),a=function(){var i,s;return i=t.scrapeMotionValuesFromProps,s=t.createRenderState,{latestValues:function(t,e,i,n){var r={},s=n(t,{});for(var a in s)r[a]=R(s[a]);var o=t.initial,l=t.animate,u=(0,f.e)(t),h=(0,f.O)(t);e&&h&&!u&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===l&&(l=e.animate));var d=!!i&&!1===i.initial,c=(d=d||!1===o)?l:o;if(c&&"boolean"!=typeof c&&!(0,L.N)(c))for(var p=Array.isArray(c)?c:[c],m=0;m<p.length;m++){var v=(0,j.a)(t,p[m]);if(v){var y=v.transitionEnd,g=(v.transition,(0,D._)(v,["transitionEnd","transition"]));for(var x in g){var w=g[x];if(Array.isArray(w)){var T=d?w.length-1:0;w=w[T]}null!==w&&(r[x]=w)}for(var S in y)r[S]=y[S]}}return r}(e,n,r,i),renderState:s()}};return i?a():(0,F.M)(a)}},O=I({scrapeMotionValuesFromProps:C.x,createRenderState:T}),W=I({scrapeMotionValuesFromProps:i(24200).x,createRenderState:k}),_=i(10235),U={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"]},N=!1;function G(){var t=function(t){e[t]={isEnabled:function(e){return U[t].some(function(t){return!!e[t]})}}};if(!N){var e={};for(var i in U)t(i);(0,_.lr)(e),N=!0}return(0,_.vK)()}var $=Symbol.for("motionComponentSymbol"),X=i(51889),q=(0,s.createContext)({});function K(t){return t&&(void 0===t?"undefined":(0,E._)(t))==="object"&&Object.prototype.hasOwnProperty.call(t,"current")}var H=i(64037);function z(t){var e,i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.forwardMotionProps,a=void 0!==r&&r,x=n.type,A=arguments.length>2?arguments[2]:void 0,C=arguments.length>3?arguments[3]:void 0;A&&function(t){var e=G();for(var i in t)e[i]=(0,l._)({},e[i],t[i]);(0,_.lr)(e)}(A);var D=x?"svg"===x:o(t),R=D?W:O;function L(e,i){var n,r,x,A,L,j,F=(0,u._)((0,l._)({},(0,s.useContext)(p.Q),e),{layoutId:(n=e.layoutId,(r=(0,s.useContext)(d.L).id)&&void 0!==n?r+"-"+n:n)}),I=F.isStatic,O=(tr=(tn=function(t,e){if((0,f.e)(t)){var i=t.initial,n=t.animate;return{initial:!1===i||(0,v.w)(i)?i:void 0,animate:(0,v.w)(n)?n:void 0}}return!1!==t.inherit?e:{}}(e,(0,s.useContext)(m))).initial,ts=tn.animate,(0,s.useMemo)(function(){return{initial:tr,animate:ts}},[y(tr),y(ts)])),W=R(e,I);if(!I&&"undefined"!=typeof window){(0,s.useContext)(c).strict;var _,U,N,$,z,Y,Q,Z,J,tt,te,ti,tn,tr,ts,ta,to,tl,tu,th,td,tc,tp,tm,tf,tv,ty,tg,tx,tw,tT,tS,tP,tb,tk=function(t){var e=G(),i=e.drag,n=e.layout;if(!i&&!n)return{};var r=(0,l._)({},i,n);return{MeasureLayout:(null==i?void 0:i.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(F);j=tk.MeasureLayout,ta=C,to=tk.ProjectionNode,tc=(0,s.useContext)(m).visualElement,tp=(0,s.useContext)(c),tm=(0,s.useContext)(B.t),tv=(tf=(0,s.useContext)(p.Q)).reducedMotion,ty=tf.skipAnimations,tg=(0,s.useRef)(null),tx=(0,s.useRef)(!1),ta=ta||tp.renderer,!tg.current&&ta&&(tg.current=ta(t,{visualState:W,parent:tc,props:F,presenceContext:tm,blockInitialAnimation:!!tm&&!1===tm.initial,reducedMotionConfig:tv,skipAnimations:ty,isSVG:D}),tx.current&&tg.current&&(tg.current.manuallyAnimateOnMount=!0)),tw=tg.current,tT=(0,s.useContext)(q),tw&&!tw.projection&&to&&("html"===tw.type||"svg"===tw.type)&&(_=tg.current,U=F,N=to,$=tT,z=U.layoutId,Y=U.layout,Q=U.drag,Z=U.dragConstraints,J=U.layoutScroll,tt=U.layoutRoot,te=U.layoutAnchor,ti=U.layoutCrossfade,_.projection=new N(_.latestValues,U["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(_.parent)),_.projection.setOptions({layoutId:z,layout:Y,alwaysMeasureLayout:!!Q||Z&&K(Z),visualElement:_,animationType:"string"==typeof Y?Y:"both",initialPromotionConfig:$,crossfade:ti,layoutScroll:J,layoutRoot:tt,layoutAnchor:te})),tS=(0,s.useRef)(!1),(0,s.useInsertionEffect)(function(){tw&&tS.current&&tw.update(F,tm)}),tP=F[X.n],tb=(0,s.useRef)(!!tP&&"undefined"!=typeof window&&!(null==(tl=(tu=window).MotionHandoffIsComplete)?void 0:tl.call(tu,tP))&&(null==(th=(td=window).MotionHasOptimisedAnimation)?void 0:th.call(td,tP))),(0,H.E)(function(){tx.current=!0,tw&&(tS.current=!0,window.MotionIsMounted=!0,tw.updateFeatures(),tw.scheduleRenderMicrotask(),tb.current&&tw.animationState&&tw.animationState.animateChanges())}),(0,s.useEffect)(function(){tw&&(!tb.current&&tw.animationState&&tw.animationState.animateChanges(),tb.current&&(queueMicrotask(function(){var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,tP)}),tb.current=!1),tw.enteringChildren=void 0)}),O.visualElement=tw}return(0,h.jsxs)(m.Provider,{value:O,children:[j&&O.visualElement?(0,h.jsx)(j,(0,l._)({visualElement:O.visualElement}
1,F)):null,function(t,e,i,n,r){var a=n.latestValues,h=arguments.length>5&&void 0!==arguments[5]&&arguments[5],d=arguments.length>6?arguments[6]:void 0,c=((null!=d?d:o(t))?function(t,e,i,n){var r=(0,s.useMemo)(function(){var i=k();return(0,P.B)(i,e,(0,b.n)(n),t.transformTemplate,t.style),(0,u._)((0,l._)({},i.attrs),{style:(0,l._)({},i.style)})},[e]);if(t.style){var a={};S(a,t.style,t),r.style=(0,l._)({},a,r.style)}return r}:function(t,e){var i,n,r={},a=(S(i={},t.style||{},t),Object.assign(i,(n=t.transformTemplate,(0,s.useMemo)(function(){var t=T();return(0,w.O)(t,e,n),Object.assign({},t.vars,t.style)},[e]))),i);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=a,r})(e,a,r,t),p=function(t,e,i){var n={};for(var r in t)("values"!==r||"object"!==(0,E._)(t.values))&&!(0,g.S)(t[r])&&(V(r)||!0===i&&M(r)||!e&&!M(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,h),m=t!==s.Fragment?(0,u._)((0,l._)({},p,c),{ref:i}):{},f=e.children,v=(0,s.useMemo)(function(){return(0,g.S)(f)?f.get():f},[f]);return(0,s.createElement)(t,(0,u._)((0,l._)({},m),{children:v}))}(t,e,(x=O.visualElement,A=(0,s.useRef)(i),(0,s.useInsertionEffect)(function(){A.current=i}),L=(0,s.useRef)(null),(0,s.useCallback)(function(t){if(t){var e;null==(e=W.onMount)||e.call(W,t)}var i=A.current;if("function"==typeof i)if(t){var n=i(t);"function"==typeof n&&(L.current=n)}else L.current?(L.current(),L.current=null):i(t);else i&&(i.current=t);x&&(t?x.mount(t):x.unmount())},[x])),W,I,a,D)]})}L.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));var j=(0,s.forwardRef)(L);return j[$]=t,j}var Y=i(57574),Q=i(98111),Z=i(40102),J=i(16893),tt=i(62992),te=i(2049);function ti(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*n;return"function"==typeof i?i(s,a):1===r?s*n:o-s*n}function tn(t,e,i={}){let n=(0,tt.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,te.$)(t,n,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=r;return function(t,e,i=0,n=0,r=0,s=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(tn(l,e,{...a,delay:i+("function"==typeof n?0:n)+ti(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,n,s,a,o,i)}:()=>Promise.resolve(),{when:o}=r;if(!o)return Promise.all([s(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[s,a]:[a,s];return t().then(()=>e())}}var tr=i(80861);let ts=tr._.length;var ta=i(18721);function to(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 tl=[...tr.U].reverse(),tu=tr.U.length;function th(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function td(){return{animate:th(!0),whileInView:th(),whileHover:th(),whileTap:th(),whileDrag:th(),whileFocus:th(),exit:th()}}class tc{constructor(t){this.isMounted=!1,this.node=t}update(){}}var tp=function(t){function e(t){var i;return(0,Q._)(this,e),i=(0,Y._)(this,e,[t]),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>tn(t,e,i)));else if("string"==typeof e)n=tn(t,e,i);else{let r="function"==typeof e?(0,tt.K)(t,e,i.custom):e;n=Promise.all((0,te.$)(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=td(),n=!0,r=!1,s=e=>(i,n)=>{let r=(0,tt.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 a(a){let{props:o}=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<ts;t++){let n=tr._[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<tu;e++){var p,m;let f=tl[e],y=i[f],g=void 0!==o[f]?o[f]:l[f],x=(0,v.w)(g),w=f===a?y.isActive:null;!1===w&&(c=e);let T=g===l[f]&&g!==o[f]&&x;if(T&&(n||r)&&t.manuallyAnimateOnMount&&(T=!1),y.protectedKeys={...d},!y.isActive&&null===w||!g&&!y.prevProp||(0,L.N)(g)||"boolean"==typeof g)continue;if("exit"===f&&y.isActive&&!0!==w){y.prevResolvedValues&&(d={...d,...y.prevResolvedValues});continue}let S=(p=y.prevProp,"string"==typeof(m=g)?m!==p:!!Array.isArray(m)&&!to(m,p)),P=S||f===a&&y.isActive&&!T&&x||e>c&&x,b=!1,k=Array.isArray(g)?g:[g],E=k.reduce(s(f),{});!1===w&&(E={});let{prevResolvedValues:A={}}=y,M={...A,...E},V=e=>{P=!0,h.has(e)&&(b=!0,h.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in M){let e=E[t],i=A[t];if(!d.hasOwnProperty(t))((0,ta.p)(e)&&(0,ta.p)(i)?to(e,i):e===i)?void 0!==e&&h.has(t)?V(t):y.protectedKeys[t]=!0:null!=e?V(t):h.add(t)}y.prevProp=g,y.prevResolvedValues=E,y.isActive&&(d={...d,...E}),(n||r)&&t.blockInitialAnimation&&(P=!1);let C=T&&S,D=!C||b;P&&D&&u.push(...k.map(e=>{let i={type:f};if("string"==typeof e&&(n||r)&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=(0,tt.K)(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=ti(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof o.initial){let i=(0,tt.K)(t,Array.isArray(o.initial)?o.initial[0]:o.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===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,r=!1,f?e(u):Promise.resolve()}return{animateChanges:a,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=a(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=td(),r=!0}}}(t)),i}return(0,J._)(e,t),(0,Z._)(e,[{key:"updateAnimationControlsSubscription",value:function(){var t=this.node.getProps().animate;(0,L.N)(t)&&(this.unmountControls=t.subscribe(this.node))}},{key:"mount",value:function(){this.updateAnimationControlsSubscription()}},{key:"update",value:function(){this.node.getProps().animate!==(this.node.prevProps||{}).animate&&this.updateAnimationControlsSubscription()}},{key:"unmount",value:function(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}]),e}(tc),tm=0,tf=function(t){function e(){var t;return(0,Q._)(this,e),t=(0,Y._)(this,e,arguments),t.id=tm++,t.isExitComplete=!1,t}return(0,J._)(e,t),(0,Z._)(e,[{key:"update",value:function(){var t=this;if(this.node.presenceContext){var e=this.node.presenceContext,i=e.isPresent,n=e.onExitComplete,r=(this.node.prevPresenceContext||{}).isPresent;if(this.node.animationState&&i!==r){if(i&&!1===r){if(this.isExitComplete){var s=this.node.getProps(),a=s.initial,o=s.custom;if("string"==typeof a){var l=(0,tt.K)(this.node,a,o);if(l){l.transition,l.transitionEnd;var u,h=(0,D._)(l,["transition","transitionEnd"]);for(var d in h)null==(u=this.node.getValue(d))||u.jump(h[d])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}var c=this.node.animationState.setActive("exit",!i);n&&!i&&c.then(function(){t.isExitComplete=!0,n(t.id)})}}}},{key:"mount",value:function(){var t=this.node.presenceContext||{},e=t.register,i=t.onExitComplete;i&&i(this.id),e&&(this.unmount=e(this.id))}},{key:"unmount",value:function(){}}]),e}(tc),tv=i(14442),ty=i(93219);let tg={x:!1,y:!1};function tx(t){return[t("x"),t("y")]}var tw=i(10068),tT=i(48088);function tS(t){return t.max-t.min}function tP(t,e,i,n=.5){t.origin=n,t.originPoint=(0,tT.k)(e.min,e.max,t.origin),t.scale=tS(i)/tS(e),t.translate=(0,tT.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 tb(t,e,i,n){tP(t.x,e.x,i.x,n?n.originX:void 0),tP(t.y,e.y,i.y,n?n.originY:void 0)}function tk(t,e,i,n=0){t.min=(n?(0,tT.k)(i.min,i.max,n):i.min)+e.min,t.max=t.min+tS(e)}function tE(t,e,i,n=0){let r=n?(0,tT.k)(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+tS(e)}function tA(t,e,i,n){tE(t.x,e.x,i.x,n?.x),tE(t.y,e.y,i.y,n?.y)}var tM=i(57689),tV=i(5013),tC=i(48332),tD=i(29937),tR=i(17773);let tL=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),tj=new Set(["INPUT","SELECT","TEXTAREA"]);function tB(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}var tF=i(85922),tI=i(89279);let tO=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tW(t){return{point:{x:t.pageX,y:t.pageY}}}function t_(t,e,i,n){return tB(t,e,function(t){return tO(t)&&i(t,tW(t))},n)}var tU=function(t){var e=t.current;return e?e.ownerDocument.defaultView:null},tN=i(4778),tG=i(1299),t$=function(t,e){return Math.abs(t-e)},tX=new Set(["auto","scroll"]),tq=function(){function t(e,i){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=r.transformPagePoint,a=r.contextWindow,o=void 0===a?window:a,h=r.dragSnapToOrigin,d=r.distanceThreshold,c=r.element;if((0,Q._)(this,t),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=function(t){n.handleScroll(t.target)},this.onWindowScroll=function(){n.handleScroll(window)},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){n.lastRawMoveEventInfo&&(n.lastMoveEventInfo=tK(n.lastRawMoveEventInfo,n.transformPagePoint));var t,e,i=tz(n.lastMoveEventInfo,n.history),r=null!==n.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(Math.pow(t$(t.x,e.x),2)+Math.pow(t$(t.y,e.y),2))>=n.distanceThreshold);if(r||s){var a=i.point,o=tM.uv.timestamp;n.history.push((0,u._)((0,l._)({},a),{timestamp:o}));var h=n.handlers,d=h.onStart,c=h.onMove;r||(d&&d(n.lastMoveEvent,i),n.startEvent=n.lastMoveEvent),c&&c(n.lastMoveEvent,i)}}},this.handlePointerMove=function(t,e){n.lastMoveEvent=t,n.lastRawMoveEventInfo=e,n.lastMoveEventInfo=tK(e,n.transformPagePoint),tM.Gt.update(n.updatePoint,!0)},this.handlePointerUp=function(t,e){n.end();var i=n.handlers,r=i.onEnd,s=i.onSessionEnd,a=i.resumeAnimation;if((n.dragSnapToOrigin||!n.startEvent)&&a&&a(),n.lastMoveEvent&&n.lastMoveEventInfo){var o=tz("pointercancel"===t.type?n.lastMoveEventInfo:tK(e,n.transformPagePoint),n.history);n.startEvent&&r&&r(t,o),s&&s(t,o)}},tO(e)){this.dragSnapToOrigin=void 0!==h&&h,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=void 0===d?3:d,this.contextWindow=o||window;var p=tK(tW(e),this.transformPagePoint),m=p.point,f=tM.uv.timestamp;this.history=[(0,u._)((0,l._)({},m),{timestamp:f})];var v=i.onSessionStart;v&&v(e,tz(p,this.history)),this.removeListeners=(0,tN.F)(t_(this.contextWindow,"pointermove",this.handlePointerMove),t_(this.contextWindow,"pointerup",this.handlePointerUp),t_(this.contextWindow,"pointercancel",this.handlePointerUp)),c&&this.startScrollTracking(c)}}return(0,Z._)(t,[{key:"startScrollTracking",value:function(t){for(var e=this,i=t.parentElement;i;){var n=getComputedStyle(i);(tX.has(n.overflowX)||tX.has(n.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.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=function(){window.removeEventListener("scroll",e.onElementScroll,{capture:!0}),window.removeEventListener("scroll",e.onWindowScroll)}}},{key:"handleScroll",value:function(t){var e=this.scrollPositions.get(t);if(e){var 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),tM.Gt.update(this.updatePoint,!0))}}},{key:"updateHandlers",value:function(t){this.handlers=t}},{key:"end",value:function(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,tM.WG)(this.updatePoint)}}]),t}();function tK(t,e){return e?{point:e(t.point)}:t}function tH(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tz(t,e){var i=t.point;return{point:i,delta:tH(i,tY(e)),offset:tH(i,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};for(var i=t.length-1,n=null,r=tY(t);i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,tG.f)(.1)));)i--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&r.timestamp-n.timestamp>2*(0,tG.f)(e)&&(n=t[1]);var s=(0,tG.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};var a={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
1;return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function tY(t){return t[t.length-1]}var tQ=i(25299),tZ=i(64929);function tJ(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 t0(t,e){var i,n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&(n=(i=[r,n])[0],r=i[1]),{min:n,max:r}}function t1(t,e,i){return{min:t2(t,e),max:t2(t,i)}}function t2(t,e){return"number"==typeof t?t:t[e]||0}var t5=new WeakMap,t4=function(){function t(e){(0,Q._)(this,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,ty.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}return(0,Z._)(t,[{key:"start",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i.snapToCursor,r=void 0!==n&&n,s=i.distanceThreshold,a=this.visualElement.presenceContext;if(!a||!1!==a.isPresent){var o=this.getProps().dragSnapToOrigin;this.panSession=new tq(t,{onSessionStart:function(t){r&&e.snapToCursor(tW(t).point),e.stopAnimation()},onStart:function(t,i){var n=e.getProps(),r=n.drag,s=n.dragPropagation,a=n.onDragStart;if(!r||s||(e.openDragLock&&e.openDragLock(),e.openDragLock=function(t){if("x"===t||"y"===t)if(tg[t])return null;else return tg[t]=!0,()=>{tg[t]=!1};return tg.x||tg.y?null:(tg.x=tg.y=!0,()=>{tg.x=tg.y=!1})}(r),e.openDragLock)){e.latestPointerEvent=t,e.latestPanInfo=i,e.isDragging=!0,e.currentDirection=null,e.resolveConstraints(),e.visualElement.projection&&(e.visualElement.projection.isAnimationBlocked=!0,e.visualElement.projection.target=void 0),tx(function(t){var i=e.getAxisMotionValue(t).get()||0;if(tw.KN.test(i)){var n=e.visualElement.projection;if(n&&n.layout){var r=n.layout.layoutBox[t];r&&(i=tS(r)*(parseFloat(i)/100))}}e.originPoint[t]=i}),a&&tM.Gt.update(function(){return a(t,i)},!1,!0),(0,tV.g)(e.visualElement,"transform");var o=e.visualElement.animationState;o&&o.setActive("whileDrag",!0)}},onMove:function(t,i){e.latestPointerEvent=t,e.latestPanInfo=i;var n=e.getProps(),r=n.dragPropagation,s=n.dragDirectionLock,a=n.onDirectionLock,o=n.onDrag;if(r||e.openDragLock){var l=i.offset;if(s&&null===e.currentDirection){e.currentDirection=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(l),null!==e.currentDirection&&a&&a(e.currentDirection);return}e.updateAxis("x",i.point,l),e.updateAxis("y",i.point,l),e.visualElement.render(),o&&tM.Gt.update(function(){return o(t,i)},!1,!0)}},onSessionEnd:function(t,i){e.latestPointerEvent=t,e.latestPanInfo=i,e.stop(t,i),e.latestPointerEvent=null,e.latestPanInfo=null},resumeAnimation:function(){(e.getProps().dragSnapToOrigin||e.constraints)&&e.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:o,distanceThreshold:s,contextWindow:tU(this.visualElement),element:this.visualElement.current})}}},{key:"stop",value:function(t,e){var i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),r&&n&&i){var s=n.velocity;this.startAnimation(s);var a=this.getProps().onDragEnd;a&&tM.Gt.postRender(function(){return a(i,n)})}}},{key:"cancel",value:function(){this.isDragging=!1;var t=this.visualElement,e=t.projection,i=t.animationState;e&&(e.isAnimationBlocked=!1),this.endPanSession(),!this.getProps().dragPropagation&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}},{key:"endPanSession",value:function(){this.panSession&&this.panSession.end(),this.panSession=void 0}},{key:"updateAxis",value:function(t,e,i){var n=this.getProps().drag;if(i&&t7(t,n,this.currentDirection)){var r,s,a,o,l,u=this.getAxisMotionValue(t),h=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=h,s=this.constraints[t],a=this.elastic[t],o=s.min,l=s.max,void 0!==o&&r<o?r=a?(0,tT.k)(o,r,a.min):Math.max(r,o):void 0!==l&&r>l&&(r=a?(0,tT.k)(l,r,a.max):Math.min(r,l)),h=r),u.set(h)}}},{key:"resolveConstraints",value:function(){var t,e,i,n,r,s,a=this,o=this.getProps(),l=o.dragConstraints,u=o.dragElastic,h=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(s=this.visualElement.projection)?void 0:s.layout,d=this.constraints;l&&K(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&h?this.constraints=(t=h.layoutBox,e=l.top,i=l.left,n=l.bottom,r=l.right,{x:tJ(t.x,i,r),y:tJ(t.y,e,n)}):this.constraints=!1,this.elastic=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:t1(t,"left","right"),y:t1(t,"top","bottom")}}(u),d!==this.constraints&&!K(l)&&h&&this.constraints&&!this.hasMutatedConstraints&&tx(function(t){var e,i,n;!1!==a.constraints&&a.getAxisMotionValue(t)&&(a.constraints[t]=(e=h.layoutBox[t],i=a.constraints[t],n={},void 0!==i.min&&(n.min=i.min-e.min),void 0!==i.max&&(n.max=i.max-e.min),n))})}},{key:"resolveRefConstraints",value:function(){var t,e=this.getProps(),i=e.dragConstraints,n=e.onMeasureDragConstraints;if(!i||!K(i))return!1;var r=i.current;(0,tI.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");var s=this.visualElement.projection;if(!s||!s.layout)return!1;var a=(0,tC.L)(r,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:t0(t.x,a.x),y:t0(t.y,a.y)});if(n){var l=n((0,tD.pA)(o));this.hasMutatedConstraints=!!l,l&&(o=(0,tD.FY)(l))}return o}},{key:"startAnimation",value:function(t){var e=this,i=this.getProps(),n=i.drag,r=i.dragMomentum,s=i.dragElastic,a=i.dragTransition,o=i.dragSnapToOrigin,u=i.onDragTransitionEnd,h=this.constraints||{};return Promise.all(tx(function(i){if(t7(i,n,e.currentDirection)){var u=h&&h[i]||{};(!0===o||o===i)&&(u={min:0,max:0});var d=(0,l._)({type:"inertia",velocity:r?t[i]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},a,u);return e.startAxisValueAnimation(i,d)}})).then(u)}},{key:"startAxisValueAnimation",value:function(t,e){var i=this.getAxisMotionValue(t);return(0,tV.g)(this.visualElement,t),i.start((0,tR.f)(t,i,0,e,this.visualElement,!1))}},{key:"stopAnimation",value:function(){var t=this;tx(function(e){return t.getAxisMotionValue(e).stop()})}},{key:"getAxisMotionValue",value:function(t){var e="_drag".concat(t.toUpperCase()),i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}},{key:"snapToCursor",value:function(t){var e=this;tx(function(i){if(t7(i,e.getProps().drag,e.currentDirection)){var n=e.visualElement.projection,r=e.getAxisMotionValue(i);if(n&&n.layout){var s=n.layout.layoutBox[i],a=s.min,o=s.max,l=r.get()||0;r.set(t[i]-(0,tT.k)(a,o,.5)+l)}}})}},{key:"scalePositionWithinConstraints",value:function(){var t=this;if(this.visualElement.current){var e=this.getProps(),i=e.drag,n=e.dragConstraints,r=this.visualElement.projection;if(K(n)&&r&&this.constraints){this.stopAnimation();var s={x:0,y:0};tx(function(e){var i=t.getAxisMotionValue(e);if(i&&!1!==t.constraints){var n,r,a,o,l,u=i.get();s[e]=(n={min:u,max:u},r=t.constraints[e],a=.5,o=tS(n),(l=tS(r))>o?a=(0,tQ.q)(r.min,r.max-o,n.min):o>l&&(a=(0,tQ.q)(n.min,n.max-l,r.min)),(0,tZ.q)(0,1,a))}});var a=this.visualElement.getProps().transformTemplate;this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),tx(function(e){if(t7(e,i,null)){var n=t.getAxisMotionValue(e),r=t.constraints[e],a=r.min,o=r.max;n.set((0,tT.k)(a,o,s[e]))}}),this.visualElement.render()}}}},{key:"addListeners",value:function(){var t,e=this;if(this.visualElement.current){t5.set(this.visualElement,this);var i=this.visualElement.current,n=t_(i,"pointerdown",function(t){var n=e.getProps(),r=n.drag,s=n.dragListener,a=t.target,o=a!==i&&(tj.has(a.tagName)||!0===a.isContentEditable);r&&(void 0===s||s)&&!o&&e.start(t)}),r=function(){var n,r,s,a,o,l=e.getProps().dragConstraints;K(l)&&l.current&&(e.constraints=e.resolveRefConstraints(),t||(n=i,r=l.current,s=function(){return e.scalePositionWithinConstraints()},a=(0,tF.X)(n,t9(s)),o=(0,tF.X)(r,t9(s)),t=function(){a(),o()}))},s=this.visualElement.projection,a=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),tM.Gt.read(r);var o=tB(window,"resize",function(){return e.scalePositionWithinConstraints()}),l=s.addEventListener("didUpdate",function(t){var i=t.delta,n=t.hasLayoutChanged;e.isDragging&&n&&(tx(function(t){var n=e.getAxisMotionValue(t);n&&(e.originPoint[t]+=i[t].translate,n.set(n.get()+i[t].translate))}),e.visualElement.render())});return function(){o(),n(),a(),l&&l(),t&&t()}}}},{key:"getProps",value:function(){var t=this.visualElement.getProps(),e=t.drag,i=t.dragDirectionLock,n=t.dragPropagation,r=t.dragConstraints,s=t.dragElastic,a=t.dragMomentum;return(0,u._)((0,l._)({},t),{drag:void 0!==e&&e,dragDirectionLock:void 0!==i&&i,dragPropagation:void 0!==n&&n,dragConstraints:void 0!==r&&r,dragElastic:void 0===s?.35:s,dragMomentum:void 0===a||a})}}]),t}();function t9(t){var e=!0;return function(){if(e){e=!1;return}t()}}
1function t7(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}var t8=function(t){function e(t){var i;return(0,Q._)(this,e),(i=(0,Y._)(this,e,[t])).removeGroupControls=tv.l,i.removeListeners=tv.l,i.controls=new t4(t),i}return(0,J._)(e,t),(0,Z._)(e,[{key:"mount",value:function(){var t=this.node.getProps().dragControls;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tv.l}},{key:"update",value:function(){var t=this.node.getProps().dragControls;t!==(this.node.prevProps||{}).dragControls&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}},{key:"unmount",value:function(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}]),e}(tc),t3=function(t){return function(e,i){t&&tM.Gt.update(function(){return t(e,i)},!1,!0)}},t6=function(t){function e(){var t;return(0,Q._)(this,e),t=(0,Y._)(this,e,arguments),t.removePointerDownListener=tv.l,t}return(0,J._)(e,t),(0,Z._)(e,[{key:"onPointerDown",value:function(t){this.session=new tq(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tU(this.node)})}},{key:"createPanHandlers",value:function(){var t=this,e=this.node.getProps(),i=e.onPanSessionStart,n=e.onPanStart,r=e.onPan,s=e.onPanEnd;return{onSessionStart:t3(i),onStart:t3(n),onMove:t3(r),onEnd:function(e,i){delete t.session,s&&tM.Gt.postRender(function(){return s(e,i)})}}}},{key:"mount",value:function(){var t=this;this.removePointerDownListener=t_(this.node.current,"pointerdown",function(e){return t.onPointerDown(e)})}},{key:"update",value:function(){this.session&&this.session.updateHandlers(this.createPanHandlers())}},{key:"unmount",value:function(){this.removePointerDownListener(),this.session&&this.session.end()}}]),e}(tc),et=i(57505);let ee={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var ei=i(14693),en=i(96590),er=!1,es=function(t){function e(){return(0,Q._)(this,e),(0,Y._)(this,e,arguments)}return(0,J._)(e,t),(0,Z._)(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props,i=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,s=e.layoutId,a=i.projection;a&&(n.group&&n.group.add(a),r&&r.register&&s&&r.register(a),er&&a.root.didUpdate(),a.addEventListener("animationComplete",function(){t.safeToRemove()}),a.setOptions((0,u._)((0,l._)({},a.options),{layoutDependency:this.props.layoutDependency,onExitComplete:function(){return t.safeToRemove()}}))),ee.hasEverUpdated=!0}},{key:"getSnapshotBeforeUpdate",value:function(t){var e=this,i=this.props,n=i.layoutDependency,r=i.visualElement,s=i.drag,a=i.isPresent,o=r.projection;return o&&(o.isPresent=a,t.layoutDependency!==n&&o.setOptions((0,u._)((0,l._)({},o.options),{layoutDependency:n})),er=!0,s||t.layoutDependency!==n||void 0===n||t.isPresent!==a?o.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?o.promote():o.relegate()||tM.Gt.postRender(function(){var t=o.getStack();t&&t.members.length||e.safeToRemove()}))),null}},{key:"componentDidUpdate",value:function(){var t=this,e=this.props,i=e.visualElement,n=e.layoutAnchor,r=i.projection;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),ei.k.postRender(function(){!r.currentAnimation&&r.isLead()&&t.safeToRemove()}))}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.visualElement,i=t.layoutGroup,n=t.switchLayoutGroup,r=e.projection;er=!0,r&&(r.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(r),n&&n.deregister&&n.deregister(r))}},{key:"safeToRemove",value:function(){var t=this.props.safeToRemove;t&&t()}},{key:"render",value:function(){return null}}]),e}(s.Component);function ea(t){var e=(0,et._)((0,en.xQ)(),2),i=e[0],n=e[1],r=(0,s.useContext)(d.L);return(0,h.jsx)(es,(0,u._)((0,l._)({},t),{layoutGroup:r,switchLayoutGroup:(0,s.useContext)(q),isPresent:i,safeToRemove:n}))}var eo=i(3135),el=i(62325),eu=i(10587),eh=i(64171),ed=i(50295),ec=i(48859),ep=i(85110),em=i(7626),ef=i(22576),ev=i(53277),ey=i(6608),eg=i(24323);let ex=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],ew=ex.length,eT=t=>"string"==typeof t?parseFloat(t):t,eS=t=>"number"==typeof t||tw.px.test(t);function eP(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let eb=eE(0,.5,eg.yT),ek=eE(.5,.95,tv.l);function eE(t,e,i){return n=>n<t?0:n>e?1:i((0,tQ.q)(t,e,n))}function eA(t,e){t.min=e.min,t.max=e.max}function eM(t,e){eA(t.x,e.x),eA(t.y,e.y)}function eV(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var eC=i(36736);function eD(t,e,i,n,r){return t-=e,t=(0,eC.hq)(t,1/i,n),void 0!==r&&(t=(0,eC.hq)(t,1/r,n)),t}function eR(t,e,[i,n,r],s,a){!function(t,e=0,i=1,n=.5,r,s=t,a=t){if(tw.KN.test(e)&&(e=parseFloat(e),e=(0,tT.k)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=(0,tT.k)(s.min,s.max,n);t===s&&(o-=e),t.min=eD(t.min,e,i,o,r),t.max=eD(t.max,e,i,o,r)}(t,e[i],e[n],e[r],e.scale,s,a)}let eL=["x","scaleX","originX"],ej=["y","scaleY","originY"];function eB(t,e,i,n){eR(t.x,e,eL,i?i.x:void 0,n?n.x:void 0),eR(t.y,e,ej,i?i.y:void 0,n?n.y:void 0)}function eF(t){return 0===t.translate&&1===t.scale}function eI(t){return eF(t.x)&&eF(t.y)}function eO(t,e){return t.min===e.min&&t.max===e.max}function eW(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function e_(t,e){return eW(t.x,e.x)&&eW(t.y,e.y)}function eU(t){return tS(t.x)/tS(t.y)}function eN(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}
1var eG=i(75015);class e${constructor(){this.members=[]}add(t){(0,eG.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,eG.Ai)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,eG.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 eq{constructor(){this.children=[],this.isDirty=!1}add(t){(0,eG.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,eG.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(52359);let eH={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ez=["","X","Y","Z"],eY=0;function eQ(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function eZ({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.Q.value&&(eH.nodes=eH.calculatedTargetDeltas=eH.calculatedProjections=0),this.nodes.forEach(e1),this.nodes.forEach(it),this.nodes.forEach(ie),this.nodes.forEach(e2),em.Q.addProjectionMetrics&&em.Q.addProjectionMetrics(eH)},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 eq)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new eo.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,ef.x)(e)&&!(0,ev.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;tM.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=ed.k.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,tM.WG)(n),t(r-250))};return tM.Gt.setup(n,!0),()=>(0,tM.WG)(n)}(r,250),ee.hasAnimatedSinceResize&&(ee.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(e6)))})}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()||il,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=r.getProps(),l=!this.targetLayout||!e_(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,eh.r)(s,"layout"),onPlay:a,onComplete:o};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||e6(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,tM.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(ii),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,eu.P)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tM.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.forEach(e9),this.nodes.forEach(e4);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(e7);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(e8),this.nodes.forEach(e3),this.nodes.forEach(eJ),this.nodes.forEach(e0)):this.nodes.forEach(e7),this.clearAllSnapshots();let t=ed.k.now();tM.uv.delta=(0,tZ.q)(0,1e3/60,t-tM.uv.timestamp),tM.uv.timestamp=t,tM.uv.isProcessing=!0,tM.PP.update.process(tM.uv),tM.PP.preRender.process(tM.uv),tM.PP.render.process(tM.uv),tM.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ei.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(e5),this.sharedNodes.forEach(ir)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tM.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tM.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tS(this.snapshot.measuredBox.x)||tS(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,ty.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&&!eI(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)),id((e=n).x),id(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,ty.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ip))){let{scroll:t}=this.root;
1t&&((0,eC.Ql)(e.x,t.offset.x),(0,eC.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,ty.ge)();if(eM(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&&eM(e,t),(0,eC.Ql)(e.x,r.offset.x),(0,eC.Ql)(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||(0,ty.ge)();eM(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,eC.Ql)(n.x,-i.scroll.offset.x),(0,eC.Ql)(n.y,-i.scroll.offset.y)),(0,eK.HD)(i.latestValues)&&(0,eC.Ww)(n,i.latestValues,i.layout?.layoutBox)}return(0,eK.HD)(this.latestValues)&&(0,eC.Ww)(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=(0,ty.ge)();eM(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(),eM(i=(0,ty.ge)(),n.measurePageBox())),eB(e,n.latestValues,n.snapshot?.layoutBox,i))}return(0,eK.HD)(this.latestValues)&&eB(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!==tM.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=tM.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,ty.ge)(),this.targetWithTransforms=(0,ty.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,o,l,u;this.forceRelativeParentToResolveTarget(),a=this.target,o=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,tk(a.x,o.x,l.x,u?.x),tk(a.y,o.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):eM(this.target,this.layout.layoutBox),(0,eC.o4)(this.target,this.targetDelta)):eM(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.Q.value&&eH.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,ty.ge)(),this.relativeTargetOrigin=(0,ty.ge)(),tA(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),eM(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===tM.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;eM(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;(0,eC.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,ty.ge)());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(eV(this.prevProjectionDelta.x,this.projectionDelta.x),eV(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tb(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&eN(this.projectionDelta.x,this.prevProjectionDelta.x)&&eN(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o)),em.Q.value&&eH.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,ty.xU)(),this.projectionDelta=(0,ty.xU)(),this.projectionDeltaWithTransform=(0,ty.xU)()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},a=(0,ty.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=(0,ty.ge)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(io));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(is(a.x,t.x,n),is(a.y,t.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,m,f,v;tA(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,v=n,ia(p.x,m.x,f.x,v),ia(p.y,m.y,f.y,v),i&&(u=this.relativeTarget,c=i,eO(u.x,c.x)&&eO(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=(0,ty.ge)()),eM(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,tT.k)(0,i.opacity??1,eb(n)),t.opacityExit=(0,tT.k)(e.opacity??1,0,ek(n))):s&&(t.opacity=(0,tT.k)(e.opacity??1,i.opacity??1,n));for(let r=0;r<ew;r++){let s=ex[r],a=eP(e,s),o=eP(i,s);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||eS(a)===eS(o)?(t[s]=Math.max((0,tT.k)(eT(a),eT(o),n),0),(tw.KN.test(o)||tw.KN.test(a))&&(t[s]+="%")):t[s]=o)}(e.rotate||i.rotate)&&(t.rotate=(0,tT.k)(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,d,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,tM.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tM.Gt.update(()=>{ee.hasAnimatedSinceResize=!0,ep.q.layout++,this.motionValue||(this.motionValue=(0,ey.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,el.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{ep.q.layout--},onComplete:()=>{ep.q.layout--,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&&ic(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,ty.ge)();let e=tS(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=tS(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}eM(e,i),(0,eC.Ww)(e,r),tb(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new e$),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&&eQ("z",t,n,this.animationValues);for(let e=0;e<ez.length;e++)eQ(`rotate${ez[e]}`,t,n,this.animationValues),eQ(`skew${ez[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=R(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=R(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,a=i?.z||0;if((r||s||a)&&(n=`translate3d(${r}px, ${s}px, ${a}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:a,skewY:o}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),a&&(n+=`skewX(${a}deg) `),o&&(n+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(n+=`scale(${o}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.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,ec.H){if(void 0===r[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=ec.H[e],l="none"===s?r[e]:i(r[e],n);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?R(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(e4),this.root.sharedNodes.clear()}}}function eJ(t){t.updateLayout()}function e0(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)tx(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=tS(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";eA(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else ic(r,e.layoutBox,i)&&tx(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],a=tS(i[n]);r.max=r.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+a)});let a=(0,ty.xU)();tb(a,i,e.layoutBox);let o=(0,ty.xU)();s?tb(o,t.applyTransform(n,!0),e.measuredBox):tb(o,i,e.layoutBox);let l=!eI(a),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let a=t.options.layoutAnchor||void 0,o=(0,ty.ge)();tA(o,e.layoutBox,r.layoutBox,a);let l=(0,ty.ge)();tA(l,i,s.layoutBox,a),e_(o,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function e1(t){em.Q.value&&eH.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 e2(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function e5(t){t.clearSnapshot()}function e4(t){t.clearMeasurements()}function e9(t){t.isLayoutDirty=!0,t.updateLayout()}function e7(t){t.isLayoutDirty=!1}function e8(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function e3(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function e6(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function it(t){t.resolveTargetDelta()}function ie(t){t.calcProjection()}function ii(t){t.resetSkewAndRotation()}function ir(t){t.removeLeadSnapshot()}function is(t,e,i){t.translate=(0,tT.k)(e.translate,0,i),t.scale=(0,tT.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ia(t,e,i,n){t.min=(0,tT.k)(e.min,i.min,n),t.max=(0,tT.k)(e.max,i.max,n)}function io(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let il={duration:.45,ease:[.4,0,.1,1]},iu=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ih=iu("applewebkit/")&&!iu("chrome/")?Math.round:tv.l;function id(t){t.min=ih(t.min),t.max=ih(t.max)}function ic(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(eU(e)-eU(i)))}function ip(t){return t!==t.root&&t.scroll?.wasRoot}let im=eZ({attachResizeListener:(t,e)=>tB(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),iv={current:void 0},iy=eZ({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!iv.current){let t=new im({});t.mount(window),t.setOptions({layoutScroll:!0}),iv.current=t}return iv.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var ig=i(91780);function ix(t,e){let i=(0,ig.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function iw(t,e,i){var n=t.props;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);var r=n["onHover"+i];r&&tM.Gt.postRender(function(){return r(e,tW(e))})}var iT=function(t){function e(){return(0,Q._)(this,e),(0,Y._)(this,e,arguments)}return(0,J._)(e,t),(0,Z._)(e,[{key:"mount",value:function(){var t=this,e=this.node.current;e&&(this.unmount=function(t,e,i={}){let[n,r,s]=ix(t,i);return n.forEach(t=>{let i,n=!1,s=!1,a=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},o=t=>{n=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),s&&(s=!1,a(t))},l=t=>{if("touch"!==t.pointerType){if(n){s=!0;return}a(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||tg.x||tg.y)return;s=!1;let a=e(t,n);"function"==typeof a&&(i=a,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",o,r)},r)}),s}(e,function(e,i){return iw(t.node,i,"Start"),function(e){return iw(t.node,e,"End")}}))}},{key:"unmount",value:function(){}}]),e}(tc),iS=function(t){function e(){var t;return(0,Q._)(this,e),t=(0,Y._)(this,e,arguments),t.isActive=!1,t}return(0,J._)(e,t),(0,Z._)(e,[{key:"onFocus",value:function(){var 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)}},{key:"onBlur",value:function(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}},{key:"mount",value:function(){var t=this;this.unmount=(0,tN.F)(tB(this.node.current,"focus",function(){return t.onFocus()}),tB(this.node.current,"blur",function(){return t.onBlur()}))}},{key:"unmount",value:function(){}}]),e}(tc),iP=i(87639),ib=i(86353);let ik=(t,e)=>!!e&&(t===e||ik(t,e.parentElement)),iE=new WeakSet;function iA(t){return e=>{"Enter"===e.key&&t(e)}}function iM(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function iV(t){return tO(t)&&!(tg.x||tg.y)}let iC=new WeakSet;function iD(t,e,i){var n=t.props;if(!(0,iP._)(t.current,HTMLButtonElement)||!t.current.disabled){t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);var r=n["onTap"+("End"===i?"":i)];r&&tM.Gt.postRender(function(){return r(e,tW(e))})}}var iR=function(t){function e(){return(0,Q._)(this,e),(0,Y._)(this,e,arguments)}return(0,J._)(e,t),(0,Z._)(e,[{key:"mount",value:function(){var t=this,e=this.node.current;if(e){var i=this.node.props,n=i.globalTapTarget,r=i.propagate;
1this.unmount=function(t,e,i={}){let[n,r,s]=ix(t,i),a=t=>{let n=t.currentTarget;if(!iV(t)||iC.has(t))return;iE.add(n),i.stopPropagation&&iC.add(t);let s=e(n,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),iE.has(n)&&iE.delete(n),iV(t)&&"function"==typeof s&&s(t,{success:e})},o=t=>{a(t,n===window||n===document||i.useGlobalTarget||ik(n,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),(0,ib.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=iA(()=>{if(iE.has(i))return;iM(i,"down");let t=iA(()=>{iM(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>iM(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),tL.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(e,function(e,i){return iD(t.node,i,"Start"),function(e,i){var n=i.success;return iD(t.node,e,n?"End":"Cancel")}},{useGlobalTarget:n,stopPropagation:(null==r?void 0:r.tap)===!1})}}},{key:"unmount",value:function(){}}]),e}(tc),iL=new WeakMap,ij=new WeakMap,iB=function(t){var e=iL.get(t.target);e&&e(t)},iF=function(t){t.forEach(iB)},iI={some:0,all:1},iO=function(t){function e(){var t;return(0,Q._)(this,e),t=(0,Y._)(this,e,arguments),t.hasEnteredView=!1,t.isInView=!1,t}return(0,J._)(e,t),(0,Z._)(e,[{key:"startObserver",value:function(){var t,e,i,n,r,s,a,o,u,h=this;null==(u=this.stopObserver)||u.call(this);var d=this.node.getProps().viewport,c=void 0===d?{}:d,p=c.root,m=c.margin,f=c.amount,v=void 0===f?"some":f,y=c.once,g={root:p?p.current:void 0,rootMargin:m,threshold:"number"==typeof v?v:iI[v]};this.stopObserver=(t=this.node.current,e=function(t){var e=t.isIntersecting;if(h.isInView!==e){if(h.isInView=e,y&&!e&&h.hasEnteredView)return;e&&(h.hasEnteredView=!0),h.node.animationState&&h.node.animationState.setActive("whileInView",e);var i=h.node.getProps(),n=i.onViewportEnter,r=i.onViewportLeave,s=e?n:r;s&&s(t)}},i=g.root,n=(0,D._)(g,["root"]),r=i||document,ij.has(r)||ij.set(r,{}),(s=ij.get(r))[a=JSON.stringify(n)]||(s[a]=new IntersectionObserver(iF,(0,l._)({root:i},n))),o=s[a],iL.set(t,e),o.observe(t),function(){iL.delete(t),o.unobserve(t)})}},{key:"mount",value:function(){this.startObserver()}},{key:"update",value:function(){if("undefined"!=typeof IntersectionObserver){var t=this.node;["amount","margin","root"].some(function(t){var e=t.viewport,i=void 0===e?{}:e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.viewport,s=void 0===r?{}:r;return function(t){return i[t]!==s[t]}}(t.props,t.prevProps))&&this.startObserver()}}},{key:"unmount",value:function(){var t;null==(t=this.stopObserver)||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}]),e}(tc),iW=function(t,e){if("undefined"==typeof Proxy)return z;var i=new Map,n=function(i,n){return z(i,n,t,e)};return new Proxy(function(t,e){return n(t,e)},{get:function(r,s){return"create"===s?n:(i.has(s)||i.set(s,z(s,void 0,t,e)),i.get(s))}})}((0,l._)({},{animation:{Feature:tp},exit:{Feature:tf}},{inView:{Feature:iO},tap:{Feature:iR},focus:{Feature:iS},hover:{Feature:iT}},{pan:{Feature:t6},drag:{Feature:t8,ProjectionNode:iy,MeasureLayout:ea}},{layout:{ProjectionNode:iy,MeasureLayout:ea}}),function(t,e){var i;return(null!=(i=e.isSVG)?i:o(t))?new n.l(e):new r.M(e,{allowProjection:t!==s.Fragment})})},78506:(t,e,i)=>{i.d(e,{C:()=>n});let n=new WeakMap},78818:(t,e,i)=>{i.d(e,{X:()=>s});var n=i(1299),r=i(90688);function s(t,e=100,i){let a=i({...t,keyframes:[0,e]}),o=Math.min((0,r.t)(a),r.Y);return{type:"keyframes",ease:t=>a.next(o*t).value/e,duration:(0,n.X)(o)}}},80848:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},80861:(t,e,i)=>{i.d(e,{U:()=>n,_:()=>r});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},81714:(t,e,i)=>{i.d(e,{J:()=>r,d:()=>s});var n=i(44933);let r=(0,n.J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),s=(0,n.J)(()=>void 0!==window.ViewTimeline,"viewTimeline")},84111:(t,e,i)=>{i.d(e,{I:()=>n});function n(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}},85110:(t,e,i)=>{i.d(e,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},85922:(t,e,i)=>{let n,r;i.d(e,{X:()=>m});var s=i(22576),a=i(91780);let o=new WeakMap,l=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:(0,s.x)(n)&&"getBBox"in n?n.getBBox()[e]:n[i],u=l("inline","width","offsetWidth"),h=l("block","height","offsetHeight");function d({target:t,borderBoxSize:e}){o.get(t)?.forEach(i=>
1{i(t,{get width(){return u(t,e)},get height(){return h(t,e)}})})}function c(t){t.forEach(d)}let p=new Set;function m(t,e){return"function"==typeof t?(p.add(t),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};p.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{p.delete(t),p.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):function(t,e){n||"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(c));let i=(0,a.K)(t);return i.forEach(t=>{let i=o.get(t);i||(i=new Set,o.set(t,i)),i.add(e),n?.observe(t)}),()=>{i.forEach(t=>{let i=o.get(t);i?.delete(e),i?.size||n?.unobserve(t)})}}(t,e)}},86353:(t,e,i)=>{i.d(e,{s:()=>r});var n=i(5368);function r(t){return(0,n.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},86877:(t,e,i)=>{i.d(e,{Z:()=>r});var n=i(63727);function r(t){let e=[0];return(0,n.f)(e,t.length-1),e}},89279:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>r}),i(55036);let n=()=>{},r=()=>{}},89808:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},90688:(t,e,i)=>{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}},91780:(t,e,i)=>{i.d(e,{K:()=>n});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)}},93219:(t,e,i)=>{i.d(e,{ge:()=>a,xU:()=>r});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),a=()=>({x:s(),y:s()})},93448:(t,e,i)=>{i.d(e,{h:()=>n});let n=t=>Array.isArray(t)&&"number"!=typeof t[0]},96590:(t,e,i)=>{i.d(e,{xQ:()=>s});var n=i(20792),r=i(99601);function s(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,n.useContext)(r.t);if(null===e)return[!0,null];var i=e.isPresent,s=e.onExitComplete,a=e.register,o=(0,n.useId)();(0,n.useEffect)(function(){if(t)return a(o)},[t]);var l=(0,n.useCallback)(function(){return t&&s&&s(o)},[o,s,t]);return!i&&s?[!1,l]:[!0]}},96944:(t,e,i)=>{i.d(e,{p:()=>n});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},99601:(t,e,i)=>{i.d(e,{t:()=>n});var n=(0,i(20792).createContext)(null)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.