@learncard/network-plugin 2.13.5 → 2.13.6
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
|
@@ -29,7 +29,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
29
29
|
// src/plugin.ts
|
|
30
30
|
var import_network_brain_client = require("@learncard/network-brain-client");
|
|
31
31
|
|
|
32
|
-
// ../../../node_modules
|
|
32
|
+
// ../../../node_modules/zod/v4/classic/external.js
|
|
33
33
|
var external_exports = {};
|
|
34
34
|
__export(external_exports, {
|
|
35
35
|
$brand: () => $brand,
|
|
@@ -272,7 +272,7 @@ __export(external_exports, {
|
|
|
272
272
|
xor: () => xor
|
|
273
273
|
});
|
|
274
274
|
|
|
275
|
-
// ../../../node_modules
|
|
275
|
+
// ../../../node_modules/zod/v4/core/index.js
|
|
276
276
|
var core_exports2 = {};
|
|
277
277
|
__export(core_exports2, {
|
|
278
278
|
$ZodAny: () => $ZodAny,
|
|
@@ -551,7 +551,7 @@ __export(core_exports2, {
|
|
|
551
551
|
version: () => version
|
|
552
552
|
});
|
|
553
553
|
|
|
554
|
-
// ../../../node_modules
|
|
554
|
+
// ../../../node_modules/zod/v4/core/core.js
|
|
555
555
|
var _a;
|
|
556
556
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
557
557
|
status: "aborted"
|
|
@@ -638,7 +638,7 @@ function config(newConfig) {
|
|
|
638
638
|
}
|
|
639
639
|
__name(config, "config");
|
|
640
640
|
|
|
641
|
-
// ../../../node_modules
|
|
641
|
+
// ../../../node_modules/zod/v4/core/util.js
|
|
642
642
|
var util_exports = {};
|
|
643
643
|
__export(util_exports, {
|
|
644
644
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -1391,7 +1391,7 @@ var _Class = class _Class {
|
|
|
1391
1391
|
__name(_Class, "Class");
|
|
1392
1392
|
var Class = _Class;
|
|
1393
1393
|
|
|
1394
|
-
// ../../../node_modules
|
|
1394
|
+
// ../../../node_modules/zod/v4/core/errors.js
|
|
1395
1395
|
var initializer = /* @__PURE__ */ __name((inst, def) => {
|
|
1396
1396
|
inst.name = "$ZodError";
|
|
1397
1397
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -1535,7 +1535,7 @@ function prettifyError(error51) {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
__name(prettifyError, "prettifyError");
|
|
1537
1537
|
|
|
1538
|
-
// ../../../node_modules
|
|
1538
|
+
// ../../../node_modules/zod/v4/core/parse.js
|
|
1539
1539
|
var _parse = /* @__PURE__ */ __name((_Err) => (schema, value, _ctx, _params) => {
|
|
1540
1540
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
1541
1541
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -1623,7 +1623,7 @@ var _safeDecodeAsync = /* @__PURE__ */ __name((_Err) => async (schema, value, _c
|
|
|
1623
1623
|
}, "_safeDecodeAsync");
|
|
1624
1624
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1625
1625
|
|
|
1626
|
-
// ../../../node_modules
|
|
1626
|
+
// ../../../node_modules/zod/v4/core/regexes.js
|
|
1627
1627
|
var regexes_exports = {};
|
|
1628
1628
|
__export(regexes_exports, {
|
|
1629
1629
|
base64: () => base64,
|
|
@@ -1788,7 +1788,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
1788
1788
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
1789
1789
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
1790
1790
|
|
|
1791
|
-
// ../../../node_modules
|
|
1791
|
+
// ../../../node_modules/zod/v4/core/checks.js
|
|
1792
1792
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
1793
1793
|
var _a4;
|
|
1794
1794
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2337,7 +2337,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2337
2337
|
};
|
|
2338
2338
|
});
|
|
2339
2339
|
|
|
2340
|
-
// ../../../node_modules
|
|
2340
|
+
// ../../../node_modules/zod/v4/core/doc.js
|
|
2341
2341
|
var _Doc = class _Doc {
|
|
2342
2342
|
constructor(args = []) {
|
|
2343
2343
|
this.content = [];
|
|
@@ -2375,14 +2375,14 @@ var _Doc = class _Doc {
|
|
|
2375
2375
|
__name(_Doc, "Doc");
|
|
2376
2376
|
var Doc = _Doc;
|
|
2377
2377
|
|
|
2378
|
-
// ../../../node_modules
|
|
2378
|
+
// ../../../node_modules/zod/v4/core/versions.js
|
|
2379
2379
|
var version = {
|
|
2380
2380
|
major: 4,
|
|
2381
2381
|
minor: 4,
|
|
2382
2382
|
patch: 3
|
|
2383
2383
|
};
|
|
2384
2384
|
|
|
2385
|
-
// ../../../node_modules
|
|
2385
|
+
// ../../../node_modules/zod/v4/core/schemas.js
|
|
2386
2386
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2387
2387
|
var _a4;
|
|
2388
2388
|
inst ?? (inst = {});
|
|
@@ -4499,7 +4499,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4499
4499
|
}
|
|
4500
4500
|
__name(handleRefineResult, "handleRefineResult");
|
|
4501
4501
|
|
|
4502
|
-
// ../../../node_modules
|
|
4502
|
+
// ../../../node_modules/zod/v4/locales/index.js
|
|
4503
4503
|
var locales_exports = {};
|
|
4504
4504
|
__export(locales_exports, {
|
|
4505
4505
|
ar: () => ar_default,
|
|
@@ -4556,7 +4556,7 @@ __export(locales_exports, {
|
|
|
4556
4556
|
zhTW: () => zh_TW_default
|
|
4557
4557
|
});
|
|
4558
4558
|
|
|
4559
|
-
// ../../../node_modules
|
|
4559
|
+
// ../../../node_modules/zod/v4/locales/ar.js
|
|
4560
4560
|
var error = /* @__PURE__ */ __name(() => {
|
|
4561
4561
|
const Sizable = {
|
|
4562
4562
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -4665,7 +4665,7 @@ function ar_default() {
|
|
|
4665
4665
|
}
|
|
4666
4666
|
__name(ar_default, "default");
|
|
4667
4667
|
|
|
4668
|
-
// ../../../node_modules
|
|
4668
|
+
// ../../../node_modules/zod/v4/locales/az.js
|
|
4669
4669
|
var error2 = /* @__PURE__ */ __name(() => {
|
|
4670
4670
|
const Sizable = {
|
|
4671
4671
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -4773,7 +4773,7 @@ function az_default() {
|
|
|
4773
4773
|
}
|
|
4774
4774
|
__name(az_default, "default");
|
|
4775
4775
|
|
|
4776
|
-
// ../../../node_modules
|
|
4776
|
+
// ../../../node_modules/zod/v4/locales/be.js
|
|
4777
4777
|
function getBelarusianPlural(count, one, few, many) {
|
|
4778
4778
|
const absCount = Math.abs(count);
|
|
4779
4779
|
const lastDigit = absCount % 10;
|
|
@@ -4933,7 +4933,7 @@ function be_default() {
|
|
|
4933
4933
|
}
|
|
4934
4934
|
__name(be_default, "default");
|
|
4935
4935
|
|
|
4936
|
-
// ../../../node_modules
|
|
4936
|
+
// ../../../node_modules/zod/v4/locales/bg.js
|
|
4937
4937
|
var error4 = /* @__PURE__ */ __name(() => {
|
|
4938
4938
|
const Sizable = {
|
|
4939
4939
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -5056,7 +5056,7 @@ function bg_default() {
|
|
|
5056
5056
|
}
|
|
5057
5057
|
__name(bg_default, "default");
|
|
5058
5058
|
|
|
5059
|
-
// ../../../node_modules
|
|
5059
|
+
// ../../../node_modules/zod/v4/locales/ca.js
|
|
5060
5060
|
var error5 = /* @__PURE__ */ __name(() => {
|
|
5061
5061
|
const Sizable = {
|
|
5062
5062
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -5167,7 +5167,7 @@ function ca_default() {
|
|
|
5167
5167
|
}
|
|
5168
5168
|
__name(ca_default, "default");
|
|
5169
5169
|
|
|
5170
|
-
// ../../../node_modules
|
|
5170
|
+
// ../../../node_modules/zod/v4/locales/cs.js
|
|
5171
5171
|
var error6 = /* @__PURE__ */ __name(() => {
|
|
5172
5172
|
const Sizable = {
|
|
5173
5173
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -5281,7 +5281,7 @@ function cs_default() {
|
|
|
5281
5281
|
}
|
|
5282
5282
|
__name(cs_default, "default");
|
|
5283
5283
|
|
|
5284
|
-
// ../../../node_modules
|
|
5284
|
+
// ../../../node_modules/zod/v4/locales/da.js
|
|
5285
5285
|
var error7 = /* @__PURE__ */ __name(() => {
|
|
5286
5286
|
const Sizable = {
|
|
5287
5287
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -5399,7 +5399,7 @@ function da_default() {
|
|
|
5399
5399
|
}
|
|
5400
5400
|
__name(da_default, "default");
|
|
5401
5401
|
|
|
5402
|
-
// ../../../node_modules
|
|
5402
|
+
// ../../../node_modules/zod/v4/locales/de.js
|
|
5403
5403
|
var error8 = /* @__PURE__ */ __name(() => {
|
|
5404
5404
|
const Sizable = {
|
|
5405
5405
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -5510,7 +5510,7 @@ function de_default() {
|
|
|
5510
5510
|
}
|
|
5511
5511
|
__name(de_default, "default");
|
|
5512
5512
|
|
|
5513
|
-
// ../../../node_modules
|
|
5513
|
+
// ../../../node_modules/zod/v4/locales/el.js
|
|
5514
5514
|
var error9 = /* @__PURE__ */ __name(() => {
|
|
5515
5515
|
const Sizable = {
|
|
5516
5516
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -5622,7 +5622,7 @@ function el_default() {
|
|
|
5622
5622
|
}
|
|
5623
5623
|
__name(el_default, "default");
|
|
5624
5624
|
|
|
5625
|
-
// ../../../node_modules
|
|
5625
|
+
// ../../../node_modules/zod/v4/locales/en.js
|
|
5626
5626
|
var error10 = /* @__PURE__ */ __name(() => {
|
|
5627
5627
|
const Sizable = {
|
|
5628
5628
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -5737,7 +5737,7 @@ function en_default() {
|
|
|
5737
5737
|
}
|
|
5738
5738
|
__name(en_default, "default");
|
|
5739
5739
|
|
|
5740
|
-
// ../../../node_modules
|
|
5740
|
+
// ../../../node_modules/zod/v4/locales/eo.js
|
|
5741
5741
|
var error11 = /* @__PURE__ */ __name(() => {
|
|
5742
5742
|
const Sizable = {
|
|
5743
5743
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -5849,7 +5849,7 @@ function eo_default() {
|
|
|
5849
5849
|
}
|
|
5850
5850
|
__name(eo_default, "default");
|
|
5851
5851
|
|
|
5852
|
-
// ../../../node_modules
|
|
5852
|
+
// ../../../node_modules/zod/v4/locales/es.js
|
|
5853
5853
|
var error12 = /* @__PURE__ */ __name(() => {
|
|
5854
5854
|
const Sizable = {
|
|
5855
5855
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -5984,7 +5984,7 @@ function es_default() {
|
|
|
5984
5984
|
}
|
|
5985
5985
|
__name(es_default, "default");
|
|
5986
5986
|
|
|
5987
|
-
// ../../../node_modules
|
|
5987
|
+
// ../../../node_modules/zod/v4/locales/fa.js
|
|
5988
5988
|
var error13 = /* @__PURE__ */ __name(() => {
|
|
5989
5989
|
const Sizable = {
|
|
5990
5990
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -6101,7 +6101,7 @@ function fa_default() {
|
|
|
6101
6101
|
}
|
|
6102
6102
|
__name(fa_default, "default");
|
|
6103
6103
|
|
|
6104
|
-
// ../../../node_modules
|
|
6104
|
+
// ../../../node_modules/zod/v4/locales/fi.js
|
|
6105
6105
|
var error14 = /* @__PURE__ */ __name(() => {
|
|
6106
6106
|
const Sizable = {
|
|
6107
6107
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -6216,7 +6216,7 @@ function fi_default() {
|
|
|
6216
6216
|
}
|
|
6217
6217
|
__name(fi_default, "default");
|
|
6218
6218
|
|
|
6219
|
-
// ../../../node_modules
|
|
6219
|
+
// ../../../node_modules/zod/v4/locales/fr.js
|
|
6220
6220
|
var error15 = /* @__PURE__ */ __name(() => {
|
|
6221
6221
|
const Sizable = {
|
|
6222
6222
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -6344,7 +6344,7 @@ function fr_default() {
|
|
|
6344
6344
|
}
|
|
6345
6345
|
__name(fr_default, "default");
|
|
6346
6346
|
|
|
6347
|
-
// ../../../node_modules
|
|
6347
|
+
// ../../../node_modules/zod/v4/locales/fr-CA.js
|
|
6348
6348
|
var error16 = /* @__PURE__ */ __name(() => {
|
|
6349
6349
|
const Sizable = {
|
|
6350
6350
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -6454,7 +6454,7 @@ function fr_CA_default() {
|
|
|
6454
6454
|
}
|
|
6455
6455
|
__name(fr_CA_default, "default");
|
|
6456
6456
|
|
|
6457
|
-
// ../../../node_modules
|
|
6457
|
+
// ../../../node_modules/zod/v4/locales/he.js
|
|
6458
6458
|
var error17 = /* @__PURE__ */ __name(() => {
|
|
6459
6459
|
const TypeNames = {
|
|
6460
6460
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -6650,7 +6650,7 @@ function he_default() {
|
|
|
6650
6650
|
}
|
|
6651
6651
|
__name(he_default, "default");
|
|
6652
6652
|
|
|
6653
|
-
// ../../../node_modules
|
|
6653
|
+
// ../../../node_modules/zod/v4/locales/hr.js
|
|
6654
6654
|
var error18 = /* @__PURE__ */ __name(() => {
|
|
6655
6655
|
const Sizable = {
|
|
6656
6656
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -6775,7 +6775,7 @@ function hr_default() {
|
|
|
6775
6775
|
}
|
|
6776
6776
|
__name(hr_default, "default");
|
|
6777
6777
|
|
|
6778
|
-
// ../../../node_modules
|
|
6778
|
+
// ../../../node_modules/zod/v4/locales/hu.js
|
|
6779
6779
|
var error19 = /* @__PURE__ */ __name(() => {
|
|
6780
6780
|
const Sizable = {
|
|
6781
6781
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -6886,7 +6886,7 @@ function hu_default() {
|
|
|
6886
6886
|
}
|
|
6887
6887
|
__name(hu_default, "default");
|
|
6888
6888
|
|
|
6889
|
-
// ../../../node_modules
|
|
6889
|
+
// ../../../node_modules/zod/v4/locales/hy.js
|
|
6890
6890
|
function getArmenianPlural(count, one, many) {
|
|
6891
6891
|
return Math.abs(count) === 1 ? one : many;
|
|
6892
6892
|
}
|
|
@@ -7038,7 +7038,7 @@ function hy_default() {
|
|
|
7038
7038
|
}
|
|
7039
7039
|
__name(hy_default, "default");
|
|
7040
7040
|
|
|
7041
|
-
// ../../../node_modules
|
|
7041
|
+
// ../../../node_modules/zod/v4/locales/id.js
|
|
7042
7042
|
var error21 = /* @__PURE__ */ __name(() => {
|
|
7043
7043
|
const Sizable = {
|
|
7044
7044
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -7147,7 +7147,7 @@ function id_default() {
|
|
|
7147
7147
|
}
|
|
7148
7148
|
__name(id_default, "default");
|
|
7149
7149
|
|
|
7150
|
-
// ../../../node_modules
|
|
7150
|
+
// ../../../node_modules/zod/v4/locales/is.js
|
|
7151
7151
|
var error22 = /* @__PURE__ */ __name(() => {
|
|
7152
7152
|
const Sizable = {
|
|
7153
7153
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -7259,7 +7259,7 @@ function is_default() {
|
|
|
7259
7259
|
}
|
|
7260
7260
|
__name(is_default, "default");
|
|
7261
7261
|
|
|
7262
|
-
// ../../../node_modules
|
|
7262
|
+
// ../../../node_modules/zod/v4/locales/it.js
|
|
7263
7263
|
var error23 = /* @__PURE__ */ __name(() => {
|
|
7264
7264
|
const Sizable = {
|
|
7265
7265
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -7370,7 +7370,7 @@ function it_default() {
|
|
|
7370
7370
|
}
|
|
7371
7371
|
__name(it_default, "default");
|
|
7372
7372
|
|
|
7373
|
-
// ../../../node_modules
|
|
7373
|
+
// ../../../node_modules/zod/v4/locales/ja.js
|
|
7374
7374
|
var error24 = /* @__PURE__ */ __name(() => {
|
|
7375
7375
|
const Sizable = {
|
|
7376
7376
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -7480,7 +7480,7 @@ function ja_default() {
|
|
|
7480
7480
|
}
|
|
7481
7481
|
__name(ja_default, "default");
|
|
7482
7482
|
|
|
7483
|
-
// ../../../node_modules
|
|
7483
|
+
// ../../../node_modules/zod/v4/locales/ka.js
|
|
7484
7484
|
var error25 = /* @__PURE__ */ __name(() => {
|
|
7485
7485
|
const Sizable = {
|
|
7486
7486
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -7595,7 +7595,7 @@ function ka_default() {
|
|
|
7595
7595
|
}
|
|
7596
7596
|
__name(ka_default, "default");
|
|
7597
7597
|
|
|
7598
|
-
// ../../../node_modules
|
|
7598
|
+
// ../../../node_modules/zod/v4/locales/km.js
|
|
7599
7599
|
var error26 = /* @__PURE__ */ __name(() => {
|
|
7600
7600
|
const Sizable = {
|
|
7601
7601
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -7708,13 +7708,13 @@ function km_default() {
|
|
|
7708
7708
|
}
|
|
7709
7709
|
__name(km_default, "default");
|
|
7710
7710
|
|
|
7711
|
-
// ../../../node_modules
|
|
7711
|
+
// ../../../node_modules/zod/v4/locales/kh.js
|
|
7712
7712
|
function kh_default() {
|
|
7713
7713
|
return km_default();
|
|
7714
7714
|
}
|
|
7715
7715
|
__name(kh_default, "default");
|
|
7716
7716
|
|
|
7717
|
-
// ../../../node_modules
|
|
7717
|
+
// ../../../node_modules/zod/v4/locales/ko.js
|
|
7718
7718
|
var error27 = /* @__PURE__ */ __name(() => {
|
|
7719
7719
|
const Sizable = {
|
|
7720
7720
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -7828,7 +7828,7 @@ function ko_default() {
|
|
|
7828
7828
|
}
|
|
7829
7829
|
__name(ko_default, "default");
|
|
7830
7830
|
|
|
7831
|
-
// ../../../node_modules
|
|
7831
|
+
// ../../../node_modules/zod/v4/locales/lt.js
|
|
7832
7832
|
var capitalizeFirstCharacter = /* @__PURE__ */ __name((text) => {
|
|
7833
7833
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
7834
7834
|
}, "capitalizeFirstCharacter");
|
|
@@ -8035,7 +8035,7 @@ function lt_default() {
|
|
|
8035
8035
|
}
|
|
8036
8036
|
__name(lt_default, "default");
|
|
8037
8037
|
|
|
8038
|
-
// ../../../node_modules
|
|
8038
|
+
// ../../../node_modules/zod/v4/locales/mk.js
|
|
8039
8039
|
var error29 = /* @__PURE__ */ __name(() => {
|
|
8040
8040
|
const Sizable = {
|
|
8041
8041
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -8147,7 +8147,7 @@ function mk_default() {
|
|
|
8147
8147
|
}
|
|
8148
8148
|
__name(mk_default, "default");
|
|
8149
8149
|
|
|
8150
|
-
// ../../../node_modules
|
|
8150
|
+
// ../../../node_modules/zod/v4/locales/ms.js
|
|
8151
8151
|
var error30 = /* @__PURE__ */ __name(() => {
|
|
8152
8152
|
const Sizable = {
|
|
8153
8153
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -8257,7 +8257,7 @@ function ms_default() {
|
|
|
8257
8257
|
}
|
|
8258
8258
|
__name(ms_default, "default");
|
|
8259
8259
|
|
|
8260
|
-
// ../../../node_modules
|
|
8260
|
+
// ../../../node_modules/zod/v4/locales/nl.js
|
|
8261
8261
|
var error31 = /* @__PURE__ */ __name(() => {
|
|
8262
8262
|
const Sizable = {
|
|
8263
8263
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -8370,7 +8370,7 @@ function nl_default() {
|
|
|
8370
8370
|
}
|
|
8371
8371
|
__name(nl_default, "default");
|
|
8372
8372
|
|
|
8373
|
-
// ../../../node_modules
|
|
8373
|
+
// ../../../node_modules/zod/v4/locales/no.js
|
|
8374
8374
|
var error32 = /* @__PURE__ */ __name(() => {
|
|
8375
8375
|
const Sizable = {
|
|
8376
8376
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -8481,7 +8481,7 @@ function no_default() {
|
|
|
8481
8481
|
}
|
|
8482
8482
|
__name(no_default, "default");
|
|
8483
8483
|
|
|
8484
|
-
// ../../../node_modules
|
|
8484
|
+
// ../../../node_modules/zod/v4/locales/ota.js
|
|
8485
8485
|
var error33 = /* @__PURE__ */ __name(() => {
|
|
8486
8486
|
const Sizable = {
|
|
8487
8487
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -8593,7 +8593,7 @@ function ota_default() {
|
|
|
8593
8593
|
}
|
|
8594
8594
|
__name(ota_default, "default");
|
|
8595
8595
|
|
|
8596
|
-
// ../../../node_modules
|
|
8596
|
+
// ../../../node_modules/zod/v4/locales/ps.js
|
|
8597
8597
|
var error34 = /* @__PURE__ */ __name(() => {
|
|
8598
8598
|
const Sizable = {
|
|
8599
8599
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -8710,7 +8710,7 @@ function ps_default() {
|
|
|
8710
8710
|
}
|
|
8711
8711
|
__name(ps_default, "default");
|
|
8712
8712
|
|
|
8713
|
-
// ../../../node_modules
|
|
8713
|
+
// ../../../node_modules/zod/v4/locales/pl.js
|
|
8714
8714
|
var error35 = /* @__PURE__ */ __name(() => {
|
|
8715
8715
|
const Sizable = {
|
|
8716
8716
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -8822,7 +8822,7 @@ function pl_default() {
|
|
|
8822
8822
|
}
|
|
8823
8823
|
__name(pl_default, "default");
|
|
8824
8824
|
|
|
8825
|
-
// ../../../node_modules
|
|
8825
|
+
// ../../../node_modules/zod/v4/locales/pt.js
|
|
8826
8826
|
var error36 = /* @__PURE__ */ __name(() => {
|
|
8827
8827
|
const Sizable = {
|
|
8828
8828
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -8933,7 +8933,7 @@ function pt_default() {
|
|
|
8933
8933
|
}
|
|
8934
8934
|
__name(pt_default, "default");
|
|
8935
8935
|
|
|
8936
|
-
// ../../../node_modules
|
|
8936
|
+
// ../../../node_modules/zod/v4/locales/ro.js
|
|
8937
8937
|
var error37 = /* @__PURE__ */ __name(() => {
|
|
8938
8938
|
const Sizable = {
|
|
8939
8939
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -9055,7 +9055,7 @@ function ro_default() {
|
|
|
9055
9055
|
}
|
|
9056
9056
|
__name(ro_default, "default");
|
|
9057
9057
|
|
|
9058
|
-
// ../../../node_modules
|
|
9058
|
+
// ../../../node_modules/zod/v4/locales/ru.js
|
|
9059
9059
|
function getRussianPlural(count, one, few, many) {
|
|
9060
9060
|
const absCount = Math.abs(count);
|
|
9061
9061
|
const lastDigit = absCount % 10;
|
|
@@ -9215,7 +9215,7 @@ function ru_default() {
|
|
|
9215
9215
|
}
|
|
9216
9216
|
__name(ru_default, "default");
|
|
9217
9217
|
|
|
9218
|
-
// ../../../node_modules
|
|
9218
|
+
// ../../../node_modules/zod/v4/locales/sl.js
|
|
9219
9219
|
var error39 = /* @__PURE__ */ __name(() => {
|
|
9220
9220
|
const Sizable = {
|
|
9221
9221
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -9327,7 +9327,7 @@ function sl_default() {
|
|
|
9327
9327
|
}
|
|
9328
9328
|
__name(sl_default, "default");
|
|
9329
9329
|
|
|
9330
|
-
// ../../../node_modules
|
|
9330
|
+
// ../../../node_modules/zod/v4/locales/sv.js
|
|
9331
9331
|
var error40 = /* @__PURE__ */ __name(() => {
|
|
9332
9332
|
const Sizable = {
|
|
9333
9333
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -9440,7 +9440,7 @@ function sv_default() {
|
|
|
9440
9440
|
}
|
|
9441
9441
|
__name(sv_default, "default");
|
|
9442
9442
|
|
|
9443
|
-
// ../../../node_modules
|
|
9443
|
+
// ../../../node_modules/zod/v4/locales/ta.js
|
|
9444
9444
|
var error41 = /* @__PURE__ */ __name(() => {
|
|
9445
9445
|
const Sizable = {
|
|
9446
9446
|
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" },
|
|
@@ -9553,7 +9553,7 @@ function ta_default() {
|
|
|
9553
9553
|
}
|
|
9554
9554
|
__name(ta_default, "default");
|
|
9555
9555
|
|
|
9556
|
-
// ../../../node_modules
|
|
9556
|
+
// ../../../node_modules/zod/v4/locales/th.js
|
|
9557
9557
|
var error42 = /* @__PURE__ */ __name(() => {
|
|
9558
9558
|
const Sizable = {
|
|
9559
9559
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -9666,7 +9666,7 @@ function th_default() {
|
|
|
9666
9666
|
}
|
|
9667
9667
|
__name(th_default, "default");
|
|
9668
9668
|
|
|
9669
|
-
// ../../../node_modules
|
|
9669
|
+
// ../../../node_modules/zod/v4/locales/tr.js
|
|
9670
9670
|
var error43 = /* @__PURE__ */ __name(() => {
|
|
9671
9671
|
const Sizable = {
|
|
9672
9672
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -9774,7 +9774,7 @@ function tr_default() {
|
|
|
9774
9774
|
}
|
|
9775
9775
|
__name(tr_default, "default");
|
|
9776
9776
|
|
|
9777
|
-
// ../../../node_modules
|
|
9777
|
+
// ../../../node_modules/zod/v4/locales/uk.js
|
|
9778
9778
|
var error44 = /* @__PURE__ */ __name(() => {
|
|
9779
9779
|
const Sizable = {
|
|
9780
9780
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -9885,13 +9885,13 @@ function uk_default() {
|
|
|
9885
9885
|
}
|
|
9886
9886
|
__name(uk_default, "default");
|
|
9887
9887
|
|
|
9888
|
-
// ../../../node_modules
|
|
9888
|
+
// ../../../node_modules/zod/v4/locales/ua.js
|
|
9889
9889
|
function ua_default() {
|
|
9890
9890
|
return uk_default();
|
|
9891
9891
|
}
|
|
9892
9892
|
__name(ua_default, "default");
|
|
9893
9893
|
|
|
9894
|
-
// ../../../node_modules
|
|
9894
|
+
// ../../../node_modules/zod/v4/locales/ur.js
|
|
9895
9895
|
var error45 = /* @__PURE__ */ __name(() => {
|
|
9896
9896
|
const Sizable = {
|
|
9897
9897
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -10004,7 +10004,7 @@ function ur_default() {
|
|
|
10004
10004
|
}
|
|
10005
10005
|
__name(ur_default, "default");
|
|
10006
10006
|
|
|
10007
|
-
// ../../../node_modules
|
|
10007
|
+
// ../../../node_modules/zod/v4/locales/uz.js
|
|
10008
10008
|
var error46 = /* @__PURE__ */ __name(() => {
|
|
10009
10009
|
const Sizable = {
|
|
10010
10010
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -10117,7 +10117,7 @@ function uz_default() {
|
|
|
10117
10117
|
}
|
|
10118
10118
|
__name(uz_default, "default");
|
|
10119
10119
|
|
|
10120
|
-
// ../../../node_modules
|
|
10120
|
+
// ../../../node_modules/zod/v4/locales/vi.js
|
|
10121
10121
|
var error47 = /* @__PURE__ */ __name(() => {
|
|
10122
10122
|
const Sizable = {
|
|
10123
10123
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -10228,7 +10228,7 @@ function vi_default() {
|
|
|
10228
10228
|
}
|
|
10229
10229
|
__name(vi_default, "default");
|
|
10230
10230
|
|
|
10231
|
-
// ../../../node_modules
|
|
10231
|
+
// ../../../node_modules/zod/v4/locales/zh-CN.js
|
|
10232
10232
|
var error48 = /* @__PURE__ */ __name(() => {
|
|
10233
10233
|
const Sizable = {
|
|
10234
10234
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -10340,7 +10340,7 @@ function zh_CN_default() {
|
|
|
10340
10340
|
}
|
|
10341
10341
|
__name(zh_CN_default, "default");
|
|
10342
10342
|
|
|
10343
|
-
// ../../../node_modules
|
|
10343
|
+
// ../../../node_modules/zod/v4/locales/zh-TW.js
|
|
10344
10344
|
var error49 = /* @__PURE__ */ __name(() => {
|
|
10345
10345
|
const Sizable = {
|
|
10346
10346
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -10450,7 +10450,7 @@ function zh_TW_default() {
|
|
|
10450
10450
|
}
|
|
10451
10451
|
__name(zh_TW_default, "default");
|
|
10452
10452
|
|
|
10453
|
-
// ../../../node_modules
|
|
10453
|
+
// ../../../node_modules/zod/v4/locales/yo.js
|
|
10454
10454
|
var error50 = /* @__PURE__ */ __name(() => {
|
|
10455
10455
|
const Sizable = {
|
|
10456
10456
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -10560,7 +10560,7 @@ function yo_default() {
|
|
|
10560
10560
|
}
|
|
10561
10561
|
__name(yo_default, "default");
|
|
10562
10562
|
|
|
10563
|
-
// ../../../node_modules
|
|
10563
|
+
// ../../../node_modules/zod/v4/core/registries.js
|
|
10564
10564
|
var _a2;
|
|
10565
10565
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
10566
10566
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -10613,7 +10613,7 @@ __name(registry, "registry");
|
|
|
10613
10613
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
10614
10614
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
10615
10615
|
|
|
10616
|
-
// ../../../node_modules
|
|
10616
|
+
// ../../../node_modules/zod/v4/core/api.js
|
|
10617
10617
|
// @__NO_SIDE_EFFECTS__
|
|
10618
10618
|
function _string(Class2, params) {
|
|
10619
10619
|
return new Class2({
|
|
@@ -11766,7 +11766,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
11766
11766
|
}
|
|
11767
11767
|
__name(_stringFormat, "_stringFormat");
|
|
11768
11768
|
|
|
11769
|
-
// ../../../node_modules
|
|
11769
|
+
// ../../../node_modules/zod/v4/core/to-json-schema.js
|
|
11770
11770
|
function initializeContext(params) {
|
|
11771
11771
|
let target = params?.target ?? "draft-2020-12";
|
|
11772
11772
|
if (target === "draft-4")
|
|
@@ -12130,7 +12130,7 @@ var createStandardJSONSchemaMethod = /* @__PURE__ */ __name((schema, io, process
|
|
|
12130
12130
|
return finalize(ctx, schema);
|
|
12131
12131
|
}, "createStandardJSONSchemaMethod");
|
|
12132
12132
|
|
|
12133
|
-
// ../../../node_modules
|
|
12133
|
+
// ../../../node_modules/zod/v4/core/json-schema-processors.js
|
|
12134
12134
|
var formatMap = {
|
|
12135
12135
|
guid: "uuid",
|
|
12136
12136
|
url: "uri",
|
|
@@ -12675,7 +12675,7 @@ function toJSONSchema(input, params) {
|
|
|
12675
12675
|
}
|
|
12676
12676
|
__name(toJSONSchema, "toJSONSchema");
|
|
12677
12677
|
|
|
12678
|
-
// ../../../node_modules
|
|
12678
|
+
// ../../../node_modules/zod/v4/core/json-schema-generator.js
|
|
12679
12679
|
var _JSONSchemaGenerator = class _JSONSchemaGenerator {
|
|
12680
12680
|
/** @deprecated Access via ctx instead */
|
|
12681
12681
|
get metadataRegistry() {
|
|
@@ -12752,10 +12752,10 @@ var _JSONSchemaGenerator = class _JSONSchemaGenerator {
|
|
|
12752
12752
|
__name(_JSONSchemaGenerator, "JSONSchemaGenerator");
|
|
12753
12753
|
var JSONSchemaGenerator = _JSONSchemaGenerator;
|
|
12754
12754
|
|
|
12755
|
-
// ../../../node_modules
|
|
12755
|
+
// ../../../node_modules/zod/v4/core/json-schema.js
|
|
12756
12756
|
var json_schema_exports = {};
|
|
12757
12757
|
|
|
12758
|
-
// ../../../node_modules
|
|
12758
|
+
// ../../../node_modules/zod/v4/classic/schemas.js
|
|
12759
12759
|
var schemas_exports2 = {};
|
|
12760
12760
|
__export(schemas_exports2, {
|
|
12761
12761
|
ZodAny: () => ZodAny,
|
|
@@ -12926,7 +12926,7 @@ __export(schemas_exports2, {
|
|
|
12926
12926
|
xor: () => xor
|
|
12927
12927
|
});
|
|
12928
12928
|
|
|
12929
|
-
// ../../../node_modules
|
|
12929
|
+
// ../../../node_modules/zod/v4/classic/checks.js
|
|
12930
12930
|
var checks_exports2 = {};
|
|
12931
12931
|
__export(checks_exports2, {
|
|
12932
12932
|
endsWith: () => _endsWith,
|
|
@@ -12960,7 +12960,7 @@ __export(checks_exports2, {
|
|
|
12960
12960
|
uppercase: () => _uppercase
|
|
12961
12961
|
});
|
|
12962
12962
|
|
|
12963
|
-
// ../../../node_modules
|
|
12963
|
+
// ../../../node_modules/zod/v4/classic/iso.js
|
|
12964
12964
|
var iso_exports = {};
|
|
12965
12965
|
__export(iso_exports, {
|
|
12966
12966
|
ZodISODate: () => ZodISODate,
|
|
@@ -13005,7 +13005,7 @@ function duration2(params) {
|
|
|
13005
13005
|
}
|
|
13006
13006
|
__name(duration2, "duration");
|
|
13007
13007
|
|
|
13008
|
-
// ../../../node_modules
|
|
13008
|
+
// ../../../node_modules/zod/v4/classic/errors.js
|
|
13009
13009
|
var initializer2 = /* @__PURE__ */ __name((inst, issues) => {
|
|
13010
13010
|
$ZodError.init(inst, issues);
|
|
13011
13011
|
inst.name = "ZodError";
|
|
@@ -13045,7 +13045,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
13045
13045
|
Parent: Error
|
|
13046
13046
|
});
|
|
13047
13047
|
|
|
13048
|
-
// ../../../node_modules
|
|
13048
|
+
// ../../../node_modules/zod/v4/classic/parse.js
|
|
13049
13049
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
13050
13050
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
13051
13051
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -13059,7 +13059,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
13059
13059
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
13060
13060
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
13061
13061
|
|
|
13062
|
-
// ../../../node_modules
|
|
13062
|
+
// ../../../node_modules/zod/v4/classic/schemas.js
|
|
13063
13063
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
13064
13064
|
function _installLazyMethods(inst, group, methods) {
|
|
13065
13065
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -14442,7 +14442,7 @@ function preprocess(fn, schema) {
|
|
|
14442
14442
|
}
|
|
14443
14443
|
__name(preprocess, "preprocess");
|
|
14444
14444
|
|
|
14445
|
-
// ../../../node_modules
|
|
14445
|
+
// ../../../node_modules/zod/v4/classic/compat.js
|
|
14446
14446
|
var ZodIssueCode = {
|
|
14447
14447
|
invalid_type: "invalid_type",
|
|
14448
14448
|
too_big: "too_big",
|
|
@@ -14470,7 +14470,7 @@ var ZodFirstPartyTypeKind;
|
|
|
14470
14470
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
14471
14471
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
14472
14472
|
|
|
14473
|
-
// ../../../node_modules
|
|
14473
|
+
// ../../../node_modules/zod/v4/classic/from-json-schema.js
|
|
14474
14474
|
var z = {
|
|
14475
14475
|
...schemas_exports2,
|
|
14476
14476
|
...checks_exports2,
|
|
@@ -14955,7 +14955,7 @@ function fromJSONSchema(schema, params) {
|
|
|
14955
14955
|
}
|
|
14956
14956
|
__name(fromJSONSchema, "fromJSONSchema");
|
|
14957
14957
|
|
|
14958
|
-
// ../../../node_modules
|
|
14958
|
+
// ../../../node_modules/zod/v4/classic/coerce.js
|
|
14959
14959
|
var coerce_exports = {};
|
|
14960
14960
|
__export(coerce_exports, {
|
|
14961
14961
|
bigint: () => bigint3,
|
|
@@ -14985,7 +14985,7 @@ function date4(params) {
|
|
|
14985
14985
|
}
|
|
14986
14986
|
__name(date4, "date");
|
|
14987
14987
|
|
|
14988
|
-
// ../../../node_modules
|
|
14988
|
+
// ../../../node_modules/zod/v4/classic/external.js
|
|
14989
14989
|
config(en_default());
|
|
14990
14990
|
|
|
14991
14991
|
// ../../learn-card-types/dist/types.esm.js
|
|
@@ -16769,7 +16769,8 @@ var RequestLearnerContextEventValidator = external_exports.object({
|
|
|
16769
16769
|
includePersonalData: external_exports.boolean().optional().default(false),
|
|
16770
16770
|
format: external_exports.enum(["prompt", "structured"]).optional().default("prompt"),
|
|
16771
16771
|
instructions: external_exports.string().optional(),
|
|
16772
|
-
detailLevel: external_exports.enum(["compact", "expanded"]).optional().default("compact")
|
|
16772
|
+
detailLevel: external_exports.enum(["compact", "expanded"]).optional().default("compact"),
|
|
16773
|
+
waitForSync: external_exports.boolean().optional().default(false)
|
|
16773
16774
|
});
|
|
16774
16775
|
var SummaryCredentialKeywordValidator = external_exports.object({
|
|
16775
16776
|
occupations: external_exports.array(external_exports.string()).nullable(),
|
|
@@ -16941,7 +16942,7 @@ var AllocateCredentialStatusInputValidator = external_exports.object({
|
|
|
16941
16942
|
// src/plugin.ts
|
|
16942
16943
|
var import_helpers = require("@learncard/helpers");
|
|
16943
16944
|
|
|
16944
|
-
// ../../../node_modules
|
|
16945
|
+
// ../../../node_modules/mustache/mustache.mjs
|
|
16945
16946
|
var objectToString = Object.prototype.toString;
|
|
16946
16947
|
var isArray = Array.isArray || /* @__PURE__ */ __name(function isArrayPolyfill(object2) {
|
|
16947
16948
|
return objectToString.call(object2) === "[object Array]";
|