PageSourceSearch

https://sly.base44.app/assets/Landing-CkJAcYvE.js

js sly.base44.app collected 2026-10-03 03:09:01 UTC 37,285 bytes, 22 lines download raw bytes

1import{j as b,k as L,S as ye,r as T,m as de,l as mt,n as yt,B as xt,u as wt,P as N}from"./index-BEQrjWfG.js";import{S as bt}from"./KnockoutHero-CgBsyyMG.js";import{F as vt}from"./FilmGrain-BOTYVMIG.js";import{M as _t,C as St,a as Et,H as kt,L as Ct}from"./portfolioData-B1ZHhp9D.js";import{S as At}from"./SiteNav-Blf5ISwF.js";import{P as Tt}from"./engineData-B6_GPOVS.js";import{u as Pt,a as Lt,b as Mt}from"./use-transform-JEpqlilz.js";import{u as Nt}from"./use-spring-Bp3b5Z66.js";import"./matter-DcNxph2H.js";function It(){return b.jsxs(b.Fragment,{children:[b.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:fixed focus:top-3 focus:left-3 focus:z-[100] focus:px-4 focus:py-2 focus:rounded-full focus:bg-orange focus:text-black focus:text-xs focus:font-bold focus:uppercase focus:tracking-[0.2em]",children:"Skip to content"}),b.jsx("h1",{className:"sr-only",children:"SLY — AI product group. Ideas that ship."})]})}/*!
2 * paths 3.15.0
3 * https://gsap.com
4 *
5 * Copyright 2008-2026, GreenSock. All rights reserved.
6 * Subject to the terms at https://gsap.com/standard-license
7 * @author: Jack Doyle, [email protected]
8*/var Rt=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,Ot=/(?
vendor: 20,342 bytes, lines 8-22
8:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,jt=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,Bt=/(^[#\.][a-z]|[a-y][a-z])/i,Ft=Math.PI/180,Dt=180/Math.PI,ae=Math.sin,le=Math.cos,j=Math.abs,z=Math.sqrt,qt=Math.atan2,Ee=1e8,je=function(e){return typeof e=="string"},Ke=function(e){return typeof e=="number"},Yt=function(e){return typeof e>"u"},Vt={},zt={},pe=1e5,Qe=function(e){return Math.round((e+Ee)%1*pe)/pe||(e<0?0:1)},E=function(e){return Math.round(e*pe)/pe||0},Be=function(e){return Math.round(e*1e10)/1e10||0},Fe=function(e){return e.closed=Math.abs(e[0]-e[e.length-2])<.001&&Math.abs(e[1]-e[e.length-1])<.001},De=function(e,t,n,r){var o=e[t],s=r===1?6:ke(o,n,r);if((s||!r)&&s+n+2<o.length)return e.splice(t,0,o.slice(0,n+s+2)),o.splice(0,n+s),1},Je=function(e,t,n){var r=e.length,o=~~(n*r);if(e[o]>t){for(;--o&&e[o]>t;);o<0&&(o=0)}else for(;e[++o]<t&&o<r;);return o<r?o:r-1},Gt=function(e,t){var n=e.length;for(e.reverse();n--;)e[n].reversed||Ht(e[n])},qe=function(e,t){return t.totalLength=e.totalLength,e.samples?(t.samples=e.samples.slice(0),t.lookup=e.lookup.slice(0),t.minLength=e.minLength,t.resolution=e.resolution):e.totalPoints&&(t.totalPoints=e.totalPoints),t},Xt=function(e,t){var n=e.length,r=e[n-1]||[],o=r.length;n&&t[0]===r[o-2]&&t[1]===r[o-1]&&(t=r.concat(t.slice(2)),n--),e[n]=t};function ue(i){i=je(i)&&Bt.test(i)&&document.querySelector(i)||i;var e=i.getAttribute?i:0,t;return e&&(i=i.getAttribute("d"))?(e._gsPath||(e._gsPath={}),t=e._gsPath[i],t&&!t._dirty?t:e._gsPath[i]=he(i)):i?je(i)?he(i):Ke(i[0])?[i]:i:console.warn("Expecting a <path> element or an SVG path data string")}function Ut(i){for(var e=[],t=0;t<i.length;t++)e[t]=qe(i[t],i[t].slice(0));return qe(i,e)}function Ht(i){var e=0,t;for(i.reverse();e<i.length;e+=2)t=i[e],i[e]=i[e+1],i[e+1]=t;i.reversed=!i.reversed}var Wt=function(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg","path"),r=[].slice.call(e.attributes),o=r.length,s;for(t=","+t+",";--o>-1;)s=r[o].nodeName.toLowerCase(),t.indexOf(","+s+",")<0&&n.setAttributeNS(null,s,r[o].nodeValue);return n},Zt={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"},$t=function(e,t){for(var n=t?t.split(","):[],r={},o=n.length;--o>-1;)r[n[o]]=+e.getAttribute(n[o])||0;return r};function Kt(i,e){var t=i.tagName.toLowerCase(),n=.552284749831,r,o,s,l,u,a,f,c,d,p,g,h,y,m,x,w,S,k,v,A,C,_;return t==="path"||!i.getBBox?i:(a=Wt(i,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),_=$t(i,Zt[t]),t==="rect"?(l=_.rx,u=_.ry||l,o=_.x,s=_.y,p=_.width-l*2,g=_.height-u*2,l||u?(h=o+l*(1-n),y=o+l,m=y+p,x=m+l*n,w=m+l,S=s+u*(1-n),k=s+u,v=k+g,A=v+u*n,C=v+u,r="M"+w+","+k+" V"+v+" C"+[w,A,x,C,m,C,m-(m-y)/3,C,y+(m-y)/3,C,y,C,h,C,o,A,o,v,o,v-(v-k)/3,o,k+(v-k)/3,o,k,o,S,h,s,y,s,y+(m-y)/3,s,m-(m-y)/3,s,m,s,x,s,w,S,w,k].join(",")+"z"):r="M"+(o+p)+","+s+" v"+g+" h"+-p+" v"+-g+" h"+p+"z"):t==="circle"||t==="ellipse"?(t==="circle"?(l=u=_.r,c=l*n):(l=_.rx,u=_.ry,c=u*n),o=_.cx,s=_.cy,f=l*n,r="M"+(o+l)+","+s+" C"+[o+l,s+c,o+f,s+u,o,s+u,o-f,s+u,o-l,s+c,o-l,s,o-l,s-c,o-f,s-u,o,s-u,o+f,s-u,o+l,s-c,o+l,s].join(",")+"z"):t==="line"?r="M"+_.x1+","+_.y1+" L"+_.x2+","+_.y2:(t==="polyline"||t==="polygon")&&(d=(i.getAttribute("points")+"").match(Ot)||[],o=d.shift(),s=d.shift(),r="M"+o+","+s+" L"+d.join(","),t==="polygon"&&(r+=","+o+","+s+"z")),a.setAttribute("d",nt(a._gsRawPath=he(r))),e&&i.parentNode&&(i.parentNode.insertBefore(a,i),i.parentNode.removeChild(i)),a)}function et(i,e,t){var n=i[e],r=i[e+2],o=i[e+4],s;return n+=(r-n)*t,r+=(o-r)*t,n+=(r-n)*t,s=r+(o+(i[e+6]-o)*t-r)*t-n,n=i[e+1],r=i[e+3],o=i[e+5],n+=(r-n)*t,r+=(o-r)*t,n+=(r-n)*t,E(qt(r+(o+(i[e+7]-o)*t-r)*t-n,s)*Dt)}function tt(i,e,t){t=Yt(t)?1:Be(t)||0,e=Be(e)||0;var n=Math.max(0,~~(j(t-e)-1e-8)),r=Ut(i);if(e>t&&(e=1-e,t=1-t,Gt(r),r.totalLength=0),e<0||t<0){var o=Math.abs(~~Math.min(e,t))+1;e+=o,t+=o}r.totalLength||U(r);var s=t>1,l=Ye(r,e,Vt,!0),u=Ye(r,t,zt),a=u.segment,f=l.segment,c=u.segIndex,d=l.segIndex,p=u.i,g=l.i,h=d===c,y=p===g&&h,m,x,w,S,k,v,A,C;if(s||n){for(m=c<d||h&&p<g||y&&u.t<l.t,De(r,d,g,l.t)&&(d++,m||(c++,y?(u.t=(u.t-l.t)/(1-l.t),p=0):h&&(p-=g))),Math.abs(1-(t-e))<1e-5?c=d-1:!u.t&&c?c--:De(r,c,p,u.t)&&m&&d++,l.t===1&&(d=(d+1)%r.length),k=[],v=r.length,A=1+v*n,C=d,A+=(v-d+c)%v,S=0;S<A;S++)Xt(k,r[C++%v]);r=k}else if(w=u.t===1?6:ke(a,p,u.t),e!==t)for(x=ke(f,g,y?l.t/u.t:l.t),h&&(w+=x),a.splice(p+w+2),(x||g)&&f.splice(0,g+x),S=r.length;S--;)(S<d||S>c)&&r.splice(S,1);else a.angle=et(a,p+w,0),p+=w,l=a[p],u=a[p+1],a.length=a.totalLength=0,a.totalPoints=r.totalPoints=8,a.push(l,u,l,u,l,u,l,u);return r.totalLength=0,r}function Qt(i,e,t){e=e||0,i.samples||(i.samples=[],i.lookup=[]);var n=~~i.resolution||12,r=1/n,o=i.length,s=i[e],l=i[e+1],u=e?e/6*n:0,a=i.samples,f=i.lookup,c=(e?i.minLength:Ee)||Ee,d=a[u+t*n-1],p=e?a[u-1]:0,g,h,y,m,x,w,S,k,v,A,C,_,P,M,F,R,K;for(a.length=f.length=0,h=e+2;h<o;h+=6){if(y=i[h+4]-s,m=i[h+2]-s,x=i[h]-s,k=i[h+5]-l,v=i[h+3]-l,A=i[h+1]-l,w=S=C=_=0,j(y)<.01&&j(k)<.01&&j(x)+j(A)<.01)i.length>8&&(i.splice(h,6),h-=6,o-=6);else for(g=1;g<=n;g++)M=r*g,P=1-M,w=S-(S=(M*M*y+3*P*(M*m+P*x))*M),C=_-(_=(M*M*k+3*P*(M*v+P*A))*M),R=z(C*C+w*w),R<c&&(c=R),p+=R,a[u++]=p;s+=y,l+=k}if(d)for(d-=p;u<a.length;u++)a[u]+=d;if(a.length&&c){if(i.totalLength=K=a[a.length-1]||0,i.minLength=c,K/c<9999)for(R=F=0,g=0;g<K;g+=c)f[R++]=a[F]<g?++F:F}else i.totalLength=a[0]=0;return e?p-a[e/2-1]:p}function U(i,e){var t,n,r;for(r=t=n=0;r<i.length;r++)i[r].resolution=~~e||12,t+=Qt(i[r]),n+=i[r].length;return i.totalPoints=n,i.totalLength=t,i}function ke(i,e,t){if(t<=0||t>=1)return 0;var n=i[e],r=i[e+1],o=i[e+2],s=i[e+3],l=i[e+4],u=i[e+5],a=i[e+6],f=i[e+7],c=n+(o-n)*t,d=o+(l-o)*t,p=r+(s-r)*t,g=s+(u-s)*t,h=c+(d-c)*t,y=p+(g-p)*t,m=l+(a-l)*t,x=u+(f-u)*t;return d+=(m-d)*t,g+=(x-g)*t,i.splice(e+2,4,E(c),E(p),E(h),E(y),E(h+(d-h)*t),E(y+(g-y)*t),E(d),E(g),E(m),E(x)),i.samples&&i.samples.splice(e/6*i.resolution|0,0,0,0,0,0,0,0),6}function Ye(i,e,t,n){t=t||{},i.totalLength||U(i),(e<0||e>1)&&(e=Qe(e));var r=0,o=i[0],s,l,u,a,f,c,d;if(!e)d=c=r=0,o=i[0];else if(e===1)d=1,r=i.length-1,o=i[r],c=o.length-8;else{if(i.length>1){for(u=i.totalLength*e,f=c=0;(f+=i[c++].totalLength)<u;)r=c;o=i[r],a=f-o.totalLength,e=(u-a)/(f-a)||0}s=o.samples,l=o.resolution,u=o.totalLength*e,c=o.lookup.length?o.lookup[~~(u/o.minLength)]||0:Je(s,u,e),a=c?s[c-1]:0,f=s[c],f<u&&(a=f,f=s[++c]),d=1/l*((u-a)/(f-a)+c%l),c=~~(c/l)*6,n&&d===1&&(c+6<o.length?(c+=6,d=0):r+1<i.length&&(c=d=0,o=i[++r]))}return t.t=d,t.i=c,t.path=i,t.segment=o,t.segIndex=r,t}function Ve(i,e,t,n){var r=i[0],o=n||{},s,l,u,a,f,c,d,p,g;if((e<0||e>1)&&(e=Qe(e)),r.lookup||U(i),i.length>1){for(u=i.totalLength*e,f=c=0;(f+=i[c++].totalLength)<u;)r=i[c];a=f-r.totalLength,e=(u-a)/(f-a)||0}return s=r.samples,l=r.resolution,u=r.totalLength*e,c=r.lookup.length?r.lookup[e<1?~~(u/r.minLength):r.lookup.length-1]||0:Je(s,u,e),a=c?s[c-1]:0,f=s[c],f<u&&(a=f,f=s[++c]),d=1/l*((u-a)/(f-a)+c%l)||0,g=1-d,c=~~(c/l)*6,p=r[c],o.x=E((d*d*(r[c+6]-p)+3*g*(d*(r[c+4]-p)+g*(r[c+2]-p)))*d+p),o.y=E((d*d*(r[c+7]-(p=r[c+1]))+3*g*(d*(r[c+5]-p)+g*(r[c+3]-p)))*d+p),t&&(o.angle=r.totalLength?et(r,c,d>=1?1-1e-9:d||1e-9):r.angle||0),o}function J(i,e,t,n,r,o,s){for(var l=i.length,u,a,f,c,d;--l>-1;)for(u=i[l],a=u.length,f=0;f<a;f+=2)c=u[f],d=u[f+1],u[f]=c*e+d*n+o,u[f+1]=c*t+d*r+s;return i._dirty=1,i}function Jt(i,e,t,n,r,o,s,l,u){if(!(i===l&&e===u)){t=j(t),n=j(n);var a=r%360*Ft,f=le(a),c=ae(a),d=Math.PI,p=d*2,g=(i-l)/2,h=(e-u)/2,y=f*g+c*h,m=-c*g+f*h,x=y*y,w=m*m,S=x/(t*t)+w/(n*n);S>1&&(t=z(S)*t,n=z(S)*n);var k=t*t,v=n*n,A=(k*v-k*w-v*x)/(k*w+v*x);A<0&&(A=0);var C=(o===s?-1:1)*z(A),_=C*(t*m/n),P=C*-(n*y/t),M=(i+l)/2,F=(e+u)/2,R=M+(f*_-c*P),K=F+(c*_+f*P),D=(y-_)/t,q=(m-P)/n,ie=(-y-_)/t,re=(-m-P)/n,Ie=D*D+q*q,Re=(q<0?-1:1)*Math.acos(D/z(Ie)),Y=(D*re-q*ie<0?-1:1)*Math.acos((D*ie+q*re)/z(Ie*(ie*ie+re*re)));isNaN(Y)&&(Y=d),!s&&Y>0?Y-=p:s&&Y<0&&(Y+=p),Re%=p,Y%=p;var Oe=Math.ceil(j(Y)/(p/4)),V=[],oe=Y/Oe,se=4/3*ae(oe/2)/(1+le(oe/2)),dt=f*t,pt=c*t,ht=c*-n,gt=f*n,I;for(I=0;I<Oe;I++)r=Re+I*oe,y=le(r),m=ae(r),D=le(r+=oe),q=ae(r),V.push(y-se*m,m+se*y,D+se*q,q-se*D,D,q);for(I=0;I<V.length;I+=2)y=V[I],m=V[I+1],V[I]=y*dt+m*ht+R,V[I+1]=y*pt+m*gt+K;return V[I-2]=l,V[I-1]=u,V}}function he(i){var e=(i+"").replace(jt,function(_){var P=+_;return P<1e-4&&P>-1e-4?0:P}).match(Rt)||[],t=[],n=0,r=0,o=2/3,s=e.length,l=0,u="ERROR: malformed path: "+i,a,f,c,d,p,g,h,y,m,x,w,S,k,v,A,C=function(P,M,F,R){x=(F-P)/3,w=(R-M)/3,h.push(P+x,M+w,F-x,R-w,F,R)};if(!i||!isNaN(e[0])||isNaN(e[1]))return console.log(u),t;for(a=0;a<s;a++)if(k=p,isNaN(e[a])?(p=e[a].toUpperCase(),g=p!==e[a]):a--,c=+e[a+1],d=+e[a+2],g&&(c+=n,d+=r),a||(y=c,m=d),p==="M")h&&(h.length<8?t.length-=1:l+=h.length,Fe(h)),n=y=c,r=m=d,h=[c,d],t.push(h),a+=2,p="L";else if(p==="C")h||(h=[0,0]),g||(n=r=0),h.push(c,d,n+e[a+3]*1,r+e[a+4]*1,n+=e[a+5]*1,r+=e[a+6]*1),a+=6;else if(p==="S")x=n,w=r,(k==="C"||k==="S")&&(x+=n-h[h.length-4],w+=r-h[h.length-3]),g||(n=r=0),h.push(x,w,c,d,n+=e[a+3]*1,r+=e[a+4]*1),a+=4;else if(p==="Q")x=n+(c-n)*o,w=r+(d-r)*o,g||(n=r=0),n+=e[a+3]*1,r+=e[a+4]*1,h.push(x,w,n+(c-n)*o,r+(d-r)*o,n,r),a+=4;else if(p==="T")x=n-h[h.length-4],w=r-h[h.length-3],h.push(n+x,r+w,c+(n+x*1.5-c)*o,d+(r+w*1.5-d)*o,n=c,r=d),a+=2;else if(p==="H")C(n,r,n=c,r),a+=1;else if(p==="V")C(n,r,n,r=c+(g?r-n:0)),a+=1;else if(p==="L"||p==="Z")p==="Z"&&(c=y,d=m,h.closed=!0),(p==="L"||j(n-c)>.5||j(r-d)>.5)&&(C(n,r,c,d),p==="L"&&(a+=2)),n=c,r=d;else if(p==="A"){if(v=e[a+4],A=e[a+5],x=e[a+6],w=e[a+7],f=7,v.length>1&&(v.length<3?(w=x,x=A,f--):(w=A,x=v.substr(2),f-=2),A=v.charAt(1),v=v.charAt(0)),S=Jt(n,r,+e[a+1],+e[a+2],+e[a+3],+v,+A,(g?n:0)+x*1,(g?r:0)+w*1),a+=f,S)for(f=0;f<S.length;f++)h.push(S[f]);n=h[h.length-2],r=h[h.length-1]}else console.log(u);return a=h.length,a<6?(t.pop(),a=0):Fe(h),t.totalPoints=l+a,t}function en(i,e){e===void 0&&(e=1);for(var t=i[0],n=0,r=[t,n],o=2;o<i.length;o+=2)r.push(t,n,i[o],n=(i[o]-t)*e/2,t=i[o],-n);return r}function Ce(i,e){j(i[0]-i[2])<1e-4&&j(i[1]-i[3])<1e-4&&(i=i.slice(2));var t=i.length-2,n=+i[0],r=+i[1],o=+i[2],s=+i[3],l=[n,r,n,r],u=o-n,a=s-r,f=i.nonSmooth||[],c=Math.abs(i[t]-n)<.001&&Math.abs(i[t+1]-r)<.001,d,p,g,h,y,m,x,w,S,k,v,A,C,_,P;if(!t)return[n,r,n,r,n,r,n,r];for(c&&(i.push(o,s),o=n,s=r,n=i[t-2],r=i[t-1],i.unshift(n,r),t+=4,f=[0,0].concat(f)),e=e||e===0?+e:1,g=2;g<t;g+=2)if(d=n,p=r,n=o,r=s,o=+i[g+2],s=+i[g+3],!(n===o&&r===s)){if(h=u,y=a,u=o-n,a=s-r,f[g]){l.push(n-(n-d)/4,r-(r-p)/4,n,r,n+(o-n)/4,r+(s-r)/4);continue}m=z(h*h+y*y),x=z(u*u+a*a),w=z(Math.pow(u/x+h/m,2)+Math.pow(a/x+y/m,2)),S=(m+x)*e*.25/w,k=n-(n-d)*(m?S/m:0),v=n+(o-n)*(x?S/x:0),A=n-(k+((v-k)*(m*3/(m+x)+.5)/4||0)),C=r-(r-p)*(m?S/m:0),_=r+(s-r)*(x?S/x:0),P=r-(C+((_-C)*(m*3/(m+x)+.5)/4||0)),l.push(E(k+A),E(C+P),E(n),E(r),E(v+A),E(_+P))}return n!==o||r!==s||l.length<4?l.push(E(o),E(s),E(o),E(s)):l.length-=2,l.length===2?l.push(n,r,n,r,n,r):c&&(l.splice(0,6),l.length-=6),l.closed=c,l}function nt(i){Ke(i[0])&&(i=[i]);var e="",t=i.length,n,r,o,s;for(r=0;r<t;r++){for(s=i[r],e+="M"+E(s[0])+","+E(s[1])+" C",n=s.length,o=2;o<n;o++)e+=E(s[o++])+","+E(s[o++])+" "+E(s[o++])+","+E(s[o++])+" "+E(s[o++])+","+E(s[o])+" ";s.closed&&(e+="z")}return e}/*!
9 * matrix 3.15.0
10 * https://gsap.com
11 *
12 * Copyright 2008-2026, GreenSock. All rights reserved.
13 * Subject to the terms at https://gsap.com/standard-license
14 * @author: Jack Doyle, [email protected]
15*/var G,H,Le,xe,ee,fe,ge,te,B="transform",Ae=B+"Origin",it,rt=function(e){var t=e.ownerDocument||e;for(!(B in e.style)&&("msTransform"in e.style)&&(B="msTransform",Ae=B+"Origin");t.parentNode&&(t=t.parentNode););if(H=window,ge=new ne,t){G=t,Le=t.documentElement,xe=t.body,te=G.createElementNS("http://www.w3.org/2000/svg","g"),te.style.transform="none";var n=t.createElement("div"),r=t.createElement("div"),o=t&&(t.body||t.firstElementChild);o&&o.appendChild&&(o.appendChild(n),n.appendChild(r),n.style.position="static",n.style.transform="translate3d(0,0,1px)",it=r.offsetParent!==n,o.removeChild(n))}return t},tn=function(e){for(var t,n;e&&e!==xe;)n=e._gsap,n&&n.uncache&&n.get(e,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),t?t.push(n):t=[n]),e=e.parentNode;return t},ot=[],st=[],nn=function(){return H.pageYOffset||G.scrollTop||Le.scrollTop||xe.scrollTop||0},rn=function(){return H.pageXOffset||G.scrollLeft||Le.scrollLeft||xe.scrollLeft||0},Me=function(e){return e.ownerSVGElement||((e.tagName+"").toLowerCase()==="svg"?e:null)},on=function i(e){if(H.getComputedStyle(e).position==="fixed")return!0;if(e=e.parentNode,e&&e.nodeType===1)return i(e)},we=function i(e,t){if(e.parentNode&&(G||rt(e))){var n=Me(e),r=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=n?t?"rect":"g":"div",s=t!==2?0:100,l=t===3?100:0,u={position:"absolute",display:"block",pointerEvents:"none",margin:"0",padding:"0"},a=G.createElementNS?G.createElementNS(r.replace(/^https/,"http"),o):G.createElement(o);return t&&(n?(fe||(fe=i(e)),a.setAttribute("width",.01),a.setAttribute("height",.01),a.setAttribute("transform","translate("+s+","+l+")"),a.setAttribute("fill","transparent"),fe.appendChild(a)):(ee||(ee=i(e),Object.assign(ee.style,u)),Object.assign(a.style,u,{width:"0.1px",height:"0.1px",top:l+"px",left:s+"px"}),ee.appendChild(a))),a}throw"Need document and parent."},sn=function(e){for(var t=new ne,n=0;n<e.numberOfItems;n++)t.multiply(e.getItem(n).matrix);return t},an=function(e){var t=e.getCTM(),n;return t||(n=e.style[B],e.style[B]="none",e.appendChild(te),t=te.getCTM(),e.removeChild(te),n?e.style[B]=n:e.style.removeProperty(B.replace(/([A-Z])/g,"-$1").toLowerCase())),t||ge.clone()},ln=function(e,t){var n=Me(e),r=e===n,o=n?ot:st,s=e.parentNode,l=s&&!n&&s.shadowRoot&&s.shadowRoot.appendChild?s.shadowRoot:s,u,a,f,c,d,p;if(e===H)return e;if(o.length||o.push(we(e,1),we(e,2),we(e,3)),u=n?fe:ee,n)r?(f=an(e),c=-f.e/f.a,d=-f.f/f.d,a=ge):e.getBBox?(f=e.getBBox(),a=e.transform?e.transform.baseVal:{},a=a.numberOfItems?a.numberOfItems>1?sn(a):a.getItem(0).matrix:ge,c=a.a*f.x+a.c*f.y,d=a.b*f.x+a.d*f.y):(a=new ne,c=d=0),t&&e.tagName.toLowerCase()==="g"&&(c=d=0),(r||!e.getBoundingClientRect().width?n:s).appendChild(u),u.setAttribute("transform","matrix("+a.a+","+a.b+","+a.c+","+a.d+","+(a.e+c)+","+(a.f+d)+")");else{if(c=d=0,it)for(a=e.offsetParent,f=e;f&&(f=f.parentNode)&&f!==a&&f.parentNode;)(H.getComputedStyle(f)[B]+"").length>4&&(c=f.offsetLeft,d=f.offsetTop,f=0);if(p=H.getComputedStyle(e),p.position!=="absolute"&&p.position!=="fixed")for(a=e.offsetParent;s&&s!==a;)c+=s.scrollLeft||0,d+=s.scrollTop||0,s=s.parentNode;f=u.style,f.top=e.offsetTop-d+"px",f.left=e.offsetLeft-c+"px",f[B]=p[B],f[Ae]=p[Ae],f.position=p.position==="fixed"?"fixed":"absolute",l.appendChild(u)}return u},be=function(e,t,n,r,o,s,l){return e.a=t,e.b=n,e.c=r,e.d=o,e.e=s,e.f=l,e},ne=(function(){function i(t,n,r,o,s,l){t===void 0&&(t=1),n===void 0&&(n=0),r===void 0&&(r=0),o===void 0&&(o=1),s===void 0&&(s=0),l===void 0&&(l=0),be(this,t,n,r,o,s,l)}var e=i.prototype;return e.inverse=function(){var n=this.a,r=this.b,o=this.c,s=this.d,l=this.e,u=this.f,a=n*s-r*o||1e-10;return be(this,s/a,-r/a,-o/a,n/a,(o*u-s*l)/a,-(n*u-r*l)/a)},e.multiply=function(n){var r=this.a,o=this.b,s=this.c,l=this.d,u=this.e,a=this.f,f=n.a,c=n.c,d=n.b,p=n.d,g=n.e,h=n.f;return be(this,f*r+d*s,f*o+d*l,c*r+p*s,c*o+p*l,u+g*r+h*s,a+g*o+h*l)},e.clone=function(){return new i(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(n){var r=this.a,o=this.b,s=this.c,l=this.d,u=this.e,a=this.f;return r===n.a&&o===n.b&&s===n.c&&l===n.d&&u===n.e&&a===n.f},e.apply=function(n,r){r===void 0&&(r={});var o=n.x,s=n.y,l=this.a,u=this.b,a=this.c,f=this.d,c=this.e,d=this.f;return r.x=o*l+s*a+c||0,r.y=o*u+s*f+d||0,r},i})();function $(i,e,t,n){if(!i||!i.parentNode||(G||rt(i)).documentElement===i)return new ne;var r=tn(i),o=Me(i),s=o?ot:st,l=ln(i,t),u=s[0].getBoundingClientRect(),a=s[1].getBoundingClientRect(),f=s[2].getBoundingClientRect(),c=l.parentNode,d=!n&&on(i),p=new ne((a.left-u.left)/100,(a.top-u.top)/100,(f.left-u.left)/100,(f.top-u.top)/100,u.left+(d?0:rn()),u.top+(d?0:nn()));if(c.removeChild(l),r)for(u=r.length;u--;)a=r[u],a.scaleX=a.scaleY=0,a.renderTransform(1,a);return e?p.inverse():p}/*!
16 * MotionPathPlugin 3.15.0
17 * https://gsap.com
18 *
19 * @license Copyright 2008-2026, GreenSock. All rights reserved.
20 * Subject to the terms at https://gsap.com/standard-license
21 * @author: Jack Doyle, [email protected]
22*/var cn="x,translateX,left,marginLeft,xPercent".split(","),un="y,translateY,top,marginTop,yPercent".split(","),fn=Math.PI/180,O,at,W,Te,ve,ze,dn=function(){return O||typeof window<"u"&&(O=window.gsap)&&O.registerPlugin&&O},Q=function(e,t,n,r){for(var o=t.length,s=r===2?0:r,l=0;l<o;l++)e[s]=parseFloat(t[l][n]),r===2&&(e[s+1]=0),s+=2;return e},Z=function(e,t,n){return parseFloat(e._gsap.get(e,t,n||"px"))||0},lt=function(e){var t=e[0],n=e[1],r;for(r=2;r<e.length;r+=2)t=e[r]+=t,n=e[r+1]+=n},Ge=function(e,t,n,r,o,s,l,u,a){if(l.type==="cubic")t=[t];else{l.fromCurrent!==!1&&t.unshift(Z(n,r,u),o?Z(n,o,a):0),l.relative&&lt(t);var f=o?Ce:en;t=[f(t,l.curviness)]}return t=s(ct(t,n,l)),me(e,n,r,t,"x",u),o&&me(e,n,o,t,"y",a),U(t,l.resolution||(l.curviness===0?20:12))},pn=function(e){return e},hn=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,Xe=function(e,t,n){var r=$(e),o=0,s=0,l;return(e.tagName+"").toLowerCase()==="svg"?(l=e.viewBox.baseVal,l.width||(l={width:+e.getAttribute("width"),height:+e.getAttribute("height")})):l=t&&e.getBBox&&e.getBBox(),t&&t!=="auto"&&(o=t.push?t[0]*(l?l.width:e.offsetWidth||0):t.x,s=t.push?t[1]*(l?l.height:e.offsetHeight||0):t.y),n.apply(o||s?r.apply({x:o,y:s}):{x:r.e,y:r.f})},Pe=function(e,t,n,r){var o=$(e.parentNode,!0,!0),s=o.clone().multiply($(t)),l=Xe(e,n,o),u=Xe(t,r,o),a=u.x,f=u.y,c;return s.e=s.f=0,r==="auto"&&t.getTotalLength&&t.tagName.toLowerCase()==="path"&&(c=t.getAttribute("d").match(hn)||[],c=s.apply({x:+c[0],y:+c[1]}),a+=c.x,f+=c.y),c&&(c=s.apply(t.getBBox()),a-=c.x,f-=c.y),s.e=a-l.x,s.f=f-l.y,s},ct=function(e,t,n){var r=n.align,o=n.matrix,s=n.offsetX,l=n.offsetY,u=n.alignOrigin,a=e[0][0],f=e[0][1],c=Z(t,"x"),d=Z(t,"y"),p,g,h;return!e||!e.length?ue("M0,0L0,0"):(r&&(r==="self"||(p=Te(r)[0]||t)===t?J(e,1,0,0,1,c-a,d-f):(u&&u[2]!==!1?O.set(t,{transformOrigin:u[0]*100+"% "+u[1]*100+"%"}):u=[Z(t,"xPercent")/-100,Z(t,"yPercent")/-100],g=Pe(t,p,u,"auto"),h=g.apply({x:a,y:f}),J(e,g.a,g.b,g.c,g.d,c+g.e-(h.x-g.e),d+g.f-(h.y-g.f)))),o?J(e,o.a,o.b,o.c,o.d,o.e,o.f):(s||l)&&J(e,1,0,0,1,s||0,l||0),e)},me=function(e,t,n,r,o,s){var l=t._gsap,u=l.harness,a=u&&u.aliases&&u.aliases[n],f=a&&a.indexOf(",")<0?a:n,c=e._pt=new at(e._pt,t,f,0,0,pn,0,l.set(t,f,e));c.u=W(l.get(t,f,s))||0,c.path=r,c.pp=o,e._props.push(f)},gn=function(e,t){return function(n){return e||t!==1?tt(n,e,t):n}},ut={version:"3.15.0",name:"motionPath",register:function(e,t,n){O=e,W=O.utils.getUnit,Te=O.utils.toArray,ve=O.core.getStyleSaver,ze=O.core.reverting||function(){},at=n},init:function(e,t,n){if(!O)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;(!(typeof t=="object"&&!t.style)||!t.path)&&(t={path:t});var r=[],o=t,s=o.path,l=o.autoRotate,u=o.unitX,a=o.unitY,f=o.x,c=o.y,d=s[0],p=gn(t.start,"end"in t?t.end:1),g,h;if(this.rawPaths=r,this.target=e,this.tween=n,this.styles=ve&&ve(e,"transform"),(this.rotate=l||l===0)&&(this.rOffset=parseFloat(l)||0,this.radians=!!t.useRadians,this.rProp=t.rotation||"rotation",this.rSet=e._gsap.set(e,this.rProp,this),this.ru=W(e._gsap.get(e,this.rProp))||0),Array.isArray(s)&&!("closed"in s)&&typeof d!="number"){for(h in d)!f&&~cn.indexOf(h)?f=h:!c&&~un.indexOf(h)&&(c=h);f&&c?r.push(Ge(this,Q(Q([],s,f,0),s,c,1),e,f,c,p,t,u||W(s[0][f]),a||W(s[0][c]))):f=c=0;for(h in d)h!==f&&h!==c&&r.push(Ge(this,Q([],s,h,2),e,h,0,p,t,W(s[0][h])))}else g=p(ct(ue(t.path),e,t)),U(g,t.resolution),r.push(g),me(this,e,t.x||"x",g,"x",t.unitX||"px"),me(this,e,t.y||"y",g,"y",t.unitY||"px");n.vars.immediateRender&&this.render(n.progress(),this)},render:function(e,t){var n=t.rawPaths,r=n.length,o=t._pt;if(t.tween._time||!ze()){for(e>1?e=1:e<0&&(e=0);r--;)Ve(n[r],e,!r&&t.rotate,n[r]);for(;o;)o.set(o.t,o.p,o.path[o.pp]+o.u,o.d,e),o=o._next;t.rotate&&t.rSet(t.target,t.rProp,n[0].angle*(t.radians?fn:1)+t.rOffset+t.ru,t,e)}else t.styles.revert()},getLength:function(e){return U(ue(e)).totalLength},sliceRawPath:tt,getRawPath:ue,pointsToSegment:Ce,stringToRawPath:he,rawPathToString:nt,transformRawPath:J,getGlobalMatrix:$,getPositionOnPath:Ve,cac
22heRawPathMeasurements:U,convertToPath:function(e,t){return Te(e).map(function(n){return Kt(n,t!==!1)})},convertCoordinates:function(e,t,n){var r=$(t,!0,!0).multiply($(e));return n?r.apply(n):r},getAlignMatrix:Pe,getRelativePosition:function(e,t,n,r){var o=Pe(e,t,n,r);return{x:o.e,y:o.f}},arrayToRawPath:function(e,t){t=t||{};var n=Q(Q([],e,t.x||"x",0),e,t.y||"y",1);return t.relative&&lt(n),[t.type==="cubic"?n:Ce(n,t.curviness)]}};dn()&&O.registerPlugin(ut);const _e={enter:"power4.out",transition:"power4.inOut",ui:"power2.out"},ce={label:.6,reveal:1,media:1.2},Ue={letters:.03,lines:.06},mn={foreground:1.5};L.registerPlugin(ye,ut);let X=null;function He(i=!1){document.documentElement.classList.toggle("perf-low",X==="low"),X==="low"&&i&&document.documentElement.classList.add("perf-boot")}function Ne(){const i=navigator.connection;return i?i.saveData===!0||i.effectiveType&&["slow-2g","2g","3g"].includes(i.effectiveType)?!0:typeof i.downlink=="number"&&i.downlink>0&&i.downlink<1.5:!1}function yn(){if(X)return X;if(X=navigator.deviceMemory&&navigator.deviceMemory<=4||navigator.hardwareConcurrency&&navigator.hardwareConcurrency<=4||Ne()?"low":"high",He(!0),X==="high"){let e=0,t=0;const n=r=>{t||(t=r),e++,r-t<1200?requestAnimationFrame(n):e/((r-t)/1e3)<45&&(X="low",He())};requestAnimationFrame(n)}return X}const We=[_t,St,Et];function xn(){return T.useEffect(()=>{if(Ne())return;let i=!1;const e=[],t=(o,s)=>{const l=document.createElement("video");return l.muted=!0,l.playsInline=!0,l.preload=s,l.src=o,l.load(),e.push(l),l},n=o=>{if(i||o>=We.length)return;const s=t(We[o],"auto");let l=!1;const u=()=>{l||i||(l=!0,n(o+1))};s.addEventListener("canplaythrough",u,{once:!0}),s.addEventListener("error",u,{once:!0}),setTimeout(u,6e3)};return(window.requestIdleCallback||(o=>setTimeout(o,1200)))(()=>n(0)),()=>{i=!0,e.forEach(o=>{o.removeAttribute("src"),o.load()})}},[]),null}const wn=new Set([...Ct.map(i=>i.src),kt]);function bn({open:i}){const e=T.useRef(!1);return T.useEffect(()=>{if(i||e.current)return;const t=r=>{const o=r.getAttribute("src");if(!(!o||wn.has(o)||r.dataset.slyParked)){r.dataset.slyParked=o,r.removeAttribute("src");try{r.load()}catch{}}};document.querySelectorAll("video").forEach(t);const n=new MutationObserver(r=>{r.forEach(o=>o.addedNodes.forEach(s=>{var l;s.nodeType===1&&(s.tagName==="VIDEO"&&t(s),(l=s.querySelectorAll)==null||l.call(s,"video").forEach(t))}))});return n.observe(document.body,{childList:!0,subtree:!0}),()=>n.disconnect()},[i]),T.useEffect(()=>{if(!i||e.current)return;e.current=!0;const n=Array.from(document.querySelectorAll("video[data-sly-parked]")).map((r,o)=>setTimeout(()=>{const s=r.dataset.slyParked;if(delete r.dataset.slyParked,!(!s||r.getAttribute("src"))){r.src=s;try{r.load()}catch{}r.autoplay&&r.play().catch(()=>{})}},o*180));return()=>n.forEach(clearTimeout)},[i]),null}function vn(){return T.useEffect(()=>{const i=document.getElementById("main-content");if(!i)return;const e=new IntersectionObserver(t=>t.forEach(n=>n.target.classList.toggle("sly-offstage",!n.isIntersecting)),{rootMargin:"40% 0px 40% 0px"});return Array.from(i.children).forEach(t=>e.observe(t)),()=>e.disconnect()},[]),null}const _n=70,Sn=.86;let Ze=!1;function En(){var l;if(Ze||typeof window>"u"||window.matchMedia("(prefers-reduced-motion: reduce)").matches||!window.matchMedia("(hover: hover) and (pointer: fine)").matches||document.documentElement.classList.contains("perf-low"))return;Ze=!0;const i=document.documentElement;let e=window.scrollY,t=0,n=1,r=!1;const o=()=>{const u=window.scrollY,a=u-e;e=u,a!==0&&(n=a>0?1:-1);const f=Math.min(1,Math.abs(a)/_n);if(t=f>t?f:t*Sn,t<.002){t=0,r=!1,i.style.setProperty("--sly-vel","0");return}i.style.setProperty("--sly-vel",t.toFixed(3)),i.style.setProperty("--sly-dir",String(n)),requestAnimationFrame(o)},s=()=>{r||(r=!0,requestAnimationFrame(o))};(l=window.__lenis)!=null&&l.on?window.__lenis.on("scroll",s):window.addEventListener("scroll",s,{passive:!0})}function kn(){return T.useEffect(()=>{En()},[]),null}const Cn=9e4;function An(){return T.useEffect(()=>{let i=[],e,t=!1,n=0;const r=()=>{t||(t=!0,i=[],document.querySelectorAll("video").forEach(a=>{!a.paused&&!a.ended&&(i.push(a),a.pause())}))},o=()=>{clearTimeout(e),document.hidden||(e=setTimeout(r,Cn))},s=()=>
22{t&&(t=!1,i.forEach(f=>{f.isConnected&&f.play().catch(()=>{})}),i=[]);const a=Date.now();a-n>1e3&&(n=a,o())},l=()=>document.hidden?r():s(),u=["pointerdown","pointermove","wheel","touchstart","keydown","scroll"];return u.forEach(a=>window.addEventListener(a,s,{passive:!0})),document.addEventListener("visibilitychange",l),o(),()=>{u.forEach(a=>window.removeEventListener(a,s)),document.removeEventListener("visibilitychange",l),clearTimeout(e)}},[]),null}const ft=[{key:"agent",kicker:"AI & Automation",title:"An AI layer for your business.",copy:"Copilots and agents trained on your data — answering, triaging, and acting around the clock.",specs:["24/7 AI assistant","Instant answers from your data","Auto-triage & routing","Human handoff built in"],accent:"#FF6B35",dir:1},{key:"dashboard",kicker:"Command & Clarity",title:"Every number, live.",copy:"Dashboards that surface revenue, operations, and momentum in real time — no spreadsheets, no lag.",specs:["Real-time KPIs","Forecasting & trends","Anomaly alerts","One-glance reporting"],accent:"#8B5CF6",dir:-1},{key:"portal",kicker:"Client Experience",title:"A portal your clients love.",copy:"Branded self-serve experiences — booking, payments, briefs, and messaging in one polished place.",specs:["Self-serve booking","Payments & invoicing","Branded client portal","Automated updates"],accent:"#3B82F6",dir:1},{key:"ops",kicker:"Operations",title:"Workflows that run themselves.",copy:"Pipelines, scheduling, and inventory wired together — so the busywork happens without you.",specs:["Pipeline & CRM","Smart scheduling","Inventory & orders","Zero manual busywork"],accent:"#10B981",dir:-1},{key:"commerce",kicker:"Commerce & Payments",title:"Sell anything, anywhere.",copy:"Checkout, subscriptions, and invoicing built into your own product — not bolted on.",specs:["Online checkout","Subscriptions & plans","Automated invoicing","Apple & Google Pay"],accent:"#F59E0B",dir:1},{key:"booking",kicker:"Scheduling",title:"Calendars that fill themselves.",copy:"Self-serve booking with reminders, buffers, and team availability — no back-and-forth ever again.",specs:["Self-serve booking","Smart reminders","No-show protection","Team availability"],accent:"#0EA5E9",dir:-1},{key:"brand",kicker:"Content & Brand",title:"Show up like a category leader.",copy:"AI-assisted content, brand-locked design, and pages engineered to rank and convert.",specs:["AI content studio","Scheduled publishing","Brand-locked design","SEO-ready pages"],accent:"#EC4899",dir:1},{key:"data",kicker:"Data & Integrations",title:"Every tool, finally talking.",copy:"Your CRM, email, calendar, and payments wired into one source of truth — migration included.",specs:["CRM & ERP sync","API integrations","Single source of truth","Migration included"],accent:"#14B8A6",dir:-1}];ft.filter(i=>!["booking","brand"].includes(i.key));const Tn=[{key:"flowgpt",name:"FlowGPT",accent:"#CCFF66",tagline:"AI workflows. Simplified.",proof:"10M+",proofLabel:"Creators",descriptor:"The world's largest AI prompt community — millions of creators, one platform.",url:"https://flowgpt.com/"},{key:"intuit",name:"Intuit",accent:"#2962FF",tagline:"Internal AI, tax & dev at scale.",proof:"F500",proofLabel:"Enterprise",descriptor:"Internal AI, tax strategy, and development solutions delivered at Intuit scale.",url:"https://www.intuit.com/"},{key:"degen",name:"DEGEN COIN FLIP",accent:"#FFDB00",tagline:"Original on-chain games.",proof:"1M+",proofLabel:"Plays",descriptor:"Original on-chain games — a culture-native Web3 product at scale.",url:"https://app.degencoinflip.com/"}];ft.map(i=>({key:i.key,title:i.title,copy:i.copy}));Tn.map(i=>({key:i.key,name:i.name,descriptor:i.descriptor}));Tt.map(i=>({key:i.key,kicker:i.kicker,line:i.line}));function Pn(){const{scrollYProgress:i}=Pt(),e=Nt(i,{stiffness:120,damping:30,mass:.4,restDelta:.001}),t=Lt(e,[0,.9,1],[0,1,1]);return b.jsx(de.rect,{x:"0",y:"2",width:"100",height:"50",style:{scaleY:t,transformBox:"fill-box",transformOrigin:"50% 100%"}})}function Ln(){const i=T.useId();return b.jsx("div",{className:"fixed bottom-6 right-6 z-40 pointer-events-none select-none",children:b.jsxs("svg",{viewBox:"0 0 100 100",className:"w-9 h-9 drop-shadow-[0_2px_10px_rgba(0,0,0,0.45)]","aria-hidden":"true",children:[b.jsx("defs",{children:b.jsx("clipPath",{id:`dome-${i}`,children:bt?b.jsx("rect",{className:"sly-sun-clip",x:"0",y:"2",width:"100",height:"50"}):b.jsx(Pn,{})})}),b.jsx("circle",{cx:"50",cy:"50",r:"48",fill:"none",stroke:"rgba(255,255,255,0.22)",strokeWidth:"1.2"}),b.jsx("g",{clipPath:`url(#dome-${i})`,children:b.jsx("path",{d:"M2,52 A48,48 0 0 1 98,52 L2,52 Z",fill:"#FF5DA2",className:"sly-hue-cycle"})}),b.jsx("rect",{x:"18",y:"60",width:"64",height:"26",rx:"12",fill:"#FF5DA2",className:"sly-hue-cycle"})]})})}function Mn({onDone:i}){const[e,t]=T.useState(!0);return T.useEffect(()=>{var s;let n=!1;const r=()=>{n||(n=!0,t(!1),i==null||i())},o=setTimeout(r,600);return(s=document.fonts)==null||s.ready.then(()=>setTimeout(r,120)),()=>clearTimeout(o)},[i]),mt.createPortal(b.jsx(yt,{children:e&&b.jsx(de.div,{className:"fixed inset-0 z-[999] flex items-center justify-center bg-black",initial:{opacity:1},exit:{opacity:0,transition:{duration:.42,ease:[.16,1,.3,1]}},children:b.jsxs(de.div,{className:"flex flex-col items-center",exit:{opacity:0,transition:{duration:.26,ease:[.7,0,.84,0]}},children:[b.jsxs("span",{className:"font-grotesk font-bold lowercase tracking-[-0.04em] leading-none text-white text-2xl",children:["sly",b.jsx(xt,{})]}),b.jsx("span",{className:"relative mt-4 block h-px w-24 overflow-hidden bg-white/12",children:b.jsx("span",{className:"sly-veil-draw absolute inset-y-0 left-0 block w-full bg-orange origin-left"})})]})})}),document.body)}const Nn=()=>Ne()?"60% 0px":"200% 0px",Se=new Set,In=T.forwardRef(function({src:e,exclusive:t=!1,near:n,unloadDelay:r=4e3,...o},s){const l=T.useRef(null),[u,a]=T.useState(!1),f=c=>{l.current=c,typeof s=="function"?s(c):s&&(s.current=c)};return T.useEffect(()=>{const c=l.current;if(!c)return;let d;const p=new IntersectionObserver(([g])=>{g.isIntersecting?(clearTimeout(d),a(!0)):d=setTimeout(()=>a(!1),r)},{rootMargin:n??Nn()});return p.observe(c),()=>{p.disconnect(),clearTimeout(d)}},[n,r]),T.useEffect(()=>{const c=l.current;!c||u||c.getAttribute("src")&&(c.pause(),c.removeAttribute("src"),c.load())},[u]),T.useEffect(()=>{if(!t)return;const c=l.current;if(!c)return;Se.add(c);const d=()=>Se.forEach(p=>{p!==c&&!p.paused&&p.pause()});return c.addEventListener("play",d),()=>{Se.delete(c),c.removeEventListener("play",d)}},[t]),b.jsx("video",{ref:f,src:u?e:void 0,preload:u?"auto":"none",...o})});de(In);L.registerPlugin(ye);var $e;typeof CSS<"u"&&(($e=CSS.supports)!=null&&$e.call(CSS,"animation-timeline: view()"))&&CSS.registerProperty;function Rn(i){if(!i||i.dataset.split==="done")return[];const e=i.textContent.replace(/\s+/g," ").trim();if(!e)return[];i.dataset.split="done",i.textContent="";const t=e.split(" ").map(o=>{const s=document.createElement("span");return s.style.display="inline-block",s.textContent=o,i.appendChild(s),i.appendChild(document.createTextNode(" ")),s}),n=[];let r=null;return t.forEach(o=>{const s=Math.round(o.offsetTop);(r===null||s!==r)&&(n.push([]),r=s),n[n.length-1].push(o.textContent)}),i.textContent="",n.map(o=>{const s=document.createElement("span");s.className="sly-ln";const l=document.createElement("span");return l.className="sly-ln-i",l.textContent=o.join(" "),s.appendChild(l),i.appendChild(s),l})}function On(i){if(!i||i.dataset.split==="done")return[];const e=i.textContent.trim();return e?(i.dataset.split="done",i.textContent="",e.split("").map(t=>{const n=document.createElement("span");n.className="sly-ln";const r=document.createElement("span");return r.className="sly-ln-i",r.textContent=t===" "?" ":t,n.appendChild(r),i.appendChild(n),r})):[]}L.registerPlugin(ye);function jn({scope:i="#main-content"}){return T.useEffect(()=>{const e=document.querySelector(i);if(!e)return;const t=window.matchMedia("(prefers-reduced-motion: reduce)").matches,n=window.matchMedia("(max-width: 767px)").matches;if(t){e.querySelectorAll("[data-lines],[data-letters],[data-label],[data-media]").forEach(o=>{L.set(o,{clearProps:"all",opacity:1}),o.setAttribute("data-motion","ready")});return}const r=L.context(()=>{var s;const o=()=>{e.querySelectorAll("[data-label]").forEach(l=>{l.setAttribute("data-motion","ready"),L.from(l,{opacity:0,y:8,duration:ce.label,ease:_e.ui,onStart:()=>L.set(l,{willChange:"transform, opacity"}),onComplete:()=>L.set(l,{willChange:"auto"}),scrollTrigger:{trigger:l,start:"top 88%",toggleActions:"play none none none",invalidateOnRefresh:!0}})}),e.querySelectorAll("[data-lines],[data-letters]").forEach(l=>{const u=l.hasAttribute("data-letters"),a=u?On(l):Rn(l);l.setAttribute("data-motion","ready"),a.length&&L.from(a,{yPercent:u?120:110,opacity:0,duration:u?ce.media:ce.reveal,ease:_e.enter,stagger:u?Ue.letters:Ue.lines,delay:.15,onStart:()=>L.set(a,{willChange:"transform"}),onComplete:()=>L.set(a,{willChange:"auto"}),scrollTrigger:{trigger:l,start:"top 88%",toggleActions:"play none none none",invalidateOnRefresh:!0}})}),e.querySelectorAll("[data-media]").forEach(l=>{l.setAttribute("data-motion","ready"),L.fromTo(l,{clipPath:"inset(0% 0% 100% 0%)",scale:1.08},{clipPath:"inset(0% 0% 0% 0%)",scale:1,duration:ce.media,ease:_e.transition,onStart:()=>L.set(l,{willChange:"transform"}),onComplete:()=>L.set(l,{willChange:"auto"}),scrollTrigger:{trigger:l,start:"top 88%",toggleActions:"play none none none",invalidateOnRefresh:!0}})}),e.querySelectorAll("[data-parallax-y]").forEach(l=>{const u=parseFloat(l.getAttribute("data-parallax-y"))||0,a=parseFloat(l.getAttribute("data-parallax-scrub"))||mn.foreground;L.to(l,{yPercent:n?u*.4:u,ease:"none",scrollTrigger:{trigger:l,start:"top bottom",end:"bottom top",scrub:a,invalidateOnRefresh:!0,onEnter:()=>L.set(l,{willChange:"transform"}),onLeave:()=>L.set(l,{willChange:"auto"}),onLeaveBack:()=>L.set(l,{willChange:"auto"})}})}),ye.refresh()};(s=document.fonts)!=null&&s.ready?document.fonts.ready.then(o):o()},e);return()=>r.revert()},[i]),null}function Un(){wt();const[i,e]=T.useState([]),t=!0,[n,r]=T.useState(!1),[o,s]=T.useState(!1),[l,u]=T.useState(null);return Mt(1),T.useEffect(()=>{if(document.title="SLY — Private AI Management & Systems",sessionStorage.setItem("sly_entered","1"),yn(),window.location.hash!=="#works")return;const a=()=>{var p,g,h,y;const c=document.getElementById("works");if(!c)return;const d=c.getBoundingClientRect().top+window.scrollY;(g=(p=window.__lenis)==null?void 0:p.resize)==null||g.call(p),(y=(h=window.__lenis)==null?void 0:h.scrollTo)==null||y.call(h,d,{immediate:!0,force:!0}),window.scrollTo(0,d)},f=[80,260,600,1e3].map(c=>setTimeout(a,c));return()=>f.forEach(clearTimeout)},[]),b.jsxs(b.Fragment,{children:[b.jsx(Mn,{}),b.jsx(It,{}),b.jsx(An,{}),b.jsx(bn,{open:t}),b.jsx(xn,{}),b.jsx(Ln,{}),N.studioTour,b.jsx(vn,{}),N.studioConcierge,b.jsx(kn,{}),b.jsx(jn,{}),b.jsx(vt,{}),b.jsxs("div",{id:"main-content",role:"main",className:"min-h-screen text-white",children:[b.jsx("div",{"data-chapter":"hero","data-chapter-label":"Hero",className:"h-0 w-0 overflow-hidden","aria-hidden":"true"}),b.jsx(At,{}),N.studioInformationRoom,N.studioGonzo,N.studioPractice,N.studioSystems,N.studioIdeas,N.studioWorkDoor,N.studioStack,N.studioFinale,N.studioFooter]}),N.studioTour,N.studioBriefInvite,N.studioConcierge]})}export{Un as default};

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.