PageSourceSearch

https://nestjs.com/assets/home-Bhhy-Mam.js

js nestjs.com collected 2026-09-24 17:08:55 UTC 293,010 bytes, 668 lines download raw bytes

1import{r as _,j as l,R as wa,w as ja}from"./jsx-runtime-CDz9Ghoa.js";import{T as Ca,M as In,V as Re,g as G,S as Pe,R as er,a as rs,b as tr,c as nr,B as Z,P as rr,A as ss,N as sr,L as Mi,G as Ta}from"./lazy-render-BSmxDXBZ.js";const Sa=new In,Na=new Re,Ma=new Re;class ka extends Ca{constructor(e,{near:t=.1,far:n=100,fov:r=45,aspect:i=1,left:o,right:a,bottom:c,top:u,zoom:d=1}={}){super(),Object.assign(this,{near:t,far:n,fov:r,aspect:i,left:o,right:a,bottom:c,top:u,zoom:d}),this.projectionMatrix=new In,this.viewMatrix=new In,this.projectionViewMatrix=new In,this.worldPosition=new Re,this.type=o||a?"orthographic":"perspective",this.type==="orthographic"?this.orthographic():this.perspective()}perspective({near:e=this.near,far:t=this.far,fov:n=this.fov,aspect:r=this.aspect}={}){return Object.assign(this,{near:e,far:t,fov:n,aspect:r}),this.projectionMatrix.fromPerspective({fov:n*(Math.PI/180),aspect:r,near:e,far:t}),this.type="perspective",this}orthographic({near:e=this.near,far:t=this.far,left:n=this.left||-1,right:r=this.right||1,bottom:i=this.bottom||-1,top:o=this.top||1,zoom:a=this.zoom}={}){return Object.assign(this,{near:e,far:t,left:n,right:r,bottom:i,top:o,zoom:a}),n/=a,r/=a,i/=a,o/=a,this.projectionMatrix.fromOrthogonal({left:n,right:r,bottom:i,top:o,near:e,far:t}),this.type="orthographic",this}updateMatrixWorld(){return super.updateMatrixWorld(),this.viewMatrix.inverse(this.worldMatrix),this.worldMatrix.getTranslation(this.worldPosition),this.projectionViewMatrix.multiply(this.projectionMatrix,this.viewMatrix),this}updateProjectionMatrix(){return this.type==="perspective"?this.perspective():this.orthographic()}lookAt(e){return super.lookAt(e,!0),this}project(e){return e.applyMatrix4(this.viewMatrix),e.applyMatrix4(this.projectionMatrix),this}unproject(e){return e.applyMatrix4(Sa.inverse(this.projectionMatrix)),e.applyMatrix4(this.worldMatrix),this}updateFrustum(){this.frustum||(this.frustum=[new Re,new Re,new Re,new Re,new Re,new Re]);const e=this.projectionViewMatrix;this.frustum[0].set(e[3]-e[0],e[7]-e[4],e[11]-e[8]).constant=e[15]-e[12],this.frustum[1].set(e[3]+e[0],e[7]+e[4],e[11]+e[8]).constant=e[15]+e[12],this.frustum[2].set(e[3]+e[1],e[7]+e[5],e[11]+e[9]).constant=e[15]+e[13],this.frustum[3].set(e[3]-e[1],e[7]-e[5],e[11]-e[9]).constant=e[15]-e[13],this.frustum[4].set(e[3]-e[2],e[7]-e[6],e[11]-e[10]).constant=e[15]-e[14],this.frustum[5].set(e[3]+e[2],e[7]+e[6],e[11]+e[10]).constant=e[15]+e[14];for(let t=0;t<6;t++){const n=1/this.frustum[t].distance();this.frustum[t].multiply(n),this.frustum[t].constant*=n}}frustumIntersectsMesh(e,t=e.worldMatrix){if(!e.geometry.attributes.position||((!e.geometry.bounds||e.geometry.bounds.radius===1/0)&&e.geometry.computeBoundingSphere(),!e.geometry.bounds))return!0;const n=Na;n.copy(e.geometry.bounds.center),n.applyMatrix4(t);const r=e.geometry.bounds.radius*t.getMaxScaleOnAxis();return this.frustumIntersectsSphere(n,r)}frustumIntersectsSphere(e,t){const n=Ma;for(let r=0;r<6;r++){const i=this.frustum[r];if(n.copy(i).dot(e)+i.constant<-t)return!1}return!0}}const Ea="/assets/devtools-BqOs1LNI.png",Ra="/assets/mau-DuIXVASm.png",Aa="/assets/observe-CrRmUvF6.png",La=[{id:"enterprise",label:"Enterprise",href:"https://enterprise.nestjs.com"},{id:"courses",label:"Courses",href:"https://courses.nestjs.com"},{id:"docs",label:"Docs",href:"https://docs.nestjs.com"},{id:"tools",label:"Tools",href:"#",children:[{id:"observe",label:"Observe",href:"https://observe.nestjs.com",description:"Monitor and analyze your applications in real-time.",thumbnail:Aa},{id:"devtools",label:"Devtools",href:"https://devtools.nestjs.com",description:"Identify dependencies and connections between modules.",thumbnail:Ea},{id:"mau",label:"Deploy, Mau!",href:"https://mau.nestjs.com",description:"Provision and manage your infrastructure on AWS.",thumbnail:Ra}]},{id:"jobs",label:"Jobs",href:"https://jobs.nestjs.com"}];G.gsap.registerPlugin(Pe.ScrollTrigger);const Ne=({children:s,scrollContainerRef:e,enableBlur:t=!0,baseOpacity:n=.1,baseRotation:r=0,blurStrength:i=4,containerClassName:o="",textClassName:a="",rotationEnd:c="bottom 70%",wordAnimationEnd:u="bottom 70%",ElementTag:d="p",className:h=""})=>{const p=_.useRef(null),m=_.useMemo(()=>(typeof s=="string"?s:"").split(/(\s+)/).map((x,v)=>x.match(/^\s+$/)?x:l.jsx("span",{className:"inline-block word",children:x},v)),[s]);_.useEffect(()=>{const f=p.current;if(!f)return;const x=e&&e.current?e.current:window,v=G.gsap.context(()=>{G.gsap.fromTo(f,{transformOrigin:"0% 50%",rotate:r},{ease:"none",rotate:0,scrollTrigger:{trigger:f,scroller:x,start:"top bottom",end:c,scrub:!0,once:!0}});const y=f.querySelectorAll(".word");G.gsap.fromTo(y,{opacity:n,willChange:"opacity"},{ease:"none",opacity:1,stagger:.05,scrollTrigger:{trigger:f,scroller:x,start:"top bottom-=20%",end:u,scrub:!0,once:!0}}),t&&G.gsap.fromTo(y,{filter:`blur(${i}px)`},{ease:"none",filter:"blur(0px)",stagger:.05,scrollTrigger:{trigger:f,scroller:x,start:"top bottom-=20%",end:u,scrub:!0,once:!0}})},f);return()=>v.revert()},[e,t,r,n,c,u,i]);const g=_.useRef(null);return _.useEffect(()=>{typeof window<"u"&&window.innerWidth<=768&&(g.current&&clearTimeout(g.current),g.current=setTimeout(()=>{Pe.ScrollTrigger.refresh()},1e3))},[]),l.jsx("div",{ref:p,className:`${o}`,children:l.jsx(d,{className:`${a} ${h}`,children:m})})};function is(s){return typeof s=="number"}function Pr(s){return typeof s=="string"}function ir(s){return typeof s=="boolean"}function qs(s){return Object.prototype.toString.call(s)==="[object Object]"}function ce(s){return Math.abs(s)}function os(s){return Math.sign(s)}function dn(s,e){return ce(s-e)}function Pa(s,e){if(s===0||e===0||ce(s)<=ce(e))return 0;const t=dn(ce(s),ce(e));return ce(t/s)}function Oa(s){return Math.round(s*100)/100}function bn(s){return yn(s).map(Number)}function tt(s){return s[Rn(s)]}function Rn(s){return Math.max(0,s.length-1)}function as(s,e){return e===Rn(s)}function Hs(s,e=0){return Array.from(Array(s),(t,n)=>e+n)}function yn(s){return Object.keys(s)}function ki(s,e){return[s,e].reduce((t,n)=>
vendor: 17,835 bytes, line 1
1(yn(n).forEach(r=>{const i=t[r],o=n[r],a=qs(i)&&qs(o);t[r]=a?ki(i,o):o}),t),{})}function Or(s,e){return typeof e.MouseEvent<"u"&&s instanceof e.MouseEvent}function Da(s,e){const t={start:n,center:r,end:i};function n(){return 0}function r(c){return i(c)/2}function i(c){return e-c}function o(c,u){return Pr(s)?t[s](c):s(e,c,u)}return{measure:o}}function _n(){let s=[];function e(r,i,o,a={passive:!0}){let c;if("addEventListener"in r)r.addEventListener(i,o,a),c=()=>r.removeEventListener(i,o,a);else{const u=r;u.addListener(o),c=()=>u.removeListener(o)}return s.push(c),n}function t(){s=s.filter(r=>r())}const n={add:e,clear:t};return n}function Ia(s,e,t,n){const r=_n(),i=1e3/60;let o=null,a=0,c=0;function u(){r.add(s,"visibilitychange",()=>{s.hidden&&g()})}function d(){m(),r.clear()}function h(x){if(!c)return;o||(o=x,t(),t());const v=x-o;for(o=x,a+=v;a>=i;)t(),a-=i;const y=a/i;n(y),c&&(c=e.requestAnimationFrame(h))}function p(){c||(c=e.requestAnimationFrame(h))}function m(){e.cancelAnimationFrame(c),o=null,a=0,c=0}function g(){o=null,a=0}return{init:u,destroy:d,start:p,stop:m,update:t,render:n}}function za(s,e){const t=e==="rtl",n=s==="y",r=n?"y":"x",i=n?"x":"y",o=!n&&t?-1:1,a=d(),c=h();function u(g){const{height:f,width:x}=g;return n?f:x}function d(){return n?"top":t?"right":"left"}function h(){return n?"bottom":t?"left":"right"}function p(g){return g*o}return{scroll:r,cross:i,startEdge:a,endEdge:c,measureSize:u,direction:p}}function Bt(s=0,e=0){const t=ce(s-e);function n(u){return u<s}function r(u){return u>e}function i(u){return n(u)||r(u)}function o(u){return i(u)?n(u)?s:e:u}function a(u){return t?u-t*Math.ceil((u-e)/t):u}return{length:t,max:e,min:s,constrain:o,reachedAny:i,reachedMax:r,reachedMin:n,removeOffset:a}}function Ei(s,e,t){const{constrain:n}=Bt(0,s),r=s+1;let i=o(e);function o(p){return t?ce((r+p)%r):n(p)}function a(){return i}function c(p){return i=o(p),h}function u(p){return d().set(a()+p)}function d(){return Ei(s,a(),t)}const h={get:a,set:c,add:u,clone:d};return h}function Fa(s,e,t,n,r,i,o,a,c,u,d,h,p,m,g,f,x,v,y){const{cross:b,direction:j}=s,w=["INPUT","SELECT","TEXTAREA"],k={passive:!1},N=_n(),S=_n(),M=Bt(50,225).constrain(m.measure(20)),T={mouse:300,touch:400},C={mouse:500,touch:600},R=g?43:25;let A=!1,E=0,L=0,O=!1,F=!1,z=!1,D=!1;function I(B){if(!y)return;function q(H){(ir(y)||y(B,H))&&de(H)}const J=e;N.add(J,"dragstart",H=>H.preventDefault(),k).add(J,"touchmove",()=>{},k).add(J,"touchend",()=>{}).add(J,"touchstart",q).add(J,"mousedown",q).add(J,"touchcancel",re).add(J,"contextmenu",re).add(J,"click",_e,!0)}function P(){N.clear(),S.clear()}function $(){const B=D?t:e;S.add(B,"touchmove",fe,k).add(B,"touchend",re).add(B,"mousemove",fe,k).add(B,"mouseup",re)}function W(B){const q=B.nodeName||"";return w.includes(q)}function V(){return(g?C:T)[D?"mouse":"touch"]}function U(B,q){const J=h.add(os(B)*-1),H=d.byDistance(B,!g).distance;return g||ce(B)<M?H:x&&q?H*.5:d.byIndex(J.get(),0).distance}function de(B){const q=Or(B,n);D=q,z=g&&q&&!B.buttons&&A,A=dn(r.get(),o.get())>=2,!(q&&B.button!==0)&&(W(B.target)||(O=!0,i.pointerDown(B),u.useFriction(0).useDuration(0),r.set(o),$(),E=i.readPoint(B),L=i.readPoint(B,b),p.emit("pointerDown")))}function fe(B){if(!Or(B,n)&&B.touches.length>=2)return re(B);const J=i.readPoint(B),H=i.readPoint(B,b),ee=dn(J,E),me=dn(H,L);if(!F&&!D&&(!B.cancelable||(F=ee>me,!F)))return re(B);const Me=i.pointerMove(B);ee>f&&(z=!0),u.useFriction(.3).useDuration(.75),a.start(),r.add(j(Me)),B.preventDefault()}function re(B){const J=d.byDistance(0,!1).index!==h.get(),H=i.pointerUp(B)*V(),ee=U(j(H),J),me=Pa(H,ee),Me=R-10*me,K=v+me/50;F=!1,O=!1,S.clear(),u.useDuration(Me).useFriction(K),c.distance(ee,!g),D=!1,p.emit("pointerUp")}function _e(B){z&&(B.stopPropagation(),B.preventDefault(),z=!1)}function se(){return O}return{init:I,destroy:P,pointerDown:se}}function Ba(s,e){let n,r;function i(h){return h.timeStamp}function o(h,p){const g=`client${(p||s.scroll)==="x"?"X":"Y"}`;return(Or(h,e)?h:h.touches[0])[g]}function a(h){return n=h,r=h,o(h)}function c(h){const p=o(h)-o(r),m=i(h)-i(n)>170;return r=h,m&&(n=h),p}function u(h){if(!n||!r)return 0;const p=o(r)-o(n),m=i(h)-i(n),g=i(h)-i(r)>170,f=p/m;return m&&!g&&ce(f)>.1?f:0}return{pointerDown:a,pointerMove:c,pointerUp:u,readPoint:o}}function $a(){function s(t){const{offsetTop:n,offsetLeft:r,offsetWidth:i,offsetHeight:o}=t;return{top:n,right:r+i,bottom:n+o,left:r,width:i,height:o}}return{measure:s}}function Va(s){function e(n){return s*(n/100)}return{measure:e}}function Wa(s,e,t,n,r,i,o){const a=[s].concat(n);let c,u,d=[],h=!1;function p(x){return r.measureSize(o.measure(x))}function m(x){if(!i)return;u=p(s),d=n.map(p);function v(y){for(const b of y){if(h)return;const j=b.target===s,w=n.indexOf(b.target),k=j?u:d[w],N=p(j?s:n[w]);if(ce(N-k)>=.5){x.reInit(),e.emit("resize");break}}}c=new ResizeObserver(y=>{(ir(i)||i(x,y))&&v(y)}),t.requestAnimationFrame(()=>{a.forEach(y=>c.observe(y))})}function g(){h=!0,c&&c.disconnect()}return{init:m,destroy:g}}function qa(s,e,t,n,r,i){let o=0,a=0,c=r,u=i,d=s.get(),h=0;function p(){const k=n.get()-s.get(),N=!c;let S=0;return N?(o=0,t.set(n),s.set(n),S=k):(t.set(s),o+=k/c,o*=u,d+=o,s.add(o),S=d-h),a=os(S),h=d,w}function m(){const k=n.get()-e.get();return ce(k)<.001}function g(){return c}function f(){return a}function x(){return o}function v(){return b(r)}function y(){return j(i)}function b(k){return c=k,w}function j(k){return u=k,w}const w={direction:f,duration:g,velocity:x,seek:p,settled:m,useBaseFriction:y,useBaseDuration:v,useFriction:j,useDuration:b};return w}function Ha(s,e,t,n,r){const i=r.measure(10),o=r.measure(50),a=Bt(.1,.99);let c=!1;function u(){return!(c||!s.reachedAny(t.get())||!s.reachedAny(e.get()))}function d(m){if(!u())return;const g=s.reachedMin(e.get())?"min":"max",f=ce(s[g]-e.get()),x=t.get()-e.get(),v=a.constrain(f/o);t.subtract(x*v),!m&&ce(x)<i&&(t.set(s.constrain(t.get())),n.useDuration(25).useBaseFriction())}function h(m){c=!m}return{shouldConstrain:u,constrain:d,toggleActive:h}}function Ua(s,e,t,n,r){const i=Bt(-e+s,0),o=h(),a=d(),c=p();function u(g,f){return dn(g,f)<=1}function d(){const g=o[0],f=tt(o),x=o.lastIndexOf(g),v=o.indexOf(f)+1;return Bt(x,v)}function h(){return t.map((g,f)=>{const{min:x,max:v}=i,y=i.constrain(g),b=!f,j=as(t,f);return b?v:j||u(x,y)?x:u(v,y)?v:y}).map(g=>parseFloat(g.toFixed(3)))}function p(){if(e<=s+r)return[i.max];if(n==="keepSnaps")return o;const{min:g,max:f}=a;return o.slice(g,f)}return{snapsContained:c,scrollContainLimit:a}}function Ga(s,e,t){const n=e[0],r=t?n-s:tt(e);return{limit:Bt(r,n)}}function Ya(s,e,t,n){const i=e.min+.1,o=e.max+.1,{reachedMin:a,reachedMax:c}=Bt(i,o);function u(p){return p===1?c(t.get()):p===-1?a(t.get()):!1}function d(p){if(!u(p))return;const m=s*(p*-1);n.forEach(g=>g.add(m))}return{loop:d}}function Xa(s){const{max:e,length:t}=s;function n(i){const o=i-e;return t?o/-t:0}return{get:n}}function Za(s,e,t,n,r){const{startEdge:i,endEdge:o}=s,{groupSlides:a}=r,c=h().map(e.measure),u=p(),d=m();function h(){return a(n).map(f=>tt(f)[o]-f[0][i]).map(ce)}function p(){return n.map(f=>t[i]-f[i]).map(f=>-ce(f))}function m(){return a(u).map(f=>f[0]).map((f,x)=>f+c[x])}return{snaps:u,snapsAligned:d}}function Ka(s,e,t,n,r,i){const{groupSlides:o}=r,{min:a,max:c}=n,u=d();function d(){const p=o(i),m=!s||e==="keepSnaps";return t.length===1?[i]:m?p:p.slice(a,c).map((g,f,x)=>{const v=!f,y=as(x,f);if(v){const b=tt(x[0])+1;return Hs(b)}if(y){const b=Rn(i)-tt(x)[0]+1;return Hs(b,tt(x)[0])}return g})}return{slideRegistry:u}}function Ja(s,e,t,n,r){const{reachedAny:i,removeOffset:o,constrain:a}=n;function c(g){return g.concat().sort((f,x)=>ce(f)-ce(x))[0]}function u(g){const f=s?o(g):a(g),x=e.map((y,b)=>({diff:d(y-f,0),index:b})).sort((y,b)=>ce(y.diff)-ce(b.diff)),{index:v}=x[0];return{index:v,distance:f}}function d(g,f){const x=[g,g+t,g-t];if(!s)return g;if(!f)return c(x);const v=x.filter(y=>os(y)===f);return v.length?c(v):tt(x)-t}function h(g,f){const x=e[g]-r.get(),v=d(x,f);return{index:g,distance:v}}function p(g,f){const x=r.get()+g,{index:v,distance:y}=u(x),b=!s&&i(x);if(!f||b)return{index:v,distance:g};const j=e[v]-y,w=g+d(j,0);return{index:v,distance:w}}return{byDistance:p,byIndex:h,shortcut:d}}function Qa(s,e,t,n,r,i,o){function a(h){const p=h.distance,m=h.index!==e.get();i.add(p),p&&(n.duration()?s.start():(s.update(),s.render(1),s.update())),m&&(t.set(e.get()),e.set(h.index),o.emit("select"))}function c(h,p){const m=r.byDistance(h,p);a(m)}function u(h,p){const m=e.clone().set(h),g=r.byIndex(m.get(),p);a(g)}return{distance:c,index:u}}function el(s,e,t,n,r,i,o,a){const c={passive:!0,capture:!0};let u=0;function d(m){if(!a)return;function g(f){if(new Date().getTime()-u>10)return;o.emit("slideFocusStart"),s.scrollLeft=0;const y=t.findIndex(b=>b.includes(f));is(y)&&(r.useDuration(0),n.index(y,0),o.emit("slideFocus"))}i.add(document,"keydown",h,!1),e.forEach((f,x)=>{i.add(f,"focus",v=>{(ir(a)||a(m,v))&&g(x)},c)})}function h(m){m.code==="Tab"&&(u=new Date().getTime())}return{init:d}}function an(s){let e=s;function t(){return e}function n(c){e=o(c)}function r(c){e+=o(c)}function i(c){e-=o(c)}function o(c){return is(c)?c:c.get()}return{get:t,set:n,add:r,subtract:i}}function Ri(s,e){const t=s.scroll==="x"?o:a,n=e.style;let r=null,i=!1;function o(p){return`translate3d(${p}px,0px,0px)`}function a(p){return`translate3d(0px,${p}px,0px)`}function c(p){if(i)return;const m=Oa(s.direction(p));m!==r&&(n.transform=t(m),r=m)}function u(p){i=!p}function d(){i||(n.transform="",e.getAttribute("style")||e.removeAttribute("style"))}return{clear:d,to:c,toggleActive:u}}function tl(s,e,t,n,r,i,o,a,c){const d=bn(r),h=bn(r).reverse(),p=v().concat(y());function m(N,S){return N.reduce((M,T)=>M-r[T],S)}function g(N,S){return N.reduce((M,T)=>m(M,S)>0?M.concat([T]):M,[])}function f(N){return i.map((S,M)=>({start:S-n[M]+.5+N,end:S+e-.5+N}))}function x(N,S,M){const T=f(S);return N.map(C=>{const R=M?0:-t,A=M?t:0,E=M?"end":"start",L=T[C][E];return{index:C,loopPoint:L,slideLocation:an(-1),translate:Ri(s,c[C]),target:()=>a.get()>L?R:A}})}function v(){const N=o[0],S=g(h,N);return x(S,t,!1)}function y(){const N=e-o[0]-1,S=g(d,N);return x(S,-t,!0)}function b(){return p.every(({index:N})=>{const S=d.filter(M=>M!==N);return m(S,e)<=.1})}function j(){p.forEach(N=>{const{target:S,translate:M,slideLocation:T}=N,C=S();C!==T.get()&&(M.to(C),T.set(C))})}function w(){p.forEach(N=>N.translate.clear())}return{canLoop:b,clear:w,loop:j,loopPoints:p}}function nl(s,e,t){let n,r=!1;function i(c){if(!t)return;function u(d){for(const h of d)if(h.type==="childList"){c.reInit(),e.emit("slidesChanged");break}}n=new MutationObserver(d=>{r||(ir(t)||t(c,d))&&u(d)}),n.observe(s,{childList:!0})}function o(){n&&n.disconnect(),r=!0}return{init:i,destroy:o}}function rl(s,e,t,n){const r={};let i=null,o=null,a,c=!1;function u(){a=new IntersectionObserver(g=>{c||(g.forEach(f=>{const x=e.indexOf(f.target);r[x]=f}),i=null,o=null,t.emit("slidesInView"))},{root:s.parentElement,threshold:n}),e.forEach(g=>a.observe(g))}function d(){a&&a.disconnect(),c=!0}function h(g){return yn(r).reduce((f,x)=>{const v=parseInt(x),{isIntersecting:y}=r[v];return(g&&y||!g&&!y)&&f.push(v),f},[])}function p(g=!0){if(g&&i)return i;if(!g&&o)return o;const f=h(g);return g&&(i=f),g||(o=f),f}return{init:u,destroy:d,get:p}}function sl(s,e,t,n,r,i){const{measureSize:o,startEdge:a,endEdge:c}=s,u=t[0]&&r,d=g(),h=f(),p=t.map(o),m=x();function g(){if(!u)return 0;const y=t[0];return ce(e[a]-y[a])}function f(){if(!u)return 0;const y=i.getComputedStyle(tt(n));return parseFloat(y.getPropertyValue(`margin-${c}`))}function x(){return t.map((y,b,j)=>{const w=!b,k=as(j,b);return w?p[b]+d:k?p[b]+h:j[b+1][a]-y[a]}).map(ce)}return{slideSizes:p,slideSizesWithGaps:m,startGap:d,endGap:h}}function il(s,e,t,n,r,i,o,a,c){const{startEdge:u,endEdge:d,direction:h}=s,p=is(t);function m(v,y){return bn(v).filter(b=>b%y===0).map(b=>v.slice(b,b+y))}function g(v){return v.length?bn(v).reduce((y,b,j)=>{const w=tt(y)||0,k=w===0,N=b===Rn(v),S=r[u]-i[w][u],M=r[u]-i[b][d],T=!n&&k?h(o):0,C=!n&&N?h(a):0,R=ce(M-C-(S+T));return j&&R>e+c&&y.push(b),N&&y.push(v.length),y},[]).map((y,b,j)=>{const w=Math.max(j[b-1]||0);return v.slice(w,y)}):[]}function f(v){return p?m(v,t):g(v)}return{groupSlides:f}}function ol(s,e,t,n,r,i,o){const{align:a,axis:c,direction:u,startIndex:d,loop:h,duration:p,dragFree:m,dragThreshold:g,inViewThreshold:f,slidesToScroll:x,skipSnaps:v,containScroll:y,watchResize:b,watchSlides:j,watchDrag:w,watchFocus:k}=i,N=2,S=$a(),M=S.measure(e),T=t.map(S.measure),C=za(c,u),R=C.measureSize(M),A=Va(R),E=Da(a,R),L=!h&&!!y,O=h||!!y,{slideSizes:F,slideSizesWithGaps:z,startGap:D,endGap:I}=sl(C,M,T,t,O,r),P=il(C,R,x,h,M,T,D,I,N),{snaps:$,snapsAligned:W}=Za(C,E,M,T,P),V=-tt($)+tt(z),{snapsContained:U,scrollContainLimit:de}=Ua(R,V,W,y,N),fe=L?U:W,{limit:re}=Ga(V,fe,h),_e=Ei(Rn(fe),d,h),se=_e.clone(),Y=bn(t),B=({dragHandler:$e,scrollBody:ft,scrollBounds:Wt,options:{loop:Pn}})=>{Pn||Wt.constrain($e.pointerDown()),ft.seek()},q=({scrollBody:$e,translate:ft,location:Wt,offsetLocation:Pn,previousLocation:pa,scrollLooper:ma,slideLooper:ga,dragHandler:xa,animation:va,eventHandler:zs,scrollBounds:ba,options:{loop:Fs}},Bs)=>{const $s=$e.settled(),ya=!ba.shouldConstrain(),Vs=Fs?$s:$s&&ya,Ws=Vs&&!xa.pointerDown();Ws&&va.stop();const _a=Wt.get()*Bs+pa.get()*(1-Bs);Pn.set(_a),Fs&&(ma.loop($e.direction()),ga.loop()),ft.to(Pn.get()),Ws&&zs.emit("settle"),Vs||zs.emit("scroll")},J=Ia(n,r,()=>B(Se),$e=>q(Se,$e)),H=.68,ee=fe[_e.get()],me=an(ee),Me=an(ee),K=an(ee),Q=an(ee),Te=qa(me,K,Me,Q,p,H),ke=Ja(h,fe,V,re,Q),Ee=Qa(J,_e,se,Te,ke,Q,o),Be=Xa(re),nt=_n(),be=rl(e,t,o,f),{slideRegistry:oe}=Ka(L,y,fe,de,P,Y),dt=el(s,t,oe,Ee,Te,nt,o,k),Se={ownerDocument:n,ownerWindow:r,eventHandler:o,containerRect:M,slideRects:T,animation:J,axis:C,dragHandler:Fa(C,s,n,r,Q,Ba(C,r),me,J,Ee,Te,ke,_e,o,A,m,g,v,H,w),eventStore:nt,percentOfView:A,index:_e,indexPrevious:se,limit:re,location:me,offsetLocation:K,previousLocation:Me,options:i,resizeHandler:Wa(e,o,r,t,C,b,S),scrollBody:Te,scrollBounds:Ha(re,K,Q,Te,A),scrollLooper:Ya(V,re,K,[me,K,Me,Q]),scrollProgress:Be,scrollSnapList:fe.map(Be.get),scrollSnaps:fe,scrollTarget:ke,scrollTo:Ee,slideLooper:tl(C,R,V,F,z,$,fe,K,t),slideFocus:dt,slidesHandler:nl(e,o,j),slidesInView:be,slideIndexes:Y,slideRegistry:oe,slidesToScroll:P,target:Q,translate:Ri(C,e)};return Se}function al(){let s={},e;function t(u){e=u}function n(u){return s[u]||[]}function r(u){return n(u).forEach(d=>d(e,u)),c}function i(u,d){return s[u]=n(u).concat([d]),c}function o(u,d){return s[u]=n(u).filter(h=>h!==d),c}function a(){s={}}const c={init:t,emit:r,off:o,on:i,clear:a};return c}const ll={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function cl(s){function e(i,o){return ki(i,o||{})}function t(i){const o=i.breakpoints||{},a=yn(o).filter(c=>s.matchMedia(c).matches).map(c=>o[c]).reduce((c,u)=>e(c,u),{});return e(i,a)}function n(i){return i.map(o=>yn(o.breakpoints||{})).reduce((o,a)=>o.concat(a),[]).map(s.matchMedia)}return{mergeOptions:e,optionsAtMedia:t,optionsMediaQueries:n}}function ul(s){let e=[];function t(i,o){return e=o.filter(({options:a})=>s.optionsAtMedia(a).active!==!1),e.forEach(a=>a.init(i,s)),o.reduce((a,c)=>Object.assign(a,{[c.name]:c}),{})}function n(){e=e.filter(i=>i.destroy())}return{init:t,destroy:n}}function Vn(s,e,t){const n=s.ownerDocument,r=n.defaultView,i=cl(r),o=ul(i),a=_n(),c=al(),{mergeOptions:u,optionsAtMedia:d,optionsMediaQueries:h}=i,{on:p,off:m,emit:g}=c,f=C;let x=!1,v,y=u(ll,Vn.globalOptions),b=u(y),j=[],w,k,N;function S(){const{container:Y,slides:B}=b;k=(Pr(Y)?s.querySelector(Y):Y)||s.children[0];const J=Pr(B)?k.querySelectorAll(B):B;N=[].slice.call(J||k.children)}function M(Y){const B=ol(s,k,N,n,r,Y,c);if(Y.loop&&!B.slideLooper.canLoop()){const q=Object.assign({},Y,{loop:!1});return M(q)}return B}function T(Y,B){x||(y=u(y,Y),b=d(y),j=B||j,S(),v=M(b),h([y,...j.map(({options:q})=>q)]).forEach(q=>a.add(q,"change",C)),b.active&&(v.translate.to(v.location.get()),v.animation.init(),v.slidesInView.init(),v.slideFocus.init(se),v.eventHandler.init(se),v.resizeHandler.init(se),v.slidesHandler.init(se),v.options.loop&&v.slideLooper.loop(),k.offsetParent&&N.length&&v.dragHandler.init(se),w=o.init(se,j)))}function C(Y,B){const q=P();R(),T(u({startIndex:q},Y),B),c.emit("reInit")}function R(){v.dragHandler.destroy(),v.eventStore.clear(),v.translate.clear(),v.slideLooper.clear(),v.resizeHandler.destroy(),v.slidesHandler.destroy(),v.slidesInView.destroy(),v.animation.destroy(),o.destroy(),a.clear()}function A(){x||(x=!0,a.clear(),R(),c.emit("destroy"),c.clear())}function E(Y,B,q){!b.active||x||(v.scrollBody.useBaseFriction().useDuration(B===!0?0:b.duration),v.scrollTo.index(Y,q||0))}function L(Y){const B=v.index.add(1).get();E(B,Y,-1)}function O(Y){const B=v.index.add(-1).get();E(B,Y,1)}function F(){return v.index.add(1).get()!==P()}function z(){return v.index.add(-1).get()!==P()}function D(){return v.scrollSnapList}function I(){return v.scrollProgress.get(v.offsetLocation.get())}function P(){return v.index.get()}function $(){return v.indexPrevious.get()}function W(){return v.slidesInView.get()}function V(){return v.slidesInView.get(!1)}function U(){return w}function de(){return v}function fe(){return s}function re(){return k}function _e(){return N}const se={canScrollNext:F,canScrollPrev:z,containerNode:re,internalEngine:de,destroy:A,off:m,on:p,emit:g,plugins:U,previousScrollSnap:$,reInit:f,rootNode:fe,scrollNext:L,scrollPrev:O,scrollProgress:I,scrollSnapList:D,scrollTo:E,selectedScrollSnap:P,slideNodes:_e,slidesInView:W,slidesNotInView:V};return T(e,t),setTimeout(()=>
1c.emit("init"),0),se}Vn.globalOptions=void 0;const dl={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function fl(s,e){const t=s.scrollSnapList();return typeof e=="number"?t.map(()=>e):e(t,s)}function hl(s,e){const t=s.rootNode();return e&&e(t)||t}function ls(s={}){let e,t,n,r,i=null,o=0,a=!1,c=!1,u=!1,d=!1;function h(E,L){t=E;const{mergeOptions:O,optionsAtMedia:F}=L,z=O(dl,ls.globalOptions),D=O(z,s);if(e=F(D),t.scrollSnapList().length<=1)return;d=e.jump,n=!1,r=fl(t,e.delay);const{eventStore:I,ownerDocument:P}=t.internalEngine(),$=!!t.internalEngine().options.watchDrag,W=hl(t,e.rootNode);I.add(P,"visibilitychange",v),$&&t.on("pointerDown",b),$&&!e.stopOnInteraction&&t.on("pointerUp",j),e.stopOnMouseEnter&&I.add(W,"mouseenter",w),e.stopOnMouseEnter&&!e.stopOnInteraction&&I.add(W,"mouseleave",k),e.stopOnFocusIn&&t.on("slideFocusStart",x),e.stopOnFocusIn&&!e.stopOnInteraction&&I.add(t.containerNode(),"focusout",f),e.playOnInit&&f()}function p(){t.off("pointerDown",b).off("pointerUp",j).off("slideFocusStart",x),x(),n=!0,a=!1}function m(){const{ownerWindow:E}=t.internalEngine();E.clearTimeout(o),o=E.setTimeout(C,r[t.selectedScrollSnap()]),i=new Date().getTime(),t.emit("autoplay:timerset")}function g(){const{ownerWindow:E}=t.internalEngine();E.clearTimeout(o),o=0,i=null,t.emit("autoplay:timerstopped")}function f(){if(!n){if(y()){u=!0;return}a||t.emit("autoplay:play"),m(),a=!0}}function x(){n||(a&&t.emit("autoplay:stop"),g(),a=!1)}function v(){if(y())return u=a,x();u&&f()}function y(){const{ownerDocument:E}=t.internalEngine();return E.visibilityState==="hidden"}function b(){c||x()}function j(){c||f()}function w(){c=!0,x()}function k(){c=!1,f()}function N(E){typeof E<"u"&&(d=E),f()}function S(){a&&x()}function M(){a&&f()}function T(){return a}function C(){const{index:E}=t.internalEngine(),L=E.clone().add(1).get(),O=t.scrollSnapList().length-1,F=e.stopOnLastSnap&&L===O;if(t.canScrollNext()?t.scrollNext(d):t.scrollTo(0,d),t.emit("autoplay:select"),F)return x();f()}function R(){if(!i)return null;const E=r[t.selectedScrollSnap()],L=new Date().getTime()-i;return E-L}return{name:"autoplay",options:s,init:h,destroy:p,play:N,stop:S,reset:M,isPlaying:T,timeUntilNext:R}}ls.globalOptions=void 0;function pl(s){return Object.prototype.toString.call(s)==="[object Object]"}function Us(s){return pl(s)||Array.isArray(s)}function ml(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function cs(s,e){const t=Object.keys(s),n=Object.keys(e);if(t.length!==n.length)return!1;const r=JSON.stringify(Object.keys(s.breakpoints||{})),i=JSON.stringify(Object.keys(e.breakpoints||{}));return r!==i?!1:t.every(o=>{const a=s[o],c=e[o];return typeof a=="function"?`${a}`==`${c}`:!Us(a)||!Us(c)?a===c:cs(a,c)})}function Gs(s){return s.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function gl(s,e){if(s.length!==e.length)return!1;const t=Gs(s),n=Gs(e);return t.every((r,i)=>{const o=n[i];return cs(r,o)})}function us(s={},e=[]){const t=_.useRef(s),n=_.useRef(e),[r,i]=_.useState(),[o,a]=_.useState(),c=_.useCallback(()=>{r&&r.reInit(t.current,n.current)},[r]);return _.useEffect(()=>{cs(t.current,s)||(t.current=s,c())},[s,c]),_.useEffect(()=>{gl(n.current,e)||(n.current=e,c())},[e,c]),_.useEffect(()=>{if(ml()&&o){Vn.globalOptions=us.globalOptions;const u=Vn(o,t.current,n.current);return i(u),()=>u.destroy()}else i(void 0)},[o,i]),[a,r]}us.globalOptions=void 0;function ht(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function Ai(s,e){s.prototype=Object.create(e.prototype),s.prototype.constructor=s,s.__proto__=e}var Ge={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},wn={duration:.5,overwrite:!1,delay:0},ds,we,ie,Je=1e8,ne=1/Je,Dr=Math.PI*2,xl=Dr/4,vl=0,Li=Math.sqrt,bl=Math.cos,yl=Math.sin,ye=function(e){return typeof e=="string"},pe=function(e){return typeof e=="function"},gt=function(e){return typeof e=="number"},fs=function(e){return typeof e>"u"},ut=function(e){return typeof e=="object"},Oe=function(e){return e!==!1},hs=function(){return typeof window<"u"},On=function(e){return pe(e)||ye(e)},Pi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ce=Array.isArray,_l=/random\([^)]+\)/g,wl=/,\s*/g,Ys=/(?:-?\.?\d|\.)+/gi,Oi=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ut=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,fr=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Di=/[+-]=-?[.\d]+/,jl=/[^,'"\[\]\s]+/gi,Cl=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,le,at,Ir,ps,Ye={},Wn={},Ii,zi=function(e){return(Wn=Qt(e,Ye))&&Fe},ms=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},jn=function(e,t){return!t&&console.warn(e)},Fi=function(e,t){return e&&(Ye[e]=t)&&Wn&&(Wn[e]=t)||Ye},Cn=function(){return 0},Tl={suppressEvents:!0,isStart:!0,kill:!1},zn={suppressEvents:!0,kill:!1},Sl={suppressEvents:!0},gs={},jt=[],zr={},Bi,We={},hr={},Xs=30,Fn=[],xs="",vs=function(e){var t=e[0],n,r;if(ut(t)||pe(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=Fn.length;r--&&!Fn[r].targetTest(t););n=Fn[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new lo(e[r],n)))||e.splice(r,1);return e},Dt=function(e){return e._gsap||vs(Qe(e))[0]._gsap},$i=function(e,t,n){return(n=e[t])&&pe(n)?e[t]():fs(n)&&e.getAttribute&&e.getAttribute(t)||n}
vendor: 4,132 bytes, line 1
1,De=function(e,t){return(e=e.split(",")).forEach(t)||e},ge=function(e){return Math.round(e*1e5)/1e5||0},ae=function(e){return Math.round(e*1e7)/1e7||0},Xt=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n==="+"?e+r:n==="-"?e-r:n==="*"?e*r:e/r},Nl=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},qn=function(){var e=jt.length,t=jt.slice(0),n,r;for(zr={},jt.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},bs=function(e){return!!(e._initted||e._startAt||e.add)},Vi=function(e,t,n,r){jt.length&&!we&&qn(),e.render(t,n,!!(we&&t<0&&bs(e))),jt.length&&!we&&qn()},Wi=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(jl).length<2?t:ye(e)?e.trim():e},qi=function(e){return e},Xe=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Ml=function(e){return function(t,n){for(var r in n)r in t||r==="duration"&&e||r==="ease"||(t[r]=n[r])}},Qt=function(e,t){for(var n in t)e[n]=t[n];return e},Zs=function s(e,t){for(var n in t)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=ut(t[n])?s(e[n]||(e[n]={}),t[n]):t[n]);return e},Hn=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},fn=function(e){var t=e.parent||le,n=e.keyframes?Ml(Ce(e.keyframes)):Xe;if(Oe(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},kl=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},Hi=function(e,t,n,r,i){var o=e[r],a;if(i)for(a=t[i];o&&o[i]>a;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=o,t.parent=t._dp=e,t},or=function(e,t,n,r){n===void 0&&(n="_first"),r===void 0&&(r="_last");var i=t._prev,o=t._next;i?i._next=o:e[n]===t&&(e[n]=o),o?o._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},Tt=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},It=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},El=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Fr=function(e,t,n,r){return e._startAt&&(we?e._startAt.revert(zn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Rl=function s(e){return!e||e._ts&&s(e.parent)},Ks=function(e){return e._repeat?en(e._tTime,e=e.duration()+e._rDelay)*e:0},en=function(e,t){var n=Math.floor(e=ae(e/t));return e&&n===e?n-1:n},Un=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},ar=function(e){return e._end=ae(e._start+(e._tDur/Math.abs(e._ts||e._rts||ne)||0))},lr=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=ae(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),ar(e),n._dirty||It(n,e)),e},Ui=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Un(e.rawTime(),t),(!t._dur||An(0,t.totalDuration(),n)-t._tTime>ne)&&t.render(n,!0)),It(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-ne}},lt=function(e,t,n,r){return t.parent&&Tt(t),t._start=ae((gt(n)?n:n||e!==le?Ke(e,n,t):e._time)+t._delay),t._end=ae(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Hi(e,t,"_first","_last",e._sort?"_start":0),Br(t)||(e._recent=t),r||Ui(e,t),e._ts<0&&lr(e,e._tTime),e},Gi=function(e,t){return(Ye.ScrollTrigger||ms("scrollTrigger",t))&&Ye.ScrollTrigger.create(t,e)},Yi=function(e,t,n,r,i){if(_s(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!we&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Bi!==qe.frame)return jt.push(e),e._lazy=[i,r],1},Al=function s(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||s(t))},Br=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Ll=function(e,t,n,r){var i=e.ratio,o=t<0||!t&&(!e._start&&Al(e)&&!(!e._initted&&Br(e))||(e._ts<0||e._dp._ts<0)&&!Br(e))?0:1,a=e._rDelay,c=0,u,d,h;if(a&&e._repeat&&(c=An(0,e._tDur,t),d=en(c,a),e._yoyo&&d&1&&(o=1-o),d!==en(e._tTime,a)&&(i=1-o,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 17,495 bytes, line 1
1date())),o!==i||we||r||e._zTime===ne||!t&&e._zTime){if(!e._initted&&Yi(e,t,r,n,c))return;for(h=e._zTime,e._zTime=t||(n?ne:0),n||(n=t&&!h),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=c,u=e._pt;u;)u.r(o,u.d),u=u._next;t<0&&Fr(e,t,n,!0),e._onUpdate&&!n&&He(e,"onUpdate"),c&&e._repeat&&!n&&e.parent&&He(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&Tt(e,1),!n&&!we&&(He(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Pl=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data==="isPause"&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data==="isPause"&&r._start<t)return r;r=r._prev}},tn=function(e,t,n,r){var i=e._repeat,o=ae(t)||0,a=e._tTime/e._tDur;return a&&!r&&(e._time*=o/e._dur),e._dur=o,e._tDur=i?i<0?1e10:ae(o*(i+1)+e._rDelay*i):o,a>0&&!r&&lr(e,e._tTime=e._tDur*a),e.parent&&ar(e),n||It(e.parent,e),e},Js=function(e){return e instanceof Ae?It(e):tn(e,e._dur)},Ol={_start:0,endTime:Cn,totalDuration:Cn},Ke=function s(e,t,n){var r=e.labels,i=e._recent||Ol,o=e.duration()>=Je?i.endTime(!1):e._dur,a,c,u;return ye(t)&&(isNaN(t)||t in r)?(c=t.charAt(0),u=t.substr(-1)==="%",a=t.indexOf("="),c==="<"||c===">"?(a>=0&&(t=t.replace(/=/,"")),(c==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(a<0?i:n).totalDuration()/100:1)):a<0?(t in r||(r[t]=o),r[t]):(c=parseFloat(t.charAt(a-1)+t.substr(a+1)),u&&n&&(c=c/100*(Ce(n)?n[0]:n).totalDuration()),a>1?s(e,t.substr(0,a-1),n)+c:o+c)):t==null?o:+t},hn=function(e,t,n){var r=gt(t[1]),i=(r?2:1)+(e<2?0:1),o=t[i],a,c;if(r&&(o.duration=t[1]),o.parent=n,e){for(a=o,c=n;c&&!("immediateRender"in a);)a=c.vars.defaults||{},c=Oe(c.vars.inherit)&&c.parent;o.immediateRender=Oe(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[i-1]}return new xe(t[0],o,t[i+1])},Mt=function(e,t){return e||e===0?t(e):t},An=function(e,t,n){return n<e?e:n>t?t:n},je=function(e,t){return!ye(e)||!(t=Cl.exec(e))?"":t[1]},Dl=function(e,t,n){return Mt(n,function(r){return An(e,t,r)})},$r=[].slice,Xi=function(e,t){return e&&ut(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&ut(e[0]))&&!e.nodeType&&e!==at},Il=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(r){var i;return ye(r)&&!t||Xi(r,1)?(i=n).push.apply(i,Qe(r)):n.push(r)})||n},Qe=function(e,t,n){return ie&&!t&&ie.selector?ie.selector(e):ye(e)&&!n&&(Ir||!nn())?$r.call((t||ps).querySelectorAll(e),0):Ce(e)?Il(e,n):Xi(e)?$r.call(e,0):e?[e]:[]},Vr=function(e){return e=Qe(e)[0]||jn("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return Qe(t,n.querySelectorAll?n:n===e?jn("Invalid scope")||ps.createElement("div"):e)}},Zi=function(e){return e.sort(function(){return .5-Math.random()})},Ki=function(e){if(pe(e))return e;var t=ut(e)?e:{each:e},n=zt(t.ease),r=t.from||0,i=parseFloat(t.base)||0,o={},a=r>0&&r<1,c=isNaN(r)||a,u=t.axis,d=r,h=r;return ye(r)?d=h={center:.5,edges:.5,end:1}[r]||0:!a&&c&&(d=r[0],h=r[1]),function(p,m,g){var f=(g||t).length,x=o[f],v,y,b,j,w,k,N,S,M;if(!x){if(M=t.grid==="auto"?0:(t.grid||[1,Je])[1],!M){for(N=-Je;N<(N=g[M++].getBoundingClientRect().left)&&M<f;);M<f&&M--}for(x=o[f]=[],v=c?Math.min(M,f)*d-.5:r%M,y=M===Je?0:c?f*h/M-.5:r/M|0,N=0,S=Je,k=0;k<f;k++)b=k%M-v,j=y-(k/M|0),x[k]=w=u?Math.abs(u==="y"?j:b):Li(b*b+j*j),w>N&&(N=w),w<S&&(S=w);r==="random"&&Zi(x),x.max=N-S,x.min=S,x.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(M>f?f-1:u?u==="y"?f/M:M:Math.max(M,f/M))||0)*(r==="edges"?-1:1),x.b=f<0?i-f:i,x.u=je(t.amount||t.each)||0,n=n&&f<0?Zl(n):n}return f=(x[p]-x.min)/x.max||0,ae(x.b+(n?n(f):f)*x.v)+x.u}},Wr=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=ae(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(gt(n)?0:je(n))}},Ji=function(e,t){var n=Ce(e),r,i;return!n&&ut(e)&&(r=n=e.radius||Je,e.values?(e=Qe(e.values),(i=!gt(e[0]))&&(r*=r)):e=Wr(e.increment)),Mt(t,n?pe(e)?function(o){return i=e(o),Math.abs(i-o)<=r?i:o}:function(o){for(var a=parseFloat(i?o.x:o),c=parseFloat(i?o.y:0),u=Je,d=0,h=e.length,p,m;h--;)i?(p=e[h].x-a,m=e[h].y-c,p=p*p+m*m):p=Math.abs(e[h]-a),p<u&&(u=p,d=h);return d=!r||u<=r?e[d]:o,i||d===o||gt(o)?d:d+je(o)}:Wr(e))},Qi=function(e,t,n,r){return Mt(Ce(e)?!t:n===!0?!!(n=0):!r,function(){return Ce(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},zl=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return t.reduce(function(i,o){return o(i)},r)}},Fl=function(e,t){return function(n){return e(parseFloat(n))+(t||je(n))}},Bl=function(e,t,n){return to(e,t,0,1,n)},eo=function(e,t,n){return Mt(n,function(r){return e[~~t(r)]})},$l=function s(e,t,n){var r=t-e;return Ce(e)?eo(e,s(0,e.length),t):Mt(n,function(i){return(r+(i-e)%r)%r+e})},Vl=function s(e,t,n){var r=t-e,i=r*2;return Ce(e)?eo(e,s(0,e.length-1),t):Mt(n,function(o){return o=(i+(o-e)%i)%i||0,e+(o>r?i-o:o)})},Tn=function(e){return e.replace(_l,function(t){var n=t.indexOf("[")+1,r=t.substring(n||7,n?t.indexOf("]"):t.length-1).split(wl);return Qi(n?r:+r[0],n?0:+r[1],+r[2]||1e-5)})},to=function(e,t,n,r,i){var o=t-e,a=r-n;return Mt(i,function(c){return n+((c-e)/o*a||0)})},Wl=function s(e,t,n,r){var i=isNaN(e+t)?0:function(m){return(1-m)*e+m*t};if(!i){var o=ye(e),a={},c,u,d,h,p;if(n===!0&&(r=1)&&(n=null),o)e={p:e},t={p:t};else if(Ce(e)&&!Ce(t)){for(d=[],h=e.length,p=h-2,u=1;u<h;u++)d.push(s(e[u-1],e[u]));h--,i=function(g){g*=h;var f=Math.min(p,~~g);return d[f](g-f)},n=t}else r||(e=Qt(Ce(e)?[]:{},e));if(!d){for(c in t)ys.call(a,e,c,"get",t[c]);i=function(g){return Cs(g,a)||(o?e.p:e)}}}return Mt(n,i)},Qs=function(e,t,n){var r=e.labels,i=Je,o,a,c;for(o in r)a=r[o]-t,a<0==!!n&&a&&i>(a=Math.abs(a))&&(c=o,i=a);return c},He=function(e,t,n){var r=e.vars,i=r[t],o=ie,a=e._ctx,c,u,d;if(i)return c=r[t+"Params"],u=r.callbackScope||e,n&&jt.length&&qn(),a&&(ie=a),d=c?i.apply(u,c):i.call(u),ie=o,d},ln=function(e){return Tt(e),e.scrollTrigger&&e.scrollTrigger.kill(!!we),e.progress()<1&&He(e,"onInterrupt"),e},Gt,no=[],ro=function(e){if(e)if(e=!e.name&&e.default||e,hs()||e.headless){var t=e.name,n=pe(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:Cn,render:Cs,add:ys,kill:oc,modifier:ic,rawVars:0},o={targetTest:0,get:0,getSetter:js,aliases:{},register:0};if(nn(),e!==r){if(We[t])return;Xe(r,Xe(Hn(e,i),o)),Qt(r.prototype,Qt(i,Hn(e,o))),We[r.prop=t]=r,e.targetTest&&(Fn.push(r),gs[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Fi(t,r),e.register&&e.register(Fe,r,Ie)}else no.push(e)},te=255,cn={aqua:[0,te,te],lime:[0,te,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,te],navy:[0,0,128],white:[te,te,te],olive:[128,128,0],yellow:[te,te,0],orange:[te,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[te,0,0],pink:[te,192,203],cyan:[0,te,te],transparent:[te,te,te,0]},pr=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*te+.5|0},so=function(e,t,n){var r=e?gt(e)?[e>>16,e>>8&te,e&te]:0:cn.black,i,o,a,c,u,d,h,p,m,g;if(!r){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),cn[e])r=cn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+i+i+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&te,r&te,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&te,e&te]}else if(e.substr(0,3)==="hsl"){if(r=g=e.match(Ys),!t)c=+r[0]%360/360,u=+r[1]/100,d=+r[2]/100,o=d<=.5?d*(u+1):d+u-d*u,i=d*2-o,r.length>3&&(r[3]*=1),r[0]=pr(c+1/3,i,o),r[1]=pr(c,i,o),r[2]=pr(c-1/3,i,o);else if(~e.indexOf("="))return r=e.match(Oi),n&&r.length<4&&(r[3]=1),r}else r=e.match(Ys)||cn.transparent;r=r.map(Number)}return t&&!g&&(i=r[0]/te,o=r[1]/te,a=r[2]/te,h=Math.max(i,o,a),p=Math.min(i,o,a),d=(h+p)/2,h===p?c=u=0:(m=h-p,u=d>.5?m/(2-h-p):m/(h+p),c=h===i?(o-a)/m+(o<a?6:0):h===o?(a-i)/m+2:(i-o)/m+4,c*=60),r[0]=~~(c+.5),r[1]=~~(u*100+.5),r[2]=~~(d*100+.5)),n&&r.length<4&&(r[3]=1),r},io=function(e){var t=[],n=[],r=-1;return e.split(Ct).forEach(function(i){var o=i.match(Ut)||[];t.push.apply(t,o),n.push(r+=o.length+1)}),t.c=n,t},ei=function(e,t,n){var r="",i=(e+r).match(Ct),o=t?"hsla(":"rgba(",a=0,c,u,d,h;if(!i)return e;if(i=i.map(function(p){return(p=so(p,t,1))&&o+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),n&&(d=io(e),c=n.c,c.join(r)!==d.c.join(r)))for(u=e.replace(Ct,"1").split(Ut),h=u.length-1;a<h;a++)r+=u[a]+(~c.indexOf(a)?i.shift()||o+"0,0,0,0)":(d.length?d:i.length?i:n).shift());if(!u)for(u=e.split(Ct),h=u.length-1;a<h;a++)r+=u[a]+i[a];return r+u[h]},Ct=(function(){var s="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in cn)s+="|"+e+"\\b";return new RegExp(s+")","gi")})(),ql=/hsl[a]?\(/,oo=function(e){var t=e.join(" "),n;if(Ct.lastIndex=0,Ct.test(t))return n=ql.test(t),e[1]=ei(e[1],n),e[0]=ei(e[0],n,io(e[1])),!0},Sn,qe=(function(){var s=Date.now,e=500,t=33,n=s(),r=n,i=1e3/240,o=i,a=[],c,u,d,h,p,m,g=function f(x){var v=s()-r,y=x===!0,b,j,w,k;if((v>e||v<0)&&(n+=v-t),r+=v,w=r-n,b=w-o,(b>0||y)&&(k=++h.frame,p=w-h.time*1e3,h.time=w=w/1e3,o+=b+(b>=i?4:i-b),j=1),y||(c=u(f)),j)for(m=0;m<a.length;m++)a[m](w,p,k,x)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(x){return p/(1e3/(x||60))},wake:function(){Ii&&(!Ir&&hs()&&(at=Ir=window,ps=at.document||{},Ye.gsap=Fe,(at.gsapVersions||(at.gsapVersions=[])).push(Fe.version),zi(Wn||at.GreenSockGlobals||!at.gsap&&at||{}),no.forEach(ro)),d=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),u=d||function(x){return setTimeout(x,o-h.time*1e3+1|0)},Sn=1,g(2))},sleep:function(){(d?cancelAnimationFrame:clearTimeout)(c),Sn=0,u=Cn},lagSmoothing:function(x,v){e=x||1/0,t=Math.min(v||33,e)},fps:function(x){i=1e3/(x||240),o=h.time*1e3+i},add:function(x,v,y){var b=v?function(j,w,k,N){x(j,w,k,N),h.remove(b)}:x;return h.remove(x),a[y?"unshift":"push"](b),nn(),b},remove:function(x,v){~(v=a.indexOf(x))&&a.splice(v,1)&&m>=v&&m--},_listeners:a},h})(),nn=function(){return!Sn&&qe.wake()},X={},Hl=/^[\d.\-M][\d.\-,\s]/,Ul=/["']/g,Gl=function(e){for(var t={},n=e.substr(1,e.length-3).split(":"),r=n[0],i=1,o=n.length,a,c,u;i<o;i++)c=n[i],a=i!==o-1?c.lastIndexOf(","):c.length,u=c.substr(0,a),t[r]=isNaN(u)?u.replace(Ul,"").trim():+u,r=c.substr(a+1).trim();return t},Yl=function(e){var t=e.indexOf("(")+1,n=e.indexOf(")"),r=e.indexOf("(",t);return e.substring(t,~r&&r<n?e.indexOf(")",n+1):n)},Xl=function(e){var t=(e+"").split("("),n=X[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[Gl(t[1])]:Yl(e).split(",").map(Wi)):X._CE&&Hl.test(e)?X._CE("",e):n},Zl=function(e){return function(t){return 1-e(1-t)}},zt=function(e,t){return e&&(pe(e)?e:X[e]||Xl(e))||t},Vt=function(e,t,n,r){n===void 0&&(n=function(c){return 1-t(1-c)}),r===void 0&&(r=function(c){return c<.5?t(c*2)/2:1-t((1-c)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},o;return De(e,function(a){X[a]=Ye[a]=i,X[o=a.toLowerCase()]=n;for(var c in i)X[o+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=X[a+"."+c]=i[c]}),i},ao=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},mr=function s(e,t,n){var r=t>=1?t:1,i=(n||(e?.3:.45))/(t<1?t:1),o=i/Dr*(Math.asin(1/r)||0),a=function(d){return d===1?1:r*Math.pow(2,-10*d)*yl((d-o)*i)+1},c=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:ao(a);return i=Dr/i,c.config=function(u,d){return s(e,u,d)},c},gr=function s(e,t){t===void 0&&(t=1.70158);var n=function(o){return o?--o*o*((t+1)*o+t)+1:0},r=e==="out"?n:e==="in"?function(i){return 1-n(1-i)}:ao(n);return r.config=function(i){return s(e,i)},r};De("Linear,Quad,Cubic,Quart,Quint,Strong",function(s,e){var t=e<5?e+1:e;Vt(s+",Power"+(t-1),e?function(n){return Math.pow(n,t)}:function(n){return n},function(n){return 1-Math.pow(1-n,t)},function(n){return n<.5?Math.pow(n*2,t)/2:1-Math.pow((1-n)*2,t)/2})});X.Linear.easeNone=X.none=X.Linear.easeIn;Vt("Elastic",mr("in"),mr("out"),mr());(function(s,e){var t=1/e,n=2*t,r=2.5*t,i=function(a){return a<t?s*a*a:a<n?s*Math.pow(a-1.5/e,2)+.75:a<r?s*(a-=2.25/e)*a+.9375:s*Math.pow(a-2.625/e,2)+.984375};Vt("Bounce",function(o){return 1-i(1-o)},i)})(7.5625,2.75);Vt("Expo",function(s){return Math.pow(2,10*(s-1))*s+s*s*s*s*s*s*(1-s)});Vt("Circ",function(s){return-(Li(1-s*s)-1)});Vt("Sine",function(s){return s===1?1:-bl(s*xl)+1});Vt("Back",gr("in"),gr("out"),gr());X.SteppedEase=X.steps=Ye.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+(t?0:1),i=t?1:0,o=1-ne;return function(a){return((r*An(0,o,a)|0)+i)*n}}};wn.ease=X["quad.out"];De("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(s){return xs+=s+","+s+"Params,"});var lo=function(e,t){this.id=vl++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:$i,this.set=t?t.getSetter:js},Nn=(function(){function s(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,tn(this,+t.duration,1,1),this.data=t.data,ie&&(this._ctx=ie,ie.data.push(this)),Sn||qe.wake()}var e=s.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,tn(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,r){if(nn(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(lr(this,n),!i._dp||i.parent||Ui(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&lt(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===ne||!this._initted&&this._dur&&n||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),Vi(this,n,r)),this},e.time=function(n,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+Ks(this))%(this._dur+this._rDelay)||(n?this._dur:0),r):this._time},e.totalProgress=function(n,r){return arguments.length?this.totalTime(this.totalDuration()*n,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+Ks(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,r){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,r):this._repeat?en(this._tTime,i)+1:1},e.timeScale=function(n,r){if(!arguments.length)return this._rts===-ne?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?Un(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-ne?0:this._rts,this.totalTime(An(-Math.abs(this._delay),this.totalDuration(),i),r!==!1),ar(this),El(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(nn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ne&&(this._tTime-=ne)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=ae(n);var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&lt(r,this,this._start-this._delay),this}return this._start},e.endTime=function(n){return this._start+(Oe(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var r=this.parent||this._dp;return r?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Un(r.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=Sl);var r=we;return we=n,bs(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),we=r,this},e.globalTime=function(n){for(var r=this,i=arguments.length?n:r.rawTime();r;)i=r._start+i/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,Js(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var r=this._time;return this._rDelay=n,Js(this),r?this.time(r):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,r){return this.totalTime(Ke(this,n),Oe(r))},e.restart=function(n,r){return this.play().totalTime(n?-this._delay:0,Oe(r)),this._dur||(this._zTime=-ne),this},e.play=function(n,r){return n!=null&&this.seek(n,r),this.reversed(!1).paused(!1)},e.reverse=function(n,r){return n!=null&&this.seek(n||this.totalDuration(),r),this.reversed(!0).paused(!1)},e.pause=function(n,r){return n!=null&&this.seek(n,r),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-ne:0)),this):this._rts<0}
vendor: 21,476 bytes, line 1
1,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ne,this},e.isActive=function(){var n=this.parent||this._dp,r=this._start,i;return!!(!n||this._ts&&this._initted&&n.isActive()&&(i=n.rawTime(!0))>=r&&i<this.endTime(!0)-ne)},e.eventCallback=function(n,r,i){var o=this.vars;return arguments.length>1?(r?(o[n]=r,i&&(o[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=r)):delete o[n],this):o[n]},e.then=function(n){var r=this,i=r._prom;return new Promise(function(o){var a=pe(n)?n:qi,c=function(){var d=r.then;r.then=null,i&&i(),pe(a)&&(a=a(r))&&(a.then||a===r)&&(r.then=d),o(a),r.then=d};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?c():r._prom=c})},e.kill=function(){ln(this)},s})();Xe(Nn.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-ne,_prom:0,_ps:!1,_rts:1});var Ae=(function(s){Ai(e,s);function e(n,r){var i;return n===void 0&&(n={}),i=s.call(this,n)||this,i.labels={},i.smoothChildTiming=!!n.smoothChildTiming,i.autoRemoveChildren=!!n.autoRemoveChildren,i._sort=Oe(n.sortChildren),le&&lt(n.parent||le,ht(i),r),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&Gi(ht(i),n.scrollTrigger),i}var t=e.prototype;return t.to=function(r,i,o){return hn(0,arguments,this),this},t.from=function(r,i,o){return hn(1,arguments,this),this},t.fromTo=function(r,i,o,a){return hn(2,arguments,this),this},t.set=function(r,i,o){return i.duration=0,i.parent=this,fn(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new xe(r,i,Ke(this,o),1),this},t.call=function(r,i,o){return lt(this,xe.delayedCall(0,r,i),o)},t.staggerTo=function(r,i,o,a,c,u,d){return o.duration=i,o.stagger=o.stagger||a,o.onComplete=u,o.onCompleteParams=d,o.parent=this,new xe(r,o,Ke(this,c)),this},t.staggerFrom=function(r,i,o,a,c,u,d){return o.runBackwards=1,fn(o).immediateRender=Oe(o.immediateRender),this.staggerTo(r,i,o,a,c,u,d)},t.staggerFromTo=function(r,i,o,a,c,u,d,h){return a.startAt=o,fn(a).immediateRender=Oe(a.immediateRender),this.staggerTo(r,i,a,c,u,d,h)},t.render=function(r,i,o){var a=this._time,c=this._dirty?this.totalDuration():this._tDur,u=this._dur,d=r<=0?0:ae(r),h=this._zTime<0!=r<0&&(this._initted||!u),p,m,g,f,x,v,y,b,j,w,k,N;if(this!==le&&d>c&&r>=0&&(d=c),d!==this._tTime||o||h){if(a!==this._time&&u&&(d+=this._time-a,r+=this._time-a),p=d,j=this._start,b=this._ts,v=!b,h&&(u||(a=this._zTime),(r||!i)&&(this._zTime=r)),this._repeat){if(k=this._yoyo,x=u+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(x*100+r,i,o);if(p=ae(d%x),d===c?(f=this._repeat,p=u):(w=ae(d/x),f=~~w,f&&f===w&&(p=u,f--),p>u&&(p=u)),w=en(this._tTime,x),!a&&this._tTime&&w!==f&&this._tTime-w*x-this._dur<=0&&(w=f),k&&f&1&&(p=u-p,N=1),f!==w&&!this._lock){var S=k&&w&1,M=S===(k&&f&1);if(f<w&&(S=!S),a=S?0:d%u?u:d,this._lock=1,this.render(a||(N?0:ae(f*x)),i,!u)._lock=0,this._tTime=d,!i&&this.parent&&He(this,"onRepeat"),this.vars.repeatRefresh&&!N&&(this.invalidate()._lock=1,w=f),a&&a!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,c=this._tDur,M&&(this._lock=2,a=S?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!N&&this.invalidate()),this._lock=0,!this._ts&&!v)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(y=Pl(this,ae(a),ae(p)),y&&(d-=p-(p=y._start))),this._tTime=d,this._time=p,this._act=!!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,a=0),!a&&d&&u&&!i&&!w&&(He(this,"onStart"),this._tTime!==d))return this;if(p>=a&&r>=0)for(m=this._first;m;){if(g=m._next,(m._act||p>=m._start)&&m._ts&&y!==m){if(m.parent!==this)return this.render(r,i,o);if(m.render(m._ts>0?(p-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(p-m._start)*m._ts,i,o),p!==this._time||!this._ts&&!v){y=0,g&&(d+=this._zTime=-ne);break}}m=g}else{m=this._last;for(var T=r<0?r:p;m;){if(g=m._prev,(m._act||T<=m._end)&&m._ts&&y!==m){if(m.parent!==this)return this.render(r,i,o);if(m.render(m._ts>0?(T-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(T-m._start)*m._ts,i,o||we&&bs(m)),p!==this._time||!this._ts&&!v){y=0,g&&(d+=this._zTime=T?-ne:ne);break}}m=g}}if(y&&!i&&(this.pause(),y.render(p>=a?0:-ne)._zTime=p>=a?1:-1,this._ts))return this._start=j,ar(this),this.render(r,i,o);this._onUpdate&&!i&&He(this,"onUpdate",!0),(d===c&&this._tTime>=this.totalDuration()||!d&&a)&&(j===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((r||!u)&&(d===c&&this._ts>0||!d&&this._ts<0)&&Tt(this,1),!i&&!(r<0&&!a)&&(d||a||!c)&&(He(this,d===c&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(d<c&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(r,i){var o=this;if(gt(i)||(i=Ke(this,i,r)),!(r instanceof Nn)){if(Ce(r))return r.forEach(function(a){return o.add(a,i)}),this;if(ye(r))return this.addLabel(r,i);if(pe(r))r=xe.delayedCall(0,r);else return this}return this!==r?lt(this,r,i):this},t.getChildren=function(r,i,o,a){r===void 0&&(r=!0),i===void 0&&(i=!0),o===void 0&&(o=!0),a===void 0&&(a=-Je);for(var c=[],u=this._first;u;)u._start>=a&&(u instanceof xe?i&&c.push(u):(o&&c.push(u),r&&c.push.apply(c,u.getChildren(!0,i,o)))),u=u._next;return c},t.getById=function(r){for(var i=this.getChildren(1,1,1),o=i.length;o--;)if(i[o].vars.id===r)return i[o]},t.remove=function(r){return ye(r)?this.removeLabel(r):pe(r)?this.killTweensOf(r):(r.parent===this&&or(this,r),r===this._recent&&(this._recent=this._last),It(this))},t.totalTime=function(r,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ae(qe.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),s.prototype.totalTime.call(this,r,i),this._forcing=0,this):this._tTime},t.addLabel=function(r,i){return this.labels[r]=Ke(this,i),this},t.removeLabel=function(r){return delete this.labels[r],this},t.addPause=function(r,i,o){var a=xe.delayedCall(0,i||Cn,o);return a.data="isPause",this._hasPause=1,lt(this,a,Ke(this,r))},t.removePause=function(r){var i=this._first;for(r=Ke(this,r);i;)i._start===r&&i.data==="isPause"&&Tt(i),i=i._next},t.killTweensOf=function(r,i,o){for(var a=this.getTweensOf(r,o),c=a.length;c--;)bt!==a[c]&&a[c].kill(r,i);return this},t.getTweensOf=function(r,i){for(var o=[],a=Qe(r),c=this._first,u=gt(i),d;c;)c instanceof xe?Nl(c._targets,a)&&(u?(!bt||c._initted&&c._ts)&&c.globalTime(0)<=i&&c.globalTime(c.totalDuration())>i:!i||c.isActive())&&o.push(c):(d=c.getTweensOf(a,i)).length&&o.push.apply(o,d),c=c._next;return o},t.tweenTo=function(r,i){i=i||{};var o=this,a=Ke(o,r),c=i,u=c.startAt,d=c.onStart,h=c.onStartParams,p=c.immediateRender,m,g=xe.to(o,Xe({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:i.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale())||ne,onStart:function(){if(o.pause(),!m){var x=i.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale());g._dur!==x&&tn(g,x,0,1).render(g._time,!0,!0),m=1}d&&d.apply(g,h||[])}},i));return p?g.render(0):g},t.tweenFromTo=function(r,i,o){return this.tweenTo(i,Xe({startAt:{time:Ke(this,r)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(r){return r===void 0&&(r=this._time),Qs(this,Ke(this,r))},t.previousLabel=function(r){return r===void 0&&(r=this._time),Qs(this,Ke(this,r),1)},t.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+ne)},t.shiftChildren=function(r,i,o){o===void 0&&(o=0);var a=this._first,c=this.labels,u;for(r=ae(r);a;)a._start>=o&&(a._start+=r,a._end+=r),a=a._next;if(i)for(u in c)c[u]>=o&&(c[u]+=r);return It(this)},t.invalidate=function(r){var i=this._first;for(this._lock=0;i;)i.invalidate(r),i=i._next;return s.prototype.invalidate.call(this,r)},t.clear=function(r){r===void 0&&(r=!0);for(var i=this._first,o;i;)o=i._next,this.remove(i),i=o;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),It(this)},t.totalDuration=function(r){var i=0,o=this,a=o._last,c=Je,u,d,h;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-r:r));if(o._dirty){for(h=o.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),d=a._start,d>c&&o._sort&&a._ts&&!o._lock?(o._lock=1,lt(o,a,d-a._delay,1)._lock=0):c=d,d<0&&a._ts&&(i-=d,(!h&&!o._dp||h&&h.smoothChildTiming)&&(o._start+=ae(d/o._ts),o._time-=d,o._tTime-=d),o.shiftChildren(-d,!1,-1/0),c=0),a._end>i&&a._ts&&(i=a._end),a=u;tn(o,o===le&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(r){if(le._ts&&(Vi(le,Un(r,le)),Bi=qe.frame),qe.frame>=Xs){Xs+=Ge.autoSleep||120;var i=le._first;if((!i||!i._ts)&&Ge.autoSleep&&qe._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||qe.sleep()}}},e})(Nn);Xe(Ae.prototype,{_lock:0,_hasPause:0,_forcing:0});var Kl=function(e,t,n,r,i,o,a){var c=new Ie(this._pt,e,t,0,1,mo,null,i),u=0,d=0,h,p,m,g,f,x,v,y;for(c.b=n,c.e=r,n+="",r+="",(v=~r.indexOf("random("))&&(r=Tn(r)),o&&(y=[n,r],o(y,e,t),n=y[0],r=y[1]),p=n.match(fr)||[];h=fr.exec(r);)g=h[0],f=r.substring(u,h.index),m?m=(m+1)%5:f.substr(-5)==="rgba("&&(m=1),g!==p[d++]&&(x=parseFloat(p[d-1])||0,c._pt={_next:c._pt,p:f||d===1?f:",",s:x,c:g.charAt(1)==="="?Xt(x,g)-x:parseFloat(g)-x,m:m&&m<4?Math.round:0},u=fr.lastIndex);return c.c=u<r.length?r.substring(u,r.length):"",c.fp=a,(Di.test(r)||v)&&(c.e=0),this._pt=c,c},ys=function(e,t,n,r,i,o,a,c,u,d){pe(r)&&(r=r(i||0,e,o));var h=e[t],p=n!=="get"?n:pe(h)?u?e[t.indexOf("set")||!pe(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():h,m=pe(h)?u?nc:ho:ws,g;if(ye(r)&&(~r.indexOf("random(")&&(r=Tn(r)),r.charAt(1)==="="&&(g=Xt(p,r)+(je(p)||0),(g||g===0)&&(r=g))),!d||p!==r||qr)return!isNaN(p*r)&&r!==""?(g=new Ie(this._pt,e,t,+p||0,r-(p||0),typeof h=="boolean"?sc:po,0,m),u&&(g.fp=u),a&&g.modifier(a,this,e),this._pt=g):(!h&&!(t in e)&&ms(t,r),Kl.call(this,e,t,p,r,m,c||Ge.stringFilter,u))},Jl=function(e,t,n,r,i){if(pe(e)&&(e=pn(e,i,t,n,r)),!ut(e)||e.style&&e.nodeType||Ce(e)||Pi(e))return ye(e)?pn(e,i,t,n,r):e;var o={},a;for(a in e)o[a]=pn(e[a],i,t,n,r);return o},co=function(e,t,n,r,i,o){var a,c,u,d;if(We[e]&&(a=new We[e]).init(i,a.rawVars?t[e]:Jl(t[e],r,i,o,n),n,r,o)!==!1&&(n._pt=c=new Ie(n._pt,i,e,0,1,a.render,a,0,a.priority),n!==Gt))for(u=n._ptLookup[n._targets.indexOf(i)],d=a._props.length;d--;)u[a._props[d]]=c;return a},bt,qr,_s=function s(e,t,n){var r=e.vars,i=r.ease,o=r.startAt,a=r.immediateRender,c=r.lazy,u=r.onUpdate,d=r.runBackwards,h=r.yoyoEase,p=r.keyframes,m=r.autoRevert,g=e._dur,f=e._startAt,x=e._targets,v=e.parent,y=v&&v.data==="nested"?v.vars.targets:x,b=e._overwrite==="auto"&&!ds,j=e.timeline,w=r.easeReverse||h,k,N,S,M,T,C,R,A,E,L,O,F,z;if(j&&(!p||!i)&&(i="none"),e._ease=zt(i,wn.ease),e._rEase=w&&(zt(w)||e._ease),e._from=!j&&!!r.runBackwards,e._from&&(e.ratio=1),!j||p&&!r.stagger){if(A=x[0]?Dt(x[0]).harness:0,F=A&&r[A.prop],k=Hn(r,gs),f&&(f._zTime<0&&f.progress(1),t<0&&d&&a&&!m?f.render(-1,!0):f.revert(d&&g?zn:Tl),f._lazy=0),o){if(Tt(e._startAt=xe.set(x,Xe({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!f&&Oe(c),startAt:null,delay:0,onUpdate:u&&function(){return He(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(we||!a&&!m)&&e._startAt.revert(zn),a&&g&&t<=0&&n<=0){t&&(e._zTime=t);return}}else if(d&&g&&!f){if(t&&(a=!1),S=Xe({overwrite:!1,data:"isFromStart",lazy:a&&!f&&Oe(c),immediateRender:a,stagger:0,parent:v},k),F&&(S[A.prop]=F),Tt(e._startAt=xe.set(x,S)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(we?e._startAt.revert(zn):e._startAt.render(-1,!0)),e._zTime=t,!a)s(e._startAt,ne,ne);else if(!t)return}for(e._pt=e._ptCache=0,c=g&&Oe(c)||c&&!g,N=0;N<x.length;N++){if(T=x[N],R=T._gsap||vs(x)[N]._gsap,e._ptLookup[N]=L={},zr[R.id]&&jt.length&&qn(),O=y===x?N:y.indexOf(T),A&&(E=new A).init(T,F||k,e,O,y)!==!1&&(e._pt=M=new Ie(e._pt,T,E.name,0,1,E.render,E,0,E.priority),E._props.forEach(function(D){L[D]=M}),E.priority&&(C=1)),!A||F)for(S in k)We[S]&&(E=co(S,k,e,O,T,y))?E.priority&&(C=1):L[S]=M=ys.call(e,T,S,"get",k[S],O,y,0,r.stringFilter);e._op&&e._op[N]&&e.kill(T,e._op[N]),b&&e._pt&&(bt=e,le.killTweensOf(T,L,e.globalTime(t)),z=!e.parent,bt=0),e._pt&&c&&(zr[R.id]=1)}C&&go(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!z,p&&t<=0&&j.render(Je,!0,!0)},Ql=function(e,t,n,r,i,o,a,c){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],d,h,p,m;if(!u)for(u=e._ptCache[t]=[],p=e._ptLookup,m=e._targets.length;m--;){if(d=p[m][t],d&&d.d&&d.d._pt)for(d=d.d._pt;d&&d.p!==t&&d.fp!==t;)d=d._next;if(!d)return qr=1,e.vars[t]="+=0",_s(e,a),qr=0,c?jn(t+" not eligible for reset. Try splitting into individual properties"):1;u.push(d)}for(m=u.length;m--;)h=u[m],d=h._pt||h,d.s=(r||r===0)&&!i?r:d.s+(r||0)+o*d.c,d.c=n-d.s,h.e&&(h.e=ge(n)+je(h.e)),h.b&&(h.b=d.s+je(h.b))},ec=function(e,t){var n=e[0]?Dt(e[0]).harness:0,r=n&&n.aliases,i,o,a,c;if(!r)return t;i=Qt({},t);for(o in r)if(o in i)for(c=r[o].split(","),a=c.length;a--;)i[c[a]]=i[o];return i},tc=function(e,t,n,r){var i=t.ease||r||"power1.inOut",o,a;if(Ce(t))a=n[e]||(n[e]=[]),t.forEach(function(c,u){return a.push({t:u/(t.length-1)*100,v:c,e:i})});else for(o in t)a=n[o]||(n[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:t[o],e:i})},pn=function(e,t,n,r,i){return pe(e)?e.call(t,n,r,i):ye(e)&&~e.indexOf("random(")?Tn(e):e},uo=xs+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",fo={};De(uo+",id,stagger,delay,duration,paused,scrollTrigger",function(s){return fo[s]=1});var xe=(function(s){Ai(e,s);function e(n,r,i,o){var a;typeof r=="number"&&(i.duration=r,r=i,i=null),a=s.call(this,o?r:fn(r))||this;var c=a.vars,u=c.duration,d=c.delay,h=c.immediateRender,p=c.stagger,m=c.overwrite,g=c.keyframes,f=c.defaults,x=c.scrollTrigger,v=r.parent||le,y=(Ce(n)||Pi(n)?gt(n[0]):"length"in r)?[n]:Qe(n),b,j,w,k,N,S,M,T;if(a._targets=y.length?vs(y):jn("GSAP target "+n+" not found. https://gsap.com",!Ge.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=m,g||p||On(u)||On(d)){r=a.vars;var C=r.easeReverse||r.yoyoEase;if(b=a.timeline=new Ae({data:"nested",defaults:f||{},targets:v&&v.data==="nested"?v.vars.targets:y}),b.kill(),b.parent=b._dp=ht(a),b._start=0,p||On(u)||On(d)){if(k=y.length,M=p&&Ki(p),ut(p))for(N in p)~uo.indexOf(N)&&(T||(T={}),T[N]=p[N]);for(j=0;j<k;j++)w=Hn(r,fo),w.stagger=0,C&&(w.easeReverse=C),T&&Qt(w,T),S=y[j],w.duration=+pn(u,ht(a),j,S,y),w.delay=(+pn(d,ht(a),j,S,y)||0)-a._delay,!p&&k===1&&w.delay&&(a._delay=d=w.delay,a._start+=d,w.delay=0),b.to(S,w,M?M(j,S,y):0),b._ease=X.none;b.duration()?u=d=0:a.timeline=0}else if(g){fn(Xe(b.vars.defaults,{ease:"none"})),b._ease=zt(g.ease||r.ease||"none");var R=0,A,E,L;if(Ce(g))g.forEach(function(O){return b.to(y,O,">")}),b.duration();else{w={};for(N in g)N==="ease"||N==="easeEach"||tc(N,g[N],w,g.easeEach);for(N in w)for(A=w[N].sort(function(O,F){return O.t-F.t}),R=0,j=0;j<A.length;j++)E=A[j],L={ease:E.e,duration:(E.t-(j?A[j-1].t:0))/100*u},L[N]=E.v,b.to(y,L,R),R+=L.duration;b.duration()<u&&b.to({},{duration:u-b.duration()})}}u||a.duration(u=b.duration())}else a.timeline=0;return m===!0&&!ds&&(bt=ht(a),le.killTweensOf(y),bt=0),lt(v,ht(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(h||!u&&!g&&a._start===ae(v._time)&&Oe(h)&&Rl(ht(a))&&v.data!=="nested")&&(a._tTime=-ne,a.render(Math.max(0,-d)||0)),x&&Gi(ht(a),x),a}var t=e.prototype;return t.render=function(r,i,o){var a=this._time,c=this._tDur,u=this._dur,d=r<0,h=r>c-ne&&!d?c:r<ne?0:r,p,m,g,f,x,v,y,b;if(!u)Ll(this,r,i,o);else if(h!==this._tTime||!r||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==d||this._lazy){if(p=h,b=this.timeline,this._repeat){if(f=u+this._rDelay,this._repeat<-1&&d)return this.totalTime(f*100+r,i,o);if(p=ae(h%f),h===c?(g=this._repeat,p=u):(x=ae(h/f),g=~~x,g&&g===x?(p=u,g--):p>u&&(p=u)),v=this._yoyo&&g&1,v&&(p=u-p),x=en(this._tTime,f),p===a&&!o&&this._initted&&g===x)return this._tTime=h,this;g!==x&&this.vars.repeatRefresh&&!v&&!this._lock&&p!==f&&this._initted&&(this._lock=o=1,this.render(ae(f*g),!0).invalidate()._lock=0)}if(!this._initted){if(Yi(this,d?r:p,o,i,h))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&g!==x))return this;if(u!==this._dur)return this.render(r,i,o)}if(this._rEase){var j=p<a;if(j!==this._inv){var w=j?a:u-a;this._inv=j,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=a,this._invRecip=w?(j?-1:1)/w:0,this._invScale=j?-this.ratio:1-this.ratio,this._invEase=j?this._rEase:this._ease}this.ratio=y=this._invRatio+this._invScale*this._invEase((p-this._invTime)*this._invRecip)}else this.ratio=y=this._ease(p/u);if(this._from&&(this.ratio=y=1-y),this._tTime=h,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),!a&&h&&!i&&!x&&(He(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(y,m.d),m=m._next;b&&b.render(r<0?r:b._dur*b._ease(p/this._dur),i,o)||this._startAt&&(this._zTime=r),this._onUpdate&&!i&&(d&&Fr(this,r,i,o),He(this,"onUpdate")),this._repeat&&g!==x&&this.vars.onRepeat&&!i&&this.parent&&He(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(d&&!this._onUpdate&&Fr(this,r,!0,!0),(r||!u)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Tt(this,1),!i&&!(d&&!a)&&(h||a||v)&&(He(this,h===c?"onComplete":"onReverseComplete",!0),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),s.prototype.invalidate.call(this,r)},t.resetTo=function(r,i,o,a,c){Sn||qe.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),d;return this._initted||_s(this,u),d=this._ease(u/this._dur),Ql(this,r,i,o,a,d,u,c)?this.resetTo(r,i,o,a,1):(lr(this,0),this.parent||Hi(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(r,i){if(i===void 0&&(i="all"),!r&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?ln(this):this.scrollTrigger&&this.scrollTrigger.kill(!!we),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(r,i,bt&&bt.vars.overwrite!==!0)._first||ln(this),this.parent&&o!==this.timeline.totalDuration()&&tn(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,c=r?Qe(r):a,u=this._ptLookup,d=this._pt,h,p,m,g,f,x,v;if((!i||i==="all")&&kl(a,c))return i==="all"&&(this._pt=0),ln(this);for(h=this._op=this._op||[],i!=="all"&&(ye(i)&&(f={},De(i,function(y){return f[y]=1}),i=f),i=ec(a,i)),v=a.length;v--;)if(~c.indexOf(a[v])){p=u[v],i==="all"?(h[v]=i,g=p,m={}):(m=h[v]=h[v]||{},g=i);for(f in g)x=p&&p[f],x&&((!("kill"in x.d)||x.d.kill(f)===!0)&&or(this,x,"_pt"),delete p[f]),m!=="all"&&(m[f]=1)}return this._initted&&!this._pt&&d&&ln(this),this},e.to=function(r,i){return new e(r,i,arguments[2])},e.from=function(r,i){return hn(1,arguments)},e.delayedCall=function(r,i,o,a){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:i,onReverseComplete:i,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(r,i,o){return hn(2,arguments)},e.set=function(r,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(r,i)},e.killTweensOf=function(r,i,o){return le.killTweensOf(r,i,o)},e})(Nn);Xe(xe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});De("staggerTo,staggerFrom,staggerFromTo",function(s){xe[s]=function(){var e=new Ae,t=$r.call(arguments,0);return t.splice(s==="staggerFromTo"?5:4,0,0),e[s].apply(e,t)}});var ws=function(e,t,n){return e[t]=n},ho=function(e,t,n){return e[t](n)},nc=function(e,t,n,r){return e[t](r.fp,n)},rc=function(e,t,n){return e.setAttribute(t,n)},js=function(e,t){return pe(e[t])?ho:fs(e[t])&&e.setAttribute?rc:ws},po=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},sc=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},mo=function(e,t){var n=t._pt,r="";if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},Cs=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},ic=function(e,t,n,r){for(var i=this._pt,o;i;)o=i._next,i.p===r&&i.modifier(e,t,n),i=o},oc=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?or(this,t,"_pt"):t.dep||(n=1),t=r;return!n},ac=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},go=function(e){for(var t=e._pt,n,r,i,o;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:o)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:o=t,t=n}e._pt=i},Ie=(function(){function s(t,n,r,i,o,a,c,u,d){this.t=n,this.s=i,this.c=o,this.p=r,this.r=a||po,this.d=c||this,this.set=u||ws,this.pr=d||0,this._next=t,t&&(t._prev=this)}var e=s.prototype;return e.modifier=function(n,r,i){this.mSet=this.mSet||this.set,this.set=ac,this.m=n,this.mt=i,this.tween=r},s})();De(xs+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(s){return gs[s]=1});Ye.TweenMax=Ye.TweenLite=xe;Ye.TimelineLite=Ye.TimelineMax=Ae;le=new Ae({sortChildren:!1,defaults:wn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ge.stringFilter=oo;var Ft=[],Bn={},lc=[],ti=0,cc=0,xr=function(e){return(Bn[e]||lc).map(function(t){return t()})},Hr=function(){var e=Date.now(),t=[];e-ti>2&&(xr("matchMediaInit"),Ft.forEach(function(n){var r=n.queries,i=n.conditions,o,a,c,u;for(a in r)o=at.matchMedia(r[a]).matches,o&&(c=1),o!==i[a]&&(i[a]=o,u=1);
vendor: 2,293 bytes, line 1
1u&&(n.revert(),c&&t.push(n))}),xr("matchMediaRevert"),t.forEach(function(n){return n.onMatch(n,function(r){return n.add(null,r)})}),ti=e,xr("matchMedia"))},xo=(function(){function s(t,n){this.selector=n&&Vr(n),this.data=[],this._r=[],this.isReverted=!1,this.id=cc++,t&&this.add(t)}var e=s.prototype;return e.add=function(n,r,i){pe(n)&&(i=r,r=n,n=pe);var o=this,a=function(){var u=ie,d=o.selector,h;return u&&u!==o&&u.data.push(o),i&&(o.selector=Vr(i)),ie=o,h=r.apply(o,arguments),pe(h)&&o._r.push(h),ie=u,o.selector=d,o.isReverted=!1,h};return o.last=a,n===pe?a(o,function(c){return o.add(null,c)}):n?o[n]=a:a},e.ignore=function(n){var r=ie;ie=null,n(this),ie=r},e.getTweens=function(){var n=[];return this.data.forEach(function(r){return r instanceof s?n.push.apply(n,r.getTweens()):r instanceof xe&&!(r.parent&&r.parent.data==="nested")&&n.push(r)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,r){var i=this;if(n?(function(){for(var a=i.getTweens(),c=i.data.length,u;c--;)u=i.data[c],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(d){return a.splice(a.indexOf(d),1)}));for(a.map(function(d){return{g:d._dur||d._delay||d._sat&&!d._sat.vars.immediateRender?d.globalTime(0):-1/0,t:d}}).sort(function(d,h){return h.g-d.g||-1/0}).forEach(function(d){return d.t.revert(n)}),c=i.data.length;c--;)u=i.data[c],u instanceof Ae?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof xe)&&u.revert&&u.revert(n);i._r.forEach(function(d){return d(n,i)}),i.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var o=Ft.length;o--;)Ft[o].id===this.id&&Ft.splice(o,1)},e.revert=function(n){this.kill(n||{})},s})(),uc=(function(){function s(t){this.contexts=[],this.scope=t,ie&&ie.data.push(this)}var e=s.prototype;return e.add=function(n,r,i){ut(n)||(n={matches:n});var o=new xo(0,i||this.scope),a=o.conditions={},c,u,d;ie&&!o.selector&&(o.selector=ie.selector),this.contexts.push(o),r=o.add("onMatch",r),o.queries=n;for(u in n)u==="all"?d=1:(c=at.matchMedia(n[u]),c&&(Ft.indexOf(o)<0&&Ft.push(o),(a[u]=c.matches)&&(d=1),c.addListener?c.addListener(Hr):c.addEventListener("change",Hr)));return d&&r(o,function(h){return o.add(null,h)}),this},e.revert=function(n){this.kill(n||{})}
vendor: 15,950 bytes, line 1
1,e.kill=function(n){this.contexts.forEach(function(r){return r.kill(n,!0)})},s})(),Gn={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(r){return ro(r)})},timeline:function(e){return new Ae(e)},getTweensOf:function(e,t){return le.getTweensOf(e,t)},getProperty:function(e,t,n,r){ye(e)&&(e=Qe(e)[0]);var i=Dt(e||{}).get,o=n?qi:Wi;return n==="native"&&(n=""),e&&(t?o((We[t]&&We[t].get||i)(e,t,n,r)):function(a,c,u){return o((We[a]&&We[a].get||i)(e,a,c,u))})},quickSetter:function(e,t,n){if(e=Qe(e),e.length>1){var r=e.map(function(d){return Fe.quickSetter(d,t,n)}),i=r.length;return function(d){for(var h=i;h--;)r[h](d)}}e=e[0]||{};var o=We[t],a=Dt(e),c=a.harness&&(a.harness.aliases||{})[t]||t,u=o?function(d){var h=new o;Gt._pt=0,h.init(e,n?d+n:d,Gt,0,[e]),h.render(1,h),Gt._pt&&Cs(1,Gt)}:a.set(e,c);return o?u:function(d){return u(e,c,n?d+n:d,a,1)}},quickTo:function(e,t,n){var r,i=Fe.to(e,Xe((r={},r[t]="+=0.1",r.paused=!0,r.stagger=0,r),n||{})),o=function(c,u,d){return i.resetTo(t,c,u,d)};return o.tween=i,o},isTweening:function(e){return le.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=zt(e.ease,wn.ease)),Zs(wn,e||{})},config:function(e){return Zs(Ge,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,o=e.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!We[a]&&!Ye[a]&&jn(t+" effect requires "+a+" plugin.")}),hr[t]=function(a,c,u){return n(Qe(a),Xe(c||{},i),u)},o&&(Ae.prototype[t]=function(a,c,u){return this.add(hr[t](a,ut(c)?c:(u=c)&&{},this),u)})},registerEase:function(e,t){X[e]=zt(t)},parseEase:function(e,t){return arguments.length?zt(e,t):X},getById:function(e){return le.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new Ae(e),r,i;for(n.smoothChildTiming=Oe(e.smoothChildTiming),le.remove(n),n._dp=0,n._time=n._tTime=le._time,r=le._first;r;)i=r._next,(t||!(!r._dur&&r instanceof xe&&r.vars.onComplete===r._targets[0]))&&lt(n,r,r._start-r._delay),r=i;return lt(le,n,0),n},context:function(e,t){return e?new xo(e,t):ie},matchMedia:function(e){return new uc(e)},matchMediaRefresh:function(){return Ft.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||Hr()},addEventListener:function(e,t){var n=Bn[e]||(Bn[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Bn[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:$l,wrapYoyo:Vl,distribute:Ki,random:Qi,snap:Ji,normalize:Bl,getUnit:je,clamp:Dl,splitColor:so,toArray:Qe,selector:Vr,mapRange:to,pipe:zl,unitize:Fl,interpolate:Wl,shuffle:Zi},install:zi,effects:hr,ticker:qe,updateRoot:Ae.updateRoot,plugins:We,globalTimeline:le,core:{PropTween:Ie,globals:Fi,Tween:xe,Timeline:Ae,Animation:Nn,getCache:Dt,_removeLinkedListItem:or,reverting:function(){return we},context:function(e){return e&&ie&&(ie.data.push(e),e._ctx=ie),ie},suppressOverwrites:function(e){return ds=e}}};De("to,from,fromTo,delayedCall,set,killTweensOf",function(s){return Gn[s]=xe[s]});qe.add(Ae.updateRoot);Gt=Gn.to({},{duration:0});var dc=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},fc=function(e,t){var n=e._targets,r,i,o;for(r in t)for(i=n.length;i--;)o=e._ptLookup[i][r],o&&(o=o.d)&&(o._pt&&(o=dc(o,r)),o&&o.modifier&&o.modifier(t[r],e,n[i],r))},vr=function(e,t){return{name:e,headless:1,rawVars:1,init:function(r,i,o){o._onInit=function(a){var c,u;if(ye(i)&&(c={},De(i,function(d){return c[d]=1}),i=c),t){c={};for(u in i)c[u]=t(i[u]);i=c}fc(a,i)}}}},Fe=Gn.registerPlugin({name:"attr",init:function(e,t,n,r,i){var o,a,c;this.tween=n;for(o in t)c=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(c||0)+"",t[o],r,i,0,0,o),a.op=o,a.b=c,this._props.push(o)},render:function(e,t){for(var n=t._pt;n;)we?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},vr("roundProps",Wr),vr("modifiers"),vr("snap",Ji))||Gn;xe.version=Ae.version=Fe.version="3.15.0";Ii=1;hs()&&nn();X.Power0;X.Power1;X.Power2;X.Power3;X.Power4;X.Linear;X.Quad;X.Cubic;X.Quart;X.Quint;X.Strong;X.Elastic;X.Back;X.SteppedEase;X.Bounce;X.Sine;X.Expo;X.Circ;var ni,yt,Zt,Ts,Lt,ri,Ss,hc=function(){return typeof window<"u"},xt={},At=180/Math.PI,Kt=Math.PI/180,qt=Math.atan2,si=1e8,Ns=/([A-Z])/g,pc=/(left|right|width|margin|padding|x)/i,mc=/[\s,\(]\S/,ct={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ur=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},gc=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},xc=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},vc=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},bc=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},vo=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},bo=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},yc=function(e,t,n){return e.style[t]=n},_c=function(e,t,n){return e.style.setProperty(t,n)},wc=function(e,t,n){return e._gsap[t]=n},jc=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Cc=function(e,t,n,r,i){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(i,o)},Tc=function(e,t,n,r,i){var o=e._gsap;o[t]=n,o.renderTransform(i,o)},ue="transform",ze=ue+"Origin",Sc=function s(e,t){var n=this,r=this.target,i=r.style,o=r._gsap;if(e in xt&&i){if(this.tfm=this.tfm||{},e!=="transform")e=ct[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return n.tfm[a]=pt(r,a)}):this.tfm[e]=o.x?o[e]:pt(r,e),e===ze&&(this.tfm.zOrigin=o.zOrigin);else return ct.transform.split(",").forEach(function(a){return s.call(n,a,t)});if(this.props.indexOf(ue)>=0)return;o.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(ze,t,"")),e=ue}(i||t)&&this.props.push(e,t,i[e])},yo=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Nc=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,o;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Ns,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)r[o]=this.tfm[o];r.svg&&(r.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=Ss(),(!i||!i.isStart)&&!n[ue]&&(yo(n),r.zOrigin&&n[ze]&&(n[ze]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},_o=function(e,t){var n={target:e,props:[],revert:Nc,save:Sc};return e._gsap||Fe.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(r){return n.save(r)}),n},wo,Gr=function(e,t){var n=yt.createElementNS?yt.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):yt.createElement(e);return n&&n.style?n:yt.createElement(e)},Ue=function s(e,t,n){var r=getComputedStyle(e);return r[t]||r.getPropertyValue(t.replace(Ns,"-$1").toLowerCase())||r.getPropertyValue(t)||!n&&s(e,rn(t)||t,1)||""},ii="O,Moz,ms,Ms,Webkit".split(","),rn=function(e,t,n){var r=t||Lt,i=r.style,o=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(ii[o]+e in i););return o<0?null:(o===3?"ms":o>=0?ii[o]:"")+e},Yr=function(){hc()&&window.document&&(ni=window,yt=ni.document,Zt=yt.documentElement,Lt=Gr("div")||{style:{}},Gr("div"),ue=rn(ue),ze=ue+"Origin",Lt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",wo=!!rn("perspective"),Ss=Fe.core.reverting,Ts=1)},oi=function(e){var t=e.ownerSVGElement,n=Gr("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=e.cloneNode(!0),i;r.style.display="block",n.appendChild(r),Zt.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),Zt.removeChild(n),i},ai=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},jo=function(e){var t,n;try{t=e.getBBox()}catch{t=oi(e),n=1}return t&&(t.width||t.height)||n||(t=oi(e)),t&&!t.width&&!t.x&&!t.y?{x:+ai(e,["x","cx","x1"])||0,y:+ai(e,["y","cy","y1"])||0,width:0,height:0}:t},Co=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&jo(e))},St=function(e,t){if(t){var n=e.style,r;t in xt&&t!==ze&&(t=ue),n.removeProperty?(r=t.substr(0,2),(r==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),n.removeProperty(r==="--"?t:t.replace(Ns,"-$1").toLowerCase())):n.removeAttribute(t)}},_t=function(e,t,n,r,i,o){var a=new Ie(e._pt,t,n,0,1,o?bo:vo);return e._pt=a,a.b=r,a.e=i,e._props.push(n),a},li={deg:1,rad:1,turn:1},Mc={grid:1,flex:1},Nt=function s(e,t,n,r){var i=parseFloat(n)||0,o=(n+"").trim().substr((i+"").length)||"px",a=Lt.style,c=pc.test(t),u=e.tagName.toLowerCase()==="svg",d=(u?"client":"offset")+(c?"Width":"Height"),h=100,p=r==="px",m=r==="%",g,f,x,v;if(r===o||!i||li[r]||li[o])return i;if(o!=="px"&&!p&&(i=s(e,t,n,"px")),v=e.getCTM&&Co(e),(m||o==="%")&&(xt[t]||~t.indexOf("adius")))return g=v?e.getBBox()[c?"width":"height"]:e[d],ge(m?i/g*h:i/100*g);if(a[c?"width":"height"]=h+(p?o:r),f=r!=="rem"&&~t.indexOf("adius")||r==="em"&&e.appendChild&&!u?e:e.parentNode,v&&(f=(e.ownerSVGElement||{}).parentNode),(!f||f===yt||!f.appendChild)&&(f=yt.body),x=f._gsap,x&&m&&x.width&&c&&x.time===qe.time&&!x.uncache)return ge(i/x.width*h);if(m&&(t==="height"||t==="width")){var y=e.style[t];e.style[t]=h+r,g=e[d],y?e.style[t]=y:St(e,t)}else(m||o==="%")&&!Mc[Ue(f,"display")]&&(a.position=Ue(e,"position")),f===e&&(a.position="static"),f.appendChild(Lt),g=Lt[d],f.removeChild(Lt),a.position="absolute";return c&&m&&(x=Dt(f),x.time=qe.time,x.width=f[d]),ge(p?g*i/h:g&&i?h/g*i:0)},pt=function(e,t,n,r){var i;return Ts||Yr(),t in ct&&t!=="transform"&&(t=ct[t],~t.indexOf(",")&&(t=t.split(",")[0])),xt[t]&&t!=="transform"?(i=kn(e,r),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Xn(Ue(e,ze))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||r||~(i+"").indexOf("calc("))&&(i=Yn[t]&&Yn[t](e,t,n)||Ue(e,t)||$i(e,t)||(t==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?Nt(e,t,i,n)+n:i},kc=function(e,t,n,r){if(!n||n==="none"){var i=rn(t,e,1),o=i&&Ue(e,i,1);o&&o!==n?(t=i,n=o):t==="borderColor"&&(n=Ue(e,"borderTopColor"))}var a=new Ie(this._pt,e.style,t,0,1,mo),c=0,u=0,d,h,p,m,g,f,x,v,y,b,j,w;if(a.b=n,a.e=r,n+="",r+="",r.substring(0,6)==="var(--"&&(r=Ue(e,r.substring(4,r.indexOf(")")))),r==="auto"&&(f=e.style[t],e.style[t]=r,r=Ue(e,t)||r,f?e.style[t]=f:St(e,t)),d=[n,r],oo(d),n=d[0],r=d[1],p=n.match(Ut)||[],w=r.match(Ut)||[],w.length){for(;h=Ut.exec(r);)x=h[0],y=r.substring(c,h.index),g?g=(g+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(g=1),x!==(f=p[u++]||"")&&(m=parseFloat(f)||0,j=f.substr((m+"").length),x.charAt(1)==="="&&(x=Xt(m,x)+j),v=parseFloat(x),b=x.substr((v+"").length),c=Ut.lastIndex-b.length,b||(b=b||Ge.units[t]||j,c===r.length&&(r+=b,a.e+=b)),j!==b&&(m=Nt(e,t,f,b)||0),a._pt={_next:a._pt,p:y||u===1?y:",",s:m,c:v-m,m:g&&g<4||t==="zIndex"?Math.round:0});a.c=c<r.length?r.substring(c,r.length):""}else a.r=t==="display"&&r==="none"?bo:vo;return Di.test(r)&&(a.e=0),this._pt=a,a},ci={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ec=function(e){var t=e.split(" "),n=t[0],r=t[1]||"50%";return(n==="top"||n==="bottom"||r==="left"||r==="right")&&(e=n,n=r,r=e),t[0]=ci[n]||n,t[1]=ci[r]||r,t.join(" ")},Rc=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,i=t.u,o=n._gsap,a,c,u;if(i==="all"||i===!0)r.cssText="",c=1;else for(i=i.split(","),u=i.length;--u>-1;)a=i[u],xt[a]&&(c=1,a=a==="transformOrigin"?ze:ue),St(n,a);c&&(St(n,ue),o&&(o.svg&&n.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",kn(n,1),o.uncache=1,yo(r)))}},Yn={clearProps:function(e,t,n,r,i){if(i.data!=="isFromStart"){var o=e._pt=new Ie(e._pt,t,n,0,0,Rc);return o.u=r,o.pr=-10,o.tween=i,e._props.push(n),1}}},Mn=[1,0,0,1,0,0],To={},So=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},ui=function(e){var t=Ue(e,ue);return So(t)?Mn:t.substr(7).match(Oi).map(ge)},Ms=function(e,t){var n=e._gsap||Dt(e),r=e.style,i=ui(e),o,a,c,u;return n.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?Mn:i):(i===Mn&&!e.offsetParent&&e!==Zt&&!n.svg&&(c=r.display,r.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,Zt.appendChild(e)),i=ui(e),c?r.display=c:St(e,"display"),u&&(a?o.insertBefore(e,a):o?o.appendChild(e):Zt.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Xr=function(e,t,n,r,i,o){var a=e._gsap,c=i||Ms(e,!0),u=a.xOrigin||0,d=a.yOrigin||0,h=a.xOffset||0,p=a.yOffset||0,m=c[0],g=c[1],f=c[2],x=c[3],v=c[4],y=c[5],b=t.split(" "),j=parseFloat(b[0])||0,w=parseFloat(b[1])||0,k,N,S,M;n?c!==Mn&&(N=m*x-g*f)&&(S=j*(x/N)+w*(-f/N)+(f*y-x*v)/N,M=j*(-g/N)+w*(m/N)-(m*y-g*v)/N,j=S,w=M):(k=jo(e),j=k.x+(~b[0].indexOf("%")?j/100*k.width:j),w=k.y+(~(b[1]||b[0]).indexOf("%")?w/100*k.height:w)),r||r!==!1&&a.smooth?(v=j-u,y=w-d,a.xOffset=h+(v*m+y*f)-v,a.yOffset=p+(v*g+y*x)-y):a.xOffset=a.yOffset=0,a.xOrigin=j,a.yOrigin=w,a.smooth=!!r,a.origin=t,a.originIsAbsolute=!!n,e.style[ze]="0px 0px",o&&(_t(o,a,"xOrigin",u,j),_t(o,a,"yOrigin",d,w),_t(o,a,"xOffset",h,a.xOffset),_t(o,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",j+" "+w)},kn=function(e,t){var n=e._gsap||new lo(e);if("x"in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,o="px",a="deg",c=getComputedStyle(e),u=Ue(e,ze)||"0",d,h,p,m,g,f,x,v,y,b,j,w,k,N,S,M,T,C,R,A,E,L,O,F,z,D,I,P,$,W,V,U;return d=h=p=f=x=v=y=b=j=0,m=g=1,n.svg=!!(e.getCTM&&Co(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(r[ue]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[ue]!=="none"?c[ue]:"")),r.scale=r.rotate=r.translate="none"),N=Ms(e,n.svg),n.svg&&(n.uncache?(z=e.getBBox(),u=n.xOrigin-z.x+"px "+(n.yOrigin-z.y)+"px",F=""):F=!t&&e.getAttribute("data-svg-origin"),Xr(e,F||u,!!F||n.originIsAbsolute,n.smooth!==!1,N)),w=n.xOrigin||0,k=n.yOrigin||0,N!==Mn&&(C=N[0],R=N[1],A=N[2],E=N[3],d=L=N[4],h=O=N[5],N.length===6?(m=Math.sqrt(C*C+R*R),g=Math.sqrt(E*E+A*A),f=C||R?qt(R,C)*At:0,y=A||E?qt(A,E)*At+f:0,y&&(g*=Math.abs(Math.cos(y*Kt))),n.svg&&(d-=w-(w*C+k*A),h-=k-(w*R+k*E))):(U=N[6],W=N[7],I=N[8],P=N[9],$=N[10],V=N[11],d=N[12],h=N[13],p=N[14],S=qt(U,$),x=S*At,S&&(M=Math.cos(-S),T=Math.sin(-S),F=L*M+I*T,z=O*M+P*T,D=U*M+$*T,I=L*-T+I*M,P=O*-T+P*M,$=U*-T+$*M,V=W*-T+V*M,L=F,O=z,U=D),S=qt(-A,$),v=S*At,S&&(M=Math.cos(-S),T=Math.sin(-S),F=C*M-I*T,z=R*M-P*T,D=A*M-$*T,V=E*T+V*M,C=F,R=z,A=D),S=qt(R,C),f=S*At,S&&(M=Math.cos(S),T=Math.sin(S),F=C*M+R*T,z=L*M+O*T,R=R*M-C*T,O=O*M-L*T,C=F,L=z),x&&Math.abs(x)+Math.abs(f)>359.9&&(x=f=0,v=180-v),m=ge(Math.sqrt(C*C+R*R+A*A)),g=ge(Math.sqrt(O*O+U*U)),S=qt(L,O),y=Math.abs(S)>2e-4?S*At:0,j=V?1/(V<0?-V:V):0),n.svg&&(F=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!So(Ue(e,ue)),F&&e.setAttribute("transform",F))),Math.abs(y)>90&&Math.abs(y)<270&&(i?(m*=-1,y+=f<=0?180:-180,f+=f<=0?180:-180):(g*=-1,y+=y<=0?180:-180)),t=t||n.uncache,n.x=d-((n.xPercent=d&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-d)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+o,n.y=h-((n.yPercent=h&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+o,n.z=p+o,n.scaleX=ge(m),n.scaleY=ge(g),n.rotation=ge(f)+a,n.rotationX=ge(x)+a,n.rotationY=ge(v)+a,n.skewX=y+a,n.skewY=b+a,n.transformPerspective=j+o,(n.zOrigin=parseFloat(u.split(" ")[2])||!t&&n.zOrigin||0)&&(r[ze]=Xn(u)),n.xOffset=n.yOffset=0,n.force3D=Ge.force3D,n.renderTransform=n.svg?Lc:wo?No:Ac,n.uncache=0,n},Xn=function(e){return(e=e.split(" "))[0]+" "+e[1]},br=function(e,t,n){var r=je(t);return ge(parseFloat(t)+parseFloat(Nt(e,"x",n+"px",r)))+r},Ac=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,No(e,t)}
vendor: 7,599 bytes, line 1
1,kt="0deg",sn="0px",Et=") ",No=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,o=n.x,a=n.y,c=n.z,u=n.rotation,d=n.rotationY,h=n.rotationX,p=n.skewX,m=n.skewY,g=n.scaleX,f=n.scaleY,x=n.transformPerspective,v=n.force3D,y=n.target,b=n.zOrigin,j="",w=v==="auto"&&e&&e!==1||v===!0;if(b&&(h!==kt||d!==kt)){var k=parseFloat(d)*Kt,N=Math.sin(k),S=Math.cos(k),M;k=parseFloat(h)*Kt,M=Math.cos(k),o=br(y,o,N*M*-b),a=br(y,a,-Math.sin(k)*-b),c=br(y,c,S*M*-b+b)}x!==sn&&(j+="perspective("+x+Et),(r||i)&&(j+="translate("+r+"%, "+i+"%) "),(w||o!==sn||a!==sn||c!==sn)&&(j+=c!==sn||w?"translate3d("+o+", "+a+", "+c+") ":"translate("+o+", "+a+Et),u!==kt&&(j+="rotate("+u+Et),d!==kt&&(j+="rotateY("+d+Et),h!==kt&&(j+="rotateX("+h+Et),(p!==kt||m!==kt)&&(j+="skew("+p+", "+m+Et),(g!==1||f!==1)&&(j+="scale("+g+", "+f+Et),y.style[ue]=j||"translate(0, 0)"},Lc=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,o=n.x,a=n.y,c=n.rotation,u=n.skewX,d=n.skewY,h=n.scaleX,p=n.scaleY,m=n.target,g=n.xOrigin,f=n.yOrigin,x=n.xOffset,v=n.yOffset,y=n.forceCSS,b=parseFloat(o),j=parseFloat(a),w,k,N,S,M;c=parseFloat(c),u=parseFloat(u),d=parseFloat(d),d&&(d=parseFloat(d),u+=d,c+=d),c||u?(c*=Kt,u*=Kt,w=Math.cos(c)*h,k=Math.sin(c)*h,N=Math.sin(c-u)*-p,S=Math.cos(c-u)*p,u&&(d*=Kt,M=Math.tan(u-d),M=Math.sqrt(1+M*M),N*=M,S*=M,d&&(M=Math.tan(d),M=Math.sqrt(1+M*M),w*=M,k*=M)),w=ge(w),k=ge(k),N=ge(N),S=ge(S)):(w=h,S=p,k=N=0),(b&&!~(o+"").indexOf("px")||j&&!~(a+"").indexOf("px"))&&(b=Nt(m,"x",o,"px"),j=Nt(m,"y",a,"px")),(g||f||x||v)&&(b=ge(b+g-(g*w+f*N)+x),j=ge(j+f-(g*k+f*S)+v)),(r||i)&&(M=m.getBBox(),b=ge(b+r/100*M.width),j=ge(j+i/100*M.height)),M="matrix("+w+","+k+","+N+","+S+","+b+","+j+")",m.setAttribute("transform",M),y&&(m.style[ue]=M)},Pc=function(e,t,n,r,i){var o=360,a=ye(i),c=parseFloat(i)*(a&&~i.indexOf("rad")?At:1),u=c-r,d=r+u+"deg",h,p;return a&&(h=i.split("_")[1],h==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),h==="cw"&&u<0?u=(u+o*si)%o-~~(u/o)*o:h==="ccw"&&u>0&&(u=(u-o*si)%o-~~(u/o)*o)),e._pt=p=new Ie(e._pt,t,n,r,u,gc),p.e=d,p.u="deg",e._props.push(n),p},di=function(e,t){for(var n in t)e[n]=t[n];return e},Oc=function(e,t,n){var r=di({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",o=n.style,a,c,u,d,h,p,m,g;r.svg?(u=n.getAttribute("transform"),n.setAttribute("transform",""),o[ue]=t,a=kn(n,1),St(n,ue),n.setAttribute("transform",u)):(u=getComputedStyle(n)[ue],o[ue]=t,a=kn(n,1),o[ue]=u);for(c in xt)u=r[c],d=a[c],u!==d&&i.indexOf(c)<0&&(m=je(u),g=je(d),h=m!==g?Nt(n,c,u,g):parseFloat(u),p=parseFloat(d),e._pt=new Ie(e._pt,a,c,h,p-h,Ur),e._pt.u=g||0,e._props.push(c));di(a,r)};De("padding,margin,Width,Radius",function(s,e){var t="Top",n="Right",r="Bottom",i="Left",o=(e<3?[t,n,r,i]:[t+i,t+n,r+n,r+i]).map(function(a){return e<2?s+a:"border"+a+s});Yn[e>1?"border"+s:s]=function(a,c,u,d,h){var p,m;if(arguments.length<4)return p=o.map(function(g){return pt(a,g,u)}),m=p.join(" "),m.split(p[0]).length===5?p[0]:m;p=(d+"").split(" "),m={},o.forEach(function(g,f){return m[g]=p[f]=p[f]||p[(f-1)/2|0]}),a.init(c,m,h)}});var Mo={name:"css",register:Yr,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var o=this._props,a=e.style,c=n.vars.startAt,u,d,h,p,m,g,f,x,v,y,b,j,w,k,N,S,M;Ts||Yr(),this.styles=this.styles||_o(e),S=this.styles.props,this.tween=n;for(f in t)if(f!=="autoRound"&&(d=t[f],!(We[f]&&co(f,t,n,r,e,i)))){if(m=typeof d,g=Yn[f],m==="function"&&(d=d.call(n,r,e,i),m=typeof d),m==="string"&&~d.indexOf("random(")&&(d=Tn(d)),g)g(this,e,f,d,n)&&(N=1);else if(f.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(f)+"").trim(),d+="",Ct.lastIndex=0,Ct.test(u)||(x=je(u),v=je(d),v?x!==v&&(u=Nt(e,f,u,v)+v):x&&(d+=x)),this.add(a,"setProperty",u,d,r,i,0,0,f),o.push(f),S.push(f,0,a[f]);else if(m!=="undefined"){if(c&&f in c?(u=typeof c[f]=="function"?c[f].call(n,r,e,i):c[f],ye(u)&&~u.indexOf("random(")&&(u=Tn(u)),je(u+"")||u==="auto"||(u+=Ge.units[f]||je(pt(e,f))||""),(u+"").charAt(1)==="="&&(u=pt(e,f))):u=pt(e,f),p=parseFloat(u),y=m==="string"&&d.charAt(1)==="="&&d.substr(0,2),y&&(d=d.substr(2)),h=parseFloat(d),f in ct&&(f==="autoAlpha"&&(p===1&&pt(e,"visibility")==="hidden"&&h&&(p=0),S.push("visibility",0,a.visibility),_t(this,a,"visibility",p?"inherit":"hidden",h?"inherit":"hidden",!h)),f!=="scale"&&f!=="transform"&&(f=ct[f],~f.indexOf(",")&&(f=f.split(",")[0]))),b=f in xt,b){if(this.styles.save(f),M=d,m==="string"&&d.substring(0,6)==="var(--"){if(d=Ue(e,d.substring(4,d.indexOf(")"))),d.substring(0,5)==="calc("){var T=e.style.perspective;e.style.perspective=d,d=Ue(e,"perspective"),T?e.style.perspective=T:St(e,"perspective")}h=parseFloat(d)}if(j||(w=e._gsap,w.renderTransform&&!t.parseTransform||kn(e,t.parseTransform),k=t.smoothOrigin!==!1&&w.smooth,j=this._pt=new Ie(this._pt,a,ue,0,1,w.renderTransform,w,0,-1),j.dep=1),f==="scale")this._pt=new Ie(this._pt,w,"scaleY",w.scaleY,(y?Xt(w.scaleY,y+h):h)-w.scaleY||0,Ur),this._pt.u=0,o.push("scaleY",f),f+="X";else if(f==="transformOrigin"){S.push(ze,0,a[ze]),d=Ec(d),w.svg?Xr(e,d,0,k,0,this):(v=parseFloat(d.split(" ")[2])||0,v!==w.zOrigin&&_t(this,w,"zOrigin",w.zOrigin,v),_t(this,a,f,Xn(u),Xn(d)));continue}else if(f==="svgOrigin"){Xr(e,d,1,k,0,this);continue}else if(f in To){Pc(this,w,f,p,y?Xt(p,y+d):d);continue}else if(f==="smoothOrigin"){_t(this,w,"smooth",w.smooth,d);continue}else if(f==="force3D"){w[f]=d;continue}else if(f==="transform"){Oc(this,d,e);continue}}else f in a||(f=rn(f)||f);if(b||(h||h===0)&&(p||p===0)&&!mc.test(d)&&f in a)x=(u+"").substr((p+"").length),h||(h=0),v=je(d)||(f in Ge.units?Ge.units[f]:x),x!==v&&(p=Nt(e,f,u,v)),this._pt=new Ie(this._pt,b?w:a,f,p,(y?Xt(p,y+h):h)-p,!b&&(v==="px"||f==="zIndex")&&t.autoRound!==!1?bc:Ur),this._pt.u=v||0,b&&M!==d?(this._pt.b=u,this._pt.e=M,this._pt.r=vc):x!==v&&v!=="%"&&(this._pt.b=u,this._pt.r=xc);else if(f in a)kc.call(this,e,f,u,y?y+d:d);else if(f in e)this.add(e,f,u||e[f],y?y+d:d,r,i);else if(f!=="parseTransform"){ms(f,d);continue}b||(f in a?S.push(f,0,a[f]):typeof e[f]=="function"?S.push(f,2,e[f]()):S.push(f,1,u||e[f])),o.push(f)}}N&&go(this)},render:function(e,t){if(t.tween._time||!Ss())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:pt,aliases:ct,getSetter:function(e,t,n){var r=ct[t];return r&&r.indexOf(",")<0&&(t=r),t in xt&&t!==ze&&(e._gsap.x||pt(e,"x"))?n&&ri===n?t==="scale"?jc:wc:(ri=n||{})&&(t==="scale"?Cc:Tc):e.style&&!fs(e.style[t])?yc:~t.indexOf("-")?_c:js(e,t)},core:{_removeProperty:St,_getMatrix:Ms}};Fe.utils.checkPrefix=rn;Fe.core.getStyleSaver=_o;(function(s,e,t,n){var r=De(s+","+e+","+t,function(i){xt[i]=1});De(e,function(i){Ge.units[i]="deg",To[i]=1}),ct[r[13]]=s+","+e,De(n,function(i){var o=i.split(":");ct[o[1]]=r[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");De("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(s){Ge.units[s]="px"});Fe.registerPlugin(Mo);var ve=Fe.registerPlugin(Mo)||Fe;ve.core.Tween;const Dc=s=>s?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();function Ic(s,e,t=[]){if(e==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:Dc(s),size:24,node:e,...t.length>0?{aliases:t}:{}}}const zc=s=>{let e="",t=!1;for(const n of s){if(n==="-"||n==="_"||n<=" "){t=e.length>0;continue}e.length===0?e+=n.toLowerCase():e+=t?n.toUpperCase():n,t=!1}return e};const Fc=s=>{const e=zc(s);return e.charAt(0).toUpperCase()+e.slice(1)};const Zr=(...s)=>
1s.filter((e,t,n)=>!!e&&e.trim()!==""&&n.indexOf(e)===t).join(" ").trim();const Rt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function yr(s){return s!=null}function Bc(s,e={}){const t=e.attributeNames??{},n=p=>t[p]??p,r=s.size??s.width??Rt.width,i=s.size??s.height??Rt.height,o=s.aliases?.filter(p=>typeof p=="string"&&p.trim()!=="").map(p=>`lucide-${p}`)??[],a=[...s.name?[`lucide-${s.name}`]:[],...o],c=e.className?.split(" ").filter(Boolean)??[],u=e.includeDefaultClasses===!1?Zr(...c):Zr("lucide",...a,...c),d=e.absoluteStrokeWidth?Number(e.strokeWidth??Rt["stroke-width"])*Number(s.size??s.width??Rt.width)/Number(e.size??e.width??Rt.width):e.strokeWidth??Rt["stroke-width"];return["svg",{...Object.entries(Rt).reduce((p,[m,g])=>(p[n(m)]=g,p),{}),..."color"in e&&e.color&&{[n("stroke")]:e.color},..."size"in e&&yr(e.size)&&{[n("width")]:e.size,[n("height")]:e.size},..."width"in e&&yr(e.width)&&{[n("width")]:e.width},..."height"in e&&yr(e.height)&&{[n("height")]:e.height},[n("stroke-width")]:d,...u&&{[n("class")]:u}
1,[n("viewBox")]:`0 0 ${r} ${i}`,...e.hasA11yProp===!1?{[n("aria-hidden")]:"true"}:{},..."attributes"in e&&e.attributes},s.node.map(p=>{const[m,g,f]=p,x=e.nonScalingStroke?{[n("vector-effect")]:"non-scaling-stroke",...g}:g;return f?[m,x,f]:[m,x]})]}function $c(s,e={}){return Bc(s,{...e,attributeNames:{...e.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}const Vc=s=>{for(const e in s)if(e.startsWith("aria-")||e==="role"||e==="title")return!0;return!1},Wc=_.createContext({}),qc=()=>_.useContext(Wc),Hc=_.forwardRef(({color:s,size:e,width:t,height:n,strokeWidth:r,absoluteStrokeWidth:i,nonScalingStroke:o,className:a="",children:c,iconNode:u=[],icon:d={node:u,aliases:[],size:24},...h},p)=>{const{size:m=24,strokeWidth:g=2,absoluteStrokeWidth:f=!1,nonScalingStroke:x=!1,color:v="currentColor",className:y=""}=qc()??{},b=!!c||Vc(h),[j,w,k=[]]=$c(d,{color:s??v,width:t??e??m,height:n??e??m,strokeWidth:r??g,absoluteStrokeWidth:i??f,nonScalingStroke:o??x,className:Zr(y,a),hasA11yProp:b,attributes:h});return _.createElement(j,{ref:p,...w},[...k.map(([N,S])=>_.createElement(N,S)),...Array.isArray(c)?c:[c]])});function ks(s,e=[],t=[]){const n=typeof s=="string"?Ic(s,e,t):s,r=_.forwardRef(({className:i,...o},a)=>_.createElement(Hc,{ref:a,icon:n,className:i,...o}));return n.name&&(r.displayName=Fc(n.name)),r}const ko={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};ko.node;const Uc=ks(ko);const Eo={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};Eo.node;const Gc=ks(Eo);const Ro={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};Ro.node;const Yc=ks(Ro);function Pt(s){const[e,t]=_.useState(!1);return _.useEffect(()=>{const n=window.matchMedia(s);n.matches!==e&&t(n.matches);const r=()=>t(n.matches);return n.addEventListener("change",r),()=>n.removeEventListener("change",r)},[e,s]),e}function Xc(s,e){let t=null;return(...n)=>{t&&clearTimeout(t),t=setTimeout(()=>{s(...n)},e)}}const Zc="#ffffff",fi=s=>{const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(s);return e?[parseInt(e[1],16)/255,parseInt(e[2],16)/255,parseInt(e[3],16)/255]:[1,1,1]},hi=(s,e,t)=>{switch(s){case"top-left":return{anchor:[0,-.2*t],dir:[0,1]};case"top-right":return{anchor:[e,-.2*t],dir:[0,1]};case"left":return{anchor:[-.2*e,.5*t],dir:[1,0]};case"right":return{anchor:[(1+.2)*e,.5*t],dir:[-1,0]};case"bottom-left":return{anchor:[0,(1+.2)*t],dir:[0,-1]};case"bottom-center":return{anchor:[.5*e,(1+.2)*t],dir:[0,-1]};case"bottom-right":return{anchor:[e,(1+.2)*t],dir:[0,-1]};default:return{anchor:[.5*e,-.2*t],dir:[0,1]}}},Kc=({raysOrigin:s="top-center",raysColor:e=Zc,raysSpeed:t=1,lightSpread:n=1,rayLength:r=2,pulsating:i=!1,fadeDistance:o=1,saturation:a=1,followMouse:c=!0,mouseInfluence:u=.1,noiseAmount:d=0,distortion:h=0,opacity:p=1,className:m=""})=>{const g=_.useRef(null),f=_.useRef(null),x=_.useRef(null),v=_.useRef({x:.5,y:.5}),y=_.useRef({x:.5,y:.5}),b=_.useRef(null),j=_.useRef(null),w=_.useRef(null),[k,N]=_.useState(!1),S=_.useRef(null);return _.useEffect(()=>{if(g.current)return S.current=new IntersectionObserver(M=>{const T=M[0];N(T.isIntersecting)},{threshold:.1}),S.current.observe(g.current),()=>{S.current&&(S.current.disconnect(),S.current=null)}},[]),_.useEffect(()=>!k||!g.current?void 0:(w.current&&(w.current(),w.current=null),(async()=>{if(!g.current||(await new Promise(I=>setTimeout(I,10)),!g.current))return;const T=new er({dpr:Math.min(window.devicePixelRatio,2),alpha:!0,premultipliedAlpha:!1});x.current=T;const C=T.gl;for(C.canvas.style.width="100%",C.canvas.style.height="100%",C.canvas.classList.add("light-rays-canvas");g.current.firstChild;)g.current.removeChild(g.current.firstChild);g.current.appendChild(C.canvas);const R=`
2attribute vec2 position;
3varying vec2 vUv;
4void main() {
5  vUv = position * 0.5 + 0.5;
6  gl_Position = vec4(position, 0.0, 1.0);
7}`,A=`precision highp float;
8
9uniform float iTime;
10uniform vec2  iResolution;
11
12uniform vec2  rayPos;
13uniform vec2  rayDir;
14uniform vec3  raysColor;
15uniform float raysSpeed;
16uniform float lightSpread;
17uniform float rayLength;
18uniform float pulsating;
19uniform float fadeDistance;
20uniform float saturation;
21uniform vec2  mousePos;
22uniform float mouseInfluence;
23uniform float noiseAmount;
24uniform float distortion;
25
26varying vec2 vUv;
27
28float noise(vec2 st) {
29  return fract(sin(dot(st.xy, vec2(12.9898,78.233))) * 43758.5453123);
30}
31
32float rayStrength(vec2 raySource, vec2 rayRefDirection, vec2 coord,
33                  float seedA, float seedB, float speed) {
34  vec2 sourceToCoord = coord - raySource;
35  vec2 dirNorm = normalize(sourceToCoord);
36  float cosAngle = dot(dirNorm, rayRefDirection);
37
38  float distortedAngle = cosAngle + distortion * sin(iTime * 2.0 + length(sourceToCoord) * 0.01) * 0.2;
39  
40  float spreadFactor = pow(max(distortedAngle, 0.0), 1.0 / max(lightSpread, 0.001));
41
42  float distance = length(sourceToCoord);
43  float maxDistance = iResolution.x * rayLength;
44  float lengthFalloff = clamp((maxDistance - distance) / maxDistance, 0.0, 1.0);
45  
46  float fadeFalloff = clamp((iResolution.x * fadeDistance - distance) / (iResolution.x * fadeDistance), 0.5, 1.0);
47  float pulse = pulsating > 0.5 ? (0.8 + 0.2 * sin(iTime * speed * 3.0)) : 1.0;
48
49  float baseStrength = clamp(
50    (0.45 + 0.15 * sin(distortedAngle * seedA + iTime * speed)) +
51    (0.3 + 0.2 * cos(-distortedAngle * seedB + iTime * speed)),
52    0.0, 1.0
53  );
54
55  return baseStrength * lengthFalloff * fadeFalloff * spreadFactor * pulse;
56}
57
58void mainImage(out vec4 fragColor, in vec2 fragCoord) {
59  vec2 coord = vec2(fragCoord.x, iResolution.y - fragCoord.y);
60  
61  vec2 finalRayDir = rayDir;
62  if (mouseInfluence > 0.0) {
63    vec2 mouseScreenPos = mousePos * iResolution.xy;
64    vec2 mouseDirection = normalize(mouseScreenPos - rayPos);
65    finalRayDir = normalize(mix(rayDir, mouseDirection, mouseInfluence));
66  }
67
68  vec4 rays1 = vec4(1.0) *
69               rayStrength(rayPos, finalRayDir, coord, 36.2214, 21.11349,
70                           1.5 * raysSpeed);
71  vec4 rays2 = vec4(1.0) *
72               rayStrength(rayPos, finalRayDir, coord, 22.3991, 18.0234,
73                           1.1 * raysSpeed);
74
75  float intensity = rays1.x * 0.5 + rays2.x * 0.4;
76
77  if (noiseAmount > 0.0) {
78    float n = noise(coord * 0.01 + iTime * 0.1);
79    intensity *= (1.0 - noiseAmount + noiseAmount * n);
80  }
81
82  vec3 col = vec3(intensity);
83
84  if (saturation != 1.0) {
85    float gray = dot(col, vec3(0.299, 0.587, 0.114));
86    col = mix(vec3(gray), col, saturation);
87  }
88
89  vec3 rayColLinear = pow(raysColor, vec3(2.2));
90  col *= rayColLinear;
91
92  // Boost intensity for visibility and output as premultiplied alpha
93  float alpha = clamp(intensity * 1.5, 0.0, 1.0);
94  fragColor = vec4(col * 1.8, alpha);
95}
96
97void main() {
98  vec4 color;
99  mainImage(color, gl_FragCoord.xy);
100  gl_FragColor  = color;
101}`,E={iTime:{value:0},iResolution:{value:[1,1]},rayPos:{value:[0,0]},rayDir:{value:[0,1]},raysColor:{value:fi(e)},raysSpeed:{value:t},lightSpread:{value:n},rayLength:{value:r},pulsating:{value:i?1:0},fadeDistance:{value:o},saturation:{value:a},mousePos:{value:[.5,.5]},mouseInfluence:{value:u},noiseAmount:{value:d},distortion:{value:h}};f.current=E;const L=new rs(C),O=new tr(C,{vertex:R,fragment:A,uniforms:E}),F=new nr(C,{geometry:L,program:O});j.current=F;const z=()=>{if(!g.current||!T)return;T.dpr=Math.min(window.devicePixelRatio,2);const{clientWidth:I,clientHeight:P}=g.current;T.setSize(I,P);const $=T.dpr,W=I*$,V=P*$;E.iResolution.value=[W,V];const{anchor:U,dir:de}=hi(s,W,V);E.rayPos.value=U,E.rayDir.value=de},D=I=>{if(!(!x.current||!f.current||!j.current)){E.iTime.value=I*.001,c&&u>0&&(y.current.x=y.current.x*.92+v.current.x*(1-.92),y.current.y=y.current.y*.92+v.current.y*(1-.92),E.mousePos.value=[y.current.x,y.current.y]);try{T.render({scene:F}),b.current=requestAnimationFrame(D)}catch(P){console.warn("WebGL rendering error:",P);return}}};window.addEventListener("resize",z),z(),b.current=requestAnimationFrame(D),w.current=()=>{if(b.current&&(cancelAnimationFrame(b.current),b.current=null),window.removeEventListener("resize",z),T)try{const I=T.gl.canvas,P=T.gl.getExtension("WEBGL_lose_context");P&&P.loseContext(),I&&I.parentNode&&I.parentNode.removeChild(I)}catch(I){console.warn("Error during WebGL cleanup:",I)}x.current=null,f.current=null,j.current=null}})(),()=>{w.current&&(w.current(),w.current=null)}),[k,s,e,t,n,r,i,o,a,c,u,d,h]),_.useEffect(()=>{if(!f.current||!g.current||!x.current)return;const M=f.current,T=x.current;M.raysColor.value=fi(e),M.raysSpeed.value=t,M.lightSpread.value=n,M.rayLength.value=r,M.pulsating.value=i?1:0,M.fadeDistance.value=o,M.saturation.value=a,M.mouseInfluence.value=u,M.noiseAmount.value=d,M.distortion.value=h;const{clientWidth:C,clientHeight:R}=g.current,A=T.dpr,{anchor:E,dir:L}=hi(s,C*A,R*A);M.rayPos.value=E,M.rayDir.value=L},[e,t,n,s,r,i,o,a,u,d,h]),_.useEffect(()=>{const M=T=>{if(!g.current||!x.current)return;const C=g.current.getBoundingClientRect(),R=(T.clientX-C.left)/C.width,A=(T.clientY-C.top)/C.height;v.current={x:R,y:A}};if(c)return window.addEventListener("mousemove",M),()=>window.removeEventListener("mousemove",M)},[c]),l.jsx("div",{ref:g,className:`w-full h-full pointer-events-none z-[3] overflow-hidden relative ${m}`.trim(),style:{opacity:p}})},Jc="_card_111p4_1",Qc="_cardContainer_111p4_4",eu="_hovered_111p4_4",tu="_cardContent_111p4_8",nu="_borderGlow_111p4_60",rt={card:Jc,cardContainer:Qc,hovered:eu,cardContent:tu,borderGlow:nu};function ru({className:s="",cards:e=[],containerHeight:t=350,duration:n=.4,enableHover:r=!1}){const i=Pt("(max-width: 1080px)"),[o,a]=us({loop:!0},[ls({delay:2500})]),[c,u]=_.useState(0),[d,h]=_.useState(0),[p,m]=_.useState(!1),[g,f]=_.useState(!1),x=["rotate(-5deg) translate(-600px)","rotate(0deg) translate(-400px)","rotate(5deg) translate(-200px)","rotate(-5deg)","rotate(0deg) translate(200px)","rotate(-5deg) translate(400px)","rotate(0deg) translate(600px)"],[v,y]=_.useState(null),[b,j]=_.useState(x),w=null,[k,N]=_.useState(w),S=_.useRef(null),M=_.useRef([]),T=_.useRef([]);_.useEffect(()=>{if(typeof window>"u")return;const z=()=>{const I=window.innerWidth;y(I);let P=300;I<1500?P=100:I<1200&&(P=200);const $=[],W=Math.floor(e.length/2),V=(I-P)/(e.length+1),U=[0,-5,5];e.forEach((de,fe)=>{const re=fe-W,_e=U[Math.abs(re)%U.length],se=re*V;$.push(`rotate(${_e}deg) translate(${se}px)`)}
101),j($)};z();const D=Xc(z,100);return window.addEventListener("resize",D),()=>window.removeEventListener("resize",D)},[]);const C=z=>/rotate\([\s\S]*?\)/.test(z)?z.replace(/rotate\([\s\S]*?\)/,"rotate(0deg)"):z==="none"?"rotate(0deg)":`${z} rotate(0deg)`,R=(z,D)=>{const I=/translate\(([-0-9.]+)px\)/,P=z.match(I);if(P){const W=parseFloat(P[1])+D;return z.replace(I,`translate(${W}px)`)}else return z==="none"?`translate(${D}px)`:`${z} translate(${D}px)`},A=z=>{r&&(N(z),e.forEach((D,I)=>{const P=`.card-${I}`;ve.killTweensOf(P);const $=b[I]||"none";if(I===z){const W=C($);ve.to(P,{transform:W,duration:n,ease:"back.out(1.4)",overwrite:"auto"});const V=M.current[z];S.current&&V&&(ve.killTweensOf(S.current),V.appendChild(S.current),ve.to(S.current,{opacity:.7,duration:n*.5,overwrite:"auto"}))}else{const W=I<z?-160:160,V=R($,W),de=Math.abs(z-I)*.05;ve.to(P,{transform:V,duration:n,ease:"back.out(1.4)",delay:de,overwrite:"auto"})}}))},E=()=>{r&&(N(w),S.current&&ve.to(S.current,{opacity:0,duration:n*.5,overwrite:"auto"}),e.forEach((z,D)=>{const I=`.card-${D}`;ve.killTweensOf(I);const P=b[D]||"none";ve.to(I,{transform:P,duration:n,ease:"back.out(1.4)",overwrite:"auto"})}))},L=()=>a&&a.scrollPrev(),O=()=>a&&a.scrollNext(),F=(z,D)=>{if(!a)return;const I=z.selectedScrollSnap();N(I);const P=T.current[I];S.current&&P&&(ve.killTweensOf(S.current),P.appendChild(S.current),ve.to(S.current,{opacity:.7,duration:n*.5,overwrite:"auto"})),m(a.canScrollPrev()),f(a.canScrollNext()),u(I),h(a.scrollSnapList().length)};return _.useEffect(()=>{a&&i&&(a.on("select",F),F(a))},[a,i]),l.jsxs("div",{className:`relative flex items-center justify-center ${s}`,style:{width:i?"100%":v??"100%",height:i?"100%":t},children:[!i&&e.map((z,D)=>l.jsx("div",{className:`${rt.card} card-${D} absolute w-[350px] aspect-square overflow-hidden text-center`,style:{transform:b[D]||"none"},onMouseEnter:()=>A(D),onMouseLeave:E,children:l.jsx(Z,{className:"flex w-full h-full",delay:D*.1,distance:100,duration:.4,children:l.jsx("div",{className:`${rt.borderGlow} flex w-full h-full rounded-[24px]`,children:l.jsxs("div",{className:`${rt.cardContainer} flex relative w-full h-full rounded-[24px] overflow-hidden`,children:[l.jsx("div",{ref:I=>{M.current[D]=I},className:"absolute inset-0 pointer-events-none"}),l.jsxs("div",{className:`flex flex-col justify-center w-full h-full text-white z-10 ${rt.cardContent}`,children:[l.jsx("div",{className:"w-[75px] h-[75px] aspect-square self-center mb-5 mt-5",children:z.icon}),l.jsx("h3",{className:"text-xl font-semibold mb-2",children:z.title}),l.jsx("p",{className:"opacity-80 text-sm font-mono leading-6 font-light",children:z.description})]})]})})})},D)),i&&l.jsxs("div",{className:"relative w-full h-full mx-auto",children:[l.jsx("div",{className:"overflow-hidden",ref:o,children:l.jsx("div",{className:"flex touch-pan-x",children:e.map((z,D)=>l.jsx("div",{className:"flex-none p-2 md:max-w-[460px] sm:max-w-[400px] max-w-[380px] w-full",children:l.jsx("div",{className:`${rt.card} ${k===D?rt.hovered:"opacity-60"} card-${D} 
102                    flex w-full aspect-square overflow-hidden text-center rounded-[24px] transition-opacity duration-300`,children:l.jsx("div",{className:`${rt.borderGlow} flex w-full h-full rounded-[24px]`,children:l.jsxs("div",{className:`${rt.cardContainer} flex relative w-full h-full rounded-[24px] overflow-hidden`,children:[l.jsx("div",{ref:I=>{T.current[D]=I},className:"absolute inset-0 pointer-events-none"}),l.jsxs("div",{className:`flex flex-col justify-center w-full h-full text-white z-10 
103                            ${rt.cardContent} ${k===D?rt.hovered:""} transition-opacity duration-300`,children:[l.jsx("div",{className:"w-[75px] h-[75px] aspect-square self-center mb-5 mt-5",children:z.icon}),l.jsx("h3",{className:"text-xl font-semibold mb-2",children:z.title}),l.jsx("p",{className:"opacity-80 text-sm font-mono leading-6 font-light",children:z.description})]})]})})})},D))})}),l.jsxs("div",{className:"flex justify-between items-center mt-4 px-8",children:[l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx("button",{onClick:L,disabled:!p,className:"border-1 border-white/20 rounded-full cursor-pointer hover:bg-white/10 transition-colors duration-300 disabled:cursor-not-allowed disabled:opacity-50",children:l.jsx(Gc,{
103className:"w-8 h-8 p-2",stroke:"currentColor"})}),l.jsx("button",{onClick:O,disabled:!g,className:"border-1 border-white/20 rounded-full cursor-pointer hover:bg-white/10 transition-colors duration-300 disabled:cursor-not-allowed disabled:opacity-50",children:l.jsx(Yc,{className:"w-8 h-8 p-2",stroke:"currentColor"})})]}),l.jsxs("div",{className:"font-mono text-sm opacity-50",children:[c+1," / ",d]})]})]}),l.jsx("div",{className:"hidden",children:l.jsx("div",{ref:S,className:"absolute inset-0 pointer-events-none rounded-[24px] overflow-hidden",style:{opacity:0},children:l.jsx(Kc,{raysOrigin:"top-right",raysColor:"#fff",raysSpeed:1.5,lightSpread:5,rayLength:4,followMouse:!0,mouseInfluence:.1,noiseAmount:.05,distortion:.05,opacity:.3})})})]})}const su=({text:s,as:e="div",typingSpeed:t=50,initialDelay:n=0,pauseDuration:r=2e3,deletingSpeed:i=30,loop:o=!0,className:a="",showCursor:c=!0,hideCursorWhileTyping:u=!1,cursorCharacter:d="|",cursorClassName:h="",cursorBlinkDuration:p=.5,textColors:m=[],variableSpeed:g,onSentenceComplete:f,startOnVisible:x=!1,reverseMode:v=!1,threshold:y=.5,...b})=>{const[j,w]=_.useState(""),[k,N]=_.useState(0),[S,M]=_.useState(!1),[T,C]=_.useState(0),[R,A]=_.useState(!x),E=_.useRef(null),L=_.useRef(null),O=_.useMemo(()=>Array.isArray(s)?s:[s],[s]),F=_.useCallback(()=>{if(!g)return t;const{min:I,max:P}=g;return Math.random()*(P-I)+I},[g,t]),z=()=>m.length===0?"inherit":m[T%m.length];_.useEffect(()=>{if(!x||!L.current)return;const I=new IntersectionObserver(P=>{P.forEach($=>{$.isIntersecting&&A(!0)})},{threshold:y});return I.observe(L.current),()=>I.disconnect()},[x]),_.useEffect(()=>{c&&E.current&&(ve.set(E.current,{opacity:1}),ve.to(E.current,{opacity:0,duration:p,repeat:-1,yoyo:!0,ease:"power2.inOut"}))},[c,p]),_.useEffect(()=>{if(!R)return;let I;const P=O[T],$=v?P.split("").reverse().join(""):P,W=()=>{if(S)if(j===""){if(M(!1),T===O.length-1&&!o)return;f&&f(O[T],T),C(V=>(V+1)%O.length),N(0),I=setTimeout(()=>{},r)}else I=setTimeout(()=>{w(V=>V.slice(0,-1))},i);else if(k<$.length)I=setTimeout(()=>{w(V=>V+$[k]),N(V=>V+1)},g?F():t);else if(O.length>=1){if(!o&&T===O.length-1)return;I=setTimeout(()=>{M(!0)},r)}};return k===0&&!S&&j===""?I=setTimeout(W,n):W(),()=>clearTimeout(I)},[k,j,S,t,i,r,O,T,o,n,R,v,g,f]);const D=u&&(k<O[T].length||S);return _.createElement(e,{ref:L,className:`inline-block whitespace-pre-wrap tracking-tight ${a}`,...b},l.jsx("span",{className:"inline",style:{color:z()||"inherit"},children:j}),c&&l.jsx("span",{ref:E,className:`ml-1 inline-block opacity-100 ${D?"hidden":""} ${h}`,children:d}))};function Le({children:s,typingSpeed:e}){return e??=typeof s=="string"?1e3/s.length:100,l.jsx("h4",{className:"font-mono text-xs uppercase tracking-widest opacity-70 mb-4 font-light",children:l.jsx(su,{text:`{ ${s} }`,typingSpeed:e,loop:!1,cursorCharacter:"_",startOnVisible:!0})})}const iu="/assets/adidas-D5Rq07Rs.png",ou="/assets/bmw-CVQ60n2c.png",au="/assets/capgemini-DSwiOPev.png",lu="/assets/decathlon-DajAu_yv.png",cu="/assets/gitlab-Hfo3COng.png",uu="/assets/ibm-B88ZD4Cq.png",du="/assets/mercedes-HjmbwDvJ.png",fu="/assets/roche-BQWAOcBV.png",hu="/assets/sanofi-BoTjmdvB.png",pu="/assets/societe-CkOG_fRs.png",Ht={SMOOTH_TAU:.25,MIN_COPIES:2,COPY_HEADROOM:2},_r=s=>typeof s=="number"?`${s}px`:s??void 0,Ze=(...s)=>s.filter(Boolean).join(" "),mu=(s,e,t)=>{_.useEffect(()=>{if(!window.ResizeObserver){const r=()=>s();return window.addEventListener("resize",r),s(),()=>window.removeEventListener("resize",r)}const n=e.map(r=>{if(!r.current)return null;const i=new ResizeObserver(s);return i.observe(r.current),i});return s(),()=>{n.forEach(r=>r?.disconnect())}},t)},gu=(s,e,t)=>{_.useEffect(()=>{const n=s.current?.querySelectorAll("img")??[];if(n.length===0){e();return}let r=n.length;const i=()=>{r-=1,r===0&&e()};return n.forEach(o=>{const a=o;a.complete?i():(a.addEventListener("load",i,{once:!0}),a.addEventListener("error",i,{once:!0}))}),()=>{n.forEach(o=>{o.removeEventListener("load",i),o.removeEventListener("error",i)})}},t)},xu=(s,e,t,n,r,i,o)=>{const a=_.useRef(null),c=_.useRef(null),u=_.useRef(0),d=_.useRef(0);_.useEffect(()=>{const h=s.current;if(!h)return;const p=typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=o?n:t;if(m>0){u.current=(u.current%m+m)%m;const f=o?`translate3d(0, ${-u.current}px, 0)`:`translate3d(${-u.current}px, 0, 0)`;h.style.transform=f}if(p)return h.style.transform="translate3d(0, 0, 0)",()=>{c.current=null};const g=f=>{c.current===null&&(c.current=f);const x=Math.max(0,f-c.current)/1e3;c.current=f;const v=r&&i!==void 0?i:e,y=1-Math.exp(-x/Ht.SMOOTH_TAU);if(d.current+=(v-d.current)*y,m>0){let b=u.current+d.current*x;b=(b%m+m)%m,u.current=b;const j=o?`translate3d(0, ${-u.current}px, 0)`:`translate3d(${-u.current}px, 0, 0)`;h.style.transform=j}a.current=requestAnimationFrame(g)};return a.current=requestAnimationFrame(g),()=>{a.current!==null&&(cancelAnimationFrame(a.current),a.current=null),c.current=null}},[e,t,n,r,i,o])},Ao=wa.memo(({logos:s,speed:e=120,direction:t="left",width:n="100%",logoHeight:r=10,gap:i=32,pauseOnHover:o,hoverSpeed:a,fadeOut:c=!1,fadeOutColor:u,scaleOnHover:d=!1,renderItem:h,ariaLabel:p="Brands",className:m,style:g})=>{const f=_.useRef(null),x=_.useRef(null),v=_.useRef(null),[y,b]=_.useState(0),[j,w]=_.useState(0),[k,N]=_.useState(Ht.MIN_COPIES),[S,M]=_.useState(!1),T=_.useMemo(()=>
103{if(a!==void 0)return a;if(o===!0)return 0;if(o!==!1)return 0},[a,o]),C=t==="up"||t==="down",R=_.useMemo(()=>{const P=Math.abs(e);let $;C?$=t==="up"?1:-1:$=t==="left"?1:-1;const W=e<0?-1:1;return P*$*W},[e,t,C]),A=_.useCallback(()=>{const P=f.current?.clientWidth??0,$=v.current?.getBoundingClientRect?.(),W=$?.width??0,V=$?.height??0;if(C){const U=f.current?.parentElement?.clientHeight??0;if(f.current&&U>0){const de=Math.ceil(U);f.current.style.height!==`${de}px`&&(f.current.style.height=`${de}px`)}if(V>0){w(Math.ceil(V));const de=f.current?.clientHeight??U??V,fe=Math.ceil(de/V)+Ht.COPY_HEADROOM;N(Math.max(Ht.MIN_COPIES,fe))}}else if(W>0){b(Math.ceil(W));const U=Math.ceil(P/W)+Ht.COPY_HEADROOM;N(Math.max(Ht.MIN_COPIES,U))}},[C]);mu(A,[f,v],[s,i,r,C]),gu(v,A,[s,i,r,C]),xu(x,R,y,j,S,T,C);const E=_.useMemo(()=>({"--logoloop-gap":`${i}px`,"--logoloop-logoHeight":`${r}px`,...u&&{"--logoloop-fadeColor":u}}),[i,r,u]),L=_.useMemo(()=>Ze("relative group",C?"overflow-hidden h-full inline-block":"overflow-x-hidden","[--logoloop-gap:32px]","[--logoloop-logoHeight:28px]","[--logoloop-fadeColorAuto:#ffffff]","dark:[--logoloop-fadeColorAuto:#0b0b0b]",d&&"py-[calc(var(--logoloop-logoHeight)*0.1)]",m),[C,d,m]),O=_.useCallback(()=>{T!==void 0&&M(!0)},[T]),F=_.useCallback(()=>{T!==void 0&&M(!1)},[T]),z=_.useCallback((P,$)=>{if(h)return l.jsx("li",{className:Ze("flex-none text-[length:var(--logoloop-logoHeight)] leading-[1]",C?"mb-[var(--logoloop-gap)]":"mr-[var(--logoloop-gap)]",d&&"overflow-visible group/item"),role:"listitem",children:h(P,$)},$);const W="node"in P,V=W?l.jsx("span",{className:Ze("inline-flex items-center max-w-[120px]","motion-reduce:transition-none",d&&"transition-transform duration-300 ease-[cubic-bezier(0.4,0,0.2,1)] group-hover/item:scale-120"),"aria-hidden":!!P.href&&!P.ariaLabel,children:P.node}):l.jsx("img",{className:Ze("h-[var(--logoloop-logoHeight)] w-auto block object-contain","[-webkit-user-drag:none] pointer-events-none","[image-rendering:-webkit-optimize-contrast]","motion-reduce:transition-none",d&&"transition-transform duration-300 ease-[cubic-bezier(0.4,0,0.2,1)] group-hover/item:scale-120"),src:P.src,srcSet:P.srcSet,sizes:P.sizes,width:P.width,height:P.height,alt:P.alt??"",title:P.title,loading:"lazy",decoding:"async",draggable:!1}),U=W?P.ariaLabel??P.title:P.alt??P.title,de=P.href?l.jsx("a",{className:Ze("inline-flex items-center no-underline rounded","transition-opacity duration-200 ease-linear","hover:opacity-80","focus-visible:outline focus-visible:outline-current focus-visible:outline-offset-2"),href:P.href,"aria-label":U||"logo link",target:"_blank",rel:"noreferrer noopener",children:V}):V;return l.jsx("li",{className:Ze("flex-none text-[length:var(--logoloop-logoHeight)] leading-[1] p-8",C?"mb-[var(--logoloop-gap)]":"mr-[var(--logoloop-gap)]",d&&"overflow-visible group/item"),role:"listitem",children:de},$)},[C,d,h]),D=_.useMemo(()=>Array.from({length:k},(P,$)=>l.jsx("ul",{className:Ze("flex items-center",C&&"flex-col"),role:"list","aria-hidden":$>0,ref:$===0?v:void 0,children:s.map((W,V)=>z(W,`${$}-${V}`))},`copy-${$}`)),[k,s,z,C]),I=_.useMemo(()=>({width:C?_r(n)==="100%"?void 0:_r(n):_r(n)??"100%",...E,...g}),[n,E,g,C]);return l.jsxs("div",{ref:f,className:L,style:I,role:"region","aria-label":p,children:[c&&l.jsx(l.Fragment,{children:C?l.jsxs(l.Fragment,{children:[l.jsx("div",{"aria-hidden":!0,className:Ze("pointer-events-none absolute inset-x-0 top-0 z-10","h-[clamp(24px,8%,120px)]","bg-[linear-gradient(to_bottom,var(--logoloop-fadeColor,var(--logoloop-fadeColorAuto))_0%,rgba(0,0,0,0)_100%)]")}),l.jsx("div",{"aria-hidden":!0,className:Ze("pointer-events-none absolute inset-x-0 bottom-0 z-10","h-[clamp(24px,8%,120px)]","bg-[linear-gradient(to_top,var(--logoloop-fadeColor,var(--logoloop-fadeColorAuto))_0%,rgba(0,0,0,0)_100%)]")})]}):l.jsxs(l.Fragment,{children:[l.jsx("div",{"aria-hidden":!0,className:Ze("pointer-events-none absolute inset-y-0 left-0 z-10","w-[clamp(24px,8%,120px)]","bg-[linear-gradient(to_right,var(--logoloop-fadeColor,var(--logoloop-fadeColorAuto))_0%,rgba(0,0,0,0)_100%)]")}
103),l.jsx("div",{"aria-hidden":!0,className:Ze("pointer-events-none absolute inset-y-0 right-0 z-10","w-[clamp(24px,8%,120px)]","bg-[linear-gradient(to_left,var(--logoloop-fadeColor,var(--logoloop-fadeColorAuto))_0%,rgba(0,0,0,0)_100%)]")})]})}),l.jsx("div",{className:Ze("flex will-change-transform select-none relative z-0","motion-reduce:transform-none",C?"flex-col h-max w-full":"flex-row w-max"),ref:x,onMouseEnter:O,onMouseLeave:F,children:D})]})});Ao.displayName="LogoLoop";const st={transition:"filter 0.3s ease-in-out",maxWidth:"100%",objectFit:"contain"},wr=[{node:l.jsx("img",{src:uu,alt:"IBM",style:st,className:"lg:max-h-[80px] max-h-[60px]"}),title:"IBM",href:"https://www.ibm.com"},{node:l.jsx("img",{src:iu,alt:"Adidas",style:st,className:"lg:max-h-[80px] max-h-[60px]"}),title:"Adidas",href:"https://www.adidas.com"},{node:l.jsx("img",{src:hu,alt:"Sanofi",style:st,className:"lg:max-h-[80px] max-h-[60px]"}),title:"Sanofi",href:"https://www.sanofi.com"},{node:l.jsx("img",{src:du,alt:"Mercedes",style:st,className:"lg:max-h-[80px] max-h-[60px]"}),title:"Mercedes-Benz",href:"https://www.mercedes-benz.com"},{node:l.jsx("img",{src:ou,alt:"BMW",style:st,className:"lg:max-h-[80px] max-h-[60px]"}),title:"BMW",href:"https://www.bmw.com"},{node:l.jsx("img",{src:au,alt:"Capgemini",style:st,className:"lg:max-h-[80px] max-h-[60px]"}),title:"Capgemini",href:"https://www.capgemini.com"},{node:l.jsx("img",{src:cu,alt:"GitLab",style:st,className:"lg:max-h-[80px] max-h-[60px]"}),title:"GitLab",href:"https://www.gitlab.com"},{node:l.jsx("img",{src:lu,alt:"Decathlon",style:st,className:"lg:max-h-[80px] max-h-[60px]"}),title:"Decathlon",href:"https://www.decathlon.com"},{node:l.jsx("img",{src:fu,alt:"Roche",style:st,className:"lg:max-h-[80px] max-h-[60px]"}),title:"Roche",href:"https://www.roche.com"},{node:l.jsx("img",{src:pu,alt:"Société Générale",style:st,className:"lg:max-h-[80px] max-h-[60px]"}),title:"Société Générale",href:"https://www.societegenerale.com"}];function vu(){const s=Pt("(max-width: 767px)"),[e,t]=_.useState(null),n=i=>{t(i)},r=()=>{t(null)};return l.jsxs("div",{className:"container relative lg:text-center",children:[l.jsx("div",{className:"sm:p-0 px-5",children:l.jsx(Le,{children:"Used by the world's finest brands"})}),s?l.jsx(Ao,{logos:wr,speed:50}):l.jsx("div",{className:"grid lg:grid-cols-5 md:grid-cols-4 pt-20 xl:gap-x-40 md:gap-x-25 xl:gap-y-25 md:gap-y-20 p-5 place-items-center",children:wr.map((i,o)=>{const a=o>=wr.length-2?"hidden lg:flex":"flex";return l.jsx(Z,{delay:.1+o*.1,duration:.8,children:l.jsx("a",{href:i.href,target:"_blank",className:a+" justify-center",onMouseEnter:()=>n(o),onMouseLeave:r,style:{filter:e===null||e===o?"none":"blur(4px) opacity(0.45)",transition:"filter 0.3s ease-in-out"},rel:"noreferrer",children:i.node},i.title)},i.title)})})]})}const bu="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.75%200C7.82164%200%205.93657%200.571828%204.33319%201.64317C2.72982%202.71451%201.48013%204.23726%200.742179%206.01884C0.00422452%207.80042%20-0.188858%209.76082%200.187348%2011.6521C0.563554%2013.5434%201.49215%2015.2807%202.85571%2016.6443C4.21928%2018.0079%205.95656%2018.9365%207.84787%2019.3127C9.73919%2019.6889%2011.6996%2019.4958%2013.4812%2018.7578C15.2627%2018.0199%2016.7855%2016.7702%2017.8568%2015.1668C18.9282%2013.5634%2019.5%2011.6784%2019.5%209.75C19.4973%207.16498%2018.4692%204.68661%2016.6413%202.85872C14.8134%201.03084%2012.335%200.00272983%209.75%200ZM13.5516%2010.3669L8.67657%2013.7419C8.56402%2013.8197%208.43233%2013.8652%208.29576%2013.8736C8.15918%2013.8819%208.02293%2013.8528%207.90174%2013.7892C7.78056%2013.7257%207.67907%2013.6302%207.60825%2013.5131C7.53744%2013.3961%207.50001%2013.2618%207.5%2013.125V6.375C7.50001%206.23817%207.53744%206.10395%207.60825%205.98687C7.67907%205.86978%207.78056%205.77431%207.90174%205.71077C8.02293%205.64723%208.15918%205.61806%208.29576%205.6264C8.43233%205.63475%208.56402%205.6803%208.67657%205.75812L13.5516%209.13313C13.6513%209.20212%2013.7329%209.2943%2013.7892%209.40174C13.8456%209.50918%2013.875%209.62869%2013.875%209.75C13.875%209.87131%2013.8456%209.99082%2013.7892%2010.0983C13.7329%2010.2057%2013.6513%2010.2979%2013.5516%2010.3669Z'%20fill='white'/%3e%3c/svg%3e";function Lo({children:s,href:e,onClick:t,className:n="",target:r,inline:i=!0,size:o="medium",type:a="button","aria-label":c}){const u=_.useRef(null),d=g=>{if(u.current){const f=g.currentTarget.getBoundingClientRect();u.current.style.left=`${g.clientX-f.left}px`,u.current.style.top=`${g.clientY-f.top}px`,u.current.style.opacity="1"}},h=()=>{u.current&&(u.current.style.opacity="0")},p=`btn bg-secondary rounded text-white font-bold hover:cursor-pointer
104          ${o==="medium"?"pt-5 pb-5 pl-5 pr-5 sm:text-base text-[0.95rem] ":"pt-4 pb-4 pl-4 pr-4 sm:text-[15px] text-[0.90rem]"} rounded-[20px] inset-0 overflow-hidden relative
105          hover:scale-[0.98] transition-transform duration-100
106          active:scale-[0.95] sm:text-base text-[0.95rem]
107         ${n}`,m=l.jsxs(l.Fragment,{children:[l.jsx("span",{className:"flex items-center",children:s}),l.jsx("span",{ref:u,className:`absolute rounded-full pointer-events-none w-5 h-5
108            bg-[var(--primary-color)] z-10
109            transform -translate-x-1/2 -translate-y-1/2
110            filter blur-lg mix-blend-lighten
111            opacity-0 transition-opacity duration-300`})]});return l.jsx("div",{className:`relative ${i?"inline-flex":"flex"} overflow-hidden`,children:e?l.jsx("a",{href:e,className:p,onClick:t,onMouseMove:d,onMouseLeave:h,target:r,"aria-label":c,children:m}):l.jsx("button",{type:a,className:p,onClick:t,onMouseMove:d,onMouseLeave:h,"aria-label":c,children:m})})}const yu=s=>_.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},_.createElement("path",{d:"M12 2.25C10.0716 2.25 8.18657 2.82183 6.58319 3.89317C4.97982 4.96451 3.73013 6.48726 2.99218 8.26884C2.25422 10.0504 2.06114 12.0108 2.43735 13.9021C2.81355 15.7934 3.74215 17.5307 5.10571 18.8943C6.46928 20.2579 8.20656 21.1865 10.0979 21.5627C11.9892 21.9389 13.9496 21.7458 15.7312 21.0078C17.5127 20.2699 19.0355 19.0202 20.1068 17.4168C21.1782 15.8134 21.75 13.9284 21.75 12C21.7473 9.41498 20.7192 6.93661 18.8913 5.10872C17.0634 3.28084 14.585 2.25273 12 2.25ZM17.25 12.75H12C11.8011 12.75 11.6103 12.671 11.4697 12.5303C11.329 12.3897 11.25 12.1989 11.25 12V6.75C11.25 6.55109 11.329 6.36032 11.4697 6.21967C11.6103 6.07902 11.8011 6 12 6C12.1989 6 12.3897 6.07902 12.5303 6.21967C12.671 6.36032 12.75 6.55109 12.75 6.75V11.25H17.25C17.4489 11.25 17.6397 11.329 17.7803 11.4697C17.921 11.6103 18 11.8011 18 12C18 12.1989 17.921 12.3897 17.7803 12.5303C17.6397 12.671 17.4489 12.75 17.25 12.75Z",fill:"white"})),_u=new Map([["bold",_.createElement(_.Fragment,null,_.createElement("path",{d:"M234.36,170A12,12,0,0,1,230,186.37l-96,56a12,12,0,0,1-12.1,0l-96-56a12,12,0,0,1,12.09-20.74l90,52.48L218,165.63A12,12,0,0,1,234.36,170ZM218,117.63,128,170.11,38.05,117.63A12,12,0,0,0,26,138.37l96,56a12,12,0,0,0,12.1,0l96-56A12,12,0,0,0,218,117.63ZM20,80a12,12,0,0,1,6-10.37l96-56a12.06,12.06,0,0,1,12.1,0l96,56a12,12,0,0,1,0,20.74l-96,56a12,12,0,0,1-12.1,0l-96-56A12,12,0,0,1,20,80Zm35.82,0L128,122.11,200.18,80,128,37.89Z"}))],["duotone",_.createElement(_.Fragment,null,_.createElement("path",{d:"M224,80l-96,56L32,80l96-56Z",opacity:"0.2"}),_.createElement("path",{d:"M230.91,172A8,8,0,0,1,228,182.91l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,36,169.09l92,53.65,92-53.65A8,8,0,0,1,230.91,172ZM220,121.09l-92,53.65L36,121.09A8,8,0,0,0,28,134.91l96,56a8,8,0,0,0,8.06,0l96-56A8,8,0,1,0,220,121.09ZM24,80a8,8,0,0,1,4-6.91l96-56a8,8,0,0,1,8.06,0l96,56a8,8,0,0,1,0,13.82l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,24,80Zm23.88,0L128,126.74,208.12,80,128,33.26Z"}))],["fill",_.createElement(_.Fragment,null,_.createElement("path",{d:"M220,169.09l-92,53.65L36,169.09A8,8,0,0,0,28,182.91l96,56a8,8,0,0,0,8.06,0l96-56A8,8,0,1,0,220,169.09Z"}),_.createElement("path",{d:"M220,121.09l-92,53.65L36,121.09A8,8,0,0,0,28,134.91l96,56a8,8,0,0,0,8.06,0l96-56A8,8,0,1,0,220,121.09Z"}),_.createElement("path",{d:"M28,86.91l96,56a8,8,0,0,0,8.06,0l96-56a8,8,0,0,0,0-13.82l-96-56a8,8,0,0,0-8.06,0l-96,56a8,8,0,0,0,0,13.82Z"}))],["light",_.createElement(_.Fragment,null,_.createElement("path",{d:"M229.18,173a6,6,0,0,1-2.16,8.2l-96,56a6,6,0,0,1-6,0l-96-56a6,6,0,0,1,6-10.36l93,54.23,93-54.23A6,6,0,0,1,229.18,173ZM221,122.82l-93,54.23L35,122.82a6,6,0,0,0-6,10.36l96,56a6,6,0,0,0,6,0l96-56a6,6,0,0,0-6-10.36ZM26,80a6,6,0,0,1,3-5.18l96-56a6,6,0,0,1,6,0l96,56a6,6,0,0,1,0,10.36l-96,56a6,6,0,0,1-6,0l-96-56A6,6,0,0,1,26,80Zm17.91,0L128,129.05,212.09,80,128,31Z"}))],["regular",_.createElement(_.Fragment,null,_.createElement("path",{d:"M230.91,172A8,8,0,0,1,228,182.91l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,36,169.09l92,53.65,92-53.65A8,8,0,0,1,230.91,172ZM220,121.09l-92,53.65L36,121.09A8,8,0,0,0,28,134.91l96,56a8,8,0,0,0,8.06,0l96-56A8,8,0,1,0,220,121.09ZM24,80a8,8,0,0,1,4-6.91l96-56a8,8,0,0,1,8.06,0l96,56a8,8,0,0,1,0,13.82l-96,56a8,8,0,0,1-8.06,0l-96-56A8,8,0,0,1,24,80Zm23.88,0L128,126.74,208.12,80,128,33.26Z"}))],["thin",_.createElement(_.Fragment,null,_.createElement("path",{d:"M227.45,174a4,4,0,0,1-1.44,5.48l-96,56a4,4,0,0,1-4,0l-96-56a4,4,0,0,1,4-6.92l94,54.83,94-54.83A4,4,0,0,1,227.45,174ZM222,124.54l-94,54.83L34,124.54a4,4,0,0,0-4,6.92l96,56a4,4,0,0,0,4,0l96-56a4,4,0,0,0-4-6.92ZM28,80a4,4,0,0,1,2-3.46l96-56a4,4,0,0,1,4,0l96,56a4,4,0,0,1,0,6.92l-96,56a4,4,0,0,1-4,0l-96-56A4,4,0,0,1,28,80Zm11.94,0L128,131.37,216.06,80,128,28.63Z"}))]]),wu=_.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Po=_.forwardRef((s,e)=>{const{alt:t,color:n,size:r,weight:i,mirrored:o,children:a,weights:c,...u}=s,{color:d="currentColor",size:h,weight:p="regular",mirrored:m=!1,...g}=_.useContext(wu);return _.createElement("svg",{ref:e,xmlns:"http://www.w3.org/2000/svg",width:r??h,height:r??h,fill:n??d,viewBox:"0 0 256 256",transform:o||m?"scale(-1, 1)":void 0,...g,...u},!!t&&_.createElement("title",null,t),a,c.get(i??p))});Po.displayName="IconBase";const Oo=_.forwardRef((s,e)=>_.createElement(Po,{ref:e,...s,weights:_u}));Oo.displayName="StackIcon";const ju=s=>_.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},_.createElement("path",{d:"M9.75 0C7.82164 0 5.93657 0.571828 4.33319 1.64317C2.72982 2.71451 1.48013 4.23726 0.742179 6.01884C0.00422452 7.80042 -0.188858 9.76082 0.187348 11.6521C0.5635
11154 13.5434 1.49215 15.2807 2.85571 16.6443C4.21928 18.0079 5.95656 18.9365 7.84787 19.3127C9.73919 19.6889 11.6996 19.4958 13.4812 18.7578C15.2627 18.0199 16.7855 16.7702 17.8568 15.1668C18.9282 13.5634 19.5 11.6784 19.5 9.75C19.4973 7.16498 18.4692 4.68661 16.6413 2.85872C14.8134 1.03084 12.335 0.00272983 9.75 0ZM13.5516 10.3669L8.67657 13.7419C8.56402 13.8197 8.43233 13.8652 8.29576 13.8736C8.15918 13.8819 8.02293 13.8528 7.90174 13.7892C7.78056 13.7257 7.67907 13.6302 7.60825 13.5131C7.53744 13.3961 7.50001 13.2618 7.5 13.125V6.375C7.50001 6.23817 7.53744 6.10395 7.60825 5.98687C7.67907 5.86978 7.78056 5.77431 7.90174 5.71077C8.02293 5.64723 8.15918 5.61806 8.29576 5.6264C8.43233 5.63475 8.56402 5.6803 8.67657 5.75812L13.5516 9.13313C13.6513 9.20212 13.7329 9.2943 13.7892 9.40174C13.8456 9.50918 13.875 9.62869 13.875 9.75C13.875 9.87131 13.8456 9.99082 13.7892 10.0983C13.7329 10.2057 13.6513 10.2979 13.5516 10.3669Z",fill:"white"}));function Cu({title:s,duration:e,lessonCount:t,color:n,subtitle:r,price:i,discount:o,isBundle:a=!1,variant:c="compact",borderOpaque:u=!1,shadowOnHover:d=!0,align:h="center",url:p}){const m=_.useRef(null),g=_.useRef(null),f=b=>{const j=b.currentTarget.getBoundingClientRect(),w=b.clientX-j.left,k=b.clientY-j.top;m.current&&(m.current.style.backgroundPosition=`${w/20}px ${k/20}px`)},x=b=>{g.current&&d&&(g.current.style.boxShadow=`0 -40px 100px rgba(${n}, 0.45)`)},v=b=>{g.current&&d&&(g.current.style.boxShadow="none")},y=b=>{p&&(p=c==="compact"?p.startsWith("https")?p:`https://courses.nestjs.com${p}`:p,window.open(p,"_self"))};return l.jsxs(l.Fragment,{children:[l.jsx("style",{children:`
112          .course-card {
113            transition: box-shadow 0.3s ease, filter 0.3s ease;
114          }
115
116          .noise { 
117            content: '';
118            position: absolute;
119            inset: 0;
120            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.3'/%3E%3C/svg%3E");
121            pointer-events: none;
122            filter: invert(1);
123            opacity: 0.85;
124            z-index: 0;
125          }
126
127          .icon-course-card path {
128            fill: #9B9A9A;
129          }
130        `}),l.jsx("div",{className:`absolute inset-0 rounded-[24px] ${u?c==="full"?"bg-gradient-to-b from-white/20 to-white/10":"bg-gradient-to-b from-white/20 to-white/0":"bg-gradient-to-b from-[#504e4e] to-[#050303]"} transition-background pointer-events-none
131        top-[-1px] left-[-1px] right-[-1px] bottom-[-1px]`}),l.jsxs("div",{ref:g,className:`course-card rounded-[24px] p-[6px] w-full relative overflow-hidden
132          transition duration-300 hover:brightness-120 cursor-pointer ${c==="compact"?"max-w-sm":"max-w-none"}`,onMouseMove:f,onMouseEnter:x,onMouseLeave:v,onClick:y,style:{background:`radial-gradient(ellipse at top,
133            color-mix(in srgb, rgba(${n}, 1.0) 25%, #050303) 60%,
134            color-mix(in srgb, rgba(${n}, 1.0) 5%, #050303) 100%
135        )`},children:[l.jsx("div",{ref:m,className:`
136          absolute top-0 left-0 right-0 bottom-0 opacity-20 pointer-events-none
137          bg-[length:50px_50px]
138          bg-[image:linear-gradient(to_right,grey_1px,transparent_1px),linear-gradient(to_bottom,grey_1px,transparent_1px)]
139          [mask-image:radial-gradient(circle_at_center,black_30%,transparent_70%)]
140          [-webkit-mask-image:radial-gradient(circle_at_center,black_30%,transparent_70%)]`}),l.jsx("div",{className:`p-4 rounded-[20px] text-white mb-4 min-h-[190px] min-w-[224px] 
141        border border-solid border-[rgba(255,255,255,0.2)] relative overflow-hidden`,children:l.jsxs("div",{className:`top-0 left-0 right-0 bottom-0 absolute flex items-center ${h==="center"?"justify-center p-4":"justify-start p-6"}`,style:{background:`linear-gradient(200deg, rgba(${n},1.0), #050303 70%)`},children:[l.jsx("div",{className:"noise"}),l.jsxs("div",{className:"flex flex-col",children:[a&&l.jsxs("div",{className:"flex w-fit flex-row items-center gap-2 mb-6 border border-white/12 px-2 py-1 rounded-[8px]",style:{background:`color-mix(in srgb, rgba(${n}, 1.0) 10%, rgba(255, 255, 255, 0.1) 50%)`},children:[l.jsx(Oo,{weight:"fill",className:"w-[16px] h-[16px]"}),l.jsx("span",{className:"text-xs uppercase font-mono opacity-80",children:"Bundle"})]}),l.jsx("h3",{className:`text-[22px] font-medium leading-[1.4] ${h==="center"?"text-center":"text-left"}`,children:s}),r&&l.jsx("p",{className:`text-sm mt-2 font-thin font-mono ${h==="center"?"text-center":"text-left"}`,children:r})]})]})}),l.jsxs("div",{className:"mb-4 font-mono text-[#9B9A9A] text-sm px-6 py-1 leading-8",children:[i?l.jsxs("div",{className:"flex items-start gap-3 mt-2 text-white",children:[l.jsxs("span",{className:"text-[1.3rem]",children:["$",i]}),o?l.jsxs(l.Fragment,{children:[l.jsxs("span",{className:"line-through opacity-70 text-md font-light leading-7",children:["$",Math.round(i/(1-o/100))]}),l.jsxs("span",{className:"mt-1 font-mono text-white uppercase bg-[var(--primary-color)] font-thin text-xs py-[5px] px-[6px] rounded-[8px]",children:["Save ",o,"%"]})]}):null]}
141):null,l.jsxs("div",{className:`flex leading-8 mt-1 ${c==="full"?"flex-row items-center gap-8":"flex-col"}`,children:[l.jsxs("div",{className:"flex flex-row items-center gap-2",children:[l.jsx(ju,{className:"icon-course-card w-[14px] h-[14px]"}),l.jsxs("span",{children:[t," lessons"]})]}),l.jsxs("div",{className:"flex flex-row items-center gap-2",children:[l.jsx(yu,{className:"icon-course-card w-[16px] h-[16px] ml-[-2px]"}),l.jsx("span",{className:"mr-4",children:e})]})]})]})]})]})}G.gsap.registerPlugin(Pe.ScrollTrigger);const jr=10,Cr=150,Tr=30,Tu=200,Su=.4,pi=[{title:"Side Left",duration:"",lessonCount:0,color:"100,100,100"},{title:"Side Right",duration:"",lessonCount:0,color:"100,100,100"}],et=[{title:"Advanced Architecture",duration:"2,5 hours",lessonCount:21,color:"192,13,39",url:"/extensions/architecture-and-advanced-patterns"},{title:"Authentication & Authorization",duration:"2 hours",lessonCount:19,color:"166,13,116",url:"/extensions/authentication-and-authorization"},{title:"Microservices",duration:"2 hours",lessonCount:20,color:"0,108,128",url:"/extensions/microservices"},{title:"Fundamentals",duration:"5 hours",lessonCount:80,color:"121,32,205",url:"/"}];function Nu({variant:s="gradient",shadowOnHover:e=!0,animationDelay:t=0,animationStartTriggerValue:n="top 50%",reverse:r=!1}){const i=(et.length-1)/2,o=_.useRef(null),a=_.useRef([]),[c,u]=_.useState(!1),d=r?[...[...et].reverse(),...pi]:[...et,...pi];return _.useEffect(()=>{if(!o.current)return;const h=(et.length-1)/2,p=G.gsap.context(()=>{a.current.forEach((f,x)=>{x===et.length-1?G.gsap.set(f,{x:0,y:Tu,rotate:0,opacity:0}):G.gsap.set(f,{x:0,y:0,rotate:0,opacity:0})});const m=G.gsap.timeline({delay:t,scrollTrigger:{trigger:o.current,start:n,end:"top 30%",scrub:!1},onComplete:()=>{u(!0),a.current.forEach(f=>{f.style.pointerEvents="auto"})}});m.to(a.current[et.length-1],{y:0,opacity:1,duration:.3,ease:"power2.out"}),a.current.forEach((f,x)=>{x!==et.length-1?m.to(f,{opacity:1,duration:.3,ease:"power2.out"},"fadeInOthers"):m.to(f,{duration:.3},"fadeInOthers")});const g=a.current.map((f,x)=>{const v=x===et.length?-h-1:x===et.length+1?h+1:x-h;return x>=et.length?{target:f,vars:{opacity:Su,x:Cr*.75*v,y:Math.abs(v)*Tr,rotate:jr*v}}:{target:f,vars:{x:Cr*v,y:Math.abs(v)*Tr,rotate:jr*v}}});m.addLabel("fan"),g.forEach(({target:f,vars:x})=>{m.to(f,{...x,duration:.8,ease:"power2.out"},"fan")})},o);return()=>p.revert()},[]),l.jsxs("div",{className:"relative min-h-[400px] w-full flex justify-center items-start ",ref:o,style:s==="mask"?{maskImage:"linear-gradient(to bottom, black 50%, transparent 80%)",WebkitMaskImage:"linear-gradient(to bottom, black 50%, transparent 80%)",paddingTop:"24px"}:void 0,children:[l.jsx("div",{className:"relative",style:{left:"-110px"},children:d.map((h,p)=>{const m=p-i,g=Cr*m,f=Math.abs(m)*Tr,x=jr*m;return l.jsx("div",{ref:v=>{v&&(a.current[p]=v)},className:`absolute top-0 left-1/2 pointer-events-none ${p>=et.length?"z-1":"z-10 hover:z-20 hover:mt-[-10px] hover:pb-[10px] transition-[margin] transition-[filter]"} `,style:{transform:`translateX(${g}px) translateY(${f}px) rotate(${x}deg)`,transformOrigin:"center top"},children:l.jsx(Cu,{...h,borderOpaque:c,shadowOnHover:e})},h.title)})}),s==="gradient"?l.jsx("div",{className:"absolute left-0 right-0 bottom-0 h-full pointer-events-none z-10",style:{background:"linear-gradient(to top, #050303, transparent 60%)"}}):null]})}function Mu({className:s,heading:e="Become Nest Certified Expert",description:t="Over 200 lessons. Learn everything you need to master NestJS and tackle modern backend applications at any scale.",ctaText:n="Get certified today"}){return l.jsx("div",{className:"flex justify-center overflow-hidden pt-35",children:l.jsxs("div",{className:"container relative centered justify-center items-center flex flex-col",children:[l.jsx(Nu,{}),l.jsx(Le,{children:"Courses"}),l.jsx(Ne,{ElementTag:"h2",className:"font-medium xl:text-9xl lg:text-8xl sm:text-7xl text-[2.75rem] text-center leading-[1.1] md:px-0 px-4",enableBlur:!0,children:e}),l.jsx(Ne,{className:"font-mono text-sm opacity-70 leading-6 font-light pt-10 max-w-xl text-center md:px-0 px-4",ElementTag:"p",enableBlur:!0,children:t}),l.jsxs(Z,{className:"mt-20 flex sm:space-x-5 justify-center sm:flex-row flex-col items-center space-y-4 sm:sp
141ace-y-0",duration:.5,children:[l.jsx(rr,{href:"https://courses.nestjs.com/",children:n}),l.jsxs(Lo,{href:"https://courses.nestjs.com?preview",children:[l.jsx("img",{src:bu,className:"w-4 h-4 mr-2"}),l.jsx("span",{children:"Watch free lesson"})]})]})]})})}const ku="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M29.3307%2022.6694C29.3294%2026.4973%2026.6395%2029.6966%2023.047%2030.482L22.1963%2027.93C23.8017%2027.668%2025.1661%2026.6893%2025.9506%2025.3332H22.6641C21.1913%2025.3332%2019.9974%2024.1393%2019.9974%2022.6665V17.3332C19.9974%2015.8604%2021.1913%2014.6665%2022.6641%2014.6665H26.5815C25.9254%209.40476%2021.4369%205.33317%2015.9974%205.33317C10.5579%205.33317%206.06938%209.40476%205.41325%2014.6665H9.33073C10.8035%2014.6665%2011.9974%2015.8604%2011.9974%2017.3332V22.6665C11.9974%2024.1393%2010.8035%2025.3332%209.33073%2025.3332H5.33073C3.85797%2025.3332%202.66406%2024.1393%202.66406%2022.6665V15.9998C2.66406%208.63604%208.6336%202.6665%2015.9974%202.6665C23.3611%202.6665%2029.3307%208.63604%2029.3307%2015.9998V17.3314V17.3332V22.6665V22.6694Z'%20fill='white'/%3e%3c/svg%3e",Eu="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_818_2509)'%3e%3cpath%20d='M6.97839%2010.3064C8.87071%207.31484%2012.2046%205.33317%2016.0003%205.33317C19.796%205.33317%2023.1299%207.31484%2025.0223%2010.3064L27.2759%208.88078C24.9153%205.14916%2020.7483%202.6665%2016.0003%202.6665C11.2524%202.6665%207.08524%205.14916%204.72475%208.88078L6.97839%2010.3064ZM16.0003%2026.6665C12.2046%2026.6665%208.87071%2024.6849%206.97839%2021.6933L4.72475%2023.1189C7.08524%2026.8505%2011.2524%2029.3332%2016.0003%2029.3332C20.7483%2029.3332%2024.9153%2026.8505%2027.2759%2023.1189L25.0223%2021.6933C23.1299%2024.6849%2019.796%2026.6665%2016.0003%2026.6665ZM16%2015.9998C18.2092%2015.9998%2020%2014.209%2020%2011.9998C20%209.7907%2018.2092%207.99984%2016%207.99984C13.7908%207.99984%2012%209.7907%2012%2011.9998C12%2014.209%2013.7908%2015.9998%2016%2015.9998ZM16%2017.3332C18.9455%2017.3332%2021.3333%2019.721%2021.3333%2022.6665H10.6667C10.6667%2019.721%2013.0545%2017.3332%2016%2017.3332ZM8%2015.9998C8%2018.209%206.20913%2019.9998%204%2019.9998C1.79087%2019.9998%200%2018.209%200%2015.9998C0%2013.7906%201.79087%2011.9998%204%2011.9998C6.20913%2011.9998%208%2013.7906%208%2015.9998ZM28%2019.9998C30.2092%2019.9998%2032%2018.209%2032%2015.9998C32%2013.7906%2030.2092%2011.9998%2028%2011.9998C25.7908%2011.9998%2024%2013.7906%2024%2015.9998C24%2018.209%2025.7908%2019.9998%2028%2019.9998Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_818_2509'%3e%3crect%20width='32'%20height='32'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ru="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M26.6641%2012V20.6667C26.6641%2023.9804%2023.9778%2026.6667%2020.6641%2026.6667C17.3503%2026.6667%2014.6641%2023.9804%2014.6641%2020.6667V11.3333C14.6641%209.4924%2013.1717%208%2011.3307%208C9.4898%208%207.99739%209.4924%207.99739%2011.3333V20.2276C9.55099%2020.7767%2010.6641%2022.2584%2010.6641%2024C10.6641%2026.2091%208.87326%2028%206.66406%2028C4.45486%2028%202.66406%2026.2091%202.66406%2024C2.66406%2022.2584%203.77713%2020.7767%205.33073%2020.2276V11.3333C5.33073%208.0196%208.01699%205.33333%2011.3307%205.33333C14.6445%205.33333%2017.3307%208.0196%2017.3307%2011.3333V20.6667C17.3307%2022.5076%2018.8231%2024%2020.6641%2024C22.505%2024%2023.9974%2022.5076%2023.9974%2020.6667V12H19.9974L25.3307%205.33333L30.6641%2012H26.6641ZM6.66406%2022.6667C5.92766%2022.6667%205.33073%2023.2636%205.33073%2024C5.33073%2024.7364%205.92766%2025.3333%206.66406%2025.3333C7.40046%2025.3333%207.99739%2024.7364%207.99739%2024C7.99739%2023.2636%207.40046%2022.6667%206.66406%2022.6667Z'%20fill='white'/%3e%3c/svg%3e",Au="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.9974%204H27.9974C28.7338%204%2029.3307%204.59696%2029.3307%205.33333V26.6667C29.3307%2027.4031%2028.7338%2028%2027.9974%2028H3.9974C3.26102%2028%202.66406%2027.4031%202.66406%2026.6667V5.33333C2.66406%204.59696%203.26102%204%203.9974%204ZM21.9501%2020.714L26.6641%2016L21.9501%2011.286L20.0645%2013.1716L22.8929%2016L20.0645%2018.8284L21.9501%2020.714ZM9.10197%2016L11.9304%2013.1716L10.0448%2011.286L5.33073%2016L10.0448%2020.714L11.9304%2018.8284L9.10197%2016ZM14.9898%2022.6667L19.8427%209.33333H17.005L12.152%2022.6667H14.9898Z'%20fill='white'/%3e%3c/svg%3e",Lu="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M25.3333%2
141013.3332H26.6667C27.4031%2013.3332%2028%2013.9301%2028%2014.6665V27.9998C28%2028.7362%2027.4031%2029.3332%2026.6667%2029.3332H5.33333C4.59696%2029.3332%204%2028.7362%204%2027.9998V14.6665C4%2013.9301%204.59696%2013.3332%205.33333%2013.3332H6.66667V11.9998C6.66667%206.84518%2010.8453%202.6665%2016%202.6665C21.1547%202.6665%2025.3333%206.84518%2025.3333%2011.9998V13.3332ZM22.6667%2013.3332V11.9998C22.6667%208.31794%2019.6819%205.33317%2016%205.33317C12.3181%205.33317%209.33333%208.31794%209.33333%2011.9998V13.3332H22.6667ZM14.6667%2018.6665V23.9998H17.3333V18.6665H14.6667Z'%20fill='white'/%3e%3c/svg%3e",Pu="/assets/author-DFDV_pg1.jpeg",Ou=[{icon:l.jsx("img",{src:Ru}),title:"Providing technical guidance & architectural reviews"},{icon:l.jsx("img",{src:Eu}),title:"Mentoring team members"},{icon:l.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:l.jsx("path",{d:"M10.6694 8.00016V12.0002H6.66938V8.00016H10.6694ZM4.00271 5.3335V14.6668H13.3361V5.3335H4.00271ZM17.3361 5.3335H28.0027V8.00016H17.3361V5.3335ZM17.3361 14.6668H28.0027V17.3335H17.3361V14.6668ZM17.3361 24.0002H28.0027V26.6668H17.3361V24.0002ZM14.2789 21.6096L12.3932 19.724L8.00271 24.1146L5.61218 21.724L3.72656 23.6096L8.00271 27.8858L14.2789 21.6096Z",fill:"white"})}),title:"Advising best practices"},{icon:l.jsx("img",{src:Lu}),title:"Addressing security & performance concerns"},{icon:l.jsx("img",{src:Au}),title:"Performing in-depth code reviews"},{icon:l.jsx("img",{src:ku}),title:"Long-term support (LTS) & upgrade assistance"}];function Du({primaryText:s="Scale your enterprise with official support from the experts behind Nest",variant:e="quote",subheading:t="Official Enterprise Support",className:n,secondaryText:r}){return l.jsxs("div",{className:`relative z-10 bg-bg ${n||""}`,children:[l.jsx("div",{className:"flex justify-center",children:l.jsx("div",{className:"container relative md:px-0 px-5",children:l.jsxs("div",{className:"grid md:grid-cols-[60%_10%_30%] sm:grid-cols-[60%_5%_35%] grid-rows-[auto] gap-0",children:[l.jsxs("div",{children:[l.jsx(Le,{children:t}),l.jsx(Ne,{ElementTag:"h2",className:"font-medium md:text-5xl sm:text-3xl text-4xl mb-4 md:leading-14 sm:leading-10 leading-12",enableBlur:!0,children:s}),r&&l.jsx(Ne,{ElementTag:"p",className:"text-xl leading-8 font-normal mt-6",enableBlur:!0,children:r})]}),l.jsx("span",{}),l.jsx("div",{className:"relative",children:e==="quote"?l.jsxs(l.Fragment,{children:[l.jsx(Ne,{className:"font-mono text-sm opacity-90 leading-6 font-light sm:pt-10 pt-4",ElementTag:"p",enableBlur:!0,children:"“At the onset of a new project, we were looking for experts to help us understand a new tech stack and implement it quickly and seamlessly. We sought out NestJS as the experts in the space and were thrilled we did so.”"}),l.jsx(Z,{delay:.1,duration:.8,distance:10,children:l.jsxs("div",{className:"flex mt-6 items-center",children:[l.jsx("div",{className:"rounded-[13px] w-[48px] h-[48px] overflow-hidden",children:l.jsx("img",{src:Pu,alt:"Natalie Mazza"})}),l.jsxs("div",{className:"ml-4",children:[l.jsx("h6",{className:"font-medium text-lg",children:"Natalie Mazza"}),l.jsx("p",{className:"text-sm opacity-50 font-mono font-normal",children:"Partner, CPO @ OTG Management"})]})]})})]}):l.jsx(Ne,{className:"font-mono text-sm opacity-90 leading-6 font-light sm:pt-10 pt-4",ElementTag:"p",enableBlur:!0,children:"Our goal is to help you get to market faster. Nest core team members will help you utilize best practices and choose the right strategy for unique goals."})})]})})}),l.jsx("div",{className:"flex justify-center",children:l.jsxs("div",{className:"container relative md:px-0 px-5",children:[l.jsxs("div",{className:"card-responsive grid lg:grid-cols-3 grid-cols-2 gap-0 mt-20",children:[l.jsx("style",{children:`
142                .enterprise-card {
143                  --border-color: rgba(255, 255, 255, 0.15);
144                  --border-radius: 20px;
145                  border-radius: 0;
146                  border-left-color: var(--border-color);
147                  border-right-color: var(--border-color);
148                  border-bottom-color: var(--border-color);
149                  border-top-color: var(--border-color);
150                  border-style: solid;
151                  border-top-width: 1px;
152                  border-left-width: 1px;
153                }
154
155                .enterprise-card:nth-of-type(1) {
156                  border-top-left-radius: var(--border-radius);
157                }
158
159                .enterprise-card:nth-of-type(3) {
160                  border-top-right-radius: var(--border-radius);
161                }
162
163                .enterprise-card:nth-of-type(4) {
164                  border-bottom-left-radius: var(--border-radius);
165                }
166
167                .enterprise-card:nth-of-type(6) {
168                  border-bottom-right-radius: var(--border-radius);
169                }
170
171                .enterprise-card:nth-of-type(n+4) {
172                  border-bottom-width: 1px;
173                }
174
175                .enterprise-card:nth-of-type(3),
176                .enterprise-card:nth-of-type(6) {
177                  border-right-width: 1px;
178                }
179
180                @media (max-width: 1024px) {
181                 .enterprise-card:nth-of-type(2) {
182                    border-right-width: 1px;
183                    border-top-right-radius: var(--border-radius);
184                  }
185
186                  .enterprise-card:nth-of-type(3) {
187                    border-top-right-radius: 0;
188                    border-right-width: 0;
189                  }
190
191                  .enterprise-card:nth-of-type(4) {
192                    border-bottom-left-radius: 0;
193                    border-right-width: 1px;
194                    border-bottom-width: 0;
195                  }
196
197                  .enterprise-card:nth-of-type(5) {
198                    border-bottom-left-radius: var(--border-radius);
199                  }
200                }
201              `}),Ou.map((i,o)=>l.jsx(Z,{delay:.1+o*.1,duration:.8,distance:10,className:"enterprise-card",children:l.jsxs("div",{className:"flex flex-col relative text-white flex-start h-full card  sm:justify-center sm:flex-start relative lg:aspect-[4/3] min-h-[200px] w-full max-w-full md:px-16 md:py-8 px-8 py-12",children:[i.icon&&l.jsx("div",{className:"mb-8",children:i.icon}),l.jsx("h3",{className:"text-left font-medium xl:text-lg text-md m-0 mb-1",children:i.title})]})},o))]}),l.jsx("div",{className:"my-20 justify-center flex",children:l.jsx(Z,{duration:.5,delay:.5,children:l.jsx(rr,{href:"mailto:[email protected]",children:"Request enterprise support"})})})]})})]})}const Iu="/assets/1-BNBWLvLj.gif",zu="/assets/2-CcbPJLpa.gif",Fu="/assets/3-jipPUaqJ.gif";function Sr(s){const e=s.replace("#","");return[parseInt(e.slice(0,2),16)/255,parseInt(e.slice(2,4),16)/255,parseInt(e.slice(4,6),16)/255]}const Bu=`
202attribute vec2 uv;
203attribute vec2 position;
204varying vec2 vUv;
205void main() {
206  vUv = uv;
207  gl_Position = vec4(position, 0, 1);
208}
209`,$u=`
210precision highp float;
211
212uniform float uTime;
213uniform vec3 uResolution;
214uniform float uSpeed;
215uniform float uInnerLines;
216uniform float uOuterLines;
217uniform float uWarpIntensity;
218uniform float uRotation;
219uniform float uEdgeFadeWidth;
220uniform float uColorCycleSpeed;
221uniform float uBrightness;
222uniform vec3 uColor1;
223uniform vec3 uColor2;
224uniform vec3 uColor3;
225uniform vec2 uMouse;
226uniform float uMouseInfluence;
227uniform bool uEnableMouse;
228
229#define HALF_PI 1.5707963
230
231float hashF(float n) {
232  return fract(sin(n * 127.1) * 43758.5453123);
233}
234
235float smoothNoise(float x) {
236  float i = floor(x);
237  float f = fract(x);
238  float u = f * f * (3.0 - 2.0 * f);
239  return mix(hashF(i), hashF(i + 1.0), u);
240}
241
242float displaceA(float coord, float t) {
243  float result = sin(coord * 2.123) * 0.2;
244  result += sin(coord * 3.234 + t * 4.345) * 0.1;
245  result += sin(coord * 0.589 + t * 0.934) * 0.5;
246  return result;
247}
248
249float displaceB(float coord, float t) {
250  float result = sin(coord * 1.345) * 0.3;
251  result += sin(coord * 2.734 + t * 3.345) * 0.2;
252  result += sin(coord * 0.189 + t * 0.934) * 0.3;
253  return result;
254}
255
256vec2 rotate2D(vec2 p, float angle) {
257  float c = cos(angle);
258  float s = sin(angle);
259  return vec2(p.x * c - p.y * s, p.x * s + p.y * c);
260}
261
262void main() {
263  vec2 coords = gl_FragCoord.xy / uResolution.xy;
264  coords = coords * 2.0 - 1.0;
265  coords = rotate2D(coords, uRotation);
266
267  float halfT = uTime * uSpeed * 0.5;
268  float fullT = uTime * uSpeed;
269
270  float mouseWarp = 0.0;
271  if (uEnableMouse) {
272    vec2 mPos = rotate2D(uMouse * 2.0 - 1.0, uRotation);
273    float mDist = length(coords - mPos);
274    mouseWarp = uMouseInfluence * exp(-mDist * mDist * 4.0);
275  }
276
277  float warpAx = coords.x + displaceA(coords.y, halfT) * uWarpIntensity + mouseWarp;
278  float warpAy = coords.y - displaceA(coords.x * cos(fullT) * 1.235, halfT) * uWarpIntensity;
279  float warpBx = coords.x + displaceB(coords.y, halfT) * uWarpIntensity + mouseWarp;
280  float warpBy = coords.y - displaceB(coords.x * sin(fullT) * 1.235, halfT) * uWarpIntensity;
281
282  vec2 fieldA = vec2(warpAx, warpAy);
283  vec2 fieldB = vec2(warpBx, warpBy);
284  vec2 blended = mix(fieldA, fieldB, mix(fieldA, fieldB, 0.5));
285
286  float fadeTop = smoothstep(uEdgeFadeWidth, uEdgeFadeWidth + 0.4, blended.y);
287  float fadeBottom = smoothstep(-uEdgeFadeWidth, -(uEdgeFadeWidth + 0.4), blended.y);
288  float vMask = 1.0 - max(fadeTop, fadeBottom);
289
290  float tileCount = mix(uOuterLines, uInnerLines, vMask);
291  float scaledY = blended.y * tileCount;
292  float nY = smoothNoise(abs(scaledY));
293
294  float ridge = pow(
295    step(abs(nY - blended.x) * 2.0, HALF_PI) * cos(2.0 * (nY - blended.x)),
296    5.0
297  );
298
299  float lines = 0.0;
300  for (float i = 1.0; i < 3.0; i += 1.0) {
301    lines += pow(max(fract(scaledY), fract(-scaledY)), i * 2.0);
302  }
303
304  float pattern = vMask * lines;
305
306  float cycleT = fullT * uColorCycleSpeed;
307  float rChannel = (pattern + lines * ridge) * (cos(blended.y + cycleT * 0.234) * 0.5 + 1.0);
308  float gChannel = (pattern + vMask * ridge) * (sin(blended.x + cycleT * 1.745) * 0.5 + 1.0);
309  float bChannel = (pattern + lines * ridge) * (cos(blended.x + cycleT * 0.534) * 0.5 + 1.0);
310
311  vec3 col = (rChannel * uColor1 + gChannel * uColor2 + bChannel * uColor3) * uBrightness;
312  float alpha = clamp(length(col), 0.0, 1.0);
313
314  gl_FragColor = vec4(col, alpha);
315}
316`;function Vu({speed:s=.3,innerLineCount:e=32,outerLineCount:t=36,warpIntensity:n=1,rotation:r=-50,edgeFadeWidth:i=0,colorCycleSpeed:o=1,brightness:a=.2,color1:c="#ffffff",color2:u="#ffffff",color3:d="#ffffff",enableMouseInteraction:h=!0,mouseInfluence:p=2}){const m=_.useRef(null);return _.useEffect(()=>{if(!m.current)return;const g=m.current,f=new er({alpha:!0,premultipliedAlpha:!1}),x=f.gl;x.clearColor(0,0,0,0);let v,y=[.5,.5],b=[.5,.5];function j(R){const A=x.canvas.getBoundingClientRect();b=[(R.clientX-A.left)/A.width,1-(R.clientY-A.top)/A.height]}function w(){b=[.5,.5]}function k(){f.setSize(g.offsetWidth,g.offsetHeight),v&&(v.uniforms.uResolution.value=[x.canvas.width,x.canvas.height,x.canvas.width/x.canvas.height])}window.addEventListener("resize",k),k();const N=new rs(x),S=r*Math.PI/180;v=new tr(x,{vertex:Bu,fragment:$u,uniforms:{uTime:{value:0},uResolution:{value:[x.canvas.width,x.canvas.height,x.canvas.width/x.canvas.height]},uSpeed:{value:s},uInnerLines:{value:e},uOuterLines:{value:t},uWarpIntensity:{value:n},uRotation:{value:S},uEdgeFadeWidth:{value:i},uColorCycleSpeed:{value:o},uBrightness:{value:a},uColor1:{value:Sr(c)},uColor2:{value:Sr(u)},uColor3:{value:Sr(d)},uMouse:{value:new Float32Array([.5,.5])},uMouseInfluence:{value:p},uEnableMouse:{value:h}}});const M=new nr(x,{geometry:N,program:v});g.appendChild(x.canvas),h&&(x.canvas.addEventListener("mousemove",j),x.canvas.addEventListener("mouseleave",w));let T;function C(R){T=requestAnimationFrame(C),v.uniforms.uTime.value=R*.001,h?(y[0]+=.
31605*(b[0]-y[0]),y[1]+=.05*(b[1]-y[1]),v.uniforms.uMouse.value[0]=y[0],v.uniforms.uMouse.value[1]=y[1]):(v.uniforms.uMouse.value[0]=.5,v.uniforms.uMouse.value[1]=.5),f.render({scene:M})}return T=requestAnimationFrame(C),()=>{cancelAnimationFrame(T),window.removeEventListener("resize",k),h&&(x.canvas.removeEventListener("mousemove",j),x.canvas.removeEventListener("mouseleave",w)),g.removeChild(x.canvas),x.getExtension("WEBGL_lose_context")?.loseContext()}},[s,e,t,n,r,i,o,a,c,u,d,h,p]),l.jsx("div",{ref:m,className:"w-full h-full"})}const Wu=({sparkColor:s="#fff",sparkSize:e=10,sparkRadius:t=15,sparkCount:n=8,duration:r=400,easing:i="ease-out",extraScale:o=1,children:a})=>{const c=_.useRef(null),u=_.useRef([]),d=_.useRef(null);_.useEffect(()=>{const m=c.current;if(!m)return;const g=m.parentElement;if(!g)return;let f;const x=()=>{const{width:b,height:j}=g.getBoundingClientRect();(m.width!==b||m.height!==j)&&(m.width=b,m.height=j)},v=()=>{clearTimeout(f),f=setTimeout(x,100)},y=new ResizeObserver(v);return y.observe(g),x(),()=>{y.disconnect(),clearTimeout(f)}},[]);const h=_.useCallback(m=>{switch(i){case"linear":return m;case"ease-in":return m*m;case"ease-in-out":return m<.5?2*m*m:-1+(4-2*m)*m;default:return m*(2-m)}},[i]);_.useEffect(()=>{const m=c.current;if(!m)return;const g=m.getContext("2d");if(!g)return;let f;const x=v=>{d.current||(d.current=v),g?.clearRect(0,0,m.width,m.height),u.current=u.current.filter(y=>{const b=v-y.startTime;if(b>=r)return!1;const j=b/r,w=h(j),k=w*t*o,N=e*(1-w),S=y.x+k*Math.cos(y.angle),M=y.y+k*Math.sin(y.angle),T=y.x+(k+N)*Math.cos(y.angle),C=y.y+(k+N)*Math.sin(y.angle);return g.strokeStyle=s,g.lineWidth=2,g.beginPath(),g.moveTo(S,M),g.lineTo(T,C),g.stroke(),!0}),f=requestAnimationFrame(x)};return f=requestAnimationFrame(x),()=>{cancelAnimationFrame(f)}},[s,e,t,n,r,h,o]);const p=m=>{const g=c.current;if(!g)return;const f=g.getBoundingClientRect(),x=m.clientX-f.left,v=m.clientY-f.top,y=performance.now(),b=Array.from({length:n},(j,w)=>({x,y:v,angle:2*Math.PI*w/n,startTime:y}));u.current.push(...b)};return l.jsxs("div",{className:"relative w-full h-full",onClick:p,children:[l.jsx("canvas",{ref:c,className:"absolute inset-0 pointer-events-none"}),a]})},qu=({text:s,radius:e=400})=>{const[t,n]=_.useState("COPY"),r=_.useRef(null),i=_.useRef(null),o=_.useRef(null),a=_.useCallback(d=>{const h=r.current?.getBoundingClientRect();if(!h||!i.current)return;const p=d.clientX>h.right?h.width:d.clientX<h.left?0:d.clientX-h.left,m=d.clientY>h.bottom?h.height:d.clientY<h.top?0:d.clientY-h.top,g=`radial-gradient(circle ${e}px at ${p}px ${m}px, white 0%, transparent 90%)`;i.current.style.webkitMaskImage=g,i.current.style.maskImage=g,i.current.style.opacity="1"},[e]),c=_.useRef(null),u=_.useCallback(()=>{navigator.clipboard.writeText(`$ npm i -g @nestjs/cli
317$ nest new project-name`),n("COPIED"),c.current&&clearTimeout(c.current),c.current=setTimeout(()=>n("COPY"),5e3)},[]);return l.jsx("div",{className:"flex justify-center md:py-24 py-12",onMouseMove:a,ref:o,children:l.jsx("div",{className:"container relative cursor-pointer text-center",onClick:u,children:l.jsxs(Wu,{sparkSize:25,sparkRadius:40,children:[l.jsxs("div",{ref:r,className:"relative w-full flex items-center justify-center overflow-hidden text-center",children:[l.jsx("span",{className:"xl:text-8xl lg:text-7xl md:text-6xl sm:text-5xl text-2xl text-white/5 select-none leading-[1.2]",dangerouslySetInnerHTML:{__html:s}}),l.jsx("span",{ref:i,className:"absolute xl:text-8xl lg:text-7xl md:text-6xl sm:text-5xl text-2xl text-white select-none leading-[1.2] text-center",style:{WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"0 0",WebkitMaskSize:"cover",maskRepeat:"no-repeat",maskPosition:"0 0",maskImage:`radial-gradient(circle ${e}px at 50% 50%, white 0%, transparent 90%)`,WebkitMaskImage:`radial-gradient(circle ${e}px at 50% 50%, white 0%, transparent 90%)`,maskSize:"cover",opacity:1,transition:"mask-position 0.05s linear, -webkit-mask-position 0.05s linear"},dangerouslySetInnerHTML:{__html:s}})]}),l.jsx("div",{className:"sm:mt-15 mt-4 opacity-75",children:t==="COPY"?l.jsx(Le,{children:"Click. Copy. Build"},"copy"):l.jsx(Le,{children:"Copied!"},"copied")})]})})})},Hu=({size:s=24,className:e=""})=>l.jsxs("svg",{width:s,height:s,viewBox:"0 0 24 24",fill:"none",className:e,children:[l.jsx("path",{d:"M5 13l4 4L19 7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"stroke-dasharray-24 stroke-dashoffset-24 animate-draw"}),l.jsx("style",{children:`
318          .stroke-dasharray-24 {
319            stroke-dasharray: 24;
320          }
321          .stroke-dashoffset-24 {
322            stroke-dashoffset: 24;
323          }
324          @keyframes draw {
325            to {
326              stroke-dashoffset: 0;
327            }
328          }
329          .animate-draw {
330            animation: draw 0.5s ease forwards;
331          }
332        `})]});function Uu(){return l.jsxs("svg",{"aria-hidden":"true",className:"w-6 h-6 text-neutral-tertiary animate-spin fill-brand",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"#67676
3327"}),l.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentColor"})]})}const Gu="https://nbdggbnqnrevwg6xlex3st3vpe0nyhiq.lambda-url.us-east-2.on.aws/?token=db1f899025b5a59a76b6b34b2a013893";async function Yu(s){try{const e=await fetch(Gu,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s})});if(!e.ok)throw e.status===400?new Error("Email incorrect, or already subscribed"):new Error(`Failed to subscribe: ${e.statusText}`);return}catch(e){throw e}}function Xu({className:s}){const e=_.useRef(null),t=_.useRef(null),n=_.useRef(null),[r,i]=_.useState({state:"idle"}),o=a=>{if(a.preventDefault(),!n.current||r.state==="loading")return;i({state:"loading"});const c=n.current.value;Yu(c).then(()=>{i({state:"success"})}).catch(()=>{i({state:"error"})})};return _.useEffect(()=>{const a=()=>{if(!e.current||!t.current)return;const c="240px";if(t.current.getBoundingClientRect().height!==0||t.current.style.height===c)return;const d=e.current.offsetTop+e.current.offsetHeight;if(window.scrollY+window.innerHeight+1>=d){t.current.style.height=c;const p=t.current.querySelectorAll("img"),m=Math.floor(Math.random()*p.length);p[m].classList.remove("hidden")}};return window.addEventListener("scroll",a),()=>{window.removeEventListener("scroll",a)}},[]),l.jsxs("footer",{className:`sm:p-10 p-5 relative overflow-hidden ${s}`,id:"footer",ref:e,children:[l.jsx("div",{className:"absolute inset-0 z-0 top-[30%] bottom-[-200px] left-0 right-0 pointer-events-none",children:l.jsxs("div",{className:"bg-gradient-to-r from-[#ea2845] via-[#780f20] to-[#050303] absolute inset-0 z-0 top-0 bottom-0 left-0 right-0 overflow-hidden",children:[l.jsx(ss,{}),l.jsx(sr,{}),l.jsx("div",{className:"bg-gradient-to-t from-transparent from-0% via-trans
332parent via-60% to-[var(--color-bg)] to-100% absolute inset-0 z-0 t-0 b-0 r-0 l-0"})]})}),l.jsxs("div",{className:"bg-[#0b0b0b] sm:rounded-[32px] rounded-[16px] border border-[#262626] relative overflow-hidden",children:[l.jsx("div",{className:"noise"}),l.jsx(qu,{text:"$ npm i -g @nestjs/cli<br />$ nest new project-name"}),l.jsxs("div",{className:"grid xl:grid-cols-[30%_70%] md:grid-cols-[50%_50%] grid-cols-1 relative z-10 border-t border-[#262626]",children:[l.jsxs("section",{id:"newsletter",className:"md:py-20 lg:py-30 sm:py-30 sm:px-20 md:px-8 lg:px-20 px-8 py-12 border-r border-[#262626] w-full flex flex-col relative md:align-self-center lg:align-self-start",children:[l.jsxs("div",{className:"absolute inset-0 left-0 right-0 top-0 bottom-0 z-0 overflow-hidden md:rounded-bl-[32px] md:[&_canvas]:rounded-bl-[32px]",children:[l.jsx(Vu,{speed:.1}),l.jsx("div",{className:"absolute bg-gradient-to-tl from-transparent from-0% to-[#151515] to-50% top-0 left-0 right-0 bottom-0 pointer-events-none"})]}),l.jsx("h4",{className:"text-xl font-semibold mb-4 z-10 relative",children:"Want to stay in touch?"}),l.jsx("p",{className:"text-sm opacity-70 mb-6 leading-6 max-w-xl font-mono font-light z-10 relative",children:"Join our newsletter to get the latest news, updates and special offers."}),l.jsxs("form",{className:"flex flex-col sm:flex-row items-center gap-4 mt-2 relative z-10",children:[l.jsx("input",{ref:n,type:"email",placeholder:"Enter your e-mail",className:"px-5 py-6 uppercase font-mono text-xs rounded-[24px] bg-white/12 border border-white/12 focus:outline-none focus:ring-1 focus:ring-white/40 w-full"}),l.jsx("button",{onClick:o,type:"submit",className:`absolute bg-[#4e4e4e] top-[3px] bottom-[3px] right-[3px] w-[120px] rounded-[22px] text-sm font-semibold cursor-pointer overflow-hidden
333                    before:content-[''] before:absolute before:inset-0 before:w-[25px] before:h-[25px] before:top-1/2 before:left-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:bg-white/10 before:rounded-full before:scale-0 before:opacity-0 before:transition-transform before:duration-700 before:transition-opacity
334                    after:content-[''] after:absolute after:inset-0 after:w-[25px] after:h-[25px] after:top-1/2 after:left-1/2 after:-translate-x-1/2 after:-translate-y-1/2 after:bg-white/10 after:rounded-full after:scale-0 after:opacity-0 after:transition-transform after:duration-700 after:delay-150 after:transition-opacity
335                    hover:before:scale-500 hover:before:opacity-100 hover:after:scale-500 hover:after:opacity-100`,children:l.jsxs("span",{className:"relative z-10",children:[(r.state==="idle"||r.state==="error")&&"Subscribe",r.state==="loading"&&l.jsxs("div",{role:"status",className:"flex items-center justify-center",children:[l.jsx(Uu,{}),l.jsx("span",{className:"sr-only",children:"Loading..."})]}),r.state==="success"&&l.jsxs("div",{className:"flex items-center justify-center gap-2",children:[l.jsx("span",{children:"Done"}),l.jsx(Hu,{size:18})]})]})})]}),r.state==="error"&&l.jsx("p",{className:"text-[var(--primary-color)] font-mono text-sm p-2 mt-2 z-10 relative",children:r.error??"Something went wrong. Please try again."})]}),l.jsxs("div",{className:"sm:px-20 md:px-10 lg:px-20 px-8 flex flex-col justify-between sm:py-12 md:border-none border-t border-[#262626] py-8 px-8",children:[l.jsxs("div",{className:"grid xl:grid-cols-4 grid-cols-1 sm:grid-cols-2 gap-8 w-full max-w-4xl text-sm sm:pt-20 lg:pt-20 md:pt-10 sm:pb-30 pt-6 pb-6",children:[l.jsxs("div",{children:[l.jsx("span",{className:"font-mono uppercase text-[#9B9A9A] text-xs mb-6 block",children:"Resources"}),l.jsxs("ul",{className:"leading-9",children:[l.jsx("li",{children:l.jsx("a",{href:"https://docs.nestjs.com/",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80 ",children:"Documentation"})}),l.jsx("li",{children:l.jsx("a",{href:"https://courses.nestjs.com/",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",children:"Courses"})}),l.jsx("li",{children:l.jsx("a",{href:"https://jobs.nestjs.com/",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",children:"Jobs"})}),l.jsx("li",{children:l.jsx("a",{href:"https://enterprise.nestjs.com/",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",children:"Enterprise support"})})]})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-mono uppercase text-[#9B9A9A] text-xs mb-6 block",children:"Tools"}),l.jsxs("ul",{className:"leading-9",children:[l.jsx("li",{children:l.jsx("a",{href:"https://observe.nestjs.com/",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",children:"Observe"})}),l.jsx("li",{children:l.jsx("a",{href:"https://devtools.nestjs.com/",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",children:"Devtools"})}),l.jsx("li",{children:l.jsx("a",{href:"https://mau.nestjs.com/",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",children:"Deploy Mau"})})]})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-mono uppercase text-[#9B9A9A] text-xs mb-6 block",children:"Socials"}),l.jsxs("ul",{className:"leading-9",children:[l.jsx("li",{children:l.jsx("a",{href:"https://github.com/nestjs",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",target:"_blank",rel:"noreferrer",children:"Github"})}),l.jsx("li",{children:l.jsx("a",{href:"https://linkedin.com/company/19078346",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",target:"_blank",rel:"noreferrer",children:"Linkedin"})}),l.jsx("li",{children:l.jsx("a",{href:"https://twitter.com/nestframework",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",target:"_blank",rel:"noreferrer",children:"X (Twitter)"})}),l.jsx("li",{children:l.jsx("a",{href:"https://discord.com/invite/G7Qnnhy",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",target:"_blank",rel:"noreferrer",children:"Discord"})})]})]}),l.jsxs("div",{children:[l.jsx("span",{className:"font-mono uppercase text-[#9B9A9A] text-xs mb-6 block",children:"About"}),l.jsxs("ul",{className:"leading-9",children:[l.jsx("li",{children:l.jsx("a",{href:"https://github.com/nestjs/nest/releases",className:"font-semibold  hover:underline hover:underline-offset-4 hover:opacity-80",children:"Releases"})}),l.jsx("li",{children:l.jsx("a",{href:"https://github.com/nestjs/nest/blob/master/CONTRIBUTING.md",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",children:"Contributing"})}),l.jsx("li",{children:l.jsx("a",{href:"https://github.com/nestjs/nest/blob/master/CODE_OF_CONDUCT.md",className:"font-semibold hover:underline hover:underline-offset-4 hover:opacity-80",children:"Code of Conduct"})})]})]})]}),l.jsxs("div",{className:"flex lg:flex-row flex-col items-center text-xs font-mono justify-between uppercase mt-10",children:[l.jsxs("p",{className:"text-[#9B9A9A] lg:text-left text-center",children:["Released under the MIT License"," ",l.jsx("span",{className:"mx-3 xl:inline block xl:opacity-100 opacity-0",children:"/"})," ","Copyright © 2017 - ",new Date().getFullYear()," ",l.jsx("a",{href:"https://github.com/kamilmysliwiec",target:"_blank",className:"underline text-white hover:opacity-80",rel:"noreferrer",children:"Kamil Mysliwiec"})]}),l.jsxs("p",{className:"text-[#9B9A9A] lg:mt-0 mt-4 text-center lg:text-left",children:["Designed by"," ",l.jsx("a",{href:"https://dribbble.com/JakubStaron",target:"_blank",className:"underline text-white hover:opacity-80",rel:"noreferrer",children:"Jakub Staron"})," ",l.jsx("span",{className:"mx-3 xl:inline block xl:opacity-100 opacity-0",children:"/"})," ","Hosted by"," ",l.jsx("a",{href:"https://netlify.com",target:"_blank",className:"underline text-white hover:opacity-80",rel:"noreferrer",children:"Netlify"})]})]})]})]})]}),l.jsx("div",{ref:t,className:"z-10 relative flex justify-center items-center flex w-full overflow-hidden h-0 transition-all duration-1000",children:l.jsxs("div",{className:"p-24 pb-14",children:[l.jsx("img",{src:Iu,alt:"Easter Egg",className:"w-25 hidden"}),l.jsx("img",{src:zu,alt:"Easter Egg",className:"w-25 hidden"}),l.jsx("img",{src:Fu,alt:"Easter Egg",className:"w-25 hidden"})]})})]})}const Do={path:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 
3350 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"},Io={path:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"},zo={path:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"},Fo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='4.7%204.8%2014.4%2014.4'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.36127%204.80038C5.37727%204.80038%204.72852%205.47238%204.72852%206.36038C4.72852%207.22438%205.35289%207.91963%206.31289%207.91963C7.34489%207.91963%207.99289%207.22438%207.96889%206.36038C7.96889%205.47238%207.34527%204.80038%206.36127%204.80038ZM15.5765%208.92838C13.9205%208.92838%2012.9129%209.88801%2012.5049%2010.56H12.4573L12.3129%209.14438H9.64927C9.67327%2010.0564%209.72089%2011.1124%209.72089%2012.3604V19.1996H12.7925V13.4156C12.7925%2013.1276%2012.8165%2012.84%2012.8885%2012.624C13.1285%2012.048%2013.6329%2011.4476%2014.4729%2011.4476C15.6009%2011.4476%2016.0329%2012.336%2016.0329%2013.632V19.1996H19.1289V13.2724C19.1289%2010.2964%2017.5925%208.92838%2015.5765%208.92838ZM4.80127%209.14438V19.1996H7.87289V9.14438H4.80127Z'%20fill='white'/%3e%3c/svg%3e";function Bo(s){const e=_.useRef(null);return e.current===null&&(e.current=s()),e.current}const Zu=typeof window<"u",Ku=Zu?_.useLayoutEffect:_.useEffect;function Ju(s,e){s.indexOf(e)===-1&&s.push(e)}function Qu(s,e){const t=s.indexOf(e);t>-1&&s.splice(t,1)}const $t=(s,e,t)=>t>e?e:t<s?s:t;let $o=()=>{};const Es={},cr=s=>s,Rs=(...s)=>s.reduce((e,t)=>n=>t(e(n))),Vo=(s,e,t)=>{const n=e-s;return n?(t-s)/n:1};class e0{constructor(){this.subscriptions=[]}add(e){return Ju(this.subscriptions,e),()=>Qu(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const o=this.subscriptions[i];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Jt=s=>s*1e3,wt=s=>s/1e3,Wo=(s,e)=>e?s*(1e3/e):0,qo=(s,e,t)=>(((1-3*t+3*e)*s+(3*t-6*e))*s+3*e)*s,t0=1e-7,n0=12;function r0(s,e,t,n,r){let i,o,a=0;do o=e+(t-e)/2,i=qo(o,n,r)-s,i>0?t=o:e=o;while(Math.abs(i)>t0&&++a<n0);return o}function Ln(s,e,t,n){if(s===e&&t===n)return cr;const r=i=>r0(i,0,1,s,t);return i=>i===0||i===1?i:qo(r(i),e,n)}const Ho=s=>e=>e<=.5?s(2*e)/2:(2-s(2*(1-e)))/2,Uo=s=>e=>1-s(1-e),Go=Ln(.33,1.53,.69,.99),As=Uo(Go),s0=Ho(As),i0=s=>s>=1?1:(s*=2)<1?.5*As(s):.5*(2-Math.pow(2,-10*(s-1))),Ls=s=>1-Math.sin(Math.acos(s)),o0=Uo(Ls),a0=Ho(Ls),l0=Ln(.42,0,1,1),c0=Ln(0,0,.58,1),Yo=Ln(.42,0,.58,1),u0=s=>Array.isArray(s)&&typeof s[0]!="number",d0=s=>Array.isArray(s)&&typeof s[0]=="number",f0={linear:cr,easeIn:l0,easeInOut:Yo,easeOut:c0,circIn:Ls,circInOut:a0,circOut:o0,backIn:As,backInOut:s0,backOut:Go,anticipate:i0},h0=s=>typeof s=="string",mi=s=>{if(d0(s)){$o(s.length===4);const[e,t,n,r]=s;return Ln(e,t,n,r)}else if(h0(s))return f0[s];return s},Dn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function p0(s){let e=new Set,t=new Set,n=!1,r=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){i.has(u)&&(c.schedule(u),s()),u(o)}const c={schedule:(u,d=!1,h=!1)=>{const m=h&&n?e:t;return d&&i.add(u),m.add(u),u},cancel:u=>{t.delete(u),i.delete(u)},process:u=>{if(o=u,n){r=!0;return}n=!0;const d=e;e=t,t=d,e.forEach(a),e.clear(),n=!1,r&&(r=!1,c.process(u))}};return c}const m0=40;function g0(s,e){let t=!1,n=!0;const r={delta:0,timestamp:0,isProcessing:!1},i=()=>t=!0,o=Dn.reduce((b,j)=>(b[j]=p0(i),b),{}),{setup:a,read:c,resolveKeyframes:u,preUpdate:d,update:h,preRender:p,render:m,postRender:g}=o,f=()=>{const b=Es.useManualTiming,j=b?r.timestamp:performance.now();t=!1,b||(r.delta=n?1e3/60:Math.max(Math.min(j-r.timestamp,m0),1)),r.timestamp=j,r.isProcessing=!0,a.process(r),c.process(r),u.process(r),d.process(r),h.process(r),p.process(r),m.process(r),g.process(r),r.isProcessing=!1,t&&e&&(n=!1,s(f))},x=()=>{t=!0,n=!0,r.isProcessing||s(f)};return{schedule:Dn.reduce((b,j)=>{const w=o[j];return b[j]=(k,N=!1,S=!1)=>(t||x(),w.schedule(k,N,S)),b},{}),cancel:b=>{for(let j=0;j<Dn.length;j++)o[Dn[j]].cancel(b)},state:r,steps:o}}const{schedule:ur,cancel:Xo,state:Zn}=g0(typeof requestAnimationFrame<"u"?requestAnimationFrame:cr,!0);let $n;function x0(){$n=void 0}const mt={now:()=>($n===void 0&&mt.set(Zn.isProcessing||Es.useManualTiming?Zn.timestamp:performance.now()),$n
vendor: 17,438 bytes, line 335
335),set:s=>{$n=s,queueMicrotask(x0)}},v0=s=>e=>typeof e=="string"&&e.startsWith(s),b0=v0("var(--"),y0=s=>b0(s)?_0.test(s.split("/*")[0].trim()):!1,_0=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Zo={test:s=>typeof s=="number",parse:parseFloat,transform:s=>s},Ko={...Zo,transform:s=>$t(0,1,s)},mn=s=>Math.round(s*1e5)/1e5,Jo=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function w0(s){return s==null}const j0=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ps=(s,e)=>t=>!!(typeof t=="string"&&j0.test(t)&&t.startsWith(s)||e&&!w0(t)&&Object.prototype.hasOwnProperty.call(t,e)),Qo=(s,e,t)=>n=>{if(typeof n!="string")return n;const[r,i,o,a]=n.match(Jo);return{[s]:parseFloat(r),[e]:parseFloat(i),[t]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},C0=s=>$t(0,255,s),Nr={...Zo,transform:s=>Math.round(C0(s))},Ot={test:Ps("rgb","red"),parse:Qo("red","green","blue"),transform:({red:s,green:e,blue:t,alpha:n=1})=>"rgba("+Nr.transform(s)+", "+Nr.transform(e)+", "+Nr.transform(t)+", "+mn(Ko.transform(n))+")"};function T0(s){let e="",t="",n="",r="";return s.length>5?(e=s.substring(1,3),t=s.substring(3,5),n=s.substring(5,7),r=s.substring(7,9)):(e=s.substring(1,2),t=s.substring(2,3),n=s.substring(3,4),r=s.substring(4,5),e+=e,t+=t,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(t,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}}const Kr={test:Ps("#"),parse:T0,transform:Ot.transform},S0=s=>({test:e=>typeof e=="string"&&e.endsWith(s)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${s}`}),gi=S0("%"),Yt={test:Ps("hsl","hue"),parse:Qo("hue","saturation","lightness"),transform:({hue:s,saturation:e,lightness:t,alpha:n=1})=>"hsla("+Math.round(s)+", "+gi.transform(mn(e))+", "+gi.transform(mn(t))+", "+mn(Ko.transform(n))+")"},vt={test:s=>Ot.test(s)||Kr.test(s)||Yt.test(s),parse:s=>Ot.test(s)?Ot.parse(s):Yt.test(s)?Yt.parse(s):Kr.parse(s),transform:s=>typeof s=="string"?s:s.hasOwnProperty("red")?Ot.transform(s):Yt.transform(s),getAnimatableNone:s=>{const e=vt.parse(s);return e.alpha=0,vt.transform(e)}},N0=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function M0(s){return isNaN(s)&&typeof s=="string"&&(s.match(Jo)?.length||0)+(s.match(N0)?.length||0)>0}const ea="number",ta="color",k0="var",E0="var(",xi="${}",R0=/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 En(s){const e=s.toString(),t=[],n={color:[],number:[],var:[]},r=[];let i=0;const a=e.replace(R0,c=>(vt.test(c)?(n.color.push(i),r.push(ta),t.push(vt.parse(c))):c.startsWith(E0)?(n.var.push(i),r.push(k0),t.push(c)):(n.number.push(i),r.push(ea),t.push(parseFloat(c))),++i,xi)).split(xi);return{values:t,split:a,indexes:n,types:r}}function A0(s){return En(s).values}function na({split:s,types:e}){const t=s.length;return n=>{let r="";for(let i=0;i<t;i++)if(r+=s[i],n[i]!==void 0){const o=e[i];o===ea?r+=mn(n[i]):o===ta?r+=vt.transform(n[i]):r+=n[i]}return r}}function L0(s){return na(En(s))}const P0=s=>typeof s=="number"?0:vt.test(s)?vt.getAnimatableNone(s):s,O0=(s,e)=>typeof s=="number"?e?.trim().endsWith("/")?s:0:P0(s);function D0(s){const e=En(s);return na(e)(e.values.map((n,r)=>O0(n,e.split[r])))}const I0={test:M0,parse:A0,createTransformer:L0,getAnimatableNone:D0};function Mr(s,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?s+(e-s)*6*t:t<1/2?e:t<2/3?s+(e-s)*(2/3-t)*6:s}function z0({hue:s,saturation:e,lightness:t,alpha:n}){s/=360,e/=100,t/=100;let r=0,i=0,o=0;if(!e)r=i=o=t;else{const a=t<.5?t*(1+e):t+e-t*e,c=2*t-a;r=Mr(c,a,s+1/3),i=Mr(c,a,s),o=Mr(c,a,s-1/3)}return{red:Math.round(r*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:n}}function Kn(s,e){return t=>t>0?e:s}const dr=(s,e,t)=>s+(e-s)*t,kr=(s,e,t)=>{const n=s*s,r=t*(e*e-n)+n;return r<0?0:Math.sqrt(r)},F0=[Kr,Ot,Yt],B0=s=>F0.find(e=>e.test(s));function vi(s){const e=B0(s);if(!e)return!1;let t=e.parse(s);return e===Yt&&(t=z0(t)),t}const bi=(s,e)=>{const t=vi(s),n=vi(e);if(!t||!n)return Kn(s,e);const r={...t};return i=>(r.red=kr(t.red,n.red,i),r.green=kr(t.green,n.green,i),r.blue=kr(t.blue,n.blue,i),r.alpha=dr(t.alpha,n.alpha,i),Ot.transform(r))},Jr=new Set(["none","hidden"]);function $0(s,e){return Jr.has(s)?t=>t<=0?s:e:t=>t>=1?e:s}function V0(s,e){return t=>dr(s,e,t)}function Os(s){return typeof s=="number"?V0:typeof s=="string"?y0(s)?Kn:vt.test(s)?bi:H0:Array.isArray(s)?ra:typeof s=="object"?vt.test(s)?bi:W0:Kn}function ra(s,e){const t=[...s],n=t.length,r=s.map((i,o)=>Os(i)(i,e[o]));return i=>{for(let o=0;o<n;o++)t[o]=r[o](i);return t}}function W0(s,e){const t={...s,...e},n={};for(const r in t)s[r]!==void 0&&e[r]!==void 0&&(n[r]=Os(s[r])(s[r],e[r]));return r=>{for(const i in n)t[i]=n[i](r);return t}}function q0(s,e){const t=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){const i=e.types[r],o=s.indexes[i][n[i]],a=s.values[o]??0;t[r]=a,n[i]++}return t}const H0=(s,e)=>{const t=I0.createTransformer(e),n=En(s),r=En(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?Jr.has(s)&&!r.values.length||Jr.has(e)&&!n.values.length?$0(s,e):Rs(ra(q0(n,r),r.values),t):Kn(s,e)};function sa(s,e,t){return typeof s=="number"&&typeof e=="number"&&typeof t=="number"?dr(s,e,t):Os(s)(s,e)}const U0=s=>{const e=({timestamp:t})=>s(t);return{start:(t=!0)=>ur.update(e,t),stop:()=>Xo(e),now:()=>Zn.isProcessing?Zn.timestamp:mt.now()}},G0=(s,e,t=10)=>{let n="";const r=Math.max(Math.round(e/t),2);for(let i=0;i<r;i++)n+=Math.round(s(i/(r-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},Jn=2e4;function Ds(s){let e=0;const t=50;let n=s.next(e);for(;!n.done&&e<Jn;)e+=t,n=s.next(e);return e>=Jn?1/0:e}function Y0(s,e=100,t){const n=t({...s,keyframes:[0,e]}),r=Math.min(Ds(n),Jn);return{type:"keyframes",ease:i=>n.next(r*i).value/e,duration:wt(r)}}const he={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 Qr(s,e){return s*Math.sqrt(1-e*e)}const X0=12;function Z0(s,e,t){let n=t;for(let r=1;r<X0;r++)n=n-s(n)/e(n);return n}const Er=.001;function K0({duration:s=he.duration,bounce:e=he.bounce,velocity:t=he.velocity,mass:n=he.mass}){let r,i,o=1-e;o=$t(he.minDamping,he.maxDamping,o),s=$t(he.minDuration,he.maxDuration,wt(s)),o<1?(r=u=>{const d=u*o,h=d*s,p=d-t,m=Qr(u,o),g=Math.exp(-h);return Er-p/m*g},i=u=>{const h=u*o*s,p=h*t+t,m=Math.pow(o,2)*Math.pow(u,2)*s,g=Math.exp(-h),f=Qr(Math.pow(u,2),o);return(-r(u)+Er>0?-1:1)*((p-m)*g)/f}):(r=u=>{const d=Math.exp(-u*s),h=(u-t)*s+1;return-Er+d*h},i=u=>{const d=Math.exp(-u*s),h=(t-u)*(s*s);return d*h});const a=5/s,c=Z0(r,i,a);if(s=Jt(s),isNaN(c))return{stiffness:he.stiffness,damping:he.damping,duration:s};{const u=Math.pow(c,2)*n;return{stiffness:u,damping:o*2*Math.sqrt(n*u),duration:s}}}const J0=["duration","bounce"],Q0=["stiffness","damping","mass"];function yi(s,e){return e.some(t=>s[t]!==void 0)}function ed(s){let e={velocity:he.velocity,stiffness:he.stiffness,damping:he.damping,mass:he.mass,isResolvedFromDuration:!1,...s};if(!yi(s,Q0)&&yi(s,J0))if(e.velocity=0,s.visualDuration){const t=s.visualDuration,n=2*Math.PI/(t*1.2),r=n*n,i=2*$t(.05,1,1-(s.bounce||0))*Math.sqrt(r);e={...e,mass:he.mass,stiffness:r,damping:i}}else{const t=K0({...s,velocity:0});e={...e,...t,mass:he.mass},e.isResolvedFromDuration=!0}return e}function Qn(s=he.visualDuration,e=he.bounce){const t=typeof s!="object"?{visualDuration:s,keyframes:[0,1],bounce:e}:s;let{restSpeed:n,restDelta:r}=t;const i=t.keyframes[0],o=t.keyframes[t.keyframes.length-1],a={done:!1,value:i},{stiffness:c,damping:u,mass:d,duration:h,velocity:p,isResolvedFromDuration:m}=ed({...t,velocity:-wt(t.velocity||0)}),g=p||0,f=u/(2*Math.sqrt(c*d)),x=o-i,v=wt(Math.sqrt(c/d)),y=Math.abs(x)<5;n||(n=y?he.restSpeed.granular:he.restSpeed.default),r||(r=y?he.restDelta.granular:he.restDelta.default);let b,j,w,k,N,S;if(f<1)w=Qr(v,f),k=(g+f*v*x)/w,b=T=>{const C=Math.exp(-f*v*T);return o-C*(k*Math.sin(w*T)+x*Math.cos(w*T))},N=f*v*k+x*w,S=f*v*x-k*w,j=T=>Math.exp(-f*v*T)*(N*Math.sin(w*T)+S*Math.cos(w*T));else if(f===1){b=C=>o-Math.exp(-v*C)*(x+(g+v*x)*C);const T=g+v*x;j=C=>Math.exp(-v*C)*(v*T*C-g)}else{const T=v*Math.sqrt(f*f-1);b=E=>{const L=Math.exp(-f*v*E),O=Math.min(T*E,300);return o-L*((g+f*v*x)*Math.sinh(O)+T*x*Math.cosh(O))/T};const C=(g+f*v*x)/T,R=f*v*C-x*T,A=f*v*x-C*T;j=E=>{const L=Math.exp(-f*v*E),O=Math.min(T*E,300);return L*(R*Math.sinh(O)+A*Math.cosh(O))}}const M={calculatedDuration:m&&h||null,velocity:T=>Jt(j(T)),next:T=>{if(!m&&f<1){const R=Math.exp(-f*v*T),A=Math.sin(w*T),E=Math.cos(w*T),L=o-R*(k*A+x*E),O=Jt(R*(N*A+S*E));return a.done=Math.abs(O)<=n&&Math.abs(o-L)<=r,a.value=a.done?o:L,a}const C=b(T);if(m)a.done=T>=h;else{const R=Jt(j(T));a.done=Math.abs(R)<=n&&Math.abs(o-C)<=r}return a.value=a.done?o:C,a},toString:()=>{const T=Math.min(Ds(M),Jn),C=G0(R=>M.next(T*R).value,T,30);return T+"ms "+C},toTransition:()=>{}};return M}Qn.applyToOptions=s=>{const e=Y0(s,100,Qn);return s.ease=e.ease,s.duration=Jt(e.duration),s.type="keyframes",s};const td=5;function ia(s,e,t){const n=Math.max(e-td,0);return Wo(t-s(n),e-n)}function es({keyframes:s,velocity:e=0,power:t=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:o,min:a,max:c,restDelta:u=.5,restSpeed:d}){const h=s[0],p={done:!1,value:h},m=S=>a!==void 0&&S<a||c!==void 0&&S>c,g=S=>a===void 0?c:c===void 0||Math.abs(a-S)<Math.abs(c-S)?a:c;let f=t*e;const x=h+f,v=o===void 0?x:o(x);v!==x&&(f=v-h);const y=S=>-f*Math.exp(-S/n),b=S=>v+y(S),j=S=>{const M=y(S),T=b(S);p.done=Math.abs(M)<=u,p.value=p.done?v:T};let w,k;const N=S=>{m(p.value)&&(w=S,k=Qn({keyframes:[p.value,g(p.value)],velocity:ia(b,S,p.value),damping:r,stiffness:i,restDelta:u,restSpeed:d}))};return N(0),{calculatedDuration:null,next:S=>{let M=!1;return!k&&w===void 0&&(M=!0,j(S),N(S)),w!==void 0&&S>=w?k.next(S-w):(!M&&j(S),p)}}}function nd(s,e,t){const n=[],r=t||Es.mix||sa,i=s.length-1;for(let o=0;o<i;o++){let a=r(s[o],s[o+1]);if(e){const c=Array.isArray(e)?e[o]||cr:e;a=Rs(c,a)}n.push(a)}return n}function oa(s,e,{clamp:t=!0,ease:n,mixer:r}={}){const i=s.length;if($o(i===e.length),i===1)return()=>e[0];if(i===2&&e[0]===e[1])return()=>e[1];const o=s[0]===s[1];s[0]>s[i-1]&&(s=[...s].reverse(),e=[...e].reverse());const a=nd(e,n,r),c=a.length,u=d=>{if(o&&d<s[0])return e[0];let h=0;if(c>1)for(;h<s.length-2&&!(d<s[h+1]);h++);const p=Vo(s[h],s[h+1],d);return a[h](p)};return t?d=>u($t(s[0],s[i-1],d)):u}function rd(s,e){const t=s[s.length-1];for(let n=1;n<=e;n++){const r=Vo(0,e,n);s.push(dr(t,1,r))}}function sd(s){const e=[0];return rd(e,s.length-1),e}function id(s,e){return s.map(t=>t*e)}function od(s,e){return s.map(()=>e||Yo).splice(0,s.length-1)}function gn({duration:s=300,keyframes:e,times:t,ease:n="easeInOut"}){const r=u0(n)?n.map(mi):mi(n),i={done:!1,value:e[0]},o=id(t&&t.length===e.length?t:sd(e),s),a=oa(o,e,{ease:Array.isArray(r)?r:od(e,r)});return{calculatedDuration:s,next:c=>(i.value=a(c),i.done=c>=s,i)}}const ad=s=>s!==null;function ld(s,{repeat:e,repeatType:t="loop"},n,r=1){const i=s.filter(ad),a=r<0||e&&t!=="loop"&&e%2===1?0:i.length-1;return!a||n===void 0?i[a]:n}const cd={decay:es,inertia:es,tween:gn,keyframes:gn,spring:Qn};function ud(s){typeof s.type=="string"&&(s.type=cd[s.type])}class dd{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const fd=s=>s/100;class hd extends dd{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=()=>{const{motionValue:t}=this.options;t&&t.updatedAt!==mt.now()&&this.tick(mt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;ud(e);const{type:t=gn,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=e;let{keyframes:a}=e;const c=t||gn;c!==gn&&typeof a[0]!="number"&&(this.mixKeyframes=Rs(fd,sa(a[0],a[1])),a=[0,100]);const u=c({...e,keyframes:a});i==="mirror"&&(this.mirroredGenerator=c({...e,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=Ds(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=u}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:c}=this;if(this.startTime===null)return n.next(0);const{delay:u=0,keyframes:d,repeat:h,repeatType:p,repeatDelay:m,type:g,onUpdate:f,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let b=this.currentTime,j=n;if(h){const S=Math.min(this.currentTime,r)/a;let M=Math.floor(S),T=S%1;!T&&S>=1&&(T=1),T===1&&M--,M=Math.min(M,h+1),M%2&&(p==="reverse"?(T=1-T,m&&(T-=m/a)):p==="mirror"&&(j=o)),b=$t(0,1,T)*a}let w;y?(this.delayState.value=d[0],w=this.delayState):w=j.next(b),i&&!y&&(w.value=i(w.value));let{done:k}=w;!y&&c!==null&&(k=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const N=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return N&&g!==es&&(w.value=ld(d,this.options,x,this.speed)),f&&f(w.value),N&&this.finish(),w}then(e,t){return this.finished.then(e,t)}get duration(){return wt(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+wt(e)}get time(){return wt(this.currentTime)}set time(e){e=Jt(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(){const e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);const t=this.generator.next(e).value;return ia(n=>this.generator.next(n).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(mt.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=wt(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=U0,startTime:t}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),this.options.onPlay?.();const n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),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(mt.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}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)}}const _i=30,pd=s=>!isNaN(parseFloat(s)),xn={current:void 0};class md{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const r=mt.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=mt.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=pd(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new e0);const n=this.events[e].add(t);return e==="change"?()=>{n(),ur.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}
335setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&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 xn.current&&xn.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=mt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>_i)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,_i);return Wo(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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 gd(s,e){return new md(s,e)}const aa=s=>!!(s&&s.getVelocity);function xd(s,e,t){if(s==null)return[];if(s instanceof EventTarget)return[s];if(typeof s=="string"){const r=document.querySelectorAll(s);return r?Array.from(r):[]}return Array.from(s).filter(n=>n!=null)}function vd(...s){const e=!Array.isArray(s[0]),t=e?0:-1,n=s[0+t],r=s[1+t],i=s[2+t],o=s[3+t],a=oa(r,i,o);return e?a(n):a}function bd(s,e,t={}){const n=s.get();let r=null,i=n,o;const a=typeof n=="string"?n.replace(/[\d.-]/g,""):void 0,c=()=>{r&&(r.stop(),r=null),s.animation=void 0},u=()=>{const h=wi(s.get()),p=wi(i);if(h===p){c();return}const m=r?r.getGeneratorVelocity():s.getVelocity();c(),r=new hd({keyframes:[h,p],velocity:m,type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:o})},d=()=>{u(),s.animation=r??void 0,s.events.animationStart?.notify(),r?.then(()=>{s.animation=void 0,s.events.animationComplete?.notify()})};if(s.attach((h,p)=>{i=h,o=m=>p(Rr(m,a)),ur.postRender(d)},c),aa(e)){let h=t.skipInitialAnimation===!0;const p=e.on("change",g=>{h?(h=!1,s.jump(Rr(g,a),!1)):s.set(Rr(g,a))}),m=s.on("destroy",p);return()=>{p(),m()}}return c}function Rr(s,e){return e?s+e:s}function wi(s){return typeof s=="number"?s:parseFloat(s)}const la=_.createContext({transformPagePoint:s=>s,isStatic:!1,reducedMotion:"never"});function Is(s){const e=Bo(()=>gd(s)),{isStatic:t}=_.useContext(la);if(t){const[,n]=_.useState(s);_.useEffect(()=>e.on("change",n),[])}return e}function ca(s,e){const t=Is(e()),n=()=>t.set(e());return n(),Ku(()=>{const r=()=>ur.preRender(n,!1,!0),i=s.map(o=>o.on("change",r));return()=>{i.forEach(o=>o()),Xo(n)}}),t}function yd(s){xn.current=[],s();const e=ca(xn.current,s);return xn.current=void 0,e}function _d(s,e,t,n){if(typeof s=="function")return yd(s);const i=vd(e,t,n),o=Array.isArray(s)?ji(s,i):ji([s],([c])=>i(c)),a=Array.isArray(s)?void 0:s.accelerate;return a&&!a.isTransformed&&typeof e!="function"&&Array.isArray(t)&&n?.clamp!==!1&&(o.accelerate={...a,times:e,keyframes:t,isTransformed:!0}),o}function ji(s,e){const t=Bo(()=>[]);return ca(s,()=>{t.length=0;const n=s.length;for(let r=0;r<n;r++)t[r]=s[r].get();return e(t)})}function wd(s,e={}){const{isStatic:t}=_.useContext(la),n=()=>aa(s)?s.get():s;if(t)return _d(n);const r=Is(n());return _.useInsertionEffect(()=>bd(r,s,e),[r,JSON.stringify(e)]),r}function jd(s,e={}){return wd(s,{type:"spring",...e})}const Cd={some:0,all:1};function Td(s,e,{root:t,margin:n,amount:r="some"}={}){const i=xd(s),o=new WeakMap,a=u=>{u.forEach(d=>{const h=o.get(d.target);if(d.isIntersecting!==!!h)if(d.isIntersecting){const p=e(d.target,d);typeof p=="function"?o.set(d.target,p):c.unobserve(d.target)}
335else typeof h=="function"&&(h(d),o.delete(d.target))})},c=new IntersectionObserver(a,{root:t,rootMargin:n,threshold:typeof r=="number"?r:Cd[r]});return i.forEach(u=>c.observe(u)),()=>c.disconnect()}function Sd(s,{root:e,margin:t,amount:n,once:r=!1,initial:i=!1}={}){const[o,a]=_.useState(i);return _.useEffect(()=>{if(!s.current||r&&o)return;const c=()=>(a(!0),r?void 0:()=>a(!1)),u={root:e&&e.current||void 0,margin:t,amount:n};return Td(s.current,c,u)},[e,s,t,r,n]),o}function vn({to:s,from:e=0,direction:t="up",delay:n=0,duration:r=2,className:i="",startWhen:o=!0,separator:a="",endChar:c="",onStart:u,onEnd:d}){const h=_.useRef(null),p=Is(t==="down"?s:e),m=20+40*(1/r),g=100*(1/r),f=jd(p,{damping:m,stiffness:g}),x=Sd(h,{once:!0,margin:"0px"}),v=j=>{const w=j.toString();if(w.includes(".")){const k=w.split(".")[1];if(parseInt(k)!==0)return k.length}return 0},y=Math.max(v(e),v(s)),b=_.useCallback(j=>{const w=y>0,k={useGrouping:!!a,minimumFractionDigits:w?y:0,maximumFractionDigits:w?y:0},N=Intl.NumberFormat("en-US",k).format(j);return`${a?N.replace(/,/g,a):N}${c}`},[y,a]);return _.useEffect(()=>{h.current&&(h.current.textContent=b(t==="down"?s:e))},[e,s,t,b]),_.useEffect(()=>{if(x&&o){typeof u=="function"&&u();const j=setTimeout(()=>{p.set(t==="down"?e:s)},n*1e3),w=setTimeout(()=>{typeof d=="function"&&d()},n*1e3+r*1e3);return()=>{clearTimeout(j),clearTimeout(w)}}},[x,o,p,t,e,s,n,u,d,r]),_.useEffect(()=>{const j=f.on("change",w=>{h.current&&(h.current.textContent=b(w))});return()=>j()},[f,b]),l.jsx("span",{className:i,ref:h})}G.gsap.registerPlugin(Pe.ScrollTrigger);function Nd({children:s}){const e=_.useRef(null),t=s.split(" ");return _.useEffect(()=>{if(!e.current)return;const n=G.gsap.context(()=>{const r=e.current.querySelectorAll(".word");G.gsap.from(r,{opacity:0,y:0,stagger:.15,duration:.85,filter:"blur(10px)",ease:"power3.out"})},e);return()=>n.revert()},[]),l.jsx("span",{ref:e,children:t.map((n,r)=>l.jsx("span",{className:"word",style:{display:"inline-block",marginRight:"0.25em"},children:n},r))})}function Md({open:s,close:e,items:t}){const n=_.useRef(null),r=_.useRef([]);r.current=[];const i=o=>{o&&!r.current.includes(o)&&r.current.push(o)};return _.useEffect(()=>{s&&ve.fromTo(r.current,{rotation:25,opacity:0,transformOrigin:"50% 100%"},{rotation:0,opacity:1,duration:.5,stagger:.1,ease:"power3.out"})},[s]),l.jsxs("div",{ref:n,className:"fixed block lg:hidden left-0 top-0 w-full h-full bg-[#111111] z-50 flex flex-col flex-start p-8 justify-center",style:{transform:s?"translateX(0)":"translateX(100%)",opacity:s?1:0,transition:"transform 0.25s ease-in-out, opacity 0.15s ease-in-out",pointerEvents:s?"auto":"none"},children:[l.jsxs("div",{className:"absolute top-6 right-6 w-6 h-6 cursor-pointer",onClick:e,children:[l.jsx("div",{className:"w-full h-[2px] bg-white rotate-45 absolute top-1/2 left-0"}),l.jsx("div",{className:"w-full h-[2px] bg-white -rotate-45 absolute top-1/2 left-0"})]}),l.jsx("div",{className:"flex flex-1"}),l.jsx("div",{className:"mb-6 flex flex-col flex-start uppercase text-4xl font-semibold",children:t.map((o,a)=>l.jsxs("div",{className:"mb-2",children:[l.jsxs("a",{href:o.href,className:"flex will-change-transform items-end",ref:i,children:[l.jsx("span",{children:o.label}),l.jsx("span",{className:"ml-2 text-sm font-normal opacity-50",children:a+1})]}),o.children&&l.jsx("div",{className:"ml-6 my-3 flex flex-col flex-start",children:o.children.map((c,u)=>l.jsxs("a",{href:c.href,className:"mt-2 will-change-transform text-lg",ref:i,children:[l.jsx("span",{className:"opacity-70",children:c.label}),l.jsxs("span",{className:"ml-2 text-sm font-normal opacity-50",children:[a+1,".",u+1]})]},u))})]},a))}),l.jsx("div",{className:"flex flex-row flex-1 items-end opacity-100 justify-center",children:l.jsxs("div",{className:"flex items-center justify-center space-x-5",children:[l.jsx("a",{href:"https://github.com/nestjs",target:"_blank",className:"icon m-l-30 hover:opacity-60 transition-opacity",rel:"noreferrer",children:l.jsx("svg",{role:"img",viewBox:"0 0 24 24",className:"w-5 h-5 fill-current color-text",children:l.jsx("path",{d:Io.path})})}),l.jsx("a",{href:"https://twitter.com/nestframework",target:"_blank",className:"icon hover:opacity-60 transition-opacity",rel:"noreferrer",children:l.jsx("svg",{role:"img",viewBox:"0 0 24 24",className:"w-5 h-5 color-text fill-current",children:l.jsx("path",{d:zo.path})})}),l.jsx("a",{href:"https://discord.com/invite/G7Qnnhy",target:"_blank",className:"icon hover:opacity-60 transition-opacity",rel:"noreferrer",children:l.jsx("svg",{role:"img",viewBox:"0 0 24 24",className:"w-5 h-5 fill-current color-text",children:l.jsx("path",{d:Do.path})})}),l.jsx("a",{href:"https://linkedin.com/company/19078346",target:"_blank",className:"icon hover:opacity-60 transition-opacity",rel:"noreferrer",children:l.jsx("img",{src:Fo,alt:"Linkedin",className:"w-4 h-4 fill-current color-text"})})]})})]})}function kd({className:s="",style:e={},children:t,ElementTag:n="p"}){return l.jsx(n,{className:`bg-clip-text text-[#b5b5b5a4] animate-shine ${s}`,style:{...e,backgroundImage:"linear-gradient(120deg, #fff 30%, rgba(255, 255, 255, 0.5), #fff 70%)",backgroundSize:"200% 100%",WebkitBackgroun
335dClip:"text"},children:t})}const Ed=({children:s,className:e="",spotlightColor:t="rgba(255, 255, 255, 0.25)"})=>{const n=_.useRef(null),r=_.useRef(null),i=_.useRef(!1),o=_.useCallback(h=>{if(!n.current||!r.current||i.current)return;const p=n.current.getBoundingClientRect(),m=h.clientX-p.left,g=h.clientY-p.top;r.current.style.background=`radial-gradient(circle at ${m}px ${g}px, ${t}, transparent 60%)`},[t]),a=_.useCallback(()=>{i.current=!0,r.current&&(r.current.style.opacity="0.6")},[]),c=_.useCallback(()=>{i.current=!1,r.current&&(r.current.style.opacity="0")},[]),u=_.useCallback(()=>{r.current&&(r.current.style.opacity="0.6")},[]),d=_.useCallback(()=>{r.current&&(r.current.style.opacity="0")},[]);return l.jsxs("div",{ref:n,onMouseMove:o,onFocus:a,onBlur:c,onMouseEnter:u,onMouseLeave:d,className:`relative overflow-hidden ${e}`,children:[l.jsx("div",{ref:r,className:"pointer-events-none absolute inset-0 transition-opacity duration-120 ease-in-out",style:{opacity:0}}),s]})},ts={githubStars:74e3,monthlyDownloads:25e6,releasesCount:150,latestRelease:{version:"11.0.0",date:"Aug 7"}},ua="nest-stats-cache",Rd=1e3*60*60;function Ad(){try{const s=localStorage.getItem(ua);if(!s)return null;const e=JSON.parse(s);return Date.now()-e.timestamp>Rd?null:e.data}catch{return null}}function Ld(s){try{const e={data:s,timestamp:Date.now()};localStorage.setItem(ua,JSON.stringify(e))}catch{}}async function Pd(){const[s,e,t]=await Promise.all([fetch("https://api.github.com/repos/nestjs/nest"),fetch("https://api.github.com/repos/nestjs/nest/releases/latest"),fetch("https://api.github.com/repos/nestjs/nest/releases?per_page=1")]);if(!s.ok||!e.ok)throw new Error("GitHub API request failed");const n=await s.json(),r=await e.json();let i=ts.releasesCount;const o=t.headers.get("Link");if(o){const u=o.match(/page=(\d+)>;\s*rel="last"/);u&&(i=parseInt(u[1],10))}const c=new Date(r.published_at).toLocaleDateString("en-US",{month:"short",day:"numeric"});return{stars:n.stargazers_count,latestRelease:{version:r.tag_name?.replace(/^v/,"")??ts.latestRelease.version,date:c},releasesCount:i}}async function Od(){const s=await fetch("https://api.npmjs.org/downloads/point/last-month/@nestjs/core");if(!s.ok)throw new Error("NPM API request failed");return(await s.json()).downloads}async function Dd(){const s=Ad();if(s)return s;try{const[e,t]=await Promise.all([Pd(),Od()]),n={githubStars:e.stars,monthlyDownloads:t,releasesCount:e.releasesCount,latestRelease:e.latestRelease};return Ld(n),n}catch{return ts}}const Id="_navPanel_5asve_1",on={navPanel:Id},zd=2e3,Ci={state:"hidden",coords:{x:0,y:0},items:null};function Fd({stats:s,menuItems:e,shrink:t=!0,heading:n="More than just a Node framework",subheading:r="Nest - the world's fastest-growing Node framework for building efficient, reliable and scalable server-side applications.",breadcrumb:i,bottomPanel:o,fadeInColors:a,menuAction:c,background:u=!0,variant:d="full",actions:h=l.jsxs(l.Fragment,{children:[l.jsx(rr,{href:"https://docs.nestjs.com/",className:"mr-5",target:"_blank",children:"Get started"}),l.jsx(Lo,{href:"https://github.com/nestjs",target:"_blank",children:"Github"})]})}){const p=_.useRef(null),[m,g]=_.useState(null),[f,x]=_.useState(Ci),[v,y]=_.useState(!1),b=_.useRef(null),[j,w]=_.useState(!1),k=_.useCallback((T,C)=>{if(g(T),T.children){const R=C.currentTarget.getBoundingClientRect(),A=0,E=window.scrollY||window.pageYOffset;x({state:"visible",items:T.children,coords:{x:R.left,y:R.bottom+A+E}})}},[]),N=_.useCallback(T=>{b.current&&clearTimeout(b.current),x(C=>({...C,state:"hidden"})),b.current=setTimeout(()=>{x(Ci),g(null)},zd)},[]),S=_.useCallback((T,C)=>{const R=C.relatedTarget;if(R){if(R.classList.contains("menu-item")){N(T);return}if(R.classList.contains("submenu"))return}T.children?N(T):g(null)},[]),M=_.useMemo(()=>{if(!a)return;function T(R,A){const E=parseInt(R.replace("#",""),16);let L=E>>16&255,O=E>>8&255,F=E&255;return L=Math.floor(L*(1-A)),O=Math.floor(O*(1-A)),F=Math.floor(F*(1-A)),`#${[L,O,F].map(z=>z.toString(16).padStart(2,"0")).join("")}`}function C(R,A){const E=parseInt(R.replace("#",""),16);let L=E>>16&255,O=E>>8&255,F=E&255;return L=Math.round(L+(255-L)*A),O=Math.round(O+(255-O)*A),F=Math.round(F+(255-F)*A),`#${[L,O,F].map(z=>z.toString(16).padStart(2,"0")).join("")}`}return{from:C(a.css,.2),to:T(a.css,.4)}},[a]);return l.jsxs("header",{className:`${d==="menu"?"":"sm:p-10 p-4"}`,children:[l.jsxs("div",{ref:p,className:`flex justify-center overflow-hidden relative pb-16 sm:rounded-[32px] rounded-[16px] 
336          ${j||d==="menu"?"opacity-100":"opacity-0"}
337          ${d==="menu"?"":t?"xl:h-[91vh] min-h-[780px] xl:max-h-[920px]":o?"min-h-[680px] flex-col items-center":"xl:h-[85vh] min-h-[680px] xl:max-h-[920px]"}`,children:[a?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:`absolute inset-0 bg-gradient-to-r from-[#050303] via-[#780f20] to-[#050303]
338              animate-fade-out`}),l.jsx("div",{className:"absolute inset-0 opacity-0 animate-fade-in",style:{background:`linear-gradient(to right, ${a.css}, ${a.css} 50%, ${a.css} 100%)`}})]}):u?l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[#050303] via-[#780f20] to-[#050303]"}):null,u&&l.jsx(Mi,{className:"absolute inset-0 z-0 top-[0px] bottom-[0px] left-[0px] right-[0px] pointer-events-none",threshold:0,rootMargin:"800px 0px 0px 0px",skip:!!a,children:l.jsxs(l.Fragment,{children:[l.jsx(ss,{onReady:()=>w(!0),transitionColorStops:a||void 0,glowColor:a?a.desktop[1]:void 0}),l.jsx(sr,{})]})}),l.jsxs("div",{className:"container relative z-10 transition-opacity duration-500 2xl:px-0 md:px-8 px-6",children:[l.jsx(Z,{delay:.1,children:l.jsx("div",{className:"sm:rounded-[32px] rounded-[16px] xl:mt-16 lg:mt-10 mt-7 relative overflow-hidden",children:l.jsx(Ed,{children:l.jsxs("div",{className:`${on.navPanel} flex items-center p-5 bg-black/60 sm:rounded-[32px] rounded-[16px] justify-between lg:justify-start`,children:[d==="menu"?l.jsx("div",{className:"border border-white/10 absolute inset-0 sm:rounded-[32px] rounded-[16px] pointer-events-none"}
338):null,l.jsx("div",{className:"flex justify-start",children:l.jsx("a",{href:"https://nestjs.com",children:l.jsx("img",{src:"/logo.svg",alt:"NestJS Logo",className:"h-10"})})}),l.jsx("nav",{className:"lg:flex hidden justify-center font-medium text-base flex-1",children:e.map(T=>l.jsxs("div",{onMouseEnter:C=>k(T,C),onMouseLeave:C=>S(T,C),className:`px-5 menu-item ${T.children?"menu-item--children":""}`,children:[l.jsx("a",{href:T.href,className:T===m||m===null?"text-white hover:opacity-100 duration-300":"opacity-50 duration-300 blur-[1px]",children:T===m?l.jsx(kd,{className:"inline",children:T.label}):T.label}),T.children&&l.jsx("span",{className:`pl-2 ${T===m?"opacity-60 cursor-pointer":m===null?"opacity-100":"opacity-30 blur-[1px]"} transition-opacity duration-300`,children:l.jsx(Uc,{className:"inline-block w-4 h-4 transition-opacity duration-300"})})]},T.id))}),l.jsxs("div",{className:"lg:flex hidden justify-end space-x-5 items-center",children:[l.jsx("a",{href:"https://github.com/nestjs",target:"_blank",className:"icon m-l-30 hover:opacity-60 transition-opacity",rel:"noreferrer",children:l.jsx("svg",{role:"img",viewBox:"0 0 24 24",className:"w-5 h-5 fill-current color-text",children:l.jsx("path",{d:Io.path})})}),l.jsx("a",{href:"https://twitter.com/nestframework",target:"_blank",className:"icon hover:opacity-60 transition-opacity",rel:"noreferrer",children:l.jsx("svg",{role:"img",viewBox:"0 0 24 24",className:"w-5 h-5 color-text fill-current",children:l.jsx("path",{d:zo.path})})}),l.jsx("a",{href:"https://discord.com/invite/G7Qnnhy",target:"_blank",className:"icon hover:opacity-60 transition-opacity",rel:"noreferrer",children:l.jsx("svg",{role:"img",viewBox:"0 0 24 24",className:"w-5 h-5 fill-current color-text",children:l.jsx("path",{d:Do.path})})}),l.jsx("a",{href:"https://linkedin.com/company/19078346",target:"_blank",className:"icon hover:opacity-60 transition-opacity",rel:"noreferrer",children:l.jsx("img",{src:Fo,alt:"Linkedin",className:"w-4 h-4 fill-current color-text"})})]}),l.jsxs("div",{className:"lg:hidden flex justify-end items-center",children:[l.jsx("div",{className:`${on.mobileMenu} relative w-6 h-5 cursor-pointer`,onClick:()=>{y(T=>!T)},children:l.jsxs("div",{className:`${on.mobileMenuLine} absolute top-1/2 left-0 right-0 w-full h-[2px] bg-white rounded transition-transform duration-300`,children:[l.jsx("div",{className:`${on.mobileMenuLineBefore} absolute top-[-8px] left-0 right-0 w-full h-[2px] bg-white rounded transition-transform duration-300`}),l.jsx("div",{className:`${on.mobileMenuLineAfter} absolute top-[8px] left-0 right-0 w-full h-[2px] bg-white rounded transition-transform duration-300`})]})}),c&&l.jsx("div",{className:"mr-[-12px] mt-[-12px] mb-[-12px] ml-[24px]",children:c})]}),c&&l.jsx("div",{className:"mr-[-12px] mt-[-12px] mb-[-12px] ml-[40px] lg:flex hidden",children:c})]})})})}),d==="full"&&l.jsxs("div",{className:`centered text-center pt-[6.5rem] 2xl:pt-[7rem] flex flex-col items-center ${o?"pb-0":"pb-40"}`,children:[i&&l.jsx(Z,{children:l.jsx(Le,{children:i})}),l.jsx("h1",{className:`
339              ${t?"lg:text-[7rem] lg:leading-[0.95] text-5xl md:text-7xl leading-[1.1]":"lg:text-[4rem] lg:leading-[1.15] text-4xl md:text-5xl leading-[1]"} font-medium max-w-4xl self-center px-4 sm:px-0
340            `,children:l.jsx(Nd,{children:n})}),l.jsx(Z,{delay:.35,children:l.jsx("p",{className:"mt-4 sm:text-sm text-[0.8rem] font-light font-mono opacity-80 max-w-2xl sm:leading-[24px] leading-[22px] lg:p-0 px-8",children:r})}),h&&l.jsx("div",{className:`${t?"mt-24 2xl:mt-20":"mt-10"}`,children:l.jsx(Z,{delay:.7,distance:10,children:h})})]})]}),l.jsx("div",{className:"absolute right-20 bottom-[3.75rem] sm:leading-10 leading-8 font-mono sm:text-sm text-xs sm:text-right text-center",children:s&&l.jsx(Z,{distance:5,delay:.25,threshold:.05,children:l.jsxs(l.Fragment,{children:[l.jsxs("p",{children:[l.jsx("span",{className:"opacity-70 mr-4",children:"Github stars"}),l.jsx(vn,{to:s.githubStars,from:0,duration:2,separator:","})]}),l.jsxs("p",{children:[l.jsx("span",{className:"opacity-70 mr-4",children:"Latest release"})," ",s.latestRelease.date," / ",s.latestRelease.version]}),l.jsxs("p",{children:[l.jsx("span",{className:"opacity-70 mr-4",children:"Monthly downloads"})," ",l.jsx(vn,{to:s.monthlyDownloads,from:0,duration:.5,separator:","})]})]})})}),o]}),l.jsx("div",{className:"submenu absolute top-full z-[100] pt-12 duration-[600ms] transition",style:{left:f.coords.x,top:f.coords.y,...f.state==="visible"?{pointerEvents:"auto",opacity:1,filter:"blur(0)",transform:"translate(-50%, 0)"}:{pointerEvents:"none",opacity:0,filter:"blur(4px)",transform:"translate(-50%, 30px)"}},onMouseEnter:()=>{b.current&&clearTimeout(b.current)},onMouseLeave:T=>{const C=T.relatedTarget;C&&C.classList.contains("menu-item--children")||(N(m),g(null))},children:l.jsx("div",{className:"w-max backdrop-blur-lg rounded-[24px] p-2 shadow-xl shadow-xl/20 border border-white/15 flex",style:{maxWidth:"1120px",background:a?`linear-gradient(135deg, ${M?.from} 0%, ${M?.to} 100%)`:d==="menu"?"linear-gradient(135deg, #0a0a0a 0%, #181818 100%)":"linear-gradient(135deg, #4e242a 0%, #44161e 100%)"},children:f.items?.map(T=>l.jsxs("a",{href:T.href,className:"group block p-4 rounded-[20px] hover:bg-white/10 transition-colors flex-1",children:[l.jsx("div",{className:"rounded-[16px] overflow-hidden mb-5 shadow-lg",children:l.jsx("img",{src:T.thumbnail,alt:T.label,className:"w-full group-hover:scale-105 transition-transform duration-300"})}),l.jsx("div",{className:"font-medium text-lg mb-1",children:T.label}),l.jsx("div",{className:"text-sm opacity-70 font-mono",children:T.description})]},T.id))})}),l.jsx(Md,{open:v,close:()=>y(!1),items:e})]})}const Bd="/assets/devtools_1-DM6qFq1q.png",$d="/assets/devtools_2-DiJ21KYC.png",Vd="/assets/devtools_3-TsD2vA4y.png",Wd="/assets/mau_1-DK3vbKxV.png",qd="/assets/mau_2-VkyfjmLo.png",Hd="/assets/mau_3-DBCCpgW5.png",Ud="/assets/observe_1-Cp8b2ttb.png",Gd="/assets/observe_2-CtWyPf3I.png",Yd="/assets/observe_3-Cckv7T_7.png";
vendor: 6,967 bytes, lines 340-342
340var un={exports:{}};var Xd=un.exports,Ti;function Zd(){return Ti||(Ti=1,(function(s,e){(function(t,n){n(e)})(Xd,(function(t){let n,r,i=typeof Symbol=="function"?Symbol():"_split",o,a=()=>o||T.register(window.gsap),c=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,u=C=>C?typeof C=="string"?u(document.querySelectorAll(C)):"length"in C?Array.from(C).reduce((R,A)=>(typeof A=="string"?R.push(...u(A)):R.push(A),R),[]):[C]:[],d=C=>u(C).filter(R=>R&&R.nodeType===1),h=[],p=function(){},m={add:C=>C()},g=/\s+/g,f=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),x={left:0,top:0,width:0,height:0},v=(C,R)=>{for(;++R<C.length&&C[R]===x;);return C[R]||x},y=({element:C,html:R,ariaL:A,ariaH:E})=>{C.innerHTML=R,A?C.setAttribute("aria-label",A):C.removeAttribute("aria-label"),E?C.setAttribute("aria-hidden",E):C.removeAttribute("aria-hidden")},b=(C,R)=>{if(R){let A=new Set(C.join("").match(R)||h),E=C.length,L,O,F,z;if(A.size)for(;--E>-1;){O=C[E];for(F of A)if(F.startsWith(O)&&F.length>O.length){for(L=0,z=O;F.startsWith(z+=C[E+ ++L])&&z.length<F.length;);if(L&&z.length===F.length){C[E]=F,C.splice(E+1,L);break}}}}return C},j=C=>window.getComputedStyle(C).display==="inline"&&(C.style.display="inline-block"),w=(C,R,A)=>R.insertBefore(typeof C=="string"?document.createTextNode(C):C,A),k=(C,R,A)=>{let E=R[C+"sClass"]||"",{tag:L="div",aria:O="auto",propIndex:F=!1}=R,z=C==="line"?"block":"inline-block",D=E.indexOf("++")>-1,I=P=>{let $=document.createElement(L),W=A.length+1;return E&&($.className=E+(D?" "+E+W:"")),F&&$.style.setProperty("--"+C,W+""),O!=="none"&&$.setAttribute("aria-hidden","true"),L!=="span"&&($.style.position="relative",$.style.display=z),$.textContent=P,A.push($),$};return D&&(E=E.replace("++","")),I.collection=A,I},N=(C,R,A,E)=>{let L=k("line",A,E),O=window.getComputedStyle(C).textAlign||"left";return(F,z)=>{let D=L("");for(D.style.textAlign=O,C.insertBefore(D,R[F]);F<z;F++)D.appendChild(R[F]);D.normalize()}},S=(C,R,A,E,L,O,F,z,D,I)=>{var P;let $=Array.from(C.childNodes),W=0,{wordDelimiter:V,reduceWhiteSpace:U=!0,prepareText:de}=R,fe=C.getBoundingClientRect(),re=fe,_e=!U&&window.getComputedStyle(C).whiteSpace.substring(0,3)==="pre",se=0,Y=A.collection,B,q,J,H,ee,me,Me,K,Q,Te,ke,Ee,Be,nt,be,oe,dt,Se;for(typeof V=="object"?(J=V.delimiter||V,q=V.replaceWith||""):q=V===""?"":V||" ",B=q!==" ";W<$.length;W++)if(H=$[W],H.nodeType===3){for(be=H.textContent||"",U?be=be.replace(g," "):_e&&(be=be.replace(/\n/g,q+`
341`)),de&&(be=de(be,C)),H.textContent=be,ee=q||J?be.split(J||q):be.match(z)||h,dt=ee[ee.length-1],K=B?dt.slice(-1)===" ":!dt,dt||ee.pop(),re=fe,Me=B?ee[0].charAt(0)===" ":!ee[0],Me&&w(" ",C,H),ee[0]||ee.shift(),b(ee,D),O&&I||(H.textContent=""),Q=1;Q<=ee.length;Q++)if(oe=ee[Q-1],!U&&_e&&oe.charAt(0)===`
342`&&((P=H.previousSibling)==null||P.remove(),w(document.createElement("br"),C,H),oe=oe.slice(1)),!U&&oe==="")w(q,C,H);else if(oe===" ")C.insertBefore(document.createTextNode(" "),H);else{if(B&&oe.charAt(0)===" "&&w(" ",C,H),se&&Q===1&&!Me&&Y.indexOf(se.parentNode)>-1?(me=Y[Y.length-1],me.appendChild(document.createTextNode(E?"":oe))):(me=A(E?"":oe),w(me,C,H),se&&Q===1&&!Me&&me.insertBefore(se,me.firstChild)),E)for(ke=c?b([...c.segment(oe)].map($e=>$e.segment),D):oe.match(z)||h,Se=0;Se<ke.length;Se++)me.appendChild(ke[Se]===" "?document.createTextNode(" "):E(ke[Se]));if(O&&I){if(be=H.textContent=be.substring(oe.length+1,be.length),Te=me.getBoundingClientRect(),Te.top>re.top&&Te.left<=re.left){for(Ee=C.cloneNode(),Be=C.childNodes[0];Be&&Be!==me;)nt=Be,Be=Be.nextSibling,Ee.appendChild(nt);C.parentNode.insertBefore(Ee,C),L&&j(Ee)}re=Te}(Q<ee.length||K)&&w(Q>=ee.length?" ":B&&oe.slice(-1)===" "?" "+q:q,C,H)}C.removeChild(H),se=0}else H.nodeType===1&&(F&&F.indexOf(H)>-1?(Y.indexOf(H.previousSibling)>-1&&Y[Y.length-1].appendChild(H),se=H):(S(H,R,A,E,L,O,F,z,D,!0),se=0),L&&j(H))};const M=class da{constructor(R,A){this.isSplit=!1,a(),this.elements=d(R),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=A,this.elements.forEach(F=>{var z;A.overwrite!==!1&&((z=F[i])==null||z._data.orig.filter(({element:D})=>D===F).forEach(y)),F[i]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let E=[],L,O=()=>{let F=E.length,z;for(;F--;){z=E[F];let D=z.element.offsetWidth;if(D!==z.width){z.width=D,this._split();return}}};this._data={orig:E,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(L),L=setTimeout(O,200)})},p(this),this.split(A)}split(R){return(this._ctx||m).add(()=>{this.isSplit&&this.revert(),this.vars=R=R||this.vars||{};let{type:A="chars,words,lines",aria:E="auto",deepSlice:L=!0,smartWrap:O,onSplit:F,autoSplit:z=!1,specialChars:D,mask:I}=this.vars,P=A.indexOf("lines")>-1,$=A.indexOf("chars")>-1,W=A.indexOf("words")>-1,V=$&&!W&&!P,U=D&&("push"in D?new RegExp("(?:"+D.join("|")+")","gu"):D),de=U?new RegExp(U.source+"|"+f.source,"gu"):f,fe=!!R.ignore&&d(R.ignore),{orig:re,animTime:_e,obs:se}=this._data,Y;($||W||P)&&(this.elements.forEach((B,q)=>{re[q]={element:B,html:B.innerHTML,ariaL:B.getAttribute("aria-label"),ariaH:B.getAttribute("aria-hidden")},E==="auto"?B.setAttribute("aria-label",(B.textContent||"").trim()):E==="hidden"&&B.setAttribute("aria-hidden","true");let J=[],H=[],ee=[],me=$?k("char",R,J):null,Me=k("word",R,H),K,Q,Te,ke;if(S(B,R,Me,me,V,L&&(P||V),fe,de,U,!1),P){let Ee=u(B.childNodes),Be=N(B,Ee,R,ee),nt,be=[],oe=0,dt=Ee.map(ft=>ft.nodeType===1?ft.getBoundingClientRect():x),Se=x,$e;for(K=0;K<Ee.length;K++)nt=Ee[K],nt.nodeType===1&&(nt.nodeName==="BR"?((!K||Ee[K-1].nodeName!=="BR")&&(be.push(nt),Be(oe,K+1)),oe=K+1,Se=v(dt,K)):($e=dt[K],K&&$e.top>Se.top&&$e.left<Se.left+Se.width-1&&(Be(oe,K),oe=K),Se=$e));oe<K&&Be(oe,K),be.forEach(ft=>{var Wt;return(Wt=ft.parentNode)==null?void 0:Wt.removeChild(ft)})}if(!W){for(K=0;K<H.length;K++)if(Q=H[K],$||!Q.nextSibling||Q.nextSibling.nodeType!==3)if(O&&!P){for(Te=document.createElement("span"),Te.style.whiteSpace="nowrap";Q.firstChild;)Te.appendChild(Q.firstChild);Q.replaceWith(Te)}else Q.replaceWith(...Q.childNodes);else ke=Q.nextSibling,ke&&ke.nodeType===3&&(ke.textContent=(Q.textContent||"")+(ke.textContent||""),Q.remove());H.length=0,B.normalize()}this.lines.push(...ee),this.words.push(...H),this.chars.push(...J)}),I&&this[I]&&this.masks.push(...this[I].map(B=>{let q=B.cloneNode();return B.replaceWith(q),q.appendChild(B),B.className&&(q.className=B.className.trim().split(" ").map(J=>J+"-mask").join(" ")),q.style.overflow="clip",q}))),this.isSplit=!0,r&&P&&z&&r.addEventListener("loadingdone",this._split),(Y=F&&F(this))&&Y.totalTime&&(this._data.anim=_e?Y.totalTime(_e):Y),P&&z&&this.elements.forEach((B,q)=>{re[q].width=B.offsetWidth,se&&se.observe(B)})}),this}kill(){let{obs:R}=this._data;R&&R.disconnect(),r?.removeEventListener("loadingdone",this._split)}revert(){var R,A;if(this.isSplit){let{orig:E,anim:L}=this._data;
342this.kill(),E.forEach(y),this.chars.length=this.words.length=this.lines.length=E.length=this.masks.length=0,this.isSplit=!1,L&&(this._data.animTime=L.totalTime(),L.revert()),(A=(R=this.vars).onRevert)==null||A.call(R,this)}return this}static create(R,A){return new da(R,A)}static register(R){n=n||R||window.gsap,n&&(u=n.utils.toArray,p=n.core.context||p),!o&&window.innerWidth>0&&(r=document.fonts,o=!0)}};M.version="3.15.0";let T=M;t.SplitText=T,t.default=T,Object.defineProperty(t,"__esModule",{value:!0})}))})(un,un.exports)),un.exports}var fa=Zd();G.gsap.registerPlugin(Pe.ScrollTrigger,fa.SplitText);function Kd({children:s,ElementTag:e="p",subComponent:t}){const n=_.useRef(null),r=_.useRef(null),i=_.useRef(null);return _.useEffect(()=>{if(!n.current)return;const o=r.current,a=G.gsap.context(()=>{const c=fa.SplitText.create(n.current.querySelectorAll(e),{type:"chars",charsClass:"inline-block will-change-transform opacity-20",reduceWhiteSpace:!1});c.chars.forEach(p=>{const m=p;G.gsap.set(m,{attr:{"data-content":m.innerHTML}})});const u=c.chars;let d=u.length-1,h=0;for(let p=u.length-1;p>=0&&!(u[p].textContent.trim()===""&&(d=p+1,h++,h===2));p--);Pe.ScrollTrigger.create({trigger:o,start:"top top",end:"bottom top",scrub:!0,onLeaveBack:()=>{c.chars.forEach(p=>{const m=p;G.gsap.to(m,{opacity:.2,duration:.3,overwrite:!0})})},onUpdate:()=>{const p=o.getBoundingClientRect(),g=n.current.getBoundingClientRect().height+200,f=Math.abs(p.top),x=p.height,v=c.chars.length,y=(x-g)/v;c.chars.forEach((j,w)=>{const k=j,N=w*y,S=f>N?1:.2;G.gsap.to(k,{opacity:S,duration:.3,overwrite:!0})}),f>x-g?(c.chars.forEach((j,w)=>{const k=j,N=w>=d;G.gsap.to(k,{opacity:N?1:.2,duration:.3,overwrite:!0})}),G.gsap.to(i.current,{opacity:1,duration:.5,ease:"power2.out",filter:"blur(0px)",overwrite:!0})):G.gsap.to(i.current,{opacity:0,duration:.5,ease:"power2.out",filter:"blur(10px)",overwrite:!0})}})},o);return()=>a.revert()},[]),l.jsx("div",{ref:r,className:"will-change-transform h-[300vh] relative",children:l.jsx("div",{className:"w-full h-[100vh] sticky top-[0] overflow-hidden",children:l.jsxs("div",{className:"w-full h-full relative overflow-hidden",children:[l.jsx("div",{ref:n,className:"relative flex flex-col items-center justify-center h-full w-full",children:s}),t&&l.jsx("div",{className:"absolute top-1/2 left-0 right-0 opacity-0 blur-xl xl:translate-y-[75%] md:translate-y-[50%] translate-y-[25%] will-change-opacity will-change-filter",ref:i,children:t})]})})})}const Jd=["#ffffff","#ffffff","#ffffff"],Qd=s=>{s=s.replace(/^#/,""),s.length===3&&(s=s.split("").map(i=>i+i).join(""));const e=parseInt(s,16),t=(e>>16&255)/255,n=(e>>8&255)/255,r=(e&255)/255;return[t,n,r]},ef=`
343  attribute vec3 position;
344  attribute vec4 random;
345  attribute vec3 color;
346  
347  uniform mat4 modelMatrix;
348  uniform mat4 viewMatrix;
349  uniform mat4 projectionMatrix;
350  uniform float uTime;
351  uniform float uSpread;
352  uniform float uBaseSize;
353  uniform float uMaxPointSize;
354  uniform float uSizeRandomness;
355  
356  varying vec4 vRandom;
357  varying vec3 vColor;
358  
359  void main() {
360    vRandom = random;
361    vColor = color;
362    
363    vec3 pos = position * uSpread;
364    pos.z *= 10.0;
365    
366    vec4 mPos = modelMatrix * vec4(pos, 1.0);
367    float t = uTime;
368    mPos.x += sin(t * random.z + 6.28 * random.w) * mix(0.1, 1.5, random.x);
369    mPos.y += sin(t * random.y + 6.28 * random.x) * mix(0.1, 1.5, random.w);
370    mPos.z += sin(t * random.w + 6.28 * random.y) * mix(0.1, 1.5, random.z);
371    
372    vec4 mvPos = viewMatrix * mPos;
373
374    float depth = max(abs(mvPos.z), 1.0);
375    float sizeVariance = mix(1.0 - 0.35 * uSizeRandomness, 1.0 + 0.35 * uSizeRandomness, random.x);
376    float pointSize = (uBaseSize * sizeVariance) / depth;
377    gl_PointSize = clamp(pointSize, 1.5, uMaxPointSize);
378    
379    gl_Position = projectionMatrix * mvPos;
380    gl_Position = projectionMatrix * mvPos;
381  }
382`,tf=`
383  precision highp float;
384  
385  uniform float uTime;
386  uniform float uAlphaParticles;
387  varying vec4 vRandom;
388  varying vec3 vColor;
389  
390  void main() {
391    vec2 uv = gl_PointCoord.xy;
392    float d = length(uv - vec2(0.5));
393    
394    if(uAlphaParticles < 0.5) {
395      if(d > 0.5) {
396        discard;
397      }
398      gl_FragColor = vec4(vColor + 0.2 * sin(uv.yxx + uTime + vRandom.y * 6.28), 1.0
398);
399    } else {
400      float circle = smoothstep(0.5, 0.4, d) * 0.8;
401      gl_FragColor = vec4(vColor + 0.2 * sin(uv.yxx + uTime + vRandom.y * 6.28), circle);
402    }
403  }
404`,nf=({particleCount:s=200,particleSpread:e=10,speed:t=.1,particleColors:n,moveParticlesOnHover:r=!1,particleHoverFactor:i=1,alphaParticles:o=!1,particleBaseSize:a=100,particleMaxSize:c=4,sizeRandomness:u=1,cameraDistance:d=20,disableRotation:h=!1,pixelRatio:p=1,className:m})=>{const g=_.useRef(null),f=_.useRef({x:0,y:0});return _.useEffect(()=>{const x=g.current;if(!x)return;const v=new er({dpr:p,depth:!1,alpha:!0}),y=v.gl;x.appendChild(y.canvas),y.clearColor(0,0,0,0),y.canvas.style.width="100%",y.canvas.style.height="100%",y.canvas.style.display="block";const b=new ka(y,{fov:15});b.position.set(0,0,d);const j=()=>{const D=x.clientWidth,I=x.clientHeight;D===0||I===0||(v.setSize(D,I),b.perspective({aspect:y.canvas.width/y.canvas.height}))},w=new ResizeObserver(j);window.addEventListener("resize",j,!1),w.observe(x),j();const k=D=>{const I=x.getBoundingClientRect(),P=(D.clientX-I.left)/I.width*2-1,$=-((D.clientY-I.top)/I.height*2-1);f.current={x:P,y:$}};r&&x.addEventListener("mousemove",k);const N=s,S=new Float32Array(N*3),M=new Float32Array(N*4),T=new Float32Array(N*3),C=n&&n.length>0?n:Jd;for(let D=0;D<N;D++){let I,P,$,W;do I=Math.random()*2-1,P=Math.random()*2-1,$=Math.random()*2-1,W=I*I+P*P+$*$;while(W>1||W===0);const V=Math.cbrt(Math.random());S.set([I*V,P*V,$*V],D*3),M.set([Math.random(),Math.random(),Math.random(),Math.random()],D*4);const U=Qd(C[Math.floor(Math.random()*C.length)]);T.set(U,D*3)}const R=new Ta(y,{position:{size:3,data:S},random:{size:4,data:M},color:{size:3,data:T}}),A=new tr(y,{vertex:ef,fragment:tf,uniforms:{uTime:{value:0},uSpread:{value:e},uBaseSize:{value:a*p},uMaxPointSize:{value:c*p},uSizeRandomness:{value:u},uAlphaParticles:{value:o?1:0}},transparent:!0,depthTest:!1}),E=new nr(y,{mode:y.POINTS,geometry:R,program:A});let L,O=performance.now(),F=0;const z=D=>{L=requestAnimationFrame(z);const I=D-O;O=D,F+=I*t,A.uniforms.uTime.value=F*.001,r?(E.position.x=-f.current.x*i,E.position.y=-f.current.y*i):(E.position.x=0,E.position.y=0),h||(E.rotation.x=Math.sin(F*2e-4)*.1,E.rotation.y=Math.cos(F*5e-4)*.15,E.rotation.z+=.01*t),v.render({scene:E,camera:b})};return L=requestAnimationFrame(z),()=>{window.removeEventListener("resize",j),w.disconnect(),r&&x.removeEventListener("mousemove",k),cancelAnimationFrame(L),x.contains(y.canvas)&&x.removeChild(y.canvas)}},[s,e,t,r,i,o,a,c,u,d,h,p]),l.jsx("div",{ref:g,className:`relative w-full h-full ${m}`})};function rf({onSwipeLeft:s,onSwipeRight:e,onSwipeUp:t,onSwipeDown:n,threshold:r=50}){const i=_.useRef(null),o=_.useRef(null),a=(u,d)=>{i.current=u,o.current=d},c=(u,d)=>{if(i.current===null||o.current===null)return;const h=u-i.current,p=d-o.current;Math.abs(h)>Math.abs(p)?(h>r&&e?.(),h<-r&&s?.()):(p>r&&n?.(),p<-r&&t?.()),i.current=null,o.current=null};return{onTouchStart:u=>a(u.touches[0].clientX,u.touches[0].clientY),onTouchEnd:u=>c(u.changedTouches[0].clientX,u.changedTouches[0].clientY),onMouseDown:u=>a(u.clientX,u.clientY),onMouseUp:u=>c(u.clientX,u.clientY)}}const Ar=8e3;function Lr({title:s,description:e,screenshots:t,cardItems:n,onClick:r,itemsBackground:i="radial-gradient(circle at 75% 50%, rgba(40, 40, 40, 1), #191919 25%)",colors:o=["#890f21","#c5374a","#890f21"]}){const a=Pt("(max-width: 992px)"),[c,u]=_.useState(0),d=rf({onSwipeLeft:()=>u(b=>(b+1)%n.length),onSwipeRight:()=>u(b=>(b-1+n.length)%n.length)}),[h,p]=_.useState(!1),m=_.useRef(null),g=_.useRef(null),f=b=>{if(!m.current)return;const j=b.currentTarget.getBoundingClientRect();m.current.style.left=`${b.clientX-j.left}px`,m.current.style.top=`${b.clientY-j.top}px`},x=b=>{p(!0)},v=b=>{p(!1)},y=_.useCallback(b=>{u(b),g.current&&clearInterval(g.current),g.current=setInterval(()=>{u(j=>(j+1)%n.length)},Ar)},[n.length]);return _.useEffect(()=>{const b=setInterval(()=>{u(j=>(j+1)%n.length)},Ar);return g.current=b,()=>{g.current&&clearInterval(g.current)}},[]),l.jsxs("div",{className:"relative flex flex-col items-center lg:h-[calc(100vh-80px)] h-[calc(100vh-40px)] sm:rou
404nded-[24px] rounded-[16px] overflow-hidden",children:[l.jsx("div",{className:"relative flex flex-grow-1 w-full",children:l.jsxs("div",{className:"flex md:block flex-col text-center min-h-[250px] sm:px-16 sm:pt-14 px-12 pt-12 pb-0 relative z-10 overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 z-0 left-0 right-0 top-0 bottom-0 z-1",children:[l.jsx("div",{className:"absolute left-0 top-0 bottom-0 right-0 z-0",style:{background:`linear-gradient(135deg, ${o[0]} 0%, ${o[1]} 50%, ${o[2]} 100%)`}}),l.jsx(Z,{duration:.9,delay:.2,ease:"power2.in",className:"absolute left-0 top-0 bottom-0 right-0 z-0",children:l.jsx("div",{className:"md:bg-[radial-gradient(circle_at_50%_60%,rgba(255,255,255,1),transparent_30%)] bg-[radial-gradient(circle_at_50%_80%,rgba(255,255,255,0.9),transparent_30%)] absolute inset-0 z-0 left-0 right-0 top-0 bottom-0 z-1 opacity-90 blur-xl"})}),l.jsx(sr,{})]}),l.jsxs("div",{className:"relative z-10",children:[l.jsx(Z,{duration:.5,ease:"power2.out",children:l.jsx("h3",{className:"sm:text-6xl text-4xl font-medium mb-6",children:s})}),l.jsx(Z,{delay:.1,duration:.5,ease:"power2.out",children:l.jsx("h5",{className:"font-mono text-sm font-light leading-6",children:e})})]}),l.jsx(Z,{delay:.2,duration:.5,ease:"power2.out",className:"relative z-2 max-h-[35vh] sm:mt-0 mt-auto sm:w-auto w-[300%] sm:h-auto h-[200px]",children:l.jsxs("div",{className:`p-4 pb-0 max-w-[90%] relative mx-auto mt-10 z-2
405                border border-1 border-[rgba(255,255,255,0.1)] rounded-tl-[20px] rounded-tr-[20px]
406                after:absolute after:inset-0 after:border after:border-[rgba(255,255,255,0.1)] after:rounded-tl-[24px] after:rounded-tr-[24px] after:top-[-8px] after:left-[-8px] after:right-[-8px] after:bottom-[-8px] after:z-0
407                before:absolute before:inset-0 before:bg-gradient-to-r before:from-white/15 before:to-white/5 before:via-white/40 before:pointer-events-none before:top-[-8px] before:left-[-8px] before:right-[-8px] before:bottom-[-8px] before:rounded-tl-[24px] before:rounded-tr-[24px] before:z-0`,children:[l.jsx("div",{className:"absolute inset-0 rounded-tl-[20px] rounded-tr-[20px] bg-gradient-to-t from-white/15 to-white/5 top-[-1px] left-[-1px] right-[-1px] bottom-[-1px] z-0"}),l.jsx("img",{src:t[c],className:"rounded-tl-[12px] rounded-tr-[12px] z-2 relative"})]})}),l.jsxs("div",{className:"absolute inset-0 z-0 left-0 right-0 top-0 bottom-0 z-3",children:[l.jsx("div",{className:`absolute w-[40%] h-[20%] rotate-300 bg-gradient-to-r from-[#fff] to-[rgba(255,255,255,0.5)] 
408                  right-[-20%] bottom-[10%] scale-x-200 perspective-500 perspective-origin-top-left
409                  rounded-[80px] filter blur-2xl opacity-100
410                  animate-blob`}),l.jsx("div",{className:`absolute w-[20%] h-[10%] rotate-180 bg-gradient-to-r from-[#fff] to-[rgba(255,255,255,0.5)] 
411                  left-[-10%] bottom-[0%] scale-y-200 perspective-500 perspective-origin-top-left
412                  rounded-[80px] filter blur-2xl opacity-100
413                  animate-blob`})]}),l.jsx("div",{className:"absolute top-0 bottom-0 left-0 right-0 z-[101] cursor-none",onMouseMove:f,onMouseEnter:x,onMouseLeave:v,onClick:r}),l.jsx("div",{ref:m,className:`absolute rounded-full bg-white text-black w-[192px] h-[192px] 
414          z-100 flex items-center justify-center transform -translate-x-1/2
415          ${h?"scale-100":"scale-0"} transition-transform duration-200 pointer-events-none`,style:{left:"-9999px",top:"-9999px"},children:l.jsx("span",{className:`font-semibold text-base ${h?"opacity-100":"opacity-0"} transition-opacity duration-300 delay-200
416          `,children:"Check it out"})})]})}),l.jsx("div",{className:"flex flex-row sm:py-10 sm:px-12 py-6 px-8 2xl:py-14 2xl:px-20 w-full flex-grow-1",style:{background:i},children:l.jsxs("div",{className:"grid md:grid-cols-3 grid-rows gap-16 flex-grow-1 flex xl:min-h-[100px] lg:min-h-[160px] md:min-h-[180px] min-h-[170px] relative",children:[l.jsx("style",{children:`
417              .service-card-item h4 {
418                opacity: 0.25;
419              }
420              .service-card-item p {
421                opacity: 0.25;
422              }
423              .service-card-item:hover h4,
424              .service-card-item:hover p {
425                opacity: 1;
426              }
427            `}),n.map((b,j)=>
427_.createElement("div",{...d,key:j,className:`cursor-pointer service-card-item ${a?c===j?"absolute opacity-100 bottom-0 top-0":"absolute opacity-0":"relative"}`,onClick:()=>y(j)},l.jsxs("h4",{className:`sm:text-xl flex justify-between items-center text-lg font-medium mb-4 ${c===j?"!opacity-100":""} transition-opacity duration-150`,children:[l.jsx("span",{children:b.title}),l.jsxs("span",{className:"ml-2 sm:hidden font-mono font-light text-sm opacity-50",children:["(",j+1,"/",n.length,")"]})]}),l.jsx("p",{className:`sm:text-sm text-xs leading-6 font-light font-mono ${c===j?"!opacity-100":""} transition-opacity duration-150`,children:b.description}),l.jsxs("div",{className:"progress-bar mt-4 w-full bg-[rgba(255,255,255,0.1)] rounded-[4px] h-[2px] absolute bottom-0 left-0 right-0 overflow-hidden",children:[l.jsx("style",{children:`
428                  @keyframes progressBar {
429                    from { width: 0%; }
430                    to { width: 100%; }
431                  }
432
433                  .animate-progressBar {
434                    animation: progressBar ${Ar}ms linear 1;
435                  }
436                `}),l.jsx("div",{className:`absolute left-0 top-0 bottom-0 right-0 bg-gradient-to-r from-[#222] to-[#fff] rounded-[4px] h-[2px] ${c===j?"animate-progressBar":"w-0"}`})]})))]})})]})}G.gsap.registerPlugin(Pe.ScrollTrigger);function sf({cards:s}){const e=_.useRef(null),t=_.useRef([]),n=_.useRef([]);_.useLayoutEffect(()=>{const o=t.current,a=n.current,c=G.gsap.context(()=>{const m=[],g=[];o.forEach((x,v)=>{const y=a[v],b=v===a.length-1;let j=1,w=0,k=0;b||(j=0,w=30,k=v%2===0?-10:10);const N=M=>{const T=m[v+1],C=m[a.length-1],R=T&&C?T.start-M.start+(M.end-C.start):0,A=R>0?G.gsap.utils.clamp(0,1,(M.scroll()-M.start)/R):M.progress,E=.5;let L=(A-E)/(1-E);L=G.gsap.utils.clamp(0,1,L);const O=G.gsap.utils.clamp(0,1,(.85-A)/(.85-.75));G.gsap.set(y,{scale:1+(j-1)*L,rotationX:w*L,rotationY:k*L,opacity:b?1:O});const F=G.gsap.utils.clamp(0,.5,(window.innerHeight-854)/1e3),z=window.innerHeight*F;e.current.style.marginBottom=`${z}px`;const D=a[v+1];if(D){const I=G.gsap.utils.clamp(0,1,A*2),P=Math.max(0,window.innerHeight*(1-I));G.gsap.set(D,{translateY:P})}};g.push(N);const S=G.gsap.to(y,{scale:j,rotationX:w,rotationY:k,transformOrigin:"top center",ease:"power1.in",scrollTrigger:{trigger:x,start:window.innerWidth<=992?"top 20":"top 40",end:"bottom 1000",endTrigger:e.current,scrub:!0,pin:x,pinSpacing:!1,id:v+1,invalidateOnRefresh:!0,onUpdate:N}});m.push(S.scrollTrigger)});const f=()=>m.forEach((x,v)=>g[v](x));return Pe.ScrollTrigger.addEventListener("refresh",f),Pe.ScrollTrigger.refresh(),()=>Pe.ScrollTrigger.removeEventListener("refresh",f)},e);let u=!1,d;const h=()=>{u||(clearTimeout(d),d=setTimeout(()=>Pe.ScrollTrigger.refresh(),150))},p=Array.from(document.images).filter(m=>!m.complete);return p.forEach(m=>{m.addEventListener("load",h,{once:!0}),m.addEventListener("error",h,{once:!0})}),document.fonts?.ready.then(h),()=>{u=!0,clearTimeout(d),p.forEach(m=>{m.removeEventListener("load",h),m.removeEventListener("error",h)}),c.revert()}},[]);const r=(o,a)=>{o&&(t.current[a]=o)},i=(o,a)=>{o&&(n.current[a]=o)};return l.jsx("div",{ref:e,className:"wrapper py-24 w-full min-h-screen max-w-[1920px] mx-auto",children:l.jsx("div",{className:"cards mx-auto w-full px-4 sm:px-5 md:px-8 lg:px-10 flex flex-col gap-12",children:s.map((o,a)=>l.jsx("div",{ref:c=>r(c,a),className:"card-wrapper perspective-500",children:l.jsx("div",{ref:c=>i(c,a),className:"card rounded-[24px] bg-cover bg-center h-[98vh] mb-[50vh]",children:o})},a))})})}function of(){return l.jsxs(l.Fragment,{children:[l.jsxs(Kd,{ElementTag:"h4",subComponent:l.jsx("div",{className:"relative centered text-center flex items-center flex-col",children:l.jsx("h4",{className:"text-sm font-mono opacity-80 max-w-2xl leading-8 font-light p-10",children:"Explore our tools built to supercharge your Nest workflow. Discover solutions we created to streamline development, automate tasks, and help you ship faster with greater confidence."})}),children:[l.jsx("div",{className:"absolute inset-0 top-0 left-0 right-0 bottom-0 pointer-events-none",children:l.jsx(nf,{alphaParticles:!0,speed:.05})}),l.jsxs("section",{className:"px-20",children:[l.jsx(Z,{distance:10,duration:2,ease:"elastic.out(1, 0.5)",children:l.jsx("h4",{className:"xl:text-9xl lg:text-8xl md:text-7xl sm:text-[4rem] sm:leading-[1.15] text-4xl leading-[1.15] font-medium text-center flex",children:"When there's no yarn"})}),l.jsx(Z,{distance:10,duration:2,delay:.2,ease:"elastic.out(1, 0.5)",children:l.jsx("h4",{className:"xl:text-9xl lg:text-8xl md:text-7xl sm:text-[4rem] sm:leading-[1.15] text-4xl leading-[1.15] font-medium text-center flex",children:"we build our own toys"})})]})]}),l.jsx(sf,{cards:[l.jsx(Lr,{title:"Observe",description:"Zero-Config Auto-Instrumented Observability for your NestJS applications.",screenshots:[Ud,Gd,Yd],onClick:()=>{window.open("https://observe.nestjs.com/","_blank")}
436,colors:["#111111","#202020","#111"],itemsBackground:"radial-gradient(circle at 75% 50%, rgba(40, 40, 40, 1), #191919 25%)",cardItems:[{title:"Auto-instrumented observability",description:"Get real-time insights into your application's performance, requests, jobs, spans, everything, without any manual instrumentation."},{title:"Error monitoring",description:"Detect, triage, and resolve errors faster with detailed error reports and stack traces."},{title:"Streamlined logs",description:"Centralize and analyze your logs in real-time, making it easier to identify issues and optimize performance."}]}),l.jsx(Lr,{title:"Devtools",description:"Enhance your development workflow with powerful tools designed to streamline your Nest application development.",screenshots:[Bd,$d,Vd],onClick:()=>{window.open("https://devtools.nestjs.com/","_blank")},itemsBackground:"radial-gradient(circle at 75% 50%, rgba(40, 40, 40, 1), #191919 25%)",cardItems:[{title:"Explore your graph",description:"Visualize your application's architecture and dependencies with an interactive graph."},{title:"Code playground",description:"Experiment with your code in a safe, sandboxed environment without affecting your main codebase."},{title:"CI/CD integration",description:"Seamlessly integrate with your CI/CD pipeline to detect issues early."}]}),l.jsx(Lr,{title:"Deploy, mau!",description:"Provision and manage your infrastracture on AWS without the hassle and extra DevOps work.",screenshots:[qd,Hd,Wd],onClick:()=>{window.open("https://mau.nestjs.com/","_blank")},colors:["#424242","#868686","#707070"],itemsBackground:"radial-gradient(circle at 75% 50%, rgba(40, 40, 40, 1), #191919 25%)",cardItems:[{title:"One-click deployment",description:"Deploy your Nest application to AWS with a single command and let us handle the rest."},{title:"Stream your logs",description:"Get real-time visibility into log data, detect anomalies immediately, and respond swiftly."},{title:"Track your metrics",description:"Monitor key performance indicators to ensure optimal application performance."}]})]})]})}G.gsap.registerPlugin(Pe.ScrollTrigger);function af({children:s,start:e="top bottom",end:t="top top",scaleFrom:n=.9,scaleTo:r=1,stagger:i=0,className:o=""}){const a=_.useRef(null);return _.useEffect(()=>{if(!a.current)return;const c=G.gsap.context(()=>{G.gsap.fromTo(a.current.children,{scale:n},{scale:r,ease:"none",stagger:i,scrollTrigger:{trigger:a.current,start:e,end:t,scrub:!0}})},a);return()=>c.revert()},[e,t,n,r,i]),l.jsx("div",{ref:a,className:o,children:s})}function lf({stats:s,className:e}){const t=_.useRef(null);return l.jsxs("div",{ref:t,className:`flex justify-center relative lg:py-30 md:py-20 sm:py-16 py-12 sm:px-8 px-12 rounded-[32px] ${e}`,children:[l.jsx(af,{className:"absolute inset-0 z-0 top-0 bottom-0 left-0 right-0 pointer-events-none",children:l.jsx(Mi,{className:"absolute inset-0 z-0 top-0 bottom-0 left-0 right-0 pointer-events-none",threshold:0,rootMargin:"1200px 0px 0px 0px",children:l.jsxs("div",{className:"bg-gradient-to-r from-[#050303] via-[#780f20] to-[#050303] absolute inset-0 z-0 top-0 bottom-0 left-0 right-0 sm:rounded-[32px] rounded-[16px] overflow-hidden",children:[l.jsx(ss,{}),l.jsx(sr,{})]})})}),l.jsx("div",{className:"container relative z-10",children:l.jsxs("div",{className:"grid lg:grid-cols-[60%_30%] grid-rows-[auto] md:gap-0 gap-8",children:[l.jsx("div",{className:"centered text-left lg:pt-30 lg:pb-40 sm:pt-8 sm:pb-12 pb-4 pt-4 flex flex-col",children:l.jsx(Z,{delay:.1,children:l.jsxs("h3",{className:"md:text-7xl sm:text-6xl text-5xl leading-[1.1] font-medium sm:max-w-4xl max-w-full",children:["Nine lives. ",l.jsx("br",{}),"Infinite impact."]})})}),l.jsxs("div",{className:"relative flex flex-col",children:[l.jsx(Z,{delay:.2,children:l.jsxs("div",{className:"flex flex-col",children:[l.jsxs("span",{className:"xl:text-[160px] sm:text-[100px] text-[60px] font-medium leading-[1.2]",children:[l.jsx(vn,{to:s?Math.round(s.monthlyDownloads/1e5)/10:0,from:0,duration:1,separator:","}),"m"]}),l.jsx("span",{className:"font-mono text-xs font-light",children:"Monthly downloads"})]})}),l.jsxs("div",{className:"flex flex-row mt-20",children:[l.jsx(Z,{delay:.1,children:l.jsxs("div",{className:"flex flex-col text-left flex-grow-1",children:[l.jsxs("span",{className:"text-5xl font-medium",children:[l.jsx(vn,{to:s?Math.round(s.githubStars/100)/10:0,from:0,duration:1,separator:","}),"k"]}),l.jsx("span",{className:"font-mono text-xs leading-6 font-light mt-2",children:"Github Stars"})]})}),l.jsx(Z,{delay:.2,children:l.jsxs("div",{className:"flex flex-col ml-20 text-left flex-grow-1",children:[l.jsx("span",{className:"text-5xl font-medium",children:l.jsx(vn,{to:s?s.releasesCount:0,from:0,duration:1,separator:","})}),l.jsx("span",{className:"font-mono text-xs leading-6 font-light mt-2",children:"Releases"})]})})]})]})]})})]})}G.gsap.registerPlugin(Pe.ScrollTrigger);const ha=({children:s,container:e,distance:t=100,direction:n="vertical",reverse:r=!1,duration:i=.8,ease:o="power3.out",initialOpacity:a=0,animateOpacity:c=!0,scale:u=1,scaleX:d=1,threshold:h=.1,delay:p=0,once:m=!0,disappearAfter:g=0,disappearDuration:f=.5,disappearEase:x="power3.in",onComplete:v,onDisappearanceComplete:y,className:b="",...j})=>{const w=_.useRef(null);return _.useEffect(()=>{const k=w.current;if(!k)return;let N=e||document.getElementById("snap-main-container")||null;typeof N=="string"&&(N=document.querySelector(N));const S=n==="horizontal"?"x":"y",M=r?-t:t,T=(1-h)*100;G.gsap.set(k,{[S]:M,opacity:c?a:1,visibility:"visible",...d!==1?{scaleX:d,transformOrigin:"left center"}:{scale:u}});const C=G.gsap.timeline({paused:!0,delay:p,onComplete:()=>{v&&v(),g>0&&G.gsap.to(k,{[S]:r?t:-t,...d!==1?{scaleX:.8}:{scale:.8},opacity:c?a:0,delay:g,duration:f,ease:x,onComplete:()=>y?.()})}});C.to(k,{[S]:0,opacity:1,duration:i,ease:o,...d!==1?{scaleX:1,transformOrigin:"left center"}:{scale:1}});const R=Pe.ScrollTrigger.create({trigger:k,scroller:N||window,start:`top ${T}%`,...m?{once:!0,onEnter:()=>C.play()}:{once:!1,onEnter:()=>C.play(),onEnterBack:()=>C.play(),onLeave:()=>C.reverse(),onLeaveBack:()=>C.reverse()}});return()=>{R.kill(),C.kill()}},[e,t,n,r,i,o,a,c,u,d,h,p,g,f,x,v,y]),l.jsx("div",{ref:w,className:`invisible ${b}`,...j,children:s})};function cf({children:s,href:e="#",onClick:t,className:n=""}){const r=_.useRef(null),i=a=>
436{if(r.current){const c=a.currentTarget.getBoundingClientRect(),u=a.clientX-c.left,d=a.clientY-c.top;r.current.style.left=`${u}px`,r.current.style.top=`${d}px`,r.current.style.opacity="1"}},o=()=>{r.current&&(r.current.style.left="-9999px",r.current.style.top="-9999px",r.current.style.opacity="0")};return l.jsx("div",{className:"relative inline-flex overflow-hidden",children:l.jsxs("a",{href:e,className:`btn bg-[#1e1c1c] rounded text-white font-bold 
437          pt-5 pb-5 pl-5 pr-5 rounded-[20px] inset-0 overflow-hidden relative
438          hover:scale-[0.98] transition-transform duration-100
439          active:scale-[0.95] sm:text-base text-[0.95rem] 
440         ${n}`,onClick:t,onMouseMove:i,onMouseLeave:o,children:[l.jsx("span",{children:s}),l.jsx("span",{ref:r,className:`absolute rounded-full pointer-events-none w-20 h-20 
441            bg-[grey] z-10 
442            transform -translate-x-1/2 -translate-y-1/2
443            filter blur-lg mix-blend-darken
444            top-[-9999px] left-[-9999px] opacity-0 transition-opacity duration-300`})]})})}function uf(s,e){const t=`<svg xmlns="http://www.w3.org/2000/svg"><filter id="goo"><feGaussianBlur in="SourceGraphic" result="blur" stdDeviation="${s}"/><feColorMatrix in="blur" type="matrix" values="${e}"/></filter></svg>`;return`url("data:image/svg+xml,${encodeURIComponent(t)}#goo")`}function df(){if(typeof navigator>"u")return!1;const s=navigator.userAgent;return/Safari/.test(s)&&!/Chrome|Chromium|Edg|OPR|Opera/.test(s)}function ff({innerText:s="Copy to clipboard",blobType:e="circle",trailCount:t=3,sizes:n=[120,185,135],innerSizes:r=[20,35,25],opacities:i=[.6,.6,.6],show:o=!0,shadowColor:a="rgba(0,0,0,0.75)",shadowBlur:c=5,shadowOffsetX:u=10,shadowOffsetY:d=10,filterStdDeviation:h=30,filterColorMatrixValues:p="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 35 -10",useFilter:m=!0,safariFallbackSize:g=192,fastDuration:f=.1,slowDuration:x=.5,fastEase:v="power3.out",slowEase:y="power1.out",zIndex:b=100}){const j=_.useRef(null),w=_.useRef([]),k=_.useRef(null),[N,S]=_.useState(0),[M,T]=_.useState(!1);_.useEffect(()=>{T(df())},[]);const C=_.useMemo(()=>m&&!M?uf(h,p):void 0,[m,M,h,p]),R=_.useCallback(()=>{if(!j.current)return{left:0,top:0};const E=j.current.getBoundingClientRect();return{left:E.left,top:E.top}},[]),A=_.useCallback(E=>{const{left:L,top:O}=R(),F="clientX"in E?E.clientX:E.touches[0].clientX,z="clientY"in E?E.clientY:E.touches[0].clientY;if(M){const D=w.current[0];D&&ve.to(D,{x:F-L,y:z-O,duration:f,ease:v})}else w.current.forEach((D,I)=>{if(!D)return;const P=I===0;ve.to(D,{x:F-L,y:z-O,duration:P?f:x,ease:P?v:y})});if(k.current){const D=F-L,I=z-O;ve.to(k.current,{x:D-k.current.offsetWidth/2,y:I-k.current.offsetHeight/2,duration:f,ease:v});const P=50;D<P?S(P-D+15):S(0)}},[R,M,f,x,v,y]);return _.useEffect(()=>{const E=()=>{w.current.forEach(O=>{O&&ve.to(O,{scale:.9,duration:.1,ease:"power3.out"})})},L=()=>{w.current.forEach(O=>{O&&ve.to(O,{scale:1,duration:.3,ease:"elastic.out(1, 0.5)"})})};return window.addEventListener("mousedown",E),window.addEventListener("mouseup",L),()=>{window.removeEventListener("mousedown",E),window.removeEventListener("mouseup",L)}},[]),_.useEffect(()=>{const E=()=>R();return window.addEventListener("resize",E),()=>window.removeEventListener("resize",E)},[R]),l.jsxs("div",{ref:j,onMouseMove:A,onTouchMove:A,className:`absolute top-0 left-0 w-full h-full ${o?"opacity-100":"opacity-0"} transition-opacity duration-150`,style:{zIndex:b},children:[l.jsx("div",{className:"pointer-events-none absolute inset-0 overflow-hidden select-none cursor-default",style:{filter:C},children:M?l.jsx("div",{ref:E=>{w.current[0]=E},className:"absolute will-change-transform transform -translate-x-1/2 -translate-y-1/2",style:{width:g,height:g,borderRadius:"50%",backgroundColor:"#fff"}}):Array.from({length:t}).map((E,L)=>l.jsx("div",{ref:O=>{w.current[L]=O},className:"absolute will-change-transform transform -translate-x-1/2 -translate-y-1/2",style:{width:n[L],height:n[L],borderRadius:e==="circle"?"50%":"0",backgroundColor:"#fff",opacity:i[L],boxShadow:a!=="none"?`${u}px ${d}px ${c}px 0 ${a}`:void 0},children:l.jsx("div",{className:"absolute",style:{width:r[L],height:r[L],top:(n[L]-r[L])/2,left:(n[L]-r[L])/2,backgroundColor:"#fff",borderRadius:e==="circle"?"50%":"0"}})}
444,L))}),l.jsx("div",{ref:k,className:`absolute text-black font-semibold text-base pointer-events-none
445          ${o?"opacity-100":"opacity-0"} transition-opacity duration-150 delay-150`,children:l.jsx("span",{className:"absolute -top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 whitespace-nowrap transition-padding duration-150",style:{paddingLeft:N},children:s})})]})}function hf(){const[s,e]=_.useState(!1),[t,n]=_.useState({x:0,y:0});_.useRef(null);const[r,i]=_.useState("Copy"),o=_.useRef(null),a=_.useRef(null),c=b=>{const j=b.currentTarget.getBoundingClientRect();n({x:b.clientX-j.left,y:b.clientY-j.top})},u=b=>{e(!0)},d=b=>{e(!1)},h=["Bootstrap","Controller","Module"],[p,m]=_.useState({Bootstrap:`import { NestFactory } from '@nestjs/core';
446import { AppModule } from './app.module';
447
448async function bootstrap() {
449  const app = await NestFactory.create(AppModule);
450  await app.listen(process.env.PORT ?? 3000);
451}
452bootstrap();`,Module:`import { Module } from '@nestjs/common';
453import { AppController } from './app.controller';
454import { AppService } from './app.service';
455
456@Module({
457  imports: [],
458  controllers: [AppController],
459  providers: [AppService],
460})
461export class AppModule {}`,Controller:`import { Controller, Get } from '@nestjs/common';
462
463@Controller('cats')
464export class CatsController {
465  @Get()
466  findAll(): string {
467    return 'This action returns all cats';
468  }
469}`}),[g,f]=_.useState("Bootstrap"),x=_.useRef(null),v=b=>{const j=/\b(import|from|async|function|export|const|await)\b/g,w=/(\w+)(?=\()/g,k=/({|})/g,N=/('[^']*'|`[^`]*`)/g;return b.replace(N,'<span class="text-[#ffa657]">$1</span>').replace(j,'<span class="text-[#ff7b72]">$1</span>').replace(k,'<span class="text-gray-300">$1</span>').replace(w,'<span class="text-[#a5d6ff]">$1</span>').replace(/\n/g,"<br>").replace(/  /g,"&nbsp;&nbsp;")};_.useEffect(()=>{x.current&&(x.current.innerHTML=v(p[g]))},[g,p]);const y=b=>{const j=b.currentTarget.innerText;m(w=>({...w,[g]:j}))};return l.jsxs("div",{className:"border-16 border-[rgba(255,255,255,0.15)] rounded-[24px] w-[140%] xl:w-[65vw] relative",children:[l.jsx("style",{children:`
470          .outer-border {
471            position: absolute;
472            top: -16px;
473            left: -16px;
474            right: -16px;
475            bottom: -16px;
476            border: 1px solid rgba(255, 255, 255, 0.2);
477            border-radius: 24px;
478            z-index: 4;
479          }
480          .outer-border::before {
481            content: '';
482            position: absolute;
483            top: -6px;
484            left: -6px;
485            right: -6px;
486            bottom: -6px;
487            border: 1px solid rgba(255, 255, 255, 0.3);
488            border-radius: 28px;
489            z-index: 5;
490          }
491        `}),l.jsx("div",{className:"outer-border",ref:a}),l.jsx("div",{className:"absolute w-full h-full flex justify-center items-center",children:l.jsx("div",{className:`absolute w-[40%] h-[25%] rotate-320 bg-gradient-to-r from-[#ea2845] to-[#f47a87] 
492            left-0 top-[20%] scale-x-200 perspective-500 perspective-origin-top-left
493            rounded-[24px] filter blur-2xl 
494            animate-blob`})}),l.jsxs("div",{className:"relative z-10 rounded-[6px] overflow-hidden",children:[l.jsx("div",{className:"flex font-semibold bg-[#1A1A1A] border-b border-[rgba(255,255,255,0.1)] px-10 py-6",ref:o,children:h.map(b=>l.jsx("div",{onClick:()=>f(b),className:`px-4 py-1 cursor-pointer ${b===g?"text-white":"text-[rgba(255,255,255,0.25)]"}`,children:b},b))}),l.jsxs("div",{className:"font-mono font-light flex bg-[#181818] py-18 pl-18 font-light relative overflow-hidden",children:[l.jsx("div",{className:"absolute top-[-25%] left-1/2 rounded-full transform -translate-x-1/2 w-[50%] h-[50%] opacity-5 bg-[radial-gradient(circle,_#fff,_transparent)] blur-lg"}),l.jsx("div",{className:"text-right mr-2 select-none text-[#5A5A5A] w-[20px]",children:p[g].split(`
495`).map((b,j)=>l.jsx("div",{className:"h-10 leading-10",children:j+1},j))}),l.jsx("div",{ref:x,contentEditable:!0,spellCheck:!1,onInput:y,className:"flex-1 outline-none whitespace-pre overflow-x-auto px-2 leading-10 pb-40"})]})]}),l.jsx("div",{className:"absolute top-[80px] bottom-0 left-[100px] right-0 z-[101] cursor-none",onMouseMove:c,onMouseEnter:u,onMouseLeave:d,onClick:()=>{navigator.clipboard.writeText(p[g]),i("Copied!"),setTimeout(()=>i("Copy"),2e3)},children:l.jsx(ff,{innerText:r,shadowColor:"none",show:s})}),l.jsx("div",{className:`absolute bottom-0 left-[-21px] right-[-30px] bg-gradient-to-t from-[var(--color-bg)] to-transparent
496        z-[10] w-[calc(100%+60px)] h-[300px] translate-y-7`}),l.jsx("div",{className:`absolute right-[-100px] top-[-50px] bottom-[-500px] bg-gradient-to-l from-[var(--color-bg)] to-transparent
497        z-[10] w-[300px] translate-y-7`})]})}function pf({className:s}){return l.jsx("div",{className:`flex justify-center ${s}`,children:l.jsx("div",{className:"container relative md:px-0 sm:px-8 px-5",children:l.jsxs("div",{className:"grid grid-rows-[auto] md:grid-cols-[40%_10%_50%] grid-cols-[100%_100%] md:gap-0 gap-16",children:[l.jsxs("div",{children:[l.jsx(Le,{children:"Syntax"}),l.jsx(Ne,{ElementTag:"h2",className:"font-medium lg:text-5xl md:text-4xl sm:text-5xl text-[2.75rem] mb-8 lg:leading-14 sm:leading-12 leading-12",enableBlur:!0,children:"Build your app with most elegant and intuitive syntax."}),l.jsx(Z,{children:l.jsx(cf,{href:"https://docs.nestjs.com/",className:"mt-10",children:"Official documentation"})})]}),l.jsx("span",{}),l.jsx(ha,{distance:250,delay:.1,initialOpacity:0,children:l.jsx(hf,{})})]})})})}const mf="/assets/logo-0QeF4TtE.png",gf="/assets/logo-y9-MfdOD.png",xf="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20version='1.0'%20width='499.99997'%20height='480.40421'%20id='svg2383'%20sodipodi:docname='O2-Logo%20(3).svg'%20inkscape:version='1.4%20(86a8ad7,%202024-10-11)'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:dc='http://purl.org/dc/elements/1.1/'%3e%3csodipodi:namedview%20id='namedview1'%20pagecolor='%23ffffff'%20bordercolor='%23000000'%2
4970borderopacity='0.25'%20inkscape:showpageshadow='2'%20inkscape:pageopacity='0.0'%20inkscape:pagecheckerboard='0'%20inkscape:deskcolor='%23d1d1d1'%20inkscape:zoom='1.4656922'%20inkscape:cx='250.0525'%20inkscape:cy='239.81842'%20inkscape:window-width='1920'%20inkscape:window-height='1001'%20inkscape:window-x='-9'%20inkscape:window-y='-9'%20inkscape:window-maximized='1'%20inkscape:current-layer='svg2383'%20/%3e%3cdefs%20id='defs2385'%20/%3e%3cmetadata%20id='metadata2388'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20transform='matrix(1.0576499,0,0,1.0576499,-208.39268,-69.750455)'%20id='layer1'%3e%3cg%20transform='matrix(1.1858,0,0,1.1858,4.61306,-328.857)'%20id='g2476'%3e%3cg%20transform='translate(3.5356,3.53494)'%20id='g1988'%3e%3cpath%20d='m%20158.73514,490.74919%20c%200,88.22743%2064.05154,161.33975%20157.08081,161.33975%2092.52812,0%20156.57966,-73.11232%20156.57966,-161.33975%200,-93.65548%20-62.88243,-161.33968%20-156.57966,-161.33968%20-94.19838,0%20-157.08081,67.6842%20-157.08081,161.33968%20m%2060.4607,0%20c%200,-58.61507%2035.6584,-115.40963%2096.62011,-115.40963%2060.46063,0%2096.11903,56.79456%2096.11903,115.40963%200,54.99083%20-29.56225,115.41805%20-96.11903,115.41805%20-67.05793,0%20-96.62011,-60.42722%20-96.62011,-115.41805'%20id='path26'%20style='fill:%23fff;fill-rule:evenodd;stroke:none'%20/%3e%3cpath%20d='m%20557.40794,712.45771%20v%20-21.51198%20h%20-55.70062%20c%2022.29692,-21.89612%2051.35816,-48.48539%2051.35816,-77.42136%200,-26.7897%20-16.78536,-39.88394%20-42.7567,-39.88394%20-13.86255,0%20-28.1426,3.5241%20-40.50199,9.77892%20l%202.17126,22.68108%20c%208.93551,-5.87073%2019.9587,-10.95638%2031.48297,-10.95638%2011.1067,0%2022.29692,5.87067%2022.29692,18.38032%200,25.02771%20-46.34754,63.74254%20-59.04098,76.06018%20v%2022.87316%20h%2090.69098'%20id='path28'%20style='fill:%23fff;fill-rule:nonzero;stroke:none'%20/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",vf="/assets/logo-EdGRDAAV.png";function Si({width:s,reverse:e,onClick:t,className:n="",delay:r=2}){const i=_.useRef(null),[o,a]=_.useState(!1);return _.useEffect(()=>{const c=i.current;if(!c)return;const u=new IntersectionObserver(([d])=>{d.isIntersecting&&(a(!0),u.disconnect())});return u.observe(c),()=>u.disconnect()},[]),l.jsx("div",{className:`flex items-center justify-center ${n}`,style:{width:s?`${s}px`:"auto",transform:e?"rotate(180deg)":""},onClick:t,children:l.jsxs("svg",{ref:i,viewBox:"0 0 175 30",children:[l.jsx("line",{x1:"0",y1:"15",x2:"150",y2:"15",stroke:"white",strokeWidth:"4",style:{strokeDasharray:150,strokeDashoffset:o?0:150,transition:`stroke-dashoffset 0.75s ease-out ${r}s`}}),l.jsx("path",{d:"M175 15 L151 3 L151 27 Z",fill:"white",style:{transform:o?"scale(1)":"scale(0)",transformOrigin:"150px 15px",transition:`transform 0.5s ease-out ${r+.8}s`}})]})})}function bf({hue:s=0,hoverIntensity:e=.2,rotateOnHover:t=!0,forceHoverState:n=!1,backgroundColor:r="#050303"}){const i=_.useRef(null),o=`
498    precision highp float;
499    attribute vec2 position;
500    attribute vec2 uv;
501    varying vec2 vUv;
502    void main() {
503      vUv = uv;
504      gl_Position = vec4(position, 0.0, 1.0);
505    }
506  `,a=`
507    precision highp float;
508
509    uniform float iTime;
510    uniform vec3 iResolution;
511    uniform float hue;
512    uniform float hover;
513    uniform float rot;
514    uniform float hoverIntensity;
515    uniform vec3 backgroundColor;
516    varying vec2 vUv;
517
518    vec3 rgb2yiq(vec3 c) {
519      float y = dot(c, vec3(0.299, 0.587, 0.114));
520      float i = dot(c, vec3(0.596, -0.274, -0.322));
521      float q = dot(c, vec3(0.211, -0.523, 0.312));
522      return vec3(y, i, q);
523    }
524    
525    vec3 yiq2rgb(vec3 c) {
526      float r = c.x + 0.956 * c.y + 0.621 * c.z;
527      float g = c.x - 0.272 * c.y - 0.647 * c.z;
528      float b = c.x - 1.106 * c.y + 1.703 * c.z;
529      return vec3(r, g, b);
530    }
531    
532    vec3 adjustHue(vec3 color, float hueDeg) {
533      float hueRad = hueDeg * 3.14159265 / 180.0;
534      vec3 yiq = rgb2yiq(color);
535      float cosA = cos(hueRad);
536      float sinA = sin(hueRad);
537      float i = yiq.y * cosA - yiq.z * sinA;
538      float q = yiq.y * sinA + yiq.z * cosA;
539      yiq.y = i;
540      yiq.z = q;
541      return yiq2rgb(yiq);
542    }
543    
544    vec3 hash33(vec3 p3) {
545      p3 = fract(p3 * vec3(0.1031, 0.11369, 0.13787));
546      p3 += dot(p3, p3.yxz + 19.19);
547      return -1.0 + 2.0 * fract(vec3(
548        p3.x + p3.y,
549        p3.x + p3.z,
550        p3.y + p3.z
551      ) * p3.zyx);
552    }
553    
554    float snoise3(vec3 p) {
555      const float K1 = 0.333333333;
556      const float K2 = 0.166666667;
557      vec3 i = floor(p + (p.x + p.y + p.z) * K1);
558      vec3 d0 = p - (i - (i.x + i.y + i.z) * K2);
559      vec3 e = step(vec3(0.0), d0 - d0.yzx);
560      vec3 i1 = e * (1.0 - e.zxy);
561      vec3 i2 = 1.0 - e.zxy * (1.0 - e);
562      vec3 d1 = d0 - (i1 - K2);
563      vec3 d2 = d0 - (i2 - K1);
564      vec3 d3 = d0 - 0.5;
565      vec4 h = max(0.6 - vec4(
566        dot(d0, d0),
567        dot(d1, d1),
568        dot(d2, d2),
569        dot(d3, d3)
570      ), 0.0);
571      vec4 n = h * h * h * h * vec4(
572        dot(d0, hash33(i)),
573        dot(d1, hash33(i + i1)),
574        dot(d2, hash33(i + i2)),
575        dot(d3, hash33(i + 1.0))
576      );
577      return dot(vec4(31.316), n);
578    }
579    
580    vec4 extractAlpha(vec3 colorIn) {
581      float a = max(max(colorIn.r, colorIn.g), colorIn.b);
582      return vec4(colorIn.rgb / (a + 1e-5), a);
583    }
584    
585    const vec3 baseColor1 = vec3(0.9176, 0.1569, 0.2706);
586    const vec3 baseColor2 = vec3(0.9176, 0.1569, 0.2706);
587    const vec3 baseColor3 = vec3(0.9176, 0.1569, 0.2706);
588    const float innerRadius = 0.5;
589    const float noiseScale = 0.65;
590    
591    float light1(float intensity, float attenuation, float dist) {
592      return intensity / (1.0 + dist * attenuation);
593    }
594    
595    float light2(float intensity, float attenuation, float dist) {
596      return intensity / (0.8 + dist * dist * attenuation);
597    }
598    
599    vec4 draw(vec2 uv) {
600      vec3 color1 = adjustHue(baseColor1, hue);
601      vec3 color2 = adjustHue(baseColor2, hue);
602      vec3 color3 = adjustHue(baseColor3, hue);
603      
604      float ang = atan(uv.y, uv.x);
605      float len = length(uv);
606      float invLen = len > 0.0 ? 1.0 / len : 0.0;
607      
608      float bgLuminance = dot(backgroundColor, vec3(0.299, 0.587, 0.114));
609      
610      float n0 = snoise3(vec3(uv * noiseScale, iTime * 0.5)) * 0.5 + 0.5;
611      float r0 = mix(mix(innerRadius, 1.0, 0.4), mix(innerRadius, 1.0, 0.6), n0);
612      float d0 = distance(uv, (r0 * invLen) * uv);
613      float v0 = light1(1.0, 10.0, d0);
614
615      v0 *= smoothstep(r0 * 1.05, r0, len);
616      float innerFade = smoothstep(r0 * 0.8, r0 * 0.95, len);
617      v0 *= mix(innerFade, 1.0, bgLuminance * 0.7);
618      float cl = cos(ang + iTime * 2.0) * 0.5 + 0.5;
619      
620      float a = iTime * -1.0;
621      vec2 pos = vec2(cos(a), sin(a)) * r0;
622      float d = distance(uv, pos);
623      float v1 = light2(1.5, 5.0, d);
624      v1 *= light1(1.0, 50.0, d0);
625      
626      float v2 = smoothstep(1.0, mix(innerRadius, 1.0, n0 * 0.5), len);
627      float v3 = smoothstep(innerRadius, mix(innerRadius, 1.0, 0.5), len);
628      
629      vec3 colBase = mix(color1, color2, cl);
630      float fadeAmount = mix(1.0, 0.1, bgLuminance);
631      
632      vec3 darkCol = mix(color3, colBase, v0);
633      darkCol = (darkCol + v1) * v2 * v3;
634      darkCol = clamp(darkCol, 0.0, 1.0);
635      
636      vec3 lightCol = (colBase + v1) * mix(1.0, v2 * v3, fadeAmount);
637      lightCol = mix(backgroundColor, lightCol, v0);
638      lightCol = clamp(lightCol, 0.0, 1.0);
639      
640      vec3 finalCol = mix(darkCol, lightCol, bgLuminance);
641      
642      return extractAlpha(finalCol);
643    }
644    
645    vec4 mainImage(vec2 fragCoord) {
646      vec2 center = iResolution.xy * 0.5;
647      float size = min(iResolution.x, iResolution.y);
648      vec2 uv = (fragCoord - center) / size * 2.0;
649      
650      float angle = rot;
651      float s = sin(angle);
652      float c = cos(angle);
653      uv = vec2(c * uv.x - s * uv.y, s * uv.x + c * uv.y);
654      
655      uv.x += hover * hoverIntensity * 0.1 * sin(uv.y * 10.0 + iTime);
656      uv.y += hover * hoverIntensity * 0.1 * sin(uv.x * 10.0 + iTime);
657      
658      return draw(uv);
659    }
660    
661    void main() {
662      vec2 fragCoord = vUv * iResolution.xy;
663      vec4 col = mainImage(fragCoord);
664      gl_FragColor = vec4(col.rgb * col.a, col.a);
665    }
666  `;return _.useEffect(()=>{const c=i.current;if(!c)return;const u=new er({alpha:!0,premultipliedAlpha:!1}),d=u.gl;d.clearColor(0,0,0,0),c.appendChild(d.canvas);const h=new rs(d),p=new tr(d,{vertex:o,fragment:a,uniforms:{iTime:{value:0},iResolution:{value:new Re(d.canvas.width,d.canvas.height,d.canvas.width/d.canvas.height)},hue:{value:s},hover:{value:0},rot:{value:0},hoverIntensity:{value:e},backgroundColor:{value:Ni(r)}}}),m=new nr(d,{geometry:h,program:p});function g(){if(!c)return;const N=window.devicePixelRatio||1,S=c.clientWidth,M=c.clientHeight;u.setSize(S*N,M*N),d.canvas.style.width=S+"px",d.canvas.style.height=M+"px",p.uniforms.iResolution.value.set(d.canvas.width,d.canvas.height,d.canvas.width/d.canvas.height)}window.addEventListener("resize",g),g();let f=0,x=0,v=0;const y=.3,b=N=>{const S=c.getBoundingClientRect(),M=N.clientX-S.left,T=N.clientY-S.top,C=S.width,R=S.height,A=Math.min(C,R),E=C/2,L=R/2,O=(M-E)/A*2,F=(T-L)/A*2;Math.sqrt(O*O+F*F)<.8?f=1:f=0},j=()=>
666{f=0};c.addEventListener("mousemove",b),c.addEventListener("mouseleave",j);let w;const k=N=>{w=requestAnimationFrame(k);const S=(N-x)*.001;x=N,p.uniforms.iTime.value=N*.001,p.uniforms.hue.value=s,p.uniforms.hoverIntensity.value=e;const M=n?1:f;p.uniforms.hover.value+=(M-p.uniforms.hover.value)*.1,t&&M>.5&&(v+=S*y),p.uniforms.rot.value=v,p.uniforms.backgroundColor.value=Ni(r),u.render({scene:m})};return w=requestAnimationFrame(k),()=>{cancelAnimationFrame(w),window.removeEventListener("resize",g),c.removeEventListener("mousemove",b),c.removeEventListener("mouseleave",j),c.removeChild(d.canvas),d.getExtension("WEBGL_lose_context")?.loseContext()}},[s,e,t,n,r]),l.jsx("div",{ref:i,className:"absolute inset-0 top-0 bottom-0 left-0 right-0"})}function yf(s,e,t){let n,r,i;if(e===0)n=r=i=t;else{const o=(u,d,h)=>(h<0&&(h+=1),h>1&&(h-=1),h<.16666666666666666?u+(d-u)*6*h:h<.5?d:h<.6666666666666666?u+(d-u)*(.6666666666666666-h)*6:u),a=t<.5?t*(1+e):t+e-t*e,c=2*t-a;n=o(c,a,s+1/3),r=o(c,a,s),i=o(c,a,s-1/3)}return new Re(n,r,i)}function Ni(s){if(s.startsWith("#")){const n=parseInt(s.slice(1,3),16)/255,r=parseInt(s.slice(3,5),16)/255,i=parseInt(s.slice(5,7),16)/255;return new Re(n,r,i)}const e=s.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(e)return new Re(parseInt(e[1])/255,parseInt(e[2])/255,parseInt(e[3])/255);const t=s.match(/hsla?\((\d+),\s*(\d+)%,\s*(\d+)%/);if(t){const n=parseInt(t[1])/360,r=parseInt(t[2])/100,i=parseInt(t[3])/100;return yf(n,r,i)}return new Re(0,0,0)}const Ve=[{logo:xf,text:"We use NestJS as the backbone of our internal applications at O2 Czech Republic. It enables us to build scalable backend services quickly while maintaining consistent architecture and standards across teams. With seamless integration across multiple databases and a strong focus on clean architecture, NestJS has significantly improved both our development speed and code quality.",author:"Pavla Ďuranová",title:"Team Leader, O2"},{logo:mf,text:"We use NestJS as the backbone of our healthcare and education staffing marketplace, powering over 30 microservices across a 3.5-million-line TypeScript codebase. NestJS's opinionated module system and structured conventions help maintain consistency as we scale agent workflows. NestJS gave us an architecture that scales for humans and AI.",author:"Rocky Warren",title:"Senior Staff Engineer, Clipboard Health"},{logo:gf,text:"When developing modern software solutions for mobile and web, it is crucial to put them on top of loosely coupled, testable and easy maintainable backend systems. To achieve this goal we use since recently the NestJS framework that provides us with an out of the box backend application architecture. Inspired by Angular and written in TypeScript, NestJS fits ideally in our development tool stack. Modularity, dependency injection and custom providers are only some of many useful features we benefit from when using NestJS.",author:"Josef Schiestl",title:"Global Mobile Solutions, Munich Re"},{logo:vf,text:"Plotly chose NestJS as one of the technologies for a major new product initiative. In fact, the move to Node for some of our backend services was a new shift for the engineering team. Trilon was invaluable training the team, establishing best practices early and helping navigate the many dependencies we assembled to deliver a quality build and product.",author:"Ben Postlethwaite",title:"VP Engineering, Plotly"}];function _f(){const[s,e]=_.useState(null),[t,n]=_.useState(null);_.useEffect(()=>{e(Math.floor(Math.random()*Ve.length))},[]);const r=(i,o)=>{const c=o<500?.6:.4;return 250+i.text.length*c};return _.useEffect(()=>{const i=()=>{typeof window<"u"&&window.innerWidth<640?n(s!==null?r(Ve[s],window.innerWidth):350):n(null)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[s]),l.jsxs("div",{className:"w-full relative flex items-center justify-center text-left sm:my-80 my-40 sm:pb-0 pb-6 mx-0",children:[l.jsx(ha,{className:"absolute top-0 left-0 right-0 bottom-0 z-0",ease:"elastic.out",duration:10,children:l.jsxs("div",{className:"absolute top-[-30%] right-0 bottom-0 z-0 w-[1000px] h-[1000px]",children:[l.jsx(bf,{}),l.jsx("div",{className:"absolute left-0 right-0 bottom-0 h-full pointer-events-none z-10",style:{background:"linear-gradient(to top right, #050303 40%, transparent 55%, transparent)"}})]})}),l.jsxs("div",{className:"container md:px-0 sm:px-8 px-5",children:[l.jsx(Le,{children:"Testimonials"}),l.jsx(Z,{duration:.8,delay:.15,distance:20,ease:"power2.out",children:l.jsx("h3",{className:"font-medium md:text-8xl sm:text-7xl text-[3rem] text-left leading-[1.1] max-w-5xl",children:"Built for teams that can't afford mistakes"})}),l.jsxs("div",{className:"flex flex-col mb-10 md:mt-40 mt-[7.5rem] relative w-full",children:[l.jsx(Z,{duration:.8,delay:.3,distance:20,ease:"power2.out",children:l.jsx("span",{className:"text-[130px] leading-[20px] block ml-[-5px]",children:"“"})}),l.jsx("div",{className:"relative md:h-[250px] sm:h-[300px] h-[350px]",style:{height:t??""},children:Ve.map((i,o)=>l.jsxs("div",{className:"absolute top-0 left-0 right-0 transition duration-1000",style:{opacity:o===s?1:0,transform:o===s?"translate(0, 0)":"translate(20px, 0
666)",filter:o===s?"blur(0px)":"blur(4px)",zIndex:o===s?10:0},children:[l.jsx(Z,{duration:.4,delay:.5,distance:20,ease:"power2.out",children:l.jsx("p",{className:"md:text-xl text-[1.1rem] leading-8 text-left max-w-5xl lg:min-h-[205px] md:min-h-[255px] min-h-[280px]",style:{height:t?t-100:""},children:Ve[o].text})}),l.jsxs("div",{className:"flex items-center gap-4 sm:mt-4 mt-16 justify-between max-w-5xl md:flex-row flex-col",children:[l.jsx(Z,{duration:.4,delay:.75,distance:20,ease:"power2.out",children:l.jsxs("div",{className:"relative rounded-[60px] bg-gradient-to-br from-[#959595] to-[#1d1b1b]",children:[l.jsx("div",{className:"absolute top-[1px] left-[1px] right-[1px] bottom-[1px] bg-[var(--color-bg)] rounded-[60px]"}),l.jsxs("div",{className:"relative z-10 py-5 pr-16 xs:pl-28 pl-32",children:[l.jsx("div",{className:"absolute p-6 sm:w-[88px] top-0 bottom-0 left-0 aspect-square rounded-full border border-solid border-[rgba(255,255,255,0.2)]",children:l.jsx("img",{src:Ve[o].logo,className:"w-full h-full object-contain max-w-[50px] mx-auto"})}),l.jsxs("div",{className:"flex flex-col text-left sm:pl-0 pl-6",children:[l.jsx("span",{className:"text-lg leading-[1.6]",children:Ve[o].author}),l.jsx("span",{className:"text-sm text-[rgba(255,255,255,0.5)] font-mono font-light",children:Ve[o].title})]})]})]})}),l.jsxs("div",{className:"text-sm text-[rgba(255,255,255,0.75)] font-mono font-light tracking-[0.5em] flex items-center gap-2 flex-row relative z-[15] md:mt-0 mt-4",children:[l.jsx("span",{onClick:()=>{e(a=>a===null?0:(a-1+Ve.length)%Ve.length)},className:"p-4 opacity-50 hover:opacity-100 transition-opacity cursor-pointer mr-2",children:l.jsx(Si,{width:40,reverse:!0,onClick:()=>{e(a=>a===null?0:(a-1+Ve.length)%Ve.length)}})}),l.jsx(Z,{duration:.8,delay:1,distance:20,ease:"power2.out",children:l.jsxs("span",{children:[o+1," / ",Ve.length]})}),l.jsx("span",{onClick:()=>{e(a=>a===null?0:(a+1)%Ve.length)},className:"p-4 opacity-50 hover:opacity-100 transition-opacity cursor-pointer",children:l.jsx(Si,{width:40})})]})]})]},o))})]})]})]})}async function wf(){const e=await ns("https://opencollective.com/nest/tiers/bronze-sponsors/all.json");return[{image:"/sponsors/bronze/netlify.svg",website:"https://netlify.com/",name:"Netlify"}].concat(e)}async function jf(){return(await Promise.all([ns("https://opencollective.com/nest/tiers/silver-sponsors/all.json"),ns("https://opencollective.com/nest/tiers/silver-sponsors-yearly/all.json")]).then(n=>n.flat())).filter(n=>{const r=["casino","gambling","bet","win","poker","adult","xxx"],i=n.name.toLowerCase();return!r.some(o=>i.includes(o))})}function ns(s){return fetch(s,{method:"GET",headers:{Accept:"application/json"}}).then(e=>e.json()).then(e=>{if(!e)return[];const t=1e3*60*60*24*30,n=new Date;return e.filter(i=>i.isActive||i.lastTransactionAt&&new Date(i.lastTransactionAt).getTime()>n.getTime()-t).filter(i=>i.image)})}const it="w-full h-full flex items-center justify-center grayscale hover:grayscale-0",Cf=831990;function ot({children:s,className:e}){return l.jsx(Z,{duration:.5,ease:"power2.out",children:l.jsx("div",{className:`cell xl:w-[160px] xl:h-[160px] aspect-square w-full border border-[#1e1d1d] flex items-center ${e}`,children:s})})}function Tf(){const s=Pt("(max-width: 1280px)"),e=Pt("(max-width: 1024px)"),t=Pt("(max-width: 768px)"),n=Pt("(max-width: 640px)"),[r,i]=_.useState([]),[o,a]=_.useState([]);_.useEffect(()=>{wf().then(i).catch(d=>{}),jf().then(d=>a(d.filter(h=>h.MemberId!==Cf))).catch(d=>{})},[]);let c=12,u=6;switch(!0){case n:c=4,u=2;break;case t:c=6,u=2;break;case e:c=8,u=2;break;case s:u=4;break}return l.jsxs("div",{className:"px-5 sm:py-0 py-24",children:[l.jsxs("div",{className:"container relative flex mx-auto md:flex-row flex-col items-center",children:[l.jsxs("div",{className:"max-w-[800px]",children:[l.jsx(Le,{children:"Support"}),l.jsx(Ne,{ElementTag:"h2",className:"font-medium lg:text-8xl md:text-7xl sm:text-6xl text-[2.75rem] md:leading-25 sm:leading-[1] leading-[1.1]",enableBlur:!0,children:"Let's build Nest together"}),l.jsx(Ne,{className:"font-mono text-sm opacity-70 leading-6 font-light pt-10",ElementTag:"p",enableBlur:!0,children:"Support the ongoing development of Nest and help keep the framework your product relies on actively maintained, evolving, and giving back to the entire community."})]}),l.jsx("div",{className:"w-[300px] justify-end flex flex-col items-center md:ml-auto",children:l.jsx(Z,{children:l.jsx(rr,{href:"https://docs.nestjs.com/support",className:"mt-10",children:"Become a sponsor"})})})]}),l.jsxs("div",{className:"container relative flex md:mt-40 mt-16 mx-auto flex-col",children:[l.jsxs("div",{className:"flex flex-col md:flex-row di items-center lg:justify-between w-full",children:[l.jsxs("div",{className:"self-start xl:px-0 pr-8 md:w-[200px] w-full shrink-0",children:[l.jsx(Le,{typingSpeed:100,children:"1"}),l.jsx(Ne,{ElementTag:"h5",className:"font-medium text-2xl mb-8 xl:leading-5 xl:w-auto",enableBlur:!0,children:"Principal Sponsor"})]}
666),l.jsxs("div",{className:"grid xl:grid-cols-6 gap-0 lg:grid-cols-5 md:grid-cols-4 grid-cols-2",children:[l.jsx(ot,{children:l.jsx("a",{href:"https://www.trilon.io",className:it,children:l.jsx("img",{src:"/sponsors/principal/trilon.svg",alt:"Trilon",className:"w-full h-full object-contain md:p-4 p-10 brightness-100"})})}),l.jsx(ot,{className:"md:ml-[-1px]",children:l.jsx("a",{href:"https://www.mojam.co",className:it,children:l.jsx("img",{src:"/sponsors/principal/mojam.png",alt:"Mojam",className:"w-full h-full object-contain md:p-7 p-12 brightness-100 md:max-h-[100px] max-h-[160px]"})})}),l.jsx(ot,{className:"md:ml-[-2px]",children:l.jsx("a",{href:"https://www.microsoft.com",className:it,children:l.jsx("img",{src:"/sponsors/principal/microsoft.svg",alt:"Microsoft",className:"w-full h-full object-contain md:p-7 p-12 brightness-100"})})}),l.jsx(ot,{className:"md:ml-[-3px]",children:l.jsx("a",{href:"https://serpapi.com?utm_source=nestjs&utm_medium=referral&utm_campaign=sponsor",className:`${it} brightness-10000 hover:brightness-100`,children:l.jsx("img",{src:"/sponsors/principal/serpapi.png",alt:"SerpApi",className:"w-full h-full object-contain md:p-7 p-12"})})}),l.jsx(ot,{className:"lg:ml-[-4px] lg:mt-[0px] md:ml-[0px] md:mt-[-1px]",children:l.jsx("a",{href:"https://www.valor-software.com",className:it,children:l.jsx("img",{src:"/sponsors/principal/valor.svg",alt:"Valor Software",className:"w-full h-full object-contain md:p-8 p-12"})})})]})]}),l.jsxs("div",{className:"flex flex-col md:flex-row md:items-center lg:justify-between w-full mt-20",children:[l.jsxs("div",{className:"self-start xl:px-0 pr-8 md:w-[200px] w-full shrink-0",children:[l.jsx(Le,{typingSpeed:100,children:"2"}),l.jsx(Ne,{ElementTag:"h5",className:"font-medium text-2xl mb-8 xl:leading-5",enableBlur:!0,children:"Gold Sponsor"})]}),l.jsxs("div",{className:"grid xl:grid-cols-6 lg:grid-cols-5 md:grid-cols-4 grid-cols-2 gap-0",children:[l.jsx(ot,{children:l.jsx("a",{href:"https://www.mercedes.com",className:it,children:l.jsx("img",{src:"/sponsors/gold/mercedes.png",alt:"Mercedes-Benz.io",className:"w-full h-full object-contain p-7 brightness-100 max-h-[95px]"})})}),l.jsx(ot,{className:"lg:ml-[-1px] lg:mt-[0px] md:ml-[0px] md:mt-[-1px]",children:l.jsx("a",{href:"https://www.sanofi.com",className:it,children:l.jsx("img",{src:"/sponsors/gold/sanofi.png",alt:"Sanofi",className:"w-full h-full object-contain p-7 brightness-100 max-h-[80px]"})})}),l.jsx(ot,{className:"lg:ml-[-2px] lg:mt-[0px] md:ml-[0px] md:mt-[-1px]",children:l.jsx("a",{href:"https://www.movavi.com",className:`${it} brightness-10000 hover:brightness-100`,children:l.jsx("img",{src:"/sponsors/gold/movavi.svg",alt:"Movavi",className:"w-full h-full object-contain p-7 brightness-100 max-h-[80px]"})})}),l.jsx(ot,{className:"lg:ml-[-3px] lg:mt-[0px] md:ml-[0px] md:mt-[-1px]",children:l.jsx("a",{href:"https://www.jetbrains.com",className:`${it}`,children:l.jsx("img",{src:"/sponsors/gold/jetbrains.svg",alt:"JetBrains",className:"w-full h-full object-contain p-7 brightness-100 max-h-[90px]"})})}),l.jsx(ot,{className:"lg:ml-[-4px] lg:mt-[0px] md:ml-[0px] md:mt-[-1px]",children:l.jsx("a",{href:"https://www.snyk.io",className:`${it}`,children:l.jsx("img",{src:"/sponsors/gold/snyk.png",alt:"Snyk",className:"w-full h-full object-contain p-7 brightness-100 max-h-[90px]"})})})]})]}),l.jsxs("div",{className:"flex md:flex-row flex-col md:items-center lg:justify-between w-full mt-20",children:[l.jsxs("div",{className:"self-start md:w-[200px] w-full shrink-0",children:[l.jsx(Le,{typingSpeed:100,children:"3"}),l.jsx(Ne,{ElementTag:"h5",className:"font-medium text-2xl mb-8 xl:leading-5 xl:w-auto",enableBlur:!0,children:"Silver Sponsor"})]}),l.jsxs("div",{className:"grid xl:grid-cols-6 md:grid-cols-4 grid-cols-2 gap-0",children:[l.jsx(Z,{duration:.5,ease:"power2.out",children:l.jsx("div",{className:"cell lg:w-[160px] lg:h-[160px] aspect-square w-full border border-[#1e1d1d] flex items-center p-5 border-l-1 border-t-1",children:l.jsx("a",{href:"https://memory2.co/",className:"brightness-100 grayscale hover:grayscale-0 w-full h-full flex items-center justify-center",children:l.jsx("img",{src:"/sponsors/silver/memory-squared.png",alt:"Memory Squared",className:"w-full h-full object-contain p-5 max-h-[100px]"})})})}),o.map((d,h)=>l.jsx(Z,{duration:.5,ease:"power2.out",children:l.jsx("div",{className:`cell lg:w-[160px] lg:h-[160px] aspect-square w-full border border-[#1e1d1d] flex items-center p-5
667                      ${(h+1)%u===0?"border-l-1":"border-l-0"} ${h+1<u?"border-t-1":"border-t-0"}`,children:l.jsx("a",{href:d.website||"#",className:"brightness-100 grayscale hover:grayscale-0 w-full h-full flex items-center justify-center",children:l.jsx("img",{src:d.image,alt:d.name,className:"w-full h-full object-contain p-5 max-h-[100px]"})})})},d.MemberId))]})]}),l.jsxs("div",{className:"flex md:flex-row flex-col md:items-center lg:justify-between w-full mt-20",children:[l.jsxs("div",{className:"self-start md:w-[200px] w-full shrink-0",children:[l.jsx(Le,{typingSpeed:100,children:"4"}),l.jsx(Ne,{ElementTag:"h5",className:"font-medium text-2xl mb-8 xl:leading-5",enableBlur:!0,children:"Backer"})]}),l.jsx("div",{className:"grid gap-0",style:{gridTemplateColumns:`repeat(${c}, minmax(0, 1fr))`},children:r.map((d,h)=>l.jsx(Z,{duration:.5,ease:"power2.out",children:l.jsx("div",{className:`cell lg:w-[80px] xl:h-[80px] aspect-square w-full border border-[#1e1d1d] flex items-center 
668                      ${h%c===0?"border-l-1":"border-l-0"} ${h<c?"border-t-1":"border-t-0"}`,children:l.jsx("a",{href:d.website||"#",className:"brightness-100 grayscale opacity-30 hover:opacity-100 hover:grayscale-0 w-full h-full flex items-center justify-center",children:l.jsx("img",{src:d.image,alt:d.name,className:"w-full h-full object-contain p-5"})})})},d.MemberId))})]})]})]})}function Mf({}){return[{title:"NestJS - A progressive Node.js framework"},{name:"description",content:"NestJS is a framework for building efficient, scalable Node.js web applications. It uses modern JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming)."},{property:"og:url",content:"https://nestjs.com"},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"},{property:"og:site_name",content:"NestJS - A progressive Node.js framework"},{property:"og:title",content:"NestJS - A progressive Node.js framework"},{property:"og:description",content:"NestJS is a framework for building efficient, scalable Node.js web applications. It uses modern JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming)."},{property:"og:image",content:"https://nestjs.com/nest-og.png"},{property:"og:image:width",content:"820"},{property:"og:image:height",content:"429"}]}const kf=ja(function(){const[e,t]=_.useState(null);return _.useEffect(()=>
668{Dd().then(t).catch(()=>null)},[]),l.jsxs(l.Fragment,{children:[l.jsx(Fd,{stats:e,menuItems:La}),l.jsx("div",{className:"flex justify-center md:mt-20 mt-8 mb-0",children:l.jsx(vu,{})}),l.jsx("div",{className:"flex justify-center mt-30",children:l.jsx("div",{className:"container relative md:px-0 px-5",children:l.jsxs("div",{className:"grid md:grid-cols-[60%_10%_30%] sm:grid-cols-[60%_5%_35%] grid-rows-[auto] gap-0",children:[l.jsxs("div",{children:[l.jsx(Le,{children:"What is Nest"}),l.jsx(Ne,{ElementTag:"h2",className:"font-medium md:text-5xl sm:text-3xl text-4xl mb-4 md:leading-14 sm:leading-10 leading-12",enableBlur:!0,children:"Nest is a modern framework designed to build efficient, scalable web applications"})]}),l.jsx("span",{}),l.jsx(Ne,{className:"font-mono text-sm opacity-70 leading-6 font-light sm:pt-10 pt-4",ElementTag:"p",enableBlur:!0,children:"Built on TypeScript and Node.js, Nest blends best programming practices with a clean, modular architecture, keeping projects organized and easy to maintain."})]})})}),l.jsx("div",{className:"lg:pt-50 lg:pb-40 pt-40 pb-16 flex justify-center overflow-hidden",children:l.jsx(ru,{className:"custom-bounceCards",cards:[{icon:l.jsx("img",{src:"/features-icons/modules.png"}),title:"Modules",description:"Streamline upkeep by organizing applications into self-contained modules."},{icon:l.jsx("img",{src:"/features-icons/dependency.png"}),title:"Dependency Injection",description:"Boost code maintainability and testability with built-in dependency injection."},{icon:l.jsx("img",{src:"/features-icons/typesafety.png"}),title:"Type Safety",description:"Mitigate errors through the robust type safety features of TypeScript."},{icon:l.jsx("img",{src:"/features-icons/enterprise-ready.png"}),title:"Enterprise Ready",description:"Trusted by thousands of leading companies and organizations worldwide."},{icon:l.jsx("img",{src:"/features-icons/scalability.png"}),title:"Decorators",description:"Enhance code readability and structure with TypeScript decorators."},{icon:l.jsx("img",{src:"/features-icons/microservices.png"}),title:"Microservices",description:"Build scalable and efficient microservice architectures with ease."},{icon:l.jsx("img",{src:"/features-icons/webapps.png"}),title:"Web Apps",description:"Create dynamic and responsive web applications effortlessly."}],animationDelay:1,animationStagger:.08,easeType:"elastic.out(1, 0.5)",enableHover:!0})}),l.jsx(of,{}),l.jsx(Du,{className:"lg:pt-30 pt-0"}),l.jsx(pf,{className:"mt-30 pt-2 pb-30"}),l.jsx(Mu,{className:"sm:pt-30 pt-0"}),l.jsx("div",{className:"sm:p-10 sm:mt-50 mt-20 p-4",children:l.jsx(lf,{stats:e})}),l.jsx(_f,{}),l.jsx(Tf,{}),l.jsx(Xu,{className:"mt-20"})]})});export{kf as default,Mf as meta};

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.