@signageos/front-display 14.16.3 → 14.17.0
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 +15 -0
- package/README.md +0 -1
- package/dist/bundle.js +1 -1
- package/dist/bundle.js.map +4 -4
- package/dist/console.js +3 -1
- package/dist/polyfill.js +1 -1
- 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/package.json +3 -16
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 _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(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _create_super(Derived){var hasNativeReflectConstruct=_is_native_reflect_construct();return function _createSuperInternal(){var Super=_get_prototype_of(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_get_prototype_of(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possible_constructor_return(this,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=="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&16711680)+(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>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),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(4294967295));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(4294967295));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(4294967295));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(4294967295));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]=function(t){_inherits(_class,t);var _super=_create_super(_class);function _class(){_class_call_check(this,_class);var _this;_this=_super.call(this),Object.defineProperty(_assert_this_initialized(_this),"message",{value:r.apply(_assert_this_initialized(_this),arguments),writable:!0,configurable:!0}),_this.name="".concat(_this.name," [").concat(e,"]"),_this.stack,delete _this.name;return _possible_constructor_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=2147483647;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]*16777216};h.prototype.readUint32BE=h.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]*16777216+(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|4294901760: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|4294901760: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,4294967295,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,4294967295,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,2147483647,-2147483648),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,2147483647,-2147483648),r<0&&(r=4294967295+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:
|
|
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 _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(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _create_super(Derived){var hasNativeReflectConstruct=_is_native_reflect_construct();return function _createSuperInternal(){var Super=_get_prototype_of(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_get_prototype_of(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possible_constructor_return(this,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 Ar=function Ar(n){var r=/\/indexed_db\/.+$/,t=n.match(r);return t?t[0]:null};var st=function st(n){return H(this,null,function(){var r,t;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=Ar(n.request.url);if(!!r)return[3,2];return[4,fetch(n.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 Rr=Object.create;var nr=Object.defineProperty;var Tr=Object.getOwnPropertyDescriptor;var Cr=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,_r=Object.prototype.hasOwnProperty;var a=Math.pow;var O=function(n,r){return function(){return n&&(r=n(n=0)),r}};var j=function(n,r){return function(){return r||n((r={exports:{}}).exports,r),r.exports}};var Lr=function(n,r,t,i){var _iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;if(r&&typeof r=="object"||typeof r=="function")try{var _loop=function(){var e=_step.value;!_r.call(n,e)&&e!==t&&nr(n,e,{get:function(){return r[e]},enumerable:!(i=Tr(r,e))||i.enumerable})};for(var _iterator=Cr(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 n};var Nr=function(n,r,t){return t=n!=null?Rr(Sr(n)):{},Lr(r||!n||!n.__esModule?nr(t,"default",{value:n,enumerable:!0}):t,n)};var H=function(n,r,t){return new Promise(function(i,e){var o=function(f){try{c(t.next(f))}catch(l){e(l)}},u=function(f){try{c(t.throw(f))}catch(l){e(l)}},c=function(f){return f.done?i(f.value):Promise.resolve(f.value).then(o,u)};c((t=t.apply(n,r)).next())})};var x=O(function(){});var B=O(function(){});var S,d=O(function(){S=typeof globalThis!="undefined"||typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof self!="undefined"?self:new Function("return this")()});var or=j(function(q){"use strict";var er=function er(n){var r=n.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=n.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]};var Dr=function Dr(n){var r=er(n),t=r[0],i=r[1];return(t+i)*3/4-i};var Mr=function Mr(n,r,t){return(r+t)*3/4-t};var kr=function kr(n){var r,t=er(n),i=t[0],e=t[1],o=new br(Mr(n,i,e)),u=0,c=e>0?i-4:i,f;for(f=0;f<c;f+=4)r=g[n.charCodeAt(f)]<<18|g[n.charCodeAt(f+1)]<<12|g[n.charCodeAt(f+2)]<<6|g[n.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return e===2&&(r=g[n.charCodeAt(f)]<<2|g[n.charCodeAt(f+1)]>>4,o[u++]=r&255),e===1&&(r=g[n.charCodeAt(f)]<<10|g[n.charCodeAt(f+1)]<<4|g[n.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o};var $r=function $r(n){return I[n>>18&63]+I[n>>12&63]+I[n>>6&63]+I[n&63]};var Pr=function Pr(n,r,t){for(var i,e=[],o=r;o<t;o+=3)i=(n[o]<<16&16711680)+(n[o+1]<<8&65280)+(n[o+2]&255),e.push($r(i));return e.join("")};var Or=function Or(n){for(var r,t=n.length,i=t%3,e=[],o=16383,u=0,c=t-i;u<c;u+=o)e.push(Pr(n,u,u+o>c?c:u+o));return i===1?(r=n[t-1],e.push(I[r>>2]+I[r<<4&63]+"==")):i===2&&(r=(n[t-2]<<8)+n[t-1],e.push(I[r>>10]+I[r>>4&63]+I[r<<2&63]+"=")),e.join("")};x();B();d();E();q.byteLength=Dr;q.toByteArray=kr;q.fromByteArray=Or;var I=[],g=[],br=typeof Uint8Array!="undefined"?Uint8Array:Array,V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(R=0,ir=V.length;R<ir;++R)I[R]=V[R],g[V.charCodeAt(R)]=R;var R,ir;g[45]=62;g[95]=63});var ur=j(function(X){x();B();d();E();X.read=function(n,r,t,i,e){var o,u,c=e*8-i-1,f=(1<<c)-1,l=f>>1,s=-7,p=t?e-1:0,C=t?-1:1,m=n[r+p];for(p+=C,o=m&(1<<-s)-1,m>>=-s,s+=c;s>0;o=o*256+n[r+p],p+=C,s-=8);for(u=o&(1<<-s)-1,o>>=-s,s+=i;s>0;u=u*256+n[r+p],p+=C,s-=8);if(o===0)o=1-l;else{if(o===f)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-l}return(m?-1:1)*u*Math.pow(2,o-i)};X.write=function(n,r,t,i,e,o){var u,c,f,l=o*8-e-1,s=(1<<l)-1,p=s>>1,C=e===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,Y=i?1:-1,Ur=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(c=isNaN(r)?1:0,u=s):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=C/f:r+=C*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=s?(c=0,u=s):u+p>=1?(c=(r*f-1)*Math.pow(2,e),u=u+p):(c=r*Math.pow(2,p-1)*Math.pow(2,e),u=0));e>=8;n[t+m]=c&255,m+=Y,c/=256,e-=8);for(u=u<<e|c,l+=e;l>0;n[t+m]=u&255,m+=Y,u/=256,l-=8);n[t+m-Y]|=Ur*128}});var Fr=j(function(D){"use strict";var qr=function qr(){try{var n=new Uint8Array(1),r={foo:function foo(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(n,r),n.foo()===42}catch(n){return!1}};var A=function A(n){if(n>G)throw new RangeError('The value "'+n+'" is invalid for option "size"');var r=new Uint8Array(n);return Object.setPrototypeOf(r,h.prototype),r};var h=function h(n,r,t){if(typeof n=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(n)}return sr(n,r,t)};var sr=function sr(n,r,t){if(typeof n=="string")return Wr(n,r);if(ArrayBuffer.isView(n))return Yr(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(typeof n==="undefined"?"undefined":_type_of(n)));if(F(n,ArrayBuffer)||n&&F(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(n,SharedArrayBuffer)||n&&F(n.buffer,SharedArrayBuffer)))return K(n,r,t);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=n.valueOf&&n.valueOf();if(i!=null&&i!==n)return h.from(i,r,t);var e=jr(n);if(e)return e;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return h.from(n[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 n==="undefined"?"undefined":_type_of(n)))};var lr=function lr(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')};var Gr=function Gr(n,r,t){return lr(n),n<=0?A(n):r!==void 0?typeof t=="string"?A(n).fill(r,t):A(n).fill(r):A(n)};var Q=function Q(n){return lr(n),A(n<0?0:v(n)|0)};var Wr=function Wr(n,r){if((typeof r!="string"||r==="")&&(r="utf8"),!h.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=ar(n,r)|0,i=A(t),e=i.write(n,r);return e!==t&&(i=i.slice(0,e)),i};var J=function J(n){var r=n.length<0?0:v(n.length)|0,t=A(r);for(var i=0;i<r;i+=1)t[i]=n[i]&255;return t};var Yr=function Yr(n){if(F(n,Uint8Array)){var r=new Uint8Array(n);return K(r.buffer,r.byteOffset,r.byteLength)}return J(n)};var K=function K(n,r,t){if(r<0||n.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(n.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(n):t===void 0?i=new Uint8Array(n,r):i=new Uint8Array(n,r,t),Object.setPrototypeOf(i,h.prototype),i};var jr=function jr(n){if(h.isBuffer(n)){var r=v(n.length)|0,t=A(r);return t.length===0||n.copy(t,0,0,r),t}if(n.length!==void 0)return typeof n.length!="number"||tr(n.length)?A(0):J(n);if(n.type==="Buffer"&&Array.isArray(n.data))return J(n.data)};var v=function v(n){if(n>=G)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+G.toString(16)+" bytes");return n|0};var Hr=function Hr(n){return+n!=n&&(n=0),h.alloc(+n)};var ar=function ar(n,r){if(h.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||F(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+(typeof n==="undefined"?"undefined":_type_of(n)));var t=n.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;var e=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Z(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Ir(n).length;default:if(e)return i?-1:Z(n).length;r=(""+r).toLowerCase(),e=!0}};var Vr=function Vr(n,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(n||(n="utf8");;)switch(n){case"hex":return nt(this,r,t);case"utf8":case"utf-8":return wr(this,r,t);case"ascii":return rt(this,r,t);case"latin1":case"binary":return tt(this,r,t);case"base64":return Qr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),i=!0}};var T=function T(n,r,t){var i=n[r];n[r]=n[t],n[t]=i};var yr=function yr(n,r,t,i,e){if(n.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,tr(t)&&(t=e?0:n.length-1),t<0&&(t=n.length+t),t>=n.length){if(e)return-1;t=n.length-1}else if(t<0)if(e)t=0;else return-1;if(typeof r=="string"&&(r=h.from(r,i)),h.isBuffer(r))return r.length===0?-1:cr(n,r,t,i,e);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?e?Uint8Array.prototype.indexOf.call(n,r,t):Uint8Array.prototype.lastIndexOf.call(n,r,t):cr(n,[r],t,i,e);throw new TypeError("val must be string, number or Buffer")};var cr=function cr(n,r,t,i,e){var o=1,u=n.length,c=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(n.length<2||r.length<2)return-1;o=2,u/=2,c/=2,t/=2}function f(s,p){return o===1?s[p]:s.readUInt16BE(p*o)}var l;if(e){var s=-1;for(l=t;l<u;l++)if(f(n,l)===f(r,s===-1?0:l-s)){if(s===-1&&(s=l),l-s+1===c)return s*o}else s!==-1&&(l-=l-s),s=-1}else for(t+c>u&&(t=u-c),l=t;l>=0;l--){var s1=!0;for(var p=0;p<c;p++)if(f(n,l+p)!==f(r,p)){s1=!1;break}if(s1)return l}return-1};var Xr=function Xr(n,r,t,i){t=Number(t)||0;var e=n.length-t;i?(i=Number(i),i>e&&(i=e)):i=e;var o=r.length;i>o/2&&(i=o/2);var u;for(u=0;u<i;++u){var c=parseInt(r.substr(u*2,2),16);if(tr(c))return u;n[t+u]=c}return u};var zr=function zr(n,r,t,i){return W(Z(r,n.length-t),n,t,i)};var Jr=function Jr(n,r,t,i){return W(ht(r),n,t,i)};var Kr=function Kr(n,r,t,i){return W(Ir(r),n,t,i)};var Zr=function Zr(n,r,t,i){return W(ct(r,n.length-t),n,t,i)};var Qr=function Qr(n,r,t){return r===0&&t===n.length?z.fromByteArray(n):z.fromByteArray(n.slice(r,t))};var wr=function wr(n,r,t){t=Math.min(n.length,t);var i=[],e=r;for(;e<t;){var o=n[e],u=null,c=o>239?4:o>223?3:o>191?2:1;if(e+c<=t){var f=void 0,l=void 0,s=void 0,p=void 0;switch(c){case 1:o<128&&(u=o);break;case 2:f=n[e+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=n[e+1],l=n[e+2],(f&192)===128&&(l&192)===128&&(p=(o&15)<<12|(f&63)<<6|l&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=n[e+1],l=n[e+2],s=n[e+3],(f&192)===128&&(l&192)===128&&(s&192)===128&&(p=(o&15)<<18|(f&63)<<12|(l&63)<<6|s&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,c=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),e+=c}return vr(i)};var vr=function vr(n){var r=n.length;if(r<=fr)return String.fromCharCode.apply(String,n);var t="",i=0;for(;i<r;)t+=String.fromCharCode.apply(String,n.slice(i,i+=fr));return t};var rt=function rt(n,r,t){var i="";t=Math.min(n.length,t);for(var e=r;e<t;++e)i+=String.fromCharCode(n[e]&127);return i};var tt=function tt(n,r,t){var i="";t=Math.min(n.length,t);for(var e=r;e<t;++e)i+=String.fromCharCode(n[e]);return i};var nt=function nt(n,r,t){var i=n.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);var e="";for(var o=r;o<t;++o)e+=ft[n[o]];return e};var it=function it(n,r,t){var i=n.slice(r,t),e="";for(var o=0;o<i.length-1;o+=2)e+=String.fromCharCode(i[o]+i[o+1]*256);return e};var y=function y(n,r,t){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+r>t)throw new RangeError("Trying to access beyond buffer length")};var w=function w(n,r,t,i,e,o){if(!h.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>e||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>n.length)throw new RangeError("Index out of range")};var xr=function xr(n,r,t,i,e){mr(r,i,e,n,t,7);var o=Number(r&BigInt(4294967295));n[t++]=o,o=o>>8,n[t++]=o,o=o>>8,n[t++]=o,o=o>>8,n[t++]=o;var u=Number(r>>BigInt(32)&BigInt(4294967295));return n[t++]=u,u=u>>8,n[t++]=u,u=u>>8,n[t++]=u,u=u>>8,n[t++]=u,t};var Br=function Br(n,r,t,i,e){mr(r,i,e,n,t,7);var o=Number(r&BigInt(4294967295));n[t+7]=o,o=o>>8,n[t+6]=o,o=o>>8,n[t+5]=o,o=o>>8,n[t+4]=o;var u=Number(r>>BigInt(32)&BigInt(4294967295));return n[t+3]=u,u=u>>8,n[t+2]=u,u=u>>8,n[t+1]=u,u=u>>8,n[t]=u,t+8};var dr=function dr(n,r,t,i,e,o){if(t+i>n.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")};var Er=function Er(n,r,t,i,e){return r=+r,t=t>>>0,e||dr(n,r,t,4,34028234663852886e22,-34028234663852886e22),N.write(n,r,t,i,23,4),t+4};var gr=function gr(n,r,t,i,e){return r=+r,t=t>>>0,e||dr(n,r,t,8,17976931348623157e292,-17976931348623157e292),N.write(n,r,t,i,52,8),t+8};var rr=function rr(n,r,t){L[n]=function(t){_inherits(_class,t);var _super=_create_super(_class);function _class(){_class_call_check(this,_class);var _this;_this=_super.call(this),Object.defineProperty(_assert_this_initialized(_this),"message",{value:r.apply(_assert_this_initialized(_this),arguments),writable:!0,configurable:!0}),_this.name="".concat(_this.name," [").concat(n,"]"),_this.stack,delete _this.name;return _possible_constructor_return(_this)}_create_class(_class,[{key:"code",get:function get(){return n},set:function set(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}},{key:"toString",value:function toString(){return"".concat(this.name," [").concat(n,"]: ").concat(this.message)}}]);return _class}(t)};var pr=function pr(n){var r="",t=n.length,i=n[0]==="-"?1:0;for(;t>=i+4;t-=3)r="_".concat(n.slice(t-3,t)).concat(r);return"".concat(n.slice(0,t)).concat(r)};var et=function et(n,r,t){b(r,"offset"),(n[r]===void 0||n[r+t]===void 0)&&P(r,n.length-(t+1))};var mr=function mr(n,r,t,i,e,o){if(n>t||n<r){var u=(typeof r==="undefined"?"undefined":_type_of(r))=="bigint"?"n":"",c;throw o>3?r===0||r===BigInt(0)?c=">= 0".concat(u," and < 2").concat(u," ** ").concat((o+1)*8).concat(u):c=">= -(2".concat(u," ** ").concat((o+1)*8-1).concat(u,") and < 2 ** ").concat((o+1)*8-1).concat(u):c=">= ".concat(r).concat(u," and <= ").concat(t).concat(u),new L.ERR_OUT_OF_RANGE("value",c,n)}et(i,e,o)};var b=function b(n,r){if(typeof n!="number")throw new L.ERR_INVALID_ARG_TYPE(r,"number",n)};var P=function P(n,r,t){throw Math.floor(n)!==n?(b(n,t),new L.ERR_OUT_OF_RANGE(t||"offset","an integer",n)):r<0?new L.ERR_BUFFER_OUT_OF_BOUNDS:new L.ERR_OUT_OF_RANGE(t||"offset",">= ".concat(t?1:0," and <= ").concat(r),n)};var ut=function ut(n){if(n=n.split("=")[0],n=n.trim().replace(ot,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n};var Z=function Z(n,r){r=r||1/0;var t,i=n.length,e=null,o=[];for(var u=0;u<i;++u){if(t=n.charCodeAt(u),t>55295&&t<57344){if(!e){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}e=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),e=t;continue}t=(e-55296<<10|t-56320)+65536}else e&&(r-=3)>-1&&o.push(239,191,189);if(e=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 ht=function ht(n){var r=[];for(var t=0;t<n.length;++t)r.push(n.charCodeAt(t)&255);return r};var ct=function ct(n,r){var t,i,e,o=[];for(var u=0;u<n.length&&!((r-=2)<0);++u)t=n.charCodeAt(u),i=t>>8,e=t%256,o.push(e),o.push(i);return o};var Ir=function Ir(n){return z.toByteArray(ut(n))};var W=function W(n,r,t,i){var e;for(e=0;e<i&&!(e+t>=r.length||e>=n.length);++e)r[e+t]=n[e];return e};var F=function F(n,r){return n instanceof r||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===r.name};var tr=function tr(n){return n!==n};var U=function U(n){return typeof BigInt=="undefined"?pt:n};var pt=function pt(){throw new Error("BigInt not supported")};x();B();d();E();var z=or(),N=ur(),hr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=h;D.SlowBuffer=Hr;D.INSPECT_MAX_BYTES=50;var G=2147483647;D.kMaxLength=G;h.TYPED_ARRAY_SUPPORT=qr();!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(n,r,t){return sr(n,r,t)};Object.setPrototypeOf(h.prototype,Uint8Array.prototype);Object.setPrototypeOf(h,Uint8Array);h.alloc=function(n,r,t){return Gr(n,r,t)};h.allocUnsafe=function(n){return Q(n)};h.allocUnsafeSlow=function(n){return Q(n)};h.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==h.prototype};h.compare=function(r,t){if(F(r,Uint8Array)&&(r=h.from(r,r.offset,r.byteLength)),F(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,e=t.length;for(var o=0,u=Math.min(i,e);o<u;++o)if(r[o]!==t[o]){i=r[o],e=t[o];break}return i<e?-1:e<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 e=h.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(F(u,Uint8Array))o+u.length>e.length?(h.isBuffer(u)||(u=h.from(u)),u.copy(e,o)):Uint8Array.prototype.set.call(e,u,o);else if(h.isBuffer(u))u.copy(e,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return e};h.byteLength=ar;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)T(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)T(this,t,t+3),T(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)T(this,t,t+7),T(this,t+1,t+6),T(this,t+2,t+5),T(this,t+3,t+4);return this};h.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?wr(this,0,r):Vr.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=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};hr&&(h.prototype[hr]=h.prototype.inspect);h.prototype.compare=function(r,t,i,e,o){if(F(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),e===void 0&&(e=0),o===void 0&&(o=this.length),t<0||i>r.length||e<0||o>this.length)throw new RangeError("out of range index");if(e>=o&&t>=i)return 0;if(e>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,e>>>=0,o>>>=0,this===r)return 0;var u=o-e,c=i-t,f=Math.min(u,c),l=this.slice(e,o),s=r.slice(t,i);for(var p=0;p<f;++p)if(l[p]!==s[p]){u=l[p],c=s[p];break}return u<c?-1:c<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 yr(this,r,t,i,!0)};h.prototype.lastIndexOf=function(r,t,i){return yr(this,r,t,i,!1)};h.prototype.write=function(r,t,i,e){if(t===void 0)e="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")e=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,e===void 0&&(e="utf8")):(e=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");e||(e="utf8");var u=!1;for(;;)switch(e){case"hex":return Xr(this,r,t,i);case"utf8":case"utf-8":return zr(this,r,t,i);case"ascii":case"latin1":case"binary":return Jr(this,r,t,i);case"base64":return Kr(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: "+e);e=(""+e).toLowerCase(),u=!0}};h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var fr=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 e=this.subarray(r,t);return Object.setPrototypeOf(e,h.prototype),e};h.prototype.readUintLE=h.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);var e=this[r],o=1,u=0;for(;++u<t&&(o*=256);)e+=this[r+u]*o;return e};h.prototype.readUintBE=h.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);var e=this[r+--t],o=1;for(;t>0&&(o*=256);)e+=this[r+--t]*o;return e};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]*16777216};h.prototype.readUint32BE=h.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||y(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};h.prototype.readBigUInt64LE=U(function(r){r=r>>>0,b(r,"offset");var t=this[r],i=this[r+7];(t===void 0||i===void 0)&&P(r,this.length-8);var e=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(e)+(BigInt(o)<<BigInt(32))});h.prototype.readBigUInt64BE=U(function(r){r=r>>>0,b(r,"offset");var t=this[r],i=this[r+7];(t===void 0||i===void 0)&&P(r,this.length-8);var e=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(e)<<BigInt(32))+BigInt(o)});h.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);var e=this[r],o=1,u=0;for(;++u<t&&(o*=256);)e+=this[r+u]*o;return o*=128,e>=o&&(e-=Math.pow(2,8*t)),e};h.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||y(r,t,this.length);var e=t,o=1,u=this[r+--e];for(;e>0&&(o*=256);)u+=this[r+--e]*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|4294901760: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|4294901760: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=U(function(r){r=r>>>0,b(r,"offset");var t=this[r],i=this[r+7];(t===void 0||i===void 0)&&P(r,this.length-8);var e=this[r+4]+this[r+5]*a(2,8)+this[r+6]*a(2,16)+(i<<24);return(BigInt(e)<<BigInt(32))+BigInt(t+this[++r]*a(2,8)+this[++r]*a(2,16)+this[++r]*a(2,24))});h.prototype.readBigInt64BE=U(function(r){r=r>>>0,b(r,"offset");var t=this[r],i=this[r+7];(t===void 0||i===void 0)&&P(r,this.length-8);var e=(t<<24)+this[++r]*a(2,16)+this[++r]*a(2,8)+this[++r];return(BigInt(e)<<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),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,i,e){if(r=+r,t=t>>>0,i=i>>>0,!e){var c=Math.pow(2,8*i)-1;w(this,r,t,i,c,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,e){if(r=+r,t=t>>>0,i=i>>>0,!e){var c=Math.pow(2,8*i)-1;w(this,r,t,i,c,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,4294967295,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,4294967295,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=U(function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return xr(this,r,t,BigInt(0),BigInt("0xffffffffffffffff"))});h.prototype.writeBigUInt64BE=U(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.writeIntLE=function(r,t,i,e){if(r=+r,t=t>>>0,!e){var f=Math.pow(2,8*i-1);w(this,r,t,i,f-1,-f)}var o=0,u=1,c=0;for(this[t]=r&255;++o<i&&(u*=256);)r<0&&c===0&&this[t+o-1]!==0&&(c=1),this[t+o]=(r/u>>0)-c&255;return t+i};h.prototype.writeIntBE=function(r,t,i,e){if(r=+r,t=t>>>0,!e){var f=Math.pow(2,8*i-1);w(this,r,t,i,f-1,-f)}var o=i-1,u=1,c=0;for(this[t+o]=r&255;--o>=0&&(u*=256);)r<0&&c===0&&this[t+o+1]!==0&&(c=1),this[t+o]=(r/u>>0)-c&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,2147483647,-2147483648),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,2147483647,-2147483648),r<0&&(r=4294967295+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=U(function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return xr(this,r,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});h.prototype.writeBigInt64BE=U(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.writeFloatLE=function(r,t,i){return Er(this,r,t,!0,i)};h.prototype.writeFloatBE=function(r,t,i){return Er(this,r,t,!1,i)};h.prototype.writeDoubleLE=function(r,t,i){return gr(this,r,t,!0,i)};h.prototype.writeDoubleBE=function(r,t,i){return gr(this,r,t,!1,i)};h.prototype.copy=function(r,t,i,e){if(!h.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!e&&e!==0&&(e=this.length),t>=r.length&&(t=r.length),t||(t=0),e>0&&e<i&&(e=i),e===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(e<0)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),r.length-t<e-i&&(e=r.length-t+i);var o=e-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,e):Uint8Array.prototype.set.call(r,this.subarray(i,e),t),o};h.prototype.fill=function(r,t,i,e){if(typeof r=="string"){if(typeof t=="string"?(e=t,t=0,i=this.length):typeof i=="string"&&(e=i,i=this.length),e!==void 0&&typeof e!="string")throw new TypeError("encoding must be a string");if(typeof e=="string"&&!h.isEncoding(e))throw new TypeError("Unknown encoding: "+e);if(r.length===1){var u=r.charCodeAt(0);(e==="utf8"&&u<128||e==="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,e),c=u1.length;if(c===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<i-t;++o)this[o+t]=u1[o%c]}return this};var L={};rr("ERR_BUFFER_OUT_OF_BOUNDS",function(n){return n?"".concat(n," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError);rr("ERR_INVALID_ARG_TYPE",function(n,r){return'The "'.concat(n,'" argument must be of type number. Received type ').concat(typeof r==="undefined"?"undefined":_type_of(r))},TypeError);rr("ERR_OUT_OF_RANGE",function(n,r,t){var i='The value of "'.concat(n,'" is out of range.'),e=t;return Number.isInteger(t)&&Math.abs(t)>a(2,32)?e=pr(String(t)):(typeof t==="undefined"?"undefined":_type_of(t))=="bigint"&&(e=String(t),(t>a(BigInt(2),BigInt(32))||t<-a(BigInt(2),BigInt(32)))&&(e=pr(e)),e+="n"),i+=" It must be ".concat(r,". Received ").concat(e),i},RangeError);var ot=/[^+/0-9A-Za-z-_]/g;var ft=function(){var n="0123456789abcdef",r=new Array(256);for(var t=0;t<16;++t){var i=t*16;for(var e=0;e<16;++e)r[i+e]=n[t]+n[e]}return r}()});var _,E=O(function(){_=Nr(Fr())});x();B();d();E();x();B();d();E();x();B();d();E();self.addEventListener("install",function(n){console.info("Installing service worker",n),n.waitUntil(caches.open("front-display").then(function(r){return r.addAll(["bundle.js","styles.css"])}))});self.addEventListener("activate",function(n){console.info("Claiming control",n),n.waitUntil(self.clients.claim())});self.addEventListener("fetch",function(n){return H(this,null,function(){return _ts_generator(this,function(_state){n.respondWith(st(n));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> *)
|