@learncard/render-method-plugin 3.0.4 → 3.0.5
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/render-method-plugin.cjs.development.cjs +91 -93
- package/dist/render-method-plugin.cjs.development.cjs.map +3 -3
- package/dist/render-method-plugin.cjs.production.min.cjs +2 -2
- package/dist/render-method-plugin.cjs.production.min.cjs.map +4 -4
- package/dist/render-method-plugin.esm.js +91 -93
- package/dist/render-method-plugin.esm.js.map +3 -3
- package/package.json +65 -63
- package/src/index.ts +3 -0
- package/src/plugin.ts +150 -0
- package/src/read.ts +225 -0
- package/src/test/plugin.test.ts +652 -0
- package/src/types.ts +119 -0
- package/LICENSE +0 -21
|
@@ -41,7 +41,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
41
41
|
// src/types.ts
|
|
42
42
|
var RENDER_METHOD_CONTEXT = "https://digitalbazaar.github.io/vc-render-method-context/contexts/v2rc2.jsonld";
|
|
43
43
|
|
|
44
|
-
//
|
|
44
|
+
// ../../learn-card-helpers/node_modules/immer/dist/immer.mjs
|
|
45
45
|
var NOTHING = Symbol.for("immer-nothing");
|
|
46
46
|
var DRAFTABLE = Symbol.for("immer-draftable");
|
|
47
47
|
var DRAFT_STATE = Symbol.for("immer-state");
|
|
@@ -761,7 +761,7 @@ __name(currentImpl, "currentImpl");
|
|
|
761
761
|
var immer = new Immer2();
|
|
762
762
|
var produce = immer.produce;
|
|
763
763
|
|
|
764
|
-
// ../../../node_modules
|
|
764
|
+
// ../../../node_modules/zod/v4/classic/external.js
|
|
765
765
|
var external_exports = {};
|
|
766
766
|
__export(external_exports, {
|
|
767
767
|
$brand: () => $brand,
|
|
@@ -1004,7 +1004,7 @@ __export(external_exports, {
|
|
|
1004
1004
|
xor: () => xor
|
|
1005
1005
|
});
|
|
1006
1006
|
|
|
1007
|
-
// ../../../node_modules
|
|
1007
|
+
// ../../../node_modules/zod/v4/core/index.js
|
|
1008
1008
|
var core_exports2 = {};
|
|
1009
1009
|
__export(core_exports2, {
|
|
1010
1010
|
$ZodAny: () => $ZodAny,
|
|
@@ -1283,7 +1283,7 @@ __export(core_exports2, {
|
|
|
1283
1283
|
version: () => version
|
|
1284
1284
|
});
|
|
1285
1285
|
|
|
1286
|
-
// ../../../node_modules
|
|
1286
|
+
// ../../../node_modules/zod/v4/core/core.js
|
|
1287
1287
|
var _a;
|
|
1288
1288
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
1289
1289
|
status: "aborted"
|
|
@@ -1366,7 +1366,7 @@ function config(newConfig) {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
__name(config, "config");
|
|
1368
1368
|
|
|
1369
|
-
// ../../../node_modules
|
|
1369
|
+
// ../../../node_modules/zod/v4/core/util.js
|
|
1370
1370
|
var util_exports = {};
|
|
1371
1371
|
__export(util_exports, {
|
|
1372
1372
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -2117,7 +2117,7 @@ var Class = class {
|
|
|
2117
2117
|
};
|
|
2118
2118
|
__name(Class, "Class");
|
|
2119
2119
|
|
|
2120
|
-
// ../../../node_modules
|
|
2120
|
+
// ../../../node_modules/zod/v4/core/errors.js
|
|
2121
2121
|
var initializer = /* @__PURE__ */ __name((inst, def) => {
|
|
2122
2122
|
inst.name = "$ZodError";
|
|
2123
2123
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -2261,7 +2261,7 @@ function prettifyError(error51) {
|
|
|
2261
2261
|
}
|
|
2262
2262
|
__name(prettifyError, "prettifyError");
|
|
2263
2263
|
|
|
2264
|
-
// ../../../node_modules
|
|
2264
|
+
// ../../../node_modules/zod/v4/core/parse.js
|
|
2265
2265
|
var _parse = /* @__PURE__ */ __name((_Err) => (schema, value, _ctx, _params) => {
|
|
2266
2266
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
2267
2267
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -2349,7 +2349,7 @@ var _safeDecodeAsync = /* @__PURE__ */ __name((_Err) => async (schema, value, _c
|
|
|
2349
2349
|
}, "_safeDecodeAsync");
|
|
2350
2350
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
2351
2351
|
|
|
2352
|
-
// ../../../node_modules
|
|
2352
|
+
// ../../../node_modules/zod/v4/core/regexes.js
|
|
2353
2353
|
var regexes_exports = {};
|
|
2354
2354
|
__export(regexes_exports, {
|
|
2355
2355
|
base64: () => base64,
|
|
@@ -2514,7 +2514,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2514
2514
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2515
2515
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2516
2516
|
|
|
2517
|
-
// ../../../node_modules
|
|
2517
|
+
// ../../../node_modules/zod/v4/core/checks.js
|
|
2518
2518
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2519
2519
|
var _a4;
|
|
2520
2520
|
inst._zod ?? (inst._zod = {});
|
|
@@ -3063,7 +3063,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
3063
3063
|
};
|
|
3064
3064
|
});
|
|
3065
3065
|
|
|
3066
|
-
// ../../../node_modules
|
|
3066
|
+
// ../../../node_modules/zod/v4/core/doc.js
|
|
3067
3067
|
var Doc = class {
|
|
3068
3068
|
constructor(args = []) {
|
|
3069
3069
|
this.content = [];
|
|
@@ -3100,14 +3100,14 @@ var Doc = class {
|
|
|
3100
3100
|
};
|
|
3101
3101
|
__name(Doc, "Doc");
|
|
3102
3102
|
|
|
3103
|
-
// ../../../node_modules
|
|
3103
|
+
// ../../../node_modules/zod/v4/core/versions.js
|
|
3104
3104
|
var version = {
|
|
3105
3105
|
major: 4,
|
|
3106
3106
|
minor: 4,
|
|
3107
3107
|
patch: 3
|
|
3108
3108
|
};
|
|
3109
3109
|
|
|
3110
|
-
// ../../../node_modules
|
|
3110
|
+
// ../../../node_modules/zod/v4/core/schemas.js
|
|
3111
3111
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
3112
3112
|
var _a4;
|
|
3113
3113
|
inst ?? (inst = {});
|
|
@@ -5221,7 +5221,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
5221
5221
|
}
|
|
5222
5222
|
__name(handleRefineResult, "handleRefineResult");
|
|
5223
5223
|
|
|
5224
|
-
// ../../../node_modules
|
|
5224
|
+
// ../../../node_modules/zod/v4/locales/index.js
|
|
5225
5225
|
var locales_exports = {};
|
|
5226
5226
|
__export(locales_exports, {
|
|
5227
5227
|
ar: () => ar_default,
|
|
@@ -5278,7 +5278,7 @@ __export(locales_exports, {
|
|
|
5278
5278
|
zhTW: () => zh_TW_default
|
|
5279
5279
|
});
|
|
5280
5280
|
|
|
5281
|
-
// ../../../node_modules
|
|
5281
|
+
// ../../../node_modules/zod/v4/locales/ar.js
|
|
5282
5282
|
var error = /* @__PURE__ */ __name(() => {
|
|
5283
5283
|
const Sizable = {
|
|
5284
5284
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -5387,7 +5387,7 @@ function ar_default() {
|
|
|
5387
5387
|
}
|
|
5388
5388
|
__name(ar_default, "default");
|
|
5389
5389
|
|
|
5390
|
-
// ../../../node_modules
|
|
5390
|
+
// ../../../node_modules/zod/v4/locales/az.js
|
|
5391
5391
|
var error2 = /* @__PURE__ */ __name(() => {
|
|
5392
5392
|
const Sizable = {
|
|
5393
5393
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -5495,7 +5495,7 @@ function az_default() {
|
|
|
5495
5495
|
}
|
|
5496
5496
|
__name(az_default, "default");
|
|
5497
5497
|
|
|
5498
|
-
// ../../../node_modules
|
|
5498
|
+
// ../../../node_modules/zod/v4/locales/be.js
|
|
5499
5499
|
function getBelarusianPlural(count, one, few, many) {
|
|
5500
5500
|
const absCount = Math.abs(count);
|
|
5501
5501
|
const lastDigit = absCount % 10;
|
|
@@ -5655,7 +5655,7 @@ function be_default() {
|
|
|
5655
5655
|
}
|
|
5656
5656
|
__name(be_default, "default");
|
|
5657
5657
|
|
|
5658
|
-
// ../../../node_modules
|
|
5658
|
+
// ../../../node_modules/zod/v4/locales/bg.js
|
|
5659
5659
|
var error4 = /* @__PURE__ */ __name(() => {
|
|
5660
5660
|
const Sizable = {
|
|
5661
5661
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -5778,7 +5778,7 @@ function bg_default() {
|
|
|
5778
5778
|
}
|
|
5779
5779
|
__name(bg_default, "default");
|
|
5780
5780
|
|
|
5781
|
-
// ../../../node_modules
|
|
5781
|
+
// ../../../node_modules/zod/v4/locales/ca.js
|
|
5782
5782
|
var error5 = /* @__PURE__ */ __name(() => {
|
|
5783
5783
|
const Sizable = {
|
|
5784
5784
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -5888,7 +5888,7 @@ function ca_default() {
|
|
|
5888
5888
|
}
|
|
5889
5889
|
__name(ca_default, "default");
|
|
5890
5890
|
|
|
5891
|
-
// ../../../node_modules
|
|
5891
|
+
// ../../../node_modules/zod/v4/locales/cs.js
|
|
5892
5892
|
var error6 = /* @__PURE__ */ __name(() => {
|
|
5893
5893
|
const Sizable = {
|
|
5894
5894
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -6002,7 +6002,7 @@ function cs_default() {
|
|
|
6002
6002
|
}
|
|
6003
6003
|
__name(cs_default, "default");
|
|
6004
6004
|
|
|
6005
|
-
// ../../../node_modules
|
|
6005
|
+
// ../../../node_modules/zod/v4/locales/da.js
|
|
6006
6006
|
var error7 = /* @__PURE__ */ __name(() => {
|
|
6007
6007
|
const Sizable = {
|
|
6008
6008
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -6120,7 +6120,7 @@ function da_default() {
|
|
|
6120
6120
|
}
|
|
6121
6121
|
__name(da_default, "default");
|
|
6122
6122
|
|
|
6123
|
-
// ../../../node_modules
|
|
6123
|
+
// ../../../node_modules/zod/v4/locales/de.js
|
|
6124
6124
|
var error8 = /* @__PURE__ */ __name(() => {
|
|
6125
6125
|
const Sizable = {
|
|
6126
6126
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -6231,7 +6231,7 @@ function de_default() {
|
|
|
6231
6231
|
}
|
|
6232
6232
|
__name(de_default, "default");
|
|
6233
6233
|
|
|
6234
|
-
// ../../../node_modules
|
|
6234
|
+
// ../../../node_modules/zod/v4/locales/el.js
|
|
6235
6235
|
var error9 = /* @__PURE__ */ __name(() => {
|
|
6236
6236
|
const Sizable = {
|
|
6237
6237
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -6343,7 +6343,7 @@ function el_default() {
|
|
|
6343
6343
|
}
|
|
6344
6344
|
__name(el_default, "default");
|
|
6345
6345
|
|
|
6346
|
-
// ../../../node_modules
|
|
6346
|
+
// ../../../node_modules/zod/v4/locales/en.js
|
|
6347
6347
|
var error10 = /* @__PURE__ */ __name(() => {
|
|
6348
6348
|
const Sizable = {
|
|
6349
6349
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -6456,7 +6456,7 @@ function en_default() {
|
|
|
6456
6456
|
}
|
|
6457
6457
|
__name(en_default, "default");
|
|
6458
6458
|
|
|
6459
|
-
// ../../../node_modules
|
|
6459
|
+
// ../../../node_modules/zod/v4/locales/eo.js
|
|
6460
6460
|
var error11 = /* @__PURE__ */ __name(() => {
|
|
6461
6461
|
const Sizable = {
|
|
6462
6462
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -6568,7 +6568,7 @@ function eo_default() {
|
|
|
6568
6568
|
}
|
|
6569
6569
|
__name(eo_default, "default");
|
|
6570
6570
|
|
|
6571
|
-
// ../../../node_modules
|
|
6571
|
+
// ../../../node_modules/zod/v4/locales/es.js
|
|
6572
6572
|
var error12 = /* @__PURE__ */ __name(() => {
|
|
6573
6573
|
const Sizable = {
|
|
6574
6574
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -6703,7 +6703,7 @@ function es_default() {
|
|
|
6703
6703
|
}
|
|
6704
6704
|
__name(es_default, "default");
|
|
6705
6705
|
|
|
6706
|
-
// ../../../node_modules
|
|
6706
|
+
// ../../../node_modules/zod/v4/locales/fa.js
|
|
6707
6707
|
var error13 = /* @__PURE__ */ __name(() => {
|
|
6708
6708
|
const Sizable = {
|
|
6709
6709
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -6820,7 +6820,7 @@ function fa_default() {
|
|
|
6820
6820
|
}
|
|
6821
6821
|
__name(fa_default, "default");
|
|
6822
6822
|
|
|
6823
|
-
// ../../../node_modules
|
|
6823
|
+
// ../../../node_modules/zod/v4/locales/fi.js
|
|
6824
6824
|
var error14 = /* @__PURE__ */ __name(() => {
|
|
6825
6825
|
const Sizable = {
|
|
6826
6826
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -6935,7 +6935,7 @@ function fi_default() {
|
|
|
6935
6935
|
}
|
|
6936
6936
|
__name(fi_default, "default");
|
|
6937
6937
|
|
|
6938
|
-
// ../../../node_modules
|
|
6938
|
+
// ../../../node_modules/zod/v4/locales/fr.js
|
|
6939
6939
|
var error15 = /* @__PURE__ */ __name(() => {
|
|
6940
6940
|
const Sizable = {
|
|
6941
6941
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7063,7 +7063,7 @@ function fr_default() {
|
|
|
7063
7063
|
}
|
|
7064
7064
|
__name(fr_default, "default");
|
|
7065
7065
|
|
|
7066
|
-
// ../../../node_modules
|
|
7066
|
+
// ../../../node_modules/zod/v4/locales/fr-CA.js
|
|
7067
7067
|
var error16 = /* @__PURE__ */ __name(() => {
|
|
7068
7068
|
const Sizable = {
|
|
7069
7069
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7173,7 +7173,7 @@ function fr_CA_default() {
|
|
|
7173
7173
|
}
|
|
7174
7174
|
__name(fr_CA_default, "default");
|
|
7175
7175
|
|
|
7176
|
-
// ../../../node_modules
|
|
7176
|
+
// ../../../node_modules/zod/v4/locales/he.js
|
|
7177
7177
|
var error17 = /* @__PURE__ */ __name(() => {
|
|
7178
7178
|
const TypeNames = {
|
|
7179
7179
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -7368,7 +7368,7 @@ function he_default() {
|
|
|
7368
7368
|
}
|
|
7369
7369
|
__name(he_default, "default");
|
|
7370
7370
|
|
|
7371
|
-
// ../../../node_modules
|
|
7371
|
+
// ../../../node_modules/zod/v4/locales/hr.js
|
|
7372
7372
|
var error18 = /* @__PURE__ */ __name(() => {
|
|
7373
7373
|
const Sizable = {
|
|
7374
7374
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -7493,7 +7493,7 @@ function hr_default() {
|
|
|
7493
7493
|
}
|
|
7494
7494
|
__name(hr_default, "default");
|
|
7495
7495
|
|
|
7496
|
-
// ../../../node_modules
|
|
7496
|
+
// ../../../node_modules/zod/v4/locales/hu.js
|
|
7497
7497
|
var error19 = /* @__PURE__ */ __name(() => {
|
|
7498
7498
|
const Sizable = {
|
|
7499
7499
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -7604,7 +7604,7 @@ function hu_default() {
|
|
|
7604
7604
|
}
|
|
7605
7605
|
__name(hu_default, "default");
|
|
7606
7606
|
|
|
7607
|
-
// ../../../node_modules
|
|
7607
|
+
// ../../../node_modules/zod/v4/locales/hy.js
|
|
7608
7608
|
function getArmenianPlural(count, one, many) {
|
|
7609
7609
|
return Math.abs(count) === 1 ? one : many;
|
|
7610
7610
|
}
|
|
@@ -7756,7 +7756,7 @@ function hy_default() {
|
|
|
7756
7756
|
}
|
|
7757
7757
|
__name(hy_default, "default");
|
|
7758
7758
|
|
|
7759
|
-
// ../../../node_modules
|
|
7759
|
+
// ../../../node_modules/zod/v4/locales/id.js
|
|
7760
7760
|
var error21 = /* @__PURE__ */ __name(() => {
|
|
7761
7761
|
const Sizable = {
|
|
7762
7762
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -7865,7 +7865,7 @@ function id_default() {
|
|
|
7865
7865
|
}
|
|
7866
7866
|
__name(id_default, "default");
|
|
7867
7867
|
|
|
7868
|
-
// ../../../node_modules
|
|
7868
|
+
// ../../../node_modules/zod/v4/locales/is.js
|
|
7869
7869
|
var error22 = /* @__PURE__ */ __name(() => {
|
|
7870
7870
|
const Sizable = {
|
|
7871
7871
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -7977,7 +7977,7 @@ function is_default() {
|
|
|
7977
7977
|
}
|
|
7978
7978
|
__name(is_default, "default");
|
|
7979
7979
|
|
|
7980
|
-
// ../../../node_modules
|
|
7980
|
+
// ../../../node_modules/zod/v4/locales/it.js
|
|
7981
7981
|
var error23 = /* @__PURE__ */ __name(() => {
|
|
7982
7982
|
const Sizable = {
|
|
7983
7983
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -8088,7 +8088,7 @@ function it_default() {
|
|
|
8088
8088
|
}
|
|
8089
8089
|
__name(it_default, "default");
|
|
8090
8090
|
|
|
8091
|
-
// ../../../node_modules
|
|
8091
|
+
// ../../../node_modules/zod/v4/locales/ja.js
|
|
8092
8092
|
var error24 = /* @__PURE__ */ __name(() => {
|
|
8093
8093
|
const Sizable = {
|
|
8094
8094
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -8198,7 +8198,7 @@ function ja_default() {
|
|
|
8198
8198
|
}
|
|
8199
8199
|
__name(ja_default, "default");
|
|
8200
8200
|
|
|
8201
|
-
// ../../../node_modules
|
|
8201
|
+
// ../../../node_modules/zod/v4/locales/ka.js
|
|
8202
8202
|
var error25 = /* @__PURE__ */ __name(() => {
|
|
8203
8203
|
const Sizable = {
|
|
8204
8204
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -8313,7 +8313,7 @@ function ka_default() {
|
|
|
8313
8313
|
}
|
|
8314
8314
|
__name(ka_default, "default");
|
|
8315
8315
|
|
|
8316
|
-
// ../../../node_modules
|
|
8316
|
+
// ../../../node_modules/zod/v4/locales/km.js
|
|
8317
8317
|
var error26 = /* @__PURE__ */ __name(() => {
|
|
8318
8318
|
const Sizable = {
|
|
8319
8319
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -8426,13 +8426,13 @@ function km_default() {
|
|
|
8426
8426
|
}
|
|
8427
8427
|
__name(km_default, "default");
|
|
8428
8428
|
|
|
8429
|
-
// ../../../node_modules
|
|
8429
|
+
// ../../../node_modules/zod/v4/locales/kh.js
|
|
8430
8430
|
function kh_default() {
|
|
8431
8431
|
return km_default();
|
|
8432
8432
|
}
|
|
8433
8433
|
__name(kh_default, "default");
|
|
8434
8434
|
|
|
8435
|
-
// ../../../node_modules
|
|
8435
|
+
// ../../../node_modules/zod/v4/locales/ko.js
|
|
8436
8436
|
var error27 = /* @__PURE__ */ __name(() => {
|
|
8437
8437
|
const Sizable = {
|
|
8438
8438
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -8546,7 +8546,7 @@ function ko_default() {
|
|
|
8546
8546
|
}
|
|
8547
8547
|
__name(ko_default, "default");
|
|
8548
8548
|
|
|
8549
|
-
// ../../../node_modules
|
|
8549
|
+
// ../../../node_modules/zod/v4/locales/lt.js
|
|
8550
8550
|
var capitalizeFirstCharacter = /* @__PURE__ */ __name((text) => {
|
|
8551
8551
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
8552
8552
|
}, "capitalizeFirstCharacter");
|
|
@@ -8753,7 +8753,7 @@ function lt_default() {
|
|
|
8753
8753
|
}
|
|
8754
8754
|
__name(lt_default, "default");
|
|
8755
8755
|
|
|
8756
|
-
// ../../../node_modules
|
|
8756
|
+
// ../../../node_modules/zod/v4/locales/mk.js
|
|
8757
8757
|
var error29 = /* @__PURE__ */ __name(() => {
|
|
8758
8758
|
const Sizable = {
|
|
8759
8759
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -8865,7 +8865,7 @@ function mk_default() {
|
|
|
8865
8865
|
}
|
|
8866
8866
|
__name(mk_default, "default");
|
|
8867
8867
|
|
|
8868
|
-
// ../../../node_modules
|
|
8868
|
+
// ../../../node_modules/zod/v4/locales/ms.js
|
|
8869
8869
|
var error30 = /* @__PURE__ */ __name(() => {
|
|
8870
8870
|
const Sizable = {
|
|
8871
8871
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -8975,7 +8975,7 @@ function ms_default() {
|
|
|
8975
8975
|
}
|
|
8976
8976
|
__name(ms_default, "default");
|
|
8977
8977
|
|
|
8978
|
-
// ../../../node_modules
|
|
8978
|
+
// ../../../node_modules/zod/v4/locales/nl.js
|
|
8979
8979
|
var error31 = /* @__PURE__ */ __name(() => {
|
|
8980
8980
|
const Sizable = {
|
|
8981
8981
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -9088,7 +9088,7 @@ function nl_default() {
|
|
|
9088
9088
|
}
|
|
9089
9089
|
__name(nl_default, "default");
|
|
9090
9090
|
|
|
9091
|
-
// ../../../node_modules
|
|
9091
|
+
// ../../../node_modules/zod/v4/locales/no.js
|
|
9092
9092
|
var error32 = /* @__PURE__ */ __name(() => {
|
|
9093
9093
|
const Sizable = {
|
|
9094
9094
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -9199,7 +9199,7 @@ function no_default() {
|
|
|
9199
9199
|
}
|
|
9200
9200
|
__name(no_default, "default");
|
|
9201
9201
|
|
|
9202
|
-
// ../../../node_modules
|
|
9202
|
+
// ../../../node_modules/zod/v4/locales/ota.js
|
|
9203
9203
|
var error33 = /* @__PURE__ */ __name(() => {
|
|
9204
9204
|
const Sizable = {
|
|
9205
9205
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -9311,7 +9311,7 @@ function ota_default() {
|
|
|
9311
9311
|
}
|
|
9312
9312
|
__name(ota_default, "default");
|
|
9313
9313
|
|
|
9314
|
-
// ../../../node_modules
|
|
9314
|
+
// ../../../node_modules/zod/v4/locales/ps.js
|
|
9315
9315
|
var error34 = /* @__PURE__ */ __name(() => {
|
|
9316
9316
|
const Sizable = {
|
|
9317
9317
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -9428,7 +9428,7 @@ function ps_default() {
|
|
|
9428
9428
|
}
|
|
9429
9429
|
__name(ps_default, "default");
|
|
9430
9430
|
|
|
9431
|
-
// ../../../node_modules
|
|
9431
|
+
// ../../../node_modules/zod/v4/locales/pl.js
|
|
9432
9432
|
var error35 = /* @__PURE__ */ __name(() => {
|
|
9433
9433
|
const Sizable = {
|
|
9434
9434
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -9540,7 +9540,7 @@ function pl_default() {
|
|
|
9540
9540
|
}
|
|
9541
9541
|
__name(pl_default, "default");
|
|
9542
9542
|
|
|
9543
|
-
// ../../../node_modules
|
|
9543
|
+
// ../../../node_modules/zod/v4/locales/pt.js
|
|
9544
9544
|
var error36 = /* @__PURE__ */ __name(() => {
|
|
9545
9545
|
const Sizable = {
|
|
9546
9546
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -9651,7 +9651,7 @@ function pt_default() {
|
|
|
9651
9651
|
}
|
|
9652
9652
|
__name(pt_default, "default");
|
|
9653
9653
|
|
|
9654
|
-
// ../../../node_modules
|
|
9654
|
+
// ../../../node_modules/zod/v4/locales/ro.js
|
|
9655
9655
|
var error37 = /* @__PURE__ */ __name(() => {
|
|
9656
9656
|
const Sizable = {
|
|
9657
9657
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -9773,7 +9773,7 @@ function ro_default() {
|
|
|
9773
9773
|
}
|
|
9774
9774
|
__name(ro_default, "default");
|
|
9775
9775
|
|
|
9776
|
-
// ../../../node_modules
|
|
9776
|
+
// ../../../node_modules/zod/v4/locales/ru.js
|
|
9777
9777
|
function getRussianPlural(count, one, few, many) {
|
|
9778
9778
|
const absCount = Math.abs(count);
|
|
9779
9779
|
const lastDigit = absCount % 10;
|
|
@@ -9933,7 +9933,7 @@ function ru_default() {
|
|
|
9933
9933
|
}
|
|
9934
9934
|
__name(ru_default, "default");
|
|
9935
9935
|
|
|
9936
|
-
// ../../../node_modules
|
|
9936
|
+
// ../../../node_modules/zod/v4/locales/sl.js
|
|
9937
9937
|
var error39 = /* @__PURE__ */ __name(() => {
|
|
9938
9938
|
const Sizable = {
|
|
9939
9939
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -10045,7 +10045,7 @@ function sl_default() {
|
|
|
10045
10045
|
}
|
|
10046
10046
|
__name(sl_default, "default");
|
|
10047
10047
|
|
|
10048
|
-
// ../../../node_modules
|
|
10048
|
+
// ../../../node_modules/zod/v4/locales/sv.js
|
|
10049
10049
|
var error40 = /* @__PURE__ */ __name(() => {
|
|
10050
10050
|
const Sizable = {
|
|
10051
10051
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -10158,7 +10158,7 @@ function sv_default() {
|
|
|
10158
10158
|
}
|
|
10159
10159
|
__name(sv_default, "default");
|
|
10160
10160
|
|
|
10161
|
-
// ../../../node_modules
|
|
10161
|
+
// ../../../node_modules/zod/v4/locales/ta.js
|
|
10162
10162
|
var error41 = /* @__PURE__ */ __name(() => {
|
|
10163
10163
|
const Sizable = {
|
|
10164
10164
|
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" },
|
|
@@ -10271,7 +10271,7 @@ function ta_default() {
|
|
|
10271
10271
|
}
|
|
10272
10272
|
__name(ta_default, "default");
|
|
10273
10273
|
|
|
10274
|
-
// ../../../node_modules
|
|
10274
|
+
// ../../../node_modules/zod/v4/locales/th.js
|
|
10275
10275
|
var error42 = /* @__PURE__ */ __name(() => {
|
|
10276
10276
|
const Sizable = {
|
|
10277
10277
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -10384,7 +10384,7 @@ function th_default() {
|
|
|
10384
10384
|
}
|
|
10385
10385
|
__name(th_default, "default");
|
|
10386
10386
|
|
|
10387
|
-
// ../../../node_modules
|
|
10387
|
+
// ../../../node_modules/zod/v4/locales/tr.js
|
|
10388
10388
|
var error43 = /* @__PURE__ */ __name(() => {
|
|
10389
10389
|
const Sizable = {
|
|
10390
10390
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -10492,7 +10492,7 @@ function tr_default() {
|
|
|
10492
10492
|
}
|
|
10493
10493
|
__name(tr_default, "default");
|
|
10494
10494
|
|
|
10495
|
-
// ../../../node_modules
|
|
10495
|
+
// ../../../node_modules/zod/v4/locales/uk.js
|
|
10496
10496
|
var error44 = /* @__PURE__ */ __name(() => {
|
|
10497
10497
|
const Sizable = {
|
|
10498
10498
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -10603,13 +10603,13 @@ function uk_default() {
|
|
|
10603
10603
|
}
|
|
10604
10604
|
__name(uk_default, "default");
|
|
10605
10605
|
|
|
10606
|
-
// ../../../node_modules
|
|
10606
|
+
// ../../../node_modules/zod/v4/locales/ua.js
|
|
10607
10607
|
function ua_default() {
|
|
10608
10608
|
return uk_default();
|
|
10609
10609
|
}
|
|
10610
10610
|
__name(ua_default, "default");
|
|
10611
10611
|
|
|
10612
|
-
// ../../../node_modules
|
|
10612
|
+
// ../../../node_modules/zod/v4/locales/ur.js
|
|
10613
10613
|
var error45 = /* @__PURE__ */ __name(() => {
|
|
10614
10614
|
const Sizable = {
|
|
10615
10615
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -10722,7 +10722,7 @@ function ur_default() {
|
|
|
10722
10722
|
}
|
|
10723
10723
|
__name(ur_default, "default");
|
|
10724
10724
|
|
|
10725
|
-
// ../../../node_modules
|
|
10725
|
+
// ../../../node_modules/zod/v4/locales/uz.js
|
|
10726
10726
|
var error46 = /* @__PURE__ */ __name(() => {
|
|
10727
10727
|
const Sizable = {
|
|
10728
10728
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -10835,7 +10835,7 @@ function uz_default() {
|
|
|
10835
10835
|
}
|
|
10836
10836
|
__name(uz_default, "default");
|
|
10837
10837
|
|
|
10838
|
-
// ../../../node_modules
|
|
10838
|
+
// ../../../node_modules/zod/v4/locales/vi.js
|
|
10839
10839
|
var error47 = /* @__PURE__ */ __name(() => {
|
|
10840
10840
|
const Sizable = {
|
|
10841
10841
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -10946,7 +10946,7 @@ function vi_default() {
|
|
|
10946
10946
|
}
|
|
10947
10947
|
__name(vi_default, "default");
|
|
10948
10948
|
|
|
10949
|
-
// ../../../node_modules
|
|
10949
|
+
// ../../../node_modules/zod/v4/locales/zh-CN.js
|
|
10950
10950
|
var error48 = /* @__PURE__ */ __name(() => {
|
|
10951
10951
|
const Sizable = {
|
|
10952
10952
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -11058,7 +11058,7 @@ function zh_CN_default() {
|
|
|
11058
11058
|
}
|
|
11059
11059
|
__name(zh_CN_default, "default");
|
|
11060
11060
|
|
|
11061
|
-
// ../../../node_modules
|
|
11061
|
+
// ../../../node_modules/zod/v4/locales/zh-TW.js
|
|
11062
11062
|
var error49 = /* @__PURE__ */ __name(() => {
|
|
11063
11063
|
const Sizable = {
|
|
11064
11064
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -11168,7 +11168,7 @@ function zh_TW_default() {
|
|
|
11168
11168
|
}
|
|
11169
11169
|
__name(zh_TW_default, "default");
|
|
11170
11170
|
|
|
11171
|
-
// ../../../node_modules
|
|
11171
|
+
// ../../../node_modules/zod/v4/locales/yo.js
|
|
11172
11172
|
var error50 = /* @__PURE__ */ __name(() => {
|
|
11173
11173
|
const Sizable = {
|
|
11174
11174
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -11278,7 +11278,7 @@ function yo_default() {
|
|
|
11278
11278
|
}
|
|
11279
11279
|
__name(yo_default, "default");
|
|
11280
11280
|
|
|
11281
|
-
// ../../../node_modules
|
|
11281
|
+
// ../../../node_modules/zod/v4/core/registries.js
|
|
11282
11282
|
var _a2;
|
|
11283
11283
|
var $output = Symbol("ZodOutput");
|
|
11284
11284
|
var $input = Symbol("ZodInput");
|
|
@@ -11330,7 +11330,7 @@ __name(registry, "registry");
|
|
|
11330
11330
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
11331
11331
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
11332
11332
|
|
|
11333
|
-
// ../../../node_modules
|
|
11333
|
+
// ../../../node_modules/zod/v4/core/api.js
|
|
11334
11334
|
function _string(Class2, params) {
|
|
11335
11335
|
return new Class2({
|
|
11336
11336
|
type: "string",
|
|
@@ -12367,7 +12367,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
12367
12367
|
}
|
|
12368
12368
|
__name(_stringFormat, "_stringFormat");
|
|
12369
12369
|
|
|
12370
|
-
// ../../../node_modules
|
|
12370
|
+
// ../../../node_modules/zod/v4/core/to-json-schema.js
|
|
12371
12371
|
function initializeContext(params) {
|
|
12372
12372
|
let target = params?.target ?? "draft-2020-12";
|
|
12373
12373
|
if (target === "draft-4")
|
|
@@ -12731,7 +12731,7 @@ var createStandardJSONSchemaMethod = /* @__PURE__ */ __name((schema, io, process
|
|
|
12731
12731
|
return finalize2(ctx, schema);
|
|
12732
12732
|
}, "createStandardJSONSchemaMethod");
|
|
12733
12733
|
|
|
12734
|
-
// ../../../node_modules
|
|
12734
|
+
// ../../../node_modules/zod/v4/core/json-schema-processors.js
|
|
12735
12735
|
var formatMap = {
|
|
12736
12736
|
guid: "uuid",
|
|
12737
12737
|
url: "uri",
|
|
@@ -13275,7 +13275,7 @@ function toJSONSchema(input, params) {
|
|
|
13275
13275
|
}
|
|
13276
13276
|
__name(toJSONSchema, "toJSONSchema");
|
|
13277
13277
|
|
|
13278
|
-
// ../../../node_modules
|
|
13278
|
+
// ../../../node_modules/zod/v4/core/json-schema-generator.js
|
|
13279
13279
|
var JSONSchemaGenerator = class {
|
|
13280
13280
|
get metadataRegistry() {
|
|
13281
13281
|
return this.ctx.metadataRegistry;
|
|
@@ -13336,10 +13336,10 @@ var JSONSchemaGenerator = class {
|
|
|
13336
13336
|
};
|
|
13337
13337
|
__name(JSONSchemaGenerator, "JSONSchemaGenerator");
|
|
13338
13338
|
|
|
13339
|
-
// ../../../node_modules
|
|
13339
|
+
// ../../../node_modules/zod/v4/core/json-schema.js
|
|
13340
13340
|
var json_schema_exports = {};
|
|
13341
13341
|
|
|
13342
|
-
// ../../../node_modules
|
|
13342
|
+
// ../../../node_modules/zod/v4/classic/schemas.js
|
|
13343
13343
|
var schemas_exports2 = {};
|
|
13344
13344
|
__export(schemas_exports2, {
|
|
13345
13345
|
ZodAny: () => ZodAny,
|
|
@@ -13510,7 +13510,7 @@ __export(schemas_exports2, {
|
|
|
13510
13510
|
xor: () => xor
|
|
13511
13511
|
});
|
|
13512
13512
|
|
|
13513
|
-
// ../../../node_modules
|
|
13513
|
+
// ../../../node_modules/zod/v4/classic/checks.js
|
|
13514
13514
|
var checks_exports2 = {};
|
|
13515
13515
|
__export(checks_exports2, {
|
|
13516
13516
|
endsWith: () => _endsWith,
|
|
@@ -13544,7 +13544,7 @@ __export(checks_exports2, {
|
|
|
13544
13544
|
uppercase: () => _uppercase
|
|
13545
13545
|
});
|
|
13546
13546
|
|
|
13547
|
-
// ../../../node_modules
|
|
13547
|
+
// ../../../node_modules/zod/v4/classic/iso.js
|
|
13548
13548
|
var iso_exports = {};
|
|
13549
13549
|
__export(iso_exports, {
|
|
13550
13550
|
ZodISODate: () => ZodISODate,
|
|
@@ -13589,7 +13589,7 @@ function duration2(params) {
|
|
|
13589
13589
|
}
|
|
13590
13590
|
__name(duration2, "duration");
|
|
13591
13591
|
|
|
13592
|
-
// ../../../node_modules
|
|
13592
|
+
// ../../../node_modules/zod/v4/classic/errors.js
|
|
13593
13593
|
var initializer2 = /* @__PURE__ */ __name((inst, issues) => {
|
|
13594
13594
|
$ZodError.init(inst, issues);
|
|
13595
13595
|
inst.name = "ZodError";
|
|
@@ -13624,7 +13624,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
13624
13624
|
Parent: Error
|
|
13625
13625
|
});
|
|
13626
13626
|
|
|
13627
|
-
// ../../../node_modules
|
|
13627
|
+
// ../../../node_modules/zod/v4/classic/parse.js
|
|
13628
13628
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
13629
13629
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
13630
13630
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -13638,7 +13638,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
13638
13638
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
13639
13639
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
13640
13640
|
|
|
13641
|
-
// ../../../node_modules
|
|
13641
|
+
// ../../../node_modules/zod/v4/classic/schemas.js
|
|
13642
13642
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
13643
13643
|
function _installLazyMethods(inst, group, methods) {
|
|
13644
13644
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -15019,7 +15019,7 @@ function preprocess(fn, schema) {
|
|
|
15019
15019
|
}
|
|
15020
15020
|
__name(preprocess, "preprocess");
|
|
15021
15021
|
|
|
15022
|
-
// ../../../node_modules
|
|
15022
|
+
// ../../../node_modules/zod/v4/classic/compat.js
|
|
15023
15023
|
var ZodIssueCode = {
|
|
15024
15024
|
invalid_type: "invalid_type",
|
|
15025
15025
|
too_big: "too_big",
|
|
@@ -15047,7 +15047,7 @@ var ZodFirstPartyTypeKind;
|
|
|
15047
15047
|
(function(ZodFirstPartyTypeKind2) {
|
|
15048
15048
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
15049
15049
|
|
|
15050
|
-
// ../../../node_modules
|
|
15050
|
+
// ../../../node_modules/zod/v4/classic/from-json-schema.js
|
|
15051
15051
|
var z = {
|
|
15052
15052
|
...schemas_exports2,
|
|
15053
15053
|
...checks_exports2,
|
|
@@ -15520,7 +15520,7 @@ function fromJSONSchema(schema, params) {
|
|
|
15520
15520
|
}
|
|
15521
15521
|
__name(fromJSONSchema, "fromJSONSchema");
|
|
15522
15522
|
|
|
15523
|
-
// ../../../node_modules
|
|
15523
|
+
// ../../../node_modules/zod/v4/classic/coerce.js
|
|
15524
15524
|
var coerce_exports = {};
|
|
15525
15525
|
__export(coerce_exports, {
|
|
15526
15526
|
bigint: () => bigint3,
|
|
@@ -15550,14 +15550,14 @@ function date4(params) {
|
|
|
15550
15550
|
}
|
|
15551
15551
|
__name(date4, "date");
|
|
15552
15552
|
|
|
15553
|
-
// ../../../node_modules
|
|
15553
|
+
// ../../../node_modules/zod/v4/classic/external.js
|
|
15554
15554
|
config(en_default());
|
|
15555
15555
|
|
|
15556
|
-
// ../../../node_modules
|
|
15557
|
-
var version2 = "3.
|
|
15556
|
+
// ../../../node_modules/js-base64/base64.mjs
|
|
15557
|
+
var version2 = "3.8.0";
|
|
15558
15558
|
var VERSION = version2;
|
|
15559
15559
|
var _hasBuffer = typeof Buffer === "function";
|
|
15560
|
-
var _TD = typeof TextDecoder === "function" ? new TextDecoder() : void 0;
|
|
15560
|
+
var _TD = typeof TextDecoder === "function" ? new TextDecoder("utf-8", { ignoreBOM: true }) : void 0;
|
|
15561
15561
|
var _TE = typeof TextEncoder === "function" ? new TextEncoder() : void 0;
|
|
15562
15562
|
var b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
15563
15563
|
var b64chs = Array.prototype.slice.call(b64ch);
|
|
@@ -15715,7 +15715,7 @@ var gBase64 = {
|
|
|
15715
15715
|
extendBuiltins
|
|
15716
15716
|
};
|
|
15717
15717
|
|
|
15718
|
-
// ../../../node_modules
|
|
15718
|
+
// ../../../node_modules/@sd-jwt/utils/dist/index.mjs
|
|
15719
15719
|
var base64urlEncode = gBase64.encodeURI;
|
|
15720
15720
|
var base64urlDecode = gBase64.decode;
|
|
15721
15721
|
|
|
@@ -15728,11 +15728,7 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
|
15728
15728
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
15729
15729
|
var __name2 = /* @__PURE__ */ __name((target, value) => __defProp2(target, "name", { value, configurable: true }), "__name");
|
|
15730
15730
|
var __commonJS = /* @__PURE__ */ __name((cb, mod) => /* @__PURE__ */ __name(function __require() {
|
|
15731
|
-
|
|
15732
|
-
return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15733
|
-
} catch (e) {
|
|
15734
|
-
throw mod = 0, e;
|
|
15735
|
-
}
|
|
15731
|
+
return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15736
15732
|
}, "__require"), "__commonJS");
|
|
15737
15733
|
var __export2 = /* @__PURE__ */ __name((target, all) => {
|
|
15738
15734
|
for (var name in all)
|
|
@@ -33290,7 +33286,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
33290
33286
|
includePersonalData: external_exports2.boolean().optional().default(false),
|
|
33291
33287
|
format: external_exports2.enum(["prompt", "structured"]).optional().default("prompt"),
|
|
33292
33288
|
instructions: external_exports2.string().optional(),
|
|
33293
|
-
detailLevel: external_exports2.enum(["compact", "expanded"]).optional().default("compact")
|
|
33289
|
+
detailLevel: external_exports2.enum(["compact", "expanded"]).optional().default("compact"),
|
|
33290
|
+
waitForSync: external_exports2.boolean().optional().default(false)
|
|
33294
33291
|
});
|
|
33295
33292
|
var SummaryCredentialKeywordValidator2 = external_exports2.object({
|
|
33296
33293
|
occupations: external_exports2.array(external_exports2.string()).nullable(),
|
|
@@ -33499,7 +33496,7 @@ var getFileType = /* @__PURE__ */ __name2(async (url2) => {
|
|
|
33499
33496
|
const handle = getFilestackHandle(url2);
|
|
33500
33497
|
try {
|
|
33501
33498
|
const data = await (await fetch(`https://www.filestackapi.com/api/file/${handle}/metadata`)).json();
|
|
33502
|
-
return data.mimetype;
|
|
33499
|
+
return data.mimetype ?? "";
|
|
33503
33500
|
} catch (error51) {
|
|
33504
33501
|
console.error(error51);
|
|
33505
33502
|
return "";
|
|
@@ -35510,7 +35507,8 @@ var RequestLearnerContextEventValidator = external_exports.object({
|
|
|
35510
35507
|
includePersonalData: external_exports.boolean().optional().default(false),
|
|
35511
35508
|
format: external_exports.enum(["prompt", "structured"]).optional().default("prompt"),
|
|
35512
35509
|
instructions: external_exports.string().optional(),
|
|
35513
|
-
detailLevel: external_exports.enum(["compact", "expanded"]).optional().default("compact")
|
|
35510
|
+
detailLevel: external_exports.enum(["compact", "expanded"]).optional().default("compact"),
|
|
35511
|
+
waitForSync: external_exports.boolean().optional().default(false)
|
|
35514
35512
|
});
|
|
35515
35513
|
var SummaryCredentialKeywordValidator = external_exports.object({
|
|
35516
35514
|
occupations: external_exports.array(external_exports.string()).nullable(),
|