zudoku 0.25.1 → 0.25.3

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.
Files changed (142) hide show
  1. package/dist/app/demo.js +0 -1
  2. package/dist/app/demo.js.map +1 -1
  3. package/dist/app/standalone.js +0 -1
  4. package/dist/app/standalone.js.map +1 -1
  5. package/dist/config/validators/InputSidebarSchema.d.ts +2 -2
  6. package/dist/config/validators/validate.d.ts +4 -4
  7. package/dist/lib/authentication/providers/openid.js +1 -1
  8. package/dist/lib/authentication/providers/openid.js.map +1 -1
  9. package/dist/lib/oas/graphql/index.d.ts +3 -0
  10. package/dist/lib/oas/graphql/index.js +12 -13
  11. package/dist/lib/oas/graphql/index.js.map +1 -1
  12. package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
  13. package/dist/lib/plugins/openapi/ColorizedParam.js +16 -7
  14. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  15. package/dist/lib/plugins/openapi/ParameterListItem.js +3 -2
  16. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  17. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +2 -0
  18. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  19. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +1 -1
  20. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +2 -5
  21. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  22. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +2 -6
  23. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  24. package/dist/lib/plugins/openapi/{ExampleDisplay.d.ts → SidecarExamples.d.ts} +2 -6
  25. package/dist/lib/plugins/openapi/SidecarExamples.js +62 -0
  26. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
  27. package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +1 -1
  28. package/dist/lib/plugins/openapi/client/GraphQLClient.js +22 -93
  29. package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
  30. package/dist/lib/plugins/openapi/client/createServer.d.ts +2 -1
  31. package/dist/lib/plugins/openapi/client/createServer.js +5 -2
  32. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  33. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +1 -1
  34. package/dist/lib/plugins/openapi/client/useCreateQuery.js +2 -13
  35. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  36. package/dist/lib/plugins/openapi/index.d.ts +2 -1
  37. package/dist/lib/plugins/openapi/index.js.map +1 -1
  38. package/dist/lib/plugins/openapi/playground/EnumSelector.d.ts +8 -0
  39. package/dist/lib/plugins/openapi/playground/EnumSelector.js +21 -0
  40. package/dist/lib/plugins/openapi/playground/EnumSelector.js.map +1 -0
  41. package/dist/lib/plugins/openapi/playground/PathParams.js +9 -4
  42. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  43. package/dist/lib/plugins/openapi/playground/Playground.d.ts +3 -0
  44. package/dist/lib/plugins/openapi/playground/Playground.js +5 -2
  45. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  46. package/dist/lib/plugins/openapi/playground/QueryParams.js +23 -8
  47. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  48. package/dist/lib/plugins/openapi/schema/SchemaComponents.js +2 -1
  49. package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +1 -1
  50. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +19 -11
  51. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  52. package/dist/lib/ui/Badge.js +1 -1
  53. package/dist/lib/ui/Badge.js.map +1 -1
  54. package/dist/lib/ui/Button.d.ts +1 -1
  55. package/dist/lib/ui/Checkbox.d.ts +8 -2
  56. package/dist/lib/ui/Checkbox.js +13 -1
  57. package/dist/lib/ui/Checkbox.js.map +1 -1
  58. package/dist/lib/util/traverse.d.ts +8 -1
  59. package/dist/lib/util/traverse.js +7 -3
  60. package/dist/lib/util/traverse.js.map +1 -1
  61. package/dist/vite/api/schema-codegen.d.ts +12 -0
  62. package/dist/vite/api/schema-codegen.js +62 -0
  63. package/dist/vite/api/schema-codegen.js.map +1 -0
  64. package/dist/vite/api/schema-codegen.test.d.ts +1 -0
  65. package/dist/vite/api/schema-codegen.test.js +247 -0
  66. package/dist/vite/api/schema-codegen.test.js.map +1 -0
  67. package/dist/vite/config.js +0 -7
  68. package/dist/vite/config.js.map +1 -1
  69. package/dist/vite/plugin-api.js +110 -82
  70. package/dist/vite/plugin-api.js.map +1 -1
  71. package/dist/vite/plugin-component.js +0 -1
  72. package/dist/vite/plugin-component.js.map +1 -1
  73. package/lib/Command-9x_kZHr4.js +611 -0
  74. package/lib/Command-9x_kZHr4.js.map +1 -0
  75. package/lib/{OperationList-BLdHAQ39.js → OperationList-B8bHMKme.js} +1440 -1434
  76. package/lib/OperationList-B8bHMKme.js.map +1 -0
  77. package/lib/{createServer-Bf5_6o6G.js → createServer-BznDkeSA.js} +4227 -5154
  78. package/lib/createServer-BznDkeSA.js.map +1 -0
  79. package/lib/index-TaRXY2w1.js +43 -0
  80. package/lib/index-TaRXY2w1.js.map +1 -0
  81. package/lib/index-sD8L1_Dl.js +1292 -0
  82. package/lib/index-sD8L1_Dl.js.map +1 -0
  83. package/lib/post-processors/traverse.js +11 -8
  84. package/lib/post-processors/traverse.js.map +1 -1
  85. package/lib/ui/Badge.js +1 -1
  86. package/lib/ui/Badge.js.map +1 -1
  87. package/lib/ui/Checkbox.js +25 -14
  88. package/lib/ui/Checkbox.js.map +1 -1
  89. package/lib/ui/Command.js +14 -550
  90. package/lib/ui/Command.js.map +1 -1
  91. package/lib/zudoku.auth-openid.js +36 -36
  92. package/lib/zudoku.auth-openid.js.map +1 -1
  93. package/lib/zudoku.plugin-openapi.js +1 -1
  94. package/package.json +1 -6
  95. package/src/app/demo.tsx +0 -1
  96. package/src/app/standalone.tsx +0 -1
  97. package/src/lib/authentication/providers/openid.tsx +1 -1
  98. package/src/lib/oas/graphql/index.ts +19 -15
  99. package/src/lib/plugins/openapi/ColorizedParam.tsx +29 -12
  100. package/src/lib/plugins/openapi/ParameterListItem.tsx +9 -7
  101. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +2 -0
  102. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +2 -7
  103. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +5 -8
  104. package/src/lib/plugins/openapi/SidecarExamples.tsx +155 -0
  105. package/src/lib/plugins/openapi/client/GraphQLClient.tsx +28 -120
  106. package/src/lib/plugins/openapi/client/createServer.ts +6 -2
  107. package/src/lib/plugins/openapi/client/useCreateQuery.ts +2 -17
  108. package/src/lib/plugins/openapi/index.tsx +2 -1
  109. package/src/lib/plugins/openapi/playground/EnumSelector.tsx +86 -0
  110. package/src/lib/plugins/openapi/playground/PathParams.tsx +72 -64
  111. package/src/lib/plugins/openapi/playground/Playground.tsx +26 -13
  112. package/src/lib/plugins/openapi/playground/QueryParams.tsx +102 -73
  113. package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +4 -7
  114. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +26 -11
  115. package/src/lib/ui/Badge.tsx +1 -1
  116. package/src/lib/ui/Checkbox.tsx +24 -7
  117. package/src/lib/util/traverse.ts +15 -5
  118. package/dist/lib/plugins/openapi/ExampleDisplay.js +0 -78
  119. package/dist/lib/plugins/openapi/ExampleDisplay.js.map +0 -1
  120. package/dist/lib/plugins/openapi/client/worker.d.ts +0 -4
  121. package/dist/lib/plugins/openapi/client/worker.js +0 -29
  122. package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
  123. package/dist/lib/plugins/openapi-worker.d.ts +0 -1
  124. package/dist/lib/plugins/openapi-worker.js +0 -8
  125. package/dist/lib/plugins/openapi-worker.js.map +0 -1
  126. package/lib/Dialog-Bxv1yEIg.js +0 -67
  127. package/lib/Dialog-Bxv1yEIg.js.map +0 -1
  128. package/lib/OperationList-BLdHAQ39.js.map +0 -1
  129. package/lib/assets/index-C7jnHK4b.js +0 -4841
  130. package/lib/assets/index-C7jnHK4b.js.map +0 -1
  131. package/lib/assets/worker-Cbp2r2BQ.js +0 -18592
  132. package/lib/assets/worker-Cbp2r2BQ.js.map +0 -1
  133. package/lib/createServer-Bf5_6o6G.js.map +0 -1
  134. package/lib/index-BNx95gkf.js +0 -1284
  135. package/lib/index-BNx95gkf.js.map +0 -1
  136. package/lib/index-DyBL--Kz.js +0 -826
  137. package/lib/index-DyBL--Kz.js.map +0 -1
  138. package/lib/zudoku.openapi-worker.js +0 -15
  139. package/lib/zudoku.openapi-worker.js.map +0 -1
  140. package/src/lib/plugins/openapi/ExampleDisplay.tsx +0 -163
  141. package/src/lib/plugins/openapi/client/worker.ts +0 -44
  142. package/src/lib/plugins/openapi-worker.ts +0 -11
