zudoku 0.23.9 → 0.24.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/dist/cli/cmds/dev.js +5 -0
- package/dist/cli/cmds/dev.js.map +1 -1
- package/dist/cli/dev/handler.d.ts +1 -0
- package/dist/cli/dev/handler.js +1 -1
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/lib/components/index.d.ts +17 -13
- package/dist/lib/components/index.js +6 -2
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.js +1 -1
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.d.ts +1 -0
- package/dist/lib/oas/parser/dereference/index.js +6 -3
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js +7 -1
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +1 -1
- package/dist/vite/dev-server.d.ts +1 -0
- package/dist/vite/dev-server.js +4 -0
- package/dist/vite/dev-server.js.map +1 -1
- package/lib/{AuthenticationPlugin-fB7viE7A.js → AuthenticationPlugin-DVLEc6cm.js} +2 -2
- package/lib/{AuthenticationPlugin-fB7viE7A.js.map → AuthenticationPlugin-DVLEc6cm.js.map} +1 -1
- package/lib/{MdxPage-CPBw4_lf.js → MdxPage-DKMbBROv.js} +2 -2
- package/lib/{MdxPage-CPBw4_lf.js.map → MdxPage-DKMbBROv.js.map} +1 -1
- package/lib/{OperationList-ChQR0IcQ.js → OperationList-CqLL5P5l.js} +574 -568
- package/lib/{OperationList-ChQR0IcQ.js.map → OperationList-CqLL5P5l.js.map} +1 -1
- package/lib/{Route-Ag5MH86N.js → Route-DYwKZ_c_.js} +2 -2
- package/lib/{Route-Ag5MH86N.js.map → Route-DYwKZ_c_.js.map} +1 -1
- package/lib/{Select-D3XuKKuH.js → Select-B_IxRUUC.js} +3 -3
- package/lib/{Select-D3XuKKuH.js.map → Select-B_IxRUUC.js.map} +1 -1
- package/lib/{utils-B4O1uet5.js → ZudokuContext-hmLMUdf2.js} +37 -37
- package/lib/ZudokuContext-hmLMUdf2.js.map +1 -0
- package/lib/assets/{worker-D2kRl-cG.js → worker-DV9Ecqy9.js} +348 -346
- package/lib/assets/{worker-D2kRl-cG.js.map → worker-DV9Ecqy9.js.map} +1 -1
- package/lib/{createServer-69sLlmQA.js → createServer-C4C0OO0m.js} +1250 -1285
- package/lib/createServer-C4C0OO0m.js.map +1 -0
- package/lib/{hook-DgGeo5iL.js → hook-CHq7pFyz.js} +2 -2
- package/lib/{hook-DgGeo5iL.js.map → hook-CHq7pFyz.js.map} +1 -1
- package/lib/index-DyBL--Kz.js +826 -0
- package/lib/index-DyBL--Kz.js.map +1 -0
- package/lib/{index-DtJxZrbj.js → index-DzRORsY1.js} +7 -7
- package/lib/{index-DtJxZrbj.js.map → index-DzRORsY1.js.map} +1 -1
- package/lib/zudoku.auth-clerk.js +1 -1
- package/lib/zudoku.auth-openid.js +2 -2
- package/lib/zudoku.components.js +173 -172
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +1 -1
- package/lib/zudoku.plugin-api-keys.js +3 -3
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +3 -3
- package/package.json +3 -3
- package/src/lib/components/index.ts +7 -3
- package/src/lib/components/navigation/SidebarItem.tsx +1 -1
- package/src/lib/oas/parser/dereference/index.ts +9 -4
- package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +25 -1
- package/lib/createServer-69sLlmQA.js.map +0 -1
- package/lib/object_hash-BNWPnMN9.js +0 -787
- package/lib/object_hash-BNWPnMN9.js.map +0 -1
- package/lib/utils-B4O1uet5.js.map +0 -1
|
@@ -1,787 +0,0 @@
|
|
|
1
|
-
import { g as fr } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
|
-
function Z(rr) {
|
|
3
|
-
throw new Error('Could not dynamically require "' + rr + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
4
|
-
}
|
|
5
|
-
var er = { exports: {} }, ar;
|
|
6
|
-
function lr() {
|
|
7
|
-
return ar || (ar = 1, function(rr, dr) {
|
|
8
|
-
(function(E) {
|
|
9
|
-
rr.exports = E();
|
|
10
|
-
})(function() {
|
|
11
|
-
return function E(k, U, S) {
|
|
12
|
-
function R(N, O) {
|
|
13
|
-
if (!U[N]) {
|
|
14
|
-
if (!k[N]) {
|
|
15
|
-
var H = typeof Z == "function" && Z;
|
|
16
|
-
if (!O && H) return H(N, !0);
|
|
17
|
-
if (z) return z(N, !0);
|
|
18
|
-
throw new Error("Cannot find module '" + N + "'");
|
|
19
|
-
}
|
|
20
|
-
O = U[N] = { exports: {} }, k[N][0].call(O.exports, function(J) {
|
|
21
|
-
var K = k[N][1][J];
|
|
22
|
-
return R(K || J);
|
|
23
|
-
}, O, O.exports, E, k, U, S);
|
|
24
|
-
}
|
|
25
|
-
return U[N].exports;
|
|
26
|
-
}
|
|
27
|
-
for (var z = typeof Z == "function" && Z, P = 0; P < S.length; P++) R(S[P]);
|
|
28
|
-
return R;
|
|
29
|
-
}({ 1: [function(E, k, U) {
|
|
30
|
-
(function(S, R, z, P, N, O, H, J, K) {
|
|
31
|
-
var y = E("crypto");
|
|
32
|
-
function _(s, f) {
|
|
33
|
-
f = b(s, f);
|
|
34
|
-
var t;
|
|
35
|
-
return (t = f.algorithm !== "passthrough" ? y.createHash(f.algorithm) : new I()).write === void 0 && (t.write = t.update, t.end = t.update), h(f, t).dispatch(s), t.update || t.end(""), t.digest ? t.digest(f.encoding === "buffer" ? void 0 : f.encoding) : (s = t.read(), f.encoding !== "buffer" ? s.toString(f.encoding) : s);
|
|
36
|
-
}
|
|
37
|
-
(U = k.exports = _).sha1 = function(s) {
|
|
38
|
-
return _(s);
|
|
39
|
-
}, U.keys = function(s) {
|
|
40
|
-
return _(s, { excludeValues: !0, algorithm: "sha1", encoding: "hex" });
|
|
41
|
-
}, U.MD5 = function(s) {
|
|
42
|
-
return _(s, { algorithm: "md5", encoding: "hex" });
|
|
43
|
-
}, U.keysMD5 = function(s) {
|
|
44
|
-
return _(s, { algorithm: "md5", encoding: "hex", excludeValues: !0 });
|
|
45
|
-
};
|
|
46
|
-
var l = y.getHashes ? y.getHashes().slice() : ["sha1", "md5"], p = (l.push("passthrough"), ["buffer", "hex", "binary", "base64"]);
|
|
47
|
-
function b(s, f) {
|
|
48
|
-
var t = {};
|
|
49
|
-
if (t.algorithm = (f = f || {}).algorithm || "sha1", t.encoding = f.encoding || "hex", t.excludeValues = !!f.excludeValues, t.algorithm = t.algorithm.toLowerCase(), t.encoding = t.encoding.toLowerCase(), t.ignoreUnknown = f.ignoreUnknown === !0, t.respectType = f.respectType !== !1, t.respectFunctionNames = f.respectFunctionNames !== !1, t.respectFunctionProperties = f.respectFunctionProperties !== !1, t.unorderedArrays = f.unorderedArrays === !0, t.unorderedSets = f.unorderedSets !== !1, t.unorderedObjects = f.unorderedObjects !== !1, t.replacer = f.replacer || void 0, t.excludeKeys = f.excludeKeys || void 0, s === void 0) throw new Error("Object argument required.");
|
|
50
|
-
for (var o = 0; o < l.length; ++o) l[o].toLowerCase() === t.algorithm.toLowerCase() && (t.algorithm = l[o]);
|
|
51
|
-
if (l.indexOf(t.algorithm) === -1) throw new Error('Algorithm "' + t.algorithm + '" not supported. supported values: ' + l.join(", "));
|
|
52
|
-
if (p.indexOf(t.encoding) === -1 && t.algorithm !== "passthrough") throw new Error('Encoding "' + t.encoding + '" not supported. supported values: ' + p.join(", "));
|
|
53
|
-
return t;
|
|
54
|
-
}
|
|
55
|
-
function g(s) {
|
|
56
|
-
if (typeof s == "function") return /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(s)) != null;
|
|
57
|
-
}
|
|
58
|
-
function h(s, f, t) {
|
|
59
|
-
t = t || [];
|
|
60
|
-
function o(n) {
|
|
61
|
-
return f.update ? f.update(n, "utf8") : f.write(n, "utf8");
|
|
62
|
-
}
|
|
63
|
-
return { dispatch: function(n) {
|
|
64
|
-
return this["_" + ((n = s.replacer ? s.replacer(n) : n) === null ? "null" : typeof n)](n);
|
|
65
|
-
}, _object: function(n) {
|
|
66
|
-
var u, a = Object.prototype.toString.call(n), B = /\[object (.*)\]/i.exec(a);
|
|
67
|
-
if (B = (B = B ? B[1] : "unknown:[" + a + "]").toLowerCase(), 0 <= (a = t.indexOf(n))) return this.dispatch("[CIRCULAR:" + a + "]");
|
|
68
|
-
if (t.push(n), z !== void 0 && z.isBuffer && z.isBuffer(n)) return o("buffer:"), o(n);
|
|
69
|
-
if (B === "object" || B === "function" || B === "asyncfunction") return a = Object.keys(n), s.unorderedObjects && (a = a.sort()), s.respectType === !1 || g(n) || a.splice(0, 0, "prototype", "__proto__", "constructor"), s.excludeKeys && (a = a.filter(function(A) {
|
|
70
|
-
return !s.excludeKeys(A);
|
|
71
|
-
})), o("object:" + a.length + ":"), u = this, a.forEach(function(A) {
|
|
72
|
-
u.dispatch(A), o(":"), s.excludeValues || u.dispatch(n[A]), o(",");
|
|
73
|
-
});
|
|
74
|
-
if (!this["_" + B]) {
|
|
75
|
-
if (s.ignoreUnknown) return o("[" + B + "]");
|
|
76
|
-
throw new Error('Unknown object type "' + B + '"');
|
|
77
|
-
}
|
|
78
|
-
this["_" + B](n);
|
|
79
|
-
}, _array: function(n, A) {
|
|
80
|
-
A = A !== void 0 ? A : s.unorderedArrays !== !1;
|
|
81
|
-
var a = this;
|
|
82
|
-
if (o("array:" + n.length + ":"), !A || n.length <= 1) return n.forEach(function(x) {
|
|
83
|
-
return a.dispatch(x);
|
|
84
|
-
});
|
|
85
|
-
var B = [], A = n.map(function(x) {
|
|
86
|
-
var v = new I(), C = t.slice();
|
|
87
|
-
return h(s, v, C).dispatch(x), B = B.concat(C.slice(t.length)), v.read().toString();
|
|
88
|
-
});
|
|
89
|
-
return t = t.concat(B), A.sort(), this._array(A, !1);
|
|
90
|
-
}, _date: function(n) {
|
|
91
|
-
return o("date:" + n.toJSON());
|
|
92
|
-
}, _symbol: function(n) {
|
|
93
|
-
return o("symbol:" + n.toString());
|
|
94
|
-
}, _error: function(n) {
|
|
95
|
-
return o("error:" + n.toString());
|
|
96
|
-
}, _boolean: function(n) {
|
|
97
|
-
return o("bool:" + n.toString());
|
|
98
|
-
}, _string: function(n) {
|
|
99
|
-
o("string:" + n.length + ":"), o(n.toString());
|
|
100
|
-
}, _function: function(n) {
|
|
101
|
-
o("fn:"), g(n) ? this.dispatch("[native]") : this.dispatch(n.toString()), s.respectFunctionNames !== !1 && this.dispatch("function-name:" + String(n.name)), s.respectFunctionProperties && this._object(n);
|
|
102
|
-
}, _number: function(n) {
|
|
103
|
-
return o("number:" + n.toString());
|
|
104
|
-
}, _xml: function(n) {
|
|
105
|
-
return o("xml:" + n.toString());
|
|
106
|
-
}, _null: function() {
|
|
107
|
-
return o("Null");
|
|
108
|
-
}, _undefined: function() {
|
|
109
|
-
return o("Undefined");
|
|
110
|
-
}, _regexp: function(n) {
|
|
111
|
-
return o("regex:" + n.toString());
|
|
112
|
-
}, _uint8array: function(n) {
|
|
113
|
-
return o("uint8array:"), this.dispatch(Array.prototype.slice.call(n));
|
|
114
|
-
}, _uint8clampedarray: function(n) {
|
|
115
|
-
return o("uint8clampedarray:"), this.dispatch(Array.prototype.slice.call(n));
|
|
116
|
-
}, _int8array: function(n) {
|
|
117
|
-
return o("int8array:"), this.dispatch(Array.prototype.slice.call(n));
|
|
118
|
-
}, _uint16array: function(n) {
|
|
119
|
-
return o("uint16array:"), this.dispatch(Array.prototype.slice.call(n));
|
|
120
|
-
}, _int16array: function(n) {
|
|
121
|
-
return o("int16array:"), this.dispatch(Array.prototype.slice.call(n));
|
|
122
|
-
}, _uint32array: function(n) {
|
|
123
|
-
return o("uint32array:"), this.dispatch(Array.prototype.slice.call(n));
|
|
124
|
-
}, _int32array: function(n) {
|
|
125
|
-
return o("int32array:"), this.dispatch(Array.prototype.slice.call(n));
|
|
126
|
-
}, _float32array: function(n) {
|
|
127
|
-
return o("float32array:"), this.dispatch(Array.prototype.slice.call(n));
|
|
128
|
-
}, _float64array: function(n) {
|
|
129
|
-
return o("float64array:"), this.dispatch(Array.prototype.slice.call(n));
|
|
130
|
-
}, _arraybuffer: function(n) {
|
|
131
|
-
return o("arraybuffer:"), this.dispatch(new Uint8Array(n));
|
|
132
|
-
}, _url: function(n) {
|
|
133
|
-
return o("url:" + n.toString());
|
|
134
|
-
}, _map: function(n) {
|
|
135
|
-
return o("map:"), n = Array.from(n), this._array(n, s.unorderedSets !== !1);
|
|
136
|
-
}, _set: function(n) {
|
|
137
|
-
return o("set:"), n = Array.from(n), this._array(n, s.unorderedSets !== !1);
|
|
138
|
-
}, _file: function(n) {
|
|
139
|
-
return o("file:"), this.dispatch([n.name, n.size, n.type, n.lastModfied]);
|
|
140
|
-
}, _blob: function() {
|
|
141
|
-
if (s.ignoreUnknown) return o("[blob]");
|
|
142
|
-
throw Error(`Hashing Blob objects is currently not supported
|
|
143
|
-
(see https://github.com/puleos/object-hash/issues/26)
|
|
144
|
-
Use "options.replacer" or "options.ignoreUnknown"
|
|
145
|
-
`);
|
|
146
|
-
}, _domwindow: function() {
|
|
147
|
-
return o("domwindow");
|
|
148
|
-
}, _bigint: function(n) {
|
|
149
|
-
return o("bigint:" + n.toString());
|
|
150
|
-
}, _process: function() {
|
|
151
|
-
return o("process");
|
|
152
|
-
}, _timer: function() {
|
|
153
|
-
return o("timer");
|
|
154
|
-
}, _pipe: function() {
|
|
155
|
-
return o("pipe");
|
|
156
|
-
}, _tcp: function() {
|
|
157
|
-
return o("tcp");
|
|
158
|
-
}, _udp: function() {
|
|
159
|
-
return o("udp");
|
|
160
|
-
}, _tty: function() {
|
|
161
|
-
return o("tty");
|
|
162
|
-
}, _statwatcher: function() {
|
|
163
|
-
return o("statwatcher");
|
|
164
|
-
}, _securecontext: function() {
|
|
165
|
-
return o("securecontext");
|
|
166
|
-
}, _connection: function() {
|
|
167
|
-
return o("connection");
|
|
168
|
-
}, _zlib: function() {
|
|
169
|
-
return o("zlib");
|
|
170
|
-
}, _context: function() {
|
|
171
|
-
return o("context");
|
|
172
|
-
}, _nodescript: function() {
|
|
173
|
-
return o("nodescript");
|
|
174
|
-
}, _httpparser: function() {
|
|
175
|
-
return o("httpparser");
|
|
176
|
-
}, _dataview: function() {
|
|
177
|
-
return o("dataview");
|
|
178
|
-
}, _signal: function() {
|
|
179
|
-
return o("signal");
|
|
180
|
-
}, _fsevent: function() {
|
|
181
|
-
return o("fsevent");
|
|
182
|
-
}, _tlswrap: function() {
|
|
183
|
-
return o("tlswrap");
|
|
184
|
-
} };
|
|
185
|
-
}
|
|
186
|
-
function I() {
|
|
187
|
-
return { buf: "", write: function(s) {
|
|
188
|
-
this.buf += s;
|
|
189
|
-
}, end: function(s) {
|
|
190
|
-
this.buf += s;
|
|
191
|
-
}, read: function() {
|
|
192
|
-
return this.buf;
|
|
193
|
-
} };
|
|
194
|
-
}
|
|
195
|
-
U.writeToStream = function(s, f, t) {
|
|
196
|
-
return t === void 0 && (t = f, f = {}), h(f = b(s, f), t).dispatch(s);
|
|
197
|
-
};
|
|
198
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_9a5aa49d.js", "/");
|
|
199
|
-
}, { buffer: 3, crypto: 5, lYpoI2: 11 }], 2: [function(E, k, U) {
|
|
200
|
-
(function(S, R, z, P, N, O, H, J, K) {
|
|
201
|
-
(function(y) {
|
|
202
|
-
var _ = typeof Uint8Array < "u" ? Uint8Array : Array, l = 43, p = 47, b = 48, g = 97, h = 65, I = 45, s = 95;
|
|
203
|
-
function f(t) {
|
|
204
|
-
return t = t.charCodeAt(0), t === l || t === I ? 62 : t === p || t === s ? 63 : t < b ? -1 : t < b + 10 ? t - b + 26 + 26 : t < h + 26 ? t - h : t < g + 26 ? t - g + 26 : void 0;
|
|
205
|
-
}
|
|
206
|
-
y.toByteArray = function(t) {
|
|
207
|
-
var o, n;
|
|
208
|
-
if (0 < t.length % 4) throw new Error("Invalid string. Length must be a multiple of 4");
|
|
209
|
-
var u = t.length, u = t.charAt(u - 2) === "=" ? 2 : t.charAt(u - 1) === "=" ? 1 : 0, a = new _(3 * t.length / 4 - u), B = 0 < u ? t.length - 4 : t.length, A = 0;
|
|
210
|
-
function x(v) {
|
|
211
|
-
a[A++] = v;
|
|
212
|
-
}
|
|
213
|
-
for (o = 0; o < B; o += 4, 0) x((16711680 & (n = f(t.charAt(o)) << 18 | f(t.charAt(o + 1)) << 12 | f(t.charAt(o + 2)) << 6 | f(t.charAt(o + 3)))) >> 16), x((65280 & n) >> 8), x(255 & n);
|
|
214
|
-
return u == 2 ? x(255 & (n = f(t.charAt(o)) << 2 | f(t.charAt(o + 1)) >> 4)) : u == 1 && (x((n = f(t.charAt(o)) << 10 | f(t.charAt(o + 1)) << 4 | f(t.charAt(o + 2)) >> 2) >> 8 & 255), x(255 & n)), a;
|
|
215
|
-
}, y.fromByteArray = function(t) {
|
|
216
|
-
var o, n, u, a, B = t.length % 3, A = "";
|
|
217
|
-
function x(v) {
|
|
218
|
-
return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(v);
|
|
219
|
-
}
|
|
220
|
-
for (o = 0, u = t.length - B; o < u; o += 3) n = (t[o] << 16) + (t[o + 1] << 8) + t[o + 2], A += x((a = n) >> 18 & 63) + x(a >> 12 & 63) + x(a >> 6 & 63) + x(63 & a);
|
|
221
|
-
switch (B) {
|
|
222
|
-
case 1:
|
|
223
|
-
A = (A += x((n = t[t.length - 1]) >> 2)) + x(n << 4 & 63) + "==";
|
|
224
|
-
break;
|
|
225
|
-
case 2:
|
|
226
|
-
A = (A = (A += x((n = (t[t.length - 2] << 8) + t[t.length - 1]) >> 10)) + x(n >> 4 & 63)) + x(n << 2 & 63) + "=";
|
|
227
|
-
}
|
|
228
|
-
return A;
|
|
229
|
-
};
|
|
230
|
-
})(U === void 0 ? this.base64js = {} : U);
|
|
231
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js", "/node_modules/gulp-browserify/node_modules/base64-js/lib");
|
|
232
|
-
}, { buffer: 3, lYpoI2: 11 }], 3: [function(E, k, U) {
|
|
233
|
-
(function(S, R, l, P, N, O, H, J, K) {
|
|
234
|
-
var y = E("base64-js"), _ = E("ieee754");
|
|
235
|
-
function l(r, e, i) {
|
|
236
|
-
if (!(this instanceof l)) return new l(r, e, i);
|
|
237
|
-
var d, c, m, L, M = typeof r;
|
|
238
|
-
if (e === "base64" && M == "string") for (r = (L = r).trim ? L.trim() : L.replace(/^\s+|\s+$/g, ""); r.length % 4 != 0; ) r += "=";
|
|
239
|
-
if (M == "number") d = q(r);
|
|
240
|
-
else if (M == "string") d = l.byteLength(r, e);
|
|
241
|
-
else {
|
|
242
|
-
if (M != "object") throw new Error("First argument needs to be a number, array or string.");
|
|
243
|
-
d = q(r.length);
|
|
244
|
-
}
|
|
245
|
-
if (l._useTypedArrays ? c = l._augment(new Uint8Array(d)) : ((c = this).length = d, c._isBuffer = !0), l._useTypedArrays && typeof r.byteLength == "number") c._set(r);
|
|
246
|
-
else if (T(L = r) || l.isBuffer(L) || L && typeof L == "object" && typeof L.length == "number") for (m = 0; m < d; m++) l.isBuffer(r) ? c[m] = r.readUInt8(m) : c[m] = r[m];
|
|
247
|
-
else if (M == "string") c.write(r, 0, e);
|
|
248
|
-
else if (M == "number" && !l._useTypedArrays && !i) for (m = 0; m < d; m++) c[m] = 0;
|
|
249
|
-
return c;
|
|
250
|
-
}
|
|
251
|
-
function p(r, e, i, d) {
|
|
252
|
-
return l._charsWritten = Q(function(c) {
|
|
253
|
-
for (var m = [], L = 0; L < c.length; L++) m.push(255 & c.charCodeAt(L));
|
|
254
|
-
return m;
|
|
255
|
-
}(e), r, i, d);
|
|
256
|
-
}
|
|
257
|
-
function b(r, e, i, d) {
|
|
258
|
-
return l._charsWritten = Q(function(c) {
|
|
259
|
-
for (var m, L, M = [], Y = 0; Y < c.length; Y++) L = c.charCodeAt(Y), m = L >> 8, L = L % 256, M.push(L), M.push(m);
|
|
260
|
-
return M;
|
|
261
|
-
}(e), r, i, d);
|
|
262
|
-
}
|
|
263
|
-
function g(r, e, i) {
|
|
264
|
-
var d = "";
|
|
265
|
-
i = Math.min(r.length, i);
|
|
266
|
-
for (var c = e; c < i; c++) d += String.fromCharCode(r[c]);
|
|
267
|
-
return d;
|
|
268
|
-
}
|
|
269
|
-
function h(r, e, i, m) {
|
|
270
|
-
m || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 1 < r.length, "Trying to read beyond buffer length"));
|
|
271
|
-
var c, m = r.length;
|
|
272
|
-
if (!(m <= e)) return i ? (c = r[e], e + 1 < m && (c |= r[e + 1] << 8)) : (c = r[e] << 8, e + 1 < m && (c |= r[e + 1])), c;
|
|
273
|
-
}
|
|
274
|
-
function I(r, e, i, m) {
|
|
275
|
-
m || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 3 < r.length, "Trying to read beyond buffer length"));
|
|
276
|
-
var c, m = r.length;
|
|
277
|
-
if (!(m <= e)) return i ? (e + 2 < m && (c = r[e + 2] << 16), e + 1 < m && (c |= r[e + 1] << 8), c |= r[e], e + 3 < m && (c += r[e + 3] << 24 >>> 0)) : (e + 1 < m && (c = r[e + 1] << 16), e + 2 < m && (c |= r[e + 2] << 8), e + 3 < m && (c |= r[e + 3]), c += r[e] << 24 >>> 0), c;
|
|
278
|
-
}
|
|
279
|
-
function s(r, e, i, d) {
|
|
280
|
-
if (d || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 1 < r.length, "Trying to read beyond buffer length")), !(r.length <= e)) return d = h(r, e, i, !0), 32768 & d ? -1 * (65535 - d + 1) : d;
|
|
281
|
-
}
|
|
282
|
-
function f(r, e, i, d) {
|
|
283
|
-
if (d || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 3 < r.length, "Trying to read beyond buffer length")), !(r.length <= e)) return d = I(r, e, i, !0), 2147483648 & d ? -1 * (4294967295 - d + 1) : d;
|
|
284
|
-
}
|
|
285
|
-
function t(r, e, i, d) {
|
|
286
|
-
return d || (w(typeof i == "boolean", "missing or invalid endian"), w(e + 3 < r.length, "Trying to read beyond buffer length")), _.read(r, e, i, 23, 4);
|
|
287
|
-
}
|
|
288
|
-
function o(r, e, i, d) {
|
|
289
|
-
return d || (w(typeof i == "boolean", "missing or invalid endian"), w(e + 7 < r.length, "Trying to read beyond buffer length")), _.read(r, e, i, 52, 8);
|
|
290
|
-
}
|
|
291
|
-
function n(r, e, i, d, c) {
|
|
292
|
-
if (c || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 1 < r.length, "trying to write beyond buffer length"), nr(e, 65535)), c = r.length, !(c <= i)) for (var m = 0, L = Math.min(c - i, 2); m < L; m++) r[i + m] = (e & 255 << 8 * (d ? m : 1 - m)) >>> 8 * (d ? m : 1 - m);
|
|
293
|
-
}
|
|
294
|
-
function u(r, e, i, d, c) {
|
|
295
|
-
if (c || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 3 < r.length, "trying to write beyond buffer length"), nr(e, 4294967295)), c = r.length, !(c <= i)) for (var m = 0, L = Math.min(c - i, 4); m < L; m++) r[i + m] = e >>> 8 * (d ? m : 3 - m) & 255;
|
|
296
|
-
}
|
|
297
|
-
function a(r, e, i, d, c) {
|
|
298
|
-
c || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 1 < r.length, "Trying to write beyond buffer length"), tr(e, 32767, -32768)), r.length <= i || n(r, 0 <= e ? e : 65535 + e + 1, i, d, c);
|
|
299
|
-
}
|
|
300
|
-
function B(r, e, i, d, c) {
|
|
301
|
-
c || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 3 < r.length, "Trying to write beyond buffer length"), tr(e, 2147483647, -2147483648)), r.length <= i || u(r, 0 <= e ? e : 4294967295 + e + 1, i, d, c);
|
|
302
|
-
}
|
|
303
|
-
function A(r, e, i, d, c) {
|
|
304
|
-
c || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 3 < r.length, "Trying to write beyond buffer length"), sr(e, 34028234663852886e22, -34028234663852886e22)), r.length <= i || _.write(r, e, i, d, 23, 4);
|
|
305
|
-
}
|
|
306
|
-
function x(r, e, i, d, c) {
|
|
307
|
-
c || (w(e != null, "missing value"), w(typeof d == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 7 < r.length, "Trying to write beyond buffer length"), sr(e, 17976931348623157e292, -17976931348623157e292)), r.length <= i || _.write(r, e, i, d, 52, 8);
|
|
308
|
-
}
|
|
309
|
-
U.Buffer = l, U.SlowBuffer = l, U.INSPECT_MAX_BYTES = 50, l.poolSize = 8192, l._useTypedArrays = function() {
|
|
310
|
-
try {
|
|
311
|
-
var r = new ArrayBuffer(0), e = new Uint8Array(r);
|
|
312
|
-
return e.foo = function() {
|
|
313
|
-
return 42;
|
|
314
|
-
}, e.foo() === 42 && typeof e.subarray == "function";
|
|
315
|
-
} catch {
|
|
316
|
-
return !1;
|
|
317
|
-
}
|
|
318
|
-
}(), l.isEncoding = function(r) {
|
|
319
|
-
switch (String(r).toLowerCase()) {
|
|
320
|
-
case "hex":
|
|
321
|
-
case "utf8":
|
|
322
|
-
case "utf-8":
|
|
323
|
-
case "ascii":
|
|
324
|
-
case "binary":
|
|
325
|
-
case "base64":
|
|
326
|
-
case "raw":
|
|
327
|
-
case "ucs2":
|
|
328
|
-
case "ucs-2":
|
|
329
|
-
case "utf16le":
|
|
330
|
-
case "utf-16le":
|
|
331
|
-
return !0;
|
|
332
|
-
default:
|
|
333
|
-
return !1;
|
|
334
|
-
}
|
|
335
|
-
}, l.isBuffer = function(r) {
|
|
336
|
-
return !(r == null || !r._isBuffer);
|
|
337
|
-
}, l.byteLength = function(r, e) {
|
|
338
|
-
var i;
|
|
339
|
-
switch (r += "", e || "utf8") {
|
|
340
|
-
case "hex":
|
|
341
|
-
i = r.length / 2;
|
|
342
|
-
break;
|
|
343
|
-
case "utf8":
|
|
344
|
-
case "utf-8":
|
|
345
|
-
i = $(r).length;
|
|
346
|
-
break;
|
|
347
|
-
case "ascii":
|
|
348
|
-
case "binary":
|
|
349
|
-
case "raw":
|
|
350
|
-
i = r.length;
|
|
351
|
-
break;
|
|
352
|
-
case "base64":
|
|
353
|
-
i = or(r).length;
|
|
354
|
-
break;
|
|
355
|
-
case "ucs2":
|
|
356
|
-
case "ucs-2":
|
|
357
|
-
case "utf16le":
|
|
358
|
-
case "utf-16le":
|
|
359
|
-
i = 2 * r.length;
|
|
360
|
-
break;
|
|
361
|
-
default:
|
|
362
|
-
throw new Error("Unknown encoding");
|
|
363
|
-
}
|
|
364
|
-
return i;
|
|
365
|
-
}, l.concat = function(r, e) {
|
|
366
|
-
if (w(T(r), `Usage: Buffer.concat(list, [totalLength])
|
|
367
|
-
list should be an Array.`), r.length === 0) return new l(0);
|
|
368
|
-
if (r.length === 1) return r[0];
|
|
369
|
-
if (typeof e != "number") for (c = e = 0; c < r.length; c++) e += r[c].length;
|
|
370
|
-
for (var i = new l(e), d = 0, c = 0; c < r.length; c++) {
|
|
371
|
-
var m = r[c];
|
|
372
|
-
m.copy(i, d), d += m.length;
|
|
373
|
-
}
|
|
374
|
-
return i;
|
|
375
|
-
}, l.prototype.write = function(r, e, i, d) {
|
|
376
|
-
isFinite(e) ? isFinite(i) || (d = i, i = void 0) : (Y = d, d = e, e = i, i = Y), e = Number(e) || 0;
|
|
377
|
-
var c, m, L, M, Y = this.length - e;
|
|
378
|
-
switch ((!i || Y < (i = Number(i))) && (i = Y), d = String(d || "utf8").toLowerCase()) {
|
|
379
|
-
case "hex":
|
|
380
|
-
c = function(X, V, W, D) {
|
|
381
|
-
W = Number(W) || 0;
|
|
382
|
-
var F = X.length - W;
|
|
383
|
-
(!D || F < (D = Number(D))) && (D = F), w((F = V.length) % 2 == 0, "Invalid hex string"), F / 2 < D && (D = F / 2);
|
|
384
|
-
for (var G = 0; G < D; G++) {
|
|
385
|
-
var ur = parseInt(V.substr(2 * G, 2), 16);
|
|
386
|
-
w(!isNaN(ur), "Invalid hex string"), X[W + G] = ur;
|
|
387
|
-
}
|
|
388
|
-
return l._charsWritten = 2 * G, G;
|
|
389
|
-
}(this, r, e, i);
|
|
390
|
-
break;
|
|
391
|
-
case "utf8":
|
|
392
|
-
case "utf-8":
|
|
393
|
-
m = this, L = e, M = i, c = l._charsWritten = Q($(r), m, L, M);
|
|
394
|
-
break;
|
|
395
|
-
case "ascii":
|
|
396
|
-
case "binary":
|
|
397
|
-
c = p(this, r, e, i);
|
|
398
|
-
break;
|
|
399
|
-
case "base64":
|
|
400
|
-
m = this, L = e, M = i, c = l._charsWritten = Q(or(r), m, L, M);
|
|
401
|
-
break;
|
|
402
|
-
case "ucs2":
|
|
403
|
-
case "ucs-2":
|
|
404
|
-
case "utf16le":
|
|
405
|
-
case "utf-16le":
|
|
406
|
-
c = b(this, r, e, i);
|
|
407
|
-
break;
|
|
408
|
-
default:
|
|
409
|
-
throw new Error("Unknown encoding");
|
|
410
|
-
}
|
|
411
|
-
return c;
|
|
412
|
-
}, l.prototype.toString = function(r, e, i) {
|
|
413
|
-
var d, c, m, L, M = this;
|
|
414
|
-
if (r = String(r || "utf8").toLowerCase(), e = Number(e) || 0, (i = i !== void 0 ? Number(i) : M.length) === e) return "";
|
|
415
|
-
switch (r) {
|
|
416
|
-
case "hex":
|
|
417
|
-
d = function(Y, X, V) {
|
|
418
|
-
var W = Y.length;
|
|
419
|
-
(!X || X < 0) && (X = 0), (!V || V < 0 || W < V) && (V = W);
|
|
420
|
-
for (var D = "", F = X; F < V; F++) D += j(Y[F]);
|
|
421
|
-
return D;
|
|
422
|
-
}(M, e, i);
|
|
423
|
-
break;
|
|
424
|
-
case "utf8":
|
|
425
|
-
case "utf-8":
|
|
426
|
-
d = function(Y, X, V) {
|
|
427
|
-
var W = "", D = "";
|
|
428
|
-
V = Math.min(Y.length, V);
|
|
429
|
-
for (var F = X; F < V; F++) Y[F] <= 127 ? (W += ir(D) + String.fromCharCode(Y[F]), D = "") : D += "%" + Y[F].toString(16);
|
|
430
|
-
return W + ir(D);
|
|
431
|
-
}(M, e, i);
|
|
432
|
-
break;
|
|
433
|
-
case "ascii":
|
|
434
|
-
case "binary":
|
|
435
|
-
d = g(M, e, i);
|
|
436
|
-
break;
|
|
437
|
-
case "base64":
|
|
438
|
-
c = M, L = i, d = (m = e) === 0 && L === c.length ? y.fromByteArray(c) : y.fromByteArray(c.slice(m, L));
|
|
439
|
-
break;
|
|
440
|
-
case "ucs2":
|
|
441
|
-
case "ucs-2":
|
|
442
|
-
case "utf16le":
|
|
443
|
-
case "utf-16le":
|
|
444
|
-
d = function(Y, X, V) {
|
|
445
|
-
for (var W = Y.slice(X, V), D = "", F = 0; F < W.length; F += 2) D += String.fromCharCode(W[F] + 256 * W[F + 1]);
|
|
446
|
-
return D;
|
|
447
|
-
}(M, e, i);
|
|
448
|
-
break;
|
|
449
|
-
default:
|
|
450
|
-
throw new Error("Unknown encoding");
|
|
451
|
-
}
|
|
452
|
-
return d;
|
|
453
|
-
}, l.prototype.toJSON = function() {
|
|
454
|
-
return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) };
|
|
455
|
-
}, l.prototype.copy = function(r, e, i, d) {
|
|
456
|
-
if (e = e || 0, (d = d || d === 0 ? d : this.length) !== (i = i || 0) && r.length !== 0 && this.length !== 0) {
|
|
457
|
-
w(i <= d, "sourceEnd < sourceStart"), w(0 <= e && e < r.length, "targetStart out of bounds"), w(0 <= i && i < this.length, "sourceStart out of bounds"), w(0 <= d && d <= this.length, "sourceEnd out of bounds"), d > this.length && (d = this.length);
|
|
458
|
-
var c = (d = r.length - e < d - i ? r.length - e + i : d) - i;
|
|
459
|
-
if (c < 100 || !l._useTypedArrays) for (var m = 0; m < c; m++) r[m + e] = this[m + i];
|
|
460
|
-
else r._set(this.subarray(i, i + c), e);
|
|
461
|
-
}
|
|
462
|
-
}, l.prototype.slice = function(r, e) {
|
|
463
|
-
var i = this.length;
|
|
464
|
-
if (r = C(r, i, 0), e = C(e, i, i), l._useTypedArrays) return l._augment(this.subarray(r, e));
|
|
465
|
-
for (var d = e - r, c = new l(d, void 0, !0), m = 0; m < d; m++) c[m] = this[m + r];
|
|
466
|
-
return c;
|
|
467
|
-
}, l.prototype.get = function(r) {
|
|
468
|
-
return console.log(".get() is deprecated. Access using array indexes instead."), this.readUInt8(r);
|
|
469
|
-
}, l.prototype.set = function(r, e) {
|
|
470
|
-
return console.log(".set() is deprecated. Access using array indexes instead."), this.writeUInt8(r, e);
|
|
471
|
-
}, l.prototype.readUInt8 = function(r, e) {
|
|
472
|
-
if (e || (w(r != null, "missing offset"), w(r < this.length, "Trying to read beyond buffer length")), !(r >= this.length)) return this[r];
|
|
473
|
-
}, l.prototype.readUInt16LE = function(r, e) {
|
|
474
|
-
return h(this, r, !0, e);
|
|
475
|
-
}, l.prototype.readUInt16BE = function(r, e) {
|
|
476
|
-
return h(this, r, !1, e);
|
|
477
|
-
}, l.prototype.readUInt32LE = function(r, e) {
|
|
478
|
-
return I(this, r, !0, e);
|
|
479
|
-
}, l.prototype.readUInt32BE = function(r, e) {
|
|
480
|
-
return I(this, r, !1, e);
|
|
481
|
-
}, l.prototype.readInt8 = function(r, e) {
|
|
482
|
-
if (e || (w(r != null, "missing offset"), w(r < this.length, "Trying to read beyond buffer length")), !(r >= this.length)) return 128 & this[r] ? -1 * (255 - this[r] + 1) : this[r];
|
|
483
|
-
}, l.prototype.readInt16LE = function(r, e) {
|
|
484
|
-
return s(this, r, !0, e);
|
|
485
|
-
}, l.prototype.readInt16BE = function(r, e) {
|
|
486
|
-
return s(this, r, !1, e);
|
|
487
|
-
}, l.prototype.readInt32LE = function(r, e) {
|
|
488
|
-
return f(this, r, !0, e);
|
|
489
|
-
}, l.prototype.readInt32BE = function(r, e) {
|
|
490
|
-
return f(this, r, !1, e);
|
|
491
|
-
}, l.prototype.readFloatLE = function(r, e) {
|
|
492
|
-
return t(this, r, !0, e);
|
|
493
|
-
}, l.prototype.readFloatBE = function(r, e) {
|
|
494
|
-
return t(this, r, !1, e);
|
|
495
|
-
}, l.prototype.readDoubleLE = function(r, e) {
|
|
496
|
-
return o(this, r, !0, e);
|
|
497
|
-
}, l.prototype.readDoubleBE = function(r, e) {
|
|
498
|
-
return o(this, r, !1, e);
|
|
499
|
-
}, l.prototype.writeUInt8 = function(r, e, i) {
|
|
500
|
-
i || (w(r != null, "missing value"), w(e != null, "missing offset"), w(e < this.length, "trying to write beyond buffer length"), nr(r, 255)), e >= this.length || (this[e] = r);
|
|
501
|
-
}, l.prototype.writeUInt16LE = function(r, e, i) {
|
|
502
|
-
n(this, r, e, !0, i);
|
|
503
|
-
}, l.prototype.writeUInt16BE = function(r, e, i) {
|
|
504
|
-
n(this, r, e, !1, i);
|
|
505
|
-
}, l.prototype.writeUInt32LE = function(r, e, i) {
|
|
506
|
-
u(this, r, e, !0, i);
|
|
507
|
-
}, l.prototype.writeUInt32BE = function(r, e, i) {
|
|
508
|
-
u(this, r, e, !1, i);
|
|
509
|
-
}, l.prototype.writeInt8 = function(r, e, i) {
|
|
510
|
-
i || (w(r != null, "missing value"), w(e != null, "missing offset"), w(e < this.length, "Trying to write beyond buffer length"), tr(r, 127, -128)), e >= this.length || (0 <= r ? this.writeUInt8(r, e, i) : this.writeUInt8(255 + r + 1, e, i));
|
|
511
|
-
}, l.prototype.writeInt16LE = function(r, e, i) {
|
|
512
|
-
a(this, r, e, !0, i);
|
|
513
|
-
}, l.prototype.writeInt16BE = function(r, e, i) {
|
|
514
|
-
a(this, r, e, !1, i);
|
|
515
|
-
}, l.prototype.writeInt32LE = function(r, e, i) {
|
|
516
|
-
B(this, r, e, !0, i);
|
|
517
|
-
}, l.prototype.writeInt32BE = function(r, e, i) {
|
|
518
|
-
B(this, r, e, !1, i);
|
|
519
|
-
}, l.prototype.writeFloatLE = function(r, e, i) {
|
|
520
|
-
A(this, r, e, !0, i);
|
|
521
|
-
}, l.prototype.writeFloatBE = function(r, e, i) {
|
|
522
|
-
A(this, r, e, !1, i);
|
|
523
|
-
}, l.prototype.writeDoubleLE = function(r, e, i) {
|
|
524
|
-
x(this, r, e, !0, i);
|
|
525
|
-
}, l.prototype.writeDoubleBE = function(r, e, i) {
|
|
526
|
-
x(this, r, e, !1, i);
|
|
527
|
-
}, l.prototype.fill = function(r, e, i) {
|
|
528
|
-
if (e = e || 0, i = i || this.length, w(typeof (r = typeof (r = r || 0) == "string" ? r.charCodeAt(0) : r) == "number" && !isNaN(r), "value is not a number"), w(e <= i, "end < start"), i !== e && this.length !== 0) {
|
|
529
|
-
w(0 <= e && e < this.length, "start out of bounds"), w(0 <= i && i <= this.length, "end out of bounds");
|
|
530
|
-
for (var d = e; d < i; d++) this[d] = r;
|
|
531
|
-
}
|
|
532
|
-
}, l.prototype.inspect = function() {
|
|
533
|
-
for (var r = [], e = this.length, i = 0; i < e; i++) if (r[i] = j(this[i]), i === U.INSPECT_MAX_BYTES) {
|
|
534
|
-
r[i + 1] = "...";
|
|
535
|
-
break;
|
|
536
|
-
}
|
|
537
|
-
return "<Buffer " + r.join(" ") + ">";
|
|
538
|
-
}, l.prototype.toArrayBuffer = function() {
|
|
539
|
-
if (typeof Uint8Array > "u") throw new Error("Buffer.toArrayBuffer not supported in this browser");
|
|
540
|
-
if (l._useTypedArrays) return new l(this).buffer;
|
|
541
|
-
for (var r = new Uint8Array(this.length), e = 0, i = r.length; e < i; e += 1) r[e] = this[e];
|
|
542
|
-
return r.buffer;
|
|
543
|
-
};
|
|
544
|
-
var v = l.prototype;
|
|
545
|
-
function C(r, e, i) {
|
|
546
|
-
return typeof r != "number" ? i : e <= (r = ~~r) ? e : 0 <= r || 0 <= (r += e) ? r : 0;
|
|
547
|
-
}
|
|
548
|
-
function q(r) {
|
|
549
|
-
return (r = ~~Math.ceil(+r)) < 0 ? 0 : r;
|
|
550
|
-
}
|
|
551
|
-
function T(r) {
|
|
552
|
-
return (Array.isArray || function(e) {
|
|
553
|
-
return Object.prototype.toString.call(e) === "[object Array]";
|
|
554
|
-
})(r);
|
|
555
|
-
}
|
|
556
|
-
function j(r) {
|
|
557
|
-
return r < 16 ? "0" + r.toString(16) : r.toString(16);
|
|
558
|
-
}
|
|
559
|
-
function $(r) {
|
|
560
|
-
for (var e = [], i = 0; i < r.length; i++) {
|
|
561
|
-
var d = r.charCodeAt(i);
|
|
562
|
-
if (d <= 127) e.push(r.charCodeAt(i));
|
|
563
|
-
else for (var c = i, m = (55296 <= d && d <= 57343 && i++, encodeURIComponent(r.slice(c, i + 1)).substr(1).split("%")), L = 0; L < m.length; L++) e.push(parseInt(m[L], 16));
|
|
564
|
-
}
|
|
565
|
-
return e;
|
|
566
|
-
}
|
|
567
|
-
function or(r) {
|
|
568
|
-
return y.toByteArray(r);
|
|
569
|
-
}
|
|
570
|
-
function Q(r, e, i, d) {
|
|
571
|
-
for (var c = 0; c < d && !(c + i >= e.length || c >= r.length); c++) e[c + i] = r[c];
|
|
572
|
-
return c;
|
|
573
|
-
}
|
|
574
|
-
function ir(r) {
|
|
575
|
-
try {
|
|
576
|
-
return decodeURIComponent(r);
|
|
577
|
-
} catch {
|
|
578
|
-
return "�";
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
function nr(r, e) {
|
|
582
|
-
w(typeof r == "number", "cannot write a non-number as a number"), w(0 <= r, "specified a negative value for writing an unsigned value"), w(r <= e, "value is larger than maximum value for type"), w(Math.floor(r) === r, "value has a fractional component");
|
|
583
|
-
}
|
|
584
|
-
function tr(r, e, i) {
|
|
585
|
-
w(typeof r == "number", "cannot write a non-number as a number"), w(r <= e, "value larger than maximum allowed value"), w(i <= r, "value smaller than minimum allowed value"), w(Math.floor(r) === r, "value has a fractional component");
|
|
586
|
-
}
|
|
587
|
-
function sr(r, e, i) {
|
|
588
|
-
w(typeof r == "number", "cannot write a non-number as a number"), w(r <= e, "value larger than maximum allowed value"), w(i <= r, "value smaller than minimum allowed value");
|
|
589
|
-
}
|
|
590
|
-
function w(r, e) {
|
|
591
|
-
if (!r) throw new Error(e || "Failed assertion");
|
|
592
|
-
}
|
|
593
|
-
l._augment = function(r) {
|
|
594
|
-
return r._isBuffer = !0, r._get = r.get, r._set = r.set, r.get = v.get, r.set = v.set, r.write = v.write, r.toString = v.toString, r.toLocaleString = v.toString, r.toJSON = v.toJSON, r.copy = v.copy, r.slice = v.slice, r.readUInt8 = v.readUInt8, r.readUInt16LE = v.readUInt16LE, r.readUInt16BE = v.readUInt16BE, r.readUInt32LE = v.readUInt32LE, r.readUInt32BE = v.readUInt32BE, r.readInt8 = v.readInt8, r.readInt16LE = v.readInt16LE, r.readInt16BE = v.readInt16BE, r.readInt32LE = v.readInt32LE, r.readInt32BE = v.readInt32BE, r.readFloatLE = v.readFloatLE, r.readFloatBE = v.readFloatBE, r.readDoubleLE = v.readDoubleLE, r.readDoubleBE = v.readDoubleBE, r.writeUInt8 = v.writeUInt8, r.writeUInt16LE = v.writeUInt16LE, r.writeUInt16BE = v.writeUInt16BE, r.writeUInt32LE = v.writeUInt32LE, r.writeUInt32BE = v.writeUInt32BE, r.writeInt8 = v.writeInt8, r.writeInt16LE = v.writeInt16LE, r.writeInt16BE = v.writeInt16BE, r.writeInt32LE = v.writeInt32LE, r.writeInt32BE = v.writeInt32BE, r.writeFloatLE = v.writeFloatLE, r.writeFloatBE = v.writeFloatBE, r.writeDoubleLE = v.writeDoubleLE, r.writeDoubleBE = v.writeDoubleBE, r.fill = v.fill, r.inspect = v.inspect, r.toArrayBuffer = v.toArrayBuffer, r;
|
|
595
|
-
};
|
|
596
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/buffer/index.js", "/node_modules/gulp-browserify/node_modules/buffer");
|
|
597
|
-
}, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(E, k, U) {
|
|
598
|
-
(function(S, R, y, P, N, O, H, J, K) {
|
|
599
|
-
var y = E("buffer").Buffer, _ = 4, l = new y(_);
|
|
600
|
-
l.fill(0), k.exports = { hash: function(p, b, g, h) {
|
|
601
|
-
for (var I = b(function(n, u) {
|
|
602
|
-
n.length % _ != 0 && (a = n.length + (_ - n.length % _), n = y.concat([n, l], a));
|
|
603
|
-
for (var a, B = [], A = u ? n.readInt32BE : n.readInt32LE, x = 0; x < n.length; x += _) B.push(A.call(n, x));
|
|
604
|
-
return B;
|
|
605
|
-
}(p = y.isBuffer(p) ? p : new y(p), h), 8 * p.length), b = h, s = new y(g), f = b ? s.writeInt32BE : s.writeInt32LE, t = 0; t < I.length; t++) f.call(s, I[t], 4 * t, !0);
|
|
606
|
-
return s;
|
|
607
|
-
} };
|
|
608
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
609
|
-
}, { buffer: 3, lYpoI2: 11 }], 5: [function(E, k, U) {
|
|
610
|
-
(function(S, R, y, P, N, O, H, J, K) {
|
|
611
|
-
var y = E("buffer").Buffer, _ = E("./sha"), l = E("./sha256"), p = E("./rng"), b = { sha1: _, sha256: l, md5: E("./md5") }, g = 64, h = new y(g);
|
|
612
|
-
function I(n, u) {
|
|
613
|
-
var a = b[n = n || "sha1"], B = [];
|
|
614
|
-
return a || s("algorithm:", n, "is not yet supported"), { update: function(A) {
|
|
615
|
-
return y.isBuffer(A) || (A = new y(A)), B.push(A), A.length, this;
|
|
616
|
-
}, digest: function(A) {
|
|
617
|
-
var x = y.concat(B), x = u ? function(v, C, q) {
|
|
618
|
-
y.isBuffer(C) || (C = new y(C)), y.isBuffer(q) || (q = new y(q)), C.length > g ? C = v(C) : C.length < g && (C = y.concat([C, h], g));
|
|
619
|
-
for (var T = new y(g), j = new y(g), $ = 0; $ < g; $++) T[$] = 54 ^ C[$], j[$] = 92 ^ C[$];
|
|
620
|
-
return q = v(y.concat([T, q])), v(y.concat([j, q]));
|
|
621
|
-
}(a, u, x) : a(x);
|
|
622
|
-
return B = null, A ? x.toString(A) : x;
|
|
623
|
-
} };
|
|
624
|
-
}
|
|
625
|
-
function s() {
|
|
626
|
-
var n = [].slice.call(arguments).join(" ");
|
|
627
|
-
throw new Error([n, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join(`
|
|
628
|
-
`));
|
|
629
|
-
}
|
|
630
|
-
h.fill(0), U.createHash = function(n) {
|
|
631
|
-
return I(n);
|
|
632
|
-
}, U.createHmac = I, U.randomBytes = function(n, u) {
|
|
633
|
-
if (!u || !u.call) return new y(p(n));
|
|
634
|
-
try {
|
|
635
|
-
u.call(this, void 0, new y(p(n)));
|
|
636
|
-
} catch (a) {
|
|
637
|
-
u(a);
|
|
638
|
-
}
|
|
639
|
-
};
|
|
640
|
-
var f, t = ["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"], o = function(n) {
|
|
641
|
-
U[n] = function() {
|
|
642
|
-
s("sorry,", n, "is not implemented yet");
|
|
643
|
-
};
|
|
644
|
-
};
|
|
645
|
-
for (f in t) o(t[f]);
|
|
646
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
647
|
-
}, { "./md5": 6, "./rng": 7, "./sha": 8, "./sha256": 9, buffer: 3, lYpoI2: 11 }], 6: [function(E, k, U) {
|
|
648
|
-
(function(S, R, z, P, N, O, H, J, K) {
|
|
649
|
-
var y = E("./helpers");
|
|
650
|
-
function _(s, f) {
|
|
651
|
-
s[f >> 5] |= 128 << f % 32, s[14 + (f + 64 >>> 9 << 4)] = f;
|
|
652
|
-
for (var t = 1732584193, o = -271733879, n = -1732584194, u = 271733878, a = 0; a < s.length; a += 16) {
|
|
653
|
-
var B = t, A = o, x = n, v = u, t = p(t, o, n, u, s[a + 0], 7, -680876936), u = p(u, t, o, n, s[a + 1], 12, -389564586), n = p(n, u, t, o, s[a + 2], 17, 606105819), o = p(o, n, u, t, s[a + 3], 22, -1044525330);
|
|
654
|
-
t = p(t, o, n, u, s[a + 4], 7, -176418897), u = p(u, t, o, n, s[a + 5], 12, 1200080426), n = p(n, u, t, o, s[a + 6], 17, -1473231341), o = p(o, n, u, t, s[a + 7], 22, -45705983), t = p(t, o, n, u, s[a + 8], 7, 1770035416), u = p(u, t, o, n, s[a + 9], 12, -1958414417), n = p(n, u, t, o, s[a + 10], 17, -42063), o = p(o, n, u, t, s[a + 11], 22, -1990404162), t = p(t, o, n, u, s[a + 12], 7, 1804603682), u = p(u, t, o, n, s[a + 13], 12, -40341101), n = p(n, u, t, o, s[a + 14], 17, -1502002290), t = b(t, o = p(o, n, u, t, s[a + 15], 22, 1236535329), n, u, s[a + 1], 5, -165796510), u = b(u, t, o, n, s[a + 6], 9, -1069501632), n = b(n, u, t, o, s[a + 11], 14, 643717713), o = b(o, n, u, t, s[a + 0], 20, -373897302), t = b(t, o, n, u, s[a + 5], 5, -701558691), u = b(u, t, o, n, s[a + 10], 9, 38016083), n = b(n, u, t, o, s[a + 15], 14, -660478335), o = b(o, n, u, t, s[a + 4], 20, -405537848), t = b(t, o, n, u, s[a + 9], 5, 568446438), u = b(u, t, o, n, s[a + 14], 9, -1019803690), n = b(n, u, t, o, s[a + 3], 14, -187363961), o = b(o, n, u, t, s[a + 8], 20, 1163531501), t = b(t, o, n, u, s[a + 13], 5, -1444681467), u = b(u, t, o, n, s[a + 2], 9, -51403784), n = b(n, u, t, o, s[a + 7], 14, 1735328473), t = g(t, o = b(o, n, u, t, s[a + 12], 20, -1926607734), n, u, s[a + 5], 4, -378558), u = g(u, t, o, n, s[a + 8], 11, -2022574463), n = g(n, u, t, o, s[a + 11], 16, 1839030562), o = g(o, n, u, t, s[a + 14], 23, -35309556), t = g(t, o, n, u, s[a + 1], 4, -1530992060), u = g(u, t, o, n, s[a + 4], 11, 1272893353), n = g(n, u, t, o, s[a + 7], 16, -155497632), o = g(o, n, u, t, s[a + 10], 23, -1094730640), t = g(t, o, n, u, s[a + 13], 4, 681279174), u = g(u, t, o, n, s[a + 0], 11, -358537222), n = g(n, u, t, o, s[a + 3], 16, -722521979), o = g(o, n, u, t, s[a + 6], 23, 76029189), t = g(t, o, n, u, s[a + 9], 4, -640364487), u = g(u, t, o, n, s[a + 12], 11, -421815835), n = g(n, u, t, o, s[a + 15], 16, 530742520), t = h(t, o = g(o, n, u, t, s[a + 2], 23, -995338651), n, u, s[a + 0], 6, -198630844), u = h(u, t, o, n, s[a + 7], 10, 1126891415), n = h(n, u, t, o, s[a + 14], 15, -1416354905), o = h(o, n, u, t, s[a + 5], 21, -57434055), t = h(t, o, n, u, s[a + 12], 6, 1700485571), u = h(u, t, o, n, s[a + 3], 10, -1894986606), n = h(n, u, t, o, s[a + 10], 15, -1051523), o = h(o, n, u, t, s[a + 1], 21, -2054922799), t = h(t, o, n, u, s[a + 8], 6, 1873313359), u = h(u, t, o, n, s[a + 15], 10, -30611744), n = h(n, u, t, o, s[a + 6], 15, -1560198380), o = h(o, n, u, t, s[a + 13], 21, 1309151649), t = h(t, o, n, u, s[a + 4], 6, -145523070), u = h(u, t, o, n, s[a + 11], 10, -1120210379), n = h(n, u, t, o, s[a + 2], 15, 718787259), o = h(o, n, u, t, s[a + 9], 21, -343485551), t = I(t, B), o = I(o, A), n = I(n, x), u = I(u, v);
|
|
655
|
-
}
|
|
656
|
-
return Array(t, o, n, u);
|
|
657
|
-
}
|
|
658
|
-
function l(s, f, t, o, n, u) {
|
|
659
|
-
return I((f = I(I(f, s), I(o, u))) << n | f >>> 32 - n, t);
|
|
660
|
-
}
|
|
661
|
-
function p(s, f, t, o, n, u, a) {
|
|
662
|
-
return l(f & t | ~f & o, s, f, n, u, a);
|
|
663
|
-
}
|
|
664
|
-
function b(s, f, t, o, n, u, a) {
|
|
665
|
-
return l(f & o | t & ~o, s, f, n, u, a);
|
|
666
|
-
}
|
|
667
|
-
function g(s, f, t, o, n, u, a) {
|
|
668
|
-
return l(f ^ t ^ o, s, f, n, u, a);
|
|
669
|
-
}
|
|
670
|
-
function h(s, f, t, o, n, u, a) {
|
|
671
|
-
return l(t ^ (f | ~o), s, f, n, u, a);
|
|
672
|
-
}
|
|
673
|
-
function I(s, f) {
|
|
674
|
-
var t = (65535 & s) + (65535 & f);
|
|
675
|
-
return (s >> 16) + (f >> 16) + (t >> 16) << 16 | 65535 & t;
|
|
676
|
-
}
|
|
677
|
-
k.exports = function(s) {
|
|
678
|
-
return y.hash(s, _, 16);
|
|
679
|
-
};
|
|
680
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
681
|
-
}, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 7: [function(E, k, U) {
|
|
682
|
-
(function(S, R, z, P, N, O, H, J, K) {
|
|
683
|
-
k.exports = function(y) {
|
|
684
|
-
for (var _, l = new Array(y), p = 0; p < y; p++) !(3 & p) && (_ = 4294967296 * Math.random()), l[p] = _ >>> ((3 & p) << 3) & 255;
|
|
685
|
-
return l;
|
|
686
|
-
};
|
|
687
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
688
|
-
}, { buffer: 3, lYpoI2: 11 }], 8: [function(E, k, U) {
|
|
689
|
-
(function(S, R, z, P, N, O, H, J, K) {
|
|
690
|
-
var y = E("./helpers");
|
|
691
|
-
function _(b, g) {
|
|
692
|
-
b[g >> 5] |= 128 << 24 - g % 32, b[15 + (g + 64 >> 9 << 4)] = g;
|
|
693
|
-
for (var h, I, s, f = Array(80), t = 1732584193, o = -271733879, n = -1732584194, u = 271733878, a = -1009589776, B = 0; B < b.length; B += 16) {
|
|
694
|
-
for (var A = t, x = o, v = n, C = u, q = a, T = 0; T < 80; T++) {
|
|
695
|
-
f[T] = T < 16 ? b[B + T] : p(f[T - 3] ^ f[T - 8] ^ f[T - 14] ^ f[T - 16], 1);
|
|
696
|
-
var j = l(l(p(t, 5), (j = o, I = n, s = u, (h = T) < 20 ? j & I | ~j & s : !(h < 40) && h < 60 ? j & I | j & s | I & s : j ^ I ^ s)), l(l(a, f[T]), (h = T) < 20 ? 1518500249 : h < 40 ? 1859775393 : h < 60 ? -1894007588 : -899497514)), a = u, u = n, n = p(o, 30), o = t, t = j;
|
|
697
|
-
}
|
|
698
|
-
t = l(t, A), o = l(o, x), n = l(n, v), u = l(u, C), a = l(a, q);
|
|
699
|
-
}
|
|
700
|
-
return Array(t, o, n, u, a);
|
|
701
|
-
}
|
|
702
|
-
function l(b, g) {
|
|
703
|
-
var h = (65535 & b) + (65535 & g);
|
|
704
|
-
return (b >> 16) + (g >> 16) + (h >> 16) << 16 | 65535 & h;
|
|
705
|
-
}
|
|
706
|
-
function p(b, g) {
|
|
707
|
-
return b << g | b >>> 32 - g;
|
|
708
|
-
}
|
|
709
|
-
k.exports = function(b) {
|
|
710
|
-
return y.hash(b, _, 20, !0);
|
|
711
|
-
};
|
|
712
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
713
|
-
}, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 9: [function(E, k, U) {
|
|
714
|
-
(function(S, R, z, P, N, O, H, J, K) {
|
|
715
|
-
function y(g, h) {
|
|
716
|
-
var I = (65535 & g) + (65535 & h);
|
|
717
|
-
return (g >> 16) + (h >> 16) + (I >> 16) << 16 | 65535 & I;
|
|
718
|
-
}
|
|
719
|
-
function _(g, h) {
|
|
720
|
-
var I, s = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298), f = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), t = new Array(64);
|
|
721
|
-
g[h >> 5] |= 128 << 24 - h % 32, g[15 + (h + 64 >> 9 << 4)] = h;
|
|
722
|
-
for (var o, n, u = 0; u < g.length; u += 16) {
|
|
723
|
-
for (var a = f[0], B = f[1], A = f[2], x = f[3], v = f[4], C = f[5], q = f[6], T = f[7], j = 0; j < 64; j++) t[j] = j < 16 ? g[j + u] : y(y(y((n = t[j - 2], p(n, 17) ^ p(n, 19) ^ b(n, 10)), t[j - 7]), (n = t[j - 15], p(n, 7) ^ p(n, 18) ^ b(n, 3))), t[j - 16]), I = y(y(y(y(T, p(n = v, 6) ^ p(n, 11) ^ p(n, 25)), v & C ^ ~v & q), s[j]), t[j]), o = y(p(o = a, 2) ^ p(o, 13) ^ p(o, 22), a & B ^ a & A ^ B & A), T = q, q = C, C = v, v = y(x, I), x = A, A = B, B = a, a = y(I, o);
|
|
724
|
-
f[0] = y(a, f[0]), f[1] = y(B, f[1]), f[2] = y(A, f[2]), f[3] = y(x, f[3]), f[4] = y(v, f[4]), f[5] = y(C, f[5]), f[6] = y(q, f[6]), f[7] = y(T, f[7]);
|
|
725
|
-
}
|
|
726
|
-
return f;
|
|
727
|
-
}
|
|
728
|
-
var l = E("./helpers"), p = function(g, h) {
|
|
729
|
-
return g >>> h | g << 32 - h;
|
|
730
|
-
}, b = function(g, h) {
|
|
731
|
-
return g >>> h;
|
|
732
|
-
};
|
|
733
|
-
k.exports = function(g) {
|
|
734
|
-
return l.hash(g, _, 32, !0);
|
|
735
|
-
};
|
|
736
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
|
|
737
|
-
}, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 10: [function(E, k, U) {
|
|
738
|
-
(function(S, R, z, P, N, O, H, J, K) {
|
|
739
|
-
U.read = function(y, _, l, p, u) {
|
|
740
|
-
var g, h, I = 8 * u - p - 1, s = (1 << I) - 1, f = s >> 1, t = -7, o = l ? u - 1 : 0, n = l ? -1 : 1, u = y[_ + o];
|
|
741
|
-
for (o += n, g = u & (1 << -t) - 1, u >>= -t, t += I; 0 < t; g = 256 * g + y[_ + o], o += n, t -= 8) ;
|
|
742
|
-
for (h = g & (1 << -t) - 1, g >>= -t, t += p; 0 < t; h = 256 * h + y[_ + o], o += n, t -= 8) ;
|
|
743
|
-
if (g === 0) g = 1 - f;
|
|
744
|
-
else {
|
|
745
|
-
if (g === s) return h ? NaN : 1 / 0 * (u ? -1 : 1);
|
|
746
|
-
h += Math.pow(2, p), g -= f;
|
|
747
|
-
}
|
|
748
|
-
return (u ? -1 : 1) * h * Math.pow(2, g - p);
|
|
749
|
-
}, U.write = function(y, _, l, p, b, a) {
|
|
750
|
-
var h, I, s = 8 * a - b - 1, f = (1 << s) - 1, t = f >> 1, o = b === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, n = p ? 0 : a - 1, u = p ? 1 : -1, a = _ < 0 || _ === 0 && 1 / _ < 0 ? 1 : 0;
|
|
751
|
-
for (_ = Math.abs(_), isNaN(_) || _ === 1 / 0 ? (I = isNaN(_) ? 1 : 0, h = f) : (h = Math.floor(Math.log(_) / Math.LN2), _ * (p = Math.pow(2, -h)) < 1 && (h--, p *= 2), 2 <= (_ += 1 <= h + t ? o / p : o * Math.pow(2, 1 - t)) * p && (h++, p /= 2), f <= h + t ? (I = 0, h = f) : 1 <= h + t ? (I = (_ * p - 1) * Math.pow(2, b), h += t) : (I = _ * Math.pow(2, t - 1) * Math.pow(2, b), h = 0)); 8 <= b; y[l + n] = 255 & I, n += u, I /= 256, b -= 8) ;
|
|
752
|
-
for (h = h << b | I, s += b; 0 < s; y[l + n] = 255 & h, n += u, h /= 256, s -= 8) ;
|
|
753
|
-
y[l + n - u] |= 128 * a;
|
|
754
|
-
};
|
|
755
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/ieee754/index.js", "/node_modules/gulp-browserify/node_modules/ieee754");
|
|
756
|
-
}, { buffer: 3, lYpoI2: 11 }], 11: [function(E, k, U) {
|
|
757
|
-
(function(S, R, z, P, N, O, H, J, K) {
|
|
758
|
-
var y, _, l;
|
|
759
|
-
function p() {
|
|
760
|
-
}
|
|
761
|
-
(S = k.exports = {}).nextTick = (_ = typeof window < "u" && window.setImmediate, l = typeof window < "u" && window.postMessage && window.addEventListener, _ ? function(b) {
|
|
762
|
-
return window.setImmediate(b);
|
|
763
|
-
} : l ? (y = [], window.addEventListener("message", function(b) {
|
|
764
|
-
var g = b.source;
|
|
765
|
-
g !== window && g !== null || b.data !== "process-tick" || (b.stopPropagation(), 0 < y.length && y.shift()());
|
|
766
|
-
}, !0), function(b) {
|
|
767
|
-
y.push(b), window.postMessage("process-tick", "*");
|
|
768
|
-
}) : function(b) {
|
|
769
|
-
setTimeout(b, 0);
|
|
770
|
-
}), S.title = "browser", S.browser = !0, S.env = {}, S.argv = [], S.on = p, S.addListener = p, S.once = p, S.off = p, S.removeListener = p, S.removeAllListeners = p, S.emit = p, S.binding = function(b) {
|
|
771
|
-
throw new Error("process.binding is not supported");
|
|
772
|
-
}, S.cwd = function() {
|
|
773
|
-
return "/";
|
|
774
|
-
}, S.chdir = function(b) {
|
|
775
|
-
throw new Error("process.chdir is not supported");
|
|
776
|
-
};
|
|
777
|
-
}).call(this, E("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, E("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/process/browser.js", "/node_modules/gulp-browserify/node_modules/process");
|
|
778
|
-
}, { buffer: 3, lYpoI2: 11 }] }, {}, [1])(1);
|
|
779
|
-
});
|
|
780
|
-
}(er)), er.exports;
|
|
781
|
-
}
|
|
782
|
-
var cr = lr();
|
|
783
|
-
const pr = /* @__PURE__ */ fr(cr);
|
|
784
|
-
export {
|
|
785
|
-
pr as h
|
|
786
|
-
};
|
|
787
|
-
//# sourceMappingURL=object_hash-BNWPnMN9.js.map
|