nova-ui-minified/events.worker.js

2 lines
1.5 MiB
JavaScript
Raw Normal View History

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