@prosopo/client-bundle-example 2.8.2 → 2.9.4

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 (131) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +3 -2
  3. package/dist/assets/{captcha-BhkVCEXM.css → captcha-DAWM1slf.css} +1 -1
  4. package/dist/assets/{frictionless-explicit-CNjy6JJ4.js → frictionless-explicit-CtnTw8dK.js} +1 -1
  5. package/dist/assets/{frictionless-implicit-Dq_sNGRK.js → frictionless-implicit-BH7anfOq.js} +1 -1
  6. package/dist/assets/{image-explicit-DQvfVB7-.js → image-explicit-Dm_JoW0N.js} +1 -1
  7. package/dist/assets/image-implicit-M0Y7U93R.js +1 -0
  8. package/dist/assets/{index-Dpt_5E72.js → index-Ck5HfpfQ.js} +1 -1
  9. package/dist/assets/{invisible-frictionless-explicit-DugBtRe4.js → invisible-frictionless-explicit-CSPYfcNr.js} +1 -1
  10. package/dist/assets/{invisible-frictionless-implicit-DYYos8W9.js → invisible-frictionless-implicit-D0saDt4U.js} +1 -1
  11. package/dist/assets/{invisible-image-explicit-C5Z4gSb1.js → invisible-image-explicit-erOMAo-F.js} +1 -1
  12. package/dist/assets/{invisible-image-implicit-DfNFNlFj.js → invisible-image-implicit-c0sMfk2s.js} +1 -1
  13. package/dist/assets/{invisible-pow-explicit-DjqGWFUb.js → invisible-pow-explicit-BgMt7lhN.js} +1 -1
  14. package/dist/assets/{invisible-pow-implicit-BRXL14FH.js → invisible-pow-implicit-CnxS8gw2.js} +1 -1
  15. package/dist/assets/{pow-explicit-BexxbnHM.js → pow-explicit-BgDWNJK9.js} +1 -1
  16. package/dist/assets/{pow-implicit-Dpt_5E72.js → pow-implicit-Ck5HfpfQ.js} +1 -1
  17. package/dist/cjs/index.cjs +1 -0
  18. package/dist/frictionless-explicit.html +8 -8
  19. package/dist/frictionless-implicit.html +7 -7
  20. package/dist/image-explicit.html +4 -4
  21. package/dist/index.html +4 -4
  22. package/dist/invisible-frictionless-explicit.html +4 -4
  23. package/dist/invisible-frictionless-implicit.html +4 -4
  24. package/dist/invisible-image-explicit.html +4 -4
  25. package/dist/invisible-image-implicit.html +4 -4
  26. package/dist/invisible-pow-explicit.html +4 -4
  27. package/dist/invisible-pow-implicit.html +4 -4
  28. package/dist/plugins/navigation-injector.ts +1 -1
  29. package/dist/pow-explicit.html +4 -4
  30. package/dist/pow-implicit.html +4 -4
  31. package/env.staging +6 -0
  32. package/package.json +29 -16
  33. package/vite.cjs.config.ts +22 -0
  34. package/vite.config.ts +21 -2
  35. package/vite.esm.config.ts +20 -0
  36. package/dist/assets/ProcaptchaWidget-DrBDhP6X.js +0 -636
  37. package/dist/assets/ProcaptchaWidget-rAM-9Rap.js +0 -360
  38. package/dist/assets/Signer-DP9drQ55.js +0 -23
  39. package/dist/assets/_commonjsHelpers-DaMA6jEr.js +0 -8
  40. package/dist/assets/asU8a-CJdNkNEq.js +0 -9
  41. package/dist/assets/bip39-Du2cANEV.js +0 -365
  42. package/dist/assets/browser-ponyfill-Dy1JBTMg.js +0 -339
  43. package/dist/assets/captchaComponentProvider-DmV1WTrT.js +0 -1242
  44. package/dist/assets/captchaRenderer-RIsSZXCC.js +0 -70
  45. package/dist/assets/components.d.ts +0 -5
  46. package/dist/assets/components.d.ts.map +0 -1
  47. package/dist/assets/emotion-element-5486c51c.browser.esm-C3u8NMUC.js +0 -1807
  48. package/dist/assets/fp.esm-DYWeNGcH.js +0 -1654
  49. package/dist/assets/hash-_rWungeW.js +0 -1268
  50. package/dist/assets/i18nFrontend-CsPT71ro.js +0 -2273
  51. package/dist/assets/image-implicit-Bwa9QJO5.js +0 -1
  52. package/dist/assets/index-BVr9fC_3.js +0 -4386
  53. package/dist/assets/index-BjRdPnnE.js +0 -1198
  54. package/dist/assets/index-Cu5oL_7b.js +0 -81
  55. package/dist/assets/index-DxIFpl6U.js +0 -5416
  56. package/dist/assets/index-QVME9Prx.js +0 -32
  57. package/dist/assets/index-Wgw2GQWq.js +0 -596
  58. package/dist/assets/index.d.ts +0 -16
  59. package/dist/assets/index.d.ts.map +0 -1
  60. package/dist/assets/locales/ar/translation.json +0 -56
  61. package/dist/assets/locales/az/translation.json +0 -56
  62. package/dist/assets/locales/cs/translation.json +0 -56
  63. package/dist/assets/locales/de/translation.json +0 -56
  64. package/dist/assets/locales/el/translation.json +0 -56
  65. package/dist/assets/locales/en/translation.json +0 -56
  66. package/dist/assets/locales/es/translation.json +0 -56
  67. package/dist/assets/locales/fi/translation.json +0 -56
  68. package/dist/assets/locales/fr/translation.json +0 -56
  69. package/dist/assets/locales/hi/translation.json +0 -56
  70. package/dist/assets/locales/hu/translation.json +0 -56
  71. package/dist/assets/locales/id/translation.json +0 -56
  72. package/dist/assets/locales/it/translation.json +0 -56
  73. package/dist/assets/locales/ja/translation.json +0 -56
  74. package/dist/assets/locales/jv/translation.json +0 -56
  75. package/dist/assets/locales/ko/translation.json +0 -56
  76. package/dist/assets/locales/ml/translation.json +0 -56
  77. package/dist/assets/locales/ms/translation.json +0 -56
  78. package/dist/assets/locales/nl/translation.json +0 -56
  79. package/dist/assets/locales/no/translation.json +0 -56
  80. package/dist/assets/locales/pl/translation.json +0 -56
  81. package/dist/assets/locales/pt/translation.json +0 -56
  82. package/dist/assets/locales/pt-br/translation.json +0 -56
  83. package/dist/assets/locales/ro/translation.json +0 -56
  84. package/dist/assets/locales/ru/translation.json +0 -56
  85. package/dist/assets/locales/sr/translation.json +0 -56
  86. package/dist/assets/locales/sv/translation.json +0 -56
  87. package/dist/assets/locales/th/translation.json +0 -56
  88. package/dist/assets/locales/tr/translation.json +0 -56
  89. package/dist/assets/locales/uk/translation.json +0 -56
  90. package/dist/assets/locales/vi/translation.json +0 -56
  91. package/dist/assets/locales/zh-cn/translation.json +0 -56
  92. package/dist/assets/procaptcha.bundle.js +0 -7
  93. package/dist/assets/spread-DEmVz7RJ.js +0 -15
  94. package/dist/assets/tests/util/captchaType.test.d.ts +0 -2
  95. package/dist/assets/tests/util/captchaType.test.d.ts.map +0 -1
  96. package/dist/assets/tests/util/config.test.d.ts +0 -2
  97. package/dist/assets/tests/util/config.test.d.ts.map +0 -1
  98. package/dist/assets/tests/util/renderLogic.test.d.ts +0 -2
  99. package/dist/assets/tests/util/renderLogic.test.d.ts.map +0 -1
  100. package/dist/assets/toU8a-C68WUzs_.js +0 -24
  101. package/dist/assets/translations-DEL070wJ.js +0 -2918
  102. package/dist/assets/useTranslation-CJplXtqb.js +0 -158
  103. package/dist/assets/util/captcha/captchaComponentProvider.d.ts +0 -8
  104. package/dist/assets/util/captcha/captchaComponentProvider.d.ts.map +0 -1
  105. package/dist/assets/util/captcha/captchaComponentsList.d.ts +0 -6
  106. package/dist/assets/util/captcha/captchaComponentsList.d.ts.map +0 -1
  107. package/dist/assets/util/captcha/captchaProps.d.ts +0 -9
  108. package/dist/assets/util/captcha/captchaProps.d.ts.map +0 -1
  109. package/dist/assets/util/captcha/captchaRenderer.d.ts +0 -24
  110. package/dist/assets/util/captcha/captchaRenderer.d.ts.map +0 -1
  111. package/dist/assets/util/captcha/captchaType.d.ts +0 -2
  112. package/dist/assets/util/captcha/captchaType.d.ts.map +0 -1
  113. package/dist/assets/util/captcha/components/frictionlessCaptcha.d.ts +0 -4
  114. package/dist/assets/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
  115. package/dist/assets/util/captcha/components/imageCaptcha.d.ts +0 -4
  116. package/dist/assets/util/captcha/components/imageCaptcha.d.ts.map +0 -1
  117. package/dist/assets/util/captcha/components/powCaptcha.d.ts +0 -4
  118. package/dist/assets/util/captcha/components/powCaptcha.d.ts.map +0 -1
  119. package/dist/assets/util/config.d.ts +0 -6
  120. package/dist/assets/util/config.d.ts.map +0 -1
  121. package/dist/assets/util/configCreator.d.ts +0 -5
  122. package/dist/assets/util/configCreator.d.ts.map +0 -1
  123. package/dist/assets/util/language.d.ts +0 -3
  124. package/dist/assets/util/language.d.ts.map +0 -1
  125. package/dist/assets/util/timeout.d.ts +0 -3
  126. package/dist/assets/util/timeout.d.ts.map +0 -1
  127. package/dist/assets/util/widgetFactory.d.ts +0 -18
  128. package/dist/assets/util/widgetFactory.d.ts.map +0 -1
  129. package/dist/assets/util/widgetThemeResolver.d.ts +0 -9
  130. package/dist/assets/util/widgetThemeResolver.d.ts.map +0 -1
  131. /package/dist/assets/{captcha-ByKnSsbG.js → captcha-BaCo3bEP.js} +0 -0
