PageSourceSearch

https://www.sergehillproject.co.uk/_next/static/chunks/990-f36f7063bcbf0f97.js

js sergehillproject.co.uk collected 2026-10-04 13:27:33 UTC 50,222 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[990],{369:function(t,e,n){n.d(e,{v:function(){return St}});var r=n(45487),s=n(86917);const i=!1;var o=n(66405);const a=t=>Array.isArray(t)&&"number"===typeof t[0];function u(t){return Boolean(!t||"string"===typeof t&&l[t]||a(t)||Array.isArray(t)&&t.every(u))}const c=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,l={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:c([0,.65,.55,1]),circOut:c([.55,0,1,.45]),backIn:c([.31,.01,.66,-.59]),backOut:c([.33,1.53,.69,.99])};function h(t){if(t)return a(t)?c(t):Array.isArray(t)?t.map(h):l[t]}const d={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},p={},f={};for(const Mt in d)f[Mt]=()=>(void 0===p[Mt]&&(p[Mt]=d[Mt]()),p[Mt]);var m=n(81662);const v=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function g(t,e,n,r){if(t===e&&n===r)return m.Z;const s=e=>function(t,e,n,r,s){let i,o,a=0;do{o=e+(n-e)/2,i=v(o,r,s)-t,i>0?n=o:e=o}while(Math.abs(i)>1e-7&&++a<12);return o}(e,0,1,t,n);return t=>0===t||1===t?t:v(s(t),e,r)}const y=g(.42,0,1,1),b=g(0,0,.58,1),w=g(.42,0,.58,1);var V=n(27255),P=n(90415),x=n(75129);const C=g(.33,1.53,.69,.99),A=(0,x.M)(C),S=(0,P.o)(A),M={linear:m.Z,easeIn:y,easeInOut:w,easeOut:b,circIn:V.Z7,circInOut:V.X7,circOut:V.Bn,backIn:A,backInOut:S,backOut:C,anticipate:t=>(t*=2)<1?.5*A(t):.5*(2-Math.pow(2,-10*(t-1)))},k=t=>{if(Array.isArray(t)){(0,r.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,s,i]=t;return g(e,n,s,i)}return"string"===typeof t?((0,r.k)(void 0!==M[t],`Invalid easing type '${t}'`),M[t]):t};var E=n(85385),T=n(24169),F=n(80022);function D(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 $=n(26382),I=n(40819),L=n(93184);const O=(t,e,n)=>{const r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},N=[$.$,I.m,L.J];function B(t){const e=(n=t,N.find((t=>t.test(n))));var n;(0,r.k)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let s=e.parse(t);return e===L.J&&(s=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let s=0,i=0,o=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,a=2*n-r;s=D(a,r,t+1/3),i=D(a,r,t),o=D(a,r,t-1/3)}else s=i=o=n;return{red:Math.round(255*s),green:Math.round(255*i),blue:Math.round(255*o),alpha:r}}(s)),s}const R=(t,e)=>{const n=B(t),r=B(e),s={...n};return t=>(s.red=O(n.red,r.red,t),s.green=O(n.green,r.green,t),s.blue=O(n.blue,r.blue,t),s.alpha=(0,F.C)(n.alpha,r.alpha,t),I.m.transform(s))};var j=n(83624),W=n(51550);const z=(t,e)=>n=>`${n>0?e:t}`;function U(t,e){return"number"===typeof t?n=>(0,F.C)(t,e,n):E.$.test(t)?R(t,e):t.startsWith("var(")?z(t,e):q(t,e)}const K=(t,e)=>{const n=[...t],r=n.length,s=t.map(((t,n)=>U(t,e[n])));return t=>{for(let e=0;e<r;e++)n[e]=s[e](t);return n}},X=(t,e)=>{const n={...t,...e},r={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(r[s]=U(t[s],e[s]));return t=>{for(const e in r)n[e]=r[e](t);return n}},q=(t,e)=>{const n=W.P.createTransformer(e),s=(0,W.V)(t),i=(0,W.V)(e);return s.numVars===i.numVars&&s.numColors===i.numColors&&s.numNumbers>=i.numNumbers?(0,j.z)(K(s.values,i.values),n):((0,r.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.`),z(t,e))};var H=n(23967);const Z=(t,e)=>n=>(0,F.C)(t,e,n);function Y(t,e,n){const r=[],s=n||("number"===typeof(i=t[0])?Z:"string"===typeof i?E.$.test(i)?R:q:Array.isArray(i)?K:"object"===typeof i?X:Z);var i;const o=t.length-1;for(let a=0;a<o;a++){let n=s(t[a],t[a+1]);if(e){const t=Array.isArray(e)?e[a]||m.Z:e;n=(0,j.z)(t,n)}r.push(n)}return r}function J(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const o=t.length;if((0,r.k)(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=Y(e,s,i),u=a.length,c=e=>{let n=0;if(u>1)for(;n<t.length-2&&!(e<t[n+1]);n++);const r=(0,H.Y)(t[n],t[n+1],e);return a[n](r)};return n?e=>c((0,T.u)(t[0],t[o-1],e)):c}function G(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const s=(0,H.Y)(0,e,r);t.push((0,F.C)(n,1,s))}}(e,t.length-1),e}function _({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const s=(t=>Array.isArray(t)&&"number"!==typeof t[0])(r)?r.map(k):k(r),i={done:!1,value:e[0]},o=function(t,e){return t.map((t=>t*e))}(n&&n.length===e.length?n:G(e),t),a=J(o,e,{ease:Array.isArray(s)?s:(u=e,c=s,u.map((()=>c||w)).splice(0,u.length-1))});var u,c;return{calculatedDuration:t,next:e=>(i.value=a(e),i.done=e>=t,i)}}var Q=n(3038);function tt(t,e,n){const r=Math.max(e-5,0);return(0,Q.R)(n-t(r),e-r)}const et=.001;function nt({duration:t=800,bounce:e=.25,velocity:n=0,mass:i=1}){let o,a;(0,r.K)(t<=(0,s.w)(10),"Spring duration must be 10 seconds or less");let u=1-e;u=(0,T.u)(.05,1,u),t=(0,T.u)(.01,10,(0,s.X)(t)),u<1?(o=e=>{const r=e*u,s=r*t,i=r-n,o=rt(e,u),a=Math.exp(-s);return et-i/o*a},a=e=>{const r=e*u*t,s=r*n+n,i=Math.pow(u,2)*Math.pow(e,2)*t,a=Math.exp(-r),c=rt(Math.pow(e,2),u);return(-o(e)+et>0?-1:1)*((s-i)*a)/c}):(o=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,a=e=>Math.exp(-e*t)*(t*t*(n-e)));const c=function(t,e,n){let r=n;for(let s=1;s<12;s++)r-=t(r)/e(r);return r}(o,a,5/t);if(t=(0,s.w)(t),isNaN(c))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(c,2)*i;return{stiffness:e,damping:2*u*Math.sqrt(i*e),duration:t}}}function rt(t,e){return t*Math.sqrt(1-e*e)}const st=["duration","bounce"],it=["stiffness","damping","mass"];function ot(t,e){return e.some((e=>void 0!==t[e]))}function at({keyframes:t,restDelta:e,restSpeed:n,...r}){const i=t[0],o=t[t.length-1],a={done:!1,value:i},{stiffness:u,damping:c,mass:l,velocity:h,duration:d,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!ot(t,it)&&ot(t,st)){const n=nt(t);e={...e,...n,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}(r),f=h?-(0,s.X)(h):0,m=c/(2*Math.sqrt(u*l)),v=o-i,g=(0,s.X)(Math.sqrt(u/l)),y=Math.abs(v)<5;let b;if(n||(n=y?.01:2),e||(e=y?.005:.5),m<1){const t=rt(g,m);b=e=>{const n=Math.exp(-m*g*e);return o-n*((f+m*g*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}}else if(1===m)b=t=>o-Math.exp(-g*t)*(v+(f+g*v)*t);else{const t=g*Math.sqrt(m*m-1);b=e=>{const n=Math.exp(-m*g*e),r=Math.min(t*e,300);return o-n*((f+m*g*v)*Math.sinh(r)+t*v*Math.cosh(r))/t}}
1return{calculatedDuration:p&&d||null,next:t=>{const r=b(t);if(p)a.done=t>=d;else{let s=f;0!==t&&(s=m<1?tt(b,t,r):0);const i=Math.abs(s)<=n,u=Math.abs(o-r)<=e;a.done=i&&u}return a.value=a.done?o:r,a}}}function ut({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:a,max:u,restDelta:c=.5,restSpeed:l}){const h=t[0],d={done:!1,value:h},p=t=>void 0===a?u:void 0===u||Math.abs(a-t)<Math.abs(u-t)?a:u;let f=n*e;const m=h+f,v=void 0===o?m:o(m);v!==m&&(f=v-h);const g=t=>-f*Math.exp(-t/r),y=t=>v+g(t),b=t=>{const e=g(t),n=y(t);d.done=Math.abs(e)<=c,d.value=d.done?v:n};let w,V;const P=t=>{var e;(e=d.value,void 0!==a&&e<a||void 0!==u&&e>u)&&(w=t,V=at({keyframes:[d.value,p(d.value)],velocity:tt(y,t,d.value),damping:s,stiffness:i,restDelta:c,restSpeed:l}))};return P(0),{calculatedDuration:null,next:t=>{let e=!1;return V||void 0!==w||(e=!0,b(t),P(t)),void 0!==w&&t>w?V.next(t-w):(!e&&b(t),d)}}}var ct=n(37367);const lt=t=>{const e=({timestamp:e})=>t(e);return{start:()=>o.Wi.update(e,!0),stop:()=>(0,o.Pn)(e),now:()=>ct.frameData.isProcessing?ct.frameData.timestamp:performance.now()}};function ht(t){let e=0;let n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}const dt={decay:ut,inertia:ut,tween:_,keyframes:_,spring:at};function pt({autoplay:t=!0,delay:e=0,driver:n=lt,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:u="loop",onPlay:c,onStop:l,onComplete:h,onUpdate:d,...p}){let f,m,v=1,g=!1;const y=()=>{f&&f(),m=new Promise((t=>{f=t}))};let b;y();const w=dt[i]||_;let V;w!==_&&"number"!==typeof r[0]&&(V=J([0,100],r,{clamp:!1}),r=[0,100]);const P=w({...p,keyframes:r});let x;"mirror"===u&&(x=w({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let C="idle",A=null,S=null,M=null;null===P.calculatedDuration&&o&&(P.calculatedDuration=ht(P));const{calculatedDuration:k}=P;let E=1/0,F=1/0;null!==k&&(E=k+a,F=E*(o+1)-a);let D=0;const $=t=>{if(null===S)return;v>0&&(S=Math.min(S,t)),v<0&&(S=Math.min(t-F/v,S)),D=null!==A?A:Math.round(t-S)*v;const n=D-e*(v>=0?1:-1),s=v>=0?n<0:n>F;D=Math.max(n,0),"finished"===C&&null===A&&(D=F);let i=D,c=P;if(o){const t=D/E;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,o+1);const r=Boolean(e%2);r&&("reverse"===u?(n=1-n,a&&(n-=a/E)):"mirror"===u&&(c=x));let s=(0,T.u)(0,1,n);D>F&&(s="reverse"===u&&r?1:0),i=s*E}const l=s?{done:!1,value:r[0]}:c.next(i);V&&(l.value=V(l.value));let{done:h}=l;s||null===k||(h=v>=0?D>=F:D<=0);const p=null===A&&("finished"===C||"running"===C&&h);return d&&d(l.value),p&&O(),l},I=()=>{b&&b.stop(),b=void 0},L=()=>{C="idle",I(),y(),S=M=null},O=()=>{C="finished",h&&h(),I(),y()},N=()=>{if(g)return;b||(b=n($));const t=b.now();c&&c(),null!==A?S=t-A:S&&"finished"!==C||(S=t),M=S,A=null,C="running",b.start()};t&&N();const B={then:(t,e)=>m.then(t,e),get time(){return(0,s.X)(D)},set time(t){t=(0,s.w)(t),D=t,null===A&&b&&0!==v?S=b.now()-t/v:A=t},get duration(){const t=null===P.calculatedDuration?ht(P):P.calculatedDuration;return(0,s.X)(t)},get speed(){return v},set speed(t){t!==v&&b&&(v=t,B.time=(0,s.X)(D))},get state(){return C},play:N,pause:()=>{C="paused",A=D},stop:()=>{g=!0,"idle"!==C&&(C="idle",l&&l(),L())},cancel:()=>{null!==M&&$(M),L()},complete:()=>{C="finished"},sample:t=>(S=0,$(t))};return B}const ft=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function mt(t,e,{onUpdate:n,onComplete:r,...i}){if(!(f.waapi()&&ft.has(e)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let a,c,l=!1;const d=()=>{c=new Promise((t=>{a=t}))};d();let{keyframes:p,duration:m=300,ease:v,times:g}=i;if(((t,e)=>"spring"===e.type||"backgroundColor"===t||!u(e.ease))(e,i)){const t=pt({...i,repeat:0,delay:0});let e={done:!1,value:p[0]};const n=[];let r=0;for(;!e.done&&r<2e4;)e=t.sample(r),n.push(e.value),r+=10;g=void 0,p=n,m=r-10,v="linear"}const y=function(t,e,n,{delay:r=0,duration:s,repeat:i=0,repeatType:o="loop",ease:a,times:u}={}){const c={[e]:n};u&&(c.offset=u);const l=h(a);return Array.isArray(l)&&(c.easing=l),t.animate(c,{delay:r,duration:s,easing:Array.isArray(l)?"linear":l,fill:"both",iterations:i+1,direction:"reverse"===o?"alternate":"normal"})}(t.owner.current,e,p,{...i,duration:m,ease:v,times:g}),b=()=>y.cancel(),w=()=>{o.Wi.update(b),a(),d()};return y.onfinish=()=>{t.set(function(t,{repeat:e,repeatType:n="loop"}){return t[e&&"loop"!==n&&e%2===1?0:t.length-1]}(p,i)),r&&r(),w()},{then:(t,e)=>
1c.then(t,e),get time(){return(0,s.X)(y.currentTime||0)},set time(t){y.currentTime=(0,s.w)(t)},get speed(){return y.playbackRate},set speed(t){y.playbackRate=t},get duration(){return(0,s.X)(m)},play:()=>{l||(y.play(),(0,o.Pn)(b))},pause:()=>y.pause(),stop:()=>{if(l=!0,"idle"===y.playState)return;const{currentTime:e}=y;if(e){const n=pt({...i,autoplay:!1});t.setWithVelocity(n.sample(e-10).value,n.sample(e).value,10)}w()},complete:()=>y.finish(),cancel:w}}var vt=n(94714);const gt={type:"spring",stiffness:500,damping:25,restSpeed:10},yt={type:"keyframes",duration:.8},bt={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},wt=(t,{keyframes:e})=>e.length>2?yt:vt.G.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:gt:bt,Vt=(t,e)=>"zIndex"!==t&&(!("number"!==typeof e&&!Array.isArray(e))||!("string"!==typeof e||!W.P.test(e)&&"0"!==e||e.startsWith("url(")));var Pt=n(79135),xt=n(30681);function Ct(t){return"number"===typeof t?0===t:null!==t?"none"===t||"0"===t||(0,xt.W)(t):void 0}var At=n(31056);const St=(t,e,n,o={})=>a=>{const u=(0,At.e)(o,t)||{},c=u.delay||o.delay||0;let{elapsed:l=0}=o;l-=(0,s.w)(c);const h=function(t,e,n,r){const s=Vt(e,n);let i;i=Array.isArray(n)?[...n]:[null,n];const o=void 0!==r.from?r.from:t.get();let a;const u=[];for(let c=0;c<i.length;c++)null===i[c]&&(i[c]=0===c?o:i[c-1]),Ct(i[c])&&u.push(c),"string"===typeof i[c]&&"none"!==i[c]&&"0"!==i[c]&&(a=i[c]);if(s&&u.length&&a)for(let c=0;c<u.length;c++)i[u[c]]=(0,Pt.T)(e,a);return i}(e,t,n,u),d=h[0],p=h[h.length-1],f=Vt(t,d),v=Vt(t,p);(0,r.K)(f===v,`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(),ease:"easeOut",...u,delay:-l,onUpdate:t=>{e.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{a(),u.onComplete&&u.onComplete()}};if((0,At.r)(u)||(g={...g,...wt(t,g)}),g.duration&&(g.duration=(0,s.w)(g.duration)),g.repeatDelay&&(g.repeatDelay=(0,s.w)(g.repeatDelay)),!f||!v||i||!1===u.type)return function({keyframes:t,delay:e,onUpdate:n,onComplete:r}){const s=()=>(n&&n(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:m.Z,pause:m.Z,stop:m.Z,then:t=>(t(),Promise.resolve()),cancel:m.Z,complete:m.Z});return e?pt({keyframes:[0,1],duration:0,delay:e,onComplete:s}):s()}(i?{...g,delay:0}:g);if(e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){const n=mt(e,t,g);if(n)return n}return pt(g)}},31056:function(t,e,n){function r({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:i,repeatType:o,repeatDelay:a,from:u,elapsed:c,...l}){return!!Object.keys(l).length}function s(t,e){return t[e]||t.default||t}n.d(e,{e:function(){return s},r:function(){return r}})},27255:function(t,e,n){n.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return i}});var r=n(90415),s=n(75129);const i=t=>1-Math.sin(Math.acos(t)),o=(0,s.M)(i),a=(0,r.o)(o)},90415:function(t,e,n){n.d(e,{o:function(){return r}});const r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},75129:function(t,e,n){n.d(e,{M:function(){return r}});const r=t=>e=>1-t(1-e)},18456:function(t,e,n){function r(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}n.d(e,{E:function(){return r}})},70486:function(t,e,n){n.d(e,{a:function(){return i}});var r=n(18456),s=n(28148);function i(t,e,n,i){return(0,r.E)(t,e,(0,s.s)(n),i)}},28148:function(t,e,n){n.d(e,{Q:function(){return s},s:function(){return i}});var r=n(9403);function s(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}const i=t=>e=>(0,r.D)(e)&&t(e,s(e))},9403:function(t,e,n){n.d(e,{D:function(){return r}});const r=t=>"mouse"===t.pointerType?"number"!==typeof t.button||t.button<=0:!1!==t.isPrimary},37544:function(t,e,n){function r(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}n.d(e,{fJ:function(){return o},gD:function(){return a}});const s=r("dragHorizontal"),i=r("dragVertical");function o(t){let e=!1;if("y"===t)e=i();else if("x"===t)e=s();else{const t=s(),n=i();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function a(){const t=o(!0);return!t||(t(),!1)}},50806:function(t,e,n){n.d(e,{L:function(){return r}});
1class r{constructor(t){this.isMounted=!1,this.node=t}update(){}}},35292:function(t,e,n){n.d(e,{s:function(){return E}});var r=n(2445),s=n(48488);function i(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var o=n(97732),a=n(52248),u=n(22963),c=n(66405),l=n(94714);const h="data-"+(0,n(93193).D)("framerAppearId");var d=n(369),p=n(12490),f=n(58172);function m({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}function v(t,e,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:i=t.getDefaultTransition(),transitionEnd:o,...a}=t.makeTargetAnimatable(e);const u=t.getValue("willChange");r&&(i=r);const v=[],g=s&&t.animationState&&t.animationState.getState()[s];for(const f in a){const e=t.getValue(f),r=a[f];if(!e||void 0===r||g&&m(g,f))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!e.hasAnimated){const n=t.getProps()[h];n&&(s.elapsed=window.HandoffAppearAnimations(n,f,e,c.Wi))}e.start((0,d.v)(f,e,r,t.shouldReduceMotion&&l.G.has(f)?{type:!1}:s));const o=e.animation;(0,p.L)(u)&&(u.add(f),o.then((()=>u.remove(f)))),v.push(o)}return o&&Promise.all(v).then((()=>{o&&(0,f.CD)(t,o)})),v}function g(t,e,n={}){const r=(0,a.x)(t,e,n.custom);let{transition:s=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const i=r?()=>Promise.all(v(t,r,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,n=0,r=0,s=1,i){const o=[],a=(t.variantChildren.size-1)*r,u=1===s?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(y).forEach(((t,r)=>{t.notify("AnimationStart",e),o.push(g(t,e,{...i,delay:n+u(r)}).then((()=>t.notify("AnimationComplete",e))))})),Promise.all(o)}(t,e,i+r,o,a,n)}:()=>Promise.resolve(),{when:u}=s;if(u){const[t,e]="beforeChildren"===u?[i,o]:[o,i];return t().then((()=>e()))}return Promise.all([i(),o(n.delay)])}function y(t,e){return t.sortNodePosition(e)}const b=[...u.e].reverse(),w=u.e.length;function V(t){return e=>Promise.all(e.map((({animation:e,options:n})=>function(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map((e=>g(t,e,n)));r=Promise.all(s)}else if("string"===typeof e)r=g(t,e,n);else{const s="function"===typeof e?(0,a.x)(t,e,n.custom):e;r=Promise.all(v(t,s,n))}return r.then((()=>t.notify("AnimationComplete",e)))}(t,e,n))))}function P(t){let e=V(t);const n={animate:C(!0),whileInView:C(),whileHover:C(),whileTap:C(),whileDrag:C(),whileFocus:C(),exit:C()};let u=!0;const c=(e,n)=>{const r=(0,a.x)(t,n);if(r){const{transition:t,transitionEnd:n,...s}=r;e={...e,...s,...n}}return e};function l(a,l){const h=t.getProps(),d=t.getVariantContext(!0)||{},p=[],f=new Set;let m={},v=1/0;for(let e=0;e<w;e++){const g=b[e],y=n[g],w=void 0!==h[g]?h[g]:d[g],V=(0,o.$)(w),P=g===l?y.isActive:null;!1===P&&(v=e);let C=w===d[g]&&w!==h[g]&&V;if(C&&u&&t.manuallyAnimateOnMount&&(C=!1),y.protectedKeys={...m},!y.isActive&&null===P||!w&&!y.prevProp||(0,r.H)(w)||"boolean"===typeof w)continue;const A=x(y.prevProp,w);let S=A||g===l&&y.isActive&&!C&&V||e>v&&V;const M=Array.isArray(w)?w:[w];let k=M.reduce(c,{});!1===P&&(k={});const{prevResolvedValues:E={}}=y,T={...E,...k},F=t=>{S=!0,f.delete(t),y.needsAnimating[t]=!0};for(const t in T){const e=k[t],n=E[t];m.hasOwnProperty(t)||(e!==n?(0,s.C)(e)&&(0,s.C)(n)?!i(e,n)||A?F(t):y.protectedKeys[t]=!0:void 0!==e?F(t):f.add(t):void 0!==e&&f.has(t)?F(t):y.protectedKeys[t]=!0)}y.prevProp=w,y.prevResolvedValues=k,y.isActive&&(m={...m,...k}),u&&t.blockInitialAnimation&&(S=!1),S&&!C&&p.push(...M.map((t=>({animation:t,options:{type:g,...a}}))))}if(f.size){const e={};f.forEach((n=>{const r=t.getBaseTarget(n);void 0!==r&&(e[n]=r)})),p.push({animation:e})}let g=Boolean(p.length);return u&&!1===h.initial&&!t.manuallyAnimateOnMount&&(g=!1),u=!1,g?e(p):Promise.resolve()}return{animateChanges:l,setActive:function(e,r,s){var i;if(n[e].isActive===r)return Promise.resolve();
1null===(i=t.variantChildren)||void 0===i||i.forEach((t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)})),n[e].isActive=r;const o=l(s,e);for(const t in n)n[t].protectedKeys={};return o},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}function x(t,e){return"string"===typeof e?e!==t:!!Array.isArray(e)&&!i(e,t)}function C(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var A=n(50806);class S extends A.L{constructor(t){super(t),t.animationState||(t.animationState=P(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),(0,r.H)(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(){}}let M=0;class k extends A.L{constructor(){super(...arguments),this.id=M++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const s=this.node.animationState.setActive("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(){}}const E={animation:{Feature:S},exit:{Feature:k}}},33899:function(t,e,n){n.d(e,{E:function(){return C}});var r=n(70486),s=n(83624),i=n(37544),o=n(50806),a=n(66405);function u(t,e){const n="pointer"+(e?"enter":"leave"),s="onHover"+(e?"Start":"End");return(0,r.a)(t.current,n,((n,r)=>{if("touch"===n.type||(0,i.gD)())return;const o=t.getProps();t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",e),o[s]&&a.Wi.update((()=>o[s](n,r)))}),{passive:!t.getProps()[s]})}class c extends o.L{mount(){this.unmount=(0,s.z)(u(this.node,!0),u(this.node,!1))}unmount(){}}var l=n(18456);class h extends o.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,s.z)((0,l.E)(this.node.current,"focus",(()=>this.onFocus())),(0,l.E)(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}var d=n(28148);const p=(t,e)=>!!e&&(t===e||p(t,e.parentElement));var f=n(81662);function m(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,(0,d.Q)(n))}class v extends o.L{constructor(){super(...arguments),this.removeStartListeners=f.Z,this.removeEndListeners=f.Z,this.removeAccessibleListeners=f.Z,this.startPointerPress=(t,e)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),i=(0,r.a)(window,"pointerup",((t,e)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();a.Wi.update((()=>{p(this.node.current,t.target)?n&&n(t,e):r&&r(t,e)}))}),{passive:!(n.onTap||n.onPointerUp)}),o=(0,r.a)(window,"pointercancel",((t,e)=>this.cancelPress(t,e)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,s.z)(i,o),this.startPress(t,e)},this.startAccessiblePress=()=>{const t=(0,l.E)(this.node.current,"keydown",(t=>{if("Enter"!==t.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=(0,l.E)(this.node.current,"keyup",(t=>{"Enter"===t.key&&this.checkPressEnd()&&m("up",((t,e)=>{const{onTap:n}=this.node.getProps();n&&a.Wi.update((()=>n(t,e)))}))})),m("down",((t,e)=>{this.startPress(t,e)}))})),e=(0,l.E)(this.node.current,"blur",(()=>{this.isPressing&&m("cancel",((t,e)=>this.cancelPress(t,e)))}));this.removeAccessibleListeners=(0,s.z)(t,e)}}startPress(t,e){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&a.Wi.update((()=>n(t,e)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!(0,i.gD)()}cancelPress(t,e){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&a.Wi.update((()=>n(t,e)))}mount(){const t=this.node.getProps(),e=(0,r.a)(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=(0,l.E)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,s.z)(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const g=new WeakMap,y=new WeakMap,b=t=>{const e=g.get(t.target);e&&e(t)}
1,w=t=>{t.forEach(b)};function V(t,e,n){const r=function({root:t,...e}){const n=t||document;y.has(n)||y.set(n,{});const r=y.get(n),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(w,{root:t,...e})),r[s]}(e);return g.set(t,n),r.observe(t),()=>{g.delete(t),r.unobserve(t)}}const P={some:0,all:1};class x extends o.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:r="some",once:s}=t,i={root:e?e.current:void 0,rootMargin:n,threshold:"number"===typeof r?r:P[r]};return V(this.node.current,i,(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("whileInView",e);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=e?n:r;i&&i(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(){}}const C={inView:{Feature:x},tap:{Feature:v},focus:{Feature:h},hover:{Feature:c}}},76117:function(t,e,n){function r({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function s({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function i(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}n.d(e,{d7:function(){return i},i8:function(){return r},z2:function(){return s}})},16e3:function(t,e,n){n.d(e,{D2:function(){return m},YY:function(){return c},am:function(){return h},o2:function(){return u},q2:function(){return i}});var r=n(80022),s=n(99527);function i(t,e,n){return n+e*(t-n)}function o(t,e,n,r,s){return void 0!==s&&(t=i(t,s,r)),i(t,n,r)+e}function a(t,e=0,n=1,r,s){t.min=o(t.min,e,n,r,s),t.max=o(t.max,e,n,r,s)}function u(t,{x:e,y:n}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,n.translate,n.scale,n.originPoint)}function c(t,e,n,r=!1){const i=n.length;if(!i)return;let o,a;e.x=e.y=1;for(let c=0;c<i;c++){o=n[c],a=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&m(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,u(t,a)),r&&(0,s.ud)(o.latestValues)&&m(t,o.latestValues))}e.x=l(e.x),e.y=l(e.y)}function l(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function h(t,e){t.min=t.min+e,t.max=t.max+e}function d(t,e,[n,s,i]){const o=void 0!==e[i]?e[i]:.5,u=(0,r.C)(t.min,t.max,o);a(t,e[n],e[s],u,e.scale)}const p=["x","scaleX","originX"],f=["y","scaleY","originY"];function m(t,e){d(t.x,e,p),d(t.y,e,f)}},61512:function(t,e,n){n.d(e,{dO:function(){return s},wc:function(){return r}});const r=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),s=()=>({x:{min:0,max:0},y:{min:0,max:0}})},99527:function(t,e,n){function r(t){return void 0===t||1===t}function s({scale:t,scaleX:e,scaleY:n}){return!r(t)||!r(e)||!r(n)}function i(t){return s(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY}function o(t){return a(t.x)||a(t.y)}function a(t){return t&&"0%"!==t}n.d(e,{D_:function(){return o},Lj:function(){return s},ud:function(){return i}})},56460:function(t,e,n){n.d(e,{J:function(){return i},z:function(){return o}});var r=n(76117),s=n(16e3);function i(t,e){return(0,r.i8)((0,r.d7)(t.getBoundingClientRect(),e))}function o(t,e,n){const r=i(t,n),{scroll:o}=e;return o&&((0,s.am)(r.x,o.offset.x),(0,s.am)(r.y,o.offset.y)),r}},74547:function(t,e,n){n.d(e,{b:function(){return it}});var r=n(38057),s=n(57630),i=n(94714),o=n(50189),a=n(34242),u=n(2728),c=n(56460),l=n(58172),h=n(45487);const d=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function p(t,e,n=1){(0,h.k)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[r,i]=function(t){const e=d.exec(t);if(!e)return[,];const[,n,r]=e;return[n,r]}(t);if(!r)return;const o=window.getComputedStyle(e).getPropertyValue(r);return o?o.trim():(0,s.tm)(i)?p(i,e,n+1):i}var f=n(48488),m=n(56440),v=n(11741),g=n(61649),y=n(96190);const b=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),w=t=>b.has(t),V=t=>t===g.Rx||t===y.px,P=(t,e)=>parseFloat(t.split(", ")[e]),x=(t,e)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const s=r.match(/^matrix3d\((.+)\)$/);if(s)return P(s[1],e);{const e=r.match(/^matrix\((.+)\)$/);return e?P(e[1],t):0}},C=new Set(["x","y","z"]),A=i._.filter((t=>!C.has(t)));const S={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:x(4,13),y:x(5,14)},M=(t,e,n={},r={})=>{e={...e},r={...r};const s=Object.keys(e).filter(w);let i=[],o=!1;const a=[];if(s.forEach((s=>{const u=t.getValue(s);if(!t.hasValue(s))return;let c=n[s],l=(0,m.C)(c);const d=e[s];let p;if((0,f.C)(d)){const t=d.length,e=null===d[0]?1:0;c=d[e],l=(0,m.C)(c);for(let n=e;n<t&&null!==d[n];n++)p?(0,h.k)((0,m.C)(d[n])===p,"All keyframes must be of the same type"):(p=(0,m.C)(d[n]),(0,h.k)(
1p===l||V(l)&&V(p),"Keyframes must be of the same dimension as the current value"))}else p=(0,m.C)(d);if(l!==p)if(V(l)&&V(p)){const t=u.get();"string"===typeof t&&u.set(parseFloat(t)),"string"===typeof d?e[s]=parseFloat(d):Array.isArray(d)&&p===y.px&&(e[s]=d.map(parseFloat))}else(null===l||void 0===l?void 0:l.transform)&&(null===p||void 0===p?void 0:p.transform)&&(0===c||0===d)?0===c?u.set(p.transform(c)):e[s]=l.transform(d):(o||(i=function(t){const e=[];return A.forEach((n=>{const r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),e.length&&t.render(),e}(t),o=!0),a.push(s),r[s]=void 0!==r[s]?r[s]:e[s],u.jump(d))})),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,s=((t,e,n)=>{const r=e.measureViewportBox(),s=e.current,i=getComputedStyle(s),{display:o}=i,a={};"none"===o&&e.setStaticValue("display",t.display||"block"),n.forEach((t=>{a[t]=S[t](r,i)})),e.render();const u=e.measureViewportBox();return n.forEach((n=>{const r=e.getValue(n);r&&r.jump(a[n]),t[n]=S[n](u,i)})),t})(e,t,a);return i.length&&i.forEach((([e,n])=>{t.getValue(e).set(n)})),t.render(),v.j&&null!==n&&window.scrollTo({top:n}),{target:s,transitionEnd:r}}return{target:e,transitionEnd:r}};function k(t,e,n,r){return(t=>Object.keys(t).some(w))(e)?M(t,e,n,r):{target:e,transitionEnd:r}}const E=(t,e,n,r)=>{const i=function(t,{...e},n){const r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.values.forEach((t=>{const e=t.get();if(!(0,s.tm)(e))return;const n=p(e,r);n&&t.set(n)}));for(const i in e){const t=e[i];if(!(0,s.tm)(t))continue;const o=p(t,r);o&&(e[i]=o,n||(n={}),void 0===n[i]&&(n[i]=t))}return{target:e,transitionEnd:n}}(t,e,r);return k(t,e=i.target,n,r=i.transitionEnd)};var T=n(66405),F=n(61512),D=n(51804);const $={current:null},I={current:!1};var L=n(21560),O=n(33234),N=n(12490),B=n(40406),R=n(7504),j=n(97732);var W=n(79432),z=n(9442),U=n(22963);const K=new WeakMap,X=Object.keys(z.A),q=X.length,H=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Z=U.V.length;class Y extends class{constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:r,visualState:s},i={}){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=()=>T.Wi.render(this.render,!1,!0);const{latestValues:o,renderState:a}=s;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.isControllingVariants=(0,R.G)(e),this.isVariantNode=(0,R.M)(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!==o[l]&&(0,B.i)(t)&&(t.set(o[l],!1),(0,N.L)(u)&&u.add(l))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,K.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((t,e)=>this.bindToMotionValue(e,t))),I.current||function(){if(I.current=!0,v.j)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>$.current=t.matches;t.addListener(e),e()}else $.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||$.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){K.delete(this.current),this.projection&&this.projection.unmount(),(0,T.Pn)(this.notifyUpdate),(0,T.Pn)(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=i.G.has(t),r=e.on("change",(e=>{this.latestValues[t]=e,this.props.onUpdate&&T.Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)})),s=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,(()=>{r(),s()}))}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},n,r,s){let i,o;for(let a=0;a<q;a++){const t=X[a],{isEnabled:n,Feature:r,ProjectionNode:s,MeasureLayout:u}=z.A[t];s&&(i=s),n(e)&&(!this.features[t]&&r&&(this.features[t]=new r(this)),u&&(o=u))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:t,layout:n,drag:r,dragConstraints:o,layoutScroll:a,layoutRoot:u}=e;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:Boolean(r)||o&&(0,D.I)(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"===typeof n?n:"both",initialPromotionConfig:s,layoutScroll:a,layoutRoot:u})}return o}updateFeatures(){for(const t in this.features){const e=this.features[t];
1e.isMounted?e.update():(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):(0,F.dO)()}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<H.length;n++){const e=H[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const r=t["on"+e];r&&(this.propEventSubscriptions[e]=this.on(e,r))}this.prevMotionValues=function(t,e,n){const{willChange:r}=e;for(const s in e){const i=e[s],o=n[s];if((0,B.i)(i))t.addValue(s,i),(0,N.L)(r)&&r.add(s);else if((0,B.i)(o))t.addValue(s,(0,O.B)(i,{owner:t})),(0,N.L)(r)&&r.remove(s);else if(o!==i)if(t.hasValue(s)){const e=t.getValue(s);!e.hasAnimated&&e.set(i)}else{const e=t.getStaticValue(s);t.addValue(s,(0,O.B)(void 0!==e?e:i,{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<Z;n++){const t=U.V[n],r=this.props[t];((0,j.$)(r)||!1===r)&&(e[t]=r)}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,O.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,r="string"===typeof n||"object"===typeof n?null===(e=(0,W.o)(this.props,n))||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==r)return r;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,B.i)(s)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new L.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:r},s){let i=(0,l.P$)(n,t||{},this);if(r&&(e&&(e=r(e)),n&&(n=r(n)),i&&(i=r(i))),s){(0,l.GJ)(this,n,i);const t=E(this,n,i,e);e=t.transitionEnd,n=t.target}return{transition:t,transitionEnd:e,...n}}}class J extends Y{readValueFromInstance(t,e){if(i.G.has(e)){const t=(0,u.A)(e);return t&&t.default||0}{const r=(n=t,window.getComputedStyle(n)),i=((0,s.f9)(e)?r.getPropertyValue(e):r[e])||0;return"string"===typeof i?i.trim():i}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,c.J)(t,e)}build(t,e,n,s){(0,r.r)(t,e,n,s.transformTemplate)}scrapeMotionValuesFromProps(t,e){return(0,o.U)(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;(0,B.i)(t)&&(this.childSubscription=t.on("change",(t=>{this.current&&(this.current.textContent=`${t}`)})))}renderInstance(t,e,n,r){(0,a.N)(t,e,n,r)}}var G=n(16832),_=n(85415),Q=n(93193),tt=n(77302),et=n(68504),nt=n(79854);class rt extends Y{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(i.G.has(e)){const t=(0,u.A)(e);return t&&t.default||0}return e=tt.s.has(e)?e:(0,Q.D)(e),t.getAttribute(e)}measureInstanceViewportBox(){return(0,F.dO)()}scrapeMotionValuesFromProps(t,e){return(0,G.U)(t,e)}build(t,e,n,r){(0,_.i)(t,e,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,n,r){(0,et.K)(t,e,n,r)}mount(t){this.isSVGTag=(0,nt.a)(t.tagName),super.mount(t)}}var st=n(62627);const it=(t,e)=>(0,st.q)(t)?new rt(e,{enableHardwareAcceleration:!1}):new J(e,{enableHardwareAcceleration:!0})},79135:function(t,e,n){n.d(e,{T:function(){return o}});var r=n(51550),s=n(97197),i=n(2728);function o(t,e){let n=(0,i.A)(t);return n!==s.h&&(n=r.P),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},2728:function(t,e,n){n.d(e,{A:function(){return o}});var r=n(85385),s=n(97197);const i={...n(36173).j,color:r.$,backgroundColor:r.$,outlineColor:r.$,fill:r.$,stroke:r.$,borderColor:r.$,borderTopColor:r.$,borderRightColor:r.$,borderBottomColor:r.$,borderLeftColor:r.$,filter:s.h,WebkitFilter:s.h},o=t=>i[t]},56440:function(t,e,n){n.d(e,{$:function(){return o},C:function(){return a}});var r=n(61649),s=n(96190),i=n(88340);const o=[r.Rx,s.px,s.aQ,s.RW,s.vw,s.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,i.l)(t))},88340:function(t,e,n){n.d(e,{l:function(){return r}});const r=t=>e=>e.test(t)},52248:function(t,e,n){n.d(e,{x:function(){return s}});var r=n(79432);function s(t,e,n){const s=t.getProps();
1return(0,r.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))}},58172:function(t,e,n){n.d(e,{GJ:function(){return v},P$:function(){return y},CD:function(){return m}});var r=n(30681),s=n(8715),i=n(33234),o=n(51550),a=n(79135),u=n(85385),c=n(56440),l=n(88340);const h=[...c.$,u.$,o.P],d=t=>h.find((0,l.l)(t));var p=n(52248);function f(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,i.B)(n))}function m(t,e){const n=(0,p.x)(t,e);let{transitionEnd:r={},transition:i={},...o}=n?t.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const a in o){f(t,a,(0,s.Y)(o[a]))}}function v(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 f=null;Array.isArray(p)&&(f=p[0]),null===f&&(f=null!==(u=null!==(s=n[l])&&void 0!==s?s:t.readValue(l))&&void 0!==u?u:e[l]),void 0!==f&&null!==f&&("string"===typeof f&&(/^\-?\d*\.?\d+$/.test(f)||(0,r.W)(f))?f=parseFloat(f):!d(f)&&o.P.test(p)&&(f=(0,a.T)(l,p)),t.addValue(l,(0,i.B)(f,{owner:t})),void 0===n[l]&&(n[l]=f),null!==f&&t.setBaseTarget(l,f))}}function g(t,e){if(!e)return;return(e[t]||e.default||e).from}function y(t,e,n){const r={};for(const s in t){const t=g(s,e);if(void 0!==t)r[s]=t;else{const t=n.getValue(s);t&&(r[s]=t.get())}}return r}},10010:function(t,e,n){function r(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 r}})},30681:function(t,e,n){n.d(e,{W:function(){return r}});const r=t=>/^0[^.\s]+$/.test(t)},80022:function(t,e,n){n.d(e,{C:function(){return r}});const r=(t,e,n)=>-n*t+n*e+t},83624:function(t,e,n){n.d(e,{z:function(){return s}});const r=(t,e)=>n=>e(t(n)),s=(...t)=>t.reduce(r)},23967:function(t,e,n){n.d(e,{Y:function(){return r}});const r=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r}},21560:function(t,e,n){n.d(e,{L:function(){return s}});var r=n(10010);class s{constructor(){this.subscriptions=[]}add(t){return(0,r.y4)(this.subscriptions,t),()=>(0,r.cl)(this.subscriptions,t)}notify(t,e,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(let s=0;s<r;s++){const r=this.subscriptions[s];r&&r(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},86917:function(t,e,n){n.d(e,{X:function(){return s},w:function(){return r}});const r=t=>1e3*t,s=t=>t/1e3},3038:function(t,e,n){function r(t,e){return e?t*(1e3/e):0}n.d(e,{R:function(){return r}})},33234:function(t,e,n){n.d(e,{B:function(){return u}});var r=n(37367),s=n(66405),i=n(21560),o=n(3038);class a{constructor(t,e={}){var n;this.version="10.12.18",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:i}=r.frameData;this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,s.Wi.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.Wi.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 i.L);const n=this.events[t].add(e);return"change"===t?()=>{n(),s.Wi.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,o.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),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new a(t,e)}},26382:function(t,e,n){n.d(e,{$:function(){return s}});var r=n(40819);const s={test:(0,n(98834).i)("#"),parse:function(t){let e="",n="",r="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alph
1a:s?parseInt(s,16)/255:1}},transform:r.m.transform}},93184:function(t,e,n){n.d(e,{J:function(){return a}});var r=n(61649),s=n(96190),i=n(36430),o=n(98834);const a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:o=1})=>"hsla("+Math.round(t)+", "+s.aQ.transform((0,i.Nw)(e))+", "+s.aQ.transform((0,i.Nw)(n))+", "+(0,i.Nw)(r.Fq.transform(o))+")"}},85385:function(t,e,n){n.d(e,{$:function(){return a}});var r=n(36430),s=n(26382),i=n(93184),o=n(40819);const a={test:t=>o.m.test(t)||s.$.test(t)||i.J.test(t),parse:t=>o.m.test(t)?o.m.parse(t):i.J.test(t)?i.J.parse(t):s.$.parse(t),transform:t=>(0,r.HD)(t)?t:t.hasOwnProperty("red")?o.m.transform(t):i.J.transform(t)}},40819:function(t,e,n){n.d(e,{m:function(){return u}});var r=n(24169),s=n(61649),i=n(36430),o=n(98834);const a={...s.Rx,transform:t=>Math.round((t=>(0,r.u)(0,255,t))(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(n)+", "+(0,i.Nw)(s.Fq.transform(r))+")"}},98834:function(t,e,n){n.d(e,{d:function(){return i},i:function(){return s}});var r=n(36430);const s=(t,e)=>n=>Boolean((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),i=(t,e,n)=>s=>{if(!(0,r.HD)(s))return s;const[i,o,a,u]=s.match(r.KP);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==u?parseFloat(u):1}}},97197:function(t,e,n){n.d(e,{h:function(){return u}});var r=n(51550),s=n(36430);const i=new Set(["brightness","contrast","saturate","opacity"]);function o(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(s.KP)||[];if(!r)return t;const o=n.replace(r,"");let a=i.has(e)?1:0;return r!==n&&(a*=100),e+"("+a+o+")"}const a=/([a-z-]*)\(.*?\)/g,u={...r.P,getAnimatableNone:t=>{const e=t.match(a);return e?e.map(o).join(" "):t}}},51550:function(t,e,n){n.d(e,{P:function(){return v},V:function(){return d}});var r=n(57630),s=n(81662),i=n(85385),o=n(61649),a=n(36430);const u={regex:r.Xp,countKey:"Vars",token:"${v}",parse:s.Z},c={regex:a.dA,countKey:"Colors",token:"${c}",parse:i.$.parse},l={regex:a.KP,countKey:"Numbers",token:"${n}",parse:o.Rx.parse};function h(t,{regex:e,countKey:n,token:r,parse:s}){const i=t.tokenised.match(e);i&&(t["num"+n]=i.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...i.map(s)))}function d(t){const e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&h(n,u),h(n,c),h(n,l),n}function p(t){return d(t).values}function f(t){const{values:e,numColors:n,numVars:r,tokenised:s}=d(t),o=e.length;return t=>{let e=s;for(let s=0;s<o;s++)e=s<r?e.replace(u.token,t[s]):s<r+n?e.replace(c.token,i.$.transform(t[s])):e.replace(l.token,(0,a.Nw)(t[s]));return e}}const m=t=>"number"===typeof t?0:t;const v={test:function(t){var e,n;return isNaN(t)&&(0,a.HD)(t)&&((null===(e=t.match(a.KP))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(a.dA))||void 0===n?void 0:n.length)||0)>0},parse:p,createTransformer:f,getAnimatableNone:function(t){const e=p(t);return f(t)(e.map(m))}}},12490:function(t,e,n){n.d(e,{L:function(){return s}});var r=n(40406);function s(t){return Boolean((0,r.i)(t)&&t.add)}}}]);

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.