inital commit
This commit is contained in:
1 parent
d812e8f4a7
commit
7b45a854fe
1672 files changed
+298536
-1
No files matched your search
@@ -0,0 +1,16 @@
|
||||
/* esm.sh - esbuild bundle(buffer@6.0.3) es2022 production */
|
||||
import * as __0$ from "../../base64-js@1.5.1/es2022/base64-js.js";
|
||||
import * as __1$ from "../../ieee754@1.2.1/es2022/ieee754.js";
|
||||
var require=n=>{const e=m=>typeof m.default<"u"?m.default:m,c=m=>Object.assign({},m);switch(n){case"base64-js":return e(__0$);case"ieee754":return e(__1$);default:throw new Error("module \""+n+"\" not found");}};
|
||||
var or=Object.create;var S=Object.defineProperty;var ur=Object.getOwnPropertyDescriptor;var hr=Object.getOwnPropertyNames;var fr=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty;var O=(i=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(i,{get:(r,t)=>(typeof require<"u"?require:r)[t]}):i)(function(i){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+i+'" is not supported')});var pr=(i,r)=>()=>(r||i((r={exports:{}}).exports,r),r.exports),lr=(i,r)=>{for(var t in r)S(i,t,{get:r[t],enumerable:!0})},_=(i,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of hr(r))!cr.call(i,e)&&e!==t&&S(i,e,{get:()=>r[e],enumerable:!(n=ur(r,e))||n.enumerable});return i},m=(i,r,t)=>(_(i,r,"default"),t&&_(t,r,"default")),G=(i,r,t)=>(t=i!=null?or(fr(i)):{},_(r||!i||!i.__esModule?S(t,"default",{value:i,enumerable:!0}):t,i));var M=pr(U=>{"use strict";var C=O("base64-js"),d=O("ieee754"),Y=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=u;U.SlowBuffer=Br;U.INSPECT_MAX_BYTES=50;var R=2147483647;U.kMaxLength=R;u.TYPED_ARRAY_SUPPORT=sr();!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&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.");function sr(){try{let i=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(i,r),i.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function x(i){if(i>R)throw new RangeError('The value "'+i+'" is invalid for option "size"');let r=new Uint8Array(i);return Object.setPrototypeOf(r,u.prototype),r}function u(i,r,t){if(typeof i=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return N(i)}return V(i,r,t)}u.poolSize=8192;function V(i,r,t){if(typeof i=="string")return wr(i,r);if(ArrayBuffer.isView(i))return ar(i);if(i==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);if(a(i,ArrayBuffer)||i&&a(i.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(a(i,SharedArrayBuffer)||i&&a(i.buffer,SharedArrayBuffer)))return L(i,r,t);if(typeof i=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=i.valueOf&&i.valueOf();if(n!=null&&n!==i)return u.from(n,r,t);let e=xr(i);if(e)return e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof i[Symbol.toPrimitive]=="function")return u.from(i[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 i)}u.from=function(i,r,t){return V(i,r,t)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function j(i){if(typeof i!="number")throw new TypeError('"size" argument must be of type number');if(i<0)throw new RangeError('The value "'+i+'" is invalid for option "size"')}function yr(i,r,t){return j(i),i<=0?x(i):r!==void 0?typeof t=="string"?x(i).fill(r,t):x(i).fill(r):x(i)}u.alloc=function(i,r,t){return yr(i,r,t)};function N(i){return j(i),x(i<0?0:$(i)|0)}u.allocUnsafe=function(i){return N(i)};u.allocUnsafeSlow=function(i){return N(i)};function wr(i,r){if((typeof r!="string"||r==="")&&(r="utf8"),!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);let t=z(i,r)|0,n=x(t),e=n.write(i,r);return e!==t&&(n=n.slice(0,e)),n}function b(i){let r=i.length<0?0:$(i.length)|0,t=x(r);for(let n=0;n<r;n+=1)t[n]=i[n]&255;return t}function ar(i){if(a(i,Uint8Array)){let r=new Uint8Array(i);return L(r.buffer,r.byteOffset,r.byteLength)}return b(i)}function L(i,r,t){if(r<0||i.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(i.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');let n;return r===void 0&&t===void 0?n=new Uint8Array(i):t===void 0?n=new Uint8Array(i,r):n=new Uint8Array(i,r,t),Object.setPrototypeOf(n,u.prototype),n}function xr(i){if(u.isBuffer(i)){let r=$(i.length)|0,t=x(r);return t.length===0||i.copy(t,0,0,r),t}if(i.length!==void 0)return typeof i.length!="number"||P(i.length)?x(0):b(i);if(i.type==="Buffer"&&Array.isArray(i.data))return b(i.data)}function $(i){if(i>=R)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+R.toString(16)+" bytes");return i|0}function Br(i){return+i!=i&&(i=0),u.alloc(+i)}u.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==u.prototype};u.compare=function(r,t){if(a(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),a(t,Uint8Array)&&(t=u.from(t,t.offsetLine truncated
|
||||
/*! Bundled license information:
|
||||
|
||||
buffer/index.js:
|
||||
(*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*)
|
||||
*/
|
||||
//# sourceMappingURL=buffer.mjs.map
|
||||
Reference in new issue
Block a user