@@ -1,339 +0,0 @@
1
- import { g as V, c as R } from "./_commonjsHelpers-DaMA6jEr.js";
2
- function z(w, d) {
3
- for (var b = 0; b < d.length; b++) {
4
- const y = d[b];
5
- if (typeof y != "string" && !Array.isArray(y)) {
6
- for (const h in y)
7
- if (h !== "default" && !(h in w)) {
8
- const p = Object.getOwnPropertyDescriptor(y, h);
9
- p && Object.defineProperty(w, h, p.get ? p : {
10
- enumerable: !0,
11
- get: () => y[h]
12
- });
13
- }
14
- }
15
- }
16
- return Object.freeze(Object.defineProperty(w, Symbol.toStringTag, { value: "Module" }));
17
- }
18
- var O = { exports: {} };
19
- (function(w, d) {
20
- var b = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof R < "u" && R, y = function() {
21
- function p() {
22
- this.fetch = !1, this.DOMException = b.DOMException;
23
- }
24
- return p.prototype = b, new p();
25
- }();
26
- (function(p) {
27
- (function(u) {
28
- var a = typeof p < "u" && p || typeof self < "u" && self || typeof a < "u" && a, f = {
29
- searchParams: "URLSearchParams" in a,
30
- iterable: "Symbol" in a && "iterator" in Symbol,
31
- blob: "FileReader" in a && "Blob" in a && function() {
32
- try {
33
- return new Blob(), !0;
34
- } catch {
35
- return !1;
36
- }
37
- }(),
38
- formData: "FormData" in a,
39
- arrayBuffer: "ArrayBuffer" in a
40
- };
41
- function j(e) {
42
- return e && DataView.prototype.isPrototypeOf(e);
43
- }
44
- if (f.arrayBuffer)
45
- var S = [
46
- "[object Int8Array]",
47
- "[object Uint8Array]",
48
- "[object Uint8ClampedArray]",
49
- "[object Int16Array]",
50
- "[object Uint16Array]",
51
- "[object Int32Array]",
52
- "[object Uint32Array]",
53
- "[object Float32Array]",
54
- "[object Float64Array]"
55
- ], F = ArrayBuffer.isView || function(e) {
56
- return e && S.indexOf(Object.prototype.toString.call(e)) > -1;
57
- };
58
- function v(e) {
59
- if (typeof e != "string" && (e = String(e)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e) || e === "")
60
- throw new TypeError('Invalid character in header field name: "' + e + '"');
61
- return e.toLowerCase();
62
- }
63
- function A(e) {
64
- return typeof e != "string" && (e = String(e)), e;
65
- }
66
- function E(e) {
67
- var t = {
68
- next: function() {
69
- var r = e.shift();
70
- return { done: r === void 0, value: r };
71
- }
72
- };
73
- return f.iterable && (t[Symbol.iterator] = function() {
74
- return t;
75
- }), t;
76
- }
77
- function s(e) {
78
- this.map = {}, e instanceof s ? e.forEach(function(t, r) {
79
- this.append(r, t);
80
- }, this) : Array.isArray(e) ? e.forEach(function(t) {
81
- this.append(t[0], t[1]);
82
- }, this) : e && Object.getOwnPropertyNames(e).forEach(function(t) {
83
- this.append(t, e[t]);
84
- }, this);
85
- }
86
- s.prototype.append = function(e, t) {
87
- e = v(e), t = A(t);
88
- var r = this.map[e];
89
- this.map[e] = r ? r + ", " + t : t;
90
- }, s.prototype.delete = function(e) {
91
- delete this.map[v(e)];
92
- }, s.prototype.get = function(e) {
93
- return e = v(e), this.has(e) ? this.map[e] : null;
94
- }, s.prototype.has = function(e) {
95
- return this.map.hasOwnProperty(v(e));
96
- }, s.prototype.set = function(e, t) {
97
- this.map[v(e)] = A(t);
98
- }, s.prototype.forEach = function(e, t) {
99
- for (var r in this.map)
100
- this.map.hasOwnProperty(r) && e.call(t, this.map[r], r, this);
101
- }, s.prototype.keys = function() {
102
- var e = [];
103
- return this.forEach(function(t, r) {
104
- e.push(r);
105
- }), E(e);
106
- }, s.prototype.values = function() {
107
- var e = [];
108
- return this.forEach(function(t) {
109
- e.push(t);
110
- }), E(e);
111
- }, s.prototype.entries = function() {
112
- var e = [];
113
- return this.forEach(function(t, r) {
114
- e.push([r, t]);
115
- }), E(e);
116
- }, f.iterable && (s.prototype[Symbol.iterator] = s.prototype.entries);
117
- function T(e) {
118
- if (e.bodyUsed)
119
- return Promise.reject(new TypeError("Already read"));
120
- e.bodyUsed = !0;
121
- }
122
- function P(e) {
123
- return new Promise(function(t, r) {
124
- e.onload = function() {
125
- t(e.result);
126
- }, e.onerror = function() {
127
- r(e.error);
128
- };
129
- });
130
- }
131
- function I(e) {
132
- var t = new FileReader(), r = P(t);
133
- return t.readAsArrayBuffer(e), r;
134
- }
135
- function M(e) {
136
- var t = new FileReader(), r = P(t);
137
- return t.readAsText(e), r;
138
- }
139
- function H(e) {
140
- for (var t = new Uint8Array(e), r = new Array(t.length), n = 0; n < t.length; n++)
141
- r[n] = String.fromCharCode(t[n]);
142
- return r.join("");
143
- }
144
- function D(e) {
145
- if (e.slice)
146
- return e.slice(0);
147
- var t = new Uint8Array(e.byteLength);
148
- return t.set(new Uint8Array(e)), t.buffer;
149
- }
150
- function x() {
151
- return this.bodyUsed = !1, this._initBody = function(e) {
152
- this.bodyUsed = this.bodyUsed, this._bodyInit = e, e ? typeof e == "string" ? this._bodyText = e : f.blob && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : f.formData && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : f.searchParams && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : f.arrayBuffer && f.blob && j(e) ? (this._bodyArrayBuffer = D(e.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : f.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(e) || F(e)) ? this._bodyArrayBuffer = D(e) : this._bodyText = e = Object.prototype.toString.call(e) : this._bodyText = "", this.headers.get("content-type") || (typeof e == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : f.searchParams && URLSearchParams.prototype.isPrototypeOf(e) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
153
- }, f.blob && (this.blob = function() {
154
- var e = T(this);
155
- if (e)
156
- return e;
157
- if (this._bodyBlob)
158
- return Promise.resolve(this._bodyBlob);
159
- if (this._bodyArrayBuffer)
160
- return Promise.resolve(new Blob([this._bodyArrayBuffer]));
161
- if (this._bodyFormData)
162
- throw new Error("could not read FormData body as blob");
163
- return Promise.resolve(new Blob([this._bodyText]));
164
- }, this.arrayBuffer = function() {
165
- if (this._bodyArrayBuffer) {
166
- var e = T(this);
167
- return e || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
168
- this._bodyArrayBuffer.buffer.slice(
169
- this._bodyArrayBuffer.byteOffset,
170
- this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
171
- )
172
- ) : Promise.resolve(this._bodyArrayBuffer));
173
- } else
174
- return this.blob().then(I);
175
- }), this.text = function() {
176
- var e = T(this);
177
- if (e)
178
- return e;
179
- if (this._bodyBlob)
180
- return M(this._bodyBlob);
181
- if (this._bodyArrayBuffer)
182
- return Promise.resolve(H(this._bodyArrayBuffer));
183
- if (this._bodyFormData)
184
- throw new Error("could not read FormData body as text");
185
- return Promise.resolve(this._bodyText);
186
- }, f.formData && (this.formData = function() {
187
- return this.text().then(C);
188
- }), this.json = function() {
189
- return this.text().then(JSON.parse);
190
- }, this;
191
- }
192
- var q = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
193
- function L(e) {
194
- var t = e.toUpperCase();
195
- return q.indexOf(t) > -1 ? t : e;
196
- }
197
- function m(e, t) {
198
- if (!(this instanceof m))
199
- throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
200
- t = t || {};
201
- var r = t.body;
202
- if (e instanceof m) {
203
- if (e.bodyUsed)
204
- throw new TypeError("Already read");
205
- this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new s(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal, !r && e._bodyInit != null && (r = e._bodyInit, e.bodyUsed = !0);
206
- } else
207
- this.url = String(e);
208
- if (this.credentials = t.credentials || this.credentials || "same-origin", (t.headers || !this.headers) && (this.headers = new s(t.headers)), this.method = L(t.method || this.method || "GET"), this.mode = t.mode || this.mode || null, this.signal = t.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && r)
209
- throw new TypeError("Body not allowed for GET or HEAD requests");
210
- if (this._initBody(r), (this.method === "GET" || this.method === "HEAD") && (t.cache === "no-store" || t.cache === "no-cache")) {
211
- var n = /([?&])_=[^&]*/;
212
- if (n.test(this.url))
213
- this.url = this.url.replace(n, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
214
- else {
215
- var i = /\?/;
216
- this.url += (i.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
217
- }
218
- }
219
- }
220
- m.prototype.clone = function() {
221
- return new m(this, { body: this._bodyInit });
222
- };
223
- function C(e) {
224
- var t = new FormData();
225
- return e.trim().split("&").forEach(function(r) {
226
- if (r) {
227
- var n = r.split("="), i = n.shift().replace(/\+/g, " "), o = n.join("=").replace(/\+/g, " ");
228
- t.append(decodeURIComponent(i), decodeURIComponent(o));
229
- }
230
- }), t;
231
- }
232
- function k(e) {
233
- var t = new s(), r = e.replace(/\r?\n[\t ]+/g, " ");
234
- return r.split("\r").map(function(n) {
235
- return n.indexOf(`
236
- `) === 0 ? n.substr(1, n.length) : n;
237
- }).forEach(function(n) {
238
- var i = n.split(":"), o = i.shift().trim();
239
- if (o) {
240
- var _ = i.join(":").trim();
241
- t.append(o, _);
242
- }
243
- }), t;
244
- }
245
- x.call(m.prototype);
246
- function l(e, t) {
247
- if (!(this instanceof l))
248
- throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
249
- t || (t = {}), this.type = "default", this.status = t.status === void 0 ? 200 : t.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = t.statusText === void 0 ? "" : "" + t.statusText, this.headers = new s(t.headers), this.url = t.url || "", this._initBody(e);
250
- }
251
- x.call(l.prototype), l.prototype.clone = function() {
252
- return new l(this._bodyInit, {
253
- status: this.status,
254
- statusText: this.statusText,
255
- headers: new s(this.headers),
256
- url: this.url
257
- });
258
- }, l.error = function() {
259
- var e = new l(null, { status: 0, statusText: "" });
260
- return e.type = "error", e;
261
- };
262
- var N = [301, 302, 303, 307, 308];
263
- l.redirect = function(e, t) {
264
- if (N.indexOf(t) === -1)
265
- throw new RangeError("Invalid status code");
266
- return new l(null, { status: t, headers: { location: e } });
267
- }, u.DOMException = a.DOMException;
268
- try {
269
- new u.DOMException();
270
- } catch {
271
- u.DOMException = function(t, r) {
272
- this.message = t, this.name = r;
273
- var n = Error(t);
274
- this.stack = n.stack;
275
- }, u.DOMException.prototype = Object.create(Error.prototype), u.DOMException.prototype.constructor = u.DOMException;
276
- }
277
- function B(e, t) {
278
- return new Promise(function(r, n) {
279
- var i = new m(e, t);
280
- if (i.signal && i.signal.aborted)
281
- return n(new u.DOMException("Aborted", "AbortError"));
282
- var o = new XMLHttpRequest();
283
- function _() {
284
- o.abort();
285
- }
286
- o.onload = function() {
287
- var c = {
288
- status: o.status,
289
- statusText: o.statusText,
290
- headers: k(o.getAllResponseHeaders() || "")
291
- };
292
- c.url = "responseURL" in o ? o.responseURL : c.headers.get("X-Request-URL");
293
- var g = "response" in o ? o.response : o.responseText;
294
- setTimeout(function() {
295
- r(new l(g, c));
296
- }, 0);
297
- }, o.onerror = function() {
298
- setTimeout(function() {
299
- n(new TypeError("Network request failed"));
300
- }, 0);
301
- }, o.ontimeout = function() {
302
- setTimeout(function() {
303
- n(new TypeError("Network request failed"));
304
- }, 0);
305
- }, o.onabort = function() {
306
- setTimeout(function() {
307
- n(new u.DOMException("Aborted", "AbortError"));
308
- }, 0);
309
- };
310
- function G(c) {
311
- try {
312
- return c === "" && a.location.href ? a.location.href : c;
313
- } catch {
314
- return c;
315
- }
316
- }
317
- o.open(i.method, G(i.url), !0), i.credentials === "include" ? o.withCredentials = !0 : i.credentials === "omit" && (o.withCredentials = !1), "responseType" in o && (f.blob ? o.responseType = "blob" : f.arrayBuffer && i.headers.get("Content-Type") && i.headers.get("Content-Type").indexOf("application/octet-stream") !== -1 && (o.responseType = "arraybuffer")), t && typeof t.headers == "object" && !(t.headers instanceof s) ? Object.getOwnPropertyNames(t.headers).forEach(function(c) {
318
- o.setRequestHeader(c, A(t.headers[c]));
319
- }) : i.headers.forEach(function(c, g) {
320
- o.setRequestHeader(g, c);
321
- }), i.signal && (i.signal.addEventListener("abort", _), o.onreadystatechange = function() {
322
- o.readyState === 4 && i.signal.removeEventListener("abort", _);
323
- }), o.send(typeof i._bodyInit > "u" ? null : i._bodyInit);
324
- });
325
- }
326
- return B.polyfill = !0, a.fetch || (a.fetch = B, a.Headers = s, a.Request = m, a.Response = l), u.Headers = s, u.Request = m, u.Response = l, u.fetch = B, u;
327
- })({});
328
- })(y), y.fetch.ponyfill = !0, delete y.fetch.polyfill;
329
- var h = b.fetch ? b : y;
330
- d = h.fetch, d.default = h.fetch, d.fetch = h.fetch, d.Headers = h.Headers, d.Request = h.Request, d.Response = h.Response, w.exports = d;
331
- })(O, O.exports);
332
- var U = O.exports;
333
- const $ = /* @__PURE__ */ V(U), J = /* @__PURE__ */ z({
334
- __proto__: null,
335
- default: $
336
- }, [U]);
337
- export {
338
- J as b
339
- };