@ezpaarse-project/ezreeport-sdk-js 2.2.0-beta.1 → 2.2.0-beta.2
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/_commonjsHelpers-C6fGbg64.mjs +7 -0
- package/dist/_commonjsHelpers-C6fGbg64.mjs.map +1 -0
- package/dist/_commonjsHelpers-DwGv2jUC.js +2 -0
- package/dist/_commonjsHelpers-DwGv2jUC.js.map +1 -0
- package/dist/auth.js +1 -1
- package/dist/auth.mjs +1 -1
- package/dist/crons.js +1 -1
- package/dist/crons.mjs +1 -1
- package/dist/elastic.js +1 -1
- package/dist/elastic.mjs +1 -1
- package/dist/fetch-CLjbXGAV.js +2 -0
- package/dist/fetch-CLjbXGAV.js.map +1 -0
- package/dist/fetch-kzLaYwl7.mjs +47 -0
- package/dist/fetch-kzLaYwl7.mjs.map +1 -0
- package/dist/generations.js +1 -1
- package/dist/generations.mjs +1 -1
- package/dist/health.js +1 -1
- package/dist/health.mjs +1 -1
- package/dist/helpers/figures.js +1 -1
- package/dist/helpers/figures.mjs +4 -4
- package/dist/helpers/generations.js +1 -1
- package/dist/helpers/generations.js.map +1 -1
- package/dist/helpers/generations.mjs +41 -43
- package/dist/helpers/generations.mjs.map +1 -1
- package/dist/helpers/layouts.js +1 -1
- package/dist/helpers/layouts.mjs +3 -3
- package/dist/helpers/permissions.js +1 -1
- package/dist/helpers/permissions.mjs +1 -1
- package/dist/helpers/task-presets.js +1 -1
- package/dist/helpers/task-presets.mjs +1 -1
- package/dist/helpers/tasks.js +1 -1
- package/dist/helpers/tasks.js.map +1 -1
- package/dist/helpers/tasks.mjs +13 -13
- package/dist/helpers/templates.js +1 -1
- package/dist/helpers/templates.js.map +1 -1
- package/dist/helpers/templates.mjs +3 -3
- package/dist/index-CVa-i8Jy.js +7 -0
- package/dist/index-CVa-i8Jy.js.map +1 -0
- package/dist/index-CqG3FOrT.mjs +1113 -0
- package/dist/index-CqG3FOrT.mjs.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{methods-eIVAWN5f.js → methods--DanahvX.js} +2 -2
- package/dist/{methods-eIVAWN5f.js.map → methods--DanahvX.js.map} +1 -1
- package/dist/{methods-CBlHpa4P.js → methods-B7KR7IhF.js} +2 -2
- package/dist/{methods-CBlHpa4P.js.map → methods-B7KR7IhF.js.map} +1 -1
- package/dist/{methods-Crgt0cEf.mjs → methods-BEqx06jZ.mjs} +3 -3
- package/dist/{methods-Crgt0cEf.mjs.map → methods-BEqx06jZ.mjs.map} +1 -1
- package/dist/{methods-BcKnS6pA.mjs → methods-BMzxDoxk.mjs} +2 -2
- package/dist/{methods-BcKnS6pA.mjs.map → methods-BMzxDoxk.mjs.map} +1 -1
- package/dist/{methods-CvCyx_v_.js → methods-BRTxG87E.js} +2 -2
- package/dist/{methods-CvCyx_v_.js.map → methods-BRTxG87E.js.map} +1 -1
- package/dist/{methods-Ba1XR8Ij.mjs → methods-BeMtF2ph.mjs} +2 -2
- package/dist/{methods-Ba1XR8Ij.mjs.map → methods-BeMtF2ph.mjs.map} +1 -1
- package/dist/{methods-DJctQ3lm.js → methods-C85_VqKZ.js} +2 -2
- package/dist/{methods-DJctQ3lm.js.map → methods-C85_VqKZ.js.map} +1 -1
- package/dist/{methods-Bf8iqEhG.mjs → methods-D5Sa5dxr.mjs} +3 -3
- package/dist/{methods-Bf8iqEhG.mjs.map → methods-D5Sa5dxr.mjs.map} +1 -1
- package/dist/{methods-HbhrcB_u.js → methods-DRivN56g.js} +2 -2
- package/dist/{methods-HbhrcB_u.js.map → methods-DRivN56g.js.map} +1 -1
- package/dist/{methods-B78wxcbm.mjs → methods-DtUaMG7I.mjs} +2 -2
- package/dist/{methods-B78wxcbm.mjs.map → methods-DtUaMG7I.mjs.map} +1 -1
- package/dist/{methods-_8MaDPJ6.mjs → methods-DvvWsTzZ.mjs} +2 -2
- package/dist/{methods-_8MaDPJ6.mjs.map → methods-DvvWsTzZ.mjs.map} +1 -1
- package/dist/{methods-Cvs5hjsE.js → methods-ExKehD5I.js} +2 -2
- package/dist/{methods-Cvs5hjsE.js.map → methods-ExKehD5I.js.map} +1 -1
- package/dist/recurrence.js +1 -1
- package/dist/recurrence.mjs +2 -2
- package/dist/reports.js +1 -1
- package/dist/reports.mjs +1 -1
- package/dist/task-activity.js +1 -1
- package/dist/task-activity.mjs +2 -2
- package/dist/task-presets.js +1 -1
- package/dist/task-presets.mjs +1 -1
- package/dist/{tasks-FPNOmtnL.js → tasks-C-Si9c_j.js} +2 -2
- package/dist/{tasks-FPNOmtnL.js.map → tasks-C-Si9c_j.js.map} +1 -1
- package/dist/{tasks-Cc53eQzu.mjs → tasks-rnhGl39m.mjs} +2 -2
- package/dist/{tasks-Cc53eQzu.mjs.map → tasks-rnhGl39m.mjs.map} +1 -1
- package/dist/tasks.js +1 -1
- package/dist/tasks.mjs +1 -1
- package/dist/templates-BNAX4vB8.mjs +29 -0
- package/dist/{templates-C_qWeEww.mjs.map → templates-BNAX4vB8.mjs.map} +1 -1
- package/dist/templates-D7C0TH1C.js +2 -0
- package/dist/{templates-lPeMpQuz.js.map → templates-D7C0TH1C.js.map} +1 -1
- package/dist/templates.js +1 -1
- package/dist/templates.mjs +1 -1
- package/package.json +2 -2
- package/dist/fetch-Cp3-cNix.mjs +0 -44
- package/dist/fetch-Cp3-cNix.mjs.map +0 -1
- package/dist/fetch-DA1lo0q0.js +0 -2
- package/dist/fetch-DA1lo0q0.js.map +0 -1
- package/dist/index-Cc9-CotA.js +0 -2
- package/dist/index-Cc9-CotA.js.map +0 -1
- package/dist/index-D6K5zKgZ.mjs +0 -330
- package/dist/index-D6K5zKgZ.mjs.map +0 -1
- package/dist/templates-C_qWeEww.mjs +0 -30
- package/dist/templates-lPeMpQuz.js +0 -2
|
@@ -0,0 +1,1113 @@
|
|
|
1
|
+
var Ir = Object.defineProperty, Ar = Object.defineProperties;
|
|
2
|
+
var Br = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var hr = Object.getOwnPropertySymbols;
|
|
4
|
+
var Lr = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var gr = (s, _, d) => _ in s ? Ir(s, _, { enumerable: !0, configurable: !0, writable: !0, value: d }) : s[_] = d, ar = (s, _) => {
|
|
6
|
+
for (var d in _ || (_ = {}))
|
|
7
|
+
Lr.call(_, d) && gr(s, d, _[d]);
|
|
8
|
+
if (hr)
|
|
9
|
+
for (var d of hr(_))
|
|
10
|
+
xr.call(_, d) && gr(s, d, _[d]);
|
|
11
|
+
return s;
|
|
12
|
+
}, sr = (s, _) => Ar(s, Br(_));
|
|
13
|
+
import { g as Sr } from "./_commonjsHelpers-C6fGbg64.mjs";
|
|
14
|
+
let Ur = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Cr = (s = 21) => {
|
|
15
|
+
let _ = "", d = s | 0;
|
|
16
|
+
for (; d--; )
|
|
17
|
+
_ += Ur[Math.random() * 64 | 0];
|
|
18
|
+
return _;
|
|
19
|
+
};
|
|
20
|
+
function nr(s) {
|
|
21
|
+
throw new Error('Could not dynamically require "' + s + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
22
|
+
}
|
|
23
|
+
var ur = { exports: {} }, yr;
|
|
24
|
+
function jr() {
|
|
25
|
+
return yr || (yr = 1, function(s, _) {
|
|
26
|
+
(function(d) {
|
|
27
|
+
s.exports = d();
|
|
28
|
+
})(function() {
|
|
29
|
+
return function d(B, I, x) {
|
|
30
|
+
function k(T, q) {
|
|
31
|
+
if (!I[T]) {
|
|
32
|
+
if (!B[T]) {
|
|
33
|
+
var V = typeof nr == "function" && nr;
|
|
34
|
+
if (!q && V) return V(T, !0);
|
|
35
|
+
if (D) return D(T, !0);
|
|
36
|
+
throw new Error("Cannot find module '" + T + "'");
|
|
37
|
+
}
|
|
38
|
+
q = I[T] = { exports: {} }, B[T][0].call(q.exports, function(R) {
|
|
39
|
+
var z = B[T][1][R];
|
|
40
|
+
return k(z || R);
|
|
41
|
+
}, q, q.exports, d, B, I, x);
|
|
42
|
+
}
|
|
43
|
+
return I[T].exports;
|
|
44
|
+
}
|
|
45
|
+
for (var D = typeof nr == "function" && nr, N = 0; N < x.length; N++) k(x[N]);
|
|
46
|
+
return k;
|
|
47
|
+
}({ 1: [function(d, B, I) {
|
|
48
|
+
(function(x, k, D, N, T, q, V, R, z) {
|
|
49
|
+
var b = d("crypto");
|
|
50
|
+
function L(a, l) {
|
|
51
|
+
l = E(a, l);
|
|
52
|
+
var e;
|
|
53
|
+
return (e = l.algorithm !== "passthrough" ? b.createHash(l.algorithm) : new S()).write === void 0 && (e.write = e.update, e.end = e.update), g(l, e).dispatch(a), e.update || e.end(""), e.digest ? e.digest(l.encoding === "buffer" ? void 0 : l.encoding) : (a = e.read(), l.encoding !== "buffer" ? a.toString(l.encoding) : a);
|
|
54
|
+
}
|
|
55
|
+
(I = B.exports = L).sha1 = function(a) {
|
|
56
|
+
return L(a);
|
|
57
|
+
}, I.keys = function(a) {
|
|
58
|
+
return L(a, { excludeValues: !0, algorithm: "sha1", encoding: "hex" });
|
|
59
|
+
}, I.MD5 = function(a) {
|
|
60
|
+
return L(a, { algorithm: "md5", encoding: "hex" });
|
|
61
|
+
}, I.keysMD5 = function(a) {
|
|
62
|
+
return L(a, { algorithm: "md5", encoding: "hex", excludeValues: !0 });
|
|
63
|
+
};
|
|
64
|
+
var c = b.getHashes ? b.getHashes().slice() : ["sha1", "md5"], y = (c.push("passthrough"), ["buffer", "hex", "binary", "base64"]);
|
|
65
|
+
function E(a, l) {
|
|
66
|
+
var e = {};
|
|
67
|
+
if (e.algorithm = (l = l || {}).algorithm || "sha1", e.encoding = l.encoding || "hex", e.excludeValues = !!l.excludeValues, e.algorithm = e.algorithm.toLowerCase(), e.encoding = e.encoding.toLowerCase(), e.ignoreUnknown = l.ignoreUnknown === !0, e.respectType = l.respectType !== !1, e.respectFunctionNames = l.respectFunctionNames !== !1, e.respectFunctionProperties = l.respectFunctionProperties !== !1, e.unorderedArrays = l.unorderedArrays === !0, e.unorderedSets = l.unorderedSets !== !1, e.unorderedObjects = l.unorderedObjects !== !1, e.replacer = l.replacer || void 0, e.excludeKeys = l.excludeKeys || void 0, a === void 0) throw new Error("Object argument required.");
|
|
68
|
+
for (var o = 0; o < c.length; ++o) c[o].toLowerCase() === e.algorithm.toLowerCase() && (e.algorithm = c[o]);
|
|
69
|
+
if (c.indexOf(e.algorithm) === -1) throw new Error('Algorithm "' + e.algorithm + '" not supported. supported values: ' + c.join(", "));
|
|
70
|
+
if (y.indexOf(e.encoding) === -1 && e.algorithm !== "passthrough") throw new Error('Encoding "' + e.encoding + '" not supported. supported values: ' + y.join(", "));
|
|
71
|
+
return e;
|
|
72
|
+
}
|
|
73
|
+
function m(a) {
|
|
74
|
+
if (typeof a == "function") return /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(a)) != null;
|
|
75
|
+
}
|
|
76
|
+
function g(a, l, e) {
|
|
77
|
+
e = e || [];
|
|
78
|
+
function o(t) {
|
|
79
|
+
return l.update ? l.update(t, "utf8") : l.write(t, "utf8");
|
|
80
|
+
}
|
|
81
|
+
return { dispatch: function(t) {
|
|
82
|
+
return this["_" + ((t = a.replacer ? a.replacer(t) : t) === null ? "null" : typeof t)](t);
|
|
83
|
+
}, _object: function(t) {
|
|
84
|
+
var u, f = Object.prototype.toString.call(t), C = /\[object (.*)\]/i.exec(f);
|
|
85
|
+
if (C = (C = C ? C[1] : "unknown:[" + f + "]").toLowerCase(), 0 <= (f = e.indexOf(t))) return this.dispatch("[CIRCULAR:" + f + "]");
|
|
86
|
+
if (e.push(t), D !== void 0 && D.isBuffer && D.isBuffer(t)) return o("buffer:"), o(t);
|
|
87
|
+
if (C === "object" || C === "function" || C === "asyncfunction") return f = Object.keys(t), a.unorderedObjects && (f = f.sort()), a.respectType === !1 || m(t) || f.splice(0, 0, "prototype", "__proto__", "constructor"), a.excludeKeys && (f = f.filter(function(U) {
|
|
88
|
+
return !a.excludeKeys(U);
|
|
89
|
+
})), o("object:" + f.length + ":"), u = this, f.forEach(function(U) {
|
|
90
|
+
u.dispatch(U), o(":"), a.excludeValues || u.dispatch(t[U]), o(",");
|
|
91
|
+
});
|
|
92
|
+
if (!this["_" + C]) {
|
|
93
|
+
if (a.ignoreUnknown) return o("[" + C + "]");
|
|
94
|
+
throw new Error('Unknown object type "' + C + '"');
|
|
95
|
+
}
|
|
96
|
+
this["_" + C](t);
|
|
97
|
+
}, _array: function(t, U) {
|
|
98
|
+
U = U !== void 0 ? U : a.unorderedArrays !== !1;
|
|
99
|
+
var f = this;
|
|
100
|
+
if (o("array:" + t.length + ":"), !U || t.length <= 1) return t.forEach(function(j) {
|
|
101
|
+
return f.dispatch(j);
|
|
102
|
+
});
|
|
103
|
+
var C = [], U = t.map(function(j) {
|
|
104
|
+
var A = new S(), H = e.slice();
|
|
105
|
+
return g(a, A, H).dispatch(j), C = C.concat(H.slice(e.length)), A.read().toString();
|
|
106
|
+
});
|
|
107
|
+
return e = e.concat(C), U.sort(), this._array(U, !1);
|
|
108
|
+
}, _date: function(t) {
|
|
109
|
+
return o("date:" + t.toJSON());
|
|
110
|
+
}, _symbol: function(t) {
|
|
111
|
+
return o("symbol:" + t.toString());
|
|
112
|
+
}, _error: function(t) {
|
|
113
|
+
return o("error:" + t.toString());
|
|
114
|
+
}, _boolean: function(t) {
|
|
115
|
+
return o("bool:" + t.toString());
|
|
116
|
+
}, _string: function(t) {
|
|
117
|
+
o("string:" + t.length + ":"), o(t.toString());
|
|
118
|
+
}, _function: function(t) {
|
|
119
|
+
o("fn:"), m(t) ? this.dispatch("[native]") : this.dispatch(t.toString()), a.respectFunctionNames !== !1 && this.dispatch("function-name:" + String(t.name)), a.respectFunctionProperties && this._object(t);
|
|
120
|
+
}, _number: function(t) {
|
|
121
|
+
return o("number:" + t.toString());
|
|
122
|
+
}, _xml: function(t) {
|
|
123
|
+
return o("xml:" + t.toString());
|
|
124
|
+
}, _null: function() {
|
|
125
|
+
return o("Null");
|
|
126
|
+
}, _undefined: function() {
|
|
127
|
+
return o("Undefined");
|
|
128
|
+
}, _regexp: function(t) {
|
|
129
|
+
return o("regex:" + t.toString());
|
|
130
|
+
}, _uint8array: function(t) {
|
|
131
|
+
return o("uint8array:"), this.dispatch(Array.prototype.slice.call(t));
|
|
132
|
+
}, _uint8clampedarray: function(t) {
|
|
133
|
+
return o("uint8clampedarray:"), this.dispatch(Array.prototype.slice.call(t));
|
|
134
|
+
}, _int8array: function(t) {
|
|
135
|
+
return o("int8array:"), this.dispatch(Array.prototype.slice.call(t));
|
|
136
|
+
}, _uint16array: function(t) {
|
|
137
|
+
return o("uint16array:"), this.dispatch(Array.prototype.slice.call(t));
|
|
138
|
+
}, _int16array: function(t) {
|
|
139
|
+
return o("int16array:"), this.dispatch(Array.prototype.slice.call(t));
|
|
140
|
+
}, _uint32array: function(t) {
|
|
141
|
+
return o("uint32array:"), this.dispatch(Array.prototype.slice.call(t));
|
|
142
|
+
}, _int32array: function(t) {
|
|
143
|
+
return o("int32array:"), this.dispatch(Array.prototype.slice.call(t));
|
|
144
|
+
}, _float32array: function(t) {
|
|
145
|
+
return o("float32array:"), this.dispatch(Array.prototype.slice.call(t));
|
|
146
|
+
}, _float64array: function(t) {
|
|
147
|
+
return o("float64array:"), this.dispatch(Array.prototype.slice.call(t));
|
|
148
|
+
}, _arraybuffer: function(t) {
|
|
149
|
+
return o("arraybuffer:"), this.dispatch(new Uint8Array(t));
|
|
150
|
+
}, _url: function(t) {
|
|
151
|
+
return o("url:" + t.toString());
|
|
152
|
+
}, _map: function(t) {
|
|
153
|
+
return o("map:"), t = Array.from(t), this._array(t, a.unorderedSets !== !1);
|
|
154
|
+
}, _set: function(t) {
|
|
155
|
+
return o("set:"), t = Array.from(t), this._array(t, a.unorderedSets !== !1);
|
|
156
|
+
}, _file: function(t) {
|
|
157
|
+
return o("file:"), this.dispatch([t.name, t.size, t.type, t.lastModfied]);
|
|
158
|
+
}, _blob: function() {
|
|
159
|
+
if (a.ignoreUnknown) return o("[blob]");
|
|
160
|
+
throw Error(`Hashing Blob objects is currently not supported
|
|
161
|
+
(see https://github.com/puleos/object-hash/issues/26)
|
|
162
|
+
Use "options.replacer" or "options.ignoreUnknown"
|
|
163
|
+
`);
|
|
164
|
+
}, _domwindow: function() {
|
|
165
|
+
return o("domwindow");
|
|
166
|
+
}, _bigint: function(t) {
|
|
167
|
+
return o("bigint:" + t.toString());
|
|
168
|
+
}, _process: function() {
|
|
169
|
+
return o("process");
|
|
170
|
+
}, _timer: function() {
|
|
171
|
+
return o("timer");
|
|
172
|
+
}, _pipe: function() {
|
|
173
|
+
return o("pipe");
|
|
174
|
+
}, _tcp: function() {
|
|
175
|
+
return o("tcp");
|
|
176
|
+
}, _udp: function() {
|
|
177
|
+
return o("udp");
|
|
178
|
+
}, _tty: function() {
|
|
179
|
+
return o("tty");
|
|
180
|
+
}, _statwatcher: function() {
|
|
181
|
+
return o("statwatcher");
|
|
182
|
+
}, _securecontext: function() {
|
|
183
|
+
return o("securecontext");
|
|
184
|
+
}, _connection: function() {
|
|
185
|
+
return o("connection");
|
|
186
|
+
}, _zlib: function() {
|
|
187
|
+
return o("zlib");
|
|
188
|
+
}, _context: function() {
|
|
189
|
+
return o("context");
|
|
190
|
+
}, _nodescript: function() {
|
|
191
|
+
return o("nodescript");
|
|
192
|
+
}, _httpparser: function() {
|
|
193
|
+
return o("httpparser");
|
|
194
|
+
}, _dataview: function() {
|
|
195
|
+
return o("dataview");
|
|
196
|
+
}, _signal: function() {
|
|
197
|
+
return o("signal");
|
|
198
|
+
}, _fsevent: function() {
|
|
199
|
+
return o("fsevent");
|
|
200
|
+
}, _tlswrap: function() {
|
|
201
|
+
return o("tlswrap");
|
|
202
|
+
} };
|
|
203
|
+
}
|
|
204
|
+
function S() {
|
|
205
|
+
return { buf: "", write: function(a) {
|
|
206
|
+
this.buf += a;
|
|
207
|
+
}, end: function(a) {
|
|
208
|
+
this.buf += a;
|
|
209
|
+
}, read: function() {
|
|
210
|
+
return this.buf;
|
|
211
|
+
} };
|
|
212
|
+
}
|
|
213
|
+
I.writeToStream = function(a, l, e) {
|
|
214
|
+
return e === void 0 && (e = l, l = {}), g(l = E(a, l), e).dispatch(a);
|
|
215
|
+
};
|
|
216
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_9a5aa49d.js", "/");
|
|
217
|
+
}, { buffer: 3, crypto: 5, lYpoI2: 11 }], 2: [function(d, B, I) {
|
|
218
|
+
(function(x, k, D, N, T, q, V, R, z) {
|
|
219
|
+
(function(b) {
|
|
220
|
+
var L = typeof Uint8Array != "undefined" ? Uint8Array : Array, c = 43, y = 47, E = 48, m = 97, g = 65, S = 45, a = 95;
|
|
221
|
+
function l(e) {
|
|
222
|
+
return e = e.charCodeAt(0), e === c || e === S ? 62 : e === y || e === a ? 63 : e < E ? -1 : e < E + 10 ? e - E + 26 + 26 : e < g + 26 ? e - g : e < m + 26 ? e - m + 26 : void 0;
|
|
223
|
+
}
|
|
224
|
+
b.toByteArray = function(e) {
|
|
225
|
+
var o, t;
|
|
226
|
+
if (0 < e.length % 4) throw new Error("Invalid string. Length must be a multiple of 4");
|
|
227
|
+
var u = e.length, u = e.charAt(u - 2) === "=" ? 2 : e.charAt(u - 1) === "=" ? 1 : 0, f = new L(3 * e.length / 4 - u), C = 0 < u ? e.length - 4 : e.length, U = 0;
|
|
228
|
+
function j(A) {
|
|
229
|
+
f[U++] = A;
|
|
230
|
+
}
|
|
231
|
+
for (o = 0; o < C; o += 4, 0) j((16711680 & (t = l(e.charAt(o)) << 18 | l(e.charAt(o + 1)) << 12 | l(e.charAt(o + 2)) << 6 | l(e.charAt(o + 3)))) >> 16), j((65280 & t) >> 8), j(255 & t);
|
|
232
|
+
return u == 2 ? j(255 & (t = l(e.charAt(o)) << 2 | l(e.charAt(o + 1)) >> 4)) : u == 1 && (j((t = l(e.charAt(o)) << 10 | l(e.charAt(o + 1)) << 4 | l(e.charAt(o + 2)) >> 2) >> 8 & 255), j(255 & t)), f;
|
|
233
|
+
}, b.fromByteArray = function(e) {
|
|
234
|
+
var o, t, u, f, C = e.length % 3, U = "";
|
|
235
|
+
function j(A) {
|
|
236
|
+
return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(A);
|
|
237
|
+
}
|
|
238
|
+
for (o = 0, u = e.length - C; o < u; o += 3) t = (e[o] << 16) + (e[o + 1] << 8) + e[o + 2], U += j((f = t) >> 18 & 63) + j(f >> 12 & 63) + j(f >> 6 & 63) + j(63 & f);
|
|
239
|
+
switch (C) {
|
|
240
|
+
case 1:
|
|
241
|
+
U = (U += j((t = e[e.length - 1]) >> 2)) + j(t << 4 & 63) + "==";
|
|
242
|
+
break;
|
|
243
|
+
case 2:
|
|
244
|
+
U = (U = (U += j((t = (e[e.length - 2] << 8) + e[e.length - 1]) >> 10)) + j(t >> 4 & 63)) + j(t << 2 & 63) + "=";
|
|
245
|
+
}
|
|
246
|
+
return U;
|
|
247
|
+
};
|
|
248
|
+
})(I === void 0 ? this.base64js = {} : I);
|
|
249
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("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");
|
|
250
|
+
}, { buffer: 3, lYpoI2: 11 }], 3: [function(d, B, I) {
|
|
251
|
+
(function(x, k, c, N, T, q, V, R, z) {
|
|
252
|
+
var b = d("base64-js"), L = d("ieee754");
|
|
253
|
+
function c(r, n, i) {
|
|
254
|
+
if (!(this instanceof c)) return new c(r, n, i);
|
|
255
|
+
var h, p, v, F, Y = typeof r;
|
|
256
|
+
if (n === "base64" && Y == "string") for (r = (F = r).trim ? F.trim() : F.replace(/^\s+|\s+$/g, ""); r.length % 4 != 0; ) r += "=";
|
|
257
|
+
if (Y == "number") h = W(r);
|
|
258
|
+
else if (Y == "string") h = c.byteLength(r, n);
|
|
259
|
+
else {
|
|
260
|
+
if (Y != "object") throw new Error("First argument needs to be a number, array or string.");
|
|
261
|
+
h = W(r.length);
|
|
262
|
+
}
|
|
263
|
+
if (c._useTypedArrays ? p = c._augment(new Uint8Array(h)) : ((p = this).length = h, p._isBuffer = !0), c._useTypedArrays && typeof r.byteLength == "number") p._set(r);
|
|
264
|
+
else if (O(F = r) || c.isBuffer(F) || F && typeof F == "object" && typeof F.length == "number") for (v = 0; v < h; v++) c.isBuffer(r) ? p[v] = r.readUInt8(v) : p[v] = r[v];
|
|
265
|
+
else if (Y == "string") p.write(r, 0, n);
|
|
266
|
+
else if (Y == "number" && !c._useTypedArrays && !i) for (v = 0; v < h; v++) p[v] = 0;
|
|
267
|
+
return p;
|
|
268
|
+
}
|
|
269
|
+
function y(r, n, i, h) {
|
|
270
|
+
return c._charsWritten = er(function(p) {
|
|
271
|
+
for (var v = [], F = 0; F < p.length; F++) v.push(255 & p.charCodeAt(F));
|
|
272
|
+
return v;
|
|
273
|
+
}(n), r, i, h);
|
|
274
|
+
}
|
|
275
|
+
function E(r, n, i, h) {
|
|
276
|
+
return c._charsWritten = er(function(p) {
|
|
277
|
+
for (var v, F, Y = [], K = 0; K < p.length; K++) F = p.charCodeAt(K), v = F >> 8, F = F % 256, Y.push(F), Y.push(v);
|
|
278
|
+
return Y;
|
|
279
|
+
}(n), r, i, h);
|
|
280
|
+
}
|
|
281
|
+
function m(r, n, i) {
|
|
282
|
+
var h = "";
|
|
283
|
+
i = Math.min(r.length, i);
|
|
284
|
+
for (var p = n; p < i; p++) h += String.fromCharCode(r[p]);
|
|
285
|
+
return h;
|
|
286
|
+
}
|
|
287
|
+
function g(r, n, i, v) {
|
|
288
|
+
v || (w(typeof i == "boolean", "missing or invalid endian"), w(n != null, "missing offset"), w(n + 1 < r.length, "Trying to read beyond buffer length"));
|
|
289
|
+
var p, v = r.length;
|
|
290
|
+
if (!(v <= n)) return i ? (p = r[n], n + 1 < v && (p |= r[n + 1] << 8)) : (p = r[n] << 8, n + 1 < v && (p |= r[n + 1])), p;
|
|
291
|
+
}
|
|
292
|
+
function S(r, n, i, v) {
|
|
293
|
+
v || (w(typeof i == "boolean", "missing or invalid endian"), w(n != null, "missing offset"), w(n + 3 < r.length, "Trying to read beyond buffer length"));
|
|
294
|
+
var p, v = r.length;
|
|
295
|
+
if (!(v <= n)) return i ? (n + 2 < v && (p = r[n + 2] << 16), n + 1 < v && (p |= r[n + 1] << 8), p |= r[n], n + 3 < v && (p += r[n + 3] << 24 >>> 0)) : (n + 1 < v && (p = r[n + 1] << 16), n + 2 < v && (p |= r[n + 2] << 8), n + 3 < v && (p |= r[n + 3]), p += r[n] << 24 >>> 0), p;
|
|
296
|
+
}
|
|
297
|
+
function a(r, n, i, h) {
|
|
298
|
+
if (h || (w(typeof i == "boolean", "missing or invalid endian"), w(n != null, "missing offset"), w(n + 1 < r.length, "Trying to read beyond buffer length")), !(r.length <= n)) return h = g(r, n, i, !0), 32768 & h ? -1 * (65535 - h + 1) : h;
|
|
299
|
+
}
|
|
300
|
+
function l(r, n, i, h) {
|
|
301
|
+
if (h || (w(typeof i == "boolean", "missing or invalid endian"), w(n != null, "missing offset"), w(n + 3 < r.length, "Trying to read beyond buffer length")), !(r.length <= n)) return h = S(r, n, i, !0), 2147483648 & h ? -1 * (4294967295 - h + 1) : h;
|
|
302
|
+
}
|
|
303
|
+
function e(r, n, i, h) {
|
|
304
|
+
return h || (w(typeof i == "boolean", "missing or invalid endian"), w(n + 3 < r.length, "Trying to read beyond buffer length")), L.read(r, n, i, 23, 4);
|
|
305
|
+
}
|
|
306
|
+
function o(r, n, i, h) {
|
|
307
|
+
return h || (w(typeof i == "boolean", "missing or invalid endian"), w(n + 7 < r.length, "Trying to read beyond buffer length")), L.read(r, n, i, 52, 8);
|
|
308
|
+
}
|
|
309
|
+
function t(r, n, i, h, p) {
|
|
310
|
+
if (p || (w(n != null, "missing value"), w(typeof h == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 1 < r.length, "trying to write beyond buffer length"), or(n, 65535)), p = r.length, !(p <= i)) for (var v = 0, F = Math.min(p - i, 2); v < F; v++) r[i + v] = (n & 255 << 8 * (h ? v : 1 - v)) >>> 8 * (h ? v : 1 - v);
|
|
311
|
+
}
|
|
312
|
+
function u(r, n, i, h, p) {
|
|
313
|
+
if (p || (w(n != null, "missing value"), w(typeof h == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 3 < r.length, "trying to write beyond buffer length"), or(n, 4294967295)), p = r.length, !(p <= i)) for (var v = 0, F = Math.min(p - i, 4); v < F; v++) r[i + v] = n >>> 8 * (h ? v : 3 - v) & 255;
|
|
314
|
+
}
|
|
315
|
+
function f(r, n, i, h, p) {
|
|
316
|
+
p || (w(n != null, "missing value"), w(typeof h == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 1 < r.length, "Trying to write beyond buffer length"), ir(n, 32767, -32768)), r.length <= i || t(r, 0 <= n ? n : 65535 + n + 1, i, h, p);
|
|
317
|
+
}
|
|
318
|
+
function C(r, n, i, h, p) {
|
|
319
|
+
p || (w(n != null, "missing value"), w(typeof h == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 3 < r.length, "Trying to write beyond buffer length"), ir(n, 2147483647, -2147483648)), r.length <= i || u(r, 0 <= n ? n : 4294967295 + n + 1, i, h, p);
|
|
320
|
+
}
|
|
321
|
+
function U(r, n, i, h, p) {
|
|
322
|
+
p || (w(n != null, "missing value"), w(typeof h == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 3 < r.length, "Trying to write beyond buffer length"), dr(n, 34028234663852886e22, -34028234663852886e22)), r.length <= i || L.write(r, n, i, h, 23, 4);
|
|
323
|
+
}
|
|
324
|
+
function j(r, n, i, h, p) {
|
|
325
|
+
p || (w(n != null, "missing value"), w(typeof h == "boolean", "missing or invalid endian"), w(i != null, "missing offset"), w(i + 7 < r.length, "Trying to write beyond buffer length"), dr(n, 17976931348623157e292, -17976931348623157e292)), r.length <= i || L.write(r, n, i, h, 52, 8);
|
|
326
|
+
}
|
|
327
|
+
I.Buffer = c, I.SlowBuffer = c, I.INSPECT_MAX_BYTES = 50, c.poolSize = 8192, c._useTypedArrays = function() {
|
|
328
|
+
try {
|
|
329
|
+
var r = new ArrayBuffer(0), n = new Uint8Array(r);
|
|
330
|
+
return n.foo = function() {
|
|
331
|
+
return 42;
|
|
332
|
+
}, n.foo() === 42 && typeof n.subarray == "function";
|
|
333
|
+
} catch (i) {
|
|
334
|
+
return !1;
|
|
335
|
+
}
|
|
336
|
+
}(), c.isEncoding = function(r) {
|
|
337
|
+
switch (String(r).toLowerCase()) {
|
|
338
|
+
case "hex":
|
|
339
|
+
case "utf8":
|
|
340
|
+
case "utf-8":
|
|
341
|
+
case "ascii":
|
|
342
|
+
case "binary":
|
|
343
|
+
case "base64":
|
|
344
|
+
case "raw":
|
|
345
|
+
case "ucs2":
|
|
346
|
+
case "ucs-2":
|
|
347
|
+
case "utf16le":
|
|
348
|
+
case "utf-16le":
|
|
349
|
+
return !0;
|
|
350
|
+
default:
|
|
351
|
+
return !1;
|
|
352
|
+
}
|
|
353
|
+
}, c.isBuffer = function(r) {
|
|
354
|
+
return !(r == null || !r._isBuffer);
|
|
355
|
+
}, c.byteLength = function(r, n) {
|
|
356
|
+
var i;
|
|
357
|
+
switch (r += "", n || "utf8") {
|
|
358
|
+
case "hex":
|
|
359
|
+
i = r.length / 2;
|
|
360
|
+
break;
|
|
361
|
+
case "utf8":
|
|
362
|
+
case "utf-8":
|
|
363
|
+
i = Q(r).length;
|
|
364
|
+
break;
|
|
365
|
+
case "ascii":
|
|
366
|
+
case "binary":
|
|
367
|
+
case "raw":
|
|
368
|
+
i = r.length;
|
|
369
|
+
break;
|
|
370
|
+
case "base64":
|
|
371
|
+
i = lr(r).length;
|
|
372
|
+
break;
|
|
373
|
+
case "ucs2":
|
|
374
|
+
case "ucs-2":
|
|
375
|
+
case "utf16le":
|
|
376
|
+
case "utf-16le":
|
|
377
|
+
i = 2 * r.length;
|
|
378
|
+
break;
|
|
379
|
+
default:
|
|
380
|
+
throw new Error("Unknown encoding");
|
|
381
|
+
}
|
|
382
|
+
return i;
|
|
383
|
+
}, c.concat = function(r, n) {
|
|
384
|
+
if (w(O(r), `Usage: Buffer.concat(list, [totalLength])
|
|
385
|
+
list should be an Array.`), r.length === 0) return new c(0);
|
|
386
|
+
if (r.length === 1) return r[0];
|
|
387
|
+
if (typeof n != "number") for (p = n = 0; p < r.length; p++) n += r[p].length;
|
|
388
|
+
for (var i = new c(n), h = 0, p = 0; p < r.length; p++) {
|
|
389
|
+
var v = r[p];
|
|
390
|
+
v.copy(i, h), h += v.length;
|
|
391
|
+
}
|
|
392
|
+
return i;
|
|
393
|
+
}, c.prototype.write = function(r, n, i, h) {
|
|
394
|
+
isFinite(n) ? isFinite(i) || (h = i, i = void 0) : (K = h, h = n, n = i, i = K), n = Number(n) || 0;
|
|
395
|
+
var p, v, F, Y, K = this.length - n;
|
|
396
|
+
switch ((!i || K < (i = Number(i))) && (i = K), h = String(h || "utf8").toLowerCase()) {
|
|
397
|
+
case "hex":
|
|
398
|
+
p = function(G, $, X, J) {
|
|
399
|
+
X = Number(X) || 0;
|
|
400
|
+
var P = G.length - X;
|
|
401
|
+
(!J || P < (J = Number(J))) && (J = P), w((P = $.length) % 2 == 0, "Invalid hex string"), P / 2 < J && (J = P / 2);
|
|
402
|
+
for (var tr = 0; tr < J; tr++) {
|
|
403
|
+
var pr = parseInt($.substr(2 * tr, 2), 16);
|
|
404
|
+
w(!isNaN(pr), "Invalid hex string"), G[X + tr] = pr;
|
|
405
|
+
}
|
|
406
|
+
return c._charsWritten = 2 * tr, tr;
|
|
407
|
+
}(this, r, n, i);
|
|
408
|
+
break;
|
|
409
|
+
case "utf8":
|
|
410
|
+
case "utf-8":
|
|
411
|
+
v = this, F = n, Y = i, p = c._charsWritten = er(Q(r), v, F, Y);
|
|
412
|
+
break;
|
|
413
|
+
case "ascii":
|
|
414
|
+
case "binary":
|
|
415
|
+
p = y(this, r, n, i);
|
|
416
|
+
break;
|
|
417
|
+
case "base64":
|
|
418
|
+
v = this, F = n, Y = i, p = c._charsWritten = er(lr(r), v, F, Y);
|
|
419
|
+
break;
|
|
420
|
+
case "ucs2":
|
|
421
|
+
case "ucs-2":
|
|
422
|
+
case "utf16le":
|
|
423
|
+
case "utf-16le":
|
|
424
|
+
p = E(this, r, n, i);
|
|
425
|
+
break;
|
|
426
|
+
default:
|
|
427
|
+
throw new Error("Unknown encoding");
|
|
428
|
+
}
|
|
429
|
+
return p;
|
|
430
|
+
}, c.prototype.toString = function(r, n, i) {
|
|
431
|
+
var h, p, v, F, Y = this;
|
|
432
|
+
if (r = String(r || "utf8").toLowerCase(), n = Number(n) || 0, (i = i !== void 0 ? Number(i) : Y.length) === n) return "";
|
|
433
|
+
switch (r) {
|
|
434
|
+
case "hex":
|
|
435
|
+
h = function(K, G, $) {
|
|
436
|
+
var X = K.length;
|
|
437
|
+
(!G || G < 0) && (G = 0), (!$ || $ < 0 || X < $) && ($ = X);
|
|
438
|
+
for (var J = "", P = G; P < $; P++) J += M(K[P]);
|
|
439
|
+
return J;
|
|
440
|
+
}(Y, n, i);
|
|
441
|
+
break;
|
|
442
|
+
case "utf8":
|
|
443
|
+
case "utf-8":
|
|
444
|
+
h = function(K, G, $) {
|
|
445
|
+
var X = "", J = "";
|
|
446
|
+
$ = Math.min(K.length, $);
|
|
447
|
+
for (var P = G; P < $; P++) K[P] <= 127 ? (X += cr(J) + String.fromCharCode(K[P]), J = "") : J += "%" + K[P].toString(16);
|
|
448
|
+
return X + cr(J);
|
|
449
|
+
}(Y, n, i);
|
|
450
|
+
break;
|
|
451
|
+
case "ascii":
|
|
452
|
+
case "binary":
|
|
453
|
+
h = m(Y, n, i);
|
|
454
|
+
break;
|
|
455
|
+
case "base64":
|
|
456
|
+
p = Y, F = i, h = (v = n) === 0 && F === p.length ? b.fromByteArray(p) : b.fromByteArray(p.slice(v, F));
|
|
457
|
+
break;
|
|
458
|
+
case "ucs2":
|
|
459
|
+
case "ucs-2":
|
|
460
|
+
case "utf16le":
|
|
461
|
+
case "utf-16le":
|
|
462
|
+
h = function(K, G, $) {
|
|
463
|
+
for (var X = K.slice(G, $), J = "", P = 0; P < X.length; P += 2) J += String.fromCharCode(X[P] + 256 * X[P + 1]);
|
|
464
|
+
return J;
|
|
465
|
+
}(Y, n, i);
|
|
466
|
+
break;
|
|
467
|
+
default:
|
|
468
|
+
throw new Error("Unknown encoding");
|
|
469
|
+
}
|
|
470
|
+
return h;
|
|
471
|
+
}, c.prototype.toJSON = function() {
|
|
472
|
+
return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) };
|
|
473
|
+
}, c.prototype.copy = function(r, n, i, h) {
|
|
474
|
+
if (n = n || 0, (h = h || h === 0 ? h : this.length) !== (i = i || 0) && r.length !== 0 && this.length !== 0) {
|
|
475
|
+
w(i <= h, "sourceEnd < sourceStart"), w(0 <= n && n < r.length, "targetStart out of bounds"), w(0 <= i && i < this.length, "sourceStart out of bounds"), w(0 <= h && h <= this.length, "sourceEnd out of bounds"), h > this.length && (h = this.length);
|
|
476
|
+
var p = (h = r.length - n < h - i ? r.length - n + i : h) - i;
|
|
477
|
+
if (p < 100 || !c._useTypedArrays) for (var v = 0; v < p; v++) r[v + n] = this[v + i];
|
|
478
|
+
else r._set(this.subarray(i, i + p), n);
|
|
479
|
+
}
|
|
480
|
+
}, c.prototype.slice = function(r, n) {
|
|
481
|
+
var i = this.length;
|
|
482
|
+
if (r = H(r, i, 0), n = H(n, i, i), c._useTypedArrays) return c._augment(this.subarray(r, n));
|
|
483
|
+
for (var h = n - r, p = new c(h, void 0, !0), v = 0; v < h; v++) p[v] = this[v + r];
|
|
484
|
+
return p;
|
|
485
|
+
}, c.prototype.get = function(r) {
|
|
486
|
+
return console.log(".get() is deprecated. Access using array indexes instead."), this.readUInt8(r);
|
|
487
|
+
}, c.prototype.set = function(r, n) {
|
|
488
|
+
return console.log(".set() is deprecated. Access using array indexes instead."), this.writeUInt8(r, n);
|
|
489
|
+
}, c.prototype.readUInt8 = function(r, n) {
|
|
490
|
+
if (n || (w(r != null, "missing offset"), w(r < this.length, "Trying to read beyond buffer length")), !(r >= this.length)) return this[r];
|
|
491
|
+
}, c.prototype.readUInt16LE = function(r, n) {
|
|
492
|
+
return g(this, r, !0, n);
|
|
493
|
+
}, c.prototype.readUInt16BE = function(r, n) {
|
|
494
|
+
return g(this, r, !1, n);
|
|
495
|
+
}, c.prototype.readUInt32LE = function(r, n) {
|
|
496
|
+
return S(this, r, !0, n);
|
|
497
|
+
}, c.prototype.readUInt32BE = function(r, n) {
|
|
498
|
+
return S(this, r, !1, n);
|
|
499
|
+
}, c.prototype.readInt8 = function(r, n) {
|
|
500
|
+
if (n || (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];
|
|
501
|
+
}, c.prototype.readInt16LE = function(r, n) {
|
|
502
|
+
return a(this, r, !0, n);
|
|
503
|
+
}, c.prototype.readInt16BE = function(r, n) {
|
|
504
|
+
return a(this, r, !1, n);
|
|
505
|
+
}, c.prototype.readInt32LE = function(r, n) {
|
|
506
|
+
return l(this, r, !0, n);
|
|
507
|
+
}, c.prototype.readInt32BE = function(r, n) {
|
|
508
|
+
return l(this, r, !1, n);
|
|
509
|
+
}, c.prototype.readFloatLE = function(r, n) {
|
|
510
|
+
return e(this, r, !0, n);
|
|
511
|
+
}, c.prototype.readFloatBE = function(r, n) {
|
|
512
|
+
return e(this, r, !1, n);
|
|
513
|
+
}, c.prototype.readDoubleLE = function(r, n) {
|
|
514
|
+
return o(this, r, !0, n);
|
|
515
|
+
}, c.prototype.readDoubleBE = function(r, n) {
|
|
516
|
+
return o(this, r, !1, n);
|
|
517
|
+
}, c.prototype.writeUInt8 = function(r, n, i) {
|
|
518
|
+
i || (w(r != null, "missing value"), w(n != null, "missing offset"), w(n < this.length, "trying to write beyond buffer length"), or(r, 255)), n >= this.length || (this[n] = r);
|
|
519
|
+
}, c.prototype.writeUInt16LE = function(r, n, i) {
|
|
520
|
+
t(this, r, n, !0, i);
|
|
521
|
+
}, c.prototype.writeUInt16BE = function(r, n, i) {
|
|
522
|
+
t(this, r, n, !1, i);
|
|
523
|
+
}, c.prototype.writeUInt32LE = function(r, n, i) {
|
|
524
|
+
u(this, r, n, !0, i);
|
|
525
|
+
}, c.prototype.writeUInt32BE = function(r, n, i) {
|
|
526
|
+
u(this, r, n, !1, i);
|
|
527
|
+
}, c.prototype.writeInt8 = function(r, n, i) {
|
|
528
|
+
i || (w(r != null, "missing value"), w(n != null, "missing offset"), w(n < this.length, "Trying to write beyond buffer length"), ir(r, 127, -128)), n >= this.length || (0 <= r ? this.writeUInt8(r, n, i) : this.writeUInt8(255 + r + 1, n, i));
|
|
529
|
+
}, c.prototype.writeInt16LE = function(r, n, i) {
|
|
530
|
+
f(this, r, n, !0, i);
|
|
531
|
+
}, c.prototype.writeInt16BE = function(r, n, i) {
|
|
532
|
+
f(this, r, n, !1, i);
|
|
533
|
+
}, c.prototype.writeInt32LE = function(r, n, i) {
|
|
534
|
+
C(this, r, n, !0, i);
|
|
535
|
+
}, c.prototype.writeInt32BE = function(r, n, i) {
|
|
536
|
+
C(this, r, n, !1, i);
|
|
537
|
+
}, c.prototype.writeFloatLE = function(r, n, i) {
|
|
538
|
+
U(this, r, n, !0, i);
|
|
539
|
+
}, c.prototype.writeFloatBE = function(r, n, i) {
|
|
540
|
+
U(this, r, n, !1, i);
|
|
541
|
+
}, c.prototype.writeDoubleLE = function(r, n, i) {
|
|
542
|
+
j(this, r, n, !0, i);
|
|
543
|
+
}, c.prototype.writeDoubleBE = function(r, n, i) {
|
|
544
|
+
j(this, r, n, !1, i);
|
|
545
|
+
}, c.prototype.fill = function(r, n, i) {
|
|
546
|
+
if (n = n || 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(n <= i, "end < start"), i !== n && this.length !== 0) {
|
|
547
|
+
w(0 <= n && n < this.length, "start out of bounds"), w(0 <= i && i <= this.length, "end out of bounds");
|
|
548
|
+
for (var h = n; h < i; h++) this[h] = r;
|
|
549
|
+
}
|
|
550
|
+
}, c.prototype.inspect = function() {
|
|
551
|
+
for (var r = [], n = this.length, i = 0; i < n; i++) if (r[i] = M(this[i]), i === I.INSPECT_MAX_BYTES) {
|
|
552
|
+
r[i + 1] = "...";
|
|
553
|
+
break;
|
|
554
|
+
}
|
|
555
|
+
return "<Buffer " + r.join(" ") + ">";
|
|
556
|
+
}, c.prototype.toArrayBuffer = function() {
|
|
557
|
+
if (typeof Uint8Array == "undefined") throw new Error("Buffer.toArrayBuffer not supported in this browser");
|
|
558
|
+
if (c._useTypedArrays) return new c(this).buffer;
|
|
559
|
+
for (var r = new Uint8Array(this.length), n = 0, i = r.length; n < i; n += 1) r[n] = this[n];
|
|
560
|
+
return r.buffer;
|
|
561
|
+
};
|
|
562
|
+
var A = c.prototype;
|
|
563
|
+
function H(r, n, i) {
|
|
564
|
+
return typeof r != "number" ? i : n <= (r = ~~r) ? n : 0 <= r || 0 <= (r += n) ? r : 0;
|
|
565
|
+
}
|
|
566
|
+
function W(r) {
|
|
567
|
+
return (r = ~~Math.ceil(+r)) < 0 ? 0 : r;
|
|
568
|
+
}
|
|
569
|
+
function O(r) {
|
|
570
|
+
return (Array.isArray || function(n) {
|
|
571
|
+
return Object.prototype.toString.call(n) === "[object Array]";
|
|
572
|
+
})(r);
|
|
573
|
+
}
|
|
574
|
+
function M(r) {
|
|
575
|
+
return r < 16 ? "0" + r.toString(16) : r.toString(16);
|
|
576
|
+
}
|
|
577
|
+
function Q(r) {
|
|
578
|
+
for (var n = [], i = 0; i < r.length; i++) {
|
|
579
|
+
var h = r.charCodeAt(i);
|
|
580
|
+
if (h <= 127) n.push(r.charCodeAt(i));
|
|
581
|
+
else for (var p = i, v = (55296 <= h && h <= 57343 && i++, encodeURIComponent(r.slice(p, i + 1)).substr(1).split("%")), F = 0; F < v.length; F++) n.push(parseInt(v[F], 16));
|
|
582
|
+
}
|
|
583
|
+
return n;
|
|
584
|
+
}
|
|
585
|
+
function lr(r) {
|
|
586
|
+
return b.toByteArray(r);
|
|
587
|
+
}
|
|
588
|
+
function er(r, n, i, h) {
|
|
589
|
+
for (var p = 0; p < h && !(p + i >= n.length || p >= r.length); p++) n[p + i] = r[p];
|
|
590
|
+
return p;
|
|
591
|
+
}
|
|
592
|
+
function cr(r) {
|
|
593
|
+
try {
|
|
594
|
+
return decodeURIComponent(r);
|
|
595
|
+
} catch (n) {
|
|
596
|
+
return "�";
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
function or(r, n) {
|
|
600
|
+
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 <= n, "value is larger than maximum value for type"), w(Math.floor(r) === r, "value has a fractional component");
|
|
601
|
+
}
|
|
602
|
+
function ir(r, n, i) {
|
|
603
|
+
w(typeof r == "number", "cannot write a non-number as a number"), w(r <= n, "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");
|
|
604
|
+
}
|
|
605
|
+
function dr(r, n, i) {
|
|
606
|
+
w(typeof r == "number", "cannot write a non-number as a number"), w(r <= n, "value larger than maximum allowed value"), w(i <= r, "value smaller than minimum allowed value");
|
|
607
|
+
}
|
|
608
|
+
function w(r, n) {
|
|
609
|
+
if (!r) throw new Error(n || "Failed assertion");
|
|
610
|
+
}
|
|
611
|
+
c._augment = function(r) {
|
|
612
|
+
return r._isBuffer = !0, r._get = r.get, r._set = r.set, r.get = A.get, r.set = A.set, r.write = A.write, r.toString = A.toString, r.toLocaleString = A.toString, r.toJSON = A.toJSON, r.copy = A.copy, r.slice = A.slice, r.readUInt8 = A.readUInt8, r.readUInt16LE = A.readUInt16LE, r.readUInt16BE = A.readUInt16BE, r.readUInt32LE = A.readUInt32LE, r.readUInt32BE = A.readUInt32BE, r.readInt8 = A.readInt8, r.readInt16LE = A.readInt16LE, r.readInt16BE = A.readInt16BE, r.readInt32LE = A.readInt32LE, r.readInt32BE = A.readInt32BE, r.readFloatLE = A.readFloatLE, r.readFloatBE = A.readFloatBE, r.readDoubleLE = A.readDoubleLE, r.readDoubleBE = A.readDoubleBE, r.writeUInt8 = A.writeUInt8, r.writeUInt16LE = A.writeUInt16LE, r.writeUInt16BE = A.writeUInt16BE, r.writeUInt32LE = A.writeUInt32LE, r.writeUInt32BE = A.writeUInt32BE, r.writeInt8 = A.writeInt8, r.writeInt16LE = A.writeInt16LE, r.writeInt16BE = A.writeInt16BE, r.writeInt32LE = A.writeInt32LE, r.writeInt32BE = A.writeInt32BE, r.writeFloatLE = A.writeFloatLE, r.writeFloatBE = A.writeFloatBE, r.writeDoubleLE = A.writeDoubleLE, r.writeDoubleBE = A.writeDoubleBE, r.fill = A.fill, r.inspect = A.inspect, r.toArrayBuffer = A.toArrayBuffer, r;
|
|
613
|
+
};
|
|
614
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("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");
|
|
615
|
+
}, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(d, B, I) {
|
|
616
|
+
(function(x, k, b, N, T, q, V, R, z) {
|
|
617
|
+
var b = d("buffer").Buffer, L = 4, c = new b(L);
|
|
618
|
+
c.fill(0), B.exports = { hash: function(y, E, m, g) {
|
|
619
|
+
for (var S = E(function(t, u) {
|
|
620
|
+
t.length % L != 0 && (f = t.length + (L - t.length % L), t = b.concat([t, c], f));
|
|
621
|
+
for (var f, C = [], U = u ? t.readInt32BE : t.readInt32LE, j = 0; j < t.length; j += L) C.push(U.call(t, j));
|
|
622
|
+
return C;
|
|
623
|
+
}(y = b.isBuffer(y) ? y : new b(y), g), 8 * y.length), E = g, a = new b(m), l = E ? a.writeInt32BE : a.writeInt32LE, e = 0; e < S.length; e++) l.call(a, S[e], 4 * e, !0);
|
|
624
|
+
return a;
|
|
625
|
+
} };
|
|
626
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("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");
|
|
627
|
+
}, { buffer: 3, lYpoI2: 11 }], 5: [function(d, B, I) {
|
|
628
|
+
(function(x, k, b, N, T, q, V, R, z) {
|
|
629
|
+
var b = d("buffer").Buffer, L = d("./sha"), c = d("./sha256"), y = d("./rng"), E = { sha1: L, sha256: c, md5: d("./md5") }, m = 64, g = new b(m);
|
|
630
|
+
function S(t, u) {
|
|
631
|
+
var f = E[t = t || "sha1"], C = [];
|
|
632
|
+
return f || a("algorithm:", t, "is not yet supported"), { update: function(U) {
|
|
633
|
+
return b.isBuffer(U) || (U = new b(U)), C.push(U), U.length, this;
|
|
634
|
+
}, digest: function(U) {
|
|
635
|
+
var j = b.concat(C), j = u ? function(A, H, W) {
|
|
636
|
+
b.isBuffer(H) || (H = new b(H)), b.isBuffer(W) || (W = new b(W)), H.length > m ? H = A(H) : H.length < m && (H = b.concat([H, g], m));
|
|
637
|
+
for (var O = new b(m), M = new b(m), Q = 0; Q < m; Q++) O[Q] = 54 ^ H[Q], M[Q] = 92 ^ H[Q];
|
|
638
|
+
return W = A(b.concat([O, W])), A(b.concat([M, W]));
|
|
639
|
+
}(f, u, j) : f(j);
|
|
640
|
+
return C = null, U ? j.toString(U) : j;
|
|
641
|
+
} };
|
|
642
|
+
}
|
|
643
|
+
function a() {
|
|
644
|
+
var t = [].slice.call(arguments).join(" ");
|
|
645
|
+
throw new Error([t, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join(`
|
|
646
|
+
`));
|
|
647
|
+
}
|
|
648
|
+
g.fill(0), I.createHash = function(t) {
|
|
649
|
+
return S(t);
|
|
650
|
+
}, I.createHmac = S, I.randomBytes = function(t, u) {
|
|
651
|
+
if (!u || !u.call) return new b(y(t));
|
|
652
|
+
try {
|
|
653
|
+
u.call(this, void 0, new b(y(t)));
|
|
654
|
+
} catch (f) {
|
|
655
|
+
u(f);
|
|
656
|
+
}
|
|
657
|
+
};
|
|
658
|
+
var l, e = ["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"], o = function(t) {
|
|
659
|
+
I[t] = function() {
|
|
660
|
+
a("sorry,", t, "is not implemented yet");
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
for (l in e) o(e[l]);
|
|
664
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("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");
|
|
665
|
+
}, { "./md5": 6, "./rng": 7, "./sha": 8, "./sha256": 9, buffer: 3, lYpoI2: 11 }], 6: [function(d, B, I) {
|
|
666
|
+
(function(x, k, D, N, T, q, V, R, z) {
|
|
667
|
+
var b = d("./helpers");
|
|
668
|
+
function L(a, l) {
|
|
669
|
+
a[l >> 5] |= 128 << l % 32, a[14 + (l + 64 >>> 9 << 4)] = l;
|
|
670
|
+
for (var e = 1732584193, o = -271733879, t = -1732584194, u = 271733878, f = 0; f < a.length; f += 16) {
|
|
671
|
+
var C = e, U = o, j = t, A = u, e = y(e, o, t, u, a[f + 0], 7, -680876936), u = y(u, e, o, t, a[f + 1], 12, -389564586), t = y(t, u, e, o, a[f + 2], 17, 606105819), o = y(o, t, u, e, a[f + 3], 22, -1044525330);
|
|
672
|
+
e = y(e, o, t, u, a[f + 4], 7, -176418897), u = y(u, e, o, t, a[f + 5], 12, 1200080426), t = y(t, u, e, o, a[f + 6], 17, -1473231341), o = y(o, t, u, e, a[f + 7], 22, -45705983), e = y(e, o, t, u, a[f + 8], 7, 1770035416), u = y(u, e, o, t, a[f + 9], 12, -1958414417), t = y(t, u, e, o, a[f + 10], 17, -42063), o = y(o, t, u, e, a[f + 11], 22, -1990404162), e = y(e, o, t, u, a[f + 12], 7, 1804603682), u = y(u, e, o, t, a[f + 13], 12, -40341101), t = y(t, u, e, o, a[f + 14], 17, -1502002290), e = E(e, o = y(o, t, u, e, a[f + 15], 22, 1236535329), t, u, a[f + 1], 5, -165796510), u = E(u, e, o, t, a[f + 6], 9, -1069501632), t = E(t, u, e, o, a[f + 11], 14, 643717713), o = E(o, t, u, e, a[f + 0], 20, -373897302), e = E(e, o, t, u, a[f + 5], 5, -701558691), u = E(u, e, o, t, a[f + 10], 9, 38016083), t = E(t, u, e, o, a[f + 15], 14, -660478335), o = E(o, t, u, e, a[f + 4], 20, -405537848), e = E(e, o, t, u, a[f + 9], 5, 568446438), u = E(u, e, o, t, a[f + 14], 9, -1019803690), t = E(t, u, e, o, a[f + 3], 14, -187363961), o = E(o, t, u, e, a[f + 8], 20, 1163531501), e = E(e, o, t, u, a[f + 13], 5, -1444681467), u = E(u, e, o, t, a[f + 2], 9, -51403784), t = E(t, u, e, o, a[f + 7], 14, 1735328473), e = m(e, o = E(o, t, u, e, a[f + 12], 20, -1926607734), t, u, a[f + 5], 4, -378558), u = m(u, e, o, t, a[f + 8], 11, -2022574463), t = m(t, u, e, o, a[f + 11], 16, 1839030562), o = m(o, t, u, e, a[f + 14], 23, -35309556), e = m(e, o, t, u, a[f + 1], 4, -1530992060), u = m(u, e, o, t, a[f + 4], 11, 1272893353), t = m(t, u, e, o, a[f + 7], 16, -155497632), o = m(o, t, u, e, a[f + 10], 23, -1094730640), e = m(e, o, t, u, a[f + 13], 4, 681279174), u = m(u, e, o, t, a[f + 0], 11, -358537222), t = m(t, u, e, o, a[f + 3], 16, -722521979), o = m(o, t, u, e, a[f + 6], 23, 76029189), e = m(e, o, t, u, a[f + 9], 4, -640364487), u = m(u, e, o, t, a[f + 12], 11, -421815835), t = m(t, u, e, o, a[f + 15], 16, 530742520), e = g(e, o = m(o, t, u, e, a[f + 2], 23, -995338651), t, u, a[f + 0], 6, -198630844), u = g(u, e, o, t, a[f + 7], 10, 1126891415), t = g(t, u, e, o, a[f + 14], 15, -1416354905), o = g(o, t, u, e, a[f + 5], 21, -57434055), e = g(e, o, t, u, a[f + 12], 6, 1700485571), u = g(u, e, o, t, a[f + 3], 10, -1894986606), t = g(t, u, e, o, a[f + 10], 15, -1051523), o = g(o, t, u, e, a[f + 1], 21, -2054922799), e = g(e, o, t, u, a[f + 8], 6, 1873313359), u = g(u, e, o, t, a[f + 15], 10, -30611744), t = g(t, u, e, o, a[f + 6], 15, -1560198380), o = g(o, t, u, e, a[f + 13], 21, 1309151649), e = g(e, o, t, u, a[f + 4], 6, -145523070), u = g(u, e, o, t, a[f + 11], 10, -1120210379), t = g(t, u, e, o, a[f + 2], 15, 718787259), o = g(o, t, u, e, a[f + 9], 21, -343485551), e = S(e, C), o = S(o, U), t = S(t, j), u = S(u, A);
|
|
673
|
+
}
|
|
674
|
+
return Array(e, o, t, u);
|
|
675
|
+
}
|
|
676
|
+
function c(a, l, e, o, t, u) {
|
|
677
|
+
return S((l = S(S(l, a), S(o, u))) << t | l >>> 32 - t, e);
|
|
678
|
+
}
|
|
679
|
+
function y(a, l, e, o, t, u, f) {
|
|
680
|
+
return c(l & e | ~l & o, a, l, t, u, f);
|
|
681
|
+
}
|
|
682
|
+
function E(a, l, e, o, t, u, f) {
|
|
683
|
+
return c(l & o | e & ~o, a, l, t, u, f);
|
|
684
|
+
}
|
|
685
|
+
function m(a, l, e, o, t, u, f) {
|
|
686
|
+
return c(l ^ e ^ o, a, l, t, u, f);
|
|
687
|
+
}
|
|
688
|
+
function g(a, l, e, o, t, u, f) {
|
|
689
|
+
return c(e ^ (l | ~o), a, l, t, u, f);
|
|
690
|
+
}
|
|
691
|
+
function S(a, l) {
|
|
692
|
+
var e = (65535 & a) + (65535 & l);
|
|
693
|
+
return (a >> 16) + (l >> 16) + (e >> 16) << 16 | 65535 & e;
|
|
694
|
+
}
|
|
695
|
+
B.exports = function(a) {
|
|
696
|
+
return b.hash(a, L, 16);
|
|
697
|
+
};
|
|
698
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("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");
|
|
699
|
+
}, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 7: [function(d, B, I) {
|
|
700
|
+
(function(x, k, D, N, T, q, V, R, z) {
|
|
701
|
+
B.exports = function(b) {
|
|
702
|
+
for (var L, c = new Array(b), y = 0; y < b; y++) (3 & y) == 0 && (L = 4294967296 * Math.random()), c[y] = L >>> ((3 & y) << 3) & 255;
|
|
703
|
+
return c;
|
|
704
|
+
};
|
|
705
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("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");
|
|
706
|
+
}, { buffer: 3, lYpoI2: 11 }], 8: [function(d, B, I) {
|
|
707
|
+
(function(x, k, D, N, T, q, V, R, z) {
|
|
708
|
+
var b = d("./helpers");
|
|
709
|
+
function L(E, m) {
|
|
710
|
+
E[m >> 5] |= 128 << 24 - m % 32, E[15 + (m + 64 >> 9 << 4)] = m;
|
|
711
|
+
for (var g, S, a, l = Array(80), e = 1732584193, o = -271733879, t = -1732584194, u = 271733878, f = -1009589776, C = 0; C < E.length; C += 16) {
|
|
712
|
+
for (var U = e, j = o, A = t, H = u, W = f, O = 0; O < 80; O++) {
|
|
713
|
+
l[O] = O < 16 ? E[C + O] : y(l[O - 3] ^ l[O - 8] ^ l[O - 14] ^ l[O - 16], 1);
|
|
714
|
+
var M = c(c(y(e, 5), (M = o, S = t, a = u, (g = O) < 20 ? M & S | ~M & a : !(g < 40) && g < 60 ? M & S | M & a | S & a : M ^ S ^ a)), c(c(f, l[O]), (g = O) < 20 ? 1518500249 : g < 40 ? 1859775393 : g < 60 ? -1894007588 : -899497514)), f = u, u = t, t = y(o, 30), o = e, e = M;
|
|
715
|
+
}
|
|
716
|
+
e = c(e, U), o = c(o, j), t = c(t, A), u = c(u, H), f = c(f, W);
|
|
717
|
+
}
|
|
718
|
+
return Array(e, o, t, u, f);
|
|
719
|
+
}
|
|
720
|
+
function c(E, m) {
|
|
721
|
+
var g = (65535 & E) + (65535 & m);
|
|
722
|
+
return (E >> 16) + (m >> 16) + (g >> 16) << 16 | 65535 & g;
|
|
723
|
+
}
|
|
724
|
+
function y(E, m) {
|
|
725
|
+
return E << m | E >>> 32 - m;
|
|
726
|
+
}
|
|
727
|
+
B.exports = function(E) {
|
|
728
|
+
return b.hash(E, L, 20, !0);
|
|
729
|
+
};
|
|
730
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("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");
|
|
731
|
+
}, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 9: [function(d, B, I) {
|
|
732
|
+
(function(x, k, D, N, T, q, V, R, z) {
|
|
733
|
+
function b(m, g) {
|
|
734
|
+
var S = (65535 & m) + (65535 & g);
|
|
735
|
+
return (m >> 16) + (g >> 16) + (S >> 16) << 16 | 65535 & S;
|
|
736
|
+
}
|
|
737
|
+
function L(m, g) {
|
|
738
|
+
var S, a = 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), l = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), e = new Array(64);
|
|
739
|
+
m[g >> 5] |= 128 << 24 - g % 32, m[15 + (g + 64 >> 9 << 4)] = g;
|
|
740
|
+
for (var o, t, u = 0; u < m.length; u += 16) {
|
|
741
|
+
for (var f = l[0], C = l[1], U = l[2], j = l[3], A = l[4], H = l[5], W = l[6], O = l[7], M = 0; M < 64; M++) e[M] = M < 16 ? m[M + u] : b(b(b((t = e[M - 2], y(t, 17) ^ y(t, 19) ^ E(t, 10)), e[M - 7]), (t = e[M - 15], y(t, 7) ^ y(t, 18) ^ E(t, 3))), e[M - 16]), S = b(b(b(b(O, y(t = A, 6) ^ y(t, 11) ^ y(t, 25)), A & H ^ ~A & W), a[M]), e[M]), o = b(y(o = f, 2) ^ y(o, 13) ^ y(o, 22), f & C ^ f & U ^ C & U), O = W, W = H, H = A, A = b(j, S), j = U, U = C, C = f, f = b(S, o);
|
|
742
|
+
l[0] = b(f, l[0]), l[1] = b(C, l[1]), l[2] = b(U, l[2]), l[3] = b(j, l[3]), l[4] = b(A, l[4]), l[5] = b(H, l[5]), l[6] = b(W, l[6]), l[7] = b(O, l[7]);
|
|
743
|
+
}
|
|
744
|
+
return l;
|
|
745
|
+
}
|
|
746
|
+
var c = d("./helpers"), y = function(m, g) {
|
|
747
|
+
return m >>> g | m << 32 - g;
|
|
748
|
+
}, E = function(m, g) {
|
|
749
|
+
return m >>> g;
|
|
750
|
+
};
|
|
751
|
+
B.exports = function(m) {
|
|
752
|
+
return c.hash(m, L, 32, !0);
|
|
753
|
+
};
|
|
754
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("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");
|
|
755
|
+
}, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 10: [function(d, B, I) {
|
|
756
|
+
(function(x, k, D, N, T, q, V, R, z) {
|
|
757
|
+
I.read = function(b, L, c, y, u) {
|
|
758
|
+
var m, g, S = 8 * u - y - 1, a = (1 << S) - 1, l = a >> 1, e = -7, o = c ? u - 1 : 0, t = c ? -1 : 1, u = b[L + o];
|
|
759
|
+
for (o += t, m = u & (1 << -e) - 1, u >>= -e, e += S; 0 < e; m = 256 * m + b[L + o], o += t, e -= 8) ;
|
|
760
|
+
for (g = m & (1 << -e) - 1, m >>= -e, e += y; 0 < e; g = 256 * g + b[L + o], o += t, e -= 8) ;
|
|
761
|
+
if (m === 0) m = 1 - l;
|
|
762
|
+
else {
|
|
763
|
+
if (m === a) return g ? NaN : 1 / 0 * (u ? -1 : 1);
|
|
764
|
+
g += Math.pow(2, y), m -= l;
|
|
765
|
+
}
|
|
766
|
+
return (u ? -1 : 1) * g * Math.pow(2, m - y);
|
|
767
|
+
}, I.write = function(b, L, c, y, E, f) {
|
|
768
|
+
var g, S, a = 8 * f - E - 1, l = (1 << a) - 1, e = l >> 1, o = E === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, t = y ? 0 : f - 1, u = y ? 1 : -1, f = L < 0 || L === 0 && 1 / L < 0 ? 1 : 0;
|
|
769
|
+
for (L = Math.abs(L), isNaN(L) || L === 1 / 0 ? (S = isNaN(L) ? 1 : 0, g = l) : (g = Math.floor(Math.log(L) / Math.LN2), L * (y = Math.pow(2, -g)) < 1 && (g--, y *= 2), 2 <= (L += 1 <= g + e ? o / y : o * Math.pow(2, 1 - e)) * y && (g++, y /= 2), l <= g + e ? (S = 0, g = l) : 1 <= g + e ? (S = (L * y - 1) * Math.pow(2, E), g += e) : (S = L * Math.pow(2, e - 1) * Math.pow(2, E), g = 0)); 8 <= E; b[c + t] = 255 & S, t += u, S /= 256, E -= 8) ;
|
|
770
|
+
for (g = g << E | S, a += E; 0 < a; b[c + t] = 255 & g, t += u, g /= 256, a -= 8) ;
|
|
771
|
+
b[c + t - u] |= 128 * f;
|
|
772
|
+
};
|
|
773
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("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");
|
|
774
|
+
}, { buffer: 3, lYpoI2: 11 }], 11: [function(d, B, I) {
|
|
775
|
+
(function(x, k, D, N, T, q, V, R, z) {
|
|
776
|
+
var b, L, c;
|
|
777
|
+
function y() {
|
|
778
|
+
}
|
|
779
|
+
(x = B.exports = {}).nextTick = (L = typeof window != "undefined" && window.setImmediate, c = typeof window != "undefined" && window.postMessage && window.addEventListener, L ? function(E) {
|
|
780
|
+
return window.setImmediate(E);
|
|
781
|
+
} : c ? (b = [], window.addEventListener("message", function(E) {
|
|
782
|
+
var m = E.source;
|
|
783
|
+
m !== window && m !== null || E.data !== "process-tick" || (E.stopPropagation(), 0 < b.length && b.shift()());
|
|
784
|
+
}, !0), function(E) {
|
|
785
|
+
b.push(E), window.postMessage("process-tick", "*");
|
|
786
|
+
}) : function(E) {
|
|
787
|
+
setTimeout(E, 0);
|
|
788
|
+
}), x.title = "browser", x.browser = !0, x.env = {}, x.argv = [], x.on = y, x.addListener = y, x.once = y, x.off = y, x.removeListener = y, x.removeAllListeners = y, x.emit = y, x.binding = function(E) {
|
|
789
|
+
throw new Error("process.binding is not supported");
|
|
790
|
+
}, x.cwd = function() {
|
|
791
|
+
return "/";
|
|
792
|
+
}, x.chdir = function(E) {
|
|
793
|
+
throw new Error("process.chdir is not supported");
|
|
794
|
+
};
|
|
795
|
+
}).call(this, d("lYpoI2"), typeof self != "undefined" ? self : typeof window != "undefined" ? window : {}, d("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");
|
|
796
|
+
}, { buffer: 3, lYpoI2: 11 }] }, {}, [1])(1);
|
|
797
|
+
});
|
|
798
|
+
}(ur)), ur.exports;
|
|
799
|
+
}
|
|
800
|
+
var Fr = jr();
|
|
801
|
+
const kr = /* @__PURE__ */ Sr(Fr);
|
|
802
|
+
function mr(s) {
|
|
803
|
+
return kr({
|
|
804
|
+
type: s.type,
|
|
805
|
+
data: "data" in s ? s.data : void 0,
|
|
806
|
+
filters: "filters" in s ? s.filters : void 0,
|
|
807
|
+
params: s.params,
|
|
808
|
+
slots: s.slots
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
function br(s, _ = {}, d) {
|
|
812
|
+
return {
|
|
813
|
+
id: Cr(),
|
|
814
|
+
type: s,
|
|
815
|
+
params: _,
|
|
816
|
+
slots: new Set(d != null ? d : []),
|
|
817
|
+
hash: ""
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
function Tr(s, _, d = {}, B) {
|
|
821
|
+
const I = sr(ar({}, br(s, d, B)), {
|
|
822
|
+
data: _
|
|
823
|
+
});
|
|
824
|
+
return I.hash = mr(I), I;
|
|
825
|
+
}
|
|
826
|
+
function fr(s, _ = [], d = {}, B) {
|
|
827
|
+
var x;
|
|
828
|
+
const I = sr(ar({}, br(s, d, B)), {
|
|
829
|
+
filters: new Map((x = _ == null ? void 0 : _.map((k) => [k.name, k])) != null ? x : []),
|
|
830
|
+
hash: ""
|
|
831
|
+
});
|
|
832
|
+
return I.hash = mr(I), I;
|
|
833
|
+
}
|
|
834
|
+
function wr(s = "", _) {
|
|
835
|
+
return Tr("md", s, {}, _);
|
|
836
|
+
}
|
|
837
|
+
function Mr(s) {
|
|
838
|
+
const _ = typeof s.data == "string" ? s.data : "";
|
|
839
|
+
return wr(_, s.slots);
|
|
840
|
+
}
|
|
841
|
+
function Wr(s) {
|
|
842
|
+
return s;
|
|
843
|
+
}
|
|
844
|
+
function vr(s = [], _ = [], d = !0, B) {
|
|
845
|
+
return fr(
|
|
846
|
+
"metric",
|
|
847
|
+
_,
|
|
848
|
+
{
|
|
849
|
+
labels: s,
|
|
850
|
+
order: d
|
|
851
|
+
},
|
|
852
|
+
B
|
|
853
|
+
);
|
|
854
|
+
}
|
|
855
|
+
function Hr(s) {
|
|
856
|
+
var _, d, B, I, x;
|
|
857
|
+
return vr(
|
|
858
|
+
(d = (_ = s.params) == null ? void 0 : _.labels) != null ? d : [],
|
|
859
|
+
(B = s.filters) != null ? B : [],
|
|
860
|
+
(x = (I = s.params) == null ? void 0 : I.order) != null ? x : !0,
|
|
861
|
+
s.slots
|
|
862
|
+
);
|
|
863
|
+
}
|
|
864
|
+
function Nr(s) {
|
|
865
|
+
return {
|
|
866
|
+
labels: s.labels,
|
|
867
|
+
order: s.order
|
|
868
|
+
};
|
|
869
|
+
}
|
|
870
|
+
function Z(s) {
|
|
871
|
+
return s.text;
|
|
872
|
+
}
|
|
873
|
+
function zr(s) {
|
|
874
|
+
return s.params.labels.map(Z);
|
|
875
|
+
}
|
|
876
|
+
function $r(s, _, d) {
|
|
877
|
+
const B = Z(_);
|
|
878
|
+
if (s.params.labels.some((I) => Z(I) === B))
|
|
879
|
+
throw new Error(`Label "${_.text}" already exists`);
|
|
880
|
+
return s.params.labels.splice(d != null ? d : s.params.labels.length, 0, _), s;
|
|
881
|
+
}
|
|
882
|
+
function Xr(s, _) {
|
|
883
|
+
const d = s, B = Z(_);
|
|
884
|
+
return d.params.labels = s.params.labels.filter(
|
|
885
|
+
(I) => Z(I) !== B
|
|
886
|
+
), s;
|
|
887
|
+
}
|
|
888
|
+
function Gr(s, _, d) {
|
|
889
|
+
const B = Z(_), I = s.params.labels.findIndex(
|
|
890
|
+
(k) => Z(k) === B
|
|
891
|
+
);
|
|
892
|
+
if (I < 0)
|
|
893
|
+
throw new Error(`Label "${_.text}" not found`);
|
|
894
|
+
const x = s;
|
|
895
|
+
return x.params.labels[I] = d, s;
|
|
896
|
+
}
|
|
897
|
+
function _r(s = "", _ = [], d = !1, B = [], I = !0, x) {
|
|
898
|
+
return fr(
|
|
899
|
+
"table",
|
|
900
|
+
B,
|
|
901
|
+
{
|
|
902
|
+
title: s,
|
|
903
|
+
columns: _,
|
|
904
|
+
total: d,
|
|
905
|
+
order: I
|
|
906
|
+
},
|
|
907
|
+
x
|
|
908
|
+
);
|
|
909
|
+
}
|
|
910
|
+
function Or(s) {
|
|
911
|
+
var _, d, B, I, x, k, D, N;
|
|
912
|
+
return _r(
|
|
913
|
+
(_ = s.params) == null ? void 0 : _.title,
|
|
914
|
+
(B = (d = s.params) == null ? void 0 : d.columns) != null ? B : [],
|
|
915
|
+
(x = (I = s.params) == null ? void 0 : I.total) != null ? x : !1,
|
|
916
|
+
(k = s.filters) != null ? k : [],
|
|
917
|
+
(N = (D = s.params) == null ? void 0 : D.order) != null ? N : !0,
|
|
918
|
+
s.slots
|
|
919
|
+
);
|
|
920
|
+
}
|
|
921
|
+
function Yr(s) {
|
|
922
|
+
return {
|
|
923
|
+
title: s.title,
|
|
924
|
+
columns: s.columns,
|
|
925
|
+
total: s.total,
|
|
926
|
+
order: s.order
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
|
+
function rr(s) {
|
|
930
|
+
return s.header;
|
|
931
|
+
}
|
|
932
|
+
function Qr(s) {
|
|
933
|
+
return s.params.columns.map(rr);
|
|
934
|
+
}
|
|
935
|
+
function Zr(s, _, d) {
|
|
936
|
+
const B = rr(_);
|
|
937
|
+
if (s.params.columns.some((I) => rr(I) === B))
|
|
938
|
+
throw new Error(`Column "${_.header}" already exists`);
|
|
939
|
+
return s.params.columns.splice(
|
|
940
|
+
d != null ? d : s.params.columns.length,
|
|
941
|
+
0,
|
|
942
|
+
_
|
|
943
|
+
), s;
|
|
944
|
+
}
|
|
945
|
+
function rt(s, _) {
|
|
946
|
+
const d = s, B = rr(_);
|
|
947
|
+
return d.params.columns = s.params.columns.filter(
|
|
948
|
+
(I) => rr(I) !== B
|
|
949
|
+
), s;
|
|
950
|
+
}
|
|
951
|
+
function tt(s, _, d) {
|
|
952
|
+
const B = rr(_), I = s.params.columns.findIndex(
|
|
953
|
+
(k) => rr(k) === B
|
|
954
|
+
);
|
|
955
|
+
if (I < 0)
|
|
956
|
+
throw new Error(`Column "${B}" not found`);
|
|
957
|
+
const x = s;
|
|
958
|
+
return x.params.columns[I] = d, s;
|
|
959
|
+
}
|
|
960
|
+
function Er(s, _ = "", d = {}, B = {}, I, x, k = !1, D = [], N = !0, T) {
|
|
961
|
+
return fr(
|
|
962
|
+
s,
|
|
963
|
+
D,
|
|
964
|
+
{
|
|
965
|
+
title: _,
|
|
966
|
+
invertAxis: k,
|
|
967
|
+
label: d,
|
|
968
|
+
value: B,
|
|
969
|
+
color: I,
|
|
970
|
+
dataLabel: x,
|
|
971
|
+
order: N
|
|
972
|
+
},
|
|
973
|
+
T
|
|
974
|
+
);
|
|
975
|
+
}
|
|
976
|
+
function Dr(s) {
|
|
977
|
+
var _, d, B, I, x, k, D, N, T, q, V, R, z;
|
|
978
|
+
return Er(
|
|
979
|
+
s.type,
|
|
980
|
+
(d = (_ = s.params) == null ? void 0 : _.title) != null ? d : "",
|
|
981
|
+
(I = (B = s.params) == null ? void 0 : B.label) != null ? I : {},
|
|
982
|
+
(k = (x = s.params) == null ? void 0 : x.value) != null ? k : {},
|
|
983
|
+
(D = s.params) == null ? void 0 : D.color,
|
|
984
|
+
(N = s.params) == null ? void 0 : N.dataLabel,
|
|
985
|
+
(q = (T = s.params) == null ? void 0 : T.invertAxis) != null ? q : !1,
|
|
986
|
+
(V = s.filters) != null ? V : [],
|
|
987
|
+
(z = (R = s.params) == null ? void 0 : R.order) != null ? z : !0,
|
|
988
|
+
s.slots
|
|
989
|
+
);
|
|
990
|
+
}
|
|
991
|
+
function Pr(s) {
|
|
992
|
+
return {
|
|
993
|
+
title: s.title,
|
|
994
|
+
invertAxis: s.invertAxis,
|
|
995
|
+
label: s.label,
|
|
996
|
+
value: s.value,
|
|
997
|
+
color: s.color,
|
|
998
|
+
dataLabel: s.dataLabel,
|
|
999
|
+
order: s.order
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
function et(s, _, d, B) {
|
|
1003
|
+
switch (s) {
|
|
1004
|
+
case "md":
|
|
1005
|
+
return wr(void 0, B);
|
|
1006
|
+
case "metric":
|
|
1007
|
+
return vr(void 0, _, d, B);
|
|
1008
|
+
case "table":
|
|
1009
|
+
return _r(
|
|
1010
|
+
void 0,
|
|
1011
|
+
void 0,
|
|
1012
|
+
void 0,
|
|
1013
|
+
_,
|
|
1014
|
+
d,
|
|
1015
|
+
B
|
|
1016
|
+
);
|
|
1017
|
+
default:
|
|
1018
|
+
return Er(
|
|
1019
|
+
s,
|
|
1020
|
+
void 0,
|
|
1021
|
+
void 0,
|
|
1022
|
+
void 0,
|
|
1023
|
+
void 0,
|
|
1024
|
+
void 0,
|
|
1025
|
+
void 0,
|
|
1026
|
+
_,
|
|
1027
|
+
d,
|
|
1028
|
+
B
|
|
1029
|
+
);
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
function nt(s) {
|
|
1033
|
+
switch (s.type) {
|
|
1034
|
+
case "md":
|
|
1035
|
+
return Mr(s);
|
|
1036
|
+
case "metric":
|
|
1037
|
+
return Hr(s);
|
|
1038
|
+
case "table":
|
|
1039
|
+
return Or(s);
|
|
1040
|
+
default:
|
|
1041
|
+
return Dr(s);
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
function ot(s) {
|
|
1045
|
+
let _ = {};
|
|
1046
|
+
switch (s.type) {
|
|
1047
|
+
case "md":
|
|
1048
|
+
_ = s.params;
|
|
1049
|
+
break;
|
|
1050
|
+
case "metric":
|
|
1051
|
+
_ = Nr(s.params);
|
|
1052
|
+
break;
|
|
1053
|
+
case "table":
|
|
1054
|
+
_ = Yr(s.params);
|
|
1055
|
+
break;
|
|
1056
|
+
default:
|
|
1057
|
+
_ = Pr(s.params);
|
|
1058
|
+
break;
|
|
1059
|
+
}
|
|
1060
|
+
return {
|
|
1061
|
+
type: s.type,
|
|
1062
|
+
data: "data" in s ? s.data : void 0,
|
|
1063
|
+
filters: "filters" in s ? Array.from(s.filters.values()) : void 0,
|
|
1064
|
+
params: _,
|
|
1065
|
+
slots: Array.from(s.slots)
|
|
1066
|
+
};
|
|
1067
|
+
}
|
|
1068
|
+
function qr(s) {
|
|
1069
|
+
return s.type === "md";
|
|
1070
|
+
}
|
|
1071
|
+
function Kr(s) {
|
|
1072
|
+
return s.type === "metric";
|
|
1073
|
+
}
|
|
1074
|
+
function Jr(s) {
|
|
1075
|
+
return s.type === "table";
|
|
1076
|
+
}
|
|
1077
|
+
function it(s) {
|
|
1078
|
+
return !qr(s) && !Kr(s) && !Jr(s);
|
|
1079
|
+
}
|
|
1080
|
+
export {
|
|
1081
|
+
rt as A,
|
|
1082
|
+
tt as B,
|
|
1083
|
+
Er as C,
|
|
1084
|
+
Dr as D,
|
|
1085
|
+
Pr as E,
|
|
1086
|
+
et as a,
|
|
1087
|
+
Kr as b,
|
|
1088
|
+
nt as c,
|
|
1089
|
+
Jr as d,
|
|
1090
|
+
it as e,
|
|
1091
|
+
ot as f,
|
|
1092
|
+
wr as g,
|
|
1093
|
+
Mr as h,
|
|
1094
|
+
qr as i,
|
|
1095
|
+
vr as j,
|
|
1096
|
+
Hr as k,
|
|
1097
|
+
Nr as l,
|
|
1098
|
+
Wr as m,
|
|
1099
|
+
Cr as n,
|
|
1100
|
+
kr as o,
|
|
1101
|
+
Z as p,
|
|
1102
|
+
zr as q,
|
|
1103
|
+
$r as r,
|
|
1104
|
+
Xr as s,
|
|
1105
|
+
_r as t,
|
|
1106
|
+
Gr as u,
|
|
1107
|
+
Or as v,
|
|
1108
|
+
Yr as w,
|
|
1109
|
+
rr as x,
|
|
1110
|
+
Qr as y,
|
|
1111
|
+
Zr as z
|
|
1112
|
+
};
|
|
1113
|
+
//# sourceMappingURL=index-CqG3FOrT.mjs.map
|