@signageos/front-display 14.11.0 → 14.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/bundle.js +1 -1
- package/dist/bundle.js.map +4 -4
- package/dist/serviceWorker.js +1 -1
- package/dist/serviceWorker.js.map +4 -4
- package/dist/webWorker.js +1 -1
- package/dist/webWorker.js.map +4 -4
- package/dist/weinre.js +61 -0
- package/package.json +1 -1
package/dist/serviceWorker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _assert_this_initialized(self1){if(self1===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self1}function _call_super(_this,derived,args){derived=_get_prototype_of(derived);return _possible_constructor_return(_this,_is_native_reflect_construct()?Reflect.construct(derived,args||[],_get_prototype_of(_this).constructor):derived.apply(_this,args))}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _create_class(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}function _get_prototype_of(o){_get_prototype_of=Object.setPrototypeOf?Object.getPrototypeOf:function getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _get_prototype_of(o)}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_set_prototype_of(subClass,superClass)}function _possible_constructor_return(self1,call){if(call&&(_type_of(call)==="object"||typeof call==="function")){return call}return _assert_this_initialized(self1)}function _set_prototype_of(o,p){_set_prototype_of=Object.setPrototypeOf||function setPrototypeOf(o,p){o.__proto__=p;return o};return _set_prototype_of(o,p)}function _type_of(obj){"@swc/helpers - typeof";return obj&&typeof Symbol!=="undefined"&&obj.constructor===Symbol?"symbol":typeof obj}function _is_native_reflect_construct(){try{var result=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(_){}return(_is_native_reflect_construct=function(){return!!result})()}function _ts_generator(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),"throw":verb(1),"return":verb(2)},typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");while(_)try{if(f=1,y&&(t=op[0]&2?y["return"]:op[0]?y["throw"]||((t=y["return"])&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;if(y=0,t)op=[op[0]&2,t.value];switch(op[0]){case 0:case 1:t=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t=_.trys,t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1];t=op;break}if(t&&_.label<t[2]){_.label=t[2];_.ops.push(op);break}if(t[2])_.ops.pop();_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e];y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:true}}}(function(){var Ir=function Ir(e){var r=/\/indexed_db\/.+$/,t=e.match(r);return t?t[0]:null};var ct=function ct(e){return Y(this,null,function(){var r,t;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=Ir(e.request.url);if(!!r)return[3,2];return[4,fetch(e.request)];case 1:return[2,_state.sent()];case 2:return[4,caches.match(r,{ignoreSearch:!0})];case 3:t=_state.sent();return[2,t||new Response("Not found",{status:404,statusText:"Not found"})]}})})};var Ar=Object.create;var rr=Object.defineProperty;var Ur=Object.getOwnPropertyDescriptor;var Rr=Object.getOwnPropertyNames;var Tr=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var a=Math.pow;var W=function(e,r){return function(){return e&&(r=e(e=0)),r}};var P=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var _r=function(e,r,t,i){var _iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;if(r&&(typeof r==="undefined"?"undefined":_type_of(r))=="object"||typeof r=="function")try{var _loop=function(){var n=_step.value;!Cr.call(e,n)&&n!==t&&rr(e,n,{get:function(){return r[n]},enumerable:!(i=Ur(r,n))||i.enumerable})};for(var _iterator=Rr(r)[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true)_loop()}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}return e};var g=function(e,r,t){return t=e!=null?Ar(Tr(e)):{},_r(r||!e||!e.__esModule?rr(t,"default",{value:e,enumerable:!0}):t,e)};var Y=function(e,r,t){return new Promise(function(i,n){var o=function(c){try{f(t.next(c))}catch(l){n(l)}},u=function(c){try{f(t.throw(c))}catch(l){n(l)}},f=function(c){return c.done?i(c.value):Promise.resolve(c.value).then(o,u)};f((t=t.apply(e,r)).next())})};var x=W(function(){});var B=W(function(){});var d=W(function(){typeof Blob.prototype.arrayBuffer!="function"&&(Blob.prototype.arrayBuffer=function(){var _this=this;return new Promise(function(e,r){var t=new FileReader;t.onloadend=function(){return e(t.result)},t.onerror=r,t.readAsArrayBuffer(_this)})})});var ir=P(function($){"use strict";var er=function er(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]};var Lr=function Lr(e){var r=er(e),t=r[0],i=r[1];return(t+i)*3/4-i};var Nr=function Nr(e,r,t){return(r+t)*3/4-t};var br=function br(e){var r,t=er(e),i=t[0],n=t[1],o=new Sr(Nr(e,i,n)),u=0,f=n>0?i-4:i,c;for(c=0;c<f;c+=4)r=m[e.charCodeAt(c)]<<18|m[e.charCodeAt(c+1)]<<12|m[e.charCodeAt(c+2)]<<6|m[e.charCodeAt(c+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=m[e.charCodeAt(c)]<<2|m[e.charCodeAt(c+1)]>>4,o[u++]=r&255),n===1&&(r=m[e.charCodeAt(c)]<<10|m[e.charCodeAt(c+1)]<<4|m[e.charCodeAt(c+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o};var Dr=function Dr(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[e&63]};var Mr=function Mr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Dr(i));return n.join("")};var kr=function kr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,f=t-i;u<f;u+=o)n.push(Mr(e,u,u+o>f?f:u+o));return i===1?(r=e[t-1],n.push(F[r>>2]+F[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),n.join("")};x();B();d();var Et=g(E());$.byteLength=Lr;$.toByteArray=br;$.fromByteArray=kr;var F=[],m=[],Sr=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(T=0,tr=j.length;T<tr;++T)F[T]=j[T],m[j.charCodeAt(T)]=T;var T,tr;m[45]=62;m[95]=63});var nr=P(function(H){x();B();d();var At=g(E());H.read=function(e,r,t,i,n){var o,u,f=n*8-i-1,c=(1<<f)-1,l=c>>1,s=-7,p=t?n-1:0,_=t?-1:1,I=e[r+p];for(p+=_,o=I&(1<<-s)-1,I>>=-s,s+=f;s>0;o=o*256+e[r+p],p+=_,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=i;s>0;u=u*256+e[r+p],p+=_,s-=8);if(o===0)o=1-l;else{if(o===c)return u?NaN:(I?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-l}return(I?-1:1)*u*Math.pow(2,o-i)};H.write=function(e,r,t,i,n,o){var u,f,c,l=o*8-n-1,s=(1<<l)-1,p=s>>1,_=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,I=i?0:o-1,G=i?1:-1,Fr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=s):(u=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-u))<1&&(u--,c*=2),u+p>=1?r+=_/c:r+=_*Math.pow(2,1-p),r*c>=2&&(u++,c/=2),u+p>=s?(f=0,u=s):u+p>=1?(f=(r*c-1)*Math.pow(2,n),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+I]=f&255,I+=G,f/=256,n-=8);for(u=u<<n|f,l+=n;l>0;e[t+I]=u&255,I+=G,u/=256,l-=8);e[t+I-G]|=Fr*128}});var mr=P(function(b){"use strict";var Pr=function Pr(){try{var e=new Uint8Array(1),r={foo:function foo(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(e){return!1}};var U=function U(e){if(e>O)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,h.prototype),r};var h=function h(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(e)}return cr(e,r,t)};var cr=function cr(e,r,t){if(typeof e=="string")return Or(e,r);if(ArrayBuffer.isView(e))return qr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(typeof e==="undefined"?"undefined":_type_of(e)));if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(e,SharedArrayBuffer)||e&&A(e.buffer,SharedArrayBuffer)))return z(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return h.from(i,r,t);var n=Gr(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return h.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(typeof e==="undefined"?"undefined":_type_of(e)))};var pr=function pr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')};var $r=function $r(e,r,t){return pr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)};var K=function K(e){return pr(e),U(e<0?0:Z(e)|0)};var Or=function Or(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!h.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=sr(e,r)|0,i=U(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i};var X=function X(e){var r=e.length<0?0:Z(e.length)|0,t=U(r);for(var i=0;i<r;i+=1)t[i]=e[i]&255;return t};var qr=function qr(e){if(A(e,Uint8Array)){var r=new Uint8Array(e);return z(r.buffer,r.byteOffset,r.byteLength)}return X(e)};var z=function z(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,h.prototype),i};var Gr=function Gr(e){if(h.isBuffer(e)){var r=Z(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||v(e.length)?U(0):X(e);if(e.type==="Buffer"&&Array.isArray(e.data))return X(e.data)};var Z=function Z(e){if(e>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return e|0};var Wr=function Wr(e){return+e!=e&&(e=0),h.alloc(+e)};var sr=function sr(e,r){if(h.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+(typeof e==="undefined"?"undefined":_type_of(e)));var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;var n=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return J(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return gr(e).length;default:if(n)return i?-1:J(e).length;r=(""+r).toLowerCase(),n=!0}};var Yr=function Yr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return vr(this,r,t);case"utf8":case"utf-8":return ar(this,r,t);case"ascii":return Zr(this,r,t);case"latin1":case"binary":return Qr(this,r,t);case"base64":return Jr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rt(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}};var C=function C(e,r,t){var i=e[r];e[r]=e[t],e[t]=i};var lr=function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>0x7fffffff?t=0x7fffffff:t<-0x80000000&&(t=-0x80000000),t=+t,v(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=h.from(r,i)),h.isBuffer(r))return r.length===0?-1:ur(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ur(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")};var ur=function ur(e,r,t,i,n){var o=1,u=e.length,f=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,f/=2,t/=2}function c(s,p){return o===1?s[p]:s.readUInt16BE(p*o)}var l;if(n){var s=-1;for(l=t;l<u;l++)if(c(e,l)===c(r,s===-1?0:l-s)){if(s===-1&&(s=l),l-s+1===f)return s*o}else s!==-1&&(l-=l-s),s=-1}else for(t+f>u&&(t=u-f),l=t;l>=0;l--){var s1=!0;for(var p=0;p<f;p++)if(c(e,l+p)!==c(r,p)){s1=!1;break}if(s1)return l}return-1};var jr=function jr(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);var u;for(u=0;u<i;++u){var f=parseInt(r.substr(u*2,2),16);if(v(f))return u;e[t+u]=f}return u};var Hr=function Hr(e,r,t,i){return q(J(r,e.length-t),e,t,i)};var Vr=function Vr(e,r,t,i){return q(nt(r),e,t,i)};var Xr=function Xr(e,r,t,i){return q(gr(r),e,t,i)};var zr=function zr(e,r,t,i){return q(ot(r,e.length-t),e,t,i)};var Jr=function Jr(e,r,t){return r===0&&t===e.length?V.fromByteArray(e):V.fromByteArray(e.slice(r,t))};var ar=function ar(e,r,t){t=Math.min(e.length,t);var i=[],n=r;for(;n<t;){var o=e[n],u=null,f=o>239?4:o>223?3:o>191?2:1;if(n+f<=t){var c=void 0,l=void 0,s=void 0,p=void 0;switch(f){case 1:o<128&&(u=o);break;case 2:c=e[n+1],(c&192)===128&&(p=(o&31)<<6|c&63,p>127&&(u=p));break;case 3:c=e[n+1],l=e[n+2],(c&192)===128&&(l&192)===128&&(p=(o&15)<<12|(c&63)<<6|l&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:c=e[n+1],l=e[n+2],s=e[n+3],(c&192)===128&&(l&192)===128&&(s&192)===128&&(p=(o&15)<<18|(c&63)<<12|(l&63)<<6|s&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=f}return Kr(i)};var Kr=function Kr(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);var t="",i=0;for(;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t};var Zr=function Zr(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i};var Qr=function Qr(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i};var vr=function vr(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);var n="";for(var o=r;o<t;++o)n+=ut[e[o]];return n};var rt=function rt(e,r,t){var i=e.slice(r,t),n="";for(var o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n};var y=function y(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")};var w=function w(e,r,t,i,n,o){if(!h.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")};var yr=function yr(e,r,t,i,n){Er(r,i,n,e,t,7);var o=Number(r&BigInt(0xffffffff));e[t++]=o,o=o>>8,e[t++]=o,o=o>>8,e[t++]=o,o=o>>8,e[t++]=o;var u=Number(r>>BigInt(32)&BigInt(0xffffffff));return e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u,t};var wr=function wr(e,r,t,i,n){Er(r,i,n,e,t,7);var o=Number(r&BigInt(0xffffffff));e[t+7]=o,o=o>>8,e[t+6]=o,o=o>>8,e[t+5]=o,o=o>>8,e[t+4]=o;var u=Number(r>>BigInt(32)&BigInt(0xffffffff));return e[t+3]=u,u=u>>8,e[t+2]=u,u=u>>8,e[t+1]=u,u=u>>8,e[t]=u,t+8};var xr=function xr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")};var Br=function Br(e,r,t,i,n){return r=+r,t=t>>>0,n||xr(e,r,t,4,34028234663852886e22,-34028234663852886e22),L.write(e,r,t,i,23,4),t+4};var dr=function dr(e,r,t,i,n){return r=+r,t=t>>>0,n||xr(e,r,t,8,17976931348623157e292,-17976931348623157e292),L.write(e,r,t,i,52,8),t+8};var Q=function Q(e,r,t){S[e]=/*#__PURE__*/function(t){_inherits(_class,t);function _class(){_class_call_check(this,_class);var _this;_this=_call_super(this,_class),Object.defineProperty(_this,"message",{value:r.apply(_this,arguments),writable:!0,configurable:!0}),_this.name="".concat(_this.name," [").concat(e,"]"),_this.stack,delete _this.name;return _this}_create_class(_class,[{key:"code",get:function get(){return e},set:function set(n){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:n,writable:!0})}},{key:"toString",value:function toString(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}]);return _class}(t)};var fr=function fr(e){var r="",t=e.length,i=e[0]==="-"?1:0;for(;t>=i+4;t-=3)r="_".concat(e.slice(t-3,t)).concat(r);return"".concat(e.slice(0,t)).concat(r)};var tt=function tt(e,r,t){N(r,"offset"),(e[r]===void 0||e[r+t]===void 0)&&k(r,e.length-(t+1))};var Er=function Er(e,r,t,i,n,o){if(e>t||e<r){var u=(typeof r==="undefined"?"undefined":_type_of(r))=="bigint"?"n":"",f;throw o>3?r===0||r===BigInt(0)?f=">= 0".concat(u," and < 2").concat(u," ** ").concat((o+1)*8).concat(u):f=">= -(2".concat(u," ** ").concat((o+1)*8-1).concat(u,") and < 2 ** ").concat((o+1)*8-1).concat(u):f=">= ".concat(r).concat(u," and <= ").concat(t).concat(u),new S.ERR_OUT_OF_RANGE("value",f,e)}tt(i,n,o)};var N=function N(e,r){if(typeof e!="number")throw new S.ERR_INVALID_ARG_TYPE(r,"number",e)};var k=function k(e,r,t){throw Math.floor(e)!==e?(N(e,t),new S.ERR_OUT_OF_RANGE(t||"offset","an integer",e)):r<0?new S.ERR_BUFFER_OUT_OF_BOUNDS:new S.ERR_OUT_OF_RANGE(t||"offset",">= ".concat(t?1:0," and <= ").concat(r),e)};var it=function it(e){if(e=e.split("=")[0],e=e.trim().replace(et,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e};var J=function J(e,r){r=r||1/0;var t,i=e.length,n=null,o=[];for(var u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o};var nt=function nt(e){var r=[];for(var t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r};var ot=function ot(e,r){var t,i,n,o=[];for(var u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o};var gr=function gr(e){return V.toByteArray(it(e))};var q=function q(e,r,t,i){var n;for(n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n};var A=function A(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name};var v=function v(e){return e!==e};var R=function R(e){return typeof BigInt=="undefined"?ht:e};var ht=function ht(){throw new Error("BigInt not supported")};x();B();d();var St=g(E());var V=ir(),L=nr(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;b.Buffer=h;b.SlowBuffer=Wr;b.INSPECT_MAX_BYTES=50;var O=0x7fffffff;b.kMaxLength=O;h.TYPED_ARRAY_SUPPORT=Pr();!h.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&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(h.prototype,"parent",{enumerable:!0,get:function get(){if(h.isBuffer(this))return this.buffer}});Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function get(){if(h.isBuffer(this))return this.byteOffset}});h.poolSize=8192;h.from=function(e,r,t){return cr(e,r,t)};Object.setPrototypeOf(h.prototype,Uint8Array.prototype);Object.setPrototypeOf(h,Uint8Array);h.alloc=function(e,r,t){return $r(e,r,t)};h.allocUnsafe=function(e){return K(e)};h.allocUnsafeSlow=function(e){return K(e)};h.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==h.prototype};h.compare=function(r,t){if(A(r,Uint8Array)&&(r=h.from(r,r.offset,r.byteLength)),A(t,Uint8Array)&&(t=h.from(t,t.offset,t.byteLength)),!h.isBuffer(r)||!h.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;var i=r.length,n=t.length;for(var o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};h.isEncoding=function(r){switch(String(r).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}};h.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return h.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=h.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(A(u,Uint8Array))o+u.length>n.length?(h.isBuffer(u)||(u=h.from(u)),u.copy(n,o)):Uint8Array.prototype.set.call(n,u,o);else if(h.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};h.byteLength=sr;h.prototype._isBuffer=!0;h.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)C(this,t,t+1);return this};h.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};h.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};h.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?ar(this,0,r):Yr.apply(this,arguments)};h.prototype.toLocaleString=h.prototype.toString;h.prototype.equals=function(r){if(!h.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:h.compare(this,r)===0};h.prototype.inspect=function(){var r="",t=b.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};or&&(h.prototype[or]=h.prototype.inspect);h.prototype.compare=function(r,t,i,n,o){if(A(r,Uint8Array)&&(r=h.from(r,r.offset,r.byteLength)),!h.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+(typeof r==="undefined"?"undefined":_type_of(r)));if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;var u=o-n,f=i-t,c=Math.min(u,f),l=this.slice(n,o),s=r.slice(t,i);for(var p=0;p<c;++p)if(l[p]!==s[p]){u=l[p],f=s[p];break}return u<f?-1:f<u?1:0};h.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};h.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};h.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};h.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");var u=!1;for(;;)switch(n){case"hex":return jr(this,r,t,i);case"utf8":case"utf-8":return Hr(this,r,t,i);case"ascii":case"latin1":case"binary":return Vr(this,r,t,i);case"base64":return Xr(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zr(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var hr=4096;h.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,h.prototype),n};h.prototype.readUintLE=h.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);var n=this[r],o=1,u=0;for(;++u<t&&(o*=256);)n+=this[r+u]*o;return n};h.prototype.readUintBE=h.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);var n=this[r+--t],o=1;for(;t>0&&(o*=256);)n+=this[r+--t]*o;return n};h.prototype.readUint8=h.prototype.readUInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]};h.prototype.readUint16LE=h.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]|this[r+1]<<8};h.prototype.readUint16BE=h.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]<<8|this[r+1]};h.prototype.readUint32LE=h.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*0x1000000};h.prototype.readUint32BE=h.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]*0x1000000+(this[r+1]<<16|this[r+2]<<8|this[r+3])};h.prototype.readBigUInt64LE=R(function(r){r=r>>>0,N(r,"offset");var t=this[r],i=this[r+7];(t===void 0||i===void 0)&&k(r,this.length-8);var n=t+this[++r]*a(2,8)+this[++r]*a(2,16)+this[++r]*a(2,24),o=this[++r]+this[++r]*a(2,8)+this[++r]*a(2,16)+i*a(2,24);return BigInt(n)+(BigInt(o)<<BigInt(32))});h.prototype.readBigUInt64BE=R(function(r){r=r>>>0,N(r,"offset");var t=this[r],i=this[r+7];(t===void 0||i===void 0)&&k(r,this.length-8);var n=t*a(2,24)+this[++r]*a(2,16)+this[++r]*a(2,8)+this[++r],o=this[++r]*a(2,24)+this[++r]*a(2,16)+this[++r]*a(2,8)+i;return(BigInt(n)<<BigInt(32))+BigInt(o)});h.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);var n=this[r],o=1,u=0;for(;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};h.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);var n=t,o=1,u=this[r+--n];for(;n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};h.prototype.readInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};h.prototype.readInt16LE=function(r,t){r=r>>>0,t||y(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|0xffff0000:i};h.prototype.readInt16BE=function(r,t){r=r>>>0,t||y(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|0xffff0000:i};h.prototype.readInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};h.prototype.readInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};h.prototype.readBigInt64LE=R(function(r){r=r>>>0,N(r,"offset");var t=this[r],i=this[r+7];(t===void 0||i===void 0)&&k(r,this.length-8);var n=this[r+4]+this[r+5]*a(2,8)+this[r+6]*a(2,16)+(i<<24);return(BigInt(n)<<BigInt(32))+BigInt(t+this[++r]*a(2,8)+this[++r]*a(2,16)+this[++r]*a(2,24))});h.prototype.readBigInt64BE=R(function(r){r=r>>>0,N(r,"offset");var t=this[r],i=this[r+7];(t===void 0||i===void 0)&&k(r,this.length-8);var n=(t<<24)+this[++r]*a(2,16)+this[++r]*a(2,8)+this[++r];return(BigInt(n)<<BigInt(32))+BigInt(this[++r]*a(2,24)+this[++r]*a(2,16)+this[++r]*a(2,8)+i)});h.prototype.readFloatLE=function(r,t){return r=r>>>0,t||y(r,4,this.length),L.read(this,r,!0,23,4)};h.prototype.readFloatBE=function(r,t){return r=r>>>0,t||y(r,4,this.length),L.read(this,r,!1,23,4)};h.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||y(r,8,this.length),L.read(this,r,!0,52,8)};h.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||y(r,8,this.length),L.read(this,r,!1,52,8)};h.prototype.writeUintLE=h.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var f=Math.pow(2,8*i)-1;w(this,r,t,i,f,0)}var o=1,u=0;for(this[t]=r&255;++u<i&&(o*=256);)this[t+u]=r/o&255;return t+i};h.prototype.writeUintBE=h.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var f=Math.pow(2,8*i)-1;w(this,r,t,i,f,0)}var o=i-1,u=1;for(this[t+o]=r&255;--o>=0&&(u*=256);)this[t+o]=r/u&255;return t+i};h.prototype.writeUint8=h.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,1,255,0),this[t]=r&255,t+1};h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,0xffffffff,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,0xffffffff,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};h.prototype.writeBigUInt64LE=R(function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return yr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))});h.prototype.writeBigUInt64BE=R(function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return wr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))});h.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var c=Math.pow(2,8*i-1);w(this,r,t,i,c-1,-c)}var o=0,u=1,f=0;for(this[t]=r&255;++o<i&&(u*=256);)r<0&&f===0&&this[t+o-1]!==0&&(f=1),this[t+o]=(r/u>>0)-f&255;return t+i};h.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var c=Math.pow(2,8*i-1);w(this,r,t,i,c-1,-c)}var o=i-1,u=1,f=0;for(this[t+o]=r&255;--o>=0&&(u*=256);)r<0&&f===0&&this[t+o+1]!==0&&(f=1),this[t+o]=(r/u>>0)-f&255;return t+i};h.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};h.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};h.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};h.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,0x7fffffff,-0x80000000),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};h.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||w(this,r,t,4,0x7fffffff,-0x80000000),r<0&&(r=0xffffffff+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};h.prototype.writeBigInt64LE=R(function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return yr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});h.prototype.writeBigInt64BE=R(function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return wr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});h.prototype.writeFloatLE=function(r,t,i){return Br(this,r,t,!0,i)};h.prototype.writeFloatBE=function(r,t,i){return Br(this,r,t,!1,i)};h.prototype.writeDoubleLE=function(r,t,i){return dr(this,r,t,!0,i)};h.prototype.writeDoubleBE=function(r,t,i){return dr(this,r,t,!1,i)};h.prototype.copy=function(r,t,i,n){if(!h.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};h.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!h.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var u=r.charCodeAt(0);(n==="utf8"&&u<128||n==="latin1")&&(r=u)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var o;if(typeof r=="number")for(o=t;o<i;++o)this[o]=r;else{var u1=h.isBuffer(r)?r:h.from(r,n),f=u1.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<i-t;++o)this[o+t]=u1[o%f]}return this};var S={};Q("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError);Q("ERR_INVALID_ARG_TYPE",function(e,r){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof r==="undefined"?"undefined":_type_of(r))},TypeError);Q("ERR_OUT_OF_RANGE",function(e,r,t){var i='The value of "'.concat(e,'" is out of range.'),n=t;return Number.isInteger(t)&&Math.abs(t)>a(2,32)?n=fr(String(t)):(typeof t==="undefined"?"undefined":_type_of(t))=="bigint"&&(n=String(t),(t>a(BigInt(2),BigInt(32))||t<-a(BigInt(2),BigInt(32)))&&(n=fr(n)),n+="n"),i+=" It must be ".concat(r,". Received ").concat(n),i},RangeError);var et=/[^+/0-9A-Za-z-_]/g;var ut=function(){var e="0123456789abcdef",r=new Array(256);for(var t=0;t<16;++t){var i=t*16;for(var n=0;n<16;++n)r[i+n]=e[t]+e[n]}return r}()});var E=P(function(){"use strict";var ft=mr();globalThis.Buffer=ft.Buffer});x();B();d();var Zt=g(E());x();B();d();var $t=g(E());x();B();d();var Yt=g(E());self.addEventListener("install",function(e){console.info("Installing service worker",e),e.waitUntil(caches.open("front-display").then(function(r){return r.addAll(["bundle.js","styles.css"])}))});self.addEventListener("activate",function(e){console.info("Claiming control",e),e.waitUntil(self.clients.claim())});self.addEventListener("fetch",function(e){return Y(this,null,function(){return _ts_generator(this,function(_state){e.respondWith(ct(e));return[2]})})})})();/*! Bundled license information:
|
|
1
|
+
function _assert_this_initialized(self1){if(self1===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self1}function _call_super(_this,derived,args){derived=_get_prototype_of(derived);return _possible_constructor_return(_this,_is_native_reflect_construct()?Reflect.construct(derived,args||[],_get_prototype_of(_this).constructor):derived.apply(_this,args))}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _create_class(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}function _get_prototype_of(o){_get_prototype_of=Object.setPrototypeOf?Object.getPrototypeOf:function getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _get_prototype_of(o)}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_set_prototype_of(subClass,superClass)}function _possible_constructor_return(self1,call){if(call&&(_type_of(call)==="object"||typeof call==="function")){return call}return _assert_this_initialized(self1)}function _set_prototype_of(o,p){_set_prototype_of=Object.setPrototypeOf||function setPrototypeOf(o,p){o.__proto__=p;return o};return _set_prototype_of(o,p)}function _type_of(obj){"@swc/helpers - typeof";return obj&&typeof Symbol!=="undefined"&&obj.constructor===Symbol?"symbol":typeof obj}function _is_native_reflect_construct(){try{var result=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(_){}return(_is_native_reflect_construct=function(){return!!result})()}function _ts_generator(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),"throw":verb(1),"return":verb(2)},typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");while(_)try{if(f=1,y&&(t=op[0]&2?y["return"]:op[0]?y["throw"]||((t=y["return"])&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;if(y=0,t)op=[op[0]&2,t.value];switch(op[0]){case 0:case 1:t=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t=_.trys,t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1];t=op;break}if(t&&_.label<t[2]){_.label=t[2];_.ops.push(op);break}if(t[2])_.ops.pop();_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e];y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:true}}}(function(){var Ur=function Ur(e){var r=/\/indexed_db\/.+$/,t=e.match(r);return t?t[0]:null};var lt=function lt(e){return V(this,null,function(){var r,t;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=Ur(e.request.url);if(!!r)return[3,2];return[4,fetch(e.request)];case 1:return[2,_state.sent()];case 2:return[4,caches.match(r,{ignoreSearch:!0})];case 3:t=_state.sent();return[2,t||new Response("Not found",{status:404,statusText:"Not found"})]}})})};var Tr=Object.create;var nr=Object.defineProperty;var Cr=Object.getOwnPropertyDescriptor;var Sr=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty;var a=Math.pow;var k=function(e,r){return function(){return e&&(r=e(e=0)),r}};var H=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var br=function(e,r,t,n){var _iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;if(r&&(typeof r==="undefined"?"undefined":_type_of(r))=="object"||typeof r=="function")try{var _loop=function(){var i=_step.value;!Lr.call(e,i)&&i!==t&&nr(e,i,{get:function(){return r[i]},enumerable:!(n=Cr(r,i))||n.enumerable})};for(var _iterator=Sr(r)[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true)_loop()}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}return e};var Nr=function(e,r,t){return t=e!=null?Tr(_r(e)):{},br(r||!e||!e.__esModule?nr(t,"default",{value:e,enumerable:!0}):t,e)};var V=function(e,r,t){return new Promise(function(n,i){var o=function(c){try{f(t.next(c))}catch(l){i(l)}},u=function(c){try{f(t.throw(c))}catch(l){i(l)}},f=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(o,u)};f((t=t.apply(e,r)).next())})};var x=k(function(){});var B=k(function(){});var d=k(function(){typeof Blob.prototype.arrayBuffer!="function"&&(Blob.prototype.arrayBuffer=function(){var _this=this;return new Promise(function(e,r){var t=new FileReader;t.onloadend=function(){return e(t.result)},t.onerror=r,t.readAsArrayBuffer(_this)})})});var _,E=k(function(){_=typeof globalThis!="undefined"||typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof self!="undefined"?self:new Function("return this")()});var ur=H(function(G){"use strict";var or=function or(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var n=t===r?0:4-t%4;return[t,n]};var Mr=function Mr(e){var r=or(e),t=r[0],n=r[1];return(t+n)*3/4-n};var kr=function kr(e,r,t){return(r+t)*3/4-t};var Pr=function Pr(e){var r,t=or(e),n=t[0],i=t[1],o=new Dr(kr(e,n,i)),u=0,f=i>0?n-4:n,c;for(c=0;c<f;c+=4)r=m[e.charCodeAt(c)]<<18|m[e.charCodeAt(c+1)]<<12|m[e.charCodeAt(c+2)]<<6|m[e.charCodeAt(c+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=m[e.charCodeAt(c)]<<2|m[e.charCodeAt(c+1)]>>4,o[u++]=r&255),i===1&&(r=m[e.charCodeAt(c)]<<10|m[e.charCodeAt(c+1)]<<4|m[e.charCodeAt(c+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o};var $r=function $r(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[e&63]};var Or=function Or(e,r,t){for(var n,i=[],o=r;o<t;o+=3)n=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(e[o+2]&255),i.push($r(n));return i.join("")};var qr=function qr(e){for(var r,t=e.length,n=t%3,i=[],o=16383,u=0,f=t-n;u<f;u+=o)i.push(Or(e,u,u+o>f?f:u+o));return n===1?(r=e[t-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(e[t-2]<<8)+e[t-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")};x();B();d();E();g();G.byteLength=Mr;G.toByteArray=Pr;G.fromByteArray=qr;var F=[],m=[],Dr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(T=0,ir=X.length;T<ir;++T)F[T]=X[T],m[X.charCodeAt(T)]=T;var T,ir;m[45]=62;m[95]=63});var hr=H(function(z){x();B();d();E();g();z.read=function(e,r,t,n,i){var o,u,f=i*8-n-1,c=(1<<f)-1,l=c>>1,s=-7,p=t?i-1:0,S=t?-1:1,I=e[r+p];for(p+=S,o=I&(1<<-s)-1,I>>=-s,s+=f;s>0;o=o*256+e[r+p],p+=S,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=n;s>0;u=u*256+e[r+p],p+=S,s-=8);if(o===0)o=1-l;else{if(o===c)return u?NaN:(I?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-l}return(I?-1:1)*u*Math.pow(2,o-n)};z.write=function(e,r,t,n,i,o){var u,f,c,l=o*8-i-1,s=(1<<l)-1,p=s>>1,S=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,I=n?0:o-1,j=n?1:-1,Rr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=s):(u=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-u))<1&&(u--,c*=2),u+p>=1?r+=S/c:r+=S*Math.pow(2,1-p),r*c>=2&&(u++,c/=2),u+p>=s?(f=0,u=s):u+p>=1?(f=(r*c-1)*Math.pow(2,i),u=u+p):(f=r*Math.pow(2,p-1)*Math.pow(2,i),u=0));i>=8;e[t+I]=f&255,I+=j,f/=256,i-=8);for(u=u<<i|f,l+=i;l>0;e[t+I]=u&255,I+=j,u/=256,l-=8);e[t+I-j]|=Rr*128}});var Ar=H(function(M){"use strict";var Gr=function Gr(){try{var e=new Uint8Array(1),r={foo:function foo(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(e){return!1}};var U=function U(e){if(e>W)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,h.prototype),r};var h=function h(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(e)}return lr(e,r,t)};var lr=function lr(e,r,t){if(typeof e=="string")return Yr(e,r);if(ArrayBuffer.isView(e))return jr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(typeof e==="undefined"?"undefined":_type_of(e)));if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(e,SharedArrayBuffer)||e&&A(e.buffer,SharedArrayBuffer)))return Z(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return h.from(n,r,t);var i=Hr(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return h.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(typeof e==="undefined"?"undefined":_type_of(e)))};var ar=function ar(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')};var Wr=function Wr(e,r,t){return ar(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)};var v=function v(e){return ar(e),U(e<0?0:rr(e)|0)};var Yr=function Yr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!h.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=yr(e,r)|0,n=U(t),i=n.write(e,r);return i!==t&&(n=n.slice(0,i)),n};var K=function K(e){var r=e.length<0?0:rr(e.length)|0,t=U(r);for(var n=0;n<r;n+=1)t[n]=e[n]&255;return t};var jr=function jr(e){if(A(e,Uint8Array)){var r=new Uint8Array(e);return Z(r.buffer,r.byteOffset,r.byteLength)}return K(e)};var Z=function Z(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&t===void 0?n=new Uint8Array(e):t===void 0?n=new Uint8Array(e,r):n=new Uint8Array(e,r,t),Object.setPrototypeOf(n,h.prototype),n};var Hr=function Hr(e){if(h.isBuffer(e)){var r=rr(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||er(e.length)?U(0):K(e);if(e.type==="Buffer"&&Array.isArray(e.data))return K(e.data)};var rr=function rr(e){if(e>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return e|0};var Vr=function Vr(e){return+e!=e&&(e=0),h.alloc(+e)};var yr=function yr(e,r){if(h.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+(typeof e==="undefined"?"undefined":_type_of(e)));var t=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;var i=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Fr(e).length;default:if(i)return n?-1:Q(e).length;r=(""+r).toLowerCase(),i=!0}};var Xr=function Xr(e,r,t){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return nt(this,r,t);case"utf8":case"utf-8":return xr(this,r,t);case"ascii":return tt(this,r,t);case"latin1":case"binary":return et(this,r,t);case"base64":return vr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}};var C=function C(e,r,t){var n=e[r];e[r]=e[t],e[t]=n};var wr=function wr(e,r,t,n,i){if(e.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>0x7fffffff?t=0x7fffffff:t<-0x80000000&&(t=-0x80000000),t=+t,er(t)&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return-1;t=e.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof r=="string"&&(r=h.from(r,n)),h.isBuffer(r))return r.length===0?-1:cr(e,r,t,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):cr(e,[r],t,n,i);throw new TypeError("val must be string, number or Buffer")};var cr=function cr(e,r,t,n,i){var o=1,u=e.length,f=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,f/=2,t/=2}function c(s,p){return o===1?s[p]:s.readUInt16BE(p*o)}var l;if(i){var s=-1;for(l=t;l<u;l++)if(c(e,l)===c(r,s===-1?0:l-s)){if(s===-1&&(s=l),l-s+1===f)return s*o}else s!==-1&&(l-=l-s),s=-1}else for(t+f>u&&(t=u-f),l=t;l>=0;l--){var s1=!0;for(var p=0;p<f;p++)if(c(e,l+p)!==c(r,p)){s1=!1;break}if(s1)return l}return-1};var zr=function zr(e,r,t,n){t=Number(t)||0;var i=e.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);var u;for(u=0;u<n;++u){var f=parseInt(r.substr(u*2,2),16);if(er(f))return u;e[t+u]=f}return u};var Jr=function Jr(e,r,t,n){return Y(Q(r,e.length-t),e,t,n)};var Kr=function Kr(e,r,t,n){return Y(ft(r),e,t,n)};var Zr=function Zr(e,r,t,n){return Y(Fr(r),e,t,n)};var Qr=function Qr(e,r,t,n){return Y(ct(r,e.length-t),e,t,n)};var vr=function vr(e,r,t){return r===0&&t===e.length?J.fromByteArray(e):J.fromByteArray(e.slice(r,t))};var xr=function xr(e,r,t){t=Math.min(e.length,t);var n=[],i=r;for(;i<t;){var o=e[i],u=null,f=o>239?4:o>223?3:o>191?2:1;if(i+f<=t){var c=void 0,l=void 0,s=void 0,p=void 0;switch(f){case 1:o<128&&(u=o);break;case 2:c=e[i+1],(c&192)===128&&(p=(o&31)<<6|c&63,p>127&&(u=p));break;case 3:c=e[i+1],l=e[i+2],(c&192)===128&&(l&192)===128&&(p=(o&15)<<12|(c&63)<<6|l&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:c=e[i+1],l=e[i+2],s=e[i+3],(c&192)===128&&(l&192)===128&&(s&192)===128&&(p=(o&15)<<18|(c&63)<<12|(l&63)<<6|s&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=f}return rt(n)};var rt=function rt(e){var r=e.length;if(r<=pr)return String.fromCharCode.apply(String,e);var t="",n=0;for(;n<r;)t+=String.fromCharCode.apply(String,e.slice(n,n+=pr));return t};var tt=function tt(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]&127);return n};var et=function et(e,r,t){var n="";t=Math.min(e.length,t);for(var i=r;i<t;++i)n+=String.fromCharCode(e[i]);return n};var nt=function nt(e,r,t){var n=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>n)&&(t=n);var i="";for(var o=r;o<t;++o)i+=pt[e[o]];return i};var it=function it(e,r,t){var n=e.slice(r,t),i="";for(var o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i};var y=function y(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")};var w=function w(e,r,t,n,i,o){if(!h.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")};var Br=function Br(e,r,t,n,i){Ir(r,n,i,e,t,7);var o=Number(r&BigInt(0xffffffff));e[t++]=o,o=o>>8,e[t++]=o,o=o>>8,e[t++]=o,o=o>>8,e[t++]=o;var u=Number(r>>BigInt(32)&BigInt(0xffffffff));return e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u,u=u>>8,e[t++]=u,t};var dr=function dr(e,r,t,n,i){Ir(r,n,i,e,t,7);var o=Number(r&BigInt(0xffffffff));e[t+7]=o,o=o>>8,e[t+6]=o,o=o>>8,e[t+5]=o,o=o>>8,e[t+4]=o;var u=Number(r>>BigInt(32)&BigInt(0xffffffff));return e[t+3]=u,u=u>>8,e[t+2]=u,u=u>>8,e[t+1]=u,u=u>>8,e[t]=u,t+8};var Er=function Er(e,r,t,n,i,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")};var gr=function gr(e,r,t,n,i){return r=+r,t=t>>>0,i||Er(e,r,t,4,34028234663852886e22,-34028234663852886e22),N.write(e,r,t,n,23,4),t+4};var mr=function mr(e,r,t,n,i){return r=+r,t=t>>>0,i||Er(e,r,t,8,17976931348623157e292,-17976931348623157e292),N.write(e,r,t,n,52,8),t+8};var tr=function tr(e,r,t){b[e]=/*#__PURE__*/function(t){_inherits(_class,t);function _class(){_class_call_check(this,_class);var _this;_this=_call_super(this,_class),Object.defineProperty(_this,"message",{value:r.apply(_this,arguments),writable:!0,configurable:!0}),_this.name="".concat(_this.name," [").concat(e,"]"),_this.stack,delete _this.name;return _this}_create_class(_class,[{key:"code",get:function get(){return e},set:function set(i){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:i,writable:!0})}},{key:"toString",value:function toString(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}]);return _class}(t)};var sr=function sr(e){var r="",t=e.length,n=e[0]==="-"?1:0;for(;t>=n+4;t-=3)r="_".concat(e.slice(t-3,t)).concat(r);return"".concat(e.slice(0,t)).concat(r)};var ot=function ot(e,r,t){D(r,"offset"),(e[r]===void 0||e[r+t]===void 0)&&q(r,e.length-(t+1))};var Ir=function Ir(e,r,t,n,i,o){if(e>t||e<r){var u=(typeof r==="undefined"?"undefined":_type_of(r))=="bigint"?"n":"",f;throw o>3?r===0||r===BigInt(0)?f=">= 0".concat(u," and < 2").concat(u," ** ").concat((o+1)*8).concat(u):f=">= -(2".concat(u," ** ").concat((o+1)*8-1).concat(u,") and < 2 ** ").concat((o+1)*8-1).concat(u):f=">= ".concat(r).concat(u," and <= ").concat(t).concat(u),new b.ERR_OUT_OF_RANGE("value",f,e)}ot(n,i,o)};var D=function D(e,r){if(typeof e!="number")throw new b.ERR_INVALID_ARG_TYPE(r,"number",e)};var q=function q(e,r,t){throw Math.floor(e)!==e?(D(e,t),new b.ERR_OUT_OF_RANGE(t||"offset","an integer",e)):r<0?new b.ERR_BUFFER_OUT_OF_BOUNDS:new b.ERR_OUT_OF_RANGE(t||"offset",">= ".concat(t?1:0," and <= ").concat(r),e)};var ht=function ht(e){if(e=e.split("=")[0],e=e.trim().replace(ut,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e};var Q=function Q(e,r){r=r||1/0;var t,n=e.length,i=null,o=[];for(var u=0;u<n;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!i){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o};var ft=function ft(e){var r=[];for(var t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r};var ct=function ct(e,r){var t,n,i,o=[];for(var u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),n=t>>8,i=t%256,o.push(i),o.push(n);return o};var Fr=function Fr(e){return J.toByteArray(ht(e))};var Y=function Y(e,r,t,n){var i;for(i=0;i<n&&!(i+t>=r.length||i>=e.length);++i)r[i+t]=e[i];return i};var A=function A(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name};var er=function er(e){return e!==e};var R=function R(e){return typeof BigInt=="undefined"?st:e};var st=function st(){throw new Error("BigInt not supported")};x();B();d();E();g();var J=ur(),N=hr(),fr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;M.Buffer=h;M.SlowBuffer=Vr;M.INSPECT_MAX_BYTES=50;var W=0x7fffffff;M.kMaxLength=W;h.TYPED_ARRAY_SUPPORT=Gr();!h.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&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(h.prototype,"parent",{enumerable:!0,get:function get(){if(h.isBuffer(this))return this.buffer}});Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function get(){if(h.isBuffer(this))return this.byteOffset}});h.poolSize=8192;h.from=function(e,r,t){return lr(e,r,t)};Object.setPrototypeOf(h.prototype,Uint8Array.prototype);Object.setPrototypeOf(h,Uint8Array);h.alloc=function(e,r,t){return Wr(e,r,t)};h.allocUnsafe=function(e){return v(e)};h.allocUnsafeSlow=function(e){return v(e)};h.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==h.prototype};h.compare=function(r,t){if(A(r,Uint8Array)&&(r=h.from(r,r.offset,r.byteLength)),A(t,Uint8Array)&&(t=h.from(t,t.offset,t.byteLength)),!h.isBuffer(r)||!h.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;var n=r.length,i=t.length;for(var o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==t[o]){n=r[o],i=t[o];break}return n<i?-1:i<n?1:0};h.isEncoding=function(r){switch(String(r).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}};h.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return h.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<r.length;++n)t+=r[n].length;var i=h.allocUnsafe(t),o=0;for(n=0;n<r.length;++n){var u=r[n];if(A(u,Uint8Array))o+u.length>i.length?(h.isBuffer(u)||(u=h.from(u)),u.copy(i,o)):Uint8Array.prototype.set.call(i,u,o);else if(h.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};h.byteLength=yr;h.prototype._isBuffer=!0;h.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)C(this,t,t+1);return this};h.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+2);return this};h.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};h.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?xr(this,0,r):Xr.apply(this,arguments)};h.prototype.toLocaleString=h.prototype.toString;h.prototype.equals=function(r){if(!h.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:h.compare(this,r)===0};h.prototype.inspect=function(){var r="",t=M.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};fr&&(h.prototype[fr]=h.prototype.inspect);h.prototype.compare=function(r,t,n,i,o){if(A(r,Uint8Array)&&(r=h.from(r,r.offset,r.byteLength)),!h.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+(typeof r==="undefined"?"undefined":_type_of(r)));if(t===void 0&&(t=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),t<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;var u=o-i,f=n-t,c=Math.min(u,f),l=this.slice(i,o),s=r.slice(t,n);for(var p=0;p<c;++p)if(l[p]!==s[p]){u=l[p],f=s[p];break}return u<f?-1:f<u?1:0};h.prototype.includes=function(r,t,n){return this.indexOf(r,t,n)!==-1};h.prototype.indexOf=function(r,t,n){return wr(this,r,t,n,!0)};h.prototype.lastIndexOf=function(r,t,n){return wr(this,r,t,n,!1)};h.prototype.write=function(r,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");var u=!1;for(;;)switch(i){case"hex":return zr(this,r,t,n);case"utf8":case"utf-8":return Jr(this,r,t,n);case"ascii":case"latin1":case"binary":return Kr(this,r,t,n);case"base64":return Zr(this,r,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qr(this,r,t,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var pr=4096;h.prototype.slice=function(r,t){var n=this.length;r=~~r,t=t===void 0?n:~~t,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<r&&(t=r);var i=this.subarray(r,t);return Object.setPrototypeOf(i,h.prototype),i};h.prototype.readUintLE=h.prototype.readUIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);var i=this[r],o=1,u=0;for(;++u<t&&(o*=256);)i+=this[r+u]*o;return i};h.prototype.readUintBE=h.prototype.readUIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);var i=this[r+--t],o=1;for(;t>0&&(o*=256);)i+=this[r+--t]*o;return i};h.prototype.readUint8=h.prototype.readUInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]};h.prototype.readUint16LE=h.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]|this[r+1]<<8};h.prototype.readUint16BE=h.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||y(r,2,this.length),this[r]<<8|this[r+1]};h.prototype.readUint32LE=h.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*0x1000000};h.prototype.readUint32BE=h.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]*0x1000000+(this[r+1]<<16|this[r+2]<<8|this[r+3])};h.prototype.readBigUInt64LE=R(function(r){r=r>>>0,D(r,"offset");var t=this[r],n=this[r+7];(t===void 0||n===void 0)&&q(r,this.length-8);var i=t+this[++r]*a(2,8)+this[++r]*a(2,16)+this[++r]*a(2,24),o=this[++r]+this[++r]*a(2,8)+this[++r]*a(2,16)+n*a(2,24);return BigInt(i)+(BigInt(o)<<BigInt(32))});h.prototype.readBigUInt64BE=R(function(r){r=r>>>0,D(r,"offset");var t=this[r],n=this[r+7];(t===void 0||n===void 0)&&q(r,this.length-8);var i=t*a(2,24)+this[++r]*a(2,16)+this[++r]*a(2,8)+this[++r],o=this[++r]*a(2,24)+this[++r]*a(2,16)+this[++r]*a(2,8)+n;return(BigInt(i)<<BigInt(32))+BigInt(o)});h.prototype.readIntLE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);var i=this[r],o=1,u=0;for(;++u<t&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};h.prototype.readIntBE=function(r,t,n){r=r>>>0,t=t>>>0,n||y(r,t,this.length);var i=t,o=1,u=this[r+--i];for(;i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};h.prototype.readInt8=function(r,t){return r=r>>>0,t||y(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};h.prototype.readInt16LE=function(r,t){r=r>>>0,t||y(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|0xffff0000:n};h.prototype.readInt16BE=function(r,t){r=r>>>0,t||y(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|0xffff0000:n};h.prototype.readInt32LE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};h.prototype.readInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};h.prototype.readBigInt64LE=R(function(r){r=r>>>0,D(r,"offset");var t=this[r],n=this[r+7];(t===void 0||n===void 0)&&q(r,this.length-8);var i=this[r+4]+this[r+5]*a(2,8)+this[r+6]*a(2,16)+(n<<24);return(BigInt(i)<<BigInt(32))+BigInt(t+this[++r]*a(2,8)+this[++r]*a(2,16)+this[++r]*a(2,24))});h.prototype.readBigInt64BE=R(function(r){r=r>>>0,D(r,"offset");var t=this[r],n=this[r+7];(t===void 0||n===void 0)&&q(r,this.length-8);var i=(t<<24)+this[++r]*a(2,16)+this[++r]*a(2,8)+this[++r];return(BigInt(i)<<BigInt(32))+BigInt(this[++r]*a(2,24)+this[++r]*a(2,16)+this[++r]*a(2,8)+n)});h.prototype.readFloatLE=function(r,t){return r=r>>>0,t||y(r,4,this.length),N.read(this,r,!0,23,4)};h.prototype.readFloatBE=function(r,t){return r=r>>>0,t||y(r,4,this.length),N.read(this,r,!1,23,4)};h.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||y(r,8,this.length),N.read(this,r,!0,52,8)};h.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||y(r,8,this.length),N.read(this,r,!1,52,8)};h.prototype.writeUintLE=h.prototype.writeUIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var f=Math.pow(2,8*n)-1;w(this,r,t,n,f,0)}var o=1,u=0;for(this[t]=r&255;++u<n&&(o*=256);)this[t+u]=r/o&255;return t+n};h.prototype.writeUintBE=h.prototype.writeUIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,n=n>>>0,!i){var f=Math.pow(2,8*n)-1;w(this,r,t,n,f,0)}var o=n-1,u=1;for(this[t+o]=r&255;--o>=0&&(u*=256);)this[t+o]=r/u&255;return t+n};h.prototype.writeUint8=h.prototype.writeUInt8=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,1,255,0),this[t]=r&255,t+1};h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,4,0xffffffff,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,4,0xffffffff,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};h.prototype.writeBigUInt64LE=R(function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Br(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))});h.prototype.writeBigUInt64BE=R(function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return dr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))});h.prototype.writeIntLE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var c=Math.pow(2,8*n-1);w(this,r,t,n,c-1,-c)}var o=0,u=1,f=0;for(this[t]=r&255;++o<n&&(u*=256);)r<0&&f===0&&this[t+o-1]!==0&&(f=1),this[t+o]=(r/u>>0)-f&255;return t+n};h.prototype.writeIntBE=function(r,t,n,i){if(r=+r,t=t>>>0,!i){var c=Math.pow(2,8*n-1);w(this,r,t,n,c-1,-c)}var o=n-1,u=1,f=0;for(this[t+o]=r&255;--o>=0&&(u*=256);)r<0&&f===0&&this[t+o+1]!==0&&(f=1),this[t+o]=(r/u>>0)-f&255;return t+n};h.prototype.writeInt8=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};h.prototype.writeInt16LE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};h.prototype.writeInt16BE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};h.prototype.writeInt32LE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,4,0x7fffffff,-0x80000000),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};h.prototype.writeInt32BE=function(r,t,n){return r=+r,t=t>>>0,n||w(this,r,t,4,0x7fffffff,-0x80000000),r<0&&(r=0xffffffff+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};h.prototype.writeBigInt64LE=R(function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Br(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});h.prototype.writeBigInt64BE=R(function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return dr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});h.prototype.writeFloatLE=function(r,t,n){return gr(this,r,t,!0,n)};h.prototype.writeFloatBE=function(r,t,n){return gr(this,r,t,!1,n)};h.prototype.writeDoubleLE=function(r,t,n){return mr(this,r,t,!0,n)};h.prototype.writeDoubleBE=function(r,t,n){return mr(this,r,t,!1,n)};h.prototype.copy=function(r,t,n,i){if(!h.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=r.length&&(t=r.length),t||(t=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-t<i-n&&(i=r.length-t+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),t),o};h.prototype.fill=function(r,t,n,i){if(typeof r=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!h.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var u=r.charCodeAt(0);(i==="utf8"&&u<128||i==="latin1")&&(r=u)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=t;o<n;++o)this[o]=r;else{var u1=h.isBuffer(r)?r:h.from(r,i),f=u1.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=u1[o%f]}return this};var b={};tr("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError);tr("ERR_INVALID_ARG_TYPE",function(e,r){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof r==="undefined"?"undefined":_type_of(r))},TypeError);tr("ERR_OUT_OF_RANGE",function(e,r,t){var n='The value of "'.concat(e,'" is out of range.'),i=t;return Number.isInteger(t)&&Math.abs(t)>a(2,32)?i=sr(String(t)):(typeof t==="undefined"?"undefined":_type_of(t))=="bigint"&&(i=String(t),(t>a(BigInt(2),BigInt(32))||t<-a(BigInt(2),BigInt(32)))&&(i=sr(i)),i+="n"),n+=" It must be ".concat(r,". Received ").concat(i),n},RangeError);var ut=/[^+/0-9A-Za-z-_]/g;var pt=function(){var e="0123456789abcdef",r=new Array(256);for(var t=0;t<16;++t){var n=t*16;for(var i=0;i<16;++i)r[n+i]=e[t]+e[i]}return r}()});var L,g=k(function(){L=Nr(Ar())});x();B();d();E();g();x();B();d();E();g();x();B();d();E();g();self.addEventListener("install",function(e){console.info("Installing service worker",e),e.waitUntil(caches.open("front-display").then(function(r){return r.addAll(["bundle.js","styles.css"])}))});self.addEventListener("activate",function(e){console.info("Claiming control",e),e.waitUntil(self.clients.claim())});self.addEventListener("fetch",function(e){return V(this,null,function(){return _ts_generator(this,function(_state){e.respondWith(lt(e));return[2]})})})})();/*! Bundled license information:
|
|
2
2
|
|
|
3
3
|
ieee754/index.js:
|
|
4
4
|
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|