PageSourceSearch

https://www.restless.ai/_next/static/immutable/chunks/3s28cxm-d5bmv.js

js restless.ai collected 2026-10-05 12:33:09 UTC 21,399 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="432320cb-9ece-ba0f-e66f-9dea7904160f")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,193839,554936,858141,e=>{"use strict";var t=e.i(953939),n=e.i(795683),r=e.i(342496),i=e.i(772039),l=e.i(536636);let o={height:601/600,width:569/568,x:-.5/568,y:-.5/600};function a(e,t){return void 0!==t?{height:t/600,width:t/568,x:(568-t)/2/568,y:(600-t)/2/600}:"bow"===e.id?{height:1,width:569/568,x:-.5/568,y:0}:"starburst"===e.id?{height:600.688/600,width:568.726/568,x:-.363/568,y:-.344/600}:"arcs"===e.id?{height:1157/680,width:1157/1156,x:-.5/1156,y:-278.5/680}:"fan"===e.id?{height:633/680,width:1157/1156,x:-.5/1156,y:23.5/680}:"lattice"===e.id?{height:681/680,width:1361/1156,x:-.5/1156,y:-.5/680}:"honeycomb"===e.id?{height:681/680,width:1361/1156,x:-102.5/1156,y:-.5/680}:o}e.s(["getPatternImageStyle",0,function(e){let t=a(e);return{height:`${100*t.height}%`,left:`${100*t.x}%`,top:`${100*t.y}%`,width:`${100*t.width}%`}},"getPatternLayout",0,a],554936);let u=[{id:"tunnel",label:"Tunnel",sourceNode:"431:26792",url:new e.U(e.r(503741)).href},{id:"bow",label:"Bow",sourceNode:"443:3056",url:new e.U(e.r(617889)).href},{id:"star",label:"Sparse star",sourceNode:"448:4882",url:new e.U(e.r(411421)).href},{id:"fisheye",label:"Fisheye",sourceNode:"428:18293",url:new e.U(e.r(720898)).href},{id:"starburst",label:"Starburst",sourceNode:"423:14833",url:new e.U(e.r(606349)).href},{id:"mesh",label:"Angular mesh",sourceNode:"423:16507",url:new e.U(e.r(936238)).href},{id:"waves",label:"Vertical waves",sourceNode:"424:17479",url:new e.U(e.r(803463)).href},{id:"arcs",label:"Large arcs",sourceNode:"430:21581",url:new e.U(e.r(937763)).href},{id:"fan",label:"Diagonal fan",sourceNode:"430:22954",url:new e.U(e.r(837605)).href},{id:"lattice",label:"Diagonal lattice",sourceNode:"430:22960",url:new e.U(e.r(771347)).href},{id:"honeycomb",label:"Honeycomb",sourceNode:"431:23642",url:new e.U(e.r(237790)).href}];function s(e){return"fan"===e.id||"arcs"===e.id||"lattice"===e.id||"honeycomb"===e.id}e.s(["getPattern",0,function(e){return u.find(t=>t.id===e)??u[0]},"isWidePattern",0,s],858141);let h="#141414";function f(e,t){return Math.hypot(t.x-e.x,t.y-e.y)}function c(e,t,n,r,i=!1){if(e.length<2)return null;let l=-1/0,o=1/0,a=0,u=[],s=null;for(let i of e)s&&(a+=f(s,i)),u.push({...i,distance:a}),function(e,t,n,r,i){let l=n?.075:.12,o=n?.09:.12,a=.036*i;return!(t<=a)&&!(t>=i-a)&&(e<r*l||e>r*(1-l)||t<i*o||t>i*(1-o))}(i.x,i.y,t,n,r)&&(l=Math.max(l,a),o=Math.min(o,a)),s=i;return(i&&(o=0,l=a),!Number.isFinite(o)||l-o<1)?null:{maxVisibleDistance:l,minVisibleDistance:o,points:u,totalLength:a}}function d(e,t,n,r){let i=t.x-e.x,l=t.y-e.y,o=r.x-n.x,a=r.y-n.y,u=Math.hypot(i,l)*Math.hypot(o,a);return u>0?(i*o+l*a)/u:-1}function p(e,t,n,r,i){let l=e[e.length-1],o=e[e.length-2];if(!(l&&o))return null;let a=-1,u=null,s=.92;for(let e=0;e<t.length;e++){if(n[e])continue;let h=t[e];if(!(h&&h.family===i))continue;let[c,p]=h.points,g=h.points[h.points.length-1],y=h.points[h.points.length-2];if(c&&p&&y&&g){if(f(l,c)<=r){let t=d(o,l,c,p);t>s&&(s=t,a=e,u=h.points)}if(f(l,g)<=r){let t=d(o,l,g,y);t>s&&(s=t,a=e,u=h.points.slice().reverse())}}}return u&&a>=0?{index:a,points:u}:null}function g(e,t,n,r,i){let l=p(e,t,n,r,i);for(;l;){n[l.index]=!0;for(let t=1;t<l.points.length;t++){let n=l.points[t];n&&e.push(n)}l=p(e,t,n,r,i)}}function y(e,t=null){let n=0,r=0,i=1/0,l=1/0,o=-1/0,a=-1/0;for(let t of e)n+=t.x,r+=t.y,i=Math.min(i,t.x),l=Math.min(l,t.y),o=Math.max(o,t.x),a=Math.max(a,t.y);return{centerX:n/e.length,centerY:r/e.length,family:t,points:e,spanX:o-i,spanY:a-l}}function x(e,t,n,r,i=!1){let l=[];for(let r of e)for(let e of function(e){if(e.length<3)return[e];let t=[],n=0;for(let r=1;r<e.length-1;r++){let i=e[r-1],l=e[r],o=e[r+1];if(!(i&&l&&o)||d(i,l,l,o)>=.96)continue;let a=e.slice(n,r+1);a.length>1&&t.push(a),n=r}let r=e.slice(n);return r.length>1&&t.push(r),t}
2(r))l.push({family:i?function(e,t,n){let r=1/0,i=1/0,l=-1/0,o=-1/0;for(let t of e)r=Math.min(r,t.x),i=Math.min(i,t.y),l=Math.max(l,t.x),o=Math.max(o,t.y);return(l-r)/t>=(o-i)/n?"horizontal":"vertical"}(e,t,n):null,points:e});let o=Array(l.length).fill(!1),a=[],u=Math.max(1.5*r,1.5);for(let e=0;e<l.length;e++){if(o[e])continue;let i=l[e];if(!i)continue;o[e]=!0;let s=i.points.slice();g(s,l,o,u,i.family),s.reverse(),g(s,l,o,u,i.family),s.reverse();let[h]=s,c=s[s.length-1];!(h&&c)||f(h,c)<4*r||function(e,t,n,r){let i=0;for(let l of e)(l.x<=r||l.x>=t-r||l.y<=r||l.y>=n-r)&&(i+=1);return i/e.length>.9}(s,t,n,u)||a.push(y(s,i.family))}return a}function m(e,t){let n=Math.max(2,Math.ceil(f(e,t)/24)),r=[];for(let i=0;i<=n;i++){let l=i/n;r.push({x:e.x+(t.x-e.x)*l,y:e.y+(t.y-e.y)*l})}return r}function b(e,t,n,r){if(0===t)return e<0||e>r?[]:m({x:0,y:e},{x:n,y:e});let i=[];for(let l of[{x:0,y:e},{x:n,y:e-t*n},{x:e/t,y:0},{x:(e-r)/t,y:r}]){if(l.x<0||l.x>n||l.y<0||l.y>r)continue;let e=i[i.length-1];(!e||f(e,l)>.01)&&i.push(l)}let[l,o]=i;return l&&o?m(l,o):[]}function v(e,t,n,r,i){let l=e.paths.length;for(let o=0;o<l;o++){let a=(t+o)%l,u=e.paths[a];if(u&&(!i||a!==e.previousPathIndex)&&(!r||!(u.maxVisibleDistance-u.minVisibleDistance<18*n))&&!function(e,t,n){for(let r of e.events)if(r.pathIndex===t&&r.visibleStart<=n&&r.visibleEnd>n)return!0;return!1}(e,a,e.nextVisibleStart))return a}return -1}function w(e,t,n,r){let i=!1;for(let l=1;l<t.points.length;l++){let o=t.points[l-1],a=t.points[l];if(!(o&&a))continue;let u=a.distance-o.distance;if(u<=0)continue;let s=(n-o.distance)/u,h=(r-o.distance)/u,f=Math.max(0,Math.min(s,h)),c=Math.min(1,Math.max(s,h));if(f>=c){i=!1;continue}i&&0===f||e.moveTo(o.x+(a.x-o.x)*f,o.y+(a.y-o.y)*f),e.lineTo(o.x+(a.x-o.x)*c,o.y+(a.y-o.y)*c),i=1===c}}function M(e,t,n,r){let i=r-n;if(i<=0)return;if(i>=t.totalLength)return void w(e,t,0,t.totalLength);let l=(n%t.totalLength+t.totalLength)%t.totalLength,o=l+i;o<=t.totalLength?w(e,t,l,o):(w(e,t,l,t.totalLength),w(e,t,0,o-t.totalLength))}var S=e.i(395999);let P=new Map;function L(e,t,n,r){e.fillStyle=r,e.fillRect(0,0,t,n)}function C(e){let t=P.get(e);if(t)return t;let n=new Promise((t,n)=>{let r=new Image;r.decoding="async",r.onload=()=>t(r),r.onerror=()=>n(Error(`Could not load ${e}`)),r.src=e}).catch(t=>{throw P.delete(e),t});return P.set(e,n),n}function k(e,t,n,r,i,l,o){L(e,r,i,l);let u=a(n,o);e.drawImage(t,u.x*r,u.y*i,u.width*r,u.height*i)}let E=new Map;function N(e,t){let n=t.x-e.x,r=t.y-e.y;return n*n+r*r}function I(e){return e.x<.002||e.x>.998||e.y<.002||e.y>.998}async function V(e){let t=await fetch(e);if(!t.ok)throw Error(`Could not load ${e}`);let n=await t.text(),r=new DOMParser().parseFromString(n,"image/svg+xml");if(r.querySelector("parsererror"))throw Error(`Could not parse ${e}`);let i=r.documentElement,l=i.querySelector("path")?.getAttribute("d");if(!("svg"===i.localName&&l))throw Error(`Could not find line geometry in ${e}`);let o=function(e){let t=(e.getAttribute("viewBox")??"").trim().split(/\s+/).map(Number),[n,r,i,l]=t;if(4!==t.length||!Number.isFinite(n)||!Number.isFinite(r)||!Number.isFinite(i)||!Number.isFinite(l)||i<=0||l<=0)throw Error("The SVG viewBox is not usable");return{height:l,width:i,x:n,y:r}}(i),a=[];for(let e of l.match(/M[^M]*/g)??[]){let t=function(e,t){let n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d",e);let r=n.getTotalLength();if(!(Number.isFinite(r)&&r>0))return null;let i=Math.max(8,Math.min(384,Math.ceil(r/1.5))),l=[];for(let e=0;e<i;e++){let o=n.getPointAtLength(r*e/(i-1));l.push({x:(o.x-t.x)/t.width,y:(o.y-t.y)/t.height})}return{points:l}}(e,o);t&&a.push(...function(e){let t=[],n=[];for(let r=1;r<e.points.length;r++){let i=e.points[r-1],l=e.points[r];if(i&&l){if(I(i)&&I(l)){n.length>1&&t.push({points:n}),n=[];continue}0===n.length&&n.push(i),n.push(l)}}return n.length>1&&t.push({points:n}),t}(t))}if(0===a.length)throw Error(`Could not sample line geometry in ${e}`);return{paths:a}}function A(e){let t=E.get(e);if(t)return t;let n=V(e).catch(t=>{throw E.delete(e),t});return E.set(e,n),n}function $(e,t,n,r,i){let l=a(t,i);return e.paths.map(({points:e})=>({points:e.map(e=>({x:(l.x+e.x*l.width)*n,y:(l.y+e.y*l.height)*r}))}))}function q(e){let t=0;for(let n=0;n<e.length;n++)t=(31*t+e.charCodeAt(n))%1000003;return t/1000003}function T(e,t,n){let r=`${e.id}:${t}:${n}`,i=q(r),l=q(`${r}:duration`);return"source"===t?{delay:.03*i,duration:.88+.06*l}:{delay:.07+.04*i,duration:.8+.08*l}}function U(e,t,n,r,i){let[l]=e,o=e[e.length-1];if(!(l&&o))return!0;let a={x:t/2,y:n/2},u=N(l,a),s=N(o,a);return 1>Math.abs(u-s)?i%2==0:r?u<s:u>s}function B(e,t,n,r,i){let l=t[n];if(l&&r>n){e.moveTo(R(l.x,i),R(l.y,i));for(let l=n+1;l<=r;l++){let n=t[l];n&&e.lineTo(R(n.x,i),R(n.y,i))}}}function R(e,t){return Math.round(e-t)+t}var F=e.i(203355);function D(e){let o,u,d,p,g,m,P,E,N,I,V=(0,n.c)(24),{from:q,onReady:R,pairKey:D,progress:_,square:K,to:X}=e,[G,j]=(0,r.useState)(null),[z,J]=(0,r.useState)(null),[H,Q]=(0,r.useState)(!1),[Z,ee]=(0,r.useState)(!1),et=(0,r.useRef)(Y),en=(0,r.useRef)(_);V[0]===Symbol.for("react.memo_cache_sentinel")?(o={value:null},V[0]=o):o=V[0];let er=(0,r.useRef)(o);return V[1]!==G?(u=()=>{if(G)return(0,l.watchAnimation)(G,e=>{(Q(e),e)?ee(!0):(G.width=1,G.height=1,er.current.value=null)})},d=[G],V[1]=G,V[2]=u,V[3]=d):(u=V[2],d=V[3]),(0,r.useEffect)(u,d),V[4]!==q.url||V[5]!==D||V[6]!==Z||V[7]!==X.url?(p=()=>
2{if(!Z)return;let e=!0;return J(null),er.current.value=null,Promise.all([C(q.url),A(q.url),C(X.url),A(X.url)]).then(t=>{let[n,r,i,l]=t;e&&J({fromImage:n,fromLines:r,key:D,toImage:i,toLines:l})}).catch(W),()=>{e=!1}},g=[q.url,D,Z,X.url],V[4]=q.url,V[5]=D,V[6]=Z,V[7]=X.url,V[8]=p,V[9]=g):(p=V[8],g=V[9]),(0,r.useEffect)(p,g),V[10]!==_?(m=()=>{en.current=_,et.current()},P=[_],V[10]=_,V[11]=m,V[12]=P):(m=V[11],P=V[12]),(0,r.useEffect)(m,P),V[13]!==z||V[14]!==G||V[15]!==q||V[16]!==H||V[17]!==R||V[18]!==D||V[19]!==K||V[20]!==X?(E=()=>{let e;if(!(z&&G&&z.key===D&&H))return;let t=(e=window.matchMedia("(color-gamut: p3)").matches&&CSS.supports("color","color(display-p3 1 1 1)"),G.getContext("2d",{colorSpace:e?"display-p3":"srgb"}));if(!t)return;let n=(0,F.elementAccentColor)(G,"--color-accent-bg"),r=0,l=!1,o=0,u=0,d=()=>{var e,r,i,d;let p=G.getBoundingClientRect(),g=window.devicePixelRatio||1,m=Math.max(1,Math.round(p.width*g)),P=Math.max(1,Math.round(p.height*g));(G.width!==m||G.height!==P)&&(G.width=m,G.height=P,er.current.value=null,o=0,u=0);let C=function(e,t,n,r,i,l,o){var u,h;let d=e.value;if(d?.width===i&&d.height===l)return d;let p={height:l,idle:function(e,t,n,r,i,l=s(t),o){var u;let h,d,p=(n/(l?1156:568)+r/(l?680:600))/2,g=function(e,t,n,r,i){let l=a(t,i),o=[];for(let t of e.paths){let e=[],i=null;for(let o of t.points){let t={x:(l.x+o.x*l.width)*n,y:(l.y+o.y*l.height)*r};(!i||f(i,t)>.01)&&(e.push(t),i=t)}e.length>1&&o.push(e)}return o}(e,t,n,r,o),m="fisheye"===t.id?x(g,n,r,p,!0):[],v="tunnel"===t.id?function(e,t){let n=[];for(let r=1;r<=4;r++){let i=e*r*.1,l=t*r*.1,o=c([{x:i,y:l},{x:e-i,y:l},{x:e-i,y:t-l},{x:i,y:t-l},{x:i,y:l}],!1,e,t,!0);o&&n.push(o)}return n}(n,r):[];h="tunnel"===t.id?function(e,t,n,r){let i={x:.5*t,y:.5*n},l=x(e,t,n,r),o=[];for(let e of l){if(.94>function(e,t){let[n]=e.points,r=e.points[e.points.length-1];if(!(n&&r))return 0;let i=r.x-n.x,l=r.y-n.y,o=(n.x+r.x)/2-t.x,a=(n.y+r.y)/2-t.y,u=Math.hypot(i,l)*Math.hypot(o,a);return u<.001?0:Math.abs((i*o+l*a)/u)}(e,i)||Math.hypot(e.spanX,e.spanY)<.38*Math.min(t,n))continue;let r=e.points.slice(),[l]=r,a=r[r.length-1];if(!(l&&a))continue;f(l,i)>f(a,i)&&r.reverse();let u=c(r,!1,t,n,!0);u&&o.push(u)}return o}(g,n,r,p):"fisheye"===t.id?function(e,t,n){let r=e.filter(e=>"horizontal"===e.family&&e.spanX>=.65*t).sort((e,t)=>e.centerY-t.centerY),i=e.filter(e=>"vertical"===e.family&&e.spanY>=.65*n).sort((e,t)=>e.centerX-t.centerX),l=[r[0],r[r.length-1],i[0],i[i.length-1]],o=[],a=[];for(let e of l){if(!(e&&!a.includes(e)))continue;a.push(e);let r=c(function(e){let t=e.points.slice(),[n]=t,r=t[t.length-1];return n&&r&&("vertical"===e.family?n.y>r.y:n.x>r.x)?t.reverse():t}(e),!1,t,n);r&&o.push(r)}return o}(m,n,r):"lattice"===t.id?function(e,t,n,r){let i=Array.from({length:4},(e,n)=>(136.5+136*n)/681*t),l=a(n),o=1633.2*t/(l.width*e*681),u=1633.2*l.x*t/(681*l.width),s=t+o*e,h=[];for(let e=-4;e<24;e++){let n=(1.1+136*e)*t/681+u;n>=0&&n<=s&&h.push(n)}let f=[];for(let n of i){let i=c(b(n,0,e,t),r,e,t);i&&f.push(i)}for(let n of h){let i=c(b(n,o,e,t),r,e,t);i&&f.push(i)}return f}(n,r,t,l):"waves"===t.id?function(e,t,n,r,i){let l=[];for(let o of e){if(y(o).spanY<.12*r||function(e){let[t]=e,n=e[e.length-1];if(!(t&&n))return 0;let r=f(t,n);if(r<.001)return 0;let i=0;for(let l of e)i=Math.max(i,Math.abs((n.x-t.x)*(t.y-l.y)-(t.x-l.x)*(n.y-t.y))/r);return i}(o)<.75*i)continue;let e=o.slice(),[a]=e,u=e[e.length-1];if(!(a&&u))continue;a.y>u.y&&e.reverse();let s=c(e,t,n,r);s&&l.push(s)}return l}(g,l,n,r,p):"arcs"===t.id?function(e,t,n,r){let i=[];for(let l of e){let e=c(l,t,n,r);e&&i.push(e)}return i}(g.slice(0,16),l,n,r):function(e,t,n,r,i){let l=.5*r,o=.5*i,a="fan"===t.id,u=[];for(let t of e)for(let e of function(e,t,n,r){let i=0,l=1/0;for(let r=0;r<e.length;r++){let o=e[r];if(!o)continue;let a=Math.hypot(o.x-t,o.y-n);a<l&&(l=a,i=r)}let o=e.slice(0,i+1),a=e.slice(i);return r?a.reverse():o.reverse(),[o,a]}(t,l,o,a)){let t=c(e,n,r,i);t&&u.push(t)}return u}(g,t,l,n,r),"waves"===t.id&&(u=.5*n,h.sort((e,t)=>{let n=0;for(let t of e.points)n+=t.x;n/=e.points.length;let r=0;for(let e of t.points)r+=e.x;return Math.abs((r/=t.points.length)-u)-Math.abs(n-u)}));let w="arcs"===t.id||"fan"===t.id||"waves"===t.id;return{events:[],eventsSinceBold:2*("fisheye"!==t.id),indexed:w,indexedCyclePause:.65*("arcs"===t.id||"waves"===t.id),indexedStagger:"fan"===t.id?.03:.024,maxTravelDistance:Math.max(1,...h.map(e=>e.totalLength)),nextPathIndex:0,nextVisibleStart:"tunnel"===t.id?0:-.08,paths:h,patternId:t.id,previousPathIndex:-1,random:(d=function(e){let t=0;for(let n=0;n<e.length;n++)t=(31*t+e.charCodeAt(n))%0x7fffffff;return t||1}(i),()=>(d=48271*d%0x7fffffff)/0x7fffffff),tunnelLoops:v}}(t.toLines,r,i,l,t.key,s(r)&&void 0===o,o),paths:(u=t.fromLines,h=t.toLines,[...$(u,n,i,l,o).map(({points:e},t)=>({anchorStart:U(e,i,l,!0,t),...T(n,"source",t),kind:"source",points:e})),...$(h,r,i,l,o).map(({points:e},t)=>({anchorStart:U(e,i,l,!1,t),...T(r,"target",t),kind:"target",points:e}))]),width:i};return e.value=p,p}(er.current,z,q,X,m,P,K),E=en.current;E<1&&(o=0,u=0,(e=C.idle).events.length=0,e.eventsSinceBold=2*("fisheye"!==e.patternId),e.nextPathIndex=0,e.nextVisibleStart="tunnel"===e.patternId?0:-.08,e.previousPathIndex=-1),E<=0?k(t,z.fromImage,q,m,P,n,K):E>=1&&o>0?(k(t,z.toImage,X,m,P,n,K),function(e,t,n,r,i){!function(e,t,n){if(0===e.paths.length)return;let r=t+e.maxTravelDistance/(360*n);for(;e.nextVisibleStart<=r;){if(!e.indexed){let t=function(e,t){let n=0,r=1/0;for(let i of e.events)i.visibleStart>t||i.visibleEnd<=t||(n+=1,r=Math.min(r,i.visibleEnd));return{count:n,earliestEnd:r}}(e,e.nextVisibleStart);if(t.count>=3){e.nextVisibleStart=t.earliestEnd;continue}}let t=e.eventsSinceBold>=2,r=function(e,t,n){let r=e.paths.length;if(e.indexed){let t=e.nextPathIndex;return e.nextPathIndex=(t+1)%r,t}let i=Math.floor(e.random()*r),l=v(e,i,t,n,!0),o=l>=0?l:v(e,i,t,n,!1),a=o>=0?o:v(e,i,t,!1,!0);return a>=0?a:i}(e,n,t),i=e.paths[r]??e.paths[0];if(!i)return;let l=(360+740*(0,e.random)())*n,o=i.maxVisibleDistance-i.minVisibleDistance,a=Math.min(Math.max((18+54*(0,e.random)())*n,l/30),.35*o),u=a>=6*n,s="fisheye"!==e.patternId||e.eventsSinceBold>=1,h=u&&(t||s&&.4>e.random()),f=h?"bold":"gap",c=h?a:(8+112*(0,e.random)())*n,d="gap"===f?function(e,t,n){let r=[],i=.5>e()?1:2,l=t;for(let t=0;t<i;t++){var o,a,u,s;l+=(o=0===t?2:5,a=0===t?36:52,(o+e()*(a-o))*n);let i=(u=0===t?3:2,s=0===t?26:18,(u+e()*(s-u))*n);
2r.push({offset:l,width:i}),l+=i}return{tailGaps:r,trainLength:l}}(e.random,c,n):{tailGaps:[],trainLength:c},p=h?.12:.06,g=Math.min(l,(o+d.trainLength)/p),y=(o+d.trainLength)/g,x=e.nextVisibleStart,m=x+y,b=x-i.minVisibleDistance/g;(e.events.push({kind:f,launchTime:b,length:c,path:i,pathIndex:r,speed:g,tailGaps:d.tailGaps,trainLength:d.trainLength,visibleEnd:m,visibleStart:x}),e.indexed)?e.nextVisibleStart+=0===e.nextPathIndex&&e.indexedCyclePause>0?e.indexedCyclePause:e.indexedStagger:e.nextVisibleStart+=y*(.38+.5*(0,e.random)()),e.eventsSinceBold=h?0:e.eventsSinceBold+1,e.previousPathIndex=r}}(t,n,i),e.save(),e.globalCompositeOperation="destination-out",e.beginPath();let l=0;for(let i of t.events){let o=n-i.launchTime;if(o>(i.path.totalLength+i.trainLength)/i.speed||(t.events[l]=i,l+=1,o<0||"bold"===i.kind))continue;let a=o*i.speed,u=i.length*r;for(let t of(w(e,i.path,a-u,a),i.tailGaps)){let n=a-t.offset;w(e,i.path,n-t.width*r,n)}}for(let r of(t.events.length=l,e.lineCap="butt",e.lineJoin="round",e.lineWidth=2*i,e.strokeStyle=h,e.stroke(),e.restore(),e.save(),e.beginPath(),t.events)){if("bold"!==r.kind)continue;let t=n-r.launchTime;if(t<0)continue;let i=t*r.speed;w(e,r.path,i-r.length,i)}e.lineCap="butt",e.lineJoin="round",e.lineWidth=2*i,e.strokeStyle=h,e.stroke(),e.restore()}(t,r=C.idle,i=u,d=o,g),function(e,t,n,r,i){if(0!==t.length){e.save(),e.globalCompositeOperation="destination-out",e.beginPath();for(let l=0;l<t.length;l++){let o=t[l];if(!o)continue;let a=24*i*r,u=o.totalLength*(n/4.8+.065*l);M(e,o,u-a,u),M(e,o,u+.5*o.totalLength-a,u+.5*o.totalLength)}e.lineCap="butt",e.lineJoin="round",e.lineWidth=2*i,e.strokeStyle=h,e.stroke(),e.restore()}}(t,r.tunnelLoops,i,d,g)):E>=1?k(t,z.toImage,X,m,P,n,K):function(e,t,n,r,i,l,o){L(e,i,l,o),e.beginPath();let a=r%2/2;for(let r of t){let t=r.points.length-1,i=function(e,t){let n=Math.max(0,Math.min(1,(t-e.delay)/e.duration));return(0,S.HOUSE_EASE)(n)}(r,n);if("source"===r.kind){if(i>=1)continue;let n=r.anchorStart?0:Math.min(t-1,Math.ceil(i*t)),l=r.anchorStart?Math.max(1,Math.floor((1-i)*t)):t;B(e,r.points,n,l,a);continue}if(i<=0)continue;let l=r.anchorStart?0:Math.max(0,Math.ceil((1-i)*t)),o=r.anchorStart?Math.min(t,Math.floor(i*t)):t;B(e,r.points,l,o,a)}e.lineCap="butt",e.lineJoin="round",e.lineWidth=r,e.strokeStyle="#141414",e.stroke()}(t,C.paths,E,g,m,P,n),l||(l=!0,R(D))},p=()=>{cancelAnimationFrame(r),r=requestAnimationFrame(d)};et.current=p;let g=(0,F.watchAccent)(()=>{let e=(0,F.elementAccentColor)(G,"--color-accent-bg");e!==n&&(n=e,p())}),m=new ResizeObserver(p);m.observe(G);let P=null,C=()=>{P?.removeEventListener("change",C),(P=window.matchMedia(`(resolution: ${devicePixelRatio}dppx)`)).addEventListener("change",C),p()},E=(0,i.runWhileVisible)(G,e=>{en.current<1||(u+=e,o=Math.min(1,o+e/.08),d())});return C(),()=>{cancelAnimationFrame(r),P?.removeEventListener("change",C),g(),m.disconnect(),E(),et.current===p&&(et.current=O)}},N=[z,G,q,H,R,D,K,X],V[13]=z,V[14]=G,V[15]=q,V[16]=H,V[17]=R,V[18]=D,V[19]=K,V[20]=X,V[21]=E,V[22]=N):(E=V[21],N=V[22]),(0,r.useEffect)(E,N),V[23]===Symbol.for("react.memo_cache_sentinel")?(I=(0,t.jsx)("canvas",{className:"absolute inset-0 size-full",ref:j}),V[23]=I):I=V[23],I}function O(){}function W(e){return console.error("[background canvas]",e)}function Y(){}function _(e){return`${e.key}:${e.from.id}:${e.to.id}`}function K(e,t){if("request"===t.type)return t.pattern.id===e.pair.to.id?e.queued?{...e,queued:null}:e:e.progress<1?{...e,queued:t.pattern}:{pair:{from:e.pair.to,key:e.pair.key+1,to:t.pattern},progress:0,queued:null,readyPair:null};if("ready"===t.type)return t.pairKey===e.readyPair?e:{...e,readyPair:t.pairKey};if(e.progress>=1||e.readyPair!==_(e.pair))return e;let n=Math.min(1,e.progress+t.delta/.8);return n<1?{...e,progress:n}:e.queued&&e.queued.id!==e.pair.to.id?{pair:{from:e.pair.to,key:e.pair.key+1,to:e.queued},progress:0,queued:null,readyPair:null}:{...e,progress:1,queued:null}}e.s(["default",0,function(e){let l,o,a,u,s,h,f,c,d=(0,n.c)(18),{pattern:p,square:g}=e,[y,x]=(0,r.useState)(null);d[0]!==p?(l={pair:{from:p,key:0,to:p},progress:1,queued:null,readyPair:null},d[0]=p,d[1]=l):l=d[1];let[m,b]=(0,r.useReducer)(K,l);d[2]!==m.pair?(o=_(m.pair),d[2]=m.pair,d[3]=o):o=d[3];let v=o,w=m.progress<1&&m.readyPair===v;d[4]===Symbol.for("react.memo_cache_sentinel")?(a=e=>{b({pairKey:e,type:"ready"})},d[4]=a):a=d[4];let M=a;return d[5]!==p?(u=()=>{b({pattern:p,type:"request"})},s=[p],d[5]=p,d[6]=u,d[7]=s):(u=d[6],s=d[7]),(0,r.useEffect)(u,s),d[8]!==y||d[9]!==w?(h=()=>
2{if(y&&w)return(0,i.runWhileVisible)(y,e=>{b({delta:e,type:"tick"})})},f=[y,w],d[8]=y,d[9]=w,d[10]=h,d[11]=f):(h=d[10],f=d[11]),(0,r.useEffect)(h,f),d[12]!==v||d[13]!==g||d[14]!==m.pair.from||d[15]!==m.pair.to||d[16]!==m.progress?(c=(0,t.jsx)("div",{className:"absolute inset-0",ref:x,children:(0,t.jsx)(D,{from:m.pair.from,onReady:M,pairKey:v,progress:m.progress,square:g,to:m.pair.to})}),d[12]=v,d[13]=g,d[14]=m.pair.from,d[15]=m.pair.to,d[16]=m.progress,d[17]=c):c=d[17],c}],193839)},963923,e=>{"use strict";var t=e.i(594596),n=e.i(342496),r=e.i(812210),i=e.i(744511);e.s(["useMotionValue",0,function(e){let l=(0,i.useConstant)(()=>(0,t.motionValue)(e)),{isStatic:o}=(0,n.useContext)(r.MotionConfigContext);if(o){let[,t]=(0,n.useState)(e);(0,n.useEffect)(()=>l.on("change",t),[])}return l}])}]);
3
4//# debugId=432320cb-9ece-ba0f-e66f-9dea7904160f

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.