1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6915],{645:(t,e,i)=>{i.d(e,{$:()=>r});let r=new Set(["width","height","top","left","right","bottom",...i(63498).U])},1309:(t,e,i)=>{i.d(e,{v:()=>n});var r=i(65649);class n{constructor(){this.subscriptions=[]}add(t){return(0,r.Kq)(this.subscriptions,t),()=>(0,r.Ai)(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},1580:(t,e,i)=>{function r(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function n(t,e,i,n){if("function"==typeof e){let[s,o]=r(n);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=r(n);e=e(void 0!==i?i:t.custom,s,o)}return e}i.d(e,{a:()=>n})},2098:(t,e,i)=>{i.d(e,{W:()=>r});let r={skipAnimations:!1,useManualTiming:!1}},3320:(t,e,i)=>{i.d(e,{w:()=>r});let r=t=>e=>e.test(t)},4084:(t,e,i)=>{i.d(e,{V:()=>h,f:()=>m});var r=i(7834);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(24840),o=i(98279);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(r.y.test(t)?(n.color.push(o),s.push(l),i.push(r.y.parse(t))):t.startsWith("var(")?(n.var.push(o),s.push("var"),i.push(t)):(n.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:n,types:s}}function d(t){return h(t).values}function c(t){let{split:e,types:i}=h(t),n=e.length;return t=>{let s="";for(let u=0;u<n;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===a?s+=(0,o.a)(t[u]):e===l?s+=r.y.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:t,m={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(s.S))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(n))||void 0===i?void 0:i.length)||0)>0},parse:d,createTransformer:c,getAnimatableNone:function(t){let e=d(t);return c(t)(e.map(p))}}},5057:(t,e,i)=>{i.d(e,{S:()=>r});let r=t=>!!(t&&t.getVelocity)},7471:(t,e,i)=>{i.d(e,{Q:()=>r});let r=(0,i(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},7834:(t,e,i)=>{i.d(e,{y:()=>o});var r=i(82629),n=i(83362),s=i(67998);let o={test:t=>s.B.test(t)||r.u.test(t)||n.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):n.V.test(t)?n.V.parse(t):r.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):n.V.transform(t)}},9682:(t,e,i)=>{i.d(e,{F:()=>n});let r=(t,e)=>i=>e(t(i)),n=(...t)=>t.reduce(r)},11314:(t,e,i)=>{i.d(e,{h:()=>d,q:()=>h});var r=i(46182),n=i(65221);let s=new Set,o=!1,a=!1;function l(){if(a){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var r;null===(r=t.getValue(e))||void 0===r||r.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,s.forEach(t=>t.complete()),s.clear()}function u(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function h(){u(),l()}class d{constructor(t,e,i,r,n,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(s.add(this),o||(o=!0,r.Gt.read(u),r.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;for(let n=0;n<t.length;n++)if(null===t[n])if(0===n){let n=null==r?void 0:r.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}else t[n]=t[n-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),s.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,s.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},12189:(t,e,i)=>{i.d(e,{q:()=>r});let r={layout:0,mainThread:0,waapi:0}},14905:(t,e,i)=>{i.d(e,{xQ:()=>s});var r=i(12115),n=i(50430);function s(t=!0){let e=(0,r.useContext)(n.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,r.useId)();(0,r.useEffect)(()=>
1{if(t)return a(l)},[t]);let u=(0,r.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,u]:[!0]}},14920:(t,e,i)=>{i.d(e,{K:()=>n});var r=i(1580);function n(t,e,i){let n=t.getProps();return(0,r.a)(n,e,void 0!==i?i:n.custom,t)}},15853:(t,e,i)=>{i.d(e,{G:()=>u});var r=i(94449),n=i(21116),s=i(38865),o=i(25737),a=i(74046),l=i(9682);function u(t,e,{clamp:i=!0,ease:h,mixer:d}={}){let c=t.length;if((0,r.V)(c===e.length,"Both input and output ranges must be the same length"),1===c)return()=>e[0];if(2===c&&e[0]===e[1])return()=>e[1];let p=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());let m=function(t,e,i){let r=[],s=i||a.j,o=t.length-1;for(let i=0;i<o;i++){let o=s(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.l:e;o=(0,l.F)(t,o)}r.push(o)}return r}(e,h,d),f=m.length,v=i=>{if(p&&i<t[0])return e[0];let r=0;if(f>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=(0,s.q)(t[r],t[r+1],i);return m[r](n)};return i?e=>v((0,o.q)(t[0],t[c-1],e)):v}},18579:(t,e,i)=>{i.d(e,{Q:()=>r});let r={value:null,addProjectionMetrics:null}},21116:(t,e,i)=>{i.d(e,{l:()=>r});let r=t=>t},21850:(t,e,i)=>{i.d(e,{f:()=>tS});var r=i(96299);class n{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>(0,r.J)()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class s extends n{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}var o=i(49922),a=i(2098),l=i(75538),u=i(46182);let h={current:!1};var d=i(21116);function c(t){return"function"==typeof t}function p(t,e){t.timeline=e,t.onfinish=null}let m=t=>Array.isArray(t)&&"number"==typeof t[0];var f=i(57482);let v={linearEasing:void 0},g=function(t,e){let i=(0,f.p)(t);return()=>{var t;return null!==(t=v[e])&&void 0!==t?t:i()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var y=i(38865);let x=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=t((0,y.q)(0,n-1,e))+", ";return`linear(${r.substring(0,r.length-2)})`},b=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,w={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:b([0,.65,.55,1]),circOut:b([.55,0,1,.45]),backIn:b([.31,.01,.66,-.59]),backOut:b([.33,1.53,.69,.99])},P=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function T(t,e,i,r){if(t===e&&i===r)return d.l;let n=e=>(function(t,e,i,r,n){let s,o,a=0;do(s=P(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:P(n(t),e,r)}var S=i(69144),A=i(47939);let k=T(.33,1.53,.69,.99),M=(0,A.G)(k),V=(0,S.V)(M),E=t=>(t*=2)<1?.5*M(t):.5*(2-Math.pow(2,-10*(t-1)));var C=i(68749),D=i(27661),j=i(58840),R=i(11314),L=i(94449),F=i(4084);let B=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(F.f.test(t)||"0"===t)&&!t.startsWith("url(")),O=t=>null!==t;function I(t,{repeat:e,repeatType:i="loop"},r){let n=t.filter(O),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return s&&void 0!==r?r:n[s]}class U{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=j.k.now(),this.options={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,R.q)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=j.k.now(),this.hasAttemptedResolve=!0;let{name:i,type:r,velocity:n,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=B(n,e),a=B(s,e);return(0,L.$)(o===a,`You are trying to animate ${e} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||c(i))&&r)}(t,i,r,n))if(h.current||!s){a&&a(I(t,this.options,e)),o&&o(),this.resolveFinishedPromise();return}else this.options.duration=0;let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function z(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}var $=i(12189),N=i(25737),W=i(74046),G=i(9682),q=i(64530);function K(t,e,i){let r=Math.max(e-5,0);return(0,q.f)(i-t(r),e-r)}let X={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Y(t,e){return t*Math.sqrt(1-e*e)}let H=["duration","bounce"],Q=["stiffness","damping","mass"];function _(t,e){return e.some(e=>void 0!==t[e])}function Z(t=X.visualDuration,e=X.bounce){let i,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],u={done:!1,value:o},{stiffness:h,damping:d,mass:c,duration:p,velocity:m,isResolvedFromDuration:f}=function(t){let e={velocity:X.velocity,stiffness:X.stiffness,damping:X.damping,mass:X.mass,isResolvedFromDuration:!1,...t};if(!_(t,Q)&&_(t,H))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*(0,N.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:X.mass,stiffness:r,damping:n}}else{let i=function({duration:t=X.duration,bounce:e=X.bounce,velocity:i=X.velocity,mass:r=X.mass}){let n,s;(0,L.$)(t<=(0,l.f)(X.maxDuration),"Spring duration must be 10 seconds or less");let o=1-e;
1o=(0,N.q)(X.minDamping,X.maxDamping,o),t=(0,N.q)(X.minDuration,X.maxDuration,(0,l.X)(t)),o<1?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/Y(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=Y(Math.pow(e,2),o);return(r*i+i-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=(0,l.f)(t),isNaN(a))return{stiffness:X.stiffness,damping:X.damping,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:X.mass}).isResolvedFromDuration=!0}return e}({...r,velocity:-(0,l.X)(r.velocity||0)}),v=m||0,g=d/(2*Math.sqrt(h*c)),y=a-o,b=(0,l.X)(Math.sqrt(h/c)),w=5>Math.abs(y);if(n||(n=w?X.restSpeed.granular:X.restSpeed.default),s||(s=w?X.restDelta.granular:X.restDelta.default),g<1){let t=Y(b,g);i=e=>a-Math.exp(-g*b*e)*((v+g*b*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===g)i=t=>a-Math.exp(-b*t)*(y+(v+b*y)*t);else{let t=b*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*b*e),r=Math.min(t*e,300);return a-i*((v+g*b*y)*Math.sinh(r)+t*y*Math.cosh(r))/t}}let P={calculatedDuration:f&&p||null,next:t=>{let e=i(t);if(f)u.done=t>=p;else{let r=0;g<1&&(r=0===t?(0,l.f)(v):K(i,t,e));let o=Math.abs(a-e)<=s;u.done=Math.abs(r)<=n&&o}return u.value=u.done?a:e,u},toString:()=>{let t=Math.min(z(P),2e4),e=x(e=>P.next(t*e).value,t,30);return t+"ms "+e}};return P}function J({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,c,p=t[0],m={done:!1,value:p},f=t=>void 0!==a&&t<a||void 0!==l&&t>l,v=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,g=i*e,y=p+g,x=void 0===o?y:o(y);x!==y&&(g=x-p);let b=t=>-g*Math.exp(-t/r),w=t=>x+b(t),P=t=>{let e=b(t),i=w(t);m.done=Math.abs(e)<=u,m.value=m.done?x:i},T=t=>{f(m.value)&&(d=t,c=Z({keyframes:[m.value,v(m.value)],velocity:K(w,t,m.value),damping:n,stiffness:s,restDelta:u,restSpeed:h}))};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,P(t),T(t)),void 0!==d&&t>=d)?c.next(t-d):(e||P(t),m)}}}let tt=T(.42,0,1,1),te=T(0,0,.58,1),ti=T(.42,0,.58,1),tr=t=>Array.isArray(t)&&"number"!=typeof t[0],tn={linear:d.l,easeIn:tt,easeInOut:ti,easeOut:te,circIn:C.po,circInOut:C.tn,circOut:C.yT,backIn:M,backInOut:V,backOut:k,anticipate:E},ts=t=>{if(m(t)){(0,L.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,n]=t;return T(e,i,r,n)}return"string"==typeof t?((0,L.V)(void 0!==tn[t],`Invalid easing type '${t}'`),tn[t]):t};var to=i(15853),ta=i(84657);function tl({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){let n=tr(r)?r.map(ts):ts(r),s={done:!1,value:e[0]},o=(i&&i.length===e.length?i:(0,ta.Z)(e)).map(e=>e*t),a=(0,to.G)(o,e,{ease:Array.isArray(n)?n:e.map(()=>n||ti).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}let tu=t=>{let e=({timestamp:e})=>t(e);return{start:()=>u.Gt.update(e,!0),stop:()=>(0,u.WG)(e),now:()=>u.uv.isProcessing?u.uv.timestamp:j.k.now()}},th={decay:J,inertia:J,tween:tl,keyframes:tl,spring:Z},td=t=>t/100;class tc extends U{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:r,keyframes:n}=this.options,s=(null==r?void 0:r.KeyframeResolver)||R.h;this.resolver=new s(n,(t,e)=>this.onKeyframesResolved(t,e),e,i,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i,{type:r="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=c(r)?r:th[r]||tl;l!==tl&&"number"!=typeof t[0]&&(e=(0,G.F)(td,(0,W.j)(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=z(u));let{calculatedDuration:h}=u,d=h+s;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:d,totalDuration:d*(n+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;$.q.mainThread++,this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:r,generator:n,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return n.next(0);let{delay:d,repeat:c,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=n;if(c){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/h)):"mirror"===p&&(x=s)),y=(0,N.q)(0,1,i)*h}let b=g?{done:!1,value:a[0]}:x.next(y);o&&(b.value=o(b.value));let{done:w}=b;g||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);
1return P&&void 0!==r&&(b.value=I(a,this.options,r)),f&&f(b.value),P&&this.finish(),b}get duration(){let{resolved:t}=this;return t?(0,l.X)(t.calculatedDuration):0}get time(){return(0,l.X)(this.currentTime)}set time(t){t=(0,l.f)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,l.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=tu,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel(),$.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let tp=new Set(["opacity","clipPath","filter","transform"]);var tm=i(18579);let tf=(0,f.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tv={anticipate:E,backInOut:V,circInOut:C.tn};class tg extends U{constructor(t){super(t);let{name:e,motionValue:i,element:r,keyframes:n}=this.options;this.resolver=new D.K(n,(t,e)=>this.onKeyframesResolved(t,e),e,i,r),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:r=300,times:n,ease:s,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof s&&g()&&s in tv&&(s=tv[s]),c((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&g()||!e||"string"==typeof e&&(e in w||g())||m(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new tc({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:t[0]},n=[],s=0;for(;!r.done&&s<2e4;)n.push((r=i.sample(s)).value),s+=10;return{times:void 0,keyframes:n,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),r=h.duration,n=h.times,s=h.ease,o="keyframes"}let h=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=function t(e,i){if(e)return"function"==typeof e&&g()?x(e,i):m(e)?b(e):Array.isArray(e)?e.map(e=>t(e,i)||w.easeOut):w[e]}(a,n);Array.isArray(h)&&(u.easing=h),tm.Q.value&&$.q.waapi++;let d=t.animate(u,{delay:r,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"});return tm.Q.value&&d.finished.finally(()=>{$.q.waapi--}),d}(a.owner.current,l,t,{...this.options,duration:r,times:n,ease:s});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(p(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;a.set(I(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:r,times:n,type:o,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,l.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,l.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,l.f)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return d.l;let{animation:i}=e;p(i,t)}else this.pendingTimeline=t;return d.l}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;
1"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:r,type:n,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:u,...h}=this.options,d=new tc({...h,keyframes:i,duration:r,type:n,ease:s,times:o,isGenerator:!0}),c=(0,l.f)(this.time);t.setWithVelocity(d.sample(c-10).value,d.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return tf()&&i&&tp.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}}var ty=i(63498);let tx={type:"spring",stiffness:500,damping:25,restSpeed:10},tb=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),tw={type:"keyframes",duration:.8},tP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tT=(t,{keyframes:e})=>e.length>2?tw:ty.f.has(t)?t.startsWith("scale")?tb(e[1]):tx:tP,tS=(t,e,i,r={},n,d)=>c=>{let p=(0,o.r)(r,t)||{},m=p.delay||r.delay||0,{elapsed:f=0}=r;f-=(0,l.f)(m);let v={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...p,delay:-f,onUpdate:t=>{e.set(t),p.onUpdate&&p.onUpdate(t)},onComplete:()=>{c(),p.onComplete&&p.onComplete()},name:t,motionValue:e,element:d?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(p)&&(v={...v,...tT(t,v)}),v.duration&&(v.duration=(0,l.f)(v.duration)),v.repeatDelay&&(v.repeatDelay=(0,l.f)(v.repeatDelay)),void 0!==v.from&&(v.keyframes[0]=v.from);let g=!1;if(!1!==v.type&&(0!==v.duration||v.repeatDelay)||(v.duration=0,0!==v.delay||(g=!0)),(h.current||a.W.skipAnimations)&&(g=!0,v.duration=0,v.delay=0),v.allowFlatten=!p.type&&!p.ease,g&&!d&&void 0!==e.get()){let t=I(v.keyframes,p);if(void 0!==t)return u.Gt.update(()=>{v.onUpdate(t),v.onComplete()}),new s([])}return!d&&tg.supports(v)?new tg(v):new tc(v)}},23353:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>n,hs:()=>o});var r=i(25737);let n={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...n,transform:t=>(0,r.q)(0,1,t)},o={...n,default:1}},23801:(t,e,i)=>{i.d(e,{p:()=>r});let r=t=>Array.isArray(t)},24249:(t,e,i)=>{function r(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{P:()=>ra});var n,s,o=i(54878),a=i(23801);function l(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}function u(t){return"string"==typeof t||Array.isArray(t)}let h=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...h],c=d.length;var p=i(14920);let m=[...h].reverse(),f=h.length;function v(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function g(){return{animate:v(!0),whileInView:v(),whileHover:v(),whileTap:v(),whileDrag:v(),whileFocus:v(),exit:v()}}class y{constructor(t){this.isMounted=!1,this.node=t}update(){}}class x extends y{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(0,o._)(t,e,i))),i=g(),n=!0,s=e=>(i,r)=>{var n;let s=(0,p.K)(t,r,"exit"===e?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0);if(s){let{transition:t,transitionEnd:e,...r}=s;i={...i,...r,...e}}return i};function h(o){let{props:h}=t,v=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<c;t++){let r=d[t],n=e.props[r];(u(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},g=[],y=new Set,x={},b=1/0;for(let e=0;e<f;e++){var w,P;let d=m[e],c=i[d],p=void 0!==h[d]?h[d]:v[d],f=u(p),T=d===o?c.isActive:null;!1===T&&(b=e);let S=p===v[d]&&p!==h[d]&&f;if(S&&n&&t.manuallyAnimateOnMount&&(S=!1),c.protectedKeys={...x},!c.isActive&&null===T||!p&&!c.prevProp||r(p)||"boolean"==typeof p)continue;let A=(w=c.prevProp,"string"==typeof(P=p)?P!==w:!!Array.isArray(P)&&!l(P,w)),k=A||d===o&&c.isActive&&!S&&f||e>b&&f,M=!1,V=Array.isArray(p)?p:[p],E=V.reduce(s(d),{});!1===T&&(E={});let{prevResolvedValues:C={}}=c,D={...C,...E},j=e=>{k=!0,y.has(e)&&(M=!0,y.delete(e)),c.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in D){let e=E[t],i=C[t];if(x.hasOwnProperty(t))continue;let r=!1;((0,a.p)(e)&&(0,a.p)(i)?l(e,i):e===i)?void 0!==e&&y.has(t)?j(t):c.protectedKeys[t]=!0:null!=e?j(t):y.add(t)}c.prevProp=p,c.prevResolvedValues=E,c.isActive&&(x={...x,...E}),n&&t.blockInitialAnimation&&(k=!1);let R=!(S&&A)||M;k&&R&&g.push(...V.map(t=>({animation:t,options:{type:d}})))}if(y.size){let e={};if("boolean"!=typeof h.initial){let i=(0,p.K)(t,Array.isArray(h.initial)?h.initial[0]:h.initial);i&&i.transition&&(e.transition=i.transition)}y.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=null!=r?r:null}),g.push({animation:e})}let T=!!g.length;return n&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(T=!1),n=!1,T?e(g):Promise.resolve()}return{animateChanges:h,setActive:function(e,r){var n;if(i[e].isActive===r)return Promise.resolve();null===(n=t.variantChildren)||void 0===n||n.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,r)}),i[e].isActive=r;let s=h(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=g(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();r(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let b=0;class w extends y{constructor(){super(...arguments),this.id=b++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var P=i(21116),T=i(94449),S=i(46182);let A={x:!1,y:!1};var k=i(21850);function M(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let V=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function E(t){return{point:{x:t.pageX,y:t.pageY}}}let C=t=>e=>V(e)&&t(e,E(e));function D(t,e,i,r){return M(t,e,C(i),r)}function j({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}var R=i(38720);function L(t){return t.max-t.min}function F(t,e,i,r=.5){t.origin=r,t.originPoint=(0,R.k)(e.min,e.max,t.origin),t.scale=L(i)/L(e),t.translate=(0,R.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function B(t,e,i,r){F(t.x,e.x,i.x,r?r.originX:void 0),F(t.y,e.y,i.y,r?r.originY:void 0)}function O(t,e,i){t.min=i.min+e.min,t.max=t.min+L(e)}function I(t,e,i){t.min=e.min-i.min,t.max=t.min+L(e)}function U(t,e,i){I(t.x,e.x,i.x),I(t.y,e.y,i.y)}let z=()=>({translate:0,scale:1,origin:0,originPoint:0}),$=()=>({x:z(),y:z()}),N=()=>({min:0,max:0}),W=()=>({x:N(),y:N()});function G(t){return[t("x"),t("y")]}function q(t){return void 0===t||1===t}function K({scale:t,scaleX:e,scaleY:i}){return!q(t)||!q(e)||!q(i)}function X(t){return K(t)||Y(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Y(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function H(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function Q(t,e=0,i=1,r,n){t.min=H(t.min,e,i,r,n),t.max=H(t.max,e,i,r,n)}function _(t,{x:e,y:i}){Q(t.x,e.translate,e.scale,e.originPoint),Q(t.y,i.translate,i.scale,i.originPoint)}function Z(t,e){t.min=t.min+e,t.max=t.max+e}function J(t,e,i,r,n=.5){let s=(0,R.k)(t.min,t.max,n);Q(t,e,i,s,r)}function tt(t,e){J(t.x,e.x,e.scaleX,e.scale,e.originX),J(t.y,e.y,e.scaleY,e.scale,e.originY)}function te(t,e){return j(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let ti=({current:t})=>t?t.ownerDocument.defaultView:null;function tr(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var tn=i(29772),ts=i(99932),to=i(75538);let ta=(t,e)=>Math.abs(t-e);var tl=i(9682);class tu{constructor(t,e,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:n=!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=tc(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(ta(t.x,e.x)**2+ta(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:r}=t,{timestamp:n}=S.uv;this.history.push({...r,timestamp:n});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=th(e,this.transformPagePoint),S.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=tc("pointercancel"===t.type?this.lastMoveEventInfo:th(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!V(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.contextWindow=r||window;let s=th(E(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=S.uv;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,tc(s,this.history)),this.removeListeners=(0,tl.F)(D(this.contextWindow,"pointermove",this.handlePointerMove),D(this.contextWindow,"pointerup",this.handlePointerUp),D(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,S.WG)(this.updatePoint)}}function th(t,e){return e?{point:e(t.point)}:t}function td(t,e){return{x:t.x-e.x,y:t.y-e.y}}function tc({point:t},e){return{point:t,delta:td(t,tp(e)),offset:td(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=tp(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>(0,to.f)(.1)));)i--;if(!r)return{x:0,y:0};let s=(0,to.X)(n.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function tp(t){return t[t.length-1]}var tm=i(38865),tf=i(25737);function tv(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function tg(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function ty(t,e,i){return{min:tx(t,e),max:tx(t,i)}}function tx(t,e){return"number"==typeof t?t:t[e]||0}let tb=new WeakMap;class tw{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=W(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new tu(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(E(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(A[t])return null;else return A[t]=!0,()=>{A[t]=!1};return A.x||A.y?null:(A.x=A.y=!0,()=>{A.x=A.y=!1})}(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),G(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tn.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=L(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&S.Gt.postRender(()=>n(t,e)),(0,ts.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>G(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:ti(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:n}=this.getProps();n&&S.Gt.postRender(()=>n(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!tP(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?(0,R.k)(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?(0,R.k)(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,n=this.constraints;e&&tr(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:tv(t.x,i,n),y:tv(t.y,e,r)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:ty(t,"left","right"),y:ty(t,"top","bottom")}}(i),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&G(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!tr(e))return!1;let r=e.current;(0,T.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;
1let s=function(t,e,i){let r=te(t,i),{scroll:n}=e;return n&&(Z(r.x,n.offset.x),Z(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o={x:tg((t=n.layout.layoutBox).x,s.x),y:tg(t.y,s.y)};if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=j(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(G(o=>{if(!tP(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,ts.g)(this.visualElement,t),i.start((0,k.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){G(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){G(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){G(e=>{let{drag:i}=this.getProps();if(!tP(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-(0,R.k)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!tr(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};G(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();r[t]=function(t,e){let i=.5,r=L(t),n=L(e);return n>r?i=(0,tm.q)(e.min,e.max-r,t.min):r>n&&(i=(0,tm.q)(t.min,t.max-n,e.min)),(0,tf.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),G(e=>{if(!tP(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set((0,R.k)(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;tb.set(this.visualElement,this);let t=D(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();tr(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),S.Gt.read(e);let n=M(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(G(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function tP(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tT extends y{constructor(t){super(t),this.removeGroupControls=P.l,this.removeListeners=P.l,this.controls=new tw(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||P.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let tS=t=>(e,i)=>{t&&S.Gt.postRender(()=>t(e,i))};class tA extends y{constructor(){super(...arguments),this.removePointerDownListener=P.l}onPointerDown(t){this.session=new tu(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ti(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:tS(t),onStart:tS(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&S.Gt.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=D(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 tk=i(95155);let{schedule:tM}=(0,i(66911).I)(queueMicrotask,!1);var tV=i(12115),tE=i(14905),tC=i(57728);let tD=(0,tV.createContext)({}),tj={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tR(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tL={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!tn.px.test(t))return t;else t=parseFloat(t);let i=tR(t,e.target.x),r=tR(t,e.target.y);return`${i}% ${r}%`}};var tF=i(4084),tB=i(71033);let tO={};class tI extends tV.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;
1for(let t in tz)tO[t]=tz[t],(0,tB.j)(t)&&(tO[t].isCSSVariable=!0);n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),tj.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,s=i.projection;return s&&(s.isPresent=n,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent===n||(n?s.promote():s.relegate()||S.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tM.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tU(t){let[e,i]=(0,tE.xQ)(),r=(0,tV.useContext)(tC.L);return(0,tk.jsx)(tI,{...t,layoutGroup:r,switchLayoutGroup:(0,tV.useContext)(tD),isPresent:e,safeToRemove:i})}let tz={borderRadius:{...tL,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tL,borderTopRightRadius:tL,borderBottomLeftRadius:tL,borderBottomRightRadius:tL,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=tF.f.parse(t);if(r.length>5)return t;let n=tF.f.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=(0,R.k)(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};var t$=i(1309),tN=i(49922),tW=i(18579),tG=i(58840),tq=i(12189),tK=i(99967),tX=i(5057),tY=i(82819),tH=i(65649);let tQ=(t,e)=>t.depth-e.depth;class t_{constructor(){this.children=[],this.isDirty=!1}add(t){(0,tH.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,tH.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tQ),this.isDirty=!1,this.children.forEach(t)}}var tZ=i(71772);function tJ(t){let e=(0,tX.S)(t)?t.get():t;return(0,tZ.B)(e)?e.toValue():e}var t0=i(68749);let t1=["TopLeft","TopRight","BottomLeft","BottomRight"],t2=t1.length,t9=t=>"string"==typeof t?parseFloat(t):t,t5=t=>"number"==typeof t||tn.px.test(t);function t3(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let t4=t6(0,.5,t0.yT),t8=t6(.5,.95,P.l);function t6(t,e,i){return r=>r<t?0:r>e?1:i((0,tm.q)(t,e,r))}function t7(t,e){t.min=e.min,t.max=e.max}function et(t,e){t7(t.x,e.x),t7(t.y,e.y)}function ee(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function ei(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function er(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(tn.KN.test(e)&&(e=parseFloat(e),e=(0,R.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,R.k)(s.min,s.max,r);t===s&&(a-=e),t.min=ei(t.min,e,i,a,n),t.max=ei(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let en=["x","scaleX","originX"],es=["y","scaleY","originY"];function eo(t,e,i,r){er(t.x,e,en,i?i.x:void 0,r?r.x:void 0),er(t.y,e,es,i?i.y:void 0,r?r.y:void 0)}function ea(t){return 0===t.translate&&1===t.scale}function el(t){return ea(t.x)&&ea(t.y)}function eu(t,e){return t.min===e.min&&t.max===e.max}function eh(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ed(t,e){return eh(t.x,e.x)&&eh(t.y,e.y)}function ec(t){return L(t.x)/L(t.y)}function ep(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class em{constructor(){this.members=[]}add(t){(0,tH.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,tH.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}
1exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let ef={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ev=["","X","Y","Z"],eg={visibility:"hidden"},ey=0;function ex(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function eb({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=null==e?void 0:e()){this.id=ey++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tW.Q.value&&(ef.nodes=ef.calculatedTargetDeltas=ef.calculatedProjections=0),this.nodes.forEach(eT),this.nodes.forEach(eC),this.nodes.forEach(eD),this.nodes.forEach(eS),tW.Q.addProjectionMetrics&&tW.Q.addProjectionMetrics(ef)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new t_)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t$.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(n||r)&&(this.isLayoutDirty=!0),t){let i,r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tG.k.now(),r=({timestamp:n})=>{let s=n-i;s>=250&&((0,S.WG)(r),t(s-e))};return S.Gt.read(r,!0),()=>(0,S.WG)(r)}(r,250),tj.hasAnimatedSinceResize&&(tj.hasAnimatedSinceResize=!1,this.nodes.forEach(eE))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||eO,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!ed(this.targetLayout,r),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,tN.r)(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||eE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,S.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.forEac
1h(ej),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=(0,tY.P)(i);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",S.Gt,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ek);return}this.isUpdating||this.nodes.forEach(eM),this.isUpdating=!1,this.nodes.forEach(eV),this.nodes.forEach(ew),this.nodes.forEach(eP),this.clearAllSnapshots();let t=tG.k.now();S.uv.delta=(0,tf.q)(0,1e3/60,t-S.uv.timestamp),S.uv.timestamp=t,S.uv.isProcessing=!0,S.PP.update.process(S.uv),S.PP.preRender.process(S.uv),S.PP.render.process(S.uv),S.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tM.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eA),this.sharedNodes.forEach(eR)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,S.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){S.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||L(this.snapshot.measuredBox.x)||L(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=W(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!el(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&(e||X(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),ez((e=r).x),ez(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return W();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(eN))){let{scroll:t}=this.root;t&&(Z(i.x,t.offset.x),Z(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=W();if(et(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let r=this.path[e],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&et(i,t),Z(i.x,n.offset.x),Z(i.y,n.offset.y))}return i}
1applyTransform(t,e=!1){let i=W();et(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&tt(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),X(r.latestValues)&&tt(i,r.latestValues)}return X(this.latestValues)&&tt(i,this.latestValues),i}removeTransform(t){let e=W();et(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!X(i.latestValues))continue;K(i.latestValues)&&i.updateSnapshot();let r=W();et(r,i.measurePageBox()),eo(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return X(this.latestValues)&&eo(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!==S.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,r,n;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=S.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=W(),this.relativeTargetOrigin=W(),U(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),et(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=W(),this.targetWithTransforms=W()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,r=this.relativeTarget,n=this.relativeParent.target,O(i.x,r.x,n.x),O(i.y,r.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):et(this.target,this.layout.layoutBox),_(this.target,this.targetDelta)):et(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=W(),this.relativeTargetOrigin=W(),U(this.relativeTargetOrigin,this.target,t.target),et(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tW.Q.value&&ef.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||K(this.parent.latestValues)||Y(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(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(r=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===S.uv.t
1imestamp&&(r=!1),r)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;et(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&tt(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,_(t,s)),r&&X(n.latestValues)&&tt(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=W());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ee(this.prevProjectionDelta.x,this.projectionDelta.x),ee(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),B(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&ep(this.projectionDelta.x,this.prevProjectionDelta.x)&&ep(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),tW.Q.value&&ef.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=$(),this.projectionDelta=$(),this.projectionDeltaWithTransform=$()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=$();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=W(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(eB));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(eL(o.x,t.x,r),eL(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,m,f,v;if(U(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,v=r,eF(p.x,m.x,f.x,v),eF(p.y,m.y,f.y,v),i&&(u=this.relativeTarget,c=i,eu(u.x,c.x)&&eu(u.y,c.y)))this.isProjectionDirty=!1;i||(i=W()),et(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=(0,R.k)(0,void 0!==i.opacity?i.opacity:1,t4(r)),t.opacityExit=(0,R.k)(void 0!==e.opacity?e.opacity:1,0,t8(r))):s&&(t.opacity=(0,R.k)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,r));for(let n=0;n<t2;n++){let s=`border${t1[n]}Radius`,o=t3(e,s),a=t3(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||t5(o)===t5(a)?(t[s]=Math.max((0,R.k)(t9(o),t9(a),r),0),(tn.KN.test(a)||tn.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,R.k)(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,d,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,S.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=S.Gt.update(()=>{tj.hasAnimatedSinceResize=!0,tq.q.layout++,this.currentAnimation=function(t,e,
1i){let r=(0,tX.S)(0)?0:(0,tK.OQ)(t);return r.start((0,k.f)("",r,1e3,i)),r.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{tq.q.layout--},onComplete:()=>{tq.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&e$(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||W();let e=L(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=L(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}et(e,i),tt(e,n),B(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new em),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&ex("z",t,r,this.animationValues);for(let e=0;e<ev.length;e++)ex(`rotate${ev[e]}`,t,r,this.animationValues),ex(`skew${ev[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return eg;let r={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=tJ(null==t?void 0:t.pointerEvents)||"",r.transform=n?n(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tJ(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!X(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),n&&(r.transform=n(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(i=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,tO){if(void 0===o[t])continue;let{correct:e,applyTo:i,isCSSVariable:n}=tO[t],a="none"===r.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)r[i[e]]=a}
1else n?this.options.visualElement.renderState.vars[t]=a:r[t]=a}return this.options.layoutId&&(r.pointerEvents=s===this?tJ(null==t?void 0:t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(ek),this.root.sharedNodes.clear()}}}function ew(t){t.updateLayout()}function eP(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:r}=t.layout,{animationType:n}=t.options,s=i.source!==t.layout.source;"size"===n?G(t=>{let r=s?i.measuredBox[t]:i.layoutBox[t],n=L(r);r.min=e[t].min,r.max=r.min+n}):e$(n,i.layoutBox,e)&&G(r=>{let n=s?i.measuredBox[r]:i.layoutBox[r],o=L(e[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=$();B(o,e,i.layoutBox);let a=$();s?B(a,t.applyTransform(r,!0),i.measuredBox):B(a,e,i.layoutBox);let l=!el(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=W();U(o,i.layoutBox,n.layoutBox);let a=W();U(a,e,s.layoutBox),ed(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function eT(t){tW.Q.value&&ef.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 eS(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function eA(t){t.clearSnapshot()}function ek(t){t.clearMeasurements()}function eM(t){t.isLayoutDirty=!1}function eV(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function eE(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function eC(t){t.resolveTargetDelta()}function eD(t){t.calcProjection()}function ej(t){t.resetSkewAndRotation()}function eR(t){t.removeLeadSnapshot()}function eL(t,e,i){t.translate=(0,R.k)(e.translate,0,i),t.scale=(0,R.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}
1function eF(t,e,i,r){t.min=(0,R.k)(e.min,i.min,r),t.max=(0,R.k)(e.max,i.max,r)}function eB(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eO={duration:.45,ease:[.4,0,.1,1]},eI=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eU=eI("applewebkit/")&&!eI("chrome/")?Math.round:P.l;function ez(t){t.min=eU(t.min),t.max=eU(t.max)}function e$(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(ec(e)-ec(i)))}function eN(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let eW=eb({attachResizeListener:(t,e)=>M(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eG={current:void 0},eq=eb({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eG.current){let t=new eW({});t.mount(window),t.setOptions({layoutScroll:!0}),eG.current=t}return eG.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var eK=i(80793);function eX(t,e){let i=(0,eK.K)(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function eY(t){return!("touch"===t.pointerType||A.x||A.y)}function eH(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&S.Gt.postRender(()=>n(e,E(e)))}class eQ extends y{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=eX(t,i),o=t=>{if(!eY(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let s=t=>{eY(t)&&(r(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,n)};return r.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}(t,(t,e)=>(eH(this.node,e,"Start"),t=>eH(this.node,t,"End"))))}unmount(){}}class e_ extends y{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,tl.F)(M(this.node.current,"focus",()=>this.onFocus()),M(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eZ=(t,e)=>!!e&&(t===e||eZ(t,e.parentElement)),eJ=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),e0=new WeakSet;function e1(t){return e=>{"Enter"===e.key&&t(e)}}function e2(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let e9=(t,e)=>{let i=t.currentTarget;if(!i)return;let r=e1(()=>{if(e0.has(i))return;e2(i,"down");let t=e1(()=>{e2(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>e2(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)};function e5(t){return V(t)&&!(A.x||A.y)}function e3(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&S.Gt.postRender(()=>n(e,E(e)))}class e4 extends y{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=eX(t,i),o=t=>{let r=t.currentTarget;if(!e5(t)||e0.has(r))return;e0.add(r);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),e5(t)&&e0.has(r)&&(e0.delete(r),"function"==typeof s&&s(t,{success:e}))},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||eZ(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{if((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),t instanceof HTMLElement)t.addEventListener("focus",t=>e9(t,n)),!eJ.has(t.tagName)&&-1===t.tabIndex&&null===t.tabIndex&&(t.tabIndex=0)}),s}(t,(t,e)=>(e3(this.node,e,"Start"),(t,{success:e})=>e3(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let e8=new WeakMap,e6=new WeakMap,e7=t=>{let e=e8.get(t.target);e&&e(t)}
1,it=t=>{t.forEach(e7)},ie={some:0,all:1};class ii extends y{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:r="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof r?r:ie[r]};return function(t,e,i){let r=function({root:t,...e}){let i=t||document;e6.has(i)||e6.set(i,{});let r=e6.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(it,{root:t,...e})),r[n]}(e);return e8.set(t,i),r.observe(t),()=>{e8.delete(t),r.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let ir=(0,tV.createContext)({strict:!1});var is=i(7471);let io=(0,tV.createContext)({});function ia(t){return r(t.animate)||d.some(e=>u(t[e]))}function il(t){return!!(ia(t)||t.variants)}function iu(t){return Array.isArray(t)?t.join(" "):t}var ih=i(42801);let id={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"]},ic={};for(let t in id)ic[t]={isEnabled:e=>id[t].some(t=>!!e[t])};let ip=Symbol.for("motionComponentSymbol");var im=i(93129),iv=i(50430),ig=i(69025),iy=i(63498);function ix(t,{layout:e,layoutId:i}){return iy.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!tO[t]||"opacity"===t)}let ib=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var iw=i(79994);let iP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iT=iy.U.length;function iS(t,e,i){let{style:r,vars:n,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(iy.f.has(t)){o=!0;continue}if((0,tB.j)(t)){n[t]=i;continue}{let e=ib(i,iw.W[t]);t.startsWith("origin")?(a=!0,s[t]=e):r[t]=e}}if(!e.transform&&(o||i?r.transform=function(t,e,i){let r="",n=!0;for(let s=0;s<iT;s++){let o=iy.U[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===+!!o.startsWith("scale"):0===parseFloat(a))||i){let t=ib(a,iw.W[o]);if(!l){n=!1;let e=iP[o]||o;r+=`${e}(${t}) `}i&&(e[o]=t)}}return r=r.trim(),i?r=i(e,n?"":r):n&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;r.transformOrigin=`${t} ${e} ${i}`}}let iA=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ik(t,e,i){for(let r in e)(0,tX.S)(e[r])||ix(r,i)||(t[r]=e[r])}let iM=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 iV(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||iM.has(t)}let iE=t=>!iV(t);try{!function(t){t&&(iE=e=>e.startsWith("on")?!iV(e):t(e))}(require("@emotion/is-prop-valid").default)}catch(t){}let iC=["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 iD(t){if("string"!=typeof t||t.includes("-"));else if(iC.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let ij={offset:"stroke-dashoffset",array:"stroke-dasharray"},iR={offset:"strokeDashoffset",array:"strokeDasharray"};
1function iL(t,e,i){return"string"==typeof t?t:tn.px.transform(e+i*t)}function iF(t,{attrX:e,attrY:i,attrScale:r,originX:n,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,d){if(iS(t,u,d),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:p,dimensions:m}=t;c.transform&&(m&&(p.transform=c.transform),delete c.transform),m&&(void 0!==n||void 0!==s||p.transform)&&(p.transformOrigin=function(t,e,i){let r=iL(e,t.x,t.width),n=iL(i,t.y,t.height);return`${r} ${n}`}(m,void 0!==n?n:.5,void 0!==s?s:.5)),void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==r&&(c.scale=r),void 0!==o&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?ij:iR;t[s.offset]=tn.px.transform(-r);let o=tn.px.transform(e),a=tn.px.transform(i);t[s.array]=`${o} ${a}`}(c,o,a,l,!1)}let iB=()=>({...iA(),attrs:{}}),iO=t=>"string"==typeof t&&"svg"===t.toLowerCase();var iI=i(1580),iU=i(76168);let iz=t=>(e,i)=>{let n=(0,tV.useContext)(io),s=(0,tV.useContext)(iv.t),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},n,s,o){let a={latestValues:function(t,e,i,n){let s={},o=n(t,{});for(let t in o)s[t]=tJ(o[t]);let{initial:a,animate:l}=t,u=ia(t),h=il(t);e&&h&&!u&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let d=!!i&&!1===i.initial,c=(d=d||!1===a)?l:a;if(c&&"boolean"!=typeof c&&!r(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let r=(0,iI.a)(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(n,s,o,t),renderState:e()};return i&&(a.onMount=t=>i({props:n,current:t,...a}),a.onUpdate=t=>i(t)),a})(t,e,n,s);return i?o():(0,iU.M)(o)};function i$(t,e,i){var r;let{style:n}=t,s={};for(let o in n)((0,tX.S)(n[o])||e.style&&(0,tX.S)(e.style[o])||ix(o,t)||(null===(r=null==i?void 0:i.getValue(o))||void 0===r?void 0:r.liveStyle)!==void 0)&&(s[o]=n[o]);return s}let iN={useVisualState:iz({scrapeMotionValuesFromProps:i$,createRenderState:iA})};function iW(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}var iG=i(51687);function iq(t,{style:e,vars:i},r,n){for(let s in Object.assign(t.style,e,n&&n.getProjectionStyles(r)),i)t.style.setProperty(s,i[s])}let iK=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function iX(t,e,i,r){for(let i in iq(t,e,void 0,r),e.attrs)t.setAttribute(iK.has(i)?i:(0,iG.I)(i),e.attrs[i])}function iY(t,e,i){let r=i$(t,e,i);for(let i in t)((0,tX.S)(t[i])||(0,tX.S)(e[i]))&&(r[-1!==iy.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}let iH=["x","y","width","height","cx","cy","r"],iQ={useVisualState:iz({scrapeMotionValuesFromProps:iY,createRenderState:iB,onUpdate:({props:t,prevProps:e,current:i,renderState:r,latestValues:n})=>{if(!i)return;let s=!!t.drag;if(!s){for(let t in n)if(iy.f.has(t)){s=!0;break}}if(!s)return;let o=!e;if(e)for(let i=0;i<iH.length;i++){let r=iH[i];t[r]!==e[r]&&(o=!0)}o&&S.Gt.read(()=>{iW(i,r),S.Gt.render(()=>{iF(r,n,iO(i.tagName),t.transformTemplate),iX(i,r)})})}})};var i_=i(70109),iZ=i(99729),iJ=i(73342),i0=i(55453),i1=i(88209),i2=i(7834),i9=i(68389),i5=i(3320);let i3=[...i9.T,i2.y,tF.f],i4=t=>i3.find((0,i5.w)(t)),i8=new WeakMap;var i6=i(11314);let i7=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class rt{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=i6.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=tG.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,S.Gt.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=s;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=ia(e),this.isVariantNode=il(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!==a[t]&&(0,tX.S)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,i8.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),i0.r.current||(0,iJ.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||i0.O.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,S.WG)(this.notifyUpdate),(0,S.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 i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=iy.f.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&S.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in ic){let e=ic[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):W()}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<i7.length;e++){let i=i7[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if((0,tX.S)(n))t.addValue(r,n);else if((0,tX.S)(s))t.addValue(r,(0,tK.OQ)(n,{owner:t}));else if(s!==n)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,(0,tK.OQ)(void 0!==e?e:n,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,tK.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let r=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=r&&("string"==typeof r&&((0,i_.i)(r)||(0,iZ.$)(r))?r=parseFloat(r):!i4(r)&&tF.f.test(e)&&(r=(0,i1.J)(t,e)),this.setBaseTarget(t,(0,tX.S)(r)?r.get():r)),(0,tX.S)(r)?r.get():r}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=(0,iI.a)(this.props,r,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);n&&(i=n[t])}if(r&&void 0!==i)return i;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,tX.S)(n)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new t$.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}var re=i(27661);class ri extends rt{constructor(){super(...arguments),this.KeyframeResolver=re.K}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,tX.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var rr=i(96867);class rn extends ri{constructor(){super(...arguments),this.type="html",this.renderInstance=iq}readValueFromInstance(t,e){if(iy.f.has(e))return(0,rr.I)(t,e);{let i=window.getComputedStyle(t),r=((0,tB.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return te(t,e)}build(t,e,i){iS(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return i$(t,e,i)}}var rs=i(28866);class ro extends ri{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=W,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&iW(this.current,this.renderState)}}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(iy.f.has(e)){let t=(0,rs.D)(e);return t&&t.default||0}return e=iK.has(e)?e:(0,iG.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return iY(t,e,i)}onBindTransform(){this.current&&!this.renderState.dimensions&&S.Gt.postRender(this.updateDimensions)}build(t,e,i){iF(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,r){iX(t,e,i,r)}mount(t){this.isSVGTag=iO(t.tagName),super.mount(t)}}let ra=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,r)=>"create"===r?t:(e.has(r)||e.set(r,t(r)),e.get(r))})}((n={animation:{Feature:x},exit:{Feature:w},inView:{Feature:ii},tap:{Feature:e4},focus:{Feature:e_},hover:{Feature:eQ},pan:{Feature:tA},drag:{Feature:tT,ProjectionNode:eq,MeasureLayout:tU},layout:{ProjectionNode:eq,MeasureLayout:tU}},s=(t,e)=>iD(t)?new ro(e):new rn(e,{allowProjection:t!==tV.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){var e,i;let{preloadedFeatures:r,createVisualElement:n,useRender:s,useVisualState:o,Component:a}=t;function l(t,e){var i,r,l;let h,d={...(0,tV.useContext)(is.Q),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,tV.useContext)(tC.L).id;return i&&void 0!==e?i+"-"+e:e}(t)},{isStatic:c}=d,p=function(t){let{initial:e,animate:i}=function(t,e){if(ia(t)){let{initial:e,animate:i}=t;return{initial:!1===e||u(e)?e:void 0,animate:u(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,tV.useContext)(io));return(0,tV.useMemo)(()=>({initial:e,animate:i}),[iu(e),iu(i)])}(t),m=o(t,c);if(!c&&ih.B){r=0,l=0,(0,tV.useContext)(ir).strict;let t=function(t){let{drag:e,layout:i}=ic;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(d);h=t.MeasureLayout,p.visualElement=function(t,e,i,r,n){var s,o;let{visualElement:a}=(0,tV.useContext)(io),l=(0,tV.useContext)(ir),u=(0,tV.useContext)(iv.t),h=(0,tV.useContext)(is.Q).reducedMotion,d=(0,tV.useRef)(null);r=r||l.renderer,!d.current&&r&&(d.current=r(t,{visualState:e,parent:a,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:h}));let c=d.current,p=(0,tV.useContext)(tD);c&&!c.projection&&n&&("html"===c.type||"svg"===c.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&tr(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(d.current,i,n,p);let m=(0,tV.useRef)(!1);(0,tV.useInsertionEffect)(()=>{c&&m.current&&c.update(i,u)});let f=i[im.n],v=(0,tV.useRef)(!!f&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,f))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,f)));return(0,ig.E)(()=>{c&&(m.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),tM.render(c.render),v.current&&c.animationState&&c.animationState.animateChanges())}),(0,tV.useEffect)(()=>{c&&(!v.current&&c.animationState&&c.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,f)}),v.current=!1))}),c}(a,m,d,n,t.ProjectionNode)}return(0,tk.jsxs)(io.Provider,{value:p,children:[h&&p.visualElement?(0,tk.jsx)(h,{visualElement:p.visualElement,...d}):null,s(a,t,(i=p.visualElement,(0,tV.useCallback)(t=>{t&&m.onMount&&m.onMount(t),i&&(t?i.mount(t):i.unmount()),e&&("function"==typeof e?e(t):tr(e)&&(e.current=t))},[i])),m,c,p.visualElement)]})}r&&function(t){for(let e in t)ic[e]={...ic[e],...t[e]}}(r),l.displayName="motion.".concat("string"==typeof a?a:"create(".concat(null!==(i=null!==(e=a.displayName)&&void 0!==e?e:a.name)&&void 0!==i?i:"",")"));let h=(0,tV.forwardRef)(l);return h[ip]=a,h}({...iD(t)?iQ:iN,preloadedFeatures:n,useRender:function(t=!1){return(e,i,r,{latestValues:n},s)=>
1{let o=(iD(e)?function(t,e,i,r){let n=(0,tV.useMemo)(()=>{let i=iB();return iF(i,e,iO(r),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ik(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i={},r=function(t,e){let i=t.style||{},r={};return ik(r,i,t),Object.assign(r,function({transformTemplate:t},e){return(0,tV.useMemo)(()=>{let i=iA();return iS(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=r,i})(i,n,s,e),a=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(iE(n)||!0===i&&iV(n)||!e&&!iV(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(i,"string"==typeof e,t),l=e!==tV.Fragment?{...a,...o,ref:r}:{},{children:u}=i,h=(0,tV.useMemo)(()=>(0,tX.S)(u)?u.get():u,[u]);return(0,tV.createElement)(e,{...l,children:h})}}(e),createVisualElement:s,Component:t})}))},24453:(t,e,i)=>{i.d(e,{p:()=>l});var r=i(4084),n=i(24840);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(n.S)||[];if(!r)return t;let o=i.replace(r,""),a=+!!s.has(e);return r!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...r.f,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},24840:(t,e,i)=>{i.d(e,{S:()=>r});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},25737:(t,e,i)=>{i.d(e,{q:()=>r});let r=(t,e,i)=>i>e?e:i<t?t:i},27661:(t,e,i)=>{i.d(e,{K:()=>f});var r=i(99729),n=i(645),s=i(4084),o=i(88209);let a=new Set(["auto","none","0"]);var l=i(11314),u=i(94449),h=i(70109),d=i(71033);let c=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var p=i(65221),m=i(68389);class f extends l.h{constructor(t,e,i,r,n){super(t,e,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&(r=r.trim(),(0,d.p)(r))){let n=function t(e,i,r=1){(0,u.V)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,s]=function(t){let e=c.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${null!=i?i:r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return(0,h.i)(t)?parseFloat(t):t}return(0,d.p)(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!n.$.has(i)||2!==t.length)return;let[r,s]=t,o=(0,m.n)(r),a=(0,m.n)(s);if(o!==a)if((0,p.E4)(o)&&(0,p.E4)(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||(0,r.$)(n))&&i.push(e)}if(i.length){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!a.has(e)&&(0,s.V)(e).values.length&&(r=t[n]),n++}if(r&&e)for(let n of i)t[n]=(0,o.J)(e,r)}}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=p.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(i);n&&n.jump(this.measuredOrigin,!1);let s=r.length-1,o=r[s];r[s]=p.Hr[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}},28866:(t,e,i)=>{i.d(e,{D:()=>o});var r=i(7834),n=i(24453);let s={...i(79994).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:n.p,WebkitFilter:n.p},o=t=>s[t]},29772:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>u,px:()=>o,uj:()=>n,vh:()=>a,vw:()=>l});let r=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),n=r("deg"),s=r("%"),o=r("px"),a=r("vh"),l=r("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},35695:(t,e,i)=>{var r=i(18999);i.o(r,"usePathname")&&i.d(e,{usePathname:function(){return r.usePathname}}),i.o(r,"useRouter")&&i.d(e,{useRouter:function(){return r.useRouter}}),i.o(r,"useSearchParams")&&i.d(e,{useSearchParams:function(){return r.useSearchParams}})},38720:(t,e,i)=>{i.d(e,{k:()=>r});let r=(t,e,i)=>t+(e-t)*i},38865:(t,e,i)=>{i.d(e,{q:()=>r});let r=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r}},39688:(t,e,i)=>{i.d(e,{QP:()=>td});let r=t=>{let e=a(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:t=>{let i=t.split("-");return""===i[0]&&1!==i.length&&i.shift(),n(i,e)||o(t)},getConflictingClassGroupIds:(t,e)=>{let n=i[t]||[];return e&&r[t]?[...n,...r[t]]:n}}},n=(t,e)=>{if(0===t.length)return e.classGroupId;let i=t[0],r=e.nextPart.get(i),s=r?n(t.slice(1),r):void 0;if(s)return s;if(0===e.validators.length)return;let o=t.join("-");return e.validators.find(({validator:t})=>t(o))?.classGroupId},s=/^\[(.+)\]$/,o=t=>{if(s.test(t)){let e=s.exec(t)[1],i=e?.substring(0,e.indexOf(":"));if(i)return"arbitrary.."+i}},a=t=>{let{theme:e,classGroups:i}=t,r={nextPart:new Map,validators:[]};for(let t in i)l(i[t],r,t,e);return r},l=(t,e,i,r)=>{t.forEach(t=>{if("string"==typeof t){(""===t?e:u(e,t)).classGroupId=i;return}if("function"==typeof t){if(h(t)){l(t(r),e,i,r);return}e.validators.push({validator:t,classGroupId:i});return}Object.entries(t).forEach(([t,n])=>{l(n,u(e,t),i,r)})})},u=(t,e)=>{let i=t;return e.split("-").forEach(t=>{i.nextPart.has(t)||i.nextPart.set(t,{nextPart:new Map,validators:[]}),i=i.nextPart.get(t)}),i},h=t=>t.isThemeGetter,d=t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=new Map,r=new Map,n=(n,s)=>{i.set(n,s),++e>t&&(e=0,r=i,i=new Map)};return{get(t){let e=i.get(t);return void 0!==e?e:void 0!==(e=r.get(t))?(n(t,e),e):void 0},set(t,e){i.has(t)?i.set(t,e):n(t,e)}}},c=t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,n=0,s=0;for(let o=0;o<t.length;o++){let a=t[o];if(0===r&&0===n){if(":"===a){i.push(t.slice(s,o)),s=o+1;continue}if("/"===a){e=o;continue}}"["===a?r++:"]"===a?r--:"("===a?n++:")"===a&&n--}let o=0===i.length?t:t.substring(s),a=p(o);return{modifiers:i,hasImportantModifier:a!==o,baseClassName:a,maybePostfixModifierPosition:e&&e>s?e-s:void 0}};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.substring(t.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:e,maybePostfixModifierPosition:void 0}}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r},p=t=>t.endsWith("!")?t.substring(0,t.length-1):t.startsWith("!")?t.substring(1):t,m=t=>{let e=Object.fromEntries(t.orderSensitiveModifiers.map(t=>[t,!0]));return t=>{if(t.length<=1)return t;let i=[],r=[];return t.forEach(t=>{"["===t[0]||e[t]?(i.push(...r.sort(),t),r=[]):r.push(t)}),i.push(...r.sort()),i}},f=t=>({cache:d(t.cacheSize),parseClassName:c(t),sortModifiers:m(t),...r(t)}),v=/\s+/,g=(t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(v),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:u,modifiers:h,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=i(e);if(u){l=e+(l.length>0?" "+l:l);continue}let m=!!p,f=r(m?c.substring(0,p):c);if(!f){if(!m||!(f=r(c))){l=e+(l.length>0?" "+l:l);continue}m=!1}let v=s(h).join(":"),g=d?v+"!":v,y=g+f;if(o.includes(y))continue;o.push(y);let x=n(f,m);for(let t=0;t<x.length;++t){let e=x[t];o.push(g+e)}l=e+(l.length>0?" "+l:l)}return l};function y(){let t,e,i=0,r="";for(;i<arguments.length;)(t=arguments[i++])&&(e=x(t))&&(r&&(r+=" "),r+=e);return r}let x=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=x(t[r]))&&(i&&(i+=" "),i+=e);return i},b=t=>{let e=e=>e[t]||[];return e.isThemeGetter=!0,e},w=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,P=/^\((?:(\w[\w-]*):)?(.+)\)$/i,T=/^\d+\/\d+$/,S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,k=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,V=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=t=>T.test(t),C=t=>!!t&&!Number.isNaN(Number(t)),D=t=>!!t&&Number.isInteger(Number(t)),j=t=>t.endsWith("%")&&C(t.slice(0,-1)),R=t=>S.test(t),L=()=>!0,F=t=>A.test(t)&&!k.test(t),B=()=>!1,O=t=>M.test(t),I=t=>V.test(t),U=t=>!$(t)&&!X(t),z=t=>tt(t,to,B),$=t=>w.test(t),N=t=>tt(t,ta,F),W=t=>tt(t,tl,C),G=t=>
1tt(t,ti,B),q=t=>tt(t,tn,I),K=t=>tt(t,B,O),X=t=>P.test(t),Y=t=>te(t,ta),H=t=>te(t,tu),Q=t=>te(t,ti),_=t=>te(t,to),Z=t=>te(t,tn),J=t=>te(t,th,!0),tt=(t,e,i)=>{let r=w.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},te=(t,e,i=!1)=>{let r=P.exec(t);return!!r&&(r[1]?e(r[1]):i)},ti=t=>"position"===t,tr=new Set(["image","url"]),tn=t=>tr.has(t),ts=new Set(["length","size","percentage"]),to=t=>ts.has(t),ta=t=>"length"===t,tl=t=>"number"===t,tu=t=>"family-name"===t,th=t=>"shadow"===t;Symbol.toStringTag;let td=function(t,...e){let i,r,n,s=function(a){return r=(i=f(e.reduce((t,e)=>e(t),t()))).cache.get,n=i.cache.set,s=o,o(a)};function o(t){let e=r(t);if(e)return e;let s=g(t,i);return n(t,s),s}return function(){return s(y.apply(null,arguments))}}(()=>{let t=b("color"),e=b("font"),i=b("text"),r=b("font-weight"),n=b("tracking"),s=b("leading"),o=b("breakpoint"),a=b("container"),l=b("spacing"),u=b("radius"),h=b("shadow"),d=b("inset-shadow"),c=b("drop-shadow"),p=b("blur"),m=b("perspective"),f=b("aspect"),v=b("ease"),g=b("animate"),y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],w=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],T=()=>[X,$,l],S=()=>[E,"full","auto",...T()],A=()=>[D,"none","subgrid",X,$],k=()=>["auto",{span:["full",D,X,$]},X,$],M=()=>[D,"auto",X,$],V=()=>["auto","min","max","fr",X,$],F=()=>["start","end","center","between","around","evenly","stretch","baseline"],B=()=>["start","end","center","stretch"],O=()=>["auto",...T()],I=()=>[E,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],tt=()=>[t,X,$],te=()=>[j,N],ti=()=>["","none","full",u,X,$],tr=()=>["",C,Y,N],tn=()=>["solid","dashed","dotted","double"],ts=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],to=()=>["","none",p,X,$],ta=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",X,$],tl=()=>["none",C,X,$],tu=()=>["none",C,X,$],th=()=>[C,X,$],td=()=>[E,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[R],breakpoint:[R],color:[L],container:[R],"drop-shadow":[R],ease:["in","out","in-out"],font:[U],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[R],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[R],shadow:[R],spacing:["px",C],text:[R],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",E,$,X,f]}],container:["container"],columns:[{columns:[C,$,X,a]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...x(),$,X]}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{start:S()}],end:[{end:S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[D,"auto",X,$]}],basis:[{basis:[E,"full","auto",a,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[C,E,"auto","initial","none",$]}],grow:[{grow:["",C,X,$]}],shrink:[{shrink:["",C,X,$]}],order:[{order:[D,"first","last","none",X,$]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":M()}
vendor: 4,680 bytes, line 1
1],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":V()}],"auto-rows":[{"auto-rows":V()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...F(),"normal"]}],"justify-items":[{"justify-items":[...B(),"normal"]}],"justify-self":[{"justify-self":["auto",...B()]}],"align-content":[{content:["normal",...F()]}],"align-items":[{items:[...B(),"baseline"]}],"align-self":[{self:["auto",...B(),"baseline"]}],"place-content":[{"place-content":F()}],"place-items":[{"place-items":[...B(),"baseline"]}],"place-self":[{"place-self":["auto",...B()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:I()}],w:[{w:[a,"screen",...I()]}],"min-w":[{"min-w":[a,"screen","none",...I()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...I()]}],h:[{h:["screen",...I()]}],"min-h":[{"min-h":["screen","none",...I()]}],"max-h":[{"max-h":["screen",...I()]}],"font-size":[{text:["base",i,Y,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,X,W]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",j,$]}],"font-family":[{font:[H,$,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,X,$]}],"line-clamp":[{"line-clamp":[C,"none",X,W]}],leading:[{leading:[s,...T()]}],"list-image":[{"list-image":["none",X,$]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",X,$]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:tt()}],"text-color":[{text:tt()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...tn(),"wavy"]}],"text-decoration-thickness":[{decoration:[C,"from-font","auto",X,N]}],"text-decoration-color":[{decoration:tt()}],"underline-offset":[{"underline-offset":[C,"auto",X,$]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X,$]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X,$]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...x(),Q,G]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",_,z]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},D,X,$],radial:["",X,$],conic:[D,X,$]},Z,q]}],"bg-color":[{bg:tt()}],"gradient-from-pos":[{from:te()}],"gradient-via-pos":[{via:te()}],"gradient-to-pos":[{to:te()}],"gradient-from":[{from:tt()}],"gradient-via":[{via:tt()}],"gradient-to":[{to:tt()}],rounded:[{rounded:ti()}],"rounded-s":[{"rounded-s":ti()}],"rounded-e":[{"rounded-e":ti()}],"rounded-t":[{"rounded-t":ti()}],"rounded-r":[{"rounded-r":ti()}],"rounded-b":[{"rounded-b":ti()}],"rounded-l":[{"rounded-l":ti()}],"rounded-ss":[{"rounded-ss":ti()}],"rounded-se":[{"rounded-se":ti()}],"rounded-ee":[{"rounded-ee":ti()}],"rounded-es":[{"rounded-es":ti()}],"rounded-tl":[{"rounded-tl":ti()}],"rounded-tr":[{"rounded-tr":ti()}],"rounded-br":[{"rounded-br":ti()}],"rounded-bl":[{"rounded-bl":ti()}],"border-w":[{border:tr()}],"border-w-x":[{"border-x":tr()}],"border-w-y":[{"border-y":tr()}],"border-w-s":[{"border-s":tr()}],"border-w-e":[{"border-e":tr()}],"border-w-t":[{"border-t":tr()}],"border-w-r":[{"border-r":tr()}],"border-w-b":[{"border-b":tr()}
vendor: 4,137 bytes, line 1
1],"border-w-l":[{"border-l":tr()}],"divide-x":[{"divide-x":tr()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tr()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...tn(),"hidden","none"]}],"divide-style":[{divide:[...tn(),"hidden","none"]}],"border-color":[{border:tt()}],"border-color-x":[{"border-x":tt()}],"border-color-y":[{"border-y":tt()}],"border-color-s":[{"border-s":tt()}],"border-color-e":[{"border-e":tt()}],"border-color-t":[{"border-t":tt()}],"border-color-r":[{"border-r":tt()}],"border-color-b":[{"border-b":tt()}],"border-color-l":[{"border-l":tt()}],"divide-color":[{divide:tt()}],"outline-style":[{outline:[...tn(),"none","hidden"]}],"outline-offset":[{"outline-offset":[C,X,$]}],"outline-w":[{outline:["",C,Y,N]}],"outline-color":[{outline:[t]}],shadow:[{shadow:["","none",h,J,K]}],"shadow-color":[{shadow:tt()}],"inset-shadow":[{"inset-shadow":["none",X,$,d]}],"inset-shadow-color":[{"inset-shadow":tt()}],"ring-w":[{ring:tr()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:tt()}],"ring-offset-w":[{"ring-offset":[C,N]}],"ring-offset-color":[{"ring-offset":tt()}],"inset-ring-w":[{"inset-ring":tr()}],"inset-ring-color":[{"inset-ring":tt()}],opacity:[{opacity:[C,X,$]}],"mix-blend":[{"mix-blend":[...ts(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ts()}],filter:[{filter:["","none",X,$]}],blur:[{blur:to()}],brightness:[{brightness:[C,X,$]}],contrast:[{contrast:[C,X,$]}],"drop-shadow":[{"drop-shadow":["","none",c,X,$]}],grayscale:[{grayscale:["",C,X,$]}],"hue-rotate":[{"hue-rotate":[C,X,$]}],invert:[{invert:["",C,X,$]}],saturate:[{saturate:[C,X,$]}],sepia:[{sepia:["",C,X,$]}],"backdrop-filter":[{"backdrop-filter":["","none",X,$]}],"backdrop-blur":[{"backdrop-blur":to()}],"backdrop-brightness":[{"backdrop-brightness":[C,X,$]}],"backdrop-contrast":[{"backdrop-contrast":[C,X,$]}],"backdrop-grayscale":[{"backdrop-grayscale":["",C,X,$]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C,X,$]}],"backdrop-invert":[{"backdrop-invert":["",C,X,$]}],"backdrop-opacity":[{"backdrop-opacity":[C,X,$]}],"backdrop-saturate":[{"backdrop-saturate":[C,X,$]}],"backdrop-sepia":[{"backdrop-sepia":["",C,X,$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",X,$]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[C,"initial",X,$]}],ease:[{ease:["linear","initial",v,X,$]}],delay:[{delay:[C,X,$]}],animate:[{animate:["none",g,X,$]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,X,$]}],"perspective-origin":[{"perspective-origin":ta()}],rotate:[{rotate:tl()}],"rotate-x":[{"rotate-x":tl()}],"rotate-y":[{"rotate-y":tl()}],"rotate-z":[{"rotate-z":tl()}],scale:[{scale:tu()}],"scale-x":[{"scale-x":tu()}],"scale-y":[{"scale-y":tu()}],"scale-z":[{"scale-z":tu()}],"scale-3d":["scale-3d"],skew:[{skew:th()}],"skew-x":[{"skew-x":th()}],"skew-y":[{"skew-y":th()}],transform:[{transform:[X,$,"","none","gpu","cpu"]}],"transform-origin":[{origin:ta()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:td()}],"translate-x":[{"translate-x":td()}],"translate-y":[{"translate-y":td()}],"translate-z":[{"translate-z":td()}],"translate-none":["translate-none"],accent:[{accent:tt()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:tt()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X,$]}],"field-sizing":[{"field-sizing":["fixed","content"]}
1],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X,$]}],fill:[{fill:["none",...tt()]}],"stroke-w":[{stroke:[C,Y,N,W]}],stroke:[{stroke:["none",...tt()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}})},42801:(t,e,i)=>{i.d(e,{B:()=>r});let r="undefined"!=typeof window},46182:(t,e,i)=>{i.d(e,{Gt:()=>n,PP:()=>a,WG:()=>s,uv:()=>o});var r=i(21116);let{schedule:n,cancel:s,state:o,steps:a}=(0,i(66911).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},47939:(t,e,i)=>{i.d(e,{G:()=>r});let r=t=>e=>1-t(1-e)},49215:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>o});var r=i(24840);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&n.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,o,a,l]=n.match(r.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},49922:(t,e,i)=>{i.d(e,{r:()=>r});function r(t,e){return t?t[e]||t.default||t:void 0}}
1,50430:(t,e,i)=>{i.d(e,{t:()=>r});let r=(0,i(12115).createContext)(null)},51687:(t,e,i)=>{i.d(e,{I:()=>r});let r=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},52596:(t,e,i)=>{i.d(e,{$:()=>r});function r(){for(var t,e,i=0,r="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=t(e[i]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}},54878:(t,e,i)=>{i.d(e,{_:()=>m});var r=i(14920),n=i(49922),s=i(46182),o=i(645),a=i(86787),l=i(99932),u=i(82819),h=i(21850);function d(t,e,{delay:i=0,transitionOverride:r,type:c}={}){var p;let{transition:m=t.getDefaultTransition(),transitionEnd:f,...v}=e;r&&(m=r);let g=[],y=c&&t.animationState&&t.animationState.getState()[c];for(let e in v){let r=t.getValue(e,null!==(p=t.latestValues[e])&&void 0!==p?p:null),a=v[e];if(void 0===a||y&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(y,e))continue;let d={delay:i,...(0,n.r)(m||{},e)},c=!1;if(window.MotionHandoffAnimation){let i=(0,u.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,s.Gt);null!==t&&(d.startTime=t,c=!0)}}(0,l.g)(t,e),r.start((0,h.f)(e,r,a,t.shouldReduceMotion&&o.$.has(e)?{type:!1}:d,t,c));let f=r.animation;f&&g.push(f)}return f&&Promise.all(g).then(()=>{s.Gt.update(()=>{f&&(0,a.U)(t,f)})}),g}function c(t,e,i={}){var n;let s=(0,r.K)(t,e,"exit"===i.type?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:o=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(o=i.transitionOverride);let a=s?()=>Promise.all(d(t,s,i)):()=>Promise.resolve(),l=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:n=0,staggerChildren:s,staggerDirection:a}=o;return function(t,e,i=0,r=0,n=1,s){let o=[],a=(t.variantChildren.size-1)*r,l=1===n?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(p).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(c(t,e,{...s,delay:i+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,n+r,s,a,i)}:()=>Promise.resolve(),{when:u}=o;if(!u)return Promise.all([a(),l(i.delay)]);{let[t,e]="beforeChildren"===u?[a,l]:[l,a];return t().then(()=>e())}}function p(t,e){return t.sortNodePosition(e)}function m(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>c(t,e,i)));else if("string"==typeof e)n=c(t,e,i);else{let s="function"==typeof e?(0,r.K)(t,e,i.custom):e;n=Promise.all(d(t,s,i))}return n.then(()=>{t.notify("AnimationComplete",e)})}},55453:(t,e,i)=>{i.d(e,{O:()=>r,r:()=>n});let r={current:null},n={current:!1}},57482:(t,e,i)=>{i.d(e,{p:()=>r});function r(t){let e;return()=>(void 0===e&&(e=t()),e)}},57728:(t,e,i)=>{i.d(e,{L:()=>r});let r=(0,i(12115).createContext)({})},58840:(t,e,i)=>{let r;i.d(e,{k:()=>a});var n=i(2098),s=i(46182);function o(){r=void 0}let a={now:()=>(void 0===r&&a.set(s.uv.isProcessing||n.W.useManualTiming?s.uv.timestamp:performance.now()),r),set:t=>{r=t,queueMicrotask(o)}}},63498:(t,e,i)=>{i.d(e,{U:()=>r,f:()=>n});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(r)},64530:(t,e,i)=>{i.d(e,{f:()=>r});function r(t,e){return e?1e3/e*t:0}},65221:(t,e,i)=>{i.d(e,{E4:()=>a,Hr:()=>d,W9:()=>h});var r=i(23353),n=i(29772),s=i(63498),o=i(96867);let a=t=>t===r.ai||t===n.px,l=new Set(["x","y","z"]),u=s.U.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,o.r)(e,"x"),y:(t,{transform:e})=>(0,o.r)(e,"y")};d.translateX=d.x,d.translateY=d.y},65649:(t,e,i)=>{function r(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>n,Kq:()=>r})},66911:(t,e,i)=>{i.d(e,{I:()=>o});var r=i(2098);let n=["read","resolveKeyframes","update","preRender","render","postRender"];var s=i(18579);function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,u=n.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(d.schedule(e),t()),u++,e(l)}let d={schedule:(t,e=!1,s=!1)=>{let o=s&&n?i:r;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{r.delete(t),a.delete(t)},process:t=>{if(l=t,n){o=!0;return}
1n=!0,[i,r]=[r,i],i.forEach(h),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,i.clear(),n=!1,o&&(o=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{read:h,resolveKeyframes:d,update:c,preRender:p,render:m,postRender:f}=u,v=()=>{let n=r.W.useManualTiming?a.timestamp:performance.now();i=!1,r.W.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(n-a.timestamp,40),1)),a.timestamp=n,a.isProcessing=!0,h.process(a),d.process(a),c.process(a),p.process(a),m.process(a),f.process(a),a.isProcessing=!1,i&&e&&(o=!1,t(v))},g=()=>{i=!0,o=!0,a.isProcessing||t(v)};return{schedule:n.reduce((t,e)=>{let r=u[e];return t[e]=(t,e=!1,n=!1)=>(i||g(),r.schedule(t,e,n)),t},{}),cancel:t=>{for(let e=0;e<n.length;e++)u[n[e]].cancel(t)},state:a,steps:u}}},67998:(t,e,i)=>{i.d(e,{B:()=>u});var r=i(25737),n=i(23353),s=i(98279),o=i(49215);let a=t=>(0,r.q)(0,255,t),l={...n.ai,transform:t=>Math.round(a(t))},u={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.a)(n.X4.transform(r))+")"}},68389:(t,e,i)=>{i.d(e,{T:()=>o,n:()=>a});var r=i(23353),n=i(29772),s=i(3320);let o=[r.ai,n.px,n.KN,n.uj,n.vw,n.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.w)(t))},68749:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var r=i(69144),n=i(47939);let s=t=>1-Math.sin(Math.acos(t)),o=(0,n.G)(s),a=(0,r.V)(s)},69025:(t,e,i)=>{i.d(e,{E:()=>n});var r=i(12115);let n=i(42801).B?r.useLayoutEffect:r.useEffect},69144:(t,e,i)=>{i.d(e,{V:()=>r});let r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},70109:(t,e,i)=>{i.d(e,{i:()=>r});let r=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},71033:(t,e,i)=>{i.d(e,{j:()=>n,p:()=>o});let r=t=>e=>"string"==typeof e&&e.startsWith(t),n=r("--"),s=r("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},71772:(t,e,i)=>{i.d(e,{B:()=>n,K:()=>s});var r=i(23801);let n=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),s=t=>(0,r.p)(t)?t[t.length-1]||0:t},73342:(t,e,i)=>{i.d(e,{U:()=>s});var r=i(42801),n=i(55453);function s(){if(n.r.current=!0,r.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>n.O.current=t.matches;t.addListener(e),e()}else n.O.current=!1}},74046:(t,e,i)=>{i.d(e,{j:()=>A});var r=i(38720),n=i(94449);function s(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var o=i(82629),a=i(67998),l=i(83362);function u(t,e){return i=>i>0?e:t}let h=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},d=[o.u,a.B,l.V],c=t=>d.find(e=>e.test(t));function p(t){let e=c(t);if((0,n.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===l.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,o=0,a=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,l=2*i-r;n=s(l,r,t+1/3),o=s(l,r,t),a=s(l,r,t-1/3)}else n=o=a=i;return{red:Math.round(255*n),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(i)),i}let m=(t,e)=>{let i=p(t),n=p(e);if(!i||!n)return u(t,e);let s={...i};return t=>(s.red=h(i.red,n.red,t),s.green=h(i.green,n.green,t),s.blue=h(i.blue,n.blue,t),s.alpha=(0,r.k)(i.alpha,n.alpha,t),a.B.transform(s))};var f=i(9682),v=i(7834),g=i(4084),y=i(71033);let x=new Set(["none","hidden"]);function b(t,e){return i=>(0,r.k)(t,e,i)}function w(t){return"number"==typeof t?b:"string"==typeof t?(0,y.p)(t)?u:v.y.test(t)?m:S:Array.isArray(t)?P:"object"==typeof t?v.y.test(t)?m:T:u}function P(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>w(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function T(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=w(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let S=(t,e)=>{let i=g.f.createTransformer(e),r=(0,g.V)(t),s=(0,g.V)(e);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?x.has(t)&&!s.values.length||x.has(e)&&!r.values.length?function(t,e){return x.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,f.F)(P(function(t,e){var i;let r=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][n[o]],l=null!==(i=t.values[a])&&void 0!==i?i:0;r[s]=l,n[o]++}return r}(r,s),s.values),i):((0,n.$)(!0,`Complex values '${t}' and '${e}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),u(t,e))};function A(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,r.k)(t,e,i):w(t)(t,e)}},75538:(t,e,i)=>{i.d(e,{X:()=>n,f:()=>r});let r=t=>1e3*t,n=t=>t/1e3},76168:(t,e,i)=>{i.d(e,{M:()=>n});var r=i(12115);function n(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},79994:(t,e,i)=>{i.d(e,{W:()=>l});var r=i(23353),n=i(29772);let s={borderWidth:n.px,borderTopWidth:n.px,borderRightWidth:n.px,borderBottomWidth:n.px,borderLeftWidth:n.px,borderRadius:n.px,radius:n.px,borderTopLeftRadius:n.px,borderTopRightRadius:n.px,borderBottomRightRadius:n.px,borderBottomLeftRadius:n.px,width:n.px,maxWidth:n.px,height:n.px,maxHeight:n.px,top:n.px,right:n.px,bottom:n.px,left:n.px,padding:n.px,paddingTop:n.px,paddingRight:n.px,paddingBottom:n.px,paddingLeft:n.px,margin:n.px,marginTop:n.px,marginRight:n.px,marginBottom:n.px,marginLeft:n.px,backgroundPositionX:n.px,backgroundPositionY:n.px},o={rotate:n.uj,rotateX:n.uj,rotateY:n.uj,rotateZ:n.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:n.uj,skewX:n.uj,skewY:n.uj,distance:n.px,translateX:n.px,translateY:n.px,translateZ:n.px,x:n.px,y:n.px,z:n.px,perspective:n.px,transformPerspective:n.px,opacity:r.X4,originX:n.gQ,originY:n.gQ,originZ:n.px},a={...r.ai,transform:Math.round},l={...s,...o,zIndex:a,size:n.px,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:a}},80793:(t,e,i)=>{i.d(e,{K:()=>r});function r(t,e,i){var r;if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let s=null!==(r=null==i?void 0:i[t])&&void 0!==r?r:n.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t)}},82629:(t,e,i)=>{i.d(e,{u:()=>n});var r=i(67998);let n={test:(0,i(49215).$)("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:r.B.transform}},82819:(t,e,i)=>{i.d(e,{P:()=>n});var r=i(93129);function n(t){return t.props[r.n]}},83362:(t,e,i)=>{i.d(e,{V:()=>a});var r=i(23353),n=i(29772),s=i(98279),o=i(49215);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+n.KN.transform((0,s.a)(e))+", "+n.KN.transform((0,s.a)(i))+", "+(0,s.a)(r.X4.transform(o))+")"}},84657:(t,e,i)=>{i.d(e,{Z:()=>s});var r=i(38865),n=i(38720);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,r.q)(0,e,s);t.push((0,n.k)(i,1,o))}}(e,t.length-1),e}},86787:(t,e,i)=>{i.d(e,{U:()=>o});var r=i(99967),n=i(71772),s=i(14920);function o(t,e){let{transitionEnd:i={},transition:o={},...a}=(0,s.K)(t,e)||{};for(let e in a={...a,...i}){let i=(0,n.K)(a[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,r.OQ)(i))}}},88209:(t,e,i)=>{i.d(e,{J:()=>o});var r=i(4084),n=i(24453),s=i(28866);function o(t,e){let i=(0,s.D)(t);return i!==n.p&&(i=r.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},93129:(t,e,i)=>{i.d(e,{n:()=>r});let r="data-"+(0,i(51687).I)("framerAppearId")},94449:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>s});var r=i(21116);let n=r.l,s=r.l},96299:(t,e,i)=>{i.d(e,{J:()=>r});let r=(0,i(57482).p)(()=>void 0!==window.ScrollTimeline)},96867:(t,e,i)=>{i.d(e,{I:()=>c,r:()=>d});let r=t=>180*t/Math.PI,n=t=>o(r(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:n,rotateZ:n,skewX:t=>r(Math.atan(t[1])),skewY:t=>r(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(r(Math.atan2(t[6],t[5]))),rotateY:t=>o(r(Math.atan2(-t[2],t[0]))),rotateZ:n,rotate:n,skewX:t=>r(Math.atan(t[4])),skewY:t=>r(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return+!!t.includes("scale")}function d(t,e){let i,r;if(!t||"none"===t)return h(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=u,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,r=e}if(!r)return h(e);let o=i[e],a=r[1].split(",").map(p);return"function"==typeof o?o(a):a[o]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},98279:(t,e,i)=>{i.d(e,{a:()=>r});let r=t=>Math.round(1e5*t)/1e5},99729:(t,e,i)=>{i.d(e,{$:()=>r});let r=t=>/^0[^.\s]+$/u.test(t)},99932:(t,e,i)=>{i.d(e,{g:()=>n});var r=i(5057);function n(t,e){let i=t.getValue("willChange");if((0,r.S)(i)&&i.add)return i.add(e)}},99967:(t,e,i)=>{i.d(e,{OQ:()=>h,bt:()=>l});var r=i(1309),n=i(64530),s=i(46182),o=i(58840);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="12.6.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=o.k.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new r.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),s.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}
1getVelocity(){let t=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new u(t,e)}}}]);
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.