1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[880],{60694:function(t,e,n){n.d(e,{K:function(){return i},k:function(){return s}});var i=function(){},s=function(){}},32175:function(t,e,n){n.d(e,{Z:function(){return wt}});var i=n(60694),s=n(84006);const o=!1;var r=n(18866),a=n(68541),u=n(28134);const c=t=>t*t,l=(0,u.M)(c),h=(0,a.o)(c);var d=n(60716),p=n(15585),m=n(64063);function f(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var g=n(72959),v=n(99161),y=n(54893);const x=(t,e,n)=>{const i=t*t;return Math.sqrt(Math.max(0,n*(e*e-i)+i))},P=[g.$,v.m,y.J];function b(t){const e=(n=t,P.find((t=>t.test(n))));var n;(0,i.k)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let s=e.parse(t);return e===y.J&&(s=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let s=0,o=0,r=0;if(e/=100){const i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;s=f(a,i,t+1/3),o=f(a,i,t),r=f(a,i,t-1/3)}else s=o=r=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*r),alpha:i}}(s)),s}const w=(t,e)=>{const n=b(t),i=b(e),s={...n};return t=>(s.red=x(n.red,i.red,t),s.green=x(n.green,i.green,t),s.blue=x(n.blue,i.blue,t),s.alpha=(0,m.C)(n.alpha,i.alpha,t),v.m.transform(s))};
1var C=n(68822),T=n(26480);function A(t,e){return"number"===typeof t?n=>(0,m.C)(t,e,n):d.$.test(t)?w(t,e):V(t,e)}const S=(t,e)=>{const n=[...t],i=n.length,s=t.map(((t,n)=>A(t,e[n])));return t=>{for(let e=0;e<i;e++)n[e]=s[e](t);return n}},E=(t,e)=>{const n={...t,...e},i={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(i[s]=A(t[s],e[s]));return t=>{for(const e in i)n[e]=i[e](t);return n}},V=(t,e)=>{const n=T.P.createTransformer(e),s=(0,T.V)(t),o=(0,T.V)(e);return s.numColors===o.numColors&&s.numNumbers>=o.numNumbers?(0,C.z)(S(s.values,o.values),n):((0,i.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.`),n=>`${n>0?e:t}`)};var M=n(31111);const k=(t,e)=>n=>(0,m.C)(t,e,n);function D(t,e,n){const i=[],s=n||("number"===typeof(o=t[0])?k:"string"===typeof o?d.$.test(o)?w:V:Array.isArray(o)?S:"object"===typeof o?E:k);var o;const r=t.length-1;for(let a=0;a<r;a++){let n=s(t[a],t[a+1]);if(e){const t=Array.isArray(e)?e[a]:e;n=(0,C.z)(t,n)}i.push(n)}return i}function L(t,e,{clamp:n=!0,ease:s,mixer:o}={}){const r=t.length;(0,i.k)(r===e.length,"Both input and output ranges must be the same length"),(0,i.k)(!s||!Array.isArray(s)||s.length===r-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[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=D(e,s,o),u=a.length,c=e=>{let n=0;if(u>1)for(;n<t.length-2&&!(e<t[n+1]);n++);const i=(0,M.Y)(t[n],t[n+1],e);return a[n](i)};return n?e=>c((0,p.u)(t[0],t[r-1],e)):c}var R=n(38413);const B=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function F(t,e,n,i){if(t===e&&n===i)return R.Z;const s=e=>function(t,e,n,i,s){let o,r,a=0;do{r=e+(n-e)/2,o=B(r,i,s)-t,o>0?n=r:e=r}while(Math.abs(o)>1e-7&&++a<12);return r}(e,0,1,t,n);return t=>0===t||1===t?t:B(s(t),e,i)}var j=n(41140);const I=F(.33,1.53,.69,.99),O=(0,u.M)(I),$=(0,a.o)(O),U={linear:R.Z,easeIn:c,easeInOut:h,easeOut:l,circIn:j.Z7,circInOut:j.X7,circOut:j.Bn,backIn:O,backInOut:$,backOut:I,anticipate:t=>(t*=2)<1?.5*O(t):.5*(2-Math.pow(2,-10*(t-1)))},N=t=>{if(Array.isArray(t)){(0,i.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,s,o]=t;return F(e,n,s,o)}return"string"===typeof t?((0,i.k)(void 0!==U[t],`Invalid easing type '${t}'`),U[t]):t};function Z({keyframes:t,ease:e=h,times:n,duration:i=300}){t=[...t];const s=(t=>Array.isArray(t)&&"number"!==typeof t[0])(e)?e.map(N):N(e),o={done:!1,value:t[0]},r=function(t,e){return t.map((t=>t*e))}(n&&n.length===t.length?n:function(t){const e=t.length;return t.map(((t,n)=>0!==n?n/(e-1):0))}(t),i);function a(){return L(r,t,{ease:Array.isArray(s)?s:(e=t,n=s,e.map((()=>n||h)).splice(0,e.length-1))});var e,n}let u=a();return{next:t=>(o.value=u(t),o.done=t>=i,o),flipTarget:()=>{t.reverse(),u=a()}}}const W=.001;function Y({duration:t=800,bounce:e=.25,velocity:n=0,mass:s=1}){let o,r;(0,i.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=>{const i=e*a,s=i*t,o=i-n,r=z(e,a),u=Math.exp(-s);return W-o/r*u},r=e=>{const i=e*a*t,s=i*n+n,r=Math.pow(a,2)*Math.pow(e,2)*t,u=Math.exp(-i),c=z(Math.pow(e,2),a);return(-o(e)+W>0?-1:1)*((s-r)*u)/c}):(o=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,r=e=>Math.exp(-e*t)*(t*t*(n-e)));const u=function(t,e,n){let i=n;for(let s=1;s<12;s++)i-=t(i)/e(i);return i}(o,r,5/t);if(t*=1e3,isNaN(u))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(u,2)*s;return{stiffness:e,damping:2*a*Math.sqrt(s*e),duration:t}}}function z(t,e){return t*Math.sqrt(1-e*e)}var H=n(66457);const G=["duration","bounce"],q=["stiffness","damping","mass"];function X(t,e){return e.some((e=>void 0!==t[e]))}function _({keyframes:t,restDelta:e,restSpeed:n,...i}){let s=t[0],o=t[t.length-1];const r={done:!1,value:s},{stiffness:a,damping:u,mass:c,velocity:l,duration:h,isResolvedFromDuration:d}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!X(t,q)&&X(t,G)){const n=Y(t);e={...e,...n,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}(i);let p=K,m=l?-l/1e3:0;const f=u/(2*Math.sqrt(a*c));function g(){const t=o-s,i=Math.sqrt(a/c)/1e3,r=Math.abs(t)<5;if(n||(n=r?.01:2),e||(e=r?.005:.5),f<1){const e=z(i,f);p=n=>{const s=Math.exp(-f*i*n);return o-s*((m+f*i*t)/e*Math.sin(e*n)+t*Math.cos(e*n))}}else if(1===f)p=e=>o-Math.exp(-i*e)*(t+(m+i*t)*e);else{const e=i*Math.sqrt(f*f-1);p=n=>
1{const s=Math.exp(-f*i*n),r=Math.min(e*n,300);return o-s*((m+f*i*t)*Math.sinh(r)+e*t*Math.cosh(r))/e}}}return g(),{next:t=>{const i=p(t);if(d)r.done=t>=h;else{let s=m;if(0!==t)if(f<1){const e=Math.max(0,t-5);s=(0,H.R)(i-p(e),t-e)}else s=0;const a=Math.abs(s)<=n,u=Math.abs(o-i)<=e;r.done=a&&u}return r.value=r.done?o:i,r},flipTarget:()=>{m=-m,[s,o]=[o,s],g()}}}_.needsInterpolation=(t,e)=>"string"===typeof t||"string"===typeof e;const K=t=>0;const J={decay:function({keyframes:t=[0],velocity:e=0,power:n=.8,timeConstant:i=350,restDelta:s=.5,modifyTarget:o}){const r=t[0],a={done:!1,value:r};let u=n*e;const c=r+u,l=void 0===o?c:o(c);return l!==c&&(u=l-r),{next:t=>{const e=-u*Math.exp(-t/i);return a.done=!(e>s||e<-s),a.value=a.done?l:l+e,a},flipTarget:()=>{}}},keyframes:Z,tween:Z,spring:_};function Q(t,e,n=0){return t-e-n}const tt=t=>{const e=({delta:e})=>t(e);return{start:()=>r.Z_.update(e,!0),stop:()=>r.qY.update(e)}};function et({duration:t,driver:e=tt,elapsed:n=0,repeat:i=0,repeatType:s="loop",repeatDelay:o=0,keyframes:r,autoplay:a=!0,onPlay:u,onStop:c,onComplete:l,onRepeat:h,onUpdate:d,type:p="keyframes",...m}){const f=n;let g,v,y=0,x=t,P=!1,b=!0;const w=J[r.length>2?"keyframes":p]||Z,C=r[0],T=r[r.length-1];let A={done:!1,value:C};const{needsInterpolation:S}=w;S&&S(C,T)&&(v=L([0,100],[C,T],{clamp:!1}),r=[0,100]);const E=w({...m,duration:t,keyframes:r});function V(){y++,"reverse"===s?(b=y%2===0,n=function(t,e=0,n=0,i=!0){return i?Q(e+-t,e,n):e-(t-e)+n}(n,x,o,b)):(n=Q(n,x,o),"mirror"===s&&E.flipTarget()),P=!1,h&&h()}function M(t){b||(t=-t),n+=t,P||(A=E.next(Math.max(0,n)),v&&(A.value=v(A.value)),P=b?A.done:n<=0),d&&d(A.value),P&&(0===y&&(x=void 0!==x?x:n),y<i?function(t,e,n,i){return i?t>=e+n:t<=-n}(n,x,o,b)&&V():(g&&g.stop(),l&&l()))}return a&&(u&&u(),g=e(M),g.start()),{stop:()=>{c&&c(),g&&g.stop()},set currentTime(t){n=f,M(t)},sample:e=>{n=f;const i=t&&"number"===typeof t?Math.max(.5*t,50):50;let s=0;for(M(0);s<=e;){const t=e-s;M(Math.min(t,i)),s+=i}return A}}}const nt=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,it={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:nt([0,.65,.55,1]),circOut:nt([.55,0,1,.45]),backIn:nt([.31,.01,.66,-.59]),backOut:nt([.33,1.53,.69,.99])};function st(t){if(t)return Array.isArray(t)?nt(t):it[t]}const ot={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},rt={},at={};for(const Ct in ot)at[Ct]=()=>(void 0===rt[Ct]&&(rt[Ct]=ot[Ct]()),rt[Ct]);const ut=new Set(["opacity"]);function ct(t,e,{onUpdate:n,onComplete:i,...s}){if(!(at.waapi()&&ut.has(e)&&!s.repeatDelay&&"mirror"!==s.repeatType&&0!==s.damping))return!1;let{keyframes:o,duration:a=300,elapsed:u=0,ease:c}=s;if("spring"===s.type||!(!(l=s.ease)||Array.isArray(l)||"string"===typeof l&&it[l])){if(s.repeat===1/0)return;const t=et({...s,elapsed:0});let e={done:!1,value:o[0]};const n=[];let i=0;for(;!e.done&&i<2e4;)e=t.sample(i),n.push(e.value),i+=10;o=n,a=i-10,c="linear"}var l;const h=function(t,e,n,{delay:i=0,duration:s,repeat:o=0,repeatType:r="loop",ease:a,times:u}={}){return t.animate({[e]:n,offset:u},{delay:i,duration:s,easing:st(a),fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"})}(t.owner.current,e,o,{...s,delay:-u,duration:a,ease:c});return h.onfinish=()=>{t.set(function(t,{repeat:e,repeatType:n="loop"}){return t[e&&"loop"!==n&&e%2===1?0:t.length-1]}(o,s)),r.Z_.update((()=>h.cancel())),i&&i()},{get currentTime(){return h.currentTime||0},set currentTime(t){h.currentTime=t},stop:()=>{const{currentTime:e}=h;if(e){const n=et({...s,autoplay:!1});t.setWithVelocity(n.sample(e-10).value,n.sample(e).value,10)}r.Z_.update((()=>h.cancel()))}}}var lt=n(31137);function ht({keyframes:t,elapsed:e,onUpdate:n,onComplete:i}){const s=()=>{n&&n(t[t.length-1]),i&&i()};return e?{stop:(0,lt.g)(s,-e)}:s()}var dt=n(23171);const pt=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),mt=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),ft=()=>({type:"keyframes",ease:"linear",duration:.3}),gt={type:"keyframes",duration:.8},vt={x:pt,y:pt,z:pt,rotate:pt,rotateX:pt,rotateY:pt,rotateZ:pt,scaleX:mt,scaleY:mt,scale:mt,opacity:ft,backgroundColor:ft,color:ft,default:mt},yt=(t,{keyframes:e})=>
1{if(e.length>2)return gt;return(vt[t]||vt.default)(e[1])},xt=(t,e)=>"zIndex"!==t&&(!("number"!==typeof e&&!Array.isArray(e))||!("string"!==typeof e||!T.P.test(e)||e.startsWith("url(")));var Pt=n(89942),bt=n(45740);const wt=(t,e,n,r={})=>a=>{const u=(0,bt.ev)(r,t)||{},c=u.delay||r.delay||0;let{elapsed:l=0}=r;l-=(0,s.w)(c);const h=function(t,e,n,i){const s=xt(e,n);let o=void 0!==i.from?i.from:t.get();return"none"===o&&s&&"string"===typeof n?o=(0,Pt.T)(e,n):(0,bt.Fr)(o)&&"string"===typeof n?o=(0,bt.GZ)(n):!Array.isArray(n)&&(0,bt.Fr)(n)&&"string"===typeof o&&(n=(0,bt.GZ)(o)),Array.isArray(n)?(null===n[0]&&(n[0]=o),n):[o,n]}(e,t,n,u),d=h[0],p=h[h.length-1],m=xt(t,d),f=xt(t,p);(0,i.K)(m===f,`You are trying to animate ${t} from "${d}" to "${p}". ${d} is not an animatable value - to enable this animation set ${d} to a value animatable to ${p} via the \`style\` property.`);let g={keyframes:h,velocity:e.getVelocity(),...u,elapsed:l,onUpdate:t=>{e.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{a(),u.onComplete&&u.onComplete()}};if(!m||!f||o||!1===u.type)return ht(g);if("inertia"===u.type)return function({keyframes:t,velocity:e=0,min:n,max:i,power:s=.8,timeConstant:o=750,bounceStiffness:r=500,bounceDamping:a=10,restDelta:u=1,modifyTarget:c,driver:l,onUpdate:h,onComplete:d,onStop:p}){const m=t[0];let f;function g(t){return void 0!==n&&t<n||void 0!==i&&t>i}function v(t){return void 0===n?i:void 0===i||Math.abs(n-t)<Math.abs(i-t)?n:i}function y(t){f&&f.stop(),f=et({keyframes:[0,1],velocity:0,...t,driver:l,onUpdate:e=>{h&&h(e),t.onUpdate&&t.onUpdate(e)},onComplete:d,onStop:p})}function x(t){y({type:"spring",stiffness:r,damping:a,restDelta:u,...t})}if(g(m))x({velocity:e,keyframes:[m,v(m)]});else{let t=s*e+m;"undefined"!==typeof c&&(t=c(t));const i=v(t),r=i===n?-1:1;let a,l;const h=t=>{a=l,l=t,e=(0,H.R)(t-a,dt.w.delta),(1===r&&t>i||-1===r&&t<i)&&x({keyframes:[t,i],velocity:e})};y({type:"decay",keyframes:[m,0],velocity:e,timeConstant:o,power:s,restDelta:u,modifyTarget:c,onUpdate:g(t)?h:void 0})}return{stop:()=>f&&f.stop()}}(g);if((0,bt.rw)(u)||(g={...g,...yt(t,g)}),g.duration&&(g.duration=(0,s.w)(g.duration)),g.repeatDelay&&(g.repeatDelay=(0,s.w)(g.repeatDelay)),e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){const n=ct(e,t,g);if(n)return n}return et(g)}},47424:function(t,e,n){n.d(e,{C:function(){return i}});const i=t=>Array.isArray(t)},45740:function(t,e,n){n.d(e,{Fr:function(){return o},GZ:function(){return r},ev:function(){return a},rw:function(){return s}});var i=n(89942);function s({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:s,repeat:o,repeatType:r,repeatDelay:a,from:u,elapsed:c,...l}){return!!Object.keys(l).length}function o(t){return 0===t||"string"===typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function r(t){return"number"===typeof t?0:(0,i.T)("",t)}function a(t,e){return t[e]||t.default||t}},51986:function(t,e,n){n.d(e,{p:function(){return i}});const i=(0,n(52983).createContext)({})},7698:function(t,e,n){n.d(e,{O:function(){return i}});const i=(0,n(52983).createContext)(null)},41140:function(t,e,n){n.d(e,{Bn:function(){return r},X7:function(){return a},Z7:function(){return o}});var i=n(68541),s=n(28134);const o=t=>1-Math.sin(Math.acos(t)),r=(0,s.M)(o),a=(0,i.o)(r)},68541:function(t,e,n){n.d(e,{o:function(){return i}});const i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},28134:function(t,e,n){n.d(e,{M:function(){return i}});const i=t=>e=>1-t(1-e)},23171:function(t,e,n){n.d(e,{w:function(){return i}});const i={delta:0,timestamp:0}},18866:function(t,e,n){n.d(e,{qY:function(){return p},iW:function(){return m},Z_:function(){return d}});const i=1/60*1e3,s="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),o="undefined"!==typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(s())),i);var r=n(23171);
1let a=!0,u=!1,c=!1;const l=["read","update","preRender","render","postRender"],h=l.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],i=0,s=!1,o=!1;const r=new WeakSet,a={schedule:(t,o=!1,a=!1)=>{const u=a&&s,c=u?e:n;return o&&r.add(t),-1===c.indexOf(t)&&(c.push(t),u&&s&&(i=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),r.delete(t)},process:u=>{if(s)o=!0;else{if(s=!0,[e,n]=[n,e],n.length=0,i=e.length,i)for(let n=0;n<i;n++){const i=e[n];i(u),r.has(i)&&(a.schedule(i),t())}s=!1,o&&(o=!1,a.process(u))}}};return a}((()=>u=!0)),t)),{}),d=l.reduce(((t,e)=>{const n=h[e];return t[e]=(t,e=!1,i=!1)=>(u||v(),n.schedule(t,e,i)),t}),{}),p=l.reduce(((t,e)=>(t[e]=h[e].cancel,t)),{}),m=l.reduce(((t,e)=>(t[e]=()=>h[e].process(r.w),t)),{}),f=t=>h[t].process(r.w),g=t=>{u=!1,r.w.delta=a?i:Math.max(Math.min(t-r.w.timestamp,40),1),r.w.timestamp=t,c=!0,l.forEach(f),c=!1,u&&(a=!1,o(g))},v=()=>{u=!0,a=!0,c||o(g)}},58642:function(t,e,n){n.d(e,{E:function(){return Fi}});var i=n(52983);const s=(0,i.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),o=(0,i.createContext)({});var r=n(7698),a=n(59127);const u=(0,i.createContext)({strict:!1});function c(t,e,n,c){const l=(0,i.useContext)(o).visualElement,h=(0,i.useContext)(u),d=(0,i.useContext)(r.O),p=(0,i.useContext)(s).reducedMotion,m=(0,i.useRef)();c=c||h.renderer,!m.current&&c&&(m.current=c(t,{visualState:e,parent:l,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p}));const f=m.current;(0,i.useInsertionEffect)((()=>{f&&f.update(n,d)})),(0,a.L)((()=>{f&&f.render()})),(0,i.useEffect)((()=>{f&&f.updateFeatures()}));return(window.HandoffAppearAnimations?a.L:i.useEffect)((()=>{f&&f.animationState&&f.animationState.animateChanges()})),f}function l(t){return"object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function h(t){return"string"===typeof t||Array.isArray(t)}function d(t){return"object"===typeof t&&"function"===typeof t.start}const p=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function m(t){return d(t.animate)||p.some((e=>h(t[e])))}function f(t){return Boolean(m(t)||t.variants)}function g(t){const{initial:e,animate:n}=function(t,e){if(m(t)){const{initial:e,animate:n}=t;return{initial:!1===e||h(e)?e:void 0,animate:h(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(o));return(0,i.useMemo)((()=>({initial:e,animate:n})),[v(e),v(n)])}function v(t){return Array.isArray(t)?t.join(" "):t}const y={animation:["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},x={};for(const Ii in y)x[Ii]={isEnabled:t=>y[Ii].some((e=>!!t[e]))};var P=n(26895),b=n(30817);const w={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let C=1;var T=n(51986);const A=(0,i.createContext)({}),S=Symbol.for("motionComponentSymbol");function E({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:a}){t&&function(t){for(const e in t)x[e]={...x[e],...t[e]}}(t);const h=(0,i.forwardRef)((function(h,d){let p;const m={...(0,i.useContext)(s),...h,layoutId:V(h)},{isStatic:f}=m,v=g(h),y=f?void 0:(0,b.h)((()=>{if(w.hasEverUpdated)return C++})),x=r(h,f);if(!f&&P.j){v.visualElement=c(a,x,m,e);const n=(0,i.useContext)(A),s=(0,i.useContext)(u).strict;v.visualElement&&(p=v.visualElement.loadFeatures(m,s,t,y,n))}return i.createElement(o.Provider,{value:v},p&&v.visualElement?i.createElement(p,{visualElement:v.visualElement,...m}):null,n(a,h,y,function(t,e,n){return(0,i.useCallback)((i=>{i&&t.mount&&t.mount(i),e&&(i?e.mount(i):e.unmount()),n&&("function"===typeof n?n(i):l(n)&&(n.current=i))}),[e])}(x,v.visualElement,d),x,f,v.visualElement))}));return h[S]=a,h}function V({layoutId:t}){const e=(0,i.useContext)(T.p).id;return e&&void 0!==t?e+"-"+t:t}function M(t){function e(e,n={}){return E(t(e,n))}if("undefined"===typeof Proxy)return e;const n=new Map;return new Proxy(e,{get:(t,i)=>(n.has(i)||n.set(i,e(i)),n.get(i))})}const k=["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 D(t){return"string"===typeof t&&!t.includes("-")&&!!(k.indexOf(t)>-1||/[A-Z]/.test(t))}const L={};var R=n(5040);function B(t,{layout:e,layoutId:n}){return R.G.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!L[t]||"opacity"===t)}var F=n(9430);const j={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I=R._.length;function O(t){return t.startsWith("--")}const $=(t,e)=>e&&"number"===typeof t?e.transform(t):t;var U=n(71913);function N(t,e,n,i){const{style:s,vars:o,transform:r,transformOrigin:a}=t;
1let u=!1,c=!1,l=!0;for(const h in e){const t=e[h];if(O(h)){o[h]=t;continue}const n=U.j[h],i=$(t,n);if(R.G.has(h)){if(u=!0,r[h]=i,!l)continue;t!==(n.default||0)&&(l=!1)}else h.startsWith("origin")?(c=!0,a[h]=i):s[h]=i}if(e.transform||(u||i?s.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},i,s){let o="";for(let r=0;r<I;r++){const e=R._[r];void 0!==t[e]&&(o+=`${j[e]||e}(${t[e]}) `)}return e&&!t.z&&(o+="translateZ(0)"),o=o.trim(),s?o=s(t,i?"":o):n&&i&&(o="none"),o}(t.transform,n,l,i):s.transform&&(s.transform="none")),c){const{originX:t="50%",originY:e="50%",originZ:n=0}=a;s.transformOrigin=`${t} ${e} ${n}`}}const Z=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function W(t,e,n){for(const i in e)(0,F.i)(e[i])||B(i,n)||(t[i]=e[i])}function Y(t,e,n){const s={};return W(s,t.style||{},t),Object.assign(s,function({transformTemplate:t},e,n){return(0,i.useMemo)((()=>{const i={style:{},transform:{},transformOrigin:{},vars:{}};return N(i,e,{enableHardwareAcceleration:!n},t),Object.assign({},i.vars,i.style)}),[e])}(t,e,n)),t.transformValues?t.transformValues(s):s}function z(t,e,n){const i={},s=Y(t,e,n);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=s,i}const H=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function G(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||H.has(t)}let q=t=>!G(t);try{(X=require("@emotion/is-prop-valid").default)&&(q=t=>t.startsWith("on")?!G(t):X(t))}catch(ji){}var X;var _=n(22596);function K(t,e,n){return"string"===typeof t?t:_.px.transform(e+n*t)}const J={offset:"stroke-dashoffset",array:"stroke-dasharray"},Q={offset:"strokeDashoffset",array:"strokeDasharray"};function tt(t,{attrX:e,attrY:n,originX:i,originY:s,pathLength:o,pathSpacing:r=1,pathOffset:a=0,...u},c,l,h){if(N(t,u,c,h),l)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:d,style:p,dimensions:m}=t;d.transform&&(m&&(p.transform=d.transform),delete d.transform),m&&(void 0!==i||void 0!==s||p.transform)&&(p.transformOrigin=function(t,e,n){return`${K(e,t.x,t.width)} ${K(n,t.y,t.height)}`}(m,void 0!==i?i:.5,void 0!==s?s:.5)),void 0!==e&&(d.x=e),void 0!==n&&(d.y=n),void 0!==o&&function(t,e,n=1,i=0,s=!0){t.pathLength=1;const o=s?J:Q;t[o.offset]=_.px.transform(-i);const r=_.px.transform(e),a=_.px.transform(n);t[o.array]=`${r} ${a}`}(d,o,r,a,!1)}const et=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),nt=t=>"string"===typeof t&&"svg"===t.toLowerCase();function it(t,e,n,s){const o=(0,i.useMemo)((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return tt(n,e,{enableHardwareAcceleration:!1},nt(s),t.transformTemplate),{...n.attrs,style:{...n.style}}}),[e]);if(t.style){const e={};W(e,t.style,t),o.style={...e,...o.style}}return o}function st(t=!1){return(e,n,s,o,{latestValues:r},a)=>{const u=(D(e)?it:z)(n,r,a,e),c=function(t,e,n){const i={};for(const s in t)"values"===s&&"object"===typeof t.values||(q(s)||!0===n&&G(s)||!e&&!G(s)||t.draggable&&s.startsWith("onDrag"))&&(i[s]=t[s]);return i}(n,"string"===typeof e,t),l={...c,...u,ref:o},{children:h}=n,d=(0,i.useMemo)((()=>(0,F.i)(h)?h.get():h),[h]);return s&&(l["data-projection-id"]=s),(0,i.createElement)(e,{...l,children:d})}}var ot=n(14262);function rt(t,{style:e,vars:n},i,s){Object.assign(t.style,e,s&&s.getProjectionStyles(i));for(const o in n)t.style.setProperty(o,n[o])}const at=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 ut(t,e,n,i){rt(t,e,void 0,i);for(const s in e.attrs)t.setAttribute(at.has(s)?s:(0,ot.D)(s),e.attrs[s])}function ct(t,e){const{style:n}=t,i={};for(const s in n)((0,F.i)(n[s])||e.style&&(0,F.i)(e.style[s])||B(s,t))&&(i[s]=n[s]);return i}function lt(t,e){const n=ct(t,e);for(const i in t)if((0,F.i)(t[i])||(0,F.i)(e[i])){n["x"===i||"y"===i?"attr"+i.toUpperCase():i]=t[i]}return n}var ht=n(30560),dt=n(17334);function pt(t){const e=(0,F.i)(t)?t.get():t;return(0,dt.p)(e)?e.toValue():e}const mt=t=>
1(e,n)=>{const s=(0,i.useContext)(o),a=(0,i.useContext)(r.O),u=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},i,s,o){const r={latestValues:ft(i,s,o,t),renderState:e()};return n&&(r.mount=t=>n(i,t,r)),r}(t,e,s,a);return n?u():(0,b.h)(u)};function ft(t,e,n,i){const s={},o=i(t,{});for(const d in o)s[d]=pt(o[d]);let{initial:r,animate:a}=t;const u=m(t),c=f(t);e&&c&&!u&&!1!==t.inherit&&(void 0===r&&(r=e.initial),void 0===a&&(a=e.animate));let l=!!n&&!1===n.initial;l=l||!1===r;const h=l?a:r;if(h&&"boolean"!==typeof h&&!d(h)){(Array.isArray(h)?h:[h]).forEach((e=>{const n=(0,ht.o)(t,e);if(!n)return;const{transitionEnd:i,transition:o,...r}=n;for(const t in r){let e=r[t];if(Array.isArray(e)){e=e[l?e.length-1:0]}null!==e&&(s[t]=e)}for(const t in i)s[t]=i[t]}))}return s}const gt={useVisualState:mt({scrapeMotionValuesFromProps:lt,createRenderState:et,onMount:(t,e,{renderState:n,latestValues:i})=>{try{n.dimensions="function"===typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(s){n.dimensions={x:0,y:0,width:0,height:0}}tt(n,i,{enableHardwareAcceleration:!1},nt(e.tagName),t.transformTemplate),ut(e,n)}})},vt={useVisualState:mt({scrapeMotionValuesFromProps:ct,createRenderState:Z})};function yt(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}const xt=t=>"mouse"===t.pointerType?"number"!==typeof t.button||t.button<=0:!1!==t.isPrimary;function Pt(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}function bt(t,e,n,i){return yt(t,e,(t=>e=>xt(e)&&t(e,Pt(e)))(n),i)}var wt;!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(wt||(wt={}));var Ct=n(68822);function Tt(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}const At=Tt("dragHorizontal"),St=Tt("dragVertical");function Et(t){let e=!1;if("y"===t)e=St();else if("x"===t)e=At();else{const t=At(),n=St();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function Vt(){const t=Et(!0);return!t||(t(),!1)}class Mt{constructor(t){this.isMounted=!1,this.node=t}update(){}}function kt(t,e){const n="pointer"+(e?"enter":"leave"),i="onHover"+(e?"Start":"End");return bt(t.current,n,((n,s)=>{if("touch"===n.type||Vt())return;const o=t.getProps();t.animationState&&o.whileHover&&t.animationState.setActive(wt.Hover,e),o[i]&&o[i](n,s)}),{passive:!t.getProps()[i]})}const Dt=(t,e)=>!!e&&(t===e||Dt(t,e.parentElement));var Lt=n(38413);function Rt(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,Pt(n))}const Bt=new WeakMap,Ft=new WeakMap,jt=t=>{const e=Bt.get(t.target);e&&e(t)},It=t=>{t.forEach(jt)};function Ot(t,e,n){const i=function({root:t,...e}){const n=t||document;Ft.has(n)||Ft.set(n,{});const i=Ft.get(n),s=JSON.stringify(e);return i[s]||(i[s]=new IntersectionObserver(It,{root:t,...e})),i[s]}(e);return Bt.set(t,n),i.observe(t),()=>{Bt.delete(t),i.unobserve(t)}}const $t={some:0,all:1};const Ut={inView:{Feature:class extends Mt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}viewportFallback(){requestAnimationFrame((()=>{this.hasEnteredView=!0;const{onViewportEnter:t}=this.node.getProps();t&&t(null),this.node.animationState&&this.node.animationState.setActive(wt.InView,!0)}))}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:s,fallback:o=!0}=t;if("undefined"===typeof IntersectionObserver)return void(o&&this.viewportFallback());const r={root:e?e.current:void 0,rootMargin:n,threshold:"number"===typeof i?i:$t[i]};return Ot(this.node.current,r,(t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(wt.InView,e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)}))}mount(){this.startObserver()}update(){if("undefined"===typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Mt{constructor(){super(...arguments),this.removeStartListeners=Lt.Z,this.removeEndListeners=Lt.Z,this.removeAccessibleListeners=Lt.Z,this.startPointerPress=(t,e)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),i=bt(window,"pointerup",((t,e)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:i}=this.node.getProps();Dt(this.node.current,t.target)?n&&n(t,e):i&&i(t,e)}),{passive:!(n.onTap||n.onPointerUp)}),s=bt(window,"pointercancel",((t,e)=>this.cancelPress(t,e)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,Ct.z)(i,s),this.startPress(t,e)},this.startAccessiblePress=()=>{const t=yt(this.node.current,"keydown",(t=>{if("Enter"!==t.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=yt(this.node.current,"keyup",(t=>{"Enter"===t.key&&this.checkPressEnd()&&Rt("up",this.node.getProps().onTap)})),Rt("down",((t,e)=>{this.startPress(t,e)}))}
1)),e=yt(this.node.current,"blur",(()=>{this.isPressing&&Rt("cancel",((t,e)=>this.cancelPress(t,e)))}));this.removeAccessibleListeners=(0,Ct.z)(t,e)}}startPress(t,e){this.isPressing=!0;const{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive(wt.Tap,!0),n&&n(t,e)}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive(wt.Tap,!1),!Vt()}cancelPress(t,e){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&n(t,e)}mount(){const t=this.node.getProps(),e=bt(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=yt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,Ct.z)(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Mt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive(wt.Focus,!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive(wt.Focus,!1),this.isActive=!1)}mount(){this.unmount=(0,Ct.z)(yt(this.node.current,"focus",(()=>this.onFocus())),yt(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends Mt{mount(){this.unmount=(0,Ct.z)(kt(this.node,!0),kt(this.node,!1))}unmount(){}}}};var Nt=n(47424);function Zt(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}var Wt=n(28937),Yt=n(64514);const zt=[wt.Animate,wt.InView,wt.Focus,wt.Hover,wt.Tap,wt.Drag,wt.Exit],Ht=[...zt].reverse(),Gt=zt.length;function qt(t){let e=function(t){return e=>Promise.all(e.map((({animation:e,options:n})=>(0,Wt.d5)(t,e,n))))}(t);const n={[wt.Animate]:_t(!0),[wt.InView]:_t(),[wt.Hover]:_t(),[wt.Tap]:_t(),[wt.Drag]:_t(),[wt.Focus]:_t(),[wt.Exit]:_t()};let i=!0;const s=(e,n)=>{const i=(0,Yt.x)(t,n);if(i){const{transition:t,transitionEnd:n,...s}=i;e={...e,...s,...n}}return e};function o(o,r){const a=t.getProps(),u=t.getVariantContext(!0)||{},c=[],l=new Set;let p={},m=1/0;for(let e=0;e<Gt;e++){const f=Ht[e],g=n[f],v=void 0!==a[f]?a[f]:u[f],y=h(v),x=f===r?g.isActive:null;!1===x&&(m=e);let P=v===u[f]&&v!==a[f]&&y;if(P&&i&&t.manuallyAnimateOnMount&&(P=!1),g.protectedKeys={...p},!g.isActive&&null===x||!v&&!g.prevProp||d(v)||"boolean"===typeof v)continue;const b=Xt(g.prevProp,v);let w=b||f===r&&g.isActive&&!P&&y||e>m&&y;const C=Array.isArray(v)?v:[v];let T=C.reduce(s,{});!1===x&&(T={});const{prevResolvedValues:A={}}=g,S={...A,...T},E=t=>{w=!0,l.delete(t),g.needsAnimating[t]=!0};for(const t in S){const e=T[t],n=A[t];p.hasOwnProperty(t)||(e!==n?(0,Nt.C)(e)&&(0,Nt.C)(n)?!Zt(e,n)||b?E(t):g.protectedKeys[t]=!0:void 0!==e?E(t):l.add(t):void 0!==e&&l.has(t)?E(t):g.protectedKeys[t]=!0)}g.prevProp=v,g.prevResolvedValues=T,g.isActive&&(p={...p,...T}),i&&t.blockInitialAnimation&&(w=!1),w&&!P&&c.push(...C.map((t=>({animation:t,options:{type:f,...o}}))))}if(l.size){const e={};l.forEach((n=>{const i=t.getBaseTarget(n);void 0!==i&&(e[n]=i)})),c.push({animation:e})}let f=Boolean(c.length);return i&&!1===a.initial&&!t.manuallyAnimateOnMount&&(f=!1),i=!1,f?e(c):Promise.resolve()}return{animateChanges:o,setActive:function(e,i,s){if(n[e].isActive===i)return Promise.resolve();t.variantChildren&&t.variantChildren.forEach((t=>{t.animationState&&t.animationState.setActive(e,i)})),n[e].isActive=i;const r=o(s,e);for(const t in n)n[t].protectedKeys={};return r},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}function Xt(t,e){return"string"===typeof e?e!==t:!!Array.isArray(e)&&!Zt(e,t)}function _t(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Kt=0;const Jt={animation:{Feature:class extends Mt{constructor(t){super(t),t.animationState||(t.animationState=qt(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();
vendor: 11,226 bytes, line 1
1this.unmount(),d(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Mt{constructor(){super(...arguments),this.id=Kt++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e,custom:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const s=this.node.animationState.setActive(wt.Exit,!t,{custom:null!==n&&void 0!==n?n:this.node.getProps().custom});e&&!t&&s.then((()=>e(this.id)))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}};var Qt=n(60694),te=n(18866),ee=n(84006);const ne=(t,e)=>Math.abs(t-e);var ie=n(23171);class se{constructor(t,e,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=ae(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=ne(t.x,e.x),i=ne(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:i}=t,{timestamp:s}=ie.w;this.history.push({...i,timestamp:s});const{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=oe(e,this.transformPagePoint),te.Z_.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:i}=this.handlers,s=ae("pointercancel"===t.type?this.lastMoveEventInfo:oe(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,s),i&&i(t,s)},!xt(t))return;this.handlers=e,this.transformPagePoint=n;const i=oe(Pt(t),this.transformPagePoint),{point:s}=i,{timestamp:o}=ie.w;this.history=[{...s,timestamp:o}];const{onSessionStart:r}=e;r&&r(t,ae(i,this.history)),this.removeListeners=(0,Ct.z)(bt(window,"pointermove",this.handlePointerMove),bt(window,"pointerup",this.handlePointerUp),bt(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),te.qY.update(this.updatePoint)}}function oe(t,e){return e?{point:e(t.point)}:t}function re(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ae({point:t},e){return{point:t,delta:re(t,ce(e)),offset:re(t,ue(e)),velocity:le(e,.1)}}function ue(t){return t[0]}function ce(t){return t[t.length-1]}function le(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const s=ce(t);for(;n>=0&&(i=t[n],!(s.timestamp-i.timestamp>(0,ee.w)(e)));)n--;if(!i)return{x:0,y:0};const o=(s.timestamp-i.timestamp)/1e3;if(0===o)return{x:0,y:0};const r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}var he=n(31111),de=n(64063);function pe(t){return t.max-t.min}function me(t,e=0,n=.01){return Math.abs(t-e)<=n}function fe(t,e,n,i=.5){t.origin=i,t.originPoint=(0,de.C)(e.min,e.max,t.origin),t.scale=pe(n)/pe(e),(me(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,de.C)(n.min,n.max,t.origin)-t.originPoint,(me(t.translate)||isNaN(t.translate))&&(t.translate=0)}function ge(t,e,n,i){fe(t.x,e.x,n.x,i?i.originX:void 0),fe(t.y,e.y,n.y,i?i.originY:void 0)}function ve(t,e,n){t.min=n.min+e.min,t.max=t.min+pe(e)}function ye(t,e,n){t.min=e.min-n.min,t.max=t.min+pe(e)}function xe(t,e,n){ye(t.x,e.x,n.x),ye(t.y,e.y,n.y)}var Pe=n(15585);function be(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function we(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}const Ce=.35;function Te(t,e,n){return{min:Ae(t,e),max:Ae(t,n)}}function Ae(t,e){return"number"===typeof t?t:t[e]||0}function Se(t){return[t("x"),t("y")]}function Ee({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function Ve(t){return void 0===t||1===t}function Me({scale:t,scaleX:e,scaleY:n}){return!Ve(t)||!Ve(e)||!Ve(n)}function ke(t){return Me(t)||De(t)||t.z||t.rotate||t.rotateX||t.rotateY}function De(t){return Le(t.x)||Le(t.y)}function Le(t){return t&&"0%"!==t}function Re(t,e,n){return n+e*(t-n)}function Be(t,e,n,i,s){return void 0!==s&&(t=Re(t,s,i)),Re(t,n,i)+e}function Fe(t,e=0,n=1,i,s){t.min=Be(t.min,e,n,i,s),t.max=Be(t.max,e,n,i,s)}function je(t,{x:e,y:n}){Fe(t.x,e.translate,e.scale,e.originPoint),Fe(t.y,n.translate,n.scale,n.originPoint)}function Ie(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function Oe(t,e){t.min=t.min+e,t.max=t.max+e}function $e(t,e,[n,i,s]){const o=void 0!==e[s]?e[s]:.5,r=(0,de.C)(t.min,t.max,o);Fe(t,e[n],e[i],r,e.scale)}const Ue=["x","scaleX","originX"],Ne=["y","scaleY","originY"];function Ze(t,e){$e(t.x,e,Ue),$e(t.y,e,Ne)}function We(t,e){return Ee(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}var Ye=n(32175);const ze=new WeakMap;class He{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={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new se(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor(Pt(t,"page").point)},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:s}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Et(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Se((t=>{let e=this.getAxisMotionValue(t).get()||0;if(_.aQ.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];if(i){e=pe(i)*(parseFloat(e)/100)}}}this.originPoint[t]=e})),s&&s(t,e);const{animationState:o}=this.visualElement;o&&o.setActive(wt.Drag,!0)},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:r}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(r),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=e;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&&s(t,e)}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive(wt.Drag,!1)}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!Ge(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?(0,de.C)(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?(0,de.C)(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:n}=this.visualElement.projection||{},i=this.constraints;t&&l(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,{top:e,left:n,bottom:i,right:s}){return{x:be(t.x,n,s),y:be(t.y,e,i)}}(n.layoutBox,t),this.elastic=function(t=Ce){return!1===t?t=0:!0===t&&(t=Ce),{x:Te(t,"left","right"),y:Te(t,"top","bottom")}}(e),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Se((t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!l(t))return!1;const n=t.current;(0,Qt.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=function(t,e,n){const i=We(t,n),{scroll:s}=e;return s&&(Oe(i.x,s.offset.x),Oe(i.y,s.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:we(t.x,e.x),y:we(t.y,e.y)}}(i.layout.layoutBox,s);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=Ee(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},u=Se((r=>{if(!Ge(r,e,this.currentDirection))return;let u=a&&a[r]||{};o&&(u={min:0,max:0});const c=i?200:1e6,l=i?40:1e7,h={type:"inertia",velocity:n?t[r]:0,bounceStiffness:c,bounceDamping:l,timeConstant:750,restDelta:1,restSpeed:10,...s,...u};return this.startAxisValueAnimation(r,h)}));return Promise.all(u).then(r)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return n.start((0,Ye.Z)(t,n,0,e))}stopAnimation(){Se((t=>this.getAxisMotionValue(t).stop()))}getAxisMotionValue(t){const e="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),i=n[e];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Se((e=>{const{drag:n}=this.getProps();if(!Ge(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[e];s.set(t[e]-(0,de.C)(n,o,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!l(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Se((t=>{const e=this.getAxisMotionValue(t);if(e){const n=e.get();i[t]=function(t,e){let n=.5;const i=pe(t),s=pe(e);return s>i?n=(0,he.Y)(e.min,e.max-i,t.min):i>s&&(n=(0,he.Y)(t.min,t.max-s,e.min)),(0,Pe.u)(0,1,n)}({min:n,max:n},this.constraints[t])}}));const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Se((e=>{if(!Ge(e,t,null))return;const n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set((0,de.C)(s,o,i[e]))}))}addListeners(){if(!this.visualElement.current)return;ze.set(this.visualElement,this);const t=bt(this.visualElement.current,"pointerdown",(t=>{const{drag:e,dragListener:n=!0}
1=this.getProps();e&&n&&this.start(t)})),e=()=>{const{dragConstraints:t}=this.getProps();l(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),e();const s=yt(window,"resize",(()=>this.scalePositionWithinConstraints())),o=n.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(Se((e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))})),this.visualElement.render())}));return()=>{s(),t(),i(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=Ce,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r}}}function Ge(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}function qe(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Xe={correct:(t,e)=>{if(!e.target)return t;if("string"===typeof t){if(!_.px.test(t))return t;t=parseFloat(t)}return`${qe(t,e.target.x)}% ${qe(t,e.target.y)}%`}};function _e(t){return"string"===typeof t&&t.startsWith("var(--")}const Ke=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Je(t,e,n=1){(0,Qt.k)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[i,s]=function(t){const e=Ke.exec(t);if(!e)return[,];const[,n,i]=e;return[n,i]}(t);if(!i)return;const o=window.getComputedStyle(e).getPropertyValue(i);return o?o.trim():_e(s)?Je(s,e,n+1):s}var Qe=n(26480);const tn="_$css",en={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,s=t.includes("var("),o=[];s&&(t=t.replace(Ke,(t=>(o.push(t),tn))));const r=Qe.P.parse(t);if(r.length>5)return i;const a=Qe.P.createTransformer(t),u="number"!==typeof r[0]?1:0,c=n.x.scale*e.x,l=n.y.scale*e.y;r[0+u]/=c,r[1+u]/=l;const h=(0,de.C)(c,l,.5);"number"===typeof r[2+u]&&(r[2+u]/=h),"number"===typeof r[3+u]&&(r[3+u]/=h);let d=a(r);if(s){let t=0;d=d.replace(tn,(()=>{const e=o[t];return t++,e}))}return d}};class nn extends i.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:s}=t;var o;o=on,Object.assign(L,o),s&&(e.group&&e.group.add(s),n&&n.register&&i&&n.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(()=>{this.safeToRemove()})),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),w.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,o=n.projection;return o?(o.isPresent=s,i||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||te.Z_.postRender((()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function sn(t){const[e,n]=function(){const t=(0,i.useContext)(r.O);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:s}=t,o=(0,i.useId)();return(0,i.useEffect)((()=>s(o)),[]),!e&&n?[!1,()=>n&&n(o)]:[!0]}(),s=(0,i.useContext)(T.p);return i.createElement(nn,{...t,layoutGroup:s,switchLayoutGroup:(0,i.useContext)(A),isPresent:e,safeToRemove:n})}const on={borderRadius:{...Xe,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xe,borderTopRightRadius:Xe,borderBottomLeftRadius:Xe,borderBottomRightRadius:Xe,boxShadow:en};var rn=n(19811);var an=n(93827),un=n(41140);const cn=["TopLeft","TopRight","BottomLeft","BottomRight"],ln=cn.length,hn=t=>"string"===typeof t?parseFloat(t):t,dn=t=>"number"===typeof t||_.px.test(t);function pn(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const mn=gn(0,.5,un.Bn),fn=gn(.5,.95,Lt.Z);function gn(t,e,n){return i=>i<t?0:i>e?1:n((0,he.Y)(t,e,i))}function vn(t,e){t.min=e.min,t.max=e.max}function yn(t,e){vn(t.x,e.x),vn(t.y,e.y)}function xn(t,e,n,i,s){return t=Re(t-=e,1/n,i),void 0!==s&&(t=Re(t,1/s,i)),t}function Pn(t,e,[n,i,s],o,r){!function(t,e=0,n=1,i=.5,s,o=t,r=t){_.aQ.test(e)&&(e=parseFloat(e),e=(0,de.C)(r.min,r.max,e/100)-r.min);if("number"!==typeof e)return;let a=(0,de.C)(o.min,o.max,i);t===o&&(a-=e),t.min=xn(t.min,e,n,a,s),t.max=xn(t.max,e,n,a,s)}(t,e[n],e[i],e[s],e.scale,o,r)}const bn=["x","scaleX","originX"],wn=["y","scaleY","originY"];function Cn(t,e,n,i){Pn(t.x,e,bn,n?n.x:void 0,i?i.x:void 0),Pn(t.y,e,wn,n?n.y:void 0,i?i.y:void 0)}var Tn=n(45740);function An(t){return 0===t.translate&&1===t.scale}function Sn(t){return An(t.x)&&An(t.y)}function En(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 Vn(t){return pe(t.x)/pe(t.y)}var Mn=n(71471);class kn{constructor(){this.members=[]}add(t){(0,Mn.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,Mn.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}
vendor: 5,236 bytes, line 1
1}relegate(t){const e=this.members.findIndex((e=>t===e));if(0===e)return!1;let n;for(let i=e;i>=0;i--){const t=this.members[i];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach((t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((t=>{t.instance&&t.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Dn(t,e,n){let i="";const s=t.x.translate/e.x,o=t.y.translate/e.y;if((s||o)&&(i=`translate3d(${s}px, ${o}px, 0) `),1===e.x&&1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{rotate:t,rotateX:e,rotateY:s}=n;t&&(i+=`rotate(${t}deg) `),e&&(i+=`rotateX(${e}deg) `),s&&(i+=`rotateY(${s}deg) `)}const r=t.x.scale*e.x,a=t.y.scale*e.y;return 1===r&&1===a||(i+=`scale(${r}, ${a})`),i||"none"}const Ln=(t,e)=>t.depth-e.depth;class Rn{constructor(){this.children=[],this.isDirty=!1}add(t){(0,Mn.y4)(this.children,t),this.isDirty=!0}remove(t){(0,Mn.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Ln),this.isDirty=!1,this.children.forEach(t)}}var Bn=n(31137);const Fn=["","X","Y","Z"];let jn=0;function In({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(t,n={},i=(null===e||void 0===e?void 0:e())){this.id=jn++,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(Un),this.nodes.forEach(zn),this.nodes.forEach(Hn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=t,this.latestValues=n,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Rn)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new an.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}registerPotentialNode(t,e){this.potentialNodes.set(t,e)}mount(e,n=!1){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;const{layoutId:i,layout:s,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),n&&(s||i)&&(this.isLayoutDirty=!0),t){let n;const i=()=>this.root.updateBlockedByResize=!1;t(e,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=(0,Bn.g)(i,250),w.hasAnimatedSinceResize&&(w.hasAnimatedSinceResize=!1,this.nodes.forEach(Yn))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||s)&&this.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const s=this.options.transition||o.getDefaultTransition()||Jn,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=o.getProps(),u=!this.targetLayout||!En(this.targetLayout,i)||n,c=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||e&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,c);const e={...(0,Tn.ev)(s,"layout"),onPlay:r,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||0!==this.animationProgress||Yn(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,te.qY.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(Gn),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Zn);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Qn),this.potentialNodes.clear()),this.nodes.forEach(Wn),this.nodes.forEach(On),this.nodes.forEach($n),this.clearAllSnapshots(),te.iW.update(),te.iW.preRender(),te.iW.render())}clearAllSnapshots(){this.nodes.forEach(Nn),this.sharedNodes.forEach(qn)}scheduleUpdateProjection(){te.Z_.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){te.Z_.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}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:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!s)return;const t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!Sn(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&(e||ke(this.latestValues)||o)&&(s(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),ti((i=n).x),ti(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const e=t.measureViewportBox(),{scroll:n}=this.root;return n&&(Oe(e.x,n.offset.x),Oe(e.y,n.offset.y)),e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};yn(e,t);for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:s,options:o}=i;if(i!==this.root&&s&&o.layoutScroll){if(s.isRoot){yn(e,t);const{scroll:n}=this.root;n&&(Oe(e.x,-n.offset.x),Oe(e.y,-n.offset.y))}Oe(e.x,s.offset.x),Oe(e.y,s.offset.y)}}return e}applyTransform(t,e=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};yn(n,t);for(let i=0;i<this.path.length;i++){const t=this.path[i];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&Ze(n,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),ke(t.latestValues)&&Ze(n,t.latestValues)}return ke(this.latestValues)&&Ze(n,this.latestValues),n}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};yn(e,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!t.instance)continue;if(!ke(t.latestValues))continue;Me(t.latestValues)&&t.updateSnapshot();const i={x:{min:0,max:0},y:{min:0,max:0}};yn(i,t.measurePageBox()),Cn(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,i)}return ke(this.latestValues)&&Cn(e,this.latestValues),e}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(){const t=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;const{layout:e,layoutId:n}=this.options;if(this.layout&&(e||n)){if(!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout?(this.relativeParent=t,this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},xe(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),yn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}var i,s,o;if(this.relativeTarget||this.targetDelta)if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(i=this.target,s=this.relativeTarget,o=this.relativeParent.target,ve(i.x,s.x,o.x),ve(i.y,s.y,o.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):yn(this.target,this.layout.layoutBox),je(this.target,this.targetDelta)):yn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target?(this.relativeParent=t,this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},xe(this.relativeTargetOrigin,this.target,t.target),yn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(this.parent&&!Me(this.parent.latestValues)&&!De(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta||this.parent.options.layoutRoot)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){const{isProjectionDirty:t,isTransformDirty:e}=this;this.isProjectionDirty=this.isTransformDirty=!1;const n=this.getLead(),i=Boolean(this.resumingFrom)||this!==n;let s=!0;if(t&&(s=!1),i&&e&&(s=!1),s)return;const{layout:o,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!r)return;yn(this.layoutCorrected,this.layout.layoutBox),function(t,e,n,i=!1){const s=n.length;if(!s)return;let o,r;e.x=e.y=1;for(let a=0;a<s;a++){o=n[a],r=o.projectionDelta;const s=o.instance;s&&s.style&&"contents"===s.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Ze(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,je(t,r)),i&&ke(o.latestValues)&&Ze(t,o.latestValues))}e.x=Ie(e.x),e.y=Ie(e.y)}(this.layoutCorrected,this.treeScale,this.path,i);const{target:a}=n;if(!a)return;this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const u=this.treeScale.x,c=this.treeScale.y,l=this.projectionTransform;ge(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.projectionTransform=Dn(this.projectionDelta,this.treeScale),this.projectionTransform===l&&this.treeScale.x===u&&this.treeScale.y===c||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){const n=this.snapshot,i=n?n.latestValues:{},s={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const r={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,l=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Kn));this.animationProgress=0,this.mixTargetDelta=e=>{const n=e/1e3;var u,h,d,p;Xn(o.x,t.x,n),Xn(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(xe(r,this.layout.layoutBox,this.relativeParent.layout.layoutBox),u=this.relativeTarget,h=this.relativeTargetOrigin,d=r,p=n,_n(u.x,h.x,d.x,p),_n(u.y,h.y,d.y,p)),a&&(this.animationValues=s,function(t,e,n,i,s,o){s?(t.opacity=(0,de.C)(0,void 0!==n.opacity?n.opacity:1,mn(i)),t.opacityExit=(0,de.C)(void 0!==e.opacity?e.opacity:1,0,fn(i))):o&&(t.opacity=(0,de.C)(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r<ln;r++){const s=`border${cn[r]}Radius`;let o=pn(e,s),a=pn(n,s);void 0===o&&void 0===a||(o||(o=0),a||(a=0),0===o||0===a||dn(o)===dn(a)?(t[s]=Math.max((0,de.C)(hn(o),hn(a),i),0),(_.aQ.test(a)||_.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||n.rotate)&&(t.rotate=(0,de.C)(e.rotate||0,n.rotate||0,i))}(s,i,this.latestValues,n,l,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(te.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=te.Z_.update((()=>{w.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n={}){const i=(0,F.i)(t)?t:(0,rn.B)(t);return i.start((0,Ye.Z)("",i,e,n)),{stop:()=>i.stop(),isAnimating:()=>i.isAnimating()}}(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:s}=t;
vendor: 5,862 bytes, line 1
1if(e&&n&&i){if(this!==t&&this.layout&&i&&ei(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=pe(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=pe(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}yn(e,n),Ze(e,s),ge(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new kn);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(e=!0),!e)return;const i={};for(let s=0;s<Fn.length;s++){const e="rotate"+Fn[s];n[e]&&(i[e]=n[e],t.setStaticValue(e,0))}t.render();for(const s in i)t.setStaticValue(s,i[s]);t.scheduleRender()}getProjectionStyles(t={}){var e,n;const i={};if(!this.instance||this.isSVG)return i;if(!this.isVisible)return{visibility:"hidden"};i.visibility="";const s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=pt(t.pointerEvents)||"",i.transform=s?s(this.latestValues,""):"none",i;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=pt(t.pointerEvents)||""),this.hasProjected&&!ke(this.latestValues)&&(e.transform=s?s({},""):"none",this.hasProjected=!1),e}const r=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=Dn(this.projectionDeltaWithTransform,this.treeScale,r),s&&(i.transform=s(r,i.transform));const{x:a,y:u}=this.projectionDelta;i.transformOrigin=`${100*a.origin}% ${100*u.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(n=null!==(e=r.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:i.opacity=o===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0;for(const c in L){if(void 0===r[c])continue;const{correct:t,applyTo:e}=L[c],n="none"===i.transform?r[c]:t(r[c],o);if(e){const t=e.length;for(let s=0;s<t;s++)i[e[s]]=n}else i[c]=n}return this.options.layoutId&&(i.pointerEvents=o===this?pt(t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(Zn),this.root.sharedNodes.clear()}}}function On(t){t.updateLayout()}function $n(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:i}=t.layout,{animationType:s}=t.options,o=n.source!==t.layout.source;"size"===s?Se((t=>{const i=o?n.measuredBox[t]:n.layoutBox[t],s=pe(i);i.min=e[t].min,i.max=i.min+s})):ei(s,n.layoutBox,e)&&Se((t=>{const i=o?n.measuredBox[t]:n.layoutBox[t],s=pe(e[t]);i.max=i.min+s}));const r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ge(r,e,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?ge(a,t.applyTransform(i,!0),n.measuredBox):ge(a,e,n.layoutBox);const u=!Sn(r);let c=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:s,layout:o}=i;if(s&&o){const r={x:{min:0,max:0},y:{min:0,max:0}};xe(r,n.layoutBox,s.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};xe(a,e,o.layoutBox),En(r,a)||(c=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:r,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function Un(t){t.isProjectionDirty||(t.isProjectionDirty=Boolean(t.parent&&t.parent.isProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=Boolean(t.parent&&t.parent.isTransformDirty))}function Nn(t){t.clearSnapshot()}function Zn(t){t.clearMeasurements()}function Wn(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Yn(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function zn(t){t.resolveTargetDelta()}function Hn(t){t.calcProjection()}function Gn(t){t.resetRotation()}function qn(t){t.removeLeadSnapshot()}function Xn(t,e,n){t.translate=(0,de.C)(e.translate,0,n),t.scale=(0,de.C)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function _n(t,e,n,i){t.min=(0,de.C)(e.min,n.min,i),t.max=(0,de.C)(e.max,n.max,i)}function Kn(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const Jn={duration:.45,ease:[.4,0,.1,1]};function Qn(t,e){let n=t.root;for(let s=t.path.length-1;s>=0;s--)if(Boolean(t.path[s].instance)){n=t.path[s];break}const i=(n&&n!==t.root?n.instance:document).querySelector(`[data-
1projection-id="${e}"]`);i&&t.mount(i,!0)}function ti(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function ei(t,e,n){return"position"===t||"preserve-aspect"===t&&!me(Vn(e),Vn(n),.2)}const ni=In({attachResizeListener:(t,e)=>yt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ii={current:void 0},si=In({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ii.current){const t=new ni(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),ii.current=t}return ii.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),oi={pan:{Feature:class extends Mt{constructor(){super(...arguments),this.removePointerDownListener=Lt.Z}onPointerDown(t){this.session=new se(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:t,onStart:e,onMove:n,onEnd:(t,e)=>{delete this.session,i&&i(t,e)}}}mount(){this.removePointerDownListener=bt(this.node.current,"pointerdown",(t=>this.onPointerDown(t)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Mt{constructor(t){super(t),this.removeGroupControls=Lt.Z,this.removeListeners=Lt.Z,this.controls=new He(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Lt.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:si,MeasureLayout:sn}};var ri=n(54024),ai=n(37206),ui=n(22877),ci=n(50460);const li=new Set(["width","height","top","left","right","bottom","x","y"]),hi=t=>li.has(t),di=t=>t===ci.Rx||t===_.px;var pi;!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(pi||(pi={}));const mi=(t,e)=>parseFloat(t.split(", ")[e]),fi=(t,e)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const s=i.match(/^matrix3d\((.+)\)$/);if(s)return mi(s[1],e);{const e=i.match(/^matrix\((.+)\)$/);return e?mi(e[1],t):0}},gi=new Set(["x","y","z"]),vi=R._.filter((t=>!gi.has(t)));const yi={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:fi(4,13),y:fi(5,14)},xi=(t,e,n={},i={})=>{e={...e},i={...i};const s=Object.keys(e).filter(hi);let o=[],r=!1;const a=[];if(s.forEach((s=>{const u=t.getValue(s);if(!t.hasValue(s))return;let c=n[s],l=(0,ui.C)(c);const h=e[s];let d;if((0,Nt.C)(h)){const t=h.length,e=null===h[0]?1:0;c=h[e],l=(0,ui.C)(c);for(let n=e;n<t;n++)d?(0,Qt.k)((0,ui.C)(h[n])===d,"All keyframes must be of the same type"):(d=(0,ui.C)(h[n]),(0,Qt.k)(d===l||di(l)&&di(d),"Keyframes must be of the same dimension as the current value"))}else d=(0,ui.C)(h);if(l!==d)if(di(l)&&di(d)){const t=u.get();"string"===typeof t&&u.set(parseFloat(t)),"string"===typeof h?e[s]=parseFloat(h):Array.isArray(h)&&d===_.px&&(e[s]=h.map(parseFloat))}else(null===l||void 0===l?void 0:l.transform)&&(null===d||void 0===d?void 0:d.transform)&&(0===c||0===h)?0===c?u.set(d.transform(c)):e[s]=l.transform(h):(r||(o=function(t){const e=[];return vi.forEach((n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))})),e.length&&t.render(),e}(t),r=!0),a.push(s),i[s]=void 0!==i[s]?i[s]:e[s],u.jump(h))})),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,s=((t,e,n)=>{const i=e.measureViewportBox(),s=e.current,o=getComputedStyle(s),{display:r}=o,a={};"none"===r&&e.setStaticValue("display",t.display||"block"),n.forEac
1h((t=>{a[t]=yi[t](i,o)})),e.render();const u=e.measureViewportBox();return n.forEach((n=>{const i=e.getValue(n);i&&i.jump(a[n]),t[n]=yi[n](u,o)})),t})(e,t,a);return o.length&&o.forEach((([e,n])=>{t.getValue(e).set(n)})),t.render(),P.j&&null!==n&&window.scrollTo({top:n}),{target:s,transitionEnd:i}}return{target:e,transitionEnd:i}};function Pi(t,e,n,i){return(t=>Object.keys(t).some(hi))(e)?xi(t,e,n,i):{target:e,transitionEnd:i}}const bi=(t,e,n,i)=>{const s=function(t,{...e},n){const i=t.current;if(!(i instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.values.forEach((t=>{const e=t.get();if(!_e(e))return;const n=Je(e,i);n&&t.set(n)}));for(const s in e){const t=e[s];if(!_e(t))continue;const o=Je(t,i);o&&(e[s]=o,n&&void 0===n[s]&&(n[s]=t))}return{target:e,transitionEnd:n}}(t,e,i);return Pi(t,e=s.target,n,i=s.transitionEnd)},wi={current:null},Ci={current:!1};var Ti=n(56504);const Ai=Object.keys(x),Si=Ai.length,Ei=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];const Vi=["initial",...zt],Mi=Vi.length;class ki extends class{constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>te.Z_.render(this.render,!1,!0);
1const{latestValues:r,renderState:a}=s;this.latestValues=r,this.baseTarget={...r},this.initialValues=e.initial?{...r}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.isControllingVariants=m(e),this.isVariantNode=f(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(e,{});for(const l in c){const t=c[l];void 0!==r[l]&&(0,F.i)(t)&&(t.set(r[l],!1),(0,Ti.L)(u)&&u.add(l))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((t,e)=>this.bindToMotionValue(e,t))),Ci.current||function(){if(Ci.current=!0,P.j)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>wi.current=t.matches;t.addListener(e),e()}else wi.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||wi.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),te.qY.update(this.notifyUpdate),te.qY.render(this.render),this.valueSubscriptions.forEach((t=>t())),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){const n=R.G.has(t),i=e.on("change",(e=>{this.latestValues[t]=e,this.props.onUpdate&&te.Z_.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)})),s=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,(()=>{i(),s()}))}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},n,i,s,o){let r,a;for(let u=0;u<Si;u++){const t=Ai[u],{isEnabled:n,Feature:i,ProjectionNode:s,MeasureLayout:o}=x[t];s&&(r=s),n(e)&&(!this.features[t]&&i&&(this.features[t]=new i(this)),o&&(a=o))}if(!this.projection&&r){this.projection=new r(s,this.latestValues,this.parent&&this.parent.projection);const{layoutId:t,layout:n,drag:i,dragConstraints:a,layoutScroll:u,layoutRoot:c}=e;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:Boolean(i)||a&&l(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"===typeof n?n:"both",initialPromotionConfig:o,layoutScroll:u,layoutRoot:c})}return a}updateFeatures(){for(const t in this.features){const e=this.features[t];e.isMounted?e.update(this.props,this.prevProps):(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<Ei.length;n++){const e=Ei[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const i=t["on"+e];i&&(this.propEventSubscriptions[e]=this.on(e,i))}this.prevMotionValues=function(t,e,n){const{willChange:i}=e;for(const s in e){const o=e[s],r=n[s];if((0,F.i)(o))t.addValue(s,o),(0,Ti.L)(i)&&i.add(s);else if((0,F.i)(r))t.addValue(s,(0,rn.B)(o,{owner:t})),(0,Ti.L)(i)&&i.remove(s);else if(r!==o)if(t.hasValue(s)){const e=t.getValue(s);!e.hasAnimated&&e.set(o)}else{const e=t.getStaticValue(s);t.addValue(s,(0,rn.B)(void 0!==e?e:o,{owner:t}))}}for(const s in n)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}const e={};for(let n=0;n<Mi;n++){const t=Vi[n],i=this.props[t];(h(i)||!1===i)&&(e[t]=i)}return e}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.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){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,rn.B)(e,{owner:this}),this.addValue(t,n)),n}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;const{initial:n}=this.props,i="string"===typeof n||"object"===typeof n?null===(e=(0,ht.o)(this.props,n))||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==i)return i;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,F.i)(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new an.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...n},{transformValues:i},s){let o=(0,ai.P$)(n,t||{},this);if(i&&(e&&(e=i(e)),n&&(n=i(n)),o&&(o=i(o))),s){(0,ai.GJ)(this,n,o);const t=bi(this,n,o,e);e=t.transitionEnd,n=t.target}return{transition:t,transitionEnd:e,...n}}}class Di extends ki{readValueFromInstance(t,e){if(R.G.has(e)){const t=(0,ri.A)(e);return t&&t.default||0}{const i=(n=t,window.getComputedStyle(n)),s=(O(e)?i.getPropertyValue(e):i[e])||0;return"string"===typeof s?s.trim():s}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return We(t,e)}build(t,e,n,i){N(t,e,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,e){return ct(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;(0,F.i)(t)&&(this.childSubscription=t.on("change",(t=>{this.current&&(this.current.textContent=`${t}`)})))}renderInstance(t,e,n,i){rt(t,e,n,i)}}class Li extends ki{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(R.G.has(e)){const t=(0,ri.A)(e);return t&&t.default||0}return e=at.has(e)?e:(0,ot.D)(e),t.getAttribute(e)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(t,e){return lt(t,e)}build(t,e,n,i){tt(t,e,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,n,i){ut(t,e,0,i)}mount(t){this.isSVGTag=nt(t.tagName),super.mount(t)}}const Ri=(t,e)=>D(t)?new Li(e,{enableHardwareAcceleration:!1}):new Di(e,{enableHardwareAcceleration:!0}),Bi={...Jt,...Ut,...oi,...{layout:{ProjectionNode:si,MeasureLayout:sn}}},Fi=M(((t,e)=>function(t,{forwardMotionProps:e=!1},n,i){return{...D(t)?gt:vt,preloadedFeatures:n,useRender:st(e),createVisualElement:i,Component:t}}(t,e,Bi,Ri)))},14262:function(t,e,n){n.d(e,{D:function(){return i}});const i=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},89942:function(t,e,n){n.d(e,{T:function(){return r}});var i=n(26480),s=n(78483),o=n(54024);function r(t,e){let n=(0,o.A)(t);return n!==s.h&&(n=i.P),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},54024:function(t,e,n){n.d(e,{A:function(){return r}});var i=n(60716),s=n(78483);const o={...n(71913).j,color:i.$,backgroundColor:i.$,outlineColor:i.$,fill:i.$,stroke:i.$,borderColor:i.$,borderTopColor:i.$,borderRightColor:i.$,borderBottomColor:i.$,borderLeftColor:i.$,filter:s.h,WebkitFilter:s.h},r=t=>o[t]},22877:function(t,e,n){n.d(e,{$:function(){return r},C:function(){return a}});var i=n(50460),s=n(22596),o=n(1803);const r=[i.Rx,s.px,s.aQ,s.RW,s.vw,s.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>r.find((0,o.l)(t))},71913:function(t,e,n){n.d(e,{j:function(){return r}});var i=n(50460),s=n(22596);const o={...i.Rx,transform:Math.round},r={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,radius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,size:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,rotate:s.RW,rotateX:s.RW,rotateY:s.RW,rotateZ:s.RW,scale:i.bA,scaleX:i.bA,scaleY:i.bA,scaleZ:i.bA,skew:s.RW,skewX:s.RW,skewY:s.RW,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:i.Fq,originX:s.$C,originY:s.$C,originZ:s.px,zIndex:o,fillOpacity:i.Fq,strokeOpacity:i.Fq,numOctaves:o}},1803:function(t,e,n){n.d(e,{l:function(){return i}});const i=t=>e=>e.test(t)},5040:function(t,e,n){n.d(e,{G:function(){return s},_:function(){return i}});const i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(i)},28937:function(t,e,n){n.d(e,{d5:function(){return l},p_:function(){return p}});var i=n(37206),s=n(64514),o=n(5040),r=n(56504);const a="data-"+(0,n(14262).D)("framerAppearId");var u=n(32175),c=n(18866);function l(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map((e=>h(t,e,n)));i=Promise.all(s)}else if("string"===typeof e)i=h(t,e,n);else{const o="function"===typeof e?(0,s.x)(t,e,n.custom):e;i=d(t,o,n)}return i.then((()=>t.notify("AnimationComplete",e)))}function h(t,e,n={}){const i=(0,s.x)(t,e,n.custom);let{transition:o=t.getDefaultTransition()||{}}=i||{};
1n.transitionOverride&&(o=n.transitionOverride);const r=i?()=>d(t,i,n):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{const{delayChildren:s=0,staggerChildren:r,staggerDirection:a}=o;return function(t,e,n=0,i=0,s=1,o){const r=[],a=(t.variantChildren.size-1)*i,u=1===s?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(m).forEach(((t,i)=>{t.notify("AnimationStart",e),r.push(h(t,e,{...o,delay:n+u(i)}).then((()=>t.notify("AnimationComplete",e))))})),Promise.all(r)}(t,e,s+i,r,a,n)}:()=>Promise.resolve(),{when:u}=o;if(u){const[t,e]="beforeChildren"===u?[r,a]:[a,r];return t().then(e)}return Promise.all([r(),a(n.delay)])}function d(t,e,{delay:n=0,transitionOverride:s,type:l}={}){let{transition:h=t.getDefaultTransition(),transitionEnd:d,...p}=t.makeTargetAnimatable(e);const m=t.getValue("willChange");s&&(h=s);const g=[],v=l&&t.animationState&&t.animationState.getState()[l];for(const i in p){const e=t.getValue(i),s=p[i];if(!e||void 0===s||v&&f(v,i))continue;const l={delay:n,elapsed:0,...h};if(window.HandoffAppearAnimations&&!e.hasAnimated){const n=t.getProps()[a];n&&(l.elapsed=window.HandoffAppearAnimations(n,i,e,c.Z_))}let d=e.start((0,u.Z)(i,e,s,t.shouldReduceMotion&&o.G.has(i)?{type:!1}:l));(0,r.L)(m)&&(m.add(i),d=d.then((()=>m.remove(i)))),g.push(d)}return Promise.all(g).then((()=>{d&&(0,i.CD)(t,d)}))}function p(t){t.values.forEach((t=>t.stop()))}function m(t,e){return t.sortNodePosition(e)}function f({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}},64514:function(t,e,n){n.d(e,{x:function(){return s}});var i=n(30560);function s(t,e,n){const s=t.getProps();return(0,i.o)(s,e,void 0!==n?n:s.custom,function(t){const e={};return t.values.forEach(((t,n)=>e[n]=t.get())),e}(t),function(t){const e={};return t.values.forEach(((t,n)=>e[n]=t.getVelocity())),e}(t))}},30560:function(t,e,n){function i(t,e,n,i={},s={}){return"function"===typeof e&&(e=e(void 0!==n?n:t.custom,i,s)),"string"===typeof e&&(e=t.variants&&t.variants[e]),"function"===typeof e&&(e=e(void 0!==n?n:t.custom,i,s)),e}n.d(e,{o:function(){return i}})},37206:function(t,e,n){n.d(e,{GJ:function(){return y},P$:function(){return P},CD:function(){return f},gg:function(){return v}});const i=t=>/^0[^.\s]+$/.test(t);var s=n(17334),o=n(19811),r=n(26480),a=n(89942),u=n(60716),c=n(22877),l=n(1803);const h=[...c.$,u.$,r.P],d=t=>h.find((0,l.l)(t));var p=n(64514);function m(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,o.B)(n))}function f(t,e){const n=(0,p.x)(t,e);let{transitionEnd:i={},transition:o={},...r}=n?t.makeTargetAnimatable(n,!1):{};r={...r,...i};for(const a in r){m(t,a,(0,s.Y)(r[a]))}}function g(t,e){[...e].reverse().forEach((n=>{const i=t.getVariant(n);i&&f(t,i),t.variantChildren&&t.variantChildren.forEach((t=>{g(t,e)}))}))}function v(t,e){return Array.isArray(e)?g(t,e):"string"===typeof e?g(t,[e]):void f(t,e)}function y(t,e,n){var s,u;const c=Object.keys(e).filter((e=>!t.hasValue(e))),l=c.length;if(l)for(let h=0;h<l;h++){const l=c[h],p=e[l];let m=null;Array.isArray(p)&&(m=p[0]),null===m&&(m=null!==(u=null!==(s=n[l])&&void 0!==s?s:t.readValue(l))&&void 0!==u?u:e[l]),void 0!==m&&null!==m&&("string"===typeof m&&(/^\-?\d*\.?\d+$/.test(m)||i(m))?m=parseFloat(m):!d(m)&&r.P.test(p)&&(m=(0,a.T)(l,p)),t.addValue(l,(0,o.B)(m,{owner:t})),void 0===n[l]&&(n[l]=m),null!==m&&t.setBaseTarget(l,m))}}function x(t,e){if(!e)return;return(e[t]||e.default||e).from}function P(t,e,n){const i={};for(const s in t){const t=x(s,e);if(void 0!==t)i[s]=t;else{const t=n.getValue(s);t&&(i[s]=t.get())}}return i}},71471:function(t,e,n){function i(t,e){-1===t.indexOf(e)&&t.push(e)}function s(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{cl:function(){return s},y4:function(){return i}})},15585:function(t,e,n){n.d(e,{u:function(){return i}});const i=(t,e,n)=>Math.min(Math.max(n,t),e)},31137:function(t,e,n){n.d(e,{g:function(){return s}});var i=n(18866);function s(t,e){const n=performance.now(),s=({timestamp:o})=>{const r=o-n;r>=e&&(i.qY.read(s),t(r-e))};return i.Z_.read(s,!0),()=>i.qY.read(s)}},26895:function(t,e,n){n.d(e,{j:function(){return i}});const i="undefined"!==typeof document},64063:function(t,e,n){n.d(e,{C:function(){return i}});const i=(t,e,n)=>-n*t+n*e+t},38413:function(t,e,n){n.d(e,{Z:function(){return i}});const i=t=>t},68822:function(t,e,n){n.d(e,{z:function(){return s}});const i=(t,e)=>n=>e(t(n)),s=(...t)=>t.reduce(i)},31111:function(t,e,n){n.d(e,{Y:function(){return i}});const i=(t,e,n)=>{const i=e-t;return 0===i?1:(n-t)/i}},17334:function(t,e,n){n.d(e,{Y:function(){return o},p:function(){return s}});var i=n(47424);const s=t=>Boolean(t&&"object"===typeof t&&t.mix&&t.toValue),o=t=>(0,i.C)(t)?t[t.length-1]||0:t},93827:function(t,e,n){n.d(e,{L:function(){return s}});var i=n(71471);class s{constructor(){this.subscriptions=[]}add(t){return(0,i.y4)(this.subscriptions,t),()=>(0,i.cl)(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let s=0;s<i;s++){const i=this.subscriptions[s];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},84006:function(t,e,n){n.d(e,{w:function(){return i}});const i=t=>1e3*t},30817:function(t,e,n){n.d(e,{h:function(){return s}});var i=n(52983);function s(t){const e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},59127:function(t,e,n){n.d(e,{L:function(){return s}});var i=n(52983);const s=n(26895).j?i.useLayoutEffect:i.useEffect},66457:function(t,e,n){function i(t,e){return e?t*(1e3/e):0}n.d(e,{R:function(){return i}})},19811:function(t,e,n){n.d(e,{B:function(){return u}});var i=n(23171),s=n(18866),o=n(93827),r=n(66457);class a{constructor(t,e={}){var n;this.version="9.0.7",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:o}=i.w;this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,s.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=()=>s.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=(n=this.current,!isNaN(parseFloat(n))),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new o.L);const n=this.events[t].add(e);return"change"===t?()=>{n(),s.Z_.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const 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,n){this.set(e),this.prev=t,this.timeDelta=n}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,r.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.animation=t(e)||null,this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=null}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new a(t,e)}},72959:function(t,e,n){n.d(e,{$:function(){return s}});var i=n(99161);const s={test:(0,n(80701).i)("#"),parse:function(t){let e="",n="",i="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alph
1a:s?parseInt(s,16)/255:1}},transform:i.m.transform}},54893:function(t,e,n){n.d(e,{J:function(){return a}});var i=n(50460),s=n(22596),o=n(71226),r=n(80701);const a={test:(0,r.i)("hsl","hue"),parse:(0,r.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+s.aQ.transform((0,o.Nw)(e))+", "+s.aQ.transform((0,o.Nw)(n))+", "+(0,o.Nw)(i.Fq.transform(r))+")"}},60716:function(t,e,n){n.d(e,{$:function(){return a}});var i=n(71226),s=n(72959),o=n(54893),r=n(99161);const a={test:t=>r.m.test(t)||s.$.test(t)||o.J.test(t),parse:t=>r.m.test(t)?r.m.parse(t):o.J.test(t)?o.J.parse(t):s.$.parse(t),transform:t=>(0,i.HD)(t)?t:t.hasOwnProperty("red")?r.m.transform(t):o.J.transform(t)}},99161:function(t,e,n){n.d(e,{m:function(){return u}});var i=n(15585),s=n(50460),o=n(71226),r=n(80701);const a={...s.Rx,transform:t=>Math.round((t=>(0,i.u)(0,255,t))(t))},u={test:(0,r.i)("rgb","red"),parse:(0,r.d)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(n)+", "+(0,o.Nw)(s.Fq.transform(i))+")"}},80701:function(t,e,n){n.d(e,{d:function(){return o},i:function(){return s}});var i=n(71226);const s=(t,e)=>n=>Boolean((0,i.HD)(n)&&i.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),o=(t,e,n)=>s=>{if(!(0,i.HD)(s))return s;const[o,r,a,u]=s.match(i.KP);return{[t]:parseFloat(o),[e]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==u?parseFloat(u):1}}},78483:function(t,e,n){n.d(e,{h:function(){return u}});var i=n(26480),s=n(71226);const o=new Set(["brightness","contrast","saturate","opacity"]);function r(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(s.KP)||[];if(!i)return t;const r=n.replace(i,"");let a=o.has(e)?1:0;return i!==n&&(a*=100),e+"("+a+r+")"}const a=/([a-z-]*)\(.*?\)/g,u={...i.P,getAnimatableNone:t=>{const e=t.match(a);return e?e.map(r).join(" "):t}}},26480:function(t,e,n){n.d(e,{P:function(){return d},V:function(){return u}});var i=n(60716),s=n(50460),o=n(71226);const r="${c}",a="${n}";function u(t){"number"===typeof t&&(t=`${t}`);const e=[];let n=0,u=0;const c=t.match(o.dA);c&&(n=c.length,t=t.replace(o.dA,r),e.push(...c.map(i.$.parse)));const l=t.match(o.KP);return l&&(u=l.length,t=t.replace(o.KP,a),e.push(...l.map(s.Rx.parse))),{values:e,numColors:n,numNumbers:u,tokenised:t}}function c(t){return u(t).values}function l(t){const{values:e,numColors:n,tokenised:s}=u(t),c=e.length;return t=>{let e=s;for(let s=0;s<c;s++)e=e.replace(s<n?r:a,s<n?i.$.transform(t[s]):(0,o.Nw)(t[s]));return e}}const h=t=>"number"===typeof t?0:t;const d={test:function(t){var e,n;return isNaN(t)&&(0,o.HD)(t)&&((null===(e=t.match(o.KP))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(o.dA))||void 0===n?void 0:n.length)||0)>0},parse:c,createTransformer:l,getAnimatableNone:function(t){const e=c(t);return l(t)(e.map(h))}}},50460:function(t,e,n){n.d(e,{Fq:function(){return o},Rx:function(){return s},bA:function(){return r}});var i=n(15585);const s={test:t=>"number"===typeof t,parse:parseFloat,transform:t=>t},o={...s,transform:t=>(0,i.u)(0,1,t)},r={...s,default:1}},22596:function(t,e,n){n.d(e,{$C:function(){return l},RW:function(){return o},aQ:function(){return r},px:function(){return a},vh:function(){return u},vw:function(){return c}});var i=n(71226);const s=t=>({test:e=>(0,i.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),o=s("deg"),r=s("%"),a=s("px"),u=s("vh"),c=s("vw"),l={...r,parse:t=>r.parse(t)/100,transform:t=>r.transform(100*t)}},71226:function(t,e,n){n.d(e,{HD:function(){return a},KP:function(){return s},Nw:function(){return i},dA:function(){return o},mj:function(){return r}});const i=t=>Math.round(1e5*t)/1e5,s=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,r=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(t){return"string"===typeof t}},56504:function(t,e,n){n.d(e,{L:function(){return s}});var i=n(9430);function s(t){return Boolean((0,i.i)(t)&&t.add)}},9430:function(t,e,n){n.d(e,{i:function(){return i}});const i=t=>Boolean(t&&t.getVelocity)},37645:function(t,e,n){n.d(e,{ZP:function(){return r}});var i=n(56833),s=n(52014);const{useSyncExternalStoreWithSelector:o}=s,r=t=>{const e=(0,i.Z)(t),n=()=>{return{state:o((t=e).subscribe,t.getState,t.getState,(e=>t.getState())),actions:t.actions};var t};return Object.assign(n,e),n}},56833:function(t,e,n){n.d(e,{Z:function(){return i}});const i=t=>{let e;const n=new Set,i=(t,i,s)=>{if(e.kind!==t)throw new Error(`Invalid state, expected: ${String(t)} but got ${e.kind}`);const o=e;return e={...s,kind:i}
1,n.forEach((t=>t(o,e))),e};let s;const{initial:o,...r}=t((()=>e),i,(()=>s));return e=o,s=r,{getState:()=>e,setState:i,subscribe:t=>(n.add(t),()=>n.delete(t)),actions:s}}}}]);
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.