1"use strict";(self.rspackChunkOne=self.rspackChunkOne||[]).push([[6194],{52477(t,e,i){i.r(e),i.d(e,{AnimatePresence:()=>ic,LazyMotion:()=>iI,motionDiv:()=>iF,motionSpan:()=>iR});var n,r=i(91987),s=i(71763);let a=(0,s.createContext)({strict:!1});var o=i(38546),l=i(60191);let u=t=>180*t/Math.PI,h=t=>p(u(Math.atan2(t[1],t[0]))),d={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:h,rotateZ:h,skewX:t=>u(Math.atan(t[1])),skewY:t=>u(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},p=t=>((t%=360)<0&&(t+=360),t),c=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),f=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),m={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:c,scaleY:f,scale:t=>(c(t)+f(t))/2,rotateX:t=>p(u(Math.atan2(t[6],t[5]))),rotateY:t=>p(u(Math.atan2(-t[2],t[0]))),rotateZ:h,rotate:h,skewX:t=>u(Math.atan(t[4])),skewY:t=>u(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function v(t){return+!!t.includes("scale")}function g(t,e){let i,n;if(!t||"none"===t)return v(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=m,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=d,n=e}if(!n)return v(e);let s=i[e],a=n[1].split(",").map(y);return"function"==typeof s?s(a):a[s]}function y(t){return parseFloat(t.trim())}let b=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],w=new Set([...b,"pathRotation"]);var x=i(39021),S=i(36788);let T=t=>t===x.ai||t===S.px,M=new Set(["x","y","z"]),A=b.filter(t=>!M.has(t)),V={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})=>g(e,"x"),y:(t,{transform:e})=>g(e,"y")};V.translateX=V.x,V.translateY=V.y;var k=i(53921);let C=new Set,E=!1,P=!1,F=!1;function R(){if(P){let t=Array.from(C).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],A.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),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)})}P=!1,E=!1,C.forEach(t=>t.complete(F)),C.clear()}function I(){C.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(P=!0)})}class O{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?(C.add(this),E||(E=!0,k.Gt.read(I),k.Gt.resolveKeyframes(R))):(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),C.delete(this)}cancel(){"scheduled"===this.state&&(C.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}var j=i(14419),B=i(3158);function L(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}var $=i(19540),W=i(49076),D=i(3852),N=i(69152);let X=(0,i(21184).J)(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var q=i(269);let G=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,K={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:G([0,.65,.55,1]),circOut:G([.55,0,1,.45]),backIn:G([.31,.01,.66,-.59]),backOut:G([.33,1.53,.69,.99])};function z(t){return"function"==typeof t&&"applyToOptions"in t}class Y extends D.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,(0,j.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return z(t)&&X()?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 h={[e]:i};l&&(h.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?X()?(0,q.K)(e,i):"ease-out":(0,N.D)(e)?G(e):Array.isArray(e)?e.map(e=>t(e,i)||K.easeOut):K[e]}(o,r);Array.isArray(d)&&(h.easing=d);let p={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};return u&&(p.pseudoElement=u),t.animate(h,p)}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=(0,W.X)(n,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(t),L(e,i,t),this.animation.cancel()}o?.(),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,o.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,o.X)(t)}get time(){return(0,o.X)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,o.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,$.J)())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),B.l):n(this)}}let U=new Set(["opacity","clipPath","filter","transform"]);var H=i(69525),Z=i(3871);let _=()=>({min:0,max:0}),Q=()=>({x:_(),y:_()});var J=i(46960),tt=i(40706),te=i(86280);let ti=new Set(["brightness","contrast","saturate","opacity"]);function tn(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(te.S)||[];if(!n)return t;let r=i.replace(n,""),s=+!!ti.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let tr=/\b([a-z-]*)\(.*?\)/gu,ts={...tt.f,getAnimatableNone:t=>{let e=t.match(tr);return e?e.map(tn).join(" "):t}},ta={...tt.f,getAnimatableNone:t=>{let e=tt.f.parse(t);return tt.f.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}};var to=i(3218);let tl={...x.ai,transform:Math.round},tu={rotate:S.uj,pathRotation:S.uj,rotateX:S.uj,rotateY:S.uj,rotateZ:S.uj,scale:x.hs,scaleX:x.hs,scaleY:x.hs,scaleZ:x.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:x.X4,originX:S.gQ,originY:S.gQ,originZ:S.px},th={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,...tu,zIndex:tl,fillOpacity:x.X4,strokeOpacity:x.X4,numOctaves:tl},td={...th,color:to.y,backgroundColor:to.y,outlineColor:to.y,fill:to.y,stroke:to.y,borderColor:to.y,borderTopColor:to.y,borderRightColor:to.y,borderBottomColor:to.y,borderLeftColor:to.y,filter:ts,WebkitFilter:ts,mask:ta,WebkitMask:ta},tp=t=>td[t],tc=new Set([ts,ta]);function tf(t,e){let i=tp(t);return tc.has(i)||(i=tt.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tm=t=>e=>e.test(t),tv=[x.ai,S.px,S.KN,S.uj,S.vw,S.vh,{test:t=>"auto"===t,parse:t=>t}],tg=t=>tv.find(tm(t)),ty=[...tv,to.y,tt.f];var tb=i(23345);let tw=new WeakMap;function tx(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function tS(t){return"string"==typeof t||Array.isArray(t)}let tT=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tM=["initial",...tT];function tA(t){return tx(t.animate)||tM.some(e=>tS(t[e]))}function tV(t){return!!(tA(t)||t.variants)}let tk={current:null},tC={current:!1},tE="u">typeof window;function tP(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function tF(t,e,i,n){if("function"==typeof e){let[r,s]=tP(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=tP(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let tR=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tI={};class tO{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:a},o={}){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,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=Z.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,k.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=o,this.blockInitialAnimation=!!s,this.isControllingVariants=tA(e),this.isVariantNode=tV(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==l[t]&&(0,tb.S)(e)&&e.set(l[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,tw.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tC.current||function(){if(tC.current=!0,tE)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tk.current=t.matches;t.addEventListener("change",e),e()}else tk.current=!1}(),this.shouldReduceMotion=tk.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,k.WG)(this.notifyUpdate),(0,k.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.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:s,duration:a}=e.accelerate,l=new Y({element:this.current,name:t,keyframes:n,times:r,ease:s,duration:(0,o.f)(a)}),u=i(l);this.valueSubscriptions.set(t,()=>{u(),l.cancel()});return}let n=w.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&k.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in tI){let e=tI[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];
1e.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):Q()}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<tR.length;e++){let i=tR[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,tb.S)(r))t.addValue(n,r);else if((0,tb.S)(s))t.addValue(n,(0,J.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,J.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,J.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){let n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!ty.find(tm(n))&&tt.f.test(e)&&(i=tf(t,e))}this.setBaseTarget(t,(0,tb.S)(i)?i.get():i)}return(0,tb.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=tF(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,tb.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 l.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){H.k.render(this.render)}}let tj={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"]},tB=!1;function tL(){return!function(){if(tB)return;let t={};for(let e in tj)t[e]={isEnabled:t=>tj[e].some(e=>!!t[e])};tI=t,tB=!0}(),tI}function t$(t){let e=tL();for(let i in t)e[i]={...e[i],...t[i]};tI=e}function tW({children:t,features:e,strict:i=!1}){let[,n]=(0,s.useState)(!tD(e)),o=(0,s.useRef)(void 0);if(!tD(e)){let{renderer:t,...i}=e;o.current=t,t$(i)}return(0,s.useEffect)(()=>{tD(e)&&e().then(({renderer:t,...e})=>{t$(e),o.current=t,n(!0)})},[]),(0,r.jsx)(a.Provider,{value:{renderer:o.current,strict:i},children:t})}function tD(t){return"function"==typeof t}class tN{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tX(t,e,i){let n=t.getProps();return tF(n,e,void 0!==i?i:n.custom,t)}function tq(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function tG(t,e){let i=t?.[e]??t?.default??t;return i!==t?tq(i,t):i}let tK=new Set(["width","height","top","left","right","bottom",...b]),tz=t=>Array.isArray(t);var tY=i(78958);function tU(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let tH="data-"+tU("framerAppearId");var tZ=i(82161),t_=i(67059),tQ=i(66893),tJ=i(45500),t0=i(78649),t1=i(14661);let t2={anticipate:tJ.b,backInOut:t0.ZZ,circInOut:t1.tn};class t5 extends Y{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in t2&&(t.ease=t2[t.ease])}(t),(0,tQ.E)(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new tZ.s({...s,autoplay:!1}),o=Math.max(10,Z.k.now()-this.startTime),l=(0,t_.q)(0,10,o-10),u=a.sample(o).value,{name:h}=this.options;r&&h&&L(r,h,u),e.setWithVelocity(a.sample(Math.max(0,o-l)).value,u,l),a.stop()}}let t6=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tt.f.test(t)||"0"===t)&&!t.startsWith("url("));function t3(t){t.duration=0,t.type="keyframes"}var t9=i(7616);let t8=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,t4=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),t7=(0,t9.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class et extends D.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:a,name:o,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Z.k.now();const d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:o,motionValue:l,element:u,...h},p=u?.KeyframeResolver||O;this.keyframeResolver=new p(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let r;this.keyframeResolver=void 0;let{name:s,type:a,velocity:o,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=Z.k.now();let d=!0;
1!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=t6(r,e),o=t6(s,e);return(0,j.$)(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||z(i))&&n)}(t,s,a,o)&&(d=!1,(tY.W.instantAnimations||!l)&&h?.((0,W.X)(t,i,e)),t[0]=t[t.length-1],t3(i),i.repeat=0);let p={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},c=d&&!u&&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;let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return t7()&&i&&(U.has(i)||t4.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&t8.test(t[e]))return!0;return!1}(o))&&("transform"!==i||!u)&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==a}(p),f=p.motionValue?.owner?.current;if(c)try{r=new t5({...p,element:f})}catch{r=new tZ.s(p)}else r=new tZ.s(p);r.finished.then(()=>{this.notifyFinished()}).catch(B.l),this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}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(),F=!0,I(),R(),F=!1),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()}}let ee={type:"spring",stiffness:500,damping:25,restSpeed:10},ei={type:"keyframes",duration:.8},en={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},er=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),es=(t,e,i,n={},r,s)=>a=>{let l=tG(n,t)||{},u=l.delay||n.delay||0,{elapsed:h=0}=n;h-=(0,o.f)(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function(t){for(let e in t)if(!er.has(e))return!0;return!1}(l)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?ei:w.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:ee:en)(t,d)),d.duration&&(d.duration=(0,o.f)(d.duration)),d.repeatDelay&&(d.repeatDelay=(0,o.f)(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let p=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(t3(d),0===d.delay&&(p=!0)),(tY.W.instantAnimations||tY.W.skipAnimations||r?.shouldSkipAnimations||l.skipAnimations)&&(p=!0,t3(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,p&&!s&&void 0!==e.get()){let t=(0,W.X)(d.keyframes,l);if(void 0!==t)return void k.Gt.update(()=>{d.onUpdate(t),d.onComplete()})}return l.isSync?new tZ.s(d):new et(d)};function ea(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s,transitionEnd:a,...o}=e,l=t.getDefaultTransition();s=s?tq(s,l):l;let u=s?.reduceMotion,h=s?.skipAnimations;n&&(s=n);let d=[],p=r&&t.animationState&&t.animationState.getState()[r],c=s?.path;for(let e in c&&c.animateVisualElement(t,o,s,i,d),o){let n=t.getValue(e,t.latestValues[e]??null),r=o[e];if(void 0===r||p&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(p,e))continue;let a={delay:i,...tG(s||{},e)};h&&(a.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(r)&&r===l&&!a.velocity){k.Gt.update(()=>n.set(r));continue}let c=!1;if(window.MotionHandoffAnimation){let i=t.props[tH];if(i){let t=window.MotionHandoffAnimation(i,e,k.Gt);null!==t&&(a.startTime=t,c=!0)}}!function(t,e){let i=t.getValue("willChange");if((0,tb.S)(i)&&i.add)return i.add(e);if(!i&&tY.W.WillChange){let i=new tY.W.WillChange("auto");
1t.addValue("willChange",i),i.add(e)}}(t,e);let f=u??t.shouldReduceMotion;n.start(es(e,n,r,f&&tK.has(e)?{type:!1}:a,t,c));let m=n.animation;m&&d.push(m)}if(a){let e=()=>k.Gt.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=tX(t,e)||{};for(let e in r={...r,...i}){var s;let i=tz(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,J.OQ)(i))}}(t,a)});d.length?Promise.all(d).then(e):e()}return d}function eo(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 el(t,e,i={}){let n=tX(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(ea(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(el(l,e,{...a,delay:i+("function"==typeof n?0:n)+eo(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())}}let eu=tM.length;function eh(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 ed=[...tT].reverse(),ep=tT.length;function ec(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ef(){return{animate:ec(!0),whileInView:ec(),whileHover:ec(),whileTap:ec(),whileDrag:ec(),whileFocus:ec(),exit:ec()}}let em=0;var ev=i(92922);function eg(t,e){let i=(0,ev.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function ey(t){return{point:{x:t.pageX,y:t.pageY}}}function eb(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&k.Gt.postRender(()=>r(e,ey(e)))}function ew(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}var ex=i(53258),eS=i(5129);let eT=(t,e)=>!!e&&(t===e||eT(t,e.parentElement)),eM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),eA=new WeakSet;function eV(t){return e=>{"Enter"===e.key&&t(e)}}function ek(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function eC(t){return"mouse"===t.pointerType?"number"!=typeof t.button||!!(t.button<=0):!1!==t.isPrimary}let eE=new WeakSet;function eP(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&k.Gt.postRender(()=>r(e,ey(e)))}let eF=new WeakMap,eR=new WeakMap,eI=t=>{let e=eF.get(t.target);e&&e(t)},eO=t=>{t.forEach(eI)},ej={some:0,all:1};var eB=i(14160);let eL=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,e$=new Set(["auto","none","0"]);class eW extends O{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,eB.pG)(n))){let r=function t(e,i,n=1){(0,j.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=eL.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let t=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return(0,eB.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(),!tK.has(i)||2!==t.length)return;let[n,r]=t,s=tg(n),a=tg(r);if((0,eB.rm)(n)!==(0,eB.rm)(r)&&V[i]){this.needsMeasurement=!0;return}if(s!==a)if(T(s)&&T(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else V[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);
1i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!e$.has(e)&&(0,tt.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tf(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=V[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]=V[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()}}class eD extends tO{constructor(){super(...arguments),this.KeyframeResolver=eW}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,tb.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let eN=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eX={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eq=b.length;function eG(t,e,i){let{style:n,vars:r,transformOrigin:s}=t,a=!1,o=!1;for(let t in e){let i=e[t];if(w.has(t)){a=!0;continue}if((0,eB.j4)(t)){r[t]=i;continue}{let e=eN(i,th[t]);t.startsWith("origin")?(o=!0,s[t]=e):n[t]=e}}if(!e.transform&&(a||i?n.transform=function(t,e,i){let n="",r=!0;for(let s=0;s<eq;s++){let a=b[s],o=t[a];if(void 0===o)continue;let l=!0;if("number"==typeof o)l=o===+!!a.startsWith("scale");else{let t=parseFloat(o);l=a.startsWith("scale")?1===t:0===t}if(!l||i){let t=eN(o,th[a]);if(!l){r=!1;let e=eX[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}let s=t.pathRotation;return s&&(r=!1,n+=`rotate(${eN(s,th.pathRotation)}) `),n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),o){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;n.transformOrigin=`${t} ${e} ${i}`}}let eK={offset:"stroke-dashoffset",array:"stroke-dasharray"},ez={offset:"strokeDashoffset",array:"strokeDasharray"},eY=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eU(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:a=0,...o},l,u,h){if(eG(t,o,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:p}=t;for(let t of(d.transform&&(p.transform=d.transform,delete d.transform),(p.transform||d.transformOrigin)&&(p.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),p.transform&&(p.transformBox=h?.transformBox??"fill-box",delete d.transformBox),eY))void 0!==d[t]&&(p[t]=d[t],delete d[t]);void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?eK:ez;t[s.offset]=`${-n}`,t[s.array]=`${e} ${i}`}(d,r,s,a,!1)}let eH=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"]),eZ=t=>"string"==typeof t&&"svg"===t.toLowerCase();function e_(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])}function eQ(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eJ={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!S.px.test(t))return t;else t=parseFloat(t);let i=eQ(t,e.target.x),n=eQ(t,e.target.y);return`${i}% ${n}%`}};var e0=i(86826);let e1={borderRadius:{...eJ,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]},borderTopLeftRadius:eJ,borderTopRightRadius:eJ,borderBottomLeftRadius:eJ,borderBottomRightRadius:eJ,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=tt.f.parse(t);if(n.length>5)return t;let r=tt.f.createTransformer(t),s=+("number"!=typeof n[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;n[0+s]/=a,n[1+s]/=o;let l=(0,e0.k)(a,o,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function e2(t,{layout:e,layoutId:i}){return w.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!e1[t]||"opacity"===t)}function e5(t,e,i){let n=t.style,r=e?.style,s={};if(!n)return s;for(let e in n)((0,tb.S)(n[e])||r&&(0,tb.S)(r[e])||e2(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=n[e]);return s}function e6(t,e,i){let n=e5(t,e,i);for(let i in t)((0,tb.S)(t[i])||(0,tb.S)(e[i]))&&(n[-1!==b.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class e3 extends eD{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Q}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(w.has(e)){let t=tp(e);return t&&t.default||0}return e=eH.has(e)?e:tU(e),t.getAttribute(e)}
1scrapeMotionValuesFromProps(t,e,i){return e6(t,e,i)}build(t,e,i){eU(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in e_(t,e,void 0,n),e.attrs)t.setAttribute(eH.has(i)?i:tU(i),e.attrs[i])}mount(t){this.isSVGTag=eZ(t.tagName),super.mount(t)}}class e9 extends eD{constructor(){super(...arguments),this.type="html",this.renderInstance=e_}readValueFromInstance(t,e){if(w.has(e))return this.projection?.isProjecting?v(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return g(i,e)})(t,e);{let i=window.getComputedStyle(t),n=((0,eB.j4)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return function({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}build(t,e,i){eG(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return e5(t,e,i)}}let e8=["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 e4(t){if("string"!=typeof t||t.includes("-"));else if(e8.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let e7={renderer:(t,e)=>e.isSVG??e4(t)?new e3(e):new e9(e,{allowProjection:t!==s.Fragment}),animation:{Feature:class extends tN{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>el(t,e,i)));else if("string"==typeof e)n=el(t,e,i);else{let r="function"==typeof e?tX(t,e,i.custom):e;n=Promise.all(ea(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ef(),n=!0,r=!1,s=e=>(i,n)=>{let r=tX(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<eu;t++){let n=tM[t],r=e.props[n];(tS(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},u=[],h=new Set,d={},p=1/0;for(let e=0;e<ep;e++){var c,f;let m=ed[e],v=i[m],g=void 0!==o[m]?o[m]:l[m],y=tS(g),b=m===a?v.isActive:null;!1===b&&(p=e);let w=g===l[m]&&g!==o[m]&&y;if(w&&(n||r)&&t.manuallyAnimateOnMount&&(w=!1),v.protectedKeys={...d},!v.isActive&&null===b||!g&&!v.prevProp||tx(g)||"boolean"==typeof g)continue;if("exit"===m&&v.isActive&&!0!==b){v.prevResolvedValues&&(d={...d,...v.prevResolvedValues});continue}let x=(c=v.prevProp,"string"==typeof(f=g)?f!==c:!!Array.isArray(f)&&!eh(f,c)),S=x||m===a&&v.isActive&&!w&&y||e>p&&y,T=!1,M=Array.isArray(g)?g:[g],A=M.reduce(s(m),{});!1===b&&(A={});let{prevResolvedValues:V={}}=v,k={...V,...A},C=e=>{S=!0,h.has(e)&&(T=!0,h.delete(e)),v.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in k){let e=A[t],i=V[t];if(!d.hasOwnProperty(t))(tz(e)&&tz(i)?!eh(e,i)||x:e!==i)?null!=e?C(t):h.add(t):void 0!==e&&h.has(t)?C(t):v.protectedKeys[t]=!0}v.prevProp=g,v.prevResolvedValues=A,v.isActive&&(d={...d,...A}),(n||r)&&t.blockInitialAnimation&&(S=!1);let E=w&&x,P=!E||T;S&&P&&u.push(...M.map(e=>{let i={type:m};if("string"==typeof e&&(n||r)&&!E&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=tX(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=eo(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof o.initial){let i=tX(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 m=!!u.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(m=!1),n=!1,r=!1,m?e(u):Promise.resolve()}
1return{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=ef(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();tx(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends tN{constructor(){super(...arguments),this.id=em++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=tX(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends tN{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:a}=i,o={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:ej[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;eR.has(i)||eR.set(i,{});let n=eR.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(eO,{root:t,...e})),n[r]}(o),eF.set(t,l),e.observe(t),()=>{eF.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends tN{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,r,s]=eg(t,i),a=t=>{let n=t.currentTarget;if(!eC(t)||eE.has(t))return;eA.add(n),i.stopPropagation&&eE.add(t);let s=e(n,t),a={...r,capture:!0},o=(t,e)=>{window.removeEventListener("pointerup",l,a),window.removeEventListener("pointercancel",u,a),eA.has(n)&&eA.delete(n),eC(t)&&"function"==typeof s&&s(t,{success:e})},l=t=>{o(t,n===window||n===document||i.useGlobalTarget||eT(n,t.target))},u=t=>{o(t,!1)};window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",u,a)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),(0,eS.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=eV(()=>{if(eA.has(i))return;ek(i,"down");let t=eV(()=>{ek(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>ek(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),eM.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(eP(this.node,e,"Start"),(t,{success:e})=>eP(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends tN{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,ex.F)(ew(this.node.current,"focus",()=>this.onFocus()),ew(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends tN{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=eg(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)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}(t,(t,e)=>(eb(this.node,e,"Start"),t=>eb(this.node,t,"End"))))}unmount(){}}}},it=(0,s.createContext)({});var ie=i(88911),ii=i(96329);let ir=(0,s.createContext)(null);var is=i(23052);function ia(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class io extends s.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,eS.s)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,
1i=(0,eS.s)(t)&&t.offsetWidth||0,n=(0,eS.s)(t)&&t.offsetHeight||0,r=getComputedStyle(e),s=this.props.sizeRef.current;s.height=parseFloat(r.height),s.width=parseFloat(r.width),s.top=e.offsetTop,s.left=e.offsetLeft,s.right=i-s.width-s.left,s.bottom=n-s.height-s.top,s.direction=r.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function il({children:t,isPresent:e,anchorX:i,anchorY:n,root:a,pop:o}){let l=(0,s.useId)(),u=(0,s.useRef)(null),h=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:d}=(0,s.useContext)(is.Q),p=function(...t){return s.useCallback(function(...t){return e=>{let i=!1,n=t.map(t=>{let n=ia(t,e);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let e=0;e<n.length;e++){let i=n[e];"function"==typeof i?i():ia(t[e],null)}}}}(...t),t)}(u,t.props?.ref??t?.ref);return(0,s.useInsertionEffect)(()=>{let{width:t,height:r,top:s,left:p,right:c,bottom:f,direction:m}=h.current;if(e||!1===o||!u.current||!t||!r)return;let v="rtl"===m,g="left"===i?v?`right: ${c}`:`left: ${p}`:v?`left: ${p}`:`right: ${c}`,y="bottom"===n?`bottom: ${f}`:`top: ${s}`;u.current.dataset.motionPopId=l;let b=document.createElement("style");d&&(b.nonce=d);let w=a??document.head;return w.appendChild(b),b.sheet&&b.sheet.insertRule(` 2 [data-motion-pop-id="${l}"] { 3 position: absolute !important; 4 width: ${t}px !important; 5 height: ${r}px !important; 6 ${g}px !important; 7 ${y}px !important; 8 } 9 `),()=>{u.current?.removeAttribute("data-motion-pop-id"),w.contains(b)&&w.removeChild(b)}},[e]),(0,r.jsx)(io,{isPresent:e,childRef:u,sizeRef:h,pop:o,children:!1===o?t:s.cloneElement(t,{ref:p})})}let iu=({children:t,initial:e,isPresent:i,onExitComplete:n,custom:a,presenceAffectsLayout:o,mode:l,anchorX:u,anchorY:h,root:d})=>{let p=(0,ie.M)(ih),c=(0,s.useId)(),f=(0,s.useRef)(i),m=(0,s.useRef)(n);(0,ii.E)(()=>{f.current=i,m.current=n});let v=!0,g=(0,s.useMemo)(()=>(v=!1,{id:c,initial:e,isPresent:i,custom:a,onExitComplete:t=>{for(let e of(p.set(t,!0),p.values()))if(!e)return;n&&n()},register:t=>(p.set(t,!1),()=>{p.delete(t),f.current||p.size||m.current?.()})}),[i,p,n]);return o&&v&&(g={...g}),(0,s.useMemo)(()=>{p.forEach((t,e)=>p.set(e,!1))},[i]),s.useEffect(()=>{i||p.size||!n||n()},[i]),t=(0,r.jsx)(il,{pop:"popLayout"===l,isPresent:i,anchorX:u,anchorY:h,root:d,children:t}),(0,r.jsx)(ir.Provider,{value:g,children:t})};function ih(){return new Map}let id=t=>t.key||"";function ip(t){let e=[];return s.Children.forEach(t,t=>{(0,s.isValidElement)(t)&&e.push(t)}),e}let ic=({children:t,custom:e,initial:i=!0,onExitComplete:n,presenceAffectsLayout:a=!0,mode:o="sync",propagate:l=!1,anchorX:u="left",anchorY:h="top",root:d})=>{let[p,c]=function(t=!0){let e=(0,s.useContext)(ir);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=e,a=(0,s.useId)();(0,s.useEffect)(()=>{if(t)return r(a)},[t]);let o=(0,s.useCallback)(()=>t&&n&&n(a),[a,n,t]);return!i&&n?[!1,o]:[!0]}(l),f=(0,s.useMemo)(()=>ip(t),[t]),m=l&&!p?[]:f.map(id),v=(0,s.useRef)(!0),g=(0,s.useRef)(f),y=(0,ie.M)(()=>new Map),b=(0,s.useRef)(new Set),[w,x]=(0,s.useState)(f),[S,T]=(0,s.useState)(f);(0,ii.E)(()=>{v.current=!1,g.current=f;for(let t=0;t<S.length;t++){let e=id(S[t]);m.includes(e)?(y.delete(e),b.current.delete(e)):!0!==y.get(e)&&y.set(e,!1)}},[S,m.length,m.join("-")]);let M=[];if(f!==w){let t=[...f];for(let e=0;e<S.length;e++){let i=S[e],n=id(i);m.includes(n)||(t.splice(e,0,i),M.push(i))}return"wait"===o&&M.length&&(t=M),T(ip(t)),x(f),null}let{forceRender:A}=(0,s.useContext)(it);return(0,r.jsx)(r.Fragment,{children:S.map(t=>{let s=id(t),w=(!l||!!p)&&(f===S||m.includes(s));return(0,r.jsx)(iu,{isPresent:w,initial:(!v.current||!!i)&&void 0,custom:e,presenceAffectsLayout:a,mode:o,root:d,onExitComplete:w?void 0:()=>{if(b.current.has(s)||!y.has(s))return;b.current.add(s),y.set(s,!0);let t=!0;y.forEach(e=>{e||(t=!1)}),t&&(A?.(),T(g.current),l&&c?.(),n&&n())},anchorX:u,anchorY:h,children:t},s)})})},im=(0,s.createContext)({});function iv(t){return Array.isArray(t)?t.join(" "):t}let ig=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iy(t,e,i){for(let n in e)(0,tb.S)(e[n])||e2(n,i)||(t[n]=e[n])}let ib=()=>({...ig(),attrs:{}}),iw=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 ix(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||iw.has(t)}let iS=t=>!ix(t);try{n=require("@emotion/is-prop-valid").default,"function"==typeof n&&(iS=t=>t.startsWith("on")?!ix(t):n(t))}catch{}let iT=t=>(e,i)=>{let n=(0,s.useContext)(im),r=(0,s.useContext)(ir),a=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e}
9,i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s){var a;r[t]=(a=s[t],(0,tb.S)(a)?a.get():a)}let{initial:o,animate:l}=t,u=tA(t),h=tV(t);e&&h&&!u&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===l&&(l=e.animate));let d=!!i&&!1===i.initial,p=(d=d||!1===o)?l:o;if(p&&"boolean"!=typeof p&&!tx(p)){let e=Array.isArray(p)?p:[p];for(let i=0;i<e.length;i++){let n=tF(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,r);return i?a():(0,ie.M)(a)},iM=iT({scrapeMotionValuesFromProps:e5,createRenderState:ig}),iA=iT({scrapeMotionValuesFromProps:e6,createRenderState:ib}),iV=Symbol.for("motionComponentSymbol"),ik=(0,s.createContext)({});function iC(t,e){return function(t,{forwardMotionProps:e=!1,type:i}={}){let n=i?"svg"===i:e4(t),o=n?iA:iM;function l(i,l){var u;let h,d,p,c={...(0,s.useContext)(is.Q),...i,layoutId:function({layoutId:t}){let e=(0,s.useContext)(it).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:f}=c,m=function(t){let{initial:e,animate:i}=function(t,e){if(tA(t)){let{initial:e,animate:i}=t;return{initial:!1===e||tS(e)?e:void 0,animate:tS(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,s.useContext)(im));return(0,s.useMemo)(()=>({initial:e,animate:i}),[iv(e),iv(i)])}(i),v=o(i,f);if(!f&&"u">typeof window){(0,s.useContext)(a).strict;let e=function(t){let{drag:e,layout:i}=tL();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(c);h=e.MeasureLayout,m.visualElement=function(t,e,i,n,r,o){let{visualElement:l}=(0,s.useContext)(im),u=(0,s.useContext)(a),h=(0,s.useContext)(ir),d=(0,s.useContext)(is.Q),p=d.reducedMotion,c=d.skipAnimations,f=(0,s.useRef)(null),m=(0,s.useRef)(!1);n=n||u.renderer,!f.current&&n&&(f.current=n(t,{visualState:e,parent:l,props:i,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:p,skipAnimations:c,isSVG:o}),m.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let v=f.current,g=(0,s.useContext)(ik);v&&!v.projection&&r&&("html"===v.type||"svg"===v.type)&&function(t,e,i,n){var r;let{layoutId:s,layout:a,drag:o,dragConstraints:l,layoutScroll:u,layoutRoot:h,layoutAnchor:d,layoutCrossfade:p}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:a,alwaysMeasureLayout:!!o||l&&(r=l)&&"object"==typeof r&&Object.prototype.hasOwnProperty.call(r,"current"),visualElement:t,animationType:"string"==typeof a?a:"both",initialPromotionConfig:n,crossfade:p,layoutScroll:u,layoutRoot:h,layoutAnchor:d})}(f.current,i,r,g);let y=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{v&&y.current&&v.update(i,h)});let b=i[tH],w=(0,s.useRef)(!!b&&"u">typeof window&&!window.MotionHandoffIsComplete?.(b)&&window.MotionHasOptimisedAnimation?.(b));return(0,ii.E)(()=>{m.current=!0,v&&(y.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),w.current&&v.animationState&&v.animationState.animateChanges())}),(0,s.useEffect)(()=>{v&&(!w.current&&v.animationState&&v.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(b)}),w.current=!1),v.enteringChildren=void 0)}),v}(t,v,c,void 0,e.ProjectionNode,n)}return(0,r.jsxs)(im.Provider,{value:m,children:[h&&m.visualElement?(0,r.jsx)(h,{visualElement:m.visualElement,...c}):null,function(t,e,i,{latestValues:n},r,a=!1,o){let l=(o??e4(t)?function(t,e,i,n){let r=(0,s.useMemo)(()=>{let i=ib();return eU(i,e,eZ(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};iy(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,n,r={},a=(i=t.style||{},iy(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,s.useMemo)(()=>{let i=ig();return eG(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=a,r}
9)(e,n,r,t),u=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&!(0,tb.S)(t[r])&&(iS(r)||!0===i&&ix(r)||!e&&!ix(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,a),h=t!==s.Fragment?{...u,...l,ref:i}:{},{children:d}=e,p=(0,s.useMemo)(()=>(0,tb.S)(d)?d.get():d,[d]);return(0,s.createElement)(t,{...h,children:p})}(t,i,(u=m.visualElement,d=(0,s.useRef)(l),(0,s.useInsertionEffect)(()=>{d.current=l}),p=(0,s.useRef)(null),(0,s.useCallback)(t=>{t&&v.onMount?.(t),u&&(t?u.mount(t):u.unmount());let e=d.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(p.current=i)}else p.current?(p.current(),p.current=null):e(t);else e&&(e.current=t)},[u])),v,f,e,n)]})}l.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let u=(0,s.forwardRef)(l);return u[iV]=t,u}(t,e)}let iE=iC("div"),iP=iC("span"),iF=iE,iR=iP,iI=({children:t})=>(0,r.jsx)(tW,{features:e7,children:t})},23052(t,e,i){let n=(0,i(71763).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});i.d(e,{},{Q:n})},88911(t,e,i){var n=i(71763);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}i.d(e,{M:()=>r})},96329(t,e,i){i.d(e,{E:()=>r});var n=i(71763);let r="u">typeof window?n.useLayoutEffect:n.useEffect},82161(t,e,i){i.d(e,{s:()=>y});var n=i(53258),r=i(67059),s=i(38546),a=i(3871),o=i(67462),l=i(53921);let u=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>l.Gt.update(e,t),stop:()=>(0,l.WG)(e),now:()=>l.uv.isProcessing?l.uv.timestamp:a.k.now()}};var h=i(61630),d=i(93127),p=i(19165),c=i(4907),f=i(49076),m=i(66893),v=i(3852);let g=t=>t/100;class y extends v.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,m.E)(t);let{type:e=d.i,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:a=0}=t,{keyframes:l}=t,u=e||d.i;u!==d.i&&"number"!=typeof l[0]&&(this.mixKeyframes=(0,n.F)(g,(0,o.j)(l[0],l[1])),l=[0,100]);let h=u({...t,keyframes:l});"mirror"===s&&(this.mirroredGenerator=u({...t,keyframes:[...l].reverse(),velocity:-a})),null===h.calculatedDuration&&(h.calculatedDuration=(0,p.t)(h));let{calculatedDuration:c}=h;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=h}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:s,mixKeyframes:a,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:d=0,keyframes:p,repeat:c,repeatType:m,repeatDelay:v,type:g,onUpdate:y,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let w=this.currentTime-d*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?w<0:w>s;this.currentTime=Math.max(w,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let S=this.currentTime,T=n;if(c){let t=Math.min(this.currentTime,s)/l,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===m?(i=1-i,v&&(i-=v/l)):"mirror"===m&&(T=o)),S=(0,r.q)(0,1,i)*l}x?(this.delayState.value=p[0],i=this.delayState):i=T.next(S),a&&!x&&(i.value=a(i.value));let{done:M}=i;x||null===u||(M=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&M);return A&&g!==h.B&&(i.value=(0,f.X)(p,this.options,b,this.speed)),y&&y(i.value),A&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,s.X)(t)}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;
9if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return(0,c.z)(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(a.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=u,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(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}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)}}},61630(t,e,i){var n=i(23747),r=i(4907);function s({keyframes:t,velocity:e=0,power:i=.8,timeConstant:a=325,bounceDamping:o=10,bounceStiffness:l=500,modifyTarget:u,min:h,max:d,restDelta:p=.5,restSpeed:c}){let f,m,v=t[0],g={done:!1,value:v},y=i*e,b=v+y,w=void 0===u?b:u(b);w!==b&&(y=w-v);let x=t=>-y*Math.exp(-t/a),S=t=>w+x(t),T=t=>{let e=x(t),i=S(t);g.done=Math.abs(e)<=p,g.value=g.done?w:i},M=t=>{let e;if(e=g.value,void 0!==h&&e<h||void 0!==d&&e>d){var i;f=t,m=(0,n.o)({keyframes:[g.value,(i=g.value,void 0===h?d:void 0===d||Math.abs(h-i)<Math.abs(d-i)?h:d)],velocity:(0,r.z)(S,t,g.value),damping:o,stiffness:l,restDelta:p,restSpeed:c})}};return M(0),{calculatedDuration:null,next:t=>{let e=!1;return(m||void 0!==f||(e=!0,T(t),M(t)),void 0!==f&&t>=f)?m.next(t-f):(e||T(t),g)}}}i.d(e,{B:()=>s})},93127(t,e,i){i.d(e,{i:()=>g});var n=i(11622);let r=(0,n.A)(.42,0,1,1),s=(0,n.A)(0,0,.58,1),a=(0,n.A)(.42,0,.58,1);var o=i(14419),l=i(3158),u=i(45500),h=i(78649),d=i(14661),p=i(69152);let c={linear:l.l,easeIn:r,easeInOut:a,easeOut:s,circIn:d.po,circInOut:d.tn,circOut:d.yT,backIn:h.dg,backInOut:h.ZZ,backOut:h.Sz,anticipate:u.b},f=t=>{if((0,p.D)(t)){(0,o.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return(0,n.A)(e,i,r,s)}return"string"==typeof t?((0,o.V)(void 0!==c[t],`Invalid easing type '${t}'`,"invalid-easing-type"),c[t]):t};var m=i(87205),v=i(13326);function g({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(f):f(n),o={done:!1,value:e[0]},l=(r=i&&i.length===e.length?i:(0,v.Z)(e),r.map(e=>e*t)),u=(0,m.G)(l,e,{ease:Array.isArray(s)?s:e.map(()=>s||a).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=u(e),o.done=e>=t,o)}}},23747(t,e,i){i.d(e,{o:()=>v});var n=i(14419),r=i(38546),s=i(67059),a=i(269),o=i(19165);let l=.01,u=2,h=.005,d=.5;function p(t,e){return t*Math.sqrt(1-e*e)}let c=["duration","bounce"],f=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function v(t=.3,e=.3){let i,g,y,b,w,x,S="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:T,restDelta:M}=S,A=S.keyframes[0],V=S.keyframes[S.keyframes.length-1],k={done:!1,value:A},{stiffness:C,damping:E,mass:P,duration:F,velocity:R,isResolvedFromDuration:I}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!m(t,f)&&m(t,c))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:1,stiffness:n,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:a=1}
9){let o,l;(0,n.$)(t<=(0,r.f)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let u=1-e;u=(0,s.q)(.05,1,u),t=(0,s.q)(.01,10,(0,r.X)(t)),u<1?(o=e=>{let n=e*u,r=n*t;return .001-(n-i)/p(e,u)*Math.exp(-r)},l=e=>{let n=e*u*t,r=Math.pow(u,2)*Math.pow(e,2)*t,s=Math.exp(-n),a=p(Math.pow(e,2),u);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 h=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(h))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(h,2)*a;return{stiffness:e,damping:2*u*Math.sqrt(a*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...S,velocity:-(0,r.X)(S.velocity||0)}),O=R||0,j=E/(2*Math.sqrt(C*P)),B=V-A,L=(0,r.X)(Math.sqrt(C/P)),$=5>Math.abs(B);if(T||(T=$?l:u),M||(M=$?h:d),j<1)y=p(L,j),b=(O+j*L*B)/y,i=t=>V-Math.exp(-j*L*t)*(b*Math.sin(y*t)+B*Math.cos(y*t)),w=j*L*b+B*y,x=j*L*B-b*y,g=t=>Math.exp(-j*L*t)*(w*Math.sin(y*t)+x*Math.cos(y*t));else if(1===j){i=t=>V-Math.exp(-L*t)*(B+(O+L*B)*t);let t=O+L*B;g=e=>Math.exp(-L*e)*(L*t*e-O)}else{let t=L*Math.sqrt(j*j-1);i=e=>{let i=Math.exp(-j*L*e),n=Math.min(t*e,300);return V-i*((O+j*L*B)*Math.sinh(n)+t*B*Math.cosh(n))/t};let e=(O+j*L*B)/t,n=j*L*e-B*t,r=j*L*B-e*t;g=e=>{let i=Math.exp(-j*L*e),s=Math.min(t*e,300);return i*(n*Math.sinh(s)+r*Math.cosh(s))}}let W={calculatedDuration:I&&F||null,velocity:t=>(0,r.f)(g(t)),next:t=>{if(!I&&j<1){let e=Math.exp(-j*L*t),i=Math.sin(y*t),n=Math.cos(y*t),s=V-e*(b*i+B*n);return k.done=Math.abs((0,r.f)(e*(w*i+x*n)))<=T&&Math.abs(V-s)<=M,k.value=k.done?V:s,k}let e=i(t);return I?k.done=t>=F:k.done=Math.abs((0,r.f)(g(t)))<=T&&Math.abs(V-e)<=M,k.value=k.done?V:e,k},toString:()=>{let t=Math.min((0,o.t)(W),2e4),e=(0,a.K)(e=>W.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return W}v.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min((0,o.t)(n),2e4);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,r.X)(s)}}(t,100,v);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},19165(t,e,i){function n(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}i.d(e,{t:()=>n})},4907(t,e,i){var n=i(44558);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}i.d(e,{z:()=>r})},49076(t,e,i){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]}i.d(e,{X:()=>r})},13326(t,e,i){i.d(e,{Z:()=>s});var n=i(41487),r=i(86826);function s(t){let e=[0];return!function(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))}}(e,t.length-1),e}},3852(t,e,i){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)}}i.d(e,{q:()=>n})},14160(t,e,i){let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function o(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}i.d(e,{rm:()=>o},{j4:r,pG:t=>!!s(t)&&a.test(t.split("/*")[0].trim())})},66893(t,e,i){var n=i(61630),r=i(93127),s=i(23747);let a={decay:n.B,inertia:n.B,tween:r.i,keyframes:r.i,spring:s.o};function o(t){"string"==typeof t.type&&(t.type=a[t.type])}i.d(e,{E:()=>o})},269(t,e,i){i.d(e,{},{K:(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)})`}})},50984(t,e,i){i.d(e,{I:()=>s});var n=i(78958);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s(t,e){let i=!1,s=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(e){s.has(e)&&(l.schedule(e),t()),e(a)}let l={schedule:(t,r=!1,a=!1)=>{let o=a&&n?e:i;return r&&s.add(t),o.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(a=t,n){r=!0;return}n=!0;let s=e;e=i,i=s,e.forEach(o),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(o),t),{}),{setup:u,read:h,resolveKeyframes:d,preUpdate:p,update:c,preRender:f,render:m,postRender:v}=l,g=()=>{let r=n.W.useManualTiming,o=r?a.timestamp:performance.now();i=!1,r||(a.delta=s?1e3/60:Math.max(Math.min(o-a.timestamp,40),1)),a.timestamp=o,a.isProcessing=!0,u.process(a),h.process(a),d.process(a),p.process(a),c.process(a),f.process(a),m.process(a),v.process(a),a.isProcessing=!1,i&&e&&(s=!1,t(g))};return{schedule:r.reduce((e,n)=>{let r=l[n];return e[n]=(e,n=!1,o=!1)=>(!i&&(i=!0,s=!0,a.isProcessing||t(g)),r.schedule(e,n,o)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:a,steps:l}}},53921(t,e,i){var n=i(3158);let{schedule:r,cancel:s,state:a}=(0,i(50984).I)("u">typeof requestAnimationFrame?requestAnimationFrame:n.l,!0);i.d(e,{},{Gt:r,WG:s,uv:a})},69525(t,e,i){let{schedule:n,cancel:r}=(0,i(50984).I)(queueMicrotask,!1);i.d(e,{},{c:r,k:n})},3871(t,e,i){let n;var r=i(78958),s=i(53921);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
9:t=>{n=t,queueMicrotask(a)}};i.d(e,{},{k:o})},87205(t,e,i){var n=i(78958),r=i(3158),s=i(53258),a=i(14419),o=i(41487),l=i(67059),u=i(67462);function h(t,e,{clamp:i=!0,ease:d,mixer:p}={}){let c=t.length;if((0,a.V)(c===e.length,"Both input and output ranges must be the same length","range-length"),1===c)return()=>e[0];if(2===c&&e[0]===e[1])return()=>e[1];let f=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());let m=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,p),v=m.length,g=i=>{if(f&&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 m[n](r)};return i?e=>g((0,l.q)(t[0],t[c-1],e)):g}i.d(e,{G:()=>h})},5129(t,e,i){var n=i(6986);function r(t){return(0,n.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}i.d(e,{s:()=>r})},67462(t,e,i){i.d(e,{j:()=>M});var n=i(53258),r=i(14419),s=i(14160),a=i(3218),o=i(40706),l=i(96985),u=i(2512);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(60892);function p(t,e){return i=>i>0?e:t}var c=i(86826);let f=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},m=[l.u,d.B,u.V];function v(t){let e=m.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 g=(t,e)=>{let i=v(t),n=v(e);if(!i||!n)return p(t,e);let r={...i};return t=>(r.red=f(i.red,n.red,t),r.green=f(i.green,n.green,t),r.blue=f(i.blue,n.blue,t),r.alpha=(0,c.k)(i.alpha,n.alpha,t),d.B.transform(r))},y=new Set(["none","hidden"]);function b(t,e){return i=>(0,c.k)(t,e,i)}function w(t){return"number"==typeof t?b:"string"==typeof t?(0,s.pG)(t)?p:a.y.test(t)?g:T:Array.isArray(t)?x:"object"==typeof t?a.y.test(t)?g:S:p}function x(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 T=(t,e)=>{let i=o.f.createTransformer(e),s=(0,o.V)(t),a=(0,o.V)(e);if(!(s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length))return(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"),p(t,e);if(y.has(t)&&!a.values.length||y.has(e)&&!s.values.length)return y.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,n.F)(x(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)};function M(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,c.k)(t,e,i):w(t)(t,e)}},86826(t,e,i){i.d(e,{},{k:(t,e,i)=>t+(e-t)*i})},92922(t,e,i){function n(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}i.d(e,{K:()=>n})},21184(t,e,i){i.d(e,{J:()=>s});var n=i(7616);let r={};function s(t,e){let i=(0,n.p)(t);return()=>r[e]??i()}},19540(t,e,i){var n=i(21184);let r=(0,n.J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),s=(0,n.J)(()=>void 0!==window.ViewTimeline,"viewTimeline");i.d(e,{},{J:r,d:s})},46960(t,e,i){var n=i(60191),r=i(44558),s=i(3871),a=i(53921);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)}i.d(e,{OQ:()=>u},{bt:o})},96985(t,e,i){var n=i(60892);let r={test:(0,i(87356).$)("#"),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),alph
9a:r?parseInt(r,16)/255:1}},transform:n.B.transform};i.d(e,{},{u:r})},2512(t,e,i){var n=i(39021),r=i(36788),s=i(99525),a=i(87356);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))+")"};i.d(e,{},{V:o})},3218(t,e,i){var n=i(96985),r=i(2512),s=i(60892);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)}};i.d(e,{},{y:a})},60892(t,e,i){var n=i(67059),r=i(39021),s=i(99525),a=i(87356);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))+")"};i.d(e,{},{B:l})},87356(t,e,i){i.d(e,{$:()=>s,q:()=>a});var n=i(86280);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}}},40706(t,e,i){i.d(e,{V:()=>h,f:()=>p});var n=i(3218);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(86280),a=i(99525);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 p={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)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:n.y.test(t)?n.y.getAnimatableNone(t):t)(t,e.split[i])))}}},39021(t,e,i){var n=i(67059);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};i.d(e,{},{X4:s,ai:r,hs:a})},36788(t,e,i){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)};i.d(e,{},{KN:s,gQ:u,px:a,uj:r,vh:o,vw:l})},86280(t,e,i){i.d(e,{},{S:/-?(?:\d+(?:\.\d+)?|\.\d+)/gu})},99525(t,e,i){i.d(e,{},{a:t=>Math.round(1e5*t)/1e5})},23345(t,e,i){i.d(e,{},{S:t=>!!(t&&t.getVelocity)})},67059(t,e,i){i.d(e,{},{q:(t,e,i)=>i>e?e:i<t?t:i})},45500(t,e,i){var n=i(78649);i.d(e,{},{b:t=>t>=1?1:(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))})},78649(t,e,i){var n=i(11622),r=i(50312),s=i(2649);let a=(0,n.A)(.33,1.53,.69,.99),o=(0,s.G)(a),l=(0,r.V)(o);i.d(e,{},{Sz:a,ZZ:l,dg:o})},14661(t,e,i){var n=i(50312),r=i(2649);let s=t=>1-Math.sin(Math.acos(t)),a=(0,r.G)(s),o=(0,n.V)(s);i.d(e,{},{po:s,tn:o,yT:a})},11622(t,e,i){var n=i(3158);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){return t===e&&i===s?n.l:n=>
90===n||1===n?n:r(function(t,e,i,n,s){let a,o,l=0;do(a=r(o=e+(i-e)/2,n,s)-t)>0?i=o:e=o;while(Math.abs(a)>1e-7&&++l<12);return o}(n,0,1,t,i),e,s)}i.d(e,{A:()=>s})},50312(t,e,i){i.d(e,{},{V:t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2})},2649(t,e,i){i.d(e,{},{G:t=>e=>1-t(1-e)})},69152(t,e,i){i.d(e,{},{D:t=>Array.isArray(t)&&"number"==typeof t[0]})},14419(t,e,i){let n=()=>{},r=()=>{};i.d(e,{$:()=>n,V:()=>r})},78958(t,e,i){i.d(e,{},{W:{}})},6986(t,e,i){i.d(e,{},{G:t=>"object"==typeof t&&null!==t})},7616(t,e,i){function n(t){let e;return()=>(void 0===e&&(e=t()),e)}i.d(e,{p:()=>n})},3158(t,e,i){i.d(e,{},{l:t=>t})},53258(t,e,i){i.d(e,{},{F:(...t)=>t.reduce((t,e)=>i=>e(t(i)))})},41487(t,e,i){i.d(e,{},{q:(t,e,i)=>{let n=e-t;return n?(i-t)/n:1}})},60191(t,e,i){i.d(e,{v:()=>n});class n{constructor(){this.subscriptions=[]}add(t){var e;return e=this.subscriptions,-1===e.indexOf(t)&&e.push(t),()=>{var e;let i;return e=this.subscriptions,void((i=e.indexOf(t))>-1&&e.splice(i,1))}}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}}},38546(t,e,i){i.d(e,{},{X:t=>t/1e3,f:t=>1e3*t})},44558(t,e,i){i.d(e,{},{f:(t,e)=>e?1e3/e*t:0})}}]);
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.