nova-ui/static/events.worker.js

2 lines
1.7 MiB
JavaScript
Raw Permalink Normal View History

2024-05-05 11:23:34 +03:00
/*! For license information please see ../LICENSES */!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports;}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n});},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0});},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e];}.bind(null,o));return n;},r.n=function(t){var e=t&&t.__esModule?function(){return t.default;}:function(){return t;};return r.d(e,"a",e),e;},r.o=function(object,t){return Object.prototype.hasOwnProperty.call(object,t);},r.p="/_nuxt/",r(r.s=324);}([function(t,e,r){"use strict";r.d(e,"k",function(){return h;}),r.d(e,"j",function(){return l;}),r.d(e,"a",function(){return d;}),r.d(e,"b",function(){return m;}),r.d(e,"o",function(){return y;}),r.d(e,"p",function(){return v;}),r.d(e,"l",function(){return w;}),r.d(e,"i",function(){return M;}),r.d(e,"d",function(){return A;}),r.d(e,"e",function(){return E;}),r.d(e,"c",function(){return x;}),r.d(e,"g",function(){return S;}),r.d(e,"f",function(){return I;}),r.d(e,"h",function(){return k;}),r.d(e,"n",function(){return T;}),r.d(e,"m",function(){return O;});const n=new(r(2).b)("bytes/5.7.0");function o(t){return!!t.toHexString;}function f(t){return t.slice||(t.slice=function(){const e=Array.prototype.slice.call(arguments);return f(new Uint8Array(Array.prototype.slice.apply(t,e)));}),t;}function h(t){return w(t)&&!(t.length%2)||l(t);}function c(t){return"number"==typeof t&&t==t&&t%1==0;}function l(t){if(null==t)return!1;if(t.constructor===Uint8Array)return!0;if("string"==typeof t)return!1;if(!c(t.length)||t.length<0)return!1;for(let i=0;i<t.length;i++){const e=t[i];if(!c(e)||e<0||e>=256)return!1;}return!0;}function d(t,e){if(e||(e={}),"number"==typeof t){n.checkSafeUint53(t,"invalid arrayify value");const e=[];for(;t;)e.unshift(255&t),t=parseInt(String(t/256));return 0===e.length&&e.push(0),f(new Uint8Array(e));}if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),o(t)&&(t=t.toHexString()),w(t)){let r=t.substring(2);r.length%2&&("left"===e.hexPad?r="0"+r:"right"===e.hexPad?r+="0":n.throwArgumentError("hex data is odd-length","value",t));const o=[];for(let i=0;i<r.length;i+=2)o.push(parseInt(r.substring(i,i+2),16));return f(new Uint8Array(o));}return l(t)?f(new Uint8Array(t)):n.throwArgumentError("invalid arrayify value","value",t);}function m(t){const e=t.map(t=>d(t)),r=e.reduce((t,e)=>t+e.length,0),n=new Uint8Array(r);return e.reduce((t,object)=>(n.set(object,t),t+object.length),0),f(n);}function y(t){let e=d(t);if(0===e.length)return e;let r=0;for(;r<e.length&&0===e[r];)r++;return r&&(e=e.slice(r)),e;}function v(t,e){(t=d(t)).length>e&&n.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(e);return r.set(t,e-t.length),f(r);}function w(t,e){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/))&&(!e||t.length===2+2*e);}const _="0123456789abcdef";function M(t,e){if(e||(e={}),"number"==typeof t){n.checkSafeUint53(t,"invalid hexlify value");let e="";for(;t;)e=_[15&t]+e,t=Math.floor(t/16);return e.length?(e.length%2&&(e="0"+e),"0x"+e):"0x00";}if("bigint"==typeof t)return(t=t.toString(16)).length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),o(t))return t.toHexString();if(w(t))return t.length%2&&("left"===e.hexPad?t="0x0"+t.substring(2):"right"===e.hexPad?t+="0":n.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(l(t)){let e="0x";for(let i=0;i<t.length;i++){let r=t[i];e+=_[(240&r)>>4]+_[15&r];}return e;}return n.throwArgumentError("invalid hexlify value","value",t);}function A(data){if("string"!=typeof data)data=M(data