@learncard/network-plugin 2.13.5 → 2.13.7
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/README.md +12 -7
- package/dist/lcn-plugin.cjs.development.cjs +83 -82
- package/dist/lcn-plugin.cjs.development.cjs.map +3 -3
- package/dist/lcn-plugin.cjs.production.min.cjs +1 -1
- package/dist/lcn-plugin.cjs.production.min.cjs.map +3 -3
- package/dist/lcn-plugin.esm.js +83 -82
- package/dist/lcn-plugin.esm.js.map +3 -3
- package/package.json +64 -62
- package/src/index.ts +2 -0
- package/src/plugin.ts +2747 -0
- package/src/test/index.test.ts +89 -0
- package/src/test/mocks/sample-vcs.ts +579 -0
- package/src/types.ts +908 -0
package/dist/lcn-plugin.esm.js
CHANGED
|
@@ -8,7 +8,7 @@ var __export = (target, all) => {
|
|
|
8
8
|
// src/plugin.ts
|
|
9
9
|
import { getClient, getApiTokenClient } from "@learncard/network-brain-client";
|
|
10
10
|
|
|
11
|
-
// ../../../node_modules
|
|
11
|
+
// ../../../node_modules/zod/v4/classic/external.js
|
|
12
12
|
var external_exports = {};
|
|
13
13
|
__export(external_exports, {
|
|
14
14
|
$brand: () => $brand,
|
|
@@ -251,7 +251,7 @@ __export(external_exports, {
|
|
|
251
251
|
xor: () => xor
|
|
252
252
|
});
|
|
253
253
|
|
|
254
|
-
// ../../../node_modules
|
|
254
|
+
// ../../../node_modules/zod/v4/core/index.js
|
|
255
255
|
var core_exports2 = {};
|
|
256
256
|
__export(core_exports2, {
|
|
257
257
|
$ZodAny: () => $ZodAny,
|
|
@@ -530,7 +530,7 @@ __export(core_exports2, {
|
|
|
530
530
|
version: () => version
|
|
531
531
|
});
|
|
532
532
|
|
|
533
|
-
// ../../../node_modules
|
|
533
|
+
// ../../../node_modules/zod/v4/core/core.js
|
|
534
534
|
var _a;
|
|
535
535
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
536
536
|
status: "aborted"
|
|
@@ -617,7 +617,7 @@ function config(newConfig) {
|
|
|
617
617
|
}
|
|
618
618
|
__name(config, "config");
|
|
619
619
|
|
|
620
|
-
// ../../../node_modules
|
|
620
|
+
// ../../../node_modules/zod/v4/core/util.js
|
|
621
621
|
var util_exports = {};
|
|
622
622
|
__export(util_exports, {
|
|
623
623
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -1370,7 +1370,7 @@ var _Class = class _Class {
|
|
|
1370
1370
|
__name(_Class, "Class");
|
|
1371
1371
|
var Class = _Class;
|
|
1372
1372
|
|
|
1373
|
-
// ../../../node_modules
|
|
1373
|
+
// ../../../node_modules/zod/v4/core/errors.js
|
|
1374
1374
|
var initializer = /* @__PURE__ */ __name((inst, def) => {
|
|
1375
1375
|
inst.name = "$ZodError";
|
|
1376
1376
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -1514,7 +1514,7 @@ function prettifyError(error51) {
|
|
|
1514
1514
|
}
|
|
1515
1515
|
__name(prettifyError, "prettifyError");
|
|
1516
1516
|
|
|
1517
|
-
// ../../../node_modules
|
|
1517
|
+
// ../../../node_modules/zod/v4/core/parse.js
|
|
1518
1518
|
var _parse = /* @__PURE__ */ __name((_Err) => (schema, value, _ctx, _params) => {
|
|
1519
1519
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
1520
1520
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -1602,7 +1602,7 @@ var _safeDecodeAsync = /* @__PURE__ */ __name((_Err) => async (schema, value, _c
|
|
|
1602
1602
|
}, "_safeDecodeAsync");
|
|
1603
1603
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1604
1604
|
|
|
1605
|
-
// ../../../node_modules
|
|
1605
|
+
// ../../../node_modules/zod/v4/core/regexes.js
|
|
1606
1606
|
var regexes_exports = {};
|
|
1607
1607
|
__export(regexes_exports, {
|
|
1608
1608
|
base64: () => base64,
|
|
@@ -1767,7 +1767,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
1767
1767
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
1768
1768
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
1769
1769
|
|
|
1770
|
-
// ../../../node_modules
|
|
1770
|
+
// ../../../node_modules/zod/v4/core/checks.js
|
|
1771
1771
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
1772
1772
|
var _a4;
|
|
1773
1773
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2316,7 +2316,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2316
2316
|
};
|
|
2317
2317
|
});
|
|
2318
2318
|
|
|
2319
|
-
// ../../../node_modules
|
|
2319
|
+
// ../../../node_modules/zod/v4/core/doc.js
|
|
2320
2320
|
var _Doc = class _Doc {
|
|
2321
2321
|
constructor(args = []) {
|
|
2322
2322
|
this.content = [];
|
|
@@ -2354,14 +2354,14 @@ var _Doc = class _Doc {
|
|
|
2354
2354
|
__name(_Doc, "Doc");
|
|
2355
2355
|
var Doc = _Doc;
|
|
2356
2356
|
|
|
2357
|
-
// ../../../node_modules
|
|
2357
|
+
// ../../../node_modules/zod/v4/core/versions.js
|
|
2358
2358
|
var version = {
|
|
2359
2359
|
major: 4,
|
|
2360
2360
|
minor: 4,
|
|
2361
2361
|
patch: 3
|
|
2362
2362
|
};
|
|
2363
2363
|
|
|
2364
|
-
// ../../../node_modules
|
|
2364
|
+
// ../../../node_modules/zod/v4/core/schemas.js
|
|
2365
2365
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2366
2366
|
var _a4;
|
|
2367
2367
|
inst ?? (inst = {});
|
|
@@ -4478,7 +4478,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4478
4478
|
}
|
|
4479
4479
|
__name(handleRefineResult, "handleRefineResult");
|
|
4480
4480
|
|
|
4481
|
-
// ../../../node_modules
|
|
4481
|
+
// ../../../node_modules/zod/v4/locales/index.js
|
|
4482
4482
|
var locales_exports = {};
|
|
4483
4483
|
__export(locales_exports, {
|
|
4484
4484
|
ar: () => ar_default,
|
|
@@ -4535,7 +4535,7 @@ __export(locales_exports, {
|
|
|
4535
4535
|
zhTW: () => zh_TW_default
|
|
4536
4536
|
});
|
|
4537
4537
|
|
|
4538
|
-
// ../../../node_modules
|
|
4538
|
+
// ../../../node_modules/zod/v4/locales/ar.js
|
|
4539
4539
|
var error = /* @__PURE__ */ __name(() => {
|
|
4540
4540
|
const Sizable = {
|
|
4541
4541
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -4644,7 +4644,7 @@ function ar_default() {
|
|
|
4644
4644
|
}
|
|
4645
4645
|
__name(ar_default, "default");
|
|
4646
4646
|
|
|
4647
|
-
// ../../../node_modules
|
|
4647
|
+
// ../../../node_modules/zod/v4/locales/az.js
|
|
4648
4648
|
var error2 = /* @__PURE__ */ __name(() => {
|
|
4649
4649
|
const Sizable = {
|
|
4650
4650
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -4752,7 +4752,7 @@ function az_default() {
|
|
|
4752
4752
|
}
|
|
4753
4753
|
__name(az_default, "default");
|
|
4754
4754
|
|
|
4755
|
-
// ../../../node_modules
|
|
4755
|
+
// ../../../node_modules/zod/v4/locales/be.js
|
|
4756
4756
|
function getBelarusianPlural(count, one, few, many) {
|
|
4757
4757
|
const absCount = Math.abs(count);
|
|
4758
4758
|
const lastDigit = absCount % 10;
|
|
@@ -4912,7 +4912,7 @@ function be_default() {
|
|
|
4912
4912
|
}
|
|
4913
4913
|
__name(be_default, "default");
|
|
4914
4914
|
|
|
4915
|
-
// ../../../node_modules
|
|
4915
|
+
// ../../../node_modules/zod/v4/locales/bg.js
|
|
4916
4916
|
var error4 = /* @__PURE__ */ __name(() => {
|
|
4917
4917
|
const Sizable = {
|
|
4918
4918
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -5035,7 +5035,7 @@ function bg_default() {
|
|
|
5035
5035
|
}
|
|
5036
5036
|
__name(bg_default, "default");
|
|
5037
5037
|
|
|
5038
|
-
// ../../../node_modules
|
|
5038
|
+
// ../../../node_modules/zod/v4/locales/ca.js
|
|
5039
5039
|
var error5 = /* @__PURE__ */ __name(() => {
|
|
5040
5040
|
const Sizable = {
|
|
5041
5041
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -5146,7 +5146,7 @@ function ca_default() {
|
|
|
5146
5146
|
}
|
|
5147
5147
|
__name(ca_default, "default");
|
|
5148
5148
|
|
|
5149
|
-
// ../../../node_modules
|
|
5149
|
+
// ../../../node_modules/zod/v4/locales/cs.js
|
|
5150
5150
|
var error6 = /* @__PURE__ */ __name(() => {
|
|
5151
5151
|
const Sizable = {
|
|
5152
5152
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -5260,7 +5260,7 @@ function cs_default() {
|
|
|
5260
5260
|
}
|
|
5261
5261
|
__name(cs_default, "default");
|
|
5262
5262
|
|
|
5263
|
-
// ../../../node_modules
|
|
5263
|
+
// ../../../node_modules/zod/v4/locales/da.js
|
|
5264
5264
|
var error7 = /* @__PURE__ */ __name(() => {
|
|
5265
5265
|
const Sizable = {
|
|
5266
5266
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -5378,7 +5378,7 @@ function da_default() {
|
|
|
5378
5378
|
}
|
|
5379
5379
|
__name(da_default, "default");
|
|
5380
5380
|
|
|
5381
|
-
// ../../../node_modules
|
|
5381
|
+
// ../../../node_modules/zod/v4/locales/de.js
|
|
5382
5382
|
var error8 = /* @__PURE__ */ __name(() => {
|
|
5383
5383
|
const Sizable = {
|
|
5384
5384
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -5489,7 +5489,7 @@ function de_default() {
|
|
|
5489
5489
|
}
|
|
5490
5490
|
__name(de_default, "default");
|
|
5491
5491
|
|
|
5492
|
-
// ../../../node_modules
|
|
5492
|
+
// ../../../node_modules/zod/v4/locales/el.js
|
|
5493
5493
|
var error9 = /* @__PURE__ */ __name(() => {
|
|
5494
5494
|
const Sizable = {
|
|
5495
5495
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -5601,7 +5601,7 @@ function el_default() {
|
|
|
5601
5601
|
}
|
|
5602
5602
|
__name(el_default, "default");
|
|
5603
5603
|
|
|
5604
|
-
// ../../../node_modules
|
|
5604
|
+
// ../../../node_modules/zod/v4/locales/en.js
|
|
5605
5605
|
var error10 = /* @__PURE__ */ __name(() => {
|
|
5606
5606
|
const Sizable = {
|
|
5607
5607
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -5716,7 +5716,7 @@ function en_default() {
|
|
|
5716
5716
|
}
|
|
5717
5717
|
__name(en_default, "default");
|
|
5718
5718
|
|
|
5719
|
-
// ../../../node_modules
|
|
5719
|
+
// ../../../node_modules/zod/v4/locales/eo.js
|
|
5720
5720
|
var error11 = /* @__PURE__ */ __name(() => {
|
|
5721
5721
|
const Sizable = {
|
|
5722
5722
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -5828,7 +5828,7 @@ function eo_default() {
|
|
|
5828
5828
|
}
|
|
5829
5829
|
__name(eo_default, "default");
|
|
5830
5830
|
|
|
5831
|
-
// ../../../node_modules
|
|
5831
|
+
// ../../../node_modules/zod/v4/locales/es.js
|
|
5832
5832
|
var error12 = /* @__PURE__ */ __name(() => {
|
|
5833
5833
|
const Sizable = {
|
|
5834
5834
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -5963,7 +5963,7 @@ function es_default() {
|
|
|
5963
5963
|
}
|
|
5964
5964
|
__name(es_default, "default");
|
|
5965
5965
|
|
|
5966
|
-
// ../../../node_modules
|
|
5966
|
+
// ../../../node_modules/zod/v4/locales/fa.js
|
|
5967
5967
|
var error13 = /* @__PURE__ */ __name(() => {
|
|
5968
5968
|
const Sizable = {
|
|
5969
5969
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -6080,7 +6080,7 @@ function fa_default() {
|
|
|
6080
6080
|
}
|
|
6081
6081
|
__name(fa_default, "default");
|
|
6082
6082
|
|
|
6083
|
-
// ../../../node_modules
|
|
6083
|
+
// ../../../node_modules/zod/v4/locales/fi.js
|
|
6084
6084
|
var error14 = /* @__PURE__ */ __name(() => {
|
|
6085
6085
|
const Sizable = {
|
|
6086
6086
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -6195,7 +6195,7 @@ function fi_default() {
|
|
|
6195
6195
|
}
|
|
6196
6196
|
__name(fi_default, "default");
|
|
6197
6197
|
|
|
6198
|
-
// ../../../node_modules
|
|
6198
|
+
// ../../../node_modules/zod/v4/locales/fr.js
|
|
6199
6199
|
var error15 = /* @__PURE__ */ __name(() => {
|
|
6200
6200
|
const Sizable = {
|
|
6201
6201
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -6323,7 +6323,7 @@ function fr_default() {
|
|
|
6323
6323
|
}
|
|
6324
6324
|
__name(fr_default, "default");
|
|
6325
6325
|
|
|
6326
|
-
// ../../../node_modules
|
|
6326
|
+
// ../../../node_modules/zod/v4/locales/fr-CA.js
|
|
6327
6327
|
var error16 = /* @__PURE__ */ __name(() => {
|
|
6328
6328
|
const Sizable = {
|
|
6329
6329
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -6433,7 +6433,7 @@ function fr_CA_default() {
|
|
|
6433
6433
|
}
|
|
6434
6434
|
__name(fr_CA_default, "default");
|
|
6435
6435
|
|
|
6436
|
-
// ../../../node_modules
|
|
6436
|
+
// ../../../node_modules/zod/v4/locales/he.js
|
|
6437
6437
|
var error17 = /* @__PURE__ */ __name(() => {
|
|
6438
6438
|
const TypeNames = {
|
|
6439
6439
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -6629,7 +6629,7 @@ function he_default() {
|
|
|
6629
6629
|
}
|
|
6630
6630
|
__name(he_default, "default");
|
|
6631
6631
|
|
|
6632
|
-
// ../../../node_modules
|
|
6632
|
+
// ../../../node_modules/zod/v4/locales/hr.js
|
|
6633
6633
|
var error18 = /* @__PURE__ */ __name(() => {
|
|
6634
6634
|
const Sizable = {
|
|
6635
6635
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -6754,7 +6754,7 @@ function hr_default() {
|
|
|
6754
6754
|
}
|
|
6755
6755
|
__name(hr_default, "default");
|
|
6756
6756
|
|
|
6757
|
-
// ../../../node_modules
|
|
6757
|
+
// ../../../node_modules/zod/v4/locales/hu.js
|
|
6758
6758
|
var error19 = /* @__PURE__ */ __name(() => {
|
|
6759
6759
|
const Sizable = {
|
|
6760
6760
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -6865,7 +6865,7 @@ function hu_default() {
|
|
|
6865
6865
|
}
|
|
6866
6866
|
__name(hu_default, "default");
|
|
6867
6867
|
|
|
6868
|
-
// ../../../node_modules
|
|
6868
|
+
// ../../../node_modules/zod/v4/locales/hy.js
|
|
6869
6869
|
function getArmenianPlural(count, one, many) {
|
|
6870
6870
|
return Math.abs(count) === 1 ? one : many;
|
|
6871
6871
|
}
|
|
@@ -7017,7 +7017,7 @@ function hy_default() {
|
|
|
7017
7017
|
}
|
|
7018
7018
|
__name(hy_default, "default");
|
|
7019
7019
|
|
|
7020
|
-
// ../../../node_modules
|
|
7020
|
+
// ../../../node_modules/zod/v4/locales/id.js
|
|
7021
7021
|
var error21 = /* @__PURE__ */ __name(() => {
|
|
7022
7022
|
const Sizable = {
|
|
7023
7023
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -7126,7 +7126,7 @@ function id_default() {
|
|
|
7126
7126
|
}
|
|
7127
7127
|
__name(id_default, "default");
|
|
7128
7128
|
|
|
7129
|
-
// ../../../node_modules
|
|
7129
|
+
// ../../../node_modules/zod/v4/locales/is.js
|
|
7130
7130
|
var error22 = /* @__PURE__ */ __name(() => {
|
|
7131
7131
|
const Sizable = {
|
|
7132
7132
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -7238,7 +7238,7 @@ function is_default() {
|
|
|
7238
7238
|
}
|
|
7239
7239
|
__name(is_default, "default");
|
|
7240
7240
|
|
|
7241
|
-
// ../../../node_modules
|
|
7241
|
+
// ../../../node_modules/zod/v4/locales/it.js
|
|
7242
7242
|
var error23 = /* @__PURE__ */ __name(() => {
|
|
7243
7243
|
const Sizable = {
|
|
7244
7244
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -7349,7 +7349,7 @@ function it_default() {
|
|
|
7349
7349
|
}
|
|
7350
7350
|
__name(it_default, "default");
|
|
7351
7351
|
|
|
7352
|
-
// ../../../node_modules
|
|
7352
|
+
// ../../../node_modules/zod/v4/locales/ja.js
|
|
7353
7353
|
var error24 = /* @__PURE__ */ __name(() => {
|
|
7354
7354
|
const Sizable = {
|
|
7355
7355
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -7459,7 +7459,7 @@ function ja_default() {
|
|
|
7459
7459
|
}
|
|
7460
7460
|
__name(ja_default, "default");
|
|
7461
7461
|
|
|
7462
|
-
// ../../../node_modules
|
|
7462
|
+
// ../../../node_modules/zod/v4/locales/ka.js
|
|
7463
7463
|
var error25 = /* @__PURE__ */ __name(() => {
|
|
7464
7464
|
const Sizable = {
|
|
7465
7465
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -7574,7 +7574,7 @@ function ka_default() {
|
|
|
7574
7574
|
}
|
|
7575
7575
|
__name(ka_default, "default");
|
|
7576
7576
|
|
|
7577
|
-
// ../../../node_modules
|
|
7577
|
+
// ../../../node_modules/zod/v4/locales/km.js
|
|
7578
7578
|
var error26 = /* @__PURE__ */ __name(() => {
|
|
7579
7579
|
const Sizable = {
|
|
7580
7580
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -7687,13 +7687,13 @@ function km_default() {
|
|
|
7687
7687
|
}
|
|
7688
7688
|
__name(km_default, "default");
|
|
7689
7689
|
|
|
7690
|
-
// ../../../node_modules
|
|
7690
|
+
// ../../../node_modules/zod/v4/locales/kh.js
|
|
7691
7691
|
function kh_default() {
|
|
7692
7692
|
return km_default();
|
|
7693
7693
|
}
|
|
7694
7694
|
__name(kh_default, "default");
|
|
7695
7695
|
|
|
7696
|
-
// ../../../node_modules
|
|
7696
|
+
// ../../../node_modules/zod/v4/locales/ko.js
|
|
7697
7697
|
var error27 = /* @__PURE__ */ __name(() => {
|
|
7698
7698
|
const Sizable = {
|
|
7699
7699
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -7807,7 +7807,7 @@ function ko_default() {
|
|
|
7807
7807
|
}
|
|
7808
7808
|
__name(ko_default, "default");
|
|
7809
7809
|
|
|
7810
|
-
// ../../../node_modules
|
|
7810
|
+
// ../../../node_modules/zod/v4/locales/lt.js
|
|
7811
7811
|
var capitalizeFirstCharacter = /* @__PURE__ */ __name((text) => {
|
|
7812
7812
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
7813
7813
|
}, "capitalizeFirstCharacter");
|
|
@@ -8014,7 +8014,7 @@ function lt_default() {
|
|
|
8014
8014
|
}
|
|
8015
8015
|
__name(lt_default, "default");
|
|
8016
8016
|
|
|
8017
|
-
// ../../../node_modules
|
|
8017
|
+
// ../../../node_modules/zod/v4/locales/mk.js
|
|
8018
8018
|
var error29 = /* @__PURE__ */ __name(() => {
|
|
8019
8019
|
const Sizable = {
|
|
8020
8020
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -8126,7 +8126,7 @@ function mk_default() {
|
|
|
8126
8126
|
}
|
|
8127
8127
|
__name(mk_default, "default");
|
|
8128
8128
|
|
|
8129
|
-
// ../../../node_modules
|
|
8129
|
+
// ../../../node_modules/zod/v4/locales/ms.js
|
|
8130
8130
|
var error30 = /* @__PURE__ */ __name(() => {
|
|
8131
8131
|
const Sizable = {
|
|
8132
8132
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -8236,7 +8236,7 @@ function ms_default() {
|
|
|
8236
8236
|
}
|
|
8237
8237
|
__name(ms_default, "default");
|
|
8238
8238
|
|
|
8239
|
-
// ../../../node_modules
|
|
8239
|
+
// ../../../node_modules/zod/v4/locales/nl.js
|
|
8240
8240
|
var error31 = /* @__PURE__ */ __name(() => {
|
|
8241
8241
|
const Sizable = {
|
|
8242
8242
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -8349,7 +8349,7 @@ function nl_default() {
|
|
|
8349
8349
|
}
|
|
8350
8350
|
__name(nl_default, "default");
|
|
8351
8351
|
|
|
8352
|
-
// ../../../node_modules
|
|
8352
|
+
// ../../../node_modules/zod/v4/locales/no.js
|
|
8353
8353
|
var error32 = /* @__PURE__ */ __name(() => {
|
|
8354
8354
|
const Sizable = {
|
|
8355
8355
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -8460,7 +8460,7 @@ function no_default() {
|
|
|
8460
8460
|
}
|
|
8461
8461
|
__name(no_default, "default");
|
|
8462
8462
|
|
|
8463
|
-
// ../../../node_modules
|
|
8463
|
+
// ../../../node_modules/zod/v4/locales/ota.js
|
|
8464
8464
|
var error33 = /* @__PURE__ */ __name(() => {
|
|
8465
8465
|
const Sizable = {
|
|
8466
8466
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -8572,7 +8572,7 @@ function ota_default() {
|
|
|
8572
8572
|
}
|
|
8573
8573
|
__name(ota_default, "default");
|
|
8574
8574
|
|
|
8575
|
-
// ../../../node_modules
|
|
8575
|
+
// ../../../node_modules/zod/v4/locales/ps.js
|
|
8576
8576
|
var error34 = /* @__PURE__ */ __name(() => {
|
|
8577
8577
|
const Sizable = {
|
|
8578
8578
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -8689,7 +8689,7 @@ function ps_default() {
|
|
|
8689
8689
|
}
|
|
8690
8690
|
__name(ps_default, "default");
|
|
8691
8691
|
|
|
8692
|
-
// ../../../node_modules
|
|
8692
|
+
// ../../../node_modules/zod/v4/locales/pl.js
|
|
8693
8693
|
var error35 = /* @__PURE__ */ __name(() => {
|
|
8694
8694
|
const Sizable = {
|
|
8695
8695
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -8801,7 +8801,7 @@ function pl_default() {
|
|
|
8801
8801
|
}
|
|
8802
8802
|
__name(pl_default, "default");
|
|
8803
8803
|
|
|
8804
|
-
// ../../../node_modules
|
|
8804
|
+
// ../../../node_modules/zod/v4/locales/pt.js
|
|
8805
8805
|
var error36 = /* @__PURE__ */ __name(() => {
|
|
8806
8806
|
const Sizable = {
|
|
8807
8807
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -8912,7 +8912,7 @@ function pt_default() {
|
|
|
8912
8912
|
}
|
|
8913
8913
|
__name(pt_default, "default");
|
|
8914
8914
|
|
|
8915
|
-
// ../../../node_modules
|
|
8915
|
+
// ../../../node_modules/zod/v4/locales/ro.js
|
|
8916
8916
|
var error37 = /* @__PURE__ */ __name(() => {
|
|
8917
8917
|
const Sizable = {
|
|
8918
8918
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -9034,7 +9034,7 @@ function ro_default() {
|
|
|
9034
9034
|
}
|
|
9035
9035
|
__name(ro_default, "default");
|
|
9036
9036
|
|
|
9037
|
-
// ../../../node_modules
|
|
9037
|
+
// ../../../node_modules/zod/v4/locales/ru.js
|
|
9038
9038
|
function getRussianPlural(count, one, few, many) {
|
|
9039
9039
|
const absCount = Math.abs(count);
|
|
9040
9040
|
const lastDigit = absCount % 10;
|
|
@@ -9194,7 +9194,7 @@ function ru_default() {
|
|
|
9194
9194
|
}
|
|
9195
9195
|
__name(ru_default, "default");
|
|
9196
9196
|
|
|
9197
|
-
// ../../../node_modules
|
|
9197
|
+
// ../../../node_modules/zod/v4/locales/sl.js
|
|
9198
9198
|
var error39 = /* @__PURE__ */ __name(() => {
|
|
9199
9199
|
const Sizable = {
|
|
9200
9200
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -9306,7 +9306,7 @@ function sl_default() {
|
|
|
9306
9306
|
}
|
|
9307
9307
|
__name(sl_default, "default");
|
|
9308
9308
|
|
|
9309
|
-
// ../../../node_modules
|
|
9309
|
+
// ../../../node_modules/zod/v4/locales/sv.js
|
|
9310
9310
|
var error40 = /* @__PURE__ */ __name(() => {
|
|
9311
9311
|
const Sizable = {
|
|
9312
9312
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -9419,7 +9419,7 @@ function sv_default() {
|
|
|
9419
9419
|
}
|
|
9420
9420
|
__name(sv_default, "default");
|
|
9421
9421
|
|
|
9422
|
-
// ../../../node_modules
|
|
9422
|
+
// ../../../node_modules/zod/v4/locales/ta.js
|
|
9423
9423
|
var error41 = /* @__PURE__ */ __name(() => {
|
|
9424
9424
|
const Sizable = {
|
|
9425
9425
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -9532,7 +9532,7 @@ function ta_default() {
|
|
|
9532
9532
|
}
|
|
9533
9533
|
__name(ta_default, "default");
|
|
9534
9534
|
|
|
9535
|
-
// ../../../node_modules
|
|
9535
|
+
// ../../../node_modules/zod/v4/locales/th.js
|
|
9536
9536
|
var error42 = /* @__PURE__ */ __name(() => {
|
|
9537
9537
|
const Sizable = {
|
|
9538
9538
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -9645,7 +9645,7 @@ function th_default() {
|
|
|
9645
9645
|
}
|
|
9646
9646
|
__name(th_default, "default");
|
|
9647
9647
|
|
|
9648
|
-
// ../../../node_modules
|
|
9648
|
+
// ../../../node_modules/zod/v4/locales/tr.js
|
|
9649
9649
|
var error43 = /* @__PURE__ */ __name(() => {
|
|
9650
9650
|
const Sizable = {
|
|
9651
9651
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -9753,7 +9753,7 @@ function tr_default() {
|
|
|
9753
9753
|
}
|
|
9754
9754
|
__name(tr_default, "default");
|
|
9755
9755
|
|
|
9756
|
-
// ../../../node_modules
|
|
9756
|
+
// ../../../node_modules/zod/v4/locales/uk.js
|
|
9757
9757
|
var error44 = /* @__PURE__ */ __name(() => {
|
|
9758
9758
|
const Sizable = {
|
|
9759
9759
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -9864,13 +9864,13 @@ function uk_default() {
|
|
|
9864
9864
|
}
|
|
9865
9865
|
__name(uk_default, "default");
|
|
9866
9866
|
|
|
9867
|
-
// ../../../node_modules
|
|
9867
|
+
// ../../../node_modules/zod/v4/locales/ua.js
|
|
9868
9868
|
function ua_default() {
|
|
9869
9869
|
return uk_default();
|
|
9870
9870
|
}
|
|
9871
9871
|
__name(ua_default, "default");
|
|
9872
9872
|
|
|
9873
|
-
// ../../../node_modules
|
|
9873
|
+
// ../../../node_modules/zod/v4/locales/ur.js
|
|
9874
9874
|
var error45 = /* @__PURE__ */ __name(() => {
|
|
9875
9875
|
const Sizable = {
|
|
9876
9876
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -9983,7 +9983,7 @@ function ur_default() {
|
|
|
9983
9983
|
}
|
|
9984
9984
|
__name(ur_default, "default");
|
|
9985
9985
|
|
|
9986
|
-
// ../../../node_modules
|
|
9986
|
+
// ../../../node_modules/zod/v4/locales/uz.js
|
|
9987
9987
|
var error46 = /* @__PURE__ */ __name(() => {
|
|
9988
9988
|
const Sizable = {
|
|
9989
9989
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -10096,7 +10096,7 @@ function uz_default() {
|
|
|
10096
10096
|
}
|
|
10097
10097
|
__name(uz_default, "default");
|
|
10098
10098
|
|
|
10099
|
-
// ../../../node_modules
|
|
10099
|
+
// ../../../node_modules/zod/v4/locales/vi.js
|
|
10100
10100
|
var error47 = /* @__PURE__ */ __name(() => {
|
|
10101
10101
|
const Sizable = {
|
|
10102
10102
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -10207,7 +10207,7 @@ function vi_default() {
|
|
|
10207
10207
|
}
|
|
10208
10208
|
__name(vi_default, "default");
|
|
10209
10209
|
|
|
10210
|
-
// ../../../node_modules
|
|
10210
|
+
// ../../../node_modules/zod/v4/locales/zh-CN.js
|
|
10211
10211
|
var error48 = /* @__PURE__ */ __name(() => {
|
|
10212
10212
|
const Sizable = {
|
|
10213
10213
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -10319,7 +10319,7 @@ function zh_CN_default() {
|
|
|
10319
10319
|
}
|
|
10320
10320
|
__name(zh_CN_default, "default");
|
|
10321
10321
|
|
|
10322
|
-
// ../../../node_modules
|
|
10322
|
+
// ../../../node_modules/zod/v4/locales/zh-TW.js
|
|
10323
10323
|
var error49 = /* @__PURE__ */ __name(() => {
|
|
10324
10324
|
const Sizable = {
|
|
10325
10325
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -10429,7 +10429,7 @@ function zh_TW_default() {
|
|
|
10429
10429
|
}
|
|
10430
10430
|
__name(zh_TW_default, "default");
|
|
10431
10431
|
|
|
10432
|
-
// ../../../node_modules
|
|
10432
|
+
// ../../../node_modules/zod/v4/locales/yo.js
|
|
10433
10433
|
var error50 = /* @__PURE__ */ __name(() => {
|
|
10434
10434
|
const Sizable = {
|
|
10435
10435
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -10539,7 +10539,7 @@ function yo_default() {
|
|
|
10539
10539
|
}
|
|
10540
10540
|
__name(yo_default, "default");
|
|
10541
10541
|
|
|
10542
|
-
// ../../../node_modules
|
|
10542
|
+
// ../../../node_modules/zod/v4/core/registries.js
|
|
10543
10543
|
var _a2;
|
|
10544
10544
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
10545
10545
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -10592,7 +10592,7 @@ __name(registry, "registry");
|
|
|
10592
10592
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
10593
10593
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
10594
10594
|
|
|
10595
|
-
// ../../../node_modules
|
|
10595
|
+
// ../../../node_modules/zod/v4/core/api.js
|
|
10596
10596
|
// @__NO_SIDE_EFFECTS__
|
|
10597
10597
|
function _string(Class2, params) {
|
|
10598
10598
|
return new Class2({
|
|
@@ -11745,7 +11745,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
11745
11745
|
}
|
|
11746
11746
|
__name(_stringFormat, "_stringFormat");
|
|
11747
11747
|
|
|
11748
|
-
// ../../../node_modules
|
|
11748
|
+
// ../../../node_modules/zod/v4/core/to-json-schema.js
|
|
11749
11749
|
function initializeContext(params) {
|
|
11750
11750
|
let target = params?.target ?? "draft-2020-12";
|
|
11751
11751
|
if (target === "draft-4")
|
|
@@ -12109,7 +12109,7 @@ var createStandardJSONSchemaMethod = /* @__PURE__ */ __name((schema, io, process
|
|
|
12109
12109
|
return finalize(ctx, schema);
|
|
12110
12110
|
}, "createStandardJSONSchemaMethod");
|
|
12111
12111
|
|
|
12112
|
-
// ../../../node_modules
|
|
12112
|
+
// ../../../node_modules/zod/v4/core/json-schema-processors.js
|
|
12113
12113
|
var formatMap = {
|
|
12114
12114
|
guid: "uuid",
|
|
12115
12115
|
url: "uri",
|
|
@@ -12654,7 +12654,7 @@ function toJSONSchema(input, params) {
|
|
|
12654
12654
|
}
|
|
12655
12655
|
__name(toJSONSchema, "toJSONSchema");
|
|
12656
12656
|
|
|
12657
|
-
// ../../../node_modules
|
|
12657
|
+
// ../../../node_modules/zod/v4/core/json-schema-generator.js
|
|
12658
12658
|
var _JSONSchemaGenerator = class _JSONSchemaGenerator {
|
|
12659
12659
|
/** @deprecated Access via ctx instead */
|
|
12660
12660
|
get metadataRegistry() {
|
|
@@ -12731,10 +12731,10 @@ var _JSONSchemaGenerator = class _JSONSchemaGenerator {
|
|
|
12731
12731
|
__name(_JSONSchemaGenerator, "JSONSchemaGenerator");
|
|
12732
12732
|
var JSONSchemaGenerator = _JSONSchemaGenerator;
|
|
12733
12733
|
|
|
12734
|
-
// ../../../node_modules
|
|
12734
|
+
// ../../../node_modules/zod/v4/core/json-schema.js
|
|
12735
12735
|
var json_schema_exports = {};
|
|
12736
12736
|
|
|
12737
|
-
// ../../../node_modules
|
|
12737
|
+
// ../../../node_modules/zod/v4/classic/schemas.js
|
|
12738
12738
|
var schemas_exports2 = {};
|
|
12739
12739
|
__export(schemas_exports2, {
|
|
12740
12740
|
ZodAny: () => ZodAny,
|
|
@@ -12905,7 +12905,7 @@ __export(schemas_exports2, {
|
|
|
12905
12905
|
xor: () => xor
|
|
12906
12906
|
});
|
|
12907
12907
|
|
|
12908
|
-
// ../../../node_modules
|
|
12908
|
+
// ../../../node_modules/zod/v4/classic/checks.js
|
|
12909
12909
|
var checks_exports2 = {};
|
|
12910
12910
|
__export(checks_exports2, {
|
|
12911
12911
|
endsWith: () => _endsWith,
|
|
@@ -12939,7 +12939,7 @@ __export(checks_exports2, {
|
|
|
12939
12939
|
uppercase: () => _uppercase
|
|
12940
12940
|
});
|
|
12941
12941
|
|
|
12942
|
-
// ../../../node_modules
|
|
12942
|
+
// ../../../node_modules/zod/v4/classic/iso.js
|
|
12943
12943
|
var iso_exports = {};
|
|
12944
12944
|
__export(iso_exports, {
|
|
12945
12945
|
ZodISODate: () => ZodISODate,
|
|
@@ -12984,7 +12984,7 @@ function duration2(params) {
|
|
|
12984
12984
|
}
|
|
12985
12985
|
__name(duration2, "duration");
|
|
12986
12986
|
|
|
12987
|
-
// ../../../node_modules
|
|
12987
|
+
// ../../../node_modules/zod/v4/classic/errors.js
|
|
12988
12988
|
var initializer2 = /* @__PURE__ */ __name((inst, issues) => {
|
|
12989
12989
|
$ZodError.init(inst, issues);
|
|
12990
12990
|
inst.name = "ZodError";
|
|
@@ -13024,7 +13024,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
13024
13024
|
Parent: Error
|
|
13025
13025
|
});
|
|
13026
13026
|
|
|
13027
|
-
// ../../../node_modules
|
|
13027
|
+
// ../../../node_modules/zod/v4/classic/parse.js
|
|
13028
13028
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
13029
13029
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
13030
13030
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -13038,7 +13038,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
13038
13038
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
13039
13039
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
13040
13040
|
|
|
13041
|
-
// ../../../node_modules
|
|
13041
|
+
// ../../../node_modules/zod/v4/classic/schemas.js
|
|
13042
13042
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
13043
13043
|
function _installLazyMethods(inst, group, methods) {
|
|
13044
13044
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -14421,7 +14421,7 @@ function preprocess(fn, schema) {
|
|
|
14421
14421
|
}
|
|
14422
14422
|
__name(preprocess, "preprocess");
|
|
14423
14423
|
|
|
14424
|
-
// ../../../node_modules
|
|
14424
|
+
// ../../../node_modules/zod/v4/classic/compat.js
|
|
14425
14425
|
var ZodIssueCode = {
|
|
14426
14426
|
invalid_type: "invalid_type",
|
|
14427
14427
|
too_big: "too_big",
|
|
@@ -14449,7 +14449,7 @@ var ZodFirstPartyTypeKind;
|
|
|
14449
14449
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
14450
14450
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
14451
14451
|
|
|
14452
|
-
// ../../../node_modules
|
|
14452
|
+
// ../../../node_modules/zod/v4/classic/from-json-schema.js
|
|
14453
14453
|
var z = {
|
|
14454
14454
|
...schemas_exports2,
|
|
14455
14455
|
...checks_exports2,
|
|
@@ -14934,7 +14934,7 @@ function fromJSONSchema(schema, params) {
|
|
|
14934
14934
|
}
|
|
14935
14935
|
__name(fromJSONSchema, "fromJSONSchema");
|
|
14936
14936
|
|
|
14937
|
-
// ../../../node_modules
|
|
14937
|
+
// ../../../node_modules/zod/v4/classic/coerce.js
|
|
14938
14938
|
var coerce_exports = {};
|
|
14939
14939
|
__export(coerce_exports, {
|
|
14940
14940
|
bigint: () => bigint3,
|
|
@@ -14964,7 +14964,7 @@ function date4(params) {
|
|
|
14964
14964
|
}
|
|
14965
14965
|
__name(date4, "date");
|
|
14966
14966
|
|
|
14967
|
-
// ../../../node_modules
|
|
14967
|
+
// ../../../node_modules/zod/v4/classic/external.js
|
|
14968
14968
|
config(en_default());
|
|
14969
14969
|
|
|
14970
14970
|
// ../../learn-card-types/dist/types.esm.js
|
|
@@ -16748,7 +16748,8 @@ var RequestLearnerContextEventValidator = external_exports.object({
|
|
|
16748
16748
|
includePersonalData: external_exports.boolean().optional().default(false),
|
|
16749
16749
|
format: external_exports.enum(["prompt", "structured"]).optional().default("prompt"),
|
|
16750
16750
|
instructions: external_exports.string().optional(),
|
|
16751
|
-
detailLevel: external_exports.enum(["compact", "expanded"]).optional().default("compact")
|
|
16751
|
+
detailLevel: external_exports.enum(["compact", "expanded"]).optional().default("compact"),
|
|
16752
|
+
waitForSync: external_exports.boolean().optional().default(false)
|
|
16752
16753
|
});
|
|
16753
16754
|
var SummaryCredentialKeywordValidator = external_exports.object({
|
|
16754
16755
|
occupations: external_exports.array(external_exports.string()).nullable(),
|
|
@@ -16924,7 +16925,7 @@ import {
|
|
|
16924
16925
|
resolveStorageReadResult
|
|
16925
16926
|
} from "@learncard/helpers";
|
|
16926
16927
|
|
|
16927
|
-
// ../../../node_modules
|
|
16928
|
+
// ../../../node_modules/mustache/mustache.mjs
|
|
16928
16929
|
var objectToString = Object.prototype.toString;
|
|
16929
16930
|
var isArray = Array.isArray || /* @__PURE__ */ __name(function isArrayPolyfill(object2) {
|
|
16930
16931
|
return objectToString.call(object2) === "[object Array]";
|