Ride-The-Lightning-RTL/frontend/polyfills.9720483e1820202a.js

1 line
56 KiB
JavaScript
Raw Normal View History

2023-02-18 02:49:40 +01:00
(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[429],{7435:(Fe,pe,$)=>{window.global=window,window.global.Buffer=window.global.Buffer||$(3172).Buffer},5343:(Fe,pe)=>{"use strict";pe.byteLength=function f(I){var L=N(I),_e=L[1];return 3*(L[0]+_e)/4-_e},pe.toByteArray=function me(I){var L,re,D=N(I),_e=D[0],de=D[1],fe=new ke(function ie(I,L,D){return 3*(L+D)/4-D}(0,_e,de)),we=0,Ne=de>0?_e-4:_e;for(re=0;re<Ne;re+=4)L=O[I.charCodeAt(re)]<<18|O[I.charCodeAt(re+1)]<<12|O[I.charCodeAt(re+2)]<<6|O[I.charCodeAt(re+3)],fe[we++]=L>>16&255,fe[we++]=L>>8&255,fe[we++]=255&L;return 2===de&&(L=O[I.charCodeAt(re)]<<2|O[I.charCodeAt(re+1)]>>4,fe[we++]=255&L),1===de&&(L=O[I.charCodeAt(re)]<<10|O[I.charCodeAt(re+1)]<<4|O[I.charCodeAt(re+2)]>>2,fe[we++]=L>>8&255,fe[we++]=255&L),fe},pe.fromByteArray=function Z(I){for(var L,D=I.length,_e=D%3,de=[],we=0,Ne=D-_e;we<Ne;we+=16383)de.push(ae(I,we,we+16383>Ne?Ne:we+16383));return 1===_e?de.push($[(L=I[D-1])>>2]+$[L<<4&63]+"=="):2===_e&&de.push($[(L=(I[D-2]<<8)+I[D-1])>>10]+$[L>>4&63]+$[L<<2&63]+"="),de.join("")};for(var $=[],O=[],ke=typeof Uint8Array<"u"?Uint8Array:Array,Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",K=0,ce=Te.length;K<ce;++K)$[K]=Te[K],O[Te.charCodeAt(K)]=K;function N(I){var L=I.length;if(L%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var D=I.indexOf("=");return-1===D&&(D=L),[D,D===L?0:4-D%4]}function se(I){return $[I>>18&63]+$[I>>12&63]+$[I>>6&63]+$[63&I]}function ae(I,L,D){for(var de=[],fe=L;fe<D;fe+=3)de.push(se((I[fe]<<16&16711680)+(I[fe+1]<<8&65280)+(255&I[fe+2])));return de.join("")}O["-".charCodeAt(0)]=62,O["_".charCodeAt(0)]=63},3172:(Fe,pe,$)=>{"use strict";var O=$(5343),ke=$(8461),Te="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;pe.Buffer=f,pe.SlowBuffer=function fe(n){return+n!=n&&(n=0),f.alloc(+n)},pe.INSPECT_MAX_BYTES=50;var K=2147483647;function N(n){if(n>K)throw new RangeError('The value "'+n+'" is invalid for option "size"');var e=new Uint8Array(n);return Object.setPrototypeOf(e,f.prototype),e}function f(n,e,t){if("number"==typeof n){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return ae(n)}return ie(n,e,t)}function ie(n,e,t){if("string"==typeof n)return function Z(n,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!f.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=0|we(n,e),i=N(t),a=i.write(n,e);return a!==t&&(i=i.slice(0,a)),i}(n,e);if(ArrayBuffer.isView(n))return function L(n){if(Se(n,Uint8Array)){var e=new Uint8Array(n);return D(e.buffer,e.byteOffset,e.byteLength)}return I(n)}(n);if(null==n)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(Se(n,ArrayBuffer)||n&&Se(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Se(n,SharedArrayBuffer)||n&&Se(n.buffer,SharedArrayBuffer)))return D(n,e,t);if("number"==typeof n)throw new TypeError('The "value" argument must not be of type number. Received type number');var i=n.valueOf&&n.valueOf();if(null!=i&&i!==n)return f.from(i,e,t);var a=function _e(n){if(f.isBuffer(n)){var e=0|de(n.length),t=N(e);return 0===t.length||n.copy(t,0,0,e),t}return void 0!==n.length?"number"!=typeof n.length||He(n.length)?N(0):I(n):"Buffer"===n.type&&Array.isArray(n.data)?I(n.data):void 0}(n);if(a)return a;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof n[Symbol.toPrimitive])return f.from(n[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}function me(n){if("number"!=typeof n)throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function ae(n){return me(n),N(n<0?0:0|de(n))}function I(n){for(var e=n.length<0?0:0|de(n.length),t=N(e),i=0;i<e;i+=1)t[i]=255&n[i];return t}function D(n,e,t){if(e<0||n.byteLength<e)throw new RangeError