@learncard/ceramic-plugin 1.0.30 → 1.0.31
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/ceramic-plugin.cjs.development.js +306 -165
- package/dist/ceramic-plugin.cjs.development.js.map +4 -4
- package/dist/ceramic-plugin.cjs.production.min.js +194 -193
- package/dist/ceramic-plugin.cjs.production.min.js.map +4 -4
- package/dist/ceramic-plugin.esm.js +306 -165
- package/dist/ceramic-plugin.esm.js.map +4 -4
- package/dist/ceramic.d.ts +1 -1
- package/dist/ceramic.d.ts.map +1 -1
- package/dist/defaults.d.ts +3 -0
- package/dist/defaults.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -34936,25 +34936,26 @@ var require_lodash2 = __commonJS({
|
|
|
34936
34936
|
}
|
|
34937
34937
|
});
|
|
34938
34938
|
|
|
34939
|
-
// ../../../node_modules/.pnpm/cross-fetch@3.
|
|
34939
|
+
// ../../../node_modules/.pnpm/cross-fetch@3.2.0/node_modules/cross-fetch/dist/browser-ponyfill.js
|
|
34940
34940
|
var require_browser_ponyfill = __commonJS({
|
|
34941
|
-
"../../../node_modules/.pnpm/cross-fetch@3.
|
|
34942
|
-
var
|
|
34943
|
-
var
|
|
34941
|
+
"../../../node_modules/.pnpm/cross-fetch@3.2.0/node_modules/cross-fetch/dist/browser-ponyfill.js"(exports, module2) {
|
|
34942
|
+
var __global__ = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof global !== "undefined" && global;
|
|
34943
|
+
var __globalThis__ = function() {
|
|
34944
34944
|
function F() {
|
|
34945
34945
|
this.fetch = false;
|
|
34946
|
-
this.DOMException =
|
|
34946
|
+
this.DOMException = __global__.DOMException;
|
|
34947
34947
|
}
|
|
34948
34948
|
__name(F, "F");
|
|
34949
|
-
F.prototype =
|
|
34949
|
+
F.prototype = __global__;
|
|
34950
34950
|
return new F();
|
|
34951
34951
|
}();
|
|
34952
|
-
(function(
|
|
34952
|
+
(function(globalThis2) {
|
|
34953
34953
|
var irrelevant = function(exports2) {
|
|
34954
|
+
var g = typeof globalThis2 !== "undefined" && globalThis2 || typeof self !== "undefined" && self || typeof global !== "undefined" && global || {};
|
|
34954
34955
|
var support = {
|
|
34955
|
-
searchParams: "URLSearchParams" in
|
|
34956
|
-
iterable: "Symbol" in
|
|
34957
|
-
blob: "FileReader" in
|
|
34956
|
+
searchParams: "URLSearchParams" in g,
|
|
34957
|
+
iterable: "Symbol" in g && "iterator" in Symbol,
|
|
34958
|
+
blob: "FileReader" in g && "Blob" in g && function() {
|
|
34958
34959
|
try {
|
|
34959
34960
|
new Blob();
|
|
34960
34961
|
return true;
|
|
@@ -34962,8 +34963,8 @@ var require_browser_ponyfill = __commonJS({
|
|
|
34962
34963
|
return false;
|
|
34963
34964
|
}
|
|
34964
34965
|
}(),
|
|
34965
|
-
formData: "FormData" in
|
|
34966
|
-
arrayBuffer: "ArrayBuffer" in
|
|
34966
|
+
formData: "FormData" in g,
|
|
34967
|
+
arrayBuffer: "ArrayBuffer" in g
|
|
34967
34968
|
};
|
|
34968
34969
|
function isDataView(obj) {
|
|
34969
34970
|
return obj && DataView.prototype.isPrototypeOf(obj);
|
|
@@ -34989,8 +34990,8 @@ var require_browser_ponyfill = __commonJS({
|
|
|
34989
34990
|
if (typeof name3 !== "string") {
|
|
34990
34991
|
name3 = String(name3);
|
|
34991
34992
|
}
|
|
34992
|
-
if (/[^a-z0-9\-#$%&'*+.^_
|
|
34993
|
-
throw new TypeError(
|
|
34993
|
+
if (/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(name3) || name3 === "") {
|
|
34994
|
+
throw new TypeError('Invalid character in header field name: "' + name3 + '"');
|
|
34994
34995
|
}
|
|
34995
34996
|
return name3.toLowerCase();
|
|
34996
34997
|
}
|
|
@@ -35025,6 +35026,9 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35025
35026
|
}, this);
|
|
35026
35027
|
} else if (Array.isArray(headers)) {
|
|
35027
35028
|
headers.forEach(function(header) {
|
|
35029
|
+
if (header.length != 2) {
|
|
35030
|
+
throw new TypeError("Headers constructor: expected name/value pair to be length 2, found" + header.length);
|
|
35031
|
+
}
|
|
35028
35032
|
this.append(header[0], header[1]);
|
|
35029
35033
|
}, this);
|
|
35030
35034
|
} else if (headers) {
|
|
@@ -35085,6 +35089,8 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35085
35089
|
Headers.prototype[Symbol.iterator] = Headers.prototype.entries;
|
|
35086
35090
|
}
|
|
35087
35091
|
function consumed(body) {
|
|
35092
|
+
if (body._noBody)
|
|
35093
|
+
return;
|
|
35088
35094
|
if (body.bodyUsed) {
|
|
35089
35095
|
return Promise.reject(new TypeError("Already read"));
|
|
35090
35096
|
}
|
|
@@ -35112,7 +35118,9 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35112
35118
|
function readBlobAsText(blob) {
|
|
35113
35119
|
var reader = new FileReader();
|
|
35114
35120
|
var promise = fileReaderReady(reader);
|
|
35115
|
-
|
|
35121
|
+
var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type);
|
|
35122
|
+
var encoding = match ? match[1] : "utf-8";
|
|
35123
|
+
reader.readAsText(blob, encoding);
|
|
35116
35124
|
return promise;
|
|
35117
35125
|
}
|
|
35118
35126
|
__name(readBlobAsText, "readBlobAsText");
|
|
@@ -35138,8 +35146,10 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35138
35146
|
function Body() {
|
|
35139
35147
|
this.bodyUsed = false;
|
|
35140
35148
|
this._initBody = function(body) {
|
|
35149
|
+
this.bodyUsed = this.bodyUsed;
|
|
35141
35150
|
this._bodyInit = body;
|
|
35142
35151
|
if (!body) {
|
|
35152
|
+
this._noBody = true;
|
|
35143
35153
|
this._bodyText = "";
|
|
35144
35154
|
} else if (typeof body === "string") {
|
|
35145
35155
|
this._bodyText = body;
|
|
@@ -35183,14 +35193,28 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35183
35193
|
return Promise.resolve(new Blob([this._bodyText]));
|
|
35184
35194
|
}
|
|
35185
35195
|
};
|
|
35186
|
-
|
|
35187
|
-
|
|
35188
|
-
|
|
35196
|
+
}
|
|
35197
|
+
this.arrayBuffer = function() {
|
|
35198
|
+
if (this._bodyArrayBuffer) {
|
|
35199
|
+
var isConsumed = consumed(this);
|
|
35200
|
+
if (isConsumed) {
|
|
35201
|
+
return isConsumed;
|
|
35202
|
+
} else if (ArrayBuffer.isView(this._bodyArrayBuffer)) {
|
|
35203
|
+
return Promise.resolve(
|
|
35204
|
+
this._bodyArrayBuffer.buffer.slice(
|
|
35205
|
+
this._bodyArrayBuffer.byteOffset,
|
|
35206
|
+
this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
|
|
35207
|
+
)
|
|
35208
|
+
);
|
|
35189
35209
|
} else {
|
|
35190
|
-
return
|
|
35210
|
+
return Promise.resolve(this._bodyArrayBuffer);
|
|
35191
35211
|
}
|
|
35192
|
-
}
|
|
35193
|
-
|
|
35212
|
+
} else if (support.blob) {
|
|
35213
|
+
return this.blob().then(readBlobAsArrayBuffer);
|
|
35214
|
+
} else {
|
|
35215
|
+
throw new Error("could not read as ArrayBuffer");
|
|
35216
|
+
}
|
|
35217
|
+
};
|
|
35194
35218
|
this.text = function() {
|
|
35195
35219
|
var rejected = consumed(this);
|
|
35196
35220
|
if (rejected) {
|
|
@@ -35217,13 +35241,16 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35217
35241
|
return this;
|
|
35218
35242
|
}
|
|
35219
35243
|
__name(Body, "Body");
|
|
35220
|
-
var methods = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
|
|
35244
|
+
var methods = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
|
|
35221
35245
|
function normalizeMethod(method) {
|
|
35222
35246
|
var upcased = method.toUpperCase();
|
|
35223
35247
|
return methods.indexOf(upcased) > -1 ? upcased : method;
|
|
35224
35248
|
}
|
|
35225
35249
|
__name(normalizeMethod, "normalizeMethod");
|
|
35226
35250
|
function Request(input, options) {
|
|
35251
|
+
if (!(this instanceof Request)) {
|
|
35252
|
+
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
35253
|
+
}
|
|
35227
35254
|
options = options || {};
|
|
35228
35255
|
var body = options.body;
|
|
35229
35256
|
if (input instanceof Request) {
|
|
@@ -35251,12 +35278,28 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35251
35278
|
}
|
|
35252
35279
|
this.method = normalizeMethod(options.method || this.method || "GET");
|
|
35253
35280
|
this.mode = options.mode || this.mode || null;
|
|
35254
|
-
this.signal = options.signal || this.signal
|
|
35281
|
+
this.signal = options.signal || this.signal || function() {
|
|
35282
|
+
if ("AbortController" in g) {
|
|
35283
|
+
var ctrl = new AbortController();
|
|
35284
|
+
return ctrl.signal;
|
|
35285
|
+
}
|
|
35286
|
+
}();
|
|
35255
35287
|
this.referrer = null;
|
|
35256
35288
|
if ((this.method === "GET" || this.method === "HEAD") && body) {
|
|
35257
35289
|
throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
35258
35290
|
}
|
|
35259
35291
|
this._initBody(body);
|
|
35292
|
+
if (this.method === "GET" || this.method === "HEAD") {
|
|
35293
|
+
if (options.cache === "no-store" || options.cache === "no-cache") {
|
|
35294
|
+
var reParamSearch = /([?&])_=[^&]*/;
|
|
35295
|
+
if (reParamSearch.test(this.url)) {
|
|
35296
|
+
this.url = this.url.replace(reParamSearch, "$1_=" + new Date().getTime());
|
|
35297
|
+
} else {
|
|
35298
|
+
var reQueryString = /\?/;
|
|
35299
|
+
this.url += (reQueryString.test(this.url) ? "&" : "?") + "_=" + new Date().getTime();
|
|
35300
|
+
}
|
|
35301
|
+
}
|
|
35302
|
+
}
|
|
35260
35303
|
}
|
|
35261
35304
|
__name(Request, "Request");
|
|
35262
35305
|
Request.prototype.clone = function() {
|
|
@@ -35278,12 +35321,18 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35278
35321
|
function parseHeaders(rawHeaders) {
|
|
35279
35322
|
var headers = new Headers();
|
|
35280
35323
|
var preProcessedHeaders = rawHeaders.replace(/\r?\n[\t ]+/g, " ");
|
|
35281
|
-
preProcessedHeaders.split(
|
|
35324
|
+
preProcessedHeaders.split("\r").map(function(header) {
|
|
35325
|
+
return header.indexOf("\n") === 0 ? header.substr(1, header.length) : header;
|
|
35326
|
+
}).forEach(function(line) {
|
|
35282
35327
|
var parts = line.split(":");
|
|
35283
35328
|
var key2 = parts.shift().trim();
|
|
35284
35329
|
if (key2) {
|
|
35285
35330
|
var value = parts.join(":").trim();
|
|
35286
|
-
|
|
35331
|
+
try {
|
|
35332
|
+
headers.append(key2, value);
|
|
35333
|
+
} catch (error) {
|
|
35334
|
+
console.warn("Response " + error.message);
|
|
35335
|
+
}
|
|
35287
35336
|
}
|
|
35288
35337
|
});
|
|
35289
35338
|
return headers;
|
|
@@ -35291,13 +35340,19 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35291
35340
|
__name(parseHeaders, "parseHeaders");
|
|
35292
35341
|
Body.call(Request.prototype);
|
|
35293
35342
|
function Response(bodyInit, options) {
|
|
35343
|
+
if (!(this instanceof Response)) {
|
|
35344
|
+
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
35345
|
+
}
|
|
35294
35346
|
if (!options) {
|
|
35295
35347
|
options = {};
|
|
35296
35348
|
}
|
|
35297
35349
|
this.type = "default";
|
|
35298
35350
|
this.status = options.status === void 0 ? 200 : options.status;
|
|
35351
|
+
if (this.status < 200 || this.status > 599) {
|
|
35352
|
+
throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
|
|
35353
|
+
}
|
|
35299
35354
|
this.ok = this.status >= 200 && this.status < 300;
|
|
35300
|
-
this.statusText =
|
|
35355
|
+
this.statusText = options.statusText === void 0 ? "" : "" + options.statusText;
|
|
35301
35356
|
this.headers = new Headers(options.headers);
|
|
35302
35357
|
this.url = options.url || "";
|
|
35303
35358
|
this._initBody(bodyInit);
|
|
@@ -35313,7 +35368,9 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35313
35368
|
});
|
|
35314
35369
|
};
|
|
35315
35370
|
Response.error = function() {
|
|
35316
|
-
var response = new Response(null, { status:
|
|
35371
|
+
var response = new Response(null, { status: 200, statusText: "" });
|
|
35372
|
+
response.ok = false;
|
|
35373
|
+
response.status = 0;
|
|
35317
35374
|
response.type = "error";
|
|
35318
35375
|
return response;
|
|
35319
35376
|
};
|
|
@@ -35324,7 +35381,7 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35324
35381
|
}
|
|
35325
35382
|
return new Response(null, { status, headers: { location: url } });
|
|
35326
35383
|
};
|
|
35327
|
-
exports2.DOMException =
|
|
35384
|
+
exports2.DOMException = g.DOMException;
|
|
35328
35385
|
try {
|
|
35329
35386
|
new exports2.DOMException();
|
|
35330
35387
|
} catch (err) {
|
|
@@ -35350,35 +35407,72 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35350
35407
|
__name(abortXhr, "abortXhr");
|
|
35351
35408
|
xhr.onload = function() {
|
|
35352
35409
|
var options = {
|
|
35353
|
-
status: xhr.status,
|
|
35354
35410
|
statusText: xhr.statusText,
|
|
35355
35411
|
headers: parseHeaders(xhr.getAllResponseHeaders() || "")
|
|
35356
35412
|
};
|
|
35413
|
+
if (request.url.indexOf("file://") === 0 && (xhr.status < 200 || xhr.status > 599)) {
|
|
35414
|
+
options.status = 200;
|
|
35415
|
+
} else {
|
|
35416
|
+
options.status = xhr.status;
|
|
35417
|
+
}
|
|
35357
35418
|
options.url = "responseURL" in xhr ? xhr.responseURL : options.headers.get("X-Request-URL");
|
|
35358
35419
|
var body = "response" in xhr ? xhr.response : xhr.responseText;
|
|
35359
|
-
|
|
35420
|
+
setTimeout(function() {
|
|
35421
|
+
resolve(new Response(body, options));
|
|
35422
|
+
}, 0);
|
|
35360
35423
|
};
|
|
35361
35424
|
xhr.onerror = function() {
|
|
35362
|
-
|
|
35425
|
+
setTimeout(function() {
|
|
35426
|
+
reject(new TypeError("Network request failed"));
|
|
35427
|
+
}, 0);
|
|
35363
35428
|
};
|
|
35364
35429
|
xhr.ontimeout = function() {
|
|
35365
|
-
|
|
35430
|
+
setTimeout(function() {
|
|
35431
|
+
reject(new TypeError("Network request timed out"));
|
|
35432
|
+
}, 0);
|
|
35366
35433
|
};
|
|
35367
35434
|
xhr.onabort = function() {
|
|
35368
|
-
|
|
35435
|
+
setTimeout(function() {
|
|
35436
|
+
reject(new exports2.DOMException("Aborted", "AbortError"));
|
|
35437
|
+
}, 0);
|
|
35369
35438
|
};
|
|
35370
|
-
|
|
35439
|
+
function fixUrl(url) {
|
|
35440
|
+
try {
|
|
35441
|
+
return url === "" && g.location.href ? g.location.href : url;
|
|
35442
|
+
} catch (e2) {
|
|
35443
|
+
return url;
|
|
35444
|
+
}
|
|
35445
|
+
}
|
|
35446
|
+
__name(fixUrl, "fixUrl");
|
|
35447
|
+
xhr.open(request.method, fixUrl(request.url), true);
|
|
35371
35448
|
if (request.credentials === "include") {
|
|
35372
35449
|
xhr.withCredentials = true;
|
|
35373
35450
|
} else if (request.credentials === "omit") {
|
|
35374
35451
|
xhr.withCredentials = false;
|
|
35375
35452
|
}
|
|
35376
|
-
if ("responseType" in xhr
|
|
35377
|
-
|
|
35453
|
+
if ("responseType" in xhr) {
|
|
35454
|
+
if (support.blob) {
|
|
35455
|
+
xhr.responseType = "blob";
|
|
35456
|
+
} else if (support.arrayBuffer) {
|
|
35457
|
+
xhr.responseType = "arraybuffer";
|
|
35458
|
+
}
|
|
35459
|
+
}
|
|
35460
|
+
if (init2 && typeof init2.headers === "object" && !(init2.headers instanceof Headers || g.Headers && init2.headers instanceof g.Headers)) {
|
|
35461
|
+
var names = [];
|
|
35462
|
+
Object.getOwnPropertyNames(init2.headers).forEach(function(name3) {
|
|
35463
|
+
names.push(normalizeName(name3));
|
|
35464
|
+
xhr.setRequestHeader(name3, normalizeValue(init2.headers[name3]));
|
|
35465
|
+
});
|
|
35466
|
+
request.headers.forEach(function(value, name3) {
|
|
35467
|
+
if (names.indexOf(name3) === -1) {
|
|
35468
|
+
xhr.setRequestHeader(name3, value);
|
|
35469
|
+
}
|
|
35470
|
+
});
|
|
35471
|
+
} else {
|
|
35472
|
+
request.headers.forEach(function(value, name3) {
|
|
35473
|
+
xhr.setRequestHeader(name3, value);
|
|
35474
|
+
});
|
|
35378
35475
|
}
|
|
35379
|
-
request.headers.forEach(function(value, name3) {
|
|
35380
|
-
xhr.setRequestHeader(name3, value);
|
|
35381
|
-
});
|
|
35382
35476
|
if (request.signal) {
|
|
35383
35477
|
request.signal.addEventListener("abort", abortXhr);
|
|
35384
35478
|
xhr.onreadystatechange = function() {
|
|
@@ -35392,11 +35486,11 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35392
35486
|
}
|
|
35393
35487
|
__name(fetch2, "fetch");
|
|
35394
35488
|
fetch2.polyfill = true;
|
|
35395
|
-
if (!
|
|
35396
|
-
|
|
35397
|
-
|
|
35398
|
-
|
|
35399
|
-
|
|
35489
|
+
if (!g.fetch) {
|
|
35490
|
+
g.fetch = fetch2;
|
|
35491
|
+
g.Headers = Headers;
|
|
35492
|
+
g.Request = Request;
|
|
35493
|
+
g.Response = Response;
|
|
35400
35494
|
}
|
|
35401
35495
|
exports2.Headers = Headers;
|
|
35402
35496
|
exports2.Request = Request;
|
|
@@ -35405,10 +35499,10 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35405
35499
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
35406
35500
|
return exports2;
|
|
35407
35501
|
}({});
|
|
35408
|
-
})(
|
|
35409
|
-
|
|
35410
|
-
delete
|
|
35411
|
-
var ctx =
|
|
35502
|
+
})(__globalThis__);
|
|
35503
|
+
__globalThis__.fetch.ponyfill = true;
|
|
35504
|
+
delete __globalThis__.fetch.polyfill;
|
|
35505
|
+
var ctx = __global__.fetch ? __global__ : __globalThis__;
|
|
35412
35506
|
exports = ctx.fetch;
|
|
35413
35507
|
exports.default = ctx.fetch;
|
|
35414
35508
|
exports.fetch = ctx.fetch;
|
|
@@ -35419,9 +35513,9 @@ var require_browser_ponyfill = __commonJS({
|
|
|
35419
35513
|
}
|
|
35420
35514
|
});
|
|
35421
35515
|
|
|
35422
|
-
// ../../../node_modules/.pnpm/dataloader@2.2.
|
|
35516
|
+
// ../../../node_modules/.pnpm/dataloader@2.2.3/node_modules/dataloader/index.js
|
|
35423
35517
|
var require_dataloader = __commonJS({
|
|
35424
|
-
"../../../node_modules/.pnpm/dataloader@2.2.
|
|
35518
|
+
"../../../node_modules/.pnpm/dataloader@2.2.3/node_modules/dataloader/index.js"(exports, module2) {
|
|
35425
35519
|
"use strict";
|
|
35426
35520
|
var DataLoader2 = /* @__PURE__ */ function() {
|
|
35427
35521
|
function DataLoader3(batchLoadFn, options) {
|
|
@@ -35444,8 +35538,9 @@ var require_dataloader = __commonJS({
|
|
|
35444
35538
|
}
|
|
35445
35539
|
var batch = getCurrentBatch(this);
|
|
35446
35540
|
var cacheMap = this._cacheMap;
|
|
35447
|
-
var cacheKey
|
|
35541
|
+
var cacheKey;
|
|
35448
35542
|
if (cacheMap) {
|
|
35543
|
+
cacheKey = this._cacheKeyFn(key2);
|
|
35449
35544
|
var cachedPromise = cacheMap.get(cacheKey);
|
|
35450
35545
|
if (cachedPromise) {
|
|
35451
35546
|
var cacheHits = batch.cacheHits || (batch.cacheHits = []);
|
|
@@ -35569,11 +35664,11 @@ var require_dataloader = __commonJS({
|
|
|
35569
35664
|
}
|
|
35570
35665
|
resolveCacheHits(batch);
|
|
35571
35666
|
for (var i2 = 0; i2 < batch.callbacks.length; i2++) {
|
|
35572
|
-
var
|
|
35573
|
-
if (
|
|
35574
|
-
batch.callbacks[i2].reject(
|
|
35667
|
+
var _value = values[i2];
|
|
35668
|
+
if (_value instanceof Error) {
|
|
35669
|
+
batch.callbacks[i2].reject(_value);
|
|
35575
35670
|
} else {
|
|
35576
|
-
batch.callbacks[i2].resolve(
|
|
35671
|
+
batch.callbacks[i2].resolve(_value);
|
|
35577
35672
|
}
|
|
35578
35673
|
}
|
|
35579
35674
|
})["catch"](function(error) {
|
|
@@ -39656,7 +39751,7 @@ function abortable(source, signal) {
|
|
|
39656
39751
|
}
|
|
39657
39752
|
__name(abortable, "abortable");
|
|
39658
39753
|
|
|
39659
|
-
// ../../../node_modules/.pnpm/nanoid@3.3.
|
|
39754
|
+
// ../../../node_modules/.pnpm/nanoid@3.3.11/node_modules/nanoid/index.browser.js
|
|
39660
39755
|
var nanoid = /* @__PURE__ */ __name((size = 21) => crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {
|
|
39661
39756
|
byte &= 63;
|
|
39662
39757
|
if (byte < 36) {
|
|
@@ -40947,10 +41042,10 @@ function verifyTimeChecks(cacao, options) {
|
|
|
40947
41042
|
}
|
|
40948
41043
|
__name(verifyTimeChecks, "verifyTimeChecks");
|
|
40949
41044
|
|
|
40950
|
-
// ../../../node_modules/.pnpm/@ethersproject+logger@5.
|
|
40951
|
-
var version2 = "logger/5.
|
|
41045
|
+
// ../../../node_modules/.pnpm/@ethersproject+logger@5.8.0/node_modules/@ethersproject/logger/lib.esm/_version.js
|
|
41046
|
+
var version2 = "logger/5.8.0";
|
|
40952
41047
|
|
|
40953
|
-
// ../../../node_modules/.pnpm/@ethersproject+logger@5.
|
|
41048
|
+
// ../../../node_modules/.pnpm/@ethersproject+logger@5.8.0/node_modules/@ethersproject/logger/lib.esm/index.js
|
|
40954
41049
|
var _permanentCensorErrors = false;
|
|
40955
41050
|
var _censorErrors = false;
|
|
40956
41051
|
var LogLevels = { debug: 1, "default": 2, info: 2, warning: 3, error: 4, off: 5 };
|
|
@@ -41240,10 +41335,10 @@ __name(Logger, "Logger");
|
|
|
41240
41335
|
Logger.errors = ErrorCode;
|
|
41241
41336
|
Logger.levels = LogLevel;
|
|
41242
41337
|
|
|
41243
|
-
// ../../../node_modules/.pnpm/@ethersproject+bytes@5.
|
|
41244
|
-
var version3 = "bytes/5.
|
|
41338
|
+
// ../../../node_modules/.pnpm/@ethersproject+bytes@5.8.0/node_modules/@ethersproject/bytes/lib.esm/_version.js
|
|
41339
|
+
var version3 = "bytes/5.8.0";
|
|
41245
41340
|
|
|
41246
|
-
// ../../../node_modules/.pnpm/@ethersproject+bytes@5.
|
|
41341
|
+
// ../../../node_modules/.pnpm/@ethersproject+bytes@5.8.0/node_modules/@ethersproject/bytes/lib.esm/index.js
|
|
41247
41342
|
var logger = new Logger(version3);
|
|
41248
41343
|
function isHexable(value) {
|
|
41249
41344
|
return !!value.toHexString;
|
|
@@ -41572,13 +41667,13 @@ function splitSignature(signature2) {
|
|
|
41572
41667
|
}
|
|
41573
41668
|
__name(splitSignature, "splitSignature");
|
|
41574
41669
|
|
|
41575
|
-
// ../../../node_modules/.pnpm/@ethersproject+bignumber@5.
|
|
41670
|
+
// ../../../node_modules/.pnpm/@ethersproject+bignumber@5.8.0/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js
|
|
41576
41671
|
var import_bn = __toESM(require_bn2());
|
|
41577
41672
|
|
|
41578
|
-
// ../../../node_modules/.pnpm/@ethersproject+bignumber@5.
|
|
41579
|
-
var version4 = "bignumber/5.
|
|
41673
|
+
// ../../../node_modules/.pnpm/@ethersproject+bignumber@5.8.0/node_modules/@ethersproject/bignumber/lib.esm/_version.js
|
|
41674
|
+
var version4 = "bignumber/5.8.0";
|
|
41580
41675
|
|
|
41581
|
-
// ../../../node_modules/.pnpm/@ethersproject+bignumber@5.
|
|
41676
|
+
// ../../../node_modules/.pnpm/@ethersproject+bignumber@5.8.0/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js
|
|
41582
41677
|
var BN = import_bn.default.BN;
|
|
41583
41678
|
var logger2 = new Logger(version4);
|
|
41584
41679
|
function _base36To16(value) {
|
|
@@ -41586,17 +41681,17 @@ function _base36To16(value) {
|
|
|
41586
41681
|
}
|
|
41587
41682
|
__name(_base36To16, "_base36To16");
|
|
41588
41683
|
|
|
41589
|
-
// ../../../node_modules/.pnpm/@ethersproject+keccak256@5.
|
|
41684
|
+
// ../../../node_modules/.pnpm/@ethersproject+keccak256@5.8.0/node_modules/@ethersproject/keccak256/lib.esm/index.js
|
|
41590
41685
|
var import_js_sha32 = __toESM(require_sha3());
|
|
41591
41686
|
function keccak256(data) {
|
|
41592
41687
|
return "0x" + import_js_sha32.default.keccak_256(arrayify(data));
|
|
41593
41688
|
}
|
|
41594
41689
|
__name(keccak256, "keccak256");
|
|
41595
41690
|
|
|
41596
|
-
// ../../../node_modules/.pnpm/@ethersproject+address@5.
|
|
41597
|
-
var version5 = "address/5.
|
|
41691
|
+
// ../../../node_modules/.pnpm/@ethersproject+address@5.8.0/node_modules/@ethersproject/address/lib.esm/_version.js
|
|
41692
|
+
var version5 = "address/5.8.0";
|
|
41598
41693
|
|
|
41599
|
-
// ../../../node_modules/.pnpm/@ethersproject+address@5.
|
|
41694
|
+
// ../../../node_modules/.pnpm/@ethersproject+address@5.8.0/node_modules/@ethersproject/address/lib.esm/index.js
|
|
41600
41695
|
var logger3 = new Logger(version5);
|
|
41601
41696
|
function getChecksumAddress(address) {
|
|
41602
41697
|
if (!isHexString(address, 20)) {
|
|
@@ -41682,10 +41777,10 @@ function getAddress(address) {
|
|
|
41682
41777
|
}
|
|
41683
41778
|
__name(getAddress, "getAddress");
|
|
41684
41779
|
|
|
41685
|
-
// ../../../node_modules/.pnpm/@ethersproject+properties@5.
|
|
41686
|
-
var version6 = "properties/5.
|
|
41780
|
+
// ../../../node_modules/.pnpm/@ethersproject+properties@5.8.0/node_modules/@ethersproject/properties/lib.esm/_version.js
|
|
41781
|
+
var version6 = "properties/5.8.0";
|
|
41687
41782
|
|
|
41688
|
-
// ../../../node_modules/.pnpm/@ethersproject+properties@5.
|
|
41783
|
+
// ../../../node_modules/.pnpm/@ethersproject+properties@5.8.0/node_modules/@ethersproject/properties/lib.esm/index.js
|
|
41689
41784
|
var logger4 = new Logger(version6);
|
|
41690
41785
|
function defineReadOnly(object, name3, value) {
|
|
41691
41786
|
Object.defineProperty(object, name3, {
|
|
@@ -41696,10 +41791,10 @@ function defineReadOnly(object, name3, value) {
|
|
|
41696
41791
|
}
|
|
41697
41792
|
__name(defineReadOnly, "defineReadOnly");
|
|
41698
41793
|
|
|
41699
|
-
// ../../../node_modules/.pnpm/@ethersproject+strings@5.
|
|
41700
|
-
var version7 = "strings/5.
|
|
41794
|
+
// ../../../node_modules/.pnpm/@ethersproject+strings@5.8.0/node_modules/@ethersproject/strings/lib.esm/_version.js
|
|
41795
|
+
var version7 = "strings/5.8.0";
|
|
41701
41796
|
|
|
41702
|
-
// ../../../node_modules/.pnpm/@ethersproject+strings@5.
|
|
41797
|
+
// ../../../node_modules/.pnpm/@ethersproject+strings@5.8.0/node_modules/@ethersproject/strings/lib.esm/utf8.js
|
|
41703
41798
|
var logger5 = new Logger(version7);
|
|
41704
41799
|
var UnicodeNormalizationForm;
|
|
41705
41800
|
(function(UnicodeNormalizationForm2) {
|
|
@@ -41788,7 +41883,7 @@ function toUtf8Bytes(str, form = UnicodeNormalizationForm.current) {
|
|
|
41788
41883
|
}
|
|
41789
41884
|
__name(toUtf8Bytes, "toUtf8Bytes");
|
|
41790
41885
|
|
|
41791
|
-
// ../../../node_modules/.pnpm/@ethersproject+hash@5.
|
|
41886
|
+
// ../../../node_modules/.pnpm/@ethersproject+hash@5.8.0/node_modules/@ethersproject/hash/lib.esm/message.js
|
|
41792
41887
|
var messagePrefix = "Ethereum Signed Message:\n";
|
|
41793
41888
|
function hashMessage(message) {
|
|
41794
41889
|
if (typeof message === "string") {
|
|
@@ -41802,7 +41897,7 @@ function hashMessage(message) {
|
|
|
41802
41897
|
}
|
|
41803
41898
|
__name(hashMessage, "hashMessage");
|
|
41804
41899
|
|
|
41805
|
-
// ../../../node_modules/.pnpm/@ethersproject+signing-key@5.
|
|
41900
|
+
// ../../../node_modules/.pnpm/@ethersproject+signing-key@5.8.0/node_modules/@ethersproject/signing-key/lib.esm/elliptic.js
|
|
41806
41901
|
var import_bn2 = __toESM(require_bn2());
|
|
41807
41902
|
var import_hash = __toESM(require_hash());
|
|
41808
41903
|
function createCommonjsModule(fn, basedir, module2) {
|
|
@@ -41897,10 +41992,13 @@ var utils_1$1 = createCommonjsModule(function(module2, exports) {
|
|
|
41897
41992
|
utils.encode = utils_1.encode;
|
|
41898
41993
|
function getNAF2(num, w, bits) {
|
|
41899
41994
|
var naf = new Array(Math.max(num.bitLength(), bits) + 1);
|
|
41900
|
-
|
|
41995
|
+
var i2;
|
|
41996
|
+
for (i2 = 0; i2 < naf.length; i2 += 1) {
|
|
41997
|
+
naf[i2] = 0;
|
|
41998
|
+
}
|
|
41901
41999
|
var ws = 1 << w + 1;
|
|
41902
42000
|
var k = num.clone();
|
|
41903
|
-
for (
|
|
42001
|
+
for (i2 = 0; i2 < naf.length; i2++) {
|
|
41904
42002
|
var z;
|
|
41905
42003
|
var mod2 = k.andln(ws - 1);
|
|
41906
42004
|
if (k.isOdd()) {
|
|
@@ -43350,8 +43448,8 @@ KeyPair.prototype.derive = /* @__PURE__ */ __name(function derive(pub) {
|
|
|
43350
43448
|
KeyPair.prototype.sign = /* @__PURE__ */ __name(function sign2(msg, enc, options) {
|
|
43351
43449
|
return this.ec.sign(msg, this, enc, options);
|
|
43352
43450
|
}, "sign");
|
|
43353
|
-
KeyPair.prototype.verify = /* @__PURE__ */ __name(function verify2(msg, signature2) {
|
|
43354
|
-
return this.ec.verify(msg, signature2, this);
|
|
43451
|
+
KeyPair.prototype.verify = /* @__PURE__ */ __name(function verify2(msg, signature2, options) {
|
|
43452
|
+
return this.ec.verify(msg, signature2, this, void 0, options);
|
|
43355
43453
|
}, "verify");
|
|
43356
43454
|
KeyPair.prototype.inspect = /* @__PURE__ */ __name(function inspect3() {
|
|
43357
43455
|
return "<Key priv: " + (this.priv && this.priv.toString(16, 2)) + " pub: " + (this.pub && this.pub.inspect()) + " >";
|
|
@@ -43385,6 +43483,9 @@ function getLength(buf2, p) {
|
|
|
43385
43483
|
if (octetLen === 0 || octetLen > 4) {
|
|
43386
43484
|
return false;
|
|
43387
43485
|
}
|
|
43486
|
+
if (buf2[p.place] === 0) {
|
|
43487
|
+
return false;
|
|
43488
|
+
}
|
|
43388
43489
|
var val = 0;
|
|
43389
43490
|
for (var i2 = 0, off = p.place; i2 < octetLen; i2++, off++) {
|
|
43390
43491
|
val <<= 8;
|
|
@@ -43430,6 +43531,9 @@ Signature.prototype._importDER = /* @__PURE__ */ __name(function _importDER(data
|
|
|
43430
43531
|
if (rlen === false) {
|
|
43431
43532
|
return false;
|
|
43432
43533
|
}
|
|
43534
|
+
if ((data[p.place] & 128) !== 0) {
|
|
43535
|
+
return false;
|
|
43536
|
+
}
|
|
43433
43537
|
var r2 = data.slice(p.place, rlen + p.place);
|
|
43434
43538
|
p.place += rlen;
|
|
43435
43539
|
if (data[p.place++] !== 2) {
|
|
@@ -43442,6 +43546,9 @@ Signature.prototype._importDER = /* @__PURE__ */ __name(function _importDER(data
|
|
|
43442
43546
|
if (data.length !== slen + p.place) {
|
|
43443
43547
|
return false;
|
|
43444
43548
|
}
|
|
43549
|
+
if ((data[p.place] & 128) !== 0) {
|
|
43550
|
+
return false;
|
|
43551
|
+
}
|
|
43445
43552
|
var s2 = data.slice(p.place, slen + p.place);
|
|
43446
43553
|
if (r2[0] === 0) {
|
|
43447
43554
|
if (r2[1] & 128) {
|
|
@@ -43554,8 +43661,23 @@ EC.prototype.genKeyPair = /* @__PURE__ */ __name(function genKeyPair(options) {
|
|
|
43554
43661
|
return this.keyFromPrivate(priv);
|
|
43555
43662
|
}
|
|
43556
43663
|
}, "genKeyPair");
|
|
43557
|
-
EC.prototype._truncateToN = /* @__PURE__ */ __name(function _truncateToN(msg, truncOnly) {
|
|
43558
|
-
var
|
|
43664
|
+
EC.prototype._truncateToN = /* @__PURE__ */ __name(function _truncateToN(msg, truncOnly, bitLength) {
|
|
43665
|
+
var byteLength;
|
|
43666
|
+
if (import_bn2.default.isBN(msg) || typeof msg === "number") {
|
|
43667
|
+
msg = new import_bn2.default(msg, 16);
|
|
43668
|
+
byteLength = msg.byteLength();
|
|
43669
|
+
} else if (typeof msg === "object") {
|
|
43670
|
+
byteLength = msg.length;
|
|
43671
|
+
msg = new import_bn2.default(msg, 16);
|
|
43672
|
+
} else {
|
|
43673
|
+
var str = msg.toString();
|
|
43674
|
+
byteLength = str.length + 1 >>> 1;
|
|
43675
|
+
msg = new import_bn2.default(str, 16);
|
|
43676
|
+
}
|
|
43677
|
+
if (typeof bitLength !== "number") {
|
|
43678
|
+
bitLength = byteLength * 8;
|
|
43679
|
+
}
|
|
43680
|
+
var delta = bitLength - this.n.bitLength();
|
|
43559
43681
|
if (delta > 0)
|
|
43560
43682
|
msg = msg.ushrn(delta);
|
|
43561
43683
|
if (!truncOnly && msg.cmp(this.n) >= 0)
|
|
@@ -43570,11 +43692,22 @@ EC.prototype.sign = /* @__PURE__ */ __name(function sign3(msg, key2, enc, option
|
|
|
43570
43692
|
}
|
|
43571
43693
|
if (!options)
|
|
43572
43694
|
options = {};
|
|
43695
|
+
if (typeof msg !== "string" && typeof msg !== "number" && !import_bn2.default.isBN(msg)) {
|
|
43696
|
+
assert$5(
|
|
43697
|
+
typeof msg === "object" && msg && typeof msg.length === "number",
|
|
43698
|
+
"Expected message to be an array-like, a hex string, or a BN instance"
|
|
43699
|
+
);
|
|
43700
|
+
assert$5(msg.length >>> 0 === msg.length);
|
|
43701
|
+
for (var i2 = 0; i2 < msg.length; i2++)
|
|
43702
|
+
assert$5((msg[i2] & 255) === msg[i2]);
|
|
43703
|
+
}
|
|
43573
43704
|
key2 = this.keyFromPrivate(key2, enc);
|
|
43574
|
-
msg = this._truncateToN(
|
|
43705
|
+
msg = this._truncateToN(msg, false, options.msgBitLength);
|
|
43706
|
+
assert$5(!msg.isNeg(), "Can not sign a negative message");
|
|
43575
43707
|
var bytes = this.n.byteLength();
|
|
43576
43708
|
var bkey = key2.getPrivate().toArray("be", bytes);
|
|
43577
43709
|
var nonce = msg.toArray("be", bytes);
|
|
43710
|
+
assert$5(new import_bn2.default(nonce).eq(msg), "Can not sign message");
|
|
43578
43711
|
var drbg = new hmacDrbg({
|
|
43579
43712
|
hash: this.hash,
|
|
43580
43713
|
entropy: bkey,
|
|
@@ -43607,8 +43740,10 @@ EC.prototype.sign = /* @__PURE__ */ __name(function sign3(msg, key2, enc, option
|
|
|
43607
43740
|
return new signature({ r: r2, s: s2, recoveryParam });
|
|
43608
43741
|
}
|
|
43609
43742
|
}, "sign");
|
|
43610
|
-
EC.prototype.verify = /* @__PURE__ */ __name(function verify3(msg, signature$1, key2, enc) {
|
|
43611
|
-
|
|
43743
|
+
EC.prototype.verify = /* @__PURE__ */ __name(function verify3(msg, signature$1, key2, enc, options) {
|
|
43744
|
+
if (!options)
|
|
43745
|
+
options = {};
|
|
43746
|
+
msg = this._truncateToN(msg, false, options.msgBitLength);
|
|
43612
43747
|
key2 = this.keyFromPublic(key2, enc);
|
|
43613
43748
|
signature$1 = new signature(signature$1, "hex");
|
|
43614
43749
|
var r2 = signature$1.r;
|
|
@@ -43671,7 +43806,7 @@ EC.prototype.getKeyRecoveryParam = function(e2, signature$1, Q, enc) {
|
|
|
43671
43806
|
var elliptic_1 = createCommonjsModule(function(module2, exports) {
|
|
43672
43807
|
"use strict";
|
|
43673
43808
|
var elliptic = exports;
|
|
43674
|
-
elliptic.version = { version: "6.
|
|
43809
|
+
elliptic.version = { version: "6.6.1" }.version;
|
|
43675
43810
|
elliptic.utils = utils_1$1;
|
|
43676
43811
|
elliptic.rand = function() {
|
|
43677
43812
|
throw new Error("unsupported");
|
|
@@ -43683,10 +43818,10 @@ var elliptic_1 = createCommonjsModule(function(module2, exports) {
|
|
|
43683
43818
|
});
|
|
43684
43819
|
var EC$1 = elliptic_1.ec;
|
|
43685
43820
|
|
|
43686
|
-
// ../../../node_modules/.pnpm/@ethersproject+signing-key@5.
|
|
43687
|
-
var version8 = "signing-key/5.
|
|
43821
|
+
// ../../../node_modules/.pnpm/@ethersproject+signing-key@5.8.0/node_modules/@ethersproject/signing-key/lib.esm/_version.js
|
|
43822
|
+
var version8 = "signing-key/5.8.0";
|
|
43688
43823
|
|
|
43689
|
-
// ../../../node_modules/.pnpm/@ethersproject+signing-key@5.
|
|
43824
|
+
// ../../../node_modules/.pnpm/@ethersproject+signing-key@5.8.0/node_modules/@ethersproject/signing-key/lib.esm/index.js
|
|
43690
43825
|
var logger6 = new Logger(version8);
|
|
43691
43826
|
var _curve = null;
|
|
43692
43827
|
function getCurve() {
|
|
@@ -43765,10 +43900,10 @@ function computePublicKey(key2, compressed) {
|
|
|
43765
43900
|
}
|
|
43766
43901
|
__name(computePublicKey, "computePublicKey");
|
|
43767
43902
|
|
|
43768
|
-
// ../../../node_modules/.pnpm/@ethersproject+transactions@5.
|
|
43769
|
-
var version9 = "transactions/5.
|
|
43903
|
+
// ../../../node_modules/.pnpm/@ethersproject+transactions@5.8.0/node_modules/@ethersproject/transactions/lib.esm/_version.js
|
|
43904
|
+
var version9 = "transactions/5.8.0";
|
|
43770
43905
|
|
|
43771
|
-
// ../../../node_modules/.pnpm/@ethersproject+transactions@5.
|
|
43906
|
+
// ../../../node_modules/.pnpm/@ethersproject+transactions@5.8.0/node_modules/@ethersproject/transactions/lib.esm/index.js
|
|
43772
43907
|
var logger7 = new Logger(version9);
|
|
43773
43908
|
var TransactionTypes;
|
|
43774
43909
|
(function(TransactionTypes2) {
|
|
@@ -43786,10 +43921,10 @@ function recoverAddress(digest2, signature2) {
|
|
|
43786
43921
|
}
|
|
43787
43922
|
__name(recoverAddress, "recoverAddress");
|
|
43788
43923
|
|
|
43789
|
-
// ../../../node_modules/.pnpm/@ethersproject+wallet@5.
|
|
43790
|
-
var version10 = "wallet/5.
|
|
43924
|
+
// ../../../node_modules/.pnpm/@ethersproject+wallet@5.8.0/node_modules/@ethersproject/wallet/lib.esm/_version.js
|
|
43925
|
+
var version10 = "wallet/5.8.0";
|
|
43791
43926
|
|
|
43792
|
-
// ../../../node_modules/.pnpm/@ethersproject+wallet@5.
|
|
43927
|
+
// ../../../node_modules/.pnpm/@ethersproject+wallet@5.8.0/node_modules/@ethersproject/wallet/lib.esm/index.js
|
|
43793
43928
|
var logger8 = new Logger(version10);
|
|
43794
43929
|
function verifyMessage(message, signature2) {
|
|
43795
43930
|
return recoverAddress(hashMessage(message), signature2);
|
|
@@ -46311,13 +46446,13 @@ function __asyncValues(o2) {
|
|
|
46311
46446
|
}
|
|
46312
46447
|
__name(__asyncValues, "__asyncValues");
|
|
46313
46448
|
|
|
46314
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46449
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js
|
|
46315
46450
|
function isFunction(value) {
|
|
46316
46451
|
return typeof value === "function";
|
|
46317
46452
|
}
|
|
46318
46453
|
__name(isFunction, "isFunction");
|
|
46319
46454
|
|
|
46320
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46455
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
|
|
46321
46456
|
function createErrorClass(createImpl) {
|
|
46322
46457
|
var _super = /* @__PURE__ */ __name(function(instance) {
|
|
46323
46458
|
Error.call(instance);
|
|
@@ -46330,7 +46465,7 @@ function createErrorClass(createImpl) {
|
|
|
46330
46465
|
}
|
|
46331
46466
|
__name(createErrorClass, "createErrorClass");
|
|
46332
46467
|
|
|
46333
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46468
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
|
|
46334
46469
|
var UnsubscriptionError = createErrorClass(function(_super) {
|
|
46335
46470
|
return /* @__PURE__ */ __name(function UnsubscriptionErrorImpl(errors) {
|
|
46336
46471
|
_super(this);
|
|
@@ -46342,7 +46477,7 @@ var UnsubscriptionError = createErrorClass(function(_super) {
|
|
|
46342
46477
|
}, "UnsubscriptionErrorImpl");
|
|
46343
46478
|
});
|
|
46344
46479
|
|
|
46345
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46480
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
|
|
46346
46481
|
function arrRemove(arr, item) {
|
|
46347
46482
|
if (arr) {
|
|
46348
46483
|
var index = arr.indexOf(item);
|
|
@@ -46351,7 +46486,7 @@ function arrRemove(arr, item) {
|
|
|
46351
46486
|
}
|
|
46352
46487
|
__name(arrRemove, "arrRemove");
|
|
46353
46488
|
|
|
46354
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46489
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
46355
46490
|
var Subscription = function() {
|
|
46356
46491
|
function Subscription2(initialTeardown) {
|
|
46357
46492
|
this.initialTeardown = initialTeardown;
|
|
@@ -46491,7 +46626,7 @@ function execFinalizer(finalizer) {
|
|
|
46491
46626
|
}
|
|
46492
46627
|
__name(execFinalizer, "execFinalizer");
|
|
46493
46628
|
|
|
46494
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46629
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/config.js
|
|
46495
46630
|
var config = {
|
|
46496
46631
|
onUnhandledError: null,
|
|
46497
46632
|
onStoppedNotification: null,
|
|
@@ -46500,7 +46635,7 @@ var config = {
|
|
|
46500
46635
|
useDeprecatedNextContext: false
|
|
46501
46636
|
};
|
|
46502
46637
|
|
|
46503
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46638
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js
|
|
46504
46639
|
var timeoutProvider = {
|
|
46505
46640
|
setTimeout: function(handler, timeout) {
|
|
46506
46641
|
var args = [];
|
|
@@ -46520,7 +46655,7 @@ var timeoutProvider = {
|
|
|
46520
46655
|
delegate: void 0
|
|
46521
46656
|
};
|
|
46522
46657
|
|
|
46523
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46658
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
|
|
46524
46659
|
function reportUnhandledError(err) {
|
|
46525
46660
|
timeoutProvider.setTimeout(function() {
|
|
46526
46661
|
var onUnhandledError = config.onUnhandledError;
|
|
@@ -46533,12 +46668,12 @@ function reportUnhandledError(err) {
|
|
|
46533
46668
|
}
|
|
46534
46669
|
__name(reportUnhandledError, "reportUnhandledError");
|
|
46535
46670
|
|
|
46536
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46671
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js
|
|
46537
46672
|
function noop() {
|
|
46538
46673
|
}
|
|
46539
46674
|
__name(noop, "noop");
|
|
46540
46675
|
|
|
46541
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46676
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
|
|
46542
46677
|
var COMPLETE_NOTIFICATION = function() {
|
|
46543
46678
|
return createNotification("C", void 0, void 0);
|
|
46544
46679
|
}();
|
|
@@ -46559,7 +46694,7 @@ function createNotification(kind, value, error) {
|
|
|
46559
46694
|
}
|
|
46560
46695
|
__name(createNotification, "createNotification");
|
|
46561
46696
|
|
|
46562
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46697
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/errorContext.js
|
|
46563
46698
|
var context = null;
|
|
46564
46699
|
function errorContext(cb) {
|
|
46565
46700
|
if (config.useDeprecatedSynchronousErrorHandling) {
|
|
@@ -46588,7 +46723,7 @@ function captureError(err) {
|
|
|
46588
46723
|
}
|
|
46589
46724
|
__name(captureError, "captureError");
|
|
46590
46725
|
|
|
46591
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46726
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscriber.js
|
|
46592
46727
|
var Subscriber = function(_super) {
|
|
46593
46728
|
__extends2(Subscriber2, _super);
|
|
46594
46729
|
function Subscriber2(destination) {
|
|
@@ -46760,18 +46895,18 @@ var EMPTY_OBSERVER = {
|
|
|
46760
46895
|
complete: noop
|
|
46761
46896
|
};
|
|
46762
46897
|
|
|
46763
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46898
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/symbol/observable.js
|
|
46764
46899
|
var observable = function() {
|
|
46765
46900
|
return typeof Symbol === "function" && Symbol.observable || "@@observable";
|
|
46766
46901
|
}();
|
|
46767
46902
|
|
|
46768
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46903
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js
|
|
46769
46904
|
function identity3(x) {
|
|
46770
46905
|
return x;
|
|
46771
46906
|
}
|
|
46772
46907
|
__name(identity3, "identity");
|
|
46773
46908
|
|
|
46774
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46909
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/pipe.js
|
|
46775
46910
|
function pipeFromArray(fns) {
|
|
46776
46911
|
if (fns.length === 0) {
|
|
46777
46912
|
return identity3;
|
|
@@ -46787,7 +46922,7 @@ function pipeFromArray(fns) {
|
|
|
46787
46922
|
}
|
|
46788
46923
|
__name(pipeFromArray, "pipeFromArray");
|
|
46789
46924
|
|
|
46790
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
46925
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Observable.js
|
|
46791
46926
|
var Observable = function() {
|
|
46792
46927
|
function Observable2(subscribe) {
|
|
46793
46928
|
if (subscribe) {
|
|
@@ -46883,7 +47018,7 @@ function isSubscriber(value) {
|
|
|
46883
47018
|
}
|
|
46884
47019
|
__name(isSubscriber, "isSubscriber");
|
|
46885
47020
|
|
|
46886
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47021
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/lift.js
|
|
46887
47022
|
function hasLift(source) {
|
|
46888
47023
|
return isFunction(source === null || source === void 0 ? void 0 : source.lift);
|
|
46889
47024
|
}
|
|
@@ -46904,7 +47039,7 @@ function operate(init2) {
|
|
|
46904
47039
|
}
|
|
46905
47040
|
__name(operate, "operate");
|
|
46906
47041
|
|
|
46907
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47042
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js
|
|
46908
47043
|
function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {
|
|
46909
47044
|
return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);
|
|
46910
47045
|
}
|
|
@@ -46954,7 +47089,7 @@ var OperatorSubscriber = function(_super) {
|
|
|
46954
47089
|
return OperatorSubscriber2;
|
|
46955
47090
|
}(Subscriber);
|
|
46956
47091
|
|
|
46957
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47092
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
|
|
46958
47093
|
var ObjectUnsubscribedError = createErrorClass(function(_super) {
|
|
46959
47094
|
return /* @__PURE__ */ __name(function ObjectUnsubscribedErrorImpl() {
|
|
46960
47095
|
_super(this);
|
|
@@ -46963,7 +47098,7 @@ var ObjectUnsubscribedError = createErrorClass(function(_super) {
|
|
|
46963
47098
|
}, "ObjectUnsubscribedErrorImpl");
|
|
46964
47099
|
});
|
|
46965
47100
|
|
|
46966
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47101
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subject.js
|
|
46967
47102
|
var Subject = function(_super) {
|
|
46968
47103
|
__extends2(Subject2, _super);
|
|
46969
47104
|
function Subject2() {
|
|
@@ -47122,7 +47257,7 @@ var AnonymousSubject = function(_super) {
|
|
|
47122
47257
|
return AnonymousSubject2;
|
|
47123
47258
|
}(Subject);
|
|
47124
47259
|
|
|
47125
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47260
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js
|
|
47126
47261
|
var BehaviorSubject = function(_super) {
|
|
47127
47262
|
__extends2(BehaviorSubject2, _super);
|
|
47128
47263
|
function BehaviorSubject2(_value) {
|
|
@@ -47157,7 +47292,7 @@ var BehaviorSubject = function(_super) {
|
|
|
47157
47292
|
return BehaviorSubject2;
|
|
47158
47293
|
}(Subject);
|
|
47159
47294
|
|
|
47160
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47295
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js
|
|
47161
47296
|
var dateTimestampProvider = {
|
|
47162
47297
|
now: function() {
|
|
47163
47298
|
return (dateTimestampProvider.delegate || Date).now();
|
|
@@ -47165,7 +47300,7 @@ var dateTimestampProvider = {
|
|
|
47165
47300
|
delegate: void 0
|
|
47166
47301
|
};
|
|
47167
47302
|
|
|
47168
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47303
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js
|
|
47169
47304
|
var Action = function(_super) {
|
|
47170
47305
|
__extends2(Action2, _super);
|
|
47171
47306
|
function Action2(scheduler, work) {
|
|
@@ -47181,7 +47316,7 @@ var Action = function(_super) {
|
|
|
47181
47316
|
return Action2;
|
|
47182
47317
|
}(Subscription);
|
|
47183
47318
|
|
|
47184
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47319
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js
|
|
47185
47320
|
var intervalProvider = {
|
|
47186
47321
|
setInterval: function(handler, timeout) {
|
|
47187
47322
|
var args = [];
|
|
@@ -47201,7 +47336,7 @@ var intervalProvider = {
|
|
|
47201
47336
|
delegate: void 0
|
|
47202
47337
|
};
|
|
47203
47338
|
|
|
47204
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47339
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js
|
|
47205
47340
|
var AsyncAction = function(_super) {
|
|
47206
47341
|
__extends2(AsyncAction2, _super);
|
|
47207
47342
|
function AsyncAction2(scheduler, work) {
|
|
@@ -47292,7 +47427,7 @@ var AsyncAction = function(_super) {
|
|
|
47292
47427
|
return AsyncAction2;
|
|
47293
47428
|
}(Action);
|
|
47294
47429
|
|
|
47295
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47430
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Scheduler.js
|
|
47296
47431
|
var Scheduler = function() {
|
|
47297
47432
|
function Scheduler2(schedulerActionCtor, now) {
|
|
47298
47433
|
if (now === void 0) {
|
|
@@ -47312,7 +47447,7 @@ var Scheduler = function() {
|
|
|
47312
47447
|
return Scheduler2;
|
|
47313
47448
|
}();
|
|
47314
47449
|
|
|
47315
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47450
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js
|
|
47316
47451
|
var AsyncScheduler = function(_super) {
|
|
47317
47452
|
__extends2(AsyncScheduler2, _super);
|
|
47318
47453
|
function AsyncScheduler2(SchedulerAction, now) {
|
|
@@ -47349,22 +47484,22 @@ var AsyncScheduler = function(_super) {
|
|
|
47349
47484
|
return AsyncScheduler2;
|
|
47350
47485
|
}(Scheduler);
|
|
47351
47486
|
|
|
47352
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47487
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/async.js
|
|
47353
47488
|
var asyncScheduler = new AsyncScheduler(AsyncAction);
|
|
47354
47489
|
var async = asyncScheduler;
|
|
47355
47490
|
|
|
47356
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47491
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/empty.js
|
|
47357
47492
|
var EMPTY = new Observable(function(subscriber) {
|
|
47358
47493
|
return subscriber.complete();
|
|
47359
47494
|
});
|
|
47360
47495
|
|
|
47361
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47496
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isScheduler.js
|
|
47362
47497
|
function isScheduler(value) {
|
|
47363
47498
|
return value && isFunction(value.schedule);
|
|
47364
47499
|
}
|
|
47365
47500
|
__name(isScheduler, "isScheduler");
|
|
47366
47501
|
|
|
47367
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47502
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/args.js
|
|
47368
47503
|
function last(arr) {
|
|
47369
47504
|
return arr[arr.length - 1];
|
|
47370
47505
|
}
|
|
@@ -47378,36 +47513,36 @@ function popNumber(args, defaultValue) {
|
|
|
47378
47513
|
}
|
|
47379
47514
|
__name(popNumber, "popNumber");
|
|
47380
47515
|
|
|
47381
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47516
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isArrayLike.js
|
|
47382
47517
|
var isArrayLike = /* @__PURE__ */ __name(function(x) {
|
|
47383
47518
|
return x && typeof x.length === "number" && typeof x !== "function";
|
|
47384
47519
|
}, "isArrayLike");
|
|
47385
47520
|
|
|
47386
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47521
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isPromise.js
|
|
47387
47522
|
function isPromise(value) {
|
|
47388
47523
|
return isFunction(value === null || value === void 0 ? void 0 : value.then);
|
|
47389
47524
|
}
|
|
47390
47525
|
__name(isPromise, "isPromise");
|
|
47391
47526
|
|
|
47392
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47527
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isInteropObservable.js
|
|
47393
47528
|
function isInteropObservable(input) {
|
|
47394
47529
|
return isFunction(input[observable]);
|
|
47395
47530
|
}
|
|
47396
47531
|
__name(isInteropObservable, "isInteropObservable");
|
|
47397
47532
|
|
|
47398
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47533
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js
|
|
47399
47534
|
function isAsyncIterable(obj) {
|
|
47400
47535
|
return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
|
|
47401
47536
|
}
|
|
47402
47537
|
__name(isAsyncIterable, "isAsyncIterable");
|
|
47403
47538
|
|
|
47404
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47539
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js
|
|
47405
47540
|
function createInvalidObservableTypeError(input) {
|
|
47406
47541
|
return new TypeError("You provided " + (input !== null && typeof input === "object" ? "an invalid object" : "'" + input + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
47407
47542
|
}
|
|
47408
47543
|
__name(createInvalidObservableTypeError, "createInvalidObservableTypeError");
|
|
47409
47544
|
|
|
47410
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47545
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/symbol/iterator.js
|
|
47411
47546
|
function getSymbolIterator() {
|
|
47412
47547
|
if (typeof Symbol !== "function" || !Symbol.iterator) {
|
|
47413
47548
|
return "@@iterator";
|
|
@@ -47417,13 +47552,13 @@ function getSymbolIterator() {
|
|
|
47417
47552
|
__name(getSymbolIterator, "getSymbolIterator");
|
|
47418
47553
|
var iterator = getSymbolIterator();
|
|
47419
47554
|
|
|
47420
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47555
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isIterable.js
|
|
47421
47556
|
function isIterable(input) {
|
|
47422
47557
|
return isFunction(input === null || input === void 0 ? void 0 : input[iterator]);
|
|
47423
47558
|
}
|
|
47424
47559
|
__name(isIterable, "isIterable");
|
|
47425
47560
|
|
|
47426
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47561
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
|
|
47427
47562
|
function readableStreamLikeToAsyncGenerator(readableStream) {
|
|
47428
47563
|
return __asyncGenerator(this, arguments, /* @__PURE__ */ __name(function readableStreamLikeToAsyncGenerator_1() {
|
|
47429
47564
|
var reader, _a, value, done;
|
|
@@ -47470,7 +47605,7 @@ function isReadableStreamLike(obj) {
|
|
|
47470
47605
|
}
|
|
47471
47606
|
__name(isReadableStreamLike, "isReadableStreamLike");
|
|
47472
47607
|
|
|
47473
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47608
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js
|
|
47474
47609
|
function innerFrom(input) {
|
|
47475
47610
|
if (input instanceof Observable) {
|
|
47476
47611
|
return input;
|
|
@@ -47623,7 +47758,7 @@ function process2(asyncIterable, subscriber) {
|
|
|
47623
47758
|
}
|
|
47624
47759
|
__name(process2, "process");
|
|
47625
47760
|
|
|
47626
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47761
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js
|
|
47627
47762
|
function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {
|
|
47628
47763
|
if (delay === void 0) {
|
|
47629
47764
|
delay = 0;
|
|
@@ -47646,7 +47781,7 @@ function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {
|
|
|
47646
47781
|
}
|
|
47647
47782
|
__name(executeSchedule, "executeSchedule");
|
|
47648
47783
|
|
|
47649
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47784
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js
|
|
47650
47785
|
function observeOn(scheduler, delay) {
|
|
47651
47786
|
if (delay === void 0) {
|
|
47652
47787
|
delay = 0;
|
|
@@ -47669,7 +47804,7 @@ function observeOn(scheduler, delay) {
|
|
|
47669
47804
|
}
|
|
47670
47805
|
__name(observeOn, "observeOn");
|
|
47671
47806
|
|
|
47672
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47807
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/subscribeOn.js
|
|
47673
47808
|
function subscribeOn(scheduler, delay) {
|
|
47674
47809
|
if (delay === void 0) {
|
|
47675
47810
|
delay = 0;
|
|
@@ -47682,19 +47817,19 @@ function subscribeOn(scheduler, delay) {
|
|
|
47682
47817
|
}
|
|
47683
47818
|
__name(subscribeOn, "subscribeOn");
|
|
47684
47819
|
|
|
47685
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47820
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js
|
|
47686
47821
|
function scheduleObservable(input, scheduler) {
|
|
47687
47822
|
return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
|
|
47688
47823
|
}
|
|
47689
47824
|
__name(scheduleObservable, "scheduleObservable");
|
|
47690
47825
|
|
|
47691
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47826
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/schedulePromise.js
|
|
47692
47827
|
function schedulePromise(input, scheduler) {
|
|
47693
47828
|
return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
|
|
47694
47829
|
}
|
|
47695
47830
|
__name(schedulePromise, "schedulePromise");
|
|
47696
47831
|
|
|
47697
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47832
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleArray.js
|
|
47698
47833
|
function scheduleArray(input, scheduler) {
|
|
47699
47834
|
return new Observable(function(subscriber) {
|
|
47700
47835
|
var i2 = 0;
|
|
@@ -47712,7 +47847,7 @@ function scheduleArray(input, scheduler) {
|
|
|
47712
47847
|
}
|
|
47713
47848
|
__name(scheduleArray, "scheduleArray");
|
|
47714
47849
|
|
|
47715
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47850
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js
|
|
47716
47851
|
function scheduleIterable(input, scheduler) {
|
|
47717
47852
|
return new Observable(function(subscriber) {
|
|
47718
47853
|
var iterator2;
|
|
@@ -47742,7 +47877,7 @@ function scheduleIterable(input, scheduler) {
|
|
|
47742
47877
|
}
|
|
47743
47878
|
__name(scheduleIterable, "scheduleIterable");
|
|
47744
47879
|
|
|
47745
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47880
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js
|
|
47746
47881
|
function scheduleAsyncIterable(input, scheduler) {
|
|
47747
47882
|
if (!input) {
|
|
47748
47883
|
throw new Error("Iterable cannot be null");
|
|
@@ -47764,13 +47899,13 @@ function scheduleAsyncIterable(input, scheduler) {
|
|
|
47764
47899
|
}
|
|
47765
47900
|
__name(scheduleAsyncIterable, "scheduleAsyncIterable");
|
|
47766
47901
|
|
|
47767
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47902
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js
|
|
47768
47903
|
function scheduleReadableStreamLike(input, scheduler) {
|
|
47769
47904
|
return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);
|
|
47770
47905
|
}
|
|
47771
47906
|
__name(scheduleReadableStreamLike, "scheduleReadableStreamLike");
|
|
47772
47907
|
|
|
47773
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47908
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduled/scheduled.js
|
|
47774
47909
|
function scheduled(input, scheduler) {
|
|
47775
47910
|
if (input != null) {
|
|
47776
47911
|
if (isInteropObservable(input)) {
|
|
@@ -47796,13 +47931,13 @@ function scheduled(input, scheduler) {
|
|
|
47796
47931
|
}
|
|
47797
47932
|
__name(scheduled, "scheduled");
|
|
47798
47933
|
|
|
47799
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47934
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/from.js
|
|
47800
47935
|
function from3(input, scheduler) {
|
|
47801
47936
|
return scheduler ? scheduled(input, scheduler) : innerFrom(input);
|
|
47802
47937
|
}
|
|
47803
47938
|
__name(from3, "from");
|
|
47804
47939
|
|
|
47805
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47940
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/EmptyError.js
|
|
47806
47941
|
var EmptyError = createErrorClass(function(_super) {
|
|
47807
47942
|
return /* @__PURE__ */ __name(function EmptyErrorImpl() {
|
|
47808
47943
|
_super(this);
|
|
@@ -47811,13 +47946,13 @@ var EmptyError = createErrorClass(function(_super) {
|
|
|
47811
47946
|
}, "EmptyErrorImpl");
|
|
47812
47947
|
});
|
|
47813
47948
|
|
|
47814
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47949
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isDate.js
|
|
47815
47950
|
function isValidDate(value) {
|
|
47816
47951
|
return value instanceof Date && !isNaN(value);
|
|
47817
47952
|
}
|
|
47818
47953
|
__name(isValidDate, "isValidDate");
|
|
47819
47954
|
|
|
47820
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47955
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/map.js
|
|
47821
47956
|
function map(project, thisArg) {
|
|
47822
47957
|
return operate(function(source, subscriber) {
|
|
47823
47958
|
var index = 0;
|
|
@@ -47828,7 +47963,7 @@ function map(project, thisArg) {
|
|
|
47828
47963
|
}
|
|
47829
47964
|
__name(map, "map");
|
|
47830
47965
|
|
|
47831
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47966
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js
|
|
47832
47967
|
var isArray = Array.isArray;
|
|
47833
47968
|
function callOrApply(fn, args) {
|
|
47834
47969
|
return isArray(args) ? fn.apply(void 0, __spreadArray([], __read(args))) : fn(args);
|
|
@@ -47841,7 +47976,7 @@ function mapOneOrManyArgs(fn) {
|
|
|
47841
47976
|
}
|
|
47842
47977
|
__name(mapOneOrManyArgs, "mapOneOrManyArgs");
|
|
47843
47978
|
|
|
47844
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
47979
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/mergeInternals.js
|
|
47845
47980
|
function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {
|
|
47846
47981
|
var buffer2 = [];
|
|
47847
47982
|
var active = 0;
|
|
@@ -47902,7 +48037,7 @@ function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, e
|
|
|
47902
48037
|
}
|
|
47903
48038
|
__name(mergeInternals, "mergeInternals");
|
|
47904
48039
|
|
|
47905
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48040
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js
|
|
47906
48041
|
function mergeMap(project, resultSelector, concurrent) {
|
|
47907
48042
|
if (concurrent === void 0) {
|
|
47908
48043
|
concurrent = Infinity;
|
|
@@ -47922,7 +48057,7 @@ function mergeMap(project, resultSelector, concurrent) {
|
|
|
47922
48057
|
}
|
|
47923
48058
|
__name(mergeMap, "mergeMap");
|
|
47924
48059
|
|
|
47925
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48060
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js
|
|
47926
48061
|
function mergeAll(concurrent) {
|
|
47927
48062
|
if (concurrent === void 0) {
|
|
47928
48063
|
concurrent = Infinity;
|
|
@@ -47931,7 +48066,7 @@ function mergeAll(concurrent) {
|
|
|
47931
48066
|
}
|
|
47932
48067
|
__name(mergeAll, "mergeAll");
|
|
47933
48068
|
|
|
47934
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48069
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js
|
|
47935
48070
|
var nodeEventEmitterMethods = ["addListener", "removeListener"];
|
|
47936
48071
|
var eventTargetMethods = ["addEventListener", "removeEventListener"];
|
|
47937
48072
|
var jqueryMethods = ["on", "off"];
|
|
@@ -47994,7 +48129,7 @@ function isEventTarget(target) {
|
|
|
47994
48129
|
}
|
|
47995
48130
|
__name(isEventTarget, "isEventTarget");
|
|
47996
48131
|
|
|
47997
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48132
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/timer.js
|
|
47998
48133
|
function timer(dueTime, intervalOrScheduler, scheduler) {
|
|
47999
48134
|
if (dueTime === void 0) {
|
|
48000
48135
|
dueTime = 0;
|
|
@@ -48030,7 +48165,7 @@ function timer(dueTime, intervalOrScheduler, scheduler) {
|
|
|
48030
48165
|
}
|
|
48031
48166
|
__name(timer, "timer");
|
|
48032
48167
|
|
|
48033
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48168
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/merge.js
|
|
48034
48169
|
function merge() {
|
|
48035
48170
|
var args = [];
|
|
48036
48171
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -48043,7 +48178,7 @@ function merge() {
|
|
|
48043
48178
|
}
|
|
48044
48179
|
__name(merge, "merge");
|
|
48045
48180
|
|
|
48046
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48181
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/filter.js
|
|
48047
48182
|
function filter(predicate, thisArg) {
|
|
48048
48183
|
return operate(function(source, subscriber) {
|
|
48049
48184
|
var index = 0;
|
|
@@ -48054,7 +48189,7 @@ function filter(predicate, thisArg) {
|
|
|
48054
48189
|
}
|
|
48055
48190
|
__name(filter, "filter");
|
|
48056
48191
|
|
|
48057
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48192
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/defaultIfEmpty.js
|
|
48058
48193
|
function defaultIfEmpty(defaultValue) {
|
|
48059
48194
|
return operate(function(source, subscriber) {
|
|
48060
48195
|
var hasValue = false;
|
|
@@ -48071,7 +48206,7 @@ function defaultIfEmpty(defaultValue) {
|
|
|
48071
48206
|
}
|
|
48072
48207
|
__name(defaultIfEmpty, "defaultIfEmpty");
|
|
48073
48208
|
|
|
48074
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48209
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/take.js
|
|
48075
48210
|
function take(count) {
|
|
48076
48211
|
return count <= 0 ? function() {
|
|
48077
48212
|
return EMPTY;
|
|
@@ -48089,7 +48224,7 @@ function take(count) {
|
|
|
48089
48224
|
}
|
|
48090
48225
|
__name(take, "take");
|
|
48091
48226
|
|
|
48092
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48227
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/throwIfEmpty.js
|
|
48093
48228
|
function throwIfEmpty(errorFactory) {
|
|
48094
48229
|
if (errorFactory === void 0) {
|
|
48095
48230
|
errorFactory = defaultErrorFactory;
|
|
@@ -48110,7 +48245,7 @@ function defaultErrorFactory() {
|
|
|
48110
48245
|
}
|
|
48111
48246
|
__name(defaultErrorFactory, "defaultErrorFactory");
|
|
48112
48247
|
|
|
48113
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48248
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/first.js
|
|
48114
48249
|
function first(predicate, defaultValue) {
|
|
48115
48250
|
var hasDefaultValue = arguments.length >= 2;
|
|
48116
48251
|
return function(source) {
|
|
@@ -48123,7 +48258,7 @@ function first(predicate, defaultValue) {
|
|
|
48123
48258
|
}
|
|
48124
48259
|
__name(first, "first");
|
|
48125
48260
|
|
|
48126
|
-
// ../../../node_modules/.pnpm/rxjs@7.8.
|
|
48261
|
+
// ../../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/throttle.js
|
|
48127
48262
|
function throttle(durationSelector, config2) {
|
|
48128
48263
|
return operate(function(source, subscriber) {
|
|
48129
48264
|
var _a = config2 !== null && config2 !== void 0 ? config2 : {}, _b = _a.leading, leading = _b === void 0 ? true : _b, _c = _a.trailing, trailing = _c === void 0 ? false : _c;
|
|
@@ -53945,8 +54080,14 @@ var CeramicURIValidator = mod.string().refine(
|
|
|
53945
54080
|
"URI must use storage type ceramic (i.e. must be lc:ceramic:${streamID})"
|
|
53946
54081
|
);
|
|
53947
54082
|
|
|
54083
|
+
// src/defaults.ts
|
|
54084
|
+
var DEFAULT_CERAMIC_ARGS = {
|
|
54085
|
+
ceramicEndpoint: "https://ceramic-node.welibrary.io:7007",
|
|
54086
|
+
defaultContentFamily: "SuperSkills"
|
|
54087
|
+
};
|
|
54088
|
+
|
|
53948
54089
|
// src/ceramic.ts
|
|
53949
|
-
var getCeramicPlugin = /* @__PURE__ */ __name(async (learnCard, { ceramicEndpoint, defaultContentFamily }) => {
|
|
54090
|
+
var getCeramicPlugin = /* @__PURE__ */ __name(async (learnCard, { ceramicEndpoint, defaultContentFamily } = DEFAULT_CERAMIC_ARGS) => {
|
|
53950
54091
|
const ceramic = new CeramicClient(ceramicEndpoint);
|
|
53951
54092
|
const learnCardResolver = /* @__PURE__ */ __name(async (did2, _parsedDid, _resolver, options) => learnCard.invoke.didResolver(did2, options), "learnCardResolver");
|
|
53952
54093
|
const resolver = { ...lib_default.getResolver(), web: learnCardResolver };
|