PageSourceSearch

https://www.hd-strafverteidigung.de/wp-content/cache/min/1/wp-cont…/dist/js/blocks/teamGrid.js?ver=1790839092

js hd-strafverteidigung.de collected 2026-10-05 19:56:33 UTC 63,922 bytes, 1 lines download raw bytes

1(()=>{function fr(t,e){t.indexOf(e)===-1&&t.push(e)}function he(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}var N=(t,e,r)=>r>e?e:r<t?t:r;var Q=()=>{},G=()=>{};var K={};var $e=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function pr(t){return typeof t=="object"&&t!==null}var ze=t=>/^0[^.\s]+$/u.test(t);function _e(t){let e;return()=>(e===void 0&&(e=t()),e)}var L=t=>t;var Kn=(t,e)=>r=>e(t(r)),ge=(...t)=>t.reduce(Kn);var xe=(t,e,r)=>{let o=e-t;return o===0?1:(r-t)/o};var ye=class{constructor(){this.subscriptions=[]}add(e){return fr(this.subscriptions,e),()=>he(this.subscriptions,e)}notify(e,r,o){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](e,r,o);else for(let i=0;i<n;i++){let s=this.subscriptions[i];s&&s(e,r,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var P=t=>t*1e3,k=t=>t/1e3;function Ue(t,e){return e?t*(1e3/e):0}var Jr=(t,e,r)=>{let o=e-t;return((r-t)%o+o)%o+t};var Qr=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t,Gn=1e-7,Ln=12;function Wn(t,e,r,o,n){let i,s,a=0;do s=e+(r-e)/2,i=Qr(s,o,n)-t,i>0?r=s:e=s;while(Math.abs(i)>Gn&&++a<Ln);return s}function se(t,e,r,o){if(t===e&&r===o)return L;let n=i=>Wn(i,0,1,t,r);return i=>i===0||i===1?i:Qr(n(i),e,o)}var St=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2;var Mt=t=>e=>1-t(1-e);var At=se(.33,1.53,.69,.99),Me=Mt(At),qe=St(Me);var Ye=t=>t>=1?1:(t*=2)<1?.5*Me(t):.5*(2-Math.pow(2,-10*(t-1)));var Xe=t=>1-Math.sin(Math.acos(t)),ur=Mt(Xe),He=St(Xe);var cr=se(.42,0,1,1),dr=se(0,0,.58,1),Ze=se(.42,0,.58,1);var Je=t=>Array.isArray(t)&&typeof t[0]!="number";function Qe(t,e){return Je(t)?t[Jr(0,t.length,e)]:t}var et=t=>Array.isArray(t)&&typeof t[0]=="number";var eo={linear:L,easeIn:cr,easeInOut:Ze,easeOut:dr,circIn:Xe,circInOut:He,circOut:ur,backIn:Me,backInOut:qe,backOut:At,anticipate:Ye},jn=t=>typeof t=="string",wt=t=>{if(et(t)){G(t.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,r,o,n]=t;return se(e,r,o,n)}else if(jn(t))return G(eo[t]!==void 0,`Invalid easing type '${t}'`,"invalid-easing-type"),eo[t];return t};var tt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var Ae={value:null,addProjectionMetrics:null};function to(t,e){let r=new Set,o=new Set,n=!1,i=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},m=0;function p(f){s.has(f)&&(l.schedule(f),t()),m++,f(a)}let l={schedule:(f,u=!1,d=!1)=>{let h=d&&n?r:o;return u&&s.add(f),h.add(f),f},cancel:f=>{o.delete(f),s.delete(f)},process:f=>{if(a=f,n){i=!0;return}n=!0;let u=r;r=o,o=u,r.forEach(p),e&&Ae.value&&Ae.value.frameloop[e].push(m),m=0,r.clear(),n=!1,i&&(i=!1,l.process(f))}};return l}var $n=40;function Ct(t,e){let r=!1,o=!0,n={delta:0,timestamp:0,isProcessing:!1},i=()=>r=!0,s=tt.reduce((S,T)=>(S[T]=to(i,e?T:void 0),S),{}),{setup:a,read:m,resolveKeyframes:p,preUpdate:l,update:f,preRender:u,render:d,postRender:b}=s,h=()=>{let S=K.useManualTiming,T=S?n.timestamp:performance.now();r=!1,S||(n.delta=o?1e3/60:Math.max(Math.min(T-n.timestamp,$n),1)),n.timestamp=T,n.isProcessing=!0,a.process(n),m.process(n),p.process(n),l.process(n),f.process(n),u.process(n),d.process(n),b.process(n),n.isProcessing=!1,r&&e&&(o=!1,t(h))},g=()=>{r=!0,o=!0,n.isProcessing||t(h)};return{schedule:tt.reduce((S,T)=>{let V=s[T];return S[T]=(E,B=!1,v=!1)=>(r||g(),V.schedule(E,B,v)),S},{}),cancel:S=>{for(let T=0;T<tt.length;T++)s[tt[T]].cancel(S)},state:n,steps:s}}var{schedule:I,cancel:rt,state:we,steps:za}=Ct(typeof requestAnimationFrame<"u"?requestAnimationFrame:L,!0);var Dt;function zn(){Dt=void 0}var R={now:()=>(Dt===void 0&&R.set(we.isProcessing||K.useManualTiming?we.timestamp:performance.now()),Dt),set:t=>{Dt=t,queueMicrotask(zn)}};var Ce={layout:0,mainThread:0,waapi:0};var ro=t=>e=>typeof e=="string"&&e.startsWith(t),Et=ro("--"),_n=ro("var(--"),De=t=>_n(t)?Un.test(t.split("/*")[0].trim()):!1,Un=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function hr(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}var U={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},ee={...U,transform:t=>N(0,1,t)},ot={...U,default:1};var ae=t=>Math.round(t*1e5)/1e5;var Ee=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function oo(t){return t==null}var no=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Fe=(t,e)=>r=>!!(typeof r=="string"&&no.test(r)&&r.startsWith(t)||e&&!oo(r)&&Object.prototype.hasOwnProperty.call(r,e)),Ft=(t,e,r)=>o=>{if(typeof o!="string")return o;let[n,i,s,a]=o.match(Ee);return{[t]:parseFloat(n),[e]:parseFloat(i),[r]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}};var qn=t=>N(0,255,t),gr={...U,transform:t=>Math.round(qn(t))},q={test:Fe("rgb","red"),parse:Ft("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:o=1})=>"rgba("+gr.transform(t)+", "+gr.transform(e)+", "+gr.transform(r)+", "+ae(ee.transform(o))+")"};function Yn(t){let e="",r="",o="",n="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),o=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),o=t.substring(3,4),n=t.substring(4,5),e+=e,r+=r,o+=o,n+=n),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(o,16),alph
1a:n?parseInt(n,16)/255:1}}var nt={test:Fe("#"),parse:Yn,transform:q.transform};var it=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Y=it("deg"),le=it("%"),c=it("px"),io=it("vh"),so=it("vw"),xr={...le,parse:t=>le.parse(t)/100,transform:t=>le.transform(t*100)};var me={test:Fe("hsl","hue"),parse:Ft("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:o=1})=>"hsla("+Math.round(t)+", "+le.transform(ae(e))+", "+le.transform(ae(r))+", "+ae(ee.transform(o))+")"};var D={test:t=>q.test(t)||nt.test(t)||me.test(t),parse:t=>q.test(t)?q.parse(t):me.test(t)?me.parse(t):nt.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?q.transform(t):me.transform(t),getAnimatableNone:t=>{let e=D.parse(t);return e.alpha=0,D.transform(e)}};var ao=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Xn(t){return isNaN(t)&&typeof t=="string"&&(t.match(Ee)?.length||0)+(t.match(ao)?.length||0)>0}var mo="number",fo="color",Hn="var",Zn="var(",lo="${}",Jn=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function fe(t){let e=t.toString(),r=[],o={color:[],number:[],var:[]},n=[],i=0,a=e.replace(Jn,m=>(D.test(m)?(o.color.push(i),n.push(fo),r.push(D.parse(m))):m.startsWith(Zn)?(o.var.push(i),n.push(Hn),r.push(m)):(o.number.push(i),n.push(mo),r.push(parseFloat(m))),++i,lo)).split(lo);return{values:r,split:a,indexes:o,types:n}}function Qn(t){return fe(t).values}function po({split:t,types:e}){let r=t.length;return o=>{let n="";for(let i=0;i<r;i++)if(n+=t[i],o[i]!==void 0){let s=e[i];s===mo?n+=ae(o[i]):s===fo?n+=D.transform(o[i]):n+=o[i]}return n}}function ei(t){return po(fe(t))}var ti=t=>typeof t=="number"?0:D.test(t)?D.getAnimatableNone(t):t,ri=(t,e)=>typeof t=="number"?e?.trim().endsWith("/")?t:0:ti(t);function oi(t){let e=fe(t);return po(e)(e.values.map((o,n)=>ri(o,e.split[n])))}var O={test:Xn,parse:Qn,createTransformer:ei,getAnimatableNone:oi};function yr(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function uo({hue:t,saturation:e,lightness:r,alpha:o}){t/=360,e/=100,r/=100;let n=0,i=0,s=0;if(!e)n=i=s=r;else{let a=r<.5?r*(1+e):r+e-r*e,m=2*r-a;n=yr(m,a,t+1/3),i=yr(m,a,t),s=yr(m,a,t-1/3)}return{red:Math.round(n*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:o}}function Pe(t,e){return r=>r>0?e:t}var W=(t,e,r)=>t+(e-t)*r;var br=(t,e,r)=>{let o=t*t,n=r*(e*e-o)+o;return n<0?0:Math.sqrt(n)},ni=[nt,q,me],ii=t=>ni.find(e=>e.test(t));function co(t){let e=ii(t);if(Q(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let r=e.parse(t);return e===me&&(r=uo(r)),r}var Tr=(t,e)=>{let r=co(t),o=co(e);if(!r||!o)return Pe(t,e);let n={...r};return i=>(n.red=br(r.red,o.red,i),n.green=br(r.green,o.green,i),n.blue=br(r.blue,o.blue,i),n.alpha=W(r.alpha,o.alpha,i),q.transform(n))};var Pt=new Set(["none","hidden"]);function ho(t,e){return Pt.has(t)?r=>r<=0?t:e:r=>r>=1?e:t}function si(t,e){return r=>W(t,e,r)}function Bt(t){return typeof t=="number"?si:typeof t=="string"?De(t)?Pe:D.test(t)?Tr:mi:Array.isArray(t)?go:typeof t=="object"?D.test(t)?Tr:ai:Pe}function go(t,e){let r=[...t],o=r.length,n=t.map((i,s)=>Bt(i)(i,e[s]));return i=>{for(let s=0;s<o;s++)r[s]=n[s](i);return r}}function ai(t,e){let r={...t,...e},o={};for(let n in r)t[n]!==void 0&&e[n]!==void 0&&(o[n]=Bt(t[n])(t[n],e[n]));return n=>{for(let i in o)r[i]=o[i](n);return r}}function li(t,e){let r=[],o={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let i=e.types[n],s=t.indexes[i][o[i]],a=t.values[s]??0;r[n]=a,o[i]++}return r}var mi=(t,e)=>{let r=O.createTransformer(e),o=fe(t),n=fe(e);return o.indexes.var.length===n.indexes.var.length&&o.indexes.color.length===n.indexes.color.length&&o.indexes.number.length>=n.indexes.number.length?Pt.has(t)&&!n.values.length||Pt.has(e)&&!o.values.length?ho(t,e):ge(go(li(o,n),n.values),r):(Q(!0,`Complex values '${t}' and '${e}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Pe(t,e))};function Rt(t,e,r){return typeof t=="number"&&typeof e=="number"&&typeof r=="number"?W(t,e,r):Bt(t)(t,e)}var xo=t=>{let e=({timestamp:r})=>t(r);return{start:(r=!0)=>I.update(e,r),stop:()=>rt(e),now:()=>we.isProcessing?we.timestamp:R.now()}};var Ot=(t,e,r=10)=>{let o="",n=Math.max(Math.round(e/r),2);for(let i=0;i<n;i++)o+=Math.round(t(i/(n-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`};function Be(t){let e=0,r=50,o=t.next(e);for(;!o.done&&e<2e4;)e+=r,o=t.next(e);return e>=2e4?1/0:e}function st(t,e=100,r){let o=r({...t,keyframes:[0,e]}),n=Math.min(Be(o),2e4);return{type:"keyframes",ease:i=>o.next(n*i).value/e,duration:k(n)}}var F={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Sr(t,e){return t*Math.sqrt(1-e*e)}var fi=12;function pi(t,e,r){let o=r;for(let n=1;n<fi;n++)o=o-t(o)/e(o);return o}var vr=.001;function ui({duration:t=F.duration,bounce:e=F.bounce,velocity:r=F.velocity,mass:o=F.mass}){let n,i;Q(t<=P(F.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-e;s=N(F.minDamping,F.maxDamping,s),t=N(F.minDuration,F.maxDuration,k(t)),s<1?(n=p=>{let l=p*s,f=l*t,u=l-r,d=Sr(p,s),b=Math.exp(-f);return vr-u/d*b},i=p=>{let f=p*s*t,u=f*r+r,d=Math.pow(s,2)*Math.pow(p,2)*t,b=Math.exp(-f),h=Sr(Math.pow(p,2),s);return(-n(p)+vr>0?-1:1)*((u-d)*b)/h}):(n=p=>{let l=Math.exp(-p*t),f=(p-r)*t+1;return-vr+l*f},i=p=>{let l=Math.exp(-p*t),f=(r-p)*(t*t);return l*f});let a=5/t,m=pi(n,i,a);if(t=P(t),isNaN(m))return{stiffness:F.stiffness,damping:F.damping,duration:t};{let p=Math.pow(m,2)*o;return{stiffness:p,damping:s*2*Math.sqrt(o*p),duration:t}}}var ci=["duration","bounce"],di=["stiffness","damping","mass"];function yo(t,e){return e.some(r=>t[r]!==void 0)}function hi(t){let e={velocity:F.velocity,stiffness:F.stiffness,damping:F.damping,mass:F.mass,isResolvedFromDuration:!1,...t};if(!yo(t,di)&&yo(t,ci))if(e.velocity=0,t.visualDuration){let r=t.visualDuration,o=2*Math.PI/(r*1.2),n=o*o,i=2*N(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:F.mass,stiffness:n,damping:i}}else{let r=ui({...t,velocity:0});e={...e,...r,mass:F.mass},e.isResolvedFromDuration=!0}return e}function te(t=F.visualDuration,e=F.bounce){let r=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:o,restDelta:n}=r,i=r.keyframes[0],s=r.keyframes[r.keyframes.length-1],a={done:!1,value:i},{stiffness:m,damping:p,mass:l,duration:f,velocity:u,isResolvedFromDuration:d}=hi({...r,velocity:-k(r.velocity||0)}),b=u||0,h=p/(2*Math.sqrt(m*l)),g=s-i,y=k(Math.sqrt(m/l)),C=Math.abs(g)<5;o||(o=C?F.restSpeed.granular:F.restSpeed.default),n||(n=C?F.restDelta.granular:F.restDelta.default);let S,T,V,E,B,v;if(h<1)V=Sr(y,h),E=(b+h*y*g)/V,S=x=>{let A=Math.exp(-h*y*x);return s-A*(E*Math.sin(V*x)+g*Math.cos(V*x))},B=h*y*E+g*V,v=h*y*g-E*V,T=x=>Math.exp(-h*y*x)*(B*Math.sin(V*x)+v*Math.cos(V*x));else if(h===1){S=A=>s-Math.exp(-y*A)*(g+(b+y*g)*A);let x=b+y*g;T=A=>Math.exp(-y*A)*(y*x*A-b)}else{let x=y*Math.sqrt(h*h-1);S=H=>{let de=Math.exp(-h*y*H),Z=Math.min(x*H,300);return s-de*((b+h*y*g)*Math.sinh(Z)+x*g*Math.cosh(Z))/x};let A=(b+h*y*g)/x,j=h*y*A-g*x,_=h*y*g-A*x;T=H=>{let de=Math.exp(-h*y*H),Z=Math.min(x*H,300);return de*(j*Math.sinh(Z)+_*Math.cosh(Z))}}let M={calculatedDuration:d&&f||null,velocity:x=>P(T(x)),next:x=>{if(!d&&h<1){let j=Math.exp(-h*y*x),_=Math.sin(V*x),H=Math.cos(V*x),de=s-j*(E*_+g*H),Z=P(j*(B*_+v*H));return a.done=Math.abs(Z)<=o&&Math.abs(s-de)<=n,a.value=a.done?s:de,a}let A=S(x);if(d)a.done=x>=f;else{let j=P(T(x));a.done=Math.abs(j)<=o&&Math.abs(s-A)<=n}return a.value=a.done?s:A,a},toString:()=>{let x=Math.min(Be(M),2e4),A=Ot(j=>M.next(x*j).value,x,30);return x+"ms "+A},toTransition:()=>{}};return M}te.applyToOptions=t=>{let e=st(t,100,te);return t.ease=e.ease,t.duration=P(e.duration),t.type="keyframes",t};var gi=5;function kt(t,e,r){let o=Math.max(e-gi,0);return Ue(r-t(o),e-o)}function at({keyframes:t,velocity:e=0,power:r=.8,timeConstant:o=325,bounceDamping:n=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:m,restDelta:p=.5,restSpeed:l}){let f=t[0],u={done:!1,value:f},d=v=>a!==void 0&&v<a||m!==void 0&&v>m,b=v=>a===void 0?m:m===void 0||Math.abs(a-v)<Math.abs(m-v)?a:m,h=r*e,g=f+h,y=s===void 0?g:s(g);y!==g&&(h=y-f);let C=v=>-h*Math.exp(-v/o),S=v=>y+C(v),T=v=>{let M=C(v),x=S(v);u.done=Math.abs(M)<=p,u.value=u.done?y:x},V,E,B=v=>{d(u.value)&&(V=v,E=te({keyframes:[u.value,b(u.value)],velocity:kt(S,v,u.value),damping:n,stiffness:i,restDelta:p,restSpeed:l}))};return B(0),{calculatedDuration:null,next:v=>{let M=!1;return!E&&V===void 0&&(M=!0,T(v),B(v)),V!==void 0&&v>=V?E.next(v-V):(!M&&T(v),u)}}}function xi(t,e,r){let o=[],n=r||K.mix||Rt,i=t.length-1;for(let s=0;s<i;s++){let a=n(t[s],t[s+1]);if(e){let m=Array.isArray(e)?e[s]||L:e;a=ge(m,a)}o.push(a)}return o}function bo(t,e,{clamp:r=!0,ease:o,mixer:n}={}){let i=t.length;if(G(i===e.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>e[0];if(i===2&&e[0]===e[1])return()=>e[1];let s=t[0]===t[1];t[0]>t[i-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=xi(e,o,n),m=a.length,p=l=>{if(s&&l<t[0])return e[0];let f=0;if(m>1)for(;f<t.length-2&&!(l<t[f+1]);f++);
1let u=xe(t[f],t[f+1],l);return a[f](u)};return r?l=>p(N(t[0],t[i-1],l)):p}function lt(t,e){let r=t[t.length-1];for(let o=1;o<=e;o++){let n=xe(0,e,o);t.push(W(r,1,n))}}function mt(t){let e=[0];return lt(e,t.length-1),e}function To(t,e){return t.map(r=>r*e)}function yi(t,e){return t.map(()=>e||Ze).splice(0,t.length-1)}function be({duration:t=300,keyframes:e,times:r,ease:o="easeInOut"}){let n=Je(o)?o.map(wt):wt(o),i={done:!1,value:e[0]},s=To(r&&r.length===e.length?r:mt(e),t),a=bo(s,e,{ease:Array.isArray(n)?n:yi(e,n)});return{calculatedDuration:t,next:m=>(i.value=a(m),i.done=m>=t,i)}}var bi=t=>t!==null;function pe(t,{repeat:e,repeatType:r="loop"},o,n=1){let i=t.filter(bi),a=n<0||e&&r!=="loop"&&e%2===1?0:i.length-1;return!a||o===void 0?i[a]:o}var Ti={decay:at,inertia:at,tween:be,keyframes:be,spring:te};function It(t){typeof t.type=="string"&&(t.type=Ti[t.type])}var ue=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,r){return this.finished.then(e,r)}};var Vi=t=>t/100,re=class extends ue{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:r}=this.options;r&&r.updatedAt!==R.now()&&this.tick(R.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},Ce.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;It(e);let{type:r=be,repeat:o=0,repeatDelay:n=0,repeatType:i,velocity:s=0}=e,{keyframes:a}=e,m=r||be;m!==be&&typeof a[0]!="number"&&(this.mixKeyframes=ge(Vi,Rt(a[0],a[1])),a=[0,100]);let p=m({...e,keyframes:a});i==="mirror"&&(this.mirroredGenerator=m({...e,keyframes:[...a].reverse(),velocity:-s})),p.calculatedDuration===null&&(p.calculatedDuration=Be(p));let{calculatedDuration:l}=p;this.calculatedDuration=l,this.resolvedDuration=l+n,this.totalDuration=this.resolvedDuration*(o+1)-n,this.generator=p}updateTime(e){let r=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(e,r=!1){let{generator:o,totalDuration:n,mixKeyframes:i,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:m}=this;if(this.startTime===null)return o.next(0);let{delay:p=0,keyframes:l,repeat:f,repeatType:u,repeatDelay:d,type:b,onUpdate:h,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),r?this.currentTime=e:this.updateTime(e);let y=this.currentTime-p*(this.playbackSpeed>=0?1:-1),C=this.playbackSpeed>=0?y<0:y>n;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=n);let S=this.currentTime,T=o;if(f){let v=Math.min(this.currentTime,n)/a,M=Math.floor(v),x=v%1;!x&&v>=1&&(x=1),x===1&&M--,M=Math.min(M,f+1),M%2&&(u==="reverse"?(x=1-x,d&&(x-=d/a)):u==="mirror"&&(T=s)),S=N(0,1,x)*a}let V;C?(this.delayState.value=l[0],V=this.delayState):V=T.next(S),i&&!C&&(V.value=i(V.value));let{done:E}=V;!C&&m!==null&&(E=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let B=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return B&&b!==at&&(V.value=pe(l,this.options,g,this.speed)),h&&h(V.value),B&&this.finish(),V}then(e,r){return this.finished.then(e,r)}get duration(){return k(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+k(e)}get time(){return k(this.currentTime)}set time(e){e=P(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let r=this.generator.next(e).value;return kt(o=>this.generator.next(o).value,e,r)}get speed(){return this.playbackSpeed}set speed(e){let r=this.playbackSpeed!==e;r&&this.driver&&this.updateTime(R.now()),this.playbackSpeed=e,r&&this.driver&&(this.time=k(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=xo,startTime:r}=this.options;this.driver||(this.driver=e(n=>this.tick(n))),this.options.onPlay?.();let o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=r??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(R.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,Ce.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}};function Vo(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}var Te=t=>t*180/Math.PI,Mr=t=>{let e=Te(Math.atan2(t[1],t[0]));return Ar(e)},vi={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Mr,rotateZ:Mr,skewX:t=>Te(Math.atan(t[1])),skewY:t=>Te(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Ar=t=>(t=t%360,t<0&&(t+=360),t),vo=Mr,So=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Mo=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Si={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:So,scaleY:Mo,scale:t=>(So(t)+Mo(t))/2,rotateX:t=>Ar(Te(Math.atan2(t[6],t[5]))),rotateY:t=>Ar(Te(Math.atan2(-t[2],t[0]))),rotateZ:vo,rotate:vo,skewX:t=>Te(Math.atan(t[4])),skewY:t=>Te(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Nt(t){return t.includes("scale")?1:0}function Kt(t,e){if(!t||t==="none")return Nt(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),o,n;if(r)o=Si,n=r;else{let a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=vi,n=a}if(!n)return Nt(e);let i=o[e],s=n[1].split(",").map(Mi);return typeof i=="function"?i(s):s[i]}var Ao=(t,e)=>{let{transform:r="none"}=getComputedStyle(t);return Kt(r,e)};function Mi(t){return parseFloat(t.trim())}var X=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$=new Set(X);var wr=t=>t===U||t===c,Ai=new Set(["x","y","z"]),wi=X.filter(t=>!Ai.has(t));function wo(t){let e=[];return wi.forEach(r=>{let o=t.getValue(r);o!==void 0&&(e.push([r,o.get()]),o.set(r.startsWith("scale")?1:0))}),e}var oe={width:({x:t},{paddingLeft:e="0",paddingRight:r="0",boxSizing:o})=>{let n=t.max-t.min;return o==="border-box"?n:n-parseFloat(e)-parseFloat(r)},height:({y:t},{paddingTop:e="0",paddingBottom:r="0",boxSizing:o})=>{let n=t.max-t.min;return o==="border-box"?n:n-parseFloat(e)-parseFloat(r)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>Kt(e,"x"),y:(t,{transform:e})=>Kt(e,"y")};oe.translateX=oe.x;oe.translateY=oe.y;var Ve=new Set,Cr=!1,Dr=!1,Er=!1;function Co(){if(Dr){let t=Array.from(Ve).filter(o=>o.needsMeasurement),e=new Set(t.map(o=>o.element)),r=new Map;e.forEach(o=>{let n=wo(o);n.length&&(r.set(o,n),o.render())}),t.forEach(o=>o.measureInitialState()),e.forEach(o=>{o.render();let n=r.get(o);
1n&&n.forEach(([i,s])=>{o.getValue(i)?.set(s)})}),t.forEach(o=>o.measureEndState()),t.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Dr=!1,Cr=!1,Ve.forEach(t=>t.complete(Er)),Ve.clear()}function Do(){Ve.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Dr=!0)})}function Eo(){Er=!0,Do(),Co(),Er=!1}var ce=class{constructor(e,r,o,n,i,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=r,this.name=o,this.motionValue=n,this.element=i,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Ve.add(this),Cr||(Cr=!0,I.read(Do),I.resolveKeyframes(Co))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:r,element:o,motionValue:n}=this;if(e[0]===null){let i=n?.get(),s=e[e.length-1];if(i!==void 0)e[0]=i;else if(o&&r){let a=o.readValue(r,s);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=s),n&&i===void 0&&n.set(e[0])}Vo(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ve.delete(this)}cancel(){this.state==="scheduled"&&(Ve.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var Fo=t=>t.startsWith("--");function Gt(t,e,r){Fo(e)?t.style.setProperty(e,r):t.style[e]=r}var Po={};function Lt(t,e){let r=_e(t);return()=>Po[e]??r()}var Bo=Lt(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var Wt=Lt(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var ve=([t,e,r,o])=>`cubic-bezier(${t}, ${e}, ${r}, ${o})`;var Fr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ve([0,.65,.55,1]),circOut:ve([.55,0,1,.45]),backIn:ve([.31,.01,.66,-.59]),backOut:ve([.33,1.53,.69,.99])};function Pr(t,e){if(t)return typeof t=="function"?Wt()?Ot(t,e):"ease-out":et(t)?ve(t):Array.isArray(t)?t.map(r=>Pr(r,e)||Fr.easeOut):Fr[t]}function Ro(t,e,r,{delay:o=0,duration:n=300,repeat:i=0,repeatType:s="loop",ease:a="easeOut",times:m}={},p=void 0){let l={[e]:r};m&&(l.offset=m);let f=Pr(a,n);Array.isArray(f)&&(l.easing=f),Ae.value&&Ce.waapi++;let u={delay:o,duration:n,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"};p&&(u.pseudoElement=p);let d=t.animate(l,u);return Ae.value&&d.finished.finally(()=>{Ce.waapi--}),d}function Se(t){return typeof t=="function"&&"applyToOptions"in t}function Oo({type:t,...e}){return Se(t)&&Wt()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}var Re=class extends ue{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:r,name:o,keyframes:n,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:a,onComplete:m}=e;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=e,G(typeof e.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let p=Oo(e);this.animation=Ro(r,o,n,p,i),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let l=pe(n,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(l),Gt(r,o,l),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return k(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+k(e)}get time(){return k(Number(this.animation.currentTime)||0)}set time(e){let r=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=P(e),r&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:r,rangeEnd:o,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Bo()?(this.animation.timeline=e,r&&(this.animation.rangeStart=r),o&&(this.animation.rangeEnd=o),L):n(this)}};var ko={anticipate:Ye,backInOut:qe,circInOut:He};function Ci(t){return t in ko}function Io(t){typeof t.ease=="string"&&Ci(t.ease)&&(t.ease=ko[t.ease])}var Br=10,jt=class extends Re{constructor(e){Io(e),It(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:r,onUpdate:o,onComplete:n,element:i,...s}=this.options;if(!r)return;if(e!==void 0){r.set(e);return}let a=new re({...s,autoplay:!1}),m=Math.max(Br,R.now()-this.startTime),p=N(0,Br,m-Br),l=a.sample(m).value,{name:f}=this.options;i&&f&&Gt(i,f,l),r.setWithVelocity(a.sample(Math.max(0,m-p)).value,l,p),a.stop()}};var Rr=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(O.test(t)||t==="0")&&!t.startsWith("url("));function Di(t){let e=t[0];if(t.length===1)return!0;for(let r=0;r<t.length;r++)if(t[r]!==e)return!0}function No(t,e,r,o){let n=t[0];if(n===null)return!1;if(e==="display"||e==="visibility")return!0;let i=t[t.length-1],s=Rr(n,e),a=Rr(i,e);return Q(s===a,`You are trying to animate ${e} from "${n}" to "${i}". "${s?i:n}" is not an animatable value.`,"value-not-animatable"),!s||!a?!1:Di(t)||(r==="spring"||Se(r))&&o}function ft(t){t.duration=0,t.type="keyframes"}var $t=new Set(["opacity","clipPath","filter","transform"]);var Ei=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Ko(t){for(let e=0;e<t.length;e++)if(typeof t[e]=="string"&&Ei.test(t[e]))return!0;return!1}var Fi=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Pi=_e(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Go(t){let{motionValue:e,name:r,repeatDelay:o,repeatType:n,damping:i,type:s,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;
1let{onUpdate:p,transformTemplate:l}=e.owner.getProps();return Pi()&&r&&($t.has(r)||Fi.has(r)&&Ko(a))&&(r!=="transform"||!l)&&!p&&!o&&n!=="mirror"&&i!==0&&s!=="inertia"}var Bi=40,zt=class extends ue{constructor({autoplay:e=!0,delay:r=0,type:o="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:s="loop",keyframes:a,name:m,motionValue:p,element:l,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=R.now();let u={autoplay:e,delay:r,type:o,repeat:n,repeatDelay:i,repeatType:s,name:m,motionValue:p,element:l,...f},d=l?.KeyframeResolver||ce;this.keyframeResolver=new d(a,(b,h,g)=>this.onKeyframesResolved(b,h,u,!g),m,p,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,r,o,n){this.keyframeResolver=void 0;let{name:i,type:s,velocity:a,delay:m,isHandoff:p,onUpdate:l}=o;this.resolvedAt=R.now();let f=!0;No(e,i,s,a)||(f=!1,(K.instantAnimations||!m)&&l?.(pe(e,o,r)),e[0]=e[e.length-1],ft(o),o.repeat=0);let d={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>Bi?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...o,keyframes:e},b=f&&!p&&Go(d),h=d.motionValue?.owner?.current,g;if(b)try{g=new jt({...d,element:h})}catch{g=new re(d)}else g=new re(d);g.finished.then(()=>{this.notifyFinished()}).catch(L),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(e,r){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Eo()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};var _t=class{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,r){for(let o=0;o<this.animations.length;o++)this.animations[o][e]=r}attachTimeline(e){let r=this.animations.map(o=>o.attachTimeline(e));return()=>{r.forEach((o,n)=>{o&&o(),this.animations[n].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return Lo(this.animations,"duration")}get iterationDuration(){return Lo(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(r=>r[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};function Lo(t,e){let r=0;for(let o=0;o<t.length;o++){let n=t[o][e];n!==null&&n>r&&(r=n)}return r}var pt=class extends _t{then(e,r){return this.finished.finally(e).then(()=>{})}};var Ri=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Oi(t){let e=Ri.exec(t);if(!e)return[,];let[,r,o,n]=e;return[`--${r??o}`,n]}var ki=4;function Or(t,e,r=1){G(r<=ki,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[o,n]=Oi(t);if(!o)return;let i=window.getComputedStyle(e).getPropertyValue(o);if(i){let s=i.trim();return $e(s)?parseFloat(s):s}return De(n)?Or(n,e,r+1):n}var Ii={type:"spring",stiffness:500,damping:25,restSpeed:10},Ni=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Ki={type:"keyframes",duration:.8},Gi={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Wo=(t,{keyframes:e})=>e.length>2?Ki:$.has(t)?t.startsWith("scale")?Ni(e[1]):Ii:Gi;function Ut(t,e){if(t?.inherit&&e){let{inherit:r,...o}=t;return{...e,...o}}return t}function qt(t,e){let r=t?.[e]??t?.default??t;return r!==t?Ut(r,t):r}var Li=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function jo(t){for(let e in t)if(!Li.has(e))return!0;return!1}var Yt=(t,e,r,o={},n,i)=>s=>{let a=qt(o,t)||{},m=a.delay||o.delay||0,{elapsed:p=0}=o;p=p-P(m);let l={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-p,onUpdate:u=>{e.set(u),a.onUpdate&&a.onUpdate(u)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:i?void 0:n};jo(a)||Object.assign(l,Wo(t,l)),l.duration&&(l.duration=P(l.duration)),l.repeatDelay&&(l.repeatDelay=P(l.repeatDelay)),l.from!==void 0&&(l.keyframes[0]=l.from);let f=!1;if((l.type===!1||l.duration===0&&!l.repeatDelay)&&(ft(l),l.delay===0&&(f=!0)),(K.instantAnimations||K.skipAnimations||n?.shouldSkipAnimations)&&(f=!0,ft(l),l.delay=0),l.allowFlatten=!a.type&&!a.ease,f&&!i&&e.get()!==void 0){let u=pe(l.keyframes,a);if(u!==void 0){I.update(()=>{l.onUpdate(u),l.onComplete()});return}}return a.isSync?new re(l):new zt(l)};function $o(t){let e=[{},{}];
1return t?.values.forEach((r,o)=>{e[0][o]=r.get(),e[1][o]=r.getVelocity()}),e}function Xt(t,e,r,o){if(typeof e=="function"){let[n,i]=$o(o);e=e(r!==void 0?r:t.custom,n,i)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){let[n,i]=$o(o);e=e(r!==void 0?r:t.custom,n,i)}return e}function zo(t,e,r){let o=t.getProps();return Xt(o,e,r!==void 0?r:o.custom,t)}var Ht=new Set(["width","height","top","left","right","bottom",...X]);var _o=30,Wi=t=>!isNaN(parseFloat(t)),kr={current:void 0},Zt=class{constructor(e,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{let n=R.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=r.owner}setCurrent(e){this.current=e,this.updatedAt=R.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Wi(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,r){this.events[e]||(this.events[e]=new ye);let o=this.events[e].add(r);return e==="change"?()=>{o(),I.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,r){this.passiveEffect=e,this.stopPassiveEffect=r}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,r,o){this.set(r),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-o}jump(e,r=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return kr.current&&kr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=R.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>_o)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,_o);return Ue(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(e){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=e(r),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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function z(t,e){return new Zt(t,e)}var Uo=t=>Array.isArray(t);function ji(t,e,r){t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,z(r))}function $i(t){return Uo(t)?t[t.length-1]||0:t}function qo(t,e){let r=zo(t,e),{transitionEnd:o={},transition:n={},...i}=r||{};i={...i,...o};for(let s in i){let a=$i(i[s]);ji(t,s,a)}}var w=t=>!!(t&&t.getVelocity);function Yo(t){return!!(w(t)&&t.add)}function Xo(t,e){let r=t.getValue("willChange");if(Yo(r))return r.add(e);if(!r&&K.WillChange){let o=new K.WillChange("auto");t.addValue("willChange",o),o.add(e)}}function Oe(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var zi="framerAppearId",Ho="data-"+Oe(zi);function Zo(t){return t.props[Ho]}function _i({protectedKeys:t,needsAnimating:e},r){let o=t.hasOwnProperty(r)&&e[r]!==!0;return e[r]=!1,o}function Ir(t,e,{delay:r=0,transitionOverride:o,type:n}={}){let{transition:i,transitionEnd:s,...a}=e,m=t.getDefaultTransition();i=i?Ut(i,m):m;let p=i?.reduceMotion;o&&(i=o);let l=[],f=n&&t.animationState&&t.animationState.getState()[n];for(let u in a){let d=t.getValue(u,t.latestValues[u]??null),b=a[u];if(b===void 0||f&&_i(f,u))continue;let h={delay:r,...qt(i||{},u)},g=d.get();if(g!==void 0&&!d.isAnimating()&&!Array.isArray(b)&&b===g&&!h.velocity){I.update(()=>d.set(b));continue}let y=!1;if(window.MotionHandoffAnimation){let T=Zo(t);if(T){let V=window.MotionHandoffAnimation(T,u,I);V!==null&&(h.startTime=V,y=!0)}}Xo(t,u);let C=p??t.shouldReduceMotion;d.start(Yt(u,d,b,C&&Ht.has(u)?{type:!1}:h,t,y));let S=d.animation;S&&l.push(S)}if(s){let u=()=>I.update(()=>{s&&qo(t,s)});l.length?Promise.all(l).then(u):u()}return l}var Jo={test:t=>t==="auto",parse:t=>t};var Jt=t=>e=>e.test(t);var Nr=[U,c,le,Y,so,io,Jo],Kr=t=>Nr.find(Jt(t));function Qo(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||ze(t):!0}var Ui=new Set(["brightness","contrast","saturate","opacity"]);function qi(t){let[e,r]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;let[o]=r.match(Ee)||[];if(!o)return t;let n=r.replace(o,""),i=Ui.has(e)?1:0;return o!==r&&(i*=100),e+"("+i+n+")"}var Yi=/\b([a-z-]*)\(.*?\)/gu,ut={...O,getAnimatableNone:t=>{let e=t.match(Yi);return e?e.map(qi).join(" "):t}};var ct={...O,getAnimatableNone:t=>{let e=O.parse(t);return O.createTransformer(t)(e.map(o=>typeof o=="number"?0:typeof o=="object"?{...o,alpha:1}:o))}};var Gr={...U,transform:Math.round};var en={rotate:Y,rotateX:Y,rotateY:Y,rotateZ:Y,scale:ot,scaleX:ot,scaleY:ot,scaleZ:ot,skew:Y,skewX:Y,skewY:Y,distance:c,translateX:c,translateY:c,translateZ:c,x:c,y:c,z:c,perspective:c,transformPerspective:c,op
1acity:ee,originX:xr,originY:xr,originZ:c};var ke={borderWidth:c,borderTopWidth:c,borderRightWidth:c,borderBottomWidth:c,borderLeftWidth:c,borderRadius:c,borderTopLeftRadius:c,borderTopRightRadius:c,borderBottomRightRadius:c,borderBottomLeftRadius:c,width:c,maxWidth:c,height:c,maxHeight:c,top:c,right:c,bottom:c,left:c,inset:c,insetBlock:c,insetBlockStart:c,insetBlockEnd:c,insetInline:c,insetInlineStart:c,insetInlineEnd:c,padding:c,paddingTop:c,paddingRight:c,paddingBottom:c,paddingLeft:c,paddingBlock:c,paddingBlockStart:c,paddingBlockEnd:c,paddingInline:c,paddingInlineStart:c,paddingInlineEnd:c,margin:c,marginTop:c,marginRight:c,marginBottom:c,marginLeft:c,marginBlock:c,marginBlockStart:c,marginBlockEnd:c,marginInline:c,marginInlineStart:c,marginInlineEnd:c,fontSize:c,backgroundPositionX:c,backgroundPositionY:c,...en,zIndex:Gr,fillOpacity:ee,strokeOpacity:ee,numOctaves:Gr};var Xi={...ke,color:D,backgroundColor:D,outlineColor:D,fill:D,stroke:D,borderColor:D,borderTopColor:D,borderRightColor:D,borderBottomColor:D,borderLeftColor:D,filter:ut,WebkitFilter:ut,mask:ct,WebkitMask:ct},Qt=t=>Xi[t];var Hi=new Set([ut,ct]);function er(t,e){let r=Qt(t);return Hi.has(r)||(r=O),r.getAnimatableNone?r.getAnimatableNone(e):void 0}var Zi=new Set(["auto","none","0"]);function tn(t,e,r){let o=0,n;for(;o<t.length&&!n;){let i=t[o];typeof i=="string"&&!Zi.has(i)&&fe(i).values.length&&(n=t[o]),o++}if(n&&r)for(let i of e)t[i]=er(r,n)}var tr=class extends ce{constructor(e,r,o,n,i){super(e,r,o,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:r,name:o}=this;if(!r||!r.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let f=e[l];if(typeof f=="string"&&(f=f.trim(),De(f))){let u=Or(f,r.current);u!==void 0&&(e[l]=u),l===e.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!Ht.has(o)||e.length!==2)return;let[n,i]=e,s=Kr(n),a=Kr(i),m=hr(n),p=hr(i);if(m!==p&&oe[o]){this.needsMeasurement=!0;return}if(s!==a)if(wr(s)&&wr(a))for(let l=0;l<e.length;l++){let f=e[l];typeof f=="string"&&(e[l]=parseFloat(f))}else oe[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:r}=this,o=[];for(let n=0;n<e.length;n++)(e[n]===null||Qo(e[n]))&&o.push(n);o.length&&tn(e,o,r)}measureInitialState(){let{element:e,unresolvedKeyframes:r,name:o}=this;if(!e||!e.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=oe[o](e.measureViewportBox(),window.getComputedStyle(e.current)),r[0]=this.measuredOrigin;let n=r[r.length-1];n!==void 0&&e.getValue(o,n).jump(n,!1)}measureEndState(){let{element:e,name:r,unresolvedKeyframes:o}=this;if(!e||!e.current)return;let n=e.getValue(r);n&&n.jump(this.measuredOrigin,!1);let i=o.length-1,s=o[i];o[i]=oe[r](e.measureViewportBox(),window.getComputedStyle(e.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([a,m])=>{e.getValue(a).set(m)}),this.resolveNoneKeyframes()}};function dt(t,e,r){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let o=document;e&&(o=e.current);let n=r?.[t]??o.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(o=>o!=null)}var rr=(t,e)=>e&&typeof t=="number"?e.transform(t):t;var{schedule:rn,cancel:wc}=Ct(queueMicrotask,!1);function ht(t){return pr(t)&&"ownerSVGElement"in t}function Lr(t){return ht(t)&&t.tagName==="svg"}var Ji=[...Nr,D,O],on=t=>Ji.find(Jt(t));var nn=()=>({min:0,max:0}),Ie=()=>({x:nn(),y:nn()});var ne=new WeakMap;function sn(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function an(t){return typeof t=="string"||Array.isArray(t)}var Qi=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ln=["initial",...Qi];function Wr(t){return sn(t.animate)||ln.some(e=>an(t[e]))}function mn(t){return!!(Wr(t)||t.variants)}function fn(t,e,r){for(let o in e){let n=e[o],i=r[o];if(w(n))t.addValue(o,n);else if(w(i))t.addValue(o,z(n,{owner:t}));else if(i!==n)if(t.hasValue(o)){let s=t.getValue(o);s.liveStyle===!0?s.jump(n):s.hasAnimated||s.set(n)}else{let s=t.getStaticValue(o);t.addValue(o,z(s!==void 0?s:n,{owner:t}))}}for(let o in r)e[o]===void 0&&t.removeValue(o);return e}var gt={current:null},or={current:!1};var es=typeof window<"u";function pn(){if(or.current=!0,!!es)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>gt.current=t.matches;t.addEventListener("change",e),e()}else gt.current=!1}var un=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],cn={};var Ne=class{scrapeMotionValuesFromProps(e,r,o){return{}}constructor({parent:e,props:r,presenceContext:o,reducedMotionConfig:n,skipAnimations:i,blockInitialAnimation:s,visualState:a},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=ce,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let d=R.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,I.render(this.render,!1,!0))};let{latestValues:p,renderState:l}=a;this.latestValues=p,this.baseTarget={...p},this.initialValues=r.initial?{...p}:{},this.renderState=l,this.parent=e,this.props=r,this.presenceContext=o,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=i,this.options=m,this.blockInitialAnimation=!!s,this.isControllingVariants=Wr(r),this.isVariantNode=mn(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:f,...u}=this.scrapeMotionValuesFromProps(r,{},this);for(let d in u){let b=u[d];p[d]!==void 0&&w(b)&&b.set(p[d])}}mount(e){if(this.hasBeenMounted)for(let r in this.initialValues)this.values.get(r)?.jump(this.initialValues[r]),this.latestValues[r]=this.initialValues[r];this.current=e,ne.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,o)=>this.bindToMotionValue(o,r)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(or.current||pn(),this.shouldReduceMotion=gt.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),rt(this.notifyUpdate),rt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let r=this.features[e];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,r){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),r.accelerate&&$t.has(e)&&this.current instanceof HTMLElement){let{factory:s,keyframes:a,times:m,ease:p,duration:l}=r.accelerate,f=new Re({element:this.current,name:e,keyframes:a,times:m,ease:p,duration:P(l)}
1),u=s(f);this.valueSubscriptions.set(e,()=>{u(),f.cancel()});return}let o=$.has(e);o&&this.onBindTransform&&this.onBindTransform();let n=r.on("change",s=>{this.latestValues[e]=s,this.props.onUpdate&&I.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,r)),this.valueSubscriptions.set(e,()=>{n(),i&&i(),r.owner&&r.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in cn){let r=cn[e];if(!r)continue;let{isEnabled:o,Feature:n}=r;if(!this.features[e]&&n&&o(this.props)&&(this.features[e]=new n(this)),this.features[e]){let i=this.features[e];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ie()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,r){this.latestValues[e]=r}update(e,r){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let o=0;o<un.length;o++){let n=un[o];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i="on"+n,s=e[i];s&&(this.propEventSubscriptions[n]=this.on(n,s))}this.prevMotionValues=fn(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(e),()=>r.variantChildren.delete(e)}addValue(e,r){let o=this.values.get(e);r!==o&&(o&&this.removeValue(e),this.bindToMotionValue(e,r),this.values.set(e,r),this.latestValues[e]=r.get())}removeValue(e){this.values.delete(e);let r=this.valueSubscriptions.get(e);r&&(r(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,r){if(this.props.values&&this.props.values[e])return this.props.values[e];let o=this.values.get(e);return o===void 0&&r!==void 0&&(o=z(r===null?void 0:r,{owner:this}),this.addValue(e,o)),o}readValue(e,r){let o=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return o!=null&&(typeof o=="string"&&($e(o)||ze(o))?o=parseFloat(o):!on(o)&&O.test(r)&&(o=er(e,r)),this.setBaseTarget(e,w(o)?o.get():o)),w(o)?o.get():o}setBaseTarget(e,r){this.baseTarget[e]=r}getBaseTarget(e){let{initial:r}=this.props,o;if(typeof r=="string"||typeof r=="object"){let i=Xt(this.props,r,this.presenceContext?.custom);i&&(o=i[e])}if(r&&o!==void 0)return o;let n=this.getBaseTargetFromProps(this.props,e);return n!==void 0&&!w(n)?n:this.initialValues[e]!==void 0&&o===void 0?void 0:this.baseTarget[e]}on(e,r){return this.events[e]||(this.events[e]=new ye),this.events[e].add(r)}notify(e,...r){this.events[e]&&this.events[e].notify(...r)}scheduleRenderMicrotask(){rn.render(this.render)}};var Ke=class extends Ne{constructor(){super(...arguments),this.KeyframeResolver=tr}sortInstanceNodePosition(e,r){return e.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(e,r){let o=e.style;return o?o[r]:void 0}removeValueFromRenderState(e,{vars:r,style:o}){delete r[e],delete o[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;w(e)&&(this.childSubscription=e.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}};function dn({top:t,left:e,right:r,bottom:o}){return{x:{min:e,max:r},y:{min:t,max:o}}}function hn(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),o=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:o.y,right:o.x}}function gn(t,e){return dn(hn(t.getBoundingClientRect(),e))}var ts={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rs=X.length;function xn(t,e,r){let o="",n=!0;for(let i=0;i<rs;i++){let s=X[i],a=t[s];if(a===void 0)continue;let m=!0;if(typeof a=="number")m=a===(s.startsWith("scale")?1:0);else{let p=parseFloat(a);m=s.startsWith("scale")?p===1:p===0}if(!m||r){let p=rr(a,ke[s]);if(!m){n=!1;let l=ts[s]||s;o+=`${l}(${p}) `}r&&(e[s]=p)}}return o=o.trim(),r?o=r(e,n?"":o):n&&(o="none"),o}function nr(t,e,r){let{style:o,vars:n,transformOrigin:i}=t,s=!1,a=!1;for(let m in e){let p=e[m];if($.has(m)){s=!0;continue}else if(Et(m)){n[m]=p;continue}else{let l=rr(p,ke[m]);m.startsWith("origin")?(a=!0,i[m]=l):o[m]=l}}if(e.transform||(s||r?o.transform=xn(e,t.transform,r):o.transform&&(o.transform="none")),a){let{originX:m="50%",originY:p="50%",originZ:l=0}=i;o.transformOrigin=`${m} ${p} ${l}`}}function ir(t,{style:e,vars:r},o,n){let i=t.style,s;for(s in e)i[s]=e[s];n?.applyProjectionStyles(i,o);for(s in r)i.setProperty(s,r[s])}function yn(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var Ge={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(c.test(t))t=parseFloat(t);else return t;let r=yn(t,e.target.x),o=yn(t,e.target.y);return`${r}% ${o}%`}};var bn={correct:(t,{treeScale:e,projectionDelta:r})=>{let o=t,n=O.parse(t);if(n.length>5)return o;let i=O.createTransformer(t),s=typeof n[0]!="number"?1:0,a=r.x.scale*e.x,m=r.y.scale*e.y;n[0+s]/=a,n[1+s]/=m;let p=W(a,m,.5);return typeof n[2+s]=="number"&&(n[2+s]/=p),typeof n[3+s]=="number"&&(n[3+s]/=p),i(n)}};var Tn={borderRadius:{...Ge,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ge,borderTopRightRadius:Ge,borderBottomLeftRadius:Ge,borderBottomRightRadius:Ge,boxShadow:bn};function Vn(t,{layout:e,layoutId:r}){return $.has(t)||t.startsWith("origin")||(e||r!==void 0)&&(!!Tn[t]||t==="opacity")}function sr(t,e,r){let o=t.style,n=e?.style,i={};if(!o)return i;for(let s in o)(w(o[s])||n&&w(n[s])||Vn(s,t)||r?.getValue(s)?.liveStyle!==void 0)&&(i[s]=o[s]);return i}function os(t){return window.getComputedStyle(t)}var xt=class extends Ke{constructor(){super(...arguments),this.type="html",this.renderInstance=ir}readValueFromInstance(e,r){if($.has(r))return this.projection?.isProjecting?Nt(r):Ao(e,r);{let o=os(e),n=(Et(r)?o.getPropertyValue(r):o[r])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:r}){return gn(e,r)}build(e,r,o){nr(e,r,o.transformTemplate)}scrapeMotionValuesFromProps(e,r,o){return sr(e,r,o)}};function ns(t,e){return t in e}var yt=class extends Ne{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,r){if(ns(r,e)){let o=e[r];
1if(typeof o=="string"||typeof o=="number")return o}}getBaseTargetFromProps(){}removeValueFromRenderState(e,r){delete r.output[e]}measureInstanceViewportBox(){return Ie()}build(e,r){Object.assign(e.output,r)}renderInstance(e,{output:r}){Object.assign(e,r)}sortInstanceNodePosition(){return 0}};var is={offset:"stroke-dashoffset",array:"stroke-dasharray"},ss={offset:"strokeDashoffset",array:"strokeDasharray"};function vn(t,e,r=1,o=0,n=!0){t.pathLength=1;let i=n?is:ss;t[i.offset]=`${-o}`,t[i.array]=`${e} ${r}`}var as=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Sn(t,{attrX:e,attrY:r,attrScale:o,pathLength:n,pathSpacing:i=1,pathOffset:s=0,...a},m,p,l){if(nr(t,a,p),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:u}=t;f.transform&&(u.transform=f.transform,delete f.transform),(u.transform||f.transformOrigin)&&(u.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),u.transform&&(u.transformBox=l?.transformBox??"fill-box",delete f.transformBox);for(let d of as)f[d]!==void 0&&(u[d]=f[d],delete f[d]);e!==void 0&&(f.x=e),r!==void 0&&(f.y=r),o!==void 0&&(f.scale=o),n!==void 0&&vn(f,n,i,s,!1)}var ar=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var Mn=t=>typeof t=="string"&&t.toLowerCase()==="svg";function An(t,e,r,o){ir(t,e,void 0,o);for(let n in e.attrs)t.setAttribute(ar.has(n)?n:Oe(n),e.attrs[n])}function wn(t,e,r){let o=sr(t,e,r);for(let n in t)if(w(t[n])||w(e[n])){let i=X.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;o[i]=t[n]}return o}var bt=class extends Ke{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ie}getBaseTargetFromProps(e,r){return e[r]}readValueFromInstance(e,r){if($.has(r)){let o=Qt(r);return o&&o.default||0}return r=ar.has(r)?r:Oe(r),e.getAttribute(r)}scrapeMotionValuesFromProps(e,r,o){return wn(e,r,o)}build(e,r,o){Sn(e,r,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(e,r,o,n){An(e,r,o,n)}mount(e){this.isSVGTag=Mn(e.tagName),super.mount(e)}};function jr(t,e,r){let o=w(t)?t:z(t);return o.start(Yt("",o,e,r)),o.animation}function Tt(t){return typeof t=="object"&&!Array.isArray(t)}function lr(t,e,r,o){return t==null?[]:typeof t=="string"&&Tt(e)?dt(t,r,o):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter(n=>n!=null):[t]}function Cn(t,e,r){return t*(e+1)}function $r(t,e,r,o){return typeof e=="number"?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):e==="<"?r:e.startsWith("<")?Math.max(0,r+parseFloat(e.slice(1))):o.get(e)??t}function ls(t,e,r){for(let o=0;o<t.length;o++){let n=t[o];n.at>e&&n.at<r&&(he(t,n),o--)}}function Dn(t,e,r,o,n,i){ls(t,n,i);for(let s=0;s<e.length;s++)t.push({value:e[s],at:W(n,i,o[s]),easing:Qe(r,s)})}function En(t,e){for(let r=0;r<t.length;r++)t[r]=t[r]/(e+1)}function Fn(t,e){return t.at===e.at?t.value===null?1:e.value===null?-1:0:t.at-e.at}var ms="easeInOut",fs=20;function Rn(t,{defaultTransition:e={},...r}={},o,n){let i=e.duration||.3,s=new Map,a=new Map,m={},p=new Map,l=0,f=0,u=0;for(let d=0;d<t.length;d++){let b=t[d];if(typeof b=="string"){p.set(b,f);continue}else if(!Array.isArray(b)){p.set(b.name,$r(f,b.at,l,p));continue}let[h,g,y={}]=b;y.at!==void 0&&(f=$r(f,y.at,l,p));let C=0,S=(T,V,E,B=0,v=0)=>{let M=ps(T),{delay:x=0,times:A=mt(M),type:j=e.type||"keyframes",repeat:_,repeatType:H,repeatDelay:de=0,...Z}=V,{ease:ie=e.ease||"easeOut",duration:J}=V,Ur=typeof x=="function"?x(B,v):x,qr=M.length,Yr=Se(j)?j:n?.[j||"keyframes"];if(qr<=2&&Yr){let Le=100;if(qr===2&&ds(M)){let We=M[1]-M[0];Le=Math.abs(We)}let Vt={...e,...Z};J!==void 0&&(Vt.duration=P(J));let vt=st(Vt,Le,Yr);ie=vt.ease,J=vt.duration}J??(J=i);let Xr=f+Ur;A.length===1&&A[0]===0&&(A[1]=1);let Hr=A.length-M.length;if(Hr>0&&lt(A,Hr),M.length===1&&M.unshift(null),_){G(_<fs,"Repeat count too high, must be less than 20","repeat-count-high"),J=Cn(J,_);let Le=[...M],Vt=[...A];ie=Array.isArray(ie)?[...ie]:[ie];let vt=[...ie];for(let We=0;We<_;We++){M.push(...Le);for(let je=0;je<Le.length;je++)A.push(Vt[je]+(We+1)),ie.push(je===0?"linear":Qe(vt,je-1))}En(A,_)}let Zr=Xr+J;Dn(E,M,ie,A,Xr,Zr),C=Math.max(Ur+J,C),u=Math.max(Zr,u)};if(w(h)){let T=Pn(h,a);S(g,y,Bn("default",T))}else{let T=lr(h,g,o,m),V=T.length;for(let E=0;E<V;E++){g=g,y=y;let B=T[E],v=Pn(B,a);for(let M in g)S(g[M],us(y,M),Bn(M,v),E,V)}}l=f,f+=C}return a.forEach((d,b)=>{for(let h in d){let g=d[h];g.sort(Fn);let y=[],C=[],S=[];for(let B=0;B<g.length;B++){let{at:v,value:M,easing:x}=g[B];y.push(M),C.push(xe(0,u,v)),S.push(x||"easeOut")}C[0]!==0&&(C.unshift(0),y.unshift(y[0]),S.unshift(ms)),C[C.length-1]!==1&&(C.push(1),y.push(null)),s.has(b)||s.set(b,{keyframes:{},transition:{}});let T=s.get(b);T.keyframes[h]=y;let{type:V,...E}=e;T.transition[h]={...E,duration:u,ease:S,times:C,...r}}}),s}function Pn(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function Bn(t,e){return e[t]||(e[t]=[]),e[t]}function ps(t){return Array.isArray(t)?t:[t]}function us(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}var cs=t=>typeof t=="number",ds=t=>t.every(cs);function On(t){let e={presenceContext:null,props:{}
1,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},r=ht(t)&&!Lr(t)?new bt(e):new xt(e);r.mount(t),ne.set(t,r)}function kn(t){let e={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},r=new yt(e);r.mount(t),ne.set(t,r)}function hs(t,e){return w(t)||typeof t=="number"||typeof t=="string"&&!Tt(e)}function mr(t,e,r,o){let n=[];if(hs(t,e))n.push(jr(t,Tt(e)&&e.default||e,r&&(r.default||r)));else{if(t==null)return n;let i=lr(t,e,o),s=i.length;G(!!s,"No valid elements provided.","no-valid-elements");for(let a=0;a<s;a++){let m=i[a],p=m instanceof Element?On:kn;ne.has(m)||p(m);let l=ne.get(m),f={...r};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(a,s)),n.push(...Ir(l,{...e,transition:f},{}))}}return n}function In(t,e,r){let o=[],n=t.map(s=>{if(Array.isArray(s)&&typeof s[0]=="function"){let a=s[0],m=z(0);return m.on("change",a),s.length===1?[m,[0,1]]:s.length===2?[m,[0,1],s[1]]:[m,s[1],s[2]]}return s});return Rn(n,e,r,{spring:te}).forEach(({keyframes:s,transition:a},m)=>{o.push(...mr(m,s,a))}),o}function gs(t){return Array.isArray(t)&&t.some(Array.isArray)}function Nn(t={}){let{scope:e,reduceMotion:r}=t;function o(n,i,s){let a=[],m;if(gs(n)){let{onComplete:l,...f}=i||{};typeof l=="function"&&(m=l),a=In(n,r!==void 0?{reduceMotion:r,...f}:f,e)}else{let{onComplete:l,...f}=s||{};typeof l=="function"&&(m=l),a=mr(n,i,r!==void 0?{reduceMotion:r,...f}:f,e)}let p=new pt(a);return m&&p.finished.then(m),e&&(e.animations.push(p),p.finished.then(()=>{he(e.animations,p)})),p}return o}var zr=Nn();var xs={some:0,all:1};function _r(t,e,{root:r,margin:o,amount:n="some"}={}){let i=dt(t),s=new WeakMap,a=p=>{p.forEach(l=>{let f=s.get(l.target);if(l.isIntersecting!==!!f)if(l.isIntersecting){let u=e(l.target,l);typeof u=="function"?s.set(l.target,u):m.unobserve(l.target)}else typeof f=="function"&&(f(l),s.delete(l.target))})},m=new IntersectionObserver(a,{root:r,rootMargin:o,threshold:typeof n=="number"?n:xs[n]});return i.forEach(p=>m.observe(p)),()=>m.disconnect()}function ys(){let t=document.querySelectorAll(".m31-team-grid");if(!t.length)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)").matches;t.forEach(r=>{let o=r.querySelectorAll("[data-slide]");o.length&&o.forEach(n=>{let i=n.dataset.slide,s=parseInt(n.dataset.delay||"0",10)/1e3,a,m;if(i==="up"?(a="translateY(60px)",m="translateY(0px)"):i==="left"?(a="translateX(-60px)",m="translateX(0px)"):(a="translateX(60px)",m="translateX(0px)"),e){n.style.opacity="1";return}n.style.opacity="0",n.style.transform=a,_r(n,()=>{zr(n,{opacity:1,transform:m},{duration:.9,delay:s,easing:[.25,.1,.25,1]})},{margin:"0px 0px -200px 0px"})})})}document.addEventListener("DOMContentLoaded",ys)})()

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.