1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7693],{24394:function(t,e,i){i.d(e,{K:function(){return n},k:function(){return r}});var n=function(){},r=function(){}},90378:function(t,e,i){i.d(e,{Z:function(){return tb}});var n=i(24394),r=i(86917);let o={current:!1};var s=i(30404),a=i(90415),l=i(75129);let u=t=>t*t,h=(0,l.M)(u),c=(0,a.o)(u);var d=i(85385),p=i(24169),f=i(80022);function m(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 v=i(26382),g=i(40819),y=i(93184);let x=(t,e,i)=>{let n=t*t;return Math.sqrt(Math.max(0,i*(e*e-n)+n))},b=[v.$,g.m,y.J],w=t=>b.find(e=>e.test(t));function P(t){let e=w(t);(0,n.k)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=e.parse(t);return e===y.J&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,o=0,s=0;if(e/=100){let a=i<.5?i*(1+e):i+e-i*e,l=2*i-a;r=m(l,a,t+1/3),o=m(l,a,t),s=m(l,a,t-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(i)),i}let A=(t,e)=>{let i=P(t),n=P(e),r={...i};return t=>(r.red=x(i.red,n.red,t),r.green=x(i.green,n.green,t),r.blue=x(i.blue,n.blue,t),r.alpha=(0,f.C)(i.alpha,n.alpha,t),g.m.transform(r))};var V=i(83624),C=i(51550);function T(t,e){return"number"==typeof t?i=>(0,f.C)(t,e,i):d.$.test(t)?A(t,e):M(t,e)}let E=(t,e)=>{let i=[...t],n=i.length,r=t.map((t,i)=>T(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}},S=(t,e)=>{let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=T(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}},M=(t,e)=>{let i=C.P.createTransformer(e),r=(0,C.V)(t),o=(0,C.V)(e),s=r.numColors===o.numColors&&r.numNumbers>=o.numNumbers;return s?(0,V.z)(E(r.values,o.values),i):((0,n.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i=>`${i>0?e:t}`)};var k=i(23967);let R=(t,e)=>i=>(0,f.C)(t,e,i);function B(t,e,{clamp:i=!0,ease:r,mixer:o}={}){let s=t.length;(0,n.k)(s===e.length,"Both input and output ranges must be the same length"),(0,n.k)(!r||!Array.isArray(r)||r.length===s-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],r=i||function(t){if("number"==typeof t);else if("string"==typeof t)return d.$.test(t)?A:M;else if(Array.isArray(t))return E;else if("object"==typeof t)return S;return R}(t[0]),o=t.length-1;for(let s=0;s<o;s++){let a=r(t[s],t[s+1]);if(e){let l=Array.isArray(e)?e[s]:e;a=(0,V.z)(l,a)}n.push(a)}return n}(e,r,o),l=a.length,u=e=>{let i=0;if(l>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let n=(0,k.Y)(t[i],t[i+1],e);return a[i](n)};return i?e=>u((0,p.u)(t[0],t[s-1],e)):u}var D=i(81662);let L=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function F(t,e,i,n){if(t===e&&i===n)return D.Z;let r=e=>(function(t,e,i,n,r){let o,s;let a=0;do(o=L(s=e+(i-e)/2,n,r)-t)>0?i=s:e=s;while(Math.abs(o)>1e-7&&++a<12);return s})(e,0,1,t,i);return t=>0===t||1===t?t:L(r(t),e,n)}var j=i(27255);let $=F(.33,1.53,.69,.99),O=(0,l.M)($),I=(0,a.o)(O),U=t=>(t*=2)<1?.5*O(t):.5*(2-Math.pow(2,-10*(t-1))),N={linear:D.Z,easeIn:u,easeInOut:c,easeOut:h,circIn:j.Z7,circInOut:j.X7,circOut:j.Bn,backIn:O,backInOut:I,backOut:$,anticipate:U},W=t=>{if(Array.isArray(t)){(0,n.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,o]=t;return F(e,i,r,o)}return"string"==typeof t?((0,n.k)(void 0!==N[t],`Invalid easing type '${t}'`),N[t]):t},z=t=>Array.isArray(t)&&"number"!=typeof t[0];function Z({keyframes:t,ease:e=c,times:i,duration:n=300}){t=[...t];let r=z(e)?e.map(W):W(e),o={done:!1,value:t[0]},s=(i&&i.length===t.length?i:function(t){let e=t.length;return t.map((t,i)=>0!==i?i/(e-1):0)}(t)).map(t=>t*n);function a(){var e;return B(s,t,{ease:Array.isArray(r)?r:(e=t).map(()=>r||c).splice(0,e.length-1)})}let l=a();return{next:t=>(o.value=l(t),o.done=t>=n,o),flipTarget:()=>{t.reverse(),l=a()}}}function Y(t,e){return t*Math.sqrt(1-e*e)}var H=i(3038);let q=["duration","bounce"],G=["stiffness","damping","mass"];function _(t,e){return e.some(e=>void 0!==t[e])}function X({keyframes:t,restSpeed:e=2,restDelta:i=.01,...r}){let o=t[0],s=t[t.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:h,velocity:c,duration:d,isResolvedFromDuration:f}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!_(t,G)&&_(t,q)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:r=1}){let o,s;(0,n.K)(t<=1e4,"Spring duration must be 10 seconds or less");let a=1-e;a=(0,p.u)(.05,1,a),t=(0,p.u)(.01,10,t/1e3),a<1?(o=e=>{let n=e*a,r=n*t,o=Y(e,a);return .001-(n-i)/o*Math.exp(-r)},s=e=>{let n=e*a,r=n*t,s=Math.pow(a,2)*Math.pow(e,2)*t,l=Y(Math.pow(e,2),a),u=-o(e)+.001>0?-1:1;return u*((r*i+i-s)*Math.exp(-r))/l}):(o=e=>{let n=Math.exp(-e*t),r=(e-i)*t+1;return -.001+n*r},s=e=>{let n=Math.exp(-e*t),r=(i-e)*(t*t);return n*r});
1let l=5/t,u=function(t,e,i){let n=i;for(let r=1;r<12;r++)n-=t(n)/e(n);return n}(o,s,l);if(t*=1e3,isNaN(u))return{stiffness:100,damping:10,duration:t};{let h=Math.pow(u,2)*r;return{stiffness:h,damping:2*a*Math.sqrt(r*h),duration:t}}}(t);(e={...e,...i,velocity:0,mass:1}).isResolvedFromDuration=!0}return e}(r),m=K,v=c?-(c/1e3):0,g=u/(2*Math.sqrt(l*h));function y(){let t=s-o,e=Math.sqrt(l/h)/1e3;if(void 0===i&&(i=Math.min(Math.abs(s-o)/100,.4)),g<1){let n=Y(e,g);m=i=>s-Math.exp(-g*e*i)*((v+g*e*t)/n*Math.sin(n*i)+t*Math.cos(n*i))}else if(1===g)m=i=>s-Math.exp(-e*i)*(t+(v+e*t)*i);else{let r=e*Math.sqrt(g*g-1);m=i=>{let n=Math.min(r*i,300);return s-Math.exp(-g*e*i)*((v+g*e*t)*Math.sinh(n)+r*t*Math.cosh(n))/r}}}return y(),{next:t=>{let n=m(t);if(f)a.done=t>=d;else{let r=v;if(0!==t){if(g<1){let o=Math.max(0,t-5);r=(0,H.R)(n-m(o),t-o)}else r=0}let l=Math.abs(r)<=e,u=Math.abs(s-n)<=i;a.done=l&&u}return a.value=a.done?s:n,a},flipTarget:()=>{v=-v,[o,s]=[s,o],y()}}}X.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;let K=t=>0,J={decay:function({keyframes:t=[0],velocity:e=0,power:i=.8,timeConstant:n=350,restDelta:r=.5,modifyTarget:o}){let s=t[0],a={done:!1,value:s},l=i*e,u=s+l,h=void 0===o?u:o(u);return h!==u&&(l=h-s),{next:t=>{let e=-l*Math.exp(-t/n);return a.done=!(e>r||e<-r),a.value=a.done?h:h+e,a},flipTarget:()=>{}}},keyframes:Z,tween:Z,spring:X};function Q(t,e,i=0){return t-e-i}let tt=t=>{let e=({delta:e})=>t(e);return{start:()=>s.Z_.update(e,!0),stop:()=>s.qY.update(e)}};function te({duration:t,driver:e=tt,elapsed:i=0,repeat:n=0,repeatType:r="loop",repeatDelay:o=0,keyframes:s,autoplay:a=!0,onPlay:l,onStop:u,onComplete:h,onRepeat:c,onUpdate:d,type:p="keyframes",...f}){var m;let v,g;let y=i,x=0,b=t,w=!1,P=!0,A=J[s.length>2?"keyframes":p]||Z,V=s[0],C=s[s.length-1],T={done:!1,value:V};(null===(m=A.needsInterpolation)||void 0===m?void 0:m.call(A,V,C))&&(g=B([0,100],[V,C],{clamp:!1}),s=[0,100]);let E=A({...f,duration:t,keyframes:s});function S(t){if(P||(t=-t),i+=t,w||(T=E.next(Math.max(0,i)),g&&(T.value=g(T.value)),w=P?T.done:i<=0),d&&d(T.value),w){if(0===x&&(b=void 0!==b?b:i),x<n){var e,s;e=i,s=b,(P?e>=s+o:e<=-o)&&(x++,"reverse"===r?i=function(t,e=0,i=0,n=!0){return n?Q(e+-t,e,i):e-(t-e)+i}(i,b,o,P=x%2==0):(i=Q(i,b,o),"mirror"===r&&E.flipTarget()),w=!1,c&&c())}else v&&v.stop(),h&&h()}}return a&&(l&&l(),(v=e(S)).start()),{stop:()=>{u&&u(),v&&v.stop()},sample:e=>{i=y;let n=t&&"number"==typeof t?Math.max(.5*t,50):50,r=0;for(S(0);r<=e;){let o=e-r;S(Math.min(o,n)),r+=n}return T}}}let ti=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,tn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ti([0,.65,.55,1]),circOut:ti([.55,0,1,.45]),backIn:ti([.31,.01,.66,-.59]),backOut:ti([.33,1.53,.69,.99])},tr={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},to={},ts={};for(let ta in tr)ts[ta]=()=>(void 0===to[ta]&&(to[ta]=tr[ta]()),to[ta]);let tl=new Set(["opacity"]);var tu=i(63378),th=i(37367);let tc=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),td=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),tp=()=>({type:"keyframes",ease:"linear",duration:.3}),tf={type:"keyframes",duration:.8},tm={x:tc,y:tc,z:tc,rotate:tc,rotateX:tc,rotateY:tc,rotateZ:tc,scaleX:td,scaleY:td,scale:td,opacity:tp,backgroundColor:tp,color:tp,default:td},tv=(t,{keyframes:e})=>{if(e.length>2)return tf;{let i=tm[t]||tm.default;return i(e[1])}},tg=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&C.P.test(e)&&!e.startsWith("url("));var ty=i(79135),tx=i(31056);let tb=(t,e,i,a={})=>l=>{let u=(0,tx.ev)(a,t)||{},h=u.delay||a.delay||0,{elapsed:c=0}=a;c-=(0,r.w)(h);let d=function(t,e,i,n){let r=tg(e,i),o=void 0!==n.from?n.from:t.get();return("none"===o&&r&&"string"==typeof i?o=(0,ty.T)(e,i):(0,tx.Fr)(o)&&"string"==typeof i?o=(0,tx.GZ)(i):!Array.isArray(i)&&(0,tx.Fr)(i)&&"string"==typeof o&&(i=(0,tx.GZ)(o)),Array.isArray(i))?(null===i[0]&&(i[0]=o),i):[o,i]}(e,t,i,u),p=d[0],f=d[d.length-1],m=tg(t,p),v=tg(t,f);(0,n.K)(m===v,`You are trying to animate ${t} from "${p}" to "${f}". ${p} is not an animatable value - to enable this animation set ${p} to a value animatable to ${f} via the \`style\` property.`);let g={keyframes:d,velocity:e.getVelocity(),...u,elapsed:c,onUpdate:t=>{e.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{l(),u.onComplete&&u.onComplete()}};if(!m||!v||o.current||!1===u.type)return function({keyframes:t,elapsed:e,onUpdate:i,onComplete:n}){let r=()=>(i&&i(t[t.length-1]),n&&n(),()=>{});return e?(0,tu.g)(r,-e):r()}(g);if("inertia"===u.type){let y=function({keyframes:t,velocity:e=0,min:i,max:n,power:r=.8,timeConstant:o=750,bounceStiffness:s=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:u,driver:h,onUpdate:c,onComplete:d,onStop:p}){let f;let m=t[0];function v(t){return void 0!==i&&t<i||void 0!==n&&t>n}function g(t){return void 0===i?n:void 0===n?i:Math.abs(i-t)<Math.abs(n-t)?i:n}function y(t){null==f||f.stop(),f=te({keyframes:[0,1],velocity:0,...t,driver:h,onUpdate:e=>{var i;null==c||c(e),null===(i=t.onUpdate)||void 0===i||i.call(t,e)},onComplete:d,onStop:p})}function x(t){y({type:"spring",stiffness:s,damping:a,restDelta:l,...t})}if(v(m))x({velocity:e,keyframes:[m,g(m)]});else{let b,w,P=r*e+m;void 0!==u&&(P=u(P));let A=g(P),V=A===i?-1:1,C=t=>{b=w,w=t,e=(0,H.R)(t-b,th.w.delta),(1===V&&t>A||-1===V&&t<A)&&x({keyframes:[t,A],velocity:e})};y({type:"decay",keyframes:[m,0],velocity:e,timeConstant:o,power:r,restDelta:l,modifyTarget:u,onUpdate:v(P)?C:void 0})}return{stop:()=>null==f?void 0:f.stop()}}(g);return()=>y.stop()}(0,tx.rw)(u)||(g={...g,...tv(t,g)}),g.duration&&(g.duration=(0,r.w)(g.duration)),g.repeatDelay&&(g.repeatDelay=(0,r.w)(g.repeatDelay));let x=e.owner,b=x&&x.current;if(x&&b instanceof HTMLElement&&!(null==x?void 0:x.getProps().onUp
1date)){let w=function(t,e,{onUpdate:i,onComplete:n,...r}){var o;let a=ts.waapi()&&tl.has(e)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping;if(!a)return!1;let{keyframes:l,duration:u=300,elapsed:h=0,ease:c}=r;if("spring"===r.type||!(!(o=r.ease)||Array.isArray(o)||"string"==typeof o&&tn[o])){if(r.repeat===1/0)return;let d=te({...r,elapsed:0}),p={done:!1,value:l[0]},f=[],m=0;for(;!p.done&&m<2e4;)f.push((p=d.sample(m)).value),m+=10;l=f,u=m-10,c="linear"}let v=function(t,e,i,{delay:n=0,duration:r,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){return t.animate({[e]:i,offset:l},{delay:n,duration:r,easing:function(t){if(t)return Array.isArray(t)?ti(t):tn[t]}(a),fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(t.owner.current,e,l,{...r,delay:-h,duration:u,ease:c});return v.onfinish=()=>{t.set(function(t,{repeat:e,repeatType:i="loop"}){let n=e&&"loop"!==i&&e%2==1?0:t.length-1;return t[n]}(l,r)),n&&n()},()=>{let{currentTime:e}=v;if(e){let i=te({...r,autoplay:!1});t.setWithVelocity(i.sample(e-10).value,i.sample(e).value,10)}s.Z_.update(()=>v.cancel())}}(e,t,g);if(w)return w}let P=te(g);return()=>P.stop()}},48488:function(t,e,i){i.d(e,{C:function(){return n}});let n=t=>Array.isArray(t)},31056:function(t,e,i){i.d(e,{Fr:function(){return o},GZ:function(){return s},ev:function(){return a},rw:function(){return r}});var n=i(79135);function r({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}function o(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function s(t){return"number"==typeof t?0:(0,n.T)("",t)}function a(t,e){return t[e]||t.default||t}},25364:function(t,e,i){i.d(e,{p:function(){return r}});var n=i(67294);let r=(0,n.createContext)({})},240:function(t,e,i){i.d(e,{O:function(){return r}});var n=i(67294);let r=(0,n.createContext)(null)},27255:function(t,e,i){i.d(e,{Bn:function(){return s},X7:function(){return a},Z7:function(){return o}});var n=i(90415),r=i(75129);let o=t=>1-Math.sin(Math.acos(t)),s=(0,r.M)(o),a=(0,n.o)(s)},90415:function(t,e,i){i.d(e,{o:function(){return n}});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},75129:function(t,e,i){i.d(e,{M:function(){return n}});let n=t=>e=>1-t(1-e)},37367:function(t,e,i){i.d(e,{w:function(){return n}});let n={delta:0,timestamp:0}},30404:function(t,e,i){i.d(e,{qY:function(){return p},iW:function(){return f},Z_:function(){return d}});let n=1/60*1e3,r="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),o="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(r()),n);var s=i(37367);let a=!0,l=!1,u=!1,h=["read","update","preRender","render","postRender"],c=h.reduce((t,e)=>(t[e]=function(t){let e=[],i=[],n=0,r=!1,o=!1,s=new WeakSet,a={schedule:(t,o=!1,a=!1)=>{let l=a&&r,u=l?e:i;return o&&s.add(t),-1===u.indexOf(t)&&(u.push(t),l&&r&&(n=e.length)),t},cancel:t=>{let e=i.indexOf(t);-1!==e&&i.splice(e,1),s.delete(t)},process:l=>{if(r){o=!0;return}if(r=!0,[e,i]=[i,e],i.length=0,n=e.length)for(let u=0;u<n;u++){let h=e[u];h(l),s.has(h)&&(a.schedule(h),t())}r=!1,o&&(o=!1,a.process(l))}};return a}(()=>l=!0),t),{}),d=h.reduce((t,e)=>{let i=c[e];return t[e]=(t,e=!1,n=!1)=>(l||g(),i.schedule(t,e,n)),t},{}),p=h.reduce((t,e)=>(t[e]=c[e].cancel,t),{}),f=h.reduce((t,e)=>(t[e]=()=>c[e].process(s.w),t),{}),m=t=>c[t].process(s.w),v=t=>{l=!1,s.w.delta=a?n:Math.max(Math.min(t-s.w.timestamp,40),1),s.w.timestamp=t,u=!0,h.forEach(m),u=!1,l&&(a=!1,o(v))},g=()=>{l=!0,a=!0,u||o(v)}},97693:function(t,e,i){i.d(e,{E:function(){return nr}});var n,r,o,s,a,l=i(67294);let u=(0,l.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),h=(0,l.createContext)({});var c=i(240),d=i(58868);let p=(0,l.createContext)({strict:!1});function f(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function m(t){return"string"==typeof t||Array.isArray(t)}function v(t){return"object"==typeof t&&"function"==typeof t.start}let g=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function y(t){return v(t.animate)||g.some(e=>m(t[e]))}function x(t){return Boolean(y(t)||t.variants)}function b(t){return Array.isArray(t)?t.join(" "):t}let w=t=>({isEnabled:e=>t.some(t=>!!e[t])}),P={measureLayout:w(["layout","layoutId","drag"]),animation:w(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:w(["exit"]),drag:w(["drag","dragControls"]),focus:w(["whileFocus"]),hover:w(["whileHover","onHoverStart","onHoverEnd"]),tap:w(["whileTap","onTap","onTapStart","onTapCancel"]),pan:w(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:w(["whileInView","onViewportEnter","onViewportLeave"])};var A=i(11741),V=i(96681);let C={hasAnimatedSinceResize:!0,hasEverUpdated:!1},T=1;var E=i(25364);class S extends l.Component{getSnapshotBeforeUpdate(){let{visualElement:t,props:e}=this.props;return t&&t.setProps(e),null}componentDidUpdate(){}render(){return this.props.children}}let M=(0,l.createContext)({}),k=Symbol.for("motionComponentSymbol"),R=["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 B(t){if("string"!=typeof t||t.includes("-"));else if(R.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let D={};var L=i(94714);function F(t,{layout:e,layoutId:i}){return L.G.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!D[t]||"opacity"===t)}var j=i(40406);let $={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},O=(t,e)=>L._.indexOf(t)-L._.indexOf(e);function I(t){return t.startsWith("--")}let U=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var N=i(36173);function W(t,e,i,n){let{style:r,vars:o,transform:s,transformKeys:a,transformOrigin:l}=t;a.length=0;let u=!1,h=!1,c=!0;for(let d in e){let p=e[d];if(I(d)){o[d]=p;continue}let f=N.j[d],m=U(p,f);if(L.G.has(d)){if(u=!0,s[d]=m,a.push(d),!c)continue;p!==(f.default||0)&&(c=!1)}else d.startsWith("origin")?(h=!0,l[d]=m):r[d]=m}if(!e.transform&&(u||n?r.transform=function({transform:t,transformKeys:e},{enableHardwareAcceleration:i=!0,allowTransformNone:n=!0},r,o){let s="";for(let a of(e.sort(O),e))s+=`${$[a]||a}(${t[a]}) `;return i&&!t.z&&(s+="translateZ(0)"),s=s.trim(),o?s=o(t,r?"":s):n&&r&&(s="none"),s}(t,i,c,n):r.transform&&(r.transform="none")),h){let{originX:v="50%",originY:g="50%",originZ:y=0}=l;r.transformOrigin=`${v} ${g} ${y}`}}let z=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});
1function Z(t,e,i){for(let n in e)(0,j.i)(e[n])||F(n,i)||(t[n]=e[n])}function Y(t,e,i){let n={},r=function(t,e,i){let n=t.style||{},r={};return Z(r,n,t),Object.assign(r,function({transformTemplate:t},e,i){return(0,l.useMemo)(()=>{let n=z();return W(n,e,{enableHardwareAcceleration:!i},t),Object.assign({},n.vars,n.style)},[e])}(t,e,i)),t.transformValues?t.transformValues(r):r}(t,e,i);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),n.style=r,n}let H=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd"]);function q(t){return H.has(t)}let G=t=>!q(t);try{(n=require("@emotion/is-prop-valid").default)&&(G=t=>t.startsWith("on")?!q(t):n(t))}catch(_){}var X=i(96190);function K(t,e,i){return"string"==typeof t?t:X.px.transform(e+i*t)}let J={offset:"stroke-dashoffset",array:"stroke-dasharray"},Q={offset:"strokeDashoffset",array:"strokeDasharray"};function tt(t,{attrX:e,attrY:i,originX:n,originY:r,pathLength:o,pathSpacing:s=1,pathOffset:a=0,...l},u,h,c){if(W(t,l,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:p,dimensions:f}=t;d.transform&&(f&&(p.transform=d.transform),delete d.transform),f&&(void 0!==n||void 0!==r||p.transform)&&(p.transformOrigin=function(t,e,i){let n=K(e,t.x,t.width),r=K(i,t.y,t.height);return`${n} ${r}`}(f,void 0!==n?n:.5,void 0!==r?r:.5)),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==o&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let o=r?J:Q;t[o.offset]=X.px.transform(-n);let s=X.px.transform(e),a=X.px.transform(i);t[o.array]=`${s} ${a}`}(d,o,s,a,!1)}let te=()=>({...z(),attrs:{}}),ti=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tn(t,e,i,n){let r=(0,l.useMemo)(()=>{let i=te();return tt(i,e,{enableHardwareAcceleration:!1},ti(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let o={};Z(o,t.style,t),r.style={...o,...r.style}}return r}var tr=i(93193);function to(t,{style:e,vars:i},n,r){for(let o in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(o,i[o])}let ts=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 ta(t,e,i,n){for(let r in to(t,e,void 0,n),e.attrs)t.setAttribute(ts.has(r)?r:(0,tr.D)(r),e.attrs[r])}function tl(t,e){let{style:i}=t,n={};for(let r in i)((0,j.i)(i[r])||e.style&&(0,j.i)(e.style[r])||F(r,t))&&(n[r]=i[r]);return n}function tu(t,e){let i=tl(t,e);for(let n in t)if((0,j.i)(t[n])||(0,j.i)(e[n])){let r="x"===n||"y"===n?"attr"+n.toUpperCase():n;i[r]=t[n]}return i}var th=i(79432),tc=i(8715);function td(t){let e=(0,j.i)(t)?t.get():t;return(0,tc.p)(e)?e.toValue():e}let tp=t=>(e,i)=>{let n=(0,l.useContext)(h),r=(0,l.useContext)(c.O),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:i},n,r,o){let s={latestValues:function(t,e,i,n){let r={},o=n(t,{});for(let s in o)r[s]=td(o[s]);let{initial:a,animate:l}=t,u=y(t),h=x(t);e&&h&&!u&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let c=!!i&&!1===i.initial;c=c||!1===a;let d=c?l:a;if(d&&"boolean"!=typeof d&&!v(d)){let p=Array.isArray(d)?d:[d];
1p.forEach(e=>{let i=(0,th.o)(t,e);if(!i)return;let{transitionEnd:n,transition:o,...s}=i;for(let a in s){let l=s[a];if(Array.isArray(l)){let u=c?l.length-1:0;l=l[u]}null!==l&&(r[a]=l)}for(let h in n)r[h]=n[h]})}return r}(n,r,o,t),renderState:e()};return i&&(s.mount=t=>i(n,t,s)),s})(t,e,n,r);return i?o():(0,V.h)(o)},tf={useVisualState:tp({scrapeMotionValuesFromProps:tu,createRenderState:te,onMount:(t,e,{renderState:i,latestValues:n})=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(r){i.dimensions={x:0,y:0,width:0,height:0}}tt(i,n,{enableHardwareAcceleration:!1},ti(e.tagName),t.transformTemplate),ta(e,i)}})},tm={useVisualState:tp({scrapeMotionValuesFromProps:tl,createRenderState:z})};function tv(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function tg(t,e,i,n){(0,l.useEffect)(()=>{let r=t.current;if(i&&r)return tv(r,e,i,n)},[t,e,i,n])}(r=s||(s={})).Animate="animate",r.Hover="whileHover",r.Tap="whileTap",r.Drag="whileDrag",r.Focus="whileFocus",r.InView="whileInView",r.Exit="exit";let ty=t=>!1!==t.isPrimary;function tx(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let tb=t=>e=>ty(e)&&t(e,tx(e));function tw(t,e,i,n){return tv(t,e,tb(i),n)}function tP(t,e,i,n){return tg(t,e,i&&tb(i),n)}function tA(t){let e=null;return()=>{let i=()=>{e=null};return null===e&&(e=t,i)}}let tV=tA("dragHorizontal"),tC=tA("dragVertical");function tT(t){let e=!1;if("y"===t)e=tC();else if("x"===t)e=tV();else{let i=tV(),n=tC();i&&n?e=()=>{i(),n()}:(i&&i(),n&&n())}return e}function tE(){let t=tT(!0);return!t||(t(),!1)}function tS(t,e,i){return(n,r)=>{!("touch"===n.type||tE())&&(t.animationState&&t.animationState.setActive(s.Hover,e),i&&i(n,r))}}let tM=(t,e)=>!!e&&(t===e||tM(t,e.parentElement));var tk=i(65411),tR=i(83624);let tB=new WeakMap,tD=new WeakMap,tL=t=>{let e=tB.get(t.target);e&&e(t)},tF=t=>{t.forEach(tL)},tj={some:0,all:1};function t$(t,e,i,{root:n,margin:r,amount:o="some",once:a}){(0,l.useEffect)(()=>{if(!t||!i.current)return;let l={root:null==n?void 0:n.current,rootMargin:r,threshold:"number"==typeof o?o:tj[o]},u=t=>{let{isIntersecting:n}=t;if(e.isInView===n||(e.isInView=n,a&&!n&&e.hasEnteredView))return;n&&(e.hasEnteredView=!0),i.animationState&&i.animationState.setActive(s.InView,n);let r=i.getProps(),o=n?r.onViewportEnter:r.onViewportLeave;o&&o(t)};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;tD.has(i)||tD.set(i,{});let n=tD.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(tF,{root:t,...e})),n[r]}(e);return tB.set(t,i),n.observe(t),()=>{tB.delete(t),n.unobserve(t)}}(i.current,l,u)},[t,n,r,o])}function tO(t,e,i,{fallback:n=!0}){(0,l.useEffect)(()=>{t&&n&&requestAnimationFrame(()=>{e.hasEnteredView=!0;let{onViewportEnter:t}=i.getProps();t&&t(null),i.animationState&&i.animationState.setActive(s.InView,!0)})},[t])}let tI=t=>e=>(t(e),null),tU={inView:tI(function({visualElement:t,whileInView:e,onViewportEnter:i,onViewportLeave:n,viewport:r={}}){let o=(0,l.useRef)({hasEnteredView:!1,isInView:!1}),s=Boolean(e||i||n);r.once&&o.current.hasEnteredView&&(s=!1);let a="undefined"==typeof IntersectionObserver?tO:t$;a(s,o.current,t,r)}),tap:tI(function({onTap:t,onTapStart:e,onTapCancel:i,whileTap:n,visualElement:r,...o}){let a=(0,l.useRef)(!1),u=(0,l.useRef)(null),h={passive:!(e||t||i||o.onPointerDown)};function c(){u.current&&u.current(),u.current=null}function d(){return c(),a.current=!1,r.animationState&&r.animationState.setActive(s.Tap,!1),!tE()}function p(t,e){var i,n,o,s;d()&&(tM(r.current,t.target)?null===(s=(o=r.getProps()).onTap)||void 0===s||s.call(o,t,e):null===(n=(i=r.getProps()).onTapCancel)||void 0===n||n.call(i,t,e))}function f(t,e){var i,n;d()&&(null===(n=(i=r.getProps()).onTapCancel)||void 0===n||n.call(i,t,e))}let m=(0,l.useCallback)((t,e)=>{var i,n;c(),a.current||(a.current=!0,u.current=(0,tR.z)(tw(window,"pointerup",p,h),tw(window,"pointercancel",f,h)),r.animationState&&r.animationState.setActive(s.Tap,!0),null===(n=(i=r.getProps()).onTapStart)||void 0===n||n.call(i,t,e))},[Boolean(e),r]);tP(r,"pointerdown",t||e||i||n?m:void 0,h),(0,tk.z)(c)}),focus:tI(function({whileFocus:t,visualElement:e}){let{animationState:i}=e,n=(0,l.useCallback)(()=>{i&&i.setActive(s.Focus,!0)},[i]),r=(0,l.useCallback)(()=>{i&&i.setActive(s.Focus,!1)},[i]);tg(e,"focus",t?n:void 0),tg(e,"blur",t?r:void 0)}),hover:tI(function({onHoverStart:t,onHoverEnd:e,whileHover:i,visualElement:n}){tP(n,"pointerenter",(0,l.useMemo)(()=>t||i?tS(n,!0,t):void 0,[t,Boolean(i),n]),{passive:!t}),tP(n,"pointerleave",(0,l.useMemo)(()=>e||i?tS(n,!1,e):void 0,[t,Boolean(i),n]),{passive:!e})})};function tN(){let t=(0,l.useContext)(c.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:n}=t,r=(0,l.useId)();(0,l.useEffect)(()=>n(r),[]);let o=()=>i&&i(r);return!e&&i?[!1,o]:[!0]}var tW=i(48488);function tz(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}
1var tZ=i(51020),tY=i(52248);let tH=[s.Animate,s.InView,s.Focus,s.Hover,s.Tap,s.Drag,s.Exit],tq=[...tH].reverse(),tG=tH.length;function t_(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let tX={animation:tI(({visualElement:t,animate:e})=>{t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(0,tZ.d5)(t,e,i))),i={[s.Animate]:t_(!0),[s.InView]:t_(),[s.Hover]:t_(),[s.Tap]:t_(),[s.Drag]:t_(),[s.Focus]:t_(),[s.Exit]:t_()},n=!0,r=(e,i)=>{let n=(0,tY.x)(t,i);if(n){let{transition:r,transitionEnd:o,...s}=n;e={...e,...s,...o}}return e};function o(o,s){let a=t.getProps(),l=t.getVariantContext(!0)||{},u=[],h=new Set,c={},d=1/0;for(let p=0;p<tG;p++){var f;let g=tq[p],y=i[g],x=void 0!==a[g]?a[g]:l[g],b=m(x),w=g===s?y.isActive:null;!1===w&&(d=p);let P=x===l[g]&&x!==a[g]&&b;if(P&&n&&t.manuallyAnimateOnMount&&(P=!1),y.protectedKeys={...c},!y.isActive&&null===w||!x&&!y.prevProp||v(x)||"boolean"==typeof x)continue;let A=(f=y.prevProp,"string"==typeof x?x!==f:!!Array.isArray(x)&&!tz(x,f)),V=A||g===s&&y.isActive&&!P&&b||p>d&&b,C=Array.isArray(x)?x:[x],T=C.reduce(r,{});!1===w&&(T={});let{prevResolvedValues:E={}}=y,S={...E,...T},M=t=>{V=!0,h.delete(t),y.needsAnimating[t]=!0};for(let k in S){let R=T[k],B=E[k];c.hasOwnProperty(k)||(R!==B?(0,tW.C)(R)&&(0,tW.C)(B)?!tz(R,B)||A?M(k):y.protectedKeys[k]=!0:void 0!==R?M(k):h.add(k):void 0!==R&&h.has(k)?M(k):y.protectedKeys[k]=!0)}y.prevProp=x,y.prevResolvedValues=T,y.isActive&&(c={...c,...T}),n&&t.blockInitialAnimation&&(V=!1),V&&!P&&u.push(...C.map(t=>({animation:t,options:{type:g,...o}})))}if(h.size){let D={};h.forEach(e=>{let i=t.getBaseTarget(e);void 0!==i&&(D[e]=i)}),u.push({animation:D})}let L=Boolean(u.length);return n&&!1===a.initial&&!t.manuallyAnimateOnMount&&(L=!1),n=!1,L?e(u):Promise.resolve()}return{animateChanges:o,setActive:function(e,n,r){var s;if(i[e].isActive===n)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let a=o(r,e);for(let l in i)i[l].protectedKeys={};return a},setAnimateFunction:function(i){e=i(t)},getState:()=>i}}(t)),v(e)&&(0,l.useEffect)(()=>e.subscribe(t),[e])}),exit:tI(t=>{let{custom:e,visualElement:i}=t,[n,r]=tN(),o=(0,l.useContext)(c.O);(0,l.useEffect)(()=>{i.isPresent=n;let t=i.animationState&&i.animationState.setActive(s.Exit,!n,{custom:o&&o.custom||e});t&&!n&&t.then(r)},[n])})};var tK=i(24394),tJ=i(30404),tQ=i(86917);let t0=(t,e)=>Math.abs(t-e);var t1=i(37367);class t3{constructor(t,e,{transformPagePoint:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=t2(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){let i=t0(t.x,e.x),n=t0(t.y,e.y);return Math.sqrt(i**2+n**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=t1.w;this.history.push({...n,timestamp:r});let{onStart:o,onMove:s}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=t5(e,this.transformPagePoint),tJ.Z_.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:i,onSessionEnd:n}=this.handlers,r=t2("pointercancel"===t.type?this.lastMoveEventInfo:t5(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!ty(t))return;this.handlers=e,this.transformPagePoint=i;let n=tx(t),r=t5(n,this.transformPagePoint),{point:o}=r,{timestamp:s}=t1.w;this.history=[{...o,timestamp:s}];let{onSessionStart:a}=e;a&&a(t,t2(r,this.history)),this.removeListeners=(0,tR.z)(tw(window,"pointermove",this.handlePointerMove),tw(window,"pointerup",this.handlePointerUp),tw(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),tJ.qY.update(this.updatePoint)}}function t5(t,e){return e?{point:e(t.point)}:t}function t4(t,e){return{x:t.x-e.x,y:t.y-e.y}}function t2({point:t},e){return{point:t,delta:t4(t,t9(e)),offset:t4(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=t9(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,tQ.w)(.1)));)i--;if(!n)return{x:0,y:0};let o=(r.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,0)}}function t9(t){return t[t.length-1]}var t6=i(23967),t8=i(80022);function t7(t){return t.max-t.min}function et(t,e=0,i=.01){return Math.abs(t-e)<=i}function ee(t,e,i,n=.5){t.origin=n,t.originPoint=(0,t8.C)(e.min,e.max,t.origin),t.scale=t7(i)/t7(e),(et(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,t8.C)(i.min,i.max,t.origin)-t.originPoint,(et(t.translate)||isNaN(t.translate))&&(t.translate=0)}function ei(t,e,i,n){ee(t.x,e.x,i.x,null==n?void 0:n.originX),ee(t.y,e.y,i.y,null==n?void 0:n.originY)}function en(t,e,i){t.min=i.min+e.min,t.max=t.min+t7(e)}function er(t,e,i){t.min=e.min-i.min,t.max=t.min+t7(e)}
1function eo(t,e,i){er(t.x,e.x,i.x),er(t.y,e.y,i.y)}var es=i(24169);function ea(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 el(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function eu(t,e,i){return{min:eh(t,e),max:eh(t,i)}}function eh(t,e){return"number"==typeof t?t:t[e]||0}let ec=()=>({translate:0,scale:1,origin:0,originPoint:0}),ed=()=>({x:ec(),y:ec()}),ep=()=>({min:0,max:0}),ef=()=>({x:ep(),y:ep()});function em(t){return[t("x"),t("y")]}function ev({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function eg(t){return void 0===t||1===t}function ey({scale:t,scaleX:e,scaleY:i}){return!eg(t)||!eg(e)||!eg(i)}function ex(t){return ey(t)||eb(t)||t.z||t.rotate||t.rotateX||t.rotateY}function eb(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function ew(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function eP(t,e=0,i=1,n,r){t.min=ew(t.min,e,i,n,r),t.max=ew(t.max,e,i,n,r)}function eA(t,{x:e,y:i}){eP(t.x,e.translate,e.scale,e.originPoint),eP(t.y,i.translate,i.scale,i.originPoint)}function eV(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function eC(t,e){t.min=t.min+e,t.max=t.max+e}function eT(t,e,[i,n,r]){let o=void 0!==e[r]?e[r]:.5,s=(0,t8.C)(t.min,t.max,o);eP(t,e[i],e[n],s,e.scale)}let eE=["x","scaleX","originX"],eS=["y","scaleY","originY"];function eM(t,e){eT(t.x,e,eE),eT(t.y,e,eS)}function ek(t,e){return ev(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}var eR=i(90378);let eB=new WeakMap;class eD{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ef(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){if(!1===this.visualElement.isPresent)return;let i=t=>{this.stopAnimation(),e&&this.snapToCursor(tx(t,"page").point)},n=(t,e)=>{var i;let{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();(!n||r||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tT(n),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),em(t=>{var e,i;let n=this.getAxisMotionValue(t).get()||0;if(X.aQ.test(n)){let r=null===(i=null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===i?void 0:i.layoutBox[t];if(r){let o=t7(r);n=o*(parseFloat(n)/100)}}this.originPoint[t]=n}),null==o||o(t,e),null===(i=this.visualElement.animationState)||void 0===i||i.setActive(s.Drag,!0))},r=(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:s}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(s),null!==this.currentDirection&&(null==r||r(this.currentDirection));return}this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),null==o||o(t,e)},o=(t,e)=>this.stop(t,e);this.panSession=new t3(t,{onSessionStart:i,onStart:n,onMove:r,onSessionEnd:o},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();null==r||r(t,e)}cancel(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(s.Drag,!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!eL(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,t8.C)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,t8.C)(i,t,n.max):Math.min(t,i)),t}(o,this.constraints[t],this.elastic[t])),r.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:i}=this.visualElement.projection||{},n=this.constraints;t&&f(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:ea(t.x,i,r),y:ea(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:eu(t,"left","right"),y:eu(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&em(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!f(e))return!1;let n=e.current;(0,tK.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
1let o=function(t,e,i){let n=ek(t,i),{scroll:r}=e;return r&&(eC(n.x,r.offset.x),eC(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),s={x:el((t=r.layout.layoutBox).x,o.x),y:el(t.y,o.y)};if(i){let a=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(s));this.hasMutatedConstraints=!!a,a&&(s=ev(a))}return s}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=em(s=>{if(!eL(s,e,this.currentDirection))return;let l=(null==a?void 0:a[s])||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)});return Promise.all(l).then(s)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start((0,eR.Z)(t,i,0,e))}stopAnimation(){em(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var e;let i="_drag"+t.toUpperCase(),n=this.visualElement.getProps()[i];return n||this.visualElement.getValue(t,(null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])||0)}snapToCursor(t){em(e=>{let{drag:i}=this.getProps();if(!eL(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:o,max:s}=n.layout.layoutBox[e];r.set(t[e]-(0,t8.C)(o,s,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;let{drag:e,dragConstraints:i}=this.getProps(),{projection:n}=this.visualElement;if(!f(i)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};em(t=>{let e=this.getAxisMotionValue(t);if(e){let i=e.get();r[t]=function(t,e){let i=.5,n=t7(t),r=t7(e);return r>n?i=(0,t6.Y)(e.min,e.max-n,t.min):n>r&&(i=(0,t6.Y)(t.min,t.max-r,e.min)),(0,es.u)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",null===(t=n.root)||void 0===t||t.updateScroll(),n.updateLayout(),this.resolveConstraints(),em(t=>{if(!eL(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:o}=this.constraints[t];i.set((0,t8.C)(n,o,r[t]))})}addListeners(){var t;if(!this.visualElement.current)return;eB.set(this.visualElement,this);let e=this.visualElement.current,i=tw(e,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),n=()=>{let{dragConstraints:t}=this.getProps();f(t)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,o=r.addEventListener("measure",n);r&&!r.layout&&(null===(t=r.root)||void 0===t||t.updateScroll(),r.updateLayout()),n();let s=tv(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(em(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),i(),o(),null==a||a()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function eL(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let eF={pan:tI(function({onPan:t,onPanStart:e,onPanEnd:i,onPanSessionStart:n,visualElement:r}){let o=(0,l.useRef)(null),{transformPagePoint:s}=(0,l.useContext)(u),a={onSessionStart:n,onStart:e,onMove:t,onEnd:(t,e)=>{o.current=null,i&&i(t,e)}};(0,l.useEffect)(()=>{null!==o.current&&o.current.updateHandlers(a)}),tP(r,"pointerdown",(t||e||i||n)&&function(t){o.current=new t3(t,a,{transformPagePoint:s})}),(0,tk.z)(()=>o.current&&o.current.end())}),drag:tI(function(t){let{dragControls:e,visualElement:i}=t,n=(0,V.h)(()=>new eD(i));(0,l.useEffect)(()=>e&&e.subscribe(n),[n,e]),(0,l.useEffect)(()=>n.addListeners(),[n])})};var ej=i(2728),e$=i(5759);function eO(t){return"string"==typeof t&&t.startsWith("var(--")}let eI=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function eU(t,e,i=1){(0,tK.k)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,r]=function(t){let e=eI.exec(t);if(!e)return[,];let[,i,n]=e;return[i,n]}(t);if(!n)return;let o=window.getComputedStyle(e).getPropertyValue(n);return o?o.trim():eO(r)?eU(r,e,i+1):r}var eN=i(56440),eW=i(61649);let ez=new Set(["width","height","top","left","right","bottom","x","y"]),eZ=t=>ez.has(t),eY=t=>Object.keys(t).some(eZ),eH=t=>t===eW.Rx||t===X.px;(o=a||(a={})).width="width",o.height="height",o.left="left",o.right="right",o.top="top",o.bottom="bottom";let eq=(t,e)=>parseFloat(t.split(", ")[e]),eG=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/);if(r)return eq(r[1],e);{let o=n.match(/^matrix\((.+)\)$/);return o?eq(o[1],t):0}},e_=new Set(["x","y","z"]),eX=L._.filter(t=>!e_.has(t)),eK={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:eG(4,13),y:eG(5,14)},eJ=(t,e,i)=>{let n=e.measureViewportBox(),r=e.current,o=getComputedStyle(r),{display:s}=o,a={};"none"===s&&e.setStaticValue("display",t.display||"block"),i.forEac
1h(t=>{a[t]=eK[t](n,o)}),e.render();let l=e.measureViewportBox();return i.forEach(i=>{let n=e.getValue(i);n&&n.jump(a[i]),t[i]=eK[i](l,o)}),t},eQ=(t,e,i={},n={})=>{e={...e},n={...n};let r=Object.keys(e).filter(eZ),o=[],s=!1,a=[];if(r.forEach(r=>{let l;let u=t.getValue(r);if(!t.hasValue(r))return;let h=i[r],c=(0,eN.C)(h),d=e[r];if((0,tW.C)(d)){let p=d.length,f=null===d[0]?1:0;h=d[f],c=(0,eN.C)(h);for(let m=f;m<p;m++)l?(0,tK.k)((0,eN.C)(d[m])===l,"All keyframes must be of the same type"):(l=(0,eN.C)(d[m]),(0,tK.k)(l===c||eH(c)&&eH(l),"Keyframes must be of the same dimension as the current value"))}else l=(0,eN.C)(d);if(c!==l){if(eH(c)&&eH(l)){let v=u.get();"string"==typeof v&&u.set(parseFloat(v)),"string"==typeof d?e[r]=parseFloat(d):Array.isArray(d)&&l===X.px&&(e[r]=d.map(parseFloat))}else(null==c?void 0:c.transform)&&(null==l?void 0:l.transform)&&(0===h||0===d)?0===h?u.set(l.transform(h)):e[r]=c.transform(d):(s||(o=function(t){let e=[];return eX.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),s=!0),a.push(r),n[r]=void 0!==n[r]?n[r]:e[r],u.jump(d))}}),!a.length)return{target:e,transitionEnd:n};{let l=a.indexOf("height")>=0?window.pageYOffset:null,u=eJ(e,t,a);return o.length&&o.forEach(([e,i])=>{t.getValue(e).set(i)}),t.render(),A.j&&null!==l&&window.scrollTo({top:l}),{target:u,transitionEnd:n}}},e0=(t,e,i,n)=>{var r,o;let s=function(t,{...e},i){let n=t.current;if(!(n instanceof Element))return{target:e,transitionEnd:i};for(let r in i&&(i={...i}),t.values.forEach(t=>{let e=t.get();if(!eO(e))return;let i=eU(e,n);i&&t.set(i)}),e){let o=e[r];if(!eO(o))continue;let s=eU(o,n);s&&(e[r]=s,i&&void 0===i[r]&&(i[r]=o))}return{target:e,transitionEnd:i}}(t,e,n);return e=s.target,n=s.transitionEnd,r=e,o=n,eY(r)?eQ(t,r,i,o):{target:r,transitionEnd:o}},e1={current:null},e3={current:!1};var e5=i(21560),e4=i(33234),e2=i(12490);let e9=Object.keys(P),e6=e9.length,e8=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class e7{constructor({parent:t,props:e,reducedMotionConfig:i,visualState:n},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,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.scheduleRender=()=>tJ.Z_.render(this.render,!1,!0);let{latestValues:o,renderState:s}=n;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=s,this.parent=t,this.props=e,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=r,this.isControllingVariants=y(e),this.isVariantNode=x(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);let{willChange:a,...l}=this.scrapeMotionValuesFromProps(e,{});for(let u in l){let h=l[u];void 0!==o[u]&&(0,j.i)(h)&&(h.set(o[u],!1),(0,e2.L)(a)&&a.add(u))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){var e;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(e=this.parent)||void 0===e?void 0:e.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),e3.current||function(){if(e3.current=!0,A.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>e1.current=t.matches;t.addListener(e),e()}else e1.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||e1.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,e,i;for(let n in null===(t=this.projection)||void 0===t||t.unmount(),tJ.qY.update(this.notifyUpdate),tJ.qY.render(this.render),this.valueSubscriptions.forEach(t=>t()),null===(e=this.removeFromVariantTree)||void 0===e||e.call(this),null===(i=this.parent)||void 0===i||i.children.delete(this),this.events)this.events[n].clear();this.current=null}bindToMotionValue(t,e){let i=L.G.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tJ.Z_.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),r()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},i,n,r,o,s){let a=[];for(let u=0;u<e6;u++){let h=e9[u],{isEnabled:c,Component:d}=P[h];c(e)&&d&&a.push((0,l.createElement)(d,{key:h,...e,visualElement:this}))}if(!this.projection&&o){this.projection=new o(r,this.latestValues,this.parent&&this.parent.projection);let{layoutId:p,layout:m,drag:v,dragConstraints:g,layoutScroll:y}=e;this.projection.setOptions({layoutId:p,layout:m,alwaysMeasureLayout:Boolean(v)||g&&f(g),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof m?m:"both",initialPromotionConfig:s,layoutScroll:y})}return a}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ef()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender();let e=this.props;this.props=t;for(let i=0;i<e8.length;i++){let n=e8[i];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=t["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}
1this.prevMotionValues=function(t,e,i){let{willChange:n}=e;for(let r in e){let o=e[r],s=i[r];if((0,j.i)(o))t.addValue(r,o),(0,e2.L)(n)&&n.add(r);else if((0,j.i)(s))t.addValue(r,(0,e4.B)(o,{owner:t})),(0,e2.L)(n)&&n.remove(r);else if(s!==o){if(t.hasValue(r)){let a=t.getValue(r);a.hasAnimated||a.set(o)}else{let l=t.getStaticValue(r);t.addValue(r,(0,e4.B)(void 0!==l?l:o))}}}for(let u in i)void 0===e[u]&&t.removeValue(u);return e}(this,this.scrapeMotionValuesFromProps(t,e),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){var e;return null===(e=this.props.variants)||void 0===e?void 0:e[t]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var t;return this.isVariantNode?this:null===(t=this.parent)||void 0===t?void 0:t.getClosestVariantNode()}getVariantContext(t=!1){var e,i;if(t)return null===(e=this.parent)||void 0===e?void 0:e.getVariantContext();if(!this.isControllingVariants){let n=(null===(i=this.parent)||void 0===i?void 0:i.getVariantContext())||{};return void 0!==this.props.initial&&(n.initial=this.props.initial),n}let r={};for(let o=0;o<ie;o++){let s=it[o],a=this.props[s];(m(a)||!1===a)&&(r[s]=a)}return r}addVariantChild(t){var e;let i=this.getClosestVariantNode();if(i)return null===(e=i.variantChildren)||void 0===e||e.add(t),()=>i.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){var e;this.values.delete(t),null===(e=this.valueSubscriptions.get(t))||void 0===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,e4.B)(e,{owner:this}),this.addValue(t,i)),i}readValue(t){return void 0===this.latestValues[t]&&this.current?this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:i}=this.props,n="string"==typeof i||"object"==typeof i?null===(e=(0,th.o)(this.props,i))||void 0===e?void 0:e[t]:void 0;if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,j.i)(r)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new e5.L),this.events[t].add(e)}notify(t,...e){var i;null===(i=this.events[t])||void 0===i||i.notify(...e)}}let it=["initial",...tH],ie=it.length;class ii extends e7{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){var i;return null===(i=t.style)||void 0===i?void 0:i[e]}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...i},{transformValues:n},r){let o=(0,e$.P$)(i,t||{},this);if(n&&(e&&(e=n(e)),i&&(i=n(i)),o&&(o=n(o))),r){(0,e$.GJ)(this,i,o);let s=e0(this,i,o,e);e=s.transitionEnd,i=s.target}return{transition:t,transitionEnd:e,...i}}}class ir extends ii{readValueFromInstance(t,e){if(L.G.has(e)){let i=(0,ej.A)(e);return i&&i.default||0}{let n=window.getComputedStyle(t),r=(I(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return ek(t,e)}build(t,e,i,n){W(t,e,i,n.transformTemplate)}scrapeMotionValuesFromProps(t,e){return tl(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,j.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,i,n){to(t,e,i,n)}}class io extends ii{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){var i;return L.G.has(e)?(null===(i=(0,ej.A)(e))||void 0===i?void 0:i.default)||0:(e=ts.has(e)?e:(0,tr.D)(e),t.getAttribute(e))}measureInstanceViewportBox(){return ef()}scrapeMotionValuesFromProps(t,e){return tu(t,e)}
1build(t,e,i,n){tt(t,e,i,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,i,n){ta(t,e,i,n)}mount(t){this.isSVGTag=ti(t.tagName),super.mount(t)}}let is=(t,e)=>B(t)?new io(e,{enableHardwareAcceleration:!1}):new ir(e,{enableHardwareAcceleration:!0});function ia(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let il={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!X.px.test(t))return t;t=parseFloat(t)}let i=ia(t,e.target.x),n=ia(t,e.target.y);return`${i}% ${n}%`}};var iu=i(51550);let ih="_$css",ic={correct:(t,{treeScale:e,projectionDelta:i})=>{let n=t,r=t.includes("var("),o=[];r&&(t=t.replace(eI,t=>(o.push(t),ih)));let s=iu.P.parse(t);if(s.length>5)return n;let a=iu.P.createTransformer(t),l="number"!=typeof s[0]?1:0,u=i.x.scale*e.x,h=i.y.scale*e.y;s[0+l]/=u,s[1+l]/=h;let c=(0,t8.C)(u,h,.5);"number"==typeof s[2+l]&&(s[2+l]/=c),"number"==typeof s[3+l]&&(s[3+l]/=c);let d=a(s);if(r){let p=0;d=d.replace(ih,()=>{let t=o[p];return p++,t})}return d}};class id extends l.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;Object.assign(D,ip),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),C.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,o=i.projection;return o&&(o.isPresent=r,n||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent===r||(r?o.promote():o.relegate()||tJ.Z_.postRender(()=>{var t;(null===(t=o.getStack())||void 0===t?void 0:t.members.length)||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),(null==e?void 0:e.group)&&e.group.remove(n),(null==i?void 0:i.deregister)&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;null==t||t()}render(){return null}}let ip={borderRadius:{...il,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:il,borderTopRightRadius:il,borderBottomLeftRadius:il,borderBottomRightRadius:il,boxShadow:ic};var im=i(27255),iv=i(81662);let ig=["TopLeft","TopRight","BottomLeft","BottomRight"],iy=ig.length,ix=t=>"string"==typeof t?parseFloat(t):t,ib=t=>"number"==typeof t||X.px.test(t);function iw(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let iP=iV(0,.5,im.Bn),iA=iV(.5,.95,iv.Z);function iV(t,e,i){return n=>n<t?0:n>e?1:i((0,t6.Y)(t,e,n))}function iC(t,e){t.min=e.min,t.max=e.max}function iT(t,e){iC(t.x,e.x),iC(t.y,e.y)}function iE(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function iS(t,e,[i,n,r],o,s){!function(t,e=0,i=1,n=.5,r,o=t,s=t){if(X.aQ.test(e)){e=parseFloat(e);let a=(0,t8.C)(s.min,s.max,e/100);e=a-s.min}if("number"!=typeof e)return;let l=(0,t8.C)(o.min,o.max,n);t===o&&(l-=e),t.min=iE(t.min,e,i,l,r),t.max=iE(t.max,e,i,l,r)}(t,e[i],e[n],e[r],e.scale,o,s)}let iM=["x","scaleX","originX"],ik=["y","scaleY","originY"];function iR(t,e,i,n){iS(t.x,e,iM,null==i?void 0:i.x,null==n?void 0:n.x),iS(t.y,e,ik,null==i?void 0:i.y,null==n?void 0:n.y)}var iB=i(31056);function iD(t){return 0===t.translate&&1===t.scale}function iL(t){return iD(t.x)&&iD(t.y)}function iF(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function ij(t){return t7(t.x)/t7(t.y)}var i$=i(10010);class iO{constructor(){this.members=[]}add(t){(0,i$.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,i$.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let n=i;n>=0;n--){let r=this.members[n];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){var i;let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),(null===(i=t.root)||void 0===i?void 0:i.isUpdating)&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&n.hide()}}
1exitAnimationComplete(){this.members.forEach(t=>{var e,i,n,r,o;null===(i=(e=t.options).onExitComplete)||void 0===i||i.call(e),null===(o=null===(n=t.resumingFrom)||void 0===n?void 0:(r=n.options).onExitComplete)||void 0===o||o.call(r)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function iI(t,e,i){let n="",r=t.x.translate/e.x,o=t.y.translate/e.y;if((r||o)&&(n=`translate3d(${r}px, ${o}px, 0) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{rotate:s,rotateX:a,rotateY:l}=i;s&&(n+=`rotate(${s}deg) `),a&&(n+=`rotateX(${a}deg) `),l&&(n+=`rotateY(${l}deg) `)}let u=t.x.scale*e.x,h=t.y.scale*e.y;return(1!==u||1!==h)&&(n+=`scale(${u}, ${h})`),n||"none"}let iU=(t,e)=>t.depth-e.depth;class iN{constructor(){this.children=[],this.isDirty=!1}add(t){(0,i$.y4)(this.children,t),this.isDirty=!0}remove(t){(0,i$.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(iU),this.isDirty=!1,this.children.forEach(t)}}var iW=i(63378);let iz=["","X","Y","Z"],iZ=0;function iY({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t,i={},n=null==e?void 0:e()){this.id=iZ++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(iG),this.nodes.forEach(iQ),this.nodes.forEach(i0)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=t,this.latestValues=i,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(let r=0;r<this.path.length;r++)this.path[r].shouldResetTransform=!0;this.root===this&&(this.nodes=new iN)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new e5.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);null==i||i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}registerPotentialNode(t,e){this.potentialNodes.set(t,e)}mount(e,i=!1){var n;if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:o,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),i&&(o||r)&&(this.isLayoutDirty=!0),t){let a;let l=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,a&&a(),a=(0,iW.g)(l,250),C.hasAnimatedSinceResize&&(C.hasAnimatedSinceResize=!1,this.nodes.forEach(iJ))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||o)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=>{var r,o,a,l,u;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let h=null!==(o=null!==(r=this.options.transition)&&void 0!==r?r:s.getDefaultTransition())&&void 0!==o?o:i9,{onLayoutAnimationStart:c,onLayoutAnimationComplete:d}=s.getProps(),p=!this.targetLayout||!iF(this.targetLayout,n)||i,f=!e&&i;if((null===(a=this.resumeFrom)||void 0===a?void 0:a.instance)||f||e&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,f);let m={...(0,iB.ev)(h,"layout"),onPlay:c,onComplete:d};s.shouldReduceMotion&&(m.delay=0,m.type=!1),this.startAnimation(m)}else e||0!==this.animationProgress||iJ(this),this.isLead()&&(null===(u=(l=this.options).onExitComplete)||void 0===u||u.call(l));this.targetLayout=n})}unmount(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,tJ.qY.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1}startUpdate(){var t;!this.isUpdateBlocked()&&(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(i1),this.animationId++)}willUpdate(t=!0){var e,i,n;if(this.root.isUpdateBlocked()){null===(i=(e=this.options).onExitComplete)||void 0===i||i.call(e);return}
1if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let r=0;r<this.path.length;r++){let o=this.path[r];o.shouldResetTransform=!0,o.updateScroll("snapshot")}let{layoutId:s,layout:a}=this.options;if(void 0===s&&!a)return;let l=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null==l?void 0:l(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}didUpdate(){let t=this.isUpdateBlocked();if(t){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(iX);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(i6),this.potentialNodes.clear()),this.nodes.forEach(iK),this.nodes.forEach(iH),this.nodes.forEach(iq),this.clearAllSnapshots(),tJ.iW.update(),tJ.iW.preRender(),tJ.iW.render())}clearAllSnapshots(){this.nodes.forEach(i_),this.sharedNodes.forEach(i3)}scheduleUpdateProjection(){tJ.Z_.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){tJ.Z_.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){var t;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){let i=this.path[e];i.updateScroll()}let n=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ef(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),null===(t=this.options.visualElement)||void 0===t||t.notify("LayoutMeasure",this.layout.layoutBox,null==n?void 0:n.layoutBox)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:n(this.instance),offset:i(this.instance)})}resetTransform(){var t;if(!r)return;let e=this.isLayoutDirty||this.shouldResetTransform,i=this.projectionDelta&&!iL(this.projectionDelta),n=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,o=null==n?void 0:n(this.latestValues,""),s=o!==this.prevTransformTemplateValue;e&&(i||ex(this.latestValues)||s)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),i8((e=n).x),i8(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return ef();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&(eC(e.x,i.offset.x),eC(e.y,i.offset.y)),e}removeElementScroll(t){let e=ef();iT(e,t);for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:o}=n;if(n!==this.root&&r&&o.layoutScroll){if(r.isRoot){iT(e,t);let{scroll:s}=this.root;s&&(eC(e.x,-s.offset.x),eC(e.y,-s.offset.y))}eC(e.x,r.offset.x),eC(e.y,r.offset.y)}}return e}applyTransform(t,e=!1){let i=ef();iT(i,t);for(let n=0;n<this.path.length;n++){let r=this.path[n];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&eM(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),ex(r.latestValues)&&eM(i,r.latestValues)}return ex(this.latestValues)&&eM(i,this.latestValues),i}removeTransform(t){var e;let i=ef();iT(i,t);for(let n=0;n<this.path.length;n++){let r=this.path[n];if(!r.instance||!ex(r.latestValues))continue;ey(r.latestValues)&&r.updateSnapshot();let o=ef(),s=r.measurePageBox();iT(o,s),iR(i,r.latestValues,null===(e=r.snapshot)||void 0===e?void 0:e.layoutBox,o)}return ex(this.latestValues)&&iR(i,this.latestValues),i}setTargetDelta(t){this.targetDelta=t,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}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}resolveTargetDelta(){var t,e,i,n;let r=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;let{layout:o,layoutId:s}=this.options;if(this.layout&&(o||s)){if(!this.targetDelta&&!this.relativeTarget){let a=this.getClosestProjectingParent();a&&a.layout?(this.relativeParent=a,this.relativeTarget=ef(),this.relativeTargetOrigin=ef(),eo(this.relativeTargetOrigin,this.layout.layoutBox,a.layout.layoutBox),iT(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if((this.relativeTarget||this.targetDelta)&&((this.target||(this.target=ef(),this.targetWithTransforms=ef()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target))?(e=this.target,i=this.relativeTarget,n=this.relativeParent.target,en(e.x,i.x,n.x),en(e.y,i.y,n.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):iT(this.target,this.layout.layoutBox),eA(this.target,this.targetDelta)):iT(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;let l=this.getClosestProjectingParent();l&&Boolean(l.resumingFrom)===Boolean(this.resumingFrom)&&!l.options.layoutScroll&&l.target?(this.relativeParent=l,this.relativeTarget=ef(),this.relativeTargetOrigin=ef(),eo(this.relativeTargetOrigin,this.target,l.target),iT(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||ey(this.parent.latestValues)||eb(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var t;let{isProjectionDirty:e,isTransformDirty:i}=this;this.isProjectionDirty=this.isTransformDirty=!1;let n=this.getLead(),r=Boolean(this.resumingFrom)||this!==n,o=!0;if(e&&(o=!1),r&&i&&(o=!1),o)return;let{layout:s,layoutId:a}=this.options;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||a))return;
1iT(this.layoutCorrected,this.layout.layoutBox),function(t,e,i,n=!1){var r,o;let s,a;let l=i.length;if(l){e.x=e.y=1;for(let u=0;u<l;u++)a=(s=i[u]).projectionDelta,(null===(o=null===(r=s.instance)||void 0===r?void 0:r.style)||void 0===o?void 0:o.display)!=="contents"&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&eM(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,eA(t,a)),n&&ex(s.latestValues)&&eM(t,s.latestValues));e.x=eV(e.x),e.y=eV(e.y)}}(this.layoutCorrected,this.treeScale,this.path,r);let{target:l}=n;if(!l)return;this.projectionDelta||(this.projectionDelta=ed(),this.projectionDeltaWithTransform=ed());let u=this.treeScale.x,h=this.treeScale.y,c=this.projectionTransform;ei(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=iI(this.projectionDelta,this.treeScale),(this.projectionTransform!==c||this.treeScale.x!==u||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e,i,n;null===(i=(e=this.options).scheduleRender)||void 0===i||i.call(e),t&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){var i,n;let r=this.snapshot,o=(null==r?void 0:r.latestValues)||{},s={...this.latestValues},a=ed();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;let l=ef(),u=(null==r?void 0:r.source)!==(null===(i=this.layout)||void 0===i?void 0:i.source),h=1>=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),c=Boolean(u&&!h&&!0===this.options.crossfade&&!this.path.some(i2));this.animationProgress=0,this.mixTargetDelta=e=>{var i,n,r;let d=e/1e3;i5(a.x,t.x,d),i5(a.y,t.y,d),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(i=this.relativeParent)||void 0===i?void 0:i.layout)&&(eo(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),n=this.relativeTarget,r=this.relativeTargetOrigin,i4(n.x,r.x,l.x,d),i4(n.y,r.y,l.y,d)),u&&(this.animationValues=s,function(t,e,i,n,r,o){r?(t.opacity=(0,t8.C)(0,void 0!==i.opacity?i.opacity:1,iP(n)),t.opacityExit=(0,t8.C)(void 0!==e.opacity?e.opacity:1,0,iA(n))):o&&(t.opacity=(0,t8.C)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let s=0;s<iy;s++){let a=`border${ig[s]}Radius`,l=iw(e,a),u=iw(i,a);if(void 0===l&&void 0===u)continue;l||(l=0),u||(u=0);let h=0===l||0===u||ib(l)===ib(u);h?(t[a]=Math.max((0,t8.C)(ix(l),ix(u),n),0),(X.aQ.test(u)||X.aQ.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||i.rotate)&&(t.rotate=(0,t8.C)(e.rotate||0,i.rotate||0,n))}(s,o,this.latestValues,d,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=d},this.mixTargetDelta(0)}startAnimation(t){var e,i;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(i=this.resumingFrom.currentAnimation)||void 0===i||i.stop()),this.pendingAnimation&&(tJ.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tJ.Z_.update(()=>{C.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i={}){let n=(0,j.i)(t)?t:(0,e4.B)(t);return n.start((0,eR.Z)("",n,1e3,i)),{stop:()=>n.stop(),isAnimating:()=>n.isAnimating()}}(0,0,{...t,onUpdate:e=>{var i;this.mixTargetDelta(e),null===(i=t.onUpdate)||void 0===i||i.call(t,e)},onComplete:()=>{var e;null===(e=t.onComplete)||void 0===e||e.call(t),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&i7(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||ef();let o=t7(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+o;let s=t7(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}iT(e,i),eM(e,r),ei(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){var i,n,r;this.sharedNodes.has(t)||this.sharedNodes.set(t,new iO);let o=this.sharedNodes.get(t);o.add(e),e.promote({transition:null===(i=e.options.initialPromotionConfig)||void 0===i?void 0:i.transition,preserveFollowOpacity:null===(r=null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===r?void 0:r.call(n,e)})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(e=!0),!e)return;let n={};for(let r=0;r<iz.length;r++){let o="rotate"+iz[r];i[o]&&(n[o]=i[o],t.setStaticValue(o,0))}for(let s in null==t||t.render(),n)t.setStaticValue(s,n[s]);t.scheduleRender()}getProjectionStyles(t={}){var e,i,n;let r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";let o=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=td(t.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let a={};return this.options.layoutId&&(a.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,a.pointerEvents=td(t.pointerEvents)||""),this.hasProjected&&!ex(this.latestValues)&&(a.transform=o?o({},""):"none",this.hasProjected=!1),a}let l=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=iI(this.projectionDeltaWithTransform,this.treeScale,l),o&&(r.transform=o(l,r.transform));let{x:u,y:h}=this.projectionDelta;for(let c in r.transformOrigin=`${100*u.origin}% ${100*h.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(n=null!==(i=l.opacity)&&void 0!==i?i:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:r.opacity=s===this?void 0!==l.opacity?l.opacity:"":void 0!==l.opacityExit?l.opacityExit:0,D){if(void 0===l[c])continue;let{correct:d,applyTo:p}=D[c],f="none"===r.transform?l[c]:d(l[c],s);if(p){let m=p.length;for(let v=0;v<m;v++)r[p[v]]=f}else r[c]=f}return this.options.layoutId&&(r.pointerEvents=s===this?td(t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
1resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(iX),this.root.sharedNodes.clear()}}}function iH(t){t.updateLayout()}function iq(t){var e,i,n;let r=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){let{layoutBox:o,measuredBox:s}=t.layout,{animationType:a}=t.options,l=r.source!==t.layout.source;"size"===a?em(t=>{let e=l?r.measuredBox[t]:r.layoutBox[t],i=t7(e);e.min=o[t].min,e.max=e.min+i}):i7(a,r.layoutBox,o)&&em(t=>{let e=l?r.measuredBox[t]:r.layoutBox[t],i=t7(o[t]);e.max=e.min+i});let u=ed();ei(u,o,r.layoutBox);let h=ed();l?ei(h,t.applyTransform(s,!0),r.measuredBox):ei(h,o,r.layoutBox);let c=!iL(u),d=!1;if(!t.resumeFrom){let p=t.getClosestProjectingParent();if(p&&!p.resumeFrom){let{snapshot:f,layout:m}=p;if(f&&m){let v=ef();eo(v,r.layoutBox,f.layoutBox);let g=ef();eo(g,o,m.layoutBox),iF(v,g)||(d=!0)}}}t.notifyListeners("didUpdate",{layout:o,snapshot:r,delta:h,layoutDelta:u,hasLayoutChanged:c,hasRelativeTargetChanged:d})}else t.isLead()&&(null===(n=(i=t.options).onExitComplete)||void 0===n||n.call(i));t.options.transition=void 0}function iG(t){t.isProjectionDirty||(t.isProjectionDirty=Boolean(t.parent&&t.parent.isProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=Boolean(t.parent&&t.parent.isTransformDirty))}function i_(t){t.clearSnapshot()}function iX(t){t.clearMeasurements()}function iK(t){let{visualElement:e}=t.options;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function iJ(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function iQ(t){t.resolveTargetDelta()}function i0(t){t.calcProjection()}function i1(t){t.resetRotation()}function i3(t){t.removeLeadSnapshot()}function i5(t,e,i){t.translate=(0,t8.C)(e.translate,0,i),t.scale=(0,t8.C)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function i4(t,e,i,n){t.min=(0,t8.C)(e.min,i.min,n),t.max=(0,t8.C)(e.max,i.max,n)}function i2(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let i9={duration:.45,ease:[.4,0,.1,1]};function i6(t,e){let i=t.root;for(let n=t.path.length-1;n>=0;n--)if(Boolean(t.path[n].instance)){i=t.path[n];break}let r=i&&i!==t.root?i.instance:document,o=r.querySelector(`[data-
1projection-id="${e}"]`);o&&t.mount(o,!0)}function i8(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function i7(t,e,i){return"position"===t||"preserve-aspect"===t&&!et(ij(e),ij(i),.2)}let nt=iY({attachResizeListener:(t,e)=>tv(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ne={current:void 0},ni=iY({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ne.current){let t=new nt(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),ne.current=t}return ne.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),nn={...tX,...tU,...eF,measureLayout:function(t){let[e,i]=tN(),n=(0,l.useContext)(E.p);return l.createElement(id,{...t,layoutGroup:n,switchLayoutGroup:(0,l.useContext)(M),isPresent:e,safeToRemove:i})}},nr=function(t){function e(e,i={}){return function({preloadedFeatures:t,createVisualElement:e,projectionNodeConstructor:i,useRender:n,useVisualState:r,Component:o}){t&&function(t){for(let e in t)"projectionNodeConstructor"===e?P.projectionNodeConstructor=t[e]:P[e].Component=t[e]}(t);let s=(0,l.forwardRef)(function(s,a){var v,g;let x={...(0,l.useContext)(u),...s,layoutId:function({layoutId:t}){let e=(0,l.useContext)(E.p).id;return e&&void 0!==t?e+"-"+t:t}(s)},{isStatic:w}=x,k=null,R=function(t){let{initial:e,animate:i}=function(t,e){if(y(t)){let{initial:i,animate:n}=t;return{initial:!1===i||m(i)?i:void 0,animate:m(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,l.useContext)(h));return(0,l.useMemo)(()=>({initial:e,animate:i}),[b(e),b(i)])}(s),B=w?void 0:(0,V.h)(()=>{if(C.hasEverUpdated)return T++}),D=r(s,w);if(!w&&A.j){R.visualElement=function(t,e,i,n){let r=(0,l.useContext)(h).visualElement,o=(0,l.useContext)(p),s=(0,l.useContext)(c.O),a=(0,l.useContext)(u).reducedMotion,f=(0,l.useRef)();n=n||o.renderer,!f.current&&n&&(f.current=n(t,{visualState:e,parent:r,props:i,presenceId:s?s.id:void 0,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:a}));let m=f.current;return(0,d.L)(()=>{m&&m.render()}),(0,d.L)(()=>{m&&m.animationState&&m.animationState.animateChanges()}),m}(o,D,x,e);let L=(0,l.useContext)(p).strict,F=(0,l.useContext)(M);R.visualElement&&(k=R.visualElement.loadFeatures(x,L,t,B,i||P.projectionNodeConstructor,F))}return l.createElement(S,{visualElement:R.visualElement,props:x},k,l.createElement(h.Provider,{value:R},n(o,s,B,(v=R.visualElement,g=a,(0,l.useCallback)(t=>{t&&D.mount&&D.mount(t),v&&(t?v.mount(t):v.unmount()),g&&("function"==typeof g?g(t):f(g)&&(g.current=t))},[v])),D,w,R.visualElement)))});return s[k]=o,s}(t(e,i))}if("undefined"==typeof Proxy)return e;let i=new Map;return new Proxy(e,{get:(t,n)=>(i.has(n)||i.set(n,e(n)),i.get(n))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},i,n,r){let o=B(t)?tf:tm;return{...o,preloadedFeatures:i,useRender:function(t=!1){let e=(e,i,n,r,{latestValues:o},s)=>{let a=B(e)?tn:Y,u=a(i,o,s,e),h=function(t,e,i){let n={};for(let r in t)(G(r)||!0===i&&q(r)||!e&&!q(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),c={...h,...u,ref:r},{children:d}=i,p=(0,l.useMemo)(()=>(0,j.i)(d)?d.get():d,[d]);return n&&(c["data-projection-id"]=n),(0,l.createElement)(e,{...c,children:p})};return e}(e),createVisualElement:n,projectionNodeConstructor:r,Component:t}})(t,e,nn,is,ni))},93193:function(t,e,i){i.d(e,{D:function(){return n}});let n=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},79135:function(t,e,i){i.d(e,{T:function(){return s}});var n=i(51550),r=i(97197),o=i(2728);function s(t,e){var i;let s=(0,o.A)(t);return s!==r.h&&(s=n.P),null===(i=s.getAnimatableNone)||void 0===i?void 0:i.call(s,e)}},2728:function(t,e,i){i.d(e,{A:function(){return a}});var n=i(85385),r=i(97197),o=i(36173);let s={...o.j,color:n.$,backgroundColor:n.$,outlineColor:n.$,fill:n.$,stroke:n.$,borderColor:n.$,borderTopColor:n.$,borderRightColor:n.$,borderBottomColor:n.$,borderLeftColor:n.$,filter:r.h,WebkitFilter:r.h},a=t=>s[t]}
1,56440:function(t,e,i){i.d(e,{$:function(){return s},C:function(){return a}});var n=i(61649),r=i(96190),o=i(88340);let s=[n.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>s.find((0,o.l)(t))},36173:function(t,e,i){i.d(e,{j:function(){return s}});var n=i(61649),r=i(96190);let o={...n.Rx,transform:Math.round},s={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,size:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,rotate:r.RW,rotateX:r.RW,rotateY:r.RW,rotateZ:r.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:r.RW,skewX:r.RW,skewY:r.RW,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:n.Fq,originX:r.$C,originY:r.$C,originZ:r.px,zIndex:o,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:o}},88340:function(t,e,i){i.d(e,{l:function(){return n}});let n=t=>e=>e.test(t)},94714:function(t,e,i){i.d(e,{G:function(){return r},_:function(){return n}});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(n)},51020:function(t,e,i){i.d(e,{d5:function(){return d},p_:function(){return m}});var n=i(5759),r=i(52248),o=i(94714),s=i(12490),a=i(30404);let l=(t,e)=>`${t}: ${e}`;var u=i(93193);let h="data-"+(0,u.D)("framerAppearId");var c=i(90378);function d(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e)){let o=e.map(e=>p(t,e,i));n=Promise.all(o)}else if("string"==typeof e)n=p(t,e,i);else{let s="function"==typeof e?(0,r.x)(t,e,i.custom):e;n=f(t,s,i)}return n.then(()=>t.notify("AnimationComplete",e))}function p(t,e,i={}){var n;let o=(0,r.x)(t,e,i.custom),{transition:s=t.getDefaultTransition()||{}}=o||{};i.transitionOverride&&(s=i.transitionOverride);let a=o?()=>f(t,o,i):()=>Promise.resolve(),l=(null===(n=t.variantChildren)||void 0===n?void 0:n.size)?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,r=1,o){let s=[],a=(t.variantChildren.size-1)*n,l=1===r?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(v).forEach((t,n)=>{t.notify("AnimationStart",e),s.push(p(t,e,{...o,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(s)}(t,e,r+n,o,a,i)}:()=>Promise.resolve(),{when:u}=s;if(!u)return Promise.all([a(),l(i.delay)]);{let[h,c]="beforeChildren"===u?[a,l]:[l,a];return h().then(c)}}function f(t,e,{delay:i=0,transitionOverride:r,type:u}={}){var d;let{transition:p=t.getDefaultTransition(),transitionEnd:f,...m}=t.makeTargetAnimatable(e),v=t.getValue("willChange");r&&(p=r);let g=[],y=u&&(null===(d=t.animationState)||void 0===d?void 0:d.getState()[u]);for(let x in m){let b=t.getValue(x),w=m[x];if(!b||void 0===w||y&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(y,x))continue;let P={delay:i,elapsed:0,...p};if(t.shouldReduceMotion&&o.G.has(x)&&(P={...P,type:!1,delay:0}),!b.hasAnimated){let A=t.getProps()[h];A&&(P.elapsed=function(t,e){let{MotionAppearAnimations:i}=window,n=l(t,o.G.has(e)?"transform":e),r=i&&i.get(n);return r?(a.Z_.render(()=>{try{r.cancel(),i.delete(n)}catch(t){}}),r.currentTime||0):0}(A,x))}let V=b.start((0,c.Z)(x,b,w,P));(0,s.L)(v)&&(v.add(x),V=V.then(()=>v.remove(x))),g.push(V)}return Promise.all(g).then(()=>{f&&(0,n.CD)(t,f)})}function m(t){t.values.forEach(t=>t.stop())}function v(t,e){return t.sortNodePosition(e)}},52248:function(t,e,i){i.d(e,{x:function(){return r}});var n=i(79432);function r(t,e,i){let r=t.getProps();return(0,n.o)(r,e,void 0!==i?i:r.custom,function(t){let e={};return t.values.forEach((t,i)=>e[i]=t.get()),e}(t),function(t){let e={};
1return t.values.forEach((t,i)=>e[i]=t.getVelocity()),e}(t))}},79432:function(t,e,i){i.d(e,{o:function(){return n}});function n(t,e,i,n={},r={}){return"function"==typeof e&&(e=e(void 0!==i?i:t.custom,n,r)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==i?i:t.custom,n,r)),e}},5759:function(t,e,i){i.d(e,{GJ:function(){return y},P$:function(){return x},CD:function(){return m},gg:function(){return g}});let n=t=>/^\-?\d*\.?\d+$/.test(t),r=t=>/^0[^.\s]+$/.test(t);var o=i(8715),s=i(33234),a=i(51550),l=i(79135),u=i(85385),h=i(56440),c=i(88340);let d=[...h.$,u.$,a.P],p=t=>d.find((0,c.l)(t));var f=i(52248);function m(t,e){let i=(0,f.x)(t,e),{transitionEnd:n={},transition:r={},...a}=i?t.makeTargetAnimatable(i,!1):{};for(let l in a={...a,...n}){var u;let h=(0,o.Y)(a[l]);u=l,t.hasValue(u)?t.getValue(u).set(h):t.addValue(u,(0,s.B)(h))}}function v(t,e){let i=[...e].reverse();i.forEach(i=>{var n;let r=t.getVariant(i);r&&m(t,r),null===(n=t.variantChildren)||void 0===n||n.forEach(t=>{v(t,e)})})}function g(t,e){return Array.isArray(e)?v(t,e):"string"==typeof e?v(t,[e]):void m(t,e)}function y(t,e,i){var o,u;let h=Object.keys(e).filter(e=>!t.hasValue(e)),c=h.length;if(c)for(let d=0;d<c;d++){let f=h[d],m=e[f],v=null;Array.isArray(m)&&(v=m[0]),null===v&&(v=null!==(u=null!==(o=i[f])&&void 0!==o?o:t.readValue(f))&&void 0!==u?u:e[f]),null!=v&&("string"==typeof v&&(n(v)||r(v))?v=parseFloat(v):!p(v)&&a.P.test(m)&&(v=(0,l.T)(f,m)),t.addValue(f,(0,s.B)(v,{owner:t})),void 0===i[f]&&(i[f]=v),null!==v&&t.setBaseTarget(f,v))}}function x(t,e,i){var n;let r={};for(let o in t){let s=function(t,e){if(!e)return;let i=e[t]||e.default||e;return i.from}(o,e);r[o]=void 0!==s?s:null===(n=i.getValue(o))||void 0===n?void 0:n.get()}return r}},10010:function(t,e,i){function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{cl:function(){return r},y4:function(){return n}})},24169:function(t,e,i){i.d(e,{u:function(){return n}});let n=(t,e,i)=>Math.min(Math.max(i,t),e)},63378:function(t,e,i){i.d(e,{g:function(){return r}});var n=i(30404);function r(t,e){let i=performance.now(),r=({timestamp:o})=>{let s=o-i;s>=e&&(n.qY.read(r),t(s-e))};return n.Z_.read(r,!0),()=>n.qY.read(r)}},11741:function(t,e,i){i.d(e,{j:function(){return n}});let n="undefined"!=typeof document},80022:function(t,e,i){i.d(e,{C:function(){return n}});let n=(t,e,i)=>-i*t+i*e+t},81662:function(t,e,i){i.d(e,{Z:function(){return n}});let n=t=>t},83624:function(t,e,i){i.d(e,{z:function(){return r}});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},23967:function(t,e,i){i.d(e,{Y:function(){return n}});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},8715:function(t,e,i){i.d(e,{Y:function(){return o},p:function(){return r}});var n=i(48488);let r=t=>Boolean(t&&"object"==typeof t&&t.mix&&t.toValue),o=t=>(0,n.C)(t)?t[t.length-1]||0:t},21560:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(10010);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let o=this.subscriptions[r];o&&o(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},86917:function(t,e,i){i.d(e,{w:function(){return n}});let n=t=>1e3*t},96681:function(t,e,i){i.d(e,{h:function(){return r}});var n=i(67294);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},58868:function(t,e,i){i.d(e,{L:function(){return o}});var n=i(67294),r=i(11741);let o=r.j?n.useLayoutEffect:n.useEffect},65411:function(t,e,i){i.d(e,{z:function(){return r}});var n=i(67294);function r(t){return(0,n.useEffect)(()=>()=>t(),[])}},3038:function(t,e,i){i.d(e,{R:function(){return n}});function n(t,e){return e?t*(1e3/e):0}},33234:function(t,e,i){i.d(e,{B:function(){return u}});var n=i(37367),r=i(30404),o=i(21560),s=i(3038);let a=t=>!isNaN(parseFloat(t));class l{constructor(t,e={}){this.version="8.4.2",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:i,timestamp:o}=n.w;this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,r.Z_.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>r.Z_.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=a(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new o.L);let i=this.events[t].add(e);return"change"===t?()=>{i(),r.Z_.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=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,s.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.stopAnimation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}}
1,26382:function(t,e,i){i.d(e,{$:function(){return o}});var n=i(40819),r=i(98834);let o={test:(0,r.i)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.m.transform}},93184:function(t,e,i){i.d(e,{J:function(){return a}});var n=i(61649),r=i(96190),o=i(36430),s=i(98834);let a={test:(0,s.i)("hsl","hue"),parse:(0,s.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,o.Nw)(e))+", "+r.aQ.transform((0,o.Nw)(i))+", "+(0,o.Nw)(n.Fq.transform(s))+")"}},85385:function(t,e,i){i.d(e,{$:function(){return a}});var n=i(36430),r=i(26382),o=i(93184),s=i(40819);let a={test:t=>s.m.test(t)||r.$.test(t)||o.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):o.J.test(t)?o.J.parse(t):r.$.parse(t),transform:t=>(0,n.HD)(t)?t:t.hasOwnProperty("red")?s.m.transform(t):o.J.transform(t)}},40819:function(t,e,i){i.d(e,{m:function(){return u}});var n=i(24169),r=i(61649),o=i(36430),s=i(98834);let a=t=>(0,n.u)(0,255,t),l={...r.Rx,transform:t=>Math.round(a(t))},u={test:(0,s.i)("rgb","red"),parse:(0,s.d)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,o.Nw)(r.Fq.transform(n))+")"}},98834:function(t,e,i){i.d(e,{d:function(){return o},i:function(){return r}});var n=i(36430);let r=(t,e)=>i=>Boolean((0,n.HD)(i)&&n.mj.test(i)&&i.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if(!(0,n.HD)(r))return r;let[o,s,a,l]=r.match(n.KP);return{[t]:parseFloat(o),[e]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},97197:function(t,e,i){i.d(e,{h:function(){return l}});var n=i(51550),r=i(36430);let o=new Set(["brightness","contrast","saturate","opacity"]);function s(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.KP)||[];if(!n)return t;let s=i.replace(n,""),a=o.has(e)?1:0;return n!==i&&(a*=100),e+"("+a+s+")"}let a=/([a-z-]*)\(.*?\)/g,l={...n.P,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(s).join(" "):t}}},51550:function(t,e,i){i.d(e,{P:function(){return d},V:function(){return l}});var n=i(85385),r=i(61649),o=i(36430);let s="${c}",a="${n}";function l(t){"number"==typeof t&&(t=`${t}`);let e=[],i=0,l=0,u=t.match(o.dA);u&&(i=u.length,t=t.replace(o.dA,s),e.push(...u.map(n.$.parse)));let h=t.match(o.KP);return h&&(l=h.length,t=t.replace(o.KP,a),e.push(...h.map(r.Rx.parse))),{values:e,numColors:i,numNumbers:l,tokenised:t}}function u(t){return l(t).values}function h(t){let{values:e,numColors:i,tokenised:r}=l(t),u=e.length;return t=>{let e=r;for(let l=0;l<u;l++)e=e.replace(l<i?s:a,l<i?n.$.transform(t[l]):(0,o.Nw)(t[l]));return e}}let c=t=>"number"==typeof t?0:t,d={test:function(t){var e,i;return isNaN(t)&&(0,o.HD)(t)&&((null===(e=t.match(o.KP))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(o.dA))||void 0===i?void 0:i.length)||0)>0},parse:u,createTransformer:h,getAnimatableNone:function(t){let e=u(t),i=h(t);return i(e.map(c))}}},61649:function(t,e,i){i.d(e,{Fq:function(){return o},Rx:function(){return r},bA:function(){return s}});var n=i(24169);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...r,transform:t=>(0,n.u)(0,1,t)},s={...r,default:1}},96190:function(t,e,i){i.d(e,{$C:function(){return h},RW:function(){return o},aQ:function(){return s},px:function(){return a},vh:function(){return l},vw:function(){return u}});var n=i(36430);let r=t=>({test:e=>(0,n.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),o=r("deg"),s=r("%"),a=r("px"),l=r("vh"),u=r("vw"),h={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},36430:function(t,e,i){i.d(e,{HD:function(){return a},KP:function(){return r},Nw:function(){return n},dA:function(){return o},mj:function(){return s}});let n=t=>
1Math.round(1e5*t)/1e5,r=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,s=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(t){return"string"==typeof t}},12490:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(40406);function r(t){return Boolean((0,n.i)(t)&&t.add)}},40406:function(t,e,i){i.d(e,{i:function(){return n}});let n=t=>!!(null==t?void 0:t.getVelocity)}}]);
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.