@xyo-network/hash 5.1.5 → 5.1.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.
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
|
|
52
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
52
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/core.js
|
|
53
53
|
var NEVER = Object.freeze({
|
|
54
54
|
status: "aborted"
|
|
55
55
|
});
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
return globalConfig;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
118
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/util.js
|
|
119
119
|
var util_exports = {};
|
|
120
120
|
__export(util_exports, {
|
|
121
121
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -749,7 +749,7 @@
|
|
|
749
749
|
}
|
|
750
750
|
};
|
|
751
751
|
|
|
752
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
752
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/errors.js
|
|
753
753
|
var initializer = (inst, def) => {
|
|
754
754
|
inst.name = "$ZodError";
|
|
755
755
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -768,10 +768,10 @@
|
|
|
768
768
|
};
|
|
769
769
|
var $ZodError = $constructor("$ZodError", initializer);
|
|
770
770
|
var $ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
|
|
771
|
-
function flattenError(
|
|
771
|
+
function flattenError(error46, mapper = (issue2) => issue2.message) {
|
|
772
772
|
const fieldErrors = {};
|
|
773
773
|
const formErrors = [];
|
|
774
|
-
for (const sub of
|
|
774
|
+
for (const sub of error46.issues) {
|
|
775
775
|
if (sub.path.length > 0) {
|
|
776
776
|
fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
|
|
777
777
|
fieldErrors[sub.path[0]].push(mapper(sub));
|
|
@@ -781,13 +781,10 @@
|
|
|
781
781
|
}
|
|
782
782
|
return { formErrors, fieldErrors };
|
|
783
783
|
}
|
|
784
|
-
function formatError(
|
|
785
|
-
const mapper = _mapper || function(issue2) {
|
|
786
|
-
return issue2.message;
|
|
787
|
-
};
|
|
784
|
+
function formatError(error46, mapper = (issue2) => issue2.message) {
|
|
788
785
|
const fieldErrors = { _errors: [] };
|
|
789
|
-
const processError = (
|
|
790
|
-
for (const issue2 of
|
|
786
|
+
const processError = (error47) => {
|
|
787
|
+
for (const issue2 of error47.issues) {
|
|
791
788
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
792
789
|
issue2.errors.map((issues) => processError({ issues }));
|
|
793
790
|
} else if (issue2.code === "invalid_key") {
|
|
@@ -814,11 +811,11 @@
|
|
|
814
811
|
}
|
|
815
812
|
}
|
|
816
813
|
};
|
|
817
|
-
processError(
|
|
814
|
+
processError(error46);
|
|
818
815
|
return fieldErrors;
|
|
819
816
|
}
|
|
820
817
|
|
|
821
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
818
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/parse.js
|
|
822
819
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
823
820
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
824
821
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -896,7 +893,7 @@
|
|
|
896
893
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
897
894
|
};
|
|
898
895
|
|
|
899
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
896
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/regexes.js
|
|
900
897
|
var regexes_exports = {};
|
|
901
898
|
__export(regexes_exports, {
|
|
902
899
|
base64: () => base64,
|
|
@@ -1048,7 +1045,7 @@
|
|
|
1048
1045
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
1049
1046
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
1050
1047
|
|
|
1051
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
1048
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/checks.js
|
|
1052
1049
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
1053
1050
|
var _a2;
|
|
1054
1051
|
inst._zod ?? (inst._zod = {});
|
|
@@ -1434,14 +1431,14 @@
|
|
|
1434
1431
|
};
|
|
1435
1432
|
});
|
|
1436
1433
|
|
|
1437
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
1434
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/versions.js
|
|
1438
1435
|
var version = {
|
|
1439
1436
|
major: 4,
|
|
1440
1437
|
minor: 1,
|
|
1441
|
-
patch:
|
|
1438
|
+
patch: 12
|
|
1442
1439
|
};
|
|
1443
1440
|
|
|
1444
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
1441
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/schemas.js
|
|
1445
1442
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
1446
1443
|
var _a2;
|
|
1447
1444
|
inst ?? (inst = {});
|
|
@@ -2335,12 +2332,13 @@
|
|
|
2335
2332
|
}
|
|
2336
2333
|
}
|
|
2337
2334
|
|
|
2338
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
2335
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/index.js
|
|
2339
2336
|
var locales_exports = {};
|
|
2340
2337
|
__export(locales_exports, {
|
|
2341
2338
|
ar: () => ar_default,
|
|
2342
2339
|
az: () => az_default,
|
|
2343
2340
|
be: () => be_default,
|
|
2341
|
+
bg: () => bg_default,
|
|
2344
2342
|
ca: () => ca_default,
|
|
2345
2343
|
cs: () => cs_default,
|
|
2346
2344
|
da: () => da_default,
|
|
@@ -2386,7 +2384,7 @@
|
|
|
2386
2384
|
zhTW: () => zh_TW_default
|
|
2387
2385
|
});
|
|
2388
2386
|
|
|
2389
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
2387
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ar.js
|
|
2390
2388
|
var error = () => {
|
|
2391
2389
|
const Sizable = {
|
|
2392
2390
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -2397,7 +2395,7 @@
|
|
|
2397
2395
|
function getSizing(origin) {
|
|
2398
2396
|
return Sizable[origin] ?? null;
|
|
2399
2397
|
}
|
|
2400
|
-
const
|
|
2398
|
+
const parsedType8 = (data) => {
|
|
2401
2399
|
const t = typeof data;
|
|
2402
2400
|
switch (t) {
|
|
2403
2401
|
case "number": {
|
|
@@ -2450,7 +2448,7 @@
|
|
|
2450
2448
|
return (issue2) => {
|
|
2451
2449
|
switch (issue2.code) {
|
|
2452
2450
|
case "invalid_type":
|
|
2453
|
-
return `\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${issue2.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${
|
|
2451
|
+
return `\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${issue2.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${parsedType8(issue2.input)}`;
|
|
2454
2452
|
case "invalid_value":
|
|
2455
2453
|
if (issue2.values.length === 1)
|
|
2456
2454
|
return `\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -2503,7 +2501,7 @@
|
|
|
2503
2501
|
};
|
|
2504
2502
|
}
|
|
2505
2503
|
|
|
2506
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
2504
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/az.js
|
|
2507
2505
|
var error2 = () => {
|
|
2508
2506
|
const Sizable = {
|
|
2509
2507
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -2514,7 +2512,7 @@
|
|
|
2514
2512
|
function getSizing(origin) {
|
|
2515
2513
|
return Sizable[origin] ?? null;
|
|
2516
2514
|
}
|
|
2517
|
-
const
|
|
2515
|
+
const parsedType8 = (data) => {
|
|
2518
2516
|
const t = typeof data;
|
|
2519
2517
|
switch (t) {
|
|
2520
2518
|
case "number": {
|
|
@@ -2567,7 +2565,7 @@
|
|
|
2567
2565
|
return (issue2) => {
|
|
2568
2566
|
switch (issue2.code) {
|
|
2569
2567
|
case "invalid_type":
|
|
2570
|
-
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${issue2.expected}, daxil olan ${
|
|
2568
|
+
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${issue2.expected}, daxil olan ${parsedType8(issue2.input)}`;
|
|
2571
2569
|
case "invalid_value":
|
|
2572
2570
|
if (issue2.values.length === 1)
|
|
2573
2571
|
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -2619,7 +2617,7 @@
|
|
|
2619
2617
|
};
|
|
2620
2618
|
}
|
|
2621
2619
|
|
|
2622
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
2620
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/be.js
|
|
2623
2621
|
function getBelarusianPlural(count, one, few, many) {
|
|
2624
2622
|
const absCount = Math.abs(count);
|
|
2625
2623
|
const lastDigit = absCount % 10;
|
|
@@ -2673,7 +2671,7 @@
|
|
|
2673
2671
|
function getSizing(origin) {
|
|
2674
2672
|
return Sizable[origin] ?? null;
|
|
2675
2673
|
}
|
|
2676
|
-
const
|
|
2674
|
+
const parsedType8 = (data) => {
|
|
2677
2675
|
const t = typeof data;
|
|
2678
2676
|
switch (t) {
|
|
2679
2677
|
case "number": {
|
|
@@ -2726,7 +2724,7 @@
|
|
|
2726
2724
|
return (issue2) => {
|
|
2727
2725
|
switch (issue2.code) {
|
|
2728
2726
|
case "invalid_type":
|
|
2729
|
-
return `\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${issue2.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${
|
|
2727
|
+
return `\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${issue2.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${parsedType8(issue2.input)}`;
|
|
2730
2728
|
case "invalid_value":
|
|
2731
2729
|
if (issue2.values.length === 1)
|
|
2732
2730
|
return `\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -2784,8 +2782,137 @@
|
|
|
2784
2782
|
};
|
|
2785
2783
|
}
|
|
2786
2784
|
|
|
2787
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
2785
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/bg.js
|
|
2786
|
+
var parsedType = (data) => {
|
|
2787
|
+
const t = typeof data;
|
|
2788
|
+
switch (t) {
|
|
2789
|
+
case "number": {
|
|
2790
|
+
return Number.isNaN(data) ? "NaN" : "\u0447\u0438\u0441\u043B\u043E";
|
|
2791
|
+
}
|
|
2792
|
+
case "object": {
|
|
2793
|
+
if (Array.isArray(data)) {
|
|
2794
|
+
return "\u043C\u0430\u0441\u0438\u0432";
|
|
2795
|
+
}
|
|
2796
|
+
if (data === null) {
|
|
2797
|
+
return "null";
|
|
2798
|
+
}
|
|
2799
|
+
if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
|
|
2800
|
+
return data.constructor.name;
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
}
|
|
2804
|
+
return t;
|
|
2805
|
+
};
|
|
2788
2806
|
var error4 = () => {
|
|
2807
|
+
const Sizable = {
|
|
2808
|
+
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
2809
|
+
file: { unit: "\u0431\u0430\u0439\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
2810
|
+
array: { unit: "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
2811
|
+
set: { unit: "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" }
|
|
2812
|
+
};
|
|
2813
|
+
function getSizing(origin) {
|
|
2814
|
+
return Sizable[origin] ?? null;
|
|
2815
|
+
}
|
|
2816
|
+
const Nouns = {
|
|
2817
|
+
regex: "\u0432\u0445\u043E\u0434",
|
|
2818
|
+
email: "\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",
|
|
2819
|
+
url: "URL",
|
|
2820
|
+
emoji: "\u0435\u043C\u043E\u0434\u0436\u0438",
|
|
2821
|
+
uuid: "UUID",
|
|
2822
|
+
uuidv4: "UUIDv4",
|
|
2823
|
+
uuidv6: "UUIDv6",
|
|
2824
|
+
nanoid: "nanoid",
|
|
2825
|
+
guid: "GUID",
|
|
2826
|
+
cuid: "cuid",
|
|
2827
|
+
cuid2: "cuid2",
|
|
2828
|
+
ulid: "ULID",
|
|
2829
|
+
xid: "XID",
|
|
2830
|
+
ksuid: "KSUID",
|
|
2831
|
+
datetime: "ISO \u0432\u0440\u0435\u043C\u0435",
|
|
2832
|
+
date: "ISO \u0434\u0430\u0442\u0430",
|
|
2833
|
+
time: "ISO \u0432\u0440\u0435\u043C\u0435",
|
|
2834
|
+
duration: "ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",
|
|
2835
|
+
ipv4: "IPv4 \u0430\u0434\u0440\u0435\u0441",
|
|
2836
|
+
ipv6: "IPv6 \u0430\u0434\u0440\u0435\u0441",
|
|
2837
|
+
cidrv4: "IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",
|
|
2838
|
+
cidrv6: "IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",
|
|
2839
|
+
base64: "base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",
|
|
2840
|
+
base64url: "base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",
|
|
2841
|
+
json_string: "JSON \u043D\u0438\u0437",
|
|
2842
|
+
e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
|
|
2843
|
+
jwt: "JWT",
|
|
2844
|
+
template_literal: "\u0432\u0445\u043E\u0434"
|
|
2845
|
+
};
|
|
2846
|
+
return (issue2) => {
|
|
2847
|
+
switch (issue2.code) {
|
|
2848
|
+
case "invalid_type":
|
|
2849
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${issue2.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${parsedType(issue2.input)}`;
|
|
2850
|
+
case "invalid_value":
|
|
2851
|
+
if (issue2.values.length === 1)
|
|
2852
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${stringifyPrimitive(issue2.values[0])}`;
|
|
2853
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${joinValues(issue2.values, "|")}`;
|
|
2854
|
+
case "too_big": {
|
|
2855
|
+
const adj = issue2.inclusive ? "<=" : "<";
|
|
2856
|
+
const sizing = getSizing(issue2.origin);
|
|
2857
|
+
if (sizing)
|
|
2858
|
+
return `\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${issue2.origin ?? "\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`;
|
|
2859
|
+
return `\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${issue2.origin ?? "\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${adj}${issue2.maximum.toString()}`;
|
|
2860
|
+
}
|
|
2861
|
+
case "too_small": {
|
|
2862
|
+
const adj = issue2.inclusive ? ">=" : ">";
|
|
2863
|
+
const sizing = getSizing(issue2.origin);
|
|
2864
|
+
if (sizing) {
|
|
2865
|
+
return `\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${issue2.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
|
|
2866
|
+
}
|
|
2867
|
+
return `\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${issue2.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${adj}${issue2.minimum.toString()}`;
|
|
2868
|
+
}
|
|
2869
|
+
case "invalid_format": {
|
|
2870
|
+
const _issue = issue2;
|
|
2871
|
+
if (_issue.format === "starts_with") {
|
|
2872
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${_issue.prefix}"`;
|
|
2873
|
+
}
|
|
2874
|
+
if (_issue.format === "ends_with")
|
|
2875
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${_issue.suffix}"`;
|
|
2876
|
+
if (_issue.format === "includes")
|
|
2877
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${_issue.includes}"`;
|
|
2878
|
+
if (_issue.format === "regex")
|
|
2879
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${_issue.pattern}`;
|
|
2880
|
+
let invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";
|
|
2881
|
+
if (_issue.format === "emoji")
|
|
2882
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E";
|
|
2883
|
+
if (_issue.format === "datetime")
|
|
2884
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E";
|
|
2885
|
+
if (_issue.format === "date")
|
|
2886
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430";
|
|
2887
|
+
if (_issue.format === "time")
|
|
2888
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E";
|
|
2889
|
+
if (_issue.format === "duration")
|
|
2890
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430";
|
|
2891
|
+
return `${invalid_adj} ${Nouns[_issue.format] ?? issue2.format}`;
|
|
2892
|
+
}
|
|
2893
|
+
case "not_multiple_of":
|
|
2894
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${issue2.divisor}`;
|
|
2895
|
+
case "unrecognized_keys":
|
|
2896
|
+
return `\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${issue2.keys.length > 1 ? "\u0438" : ""} \u043A\u043B\u044E\u0447${issue2.keys.length > 1 ? "\u043E\u0432\u0435" : ""}: ${joinValues(issue2.keys, ", ")}`;
|
|
2897
|
+
case "invalid_key":
|
|
2898
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${issue2.origin}`;
|
|
2899
|
+
case "invalid_union":
|
|
2900
|
+
return "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";
|
|
2901
|
+
case "invalid_element":
|
|
2902
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${issue2.origin}`;
|
|
2903
|
+
default:
|
|
2904
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434`;
|
|
2905
|
+
}
|
|
2906
|
+
};
|
|
2907
|
+
};
|
|
2908
|
+
function bg_default() {
|
|
2909
|
+
return {
|
|
2910
|
+
localeError: error4()
|
|
2911
|
+
};
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ca.js
|
|
2915
|
+
var error5 = () => {
|
|
2789
2916
|
const Sizable = {
|
|
2790
2917
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
2791
2918
|
file: { unit: "bytes", verb: "contenir" },
|
|
@@ -2795,7 +2922,7 @@
|
|
|
2795
2922
|
function getSizing(origin) {
|
|
2796
2923
|
return Sizable[origin] ?? null;
|
|
2797
2924
|
}
|
|
2798
|
-
const
|
|
2925
|
+
const parsedType8 = (data) => {
|
|
2799
2926
|
const t = typeof data;
|
|
2800
2927
|
switch (t) {
|
|
2801
2928
|
case "number": {
|
|
@@ -2848,7 +2975,7 @@
|
|
|
2848
2975
|
return (issue2) => {
|
|
2849
2976
|
switch (issue2.code) {
|
|
2850
2977
|
case "invalid_type":
|
|
2851
|
-
return `Tipus inv\xE0lid: s'esperava ${issue2.expected}, s'ha rebut ${
|
|
2978
|
+
return `Tipus inv\xE0lid: s'esperava ${issue2.expected}, s'ha rebut ${parsedType8(issue2.input)}`;
|
|
2852
2979
|
// return `Tipus invàlid: s'esperava ${issue.expected}, s'ha rebut ${util.getParsedType(issue.input)}`;
|
|
2853
2980
|
case "invalid_value":
|
|
2854
2981
|
if (issue2.values.length === 1)
|
|
@@ -2900,12 +3027,12 @@
|
|
|
2900
3027
|
};
|
|
2901
3028
|
function ca_default() {
|
|
2902
3029
|
return {
|
|
2903
|
-
localeError:
|
|
3030
|
+
localeError: error5()
|
|
2904
3031
|
};
|
|
2905
3032
|
}
|
|
2906
3033
|
|
|
2907
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
2908
|
-
var
|
|
3034
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/cs.js
|
|
3035
|
+
var error6 = () => {
|
|
2909
3036
|
const Sizable = {
|
|
2910
3037
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
2911
3038
|
file: { unit: "bajt\u016F", verb: "m\xEDt" },
|
|
@@ -2915,7 +3042,7 @@
|
|
|
2915
3042
|
function getSizing(origin) {
|
|
2916
3043
|
return Sizable[origin] ?? null;
|
|
2917
3044
|
}
|
|
2918
|
-
const
|
|
3045
|
+
const parsedType8 = (data) => {
|
|
2919
3046
|
const t = typeof data;
|
|
2920
3047
|
switch (t) {
|
|
2921
3048
|
case "number": {
|
|
@@ -2986,7 +3113,7 @@
|
|
|
2986
3113
|
return (issue2) => {
|
|
2987
3114
|
switch (issue2.code) {
|
|
2988
3115
|
case "invalid_type":
|
|
2989
|
-
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${issue2.expected}, obdr\u017Eeno ${
|
|
3116
|
+
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${issue2.expected}, obdr\u017Eeno ${parsedType8(issue2.input)}`;
|
|
2990
3117
|
case "invalid_value":
|
|
2991
3118
|
if (issue2.values.length === 1)
|
|
2992
3119
|
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -3036,12 +3163,12 @@
|
|
|
3036
3163
|
};
|
|
3037
3164
|
function cs_default() {
|
|
3038
3165
|
return {
|
|
3039
|
-
localeError:
|
|
3166
|
+
localeError: error6()
|
|
3040
3167
|
};
|
|
3041
3168
|
}
|
|
3042
3169
|
|
|
3043
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
3044
|
-
var
|
|
3170
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/da.js
|
|
3171
|
+
var error7 = () => {
|
|
3045
3172
|
const Sizable = {
|
|
3046
3173
|
string: { unit: "tegn", verb: "havde" },
|
|
3047
3174
|
file: { unit: "bytes", verb: "havde" },
|
|
@@ -3063,7 +3190,7 @@
|
|
|
3063
3190
|
function getTypeName(type) {
|
|
3064
3191
|
return TypeNames[type] ?? type;
|
|
3065
3192
|
}
|
|
3066
|
-
const
|
|
3193
|
+
const parsedType8 = (data) => {
|
|
3067
3194
|
const t = typeof data;
|
|
3068
3195
|
switch (t) {
|
|
3069
3196
|
case "number": {
|
|
@@ -3117,7 +3244,7 @@
|
|
|
3117
3244
|
return (issue2) => {
|
|
3118
3245
|
switch (issue2.code) {
|
|
3119
3246
|
case "invalid_type":
|
|
3120
|
-
return `Ugyldigt input: forventede ${getTypeName(issue2.expected)}, fik ${getTypeName(
|
|
3247
|
+
return `Ugyldigt input: forventede ${getTypeName(issue2.expected)}, fik ${getTypeName(parsedType8(issue2.input))}`;
|
|
3121
3248
|
case "invalid_value":
|
|
3122
3249
|
if (issue2.values.length === 1)
|
|
3123
3250
|
return `Ugyldig v\xE6rdi: forventede ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -3168,12 +3295,12 @@
|
|
|
3168
3295
|
};
|
|
3169
3296
|
function da_default() {
|
|
3170
3297
|
return {
|
|
3171
|
-
localeError:
|
|
3298
|
+
localeError: error7()
|
|
3172
3299
|
};
|
|
3173
3300
|
}
|
|
3174
3301
|
|
|
3175
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
3176
|
-
var
|
|
3302
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/de.js
|
|
3303
|
+
var error8 = () => {
|
|
3177
3304
|
const Sizable = {
|
|
3178
3305
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
3179
3306
|
file: { unit: "Bytes", verb: "zu haben" },
|
|
@@ -3183,7 +3310,7 @@
|
|
|
3183
3310
|
function getSizing(origin) {
|
|
3184
3311
|
return Sizable[origin] ?? null;
|
|
3185
3312
|
}
|
|
3186
|
-
const
|
|
3313
|
+
const parsedType8 = (data) => {
|
|
3187
3314
|
const t = typeof data;
|
|
3188
3315
|
switch (t) {
|
|
3189
3316
|
case "number": {
|
|
@@ -3236,7 +3363,7 @@
|
|
|
3236
3363
|
return (issue2) => {
|
|
3237
3364
|
switch (issue2.code) {
|
|
3238
3365
|
case "invalid_type":
|
|
3239
|
-
return `Ung\xFCltige Eingabe: erwartet ${issue2.expected}, erhalten ${
|
|
3366
|
+
return `Ung\xFCltige Eingabe: erwartet ${issue2.expected}, erhalten ${parsedType8(issue2.input)}`;
|
|
3240
3367
|
case "invalid_value":
|
|
3241
3368
|
if (issue2.values.length === 1)
|
|
3242
3369
|
return `Ung\xFCltige Eingabe: erwartet ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -3285,12 +3412,12 @@
|
|
|
3285
3412
|
};
|
|
3286
3413
|
function de_default() {
|
|
3287
3414
|
return {
|
|
3288
|
-
localeError:
|
|
3415
|
+
localeError: error8()
|
|
3289
3416
|
};
|
|
3290
3417
|
}
|
|
3291
3418
|
|
|
3292
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
3293
|
-
var
|
|
3419
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/en.js
|
|
3420
|
+
var parsedType2 = (data) => {
|
|
3294
3421
|
const t = typeof data;
|
|
3295
3422
|
switch (t) {
|
|
3296
3423
|
case "number": {
|
|
@@ -3310,7 +3437,7 @@
|
|
|
3310
3437
|
}
|
|
3311
3438
|
return t;
|
|
3312
3439
|
};
|
|
3313
|
-
var
|
|
3440
|
+
var error9 = () => {
|
|
3314
3441
|
const Sizable = {
|
|
3315
3442
|
string: { unit: "characters", verb: "to have" },
|
|
3316
3443
|
file: { unit: "bytes", verb: "to have" },
|
|
@@ -3353,7 +3480,7 @@
|
|
|
3353
3480
|
return (issue2) => {
|
|
3354
3481
|
switch (issue2.code) {
|
|
3355
3482
|
case "invalid_type":
|
|
3356
|
-
return `Invalid input: expected ${issue2.expected}, received ${
|
|
3483
|
+
return `Invalid input: expected ${issue2.expected}, received ${parsedType2(issue2.input)}`;
|
|
3357
3484
|
case "invalid_value":
|
|
3358
3485
|
if (issue2.values.length === 1)
|
|
3359
3486
|
return `Invalid input: expected ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -3403,12 +3530,12 @@
|
|
|
3403
3530
|
};
|
|
3404
3531
|
function en_default() {
|
|
3405
3532
|
return {
|
|
3406
|
-
localeError:
|
|
3533
|
+
localeError: error9()
|
|
3407
3534
|
};
|
|
3408
3535
|
}
|
|
3409
3536
|
|
|
3410
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
3411
|
-
var
|
|
3537
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/eo.js
|
|
3538
|
+
var parsedType3 = (data) => {
|
|
3412
3539
|
const t = typeof data;
|
|
3413
3540
|
switch (t) {
|
|
3414
3541
|
case "number": {
|
|
@@ -3428,7 +3555,7 @@
|
|
|
3428
3555
|
}
|
|
3429
3556
|
return t;
|
|
3430
3557
|
};
|
|
3431
|
-
var
|
|
3558
|
+
var error10 = () => {
|
|
3432
3559
|
const Sizable = {
|
|
3433
3560
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
3434
3561
|
file: { unit: "bajtojn", verb: "havi" },
|
|
@@ -3471,7 +3598,7 @@
|
|
|
3471
3598
|
return (issue2) => {
|
|
3472
3599
|
switch (issue2.code) {
|
|
3473
3600
|
case "invalid_type":
|
|
3474
|
-
return `Nevalida enigo: atendi\u011Dis ${issue2.expected}, ricevi\u011Dis ${
|
|
3601
|
+
return `Nevalida enigo: atendi\u011Dis ${issue2.expected}, ricevi\u011Dis ${parsedType3(issue2.input)}`;
|
|
3475
3602
|
case "invalid_value":
|
|
3476
3603
|
if (issue2.values.length === 1)
|
|
3477
3604
|
return `Nevalida enigo: atendi\u011Dis ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -3520,12 +3647,12 @@
|
|
|
3520
3647
|
};
|
|
3521
3648
|
function eo_default() {
|
|
3522
3649
|
return {
|
|
3523
|
-
localeError:
|
|
3650
|
+
localeError: error10()
|
|
3524
3651
|
};
|
|
3525
3652
|
}
|
|
3526
3653
|
|
|
3527
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
3528
|
-
var
|
|
3654
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/es.js
|
|
3655
|
+
var error11 = () => {
|
|
3529
3656
|
const Sizable = {
|
|
3530
3657
|
string: { unit: "caracteres", verb: "tener" },
|
|
3531
3658
|
file: { unit: "bytes", verb: "tener" },
|
|
@@ -3564,7 +3691,7 @@
|
|
|
3564
3691
|
function getTypeName(type) {
|
|
3565
3692
|
return TypeNames[type] ?? type;
|
|
3566
3693
|
}
|
|
3567
|
-
const
|
|
3694
|
+
const parsedType8 = (data) => {
|
|
3568
3695
|
const t = typeof data;
|
|
3569
3696
|
switch (t) {
|
|
3570
3697
|
case "number": {
|
|
@@ -3618,7 +3745,7 @@
|
|
|
3618
3745
|
return (issue2) => {
|
|
3619
3746
|
switch (issue2.code) {
|
|
3620
3747
|
case "invalid_type":
|
|
3621
|
-
return `Entrada inv\xE1lida: se esperaba ${getTypeName(issue2.expected)}, recibido ${getTypeName(
|
|
3748
|
+
return `Entrada inv\xE1lida: se esperaba ${getTypeName(issue2.expected)}, recibido ${getTypeName(parsedType8(issue2.input))}`;
|
|
3622
3749
|
// return `Entrada inválida: se esperaba ${issue.expected}, recibido ${util.getParsedType(issue.input)}`;
|
|
3623
3750
|
case "invalid_value":
|
|
3624
3751
|
if (issue2.values.length === 1)
|
|
@@ -3670,12 +3797,12 @@
|
|
|
3670
3797
|
};
|
|
3671
3798
|
function es_default() {
|
|
3672
3799
|
return {
|
|
3673
|
-
localeError:
|
|
3800
|
+
localeError: error11()
|
|
3674
3801
|
};
|
|
3675
3802
|
}
|
|
3676
3803
|
|
|
3677
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
3678
|
-
var
|
|
3804
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/fa.js
|
|
3805
|
+
var error12 = () => {
|
|
3679
3806
|
const Sizable = {
|
|
3680
3807
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
3681
3808
|
file: { unit: "\u0628\u0627\u06CC\u062A", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -3685,7 +3812,7 @@
|
|
|
3685
3812
|
function getSizing(origin) {
|
|
3686
3813
|
return Sizable[origin] ?? null;
|
|
3687
3814
|
}
|
|
3688
|
-
const
|
|
3815
|
+
const parsedType8 = (data) => {
|
|
3689
3816
|
const t = typeof data;
|
|
3690
3817
|
switch (t) {
|
|
3691
3818
|
case "number": {
|
|
@@ -3738,7 +3865,7 @@
|
|
|
3738
3865
|
return (issue2) => {
|
|
3739
3866
|
switch (issue2.code) {
|
|
3740
3867
|
case "invalid_type":
|
|
3741
|
-
return `\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${issue2.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${
|
|
3868
|
+
return `\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${issue2.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${parsedType8(issue2.input)} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`;
|
|
3742
3869
|
case "invalid_value":
|
|
3743
3870
|
if (issue2.values.length === 1) {
|
|
3744
3871
|
return `\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${stringifyPrimitive(issue2.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`;
|
|
@@ -3793,12 +3920,12 @@
|
|
|
3793
3920
|
};
|
|
3794
3921
|
function fa_default() {
|
|
3795
3922
|
return {
|
|
3796
|
-
localeError:
|
|
3923
|
+
localeError: error12()
|
|
3797
3924
|
};
|
|
3798
3925
|
}
|
|
3799
3926
|
|
|
3800
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
3801
|
-
var
|
|
3927
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/fi.js
|
|
3928
|
+
var error13 = () => {
|
|
3802
3929
|
const Sizable = {
|
|
3803
3930
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
3804
3931
|
file: { unit: "tavua", subject: "tiedoston" },
|
|
@@ -3812,7 +3939,7 @@
|
|
|
3812
3939
|
function getSizing(origin) {
|
|
3813
3940
|
return Sizable[origin] ?? null;
|
|
3814
3941
|
}
|
|
3815
|
-
const
|
|
3942
|
+
const parsedType8 = (data) => {
|
|
3816
3943
|
const t = typeof data;
|
|
3817
3944
|
switch (t) {
|
|
3818
3945
|
case "number": {
|
|
@@ -3865,7 +3992,7 @@
|
|
|
3865
3992
|
return (issue2) => {
|
|
3866
3993
|
switch (issue2.code) {
|
|
3867
3994
|
case "invalid_type":
|
|
3868
|
-
return `Virheellinen tyyppi: odotettiin ${issue2.expected}, oli ${
|
|
3995
|
+
return `Virheellinen tyyppi: odotettiin ${issue2.expected}, oli ${parsedType8(issue2.input)}`;
|
|
3869
3996
|
case "invalid_value":
|
|
3870
3997
|
if (issue2.values.length === 1)
|
|
3871
3998
|
return `Virheellinen sy\xF6te: t\xE4ytyy olla ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -3916,12 +4043,12 @@
|
|
|
3916
4043
|
};
|
|
3917
4044
|
function fi_default() {
|
|
3918
4045
|
return {
|
|
3919
|
-
localeError:
|
|
4046
|
+
localeError: error13()
|
|
3920
4047
|
};
|
|
3921
4048
|
}
|
|
3922
4049
|
|
|
3923
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
3924
|
-
var
|
|
4050
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/fr.js
|
|
4051
|
+
var error14 = () => {
|
|
3925
4052
|
const Sizable = {
|
|
3926
4053
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
3927
4054
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -3931,7 +4058,7 @@
|
|
|
3931
4058
|
function getSizing(origin) {
|
|
3932
4059
|
return Sizable[origin] ?? null;
|
|
3933
4060
|
}
|
|
3934
|
-
const
|
|
4061
|
+
const parsedType8 = (data) => {
|
|
3935
4062
|
const t = typeof data;
|
|
3936
4063
|
switch (t) {
|
|
3937
4064
|
case "number": {
|
|
@@ -3984,7 +4111,7 @@
|
|
|
3984
4111
|
return (issue2) => {
|
|
3985
4112
|
switch (issue2.code) {
|
|
3986
4113
|
case "invalid_type":
|
|
3987
|
-
return `Entr\xE9e invalide : ${issue2.expected} attendu, ${
|
|
4114
|
+
return `Entr\xE9e invalide : ${issue2.expected} attendu, ${parsedType8(issue2.input)} re\xE7u`;
|
|
3988
4115
|
case "invalid_value":
|
|
3989
4116
|
if (issue2.values.length === 1)
|
|
3990
4117
|
return `Entr\xE9e invalide : ${stringifyPrimitive(issue2.values[0])} attendu`;
|
|
@@ -4033,12 +4160,12 @@
|
|
|
4033
4160
|
};
|
|
4034
4161
|
function fr_default() {
|
|
4035
4162
|
return {
|
|
4036
|
-
localeError:
|
|
4163
|
+
localeError: error14()
|
|
4037
4164
|
};
|
|
4038
4165
|
}
|
|
4039
4166
|
|
|
4040
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
4041
|
-
var
|
|
4167
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/fr-CA.js
|
|
4168
|
+
var error15 = () => {
|
|
4042
4169
|
const Sizable = {
|
|
4043
4170
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
4044
4171
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -4048,7 +4175,7 @@
|
|
|
4048
4175
|
function getSizing(origin) {
|
|
4049
4176
|
return Sizable[origin] ?? null;
|
|
4050
4177
|
}
|
|
4051
|
-
const
|
|
4178
|
+
const parsedType8 = (data) => {
|
|
4052
4179
|
const t = typeof data;
|
|
4053
4180
|
switch (t) {
|
|
4054
4181
|
case "number": {
|
|
@@ -4101,7 +4228,7 @@
|
|
|
4101
4228
|
return (issue2) => {
|
|
4102
4229
|
switch (issue2.code) {
|
|
4103
4230
|
case "invalid_type":
|
|
4104
|
-
return `Entr\xE9e invalide : attendu ${issue2.expected}, re\xE7u ${
|
|
4231
|
+
return `Entr\xE9e invalide : attendu ${issue2.expected}, re\xE7u ${parsedType8(issue2.input)}`;
|
|
4105
4232
|
case "invalid_value":
|
|
4106
4233
|
if (issue2.values.length === 1)
|
|
4107
4234
|
return `Entr\xE9e invalide : attendu ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -4151,12 +4278,12 @@
|
|
|
4151
4278
|
};
|
|
4152
4279
|
function fr_CA_default() {
|
|
4153
4280
|
return {
|
|
4154
|
-
localeError:
|
|
4281
|
+
localeError: error15()
|
|
4155
4282
|
};
|
|
4156
4283
|
}
|
|
4157
4284
|
|
|
4158
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
4159
|
-
var
|
|
4285
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/he.js
|
|
4286
|
+
var error16 = () => {
|
|
4160
4287
|
const Sizable = {
|
|
4161
4288
|
string: { unit: "\u05D0\u05D5\u05EA\u05D9\u05D5\u05EA", verb: "\u05DC\u05DB\u05DC\u05D5\u05DC" },
|
|
4162
4289
|
file: { unit: "\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD", verb: "\u05DC\u05DB\u05DC\u05D5\u05DC" },
|
|
@@ -4166,7 +4293,7 @@
|
|
|
4166
4293
|
function getSizing(origin) {
|
|
4167
4294
|
return Sizable[origin] ?? null;
|
|
4168
4295
|
}
|
|
4169
|
-
const
|
|
4296
|
+
const parsedType8 = (data) => {
|
|
4170
4297
|
const t = typeof data;
|
|
4171
4298
|
switch (t) {
|
|
4172
4299
|
case "number": {
|
|
@@ -4219,7 +4346,7 @@
|
|
|
4219
4346
|
return (issue2) => {
|
|
4220
4347
|
switch (issue2.code) {
|
|
4221
4348
|
case "invalid_type":
|
|
4222
|
-
return `\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${issue2.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${
|
|
4349
|
+
return `\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${issue2.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${parsedType8(issue2.input)}`;
|
|
4223
4350
|
// return `Invalid input: expected ${issue.expected}, received ${util.getParsedType(issue.input)}`;
|
|
4224
4351
|
case "invalid_value":
|
|
4225
4352
|
if (issue2.values.length === 1)
|
|
@@ -4269,12 +4396,12 @@
|
|
|
4269
4396
|
};
|
|
4270
4397
|
function he_default() {
|
|
4271
4398
|
return {
|
|
4272
|
-
localeError:
|
|
4399
|
+
localeError: error16()
|
|
4273
4400
|
};
|
|
4274
4401
|
}
|
|
4275
4402
|
|
|
4276
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
4277
|
-
var
|
|
4403
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/hu.js
|
|
4404
|
+
var error17 = () => {
|
|
4278
4405
|
const Sizable = {
|
|
4279
4406
|
string: { unit: "karakter", verb: "legyen" },
|
|
4280
4407
|
file: { unit: "byte", verb: "legyen" },
|
|
@@ -4284,7 +4411,7 @@
|
|
|
4284
4411
|
function getSizing(origin) {
|
|
4285
4412
|
return Sizable[origin] ?? null;
|
|
4286
4413
|
}
|
|
4287
|
-
const
|
|
4414
|
+
const parsedType8 = (data) => {
|
|
4288
4415
|
const t = typeof data;
|
|
4289
4416
|
switch (t) {
|
|
4290
4417
|
case "number": {
|
|
@@ -4337,7 +4464,7 @@
|
|
|
4337
4464
|
return (issue2) => {
|
|
4338
4465
|
switch (issue2.code) {
|
|
4339
4466
|
case "invalid_type":
|
|
4340
|
-
return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${issue2.expected}, a kapott \xE9rt\xE9k ${
|
|
4467
|
+
return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${issue2.expected}, a kapott \xE9rt\xE9k ${parsedType8(issue2.input)}`;
|
|
4341
4468
|
// return `Invalid input: expected ${issue.expected}, received ${util.getParsedType(issue.input)}`;
|
|
4342
4469
|
case "invalid_value":
|
|
4343
4470
|
if (issue2.values.length === 1)
|
|
@@ -4387,12 +4514,12 @@
|
|
|
4387
4514
|
};
|
|
4388
4515
|
function hu_default() {
|
|
4389
4516
|
return {
|
|
4390
|
-
localeError:
|
|
4517
|
+
localeError: error17()
|
|
4391
4518
|
};
|
|
4392
4519
|
}
|
|
4393
4520
|
|
|
4394
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
4395
|
-
var
|
|
4521
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/id.js
|
|
4522
|
+
var error18 = () => {
|
|
4396
4523
|
const Sizable = {
|
|
4397
4524
|
string: { unit: "karakter", verb: "memiliki" },
|
|
4398
4525
|
file: { unit: "byte", verb: "memiliki" },
|
|
@@ -4402,7 +4529,7 @@
|
|
|
4402
4529
|
function getSizing(origin) {
|
|
4403
4530
|
return Sizable[origin] ?? null;
|
|
4404
4531
|
}
|
|
4405
|
-
const
|
|
4532
|
+
const parsedType8 = (data) => {
|
|
4406
4533
|
const t = typeof data;
|
|
4407
4534
|
switch (t) {
|
|
4408
4535
|
case "number": {
|
|
@@ -4455,7 +4582,7 @@
|
|
|
4455
4582
|
return (issue2) => {
|
|
4456
4583
|
switch (issue2.code) {
|
|
4457
4584
|
case "invalid_type":
|
|
4458
|
-
return `Input tidak valid: diharapkan ${issue2.expected}, diterima ${
|
|
4585
|
+
return `Input tidak valid: diharapkan ${issue2.expected}, diterima ${parsedType8(issue2.input)}`;
|
|
4459
4586
|
case "invalid_value":
|
|
4460
4587
|
if (issue2.values.length === 1)
|
|
4461
4588
|
return `Input tidak valid: diharapkan ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -4504,12 +4631,12 @@
|
|
|
4504
4631
|
};
|
|
4505
4632
|
function id_default() {
|
|
4506
4633
|
return {
|
|
4507
|
-
localeError:
|
|
4634
|
+
localeError: error18()
|
|
4508
4635
|
};
|
|
4509
4636
|
}
|
|
4510
4637
|
|
|
4511
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
4512
|
-
var
|
|
4638
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/is.js
|
|
4639
|
+
var parsedType4 = (data) => {
|
|
4513
4640
|
const t = typeof data;
|
|
4514
4641
|
switch (t) {
|
|
4515
4642
|
case "number": {
|
|
@@ -4529,7 +4656,7 @@
|
|
|
4529
4656
|
}
|
|
4530
4657
|
return t;
|
|
4531
4658
|
};
|
|
4532
|
-
var
|
|
4659
|
+
var error19 = () => {
|
|
4533
4660
|
const Sizable = {
|
|
4534
4661
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
4535
4662
|
file: { unit: "b\xE6ti", verb: "a\xF0 hafa" },
|
|
@@ -4572,7 +4699,7 @@
|
|
|
4572
4699
|
return (issue2) => {
|
|
4573
4700
|
switch (issue2.code) {
|
|
4574
4701
|
case "invalid_type":
|
|
4575
|
-
return `Rangt gildi: \xDE\xFA sl\xF3st inn ${
|
|
4702
|
+
return `Rangt gildi: \xDE\xFA sl\xF3st inn ${parsedType4(issue2.input)} \xFEar sem \xE1 a\xF0 vera ${issue2.expected}`;
|
|
4576
4703
|
case "invalid_value":
|
|
4577
4704
|
if (issue2.values.length === 1)
|
|
4578
4705
|
return `Rangt gildi: gert r\xE1\xF0 fyrir ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -4622,12 +4749,12 @@
|
|
|
4622
4749
|
};
|
|
4623
4750
|
function is_default() {
|
|
4624
4751
|
return {
|
|
4625
|
-
localeError:
|
|
4752
|
+
localeError: error19()
|
|
4626
4753
|
};
|
|
4627
4754
|
}
|
|
4628
4755
|
|
|
4629
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
4630
|
-
var
|
|
4756
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/it.js
|
|
4757
|
+
var error20 = () => {
|
|
4631
4758
|
const Sizable = {
|
|
4632
4759
|
string: { unit: "caratteri", verb: "avere" },
|
|
4633
4760
|
file: { unit: "byte", verb: "avere" },
|
|
@@ -4637,7 +4764,7 @@
|
|
|
4637
4764
|
function getSizing(origin) {
|
|
4638
4765
|
return Sizable[origin] ?? null;
|
|
4639
4766
|
}
|
|
4640
|
-
const
|
|
4767
|
+
const parsedType8 = (data) => {
|
|
4641
4768
|
const t = typeof data;
|
|
4642
4769
|
switch (t) {
|
|
4643
4770
|
case "number": {
|
|
@@ -4690,7 +4817,7 @@
|
|
|
4690
4817
|
return (issue2) => {
|
|
4691
4818
|
switch (issue2.code) {
|
|
4692
4819
|
case "invalid_type":
|
|
4693
|
-
return `Input non valido: atteso ${issue2.expected}, ricevuto ${
|
|
4820
|
+
return `Input non valido: atteso ${issue2.expected}, ricevuto ${parsedType8(issue2.input)}`;
|
|
4694
4821
|
// return `Input non valido: atteso ${issue.expected}, ricevuto ${util.getParsedType(issue.input)}`;
|
|
4695
4822
|
case "invalid_value":
|
|
4696
4823
|
if (issue2.values.length === 1)
|
|
@@ -4740,12 +4867,12 @@
|
|
|
4740
4867
|
};
|
|
4741
4868
|
function it_default() {
|
|
4742
4869
|
return {
|
|
4743
|
-
localeError:
|
|
4870
|
+
localeError: error20()
|
|
4744
4871
|
};
|
|
4745
4872
|
}
|
|
4746
4873
|
|
|
4747
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
4748
|
-
var
|
|
4874
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ja.js
|
|
4875
|
+
var error21 = () => {
|
|
4749
4876
|
const Sizable = {
|
|
4750
4877
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
4751
4878
|
file: { unit: "\u30D0\u30A4\u30C8", verb: "\u3067\u3042\u308B" },
|
|
@@ -4755,7 +4882,7 @@
|
|
|
4755
4882
|
function getSizing(origin) {
|
|
4756
4883
|
return Sizable[origin] ?? null;
|
|
4757
4884
|
}
|
|
4758
|
-
const
|
|
4885
|
+
const parsedType8 = (data) => {
|
|
4759
4886
|
const t = typeof data;
|
|
4760
4887
|
switch (t) {
|
|
4761
4888
|
case "number": {
|
|
@@ -4808,7 +4935,7 @@
|
|
|
4808
4935
|
return (issue2) => {
|
|
4809
4936
|
switch (issue2.code) {
|
|
4810
4937
|
case "invalid_type":
|
|
4811
|
-
return `\u7121\u52B9\u306A\u5165\u529B: ${issue2.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${
|
|
4938
|
+
return `\u7121\u52B9\u306A\u5165\u529B: ${issue2.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${parsedType8(issue2.input)}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`;
|
|
4812
4939
|
case "invalid_value":
|
|
4813
4940
|
if (issue2.values.length === 1)
|
|
4814
4941
|
return `\u7121\u52B9\u306A\u5165\u529B: ${stringifyPrimitive(issue2.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`;
|
|
@@ -4856,12 +4983,12 @@
|
|
|
4856
4983
|
};
|
|
4857
4984
|
function ja_default() {
|
|
4858
4985
|
return {
|
|
4859
|
-
localeError:
|
|
4986
|
+
localeError: error21()
|
|
4860
4987
|
};
|
|
4861
4988
|
}
|
|
4862
4989
|
|
|
4863
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
4864
|
-
var
|
|
4990
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ka.js
|
|
4991
|
+
var parsedType5 = (data) => {
|
|
4865
4992
|
const t = typeof data;
|
|
4866
4993
|
switch (t) {
|
|
4867
4994
|
case "number": {
|
|
@@ -4889,7 +5016,7 @@
|
|
|
4889
5016
|
};
|
|
4890
5017
|
return typeMap[t] ?? t;
|
|
4891
5018
|
};
|
|
4892
|
-
var
|
|
5019
|
+
var error22 = () => {
|
|
4893
5020
|
const Sizable = {
|
|
4894
5021
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
4895
5022
|
file: { unit: "\u10D1\u10D0\u10D8\u10E2\u10D8", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -4932,7 +5059,7 @@
|
|
|
4932
5059
|
return (issue2) => {
|
|
4933
5060
|
switch (issue2.code) {
|
|
4934
5061
|
case "invalid_type":
|
|
4935
|
-
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${issue2.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${
|
|
5062
|
+
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${issue2.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${parsedType5(issue2.input)}`;
|
|
4936
5063
|
case "invalid_value":
|
|
4937
5064
|
if (issue2.values.length === 1)
|
|
4938
5065
|
return `\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -4982,12 +5109,12 @@
|
|
|
4982
5109
|
};
|
|
4983
5110
|
function ka_default() {
|
|
4984
5111
|
return {
|
|
4985
|
-
localeError:
|
|
5112
|
+
localeError: error22()
|
|
4986
5113
|
};
|
|
4987
5114
|
}
|
|
4988
5115
|
|
|
4989
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
4990
|
-
var
|
|
5116
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/km.js
|
|
5117
|
+
var error23 = () => {
|
|
4991
5118
|
const Sizable = {
|
|
4992
5119
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
4993
5120
|
file: { unit: "\u1794\u17C3", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -4997,7 +5124,7 @@
|
|
|
4997
5124
|
function getSizing(origin) {
|
|
4998
5125
|
return Sizable[origin] ?? null;
|
|
4999
5126
|
}
|
|
5000
|
-
const
|
|
5127
|
+
const parsedType8 = (data) => {
|
|
5001
5128
|
const t = typeof data;
|
|
5002
5129
|
switch (t) {
|
|
5003
5130
|
case "number": {
|
|
@@ -5050,7 +5177,7 @@
|
|
|
5050
5177
|
return (issue2) => {
|
|
5051
5178
|
switch (issue2.code) {
|
|
5052
5179
|
case "invalid_type":
|
|
5053
|
-
return `\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${issue2.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${
|
|
5180
|
+
return `\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${issue2.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${parsedType8(issue2.input)}`;
|
|
5054
5181
|
case "invalid_value":
|
|
5055
5182
|
if (issue2.values.length === 1)
|
|
5056
5183
|
return `\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5100,17 +5227,17 @@
|
|
|
5100
5227
|
};
|
|
5101
5228
|
function km_default() {
|
|
5102
5229
|
return {
|
|
5103
|
-
localeError:
|
|
5230
|
+
localeError: error23()
|
|
5104
5231
|
};
|
|
5105
5232
|
}
|
|
5106
5233
|
|
|
5107
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
5234
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/kh.js
|
|
5108
5235
|
function kh_default() {
|
|
5109
5236
|
return km_default();
|
|
5110
5237
|
}
|
|
5111
5238
|
|
|
5112
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
5113
|
-
var
|
|
5239
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ko.js
|
|
5240
|
+
var error24 = () => {
|
|
5114
5241
|
const Sizable = {
|
|
5115
5242
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
5116
5243
|
file: { unit: "\uBC14\uC774\uD2B8", verb: "to have" },
|
|
@@ -5120,7 +5247,7 @@
|
|
|
5120
5247
|
function getSizing(origin) {
|
|
5121
5248
|
return Sizable[origin] ?? null;
|
|
5122
5249
|
}
|
|
5123
|
-
const
|
|
5250
|
+
const parsedType8 = (data) => {
|
|
5124
5251
|
const t = typeof data;
|
|
5125
5252
|
switch (t) {
|
|
5126
5253
|
case "number": {
|
|
@@ -5173,7 +5300,7 @@
|
|
|
5173
5300
|
return (issue2) => {
|
|
5174
5301
|
switch (issue2.code) {
|
|
5175
5302
|
case "invalid_type":
|
|
5176
|
-
return `\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${issue2.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${
|
|
5303
|
+
return `\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${issue2.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${parsedType8(issue2.input)}\uC785\uB2C8\uB2E4`;
|
|
5177
5304
|
case "invalid_value":
|
|
5178
5305
|
if (issue2.values.length === 1)
|
|
5179
5306
|
return `\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${stringifyPrimitive(issue2.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`;
|
|
@@ -5227,12 +5354,12 @@
|
|
|
5227
5354
|
};
|
|
5228
5355
|
function ko_default() {
|
|
5229
5356
|
return {
|
|
5230
|
-
localeError:
|
|
5357
|
+
localeError: error24()
|
|
5231
5358
|
};
|
|
5232
5359
|
}
|
|
5233
5360
|
|
|
5234
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
5235
|
-
var
|
|
5361
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/lt.js
|
|
5362
|
+
var parsedType6 = (data) => {
|
|
5236
5363
|
const t = typeof data;
|
|
5237
5364
|
return parsedTypeFromType(t, data);
|
|
5238
5365
|
};
|
|
@@ -5292,7 +5419,7 @@
|
|
|
5292
5419
|
return "one";
|
|
5293
5420
|
return "few";
|
|
5294
5421
|
}
|
|
5295
|
-
var
|
|
5422
|
+
var error25 = () => {
|
|
5296
5423
|
const Sizable = {
|
|
5297
5424
|
string: {
|
|
5298
5425
|
unit: {
|
|
@@ -5405,7 +5532,7 @@
|
|
|
5405
5532
|
return (issue2) => {
|
|
5406
5533
|
switch (issue2.code) {
|
|
5407
5534
|
case "invalid_type":
|
|
5408
|
-
return `Gautas tipas ${
|
|
5535
|
+
return `Gautas tipas ${parsedType6(issue2.input)}, o tik\u0117tasi - ${parsedTypeFromType(issue2.expected)}`;
|
|
5409
5536
|
case "invalid_value":
|
|
5410
5537
|
if (issue2.values.length === 1)
|
|
5411
5538
|
return `Privalo b\u016Bti ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5458,12 +5585,12 @@
|
|
|
5458
5585
|
};
|
|
5459
5586
|
function lt_default() {
|
|
5460
5587
|
return {
|
|
5461
|
-
localeError:
|
|
5588
|
+
localeError: error25()
|
|
5462
5589
|
};
|
|
5463
5590
|
}
|
|
5464
5591
|
|
|
5465
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
5466
|
-
var
|
|
5592
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/mk.js
|
|
5593
|
+
var error26 = () => {
|
|
5467
5594
|
const Sizable = {
|
|
5468
5595
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
5469
5596
|
file: { unit: "\u0431\u0430\u0458\u0442\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -5473,7 +5600,7 @@
|
|
|
5473
5600
|
function getSizing(origin) {
|
|
5474
5601
|
return Sizable[origin] ?? null;
|
|
5475
5602
|
}
|
|
5476
|
-
const
|
|
5603
|
+
const parsedType8 = (data) => {
|
|
5477
5604
|
const t = typeof data;
|
|
5478
5605
|
switch (t) {
|
|
5479
5606
|
case "number": {
|
|
@@ -5526,7 +5653,7 @@
|
|
|
5526
5653
|
return (issue2) => {
|
|
5527
5654
|
switch (issue2.code) {
|
|
5528
5655
|
case "invalid_type":
|
|
5529
|
-
return `\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${issue2.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${
|
|
5656
|
+
return `\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${issue2.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${parsedType8(issue2.input)}`;
|
|
5530
5657
|
// return `Invalid input: expected ${issue.expected}, received ${util.getParsedType(issue.input)}`;
|
|
5531
5658
|
case "invalid_value":
|
|
5532
5659
|
if (issue2.values.length === 1)
|
|
@@ -5577,12 +5704,12 @@
|
|
|
5577
5704
|
};
|
|
5578
5705
|
function mk_default() {
|
|
5579
5706
|
return {
|
|
5580
|
-
localeError:
|
|
5707
|
+
localeError: error26()
|
|
5581
5708
|
};
|
|
5582
5709
|
}
|
|
5583
5710
|
|
|
5584
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
5585
|
-
var
|
|
5711
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ms.js
|
|
5712
|
+
var error27 = () => {
|
|
5586
5713
|
const Sizable = {
|
|
5587
5714
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
5588
5715
|
file: { unit: "bait", verb: "mempunyai" },
|
|
@@ -5592,7 +5719,7 @@
|
|
|
5592
5719
|
function getSizing(origin) {
|
|
5593
5720
|
return Sizable[origin] ?? null;
|
|
5594
5721
|
}
|
|
5595
|
-
const
|
|
5722
|
+
const parsedType8 = (data) => {
|
|
5596
5723
|
const t = typeof data;
|
|
5597
5724
|
switch (t) {
|
|
5598
5725
|
case "number": {
|
|
@@ -5645,7 +5772,7 @@
|
|
|
5645
5772
|
return (issue2) => {
|
|
5646
5773
|
switch (issue2.code) {
|
|
5647
5774
|
case "invalid_type":
|
|
5648
|
-
return `Input tidak sah: dijangka ${issue2.expected}, diterima ${
|
|
5775
|
+
return `Input tidak sah: dijangka ${issue2.expected}, diterima ${parsedType8(issue2.input)}`;
|
|
5649
5776
|
case "invalid_value":
|
|
5650
5777
|
if (issue2.values.length === 1)
|
|
5651
5778
|
return `Input tidak sah: dijangka ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5694,12 +5821,12 @@
|
|
|
5694
5821
|
};
|
|
5695
5822
|
function ms_default() {
|
|
5696
5823
|
return {
|
|
5697
|
-
localeError:
|
|
5824
|
+
localeError: error27()
|
|
5698
5825
|
};
|
|
5699
5826
|
}
|
|
5700
5827
|
|
|
5701
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
5702
|
-
var
|
|
5828
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/nl.js
|
|
5829
|
+
var error28 = () => {
|
|
5703
5830
|
const Sizable = {
|
|
5704
5831
|
string: { unit: "tekens" },
|
|
5705
5832
|
file: { unit: "bytes" },
|
|
@@ -5709,7 +5836,7 @@
|
|
|
5709
5836
|
function getSizing(origin) {
|
|
5710
5837
|
return Sizable[origin] ?? null;
|
|
5711
5838
|
}
|
|
5712
|
-
const
|
|
5839
|
+
const parsedType8 = (data) => {
|
|
5713
5840
|
const t = typeof data;
|
|
5714
5841
|
switch (t) {
|
|
5715
5842
|
case "number": {
|
|
@@ -5762,7 +5889,7 @@
|
|
|
5762
5889
|
return (issue2) => {
|
|
5763
5890
|
switch (issue2.code) {
|
|
5764
5891
|
case "invalid_type":
|
|
5765
|
-
return `Ongeldige invoer: verwacht ${issue2.expected}, ontving ${
|
|
5892
|
+
return `Ongeldige invoer: verwacht ${issue2.expected}, ontving ${parsedType8(issue2.input)}`;
|
|
5766
5893
|
case "invalid_value":
|
|
5767
5894
|
if (issue2.values.length === 1)
|
|
5768
5895
|
return `Ongeldige invoer: verwacht ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5812,12 +5939,12 @@
|
|
|
5812
5939
|
};
|
|
5813
5940
|
function nl_default() {
|
|
5814
5941
|
return {
|
|
5815
|
-
localeError:
|
|
5942
|
+
localeError: error28()
|
|
5816
5943
|
};
|
|
5817
5944
|
}
|
|
5818
5945
|
|
|
5819
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
5820
|
-
var
|
|
5946
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/no.js
|
|
5947
|
+
var error29 = () => {
|
|
5821
5948
|
const Sizable = {
|
|
5822
5949
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
5823
5950
|
file: { unit: "bytes", verb: "\xE5 ha" },
|
|
@@ -5827,7 +5954,7 @@
|
|
|
5827
5954
|
function getSizing(origin) {
|
|
5828
5955
|
return Sizable[origin] ?? null;
|
|
5829
5956
|
}
|
|
5830
|
-
const
|
|
5957
|
+
const parsedType8 = (data) => {
|
|
5831
5958
|
const t = typeof data;
|
|
5832
5959
|
switch (t) {
|
|
5833
5960
|
case "number": {
|
|
@@ -5880,7 +6007,7 @@
|
|
|
5880
6007
|
return (issue2) => {
|
|
5881
6008
|
switch (issue2.code) {
|
|
5882
6009
|
case "invalid_type":
|
|
5883
|
-
return `Ugyldig input: forventet ${issue2.expected}, fikk ${
|
|
6010
|
+
return `Ugyldig input: forventet ${issue2.expected}, fikk ${parsedType8(issue2.input)}`;
|
|
5884
6011
|
case "invalid_value":
|
|
5885
6012
|
if (issue2.values.length === 1)
|
|
5886
6013
|
return `Ugyldig verdi: forventet ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5929,12 +6056,12 @@
|
|
|
5929
6056
|
};
|
|
5930
6057
|
function no_default() {
|
|
5931
6058
|
return {
|
|
5932
|
-
localeError:
|
|
6059
|
+
localeError: error29()
|
|
5933
6060
|
};
|
|
5934
6061
|
}
|
|
5935
6062
|
|
|
5936
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
5937
|
-
var
|
|
6063
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ota.js
|
|
6064
|
+
var error30 = () => {
|
|
5938
6065
|
const Sizable = {
|
|
5939
6066
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
5940
6067
|
file: { unit: "bayt", verb: "olmal\u0131d\u0131r" },
|
|
@@ -5944,7 +6071,7 @@
|
|
|
5944
6071
|
function getSizing(origin) {
|
|
5945
6072
|
return Sizable[origin] ?? null;
|
|
5946
6073
|
}
|
|
5947
|
-
const
|
|
6074
|
+
const parsedType8 = (data) => {
|
|
5948
6075
|
const t = typeof data;
|
|
5949
6076
|
switch (t) {
|
|
5950
6077
|
case "number": {
|
|
@@ -5997,7 +6124,7 @@
|
|
|
5997
6124
|
return (issue2) => {
|
|
5998
6125
|
switch (issue2.code) {
|
|
5999
6126
|
case "invalid_type":
|
|
6000
|
-
return `F\xE2sit giren: umulan ${issue2.expected}, al\u0131nan ${
|
|
6127
|
+
return `F\xE2sit giren: umulan ${issue2.expected}, al\u0131nan ${parsedType8(issue2.input)}`;
|
|
6001
6128
|
// return `Fâsit giren: umulan ${issue.expected}, alınan ${util.getParsedType(issue.input)}`;
|
|
6002
6129
|
case "invalid_value":
|
|
6003
6130
|
if (issue2.values.length === 1)
|
|
@@ -6047,12 +6174,12 @@
|
|
|
6047
6174
|
};
|
|
6048
6175
|
function ota_default() {
|
|
6049
6176
|
return {
|
|
6050
|
-
localeError:
|
|
6177
|
+
localeError: error30()
|
|
6051
6178
|
};
|
|
6052
6179
|
}
|
|
6053
6180
|
|
|
6054
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
6055
|
-
var
|
|
6181
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ps.js
|
|
6182
|
+
var error31 = () => {
|
|
6056
6183
|
const Sizable = {
|
|
6057
6184
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
6058
6185
|
file: { unit: "\u0628\u0627\u06CC\u067C\u0633", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -6062,7 +6189,7 @@
|
|
|
6062
6189
|
function getSizing(origin) {
|
|
6063
6190
|
return Sizable[origin] ?? null;
|
|
6064
6191
|
}
|
|
6065
|
-
const
|
|
6192
|
+
const parsedType8 = (data) => {
|
|
6066
6193
|
const t = typeof data;
|
|
6067
6194
|
switch (t) {
|
|
6068
6195
|
case "number": {
|
|
@@ -6115,7 +6242,7 @@
|
|
|
6115
6242
|
return (issue2) => {
|
|
6116
6243
|
switch (issue2.code) {
|
|
6117
6244
|
case "invalid_type":
|
|
6118
|
-
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${issue2.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${
|
|
6245
|
+
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${issue2.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${parsedType8(issue2.input)} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`;
|
|
6119
6246
|
case "invalid_value":
|
|
6120
6247
|
if (issue2.values.length === 1) {
|
|
6121
6248
|
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${stringifyPrimitive(issue2.values[0])} \u0648\u0627\u06CC`;
|
|
@@ -6170,12 +6297,12 @@
|
|
|
6170
6297
|
};
|
|
6171
6298
|
function ps_default() {
|
|
6172
6299
|
return {
|
|
6173
|
-
localeError:
|
|
6300
|
+
localeError: error31()
|
|
6174
6301
|
};
|
|
6175
6302
|
}
|
|
6176
6303
|
|
|
6177
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
6178
|
-
var
|
|
6304
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/pl.js
|
|
6305
|
+
var error32 = () => {
|
|
6179
6306
|
const Sizable = {
|
|
6180
6307
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
6181
6308
|
file: { unit: "bajt\xF3w", verb: "mie\u0107" },
|
|
@@ -6185,7 +6312,7 @@
|
|
|
6185
6312
|
function getSizing(origin) {
|
|
6186
6313
|
return Sizable[origin] ?? null;
|
|
6187
6314
|
}
|
|
6188
|
-
const
|
|
6315
|
+
const parsedType8 = (data) => {
|
|
6189
6316
|
const t = typeof data;
|
|
6190
6317
|
switch (t) {
|
|
6191
6318
|
case "number": {
|
|
@@ -6238,7 +6365,7 @@
|
|
|
6238
6365
|
return (issue2) => {
|
|
6239
6366
|
switch (issue2.code) {
|
|
6240
6367
|
case "invalid_type":
|
|
6241
|
-
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${issue2.expected}, otrzymano ${
|
|
6368
|
+
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${issue2.expected}, otrzymano ${parsedType8(issue2.input)}`;
|
|
6242
6369
|
case "invalid_value":
|
|
6243
6370
|
if (issue2.values.length === 1)
|
|
6244
6371
|
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6288,12 +6415,12 @@
|
|
|
6288
6415
|
};
|
|
6289
6416
|
function pl_default() {
|
|
6290
6417
|
return {
|
|
6291
|
-
localeError:
|
|
6418
|
+
localeError: error32()
|
|
6292
6419
|
};
|
|
6293
6420
|
}
|
|
6294
6421
|
|
|
6295
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
6296
|
-
var
|
|
6422
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/pt.js
|
|
6423
|
+
var error33 = () => {
|
|
6297
6424
|
const Sizable = {
|
|
6298
6425
|
string: { unit: "caracteres", verb: "ter" },
|
|
6299
6426
|
file: { unit: "bytes", verb: "ter" },
|
|
@@ -6303,7 +6430,7 @@
|
|
|
6303
6430
|
function getSizing(origin) {
|
|
6304
6431
|
return Sizable[origin] ?? null;
|
|
6305
6432
|
}
|
|
6306
|
-
const
|
|
6433
|
+
const parsedType8 = (data) => {
|
|
6307
6434
|
const t = typeof data;
|
|
6308
6435
|
switch (t) {
|
|
6309
6436
|
case "number": {
|
|
@@ -6356,7 +6483,7 @@
|
|
|
6356
6483
|
return (issue2) => {
|
|
6357
6484
|
switch (issue2.code) {
|
|
6358
6485
|
case "invalid_type":
|
|
6359
|
-
return `Tipo inv\xE1lido: esperado ${issue2.expected}, recebido ${
|
|
6486
|
+
return `Tipo inv\xE1lido: esperado ${issue2.expected}, recebido ${parsedType8(issue2.input)}`;
|
|
6360
6487
|
case "invalid_value":
|
|
6361
6488
|
if (issue2.values.length === 1)
|
|
6362
6489
|
return `Entrada inv\xE1lida: esperado ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6405,11 +6532,11 @@
|
|
|
6405
6532
|
};
|
|
6406
6533
|
function pt_default() {
|
|
6407
6534
|
return {
|
|
6408
|
-
localeError:
|
|
6535
|
+
localeError: error33()
|
|
6409
6536
|
};
|
|
6410
6537
|
}
|
|
6411
6538
|
|
|
6412
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
6539
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ru.js
|
|
6413
6540
|
function getRussianPlural(count, one, few, many) {
|
|
6414
6541
|
const absCount = Math.abs(count);
|
|
6415
6542
|
const lastDigit = absCount % 10;
|
|
@@ -6425,7 +6552,7 @@
|
|
|
6425
6552
|
}
|
|
6426
6553
|
return many;
|
|
6427
6554
|
}
|
|
6428
|
-
var
|
|
6555
|
+
var error34 = () => {
|
|
6429
6556
|
const Sizable = {
|
|
6430
6557
|
string: {
|
|
6431
6558
|
unit: {
|
|
@@ -6463,7 +6590,7 @@
|
|
|
6463
6590
|
function getSizing(origin) {
|
|
6464
6591
|
return Sizable[origin] ?? null;
|
|
6465
6592
|
}
|
|
6466
|
-
const
|
|
6593
|
+
const parsedType8 = (data) => {
|
|
6467
6594
|
const t = typeof data;
|
|
6468
6595
|
switch (t) {
|
|
6469
6596
|
case "number": {
|
|
@@ -6516,7 +6643,7 @@
|
|
|
6516
6643
|
return (issue2) => {
|
|
6517
6644
|
switch (issue2.code) {
|
|
6518
6645
|
case "invalid_type":
|
|
6519
|
-
return `\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${issue2.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${
|
|
6646
|
+
return `\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${issue2.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${parsedType8(issue2.input)}`;
|
|
6520
6647
|
case "invalid_value":
|
|
6521
6648
|
if (issue2.values.length === 1)
|
|
6522
6649
|
return `\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6570,12 +6697,12 @@
|
|
|
6570
6697
|
};
|
|
6571
6698
|
function ru_default() {
|
|
6572
6699
|
return {
|
|
6573
|
-
localeError:
|
|
6700
|
+
localeError: error34()
|
|
6574
6701
|
};
|
|
6575
6702
|
}
|
|
6576
6703
|
|
|
6577
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
6578
|
-
var
|
|
6704
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/sl.js
|
|
6705
|
+
var error35 = () => {
|
|
6579
6706
|
const Sizable = {
|
|
6580
6707
|
string: { unit: "znakov", verb: "imeti" },
|
|
6581
6708
|
file: { unit: "bajtov", verb: "imeti" },
|
|
@@ -6585,7 +6712,7 @@
|
|
|
6585
6712
|
function getSizing(origin) {
|
|
6586
6713
|
return Sizable[origin] ?? null;
|
|
6587
6714
|
}
|
|
6588
|
-
const
|
|
6715
|
+
const parsedType8 = (data) => {
|
|
6589
6716
|
const t = typeof data;
|
|
6590
6717
|
switch (t) {
|
|
6591
6718
|
case "number": {
|
|
@@ -6638,7 +6765,7 @@
|
|
|
6638
6765
|
return (issue2) => {
|
|
6639
6766
|
switch (issue2.code) {
|
|
6640
6767
|
case "invalid_type":
|
|
6641
|
-
return `Neveljaven vnos: pri\u010Dakovano ${issue2.expected}, prejeto ${
|
|
6768
|
+
return `Neveljaven vnos: pri\u010Dakovano ${issue2.expected}, prejeto ${parsedType8(issue2.input)}`;
|
|
6642
6769
|
case "invalid_value":
|
|
6643
6770
|
if (issue2.values.length === 1)
|
|
6644
6771
|
return `Neveljaven vnos: pri\u010Dakovano ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6688,12 +6815,12 @@
|
|
|
6688
6815
|
};
|
|
6689
6816
|
function sl_default() {
|
|
6690
6817
|
return {
|
|
6691
|
-
localeError:
|
|
6818
|
+
localeError: error35()
|
|
6692
6819
|
};
|
|
6693
6820
|
}
|
|
6694
6821
|
|
|
6695
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
6696
|
-
var
|
|
6822
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/sv.js
|
|
6823
|
+
var error36 = () => {
|
|
6697
6824
|
const Sizable = {
|
|
6698
6825
|
string: { unit: "tecken", verb: "att ha" },
|
|
6699
6826
|
file: { unit: "bytes", verb: "att ha" },
|
|
@@ -6703,7 +6830,7 @@
|
|
|
6703
6830
|
function getSizing(origin) {
|
|
6704
6831
|
return Sizable[origin] ?? null;
|
|
6705
6832
|
}
|
|
6706
|
-
const
|
|
6833
|
+
const parsedType8 = (data) => {
|
|
6707
6834
|
const t = typeof data;
|
|
6708
6835
|
switch (t) {
|
|
6709
6836
|
case "number": {
|
|
@@ -6756,7 +6883,7 @@
|
|
|
6756
6883
|
return (issue2) => {
|
|
6757
6884
|
switch (issue2.code) {
|
|
6758
6885
|
case "invalid_type":
|
|
6759
|
-
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${issue2.expected}, fick ${
|
|
6886
|
+
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${issue2.expected}, fick ${parsedType8(issue2.input)}`;
|
|
6760
6887
|
case "invalid_value":
|
|
6761
6888
|
if (issue2.values.length === 1)
|
|
6762
6889
|
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6807,12 +6934,12 @@
|
|
|
6807
6934
|
};
|
|
6808
6935
|
function sv_default() {
|
|
6809
6936
|
return {
|
|
6810
|
-
localeError:
|
|
6937
|
+
localeError: error36()
|
|
6811
6938
|
};
|
|
6812
6939
|
}
|
|
6813
6940
|
|
|
6814
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
6815
|
-
var
|
|
6941
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ta.js
|
|
6942
|
+
var error37 = () => {
|
|
6816
6943
|
const Sizable = {
|
|
6817
6944
|
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" },
|
|
6818
6945
|
file: { unit: "\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -6822,7 +6949,7 @@
|
|
|
6822
6949
|
function getSizing(origin) {
|
|
6823
6950
|
return Sizable[origin] ?? null;
|
|
6824
6951
|
}
|
|
6825
|
-
const
|
|
6952
|
+
const parsedType8 = (data) => {
|
|
6826
6953
|
const t = typeof data;
|
|
6827
6954
|
switch (t) {
|
|
6828
6955
|
case "number": {
|
|
@@ -6875,7 +7002,7 @@
|
|
|
6875
7002
|
return (issue2) => {
|
|
6876
7003
|
switch (issue2.code) {
|
|
6877
7004
|
case "invalid_type":
|
|
6878
|
-
return `\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${issue2.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${
|
|
7005
|
+
return `\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${issue2.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${parsedType8(issue2.input)}`;
|
|
6879
7006
|
case "invalid_value":
|
|
6880
7007
|
if (issue2.values.length === 1)
|
|
6881
7008
|
return `\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6925,12 +7052,12 @@
|
|
|
6925
7052
|
};
|
|
6926
7053
|
function ta_default() {
|
|
6927
7054
|
return {
|
|
6928
|
-
localeError:
|
|
7055
|
+
localeError: error37()
|
|
6929
7056
|
};
|
|
6930
7057
|
}
|
|
6931
7058
|
|
|
6932
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
6933
|
-
var
|
|
7059
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/th.js
|
|
7060
|
+
var error38 = () => {
|
|
6934
7061
|
const Sizable = {
|
|
6935
7062
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
6936
7063
|
file: { unit: "\u0E44\u0E1A\u0E15\u0E4C", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -6940,7 +7067,7 @@
|
|
|
6940
7067
|
function getSizing(origin) {
|
|
6941
7068
|
return Sizable[origin] ?? null;
|
|
6942
7069
|
}
|
|
6943
|
-
const
|
|
7070
|
+
const parsedType8 = (data) => {
|
|
6944
7071
|
const t = typeof data;
|
|
6945
7072
|
switch (t) {
|
|
6946
7073
|
case "number": {
|
|
@@ -6993,7 +7120,7 @@
|
|
|
6993
7120
|
return (issue2) => {
|
|
6994
7121
|
switch (issue2.code) {
|
|
6995
7122
|
case "invalid_type":
|
|
6996
|
-
return `\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${issue2.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${
|
|
7123
|
+
return `\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${issue2.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${parsedType8(issue2.input)}`;
|
|
6997
7124
|
case "invalid_value":
|
|
6998
7125
|
if (issue2.values.length === 1)
|
|
6999
7126
|
return `\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7043,12 +7170,12 @@
|
|
|
7043
7170
|
};
|
|
7044
7171
|
function th_default() {
|
|
7045
7172
|
return {
|
|
7046
|
-
localeError:
|
|
7173
|
+
localeError: error38()
|
|
7047
7174
|
};
|
|
7048
7175
|
}
|
|
7049
7176
|
|
|
7050
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
7051
|
-
var
|
|
7177
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/tr.js
|
|
7178
|
+
var parsedType7 = (data) => {
|
|
7052
7179
|
const t = typeof data;
|
|
7053
7180
|
switch (t) {
|
|
7054
7181
|
case "number": {
|
|
@@ -7068,7 +7195,7 @@
|
|
|
7068
7195
|
}
|
|
7069
7196
|
return t;
|
|
7070
7197
|
};
|
|
7071
|
-
var
|
|
7198
|
+
var error39 = () => {
|
|
7072
7199
|
const Sizable = {
|
|
7073
7200
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
7074
7201
|
file: { unit: "bayt", verb: "olmal\u0131" },
|
|
@@ -7111,7 +7238,7 @@
|
|
|
7111
7238
|
return (issue2) => {
|
|
7112
7239
|
switch (issue2.code) {
|
|
7113
7240
|
case "invalid_type":
|
|
7114
|
-
return `Ge\xE7ersiz de\u011Fer: beklenen ${issue2.expected}, al\u0131nan ${
|
|
7241
|
+
return `Ge\xE7ersiz de\u011Fer: beklenen ${issue2.expected}, al\u0131nan ${parsedType7(issue2.input)}`;
|
|
7115
7242
|
case "invalid_value":
|
|
7116
7243
|
if (issue2.values.length === 1)
|
|
7117
7244
|
return `Ge\xE7ersiz de\u011Fer: beklenen ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7159,12 +7286,12 @@
|
|
|
7159
7286
|
};
|
|
7160
7287
|
function tr_default() {
|
|
7161
7288
|
return {
|
|
7162
|
-
localeError:
|
|
7289
|
+
localeError: error39()
|
|
7163
7290
|
};
|
|
7164
7291
|
}
|
|
7165
7292
|
|
|
7166
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
7167
|
-
var
|
|
7293
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/uk.js
|
|
7294
|
+
var error40 = () => {
|
|
7168
7295
|
const Sizable = {
|
|
7169
7296
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
7170
7297
|
file: { unit: "\u0431\u0430\u0439\u0442\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -7174,7 +7301,7 @@
|
|
|
7174
7301
|
function getSizing(origin) {
|
|
7175
7302
|
return Sizable[origin] ?? null;
|
|
7176
7303
|
}
|
|
7177
|
-
const
|
|
7304
|
+
const parsedType8 = (data) => {
|
|
7178
7305
|
const t = typeof data;
|
|
7179
7306
|
switch (t) {
|
|
7180
7307
|
case "number": {
|
|
@@ -7227,7 +7354,7 @@
|
|
|
7227
7354
|
return (issue2) => {
|
|
7228
7355
|
switch (issue2.code) {
|
|
7229
7356
|
case "invalid_type":
|
|
7230
|
-
return `\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${issue2.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${
|
|
7357
|
+
return `\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${issue2.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${parsedType8(issue2.input)}`;
|
|
7231
7358
|
// return `Неправильні вхідні дані: очікується ${issue.expected}, отримано ${util.getParsedType(issue.input)}`;
|
|
7232
7359
|
case "invalid_value":
|
|
7233
7360
|
if (issue2.values.length === 1)
|
|
@@ -7277,17 +7404,17 @@
|
|
|
7277
7404
|
};
|
|
7278
7405
|
function uk_default() {
|
|
7279
7406
|
return {
|
|
7280
|
-
localeError:
|
|
7407
|
+
localeError: error40()
|
|
7281
7408
|
};
|
|
7282
7409
|
}
|
|
7283
7410
|
|
|
7284
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
7411
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ua.js
|
|
7285
7412
|
function ua_default() {
|
|
7286
7413
|
return uk_default();
|
|
7287
7414
|
}
|
|
7288
7415
|
|
|
7289
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
7290
|
-
var
|
|
7416
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/ur.js
|
|
7417
|
+
var error41 = () => {
|
|
7291
7418
|
const Sizable = {
|
|
7292
7419
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
7293
7420
|
file: { unit: "\u0628\u0627\u0626\u0679\u0633", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -7297,7 +7424,7 @@
|
|
|
7297
7424
|
function getSizing(origin) {
|
|
7298
7425
|
return Sizable[origin] ?? null;
|
|
7299
7426
|
}
|
|
7300
|
-
const
|
|
7427
|
+
const parsedType8 = (data) => {
|
|
7301
7428
|
const t = typeof data;
|
|
7302
7429
|
switch (t) {
|
|
7303
7430
|
case "number": {
|
|
@@ -7350,7 +7477,7 @@
|
|
|
7350
7477
|
return (issue2) => {
|
|
7351
7478
|
switch (issue2.code) {
|
|
7352
7479
|
case "invalid_type":
|
|
7353
|
-
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${issue2.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${
|
|
7480
|
+
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${issue2.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${parsedType8(issue2.input)} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`;
|
|
7354
7481
|
case "invalid_value":
|
|
7355
7482
|
if (issue2.values.length === 1)
|
|
7356
7483
|
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${stringifyPrimitive(issue2.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;
|
|
@@ -7400,12 +7527,12 @@
|
|
|
7400
7527
|
};
|
|
7401
7528
|
function ur_default() {
|
|
7402
7529
|
return {
|
|
7403
|
-
localeError:
|
|
7530
|
+
localeError: error41()
|
|
7404
7531
|
};
|
|
7405
7532
|
}
|
|
7406
7533
|
|
|
7407
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
7408
|
-
var
|
|
7534
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/vi.js
|
|
7535
|
+
var error42 = () => {
|
|
7409
7536
|
const Sizable = {
|
|
7410
7537
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
7411
7538
|
file: { unit: "byte", verb: "c\xF3" },
|
|
@@ -7415,7 +7542,7 @@
|
|
|
7415
7542
|
function getSizing(origin) {
|
|
7416
7543
|
return Sizable[origin] ?? null;
|
|
7417
7544
|
}
|
|
7418
|
-
const
|
|
7545
|
+
const parsedType8 = (data) => {
|
|
7419
7546
|
const t = typeof data;
|
|
7420
7547
|
switch (t) {
|
|
7421
7548
|
case "number": {
|
|
@@ -7468,7 +7595,7 @@
|
|
|
7468
7595
|
return (issue2) => {
|
|
7469
7596
|
switch (issue2.code) {
|
|
7470
7597
|
case "invalid_type":
|
|
7471
|
-
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${issue2.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${
|
|
7598
|
+
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${issue2.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${parsedType8(issue2.input)}`;
|
|
7472
7599
|
case "invalid_value":
|
|
7473
7600
|
if (issue2.values.length === 1)
|
|
7474
7601
|
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7517,12 +7644,12 @@
|
|
|
7517
7644
|
};
|
|
7518
7645
|
function vi_default() {
|
|
7519
7646
|
return {
|
|
7520
|
-
localeError:
|
|
7647
|
+
localeError: error42()
|
|
7521
7648
|
};
|
|
7522
7649
|
}
|
|
7523
7650
|
|
|
7524
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
7525
|
-
var
|
|
7651
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/zh-CN.js
|
|
7652
|
+
var error43 = () => {
|
|
7526
7653
|
const Sizable = {
|
|
7527
7654
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
7528
7655
|
file: { unit: "\u5B57\u8282", verb: "\u5305\u542B" },
|
|
@@ -7532,7 +7659,7 @@
|
|
|
7532
7659
|
function getSizing(origin) {
|
|
7533
7660
|
return Sizable[origin] ?? null;
|
|
7534
7661
|
}
|
|
7535
|
-
const
|
|
7662
|
+
const parsedType8 = (data) => {
|
|
7536
7663
|
const t = typeof data;
|
|
7537
7664
|
switch (t) {
|
|
7538
7665
|
case "number": {
|
|
@@ -7585,7 +7712,7 @@
|
|
|
7585
7712
|
return (issue2) => {
|
|
7586
7713
|
switch (issue2.code) {
|
|
7587
7714
|
case "invalid_type":
|
|
7588
|
-
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${issue2.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${
|
|
7715
|
+
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${issue2.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${parsedType8(issue2.input)}`;
|
|
7589
7716
|
case "invalid_value":
|
|
7590
7717
|
if (issue2.values.length === 1)
|
|
7591
7718
|
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7634,12 +7761,12 @@
|
|
|
7634
7761
|
};
|
|
7635
7762
|
function zh_CN_default() {
|
|
7636
7763
|
return {
|
|
7637
|
-
localeError:
|
|
7764
|
+
localeError: error43()
|
|
7638
7765
|
};
|
|
7639
7766
|
}
|
|
7640
7767
|
|
|
7641
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
7642
|
-
var
|
|
7768
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/zh-TW.js
|
|
7769
|
+
var error44 = () => {
|
|
7643
7770
|
const Sizable = {
|
|
7644
7771
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
7645
7772
|
file: { unit: "\u4F4D\u5143\u7D44", verb: "\u64C1\u6709" },
|
|
@@ -7649,7 +7776,7 @@
|
|
|
7649
7776
|
function getSizing(origin) {
|
|
7650
7777
|
return Sizable[origin] ?? null;
|
|
7651
7778
|
}
|
|
7652
|
-
const
|
|
7779
|
+
const parsedType8 = (data) => {
|
|
7653
7780
|
const t = typeof data;
|
|
7654
7781
|
switch (t) {
|
|
7655
7782
|
case "number": {
|
|
@@ -7702,7 +7829,7 @@
|
|
|
7702
7829
|
return (issue2) => {
|
|
7703
7830
|
switch (issue2.code) {
|
|
7704
7831
|
case "invalid_type":
|
|
7705
|
-
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${issue2.expected}\uFF0C\u4F46\u6536\u5230 ${
|
|
7832
|
+
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${issue2.expected}\uFF0C\u4F46\u6536\u5230 ${parsedType8(issue2.input)}`;
|
|
7706
7833
|
case "invalid_value":
|
|
7707
7834
|
if (issue2.values.length === 1)
|
|
7708
7835
|
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7752,12 +7879,12 @@
|
|
|
7752
7879
|
};
|
|
7753
7880
|
function zh_TW_default() {
|
|
7754
7881
|
return {
|
|
7755
|
-
localeError:
|
|
7882
|
+
localeError: error44()
|
|
7756
7883
|
};
|
|
7757
7884
|
}
|
|
7758
7885
|
|
|
7759
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
7760
|
-
var
|
|
7886
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/locales/yo.js
|
|
7887
|
+
var error45 = () => {
|
|
7761
7888
|
const Sizable = {
|
|
7762
7889
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
7763
7890
|
file: { unit: "bytes", verb: "n\xED" },
|
|
@@ -7767,7 +7894,7 @@
|
|
|
7767
7894
|
function getSizing(origin) {
|
|
7768
7895
|
return Sizable[origin] ?? null;
|
|
7769
7896
|
}
|
|
7770
|
-
const
|
|
7897
|
+
const parsedType8 = (data) => {
|
|
7771
7898
|
const t = typeof data;
|
|
7772
7899
|
switch (t) {
|
|
7773
7900
|
case "number": {
|
|
@@ -7820,7 +7947,7 @@
|
|
|
7820
7947
|
return (issue2) => {
|
|
7821
7948
|
switch (issue2.code) {
|
|
7822
7949
|
case "invalid_type":
|
|
7823
|
-
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${issue2.expected}, \xE0m\u1ECD\u0300 a r\xED ${
|
|
7950
|
+
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${issue2.expected}, \xE0m\u1ECD\u0300 a r\xED ${parsedType8(issue2.input)}`;
|
|
7824
7951
|
case "invalid_value":
|
|
7825
7952
|
if (issue2.values.length === 1)
|
|
7826
7953
|
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7868,11 +7995,11 @@
|
|
|
7868
7995
|
};
|
|
7869
7996
|
function yo_default() {
|
|
7870
7997
|
return {
|
|
7871
|
-
localeError:
|
|
7998
|
+
localeError: error45()
|
|
7872
7999
|
};
|
|
7873
8000
|
}
|
|
7874
8001
|
|
|
7875
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
8002
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/registries.js
|
|
7876
8003
|
var $output = Symbol("ZodOutput");
|
|
7877
8004
|
var $input = Symbol("ZodInput");
|
|
7878
8005
|
var $ZodRegistry = class {
|
|
@@ -7923,7 +8050,7 @@
|
|
|
7923
8050
|
}
|
|
7924
8051
|
var globalRegistry = /* @__PURE__ */ registry();
|
|
7925
8052
|
|
|
7926
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
8053
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/api.js
|
|
7927
8054
|
function _string(Class2, params) {
|
|
7928
8055
|
return new Class2({
|
|
7929
8056
|
type: "string",
|
|
@@ -8362,10 +8489,10 @@
|
|
|
8362
8489
|
return ch;
|
|
8363
8490
|
}
|
|
8364
8491
|
|
|
8365
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
8492
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/core/json-schema.js
|
|
8366
8493
|
var json_schema_exports = {};
|
|
8367
8494
|
|
|
8368
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
8495
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/classic/iso.js
|
|
8369
8496
|
var ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
|
|
8370
8497
|
$ZodISODateTime.init(inst, def);
|
|
8371
8498
|
ZodStringFormat.init(inst, def);
|
|
@@ -8395,7 +8522,7 @@
|
|
|
8395
8522
|
return _isoDuration(ZodISODuration, params);
|
|
8396
8523
|
}
|
|
8397
8524
|
|
|
8398
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
8525
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/classic/errors.js
|
|
8399
8526
|
var initializer2 = (inst, issues) => {
|
|
8400
8527
|
$ZodError.init(inst, issues);
|
|
8401
8528
|
inst.name = "ZodError";
|
|
@@ -8435,7 +8562,7 @@
|
|
|
8435
8562
|
Parent: Error
|
|
8436
8563
|
});
|
|
8437
8564
|
|
|
8438
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
8565
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/classic/parse.js
|
|
8439
8566
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
8440
8567
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
8441
8568
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -8449,7 +8576,7 @@
|
|
|
8449
8576
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
8450
8577
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
8451
8578
|
|
|
8452
|
-
// ../../../../../../node_modules/.store/zod-npm-4.1.
|
|
8579
|
+
// ../../../../../../node_modules/.store/zod-npm-4.1.12-8e1ffc4d68/package/v4/classic/schemas.js
|
|
8453
8580
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
8454
8581
|
$ZodType.init(inst, def);
|
|
8455
8582
|
inst.def = def;
|
|
@@ -8901,7 +9028,7 @@
|
|
|
8901
9028
|
return _superRefine(fn);
|
|
8902
9029
|
}
|
|
8903
9030
|
|
|
8904
|
-
// ../../../../../../node_modules/.store/@xylabs-typeof-npm-5.0.
|
|
9031
|
+
// ../../../../../../node_modules/.store/@xylabs-typeof-npm-5.0.13-490cd14f5a/package/dist/neutral/index.mjs
|
|
8905
9032
|
function isUndefined(value) {
|
|
8906
9033
|
return value === void 0;
|
|
8907
9034
|
}
|
|
@@ -8912,7 +9039,7 @@
|
|
|
8912
9039
|
return typeof value === "number";
|
|
8913
9040
|
}
|
|
8914
9041
|
|
|
8915
|
-
// ../../../../../../node_modules/.store/@xylabs-hex-npm-5.0.
|
|
9042
|
+
// ../../../../../../node_modules/.store/@xylabs-hex-npm-5.0.13-2fba708c37/package/dist/neutral/index.mjs
|
|
8916
9043
|
var HexRegExMinMax = (minBytes = 0, maxBytes = Number.MAX_SAFE_INTEGER / 2) => {
|
|
8917
9044
|
return new RegExp(`^[a-f0-9]{${minBytes * 2},${maxBytes * 2}}$`);
|
|
8918
9045
|
};
|
|
@@ -9067,7 +9194,7 @@
|
|
|
9067
9194
|
var BigIntToJsonZod = bigint2().nonnegative().transform((x) => toHex(x));
|
|
9068
9195
|
var JsonToBigIntZod = string2().transform((x) => toHex(x)).transform((x) => hexToBigInt(x));
|
|
9069
9196
|
|
|
9070
|
-
// ../../../../../../node_modules/.store/@xylabs-threads-npm-5.0.
|
|
9197
|
+
// ../../../../../../node_modules/.store/@xylabs-threads-npm-5.0.13-5bbcdce6b6/package/dist/browser/worker/worker.browser.mjs
|
|
9071
9198
|
var import_is_observable_2_1_0 = __toESM(require_package(), 1);
|
|
9072
9199
|
var __defProp2 = Object.defineProperty;
|
|
9073
9200
|
var __name = (target, value) => __defProp2(target, "name", { value, configurable: true });
|
|
@@ -9091,12 +9218,12 @@
|
|
|
9091
9218
|
stack: message.stack
|
|
9092
9219
|
});
|
|
9093
9220
|
},
|
|
9094
|
-
serialize(
|
|
9221
|
+
serialize(error46) {
|
|
9095
9222
|
return {
|
|
9096
9223
|
__error_marker: "$$error",
|
|
9097
|
-
message:
|
|
9098
|
-
name:
|
|
9099
|
-
stack:
|
|
9224
|
+
message: error46.message,
|
|
9225
|
+
name: error46.name,
|
|
9226
|
+
stack: error46.stack
|
|
9100
9227
|
};
|
|
9101
9228
|
}
|
|
9102
9229
|
};
|
|
@@ -9207,9 +9334,9 @@
|
|
|
9207
9334
|
}
|
|
9208
9335
|
__name(postModuleInitMessage, "postModuleInitMessage");
|
|
9209
9336
|
function postJobErrorMessage(uid, rawError) {
|
|
9210
|
-
const { payload:
|
|
9337
|
+
const { payload: error46, transferables } = deconstructTransfer(rawError);
|
|
9211
9338
|
const errorMessage = {
|
|
9212
|
-
error: serialize(
|
|
9339
|
+
error: serialize(error46),
|
|
9213
9340
|
type: WorkerMessageType.error,
|
|
9214
9341
|
uid
|
|
9215
9342
|
};
|
|
@@ -9236,15 +9363,15 @@
|
|
|
9236
9363
|
implementation.postMessageToMaster(startMessage);
|
|
9237
9364
|
}
|
|
9238
9365
|
__name(postJobStartMessage, "postJobStartMessage");
|
|
9239
|
-
function postUncaughtErrorMessage(
|
|
9366
|
+
function postUncaughtErrorMessage(error46) {
|
|
9240
9367
|
try {
|
|
9241
9368
|
const errorMessage = {
|
|
9242
|
-
error: serialize(
|
|
9369
|
+
error: serialize(error46),
|
|
9243
9370
|
type: WorkerMessageType.uncaughtError
|
|
9244
9371
|
};
|
|
9245
9372
|
implementation.postMessageToMaster(errorMessage);
|
|
9246
9373
|
} catch (subError) {
|
|
9247
|
-
console.error("Not reporting uncaught error back to master thread as it occured while reporting an uncaught error already.\nLatest error:", subError, "\nOriginal error:",
|
|
9374
|
+
console.error("Not reporting uncaught error back to master thread as it occured while reporting an uncaught error already.\nLatest error:", subError, "\nOriginal error:", error46);
|
|
9248
9375
|
}
|
|
9249
9376
|
}
|
|
9250
9377
|
__name(postUncaughtErrorMessage, "postUncaughtErrorMessage");
|
|
@@ -9253,14 +9380,14 @@
|
|
|
9253
9380
|
try {
|
|
9254
9381
|
syncResult = fn(...args);
|
|
9255
9382
|
} catch (ex) {
|
|
9256
|
-
const
|
|
9257
|
-
return postJobErrorMessage(jobUID,
|
|
9383
|
+
const error46 = ex;
|
|
9384
|
+
return postJobErrorMessage(jobUID, error46);
|
|
9258
9385
|
}
|
|
9259
9386
|
const resultType = isObservable(syncResult) ? "observable" : "promise";
|
|
9260
9387
|
postJobStartMessage(jobUID, resultType);
|
|
9261
9388
|
if (isObservable(syncResult)) {
|
|
9262
|
-
const subscription = syncResult.subscribe((value) => postJobResultMessage(jobUID, false, serialize(value)), (
|
|
9263
|
-
postJobErrorMessage(jobUID, serialize(
|
|
9389
|
+
const subscription = syncResult.subscribe((value) => postJobResultMessage(jobUID, false, serialize(value)), (error46) => {
|
|
9390
|
+
postJobErrorMessage(jobUID, serialize(error46));
|
|
9264
9391
|
activeSubscriptions.delete(jobUID);
|
|
9265
9392
|
}, () => {
|
|
9266
9393
|
postJobResultMessage(jobUID, true);
|
|
@@ -9271,8 +9398,8 @@
|
|
|
9271
9398
|
try {
|
|
9272
9399
|
const result = await syncResult;
|
|
9273
9400
|
postJobResultMessage(jobUID, true, serialize(result));
|
|
9274
|
-
} catch (
|
|
9275
|
-
postJobErrorMessage(jobUID, serialize(
|
|
9401
|
+
} catch (error46) {
|
|
9402
|
+
postJobErrorMessage(jobUID, serialize(error46));
|
|
9276
9403
|
}
|
|
9277
9404
|
}
|
|
9278
9405
|
}
|
|
@@ -9319,19 +9446,19 @@
|
|
|
9319
9446
|
setTimeout(() => postUncaughtErrorMessage(isErrorEvent(event) ? event.error : event), 250);
|
|
9320
9447
|
});
|
|
9321
9448
|
self2.addEventListener("unhandledrejection", (event) => {
|
|
9322
|
-
const
|
|
9323
|
-
if (
|
|
9324
|
-
setTimeout(() => postUncaughtErrorMessage(
|
|
9449
|
+
const error46 = event.reason;
|
|
9450
|
+
if (error46 && typeof error46.message === "string") {
|
|
9451
|
+
setTimeout(() => postUncaughtErrorMessage(error46), 250);
|
|
9325
9452
|
}
|
|
9326
9453
|
});
|
|
9327
9454
|
}
|
|
9328
9455
|
if (typeof process !== "undefined" && typeof process.on === "function" && implementation.isWorkerRuntime()) {
|
|
9329
|
-
process.on("uncaughtException", (
|
|
9330
|
-
setTimeout(() => postUncaughtErrorMessage(
|
|
9456
|
+
process.on("uncaughtException", (error46) => {
|
|
9457
|
+
setTimeout(() => postUncaughtErrorMessage(error46), 250);
|
|
9331
9458
|
});
|
|
9332
|
-
process.on("unhandledRejection", (
|
|
9333
|
-
if (
|
|
9334
|
-
setTimeout(() => postUncaughtErrorMessage(
|
|
9459
|
+
process.on("unhandledRejection", (error46) => {
|
|
9460
|
+
if (error46 && typeof error46.message === "string") {
|
|
9461
|
+
setTimeout(() => postUncaughtErrorMessage(error46), 250);
|
|
9335
9462
|
}
|
|
9336
9463
|
});
|
|
9337
9464
|
}
|