PageSourceSearch

https://www.boardeffect.com/_next/static/chunks/6937-d98b113210989252.js

js boardeffect.com collected 2026-10-01 10:35:50 UTC 141,565 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6937],{1265:(t,e,i)=>{i.d(e,{C:()=>n});let n=new WeakMap},2636:(t,e,i)=>{i.d(e,{w:()=>n});let n=t=>e=>e.test(t)},3591:(t,e,i)=>{i.d(e,{L:()=>o,m:()=>s});var n=i(36078),r=i(90049);function s(t,e){return(0,n.FY)((0,n.bS)(t.getBoundingClientRect(),e))}function o(t,e,i){let n=s(t,i),{scroll:o}=e;return o&&((0,r.Ql)(n.x,o.offset.x),(0,r.Ql)(n.y,o.offset.y)),n}},4293:(t,e,i)=>{i.d(e,{Z:()=>r});var n=i(10823);function r(t){let e=[0];return(0,n.f)(e,t.length-1),e}},5342:(t,e,i)=>{i.d(e,{B:()=>n});let n="undefined"!=typeof window},5377:(t,e,i)=>{i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},5705:(t,e,i)=>{i.d(e,{I:()=>o});var n=i(28581);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=i(73490);function o(t,e){let i=!1,o=!0,a={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,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(d.schedule(e),t()),u++,e(l)}let d={schedule:(t,e=!1,s=!1)=>{let o=s&&r?i:n;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(l=t,r){o=!0;return}r=!0,[i,n]=[n,i],i.forEach(h),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,i.clear(),r=!1,o&&(o=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:h,read:d,resolveKeyframes:c,preUpdate:p,update:f,preRender:m,render:v,postRender:g}=u,y=()=>{let r=n.W.useManualTiming?a.timestamp:performance.now();i=!1,n.W.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(r-a.timestamp,40),1)),a.timestamp=r,a.isProcessing=!0,h.process(a),d.process(a),c.process(a),p.process(a),f.process(a),m.process(a),v.process(a),g.process(a),a.isProcessing=!1,i&&e&&(o=!1,t(y))};return{schedule:r.reduce((e,n)=>{let r=u[n];return e[n]=(e,n=!1,s=!1)=>(!i&&(i=!0,o=!0,a.isProcessing||t(y)),r.schedule(e,n,s)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)u[r[e]].cancel(t)},state:a,steps:u}}},8230:(t,e,i)=>{i.d(e,{N:()=>n});function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},9736:(t,e,i)=>{i.d(e,{OQ:()=>u});var n=i(97888),r=i(13957),s=i(54527),o=i(20129);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new n.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},10823:(t,e,i)=>{i.d(e,{f:()=>s});var n=i(23824),r=i(82688);function s(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,o))}}},11016:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},12339:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},13298:(t,e,i)=>{i.d(e,{Q:()=>n});let n=(0,i(10039).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})}
1,13957:(t,e,i)=>{i.d(e,{f:()=>n});function n(t,e){return e?1e3/e*t:0}},15403:(t,e,i)=>{i.d(e,{t:()=>n});let n=(0,i(10039).createContext)(null)},16234:(t,e,i)=>{i.d(e,{X:()=>s});var n=i(53889),r=i(22392);function s(t,e=100,i){let o=i({...t,keyframes:[0,e]}),a=Math.min((0,r.t)(o),r.Y);return{type:"keyframes",ease:t=>o.next(a*t).value/e,duration:(0,n.X)(a)}}},16740:(t,e,i)=>{i.d(e,{I:()=>n});let n=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},18213:(t,e,i)=>{i.d(e,{p:()=>l});var n=i(57030),r=i(11016);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.S)||[];if(!n)return t;let o=i.replace(n,""),a=+!!s.has(e);return n!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...n.f,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},19027:(t,e,i)=>{i.d(e,{Y:()=>r});var n=i(13957);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}},20129:(t,e,i)=>{i.d(e,{Gt:()=>r,PP:()=>a,WG:()=>s,uv:()=>o});var n=i(87261);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(5705).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},20258:(t,e,i)=>{i.d(e,{V:()=>a});var n=i(29273),r=i(56460),s=i(58951),o=i(91390);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.a)(e))+", "+r.KN.transform((0,s.a)(i))+", "+(0,s.a)(n.X4.transform(o))+")"}},20916:(t,e,i)=>{i.d(e,{P:()=>iS});var n=i(10039),r=i(39743),s=i(30943);let o=["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 a(t){if("string"!=typeof t||t.includes("-"));else if(o.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var l=i(3743),u=i(93039);let h=(0,n.createContext)({strict:!1});var d=i(13298);let c=(0,n.createContext)({});var p=i(50851),f=i(39663);function m(t){return Array.isArray(t)?t.join(" "):t}var v=i(5377),g=i(70333),y=i(98938);let x=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function w(t,e,i){for(let n in e)(0,v.S)(e[n])||(0,g.z)(n,i)||(t[n]=e[n])}var b=i(44934);let T=()=>({...x(),attrs:{}});var P=i(62405);let S=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function A(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||S.has(t)}let E=t=>!A(t);try{!function(t){"function"==typeof t&&(E=e=>e.startsWith("on")?!A(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}var M=i(8230),V=i(15403),k=i(85497),C=i(86947);function D(t){return(0,v.S)(t)?t.get():t}let R=t=>(e,i)=>{let r=(0,n.useContext)(c),s=(0,n.useContext)(V.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=D(s[t]);let{initial:o,animate:a}=t,l=(0,p.e)(t),u=(0,p.O)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,d=(h=h||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!(0,M.N)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=(0,k.a)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,r,s);return i?o():(0,C.M)(o)},L=R({scrapeMotionValuesFromProps:i(79624).x,createRenderState:x}),j=R({scrapeMotionValuesFromProps:i(94665).x,createRenderState:T});var F=i(5342),B=i(59680);let O=Symbol.for("motionComponentSymbol");function I(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var W=i(90266);let U=(0,n.createContext)({});var N=i(89084);function $(t){var e,i;let{forwardMotionProps:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;s&&function(t){for(let e in t)B.B[e]={...B.B[e],...t[e]}}(s);let g=a(t)?j:L;function S(e,i){var s;let S,M={...(0,n.useContext)(d.Q),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,n.useContext)(u.L).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:k}=M,C=function(t){let{initial:e,animate:i}=function(t,e){if((0,p.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,f.w)(e)?e:void 0,animate:(0,f.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(c));return(0,n.useMemo)(()=>({initial:e,animate:i}),[m(e),m(i)])}(e),D=g(e,k);
1if(!k&&F.B){(0,n.useContext)(h).strict;let e=function(t){let{drag:e,layout:i}=B.B;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(M);S=e.MeasureLayout,C.visualElement=function(t,e,i,r,s){let{visualElement:o}=(0,n.useContext)(c),a=(0,n.useContext)(h),l=(0,n.useContext)(V.t),u=(0,n.useContext)(d.Q).reducedMotion,p=(0,n.useRef)(null);r=r||a.renderer,!p.current&&r&&(p.current=r(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let f=p.current,m=(0,n.useContext)(U);f&&!f.projection&&s&&("html"===f.type||"svg"===f.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&I(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(p.current,i,s,m);let v=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{f&&v.current&&f.update(i,l)});let g=i[W.n],y=(0,n.useRef)(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return(0,N.E)(()=>{f&&(v.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),y.current&&f.animationState&&f.animationState.animateChanges())}),(0,n.useEffect)(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),y.current=!1),f.enteringChildren=void 0)}),f}(t,D,M,o,e.ProjectionNode)}return(0,l.jsxs)(c.Provider,{value:C,children:[S&&C.visualElement?(0,l.jsx)(S,{visualElement:C.visualElement,...M}):null,function(t,e,i,{latestValues:r},s,o=!1){let l=(a(t)?function(t,e,i,r){let s=(0,n.useMemo)(()=>{let i=T();return(0,b.B)(i,e,(0,P.n)(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};w(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i={},r=function(t,e){let i=t.style||{},r={};return w(r,i,t),Object.assign(r,function({transformTemplate:t},e){return(0,n.useMemo)(()=>{let i=x();return(0,y.O)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=r,i})(e,r,s,t),u=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(E(r)||!0===i&&A(r)||!e&&!A(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,o),h=t!==n.Fragment?{...u,...l,ref:i}:{},{children:d}=e,c=(0,n.useMemo)(()=>(0,v.S)(d)?d.get():d,[d]);return(0,n.createElement)(t,{...h,children:c})}(t,e,(s=C.visualElement,(0,n.useCallback)(t=>{t&&D.onMount&&D.onMount(t),s&&(t?s.mount(t):s.unmount()),i&&("function"==typeof i?i(t):I(i)&&(i.current=t))},[s])),D,k,r)]})}S.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let M=(0,n.forwardRef)(S);return M[O]=t,M}var H=i(47821),q=i(97464);function G(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function X(t,e,i={}){let n=(0,H.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,q.$)(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(X(l,e,{...o,delay:i+("function"==typeof n?0:n)+G(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}var K=i(82820);function z(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}var Y=i(33750);let Q=Y._.length,_=[...Y.U].reverse(),Z=Y.U.length;function J(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tt(){return{animate:J(!0),whileInView:J(),whileHover:J(),whileTap:J(),whileDrag:J(),whileFocus:J(),exit:J()}}class te{constructor(t){this.isMounted=!1,this.node=t}update(){}}class ti extends te{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>
1(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>X(t,e,i)));else if("string"==typeof e)n=X(t,e,i);else{let r="function"==typeof e?(0,H.K)(t,e,i.custom):e;n=Promise.all((0,q.$)(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=tt(),n=!0,r=e=>(i,n)=>{let r=(0,H.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 s(s){let{props:o}=t,a=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<Q;t++){let n=Y._[t],r=e.props[n];((0,f.w)(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},l=[],u=new Set,h={},d=1/0;for(let e=0;e<Z;e++){var c,p;let m=_[e],v=i[m],g=void 0!==o[m]?o[m]:a[m],y=(0,f.w)(g),x=m===s?v.isActive:null;!1===x&&(d=e);let w=g===a[m]&&g!==o[m]&&y;if(w&&n&&t.manuallyAnimateOnMount&&(w=!1),v.protectedKeys={...h},!v.isActive&&null===x||!g&&!v.prevProp||(0,M.N)(g)||"boolean"==typeof g)continue;let b=(c=v.prevProp,"string"==typeof(p=g)?p!==c:!!Array.isArray(p)&&!z(p,c)),T=b||m===s&&v.isActive&&!w&&y||e>d&&y,P=!1,S=Array.isArray(g)?g:[g],A=S.reduce(r(m),{});!1===x&&(A={});let{prevResolvedValues:E={}}=v,V={...E,...A},k=e=>{T=!0,u.has(e)&&(P=!0,u.delete(e)),v.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in V){let e=A[t],i=E[t];if(!h.hasOwnProperty(t))((0,K.p)(e)&&(0,K.p)(i)?z(e,i):e===i)?void 0!==e&&u.has(t)?k(t):v.protectedKeys[t]=!0:null!=e?k(t):u.add(t)}v.prevProp=g,v.prevResolvedValues=A,v.isActive&&(h={...h,...A}),n&&t.blockInitialAnimation&&(T=!1);let C=w&&b,D=!C||P;T&&D&&l.push(...S.map(e=>{let i={type:m};if("string"==typeof e&&n&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=(0,H.K)(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=G(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=(0,H.K)(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),l.push({animation:e})}let m=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(m=!1),n=!1,m?e(l):Promise.resolve()}return{animateChanges:s,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=s(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=tt(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,M.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let tn=0;class tr extends te{constructor(){super(...arguments),this.id=tn++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var ts=i(87261);let to={x:!1,y:!1};var ta=i(56460),tl=i(20129),tu=i(82688),th=i(96384),td=i(71432);function tc(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let tp=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tf(t){return{point:{x:t.pageX,y:t.pageY}}}function tm(t,e,i,n){return tc(t,e,t=>tp(t)&&i(t,tf(t)),n)}var tv=i(36078);function tg(t){return t.max-t.min}function ty(t,e,i,n=.5){t.origin=n,t.originPoint=(0,tu.k)(e.min,e.max,t.origin),t.scale=tg(i)/tg(e),t.translate=(0,tu.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 tx(t,e,i,n){ty(t.x,e.x,i.x,n?n.originX:void 0),ty(t.y,e.y,i.y,n?n.originY:void 0)}function tw(t,e,i){t.min=i.min+e.min,t.max=t.min+tg(e)}function tb(t,e,i){t.min=e.min-i.min,t.max=t.min+tg(e)}function tT(t,e,i){tb(t.x,e.x,i.x),tb(t.y,e.y,i.y)}var tP=i(77724);function tS(t){return[t("x"),t("y")]}var tA=i(3591);let tE=({current:t})=>t?t.ownerDocument.defaultView:null;var tM=i(68523),tV=i(75717),tk=i(53889);let tC=(t,e)=>Math.abs(t-e);class tD{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=tj(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(tC(t.x,e.x)**2+tC(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=tl.uv;this.history.push({...n,timestamp:r});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=tR(e,this.transformPagePoint),tl.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tj("pointercancel"===t.type?this.lastMoveEventInfo:tR(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!tp(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;let o=tR(tf(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=tl.uv;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=e;u&&u(t,tj(o,this.history)),this.removeListeners=(0,tV.F)(tm(this.contextWindow,"pointermove",this.handlePointerMove),tm(this.contextWindow,"pointerup",this.handlePointerUp),tm(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tl.WG)(this.updatePoint)}}function tR(t,e){return e?{point:e(t.point)}:t}function tL(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tj({point:t},e){return{point:t,delta:tL(t,tF(e)),offset:tL(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=tF(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,tk.f)(.1)));)i--;if(!n)return{x:0,y:0};let s=(0,tk.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function tF(t){return t[t.length-1]}var tB=i(23824),tO=i(49724);function tI(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function tW(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function tU(t,e,i){return{min:tN(t,e),max:tN(t,i)}}function tN(t,e){return"number"==typeof t?t:t[e]||0}let t$=new WeakMap;class tH{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,tP.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tf(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(to[t])return null;else return to[t]=!0,()=>{to[t]=!1};return to.x||to.y?null:(to.x=to.y=!0,()=>{to.x=to.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tS(t=>{let e=this.getAxisMotionValue(t).get()||0;if(ta.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
1n&&(e=tg(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tl.Gt.postRender(()=>r(t,e)),(0,tM.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>tS(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new tD(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:tE(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tl.Gt.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!tq(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,tu.k)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,tu.k)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&I(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:tI(t.x,i,r),y:tI(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:tU(t,"left","right"),y:tU(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&tS(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!I(e))return!1;let n=e.current;(0,th.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=(0,tA.L)(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:tW(t.x,s.x),y:tW(t.y,s.y)});if(i){let t=i((0,tv.pA)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,tv.FY)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tS(o=>{if(!tq(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,tM.g)(this.visualElement,t),i.start((0,td.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){tS(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tS(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){tS(e=>{let{drag:i}=this.getProps();if(!tq(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-(0,tu.k)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!I(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};tS(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=tg(t),r=tg(e);return r>n?i=(0,tB.q)(e.min,e.max-n,t.min):n>r&&(i=(0,tB.q)(t.min,t.max-r,e.min)),(0,tO.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),tS(e=>{if(!tq(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,tu.k)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;t$.set(this.visualElement,this);let t=tm(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();I(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),tl.Gt.read(e);let r=tc(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tS(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function tq(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tG extends te{constructor(t){super(t),this.removeGroupControls=ts.l,this.removeListeners=ts.l,this.controls=new tH(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ts.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let tX=t=>(e,i)=>{t&&tl.Gt.postRender(()=>t(e,i))};class tK extends te{constructor(){super(...arguments),this.removePointerDownListener=ts.l}onPointerDown(t){this.session=new tD(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tE(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:tX(t),onStart:tX(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&tl.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tm(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tz=i(67677),tY=i(82444);let tQ={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function t_(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tZ={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!ta.px.test(t))return t;else t=parseFloat(t);let i=t_(t,e.target.x),n=t_(t,e.target.y);return`${i}% ${n}%`}};var tJ=i(57030),t0=i(60295);let t1=!1;class t2 extends n.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;(0,t0.$)(t5),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),t1&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),tQ.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,t1=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||tl.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tz.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;t1=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function t3(t){let[e,i]=(0,tY.xQ)(),r=(0,n.useContext)(u.L);return(0,l.jsx)(t2,{...t,layoutGroup:r,switchLayoutGroup:(0,n.useContext)(U),isPresent:e,safeToRemove:i})}let t5={borderRadius:{...tZ,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tZ,borderTopRightRadius:tZ,borderBottomLeftRadius:tZ,borderBottomRightRadius:tZ,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=tJ.f.parse(t);if(n.length>5)return t;let r=tJ.f.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=(0,tu.k)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};var t9=i(73490),t6=i(31640),t4=i(42197),t7=i(72099),t8=i(54527),et=i(73662),ee=i(9736),ei=i(97888),en=i(75010),er=i(56108),es=i(73502);let eo=(t,e)=>t.depth-e.depth;class ea{constructor(){this.children=[],this.isDirty=!1}add(t){(0,es.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,es.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eo),this.isDirty=!1,this.children.forEac
1h(t)}}var el=i(71102);let eu=["TopLeft","TopRight","BottomLeft","BottomRight"],eh=eu.length,ed=t=>"string"==typeof t?parseFloat(t):t,ec=t=>"number"==typeof t||ta.px.test(t);function ep(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ef=ev(0,.5,el.yT),em=ev(.5,.95,ts.l);function ev(t,e,i){return n=>n<t?0:n>e?1:i((0,tB.q)(t,e,n))}function eg(t,e){t.min=e.min,t.max=e.max}function ey(t,e){eg(t.x,e.x),eg(t.y,e.y)}function ex(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var ew=i(90049);function eb(t,e,i,n,r){return t-=e,t=(0,ew.hq)(t,1/i,n),void 0!==r&&(t=(0,ew.hq)(t,1/r,n)),t}function eT(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(ta.KN.test(e)&&(e=parseFloat(e),e=(0,tu.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tu.k)(s.min,s.max,n);t===s&&(a-=e),t.min=eb(t.min,e,i,a,r),t.max=eb(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let eP=["x","scaleX","originX"],eS=["y","scaleY","originY"];function eA(t,e,i,n){eT(t.x,e,eP,i?i.x:void 0,n?n.x:void 0),eT(t.y,e,eS,i?i.y:void 0,n?n.y:void 0)}function eE(t){return 0===t.translate&&1===t.scale}function eM(t){return eE(t.x)&&eE(t.y)}function eV(t,e){return t.min===e.min&&t.max===e.max}function ek(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function eC(t,e){return ek(t.x,e.x)&&ek(t.y,e.y)}function eD(t){return tg(t.x)/tg(t.y)}function eR(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class eL{constructor(){this.members=[]}add(t){(0,es.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,es.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){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var ej=i(86476);let eF={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eB=["","X","Y","Z"],eO=0;function eI(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function eW({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=eO++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,t9.Q.value&&(eF.nodes=eF.calculatedTargetDeltas=eF.calculatedProjections=0),this.nodes.forEach(e$),this.nodes.forEach(eY),this.nodes.forEach(eQ),this.nodes.forEach(eH),t9.Q.addProjectionMetrics&&t9.Q.addProjectionMetrics(eF)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new ea)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new ei.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,t6.x)(e)&&!(0,t4.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;tl.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=t8.k.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,tl.WG)(n),t(r-250))};return tl.Gt.setup(n,!0),()=>(0,tl.WG)(n)}(r,250),tQ.hasAnimatedSinceResize&&(tQ.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(ez)))})}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()||e2,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!eC(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,t7.r)(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||ez(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,tl.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(e_),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,er.P)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tl.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,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()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eG);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(eX);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eK),this.nodes.forEach(eU),this.nodes.forEach(eN)):this.nodes.forEach(eX),this.clearAllSnapshots();let t=t8.k.now();tl.uv.delta=(0,tO.q)(0,1e3/60,t-tl.uv.timestamp),tl.uv.timestamp=t,tl.uv.isProcessing=!0,tl.PP.update.process(tl.uv),tl.PP.preRender.process(tl.uv),tl.PP.render.process(tl.uv),tl.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tz.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eq),this.sharedNodes.forEach(eZ)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tl.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tl.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tg(this.snapshot.measuredBox.x)||tg(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.layoutCorrected=(0,tP.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&&!eM(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,ej.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)),e9((e=n).x),e9(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,tP.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(e4))){let{scroll:t}=this.root;t&&((0,ew.Ql)(e.x,t.offset.x),(0,ew.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,tP.ge)();if(ey(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&&ey(e,t),(0,ew.Ql)(e.x,r.offset.x),(0,ew.Ql)(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=(0,tP.ge)();ey(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,ew.Ww)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,ej.HD)(n.latestValues)&&(0,ew.Ww)(i,n.latestValues)}return(0,ej.HD)(this.latestValues)&&(0,ew.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,tP.ge)();ey(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,ej.HD)(i.latestValues))continue;(0,ej.vk)(i.latestValues)&&i.updateSnapshot();let n=(0,tP.ge)();ey(n,i.measurePageBox()),eA(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,ej.HD)(this.latestValues)&&eA(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!==tl.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)){if(this.resolvedRelativeTargetAt=tl.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tP.ge)(),this.relativeTargetOrigin=(0,tP.ge)(),tT(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ey(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,tP.ge)(),this.targetWithTransforms=(0,tP.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,tw(s.x,o.x,a.x),tw(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ey(this.target,this.layout.layoutBox),(0,ew.o4)(this.target,this.targetDelta)):ey(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tP.ge)(),this.relativeTargetOrigin=(0,tP.ge)(),tT(this.relativeTargetOrigin,this.target,t.target),ey(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}t9.Q.value&&eF.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,ej.vk)(this.parent.latestValues)||(0,ej.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)}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===tl.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;ey(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;(0,ew.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,tP.ge)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ex(this.prevProjectionDelta.x,this.projectionDelta.x),ex(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tx(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&eR(this.projectionDelta.x,this.prevProjectionDelta.x)&&eR(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),t9.Q.value&&eF.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,tP.xU)(),this.projectionDelta=(0,tP.xU)(),this.projectionDeltaWithTransform=(0,tP.xU)()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=(0,tP.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,tP.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(e1));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(eJ(o.x,t.x,n),eJ(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,f,m,v;tT(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,v=n,e0(p.x,f.x,m.x,v),e0(p.y,f.y,m.y,v),i&&(u=this.relativeTarget,c=i,eV(u.x,c.x)&&eV(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=(0,tP.ge)()),ey(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,tu.k)(0,i.opacity??1,ef(n)),t.opacityExit=(0,tu.k)(e.opacity??1,0,em(n))):s&&(t.opacity=(0,tu.k)(e.opacity??1,i.opacity??1,n));for(let r=0;r<eh;r++){let s=`border${eu[r]}Radius`,o=ep(e,s),a=ep(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||ec(o)===ec(a)?(t[s]=Math.max((0,tu.k)(ed(o),ed(a),n),0),(ta.KN.test(a)||ta.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,tu.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,tl.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tl.Gt.update(()=>{tQ.hasAnimatedSinceResize=!0,et.q.layout++,this.motionValue||(this.motionValue=(0,ee.OQ)(0)),this.currentAnimation=(0,en.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{et.q.layout--},onComplete:()=>{et.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&&e6(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,tP.ge)();let e=tg(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=tg(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}ey(e,i),(0,ew.Ww)(e,r),tx(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eL),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&&eI("z",t,n,this.animationValues);for(let e=0;e<eB.length;e++)eI(`rotate${eB[e]}`,t,n,this.animationValues),eI(`skew${eB[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=D(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=D(e?.pointerEvents)||""),this.hasProjected&&!(0,ej.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,t0.H){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=t0.H[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?D(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eG),this.root.sharedNodes.clear()}}}function eU(t){t.updateLayout()}function eN(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;"size"===r?tS(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=tg(n);n.min=i[t].min,n.max=n.min+r}):e6(r,e.layoutBox,i)&&tS(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=tg(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,tP.xU)();tx(o,i,e.layoutBox);let a=(0,tP.xU)();s?tx(a,t.applyTransform(n,!0),e.measuredBox):tx(a,i,e.layoutBox);let l=!eM(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=(0,tP.ge)();tT(o,e.layoutBox,r.layoutBox);let a=(0,tP.ge)();tT(a,i,s.layoutBox),eC(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function e$(t){t9.Q.value&&eF.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 eH(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eq(t){t.clearSnapshot()}function eG(t){t.clearMeasurements()}function eX(t){t.isLayoutDirty=!1}function eK(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ez(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eY(t){t.resolveTargetDelta()}function eQ(t){t.calcProjection()}function e_(t){t.resetSkewAndRotation()}function eZ(t){t.removeLeadSnapshot()}function eJ(t,e,i){t.translate=(0,tu.k)(e.translate,0,i),t.scale=(0,tu.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function e0(t,e,i,n){t.min=(0,tu.k)(e.min,i.min,n),t.max=(0,tu.k)(e.max,i.max,n)}function e1(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let e2={duration:.45,ease:[.4,0,.1,1]},e3=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),e5=e3("applewebkit/")&&!e3("chrome/")?Math.round:ts.l;function e9(t){t.min=e5(t.min),t.max=e5(t.max)}function e6(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(eD(e)-eD(i)))}function e4(t){return t!==t.root&&t.scroll?.wasRoot}let e7=eW({attachResizeListener:(t,e)=>tc(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),e8={current:void 0},it=eW({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!e8.current){let t=new e7({});t.mount(window),t.setOptions({layoutScroll:!0}),e8.current=t}return e8.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var ie=i(50636);function ii(t,e){let i=(0,ie.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function ir(t){return!("touch"===t.pointerType||to.x||to.y)}function is(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tl.Gt.postRender(()=>r(e,tf(e)))}class io extends te{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=ii(t,i),o=t=>{if(!ir(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{ir(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",o,r)}),s}(t,(t,e)=>(is(this.node,e,"Start"),t=>is(this.node,t,"End"))))}unmount(){}}class ia extends te{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,tV.F)(tc(this.node.current,"focus",()=>this.onFocus()),tc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var il=i(73337);let iu=(t,e)=>!!e&&(t===e||iu(t,e.parentElement)),ih=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),id=new WeakSet;function ic(t){return e=>{"Enter"===e.key&&t(e)}}function ip(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function im(t){return tp(t)&&!(to.x||to.y)}function iv(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&&tl.Gt.postRender(()=>r(e,tf(e)))}class ig extends te{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=ii(t,i),o=t=>{let n=t.currentTarget;if(!im(t))return;id.add(n);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),id.has(n)&&id.delete(n),im(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||iu(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};
1return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),(0,il.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=ic(()=>{if(id.has(i))return;ip(i,"down");let t=ic(()=>{ip(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>ip(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),ih.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(iv(this.node,e,"Start"),(t,{success:e})=>iv(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let iy=new WeakMap,ix=new WeakMap,iw=t=>{let e=iy.get(t.target);e&&e(t)},ib=t=>{t.forEach(iw)},iT={some:0,all:1};class iP extends te{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:iT[n]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};var a=this.node.current;let l=function({root:t,...e}){let i=t||document;ix.has(i)||ix.set(i,{});let n=ix.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(ib,{root:t,...e})),n[r]}(s);return iy.set(a,o),l.observe(a),()=>{iy.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let iS=function(t,e){if("undefined"==typeof Proxy)return $;let i=new Map,n=(i,n)=>$(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,$(s,void 0,t,e)),i.get(s))})}({animation:{Feature:ti},exit:{Feature:tr},inView:{Feature:iP},tap:{Feature:ig},focus:{Feature:ia},hover:{Feature:io},pan:{Feature:tK},drag:{Feature:tG,ProjectionNode:it,MeasureLayout:t3},layout:{ProjectionNode:it,MeasureLayout:t3}},(t,e)=>a(t)?new s.l(e):new r.M(e,{allowProjection:t!==n.Fragment}))},22392:(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}},23635:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(83396).U])},23824:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},24119:(t,e,i)=>{i.d(e,{h:()=>n});let n=t=>Array.isArray(t)&&"number"!=typeof t[0]},28581:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},29171:(t,e,i)=>{i.d(e,{J:()=>o});var n=i(57030),r=i(18213),s=i(57892);function o(t,e){let i=(0,s.D)(t);return i!==r.p&&(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},29273:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>r,hs:()=>o});var n=i(49724);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.q)(0,1,t)},o={...r,default:1}},30943:(t,e,i)=>{i.d(e,{l:()=>p});var n=i(83396),r=i(57892),s=i(77724),o=i(62729),a=i(16740),l=i(44934);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(62405),d=i(95030),c=i(94665);class p extends o.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.f.has(e)){let t=(0,r.D)(e);return t&&t.default||0}return e=u.has(e)?e:(0,a.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,c.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in(0,d.e)(t,e,void 0,n),e.attrs)t.setAttribute(u.has(i)?i:(0,a.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,h.n)(t.tagName),super.mount(t)}}}
1,31640:(t,e,i)=>{i.d(e,{x:()=>r});var n=i(75997);function r(t){return(0,n.G)(t)&&"ownerSVGElement"in t}},31685:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(32542);let r={test:(0,i(91390).$)("#"),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}},32542:(t,e,i)=>{i.d(e,{B:()=>l});var n=i(49724),r=i(29273),s=i(58951),o=i(91390);let a={...r.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},32618:(t,e,i)=>{i.d(e,{E4:()=>a,Hr:()=>d,W9:()=>h});var n=i(82302),r=i(83396),s=i(29273),o=i(56460);let a=t=>t===s.ai||t===o.px,l=new Set(["x","y","z"]),u=r.U.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-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},33750:(t,e,i)=>{i.d(e,{U:()=>n,_:()=>r});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},36078:(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})},39663:(t,e,i)=>{i.d(e,{w:()=>n});function n(t){return"string"==typeof t||Array.isArray(t)}},39743:(t,e,i)=>{i.d(e,{M:()=>d});var n=i(83396),r=i(82302),s=i(64340),o=i(3591),a=i(62729),l=i(98938),u=i(95030),h=i(79624);class d extends a.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(t,e){if(n.f.has(e))return this.projection?.isProjecting?(0,r.zs)(e):(0,r.Ib)(t,e);{let i=window.getComputedStyle(t),n=((0,s.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,o.m)(t,e)}build(t,e,i){(0,l.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,h.x)(t,e,i)}}},41128:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>d});var n=i(32618),r=i(20129);let s=new Set,o=!1,a=!1,l=!1;function u(){if(a){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,s.forEach(t=>t.complete(l)),s.clear()}function h(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function d(){l=!0,h(),u(),l=!1}class c{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),o||(o=!0,r.Gt.read(h),r.Gt.resolveKeyframes(u))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},42197:(t,e,i)=>{i.d(e,{h:()=>r});var n=i(31640);function r(t){return(0,n.x)(t)&&"svg"===t.tagName}},44934:(t,e,i)=>{i.d(e,{B:()=>a});var n=i(98938),r=i(56460);let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"};function a(t,{attrX:e,attrY:i,attrScale:a,pathLength:l,pathSpacing:u=1,pathOffset:h=0,...d}
1,c,p,f){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:m,style:v}=t;m.transform&&(v.transform=m.transform,delete m.transform),(v.transform||m.transformOrigin)&&(v.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),v.transform&&(v.transformBox=f?.transformBox??"fill-box",delete m.transformBox),void 0!==e&&(m.x=e),void 0!==i&&(m.y=i),void 0!==a&&(m.scale=a),void 0!==l&&function(t,e,i=1,n=0,a=!0){t.pathLength=1;let l=a?s:o;t[l.offset]=r.px.transform(-n);let u=r.px.transform(e),h=r.px.transform(i);t[l.array]=`${u} ${h}`}(m,l,u,h,!1)}},47821:(t,e,i)=>{i.d(e,{K:()=>r});var n=i(85497);function r(t,e,i){let r=t.getProps();return(0,n.a)(r,e,void 0!==i?i:r.custom,t)}},49724:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i},50636:(t,e,i)=>{i.d(e,{K:()=>n});function n(t,e,i){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)}},50851:(t,e,i)=>{i.d(e,{O:()=>a,e:()=>o});var n=i(8230),r=i(39663),s=i(33750);function o(t){return(0,n.N)(t.animate)||s._.some(e=>(0,r.w)(t[e]))}function a(t){return!!(o(t)||t.variants)}},53261:(t,e,i)=>{i.d(e,{o:()=>m});var n=i(49724),r=i(53889),s=i(56111),o=i(22392),a=i(16234),l=i(19027);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};var h=i(96384);function d(t,e){return t*Math.sqrt(1-e*e)}let c=["duration","bounce"],p=["stiffness","damping","mass"];function f(t,e){return e.some(e=>void 0!==t[e])}function m(t=u.visualDuration,e=u.bounce){let i,a="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:v,restDelta:g}=a,y=a.keyframes[0],x=a.keyframes[a.keyframes.length-1],w={done:!1,value:y},{stiffness:b,damping:T,mass:P,duration:S,velocity:A,isResolvedFromDuration:E}=function(t){let e={velocity:u.velocity,stiffness:u.stiffness,damping:u.damping,mass:u.mass,isResolvedFromDuration:!1,...t};if(!f(t,p)&&f(t,c))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*(0,n.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:u.mass,stiffness:r,damping:s}}else{let i=function({duration:t=u.duration,bounce:e=u.bounce,velocity:i=u.velocity,mass:s=u.mass}){let o,a;(0,h.$)(t<=(0,r.f)(u.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-e;l=(0,n.q)(u.minDamping,u.maxDamping,l),t=(0,n.q)(u.minDuration,u.maxDuration,(0,r.X)(t)),l<1?(o=e=>{let n=e*l,r=n*t;return .001-(n-i)/d(e,l)*Math.exp(-r)},a=e=>{let n=e*l*t,r=Math.pow(l,2)*Math.pow(e,2)*t,s=Math.exp(-n),a=d(Math.pow(e,2),l);return(n*i+i-r)*s*(-o(e)+.001>0?-1:1)/a}):(o=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=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,a,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)*s;return{stiffness:e,damping:2*l*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:u.mass}).isResolvedFromDuration=!0}return e}({...a,velocity:-(0,r.X)(a.velocity||0)}),M=A||0,V=T/(2*Math.sqrt(b*P)),k=x-y,C=(0,r.X)(Math.sqrt(b/P)),D=5>Math.abs(k);if(v||(v=D?u.restSpeed.granular:u.restSpeed.default),g||(g=D?u.restDelta.granular:u.restDelta.default),V<1){let t=d(C,V);i=e=>x-Math.exp(-V*C*e)*((M+V*C*k)/t*Math.sin(t*e)+k*Math.cos(t*e))}else if(1===V)i=t=>x-Math.exp(-C*t)*(k+(M+C*k)*t);else{let t=C*Math.sqrt(V*V-1);i=e=>{let i=Math.exp(-V*C*e),n=Math.min(t*e,300);return x-i*((M+V*C*k)*Math.sinh(n)+t*k*Math.cosh(n))/t}}let R={calculatedDuration:E&&S||null,next:t=>{let e=i(t);if(E)w.done=t>=S;else{let n=0===t?M:0;V<1&&(n=0===t?(0,r.f)(M):(0,l.Y)(i,t,e));let s=Math.abs(x-e)<=g;w.done=Math.abs(n)<=v&&s}return w.value=w.done?x:e,w},toString:()=>{let t=Math.min((0,o.t)(R),o.Y),e=(0,s.K)(e=>R.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return R}m.applyToOptions=t=>{let e=(0,a.X)(t,100,m);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}},53889:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},54527:(t,e,i)=>{let n;i.d(e,{k:()=>a});var r=i(28581),s=i(20129);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set
1:t=>{n=t,queueMicrotask(o)}}},56108:(t,e,i)=>{i.d(e,{P:()=>r});var n=i(90266);function r(t){return t.props[n.n]}},56111:(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)})`}},56460:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>u,px:()=>o,uj:()=>r,vh:()=>a,vw:()=>l});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},57030:(t,e,i)=>{i.d(e,{V:()=>h,f:()=>f});var n=i(62234);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(11016),o=i(58951);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(n.y.test(t)?(r.color.push(o),s.push(l),i.push(n.y.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function d(t){return h(t).values}function c(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let s="";for(let u=0;u<r;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===a?s+=(0,o.a)(t[u]):e===l?s+=n.y.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:n.y.test(t)?n.y.getAnimatableNone(t):t,f={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(r)?.length||0)>0},parse:d,createTransformer:c,getAnimatableNone:function(t){let e=d(t);return c(t)(e.map(p))}}},57680:(t,e,i)=>{i.d(e,{UE:()=>tk,RK:()=>tA,ll:()=>tT,rD:()=>tC,__:()=>tP,UU:()=>tM,jD:()=>tV,cY:()=>tS,BN:()=>tE});let n=["top","right","bottom","left"],r=n.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),s=Math.min,o=Math.max,a=Math.round,l=Math.floor,u=t=>({x:t,y:t}),h={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function c(t,e){return"function"==typeof t?t(e):t}function p(t){return t.split("-")[0]}function f(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function v(t){return"y"===t?"height":"width"}let g=new Set(["top","bottom"]);function y(t){return g.has(p(t))?"y":"x"}function x(t,e,i){void 0===i&&(i=!1);let n=f(t),r=m(y(t)),s=v(r),o="x"===r?n===(i?"end":"start")?"right":"left":"start"===n?"bottom":"top";return e.reference[s]>e.floating[s]&&(o=A(o)),[o,A(o)]}function w(t){return t.replace(/start|end/g,t=>d[t])}let b=["left","right"],T=["right","left"],P=["top","bottom"],S=["bottom","top"];function A(t){return t.replace(/left|right|bottom|top/g,t=>h[t])}function E(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function M(t){let{x:e,y:i,width:n,height:r}=t;return{width:n,height:r,top:i,left:e,right:e+n,bottom:i+r,x:e,y:i}}function V(t,e,i){let n,{reference:r,floating:s}=t,o=y(e),a=m(y(e)),l=v(a),u=p(e),h="y"===o,d=r.x+r.width/2-s.width/2,c=r.y+r.height/2-s.height/2,g=r[l]/2-s[l]/2;switch(u){case"top":n={x:d,y:r.y-s.height};break;case"bottom":n={x:d,y:r.y+r.height};break;case"right":n={x:r.x+r.width,y:c};break;case"left":n={x:r.x-s.width,y:c};break;default:n={x:r.x,y:r.y}}switch(f(e)){case"start":n[a]-=g*(i&&h?-1:1);break;case"end":n[a]+=g*(i&&h?-1:1)}return n}let k=async(t,e,i)=>{let{placement:n="bottom",strategy:r="absolute",middleware:s=[],platform:o}=i,a=s.filter(Boolean),l=await (null==o.isRTL?void 0:o.isRTL(e)),u=await o.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:d}=V(u,n,l),c=n,p={},f=0;for(let i=0;i<a.length;i++){let{name:s,fn:m}=a[i],{x:v,y:g,data:y,reset:x}=await m({x:h,y:d,initialPlacement:n,placement:c,strategy:r,middlewareData:p,rects:u,platform:o,elements:{reference:t,floating:e}});h=null!=v?v:h,d=null!=g?g:d,p={...p,[s]:{...p[s],...y}},x&&f<=50&&(f++,"object"==typeof x&&(x.placement&&(c=x.placement),x.rects&&(u=!0===x.rects?await o.getElementRects({reference:t,floating:e,strategy:r}):x.rects),{x:h,y:d}=V(u,c,l)),i=-1)}return{x:h,y:d,placement:c,strategy:r,middlewareData:p}};async function C(t,e){var i;void 0===e&&(e={});let{x:n,y:r,platform:s,rects:o,elements:a,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=c(e,t),m=E(f),v=a[p?"floating"===d?"reference":"floating":d],g=M(await s.getClippingRect
1({element:null==(i=await (null==s.isElement?void 0:s.isElement(v)))||i?v:v.contextElement||await (null==s.getDocumentElement?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:h,strategy:l})),y="floating"===d?{x:n,y:r,width:o.floating.width,height:o.floating.height}:o.reference,x=await (null==s.getOffsetParent?void 0:s.getOffsetParent(a.floating)),w=await (null==s.isElement?void 0:s.isElement(x))&&await (null==s.getScale?void 0:s.getScale(x))||{x:1,y:1},b=M(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:l}):y);return{top:(g.top-b.top+m.top)/w.y,bottom:(b.bottom-g.bottom+m.bottom)/w.y,left:(g.left-b.left+m.left)/w.x,right:(b.right-g.right+m.right)/w.x}}function D(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function R(t){return n.some(e=>t[e]>=0)}let L=new Set(["left","top"]);async function j(t,e){let{placement:i,platform:n,elements:r}=t,s=await (null==n.isRTL?void 0:n.isRTL(r.floating)),o=p(i),a=f(i),l="y"===y(i),u=L.has(o)?-1:1,h=s&&l?-1:1,d=c(e,t),{mainAxis:m,crossAxis:v,alignmentAxis:g}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof g&&(v="end"===a?-1*g:g),l?{x:v*h,y:m*u}:{x:m*u,y:v*h}}function F(){return"undefined"!=typeof window}function B(t){return W(t)?(t.nodeName||"").toLowerCase():"#document"}function O(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function I(t){var e;return null==(e=(W(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function W(t){return!!F()&&(t instanceof Node||t instanceof O(t).Node)}function U(t){return!!F()&&(t instanceof Element||t instanceof O(t).Element)}function N(t){return!!F()&&(t instanceof HTMLElement||t instanceof O(t).HTMLElement)}function $(t){return!!F()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof O(t).ShadowRoot)}let H=new Set(["inline","contents"]);function q(t){let{overflow:e,overflowX:i,overflowY:n,display:r}=te(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+i)&&!H.has(r)}let G=new Set(["table","td","th"]),X=[":popover-open",":modal"];function K(t){return X.some(e=>{try{return t.matches(e)}catch(t){return!1}})}let z=["transform","translate","scale","rotate","perspective"],Y=["transform","translate","scale","rotate","perspective","filter"],Q=["paint","layout","strict","content"];function _(t){let e=Z(),i=U(t)?te(t):t;return z.some(t=>!!i[t]&&"none"!==i[t])||!!i.containerType&&"normal"!==i.containerType||!e&&!!i.backdropFilter&&"none"!==i.backdropFilter||!e&&!!i.filter&&"none"!==i.filter||Y.some(t=>(i.willChange||"").includes(t))||Q.some(t=>(i.contain||"").includes(t))}function Z(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let J=new Set(["html","body","#document"]);function tt(t){return J.has(B(t))}function te(t){return O(t).getComputedStyle(t)}function ti(t){return U(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function tn(t){if("html"===B(t))return t;let e=t.assignedSlot||t.parentNode||$(t)&&t.host||I(t);return $(e)?e.host:e}function tr(t,e,i){var n;void 0===e&&(e=[]),void 0===i&&(i=!0);let r=function t(e){let i=tn(e);return tt(i)?e.ownerDocument?e.ownerDocument.body:e.body:N(i)&&q(i)?i:t(i)}(t),s=r===(null==(n=t.ownerDocument)?void 0:n.body),o=O(r);if(s){let t=ts(o);return e.concat(o,o.visualViewport||[],q(r)?r:[],t&&i?tr(t):[])}return e.concat(r,tr(r,[],i))}function ts(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function to(t){let e=te(t),i=parseFloat(e.width)||0,n=parseFloat(e.height)||0,r=N(t),s=r?t.offsetWidth:i,o=r?t.offsetHeight:n,l=a(i)!==s||a(n)!==o;return l&&(i=s,n=o),{width:i,height:n,$:l}}function ta(t){return U(t)?t:t.contextElement}function tl(t){let e=ta(t);if(!N(e))return u(1);let i=e.getBoundingClientRect(),{width:n,height:r,$:s}=to(e),o=(s?a(i.width):i.width)/n,l=(s?a(i.height):i.height)/r;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}let tu=u(0);function th(t){let e=O(t);
1return Z()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tu}function td(t,e,i,n){var r;void 0===e&&(e=!1),void 0===i&&(i=!1);let s=t.getBoundingClientRect(),o=ta(t),a=u(1);e&&(n?U(n)&&(a=tl(n)):a=tl(t));let l=(void 0===(r=i)&&(r=!1),n&&(!r||n===O(o))&&r)?th(o):u(0),h=(s.left+l.x)/a.x,d=(s.top+l.y)/a.y,c=s.width/a.x,p=s.height/a.y;if(o){let t=O(o),e=n&&U(n)?O(n):n,i=t,r=ts(i);for(;r&&n&&e!==i;){let t=tl(r),e=r.getBoundingClientRect(),n=te(r),s=e.left+(r.clientLeft+parseFloat(n.paddingLeft))*t.x,o=e.top+(r.clientTop+parseFloat(n.paddingTop))*t.y;h*=t.x,d*=t.y,c*=t.x,p*=t.y,h+=s,d+=o,r=ts(i=O(r))}}return M({width:c,height:p,x:h,y:d})}function tc(t,e){let i=ti(t).scrollLeft;return e?e.left+i:td(I(t)).left+i}function tp(t,e,i){void 0===i&&(i=!1);let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-(i?0:tc(t,n)),y:n.top+e.scrollTop}}let tf=new Set(["absolute","fixed"]);function tm(t,e,i){let n;if("viewport"===e)n=function(t,e){let i=O(t),n=I(t),r=i.visualViewport,s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;let t=Z();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a,y:l}}(t,i);else if("document"===e)n=function(t){let e=I(t),i=ti(t),n=t.ownerDocument.body,r=o(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=o(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-i.scrollLeft+tc(t),l=-i.scrollTop;return"rtl"===te(n).direction&&(a+=o(e.clientWidth,n.clientWidth)-r),{width:r,height:s,x:a,y:l}}(I(t));else if(U(e))n=function(t,e){let i=td(t,!0,"fixed"===e),n=i.top+t.clientTop,r=i.left+t.clientLeft,s=N(t)?tl(t):u(1),o=t.clientWidth*s.x,a=t.clientHeight*s.y;return{width:o,height:a,x:r*s.x,y:n*s.y}}(e,i);else{let i=th(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return M(n)}function tv(t){return"static"===te(t).position}function tg(t,e){if(!N(t)||"fixed"===te(t).position)return null;if(e)return e(t);let i=t.offsetParent;return I(t)===i&&(i=i.ownerDocument.body),i}function ty(t,e){var i;let n=O(t);if(K(t))return n;if(!N(t)){let e=tn(t);for(;e&&!tt(e);){if(U(e)&&!tv(e))return e;e=tn(e)}return n}let r=tg(t,e);for(;r&&(i=r,G.has(B(i)))&&tv(r);)r=tg(r,e);return r&&tt(r)&&tv(r)&&!_(r)?n:r||function(t){let e=tn(t);for(;N(e)&&!tt(e);){if(_(e))return e;if(K(e))break;e=tn(e)}return null}(t)||n}let tx=async function(t){let e=this.getOffsetParent||ty,i=this.getDimensions,n=await i(t.floating);return{reference:function(t,e,i){let n=N(e),r=I(e),s="fixed"===i,o=td(t,!0,s,e),a={scrollLeft:0,scrollTop:0},l=u(0);if(n||!n&&!s)if(("body"!==B(e)||q(r))&&(a=ti(e)),n){let t=td(e,!0,s,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=tc(r));s&&!n&&r&&(l.x=tc(r));let h=!r||n||s?u(0):tp(r,a);return{x:o.left+a.scrollLeft-l.x-h.x,y:o.top+a.scrollTop-l.y-h.y,width:o.width,height:o.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},tw={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:i,offsetParent:n,strategy:r}=t,s="fixed"===r,o=I(n),a=!!e&&K(e.floating);if(n===o||a&&s)return i;let l={scrollLeft:0,scrollTop:0},h=u(1),d=u(0),c=N(n);if((c||!c&&!s)&&(("body"!==B(n)||q(o))&&(l=ti(n)),N(n))){let t=td(n);h=tl(n),d.x=t.x+n.clientLeft,d.y=t.y+n.clientTop}let p=!o||c||s?u(0):tp(o,l,!0);return{width:i.width*h.x,height:i.height*h.y,x:i.x*h.x-l.scrollLeft*h.x+d.x+p.x,y:i.y*h.y-l.scrollTop*h.y+d.y+p.y}},getDocumentElement:I,getClippingRect:function(t){let{element:e,boundary:i,rootBoundary:n,strategy:r}=t,a=[..."clippingAncestors"===i?K(e)?[]:function(t,e){let i=e.get(t);if(i)return i;let n=tr(t,[],!1).filter(t=>U(t)&&"body"!==B(t)),r=null,s="fixed"===te(t).position,o=s?tn(t):t;for(;U(o)&&!tt(o);){let e=te(o),i=_(o);i||"fixed"!==e.position||(r=null),(s?!i&&!r:!i&&"static"===e.position&&!!r&&tf.has(r.position)||q(o)&&!i&&function t(e,i){let n=tn(e);return!(n===i||!U(n)||tt(n))&&("fixed"===te(n).position||t(n,i))}(t,o))?n=n.filter(t=>t!==o):r=e,o=tn(o)}return e.set(t,n),n}(e,this._c):[].concat(i),n],l=a[0],u=a.reduce((t,i)=>{let n=tm(e,i,r);return t.top=o(n.top,t.top),t.right=s(n.right,t.right),t.bottom=s(n.bottom,t.bottom),t.left=o(n.left,t.left),t},tm(e,l,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ty,getElementRects:tx,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:i}=to(t);return{width:e,height:i}},getScale:tl,isElement:U,isRTL:function(t){return"rtl"===te(t).direction}};function tb(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tT(t,e,i,n){let r;void 0===n&&(n={});let{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:h="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,p=ta(t),f=a||u?[...p?tr(p):[],...tr(e)]:[];f.forEach(t=>{a&&t.addEventListener("scroll",i,{passive:!0}),u&&t.addEventListener("resize",i)});let m=p&&d?function(t,e){let i,n=null,r=I(t);function a(){var t;clearTimeout(i),null==(t=n)||t.disconnect(),n=null}return!function u(h,d){void 0===h&&(h=!1),void 0===d&&(d=1),a();let c=t.getBoundingClientRect(),{left:p,top:f,width:m,height:v}=c;if(h||e(),!m||!v)return;let g=l(f),y=l(r.clientWidth-(p+m)),x={rootMargin:-g+"px "+-y+"px "+-l(r.clientHeight-(f+v))+"px "+-l(p)+"px",threshold:o(0,s(1,d))||1},w=!0;function b(e){let n=e[0].intersectionRatio;if(n!==d){if(!w)return u();n?u(!1,n):i=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==n||tb(c,t.getBoundingClientRect())||u(),w=!1}try{n=new IntersectionObserver(b,{...x,root:r.ownerDocument})}catch(t){n=new IntersectionObserver(b,x)}n.observe(t)}(!0),a}(p,i):null,v=-1,g=null;h&&(g=new ResizeObserver(t=>{let[n]=t;n&&n.target===p&&g&&(g.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var t;null==(t=g)||t.observe(e)})),i()}),p&&!c&&g.observe(p),g.observe(e));let y=c?td(t):null;return c&&function e(){let n=td(t);y&&!tb(y,n)&&i(),y=n,r=requestAnimationFrame(e)}(),i(),()=>{var t;f.forEach(t=>{a&&t.removeEventListener("scroll",i),u&&t.removeEventListener("resize",i)}),null==m||m(),null==(t=g)||t.disconnect(),g=null,c&&cancelAnimationFrame(r)}}let tP=C,tS=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var i,n;let{x:r,y:s,placement:o,middlewareData:a}=e,l=await j(e,t);return o===(null==(i=a.offset)?void 0:i.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+l.x,y:s+l.y,data:{...l,placement:o}}}}},tA=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var i,n,s,o;let{rects:a,middlewareData:l,placement:u,platform:h,elements:d}=e,{crossAxis:m=!1,alignment:v,allowedPlacements:g=r,autoAlignment:y=!0,...b}=c(t,e),T=void 0!==v||g===r?((o=v||null)?[...g.filter(t=>
1f(t)===o),...g.filter(t=>f(t)!==o)]:g.filter(t=>p(t)===t)).filter(t=>!o||f(t)===o||!!y&&w(t)!==t):g,P=await C(e,b),S=(null==(i=l.autoPlacement)?void 0:i.index)||0,A=T[S];if(null==A)return{};let E=x(A,a,await (null==h.isRTL?void 0:h.isRTL(d.floating)));if(u!==A)return{reset:{placement:T[0]}};let M=[P[p(A)],P[E[0]],P[E[1]]],V=[...(null==(n=l.autoPlacement)?void 0:n.overflows)||[],{placement:A,overflows:M}],k=T[S+1];if(k)return{data:{index:S+1,overflows:V},reset:{placement:k}};let D=V.map(t=>{let e=f(t.placement);return[t.placement,e&&m?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),R=(null==(s=D.filter(t=>t[2].slice(0,f(t[0])?2:3).every(t=>t<=0))[0])?void 0:s[0])||D[0][0];return R!==u?{data:{index:S+1,overflows:V},reset:{placement:R}}:{}}}},tE=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:i,y:n,placement:r}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:u={fn:t=>{let{x:e,y:i}=t;return{x:e,y:i}}},...h}=c(t,e),d={x:i,y:n},f=await C(e,h),v=y(p(r)),g=m(v),x=d[g],w=d[v];if(a){let t="y"===g?"top":"left",e="y"===g?"bottom":"right",i=x+f[t],n=x-f[e];x=o(i,s(x,n))}if(l){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",i=w+f[t],n=w-f[e];w=o(i,s(w,n))}let b=u.fn({...e,[g]:x,[v]:w});return{...b,data:{x:b.x-i,y:b.y-n,enabled:{[g]:a,[v]:l}}}}}},tM=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var i,n,r,s,o;let{placement:a,middlewareData:l,rects:u,initialPlacement:h,platform:d,elements:m}=e,{mainAxis:v=!0,crossAxis:g=!0,fallbackPlacements:E,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:V="none",flipAlignment:k=!0,...D}=c(t,e);if(null!=(i=l.arrow)&&i.alignmentOffset)return{};let R=p(a),L=y(h),j=p(h)===h,F=await (null==d.isRTL?void 0:d.isRTL(m.floating)),B=E||(j||!k?[A(h)]:function(t){let e=A(t);return[w(t),e,w(e)]}(h)),O="none"!==V;!E&&O&&B.push(...function(t,e,i,n){let r=f(t),s=function(t,e,i){switch(t){case"top":case"bottom":if(i)return e?T:b;return e?b:T;case"left":case"right":return e?P:S;default:return[]}}(p(t),"start"===i,n);return r&&(s=s.map(t=>t+"-"+r),e&&(s=s.concat(s.map(w)))),s}(h,k,V,F));let I=[h,...B],W=await C(e,D),U=[],N=(null==(n=l.flip)?void 0:n.overflows)||[];if(v&&U.push(W[R]),g){let t=x(a,u,F);U.push(W[t[0]],W[t[1]])}if(N=[...N,{placement:a,overflows:U}],!U.every(t=>t<=0)){let t=((null==(r=l.flip)?void 0:r.index)||0)+1,e=I[t];if(e&&("alignment"!==g||L===y(e)||N.every(t=>y(t.placement)!==L||t.overflows[0]>0)))return{data:{index:t,overflows:N},reset:{placement:e}};let i=null==(s=N.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:s.placement;if(!i)switch(M){case"bestFit":{let t=null==(o=N.filter(t=>{if(O){let e=y(t.placement);return e===L||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:o[0];t&&(i=t);break}case"initialPlacement":i=h}if(a!==i)return{reset:{placement:i}}}return{}}}},tV=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:i}=e,{strategy:n="referenceHidden",...r}=c(t,e);switch(n){case"referenceHidden":{let t=D(await C(e,{...r,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:R(t)}}}case"escaped":{let t=D(await C(e,{...r,altBoundary:!0}),i.floating);return{data:{escapedOffsets:t,escaped:R(t)}}}default:return{}}}}},tk=t=>({name:"arrow",options:t,async fn(e){let{x:i,y:n,placement:r,rects:a,platform:l,elements:u,middlewareData:h}=e,{element:d,padding:p=0}=c(t,e)||{};if(null==d)return{};let g=E(p),x={x:i,y:n},w=m(y(r)),b=v(w),T=await l.getDimensions(d),P="y"===w,S=P?"clientHeight":"clientWidth",A=a.reference[b]+a.reference[w]-x[w]-a.floating[b],M=x[w]-a.reference[w],V=await (null==l.getOffsetParent?void 0:l.getOffsetParent(d)),k=V?V[S]:0;k&&await (null==l.isElement?void 0:l.isElement(V))||(k=u.floating[S]||a.floating[b]);let C=k/2-T[b]/2-1,D=s(g[P?"top":"left"],C),R=s(g[P?"bottom":"right"],C),L=k-T[b]-R,j=k/2-T[b]/2+(A/2-M/2),F=o(D,s(j,L)),B=!h.arrow&&null!=f(r)&&j!==F&&a.reference[b]/2-(j<D?D:R)-T[b]/2<0,O=B?j<D?j-D:j-L:0;return{[w]:x[w]+O,data:{[w]:F,centerOffset:j-F-O,...B&&{alignmentOffset:O}},reset:B}}}),tC=(t,e,i)=>{let n=new Map,r={platform:tw,...i},s={...r.platform,_c:n};return k(t,e,{...r,platform:s})}},57892:(t,e,i)=>{i.d(e,{D:()=>o});var n=i(62234),r=i(18213);let s={...i(72210).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},o=t=>s[t]},58951:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},59680:(t,e,i)=>{i.d(e,{B:()=>r});let n={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"]},r={};for(let t in n)r[t]={isEnabled:e=>n[t].some(t=>!!e[t])}},60118:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},60295:(t,e,i)=>{i.d(e,{$:()=>s,H:()=>r});var n=i(64340);let r={};function s(t){for(let e in t)r[e]=t[e],(0,n.j)(e)&&(r[e].isCSSVariable=!0)}},61210:(t,e,i)=>{i.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},62234:(t,e,i)=>{i.d(e,{y:()=>o});var n=i(31685),r=i(20258),s=i(32542);let o={test:t=>s.B.test(t)||n.u.test(t)||r.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):r.V.test(t)?r.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):r.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},62405:(t,e,i)=>{i.d(e,{n:()=>n});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},62729:(t,e,i)=>{i.d(e,{b:()=>y});var n=i(23635),r=i(66810),s=i(96384),o=i(75240),a=i(64340);let l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var u=i(41128),h=i(61210),d=i(57030),c=i(29171);
1let p=new Set(["auto","none","0"]);var f=i(32618);class m extends u.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,a.p)(n))){let r=function t(e,i,n=1){(0,s.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,u]=function(t){let e=l.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,a.p)(u)?t(u,i,n+1):u}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!n.$.has(i)||2!==t.length)return;let[u,h]=t,d=(0,r.n)(u),c=(0,r.n)(h);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,h.$)(n)))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!p.has(e)&&(0,d.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=(0,c.J)(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=f.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=f.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var v=i(5377),g=i(94265);class y extends g.B{constructor(){super(...arguments),this.KeyframeResolver=m}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,v.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},64340:(t,e,i)=>{i.d(e,{j:()=>r,p:()=>o});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},66810:(t,e,i)=>{i.d(e,{T:()=>o,n:()=>a});var n=i(29273),r=i(56460),s=i(2636);let o=[n.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.w)(t))},67677:(t,e,i)=>{i.d(e,{k:()=>n});let{schedule:n}=(0,i(5705).I)(queueMicrotask,!1)},68523:(t,e,i)=>{i.d(e,{g:()=>s});var n=i(28581),r=i(5377);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)}}},70333:(t,e,i)=>{i.d(e,{z:()=>s});var n=i(83396),r=i(60295);function s(t,{layout:e,layoutId:i}){return n.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!r.H[t]||"opacity"===t)}},71102:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var n=i(12339),r=i(60118);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.G)(s),a=(0,n.V)(s)},71432:(t,e,i)=>{i.d(e,{f:()=>tL});var n=i(72099);function r(t){t.duration=0,t.type}var s=i(20129),o=i(75717),a=i(49724),l=i(53889),u=i(54527),h=i(73662),d=i(96384),c=i(64340),p=i(62234),f=i(57030),m=i(31685),v=i(20258);function g(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var y=i(32542);function x(t,e){return i=>i>0?e:t}var w=i(82688);let b=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},T=[m.u,y.B,v.V];function P(t){let e=T.find(e=>e.test(t));if((0,d.$)(!!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===v.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=g(a,n,t+1/3),s=g(a,n,t),o=g(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let S=(t,e)=>{let i=P(t),n=P(e);if(!i||!n)return x(t,e);let r={...i};return t=>(r.red=b(i.red,n.red,t),r.green=b(i.green,n.green,t),r.blue=b(i.blue,n.blue,t),r.alpha=(0,w.k)(i.alpha,n.alpha,t),y.B.transform(r))},A=new Set(["none","hidden"]);function E(t,e){return i=>(0,w.k)(t,e,i)}function M(t){return"number"==typeof t?E:"string"==typeof t?(0,c.p)(t)?x:p.y.test(t)?S:C:Array.isArray(t)?V:"object"==typeof t?p.y.test(t)?S:k:x}function V(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>M(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function k(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=M(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let C=(t,e)=>{let i=f.f.createTransformer(e),n=(0,f.V)(t),r=(0,f.V)(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?A.has(t)&&!r.values.length||A.has(e)&&!n.values.length?function(t,e){return A.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,o.F)(V(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(n,r),r.values),i):((0,d.$)(!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"),x(t,e))};function D(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,w.k)(t,e,i):M(t)(t,e)}let R=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>s.Gt.update(e,t),stop:()=>(0,s.WG)(e),now:()=>s.uv.isProcessing?s.uv.timestamp:u.k.now()}};var L=i(53261),j=i(19027);function F({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,c,p=t[0],f={done:!1,value:p},m=i*e,v=p+m,g=void 0===o?v:o(v);g!==v&&(m=g-p);let y=t=>-m*Math.exp(-t/n),x=t=>g+y(t),w=t=>{let e=y(t),i=x(t);f.done=Math.abs(e)<=u,f.value=f.done?g:i},b=t=>{let e;if(e=f.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,c=(0,L.o)({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:(0,j.Y)(x,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,w(t),b(t)),void 0!==d&&t>=d)?c.next(t-d):(e||w(t),f)}}}var B=i(87261);let O=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function I(t,e,i,n){return t===e&&i===n?B.l:r=>
10===r||1===r?r:O(function(t,e,i,n,r){let s,o,a=0;do(s=O(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o}(r,0,1,t,i),e,n)}let W=I(.42,0,1,1),U=I(0,0,.58,1),N=I(.42,0,.58,1);var $=i(24119),H=i(12339),q=i(60118);let G=I(.33,1.53,.69,.99),X=(0,q.G)(G),K=(0,H.V)(X),z=t=>(t*=2)<1?.5*X(t):.5*(2-Math.pow(2,-10*(t-1)));var Y=i(71102);let Q=t=>Array.isArray(t)&&"number"==typeof t[0],_={linear:B.l,easeIn:W,easeInOut:N,easeOut:U,circIn:Y.po,circInOut:Y.tn,circOut:Y.yT,backIn:X,backInOut:K,backOut:G,anticipate:z},Z=t=>{if(Q(t)){(0,d.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return I(e,i,n,r)}return"string"==typeof t?((0,d.V)(void 0!==_[t],`Invalid easing type '${t}'`,"invalid-easing-type"),_[t]):t};var J=i(28581),tt=i(23824),te=i(4293);function ti({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=(0,$.h)(n)?n.map(Z):Z(n),l={done:!1,value:e[0]},u=function(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if((0,d.V)(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let l=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let u=function(t,e,i){let n=[],r=i||J.W.mix||D,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||B.l:e;s=(0,o.F)(t,s)}n.push(s)}return n}(e,n,r),h=u.length,c=i=>{if(l&&i<t[0])return e[0];let n=0;if(h>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,tt.q)(t[n],t[n+1],i);return u[n](r)};return i?e=>c((0,a.q)(t[0],t[s-1],e)):c}((r=i&&i.length===e.length?i:(0,te.Z)(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||N).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=u(e),l.done=e>=t,l)}}var tn=i(22392);let tr=t=>null!==t;function ts(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(tr),o=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}let to={decay:F,inertia:F,tween:ti,keyframes:ti,spring:L.o};function ta(t){"string"==typeof t.type&&(t.type=to[t.type])}class tl{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)}}let tu=t=>t/100;class th extends tl{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==u.k.now()&&this.tick(u.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},h.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;ta(t);let{type:e=ti,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:a}=t,l=e||ti;l!==ti&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,o.F)(tu,D(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,tn.t)(u));let{calculatedDuration:h}=u;this.calculatedDuration=h,this.resolvedDuration=h+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:d,repeatType:c,repeatDelay:p,type:f,onUpdate:m,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let x=this.currentTime,w=i;if(d){let t=Math.min(this.currentTime,n)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===c?(i=1-i,p&&(i-=p/o)):"mirror"===c&&(w=s)),x=(0,a.q)(0,1,i)*o}let b=y?{done:!1,value:h[0]}:w.next(x);r&&(b.value=r(b.value));let{done:T}=b;y||null===l||(T=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return P&&f!==F&&(b.value=ts(h,this.options,v,this.speed)),m&&m(b.value),P&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return(0,l.X)(this.calculatedDuration)}get time(){return(0,l.X)(this.currentTime)}set time(t){t=(0,l.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?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(u.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,l.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=R,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(u.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,h.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 td=i(41128);function tc(t){let e;return()=>(void 0===e&&(e=t()),e)}let tp=tc(()=>void 0!==window.ScrollTimeline);var tf=i(73490);let tm={},tv=function(t,e){let i=tc(t);return()=>tm[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var tg=i(56111);let ty=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,tx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ty([0,.65,.55,1]),circOut:ty([.55,0,1,.45]),backIn:ty([.31,.01,.66,-.59]),backOut:ty([.33,1.53,.69,.99])};var tw=i(84254);class tb extends tl{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,(0,d.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return(0,tw.W)(t)&&tv()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let d={[e]:i};l&&(d.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?tv()?(0,tg.K)(e,i):"ease-out":Q(e)?ty(e):Array.isArray(e)?e.map(e=>t(e,i)||tx.easeOut):tx[e]}(a,r);Array.isArray(c)&&(d.easing=c),tf.Q.value&&h.q.waapi++;let p={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(p.pseudoElement=u);let f=t.animate(d,p);return tf.Q.value&&f.finished.finally(()=>{h.q.waapi--}),f}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=ts(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(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(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,l.X)(Number(t))}get time(){return(0,l.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,l.f)(t)}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 Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tp())?(this.animation.timeline=t,B.l):e(this)}}let tT={anticipate:z,backInOut:K,circInOut:Y.tn};class tP extends tb{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tT&&(t.ease=tT[t.ease])}(t),ta(t),super(t),t.startTime&&(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 th({...s,autoplay:!1}),a=(0,l.f)(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let tS=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(f.f.test(t)||"0"===t)&&!t.startsWith("url(")),tA=new Set(["opacity","clipPath","filter","transform"]),tE=tc(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tM extends tl{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:h,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=u.k.now();let c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:h,...d},p=h?.KeyframeResolver||td.h;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:h,onUpdate:c}=i;
1this.resolvedAt=u.k.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=tS(r,e),a=tS(s,e);return(0,d.$)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,tw.W)(i))&&n)}(t,s,o,a)&&((J.W.instantAnimations||!l)&&c?.(ts(t,i,e)),t[0]=t[t.length-1],r(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},f=!h&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return tE()&&i&&tA.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(p)?new tP({...p,element:p.motionValue.owner.current}):new th(p);f.finished.then(()=>this.notifyFinished()).catch(B.l),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}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,td.q)()),this._animation}get duration(){return this.animation.duration}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 tV=t=>null!==t;var tk=i(83396);let tC={type:"spring",stiffness:500,damping:25,restSpeed:10},tD={type:"keyframes",duration:.8},tR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tL=(t,e,i,o={},a,u)=>h=>{let d=(0,n.r)(o,t)||{},c=d.delay||o.delay||0,{elapsed:p=0}=o;p-=(0,l.f)(c);let f={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-p,onUpdate:t=>{e.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{h(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:u?void 0:a};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(d)&&Object.assign(f,((t,{keyframes:e})=>e.length>2?tD:tk.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tC:tR)(t,f)),f.duration&&(f.duration=(0,l.f)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,l.f)(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let m=!1;if(!1!==f.type&&(0!==f.duration||f.repeatDelay)||(r(f),0===f.delay&&(m=!0)),(J.W.instantAnimations||J.W.skipAnimations)&&(m=!0,r(f),f.delay=0),f.allowFlatten=!d.type&&!d.ease,m&&!u&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(tV),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(f.keyframes,d);if(void 0!==t)return void s.Gt.update(()=>{f.onUpdate(t),f.onComplete()})}return d.isSync?new th(f):new tM(f)}},72099:(t,e,i)=>{i.d(e,{r:()=>n});function n(t,e){return t?.[e]??t?.default??t}},72210:(t,e,i)=>{i.d(e,{W:()=>a});var n=i(29273);let r={...n.ai,transform:Math.round};var s=i(56460);let o={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},a={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,radius: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,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...o,zIndex:r,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:r}},73337:(t,e,i)=>{i.d(e,{s:()=>r});var n=i(75997);function r(t){return(0,n.G)(t)&&"offsetHeight"in t}}
1,73490:(t,e,i)=>{i.d(e,{Q:()=>n});let n={value:null,addProjectionMetrics:null}},73502:(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})},73662:(t,e,i)=>{i.d(e,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},75010:(t,e,i)=>{i.d(e,{z:()=>o});var n=i(5377),r=i(9736),s=i(71432);function o(t,e,i){let o=(0,n.S)(t)?t:(0,r.OQ)(t);return o.start((0,s.f)("",o,e,i)),o.animation}},75240:(t,e,i)=>{i.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},75717:(t,e,i)=>{i.d(e,{F:()=>r});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},75997:(t,e,i)=>{i.d(e,{G:()=>n});function n(t){return"object"==typeof t&&null!==t}},77724:(t,e,i)=>{i.d(e,{ge:()=>o,xU:()=>r});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},79624:(t,e,i)=>{i.d(e,{x:()=>s});var n=i(5377),r=i(70333);function s(t,e,i){let{style:s}=t,o={};for(let a in s)((0,n.S)(s[a])||e.style&&(0,n.S)(e.style[a])||(0,r.z)(a,t)||i?.getValue(a)?.liveStyle!==void 0)&&(o[a]=s[a]);return o}},82302:(t,e,i)=>{i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>h});let n=t=>180*t/Math.PI,r=t=>o(n(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(n(Math.atan2(t[6],t[5]))),rotateY:t=>o(n(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return+!!t.includes("scale")}function d(t,e){let i,n;if(!t||"none"===t)return h(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=u,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return h(e);let o=i[e],a=n[1].split(",").map(p);return"function"==typeof o?o(a):a[o]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},82444:(t,e,i)=>{i.d(e,{xQ:()=>s});var n=i(10039),r=i(15403);function s(t=!0){let e=(0,n.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return a(l)},[t]);let u=(0,n.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,u]:[!0]}},82688:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},82820:(t,e,i)=>{i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},83396:(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)},84254:(t,e,i)=>{i.d(e,{W:()=>n});function n(t){return"function"==typeof t&&"applyToOptions"in t}},85497:(t,e,i)=>{function n(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function r(t,e,i,r){if("function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}return e}i.d(e,{a:()=>r})},86476:(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)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{HD:()=>s,vF:()=>o,vk:()=>r})},86947:(t,e,i)=>{i.d(e,{M:()=>r});var n=i(10039);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},87261:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},88481:(t,e,i)=>{i.d(e,{N:()=>y});var n=i(3743),r=i(10039),s=i(93039),o=i(86947),a=i(89084),l=i(15403),u=i(73337),h=i(13298);class d extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;
1if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=(0,u.s)(t)&&t.offsetWidth||0,n=this.props.sizeRef.current;n.height=e.offsetHeight||0,n.width=e.offsetWidth||0,n.top=e.offsetTop,n.left=e.offsetLeft,n.right=i-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function c(t){let{children:e,isPresent:i,anchorX:s,root:o}=t,a=(0,r.useId)(),l=(0,r.useRef)(null),u=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:c}=(0,r.useContext)(h.Q);return(0,r.useInsertionEffect)(()=>{let{width:t,height:e,top:n,left:r,right:h}=u.current;if(i||!l.current||!t||!e)return;l.current.dataset.motionPopId=a;let d=document.createElement("style");c&&(d.nonce=c);let p=null!=o?o:document.head;return p.appendChild(d),d.sheet&&d.sheet.insertRule('\n          [data-motion-pop-id="'.concat(a,'"] {\n            position: absolute !important;\n            width: ').concat(t,"px !important;\n            height: ").concat(e,"px !important;\n            ").concat("left"===s?"left: ".concat(r):"right: ".concat(h),"px !important;\n            top: ").concat(n,"px !important;\n          }\n        ")),()=>{p.contains(d)&&p.removeChild(d)}},[i]),(0,n.jsx)(d,{isPresent:i,childRef:l,sizeRef:u,children:r.cloneElement(e,{ref:l})})}let p=t=>{let{children:e,initial:i,isPresent:s,onExitComplete:a,custom:u,presenceAffectsLayout:h,mode:d,anchorX:p,root:m}=t,v=(0,o.M)(f),g=(0,r.useId)(),y=!0,x=(0,r.useMemo)(()=>(y=!1,{id:g,initial:i,isPresent:s,custom:u,onExitComplete:t=>
1{for(let e of(v.set(t,!0),v.values()))if(!e)return;a&&a()},register:t=>(v.set(t,!1),()=>v.delete(t))}),[s,v,a]);return h&&y&&(x={...x}),(0,r.useMemo)(()=>{v.forEach((t,e)=>v.set(e,!1))},[s]),r.useEffect(()=>{s||v.size||!a||a()},[s]),"popLayout"===d&&(e=(0,n.jsx)(c,{isPresent:s,anchorX:p,root:m,children:e})),(0,n.jsx)(l.t.Provider,{value:x,children:e})};function f(){return new Map}var m=i(82444);let v=t=>t.key||"";function g(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}let y=t=>{let{children:e,custom:i,initial:l=!0,onExitComplete:u,presenceAffectsLayout:h=!0,mode:d="sync",propagate:c=!1,anchorX:f="left",root:y}=t,[x,w]=(0,m.xQ)(c),b=(0,r.useMemo)(()=>g(e),[e]),T=c&&!x?[]:b.map(v),P=(0,r.useRef)(!0),S=(0,r.useRef)(b),A=(0,o.M)(()=>new Map),[E,M]=(0,r.useState)(b),[V,k]=(0,r.useState)(b);(0,a.E)(()=>{P.current=!1,S.current=b;for(let t=0;t<V.length;t++){let e=v(V[t]);T.includes(e)?A.delete(e):!0!==A.get(e)&&A.set(e,!1)}},[V,T.length,T.join("-")]);let C=[];if(b!==E){let t=[...b];for(let e=0;e<V.length;e++){let i=V[e],n=v(i);T.includes(n)||(t.splice(e,0,i),C.push(i))}return"wait"===d&&C.length&&(t=C),k(g(t)),M(b),null}let{forceRender:D}=(0,r.useContext)(s.L);return(0,n.jsx)(n.Fragment,{children:V.map(t=>{let e=v(t),r=(!c||!!x)&&(b===V||T.includes(e));return(0,n.jsx)(p,{isPresent:r,initial:(!P.current||!!l)&&void 0,custom:i,presenceAffectsLayout:h,mode:d,root:y,onExitComplete:r?void 0:()=>{if(!A.has(e))return;A.set(e,!0);let t=!0;A.forEach(e=>{e||(t=!1)}),t&&(null==D||D(),k(S.current),c&&(null==w||w()),u&&u())},anchorX:f,children:t},e)})})}},89084:(t,e,i)=>{i.d(e,{E:()=>r});var n=i(10039);let r=i(5342).B?n.useLayoutEffect:n.useEffect},90049:(t,e,i)=>{i.d(e,{OU:()=>u,Ql:()=>h,Ww:()=>c,hq:()=>s,o4:()=>l});var n=i(82688),r=i(86476);function s(t,e,i){return i+e*(t-i)}function o(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function a(t,e=0,i=1,n,r){t.min=o(t.min,e,i,n,r),t.max=o(t.max,e,i,n,r)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,n=!1){let s,o,a=i.length;if(a){e.x=e.y=1;for(let u=0;u<a;u++){o=(s=i[u]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&c(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),n&&(0,r.HD)(s.latestValues)&&c(t,s.latestValues))}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=t.min+e,t.max=t.max+e}function d(t,e,i,r,s=.5){let o=(0,n.k)(t.min,t.max,s);a(t,e,i,o,r)}function c(t,e){d(t.x,e.x,e.scaleX,e.scale,e.originX),d(t.y,e.y,e.scaleY,e.scale,e.originY)}},90266:(t,e,i)=>{i.d(e,{n:()=>n});let n="data-"+(0,i(16740).I)("framerAppearId")},91390:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>o});var n=i(11016);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},93039:(t,e,i)=>{i.d(e,{L:()=>n});let n=(0,i(10039).createContext)({})},94265:(t,e,i)=>{i.d(e,{B:()=>V});var n=i(41128),r=i(54527),s=i(20129),o=i(5377),a=i(83396),l=i(9736),u=i(62234),h=i(57030),d=i(66810),c=i(2636);let p=[...d.T,u.y,h.f];var f=i(29171),m=i(67677),v=i(75240),g=i(61210),y=i(97888),x=i(59680),w=i(77724),b=i(5342);let T={current:null},P={current:!1};var S=i(1265),A=i(50851),E=i(85497);let M=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class V{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:a,blockInitialAnimation:l,visualState:u},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=n.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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=r.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,s.Gt.render(this.render,!1,!0))};let{latestValues:d,renderState:c}=u;this.latestValues=d,this.baseTarget={...d},this.initialValues=e.initial?{...d}:{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=h,this.blockInitialAnimation=!!l,this.isControllingVariants=(0,A.e)(e),this.isVariantNode=(0,A.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...f}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in f){let e=f[t];void 0!==d[t]&&(0,o.S)(e)&&e.set(d[t])}}mount(t){this.current=t,S.C.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),P.current||function(){if(P.current=!0,b.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>T.current=t.matches;t.addEventListener("change",e),e()}else T.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||T.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,s.WG)(this.notifyUpdate),(0,s.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;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=a.f.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&s.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),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 x.B){let e=x.B[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,w.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<M.length;e++){let i=M[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,o.S)(r))t.addValue(n,r);else if((0,o.S)(s))t.addValue(n,(0,l.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,l.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,l.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,v.i)(i)||(0,g.$)(i)))i=parseFloat(i);else{let n;n=i,!p.find((0,c.w)(n))&&h.f.test(e)&&(i=(0,f.J)(t,e))}this.setBaseTarget(t,(0,o.S)(i)?i.get():i)}return(0,o.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,E.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,o.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 y.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){m.k.render(this.render)}}}
1,94665:(t,e,i)=>{i.d(e,{x:()=>o});var n=i(5377),r=i(83396),s=i(79624);function o(t,e,i){let o=(0,s.x)(t,e,i);for(let i in t)((0,n.S)(t[i])||(0,n.S)(e[i]))&&(o[-1!==r.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}},95030:(t,e,i)=>{i.d(e,{e:()=>n});function n(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}},96384:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>r});let n=()=>{},r=()=>{}},97464:(t,e,i)=>{i.d(e,{$:()=>c});var n=i(72099),r=i(20129),s=i(23635),o=i(9736),a=i(82820),l=i(47821),u=i(68523),h=i(56108),d=i(71432);function c(t,e,{delay:i=0,transitionOverride:p,type:f}={}){let{transition:m=t.getDefaultTransition(),transitionEnd:v,...g}=e;p&&(m=p);let y=[],x=f&&t.animationState&&t.animationState.getState()[f];for(let e in g){let o=t.getValue(e,t.latestValues[e]??null),a=g[e];if(void 0===a||x&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(x,e))continue;let l={delay:i,...(0,n.r)(m||{},e)},c=o.get();
1if(void 0!==c&&!o.isAnimating&&!Array.isArray(a)&&a===c&&!l.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let i=(0,h.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,r.Gt);null!==t&&(l.startTime=t,p=!0)}}(0,u.g)(t,e),o.start((0,d.f)(e,o,a,t.shouldReduceMotion&&s.$.has(e)?{type:!1}:l,t,p));let f=o.animation;f&&y.push(f)}return v&&Promise.all(y).then(()=>{r.Gt.update(()=>{v&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=(0,l.K)(t,e)||{};for(let e in r={...r,...i}){var s;let i=(s=r[e],(0,a.p)(s)?s[s.length-1]||0:s);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,o.OQ)(i))}}(t,v)})}),y}},97888:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(73502);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}}},98938:(t,e,i)=>{i.d(e,{O:()=>u});var n=i(83396),r=i(64340);let s=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var o=i(72210);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=n.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(n.f.has(t)){c=!0;continue}if((0,r.j)(t)){h[t]=i;continue}{let e=s(i,o.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 r="",u=!0;for(let h=0;h<l;h++){let l=n.U[h],d=t[l];if(void 0===d)continue;let c=!0;if(!(c="number"==typeof d?d===+!!l.startsWith("scale"):0===parseFloat(d))||i){let t=s(d,o.W[l]);if(!c){u=!1;let e=a[l]||l;r+=`${e}(${t}) `}i&&(e[l]=t)}}return r=r.trim(),i?r=i(e,u?"":r):u&&(r="none"),r}(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}`}}}}]);

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.