1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4806],{35406:(e,n,t)=>{var r=0/0,o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,a=parseInt,u="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,s="object"==typeof self&&self&&self.Object===Object&&self,f=u||s||Function("return this")(),d=Object.prototype.toString,m=Math.max,p=Math.min,b=function(){return f.Date.now()};function v(e){var n=typeof e;return!!e&&("object"==n||"function"==n)}function h(e){if("number"==typeof e)return e;if("symbol"==typeof(n=e)||n&&"object"==typeof n&&"[object Symbol]"==d.call(n))return r;if(v(e)){var n,t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var u=c.test(e);return u||l.test(e)?a(e.slice(2),u?2:8):i.test(e)?r:+e}e.exports=function(e,n,t){var r,o,i,c,l,a,u=0,s=!1,f=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(n){var t=r,i=o;return r=o=void 0,u=n,c=e.apply(i,t)}function w(e){var t=e-a,r=e-u;return void 0===a||t>=n||t<0||f&&r>=i}function S(){var e,t,r,o=b();if(w(o))return g(o);l=setTimeout(S,(e=o-a,t=o-u,r=n-e,f?p(r,i-t):r))}function g(e){return(l=void 0,d&&r)?y(e):(r=o=void 0,c)}function j(){var e,t=b(),i=w(t);if(r=arguments,o=this,a=t,i){if(void 0===l)return u=e=a,l=setTimeout(S,n),s?y(e):c;if(f)return l=setTimeout(S,n),y(a)}return void 0===l&&(l=setTimeout(S,n)),c}return n=h(n)||0,v(t)&&(s=!!t.leading,i=(f="maxWait"in t)?m(h(t.maxWait)||0,n):i,d="trailing"in t?!!t.trailing:d),j.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=a=o=l=void 0},j.flush=function(){return void 0===l?c:g(b())},j}},54806:(e,n,t)=>{"use strict";t.d(n,{A:()=>s});var r=t(69622),o=t(80886),i=t(48927),c=t(35406);let l=[],a={width:"100%",height:"100%"},u=(0,o.forwardRef)(function(e,n){var t;let{className:i,children:u,debounceTime:s=300,ignoreDimensions:f=l,parentSizeStyles:d,enableDebounceLeadingCall:m=!0,resizeObserverPolyfill:p,...b}=e,v=(0,o.useRef)(null),h=(0,o.useRef)(0),[y,w]=(0,o.useState)({width:0,height:0,top:0,left:0}),S=(0,o.useMemo)(()=>{let e=Array.isArray(f)?f:[f];return c(n=>{w(t=>Object.keys(t).filter(e=>t[e]!==n[e]).every(n=>e.includes(n))?t:n)},s,{leading:m})},[s,m,f]);return(0,o.useEffect)(()=>{let e=new(p||window.ResizeObserver)(e=>{e.forEach(e=>{var n;let{left:t,top:r,width:o,height:i}=null!=(n=null==e?void 0:e.contentRect)?n:{};h.current=window.requestAnimationFrame(()=>{S({width:o,height:i,top:r,left:t})})})});return v.current&&e.observe(v.current),()=>{window.cancelAnimationFrame(h.current),e.disconnect(),S.cancel()}},[S,p]),(0,r.jsx)("div",{style:{...a,...d},ref:(t=[n,v],e=>{t.forEach(n=>{"function"==typeof n?n(e):null!=n&&(n.current=e)})}),className:i,...b,children:u({...y,ref:v.current,resize:S})})}),s=(0,o.forwardRef)((e,n)=>{let{scene:t,style:c,onSplineMouseDown:l,onSplineMouseUp:a,onSplineMouseHover:s,onSplineKeyDown:f,onSplineKeyUp:d,onSplineStart:m,onSplineLookAt:p,onSplineFollow:b,onSplineScroll:v,onLoad:h,renderOnDemand:y=!0,wasmPath:w,children:S,...g}=e,j=(0,o.useRef)(null),[O,k]=(0,o.useState)(!0),[x,E]=(0,o.useState)();if(x)throw x;return(0,o.useEffect)(()=>{let e;k(!0);let n=[{name:"mouseDown",cb:l},{name:"mouseUp",cb:a},{name:"mouseHover",cb:s}
1,{name:"keyDown",cb:f},{name:"keyUp",cb:d},{name:"start",cb:m},{name:"lookAt",cb:p},{name:"follow",cb:b},{name:"scroll",cb:v}];return j.current&&(e=new i.l(j.current,{renderOnDemand:y,wasmPath:w}),(async function(){for(let r of(await e.load(t),n))r.cb&&e.addEventListener(r.name,r.cb);k(!1),null==h||h(e)})().catch(e=>{E(e)})),()=>{for(let t of n)t.cb&&e.removeEventListener(t.name,t.cb);e.dispose()}},[t]),(0,r.jsx)(u,{ref:n,parentSizeStyles:{overflow:"hidden",...c},debounceTime:50,...g,children:()=>(0,r.jsxs)(r.Fragment,{children:[O&&S,(0,r.jsx)("canvas",{ref:j,style:{display:O?"none":"block"}})]})})})}}]);
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.