@@ -1,826 +0,0 @@
1
- import { g as dt } from "./_commonjsHelpers-BkfeUUK-.js";
2
- function nt(P) {
3
- throw new Error('Could not dynamically require "' + P + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
- }
5
- var ot = { exports: {} }, ct;
6
- function ht() {
7
- return ct || (ct = 1, function(P, Q) {
8
- (function(_) {
9
- P.exports = _();
10
- })(function() {
11
- return function _(C, A, S) {
12
- function j(N, O) {
13
- if (!A[N]) {
14
- if (!C[N]) {
15
- var H = typeof nt == "function" && nt;
16
- if (!O && H) return H(N, !0);
17
- if (V) return V(N, !0);
18
- throw new Error("Cannot find module '" + N + "'");
19
- }
20
- O = A[N] = { exports: {} }, C[N][0].call(O.exports, function(J) {
21
- var K = C[N][1][J];
22
- return j(K || J);
23
- }, O, O.exports, _, C, A, S);
24
- }
25
- return A[N].exports;
26
- }
27
- for (var V = typeof nt == "function" && nt, M = 0; M < S.length; M++) j(S[M]);
28
- return j;
29
- }({ 1: [function(_, C, A) {
30
- (function(S, j, V, M, N, O, H, J, K) {
31
- var y = _("crypto");
32
- function E(s, f) {
33
- f = m(s, f);
34
- var r;
35
- return (r = f.algorithm !== "passthrough" ? y.createHash(f.algorithm) : new I()).write === void 0 && (r.write = r.update, r.end = r.update), h(f, r).dispatch(s), r.update || r.end(""), r.digest ? r.digest(f.encoding === "buffer" ? void 0 : f.encoding) : (s = r.read(), f.encoding !== "buffer" ? s.toString(f.encoding) : s);
36
- }
37
- (A = C.exports = E).sha1 = function(s) {
38
- return E(s);
39
- }, A.keys = function(s) {
40
- return E(s, { excludeValues: !0, algorithm: "sha1", encoding: "hex" });
41
- }, A.MD5 = function(s) {
42
- return E(s, { algorithm: "md5", encoding: "hex" });
43
- }, A.keysMD5 = function(s) {
44
- return E(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 m(s, f) {
48
- var r = {};
49
- if (r.algorithm = (f = f || {}).algorithm || "sha1", r.encoding = f.encoding || "hex", r.excludeValues = !!f.excludeValues, r.algorithm = r.algorithm.toLowerCase(), r.encoding = r.encoding.toLowerCase(), r.ignoreUnknown = f.ignoreUnknown === !0, r.respectType = f.respectType !== !1, r.respectFunctionNames = f.respectFunctionNames !== !1, r.respectFunctionProperties = f.respectFunctionProperties !== !1, r.unorderedArrays = f.unorderedArrays === !0, r.unorderedSets = f.unorderedSets !== !1, r.unorderedObjects = f.unorderedObjects !== !1, r.replacer = f.replacer || void 0, r.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() === r.algorithm.toLowerCase() && (r.algorithm = l[o]);
51
- if (l.indexOf(r.algorithm) === -1) throw new Error('Algorithm "' + r.algorithm + '" not supported. supported values: ' + l.join(", "));
52
- if (p.indexOf(r.encoding) === -1 && r.algorithm !== "passthrough") throw new Error('Encoding "' + r.encoding + '" not supported. supported values: ' + p.join(", "));
53
- return r;
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, r) {
59
- r = r || [];
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 a, u = Object.prototype.toString.call(n), x = /\[object (.*)\]/i.exec(u);
67
- if (x = (x = x ? x[1] : "unknown:[" + u + "]").toLowerCase(), 0 <= (u = r.indexOf(n))) return this.dispatch("[CIRCULAR:" + u + "]");
68
- if (r.push(n), V !== void 0 && V.isBuffer && V.isBuffer(n)) return o("buffer:"), o(n);
69
- if (x === "object" || x === "function" || x === "asyncfunction") return u = Object.keys(n), s.unorderedObjects && (u = u.sort()), s.respectType === !1 || g(n) || u.splice(0, 0, "prototype", "__proto__", "constructor"), s.excludeKeys && (u = u.filter(function(B) {
70
- return !s.excludeKeys(B);
71
- })), o("object:" + u.length + ":"), a = this, u.forEach(function(B) {
72
- a.dispatch(B), o(":"), s.excludeValues || a.dispatch(n[B]), o(",");
73
- });
74
- if (!this["_" + x]) {
75
- if (s.ignoreUnknown) return o("[" + x + "]");
76
- throw new Error('Unknown object type "' + x + '"');
77
- }
78
- this["_" + x](n);
79
- }, _array: function(n, B) {
80
- B = B !== void 0 ? B : s.unorderedArrays !== !1;
81
- var u = this;
82
- if (o("array:" + n.length + ":"), !B || n.length <= 1) return n.forEach(function(L) {
83
- return u.dispatch(L);
84
- });
85
- var x = [], B = n.map(function(L) {
86
- var v = new I(), T = r.slice();
87
- return h(s, v, T).dispatch(L), x = x.concat(T.slice(r.length)), v.read().toString();
88
- });
89
- return r = r.concat(x), B.sort(), this._array(B, !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
- A.writeToStream = function(s, f, r) {
196
- return r === void 0 && (r = f, f = {}), h(f = m(s, f), r).dispatch(s);
197
- };
198
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_9a5aa49d.js", "/");
199
- }, { buffer: 3, crypto: 5, lYpoI2: 11 }], 2: [function(_, C, A) {
200
- (function(S, j, V, M, N, O, H, J, K) {
201
- (function(y) {
202
- var E = typeof Uint8Array < "u" ? Uint8Array : Array, l = 43, p = 47, m = 48, g = 97, h = 65, I = 45, s = 95;
203
- function f(r) {
204
- return r = r.charCodeAt(0), r === l || r === I ? 62 : r === p || r === s ? 63 : r < m ? -1 : r < m + 10 ? r - m + 26 + 26 : r < h + 26 ? r - h : r < g + 26 ? r - g + 26 : void 0;
205
- }
206
- y.toByteArray = function(r) {
207
- var o, n;
208
- if (0 < r.length % 4) throw new Error("Invalid string. Length must be a multiple of 4");
209
- var a = r.length, a = r.charAt(a - 2) === "=" ? 2 : r.charAt(a - 1) === "=" ? 1 : 0, u = new E(3 * r.length / 4 - a), x = 0 < a ? r.length - 4 : r.length, B = 0;
210
- function L(v) {
211
- u[B++] = v;
212
- }
213
- for (o = 0; o < x; o += 4, 0) L((16711680 & (n = f(r.charAt(o)) << 18 | f(r.charAt(o + 1)) << 12 | f(r.charAt(o + 2)) << 6 | f(r.charAt(o + 3)))) >> 16), L((65280 & n) >> 8), L(255 & n);
214
- return a == 2 ? L(255 & (n = f(r.charAt(o)) << 2 | f(r.charAt(o + 1)) >> 4)) : a == 1 && (L((n = f(r.charAt(o)) << 10 | f(r.charAt(o + 1)) << 4 | f(r.charAt(o + 2)) >> 2) >> 8 & 255), L(255 & n)), u;
215
- }, y.fromByteArray = function(r) {
216
- var o, n, a, u, x = r.length % 3, B = "";
217
- function L(v) {
218
- return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(v);
219
- }
220
- for (o = 0, a = r.length - x; o < a; o += 3) n = (r[o] << 16) + (r[o + 1] << 8) + r[o + 2], B += L((u = n) >> 18 & 63) + L(u >> 12 & 63) + L(u >> 6 & 63) + L(63 & u);
221
- switch (x) {
222
- case 1:
223
- B = (B += L((n = r[r.length - 1]) >> 2)) + L(n << 4 & 63) + "==";
224
- break;
225
- case 2:
226
- B = (B = (B += L((n = (r[r.length - 2] << 8) + r[r.length - 1]) >> 10)) + L(n >> 4 & 63)) + L(n << 2 & 63) + "=";
227
- }
228
- return B;
229
- };
230
- })(A === void 0 ? this.base64js = {} : A);
231
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("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(_, C, A) {
233
- (function(S, j, l, M, N, O, H, J, K) {
234
- var y = _("base64-js"), E = _("ieee754");
235
- function l(t, e, i) {
236
- if (!(this instanceof l)) return new l(t, e, i);
237
- var d, c, b, U, Y = typeof t;
238
- if (e === "base64" && Y == "string") for (t = (U = t).trim ? U.trim() : U.replace(/^\s+|\s+$/g, ""); t.length % 4 != 0; ) t += "=";
239
- if (Y == "number") d = $(t);
240
- else if (Y == "string") d = l.byteLength(t, e);
241
- else {
242
- if (Y != "object") throw new Error("First argument needs to be a number, array or string.");
243
- d = $(t.length);
244
- }
245
- if (l._useTypedArrays ? c = l._augment(new Uint8Array(d)) : ((c = this).length = d, c._isBuffer = !0), l._useTypedArrays && typeof t.byteLength == "number") c._set(t);
246
- else if (F(U = t) || l.isBuffer(U) || U && typeof U == "object" && typeof U.length == "number") for (b = 0; b < d; b++) l.isBuffer(t) ? c[b] = t.readUInt8(b) : c[b] = t[b];
247
- else if (Y == "string") c.write(t, 0, e);
248
- else if (Y == "number" && !l._useTypedArrays && !i) for (b = 0; b < d; b++) c[b] = 0;
249
- return c;
250
- }
251
- function p(t, e, i, d) {
252
- return l._charsWritten = tt(function(c) {
253
- for (var b = [], U = 0; U < c.length; U++) b.push(255 & c.charCodeAt(U));
254
- return b;
255
- }(e), t, i, d);
256
- }
257
- function m(t, e, i, d) {
258
- return l._charsWritten = tt(function(c) {
259
- for (var b, U, Y = [], R = 0; R < c.length; R++) U = c.charCodeAt(R), b = U >> 8, U = U % 256, Y.push(U), Y.push(b);
260
- return Y;
261
- }(e), t, i, d);
262
- }
263
- function g(t, e, i) {
264
- var d = "";
265
- i = Math.min(t.length, i);
266
- for (var c = e; c < i; c++) d += String.fromCharCode(t[c]);
267
- return d;
268
- }
269
- function h(t, e, i, b) {
270
- b || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 1 < t.length, "Trying to read beyond buffer length"));
271
- var c, b = t.length;
272
- if (!(b <= e)) return i ? (c = t[e], e + 1 < b && (c |= t[e + 1] << 8)) : (c = t[e] << 8, e + 1 < b && (c |= t[e + 1])), c;
273
- }
274
- function I(t, e, i, b) {
275
- b || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 3 < t.length, "Trying to read beyond buffer length"));
276
- var c, b = t.length;
277
- if (!(b <= e)) return i ? (e + 2 < b && (c = t[e + 2] << 16), e + 1 < b && (c |= t[e + 1] << 8), c |= t[e], e + 3 < b && (c += t[e + 3] << 24 >>> 0)) : (e + 1 < b && (c = t[e + 1] << 16), e + 2 < b && (c |= t[e + 2] << 8), e + 3 < b && (c |= t[e + 3]), c += t[e] << 24 >>> 0), c;
278
- }
279
- function s(t, e, i, d) {
280
- if (d || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 1 < t.length, "Trying to read beyond buffer length")), !(t.length <= e)) return d = h(t, e, i, !0), 32768 & d ? -1 * (65535 - d + 1) : d;
281
- }
282
- function f(t, e, i, d) {
283
- if (d || (w(typeof i == "boolean", "missing or invalid endian"), w(e != null, "missing offset"), w(e + 3 < t.length, "Trying to read beyond buffer length")), !(t.length <= e)) return d = I(t, e, i, !0), 2147483648 & d ? -1 * (4294967295 - d + 1) : d;
284
- }
285
- function r(t, e, i, d) {
286
- return d || (w(typeof i == "boolean", "missing or invalid endian"), w(e + 3 < t.length, "Trying to read beyond buffer length")), E.read(t, e, i, 23, 4);
287
- }
288
- function o(t, e, i, d) {
289
- return d || (w(typeof i == "boolean", "missing or invalid endian"), w(e + 7 < t.length, "Trying to read beyond buffer length")), E.read(t, e, i, 52, 8);
290
- }
291
- function n(t, 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 < t.length, "trying to write beyond buffer length"), rt(e, 65535)), c = t.length, !(c <= i)) for (var b = 0, U = Math.min(c - i, 2); b < U; b++) t[i + b] = (e & 255 << 8 * (d ? b : 1 - b)) >>> 8 * (d ? b : 1 - b);
293
- }
294
- function a(t, 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 < t.length, "trying to write beyond buffer length"), rt(e, 4294967295)), c = t.length, !(c <= i)) for (var b = 0, U = Math.min(c - i, 4); b < U; b++) t[i + b] = e >>> 8 * (d ? b : 3 - b) & 255;
296
- }
297
- function u(t, 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 < t.length, "Trying to write beyond buffer length"), et(e, 32767, -32768)), t.length <= i || n(t, 0 <= e ? e : 65535 + e + 1, i, d, c);
299
- }
300
- function x(t, 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 < t.length, "Trying to write beyond buffer length"), et(e, 2147483647, -2147483648)), t.length <= i || a(t, 0 <= e ? e : 4294967295 + e + 1, i, d, c);
302
- }
303
- function B(t, 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 < t.length, "Trying to write beyond buffer length"), ft(e, 34028234663852886e22, -34028234663852886e22)), t.length <= i || E.write(t, e, i, d, 23, 4);
305
- }
306
- function L(t, 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 < t.length, "Trying to write beyond buffer length"), ft(e, 17976931348623157e292, -17976931348623157e292)), t.length <= i || E.write(t, e, i, d, 52, 8);
308
- }
309
- A.Buffer = l, A.SlowBuffer = l, A.INSPECT_MAX_BYTES = 50, l.poolSize = 8192, l._useTypedArrays = function() {
310
- try {
311
- var t = new ArrayBuffer(0), e = new Uint8Array(t);
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(t) {
319
- switch (String(t).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(t) {
336
- return !(t == null || !t._isBuffer);
337
- }, l.byteLength = function(t, e) {
338
- var i;
339
- switch (t += "", e || "utf8") {
340
- case "hex":
341
- i = t.length / 2;
342
- break;
343
- case "utf8":
344
- case "utf-8":
345
- i = G(t).length;
346
- break;
347
- case "ascii":
348
- case "binary":
349
- case "raw":
350
- i = t.length;
351
- break;
352
- case "base64":
353
- i = at(t).length;
354
- break;
355
- case "ucs2":
356
- case "ucs-2":
357
- case "utf16le":
358
- case "utf-16le":
359
- i = 2 * t.length;
360
- break;
361
- default:
362
- throw new Error("Unknown encoding");
363
- }
364
- return i;
365
- }, l.concat = function(t, e) {
366
- if (w(F(t), `Usage: Buffer.concat(list, [totalLength])
367
- list should be an Array.`), t.length === 0) return new l(0);
368
- if (t.length === 1) return t[0];
369
- if (typeof e != "number") for (c = e = 0; c < t.length; c++) e += t[c].length;
370
- for (var i = new l(e), d = 0, c = 0; c < t.length; c++) {
371
- var b = t[c];
372
- b.copy(i, d), d += b.length;
373
- }
374
- return i;
375
- }, l.prototype.write = function(t, e, i, d) {
376
- isFinite(e) ? isFinite(i) || (d = i, i = void 0) : (R = d, d = e, e = i, i = R), e = Number(e) || 0;
377
- var c, b, U, Y, R = this.length - e;
378
- switch ((!i || R < (i = Number(i))) && (i = R), d = String(d || "utf8").toLowerCase()) {
379
- case "hex":
380
- c = function(X, W, z, q) {
381
- z = Number(z) || 0;
382
- var D = X.length - z;
383
- (!q || D < (q = Number(q))) && (q = D), w((D = W.length) % 2 == 0, "Invalid hex string"), D / 2 < q && (q = D / 2);
384
- for (var Z = 0; Z < q; Z++) {
385
- var lt = parseInt(W.substr(2 * Z, 2), 16);
386
- w(!isNaN(lt), "Invalid hex string"), X[z + Z] = lt;
387
- }
388
- return l._charsWritten = 2 * Z, Z;
389
- }(this, t, e, i);
390
- break;
391
- case "utf8":
392
- case "utf-8":
393
- b = this, U = e, Y = i, c = l._charsWritten = tt(G(t), b, U, Y);
394
- break;
395
- case "ascii":
396
- case "binary":
397
- c = p(this, t, e, i);
398
- break;
399
- case "base64":
400
- b = this, U = e, Y = i, c = l._charsWritten = tt(at(t), b, U, Y);
401
- break;
402
- case "ucs2":
403
- case "ucs-2":
404
- case "utf16le":
405
- case "utf-16le":
406
- c = m(this, t, e, i);
407
- break;
408
- default:
409
- throw new Error("Unknown encoding");
410
- }
411
- return c;
412
- }, l.prototype.toString = function(t, e, i) {
413
- var d, c, b, U, Y = this;
414
- if (t = String(t || "utf8").toLowerCase(), e = Number(e) || 0, (i = i !== void 0 ? Number(i) : Y.length) === e) return "";
415
- switch (t) {
416
- case "hex":
417
- d = function(R, X, W) {
418
- var z = R.length;
419
- (!X || X < 0) && (X = 0), (!W || W < 0 || z < W) && (W = z);
420
- for (var q = "", D = X; D < W; D++) q += k(R[D]);
421
- return q;
422
- }(Y, e, i);
423
- break;
424
- case "utf8":
425
- case "utf-8":
426
- d = function(R, X, W) {
427
- var z = "", q = "";
428
- W = Math.min(R.length, W);
429
- for (var D = X; D < W; D++) R[D] <= 127 ? (z += ut(q) + String.fromCharCode(R[D]), q = "") : q += "%" + R[D].toString(16);
430
- return z + ut(q);
431
- }(Y, e, i);
432
- break;
433
- case "ascii":
434
- case "binary":
435
- d = g(Y, e, i);
436
- break;
437
- case "base64":
438
- c = Y, U = i, d = (b = e) === 0 && U === c.length ? y.fromByteArray(c) : y.fromByteArray(c.slice(b, U));
439
- break;
440
- case "ucs2":
441
- case "ucs-2":
442
- case "utf16le":
443
- case "utf-16le":
444
- d = function(R, X, W) {
445
- for (var z = R.slice(X, W), q = "", D = 0; D < z.length; D += 2) q += String.fromCharCode(z[D] + 256 * z[D + 1]);
446
- return q;
447
- }(Y, 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(t, e, i, d) {
456
- if (e = e || 0, (d = d || d === 0 ? d : this.length) !== (i = i || 0) && t.length !== 0 && this.length !== 0) {
457
- w(i <= d, "sourceEnd < sourceStart"), w(0 <= e && e < t.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 = t.length - e < d - i ? t.length - e + i : d) - i;
459
- if (c < 100 || !l._useTypedArrays) for (var b = 0; b < c; b++) t[b + e] = this[b + i];
460
- else t._set(this.subarray(i, i + c), e);
461
- }
462
- }, l.prototype.slice = function(t, e) {
463
- var i = this.length;
464
- if (t = T(t, i, 0), e = T(e, i, i), l._useTypedArrays) return l._augment(this.subarray(t, e));
465
- for (var d = e - t, c = new l(d, void 0, !0), b = 0; b < d; b++) c[b] = this[b + t];
466
- return c;
467
- }, l.prototype.get = function(t) {
468
- return console.log(".get() is deprecated. Access using array indexes instead."), this.readUInt8(t);
469
- }, l.prototype.set = function(t, e) {
470
- return console.log(".set() is deprecated. Access using array indexes instead."), this.writeUInt8(t, e);
471
- }, l.prototype.readUInt8 = function(t, e) {
472
- if (e || (w(t != null, "missing offset"), w(t < this.length, "Trying to read beyond buffer length")), !(t >= this.length)) return this[t];
473
- }, l.prototype.readUInt16LE = function(t, e) {
474
- return h(this, t, !0, e);
475
- }, l.prototype.readUInt16BE = function(t, e) {
476
- return h(this, t, !1, e);
477
- }, l.prototype.readUInt32LE = function(t, e) {
478
- return I(this, t, !0, e);
479
- }, l.prototype.readUInt32BE = function(t, e) {
480
- return I(this, t, !1, e);
481
- }, l.prototype.readInt8 = function(t, e) {
482
- if (e || (w(t != null, "missing offset"), w(t < this.length, "Trying to read beyond buffer length")), !(t >= this.length)) return 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t];
483
- }, l.prototype.readInt16LE = function(t, e) {
484
- return s(this, t, !0, e);
485
- }, l.prototype.readInt16BE = function(t, e) {
486
- return s(this, t, !1, e);
487
- }, l.prototype.readInt32LE = function(t, e) {
488
- return f(this, t, !0, e);
489
- }, l.prototype.readInt32BE = function(t, e) {
490
- return f(this, t, !1, e);
491
- }, l.prototype.readFloatLE = function(t, e) {
492
- return r(this, t, !0, e);
493
- }, l.prototype.readFloatBE = function(t, e) {
494
- return r(this, t, !1, e);
495
- }, l.prototype.readDoubleLE = function(t, e) {
496
- return o(this, t, !0, e);
497
- }, l.prototype.readDoubleBE = function(t, e) {
498
- return o(this, t, !1, e);
499
- }, l.prototype.writeUInt8 = function(t, e, i) {
500
- i || (w(t != null, "missing value"), w(e != null, "missing offset"), w(e < this.length, "trying to write beyond buffer length"), rt(t, 255)), e >= this.length || (this[e] = t);
501
- }, l.prototype.writeUInt16LE = function(t, e, i) {
502
- n(this, t, e, !0, i);
503
- }, l.prototype.writeUInt16BE = function(t, e, i) {
504
- n(this, t, e, !1, i);
505
- }, l.prototype.writeUInt32LE = function(t, e, i) {
506
- a(this, t, e, !0, i);
507
- }, l.prototype.writeUInt32BE = function(t, e, i) {
508
- a(this, t, e, !1, i);
509
- }, l.prototype.writeInt8 = function(t, e, i) {
510
- i || (w(t != null, "missing value"), w(e != null, "missing offset"), w(e < this.length, "Trying to write beyond buffer length"), et(t, 127, -128)), e >= this.length || (0 <= t ? this.writeUInt8(t, e, i) : this.writeUInt8(255 + t + 1, e, i));
511
- }, l.prototype.writeInt16LE = function(t, e, i) {
512
- u(this, t, e, !0, i);
513
- }, l.prototype.writeInt16BE = function(t, e, i) {
514
- u(this, t, e, !1, i);
515
- }, l.prototype.writeInt32LE = function(t, e, i) {
516
- x(this, t, e, !0, i);
517
- }, l.prototype.writeInt32BE = function(t, e, i) {
518
- x(this, t, e, !1, i);
519
- }, l.prototype.writeFloatLE = function(t, e, i) {
520
- B(this, t, e, !0, i);
521
- }, l.prototype.writeFloatBE = function(t, e, i) {
522
- B(this, t, e, !1, i);
523
- }, l.prototype.writeDoubleLE = function(t, e, i) {
524
- L(this, t, e, !0, i);
525
- }, l.prototype.writeDoubleBE = function(t, e, i) {
526
- L(this, t, e, !1, i);
527
- }, l.prototype.fill = function(t, e, i) {
528
- if (e = e || 0, i = i || this.length, w(typeof (t = typeof (t = t || 0) == "string" ? t.charCodeAt(0) : t) == "number" && !isNaN(t), "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] = t;
531
- }
532
- }, l.prototype.inspect = function() {
533
- for (var t = [], e = this.length, i = 0; i < e; i++) if (t[i] = k(this[i]), i === A.INSPECT_MAX_BYTES) {
534
- t[i + 1] = "...";
535
- break;
536
- }
537
- return "<Buffer " + t.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 t = new Uint8Array(this.length), e = 0, i = t.length; e < i; e += 1) t[e] = this[e];
542
- return t.buffer;
543
- };
544
- var v = l.prototype;
545
- function T(t, e, i) {
546
- return typeof t != "number" ? i : e <= (t = ~~t) ? e : 0 <= t || 0 <= (t += e) ? t : 0;
547
- }
548
- function $(t) {
549
- return (t = ~~Math.ceil(+t)) < 0 ? 0 : t;
550
- }
551
- function F(t) {
552
- return (Array.isArray || function(e) {
553
- return Object.prototype.toString.call(e) === "[object Array]";
554
- })(t);
555
- }
556
- function k(t) {
557
- return t < 16 ? "0" + t.toString(16) : t.toString(16);
558
- }
559
- function G(t) {
560
- for (var e = [], i = 0; i < t.length; i++) {
561
- var d = t.charCodeAt(i);
562
- if (d <= 127) e.push(t.charCodeAt(i));
563
- else for (var c = i, b = (55296 <= d && d <= 57343 && i++, encodeURIComponent(t.slice(c, i + 1)).substr(1).split("%")), U = 0; U < b.length; U++) e.push(parseInt(b[U], 16));
564
- }
565
- return e;
566
- }
567
- function at(t) {
568
- return y.toByteArray(t);
569
- }
570
- function tt(t, e, i, d) {
571
- for (var c = 0; c < d && !(c + i >= e.length || c >= t.length); c++) e[c + i] = t[c];
572
- return c;
573
- }
574
- function ut(t) {
575
- try {
576
- return decodeURIComponent(t);
577
- } catch {
578
- return "�";
579
- }
580
- }
581
- function rt(t, e) {
582
- w(typeof t == "number", "cannot write a non-number as a number"), w(0 <= t, "specified a negative value for writing an unsigned value"), w(t <= e, "value is larger than maximum value for type"), w(Math.floor(t) === t, "value has a fractional component");
583
- }
584
- function et(t, e, i) {
585
- w(typeof t == "number", "cannot write a non-number as a number"), w(t <= e, "value larger than maximum allowed value"), w(i <= t, "value smaller than minimum allowed value"), w(Math.floor(t) === t, "value has a fractional component");
586
- }
587
- function ft(t, e, i) {
588
- w(typeof t == "number", "cannot write a non-number as a number"), w(t <= e, "value larger than maximum allowed value"), w(i <= t, "value smaller than minimum allowed value");
589
- }
590
- function w(t, e) {
591
- if (!t) throw new Error(e || "Failed assertion");
592
- }
593
- l._augment = function(t) {
594
- return t._isBuffer = !0, t._get = t.get, t._set = t.set, t.get = v.get, t.set = v.set, t.write = v.write, t.toString = v.toString, t.toLocaleString = v.toString, t.toJSON = v.toJSON, t.copy = v.copy, t.slice = v.slice, t.readUInt8 = v.readUInt8, t.readUInt16LE = v.readUInt16LE, t.readUInt16BE = v.readUInt16BE, t.readUInt32LE = v.readUInt32LE, t.readUInt32BE = v.readUInt32BE, t.readInt8 = v.readInt8, t.readInt16LE = v.readInt16LE, t.readInt16BE = v.readInt16BE, t.readInt32LE = v.readInt32LE, t.readInt32BE = v.readInt32BE, t.readFloatLE = v.readFloatLE, t.readFloatBE = v.readFloatBE, t.readDoubleLE = v.readDoubleLE, t.readDoubleBE = v.readDoubleBE, t.writeUInt8 = v.writeUInt8, t.writeUInt16LE = v.writeUInt16LE, t.writeUInt16BE = v.writeUInt16BE, t.writeUInt32LE = v.writeUInt32LE, t.writeUInt32BE = v.writeUInt32BE, t.writeInt8 = v.writeInt8, t.writeInt16LE = v.writeInt16LE, t.writeInt16BE = v.writeInt16BE, t.writeInt32LE = v.writeInt32LE, t.writeInt32BE = v.writeInt32BE, t.writeFloatLE = v.writeFloatLE, t.writeFloatBE = v.writeFloatBE, t.writeDoubleLE = v.writeDoubleLE, t.writeDoubleBE = v.writeDoubleBE, t.fill = v.fill, t.inspect = v.inspect, t.toArrayBuffer = v.toArrayBuffer, t;
595
- };
596
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("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(_, C, A) {
598
- (function(S, j, y, M, N, O, H, J, K) {
599
- var y = _("buffer").Buffer, E = 4, l = new y(E);
600
- l.fill(0), C.exports = { hash: function(p, m, g, h) {
601
- for (var I = m(function(n, a) {
602
- n.length % E != 0 && (u = n.length + (E - n.length % E), n = y.concat([n, l], u));
603
- for (var u, x = [], B = a ? n.readInt32BE : n.readInt32LE, L = 0; L < n.length; L += E) x.push(B.call(n, L));
604
- return x;
605
- }(p = y.isBuffer(p) ? p : new y(p), h), 8 * p.length), m = h, s = new y(g), f = m ? s.writeInt32BE : s.writeInt32LE, r = 0; r < I.length; r++) f.call(s, I[r], 4 * r, !0);
606
- return s;
607
- } };
608
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("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(_, C, A) {
610
- (function(S, j, y, M, N, O, H, J, K) {
611
- var y = _("buffer").Buffer, E = _("./sha"), l = _("./sha256"), p = _("./rng"), m = { sha1: E, sha256: l, md5: _("./md5") }, g = 64, h = new y(g);
612
- function I(n, a) {
613
- var u = m[n = n || "sha1"], x = [];
614
- return u || s("algorithm:", n, "is not yet supported"), { update: function(B) {
615
- return y.isBuffer(B) || (B = new y(B)), x.push(B), B.length, this;
616
- }, digest: function(B) {
617
- var L = y.concat(x), L = a ? function(v, T, $) {
618
- y.isBuffer(T) || (T = new y(T)), y.isBuffer($) || ($ = new y($)), T.length > g ? T = v(T) : T.length < g && (T = y.concat([T, h], g));
619
- for (var F = new y(g), k = new y(g), G = 0; G < g; G++) F[G] = 54 ^ T[G], k[G] = 92 ^ T[G];
620
- return $ = v(y.concat([F, $])), v(y.concat([k, $]));
621
- }(u, a, L) : u(L);
622
- return x = null, B ? L.toString(B) : L;
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), A.createHash = function(n) {
631
- return I(n);
632
- }, A.createHmac = I, A.randomBytes = function(n, a) {
633
- if (!a || !a.call) return new y(p(n));
634
- try {
635
- a.call(this, void 0, new y(p(n)));
636
- } catch (u) {
637
- a(u);
638
- }
639
- };
640
- var f, r = ["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"], o = function(n) {
641
- A[n] = function() {
642
- s("sorry,", n, "is not implemented yet");
643
- };
644
- };
645
- for (f in r) o(r[f]);
646
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("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(_, C, A) {
648
- (function(S, j, V, M, N, O, H, J, K) {
649
- var y = _("./helpers");
650
- function E(s, f) {
651
- s[f >> 5] |= 128 << f % 32, s[14 + (f + 64 >>> 9 << 4)] = f;
652
- for (var r = 1732584193, o = -271733879, n = -1732584194, a = 271733878, u = 0; u < s.length; u += 16) {
653
- var x = r, B = o, L = n, v = a, r = p(r, o, n, a, s[u + 0], 7, -680876936), a = p(a, r, o, n, s[u + 1], 12, -389564586), n = p(n, a, r, o, s[u + 2], 17, 606105819), o = p(o, n, a, r, s[u + 3], 22, -1044525330);
654
- r = p(r, o, n, a, s[u + 4], 7, -176418897), a = p(a, r, o, n, s[u + 5], 12, 1200080426), n = p(n, a, r, o, s[u + 6], 17, -1473231341), o = p(o, n, a, r, s[u + 7], 22, -45705983), r = p(r, o, n, a, s[u + 8], 7, 1770035416), a = p(a, r, o, n, s[u + 9], 12, -1958414417), n = p(n, a, r, o, s[u + 10], 17, -42063), o = p(o, n, a, r, s[u + 11], 22, -1990404162), r = p(r, o, n, a, s[u + 12], 7, 1804603682), a = p(a, r, o, n, s[u + 13], 12, -40341101), n = p(n, a, r, o, s[u + 14], 17, -1502002290), r = m(r, o = p(o, n, a, r, s[u + 15], 22, 1236535329), n, a, s[u + 1], 5, -165796510), a = m(a, r, o, n, s[u + 6], 9, -1069501632), n = m(n, a, r, o, s[u + 11], 14, 643717713), o = m(o, n, a, r, s[u + 0], 20, -373897302), r = m(r, o, n, a, s[u + 5], 5, -701558691), a = m(a, r, o, n, s[u + 10], 9, 38016083), n = m(n, a, r, o, s[u + 15], 14, -660478335), o = m(o, n, a, r, s[u + 4], 20, -405537848), r = m(r, o, n, a, s[u + 9], 5, 568446438), a = m(a, r, o, n, s[u + 14], 9, -1019803690), n = m(n, a, r, o, s[u + 3], 14, -187363961), o = m(o, n, a, r, s[u + 8], 20, 1163531501), r = m(r, o, n, a, s[u + 13], 5, -1444681467), a = m(a, r, o, n, s[u + 2], 9, -51403784), n = m(n, a, r, o, s[u + 7], 14, 1735328473), r = g(r, o = m(o, n, a, r, s[u + 12], 20, -1926607734), n, a, s[u + 5], 4, -378558), a = g(a, r, o, n, s[u + 8], 11, -2022574463), n = g(n, a, r, o, s[u + 11], 16, 1839030562), o = g(o, n, a, r, s[u + 14], 23, -35309556), r = g(r, o, n, a, s[u + 1], 4, -1530992060), a = g(a, r, o, n, s[u + 4], 11, 1272893353), n = g(n, a, r, o, s[u + 7], 16, -155497632), o = g(o, n, a, r, s[u + 10], 23, -1094730640), r = g(r, o, n, a, s[u + 13], 4, 681279174), a = g(a, r, o, n, s[u + 0], 11, -358537222), n = g(n, a, r, o, s[u + 3], 16, -722521979), o = g(o, n, a, r, s[u + 6], 23, 76029189), r = g(r, o, n, a, s[u + 9], 4, -640364487), a = g(a, r, o, n, s[u + 12], 11, -421815835), n = g(n, a, r, o, s[u + 15], 16, 530742520), r = h(r, o = g(o, n, a, r, s[u + 2], 23, -995338651), n, a, s[u + 0], 6, -198630844), a = h(a, r, o, n, s[u + 7], 10, 1126891415), n = h(n, a, r, o, s[u + 14], 15, -1416354905), o = h(o, n, a, r, s[u + 5], 21, -57434055), r = h(r, o, n, a, s[u + 12], 6, 1700485571), a = h(a, r, o, n, s[u + 3], 10, -1894986606), n = h(n, a, r, o, s[u + 10], 15, -1051523), o = h(o, n, a, r, s[u + 1], 21, -2054922799), r = h(r, o, n, a, s[u + 8], 6, 1873313359), a = h(a, r, o, n, s[u + 15], 10, -30611744), n = h(n, a, r, o, s[u + 6], 15, -1560198380), o = h(o, n, a, r, s[u + 13], 21, 1309151649), r = h(r, o, n, a, s[u + 4], 6, -145523070), a = h(a, r, o, n, s[u + 11], 10, -1120210379), n = h(n, a, r, o, s[u + 2], 15, 718787259), o = h(o, n, a, r, s[u + 9], 21, -343485551), r = I(r, x), o = I(o, B), n = I(n, L), a = I(a, v);
655
- }
656
- return Array(r, o, n, a);
657
- }
658
- function l(s, f, r, o, n, a) {
659
- return I((f = I(I(f, s), I(o, a))) << n | f >>> 32 - n, r);
660
- }
661
- function p(s, f, r, o, n, a, u) {
662
- return l(f & r | ~f & o, s, f, n, a, u);
663
- }
664
- function m(s, f, r, o, n, a, u) {
665
- return l(f & o | r & ~o, s, f, n, a, u);
666
- }
667
- function g(s, f, r, o, n, a, u) {
668
- return l(f ^ r ^ o, s, f, n, a, u);
669
- }
670
- function h(s, f, r, o, n, a, u) {
671
- return l(r ^ (f | ~o), s, f, n, a, u);
672
- }
673
- function I(s, f) {
674
- var r = (65535 & s) + (65535 & f);
675
- return (s >> 16) + (f >> 16) + (r >> 16) << 16 | 65535 & r;
676
- }
677
- C.exports = function(s) {
678
- return y.hash(s, E, 16);
679
- };
680
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("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(_, C, A) {
682
- (function(S, j, V, M, N, O, H, J, K) {
683
- C.exports = function(y) {
684
- for (var E, l = new Array(y), p = 0; p < y; p++) !(3 & p) && (E = 4294967296 * Math.random()), l[p] = E >>> ((3 & p) << 3) & 255;
685
- return l;
686
- };
687
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("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(_, C, A) {
689
- (function(S, j, V, M, N, O, H, J, K) {
690
- var y = _("./helpers");
691
- function E(m, g) {
692
- m[g >> 5] |= 128 << 24 - g % 32, m[15 + (g + 64 >> 9 << 4)] = g;
693
- for (var h, I, s, f = Array(80), r = 1732584193, o = -271733879, n = -1732584194, a = 271733878, u = -1009589776, x = 0; x < m.length; x += 16) {
694
- for (var B = r, L = o, v = n, T = a, $ = u, F = 0; F < 80; F++) {
695
- f[F] = F < 16 ? m[x + F] : p(f[F - 3] ^ f[F - 8] ^ f[F - 14] ^ f[F - 16], 1);
696
- var k = l(l(p(r, 5), (k = o, I = n, s = a, (h = F) < 20 ? k & I | ~k & s : !(h < 40) && h < 60 ? k & I | k & s | I & s : k ^ I ^ s)), l(l(u, f[F]), (h = F) < 20 ? 1518500249 : h < 40 ? 1859775393 : h < 60 ? -1894007588 : -899497514)), u = a, a = n, n = p(o, 30), o = r, r = k;
697
- }
698
- r = l(r, B), o = l(o, L), n = l(n, v), a = l(a, T), u = l(u, $);
699
- }
700
- return Array(r, o, n, a, u);
701
- }
702
- function l(m, g) {
703
- var h = (65535 & m) + (65535 & g);
704
- return (m >> 16) + (g >> 16) + (h >> 16) << 16 | 65535 & h;
705
- }
706
- function p(m, g) {
707
- return m << g | m >>> 32 - g;
708
- }
709
- C.exports = function(m) {
710
- return y.hash(m, E, 20, !0);
711
- };
712
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("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(_, C, A) {
714
- (function(S, j, V, M, 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 E(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), r = new Array(64);
721
- g[h >> 5] |= 128 << 24 - h % 32, g[15 + (h + 64 >> 9 << 4)] = h;
722
- for (var o, n, a = 0; a < g.length; a += 16) {
723
- for (var u = f[0], x = f[1], B = f[2], L = f[3], v = f[4], T = f[5], $ = f[6], F = f[7], k = 0; k < 64; k++) r[k] = k < 16 ? g[k + a] : y(y(y((n = r[k - 2], p(n, 17) ^ p(n, 19) ^ m(n, 10)), r[k - 7]), (n = r[k - 15], p(n, 7) ^ p(n, 18) ^ m(n, 3))), r[k - 16]), I = y(y(y(y(F, p(n = v, 6) ^ p(n, 11) ^ p(n, 25)), v & T ^ ~v & $), s[k]), r[k]), o = y(p(o = u, 2) ^ p(o, 13) ^ p(o, 22), u & x ^ u & B ^ x & B), F = $, $ = T, T = v, v = y(L, I), L = B, B = x, x = u, u = y(I, o);
724
- f[0] = y(u, f[0]), f[1] = y(x, f[1]), f[2] = y(B, f[2]), f[3] = y(L, f[3]), f[4] = y(v, f[4]), f[5] = y(T, f[5]), f[6] = y($, f[6]), f[7] = y(F, f[7]);
725
- }
726
- return f;
727
- }
728
- var l = _("./helpers"), p = function(g, h) {
729
- return g >>> h | g << 32 - h;
730
- }, m = function(g, h) {
731
- return g >>> h;
732
- };
733
- C.exports = function(g) {
734
- return l.hash(g, E, 32, !0);
735
- };
736
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("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(_, C, A) {
738
- (function(S, j, V, M, N, O, H, J, K) {
739
- A.read = function(y, E, l, p, a) {
740
- var g, h, I = 8 * a - p - 1, s = (1 << I) - 1, f = s >> 1, r = -7, o = l ? a - 1 : 0, n = l ? -1 : 1, a = y[E + o];
741
- for (o += n, g = a & (1 << -r) - 1, a >>= -r, r += I; 0 < r; g = 256 * g + y[E + o], o += n, r -= 8) ;
742
- for (h = g & (1 << -r) - 1, g >>= -r, r += p; 0 < r; h = 256 * h + y[E + o], o += n, r -= 8) ;
743
- if (g === 0) g = 1 - f;
744
- else {
745
- if (g === s) return h ? NaN : 1 / 0 * (a ? -1 : 1);
746
- h += Math.pow(2, p), g -= f;
747
- }
748
- return (a ? -1 : 1) * h * Math.pow(2, g - p);
749
- }, A.write = function(y, E, l, p, m, u) {
750
- var h, I, s = 8 * u - m - 1, f = (1 << s) - 1, r = f >> 1, o = m === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, n = p ? 0 : u - 1, a = p ? 1 : -1, u = E < 0 || E === 0 && 1 / E < 0 ? 1 : 0;
751
- for (E = Math.abs(E), isNaN(E) || E === 1 / 0 ? (I = isNaN(E) ? 1 : 0, h = f) : (h = Math.floor(Math.log(E) / Math.LN2), E * (p = Math.pow(2, -h)) < 1 && (h--, p *= 2), 2 <= (E += 1 <= h + r ? o / p : o * Math.pow(2, 1 - r)) * p && (h++, p /= 2), f <= h + r ? (I = 0, h = f) : 1 <= h + r ? (I = (E * p - 1) * Math.pow(2, m), h += r) : (I = E * Math.pow(2, r - 1) * Math.pow(2, m), h = 0)); 8 <= m; y[l + n] = 255 & I, n += a, I /= 256, m -= 8) ;
752
- for (h = h << m | I, s += m; 0 < s; y[l + n] = 255 & h, n += a, h /= 256, s -= 8) ;
753
- y[l + n - a] |= 128 * u;
754
- };
755
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("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(_, C, A) {
757
- (function(S, j, V, M, N, O, H, J, K) {
758
- var y, E, l;
759
- function p() {
760
- }
761
- (S = C.exports = {}).nextTick = (E = typeof window < "u" && window.setImmediate, l = typeof window < "u" && window.postMessage && window.addEventListener, E ? function(m) {
762
- return window.setImmediate(m);
763
- } : l ? (y = [], window.addEventListener("message", function(m) {
764
- var g = m.source;
765
- g !== window && g !== null || m.data !== "process-tick" || (m.stopPropagation(), 0 < y.length && y.shift()());
766
- }, !0), function(m) {
767
- y.push(m), window.postMessage("process-tick", "*");
768
- }) : function(m) {
769
- setTimeout(m, 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(m) {
771
- throw new Error("process.binding is not supported");
772
- }, S.cwd = function() {
773
- return "/";
774
- }, S.chdir = function(m) {
775
- throw new Error("process.chdir is not supported");
776
- };
777
- }).call(this, _("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, _("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
- }(ot)), ot.exports;
781
- }
782
- var pt = ht();
783
- const mt = /* @__PURE__ */ dt(pt), it = /* @__PURE__ */ new Map(), gt = (P, Q) => {
784
- it.has(P) || it.set(P, /* @__PURE__ */ new Map());
785
- const _ = it.get(P);
786
- if (_.has(Q))
787
- return _.get(Q);
788
- const C = Q.split("/").slice(1);
789
- let A = P;
790
- for (const S of C)
791
- (!A || typeof A != "object") && (A = null), A = A[S] ?? null;
792
- return _.set(Q, A), A;
793
- }, yt = "$[Circular Reference]", st = /* @__PURE__ */ new Map(), wt = (P) => P !== null && typeof P == "object", vt = async (P, Q = []) => {
794
- if (st.has(P))
795
- return st.get(P);
796
- const _ = structuredClone(P), C = /* @__PURE__ */ new Set(), A = async (j, V) => {
797
- if (wt(j)) {
798
- if (C.has(j))
799
- return yt;
800
- if (C.add(j), Array.isArray(j))
801
- for (let M = 0; M < j.length; M++)
802
- j[M] = await A(j[M]);
803
- else {
804
- if ("$ref" in j && typeof j.$ref == "string") {
805
- for (const N of Q) {
806
- const O = await N(j.$ref);
807
- if (O) return await A(O);
808
- }
809
- const M = await gt(_, j.$ref);
810
- return await A(M);
811
- }
812
- for (const M in j)
813
- j[M] = await A(j[M]);
814
- }
815
- C.delete(j);
816
- }
817
- return j;
818
- }, S = await A(_);
819
- return st.set(P, S), S;
820
- };
821
- export {
822
- yt as C,
823
- vt as d,
824
- mt as h
825
- };
826
- //# sourceMappingURL=index-DyBL--Kz.js.map