1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9526],{1199:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>d});var n=r(5155),i=r(2115),o=r(5774),f=r(7957);let s=[],a={width:"100%",height:"100%"},u=(0,i.forwardRef)(function(t,e){var r;let{className:o,children:u,debounceTime:h=300,ignoreDimensions:l=s,parentSizeStyles:c,enableDebounceLeadingCall:p=!0,resizeObserverPolyfill:y,...d}=t,g=(0,i.useRef)(null),v=(0,i.useRef)(0),[m,b]=(0,i.useState)({width:0,height:0,top:0,left:0}),w=(0,i.useMemo)(()=>{let t=Array.isArray(l)?l:[l];return f(e=>{b(r=>Object.keys(r).filter(t=>r[t]!==e[t]).every(e=>t.includes(e))?r:e)},h,{leading:p})},[h,p,l]);return(0,i.useEffect)(()=>{let t=new(y||window.ResizeObserver)(t=>{t.forEach(t=>{var e;let{left:r,top:n,width:i,height:o}=null!=(e=null==t?void 0:t.contentRect)?e:{};v.current=window.requestAnimationFrame(()=>{w({width:i,height:o,top:n,left:r})})})});return g.current&&t.observe(g.current),()=>{window.cancelAnimationFrame(v.current),t.disconnect(),w.cancel()}},[w,y]),(0,n.jsx)("div",{style:{...a,...c},ref:(r=[e,g],t=>{r.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}),className:o,...d,children:u({...m,ref:g.current,resize:w})})}),h=(0,i.forwardRef)((t,e)=>{let{scene:r,style:f,onSplineMouseDown:s,onSplineMouseUp:a,onSplineMouseHover:h,onSplineKeyDown:l,onSplineKeyUp:c,onSplineStart:p,onSplineLookAt:y,onSplineFollow:d,onSplineScroll:g,onLoad:v,renderOnDemand:m=!0,children:b,...w}=t,E=(0,i.useRef)(null),[x,A]=(0,i.useState)(!0),[B,S]=(0,i.useState)();if(B)throw B;return(0,i.useEffect)(()=>{let t;A(!0);let e=[{name:"mouseDown",cb:s},{name:"mouseUp",cb:a},{name:"mouseHover",cb:h}
1,{name:"keyDown",cb:l},{name:"keyUp",cb:c},{name:"start",cb:p},{name:"lookAt",cb:y},{name:"follow",cb:d},{name:"scroll",cb:g}];return E.current&&(t=new o.l(E.current,{renderOnDemand:m}),(async function(){for(let n of(await t.load(r),e))n.cb&&t.addEventListener(n.name,n.cb);A(!1),null==v||v(t)})().catch(t=>{S(t)})),()=>{for(let r of e)r.cb&&t.removeEventListener(r.name,r.cb);t.dispose()}},[r]),(0,n.jsx)(u,{ref:e,parentSizeStyles:{overflow:"hidden",...f},debounceTime:50,...w,children:()=>(0,n.jsxs)(n.Fragment,{children:[x&&b,(0,n.jsx)("canvas",{ref:E,style:{display:x?"none":"block"}})]})})});var l=r(1408),c=r(963),p=r(5239);let y=t=>{let{finishLoading:e,timeout:r=5e3,waitForElement:o,waitTimeout:f=15e3}=t,[s,a]=(0,i.useState)(!0);return(0,i.useEffect)(()=>{let t=setTimeout(()=>{!o&&(a(!1),e&&e())},r);if(o){let t,r=setTimeout(()=>{console.log("Preloader: Maximum wait time reached for ".concat(o)),a(!1),e&&e()},f),n=()=>{let n=document.querySelector(o);return!(!n||o.includes("spline")&&null===n.querySelector("canvas"))&&(setTimeout(()=>{a(!1),e&&e()},500),clearInterval(t),clearTimeout(r),!0)};return n()||(t=setInterval(()=>{n()},300)),()=>{t&&clearInterval(t),clearTimeout(r)}}return()=>clearTimeout(t)},[e,r,o,f]),(0,n.jsx)(l.N,{children:s&&(0,n.jsx)(c.P.div,{initial:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"fixed inset-0 z-50 flex items-center justify-center bg-white dark:bg-zinc-900",children:(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[(0,n.jsxs)(c.P.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:.5,ease:"easeOut"},className:"relative mb-8",children:[(0,n.jsx)(c.P.div,{animate:{rotate:[0,360]},transition:{duration:2,ease:"linear",repeat:1/0},className:"w-24 h-24 rounded-full border-t-4 border-l-4 border-[#1E78FF] absolute inset-0"}),(0,n.jsx)(c.P.div,{animate:{scale:[1,1.1,1],opacity:[.7,1,.7]},transition:{duration:2,ease:"easeInOut",repeat:1/0},className:"flex items-center justify-center h-24 w-24",children:(0,n.jsx)(p.default,{src:"/favicon.svg",alt:"Scribe Logo",width:40,height:40,className:"z-10"})})]}),(0,n.jsxs)(c.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.3,duration:.5},className:"flex flex-col items-center",children:[(0,n.jsx)("h3",{className:"text-lg font-['DM Sans'] font-medium text-gray-800 dark:text-gray-200 mb-3",children:o?"Loading 3D Scene...":"Loading Scribe"}),(0,n.jsx)("div",{className:"relative w-48 h-1 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden",children:(0,n.jsx)(c.P.div,{initial:{width:"0%"},animate:{width:o?"90%":"100%"},transition:{duration:o?f/1e3:r/1e3,ease:"easeInOut"},className:"absolute top-0 left-0 h-full bg-gradient-to-r from-[#1E78FF] to-[#8AB9FF]"})}),(0,n.jsxs)("div",{className:"flex mt-6 space-x-2",children:[(0,n.jsx)(c.P.div,{animate:{scale:[1,1.2,1],opacity:[.7,1,.7]},transition:{duration:1,repeat:1/0,repeatDelay:.2},className:"w-2 h-2 rounded-full bg-[#1E78FF]"}),(0,n.jsx)(c.P.div,{animate:{scale:[1,1.2,1],opacity:[.7,1,.7]},transition:{duration:1,repeat:1/0,repeatDelay:.2,delay:.2},className:"w-2 h-2 rounded-full bg-[#1E78FF]"}),(0,n.jsx)(c.P.div,{animate:{scale:[1,1.2,1],opacity:[.7,1,.7]},transition:{duration:1,repeat:1/0,repeatDelay:.2,delay:.4},className:"w-2 h-2 rounded-full bg-[#1E78FF]"})]})]})]})})})},d=()=>{let[t,e]=(0,i.useState)(!1),[r,o]=(0,i.useState)(!1),[f,s]=(0,i.useState)(!1),a=(0,i.useRef)(null),u=(0,i.useRef)(null),[l,c]=(0,i.useState)(!0);return(0,i.useEffect)(()=>{o(!0)},[]),(0,i.useEffect)(()=>{let t=new IntersectionObserver(t=>{e(t[0].isIntersecting)},{threshold:.1,rootMargin:"400px 0px"}),r=a.current;return r&&t.observe(r),()=>{r&&t.unobserve(r)}},[]),(0,n.jsxs)("div",{children:[t&&l&&(0,n.jsx)(y,{timeout:3e4,waitForElement:"#spline-scene canvas",waitTimeout:3e4}),(0,n.jsx)("div",{ref:a,style:{width:"100%",height:"100vh",overflow:"hidden",clipPath:"inset(5px 0px 70px 0px)",position:"relative",zIndex:1},className:"hidden flex justify-center lg:block",children:r&&t&&(0,n.jsx)("div",{id:"spline-scene",className:"transition-opacity duration-700 ease-in-out ".concat(!f||l?"opacity-0":"opacity-100"),style:{width:"100%",height:"100%"},children:(0,n.jsx)(h,{scene:"https://draft.spline.design/0B1NTIZlG1QxwE24/scene.splinecode",style:{width:"100%",height:"100%",position:"absolute",top:0,left:0},onLoad:t=>{console.log("Spline scene loaded"),u.current=t,s(!0),setTimeout(()=>{c(!1)},200)}})})})]})}},5376:t=>{!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=a(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=a(t),f=o[0],s=o[1],u=new i((f+s)
1*3/4-s),h=0,l=s>0?f-4:f;for(r=0;r<l;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],u[h++]=e>>16&255,u[h++]=e>>8&255,u[h++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,u[h++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,u[h++]=e>>8&255,u[h++]=255&e),u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],f=0,s=n-i;f<s;f+=16383)o.push(function(t,e,n){for(var i,o=[],f=e;f<n;f+=3)i=(t[f]<<16&0xff0000)+(t[f+1]<<8&65280)+(255&t[f+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,f,f+16383>s?s:f+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,s=o.length;f<s;++f)r[f]=o[f],n[o.charCodeAt(f)]=f;function a(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(t,e,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function f(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return h(t)}return a(t,e,r)}function a(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(n,i),a=f(o),u=a.write(n,i);return u!==o&&(a=a.slice(0,u)),a}if(ArrayBuffer.isView(t))return l(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),s.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var h=t.valueOf&&t.valueOf();if(null!=h&&h!==t)return s.from(h,e,r);var y=function(t){if(s.isBuffer(t)){var e=0|c(t.length),r=f(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?f(0):l(t):"Buffer"===t.type&&Array.isArray(t.data)?l(t.data):void 0}(t);if(y)return y;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return u(t),f(t<0?0:0|c(t))}function l(t){for(var e=t.length<0?0:0|c(t.length),r=f(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return a(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(u(t),t<=0)?f(t):void 0!==e?"string"==typeof r?f(t).fill(e,r):f(t).fill(e):f(t)},s.allocUnsafe=function(t){return h(t)},s.allocUnsafeSlow=function(t){return h(t)};function c(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return j(t).length;default:if(i)return n?-1:S(t).length;e=(""+e).toLowerCase(),i=!0}}function y(t,e,r){var i,o,f,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=O[t[o]];return i}(this,e,r);case"utf8":case"utf-8":return m(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,o=e,f=r,0===o&&f===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,f));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,e,r);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function d(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,i){var o;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return v(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function v(t,e,r,n,i){var o,f=1,s=t.length,a=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;f=2,s/=2,a/=2,r/=2}function u(t,e){return 1===f?t[e]:t.readUInt16BE(e*f)}if(i){var h=-1;for(o=r;o<s;o++)if(u(t,o)===u(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===a)return h*f}
vendor: 12,334 bytes, line 1
1else -1!==h&&(o-=o-h),h=-1}else for(r+a>s&&(r=s-a),o=r;o>=0;o--){for(var l=!0,c=0;c<a;c++)if(u(t,o+c)!==u(e,c)){l=!1;break}if(l)return o}return -1}s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=s.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(I(o,Uint8Array)&&(o=s.from(o)),!s.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)d(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)d(this,e,e+3),d(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)d(this,e,e+7),d(this,e+1,e+6),d(this,e+2,e+5),d(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?m(this,0,t):y.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,f=r-e,a=Math.min(o,f),u=this.slice(n,i),h=t.slice(e,r),l=0;l<a;++l)if(u[l]!==h[l]){o=u[l],f=h[l];break}return o<f?-1:+(f<o)},s.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)};function m(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,f,s,a,u=t[i],h=null,l=u>239?4:u>223?3:u>191?2:1;if(i+l<=r)switch(l){case 1:u<128&&(h=u);break;case 2:(192&(o=t[i+1]))==128&&(a=(31&u)<<6|63&o)>127&&(h=a);break;case 3:o=t[i+1],f=t[i+2],(192&o)==128&&(192&f)==128&&(a=(15&u)<<12|(63&o)<<6|63&f)>2047&&(a<55296||a>57343)&&(h=a);break;case 4:o=t[i+1],f=t[i+2],s=t[i+3],(192&o)==128&&(192&f)==128&&(192&s)==128&&(a=(15&u)<<18|(63&o)<<12|(63&f)<<6|63&s)>65535&&a<1114112&&(h=a)}null===h?(h=65533,l=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),i+=l}var c=n,p=c.length;if(p<=4096)return String.fromCharCode.apply(String,c);for(var y="",d=0;d<p;)y+=String.fromCharCode.apply(String,c.slice(d,d+=4096));return y}function b(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function E(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function x(t,e,r,n,o){return e*=1,r>>>=0,o||E(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function A(t,e,r,n,o){return e*=1,r>>>=0,o||E(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,f,s,a,u,h,l,c=this.length-e;if((void 0===r||r>c)&&(r=c),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var f=0;f<n;++f){var s,a=parseInt(e.substr(2*f,2),16);if((s=a)!=s)break;t[r+f]=a}return f}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,U(S(t,this.length-i),this,i,o);case"ascii":return f=e,s=r,U(T(t),this,f,s);case"latin1":case"binary":return function(t,e,r,n){return U(T(e),t,r,n)}(this,t,e,r);case"base64":return a=e,u=r,U(j(t),this,a,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=e,l=r,U(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-h),this,h,l);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUInt8=function(t,e){return t>>>=0,e||b(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||b(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||b(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||b(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||b(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||b(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,t,e,r,i,0)}var o=1,f=0;for(this[e]=255&t;++f<r&&(o*=256);)this[e+f]=t/o&255;return e+r},s.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,t,e,r,i,0)}var o=r-1,f=1;for(this[e+o]=255&t;--o>=0&&(f*=256);)this[e+o]=t/f&255;return e+r},s.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,t,e,r,i-1,-i)}var o=0,f=1,s=0;for(this[e]=255&t;++o<r&&(f*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/f|0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,t,e,r,i-1,-i)}var o=r-1,f=1,s=0;for(this[e+o]=255&t;--o>=0&&(f*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/f|0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return x(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return x(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return A(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return A(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var f=s.isBuffer(t)?t:s.from(t,n),a=f.length;
1if(0===a)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=f[i%a]}return this};var B=/[^+/0-9A-Za-z-_]/g;function S(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],f=0;f<n;++f){if((r=t.charCodeAt(f))>55295&&r<57344){if(!i){if(r>56319||f+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function T(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function j(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(B,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function U(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function I(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var O=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},783:function(t,e){e.read=function(t,e,r,n,i){var o,f,s=8*i-n-1,a=(1<<s)-1,u=a>>1,h=-7,l=r?i-1:0,c=r?-1:1,p=t[e+l];for(l+=c,o=p&(1<<-h)-1,p>>=-h,h+=s;h>0;o=256*o+t[e+l],l+=c,h-=8);for(f=o&(1<<-h)-1,o>>=-h,h+=n;h>0;f=256*f+t[e+l],l+=c,h-=8);if(0===o)o=1-u;else{if(o===a)return f?NaN:1/0*(p?-1:1);f+=Math.pow(2,n),o-=u}return(p?-1:1)*f*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var f,s,a,u=8*o-i-1,h=(1<<u)-1,l=h>>1,c=5960464477539062e-23*(23===i),p=n?0:o-1,y=n?1:-1,d=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),f=h):(f=Math.floor(Math.log(e)/Math.LN2),e*(a=Math.pow(2,-f))<1&&(f--,a*=2),f+l>=1?e+=c/a:e+=c*Math.pow(2,1-l),e*a>=2&&(f++,a/=2),f+l>=h?(s=0,f=h):f+l>=1?(s=(e*a-1)*Math.pow(2,i),f+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),f=0));i>=8;t[r+p]=255&s,p+=y,s/=256,i-=8);for(f=f<<i|s,u+=i;u>0;t[r+p]=255&f,p+=y,f/=256,u-=8);t[r+p-y]|=128*d}}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var o=r[t]={exports:{}},f=!0;try{e[t](o,o.exports,n),f=!1}finally{f&&delete r[t]}return o.exports}n.ab="//",t.exports=n(72)}()},7957:(t,e,r)=>{var n=0/0,i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,u="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,h="object"==typeof self&&self&&self.Object===Object&&self,l=u||h||Function("return this")(),c=Object.prototype.toString,p=Math.max,y=Math.min,d=function(){return l.Date.now()};function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function v(t){if("number"==typeof t)return t;if("symbol"==typeof(e=t)||e&&"object"==typeof e&&"[object Symbol]"==c.call(e))return n;if(g(t)){var e,r="function"==typeof t.valueOf?t.valueOf():t;t=g(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var u=f.test(t);return u||s.test(t)?a(t.slice(2),u?2:8):o.test(t)?n:+t}t.exports=function(t,e,r){var n,i,o,f,s,a,u=0,h=!1,l=!1,c=!0;if("function"!=typeof t)throw TypeError("Expected a function");function m(e){var r=n,o=i;return n=i=void 0,u=e,f=t.apply(o,r)}function b(t){var r=t-a,n=t-u;return void 0===a||r>=e||r<0||l&&n>=o}function w(){var t,r,n,i=d();if(b(i))return E(i);s=setTimeout(w,(t=i-a,r=i-u,n=e-t,l?y(n,o-r):n))}function E(t){return(s=void 0,c&&n)?m(t):(n=i=void 0,f)}function x(){var t,r=d(),o=b(r);if(n=arguments,i=this,a=r,o){if(void 0===s)return u=t=a,s=setTimeout(w,e),h?m(t):f;if(l)return s=setTimeout(w,e),m(a)}return void 0===s&&(s=setTimeout(w,e)),f}return e=v(e)||0,g(r)&&(h=!!r.leading,o=(l="maxWait"in r)?p(v(r.maxWait)||0,e):o,c="trailing"in r?!!r.trailing:c),x.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=a=i=s=void 0},x.flush=function(){return void 0===s?f:E(d())},x}}}]);
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.