1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[382],{10:(t,e,n)=>{n.d(e,{P:()=>r});var i=n(20304);function r(t){return t.props[i.n]}},3691:(t,e,n)=>{n.d(e,{x:()=>a});var i=n(36010),r=n(14263),o=n(62326);function a(t,e,n){let a=(0,i.x)(t,e,n);for(let n in t)((0,r.S)(t[n])||(0,r.S)(e[n]))&&(a[-1!==o.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return a}},4923:(t,e,n)=>{n.d(e,{z:()=>o});var i=n(99153),r=n(62326);function o(t,{layout:e,layoutId:n}){return r.f.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!i.H[t]||"opacity"===t)}},4962:(t,e,n)=>{n.d(e,{f:()=>tf});let i=t=>null!==t;var r=n(62326);let o={type:"spring",stiffness:500,damping:25,restSpeed:10},a={type:"keyframes",duration:.8},s={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var l=n(46981),c=n(42499),u=n(94839),h=n(86335),d=n(47113),p=n(73972),m=n(72966);let f=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>h.Gt.update(e,t),stop:()=>(0,h.WG)(e),now:()=>h.uv.isProcessing?h.uv.timestamp:d.k.now()}};var g=n(86377),v=n(22573);function y({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){let h,d,p=t[0],m={done:!1,value:p},f=n*e,y=p+f,b=void 0===a?y:a(y);b!==y&&(f=b-p);let x=t=>-f*Math.exp(-t/i),S=t=>b+x(t),C=t=>{let e=x(t),n=S(t);m.done=Math.abs(e)<=c,m.value=m.done?b:n},E=t=>{let e;if(e=m.value,void 0!==s&&e<s||void 0!==l&&e>l){var n;h=t,d=(0,g.o)({keyframes:[m.value,(n=m.value,void 0===s?l:void 0===l||Math.abs(s-n)<Math.abs(l-n)?s:l)],velocity:(0,v.Y)(S,t,m.value),damping:r,stiffness:o,restDelta:c,restSpeed:u})}};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,C(t),E(t)),void 0!==h&&t>=h)?d.next(t-h):(e||C(t),m)}}}var b=n(5683),x=n(17671),S=n(43607);let C=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function E(t,e,n,i){return t===e&&n===i?S.l:r=>0===r||1===r?r:C(function(t,e,n,i,r){let o,a,s=0;do(o=C(a=e+(n-e)/2,i,r)-t)>0?n=a:e=a;while(Math.abs(o)>1e-7&&++s<12);return a}(r,0,1,t,n),e,i)}let T=E(.42,0,1,1),w=E(0,0,.58,1),P=E(.42,0,.58,1);var A=n(43725),k=n(56666),O=n(63561),M=n(7904);let j=E(.33,1.53,.69,.99),R=(0,M.G)(j),D=(0,O.V)(R),L=t=>(t*=2)<1?.5*R(t):.5*(2-Math.pow(2,-10*(t-1)));var N=n(80388);let B=t=>Array.isArray(t)&&"number"==typeof t[0],V={linear:S.l,easeIn:T,easeInOut:P,easeOut:w,circIn:N.po,circInOut:N.tn,circOut:N.yT,backIn:R,backInOut:D,backOut:j,anticipate:L},I=t=>{if(B(t)){(0,k.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,n,i,r]=t;return E(e,n,i,r)}return"string"==typeof t?((0,k.V)(void 0!==V[t],`Invalid easing type '${t}'`),V[t]):t};function F({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){var r;let o=(0,A.h)(i)?i.map(I):I(i),a={done:!1,value:e[0]},s=(r=n&&n.length===e.length?n:(0,x.Z)(e),r.map(e=>e*t)),l=(0,b.G)(s,e,{ease:Array.isArray(o)?o:e.map(()=>o||P).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}var _=n(19334);let H=t=>null!==t;function U(t,{repeat:e,repeatType:n="loop"},i,r=1){let o=t.filter(H),a=r<0||e&&"loop"!==n&&e%2==1?0:o.length-1;return a&&void 0!==i?i:o[a]}let W={decay:y,inertia:y,tween:F,keyframes:F,spring:g.o};function z(t){"string"==typeof t.type&&(t.type=W[t.type])}class G{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}var K=n(31355),q=n(46466);let X=t=>t/100;class $ extends G{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==d.k.now()&&this.tick(d.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},p.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;z(t);let{type:e=F,repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=t,{keyframes:a}=t,s=e||F;s!==F&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,K.F)(X,(0,m.j)(a[0],a[1])),a=[0,100]);let l=s({...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=s({...t,keyframes:[...a].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=(0,_.t)(l));let{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:n,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:s}=this;if(null===this.startTime)return n.next(0);let{delay:l=0,keyframes:c,repeat:u,repeatType:h,repeatDelay:d,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let b=this.currentTime,x=n;if(u){let t=Math.min(this.currentTime,i)/a,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,(e=Math.min(e,u+1))%2&&("reverse"===h?(n=1-n,d&&(n-=d/a)):"mirror"===h&&(x=o)),b=(0,q.q)(0,1,n)*a}let S=v?{done:!1,value:c[0]}:x.next(b);r&&(S.value=r(S.value));let{done:C}=S;v||null===s||(C=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&C);return E&&p!==y&&(S.value=U(c,this.options,f,this.speed)),m&&m(S.value),E&&this.finish(),S}then(t,e){return this.finished.then(t,e)}get duration(){return(0,c.X)(this.calculatedDuration)}get time(){return(0,c.X)(this.currentTime)}set time(t){t=(0,c.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(d.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,c.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=f,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(d.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,p.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var Y=n(26186),Q=n(97048),Z=n(60892);let J={};var tt=n(28329);let te=function(t,e){let n=(0,tt.p)(t);return()=>J[e]??n()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var tn=n(62285);let ti=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,tr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ti([0,.65,.55,1]),circOut:ti([.55,0,1,.45]),backIn:ti([.31,.01,.66,-.59]),backOut:ti([.33,1.53,.69,.99])};var to=n(56860);class ta extends G{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:n,keyframes:i,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:a,onComplete:s}=t;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=t,(0,k.V)("string"!=typeof t.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');let l=function({type:t,...e}){return(0,to.W)(t)&&te()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,n,{delay:i=0,duration:r=300,repeat:o=0,repeatType:a="loop",ease:s="easeOut",times:l}={},c){let u={[e]:n};l&&(u.offset=l);let h=function t(e,n){if(e)return"function"==typeof e?te()?(0,tn.K)(e,n):"ease-out":B(e)?ti(e):Array.isArray(e)?e.map(e=>t(e,n)||tr.easeOut):tr[e]}(s,r);Array.isArray(h)&&(u.easing=h),Z.Q.value&&p.q.waapi++;let d={delay:i,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"};c&&(d.pseudoElement=c);let m=t.animate(u,d);return Z.Q.value&&m.finished.finally(()=>{p.q.waapi--}),m}(e,n,i,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=U(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,n){e.startsWith("--")?t.style.setProperty(e,n):t.style[e]=n}(e,n,t),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,c.X)(Number(t))}get time(){return(0,c.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,
1c.f)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,Q.J)())?(this.animation.timeline=t,S.l):e(this)}}let ts={anticipate:L,backInOut:D,circInOut:N.tn};class tl extends ta{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in ts&&(t.ease=ts[t.ease])}(t),z(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:n,onComplete:i,element:r,...o}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new $({...o,autoplay:!1}),s=(0,c.f)(this.finishedTime??this.time);e.setWithVelocity(a.sample(s-10).value,a.sample(s).value,10),a.stop()}}var tc=n(71284);let tu=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tc.f.test(t)||"0"===t)&&!t.startsWith("url("));var th=n(73947);let td=new Set(["opacity","clipPath","filter","transform"]),tp=(0,tt.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tm extends G{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",keyframes:a,name:s,motionValue:l,element:c,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=d.k.now();let h={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:r,repeatType:o,name:s,motionValue:l,element:c,...u},p=c?.KeyframeResolver||Y.h;this.keyframeResolver=new p(a,(t,e,n)=>this.onKeyframesResolved(t,e,h,!n),s,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;let{name:r,type:o,velocity:a,delay:s,isHandoff:l,onUpdate:c}=n;this.resolvedAt=d.k.now(),!function(t,e,n,i){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],a=tu(r,e),s=tu(o,e);return(0,k.$)(a===s,`You are trying to animate ${e} from "${r}" to "${o}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${o} via the \`style\` property.`),!!a&&!!s&&(function(t){let e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||(0,to.W)(n))&&i)}(t,r,o,a)&&((u.W.instantAnimations||!s)&&c?.(U(t,n,e)),t[0]=t[t.length-1],n.duration=0,n.repeat=0);let h={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},p=!l&&function(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:r,damping:o,type:a}=t;if(!(0,th.s)(e?.owner?.current))return!1;let{onUpdate:s,transformTemplate:l}=e.owner.getProps();return tp()&&n&&td.has(n)&&("transform"!==n||!l)&&!s&&!i&&"mirror"!==r&&0!==o&&"inertia"!==a}(h)?new tl({...h,element:h.motionValue.owner.current}):new $(h);p.finished.then(()=>this.notifyFinished()).catch(S.l),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,Y.q)()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let tf=(t,e,n,d={},p,m)=>f=>{let g=(0,l.r)(d,t)||{},v=g.delay||d.delay||0,{elapsed:y=0}=d;y-=(0,c.f)(v);let b={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...g,delay:-y,onUpdate:t=>{e.set(t),g.onUpdate&&g.onUpdate(t)},onComplete:()=>{f(),g.onComplete&&g.onComplete()},name:t,motionValue:e,element:m?void 0:p};!function({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(g)&&Object.assign(b,((t,{keyframes:e})=>e.length>2?a:r.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:o:s)(t,b)),b.duration&&(b.duration=(0,c.f)(b.duration)),b.repeatDelay&&(b.repeatDelay=(0,c.f)(b.repeatDelay)),void 0!==b.from&&(b.keyframes[0]=b.from);let x=!1;if(!1!==b.type&&(0!==b.duration||b.repeatDelay)||(b.duration=0,0===b.delay&&(x=!0)),(u.W.instantAnimations||u.W.skipAnimations)&&(x=!0,b.duration=0,b.delay=0),b.allowFlatten=!g.type&&!g.ease,x&&!m&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:n="loop"},r){let o=t.filter(i),a=e&&"loop"!==n&&e%2==1?0:o.length-1;return o[a]}(b.keyframes,g);if(void 0!==t)return void h.Gt.update(()=>{b.onUpdate(t),b.onComplete()})}return g.isSync?new $(b):new tm(b)}},7187:(t,e,n)=>{n.d(e,{n:()=>i});let i=t=>"string"==typeof t&&"svg"===t.toLowerCase()},7904:(t,e,n)=>{n.d(e,{G:()=>i});let i=t=>e=>1-t(1-e)},8132:(t,e,n)=>{n.d(e,{e:()=>i});function i(t,{style:e,vars:n},i,r){for(let o in Object.assign(t.style,e,r&&r.getProjectionStyles(i)),n)t.style.setProperty(o,n[o])}},9617:(t,e,n)=>{n.d(e,{$:()=>i});let i=new Set(["width","height","top","left","right","bottom",...n(62326).U])},9856:(t,e,n)=>
1{Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{formatUrl:function(){return o},formatWithValidation:function(){return s},urlObjectKeys:function(){return a}});var i=n(61931)._(n(24736)),r=/https?|ftp|gopher|file/;function o(t){var e=t.auth,n=t.hostname,o=t.protocol||"",a=t.pathname||"",s=t.hash||"",l=t.query||"",c=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?c=e+t.host:n&&(c=e+(~n.indexOf(":")?"["+n+"]":n),t.port&&(c+=":"+t.port)),l&&"object"==typeof l&&(l=String(i.urlQueryToSearchParams(l)));var u=t.search||l&&"?"+l||"";return o&&!o.endsWith(":")&&(o+=":"),t.slashes||(!o||r.test(o))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),u&&"?"!==u[0]&&(u="?"+u),""+o+c+(a=a.replace(/[?#]/g,encodeURIComponent))+(u=u.replace("#","%23"))+s}var a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(t){return o(t)}},9959:(t,e,n)=>{n.d(e,{b:()=>y});var i=n(40499),r=n(9617),o=n(43555),a=n(44906),s=n(56666),l=n(49690);let c=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var u=n(26186),h=n(29724),d=n(71284),p=n(42465);let m=new Set(["auto","none","0"]);var f=n(78116);class g extends u.h{constructor(t,e,n,i,r){super(t,e,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n<t.length;n++){let i=t[n];if("string"==typeof i&&(i=i.trim(),(0,a.p)(i))){let r=function t(e,n,i=1){(0,s.V)(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,o]=function(t){let e=c.exec(t);if(!e)return[,];let[,n,i,r]=e;return[`--${n??i}`,r]}(e);if(!r)return;let u=window.getComputedStyle(n).getPropertyValue(r);if(u){let t=u.trim();return(0,l.i)(t)?parseFloat(t):t}return(0,a.p)(o)?t(o,n,i+1):o}(i,e.current);void 0!==r&&(t[n]=r),n===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!r.$.has(n)||2!==t.length)return;let[i,u]=t,h=(0,o.n)(i),d=(0,o.n)(u);if(h!==d)if((0,f.E4)(h)&&(0,f.E4)(d))for(let e=0;e<t.length;e++){let n=t[e];"string"==typeof n&&(t[e]=parseFloat(n))}else f.Hr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,n=[];for(let e=0;e<t.length;e++){var i;(null===t[e]||("number"==typeof(i=t[e])?0===i:null===i||"none"===i||"0"===i||(0,h.$)(i)))&&n.push(e)}n.length&&function(t,e,n){let i,r=0;for(;r<t.length&&!i;){let e=t[r];"string"==typeof e&&!m.has(e)&&(0,d.V)(e).values.length&&(i=t[r]),r++}if(i&&n)for(let r of e)t[r]=(0,p.J)(n,i)}(t,n,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=f.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;let i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);let r=n.length-1,o=n[r];n[r]=f.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}var v=n(14263);class y extends i.B{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:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,v.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},13479:(t,e,n)=>{n.d(e,{A:()=>a});var i=n(34023),r=n(58457),o=n(2810);let a=(t,e)=>{var n=i.useContext(r.A);return[i.useMemo(()=>{var i,r=e||o.A[t],a=null!=(i=null==n?void 0:n[t])?i:{};return Object.assign(Object.assign({},"function"==typeof r?r():r),a||{})},[t,e,n]),i.useMemo(()=>{var t=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!t?o.A.locale:t},[n])]}},14263:(t,e,n)=>{n.d(e,{S:()=>i});let i=t=>!!(t&&t.getVelocity)},15406:(t,e,n)=>{n.d(e,{xQ:()=>o});var i=n(34023),r=n(57553);function o(t=!0){let e=(0,i.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:n,onExitComplete:a,register:s}=e,l=(0,i.useId)();(0,i.useEffect)(()=>{if(t)return s(l)},[t]);let c=(0,i.useCallback)(()=>t&&a&&a(l),[l,a,t]);return!n&&a?[!1,c]:[!0]}},18171:(t,e,n)=>{n.d(e,{C:()=>i});let i=new WeakMap},19334:(t,e,n)=>{n.d(e,{Y:()=>i,t:()=>r});let i=2e4;function r(t){let e=0,n=t.next(e);for(;!n.done&&e<i;)e+=50,n=t.next(e);return e>=i?1/0:e}},20112:(t,e,n)=>{n.d(e,{N:()=>i});function i(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},20304:(t,e,n)=>{n.d(e,{n:()=>i});let i="data-"+(0,n(26798).I)("framerAppearId")},22573:(t,e,n)=>{n.d(e,{Y:()=>r});var i=n(49199);function r(t,e,n){let r=Math.max(e-5,0);return(0,i.f)(n-t(r),e-r)}},23295:(t,e,n)=>{n.d(e,{K:()=>r});var i=n(87467);function r(t,e,n){let r=t.getProps();return(0,i.a)(r,e,void 0!==n?n:r.custom,t)}},23527:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"errorOnce",{enumerable:!0,get:function(){return n}});var n=t=>{}},23785:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=n(51555),r=n(88411),o=n(54289),a=n(87048);Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{default:function(){return x},useLinkStatus:function(){return C}});var s=n(61931),l=n(94799),c=s._(n(34023)),u=n(9856),h=n(85758),d=n(24885),p=n(72366),m=n(64756);n(18967);var f=n(28665),g=n(79321),v=n(72885);n(23527);var y=n(35294);function b(t){return"string"==typeof t?t:(0,u.formatUrl)(t)}function x(t){var e,n,s,u,x=a._((0,c.useOptimistic)(f.IDLE_LINK_STATUS),2),C=x[0],E=x[1],T=(0,c.useRef)(null),w=t.href,P=t.as,A=t.children,k=t.prefetch,O=void 0===k?null:k,M=t.passHref,j=t.replace,R=(t.shallow,t.scroll),D=t.onClick,L=t.onMouseEnter,N=t.onTouchStart,B=t.legacyBehavior,V=void 0!==B&&B,I=t.onNavigate,F=t.ref,_=t.unstable_dynamicOnHover,H=o._(t,["href","as","children","prefetch","passHref","replace","shallow","scroll","onClick","onMouseEnter","onTouchStart","legacyBehavior","onNavigate","ref","unstable_dynamicOnHover"]);n=A,V&&("string"==typeof n||"number"==typeof n)&&(n=(0,l.jsx)("a",{children:n}));var U=c.default.useContext(h.AppRouterContext),W=!1!==O,z=!1!==O?null===(e=O)||"auto"===e?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,G=c.default.useMemo(()=>{var t=b(w);return{href:t,as:P?b(P):t}},[w,P]),K=G.href,q=G.as;V&&(s=c.default.Children.only(n));var X=V?s&&"object"==typeof s&&s.ref:F,$=c.default.useCallback(t=>(null!==U&&(T.current=(0,f.mountLinkInstance)(t,K,U,z,W,E)),()=>{T.current&&((0,f.unmountLinkForCurrentNavigation)(T.current),T.current=null),(0,f.unmountPrefetchableInstance)(t)}),[W,K,U,z,E]),Y={ref:(0,d.useMergedRef)($,X),onClick(t){V||"function"!=typeof D||D(t),V&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),U&&(t.defaultPrevented||function(t,e,n,i,r,o,a){if(!("A"===t.currentTarget.nodeName.toUpperCase()&&((s=t.currentTarget.getAttribute("target"))&&"_self"!==s||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))){if
1(!(0,g.isLocalURL)(e)){r&&(t.preventDefault(),location.replace(e));return}if(t.preventDefault(),a){var s,l=!1;if(a({preventDefault:()=>{l=!0}}),l)return}c.default.startTransition(()=>{(0,v.dispatchNavigateAction)(n||e,r?"replace":"push",null==o||o,i.current)})}}(t,K,q,T,j,R,I))},onMouseEnter(t){V||"function"!=typeof L||L(t),V&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(t),U&&W&&(0,f.onNavigationIntent)(t.currentTarget,!0===_)},onTouchStart:function(t){V||"function"!=typeof N||N(t),V&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(t),U&&W&&(0,f.onNavigationIntent)(t.currentTarget,!0===_)}};return(0,p.isAbsoluteUrl)(q)?Y.href=q:V&&!M&&("a"!==s.type||"href"in s.props)||(Y.href=(0,m.addBasePath)(q)),u=V?c.default.cloneElement(s,Y):(0,l.jsx)("a",r._(i._({},H,Y),{children:n})),(0,l.jsx)(S.Provider,{value:C,children:u})}var S=(0,c.createContext)(f.IDLE_LINK_STATUS),C=()=>(0,c.useContext)(S);("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},24214:(t,e,n)=>{n.d(e,{B:()=>r});let i={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},r={};for(let t in i)r[t]={isEnabled:e=>i[t].some(t=>!!e[t])}},24736:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=n(87048);function r(t){var e={},n=!0,r=!1,o=void 0;try{for(var a,s=t.entries()[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=i._(a.value,2),c=l[0],u=l[1],h=e[c];void 0===h?e[c]=u:Array.isArray(h)?h.push(u):e[c]=[h,u]}}catch(t){r=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}return e}function o(t){return"string"==typeof t?t:("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function a(t){var e=new URLSearchParams,n=!0,r=!1,a=void 0;try{for(var s,l=Object.entries(t)[Symbol.iterator]();!(n=(s=l.next()).done);n=!0){var c=i._(s.value,2),u=c[0],h=c[1];if(Array.isArray(h)){var d=!0,p=!1,m=void 0;try{for(var f,g=h[Symbol.iterator]();!(d=(f=g.next()).done);d=!0){var v=f.value;e.append(u,o(v))}}catch(t){p=!0,m=t}finally{try{d||null==g.return||g.return()}finally{if(p)throw m}}}else e.set(u,o(h))}}catch(t){r=!0,a=t}finally{try{n||null==l.return||l.return()}finally{if(r)throw a}}return e}function s(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=!0,a=!1,s=void 0;try{for(var l,c=n[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){var u=l.value,h=!0,d=!1,p=void 0;try{for(var m,f=u.keys()[Symbol.iterator]();!(h=(m=f.next()).done);h=!0){var g=m.value;t.delete(g)}}catch(t){d=!0,p=t}finally{try{h||null==f.return||f.return()}finally{if(d)throw p}}var v=!0,y=!1,b=void 0;try{for(var x,S=u.entries()[Symbol.iterator]();!(v=(x=S.next()).done);v=!0){var C=i._(x.value,2),E=C[0],T=C[1];t.append(E,T)}}catch(t){y=!0,b=t}finally{try{v||null==S.return||S.return()}finally{if(y)throw b}}}}catch(t){a=!0,s=t}finally{try{o||null==c.return||c.return()}finally{if(a)throw s}}return t}Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{assign:function(){return s},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return a}})},24885:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useMergedRef",{enumerable:!0,get:function(){return r}});var i=n(34023);function r(t,e){var n=(0,i.useRef)(null),r=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){var a=n.current;a&&(n.current=null,a());var s=r.current;s&&(r.current=null,s())}else t&&(n.current=o(t,i)),e&&(r.current=o(e,i))},[t,e])}function o(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};var n=t(e);return"function"==typeof n?n:()=>t(null)}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},26186:(t,e,n)=>{n.d(e,{h:()=>d,q:()=>h});var i=n(78116),r=n(86335);let o=new Set,a=!1,s=!1,l=!1;function c(){if(s){let t=Array.from(o).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{let e=(0,i.W9)(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=n.get(t);e&&e.forEach(([e,n])=>{t.getValue(e)?.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}s=!1,a=!1,o.forEach(t=>t.complete(l)),o.clear()}function u(){o.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(s=!0)})}function h(){l=!0,u(),c(),l=!1}class d{constructor(t,e,n,i,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(o.add(this),a||(a=!0,r.Gt.read(u),r.Gt.resolveKeyframes(c))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(null===t[0]){let r=i?.get(),o=t[t.length-1];if(void 0!==r)t[0]=r;else if(n&&e){let i=n.readValue(e,o);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===r&&i.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),o.delete(this)}cancel(){"scheduled"===this.state&&(o.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},26798:(t,e,n)=>{n.d(e,{I:()=>i});let i=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},26947:(t,e,n)=>{n.d(e,{B:()=>s});var i=n(84163),r=n(14050);let o={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function s(t,{attrX:e,attrY:n,attrScale:s,pathLength:l,pathSpacing:c=1,pathOffset:u=0,...h},d,p,m){if((0,i.O)(t,h,p),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:g}=t;f.transform&&(g.transform=f.transform,delete f.transform),(g.transform||f.transformOrigin)&&(g.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),g.transform&&(g.transformBox=m?.transformBox??"fill-box",delete f.transformBox),void 0!==e&&(f.x=e),void 0!==n&&(f.y=n),void 0!==s&&(f.scale=s),void 0!==l&&function(t,e,n=1,i=0,s=!0){t.pathLength=1;let l=s?o:a;t[l.offset]=r.px.transform(-i);let c=r.px.transform(e),u=r.px.transform(n);t[l.array]=`${c} ${u}`}(f,l,c,u,!1)}},29162:(t,e,n)=>{n.d(e,{G:()=>i});function i(t){var e,n,i,r,o,a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},l=t.componentCls,c="".concat(l,"-compact");return{[c]:Object.assign(Object.assign({},(e=s.focusElCls,n=s.focus,i=s.borderElCls?"> *":"",r=["hover",n?"focus":null,"active"].filter(Boolean).map(t=>"&:".concat(t," ").concat(i)).join(","),{["&-item:not(".concat(c,"-last-item)")]:{marginInlineEnd:t.calc(t.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[r]:{zIndex:2}},e?{["&".concat(e)]:{zIndex:2}}:{}),{["&[disabled] ".concat(i)]:{zIndex:0}})})),(a=(o=s.borderElCls)?"> ".concat(o):"",{["&-item:not(".concat(c,"-first-item):not(").concat(c,"-last-item) ").concat(a)]:{borderRadius:0},["&-item:not(".concat(c,"-last-item)").concat(c,"-first-item")]:{["& ".concat(a,", &").concat(l,"-sm ").concat(a,", &").concat(l,"-lg ").concat(a)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&-item:not(".concat(c,"-first-item)").concat(c,"-last-item")]:{["& ".concat(a,", &").concat(l,"-sm ").concat(a,", &").concat(l,"-lg ").concat(a)]:{borderStartStartRadius:0,borderEndStartRadius:0}}}))}}},29724:(t,e,n)=>{n.d(e,{$:()=>i});let i=t=>/^0[^.\s]+$/u.test(t)},36010:(t,e,n)=>{n.d(e,{x:()=>o});var i=n(4923),r=n(14263);function o(t,e,n){let{style:o}=t,a={};for(let s in o)((0,r.S)(o[s])||e.style&&(0,r.S)(e.style[s])||(0,i.z)(s,t)||n?.getValue(s)?.liveStyle!==void 0)&&(a[s]=o[s]);return a}},36554:(t,e,n)=>{function i(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:n}){return!i(t)||!i(e)||!i(n)}function o(t){return r(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}n.d(e,{HD:()=>o,vF:()=>a,vk:()=>r})},38300:(t,e,n)=>{n.d(e,{W:()=>s});var i=n(13507);let r={...i.ai,transform:Math.round};var o=n(14050);let a={rotate:o.uj,rotateX:o.uj,rotateY:o.uj,rotateZ:o.uj,scale:i.hs,scaleX:i.hs,scaleY:i.hs,scaleZ:i.hs,skew:o.uj,skewX:o.uj,skewY:o.uj,distance:o.px,translateX:o.px,translateY:o.px,translateZ:o.px,x:o.px,y:o.px,z:o.px,perspective:o.px,transformPerspective:o.px,opacity:i.X4,originX:o.gQ,originY:o.gQ,originZ:o.px},s={borderWidth:o.px,borderTopWidth:o.px,borderRightWidth:o.px,borderBottomWidth:o.px,borderLeftWidth:o.px,borderRadius:o.px,radius:o.px,borderTopLeftRadius:o.px,borderTopRightRadius:o.px,borderBottomRightRadius:o.px,borderBottomLeftRadius:o.px,width:o.px,maxWidth:o.px,height:o.px,maxHeight:o.px,top:o.px,right:o.px,bottom:o.px,left:o.px,padding:o.px,paddingTop:o.px,paddingRight:o.px,paddingBottom:o.px,paddingLeft:o.px,margin:o.px,marginTop:o.px,marginRight:o.px,marginBottom:o.px,marginLeft:o.px,backgroundPositionX:o.px,backgroundPositionY:o.px,...a,zIndex:r,fillOpacity:i.X4,strokeOpacity:i.X4,numOctaves:r}},38893:(t,e,n)=>{n.d(e,{w:()=>i});function i(t){return"string"==typeof t||Array.isArray(t)}},39075:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(85319),r=n(34023);
1let o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var a=n(67376);let s=r.forwardRef(function(t,e){return r.createElement(a.A,(0,i.A)({},t,{ref:e,icon:o}))})},39918:(t,e,n)=>{n.d(e,{D:()=>a});var i=n(49068),r=n(62767);let o={...n(38300).W,color:i.y,backgroundColor:i.y,outlineColor:i.y,fill:i.y,stroke:i.y,borderColor:i.y,borderTopColor:i.y,borderRightColor:i.y,borderBottomColor:i.y,borderLeftColor:i.y,filter:r.p,WebkitFilter:r.p},a=t=>o[t]},40487:(t,e,n)=>{n.d(e,{OU:()=>c,Ql:()=>u,Ww:()=>d,hq:()=>o,o4:()=>l});var i=n(36554),r=n(43686);function o(t,e,n){return n+e*(t-n)}function a(t,e,n,i,r){return void 0!==r&&(t=i+r*(t-i)),i+n*(t-i)+e}function s(t,e=0,n=1,i,r){t.min=a(t.min,e,n,i,r),t.max=a(t.max,e,n,i,r)}function l(t,{x:e,y:n}){s(t.x,e.translate,e.scale,e.originPoint),s(t.y,n.translate,n.scale,n.originPoint)}function c(t,e,n,r=!1){let o,a,s=n.length;if(s){e.x=e.y=1;for(let c=0;c<s;c++){a=(o=n[c]).projectionDelta;let{visualElement:s}=o.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&d(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,l(t,a)),r&&(0,i.HD)(o.latestValues)&&d(t,o.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function u(t,e){t.min=t.min+e,t.max=t.max+e}function h(t,e,n,i,o=.5){let a=(0,r.k)(t.min,t.max,o);s(t,e,n,a,i)}function d(t,e){h(t.x,e.x,e.scaleX,e.scale,e.originX),h(t.y,e.y,e.scaleY,e.scale,e.originY)}},40499:(t,e,n)=>{n.d(e,{B:()=>A});var i=n(24214),r=n(52430),o=n(7088);let a={current:null},s={current:!1};var l=n(18171),c=n(96553),u=n(14263),h=n(2198),d=n(87467),p=n(26186),m=n(47113),f=n(86335),g=n(62326),v=n(49690),y=n(29724),b=n(49068),x=n(71284),S=n(43555),C=n(62374);let E=[...S.T,b.y,x.f];var T=n(42465),w=n(23022);let P=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class A{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=p.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=m.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,f.Gt.render(this.render,!1,!0))};let{latestValues:s,renderState:l}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=e.initial?{...s}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=(0,c.e)(e),this.isVariantNode=(0,c.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in d){let e=d[t];void 0!==s[t]&&(0,u.S)(e)&&e.set(s[t],!1)}}mount(t){this.current=t,l.C.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),s.current||function(){if(s.current=!0,o.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>a.current=t.matches;t.addListener(e),e()}else a.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||a.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,f.WG)(this.notifyUpdate),(0,f.WG)(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 n;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let i=g.f.has(t);i&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&f.Gt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),o=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),o(),n&&n(),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 i.B){let e=i.B[t];if(!e)continue;let{isEnabled:n,Feature:r}=e;if(!this.features[t]&&r&&n(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,r.ge)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<P.length;e++){let n=P[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(t,e,n){for(let i in e){let r=e[i],o=n[i];if((0,u.S)(r))t.addValue(i,r);else if((0,u.S)(o))t.addValue(i,(0,h.OQ)(r,{owner:t}));else if(o!==r)if(t.hasValue(i)){let e=t.getValue(i);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(i);t.addValue(i,(0,h.OQ)(void 0!==e?e:r,{owner:t}))}}for(let i in n)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let n=this.values.get(t);e!==n&&(n&&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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,h.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=n){if("string"==typeof n&&((0,v.i)(n)||(0,y.$)(n)))n=parseFloat(n);else{let i;i=n,!E.find((0,C.w)(i))&&x.f.test(e)&&(n=(0,T.J)(t,e))}this.setBaseTarget(t,(0,u.S)(n)?n.get():n)}return(0,u.S)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let i=(0,d.a)(this.props,n,this.presenceContext?.custom);i&&(e=i[t])}if(n&&void 0!==e)return e;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,u.S)(i)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new w.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}},42465:(t,e,n)=>{n.d(e,{J:()=>a});var i=n(71284),r=n(62767),o=n(39918);function a(t,e){let n=(0,o.D)(t);return n!==r.p&&(n=i.f),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},42499:(t,e,n)=>{n.d(e,{X:()=>r,f:()=>i});let i=t=>1e3*t,r=t=>t/1e3},43555:(t,e,n)=>{n.d(e,{T:()=>a,n:()=>s});var i=n(13507),r=n(14050),o=n(62374);let a=[i.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],s=t=>a.find((0,o.w)(t))},43725:(t,e,n)=>{n.d(e,{h:()=>i});let i=t=>Array.isArray(t)&&"number"!=typeof t[0]},46981:(t,e,n)=>{n.d(e,{r:()=>i});function i(t,e){return t?.[e]??t?.default??t}},47871:(t,e,n)=>{n.d(e,{d:()=>s});var i=n(34023),r=n(47888),o=n(50937),a=n(2198);function s(t){let e=(0,o.M)(()=>(0,a.OQ)(t)),{isStatic:n}=(0,i.useContext)(r.Q);if(n){let[,n]=(0,i.useState)(t);(0,i.useEffect)(()=>e.on("change",n),[])}return e}},47888:(t,e,n)=>{n.d(e,{Q:()=>i});var i=(0,n(34023).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},48500:(t,e,n)=>{n.d(e,{G:()=>u});var i=n(50937),r=n(79202),o=n(47871),a=n(86335);function s(t,e){let n=(0,o.d)(e()),i=()=>n.set(e());return i(),(0,r.E)(()=>{let e=()=>a.Gt.preRender(i,!1,!0),n=t.map(t=>t.on("change",e));return()=>
1{n.forEach(t=>t()),(0,a.WG)(i)}}),n}var l=n(2198),c=n(5683);function u(t,e,n,i){if("function"==typeof t){l.bt.current=[],t();let e=s(l.bt.current,t);return l.bt.current=void 0,e}let r="function"==typeof e?e:function(...t){let e=!Array.isArray(t[0]),n=e?0:-1,i=t[0+n],r=t[1+n],o=t[2+n],a=t[3+n],s=(0,c.G)(r,o,a);return e?s(i):s}(e,n,i);return Array.isArray(t)?h(t,r):h([t],([t])=>r(t))}function h(t,e){let n=(0,i.M)(()=>[]);return s(t,()=>{n.length=0;let i=t.length;for(let e=0;e<i;e++)n[e]=t[e].get();return e(n)})}},49690:(t,e,n)=>{n.d(e,{i:()=>i});let i=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},49736:(t,e,n)=>{function i({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function o(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}n.d(e,{FY:()=>i,bS:()=>o,pA:()=>r})},50988:(t,e,n)=>{n.d(e,{A:()=>r});var i={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var e=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||e>=i.F1&&e<=i.F12)return!1;switch(e){case i.ALT:case i.CAPS_LOCK:case i.CONTEXT_MENU:case i.CTRL:case i.DOWN:case i.END:case i.ESC:case i.HOME:case i.INSERT:case i.LEFT:case i.MAC_FF_META:case i.META:case i.NUMLOCK:case i.NUM_CENTER:case i.PAGE_DOWN:case i.PAGE_UP:case i.PAUSE:case i.PRINT_SCREEN:case i.RIGHT:case i.SHIFT:case i.UP:case i.WIN_KEY:case i.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=i.ZERO&&t<=i.NINE||t>=i.NUM_ZERO&&t<=i.NUM_MULTIPLY||t>=i.A&&t<=i.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===t)return!0;switch(t){case i.SPACE:case i.QUESTION_MARK:case i.NUM_PLUS:case i.NUM_MINUS:case i.NUM_PERIOD:case i.NUM_DIVISION:case i.SEMICOLON:case i.DASH:case i.EQUALS:case i.COMMA:case i.PERIOD:case i.SLASH:case i.APOSTROPHE:case i.SINGLE_QUOTE:case i.OPEN_SQUARE_BRACKET:case i.BACKSLASH:case i.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};let r=i},51122:(t,e,n)=>{n.d(e,{p:()=>i});let i=t=>Array.isArray(t)},52430:(t,e,n)=>{n.d(e,{ge:()=>a,xU:()=>r});let i=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:i(),y:i()}),o=()=>({min:0,max:0}),a=()=>({x:o(),y:o()})},56352:(t,e,n)=>{n.d(e,{$:()=>d});var i=n(51122),r=n(23295),o=n(2198),a=n(91624),s=n(10),l=n(4962),c=n(46981),u=n(86335),h=n(9617);function d(t,e,{delay:n=0,transitionOverride:p,type:m}={}){let{transition:f=t.getDefaultTransition(),transitionEnd:g,...v}=e;p&&(f=p);let y=[],b=m&&t.animationState&&t.animationState.getState()[m];for(let e in v){let i=t.getValue(e,t.latestValues[e]??null),r=v[e];if(void 0===r||b&&function({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}(b,e))continue;let o={delay:n,...(0,c.r)(f||{},e)},d=i.get();if(void 0!==d&&!i.isAnimating&&!Array.isArray(r)&&r===d&&!o.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let n=(0,s.P)(t);if(n){let t=window.MotionHandoffAnimation(n,e,u.Gt);null!==t&&(o.startTime=t,p=!0)}}(0,a.g)(t,e),i.start((0,l.f)(e,i,r,t.shouldReduceMotion&&h.$.has(e)?{type:!1}:o,t,p));let m=i.animation;m&&y.push(m)}return g&&Promise.all(y).then(()=>{u.Gt.update(()=>{g&&function(t,e){let{transitionEnd:n={},transition:a={},...s}=(0,r.K)(t,e)||{};for(let e in s={...s,...n}){var l;let n=(l=s[e],(0,i.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,o.OQ)(n))}}(t,g)})}),y}},56860:(t,e,n)=>{n.d(e,{W:()=>i});function i(t){return"function"==typeof t&&"applyToOptions"in t}},57553:(t,e,n)=>{n.d(e,{t:()=>i});var i=(0,n(34023).createContext)(null)},58330:(t,e,n)=>{n.d(e,{A:()=>
1o});var i=n(87048),r=n(4509);let o=t=>(0,i._)((0,r.Ay)(),5)[4]?"".concat(t,"-css-var"):""},62285:(t,e,n)=>{n.d(e,{K:()=>i});let i=(t,e,n=10)=>{let i="",r=Math.max(Math.round(e/n),2);for(let e=0;e<r;e++)i+=t(e/(r-1))+", ";return`linear(${i.substring(0,i.length-2)})`}},62326:(t,e,n)=>{n.d(e,{U:()=>i,f:()=>r});let i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(i)},62374:(t,e,n)=>{n.d(e,{w:()=>i});let i=t=>e=>e.test(t)},62767:(t,e,n)=>{n.d(e,{p:()=>l});var i=n(71284),r=n(4362);let o=new Set(["brightness","contrast","saturate","opacity"]);function a(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=n.match(r.S)||[];if(!i)return t;let a=n.replace(i,""),s=+!!o.has(e);return i!==n&&(s*=100),e+"("+s+a+")"}let s=/\b([a-z-]*)\(.*?\)/gu,l={...i.f,getAnimatableNone:t=>{let e=t.match(s);return e?e.map(a).join(" "):t}}},63561:(t,e,n)=>{n.d(e,{V:()=>i});let i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},66657:(t,e,n)=>{n.d(e,{L:()=>a,m:()=>o});var i=n(49736),r=n(40487);function o(t,e){return(0,i.FY)((0,i.bS)(t.getBoundingClientRect(),e))}function a(t,e,n){let i=o(t,n),{scroll:a}=e;return a&&((0,r.Ql)(i.x,a.offset.x),(0,r.Ql)(i.y,a.offset.y)),i}},68995:(t,e,n)=>{n.d(e,{h:()=>r});var i=n(72330);function r(t){return(0,i.x)(t)&&"svg"===t.tagName}},71566:(t,e,n)=>{n.d(e,{P:()=>nP});var i,r,o=n(20112),a=n(23295),s=n(56352);function l(t,e,n={}){let i=(0,a.K)(t,e,"exit"===n.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);let o=i?()=>Promise.all((0,s.$)(t,i,n)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=r;return function(t,e,n=0,i=0,r=1,o){let a=[],s=(t.variantChildren.size-1)*i,u=1===r?(t=0)=>t*i:(t=0)=>s-t*i;
1return Array.from(t.variantChildren).sort(c).forEach((t,i)=>{t.notify("AnimationStart",e),a.push(l(t,e,{...o,delay:n+u(i)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(a)}(t,e,o+i,a,s,n)}:()=>Promise.resolve(),{when:h}=r;if(!h)return Promise.all([o(),u(n.delay)]);{let[t,e]="beforeChildren"===h?[o,u]:[u,o];return t().then(()=>e())}}function c(t,e){return t.sortNodePosition(e)}var u=n(51122);function h(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}var d=n(38893),p=n(72908);let m=p._.length,f=[...p.U].reverse(),g=p.U.length;function v(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function y(){return{animate:v(!0),whileInView:v(),whileHover:v(),whileTap:v(),whileDrag:v(),whileFocus:v(),exit:v()}}class b{constructor(t){this.isMounted=!1,this.node=t}update(){}}class x extends b{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>l(t,e,n)));else if("string"==typeof e)i=l(t,e,n);else{let r="function"==typeof e?(0,a.K)(t,e,n.custom):e;i=Promise.all((0,s.$)(t,r,n))}return i.then(()=>{t.notify("AnimationComplete",e)})})(t,e,n))),n=y(),i=!0,r=e=>(n,i)=>{let r=(0,a.K)(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...i}=r;n={...n,...i,...e}}return n};function c(s){let{props:l}=t,c=function t(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(n.initial=e.props.initial),n}let n={};for(let t=0;t<m;t++){let i=p._[t],r=e.props[i];((0,d.w)(r)||!1===r)&&(n[i]=r)}return n}(t.parent)||{},v=[],y=new Set,b={},x=1/0;for(let e=0;e<g;e++){var S,C;let a=f[e],p=n[a],m=void 0!==l[a]?l[a]:c[a],g=(0,d.w)(m),E=a===s?p.isActive:null;!1===E&&(x=e);let T=m===c[a]&&m!==l[a]&&g;if(T&&i&&t.manuallyAnimateOnMount&&(T=!1),p.protectedKeys={...b},!p.isActive&&null===E||!m&&!p.prevProp||(0,o.N)(m)||"boolean"==typeof m)continue;let w=(S=p.prevProp,"string"==typeof(C=m)?C!==S:!!Array.isArray(C)&&!h(C,S)),P=w||a===s&&p.isActive&&!T&&g||e>x&&g,A=!1,k=Array.isArray(m)?m:[m],O=k.reduce(r(a),{});!1===E&&(O={});let{prevResolvedValues:M={}}=p,j={...M,...O},R=e=>{P=!0,y.has(e)&&(A=!0,y.delete(e)),p.needsAnimating[e]=!0;let n=t.getValue(e);n&&(n.liveStyle=!1)};for(let t in j){let e=O[t],n=M[t];if(!b.hasOwnProperty(t))((0,u.p)(e)&&(0,u.p)(n)?h(e,n):e===n)?void 0!==e&&y.has(t)?R(t):p.protectedKeys[t]=!0:null!=e?R(t):y.add(t)}p.prevProp=m,p.prevResolvedValues=O,p.isActive&&(b={...b,...O}),i&&t.blockInitialAnimation&&(P=!1);let D=!(T&&w)||A;P&&D&&v.push(...k.map(t=>({animation:t,options:{type:a}})))}if(y.size){let e={};if("boolean"!=typeof l.initial){let n=(0,a.K)(t,Array.isArray(l.initial)?l.initial[0]:l.initial);n&&n.transition&&(e.transition=n.transition)}y.forEach(n=>{let i=t.getBaseTarget(n),r=t.getValue(n);r&&(r.liveStyle=!0),e[n]=i??null}),v.push({animation:e})}let E=!!v.length;return i&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(E=!1),i=!1,E?e(v):Promise.resolve()}return{animateChanges:c,setActive:function(e,i){if(n[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),n[e].isActive=i;let r=c(e);for(let t in n)n[t].protectedKeys={};return r},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=y(),i=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,o.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let S=0;class C extends b{constructor(){super(...arguments),this.id=S++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var E=n(4962);function T(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}let w=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function P(t){return{point:{x:t.pageX,y:t.pageY}}}function A(t,e,n,i){return T(t,e,t=>w(t)&&n(t,P(t)),i)}var k=n(49736),O=n(43686);function M(t){return t.max-t.min}function j(t,e,n,i=.5){t.origin=i,t.originPoint=(0,O.k)(e.min,e.max,t.origin),t.scale=M(n)/M(e),t.translate=(0,O.k)(n.min,n.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 R(t,e,n,i){j(t.x,e.x,n.x,i?i.originX:void 0),j(t.y,e.y,n.y,i?i.originY:void 0)}function D(t,e,n){t.min=n.min+e.min,t.max=t.min+M(e)}function L(t,e,n){t.min=e.min-n.min,t.max=t.min+M(e)}function N(t,e,n){L(t.x,e.x,n.x),L(t.y,e.y,n.y)}var B=n(52430);function V(t){return[t("x"),t("y")]}var I=n(66657);let F=({current:t})=>t?t.ownerDocument.defaultView:null;function _(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var H=n(91624);let U=(t,e)=>Math.abs(t-e);var W=n(86335),z=n(31355),G=n(42499);class K{constructor(t,e,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=$(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){return Math.sqrt(U(t.x,e.x)**2+U(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;let{point:i}=t,{timestamp:r}=W.uv;this.history.push({...i,timestamp:r});let{onStart:o,onMove:a}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=q(e,this.transformPagePoint),W.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=$("pointercancel"===t.type?this.lastMoveEventInfo:q(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!w(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=n,this.contextWindow=i||window;
1let o=q(P(t),this.transformPagePoint),{point:a}=o,{timestamp:s}=W.uv;this.history=[{...a,timestamp:s}];let{onSessionStart:l}=e;l&&l(t,$(o,this.history)),this.removeListeners=(0,z.F)(A(this.contextWindow,"pointermove",this.handlePointerMove),A(this.contextWindow,"pointerup",this.handlePointerUp),A(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,W.WG)(this.updatePoint)}}function q(t,e){return e?{point:e(t.point)}:t}function X(t,e){return{x:t.x-e.x,y:t.y-e.y}}function $({point:t},e){return{point:t,delta:X(t,Y(e)),offset:X(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,r=Y(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>(0,G.f)(.1)));)n--;if(!i)return{x:0,y:0};let o=(0,G.X)(r.timestamp-i.timestamp);if(0===o)return{x:0,y:0};let a={x:(r.x-i.x)/o,y:(r.y-i.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function Y(t){return t[t.length-1]}var Q=n(82558),Z=n(46466);function J(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function tt(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function te(t,e,n){return{min:tn(t,e),max:tn(t,n)}}function tn(t,e){return"number"==typeof t?t:t[e]||0}var ti=n(56666);let tr={x:!1,y:!1};var to=n(14050);let ta=new WeakMap;class ts{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,B.ge)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let i=t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(P(t).point)},r=(t,e)=>{let{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(tr[t])return null;else return tr[t]=!0,()=>{tr[t]=!1};return tr.x||tr.y?null:(tr.x=tr.y=!0,()=>{tr.x=tr.y=!1})}(n),!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),V(t=>{let e=this.getAxisMotionValue(t).get()||0;if(to.KN.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[t];i&&(e=M(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&W.Gt.postRender(()=>r(t,e)),(0,H.g)(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},o=(t,e)=>{let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:a}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),o&&o(t,e)},a=(t,e)=>this.stop(t,e),s=()=>V(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:l}=this.getProps();this.panSession=new K(t,{onSessionStart:i,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:F(this.visualElement)})}stop(t,e){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:i}=e;this.startAnimation(i);let{onDragEnd:r}=this.getProps();r&&W.Gt.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:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:i}=this.getProps();if(!n||!tl(t,i,this.currentDirection))return;let r=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?(0,O.k)(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?(0,O.k)(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),r.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&_(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(t,{top:e,left:n,bottom:i,right:r}){return{x:J(t.x,n,r),y:J(t.y,e,i)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:te(t,"left","right"),y:te(t,"top","bottom")}}(e),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&V(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!_(e))return!1;let i=e.current;(0,ti.V)(null!==i,"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;let o=(0,I.L)(i,r.root,this.visualElement.getTransformPagePoint()),a=(t=r.layout.layoutBox,{x:tt(t.x,o.x),y:tt(t.y,o.y)});if(n){let t=n((0,k.pA)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,k.FY)(t))}return a}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(V(a=>
1{if(!tl(a,e,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});let c={type:"inertia",velocity:n?t[a]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,c)})).then(a)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return(0,H.g)(this.visualElement,t),n.start((0,E.f)(t,n,0,e,this.visualElement,!1))}stopAnimation(){V(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){V(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){V(e=>{let{drag:n}=this.getProps();if(!tl(e,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(e);if(i&&i.layout){let{min:n,max:o}=i.layout.layoutBox[e];r.set(t[e]-(0,O.k)(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!_(e)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};V(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let n=e.get();i[t]=function(t,e){let n=.5,i=M(t),r=M(e);return r>i?n=(0,Q.q)(e.min,e.max-i,t.min):i>r&&(n=(0,Q.q)(t.min,t.max-r,e.min)),(0,Z.q)(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),V(e=>{if(!tl(e,t,null))return;let n=this.getAxisMotionValue(e),{min:r,max:o}=this.constraints[e];n.set((0,O.k)(r,o,i[e]))})}addListeners(){if(!this.visualElement.current)return;ta.set(this.visualElement,this);let t=A(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();_(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),W.Gt.read(e);let r=T(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(V(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),i(),o&&o()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:a}}}function tl(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}var tc=n(43607);class tu extends b{constructor(t){super(t),this.removeGroupControls=tc.l,this.removeListeners=tc.l,this.controls=new ts(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tc.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let th=t=>(e,n)=>{t&&W.Gt.postRender(()=>t(e,n))};class td extends b{constructor(){super(...arguments),this.removePointerDownListener=tc.l}onPointerDown(t){this.session=new K(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:F(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:th(t),onStart:th(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&&W.Gt.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=A(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 tp=n(51555),tm=n(88411),tf=n(87048),tg=n(94799),tv=n(34023),ty=n(15406),tb=n(98441),tx=(0,tv.createContext)({});let tS={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tC(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tE={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!to.px.test(t))return t;else t=parseFloat(t);let n=tC(t,e.target.x),i=tC(t,e.target.y);return`${n}% ${i}%`}};var tT=n(71284),tw=n(99153);let{schedule:tP}=(0,n(23244).I)(queueMicrotask,!1);class tA extends tv.Component{componentDidMount(){var t=this.props,e=t.visualElement,n=t.layoutGroup,i=t.switchLayoutGroup,r=t.layoutId,o=e.projection;(0,tw.$)(tO),o&&(n.group&&n.group.add(o),i&&i.register&&r&&i.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions((0,tm._)((0,tp._)({},o.options),{onExitComplete:()=>this.safeToRemove()}))),tS.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){var e=this.props,n=e.layoutDependency,i=e.visualElement,r=e.drag,o=e.isPresent,a=i.projection;return a&&(a.isPresent=o,r||t.layoutDependency!==n||void 0===n||t.isPresent!==o?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||W.Gt.postRender(()=>{var t=a.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),tP.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){var t=this.props,e=t.visualElement,n=t.layoutGroup,i=t.switchLayoutGroup,r=e.projection;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){var t=this.props.safeToRemove;t&&t()}render(){return null}}function tk(t){var e=(0,tf._)((0,ty.xQ)(),2),n=e[0],i=e[1],r=(0,tv.useContext)(tb.L);return(0,tg.jsx)(tA,(0,tm._)((0,tp._)({},t),{layoutGroup:r,switchLayoutGroup:(0,tv.useContext)(tx),isPresent:n,safeToRemove:i}))}var tO={borderRadius:(0,tm._)((0,tp._)({}
1,tE),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:tE,borderTopRightRadius:tE,borderBottomLeftRadius:tE,borderBottomRightRadius:tE,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let i=tT.f.parse(t);if(i.length>5)return t;let r=tT.f.createTransformer(t),o=+("number"!=typeof i[0]),a=n.x.scale*e.x,s=n.y.scale*e.y;i[0+o]/=a,i[1+o]/=s;let l=(0,O.k)(a,s,.5);return"number"==typeof i[2+o]&&(i[2+o]/=l),"number"==typeof i[3+o]&&(i[3+o]/=l),r(i)}}},tM=n(93744),tj=n(10);let tR=(t,e)=>t.depth-e.depth;var tD=n(37088);class tL{constructor(){this.children=[],this.isDirty=!1}add(t){(0,tD.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,tD.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tR),this.isDirty=!1,this.children.forEach(t)}}var tN=n(47113),tB=n(14263);function tV(t){return(0,tB.S)(t)?t.get():t}var tI=n(80388);let tF=["TopLeft","TopRight","BottomLeft","BottomRight"],t_=tF.length,tH=t=>"string"==typeof t?parseFloat(t):t,tU=t=>"number"==typeof t||to.px.test(t);function tW(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let tz=tK(0,.5,tI.yT),tG=tK(.5,.95,tc.l);function tK(t,e,n){return i=>i<t?0:i>e?1:n((0,Q.q)(t,e,i))}function tq(t,e){t.min=e.min,t.max=e.max}function tX(t,e){tq(t.x,e.x),tq(t.y,e.y)}function t$(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var tY=n(40487);function tQ(t,e,n,i,r){return t-=e,t=(0,tY.hq)(t,1/n,i),void 0!==r&&(t=(0,tY.hq)(t,1/r,i)),t}function tZ(t,e,[n,i,r],o,a){!function(t,e=0,n=1,i=.5,r,o=t,a=t){if(to.KN.test(e)&&(e=parseFloat(e),e=(0,O.k)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let s=(0,O.k)(o.min,o.max,i);t===o&&(s-=e),t.min=tQ(t.min,e,n,s,r),t.max=tQ(t.max,e,n,s,r)}(t,e[n],e[i],e[r],e.scale,o,a)}let tJ=["x","scaleX","originX"],t0=["y","scaleY","originY"];function t1(t,e,n,i){tZ(t.x,e,tJ,n?n.x:void 0,i?i.x:void 0),tZ(t.y,e,t0,n?n.y:void 0,i?i.y:void 0)}function t2(t){return 0===t.translate&&1===t.scale}function t3(t){return t2(t.x)&&t2(t.y)}function t4(t,e){return t.min===e.min&&t.max===e.max}function t5(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function t6(t,e){return t5(t.x,e.x)&&t5(t.y,e.y)}function t7(t){return M(t.x)/M(t.y)}function t9(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class t8{constructor(){this.members=[]}add(t){(0,tD.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,tD.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var et=n(36554),ee=n(60892),en=n(23022),ei=n(72330),er=n(68995),eo=n(46981),ea=n(73972),es=n(2198);let el={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ec=["","X","Y","Z"],eu={visibility:"hidden"},eh=0;function ed(t,e,n,i){let{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function ep({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(t={},n=e?.()){this.id=eh++,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=()=>
1{this.projectionUpdateScheduled=!1,ee.Q.value&&(el.nodes=el.calculatedTargetDeltas=el.calculatedProjections=0),this.nodes.forEach(eg),this.nodes.forEach(eE),this.nodes.forEach(eT),this.nodes.forEach(ev),ee.Q.addProjectionMetrics&&ee.Q.addProjectionMetrics(el)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new tL)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new en.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,ei.x)(e)&&!(0,er.h)(e),this.instance=e;let{layoutId:n,layout:i,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||n)&&(this.isLayoutDirty=!0),t){let n,i=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=tN.k.now(),i=({timestamp:e})=>{let r=e-n;r>=250&&((0,W.WG)(i),t(r-250))};return W.Gt.setup(i,!0),()=>(0,W.WG)(i)}(i,250),tS.hasAnimatedSinceResize&&(tS.hasAnimatedSinceResize=!1,this.nodes.forEach(eC))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&r&&(n||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||r.getDefaultTransition()||eM,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=r.getProps(),l=!this.targetLayout||!t6(this.targetLayout,i),c=!e&&n;if(this.options.layoutRoot||this.resumeFrom||c||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,eo.r)(o,"layout"),onPlay:a,onComplete:s};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,c)}else e||eC(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,W.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ew),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:n}=e.options;if(!n)return;let i=(0,tj.P)(n);if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",W.Gt,!(t||n))}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:n}=this.options;if(void 0===e&&!n)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
1h(eb);return}this.isUpdating||this.nodes.forEach(ex),this.isUpdating=!1,this.nodes.forEach(eS),this.nodes.forEach(em),this.nodes.forEach(ef),this.clearAllSnapshots();let t=tN.k.now();W.uv.delta=(0,Z.q)(0,1e3/60,t-W.uv.timestamp),W.uv.timestamp=t,W.uv.isProcessing=!0,W.PP.update.process(W.uv),W.PP.preRender.process(W.uv),W.PP.render.process(W.uv),W.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tP.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ey),this.sharedNodes.forEach(eP)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,W.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){W.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||M(this.snapshot.measuredBox.x)||M(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,B.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(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&&!t3(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,et.HD)(this.latestValues)||o)&&(r(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let n=this.measurePageBox(),i=this.removeElementScroll(n);return t&&(i=this.removeTransform(i)),eD((e=i).x),eD(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,B.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eN))){let{scroll:t}=this.root;t&&((0,tY.Ql)(e.x,t.offset.x),(0,tY.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,B.ge)();if(tX(e,t),this.scroll?.wasRoot)return e;for(let n=0;n<this.path.length;n++){let i=this.path[n],{scroll:r,options:o}=i;i!==this.root&&r&&o.layoutScroll&&(r.wasRoot&&tX(e,t),(0,tY.Ql)(e.x,r.offset.x),(0,tY.Ql)(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let n=(0,B.ge)();tX(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(0,tY.Ww)(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),(0,et.HD)(i.latestValues)&&(0,tY.Ww)(n,i.latestValues)}return(0,et.HD)(this.latestValues)&&(0,tY.Ww)(n,this.latestValues),n}removeTransform(t){let e=(0,B.ge)();tX(e,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];if(!n.instance||!(0,et.HD)(n.latestValues))continue;(0,et.vk)(n.latestValues)&&n.updateSnapshot();let i=(0,B.ge)();tX(i,n.measurePageBox()),t1(e,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return(0,et.HD)(this.latestValues)&&t1(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!==W.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==e;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:i,layoutId:r}=this.options;if(this.layout&&(i||r)){if(this.resolvedRelativeTargetAt=W.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,B.ge)(),this.relativeTargetOrigin=(0,B.ge)(),N(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),tX(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,B.ge)(),this.targetWithTransforms=(0,B.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,s;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,s=this.relativeParent.target,D(o.x,a.x,s.x),D(o.y,a.y,s.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tX(this.target,this.layout.layoutBox),(0,tY.o4)(this.target,this.targetDelta)):tX(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,B.ge)(),this.relativeTargetOrigin=(0,B.ge)(),N(this.relativeTargetOrigin,this.target,t.target),tX(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ee.Q.value&&el.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,et.vk)(this.parent.latestValues)||(0,et.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,n=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===W.uv.timestamp&&(n=!1),n)return;let{layout:i,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||r))return;tX(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,tY.OU)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,B.ge)());let{target:s}=t;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(t$(this.prevProjectionDelta.x,this.projectionDelta.x),t$(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),R(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&t9(this.projectionDelta.x,this.prevProjectionDelta.x)&&t9(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),ee.Q.value&&el.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,B.xU)(),this.projectionDelta=(0,B.xU)(),this.projectionDeltaWithTransform=(0,B.xU)()}setAnimationOrigin(t,e=!1){let n,i=this.snapshot,r=i?i.latestValues:{},o={...this.latestValues},a=(0,B.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let s=(0,B.ge)(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,h=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(eO));this.animationProgress=0,this.mixTargetDelta=e=>{let i=e/1e3;if(eA(a.x,t.x,i),eA(a.y,t.y,i),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,d,p,m,f,g;N(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=s,g=i,ek(p.x,m.x,f.x,g),ek(p.y,m.y,f.y,g),n&&(c=this.relativeTarget,d=n,t4(c.x,d.x)&&t4(c.y,d.y))&&(this.isProjectionDirty=!1),n||(n=(0,B.ge)()),tX(n,this.relativeTarget)}l&&(this.animationValues=o,function(t,e,n,i,r,o){r?(t.opacity=(0,O.k)(0,n.opacity??1,tz(i)),t.opacityExit=(0,O.k)(e.opacity??1,0,tG(i))):o&&(t.opacity=(0,O.k)(e.opacity??1,n.opacity??1,i));for(let r=0;r<t_;r++){let o=`border${tF[r]}Radius`,a=tW(e,o),s=tW(n,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||tU(a)===tU(s)?(t[o]=Math.max((0,O.k)(tH(a),tH(s),i),0),(to.KN.test(s)||to.KN.test(a))&&(t[o]+="%")):t[o]=s)}(e.rotate||n.rotate)&&(t.rotate=(0,O.k)(e.rotate||0,n.rotate||0,i))}(o,r,this.latestValues,i,h,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,W.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=W.Gt.update(()=>{tS.hasAnimatedSinceResize=!0,ea.q.layout++,this.motionValue||(this.motionValue=(0,es.OQ)(0)),this.currentAnimation=(0,tM.z)(this.motionValue,[0,1e3],{...t,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{ea.q.layout--},onComplete:()=>{ea.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:n,layout:i,latestValues:r}=t;
1if(e&&n&&i){if(this!==t&&this.layout&&i&&eL(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||(0,B.ge)();let e=M(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let i=M(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}tX(e,n),(0,tY.Ww)(e,r),R(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new t8),this.sharedNodes.get(t).add(e);let n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){let i=this.getStack();i&&i.promote(this,n),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:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;let i={};n.z&&ed("z",t,i,this.animationValues);for(let e=0;e<ec.length;e++)ed(`rotate${ec[e]}`,t,i,this.animationValues),ed(`skew${ec[e]}`,t,i,this.animationValues);for(let e in t.render(),i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}getProjectionStyles(t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return eu;let e={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.opacity="",e.pointerEvents=tV(t?.pointerEvents)||"",e.transform=n?n(this.latestValues,""):"none",e;let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tV(t?.pointerEvents)||""),this.hasProjected&&!(0,et.HD)(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1),e}let r=i.animationValues||i.latestValues;this.applyTransformsToTarget(),e.transform=function(t,e,n){let i="",r=t.x.translate/e.x,o=t.y.translate/e.y,a=n?.z||0;if((r||o||a)&&(i=`translate3d(${r}px, ${o}px, ${a}px) `),(1!==e.x||1!==e.y)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:o,skewX:a,skewY:s}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),r&&(i+=`rotateX(${r}deg) `),o&&(i+=`rotateY(${o}deg) `),a&&(i+=`skewX(${a}deg) `),s&&(i+=`skewY(${s}deg) `)}let s=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==s||1!==l)&&(i+=`scale(${s}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,r),n&&(e.transform=n(r,e.transform));let{x:o,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,i.animationValues?e.opacity=i===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:e.opacity=i===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,tw.H){if(void 0===r[t])continue;let{correct:n,applyTo:o,isCSSVariable:a}=tw.H[t],s="none"===e.transform?r[t]:n(r[t],i);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=s}else a?this.options.visualElement.renderState.vars[t]=s:e[t]=s}return this.options.layoutId&&(e.pointerEvents=i===this?tV(t?.pointerEvents)||"":"none"),e}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eb),this.root.sharedNodes.clear()}}}function em(t){t.updateLayout()}function ef(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:i}=t.layout,{animationType:r}=t.options,o=e.source!==t.layout.source;"size"===r?V(t=>{let i=o?e.measuredBox[t]:e.layoutBox[t],r=M(i);i.min=n[t].min,i.max=i.min+r}
1):eL(r,e.layoutBox,n)&&V(i=>{let r=o?e.measuredBox[i]:e.layoutBox[i],a=M(n[i]);r.max=r.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+a)});let a=(0,B.xU)();R(a,n,e.layoutBox);let s=(0,B.xU)();o?R(s,t.applyTransform(i,!0),e.measuredBox):R(s,n,e.layoutBox);let l=!t3(a),c=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:r,layout:o}=i;if(r&&o){let a=(0,B.ge)();N(a,e.layoutBox,r.layoutBox);let s=(0,B.ge)();N(s,n,o.layoutBox),t6(a,s)||(c=!0),i.options.layoutRoot&&(t.relativeTarget=s,t.relativeTargetOrigin=a,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eg(t){ee.Q.value&&el.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 ev(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ey(t){t.clearSnapshot()}function eb(t){t.clearMeasurements()}function ex(t){t.isLayoutDirty=!1}function eS(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eC(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eE(t){t.resolveTargetDelta()}function eT(t){t.calcProjection()}function ew(t){t.resetSkewAndRotation()}function eP(t){t.removeLeadSnapshot()}function eA(t,e,n){t.translate=(0,O.k)(e.translate,0,n),t.scale=(0,O.k)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ek(t,e,n,i){t.min=(0,O.k)(e.min,n.min,i),t.max=(0,O.k)(e.max,n.max,i)}function eO(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eM={duration:.45,ease:[.4,0,.1,1]},ej=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eR=ej("applewebkit/")&&!ej("chrome/")?Math.round:tc.l;function eD(t){t.min=eR(t.min),t.max=eR(t.max)}function eL(t,e,n){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(t7(e)-t7(n)))}function eN(t){return t!==t.root&&t.scroll?.wasRoot}let eB=ep({attachResizeListener:(t,e)=>T(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eV={current:void 0},eI=ep({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eV.current){let t=new eB({});t.mount(window),t.setOptions({layoutScroll:!0}),eV.current=t}return eV.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var eF=n(96138);function e_(t,e){let n=(0,eF.K)(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function eH(t){return!("touch"===t.pointerType||tr.x||tr.y)}function eU(t,e,n){let{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);let r=i["onHover"+n];r&&W.Gt.postRender(()=>r(e,P(e)))}class eW extends b{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){let[i,r,o]=e_(t,n),a=t=>{if(!eH(t))return;let{target:n}=t,i=e(n,t);if("function"!=typeof i||!n)return;let o=t=>{eH(t)&&(i(t),n.removeEventListener("pointerleave",o))};n.addEventListener("pointerleave",o,r)};return i.forEach(t=>{t.addEventListener("pointerenter",a,r)}),o}(t,(t,e)=>(eU(this.node,e,"Start"),t=>eU(this.node,t,"End"))))}unmount(){}}class ez extends b{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,z.F)(T(this.node.current,"focus",()=>this.onFocus()),T(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var eG=n(73947);let eK=(t,e)=>!!e&&(t===e||eK(t,e.parentElement)),eq=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),eX=new WeakSet;function e$(t){return e=>{"Enter"===e.key&&t(e)}}function eY(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function eQ(t){return w(t)&&!(tr.x||tr.y)}function eZ(t,e,n){let{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);let r=i["onTap"+("End"===n?"":n)];r&&W.Gt.postRender(()=>r(e,P(e)))}class eJ extends b{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){let[i,r,o]=e_(t,n),a=t=>{let i=t.currentTarget;if(!eQ(t))return;eX.add(i);let o=e(i,t),a=(t,e)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),eX.has(i)&&eX.delete(i),eQ(t)&&"function"==typeof o&&o(t,{success:e})},s=t=>{a(t,i===window||i===document||n.useGlobalTarget||eK(i,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",s,r),window.addEventListener("pointercancel",l,r)};
1return i.forEach(t=>{((n.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),(0,eG.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let n=t.currentTarget;if(!n)return;let i=e$(()=>{if(eX.has(n))return;eY(n,"down");let t=e$(()=>{eY(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>eY(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)})(t,r)),eq.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}(t,(t,e)=>(eZ(this.node,e,"Start"),(t,{success:e})=>eZ(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let e0=new WeakMap,e1=new WeakMap,e2=t=>{let e=e0.get(t.target);e&&e(t)},e3=t=>{t.forEach(e2)},e4={some:0,all:1};class e5 extends b{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:r}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:e4[i]},a=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:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)};var s=this.node.current;let l=function({root:t,...e}){let n=t||document;e1.has(n)||e1.set(n,{});let i=e1.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(e3,{root:t,...e})),i[r]}(o);return e0.set(s,a),l.observe(s),()=>{e0.delete(s),l.unobserve(s)}}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 n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}var e6=(0,tv.createContext)({strict:!1}),e7=n(47888),e9=(0,tv.createContext)({}),e8=n(96553);function nt(t){return Array.isArray(t)?t.join(" "):t}var ne=n(7088),nn=n(24214);let ni=Symbol.for("motionComponentSymbol");var nr=n(20304),no=n(57553),na=n(79202),ns=n(4923),nl=n(84163);let nc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function nu(t,e,n){for(let i in e)(0,tB.S)(e[i])||(0,ns.z)(i,n)||(t[i]=e[i])}var nh=n(26947);let nd=()=>({...nc(),attrs:{}});var np=n(7187);let nm=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 nf(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||nm.has(t)}let ng=t=>!nf(t);try{!function(t){t&&(ng=e=>e.startsWith("on")?!nf(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}let nv=["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 ny(t){if("string"!=typeof t||t.includes("-"));else if(nv.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var nb=n(87467),nx=n(50937);let nS=t=>(e,n)=>{let i=(0,tv.useContext)(e9),r=(0,tv.useContext)(no.t),a=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,r){return{latestValues:function(t,e,n,i){let r={},a=i(t,{});for(let t in a)r[t]=tV(a[t]);let{initial:s,animate:l}=t,c=(0,e8.e)(t),u=(0,e8.O)(t);e&&u&&!c&&!1!==t.inherit&&(void 0===s&&(s=e.initial),void 0===l&&(l=e.animate));let h=!!n&&!1===n.initial,d=(h=h||!1===s)?l:s;if(d&&"boolean"!=typeof d&&!(0,o.N)(d)){let e=Array.isArray(d)?d:[d];for(let n=0;n<e.length;n++){let i=(0,nb.a)(t,e[n]);if(i){let{transitionEnd:t,transition:e,...n}=i;for(let t in n){let e=n[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(n,i,r,t),renderState:e()}})(t,e,i,r);return n?a():(0,nx.M)(a)},nC={useVisualState:nS({scrapeMotionValuesFromProps:n(36010).x,createRenderState:nc})},nE={useVisualState:nS({scrapeMotionValuesFromProps:n(3691).x,createRenderState:nd})};var nT=n(92697),nw=n(99711);let nP=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(n,i)=>"create"===i?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}((i={animation:{Feature:x},exit:{Feature:C},inView:{Feature:e5},tap:{Feature:eJ},focus:{Feature:ez},hover:{Feature:eW},pan:{Feature:td},drag:{Feature:tu,ProjectionNode:eI,MeasureLayout:tk},layout:{ProjectionNode:eI,MeasureLayout:tk}},r=(t,e)=>ny(t)?new nw.l(e):new nT.M(e,{allowProjection:t!==tv.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,n,i=t.preloadedFeatures,r=t.createVisualElement,o=t.useRender,a=t.useVisualState,s=t.Component;function l(t,e){var n,i,l,c,u=(0,tm._)((0,tp._)({},(0,tv.useContext)(e7.Q),t),{layoutId:(n=t.layoutId,(i=(0,tv.useContext)(tb.L).id)&&void 0!==n?i+"-"+n:n)}),h=u.isStatic,p=function(t){let{initial:e,animate:n}=function(t,e){if((0,e8.e)(t)){let{initial:e,animate:n}=t;return{initial:!1===e||(0,d.w)(e)?e:void 0,animate:(0,d.w)(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,tv.useContext)(e9));return(0,tv.useMemo)(()=>({initial:e,animate:n}),[nt(e),nt(n)])}(t),m=a(t,h);if(!h&&ne.B){(0,tv.useContext)(e6).strict;var f=function(t){var e=nn.B.drag,n=nn.B.layout;if(!e&&!n)return{};var i=(0,tp._)({},e,n);return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}
1(u);c=f.MeasureLayout,p.visualElement=function(t,e,n,i,r){let{visualElement:o}=(0,tv.useContext)(e9),a=(0,tv.useContext)(e6),s=(0,tv.useContext)(no.t),l=(0,tv.useContext)(e7.Q).reducedMotion,c=(0,tv.useRef)(null);i=i||a.renderer,!c.current&&i&&(c.current=i(t,{visualState:e,parent:o,props:n,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));let u=c.current,h=(0,tv.useContext)(tx);u&&!u.projection&&r&&("html"===u.type||"svg"===u.type)&&function(t,e,n,i){let{layoutId:r,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c,layoutCrossfade:u}=e;t.projection=new n(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:o,alwaysMeasureLayout:!!a||s&&_(s),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,crossfade:u,layoutScroll:l,layoutRoot:c})}(c.current,n,r,h);let d=(0,tv.useRef)(!1);(0,tv.useInsertionEffect)(()=>{u&&d.current&&u.update(n,s)});let p=n[nr.n],m=(0,tv.useRef)(!!p&&!window.MotionHandoffIsComplete?.(p)&&window.MotionHasOptimisedAnimation?.(p));return(0,na.E)(()=>{u&&(d.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),tP.render(u.render),m.current&&u.animationState&&u.animationState.animateChanges())}),(0,tv.useEffect)(()=>{u&&(!m.current&&u.animationState&&u.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(p)}),m.current=!1))}),u}(s,m,u,r,f.ProjectionNode)}return(0,tg.jsxs)(e9.Provider,{value:p,children:[c&&p.visualElement?(0,tg.jsx)(c,(0,tp._)({visualElement:p.visualElement},u)):null,o(s,t,(l=p.visualElement,(0,tv.useCallback)(t=>{t&&m.onMount&&m.onMount(t),l&&(t?l.mount(t):l.unmount()),e&&("function"==typeof e?e(t):_(e)&&(e.current=t))},[l])),m,h,p.visualElement)]})}i&&function(t){for(let e in t)nn.B[e]={...nn.B[e],...t[e]}}(i),l.displayName="motion.".concat("string"==typeof s?s:"create(".concat(null!=(n=null!=(e=s.displayName)?e:s.name)?n:"",")"));var c=(0,tv.forwardRef)(l);return c[ni]=s,c}({...ny(t)?nE:nC,preloadedFeatures:i,useRender:function(t=!1){return(e,n,i,{latestValues:r},o)=>{let a=(ny(e)?function(t,e,n,i){let r=(0,tv.useMemo)(()=>{let n=nd();return(0,nh.B)(n,e,(0,np.n)(i),t.transformTemplate,t.style),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};nu(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let n={},i=function(t,e){let n=t.style||{},i={};return nu(i,n,t),Object.assign(i,function({transformTemplate:t},e){return(0,tv.useMemo)(()=>{let n=nc();return(0,nl.O)(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),i}(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n})(n,r,o,e),s=function(t,e,n){let i={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(ng(r)||!0===n&&nf(r)||!e&&!nf(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}(n,"string"==typeof e,t),l=e!==tv.Fragment?{...s,...a,ref:i}:{},{children:c}=n,u=(0,tv.useMemo)(()=>(0,tB.S)(c)?c.get():c,[c]);return(0,tv.createElement)(e,{...l,children:u})}}(e),createVisualElement:r,Component:t})}))},72366:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=n(56501),r=n(3412);Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{DecodeError:function(){return g},MiddlewareNotFoundError:function(){return x},MissingStaticPage:function(){return b},NormalizeError:function(){return v},PageNotFoundError:function(){return y},SP:function(){return m},ST:function(){return f},WEB_VITALS:function(){return o},execOnce:function(){return a},getDisplayName:function(){return h},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return function t(e,n){return i._(function(){var i,o,a;return r._(this,function(r){switch(r.label){case 0:if(i=n.res||n.ctx&&n.ctx.res,e.getInitialProps)return[3,3];if(!(n.ctx&&n.Component))return[3,2];return o={},[4,t(n.Component,n.ctx)];case 1:return[2,(o.pageProps=r.sent(),o)];case 2:return[2,{}];case 3:return[4,e.getInitialProps(n)];case 4:if(a=r.sent(),i&&d(i))return[2,a];if(!a)throw Object.defineProperty(Error('"'+h(e)+'.getInitialProps()" should resolve to an object. But found "'+a+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
1configurable:!0});return[2,a]}})})()}},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return S}});var o=["CLS","FCP","FID","INP","LCP","TTFB"];function a(t){var e,n=!1;return function(){for(var i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];return n||(n=!0,e=t(...r)),e}}var s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=t=>s.test(t);function c(){var t=window.location,e=t.protocol,n=t.hostname,i=t.port;return e+"//"+n+(i?":"+i:"")}function u(){var t=window.location.href,e=c();return t.substring(e.length)}function h(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function d(t){return t.finished||t.headersSent}function p(t){var e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?"?"+e.slice(1).join("?"):"")}var m="undefined"!=typeof performance,f=m&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class g extends Error{}class v extends Error{}class y extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+t}}class b extends Error{constructor(t,e){super(),this.message="Failed to load static file for page: "+t+" "+e}}class x extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(t){return JSON.stringify({message:t.message,stack:t.stack})}},72908:(t,e,n)=>{n.d(e,{U:()=>i,_:()=>r});let i=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...i]},73972:(t,e,n)=>{n.d(e,{q:()=>i});let i={layout:0,mainThread:0,waapi:0}},77654:(t,e,n)=>{n.d(e,{A:()=>w});var i=n(87048),r=n(34023),o=n(1413),a=n.n(o),s=n(9669),l=n(45555);let c=t=>{var e=t.prefixCls,n=t.className,i=t.style,o=t.size,s=t.shape,l=a()({["".concat(e,"-lg")]:"large"===o,["".concat(e,"-sm")]:"small"===o}),c=a()({["".concat(e,"-circle")]:"circle"===s,["".concat(e,"-square")]:"square"===s,["".concat(e,"-round")]:"roun
1d"===s}),u=r.useMemo(()=>"number"==typeof o?{width:o,height:o,lineHeight:"".concat(o,"px")}:{},[o]);return r.createElement("span",{className:a()(e,l,c,n),style:Object.assign(Object.assign({},u),i)})};var u=n(22296),h=n(32890),d=n(1505),p=new u.Mo("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),m=t=>({height:t,lineHeight:(0,u.zA)(t)}),f=t=>Object.assign({width:t},m(t)),g=(t,e)=>Object.assign({width:e(t).mul(5).equal(),minWidth:e(t).mul(5).equal()},m(t)),v=t=>Object.assign({width:t},m(t)),y=(t,e,n)=>{var i=t.skeletonButtonCls;return{["".concat(n).concat(i,"-circle")]:{width:e,minWidth:e,borderRadius:"50%"},["".concat(n).concat(i,"-round")]:{borderRadius:e}}},b=(t,e)=>Object.assign({width:e(t).mul(2).equal(),minWidth:e(t).mul(2).equal()},m(t));let x=(0,h.OF)("Skeleton",t=>{var e=t.componentCls,n=t.calc;return[(t=>{var e=t.componentCls,n=t.skeletonAvatarCls,i=t.skeletonTitleCls,r=t.skeletonParagraphCls,o=t.skeletonButtonCls,a=t.skeletonInputCls,s=t.skeletonImageCls,l=t.controlHeight,c=t.controlHeightLG,u=t.controlHeightSM,h=t.gradientFromColor,d=t.padding,m=t.marginSM,x=t.borderRadius,S=t.titleHeight,C=t.blockRadius,E=t.paragraphLiHeight,T=t.controlHeightXS,w=t.paragraphMarginTop;return{[e]:{display:"table",width:"100%",["".concat(e,"-header")]:{display:"table-cell",paddingInlineEnd:d,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:h},f(l)),["".concat(n,"-circle")]:{borderRadius:"50%"},["".concat(n,"-lg")]:Object.assign({},f(c)),["".concat(n,"-sm")]:Object.assign({},f(u))},["".concat(e,"-content")]:{display:"table-cell",width:"100%",verticalAlign:"top",[i]:{width:"100%",height:S,background:h,borderRadius:C,["+ ".concat(r)]:{marginBlockStart:u}},[r]:{padding:0,"> li":{width:"100%",height:E,listStyle:"none",background:h,borderRadius:C,"+ li":{marginBlockStart:T}}},["".concat(r,"> li:last-child:not(:first-child):not(:nth-child(2))")]:{width:"61%"}},["&-round ".concat(e,"-content")]:{["".concat(i,", ").concat(r," > li")]:{borderRadius:x}}},["".concat(e,"-with-avatar ").concat(e,"-content")]:{[i]:{marginBlockStart:m,["+ ".concat(r)]:{marginBlockStart:w}}},["".concat(e).concat(e,"-element")]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},(t=>{var e=t.borderRadiusSM,n=t.skeletonButtonCls,i=t.controlHeight,r=t.controlHeightLG,o=t.controlHeightSM,a=t.gradientFromColor,s=t.calc;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:e,width:s(i).mul(2).equal(),minWidth:s(i).mul(2).equal()},b(i,s))},y(t,i,n)),{["".concat(n,"-lg")]:Object.assign({},b(r,s))}),y(t,r,"".concat(n,"-lg"))),{["".concat(n,"-sm")]:Object.assign({},b(o,s))}),y(t,o,"".concat(n,"-sm")))})(t)),(t=>{var e=t.skeletonAvatarCls,n=t.gradientFromColor,i=t.controlHeight,r=t.controlHeightLG,o=t.controlHeightSM;return{[e]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},f(i)),["".concat(e).concat(e,"-circle")]:{borderRadius:"50%"},["".concat(e).concat(e,"-lg")]:Object.assign({},f(r)),["".concat(e).concat(e,"-sm")]:Object.assign({},f(o))}})(t)),(t=>{var e=t.controlHeight,n=t.borderRadiusSM,i=t.skeletonInputCls,r=t.controlHeightLG,o=t.controlHeightSM,a=t.gradientFromColor,s=t.calc;return{[i]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},g(e,s)),["".concat(i,"-lg")]:Object.assign({},g(r,s)),["".concat(i,"-sm")]:Object.assign({},g(o,s))}})(t)),(t=>{var e=t.skeletonImageCls,n=t.imageSizeBase,i=t.gradientFromColor,r=t.borderRadiusSM,o=t.calc;return{[e]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:i,borderRadius:r},v(o(n).mul(2).equal())),{["".concat(e,"-path")]:{fill:"#bfbfbf"},["".concat(e,"-svg")]:Object.assign(Object.assign({},v(n)),{maxWidth:o(n).mul(4).equal(),maxHeight:o(n).mul(4).equal()}),["".concat(e,"-svg").concat(e,"-svg-circle")]:{borderRadius:"50%"}}),["".concat(e).concat(e,"-circle")]:{borderRadius:"50%"}}})(t)),["".concat(e).concat(e,"-block")]:{width:"100%",[o]:{width:"100%"},[a]:{width:"100%"}},["".concat(e).concat(e,"-active")]:{["\n ".concat(i,",\n ").concat(r," > li,\n ").concat(n,",\n ").concat(o,",\n ").concat(a,",\n ").concat(s,"\n ")]:Object.assign({},(t=>
1({background:t.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:p,animationDuration:t.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}))(t))}}})((0,d.oX)(t,{skeletonAvatarCls:"".concat(e,"-avatar"),skeletonTitleCls:"".concat(e,"-title"),skeletonParagraphCls:"".concat(e,"-paragraph"),skeletonButtonCls:"".concat(e,"-button"),skeletonInputCls:"".concat(e,"-input"),skeletonImageCls:"".concat(e,"-image"),imageSizeBase:n(t.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:"linear-gradient(90deg, ".concat(t.gradientFromColor," 25%, ").concat(t.gradientToColor," 37%, ").concat(t.gradientFromColor," 63%)"),skeletonLoadingMotionDuration:"1.4s"}))]},t=>{var e=t.colorFillContent,n=t.colorFill;return{color:e,colorGradientEnd:n,gradientFromColor:e,gradientToColor:n,titleHeight:t.controlHeight/2,blockRadius:t.borderRadiusSM,paragraphMarginTop:t.marginLG+t.marginXXS,paragraphLiHeight:t.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),S=t=>{var e=t.prefixCls,n=t.className,i=t.style,o=t.rows,s=Array.from({length:void 0===o?0:o}).map((e,n)=>r.createElement("li",{key:n,style:{width:((t,e)=>{var n=e.width,i=e.rows;return Array.isArray(n)?n[t]:(void 0===i?2:i)-1===t?n:void 0})(n,t)}}));return r.createElement("ul",{className:a()(e,n),style:i},s)},C=t=>{var e=t.prefixCls,n=t.className,i=t.width,o=t.style;return r.createElement("h3",{className:a()(e,n),style:Object.assign({width:i},o)})};function E(t){return t&&"object"==typeof t?t:{}}var T=t=>{var e=t.prefixCls,n=t.loading,o=t.className,l=t.rootClassName,u=t.style,h=t.children,d=t.avatar,p=void 0!==d&&d,m=t.title,f=void 0===m||m,g=t.paragraph,v=void 0===g||g,y=t.active,b=t.round,T=(0,s.TP)("skeleton"),w=T.getPrefixCls,P=T.direction,A=T.className,k=T.style,O=w("skeleton",e),M=(0,i._)(x(O),3),j=M[0],R=M[1],D=M[2];if(n||!("loading"in t)){var L=!!p,N=!!f,B=!!v;if(L){var V=Object.assign(Object.assign({prefixCls:"".concat(O,"-avatar")},N&&!B?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),E(p));I=r.createElement("div",{className:"".concat(O,"-header")},r.createElement(c,Object.assign({},V)))}if(N||B){if(N){var I,F,_,H,U=Object.assign(Object.assign({prefixCls:"".concat(O,"-title")},function(t,e){return!t&&e?{width:"38%"}:t&&e?{width:"50%"}:{}}(L,B)),E(f));_=r.createElement(C,Object.assign({},U))}if(B){var W=Object.assign(Object.assign({prefixCls:"".concat(O,"-paragraph")},function(t,e){var n={};return t&&e||(n.width="61%"),!t&&e?n.rows=3:n.rows=2,n}(L,N)),E(v));H=r.createElement(S,Object.assign({},W))}F=r.createElement("div",{className:"".concat(O,"-content")},_,H)}var z=a()(O,{["".concat(O,"-with-avatar")]:L,["".concat(O,"-active")]:y,["".concat(O,"-rtl")]:"rtl"===P,["".concat(O,"-round")]:b},A,o,l,R,D);return j(r.createElement("div",{className:z,style:Object.assign(Object.assign({},k),u)},I,F))}return null!=h?h:null};T.Button=t=>{var e=t.prefixCls,n=t.className,o=t.rootClassName,u=t.active,h=t.block,d=t.size,p=(0,r.useContext(s.QO).getPrefixCls)("skeleton",e),m=(0,i._)(x(p),3),f=m[0],g=m[1],v=m[2],y=(0,l.A)(t,["prefixCls"]),b=a()(p,"".concat(p,"-element"),{["".concat(p,"-active")]:u,["".concat(p,"-block")]:void 0!==h&&h},n,o,g,v);return f(r.createElement("div",{className:b},r.createElement(c,Object.assign({prefixCls:"".concat(p,"-button"),size:void 0===d?"default":d},y))))},T.Avatar=t=>{var e=t.prefixCls,n=t.className,o=t.rootClassName,u=t.active,h=t.shape,d=t.size,p=(0,r.useContext(s.QO).getPrefixCls)("skeleton",e),m=(0,i._)(x(p),3),f=m[0],g=m[1],v=m[2],y=(0,l.A)(t,["prefixCls","className"]),b=a()(p,"".concat(p,"-element"),{["".concat(p,"-active")]:u},n,o,g,v);return f(r.createElement("div",{className:b},r.createElement(c,Object.assign({prefixCls:"".concat(p,"-avatar"),shape:void 0===h?"circle":h,size:void 0===d?"default":d},y))))},T.Input=t=>{var e=t.prefixCls,n=t.className,o=t.rootClassName,u=t.active,h=t.block,d=t.size,p=(0,r.useContext(s.QO).getPrefixCls)("skeleton",e),m=(0,i._)(x(p),3),f=m[0],g=m[1],v=m[2],y=(0,l.A)(t,["prefixCls"]),b=a()(p,"".concat(p,"-element"),{["".concat(p,"-active")]:u,["".concat(p,"-block")]:h},n,o,g,v);return f(r.createElement("div",{className:b},r.createElement(c,Object.assign({prefixCls:"".concat(p,"-input"),size:void 0===d?"default":d},y))))},T.Image=t=>{var e=t.prefixCls,n=t.className,o=t.rootClassName,l=t.style,c=t.active,u=(0,r.useContext(s.QO).getPrefixCls)("skeleton",e),h=(0,i._)(x(u),3),d=h[0],p=h[1],m=h[2],f=a()(u,"".concat(u,"-element"),{["".concat(u,"-active")]:c},n,o,p,m);return d(r.createElement("div",{className:f},r.createElement("div",{className:a()("".concat(u,"-image"),n),style:l},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(u,"-image-svg")},r.createElement("title",null,"Image placeholder"),r.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(u,"-image-path")})))))},T.Node=t=>{var e=t.prefixCls,n=t.className,o=t.rootClassName,l=t.style,c=t.active,u=t.children,h=(0,r.useContext(s.QO).getPrefixCls)("skeleton",e),d=(0,i._)(x(h),3),p=d[0],m=d[1],f=d[2],g=a()(h,"".concat(h,"-element"),{["".concat(h,"-active")]:c},m,n,o,f);return p(r.createElement("div",{className:g},r.createElement("div",{className:a()("".concat(h,"-image"),n),style:l},u)))};let w=T},78116:(t,e,n)=>{n.d(e,{E4:()=>s,Hr:()=>h,W9:()=>u});var i=n(83148),r=n(62326),o=n(13507),a=n(14050);let s=t=>t===o.ai||t===a.px,l=new Set(["x","y","z"]),c=r.U.filter(t=>!l.has(t));function u(t){let e=[];
1return c.forEach(n=>{let i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(+!!n.startsWith("scale")))}),e}let h={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),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,i.ry)(e,"x"),y:(t,{transform:e})=>(0,i.ry)(e,"y")};h.translateX=h.x,h.translateY=h.y},79321:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return o}});var i=n(72366),r=n(69391);function o(t){if(!(0,i.isAbsoluteUrl)(t))return!0;try{var e=(0,i.getLocationOrigin)(),n=new URL(t,e);return n.origin===e&&(0,r.hasBasePath)(n.pathname)}catch(t){return!1}}},80388:(t,e,n)=>{n.d(e,{po:()=>o,tn:()=>s,yT:()=>a});var i=n(63561),r=n(7904);let o=t=>1-Math.sin(Math.acos(t)),a=(0,r.G)(o),s=(0,i.V)(o)},82780:(t,e,n)=>{n.d(e,{L:()=>r});var i=n(34023);function r(t,e,n){(0,i.useInsertionEffect)(()=>t.on(e,n),[t,e,n])}},83076:(t,e,n)=>{n.d(e,{X:()=>o});var i=n(19334),r=n(42499);function o(t,e=100,n){let a=n({...t,keyframes:[0,e]}),s=Math.min((0,i.t)(a),i.Y);return{type:"keyframes",ease:t=>a.next(s*t).value/e,duration:(0,r.X)(s)}}},83148:(t,e,n)=>{n.d(e,{Ib:()=>d,ry:()=>h,zs:()=>u});let i=t=>180*t/Math.PI,r=t=>a(i(Math.atan2(t[1],t[0]))),o={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=>i(Math.atan(t[1])),skewY:t=>i(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},a=t=>((t%=360)<0&&(t+=360),t),s=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),c={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:s,scaleY:l,scale:t=>(s(t)+l(t))/2,rotateX:t=>a(i(Math.atan2(t[6],t[5]))),rotateY:t=>a(i(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>i(Math.atan(t[4])),skewY:t=>i(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function u(t){return+!!t.includes("scale")}function h(t,e){let n,i;if(!t||"none"===t)return u(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)n=c,i=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=o,i=e}if(!i)return u(e);let a=n[e],s=i[1].split(",").map(p);return"function"==typeof a?a(s):s[a]}let d=(t,e)=>{let{transform:n="none"}=getComputedStyle(t);return h(n,e)};function p(t){return parseFloat(t.trim())}},83623:(t,e,n)=>{n.d(e,{A:()=>o});var i=n(34023),r=n(16298);let o=t=>{var e=i.useContext(r.A);return i.useMemo(()=>t?"string"==typeof t?null!=t?t:e:"function"==typeof t?t(e):e:e,[t,e])}},84163:(t,e,n)=>{n.d(e,{O:()=>c});var i=n(62326);let r=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var o=n(38300);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},s=i.U.length;var l=n(44906);function c(t,e,n){let{style:c,vars:u,transformOrigin:h}=t,d=!1,p=!1;for(let t in e){let n=e[t];if(i.f.has(t)){d=!0;continue}if((0,l.j)(t)){u[t]=n;continue}{let e=r(n,o.W[t]);t.startsWith("origin")?(p=!0,h[t]=e):c[t]=e}}if(!e.transform&&(d||n?c.transform=function(t,e,n){let l="",c=!0;for(let u=0;u<s;u++){let s=i.U[u],h=t[s];if(void 0===h)continue;let d=!0;if(!(d="number"==typeof h?h===+!!s.startsWith("scale"):0===parseFloat(h))||n){let t=r(h,o.W[s]);if(!d){c=!1;let e=a[s]||s;l+=`${e}(${t}) `}n&&(e[s]=t)}}return l=l.trim(),n?l=n(e,c?"":l):c&&(l="none"),l}(e,t.transform,n):c.transform&&(c.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:n=0}=h;c.transformOrigin=`${t} ${e} ${n}`}}},85185:(t,e,n)=>{n.d(e,{A:()=>a});var i=n(94812),r="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spell
1Check src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function o(t,e){return 0===t.indexOf(e)}function a(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,i.A)({},n);var a={};return Object.keys(t).forEach(function(n){(e.aria&&("role"===n||o(n,"aria-"))||e.data&&o(n,"data-")||e.attr&&r.includes(n))&&(a[n]=t[n])}),a}},86377:(t,e,n)=>{n.d(e,{o:()=>f});var i=n(62285),r=n(19334),o=n(83076),a=n(22573);let s={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var l=n(56666),c=n(42499),u=n(46466);function h(t,e){return t*Math.sqrt(1-e*e)}let d=["duration","bounce"],p=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function f(t=s.visualDuration,e=s.bounce){let n,o="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:g,restDelta:v}=o,y=o.keyframes[0],b=o.keyframes[o.keyframes.length-1],x={done:!1,value:y},{stiffness:S,damping:C,mass:E,duration:T,velocity:w,isResolvedFromDuration:P}=function(t){let e={velocity:s.velocity,stiffness:s.stiffness,damping:s.damping,mass:s.mass,isResolvedFromDuration:!1,...t};if(!m(t,p)&&m(t,d))if(t.visualDuration){let n=2*Math.PI/(1.2*t.visualDuration),i=n*n,r=2*(0,u.q)(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:s.mass,stiffness:i,damping:r}}else{let n=function({duration:t=s.duration,bounce:e=s.bounce,velocity:n=s.velocity,mass:i=s.mass}){let r,o;(0,l.$)(t<=(0,c.f)(s.maxDuration),"Spring duration must be 10 seconds or less");let a=1-e;a=(0,u.q)(s.minDamping,s.maxDamping,a),t=(0,u.q)(s.minDuration,s.maxDuration,(0,c.X)(t)),a<1?(r=e=>{let i=e*a,r=i*t;return .001-(i-n)/h(e,a)*Math.exp(-r)},o=e=>{let i=e*a*t,o=Math.pow(a,2)*Math.pow(e,2)*t,s=Math.exp(-i),l=h(Math.pow(e,2),a);return(i*n+n-o)*s*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),o=e=>t*t*(n-e)*Math.exp(-e*t));let d=function(t,e,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/e(i);return i}(r,o,5/t);if(t=(0,c.f)(t),isNaN(d))return{stiffness:s.stiffness,damping:s.damping,duration:t};{let e=Math.pow(d,2)*i;return{stiffness:e,damping:2*a*Math.sqrt(i*e),duration:t}}}(t);(e={...e,...n,mass:s.mass}).isResolvedFromDuration=!0}return e}({...o,velocity:-(0,c.X)(o.velocity||0)}),A=w||0,k=C/(2*Math.sqrt(S*E)),O=b-y,M=(0,c.X)(Math.sqrt(S/E)),j=5>Math.abs(O);if(g||(g=j?s.restSpeed.granular:s.restSpeed.default),v||(v=j?s.restDelta.granular:s.restDelta.default),k<1){let t=h(M,k);n=e=>b-Math.exp(-k*M*e)*((A+k*M*O)/t*Math.sin(t*e)+O*Math.cos(t*e))}else if(1===k)n=t=>b-Math.exp(-M*t)*(O+(A+M*O)*t);else{let t=M*Math.sqrt(k*k-1);n=e=>{let n=Math.exp(-k*M*e),i=Math.min(t*e,300);return b-n*((A+k*M*O)*Math.sinh(i)+t*O*Math.cosh(i))/t}}let R={calculatedDuration:P&&T||null,next:t=>{let e=n(t);if(P)x.done=t>=T;else{let i=0===t?A:0;k<1&&(i=0===t?(0,c.f)(A):(0,a.Y)(n,t,e));let r=Math.abs(b-e)<=v;x.done=Math.abs(i)<=g&&r}return x.value=x.done?b:e,x},toString:()=>{let t=Math.min((0,r.t)(R),r.Y),e=(0,i.K)(e=>R.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return R}f.applyToOptions=t=>{let e=(0,o.X)(t,100,f);return t.ease=e.ease,t.duration=(0,c.f)(e.duration),t.type="keyframes",t}},87467:(t,e,n)=>{function i(t){let e=[{},{}];
1return t?.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function r(t,e,n,r){if("function"==typeof e){let[o,a]=i(r);e=e(void 0!==n?n:t.custom,o,a)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[o,a]=i(r);e=e(void 0!==n?n:t.custom,o,a)}return e}n.d(e,{a:()=>r})},91624:(t,e,n)=>{n.d(e,{g:()=>o});var i=n(14263),r=n(94839);function o(t,e){let n=t.getValue("willChange");if((0,i.S)(n)&&n.add)return n.add(e);if(!n&&r.W.WillChange){let n=new r.W.WillChange("auto");t.addValue("willChange",n),n.add(e)}}},92697:(t,e,n)=>{n.d(e,{M:()=>h});var i=n(66657),r=n(9959),o=n(84163),a=n(8132),s=n(36010),l=n(62326),c=n(83148),u=n(44906);class h extends r.b{constructor(){super(...arguments),this.type="html",this.renderInstance=a.e}readValueFromInstance(t,e){if(l.f.has(e))return this.projection?.isProjecting?(0,c.zs)(e):(0,c.Ib)(t,e);{let n=window.getComputedStyle(t),i=((0,u.j)(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,i.m)(t,e)}build(t,e,n){(0,o.O)(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return(0,s.x)(t,e,n)}}},93744:(t,e,n)=>{n.d(e,{z:()=>a});var i=n(4962),r=n(14263),o=n(2198);function a(t,e,n){let a=(0,r.S)(t)?t:(0,o.OQ)(t);return a.start((0,i.f)("",a,e,n)),a.animation}},95562:(t,e,n)=>{n.d(e,{Ay:()=>tV});var i,r=n(87048),o=n(34023),a=n(1413),s=n.n(a),l=n(45555),c=n(19875),u=n(14515),h=n(9669),d=n(20896),p=n(32890);let m=(0,p.Or)("Wave",t=>[(t=>{var e=t.componentCls,n=t.colorPrimary;return{[e]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:"var(--wave-color, ".concat(n,")"),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s ".concat(t.motionEaseOutCirc),"opacity 2s ".concat(t.motionEaseOutCirc)].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut),"opacity ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut)].join(",")}}}}})(t)]);var f=n(40138),g=n(17471),v=n(4509),y="".concat(h.yH,"-wave-target"),b=n(99383),x=n(56742),S=n.t(x,2),C=n(48468),E=n(20136),T=n(84919),w=n(94812),P=(0,w.A)({},S),A=P.version,k=P.render,O=P.unmountComponentAtNode;try{Number((A||"").split(".")[0])>=18&&(i=P.createRoot)}catch(t){}function M(t){var e=P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;e&&"object"===(0,T.A)(e)&&(e.usingClientEntryPoint=t)}var j="__rc_react_root__";function R(){return(R=(0,E.A)((0,C.A)().mark(function t(e){return(0,C.A)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve().then(function(){var t;null==(t=e[j])||t.unmount(),delete e[j]}));case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}function D(){return(D=(0,E.A)((0,C.A)().mark(function t(e){return(0,C.A)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===i){t.next=2;break}return t.abrupt("return",function(t){return R.apply(this,arguments)}(e));case 2:O(e);case 3:case"end":return t.stop()}},t)}))).apply(this,arguments)}var L=(t,e)=>(!function(t,e){var n;if(i)return M(!0),n=e[j]||i(e),M(!1),n.render(t),e[j]=n;null==k||k(t,e)}(t,e),()=>(function(t){return D.apply(this,arguments)})(e));function N(t){return t&&"#fff"!==t&&"#ffffff"!==t&&"rgb(255, 255, 255)"!==t&&"rgba(255, 255, 255, 1)"!==t&&!/rgba\((?:\d*, ){3}0\)/.test(t)&&"transparent"!==t}function B(t){return Number.isNaN(t)?0:t}var V=t=>{var e=t.className,n=t.target,i=t.component,a=t.registerUnmount,l=o.useRef(null),u=o.useRef(null);o.useEffect(()=>{u.current=a()},[]);var h=(0,r._)(o.useState(null),2),d=h[0],p=h[1],m=(0,r._)(o.useState([]),2),f=m[0],v=m[1],x=(0,r._)(o.useState(0),2),S=x[0],C=x[1],E=(0,r._)(o.useState(0),2),T=E[0],w=E[1],P=(0,r._)(o.useState(0),2),A=P[0],k=P[1],O=(0,r._)(o.useState(0),2),M=O[0],j=O[1],R=(0,r._)(o.useState(!1),2),D=R[0],L=R[1],V={left:S,top:T,width:A,height:M,borderRadius:f.map(t=>"".concat(t,"px")).join(" ")};function I(){var t,e,i,r,o=getComputedStyle(n);p((e=(t=getComputedStyle(n)).borderTopColor,i=t.borderColor,r=t.backgroundColor,N(e)?e:N(i)?i:N(r)?r:null));var a="static"===o.position,s=o.borderLeftWidth,l=o.borderTopWidth;C(a?n.offsetLeft:B(-parseFloat(s))),w(a?n.offsetTop:B(-parseFloat(l))),k(n.offsetWidth),j(n.offsetHeight);var c=o.borderTopLeftRadius,u=o.borderTopRightRadius,h=o.borderBottomLeftRadius;v([c,u,o.borderBottomRightRadius,h].map(t=>B(parseFloat(t))))}
1if(d&&(V["--wave-color"]=d),o.useEffect(()=>{if(n){var t,e=(0,g.A)(()=>{I(),L(!0)});return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(I)).observe(n),()=>{g.A.cancel(e),null==t||t.disconnect()}}},[]),!D)return null;var F=("Checkbox"===i||"Radio"===i)&&(null==n?void 0:n.classList.contains(y));return o.createElement(b.Ay,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(t,e)=>{var n,i;if(e.deadline||"opacity"===e.propertyName){var r=null==(n=l.current)?void 0:n.parentElement;null==(i=u.current)||i.call(u).then(()=>{null==r||r.remove()})}return!1}},(t,n)=>{var i=t.className;return o.createElement("div",{ref:(0,c.K4)(l,n),className:s()(e,i,{"wave-quick":F}),style:V})})};let I=t=>{var e=t.children,n=t.disabled,i=t.component,a=(0,o.useContext)(h.QO).getPrefixCls,l=(0,o.useRef)(null),p=a("wave"),b=(0,r._)(m(p),2)[1],x=((t,e,n)=>{var i=o.useContext(h.QO).wave,a=(0,r._)((0,v.Ay)(),3),s=a[1],l=a[2],c=(0,f.A)(r=>{var a=t.current;if((null==i||!i.disabled)&&a){var c=a.querySelector(".".concat(y))||a;((i||{}).showEffect||((t,e)=>{var n;if("Checkbox"!==e.component||(null==(n=t.querySelector("input"))?void 0:n.checked)){var i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==t||t.insertBefore(i,null==t?void 0:t.firstChild);var r=null;r=L(o.createElement(V,Object.assign({},e,{target:t,registerUnmount:function(){return r}})),i)}}))(c,{className:e,token:s,component:n,event:r,hashId:l})}}),u=o.useRef(null);return t=>{g.A.cancel(u.current),u.current=(0,g.A)(()=>{c(t)})}})(l,s()(p,b),i);if(o.useEffect(()=>{var t=l.current;if(t&&1===t.nodeType&&!n){var e=e=>{!(0,u.A)(e.target)||!t.getAttribute||t.getAttribute("disabled")||t.disabled||t.className.includes("disabled")||t.className.includes("-leave")||x(e)};return t.addEventListener("click",e,!0),()=>{t.removeEventListener("click",e,!0)}}},[n]),!o.isValidElement(e))return null!=e?e:null;var S=(0,c.f3)(e)?(0,c.K4)((0,c.A9)(e),l):l;return(0,d.Ob)(e,{ref:S})};var F=n(45613),_=n(83623),H=n(44273),U=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>e.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)0>e.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n},W=o.createContext(void 0),z=n(93054),G=n(51398),K=/^[\u4E00-\u9FA5]{2}$/,q=K.test.bind(K);function X(t){return"string"==typeof t}function $(t){return"text"===t||"link"===t}["default","primary","danger"].concat((0,z.A)(G.s));var Y=n(39075),Q=(0,o.forwardRef)((t,e)=>{var n=t.className,i=t.style,r=t.children,a=t.prefixCls,l=s()("".concat(a,"-icon"),n);return o.createElement("span",{ref:e,className:l,style:i},r)}),Z=(0,o.forwardRef)((t,e)=>{var n=t.prefixCls,i=t.className,r=t.style,a=t.iconClassName,l=s()("".concat(n,"-loading-icon"),i);return o.createElement(Q,{prefixCls:n,className:l,style:r,ref:e},o.createElement(Y.A,{className:a}))}),J=()=>({width:0,opacity:0,transform:"scale(0)"}),tt=t=>({width:t.scrollWidth,opacity:1,transform:"scale(1)"});let te=t=>{var e=t.prefixCls,n=t.loading,i=t.existIcon,r=t.className,a=t.style,l=t.mount;return i?o.createElement(Z,{prefixCls:e,className:r,style:a}):o.createElement(b.Ay,{visible:!!n,motionName:"".concat(e,"-loading-icon-motion"),motionAppear:!l,motionEnter:!l,motionLeave:!l,removeOnLeave:!0,onAppearStart:J,onAppearActive:tt,onEnterStart:J,onEnterActive:tt,onLeaveStart:tt,onLeaveActive:J},(t,n)=>{var i=t.className,l=t.style,c=Object.assign(Object.assign({},a),l);return o.createElement(Z,{prefixCls:e,className:s()(r,i),style:c,ref:n})})};var tn=n(22296),ti=n(10931),tr=n(1505),to=(t,e)=>({["> span, > ".concat(t)]:{"&:not(:last-child)":{["&, & > ".concat(t)]:{"&:not(:disabled)":{borderInlineEndColor:e}}},"&:not(:first-child)":{["&, & > ".concat(t)]:{"&:not(:disabled)":{borderInlineStartColor:e}}}}}),ta=n(19922),ts=n(12862),tl=n(31458),tc=n(34643),tu=n(38317),th=n(78304),td=["b"],tp=["v"],tm=function(t){return Math.round(Number(t||0))},tf=function(t){if(t instanceof th.Y)return t;if(t&&"object"===(0,T.A)(t)&&"h"in t&&"b"in t){var e=t.b,n=(0,tu.A)(t,td);return(0,w.A)((0,w.A)({},n),{},{v:e})}return"string"==typeof t&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},tg=function(t){(0,tl.A)(n,t);var e=(0,tc.A)(n);function n(t){return(0,ta.A)(this,n),e.call(this,tf(t))}return(0,ts.A)(n,[{key:"toHsbString",value:function(){var t=this.toHsb(),e=tm(100*t.s),n=tm(100*t.b),i=tm(t.h),r=t.a,o="hsb(".concat(i,", ").concat(e,"%, ").concat(n,"%)"),a="hsba(".concat(i,", ").concat(e,"%, ").concat(n,"%, ").concat(r.toFixed(2*(0!==r)),")");return 1===r?o:a}},{key:"toHsb",value:function(){var t=this.toHsv(),e=t.v,n=(0,tu.A)(t,tp);return(0,w.A)((0,w.A)({},n),{},{b:e,a:this.a})}}]),n}(th.Y);!function(t){t instanceof tg||new tg(t)}("#1677ff"),n(9374);var tv=(0,ts.A)(function t(e){if((0,ta.A)(this,t),this.cleared=!1,e instanceof t){this.metaColor=e.metaColor.clone(),this.colors=null==(n=e.colors)?void 0:n.map(e=>({color:new t(e.color),percent:e.percent})),this.cleared=e.cleared;return}var n,i=Array.isArray(e);i&&e.length?(this.colors=e.map(e=>
1{var n=e.color,i=e.percent;return{color:new t(n),percent:i}}),this.metaColor=new tg(this.colors[0].color.metaColor)):this.metaColor=new tg(i?"":e),e&&(!i||this.colors)||(this.metaColor=this.metaColor.setA(0),this.cleared=!0)},[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){let t,e;return t=this.toHexString(),e=this.metaColor.a<1,t&&(null==t?void 0:t.replace(/[^\w/]/g,"").slice(0,e?8:6))||""}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){var t=this.colors;if(t){var e=t.map(t=>"".concat(t.color.toRgbString()," ").concat(t.percent,"%")).join(", ");return"linear-gradient(90deg, ".concat(e,")")}return this.metaColor.toRgbString()}},{key:"equals",value:function(t){return!!t&&this.isGradient()===t.isGradient()&&(this.isGradient()?this.colors.length===t.colors.length&&this.colors.every((e,n)=>{var i=t.colors[n];return e.percent===i.percent&&e.color.equals(i.color)}):this.toHexString()===t.toHexString())}}]);n(75851);var ty=n(70137),tb=n(12889),tx=t=>{var e=t.paddingInline,n=t.onlyIconSize;return(0,tr.oX)(t,{buttonPaddingHorizontal:e,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},tS=t=>{var e,n,i,r,o,a,s=null!=(e=t.contentFontSize)?e:t.fontSize,l=null!=(n=t.contentFontSizeSM)?n:t.fontSize,c=null!=(i=t.contentFontSizeLG)?i:t.fontSizeLG,u=null!=(r=t.contentLineHeight)?r:(0,ty.k)(s),h=null!=(o=t.contentLineHeightSM)?o:(0,ty.k)(l),d=null!=(a=t.contentLineHeightLG)?a:(0,ty.k)(c),p=((t,e)=>{var n=t.toRgb(),i=n.r,r=n.g,o=n.b,a=n.a,s=new tg(t.toRgbString()).onBackground(e).toHsv();return a<=.5?s.v>.5:.299*i+.587*r+.114*o>192})(new tv(t.colorBgSolid),"#fff")?"#000":"#fff";return Object.assign(Object.assign({},G.s.reduce((e,n)=>Object.assign(Object.assign({},e),{["".concat(n,"ShadowColor")]:"0 ".concat((0,tn.zA)(t.controlOutlineWidth)," 0 ").concat((0,tb.A)(t["".concat(n,"1")],t.colorBgContainer))}),{})),{fontWeight:400,defaultShadow:"0 ".concat(t.controlOutlineWidth,"px 0 ").concat(t.controlTmpOutline),primaryShadow:"0 ".concat(t.controlOutlineWidth,"px 0 ").concat(t.controlOutline),dangerShadow:"0 ".concat(t.controlOutlineWidth,"px 0 ").concat(t.colorErrorOutline),primaryColor:t.colorTextLightSolid,dangerColor:t.colorTextLightSolid,borderColorDisabled:t.colorBorder,defaultGhostColor:t.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:t.colorBgContainer,paddingInline:t.paddingContentHorizontal-t.lineWidth,paddingInlineLG:t.paddingContentHorizontal-t.lineWidth,paddingInlineSM:8-t.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:t.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:t.colorText,textTextHoverColor:t.colorText,textTextActiveColor:t.colorText,textHoverBg:t.colorFillTertiary,defaultColor:t.colorText,defaultBg:t.colorBg
1Container,defaultBorderColor:t.colorBorder,defaultBorderColorDisabled:t.colorBorder,defaultHoverBg:t.colorBgContainer,defaultHoverColor:t.colorPrimaryHover,defaultHoverBorderColor:t.colorPrimaryHover,defaultActiveBg:t.colorBgContainer,defaultActiveColor:t.colorPrimaryActive,defaultActiveBorderColor:t.colorPrimaryActive,solidTextColor:p,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:h,contentLineHeightLG:d,paddingBlock:Math.max((t.controlHeight-s*u)/2-t.lineWidth,0),paddingBlockSM:Math.max((t.controlHeightSM-l*h)/2-t.lineWidth,0),paddingBlockLG:Math.max((t.controlHeightLG-c*d)/2-t.lineWidth,0)})},tC=(t,e,n)=>({["&:not(:disabled):not(".concat(t,"-disabled)")]:{"&:hover":e,"&:active":n}}),tE=(t,e,n,i,r,o,a,s)=>({["&".concat(t,"-background-ghost")]:Object.assign(Object.assign({color:n||void 0,background:e,borderColor:i||void 0,boxShadow:"none"},tC(t,Object.assign({background:e},a),Object.assign({background:e},s))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:o||void 0}})}),tT=(t,e,n,i)=>Object.assign(Object.assign({},(i&&["link","text"].includes(i)?t=>({["&:disabled, &".concat(t.componentCls,"-disabled")]:{cursor:"not-allowed",color:t.colorTextDisabled}}):t=>({["&:disabled, &".concat(t.componentCls,"-disabled")]:Object.assign({},(t=>({cursor:"not-allowed",borderColor:t.borderColorDisabled,color:t.colorTextDisabled,background:t.colorBgContainerDisabled,boxShadow:"none"}))(t))}))(t)),tC(t.componentCls,e,n)),tw=(t,e,n,i,r)=>({["&".concat(t.componentCls,"-variant-solid")]:Object.assign({color:e,background:n},tT(t,i,r))}),tP=(t,e,n,i,r)=>({["&".concat(t.componentCls,"-variant-outlined, &").concat(t.componentCls,"-variant-dashed")]:Object.assign({borderColor:e,background:n},tT(t,i,r))}),tA=t=>({["&".concat(t.componentCls,"-variant-dashed")]:{borderStyle:"dashed"}}),tk=(t,e,n,i)=>({["&".concat(t.componentCls,"-variant-filled")]:Object.assign({boxShadow:"none",background:e},tT(t,n,i))}),tO=(t,e,n,i,r)=>({["&".concat(t.componentCls,"-variant-").concat(n)]:Object.assign({color:e,boxShadow:"none"},tT(t,i,r,n))}),tM=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t.componentCls,i=t.controlHeight,r=t.fontSize,o=t.borderRadius,a=t.buttonPaddingHorizontal,s=t.iconCls,l=t.buttonPaddingVertical,c=t.buttonIconOnlyFontSize;return[{[e]:{fontSize:r,height:i,padding:"".concat((0,tn.zA)(l)," ").concat((0,tn.zA)(a)),borderRadius:o,["&".concat(n,"-icon-only")]:{width:i,[s]:{fontSize:c}}}},{["".concat(n).concat(n,"-circle").concat(e)]:{minWidth:t.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}},{["".concat(n).concat(n,"-round").concat(e)]:{borderRadius:t.controlHeight,paddingInlineStart:t.calc(t.controlHeight).div(2).equal(),paddingInlineEnd:t.calc(t.controlHeight).div(2).equal()}}]};let tj=(0,p.OF)("Button",t=>{var e=tx(t);return[(t=>{var e=t.componentCls,n=t.iconCls,i=t.fontWeight,r=t.opacityLoading,o=t.motionDurationSlow,a=t.motionEaseInOut,s=t.marginXS,l=t.calc;return{[e]:{outline:"none",position:"relative",display:"inline-flex",gap:t.marginXS,alignItems:"center",justifyContent:"center",fontWeight:i,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:"".concat((0,tn.zA)(t.lineWidth)," ").concat(t.lineType," transparent"),cursor:"pointer",transition:"all ".concat(t.motionDurationMid," ").concat(t.motionEaseInOut),userSelect:"none",touchAction:"manipulation",color:t.colorText,"&:disabled > *":{pointerEvents:"none"},["".concat(e,"-icon > svg")]:(0,ti.Nk)(),"> a":{color:"currentColor"},"&:not(:disabled)":(0,ti.K8)(t),["&".concat(e,"-two-chinese-chars::first-letter")]:{letterSpacing:"0.34em"},["&".concat(e,"-two-chinese-chars > *:not(").concat(n,")")]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},["&".concat(e,"-icon-only")]:{paddingInline:0,["&".concat(e,"-compact-item")]:{flex:"none"},["&".concat(e,"-round")]:{width:"auto"}},["&".concat(e,"-loading")]:{opacity:r,cursor:"default"},["".concat(e,"-loading-icon")]:{transition:["width","opacity","margin"].map(t=>"".concat(t," ").concat(o," ").concat(a)).join(",")},["&:not(".concat(e,"-icon-end)")]:{["".concat(e,"-loading-icon-motion")]:{"&-appear-start, &-enter-start":{marginInlineEnd:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:l(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",["".concat(e,"-loading-icon-motion")]:{"&-appear-start, &-enter-start":{marginInlineStart:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:l(s).mul(-1).equal()}}}}}})(e),(t=>tM((0,tr.oX)(t,{fontSize:t.contentFontSize}),t.componentCls))(e),(t=>tM((0,tr.oX)(t,{controlHeight:t.controlHeightSM,fontSize:t.contentFontSizeSM,padding:t.paddingXS,buttonPaddingHorizontal:t.paddingInlineSM,buttonPaddingVertical:0,borderRadius:t.borderRadiusSM,buttonIconOnlyFontSize:t.onlyIconSizeSM}),"".concat(t.componentCls,"-sm")))(e),(t=>tM((0,tr.oX)(t,{controlHeight:t.controlHeightLG,fontSize:t.contentFontSizeLG,buttonPaddingHorizontal:t.paddingInlineLG,buttonPaddingVertical:0,borderRadius:t.borderRadiusLG,buttonIconOnlyFontSize:t.onlyIconSizeLG}),"".concat(t.componentCls,"-lg")))(e),(t=>{var e=t.componentCls;return{[e]:{["&".concat(e,"-block")]:{width:"100%"}}}})(e),(t=>{var e=t.componentCls;return Object.assign({["".concat(e,"-color-default")]:(t=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:t.defaultColor,boxShadow:t.defaultShadow},tw(t,t.solidTextColor,t.colorBgSolid,{color:t.solidTextColor,background:t.colorBgSolidHover},{color:t.solidTextColor,background:t.colorBgSolidActive})),tA(t)),tk(t,t.colorFillTertiary,{background:t.colorFillSecondary},{background:t.colorFill})),tE(t.componentCls,t.ghostBg,t.defaultGhostColor,t.defaultGhostBorderColor,t.colorTextDisabled,t.colorBorder)),tO(t,t.textTextColor,"link",{color:t.colorLinkHover,background:t.linkHoverBg},{color:t.colorLinkActive})))(t),["".concat(e,"-color-primary")]:(t=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:t.colorPrimary,boxShadow:t.primaryShadow}
1,tP(t,t.colorPrimary,t.colorBgContainer,{color:t.colorPrimaryTextHover,borderColor:t.colorPrimaryHover,background:t.colorBgContainer},{color:t.colorPrimaryTextActive,borderColor:t.colorPrimaryActive,background:t.colorBgContainer})),tA(t)),tk(t,t.colorPrimaryBg,{background:t.colorPrimaryBgHover},{background:t.colorPrimaryBorder})),tO(t,t.colorPrimaryText,"text",{color:t.colorPrimaryTextHover,background:t.colorPrimaryBg},{color:t.colorPrimaryTextActive,background:t.colorPrimaryBorder})),tO(t,t.colorPrimaryText,"link",{color:t.colorPrimaryTextHover,background:t.linkHoverBg},{color:t.colorPrimaryTextActive})),tE(t.componentCls,t.ghostBg,t.colorPrimary,t.colorPrimary,t.colorTextDisabled,t.colorBorder,{color:t.colorPrimaryHover,borderColor:t.colorPrimaryHover},{color:t.colorPrimaryActive,borderColor:t.colorPrimaryActive})))(t),["".concat(e,"-color-dangerous")]:(t=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:t.colorError,boxShadow:t.dangerShadow},tw(t,t.dangerColor,t.colorError,{background:t.colorErrorHover},{background:t.colorErrorActive})),tP(t,t.colorError,t.colorBgContainer,{color:t.colorErrorHover,borderColor:t.colorErrorBorderHover},{color:t.colorErrorActive,borderColor:t.colorErrorActive})),tA(t)),tk(t,t.colorErrorBg,{background:t.colorErrorBgFilledHover},{background:t.colorErrorBgActive})),tO(t,t.colorError,"text",{color:t.colorErrorHover,background:t.colorErrorBg},{color:t.colorErrorHover,background:t.colorErrorBgActive})),tO(t,t.colorError,"link",{color:t.colorErrorHover},{color:t.colorErrorActive})),tE(t.componentCls,t.ghostBg,t.colorError,t.colorError,t.colorTextDisabled,t.colorBorder,{color:t.colorErrorHover,borderColor:t.colorErrorHover},{color:t.colorErrorActive,borderColor:t.colorErrorActive})))(t),["".concat(e,"-color-link")]:(t=>Object.assign(Object.assign({},tO(t,t.colorLink,"link",{color:t.colorLinkHover},{color:t.colorLinkActive})),tE(t.componentCls,t.ghostBg,t.colorInfo,t.colorInfo,t.colorTextDisabled,t.colorBorder,{color:t.colorInfoHover,borderColor:t.colorInfoHover},{color:t.colorInfoActive,borderColor:t.colorInfoActive})))(t)},(t=>{var e=t.componentCls;return G.s.reduce((n,i)=>{var r=t["".concat(i,"6")],o=t["".concat(i,"1")],a=t["".concat(i,"5")],s=t["".concat(i,"2")],l=t["".concat(i,"3")],c=t["".concat(i,"7")];return Object.assign(Object.assign({},n),{["&".concat(e,"-color-").concat(i)]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:r,boxShadow:t["".concat(i,"ShadowColor")]},tw(t,t.colorTextLightSolid,r,{background:a},{background:c})),tP(t,r,t.colorBgContainer,{color:a,borderColor:a,background:t.colorBgContainer},{color:c,borderColor:c,background:t.colorBgContainer})),tA(t)),tk(t,o,{background:s},{background:l})),tO(t,r,"link",{color:a},{color:c})),tO(t,r,"text",{color:a,background:o},{color:c,background:l}))})},{})})(t))})(e),(t=>Object.assign(Object.assign(Object.assign(Object.assign({},tP(t,t.defaultBorderColor,t.defaultBg,{color:t.defaultHoverColor,borderColor:t.defaultHoverBorderColor,background:t.defaultHoverBg},{color:t.defaultActiveColor,borderColor:t.defaultActiveBorderColor,background:t.defaultActiveBg})),tO(t,t.textTextColor,"text",{color:t.textTextHoverColor,background:t.textHoverBg},{color:t.textTextActiveColor,background:t.colorBgTextActive})),tw(t,t.primaryColor,t.colorPrimary,{background:t.colorPrimaryHover,color:t.primaryColor},{background:t.colorPrimaryActive,color:t.primaryColor})),tO(t,t.colorLink,"link",{color:t.colorLinkHover,background:t.linkHoverBg},{color:t.colorLinkActive})))(e),(t=>{var e=t.componentCls,n=t.fontSize,i=t.lineWidth,r=t.groupBorderColor,o=t.colorErrorHover;return{["".concat(e,"-group")]:[{position:"relative",display:"inline-flex",["> span, > ".concat(e)]:{"&:not(:last-child)":{["&, & > ".concat(e)]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:t.calc(i).mul(-1).equal(),["&, & > ".concat(e)]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[e]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},["".concat(e,"-icon-only")]:{fontSize:n}},to("".concat(e,"-primary"),r),to("".concat(e,"-danger"),o)]}})(e)]},tS,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});var tR=n(29162);let tD=(0,p.bf)(["Button","compact"],t=>{var e=tx(t);return[(0,tR.G)(e),function(t){var e,n="".concat(t.componentCls,"-compact-vertical");return{[n]:Object.assign(Object.assign({},{["&-item:not(".concat(n,"-last-item)")]:{marginBottom:t.calc(t.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}),(e=t.componentCls,{["&-item:not(".concat(n,"-first-item):not(").concat(n,"-last-item)")]:{borderRadius:0},["&-item".concat(n,"-first-item:not(").concat(n,"-last-item)")]:{["&, &".concat(e,"-sm, &").concat(e,"-lg")]:{borderEndEndRadius:0,borderEndStartRadius:0}},["&-item".concat(n,"-last-item:not(").concat(n,"-first-item)")]:{["&, &".concat(e,"-sm, &").concat(e,"-lg")]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))}}(e),(t=>{var e=t.componentCls,n=t.colorPrimaryHover,i=t.lineWidth,r=(0,t.calc)(i).mul(-1).equal(),o=t=>
1{var o="".concat(e,"-compact").concat(t?"-vertical":"","-item").concat(e,"-primary:not([disabled])");return{["".concat(o," + ").concat(o,"::before")]:{position:"absolute",top:t?r:0,insetInlineStart:t?0:r,backgroundColor:n,content:'""',width:t?"100%":i,height:t?i:"100%"}}};return Object.assign(Object.assign({},o()),o(!0))})(e)]},tS);var tL=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>e.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)0>e.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n},tN={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},tB=o.forwardRef((t,e)=>{var n,i,a=t.loading,u=void 0!==a&&a,p=t.prefixCls,m=t.color,f=t.variant,g=t.type,v=t.danger,y=void 0!==v&&v,b=t.shape,x=void 0===b?"default":b,S=t.size,C=t.styles,E=t.disabled,T=t.className,w=t.rootClassName,P=t.children,A=t.icon,k=t.iconPosition,O=t.ghost,M=t.block,j=t.htmlType,R=t.classNames,D=t.style,L=t.autoInsertSpace,N=t.autoFocus,B=tL(t,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),V=g||"default",U=o.useContext(h.QO).button,z=(0,r._)((0,o.useMemo)(()=>{if(m&&f)return[m,f];if(g||y){var t=tN[V]||[];return y?["danger",t[1]]:t}return(null==U?void 0:U.color)&&(null==U?void 0:U.variant)?[U.color,U.variant]:["default","outlined"]},[g,m,f,y,null==U?void 0:U.variant,null==U?void 0:U.color]),2),G=z[0],K=z[1],Y="danger"===G?"dangerous":G,Z=(0,h.TP)("button"),J=Z.getPrefixCls,tt=Z.direction,tn=Z.autoInsertSpace,ti=Z.className,tr=Z.style,to=Z.classNames,ta=Z.styles,ts=null==(n=null!=L?L:tn)||n,tl=J("btn",p),tc=(0,r._)(tj(tl),3),tu=tc[0],th=tc[1],td=tc[2],tp=(0,o.useContext)(F.A),tm=null!=E?E:tp,tf=(0,o.useContext)(W),tg=(0,o.useMemo)(()=>(function(t){if("object"==typeof t&&t){var e=null==t?void 0:t.delay;return{loading:(e=Number.isNaN(e)||"number"!=typeof e?0:e)<=0,delay:e}}return{loading:!!t,delay:0}})(u),[u]),tv=(0,r._)((0,o.useState)(tg.loading),2),ty=tv[0],tb=tv[1],tx=(0,r._)((0,o.useState)(!1),2),tS=tx[0],tC=tx[1],tE=(0,o.useRef)(null),tT=(0,c.xK)(e,tE),tw=1===o.Children.count(P)&&!A&&!$(K),tP=(0,o.useRef)(!0);o.useEffect(()=>(tP.current=!1,()=>{tP.current=!0}),[]),(0,o.useEffect)(()=>{var t=null;return tg.delay>0?t=setTimeout(()=>{t=null,tb(!0)},tg.delay):tb(tg.loading),function(){t&&(clearTimeout(t),t=null)}},[tg]),(0,o.useEffect)(()=>{if(tE.current&&ts){var t=tE.current.textContent||"";tw&&q(t)?tS||tC(!0):tS&&tC(!1)}}),(0,o.useEffect)(()=>{N&&tE.current&&tE.current.focus()},[]);var tA=o.useCallback(e=>{var n;if(ty||tm)return void e.preventDefault();null==(n=t.onClick)||n.call(t,("href"in t,e))},[t.onClick,ty,tm]),tk=(0,H.RQ)(tl,tt),tO=tk.compactSize,tM=tk.compactItemClassnames,tR=(0,_.A)(t=>{var e,n;return null!=(n=null!=(e=null!=S?S:tO)?e:tf)?n:t}),tB=tR&&null!=(i=({large:"lg",small:"sm",middle:void 0})[tR])?i:"",tV=ty?"loading":A,tI=(0,l.A)(B,["navigate"]),tF=s()(tl,th,td,{["".concat(tl,"-").concat(x)]:"default"!==x&&x,["".concat(tl,"-").concat(V)]:V,["".concat(tl,"-dangerous")]:y,["".concat(tl,"-color-").concat(Y)]:Y,["".concat(tl,"-variant-").concat(K)]:K,["".concat(tl,"-").concat(tB)]:tB,["".concat(tl,"-icon-only")]:!P&&0!==P&&!!tV,["".concat(tl,"-background-ghost")]:void 0!==O&&O&&!$(K),["".concat(tl,"-loading")]:ty,["".concat(tl,"-two-chinese-chars")]:tS&&ts&&!ty,["".concat(tl,"-block")]:void 0!==M&&M,["".concat(tl,"-rtl")]:"rtl"===tt,["".concat(tl,"-icon-end")]:"end"===(void 0===k?"start":k)},tM,T,w,ti),t_=Object.assign(Object.assign({},tr),void 0===D?{}:D),tH=s()(null==R?void 0:R.icon,to.icon),tU=Object.assign(Object.assign({},(null==C?void 0:C.icon)||{}),ta.icon||{}),tW=A&&!ty?o.createElement(Q,{prefixCls:tl,className:tH,style:tU},A):u&&"object"==typeof u&&u.icon?o.createElement(Q,{prefixCls:tl,className:tH,style:tU},u.icon):o.createElement(te,{existIcon:!!A,prefixCls:tl,loading:ty,mount:tP.current}),tz=P||0===P?function(t,e){var n=!1,i=[];
1return o.Children.forEach(t,t=>{var e=typeof t,r="string"===e||"number"===e;if(n&&r){var o=i.length-1,a=i[o];i[o]="".concat(a).concat(t)}else i.push(t);n=r}),o.Children.map(i,t=>(function(t,e){if(null!=t){var n=e?" ":"";return"string"!=typeof t&&"number"!=typeof t&&X(t.type)&&q(t.props.children)?(0,d.Ob)(t,{children:t.props.children.split("").join(n)}):X(t)?q(t)?o.createElement("span",null,t.split("").join(n)):o.createElement("span",null,t):(0,d.zv)(t)?o.createElement("span",null,t):t}})(t,e))}(P,tw&&ts):null;if(void 0!==tI.href)return tu(o.createElement("a",Object.assign({},tI,{className:s()(tF,{["".concat(tl,"-disabled")]:tm}),href:tm?void 0:tI.href,style:t_,onClick:tA,ref:tT,tabIndex:tm?-1:0}),tW,tz));var tG=o.createElement("button",Object.assign({},B,{type:void 0===j?"button":j,className:tF,style:t_,onClick:tA,disabled:tm,ref:tT}),tW,tz,tM&&o.createElement(tD,{prefixCls:tl}));return $(K)||(tG=o.createElement(I,{component:"Button",disabled:ty},tG)),tu(tG)});tB.Group=t=>{var e=o.useContext(h.QO),n=e.getPrefixCls,i=e.direction,a=t.prefixCls,l=t.size,c=t.className,u=U(t,["prefixCls","size","className"]),d=n("btn-group",a),p=(0,r._)((0,v.Ay)(),3)[2],m=o.useMemo(()=>{switch(l){case"large":return"lg";case"small":return"sm";default:return""}},[l]),f=s()(d,{["".concat(d,"-").concat(m)]:m,["".concat(d,"-rtl")]:"rtl"===i},c,p);return o.createElement(W.Provider,{value:l},o.createElement("div",Object.assign({},u,{className:f})))},tB.__ANT_BUTTON=!0;let tV=tB},96553:(t,e,n)=>{n.d(e,{O:()=>s,e:()=>a});var i=n(20112),r=n(38893),o=n(72908);function a(t){return(0,i.N)(t.animate)||o._.some(e=>(0,r.w)(t[e]))}function s(t){return!!(a(t)||t.variants)}},98441:(t,e,n)=>{n.d(e,{L:()=>i});var i=(0,n(34023).createContext)({})},99153:(t,e,n)=>{n.d(e,{$:()=>o,H:()=>r});var i=n(44906);let r={};function o(t){for(let e in t)r[e]=t[e],(0,i.j)(e)&&(r[e].isCSSVariable=!0)}},99711:(t,e,n)=>{n.d(e,{l:()=>p});var i=n(52430),r=n(9959),o=n(26798),a=n(26947);let s=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var l=n(7187),c=n(8132),u=n(3691),h=n(62326),d=n(39918);class p extends r.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=i.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(h.f.has(e)){let t=(0,d.D)(e);return t&&t.default||0}return e=s.has(e)?e:(0,o.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return(0,u.x)(t,e,n)}
1build(t,e,n){(0,a.B)(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){for(let n in(0,c.e)(t,e,void 0,i),e.attrs)t.setAttribute(s.has(n)?n:(0,o.I)(n),e.attrs[n])}mount(t){this.isSVGTag=(0,l.n)(t.tagName),super.mount(t)}}}}]);
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.