PageSourceSearch

https://3bodylabs.ai/_next/static/chunks/1583-d1e2ee0b7e09861a.js

js 3bodylabs.ai collected 2026-10-05 15:26:33 UTC 128,979 bytes, 81 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1583],{42421:function(t,e,i){i.d(e,{Z:function(){return n}});/**
2 * @license lucide-react v0.469.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let n=(0,i(78030).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},26164:function(t,e,i){i.d(e,{Z:function(){return n}});/**
7 * @license lucide-react v0.469.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */let n=(0,i(78030).Z)("Coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]])},83852:function(t,e,i){i.d(e,{Z:function(){return n}});/**
12 * @license lucide-react v0.469.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let n=(0,i(78030).Z)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},18604:function(t,e,i){i.d(e,{Z:function(){return n}});/**
17 * @license lucide-react v0.469.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */let n=(0,i(78030).Z)("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},30690:function(t,e,i){i.d(e,{Z:function(){return n}});/**
22 * @license lucide-react v0.469.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */let n=(0,i(78030).Z)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},35931:function(t,e,i){i.d(e,{Z:function(){return n}});/**
27 * @license lucide-react v0.469.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */let n=(0,i(78030).Z)("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},87140:function(t,e,i){i.d(e,{Z:function(){return n}});/**
32 * @license lucide-react v0.469.0 - ISC
33 *
34 * This source code is licensed under the ISC license.
35 * See the LICENSE file in the root directory of this source tree.
36 */let n=(0,i(78030).Z)("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]])},89896:function(t,e,i){i.d(e,{Z:function(){return n}});/**
37 * @license lucide-react v0.469.0 - ISC
38 *
39 * This source code is licensed under the ISC license.
40 * See the LICENSE file in the root directory of this source tree.
41 */let n=(0,i(78030).Z)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]])},42873:function(t,e,i){i.d(e,{Z:function(){return n}});/**
42 * @license lucide-react v0.469.0 - ISC
43 *
44 * This source code is licensed under the ISC license.
45 * See the LICENSE file in the root directory of this source tree.
46 */let n=(0,i(78030).Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])}
46,24501:function(t,e,i){i.d(e,{Z:function(){return n}});/**
47 * @license lucide-react v0.469.0 - ISC
48 *
49 * This source code is licensed under the ISC license.
50 * See the LICENSE file in the root directory of this source tree.
51 */let n=(0,i(78030).Z)("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]])},21304:function(t,e,i){i.d(e,{Z:function(){return n}});/**
52 * @license lucide-react v0.469.0 - ISC
53 *
54 * This source code is licensed under the ISC license.
55 * See the LICENSE file in the root directory of this source tree.
56 */let n=(0,i(78030).Z)("PhoneCall",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}],["path",{d:"M14.05 2a9 9 0 0 1 8 7.94",key:"vmijpz"}],["path",{d:"M14.05 6A5 5 0 0 1 18 10",key:"13nbpp"}]])},90996:function(t,e,i){i.d(e,{Z:function(){return n}});/**
57 * @license lucide-react v0.469.0 - ISC
58 *
59 * This source code is licensed under the ISC license.
60 * See the LICENSE file in the root directory of this source tree.
61 */let n=(0,i(78030).Z)("Plane",[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]])},30645:function(t,e,i){i.d(e,{Z:function(){return n}});/**
62 * @license lucide-react v0.469.0 - ISC
63 *
64 * This source code is licensed under the ISC license.
65 * See the LICENSE file in the root directory of this source tree.
66 */let n=(0,i(78030).Z)("Replace",[["path",{d:"M14 4a2 2 0 0 1 2-2",key:"1w2hp7"}],["path",{d:"M16 10a2 2 0 0 1-2-2",key:"shjach"}],["path",{d:"M20 2a2 2 0 0 1 2 2",key:"188mtx"}],["path",{d:"M22 8a2 2 0 0 1-2 2",key:"ddf4tu"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a3 3 0 0 1 3-3h1",key:"3y3t5z"}],["rect",{x:"2",y:"14",width:"8",height:"8",rx:"2",key:"4rksxw"}]])},51469:function(t,e,i){i.d(e,{Z:function(){return n}});/**
67 * @license lucide-react v0.469.0 - ISC
68 *
69 * This source code is licensed under the ISC license.
70 * See the LICENSE file in the root directory of this source tree.
71 */let n=(0,i(78030).Z)("SquareUserRound",[["path",{d:"M18 21a6 6 0 0 0-12 0",key:"kaz2du"}],["circle",{cx:"12",cy:"11",r:"4",key:"1gt34v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]])},53471:function(t,e,i){i.d(e,{Z:function(){return n}});/**
72 * @license lucide-react v0.469.0 - ISC
73 *
74 * This source code is licensed under the ISC license.
75 * See the LICENSE file in the root directory of this source tree.
76 */let n=(0,i(78030).Z)("TvMinimalPlay",[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]])},11240:function(t,e,i){i.d(e,{Z:function(){return n}});/**
77 * @license lucide-react v0.469.0 - ISC
78 *
79 * This source code is licensed under the ISC license.
80 * See the LICENSE file in the root directory of this source tree.
81 */let n=(0,i(78030).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},66648:function(t,e,i){i.d(e,{default:function(){return r.a}});var n=i(55601),r=i.n(n)}
81,55601:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return l},getImageProps:function(){return a}});let n=i(99920),r=i(80497),s=i(38173),o=n._(i(21241));function a(t){let{props:e}=(0,r.getImgProps)(t,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let l=s.Image},44458:function(t,e,i){i.d(e,{Ee:function(){return w},NY:function(){return P},fC:function(){return x}});var n=i(2265),r=i(98324),s=i(75137),o=i(1336),a=i(18676),l=i(57437),u="Avatar",[h,c]=(0,r.b)(u),[d,p]=h(u),f=n.forwardRef((t,e)=>{let{__scopeAvatar:i,...r}=t,[s,o]=n.useState("idle");return(0,l.jsx)(d,{scope:i,imageLoadingStatus:s,onImageLoadingStatusChange:o,children:(0,l.jsx)(a.WV.span,{...r,ref:e})})});f.displayName=u;var m="AvatarImage",v=n.forwardRef((t,e)=>{let{__scopeAvatar:i,src:r,onLoadingStatusChange:u=()=>{},...h}=t,c=p(m,i),d=function(t,e){let[i,r]=n.useState("idle");return(0,o.b)(()=>{if(!t){r("error");return}let i=!0,n=new window.Image,s=t=>()=>{i&&r(t)};return r("loading"),n.onload=s("loaded"),n.onerror=s("error"),n.src=t,e&&(n.referrerPolicy=e),()=>{i=!1}},[t,e]),i}(r,h.referrerPolicy),f=(0,s.W)(t=>{u(t),c.onImageLoadingStatusChange(t)});return(0,o.b)(()=>{"idle"!==d&&f(d)},[d,f]),"loaded"===d?(0,l.jsx)(a.WV.img,{...h,ref:e,src:r}):null});v.displayName=m;var y="AvatarFallback",g=n.forwardRef((t,e)=>{let{__scopeAvatar:i,delayMs:r,...s}=t,o=p(y,i),[u,h]=n.useState(void 0===r);return n.useEffect(()=>{if(void 0!==r){let t=window.setTimeout(()=>h(!0),r);return()=>window.clearTimeout(t)}},[r]),u&&"loaded"!==o.imageLoadingStatus?(0,l.jsx)(a.WV.span,{...s,ref:e}):null});g.displayName=y;var x=f,w=v,P=g},27403:function(t,e,i){i.d(e,{v:function(){return h}});var n=i(80615),r=i(23653),s=i(74097),o=i(35894),a=i(69116);let l=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(a.P.test(t)||"0"===t)&&!t.startsWith("url("));var u=i(67533);class h{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=n.XV.now(),this.options={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:s,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,r.m)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=n.XV.now(),this.hasAttemptedResolve=!0;let{name:i,type:r,velocity:a,delay:h,onComplete:c,onUpdate:d,isGenerator:p}=this.options;if(!p&&!function(t,e,i,r){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let a=t[t.length-1],u=l(s,e),h=l(a,e);return(0,o.Kp)(u===h,`You are trying to animate ${e} from "${s}" to "${a}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${a} via the \`style\` property.`),!!u&&!!h&&(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,n.xD)(i))&&r)}(t,i,r,a)){if(s.c.current||!h){d&&d((0,u.$)(t,this.options,e)),c&&c(),this.resolveFinishedPromise();return}this.options.duration=0}let f=this.initPlayback(t,e);!1!==f&&(this._resolved={keyframes:t,finalKeyframe:e,...f},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}},71992:function(t,e,i){i.d(e,{s:function(){return F},y:function(){return B}});var n=i(80615),r=i(35894),s=i(23653),o=i(51506),a=i(5389),l=i(89654);function u(t,e,i){let n=Math.max(e-5,0);return(0,r.Rv)(i-t(n),e-n)}let h={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function c(t,e){return t*Math.sqrt(1-e*e)}let d=["duration","bounce"],p=["stiffness","damping","mass"];function f(t,e){return e.some(e=>void 0!==t[e])}function m(t=h.visualDuration,e=h.bounce){let i;let s="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:a,restDelta:l}=s,m=s.keyframes[0],v=s.keyframes[s.keyframes.length-1],y={done:!1,value:m},{stiffness:g,damping:x,mass:w,duration:P,velocity:T,isResolvedFromDuration:b}=function(t){let e={velocity:h.velocity,stiffness:h.stiffness,damping:h.damping,mass:h.mass,isResolvedFromDuration:!1,...t};if(!f(t,p)&&f(t,d)){if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,o.u)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:h.mass,stiffness:n,damping:r}}else{let i=function({duration:t=h.duration,bounce:e=h.bounce,velocity:i=h.velocity,mass:n=h.mass}){let s,a;(0,r.Kp)(t<=(0,r.w4)(h.maxDuration),"Spring duration must be 10 seconds or less");let l=1-e;l=(0,o.u)(h.minDamping,h.maxDamping,l),t=(0,o.u)(h.minDuration,h.maxDuration,(0,r.X5)(t)),l<1?(s=e=>{let n=e*l,r=n*t;return .001-(n-i)/c(e,l)*Math.exp(-r)},a=e=>{let n=e*l*t,r=Math.pow(l,2)*Math.pow(e,2)*t,o=c(Math.pow(e,2),l);return(n*i+i-r)*Math.exp(-n)*(-s(e)+.001>0?-1:1)/o}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));
81let u=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,a,5/t);if(t=(0,r.w4)(t),isNaN(u))return{stiffness:h.stiffness,damping:h.damping,duration:t};{let e=Math.pow(u,2)*n;return{stiffness:e,damping:2*l*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:h.mass}).isResolvedFromDuration=!0}}return e}({...s,velocity:-(0,r.X5)(s.velocity||0)}),S=T||0,A=x/(2*Math.sqrt(g*w)),M=v-m,k=(0,r.X5)(Math.sqrt(g/w)),V=5>Math.abs(M);if(a||(a=V?h.restSpeed.granular:h.restSpeed.default),l||(l=V?h.restDelta.granular:h.restDelta.default),A<1){let t=c(k,A);i=e=>v-Math.exp(-A*k*e)*((S+A*k*M)/t*Math.sin(t*e)+M*Math.cos(t*e))}else if(1===A)i=t=>v-Math.exp(-k*t)*(M+(S+k*M)*t);else{let t=k*Math.sqrt(A*A-1);i=e=>{let i=Math.exp(-A*k*e),n=Math.min(t*e,300);return v-i*((S+A*k*M)*Math.sinh(n)+t*M*Math.cosh(n))/t}}let D={calculatedDuration:b&&P||null,next:t=>{let e=i(t);if(b)y.done=t>=P;else{let n=0;A<1&&(n=0===t?(0,r.w4)(S):u(i,t,e));let s=Math.abs(n)<=a,o=Math.abs(v-e)<=l;y.done=s&&o}return y.value=y.done?v:e,y},toString:()=>{let t=Math.min((0,n.iI)(D),n.EO),e=(0,n.wk)(e=>D.next(t*e).value,t,30);return t+"ms "+e}};return D}function v({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:c}){let d,p;let f=t[0],v={done:!1,value:f},y=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,x=i*e,w=f+x,P=void 0===o?w:o(w);P!==w&&(x=P-f);let T=t=>-x*Math.exp(-t/n),b=t=>P+T(t),S=t=>{let e=T(t),i=b(t);v.done=Math.abs(e)<=h,v.value=v.done?P:i},A=t=>{y(v.value)&&(d=t,p=m({keyframes:[v.value,g(v.value)],velocity:u(b,t,v.value),damping:r,stiffness:s,restDelta:h,restSpeed:c}))};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==d||(e=!0,S(t),A(t)),void 0!==d&&t>=d)?p.next(t-d):(e||S(t),v)}}}var y=i(13194);let g=(0,y._)(.42,0,1,1),x=(0,y._)(0,0,.58,1),w=(0,y._)(.42,0,.58,1),P=t=>Array.isArray(t)&&"number"!=typeof t[0];var T=i(79849),b=i(45834),S=i(68536);let A={linear:r.ZT,easeIn:g,easeInOut:w,easeOut:x,circIn:S.Z7,circInOut:S.X7,circOut:S.Bn,backIn:b.G2,backInOut:b.XL,backOut:b.CG,anticipate:T.L},M=t=>{if((0,n.qE)(t)){(0,r.kG)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,s]=t;return(0,y._)(e,i,n,s)}return"string"==typeof t?((0,r.kG)(void 0!==A[t],`Invalid easing type '${t}'`),A[t]):t};var k=i(42548),V=i(40839);function D({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let r=P(n)?n.map(M):M(n),s={done:!1,value:e[0]},o=(i&&i.length===e.length?i:(0,V.Y)(e)).map(e=>e*t),a=(0,k.s)(o,e,{ease:Array.isArray(r)?r:e.map(()=>r||w).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}var E=i(27403);let C=t=>{let e=({timestamp:e})=>t(e);return{start:()=>n.Wi.update(e,!0),stop:()=>(0,n.Pn)(e),now:()=>n.frameData.isProcessing?n.frameData.timestamp:n.XV.now()}};var R=i(67533);let L={decay:v,inertia:v,tween:D,keyframes:D,spring:m},j=t=>t/100;class F extends E.v{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:n,keyframes:r}=this.options,o=(null==n?void 0:n.KeyframeResolver)||s.e;this.resolver=new o(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i;let{type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:u,velocity:h=0}=this.options,c=(0,n.xD)(r)?r:L[r]||D;c!==D&&"number"!=typeof t[0]&&(e=(0,l.z)(j,(0,a.C)(t[0],t[1])),t=[0,100]);let d=c({...this.options,keyframes:t});"mirror"===u&&(i=c({...this.options,keyframes:[...t].reverse(),velocity:-h})),null===d.calculatedDuration&&(d.calculatedDuration=(0,n.iI)(d));let{calculatedDuration:p}=d,f=p+o;return{generator:d,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:p,resolvedDuration:f,totalDuration:f*(s+1)-o}}onPostResolved(){let{autoplay:t=!0}=this.options;n.PM.mainThread++,this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:h,resolvedDuration:c}=i;if(null===this.startTime)return r.next(0);let{delay:d,repeat:p,repeatType:f,repeatDelay:m,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-h/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let y=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?y<0:y>h;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=h);let x=this.currentTime,w=r;if(p){let t=Math.min(this.currentTime,h)/c,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,p+1))%2&&("reverse"===f?(i=1-i,m&&(i-=m/c)):"mirror"===f&&(w=s)),x=(0,o.u)(0,1,i)*c}let P=g?{done:!1,value:l[0]}:w.next(x);a&&(P.value=a(P.value));let{done:T}=P;g||null===u||(T=this.speed>=0?this.currentTime>=h:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return b&&void 0!==n&&(P.value=(0,R.$)(l,this.options,n)),v&&v(P.value),b&&this.finish(),P}get duration(){let{resolved:t}=this;return t?(0,r.X5)(t.calculatedDuration):0}
81get time(){return(0,r.X5)(this.currentTime)}set time(t){t=(0,r.w4)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,r.X5)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=C,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel(),n.PM.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}function B(t){return new F(t)}},67533:function(t,e,i){i.d(e,{$:function(){return r}});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},r){let s=t.filter(n),o=e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}},29791:function(t,e,i){i.d(e,{_:function(){return n}});let n=(0,i(2265).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},79849:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(45834);let r=t=>(t*=2)<1?.5*(0,n.G2)(t):.5*(2-Math.pow(2,-10*(t-1)))},45834:function(t,e,i){i.d(e,{CG:function(){return o},G2:function(){return a},XL:function(){return l}});var n=i(13194),r=i(73108),s=i(62718);let o=(0,n._)(.33,1.53,.69,.99),a=(0,s.M)(o),l=(0,r.o)(a)},68536:function(t,e,i){i.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var n=i(73108),r=i(62718);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.M)(s),a=(0,n.o)(s)},13194:function(t,e,i){i.d(e,{_:function(){return s}});var n=i(35894);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){if(t===e&&i===s)return n.ZT;let o=e=>(function(t,e,i,n,s){let o,a;let l=0;do(o=r(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a})(e,0,1,t,i);return t=>0===t||1===t?t:r(o(t),e,s)}},73108:function(t,e,i){i.d(e,{o:function(){return n}});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},62718:function(t,e,i){i.d(e,{M:function(){return n}});let n=t=>e=>1-t(1-e)},34027:function(t,e,i){i.d(e,{E:function(){return nf}});var n,r,s=i(35894);function o(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function a(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function l(t,e,i,n){if("function"==typeof e){let[r,s]=a(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=a(n);e=e(void 0!==i?i:t.custom,r,s)}return e}function u(t,e,i){let n=t.getProps();return l(n,e,void 0!==i?i:n.custom,t)}var h=i(80615),c=i(66097);let d=new Set(["width","height","top","left","right","bottom",...c._]),p=t=>Array.isArray(t),f=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),m=t=>p(t)?t[t.length-1]||0:t;var v=i(77599);function y(t,e){let i=t.getValue("willChange");if((0,v.i)(i)&&i.add)return i.add(e)}let g=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),x="data-"+g("framerAppearId");var w=i(74097),P=i(79849),T=i(45834),b=i(68536);let S=t=>/^0[^.\s]+$/u.test(t);var A=i(69116),M=i(81322);let k=new Set(["brightness","contrast","saturate","opacity"]);function V(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(M.K)||[];if(!n)return t;let r=i.replace(n,""),s=k.has(e)?1:0;return n!==i&&(s*=100),e+"("+s+r+")"}let D=/\b([a-z-]*)\(.*?\)/gu,E={...A.P,getAnimatableNone:t=>{let e=t.match(D);return e?e.map(V).join(" "):t}};var C=i(50146),R=i(40783),L=i(75480);let j={borderWidth:L.px,borderTopWidth:L.px,borderRightWidth:L.px,borderBottomWidth:L.px,borderLeftWidth:L.px,borderRadius:L.px,radius:L.px,borderTopLeftRadius:L.px,borderTopRightRadius:L.px,borderBottomRightRadius:L.px,borderBottomLeftRadius:L.px,width:L.px,maxWidth:L.px,height:L.px,maxHeight:L.px,top:L.px,right:L.px,bottom:L.px,left:L.px,padding:L.px,paddingTop:L.px,paddingRight:L.px,paddingBottom:L.px,paddingLeft:L.px,margin:L.px,marginTop:L.px,marginRight:L.px,marginBottom:L.px,marginLeft:L.px,backgroundPositionX:L.px,backgroundPositionY:L.px},F={rotate:L.RW,rotateX:L.RW,rotateY:L.RW,rotateZ:L.RW,scale:R.bA,scaleX:R.bA,scaleY:R.bA,scaleZ:R.bA,skew:L.RW,skewX:L.RW,skewY:L.RW,distance:L.px,translateX:L.px,translateY:L.px,translateZ:L.px,x:L.px,y:L.px,z:L.px,perspective:L.px,transformPerspective:L.px,opacity:R.Fq,originX:L.$C,originY:L.$C,originZ:L.px},B={...R.Rx,transform:Math.round},O={...j,...F,zIndex:B,size:L.px,fillOpacity:R.Fq,strokeOpacity:R.Fq,numOctaves:B}
81,I={...O,color:C.$,backgroundColor:C.$,outlineColor:C.$,fill:C.$,stroke:C.$,borderColor:C.$,borderTopColor:C.$,borderRightColor:C.$,borderBottomColor:C.$,borderLeftColor:C.$,filter:E,WebkitFilter:E},W=t=>I[t];function $(t,e){let i=W(t);return i!==E&&(i=A.P),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let U=new Set(["auto","none","0"]);var N=i(23653);let X=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);var Z=i(61534);let z=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var Y=i(35014);let q=t=>e=>e.test(t),H=[R.Rx,L.px,L.aQ,L.RW,L.vw,L.vh,{test:t=>"auto"===t,parse:t=>t}],K=t=>H.find(q(t));class G extends N.e{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,Z.t)(n))){let r=function t(e,i,n=1){(0,s.kG)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,o]=function(t){let e=z.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${null!=i?i:n}`,r]}(e);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let t=a.trim();return X(t)?parseFloat(t):t}return(0,Z.t)(o)?t(o,i,n+1):o}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!d.has(i)||2!==t.length)return;let[n,r]=t,o=K(n),a=K(r);if(o!==a){if((0,Y.mP)(o)&&(0,Y.mP)(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||S(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&&!U.has(e)&&(0,A.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=$(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=Y.lw[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let s=n.length-1,o=n[s];n[s]=Y.lw[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEac
81h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}var _=i(27403),J=i(71992);let Q=new Set(["opacity","clipPath","filter","transform"]);var tt=i(67533);let te=(0,s.X$)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),ti={anticipate:P.L,backInOut:T.XL,circInOut:b.X7};class tn extends _.v{constructor(t){super(t);let{name:e,motionValue:i,element:n,keyframes:r}=this.options;this.resolver=new G(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:n=300,times:r,ease:s,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof s&&(0,h.Vc)()&&s in ti&&(s=ti[s]),i=this.options,(0,h.xD)(i.type)||"spring"===i.type||!(0,h.hR)(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new J.s({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},r=[],s=0;for(;!n.done&&s<2e4;)r.push((n=i.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),n=h.duration,r=h.times,s=h.ease,o="keyframes"}let c=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&&(u.offset=l);let c=(0,h.eB)(a,r);Array.isArray(c)&&(u.easing=c),h.fx.value&&h.PM.waapi++;let d=t.animate(u,{delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"});return h.fx.value&&d.finished.finally(()=>{h.PM.waapi--}),d}(a.owner.current,l,t,{...this.options,duration:n,times:r,ease:s});return c.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?((0,h._F)(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:i}=this.options;a.set((0,tt.$)(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:r,type:o,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,s.X5)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,s.X5)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,s.w4)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return s.ZT;let{animation:i}=e;(0,h._F)(i,t)}else this.pendingTimeline=t;return s.ZT}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:n,type:r,ease:o,times:a}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,element:u,...h}=this.options,c=new J.s({...h,keyframes:i,duration:n,type:r,ease:o,times:a,isGenerator:!0}),d=(0,s.w4)(this.time);t.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return te()&&i&&Q.has(i)&&!a&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}}let tr={type:"spring",stiffness:500,damping:25,restSpeed:10},ts=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),to={type:"keyframes",duration:.8},ta={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tl=(t,{keyframes:e})=>e.length>2?to:c.G.has(t)?t.startsWith("scale")?ts(e[1]):tr:ta,tu=(t,e,i,n={},r,o)=>a=>{let l=(0,h.ev)(n,t)||{},u=l.delay||n.delay||0,{elapsed:c=0}=n;c-=(0,s.w4)(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-c,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:
81o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(l)&&(d={...d,...tl(t,d)}),d.duration&&(d.duration=(0,s.w4)(d.duration)),d.repeatDelay&&(d.repeatDelay=(0,s.w4)(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let p=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(d.duration=0,0!==d.delay||(p=!0)),(w.c.current||s.cW.skipAnimations)&&(p=!0,d.duration=0,d.delay=0),d.allowFlatten=!l.type&&!l.ease,p&&!o&&void 0!==e.get()){let t=(0,tt.$)(d.keyframes,l);if(void 0!==t)return h.Wi.update(()=>{d.onUpdate(t),d.onComplete()}),new h.sP([])}return!o&&tn.supports(d)?new tn(d):new J.s(d)};function th(t,e,{delay:i=0,transitionOverride:n,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;n&&(o=n);let c=[],p=r&&t.animationState&&t.animationState.getState()[r];for(let e in l){let n=t.getValue(e,null!==(s=t.latestValues[e])&&void 0!==s?s:null),r=l[e];if(void 0===r||p&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(p,e))continue;let a={delay:i,...(0,h.ev)(o||{},e)},u=!1;if(window.MotionHandoffAnimation){let i=t.props[x];if(i){let t=window.MotionHandoffAnimation(i,e,h.Wi);null!==t&&(a.startTime=t,u=!0)}}y(t,e),n.start(tu(e,n,r,t.shouldReduceMotion&&d.has(e)?{type:!1}:a,t,u));let f=n.animation;f&&c.push(f)}return a&&Promise.all(c).then(()=>{h.Wi.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=u(t,e)||{};for(let e in r={...r,...i}){let i=m(r[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,h.BX)(i))}}(t,a)})}),c}function tc(t,e,i={}){var n;let r=u(t,e,"exit"===i.type?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let o=r?()=>Promise.all(th(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*n,l=1===r?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(td).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(tc(t,e,{...s,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+n,o,a,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function td(t,e){return t.sortNodePosition(e)}function tp(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}function tf(t){return"string"==typeof t||Array.isArray(t)}let tm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tv=["initial",...tm],ty=tv.length,tg=[...tm].reverse(),tx=tm.length;function tw(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tP(){return{animate:tw(!0),whileInView:tw(),whileHover:tw(),whileTap:tw(),whileDrag:tw(),whileFocus:tw(),exit:tw()}}class tT{constructor(t){this.isMounted=!1,this.node=t}update(){}}class tb extends tT{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>tc(t,e,i)));else if("string"==typeof e)n=tc(t,e,i);else{let r="function"==typeof e?u(t,e,i.custom):e;n=Promise.all(th(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=tP(),n=!0,r=e=>(i,n)=>{var r;let s=u(t,n,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function s(s){let{props:a}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<ty;t++){let n=tv[t],r=e.props[n];(tf(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},h=[],c=new Set,d={},f=1/0;for(let e=0;e<tx;e++){var m;let u=tg[e],v=i[u],y=void 0!==a[u]?a[u]:l[u],g=tf(y),x=u===s?v.isActive:null;!1===x&&(f=e);let w=y===l[u]&&y!==a[u]&&g;if(w&&n&&t.manuallyAnimateOnMount&&(w=!1),v.protectedKeys={...d},!v.isActive&&null===x||!y&&!v.prevProp||o(y)||"boolean"==typeof y)continue;let P=(m=v.prevProp,"string"==typeof y?y!==m:!!Array.isArray(y)&&!tp(y,m)),T=P||u===s&&v.isActive&&!w&&g||e>f&&g,b=!1,S=Array.isArray(y)?y:[y],A=S.reduce(r(u),{});!1===x&&(A={});let{prevResolvedValues:M={}}=v,k={...M,...A},V=e=>{T=!0,c.has(e)&&(b=!0,c.delete(e)),v.needsAnimating[e]=!0;let i=t.getValue(e);
81i&&(i.liveStyle=!1)};for(let t in k){let e=A[t],i=M[t];if(!d.hasOwnProperty(t))(p(e)&&p(i)?tp(e,i):e===i)?void 0!==e&&c.has(t)?V(t):v.protectedKeys[t]=!0:null!=e?V(t):c.add(t)}v.prevProp=y,v.prevResolvedValues=A,v.isActive&&(d={...d,...A}),n&&t.blockInitialAnimation&&(T=!1);let D=!(w&&P)||b;T&&D&&h.push(...S.map(t=>({animation:t,options:{type:u}})))}if(c.size){let e={};if("boolean"!=typeof a.initial){let i=u(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}c.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=n?n:null}),h.push({animation:e})}let v=!!h.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(v=!1),n=!1,v?e(h):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){var r;if(i[e].isActive===n)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let o=s(e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=tP(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();o(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(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let tS=0;class tA extends tT{constructor(){super(...arguments),this.id=tS++}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||{};
81e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}function tM(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function tk(t){return{point:{x:t.pageX,y:t.pageY}}}let tV=t=>e=>(0,h.DJ)(e)&&t(e,tk(e));function tD(t,e,i,n){return tM(t,e,tV(i),n)}function tE({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}var tC=i(75004);function tR(t){return t.max-t.min}function tL(t,e,i,n=.5){t.origin=n,t.originPoint=(0,tC.t)(e.min,e.max,t.origin),t.scale=tR(i)/tR(e),t.translate=(0,tC.t)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function tj(t,e,i,n){tL(t.x,e.x,i.x,n?n.originX:void 0),tL(t.y,e.y,i.y,n?n.originY:void 0)}function tF(t,e,i){t.min=i.min+e.min,t.max=t.min+tR(e)}function tB(t,e,i){t.min=e.min-i.min,t.max=t.min+tR(e)}function tO(t,e,i){tB(t.x,e.x,i.x),tB(t.y,e.y,i.y)}let tI=()=>({translate:0,scale:1,origin:0,originPoint:0}),tW=()=>({x:tI(),y:tI()}),t$=()=>({min:0,max:0}),tU=()=>({x:t$(),y:t$()});function tN(t){return[t("x"),t("y")]}function tX(t){return void 0===t||1===t}function tZ({scale:t,scaleX:e,scaleY:i}){return!tX(t)||!tX(e)||!tX(i)}function tz(t){return tZ(t)||tY(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function tY(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function tq(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function tH(t,e=0,i=1,n,r){t.min=tq(t.min,e,i,n,r),t.max=tq(t.max,e,i,n,r)}function tK(t,{x:e,y:i}){tH(t.x,e.translate,e.scale,e.originPoint),tH(t.y,i.translate,i.scale,i.originPoint)}function tG(t,e){t.min=t.min+e,t.max=t.max+e}function t_(t,e,i,n,r=.5){let s=(0,tC.t)(t.min,t.max,r);tH(t,e,i,s,n)}function tJ(t,e){t_(t.x,e.x,e.scaleX,e.scale,e.originX),t_(t.y,e.y,e.scaleY,e.scale,e.originY)}function tQ(t,e){return tE(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let t0=({current:t})=>t?t.ownerDocument.defaultView:null;function t1(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let t2=(t,e)=>Math.abs(t-e);var t5=i(89654);class t3{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=t6(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(t2(t.x,e.x)**2+t2(t.y,e.y)**2)>=3);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=h.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=t8(e,this.transformPagePoint),h.Wi.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=t6("pointercancel"===t.type?this.lastMoveEventInfo:t8(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!(0,h.DJ)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let s=t8(tk(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=h.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,t6(s,this.history)),this.removeListeners=(0,t5.z)(tD(this.contextWindow,"pointermove",this.handlePointerMove),tD(this.contextWindow,"pointerup",this.handlePointerUp),tD(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,h.Pn)(this.updatePoint)}}function t8(t,e){return e?{point:e(t.point)}:t}function t4(t,e){return{x:t.x-e.x,y:t.y-e.y}}function t6({point:t},e){return{point:t,delta:t4(t,t9(e)),offset:t4(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=t9(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,s.w4)(.1)));)i--;if(!n)return{x:0,y:0};let o=(0,s.X5)(r.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let a={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,0)}}function t9(t){return t[t.length-1]}
81var t7=i(51506);function et(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 ee(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 ei(t,e,i){return{min:en(t,e),max:en(t,i)}}function en(t,e){return"number"==typeof t?t:t[e]||0}let er=new WeakMap;class es{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=tU(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new t3(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tk(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,h.KV)(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tN(t=>{let e=this.getAxisMotionValue(t).get()||0;if(L.aQ.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=tR(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&h.Wi.postRender(()=>r(t,e)),y(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,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)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>tN(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:t0(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&h.Wi.postRender(()=>r(t,e))}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||!eo(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,tC.t)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,tC.t)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&t1(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:et(t.x,i,r),y:et(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:ei(t,"left","right"),y:ei(t,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&tN(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}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!t1(e))return!1;let n=e.current;(0,s.kG)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
81let o=function(t,e,i){let n=tQ(t,i),{scroll:r}=e;return r&&(tG(n.x,r.offset.x),tG(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),a={x:ee((t=r.layout.layoutBox).x,o.x),y:ee(t.y,o.y)};if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=tE(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(tN(o=>{if(!eo(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 y(this.visualElement,t),i.start(tu(t,i,0,e,this.visualElement,!1))}stopAnimation(){tN(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){tN(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.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){tN(e=>{let{drag:i}=this.getProps();if(!eo(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,tC.t)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!t1(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};tN(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=tR(t),r=tR(e);return r>n?i=(0,s.YD)(e.min,e.max-n,t.min):n>r&&(i=(0,s.YD)(t.min,t.max-r,e.min)),(0,t7.u)(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(),tN(e=>{if(!eo(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,tC.t)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;er.set(this.visualElement,this);let t=tD(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();t1(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()),h.Wi.read(e);let r=tM(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tN(e=>{let i=this.getAxisMotionValue(e);i&&(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 eo(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ea extends tT{constructor(t){super(t),this.removeGroupControls=s.ZT,this.removeListeners=s.ZT,this.controls=new es(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.ZT}unmount(){this.removeGroupControls(),this.removeListeners()}}let el=t=>(e,i)=>{t&&h.Wi.postRender(()=>t(e,i))};class eu extends tT{constructor(){super(...arguments),this.removePointerDownListener=s.ZT}onPointerDown(t){this.session=new t3(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:t0(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:el(t),onStart:el(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&h.Wi.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tD(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 eh=i(57437),ec=i(2265);let ed=(0,ec.createContext)(null),ep=(0,ec.createContext)({}),ef=(0,ec.createContext)({}),em={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ev(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ey={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!L.px.test(t))return t;t=parseFloat(t)}let i=ev(t,e.target.x),n=ev(t,e.target.y);return`${i}% ${n}%`}},eg={};class ex extends ec.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;!function(t){for(let e in t)eg[e]=t[e],(0,Z.f)(e)&&(eg[e].isCSSVariable=!0)}(eP),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),em.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||h.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),h.gJ.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;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 ew(t){let[e,i]=function(t=!0){let e=(0,ec.useContext)(ed);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=e,s=(0,ec.useId)();(0,ec.useEffect)(()=>
81{if(t)return r(s)},[t]);let o=(0,ec.useCallback)(()=>t&&n&&n(s),[s,n,t]);return!i&&n?[!1,o]:[!0]}(),n=(0,ec.useContext)(ep);return(0,eh.jsx)(ex,{...t,layoutGroup:n,switchLayoutGroup:(0,ec.useContext)(ef),isPresent:e,safeToRemove:i})}let eP={borderRadius:{...ey,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ey,borderTopRightRadius:ey,borderBottomLeftRadius:ey,borderBottomRightRadius:ey,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=A.P.parse(t);if(n.length>5)return t;let r=A.P.createTransformer(t),s="number"!=typeof n[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=(0,tC.t)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}},eT=(t,e)=>t.depth-e.depth;class eb{constructor(){this.children=[],this.isDirty=!1}add(t){(0,s.y4)(this.children,t),this.isDirty=!0}remove(t){(0,s.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eT),this.isDirty=!1,this.children.forEach(t)}}function eS(t){let e=(0,v.i)(t)?t.get():t;return f(e)?e.toValue():e}let eA=["TopLeft","TopRight","BottomLeft","BottomRight"],eM=eA.length,ek=t=>"string"==typeof t?parseFloat(t):t,eV=t=>"number"==typeof t||L.px.test(t);function eD(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let eE=eR(0,.5,b.Bn),eC=eR(.5,.95,s.ZT);function eR(t,e,i){return n=>n<t?0:n>e?1:i((0,s.YD)(t,e,n))}function eL(t,e){t.min=e.min,t.max=e.max}function ej(t,e){eL(t.x,e.x),eL(t.y,e.y)}function eF(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function eB(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function eO(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(L.aQ.test(e)&&(e=parseFloat(e),e=(0,tC.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tC.t)(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 eI=["x","scaleX","originX"],eW=["y","scaleY","originY"];function e$(t,e,i,n){eO(t.x,e,eI,i?i.x:void 0,n?n.x:void 0),eO(t.y,e,eW,i?i.y:void 0,n?n.y:void 0)}function eU(t){return 0===t.translate&&1===t.scale}function eN(t){return eU(t.x)&&eU(t.y)}function eX(t,e){return t.min===e.min&&t.max===e.max}function eZ(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ez(t,e){return eZ(t.x,e.x)&&eZ(t.y,e.y)}function eY(t){return tR(t.x)/tR(t.y)}function eq(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class eH{constructor(){this.members=[]}add(t){(0,s.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,s.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let 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)}}let eK={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eG=["","X","Y","Z"],e_={visibility:"hidden"},eJ=0;function eQ(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function e0({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=eJ++,this.animationId=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,h.fx.value&&(eK.nodes=eK.calculatedTargetDeltas=eK.calculatedProjections=0),this.nodes.forEac
81h(e5),this.nodes.forEach(it),this.nodes.forEach(ie),this.nodes.forEach(e3),h.fx.addProjectionMetrics&&h.fx.addProjectionMetrics(eK)},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 eb)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new s.LF),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,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:n,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),t){let i;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=h.XV.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,h.Pn)(n),t(r-250))};return h.Wi.read(n,!0),()=>(0,h.Pn)(n)}(n,0),em.hasAnimatedSinceResize&&(em.hasAnimatedSinceResize=!1,this.nodes.forEach(e7))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||il,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!ez(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),this.setAnimationOrigin(t,u);let e={...(0,h.ev)(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||e7(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,(0,h.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ii),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[x];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",h.Wi,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,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.forEac
81h(e4);return}this.isUpdating||this.nodes.forEach(e6),this.isUpdating=!1,this.nodes.forEach(e9),this.nodes.forEach(e1),this.nodes.forEach(e2),this.clearAllSnapshots();let t=h.XV.now();h.frameData.delta=(0,t7.u)(0,1e3/60,t-h.frameData.timestamp),h.frameData.timestamp=t,h.frameData.isProcessing=!0,h.yL.update.process(h.frameData),h.yL.preRender.process(h.frameData),h.yL.render.process(h.frameData),h.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,h.gJ.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(e8),this.sharedNodes.forEach(ir)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,h.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){h.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||tR(this.snapshot.measuredBox.x)||tR(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=tU(),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){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&&!eN(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&(e||tz(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)),ic((e=n).x),ic(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return tU();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(ip))){let{scroll:t}=this.root;t&&(tG(i.x,t.offset.x),tG(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=tU();if(ej(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let n=this.path[e],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&ej(i,t),tG(i.x,r.offset.x),tG(i.y,r.offset.y))}return i}applyTransform(t,e=!1){let i=tU();ej(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&&tJ(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),tz(n.latestValues)&&tJ(i,n.latestValues)}return tz(this.latestValues)&&tJ(i,this.latestValues),i}removeTransform(t){let e=tU();ej(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!tz(i.latestValues))continue;tZ(i.latestValues)&&i.updateSnapshot();let n=tU();ej(n,i.measurePageBox()),e$(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return tz(this.latestValues)&&e$(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!==h.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,n,r;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
81haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=h.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tU(),this.relativeTargetOrigin=tU(),tO(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ej(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=tU(),this.targetWithTransforms=tU()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,r=this.relativeParent.target,tF(i.x,n.x,r.x),tF(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ej(this.target,this.layout.layoutBox),tK(this.target,this.targetDelta)):ej(this.target,this.layout.layoutBox),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=tU(),this.relativeTargetOrigin=tU(),tO(this.relativeTargetOrigin,this.target,t.target),ej(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}h.fx.value&&eK.calculatedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||tZ(this.parent.latestValues)||tY(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===h.frameData.timestamp&&(n=!1),n)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;ej(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){let r,s;let o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&tJ(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,tK(t,s)),n&&tz(r.latestValues)&&tJ(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=tU());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(eF(this.prevProjectionDelta.x,this.projectionDelta.x),eF(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tj(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&eq(this.projectionDelta.x,this.prevProjectionDelta.x)&&eq(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),h.fx.value&&eK.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=tW(),this.projectionDelta=tW(),this.projectionDeltaWithTransform=tW()}setAnimationOrigin(t,e=!1){let i;let n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=tW();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=tU(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
81!0===this.options.crossfade&&!this.path.some(ia));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(is(o.x,t.x,n),is(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;tO(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,io(p.x,f.x,a.x,n),io(p.y,f.y,a.y,n),i&&(u=this.relativeTarget,d=i,eX(u.x,d.x)&&eX(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=tU()),ej(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,tC.t)(0,void 0!==i.opacity?i.opacity:1,eE(n)),t.opacityExit=(0,tC.t)(void 0!==e.opacity?e.opacity:1,0,eC(n))):s&&(t.opacity=(0,tC.t)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<eM;r++){let s=`border${eA[r]}Radius`,o=eD(e,s),a=eD(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||eV(o)===eV(a)?(t[s]=Math.max((0,tC.t)(ek(o),ek(a),n),0),(L.aQ.test(a)||L.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,tC.t)(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,h.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=h.Wi.update(()=>{em.hasAnimatedSinceResize=!0,h.PM.layout++,this.currentAnimation=function(t,e,i){let n=(0,v.i)(0)?0:(0,h.BX)(0);return n.start(tu("",n,1e3,i)),n.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{h.PM.layout--},onComplete:()=>{h.PM.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&&id(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||tU();let e=tR(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=tR(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}ej(e,i),tJ(e,r),tj(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eH),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(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&eQ("z",t,n,this.animationValues);for(let e=0;e<eG.length;e++)eQ(`rotate${eG[e]}`,t,n,this.animationValues),eQ(`skew${eG[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()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return e_;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=eS(null==t?void 0:t.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=eS(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!tz(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;
81this.applyTransformsToTarget(),n.transform=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=(null==i?void 0: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,o),r&&(n.transform=r(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?n.opacity=s===this?null!==(i=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,eg){if(void 0===o[t])continue;let{correct:e,applyTo:i,isCSSVariable:r}=eg[t],a="none"===n.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)n[i[e]]=a}else r?this.options.visualElement.renderState.vars[t]=a:n[t]=a}return this.options.layoutId&&(n.pointerEvents=s===this?eS(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(e4),this.root.sharedNodes.clear()}}}function e1(t){t.updateLayout()}function e2(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:r}=t.options,s=i.source!==t.layout.source;"size"===r?tN(t=>{let n=s?i.measuredBox[t]:i.layoutBox[t],r=tR(n);n.min=e[t].min,n.max=n.min+r}):id(r,i.layoutBox,e)&&tN(n=>{let r=s?i.measuredBox[n]:i.layoutBox[n],o=tR(e[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=tW();tj(o,e,i.layoutBox);let a=tW();s?tj(a,t.applyTransform(n,!0),i.measuredBox):tj(a,e,i.layoutBox);let l=!eN(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=tU();tO(o,i.layoutBox,r.layoutBox);let a=tU();tO(a,e,s.layoutBox),ez(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,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 e5(t){h.fx.value&&eK.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function e3(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function e8(t){t.clearSnapshot()}function e4(t){t.clearMeasurements()}function e6(t){t.isLayoutDirty=!1}function e9(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function e7(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function it(t){t.resolveTargetDelta()}function ie(t){t.calcProjection()}function ii(t){t.resetSkewAndRotation()}function ir(t){t.removeLeadSnapshot()}function is(t,e,i){t.translate=(0,tC.t)(e.translate,0,i),t.scale=(0,tC.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function io(t,e,i,n){t.min=(0,tC.t)(e.min,i.min,n),t.max=(0,tC.t)(e.max,i.max,n)}function ia(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let il={duration:.45,ease:[.4,0,.1,1]},iu=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ih=iu("applewebkit/")&&!iu("chrome/")?Math.round:s.ZT;function ic(t){t.min=ih(t.min),t.max=ih(t.max)}function id(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(eY(e)-eY(i)))}function ip(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let im=e0({attachResizeListener:(t,e)=>tM(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),iv={current:void 0},iy=e0({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!iv.current){let t=new im({});t.mount(window),t.setOptions({layoutScroll:!0}),iv.current=t}return iv.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function ig(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&h.Wi.postRender(()=>r(e,tk(e)))}class ix extends tT{mount(){let{current:t}=this.node;t&&(this.unmount=(0,h.Mr)(t,(t,e)=>(ig(this.node,e,"Start"),t=>ig(this.node,t,"End"))))}unmount(){}}class iw extends tT{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,t5.z)(tM(this.node.current,"focus",()=>this.onFocus()),tM(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function iP(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&&h.Wi.postRender(()=>r(e,tk(e)))}class iT extends tT{mount(){let{current:t}=this.node;t&&(this.unmount=(0,h.OD)(t,(t,e)=>(iP(this.node,e,"Start"),(t,{success:e})=>iP(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let ib=new WeakMap,iS=new WeakMap,iA=t=>{let e=ib.get(t.target);e&&e(t)}
81,iM=t=>{t.forEach(iA)},ik={some:0,all:1};class iV extends tT{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:ik[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;iS.has(i)||iS.set(i,{});let n=iS.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(iM,{root:t,...e})),n[r]}(e);return ib.set(t,i),n.observe(t),()=>{ib.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let iD=(0,ec.createContext)({strict:!1});var iE=i(29791);let iC=(0,ec.createContext)({});function iR(t){return o(t.animate)||tv.some(e=>tf(t[e]))}function iL(t){return!!(iR(t)||t.variants)}function ij(t){return Array.isArray(t)?t.join(" "):t}var iF=i(77282);let iB={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"]},iO={};for(let t in iB)iO[t]={isEnabled:e=>iB[t].some(t=>!!e[t])};let iI=Symbol.for("motionComponentSymbol");var iW=i(9033);function i$(t,{layout:e,layoutId:i}){return c.G.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eg[t]||"opacity"===t)}let iU=(t,e)=>e&&"number"==typeof t?e.transform(t):t,iN={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iX=c._.length;function iZ(t,e,i){let{style:n,vars:r,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(c.G.has(t)){o=!0;continue}if((0,Z.f)(t)){r[t]=i;continue}{let e=iU(i,O[t]);t.startsWith("origin")?(a=!0,s[t]=e):n[t]=e}}if(!e.transform&&(o||i?n.transform=function(t,e,i){let n="",r=!0;for(let s=0;s<iX;s++){let o=c._[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||i){let t=iU(a,O[o]);if(!l){r=!1;let e=iN[o]||o;n+=`${e}(${t}) `}i&&(e[o]=t)}}return n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;n.transformOrigin=`${t} ${e} ${i}`}}let iz=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iY(t,e,i){for(let n in e)(0,v.i)(e[n])||i$(n,i)||(t[n]=e[n])}var iq=i(42367);let iH=["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 iK(t){if("string"!=typeof t||t.includes("-"));else if(iH.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let iG={offset:"stroke-dashoffset",array:"stroke-dasharray"},i_={offset:"strokeDashoffset",array:"strokeDasharray"};function iJ(t,e,i){return"string"==typeof t?t:L.px.transform(e+i*t)}function iQ(t,{attrX:e,attrY:i,attrScale:n,originX:r,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c){if(iZ(t,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:p,dimensions:f}=t;d.transform&&(f&&(p.transform=d.transform),delete d.transform),f&&(void 0!==r||void 0!==s||p.transform)&&(p.transformOrigin=function(t,e,i){let n=iJ(e,t.x,t.width),r=iJ(i,t.y,t.height);return`${n} ${r}`}(f,void 0!==r?r:.5,void 0!==s?s:.5)),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==o&&function(t,e,
81i=1,n=0,r=!0){t.pathLength=1;let s=r?iG:i_;t[s.offset]=L.px.transform(-n);let o=L.px.transform(e),a=L.px.transform(i);t[s.array]=`${o} ${a}`}(d,o,a,l,!1)}let i0=()=>({...iz(),attrs:{}}),i1=t=>"string"==typeof t&&"svg"===t.toLowerCase();var i2=i(30458);let i5=t=>(e,i)=>{let n=(0,ec.useContext)(iC),r=(0,ec.useContext)(ed),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},n,r,s){let a={latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=eS(s[t]);let{initial:a,animate:u}=t,h=iR(t),c=iL(t);e&&c&&!h&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===u&&(u=e.animate));let d=!!i&&!1===i.initial,p=(d=d||!1===a)?u:a;if(p&&"boolean"!=typeof p&&!o(p)){let e=Array.isArray(p)?p:[p];for(let i=0;i<e.length;i++){let n=l(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(n,r,s,t),renderState:e()};return i&&(a.onMount=t=>i({props:n,current:t,...a}),a.onUpdate=t=>i(t)),a})(t,e,n,r);return i?s():(0,i2.h)(s)};function i3(t,e,i){var n;let{style:r}=t,s={};for(let o in r)((0,v.i)(r[o])||e.style&&(0,v.i)(e.style[o])||i$(o,t)||(null===(n=null==i?void 0:i.getValue(o))||void 0===n?void 0:n.liveStyle)!==void 0)&&(s[o]=r[o]);return s}let i8={useVisualState:i5({scrapeMotionValuesFromProps:i3,createRenderState:iz})};function i4(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}function i6(t,{style:e,vars:i},n,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(s,i[s])}let i9=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"]);function i7(t,e,i,n){for(let i in i6(t,e,void 0,n),e.attrs)t.setAttribute(i9.has(i)?i:g(i),e.attrs[i])}function nt(t,e,i){let n=i3(t,e,i);for(let i in t)((0,v.i)(t[i])||(0,v.i)(e[i]))&&(n[-1!==c._.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}let ne=["x","y","width","height","cx","cy","r"],ni={useVisualState:i5({scrapeMotionValuesFromProps:nt,createRenderState:i0,onUpdate:({props:t,prevProps:e,current:i,renderState:n,latestValues:r})=>{if(!i)return;let s=!!t.drag;if(!s){for(let t in r)if(c.G.has(t)){s=!0;break}}if(!s)return;let o=!e;if(e)for(let i=0;i<ne.length;i++){let n=ne[i];t[n]!==e[n]&&(o=!0)}o&&h.Wi.read(()=>{i4(i,n),h.Wi.render(()=>{iQ(n,r,i1(i.tagName),t.transformTemplate),i7(i,n)})})}})},nn={current:null},nr={current:!1},ns=[...H,C.$,A.P],no=t=>ns.find(q(t)),na=new WeakMap,nl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class nu{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=N.e,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=h.XV.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,h.Wi.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=s;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=iR(e),this.isVariantNode=iL(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:c,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in d){let e=d[t];void 0!==a[t]&&(0,v.i)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,na.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
81h((t,e)=>this.bindToMotionValue(e,t)),nr.current||function(){if(nr.current=!0,iF.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>nn.current=t.matches;t.addListener(e),e()}else nn.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nn.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,h.Pn)(this.notifyUpdate),(0,h.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(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}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=c.G.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&h.Wi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in iO){let e=iO[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):tU()}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<nl.length;e++){let i=nl[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,v.i)(r))t.addValue(n,r);else if((0,v.i)(s))t.addValue(n,(0,h.BX)(r,{owner:t}));else if(s!==r){if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,h.BX)(void 0!==e?e:r,{owner:t}))}}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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,h.BX)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];
81return null!=n&&("string"==typeof n&&(X(n)||S(n))?n=parseFloat(n):!no(n)&&A.P.test(e)&&(n=$(t,e)),this.setBaseTarget(t,(0,v.i)(n)?n.get():n)),(0,v.i)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=l(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(i=r[t])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,v.i)(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new s.LF),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class nh extends nu{constructor(){super(...arguments),this.KeyframeResolver=G}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.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var nc=i(25820);
81class nd extends nh{constructor(){super(...arguments),this.type="html",this.renderInstance=i6}readValueFromInstance(t,e){if(c.G.has(e))return(0,nc.R)(t,e);{let i=window.getComputedStyle(t),n=((0,Z.f)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return tQ(t,e)}build(t,e,i){iZ(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return i3(t,e,i)}}class np extends nh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tU,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&i4(this.current,this.renderState)}}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(c.G.has(e)){let t=W(e);return t&&t.default||0}return e=i9.has(e)?e:g(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return nt(t,e,i)}onBindTransform(){this.current&&!this.renderState.dimensions&&h.Wi.postRender(this.updateDimensions)}build(t,e,i){iQ(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){i7(t,e,i,n)}mount(t){this.isSVGTag=i1(t.tagName),super.mount(t)}}let nf=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}((n={animation:{Feature:tb},exit:{Feature:tA},inView:{Feature:iV},tap:{Feature:iT},focus:{Feature:iw},hover:{Feature:ix},pan:{Feature:eu},drag:{Feature:ea,ProjectionNode:iy,MeasureLayout:ew},layout:{ProjectionNode:iy,MeasureLayout:ew}},r=(t,e)=>iK(t)?new np(e):new nd(e,{allowProjection:t!==ec.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,i;let{preloadedFeatures:n,createVisualElement:r,useRender:s,useVisualState:o,Component:a}=t;function l(t,e){var i;let n;let l={...(0,ec.useContext)(iE._),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,ec.useContext)(ep).id;return i&&void 0!==e?i+"-"+e:e}(t)},{isStatic:u}=l,c=function(t){let{initial:e,animate:i}=function(t,e){if(iR(t)){let{initial:e,animate:i}=t;return{initial:!1===e||tf(e)?e:void 0,animate:tf(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,ec.useContext)(iC));return(0,ec.useMemo)(()=>({initial:e,animate:i}),[ij(e),ij(i)])}(t),d=o(t,u);if(!u&&iF.j){(0,ec.useContext)(iD).strict;let t=function(t){let{drag:e,layout:i}=iO;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}}(l);n=t.MeasureLayout,c.visualElement=function(t,e,i,n,r){var s,o;let{visualElement:a}=(0,ec.useContext)(iC),l=(0,ec.useContext)(iD),u=(0,ec.useContext)(ed),c=(0,ec.useContext)(iE._).reducedMotion,d=(0,ec.useRef)(null);n=n||l.renderer,!d.current&&n&&(d.current=n(t,{visualState:e,parent:a,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));let p=d.current,f=(0,ec.useContext)(ef);p&&!p.projection&&r&&("html"===p.type||"svg"===p.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=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&&t1(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(d.current,i,r,f);let m=(0,ec.useRef)(!1);(0,ec.useInsertionEffect)(()=>{p&&m.current&&p.update(i,u)});let v=i[x],y=(0,ec.useRef)(!!v&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,v))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,v)));return(0,iW.L)(()=>{p&&(m.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),h.gJ.render(p.render),y.current&&p.animationState&&p.animationState.animateChanges())}),(0,ec.useEffect)(()=>{p&&(!y.current&&p.animationState&&p.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,v)}),y.current=!1))}),p}(a,d,l,r,t.ProjectionNode)}return(0,eh.jsxs)(iC.Provider,{value:c,children:[n&&c.visualElement?(0,eh.jsx)(n,{visualElement:c.visualElement,...l}):null,s(a,t,(i=c.visualElement,(0,ec.useCallback)(t=>{t&&d.onMount&&d.onMount(t),i&&(t?i.mount(t):i.unmount()),e&&("function"==typeof e?e(t):t1(e)&&(e.current=t))},[i])),d,u,c.visualElement)]})}n&&function(t){for(let e in t)iO[e]={...iO[e],...t[e]}}(n),l.displayName="motion.".concat("string"==typeof a?a:"create(".concat(null!==(i=null!==(e=a.displayName)&&void 0!==e?e:a.name)&&void 0!==i?i:"",")"));let u=(0,ec.forwardRef)(l);return u[iI]=a,u}({...iK(t)?ni:i8,preloadedFeatures:n,useRender:function(t=!1){return(e,i,n,{latestValues:r},s)=>
81{let o=(iK(e)?function(t,e,i,n){let r=(0,ec.useMemo)(()=>{let i=i0();return iQ(i,e,i1(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};iY(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return iY(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,ec.useMemo)(()=>{let i=iz();return iZ(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(i,r,s,e),a=(0,iq.L)(i,"string"==typeof e,t),l=e!==ec.Fragment?{...a,...o,ref:n}:{},{children:u}=i,h=(0,ec.useMemo)(()=>(0,v.i)(u)?u.get():u,[u]);return(0,ec.createElement)(e,{...l,children:h})}}(e),createVisualElement:r,Component:t})}))},42367:function(t,e,i){i.d(e,{L:function(){return a},K:function(){return o}});let n=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 r(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||n.has(t)}let s=t=>!r(t);function o(t){t&&(s=e=>e.startsWith("on")?!r(e):t(e))}try{o(require("@emotion/is-prop-valid").default)}catch(t){}function a(t,e,i){let n={};for(let o in t)("values"!==o||"object"!=typeof t.values)&&(s(o)||!0===i&&r(o)||!e&&!r(o)||t.draggable&&o.startsWith("onDrag"))&&(n[o]=t[o]);return n}},61534:function(t,e,i){i.d(e,{f:function(){return r},t:function(){return o}});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},35014:function(t,e,i){i.d(e,{Ei:function(){return h},lw:function(){return c},mP:function(){return a}});var n=i(40783),r=i(75480),s=i(66097),o=i(25820);let a=t=>t===n.Rx||t===r.px,l=new Set(["x","y","z"]),u=s._.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}let c={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>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,o.W)(e,"x"),y:(t,{transform:e})=>(0,o.W)(e,"y")};c.translateX=c.x,c.translateY=c.y},66097:function(t,e,i){i.d(e,{G:function(){return r},_:function(){return n}});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(n)},25820:function(t,e,i){i.d(e,{R:function(){return d},W:function(){return c}});let n=t=>180*t/Math.PI,r=t=>o(n(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(n(Math.atan2(t[6],t[5]))),rotateY:t=>o(n(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return t.includes("scale")?1:0}function c(t,e){let i,n;if(!t||"none"===t)return h(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=u,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return h(e);let o=i[e],a=n[1].split(",").map(p);return"function"==typeof o?o(a):a[o]}let d=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return c(i,e)};function p(t){return parseFloat(t.trim())}}
81,23653:function(t,e,i){i.d(e,{e:function(){return c},m:function(){return h}});var n=i(80615),r=i(35014);let s=new Set,o=!1,a=!1;function l(){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,r.Ei)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var n;null===(n=t.getValue(e))||void 0===n||n.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()),s.clear()}function u(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function h(){u(),l()}class c{constructor(t,e,i,n,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(s.add(this),o||(o=!0,n.Wi.read(u),n.Wi.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let r=0;r<t.length;r++)if(null===t[r]){if(0===r){let r=null==n?void 0: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])}else t[r]=t[r-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),s.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,s.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},51506:function(t,e,i){i.d(e,{u:function(){return n}});let n=(t,e,i)=>i>e?e:i<t?t:i},42548:function(t,e,i){i.d(e,{s:function(){return a}});var n=i(35894),r=i(51506),s=i(5389),o=i(89654);function a(t,e,{clamp:i=!0,ease:a,mixer:l}={}){let u=t.length;if((0,n.kG)(u===e.length,"Both input and output ranges must be the same length"),1===u)return()=>e[0];if(2===u&&e[0]===e[1])return()=>e[1];let h=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),e=[...e].reverse());let c=function(t,e,i){let r=[],a=i||s.C,l=t.length-1;for(let i=0;i<l;i++){let s=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.ZT:e;s=(0,o.z)(t,s)}r.push(s)}return r}(e,a,l),d=c.length,p=i=>{if(h&&i<t[0])return e[0];let r=0;if(d>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let s=(0,n.YD)(t[r],t[r+1],i);return c[r](s)};return i?e=>p((0,r.u)(t[0],t[u-1],e)):p}},77282:function(t,e,i){i.d(e,{j:function(){return n}});let n="undefined"!=typeof window},5389:function(t,e,i){i.d(e,{C:function(){return A}});var n=i(75004),r=i(35894);function s(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 o=i(45778),a=i(91583),l=i(598);function u(t,e){return i=>i>0?e:t}let h=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},c=[o.$,a.m,l.J],d=t=>c.find(e=>e.test(t));function p(t){let e=d(t);if((0,r.Kp)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===l.J&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,o=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,l=2*i-n;r=s(l,n,t+1/3),o=s(l,n,t),a=s(l,n,t-1/3)}else r=o=a=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(i)),i}let f=(t,e)=>{let i=p(t),r=p(e);if(!i||!r)return u(t,e);let s={...i};return t=>(s.red=h(i.red,r.red,t),s.green=h(i.green,r.green,t),s.blue=h(i.blue,r.blue,t),s.alpha=(0,n.t)(i.alpha,r.alpha,t),a.m.transform(s))};var m=i(89654),v=i(50146),y=i(69116),g=i(61534);let x=new Set(["none","hidden"]);function w(t,e){return i=>(0,n.t)(t,e,i)}function P(t){return"number"==typeof t?w:"string"==typeof t?(0,g.t)(t)?u:v.$.test(t)?f:S:Array.isArray(t)?T:"object"==typeof t?v.$.test(t)?f:b:u}function T(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>P(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function b(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=P(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let S=(t,e)=>{let i=y.P.createTransformer(e),n=(0,y.V)(t),s=(0,y.V)(e);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?x.has(t)&&!s.values.length||x.has(e)&&!n.values.length?x.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:(0,m.z)(T(function(t,e){var i;let n=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][r[o]],l=null!==(i=t.values[a])&&void 0!==i?i:0;n[s]=l,r[o]++}return n}(n,s),s.values),i):((0,r.Kp)(!0,`Complex values '${t}' and '${e}
81' 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.`),u(t,e))};function A(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,n.t)(t,e,i):P(t)(t,e)}},75004:function(t,e,i){i.d(e,{t:function(){return n}});let n=(t,e,i)=>t+(e-t)*i},40839:function(t,e,i){i.d(e,{Y:function(){return s}});var n=i(35894),r=i(75004);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.YD)(0,e,s);t.push((0,r.t)(i,1,o))}}(e,t.length-1),e}},89654:function(t,e,i){i.d(e,{z:function(){return r}});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},30458:function(t,e,i){i.d(e,{h:function(){return r}});var n=i(2265);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},74097:function(t,e,i){i.d(e,{c:function(){return n}});let n={current:!1}},9033:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(2265);let r=i(77282).j?n.useLayoutEffect:n.useEffect},45778:function(t,e,i){i.d(e,{$:function(){return r}});var n=i(91583);let r={test:(0,i(19336).i)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.m.transform}},598:function(t,e,i){i.d(e,{J:function(){return a}});var n=i(40783),r=i(75480),s=i(98998),o=i(19336);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,s.N)(e))+", "+r.aQ.transform((0,s.N)(i))+", "+(0,s.N)(n.Fq.transform(o))+")"}},50146:function(t,e,i){i.d(e,{$:function(){return o}});var n=i(45778),r=i(598),s=i(91583);let o={test:t=>s.m.test(t)||n.$.test(t)||r.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):r.J.test(t)?r.J.parse(t):n.$.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.m.transform(t):r.J.transform(t)}},91583:function(t,e,i){i.d(e,{m:function(){return u}});var n=i(51506),r=i(40783),s=i(98998),o=i(19336);let a=t=>(0,n.u)(0,255,t),l={...r.Rx,transform:t=>Math.round(a(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.N)(r.Fq.transform(n))+")"}},19336:function(t,e,i){i.d(e,{i:function(){return s},d:function(){return o}});var n=i(81322);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.K);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},69116:function(t,e,i){i.d(e,{V:function(){return h},P:function(){return f}});var n=i(50146);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(81322),o=i(98998);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(n.$.test(t)?(r.color.push(o),s.push(l),i.push(n.$.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function c(t){return h(t).values}function d(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.N)(t[u]):e===l?s+=n.$.transform(t[u]):s+=t[u]}return s}}let p=t=>
81"number"==typeof t?0:t,f={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(s.K))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(r))||void 0===i?void 0:i.length)||0)>0},parse:c,createTransformer:d,getAnimatableNone:function(t){let e=c(t);return d(t)(e.map(p))}}},40783:function(t,e,i){i.d(e,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var n=i(51506);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.u)(0,1,t)},o={...r,default:1}},75480:function(t,e,i){i.d(e,{$C:function(){return u},RW:function(){return r},aQ:function(){return s},px:function(){return o},vh:function(){return a},vw:function(){return l}});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},81322:function(t,e,i){i.d(e,{K:function(){return n}});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},98998:function(t,e,i){i.d(e,{N:function(){return n}});let n=t=>Math.round(1e5*t)/1e5},77599:function(t,e,i){i.d(e,{i:function(){return n}});let n=t=>!!(t&&t.getVelocity)},80615:function(t,e,i){let n;i.d(e,{sP:function(){return a},PM:function(){return q},_F:function(){return d},iI:function(){return h},Pn:function(){return S},S1:function(){return K},Wi:function(){return b},frameData:function(){return A},yL:function(){return M},wk:function(){return v},ev:function(){return l},Mr:function(){return B},qE:function(){return p},xD:function(){return c},DJ:function(){return W},hR:function(){return y},eB:function(){return function t(e,i){if(e)return"function"==typeof e&&m()?v(e,i):p(e)?g(e):Array.isArray(e)?e.map(e=>t(e,i)||x.easeOut):x[e]}},EO:function(){return u},gJ:function(){return k},BX:function(){return _},OD:function(){return Y},IG:function(){return L},KV:function(){return R},fx:function(){return P},Vc:function(){return m},tn:function(){return s},XV:function(){return E}});var r=i(35894);let s=(0,r.X$)(()=>void 0!==window.ScrollTimeline);class o{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>s()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class a extends o{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function l(t,e){return t?t[e]||t.default||t:void 0}let u=2e4;function h(t){let e=0,i=t.next(e);for(;!i.done&&e<u;)e+=50,i=t.next(e);return e>=u?1/0:e}function c(t){return"function"==typeof t}function d(t,e){t.timeline=e,t.onfinish=null}let p=t=>Array.isArray(t)&&"number"==typeof t[0],f={linearEasing:void 0},m=function(t,e){let i=(0,r.X$)(t);return()=>{var t;return null!==(t=f[e])&&void 0!==t?t:i()}}(()=>{try{document.createElement("div").animate({opacity:0}
81,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),v=(t,e,i=10)=>{let n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=t((0,r.YD)(0,s-1,e))+", ";return`linear(${n.substring(0,n.length-2)})`};function y(t){return!!("function"==typeof t&&m()||!t||"string"==typeof t&&(t in x||m())||p(t)||Array.isArray(t)&&t.every(y))}let g=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,x={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:g([0,.65,.55,1]),circOut:g([.55,0,1,.45]),backIn:g([.31,.01,.66,-.59]),backOut:g([.33,1.53,.69,.99])},w=["read","resolveKeyframes","update","preRender","render","postRender"],P={value:null,addProjectionMetrics:null};function T(t,e){let i=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,a=w.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,s=!1)=>{let a=s&&r?i:n;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(a=t,r){s=!0;return}r=!0,[i,n]=[n,i],i.forEach(u),e&&P.value&&P.value.frameloop[e].push(l),l=0,i.clear(),r=!1,s&&(s=!1,h.process(t))}};return h}(o,e?i:void 0),t),{}),{read:l,resolveKeyframes:u,update:h,preRender:c,render:d,postRender:p}=a,f=()=>{let o=r.cW.useManualTiming?s.timestamp:performance.now();i=!1,r.cW.useManualTiming||(s.delta=n?1e3/60:Math.max(Math.min(o-s.timestamp,40),1)),s.timestamp=o,s.isProcessing=!0,l.process(s),u.process(s),h.process(s),c.process(s),d.process(s),p.process(s),s.isProcessing=!1,i&&e&&(n=!1,t(f))},m=()=>{i=!0,n=!0,s.isProcessing||t(f)};return{schedule:w.reduce((t,e)=>{let n=a[e];return t[e]=(t,e=!1,r=!1)=>(i||m(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<w.length;e++)a[w[e]].cancel(t)},state:s,steps:a}}let{schedule:b,cancel:S,state:A,steps:M}=T("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.ZT,!0),{schedule:k,cancel:V}=T(queueMicrotask,!1);function D(){n=void 0}let E={now:()=>(void 0===n&&E.set(A.isProcessing||r.cW.useManualTiming?A.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(D)}},C={x:!1,y:!1};function R(t){return"x"===t||"y"===t?C[t]?null:(C[t]=!0,()=>{C[t]=!1}):C.x||C.y?null:(C.x=C.y=!0,()=>{C.x=C.y=!1})}function L(t,e,i){var n;if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let s=null!==(n=null==i?void 0:i[t])&&void 0!==n?n:r.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t)}function j(t,e){let i=L(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function F(t){return!("touch"===t.pointerType||C.x||C.y)}function B(t,e,i={}){let[n,r,s]=j(t,i),o=t=>{if(!F(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{F(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",o,r)}),s}function O(t,e){let i=`${e}PointerCapture`;if(t.target instanceof Element&&i in t.target&&void 0!==t.pointerId)try{t.target[i](t.pointerId)}catch(t){}}let I=(t,e)=>!!e&&(t===e||I(t,e.parentElement)),W=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,$=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),U=new WeakSet;function N(t){return e=>{"Enter"===e.key&&t(e)}}function X(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let Z=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=N(()=>{if(U.has(i))return;X(i,"down");let t=N(()=>{X(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>X(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function z(t){return W(t)&&!(C.x||C.y)}function Y(t,e,i={}){let[n,r,s]=j(t,i),o=t=>{let i=t.currentTarget;if(!i||!z(t)||U.has(i))return;U.add(i),O(t,"set");let n=e(i,t),s=(t,e)=>{i.removeEventListener("pointerup",o),i.removeEventListener("pointercancel",a),O(t,"release"),z(t)&&U.has(i)&&(U.delete(i),"function"==typeof n&&n(t,{success:e}))},o=t=>{var e;t.isTrusted&&(e=i instanceof Element?i.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight},t.clientX<e.left||t.clientX>
81e.right||t.clientY<e.top||t.clientY>e.bottom)?s(t,!1):s(t,!(i instanceof Element)||I(i,t.target))},a=t=>{s(t,!1)};i.addEventListener("pointerup",o,r),i.addEventListener("pointercancel",a,r),i.addEventListener("lostpointercapture",a,r)};return n.forEach(t=>{t=i.useGlobalTarget?window:t;let e=!1;if(t instanceof HTMLElement){var n;e=!0,n=t,$.has(n.tagName)||-1!==n.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0)}t.addEventListener("pointerdown",o,r),e&&t.addEventListener("focus",t=>Z(t,r),r)}),s}let q={layout:0,mainThread:0,waapi:0},H=t=>!isNaN(parseFloat(t)),K={current:void 0};class G{constructor(t,e={}){this.version="12.5.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=E.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=E.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=H(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 r.LF);let i=this.events[t].add(e);return"change"===t?()=>{i(),b.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,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}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()}get(){return K.current&&K.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=E.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.Rv)(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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function _(t,e){return new G(t,e)}},35894:function(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,{cW:function(){return l},LF:function(){return c},y4:function(){return n},kG:function(){return a},X$:function(){return u},X5:function(){return p},ZT:function(){return s},YD:function(){return h},cl:function(){return r},w4:function(){return d},Rv:function(){return f},Kp:function(){return o}});let s=t=>t,o=s,a=s,l={skipAnimations:!1,useManualTiming:!1};function u(t){let e;return()=>(void 0===e&&(e=t()),e)}let h=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};class c{constructor(){this.subscriptions=[]}add(t){return n(this.subscriptions,t),()=>r(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}}let d=t=>1e3*t,p=t=>t/1e3;function f(t,e){return e?1e3/e*t:0}}}]);

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