@puckeditor/plugin-ai 0.1.0-canary.f56e596d → 0.1.0-canary.ff322ae0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +107 -27
- package/dist/index.d.ts +107 -27
- package/dist/index.js +538 -411
- package/dist/index.mjs +537 -410
- package/package.json +4 -5
package/dist/index.js
CHANGED
|
@@ -189,12 +189,14 @@ var require_classnames = __commonJS({
|
|
|
189
189
|
// index.ts
|
|
190
190
|
var index_exports = {};
|
|
191
191
|
__export(index_exports, {
|
|
192
|
-
|
|
193
|
-
default: () => src_default
|
|
192
|
+
createAiPlugin: () => createAiPlugin
|
|
194
193
|
});
|
|
195
194
|
module.exports = __toCommonJS(index_exports);
|
|
196
195
|
init_react_import();
|
|
197
196
|
|
|
197
|
+
// ../ai-types/index.js
|
|
198
|
+
init_react_import();
|
|
199
|
+
|
|
198
200
|
// src/index.tsx
|
|
199
201
|
init_react_import();
|
|
200
202
|
|
|
@@ -338,14 +340,14 @@ var TriangleAlert = createLucideIcon("TriangleAlert", [
|
|
|
338
340
|
// src/components/Chat/index.tsx
|
|
339
341
|
init_react_import();
|
|
340
342
|
|
|
341
|
-
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.1.
|
|
343
|
+
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.1.12/node_modules/@ai-sdk/react/dist/index.mjs
|
|
342
344
|
init_react_import();
|
|
343
345
|
var import_react4 = require("react");
|
|
344
346
|
|
|
345
|
-
// ../../node_modules/.pnpm/ai@5.0.29_zod@4.1.
|
|
347
|
+
// ../../node_modules/.pnpm/ai@5.0.29_zod@4.1.12/node_modules/ai/dist/index.mjs
|
|
346
348
|
init_react_import();
|
|
347
349
|
|
|
348
|
-
// ../../node_modules/.pnpm/@ai-sdk+provider-utils@3.0.7_zod@4.1.
|
|
350
|
+
// ../../node_modules/.pnpm/@ai-sdk+provider-utils@3.0.7_zod@4.1.12/node_modules/@ai-sdk/provider-utils/dist/index.mjs
|
|
349
351
|
init_react_import();
|
|
350
352
|
|
|
351
353
|
// ../../node_modules/.pnpm/@ai-sdk+provider@2.0.0/node_modules/@ai-sdk/provider/dist/index.mjs
|
|
@@ -377,12 +379,12 @@ var _AISDKError = class _AISDKError2 extends Error {
|
|
|
377
379
|
* @param {unknown} error - The error to check.
|
|
378
380
|
* @returns {boolean} True if the error is an AI SDK Error, false otherwise.
|
|
379
381
|
*/
|
|
380
|
-
static isInstance(
|
|
381
|
-
return _AISDKError2.hasMarker(
|
|
382
|
+
static isInstance(error46) {
|
|
383
|
+
return _AISDKError2.hasMarker(error46, marker);
|
|
382
384
|
}
|
|
383
|
-
static hasMarker(
|
|
385
|
+
static hasMarker(error46, marker153) {
|
|
384
386
|
const markerSymbol = Symbol.for(marker153);
|
|
385
|
-
return
|
|
387
|
+
return error46 != null && typeof error46 === "object" && markerSymbol in error46 && typeof error46[markerSymbol] === "boolean" && error46[markerSymbol] === true;
|
|
386
388
|
}
|
|
387
389
|
};
|
|
388
390
|
_a = symbol;
|
|
@@ -397,17 +399,17 @@ var marker3 = `vercel.ai.error.${name2}`;
|
|
|
397
399
|
var symbol3 = Symbol.for(marker3);
|
|
398
400
|
var _a3;
|
|
399
401
|
_a3 = symbol3;
|
|
400
|
-
function getErrorMessage(
|
|
401
|
-
if (
|
|
402
|
+
function getErrorMessage(error46) {
|
|
403
|
+
if (error46 == null) {
|
|
402
404
|
return "unknown error";
|
|
403
405
|
}
|
|
404
|
-
if (typeof
|
|
405
|
-
return
|
|
406
|
+
if (typeof error46 === "string") {
|
|
407
|
+
return error46;
|
|
406
408
|
}
|
|
407
|
-
if (
|
|
408
|
-
return
|
|
409
|
+
if (error46 instanceof Error) {
|
|
410
|
+
return error46.message;
|
|
409
411
|
}
|
|
410
|
-
return JSON.stringify(
|
|
412
|
+
return JSON.stringify(error46);
|
|
411
413
|
}
|
|
412
414
|
var name3 = "AI_InvalidArgumentError";
|
|
413
415
|
var marker4 = `vercel.ai.error.${name3}`;
|
|
@@ -423,8 +425,8 @@ var InvalidArgumentError = class extends AISDKError {
|
|
|
423
425
|
this[_a4] = true;
|
|
424
426
|
this.argument = argument;
|
|
425
427
|
}
|
|
426
|
-
static isInstance(
|
|
427
|
-
return AISDKError.hasMarker(
|
|
428
|
+
static isInstance(error46) {
|
|
429
|
+
return AISDKError.hasMarker(error46, marker4);
|
|
428
430
|
}
|
|
429
431
|
};
|
|
430
432
|
_a4 = symbol4;
|
|
@@ -453,8 +455,8 @@ Error message: ${getErrorMessage(cause)}`,
|
|
|
453
455
|
this[_a7] = true;
|
|
454
456
|
this.text = text2;
|
|
455
457
|
}
|
|
456
|
-
static isInstance(
|
|
457
|
-
return AISDKError.hasMarker(
|
|
458
|
+
static isInstance(error46) {
|
|
459
|
+
return AISDKError.hasMarker(error46, marker7);
|
|
458
460
|
}
|
|
459
461
|
};
|
|
460
462
|
_a7 = symbol7;
|
|
@@ -498,8 +500,8 @@ Error message: ${getErrorMessage(cause)}`,
|
|
|
498
500
|
this[_a13] = true;
|
|
499
501
|
this.value = value;
|
|
500
502
|
}
|
|
501
|
-
static isInstance(
|
|
502
|
-
return AISDKError.hasMarker(
|
|
503
|
+
static isInstance(error46) {
|
|
504
|
+
return AISDKError.hasMarker(error46, marker13);
|
|
503
505
|
}
|
|
504
506
|
/**
|
|
505
507
|
* Wraps an error into a TypeValidationError.
|
|
@@ -643,8 +645,8 @@ var EventSourceParserStream = class extends TransformStream {
|
|
|
643
645
|
onEvent: (event) => {
|
|
644
646
|
controller.enqueue(event);
|
|
645
647
|
},
|
|
646
|
-
onError(
|
|
647
|
-
onError === "terminate" ? controller.error(
|
|
648
|
+
onError(error46) {
|
|
649
|
+
onError === "terminate" ? controller.error(error46) : typeof onError == "function" && onError(error46);
|
|
648
650
|
},
|
|
649
651
|
onRetry,
|
|
650
652
|
onComment
|
|
@@ -657,13 +659,13 @@ var EventSourceParserStream = class extends TransformStream {
|
|
|
657
659
|
}
|
|
658
660
|
};
|
|
659
661
|
|
|
660
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
662
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/index.js
|
|
661
663
|
init_react_import();
|
|
662
664
|
|
|
663
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
665
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/index.js
|
|
664
666
|
init_react_import();
|
|
665
667
|
|
|
666
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
668
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/external.js
|
|
667
669
|
var external_exports = {};
|
|
668
670
|
__export(external_exports, {
|
|
669
671
|
$brand: () => $brand,
|
|
@@ -894,7 +896,7 @@ __export(external_exports, {
|
|
|
894
896
|
});
|
|
895
897
|
init_react_import();
|
|
896
898
|
|
|
897
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
899
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/index.js
|
|
898
900
|
var core_exports2 = {};
|
|
899
901
|
__export(core_exports2, {
|
|
900
902
|
$ZodAny: () => $ZodAny,
|
|
@@ -1159,7 +1161,7 @@ __export(core_exports2, {
|
|
|
1159
1161
|
});
|
|
1160
1162
|
init_react_import();
|
|
1161
1163
|
|
|
1162
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
1164
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/core.js
|
|
1163
1165
|
init_react_import();
|
|
1164
1166
|
var NEVER = Object.freeze({
|
|
1165
1167
|
status: "aborted"
|
|
@@ -1230,13 +1232,13 @@ function config(newConfig) {
|
|
|
1230
1232
|
return globalConfig;
|
|
1231
1233
|
}
|
|
1232
1234
|
|
|
1233
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
1235
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js
|
|
1234
1236
|
init_react_import();
|
|
1235
1237
|
|
|
1236
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
1238
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.js
|
|
1237
1239
|
init_react_import();
|
|
1238
1240
|
|
|
1239
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
1241
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.js
|
|
1240
1242
|
var util_exports = {};
|
|
1241
1243
|
__export(util_exports, {
|
|
1242
1244
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -1874,7 +1876,7 @@ var Class = class {
|
|
|
1874
1876
|
}
|
|
1875
1877
|
};
|
|
1876
1878
|
|
|
1877
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
1879
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.js
|
|
1878
1880
|
var initializer = (inst, def) => {
|
|
1879
1881
|
inst.name = "$ZodError";
|
|
1880
1882
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -1893,10 +1895,10 @@ var initializer = (inst, def) => {
|
|
|
1893
1895
|
};
|
|
1894
1896
|
var $ZodError = $constructor("$ZodError", initializer);
|
|
1895
1897
|
var $ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
|
|
1896
|
-
function flattenError(
|
|
1898
|
+
function flattenError(error46, mapper = (issue2) => issue2.message) {
|
|
1897
1899
|
const fieldErrors = {};
|
|
1898
1900
|
const formErrors = [];
|
|
1899
|
-
for (const sub of
|
|
1901
|
+
for (const sub of error46.issues) {
|
|
1900
1902
|
if (sub.path.length > 0) {
|
|
1901
1903
|
fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
|
|
1902
1904
|
fieldErrors[sub.path[0]].push(mapper(sub));
|
|
@@ -1906,13 +1908,10 @@ function flattenError(error45, mapper = (issue2) => issue2.message) {
|
|
|
1906
1908
|
}
|
|
1907
1909
|
return { formErrors, fieldErrors };
|
|
1908
1910
|
}
|
|
1909
|
-
function formatError(
|
|
1910
|
-
const mapper = _mapper || function(issue2) {
|
|
1911
|
-
return issue2.message;
|
|
1912
|
-
};
|
|
1911
|
+
function formatError(error46, mapper = (issue2) => issue2.message) {
|
|
1913
1912
|
const fieldErrors = { _errors: [] };
|
|
1914
|
-
const processError = (
|
|
1915
|
-
for (const issue2 of
|
|
1913
|
+
const processError = (error47) => {
|
|
1914
|
+
for (const issue2 of error47.issues) {
|
|
1916
1915
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
1917
1916
|
issue2.errors.map((issues) => processError({ issues }));
|
|
1918
1917
|
} else if (issue2.code === "invalid_key") {
|
|
@@ -1939,18 +1938,15 @@ function formatError(error45, _mapper) {
|
|
|
1939
1938
|
}
|
|
1940
1939
|
}
|
|
1941
1940
|
};
|
|
1942
|
-
processError(
|
|
1941
|
+
processError(error46);
|
|
1943
1942
|
return fieldErrors;
|
|
1944
1943
|
}
|
|
1945
|
-
function treeifyError(
|
|
1946
|
-
const mapper = _mapper || function(issue2) {
|
|
1947
|
-
return issue2.message;
|
|
1948
|
-
};
|
|
1944
|
+
function treeifyError(error46, mapper = (issue2) => issue2.message) {
|
|
1949
1945
|
const result = { errors: [] };
|
|
1950
|
-
const processError = (
|
|
1946
|
+
const processError = (error47, path = []) => {
|
|
1951
1947
|
var _a18, _b2, _c, _d;
|
|
1952
1948
|
var _a17, _b;
|
|
1953
|
-
for (const issue2 of
|
|
1949
|
+
for (const issue2 of error47.issues) {
|
|
1954
1950
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
1955
1951
|
issue2.errors.map((issues) => processError({ issues }, issue2.path));
|
|
1956
1952
|
} else if (issue2.code === "invalid_key") {
|
|
@@ -1985,7 +1981,7 @@ function treeifyError(error45, _mapper) {
|
|
|
1985
1981
|
}
|
|
1986
1982
|
}
|
|
1987
1983
|
};
|
|
1988
|
-
processError(
|
|
1984
|
+
processError(error46);
|
|
1989
1985
|
return result;
|
|
1990
1986
|
}
|
|
1991
1987
|
function toDotPath(_path) {
|
|
@@ -2006,10 +2002,10 @@ function toDotPath(_path) {
|
|
|
2006
2002
|
}
|
|
2007
2003
|
return segs.join("");
|
|
2008
2004
|
}
|
|
2009
|
-
function prettifyError(
|
|
2005
|
+
function prettifyError(error46) {
|
|
2010
2006
|
var _a17;
|
|
2011
2007
|
const lines = [];
|
|
2012
|
-
const issues = [...
|
|
2008
|
+
const issues = [...error46.issues].sort((a, b) => {
|
|
2013
2009
|
var _a18, _b;
|
|
2014
2010
|
return ((_a18 = a.path) != null ? _a18 : []).length - ((_b = b.path) != null ? _b : []).length;
|
|
2015
2011
|
});
|
|
@@ -2021,7 +2017,7 @@ function prettifyError(error45) {
|
|
|
2021
2017
|
return lines.join("\n");
|
|
2022
2018
|
}
|
|
2023
2019
|
|
|
2024
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2020
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js
|
|
2025
2021
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
2026
2022
|
var _a17;
|
|
2027
2023
|
const ctx2 = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
@@ -2111,13 +2107,13 @@ var _safeDecodeAsync = (_Err) => (schema, value, _ctx) => __async(null, null, fu
|
|
|
2111
2107
|
});
|
|
2112
2108
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
2113
2109
|
|
|
2114
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2110
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js
|
|
2115
2111
|
init_react_import();
|
|
2116
2112
|
|
|
2117
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2113
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.js
|
|
2118
2114
|
init_react_import();
|
|
2119
2115
|
|
|
2120
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2116
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.js
|
|
2121
2117
|
var regexes_exports = {};
|
|
2122
2118
|
__export(regexes_exports, {
|
|
2123
2119
|
base64: () => base64,
|
|
@@ -2271,7 +2267,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2271
2267
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2272
2268
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2273
2269
|
|
|
2274
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2270
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.js
|
|
2275
2271
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2276
2272
|
var _a18, _b;
|
|
2277
2273
|
var _a17;
|
|
@@ -2837,7 +2833,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2837
2833
|
};
|
|
2838
2834
|
});
|
|
2839
2835
|
|
|
2840
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2836
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/doc.js
|
|
2841
2837
|
init_react_import();
|
|
2842
2838
|
var Doc = class {
|
|
2843
2839
|
constructor(args = []) {
|
|
@@ -2875,15 +2871,15 @@ var Doc = class {
|
|
|
2875
2871
|
}
|
|
2876
2872
|
};
|
|
2877
2873
|
|
|
2878
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2874
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.js
|
|
2879
2875
|
init_react_import();
|
|
2880
2876
|
var version = {
|
|
2881
2877
|
major: 4,
|
|
2882
2878
|
minor: 1,
|
|
2883
|
-
patch:
|
|
2879
|
+
patch: 12
|
|
2884
2880
|
};
|
|
2885
2881
|
|
|
2886
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2882
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js
|
|
2887
2883
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2888
2884
|
var _a18, _b, _c;
|
|
2889
2885
|
var _a17;
|
|
@@ -3620,6 +3616,19 @@ function handleCatchall(proms, input, payload, ctx2, def, inst) {
|
|
|
3620
3616
|
}
|
|
3621
3617
|
var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
3622
3618
|
$ZodType.init(inst, def);
|
|
3619
|
+
const desc = Object.getOwnPropertyDescriptor(def, "shape");
|
|
3620
|
+
if (!(desc == null ? void 0 : desc.get)) {
|
|
3621
|
+
const sh = def.shape;
|
|
3622
|
+
Object.defineProperty(def, "shape", {
|
|
3623
|
+
get: () => {
|
|
3624
|
+
const newSh = __spreadValues({}, sh);
|
|
3625
|
+
Object.defineProperty(def, "shape", {
|
|
3626
|
+
value: newSh
|
|
3627
|
+
});
|
|
3628
|
+
return newSh;
|
|
3629
|
+
}
|
|
3630
|
+
});
|
|
3631
|
+
}
|
|
3623
3632
|
const _normalized = cached(() => normalizeDef(def));
|
|
3624
3633
|
defineLazy(inst._zod, "propValues", () => {
|
|
3625
3634
|
var _a17;
|
|
@@ -4751,12 +4760,13 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4751
4760
|
}
|
|
4752
4761
|
}
|
|
4753
4762
|
|
|
4754
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4763
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/index.js
|
|
4755
4764
|
var locales_exports = {};
|
|
4756
4765
|
__export(locales_exports, {
|
|
4757
4766
|
ar: () => ar_default,
|
|
4758
4767
|
az: () => az_default,
|
|
4759
4768
|
be: () => be_default,
|
|
4769
|
+
bg: () => bg_default,
|
|
4760
4770
|
ca: () => ca_default,
|
|
4761
4771
|
cs: () => cs_default,
|
|
4762
4772
|
da: () => da_default,
|
|
@@ -4803,7 +4813,7 @@ __export(locales_exports, {
|
|
|
4803
4813
|
});
|
|
4804
4814
|
init_react_import();
|
|
4805
4815
|
|
|
4806
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4816
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ar.js
|
|
4807
4817
|
init_react_import();
|
|
4808
4818
|
var error = () => {
|
|
4809
4819
|
const Sizable = {
|
|
@@ -4816,7 +4826,7 @@ var error = () => {
|
|
|
4816
4826
|
var _a17;
|
|
4817
4827
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
4818
4828
|
}
|
|
4819
|
-
const
|
|
4829
|
+
const parsedType8 = (data) => {
|
|
4820
4830
|
const t = typeof data;
|
|
4821
4831
|
switch (t) {
|
|
4822
4832
|
case "number": {
|
|
@@ -4870,7 +4880,7 @@ var error = () => {
|
|
|
4870
4880
|
var _a17, _b, _c, _d;
|
|
4871
4881
|
switch (issue2.code) {
|
|
4872
4882
|
case "invalid_type":
|
|
4873
|
-
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 ${
|
|
4883
|
+
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)}`;
|
|
4874
4884
|
case "invalid_value":
|
|
4875
4885
|
if (issue2.values.length === 1)
|
|
4876
4886
|
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])}`;
|
|
@@ -4923,7 +4933,7 @@ function ar_default() {
|
|
|
4923
4933
|
};
|
|
4924
4934
|
}
|
|
4925
4935
|
|
|
4926
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4936
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/az.js
|
|
4927
4937
|
init_react_import();
|
|
4928
4938
|
var error2 = () => {
|
|
4929
4939
|
const Sizable = {
|
|
@@ -4936,7 +4946,7 @@ var error2 = () => {
|
|
|
4936
4946
|
var _a17;
|
|
4937
4947
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
4938
4948
|
}
|
|
4939
|
-
const
|
|
4949
|
+
const parsedType8 = (data) => {
|
|
4940
4950
|
const t = typeof data;
|
|
4941
4951
|
switch (t) {
|
|
4942
4952
|
case "number": {
|
|
@@ -4990,7 +5000,7 @@ var error2 = () => {
|
|
|
4990
5000
|
var _a17, _b, _c, _d;
|
|
4991
5001
|
switch (issue2.code) {
|
|
4992
5002
|
case "invalid_type":
|
|
4993
|
-
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${issue2.expected}, daxil olan ${
|
|
5003
|
+
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${issue2.expected}, daxil olan ${parsedType8(issue2.input)}`;
|
|
4994
5004
|
case "invalid_value":
|
|
4995
5005
|
if (issue2.values.length === 1)
|
|
4996
5006
|
return `Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5042,7 +5052,7 @@ function az_default() {
|
|
|
5042
5052
|
};
|
|
5043
5053
|
}
|
|
5044
5054
|
|
|
5045
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5055
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/be.js
|
|
5046
5056
|
init_react_import();
|
|
5047
5057
|
function getBelarusianPlural(count, one, few, many) {
|
|
5048
5058
|
const absCount = Math.abs(count);
|
|
@@ -5098,7 +5108,7 @@ var error3 = () => {
|
|
|
5098
5108
|
var _a17;
|
|
5099
5109
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
5100
5110
|
}
|
|
5101
|
-
const
|
|
5111
|
+
const parsedType8 = (data) => {
|
|
5102
5112
|
const t = typeof data;
|
|
5103
5113
|
switch (t) {
|
|
5104
5114
|
case "number": {
|
|
@@ -5152,7 +5162,7 @@ var error3 = () => {
|
|
|
5152
5162
|
var _a17, _b, _c;
|
|
5153
5163
|
switch (issue2.code) {
|
|
5154
5164
|
case "invalid_type":
|
|
5155
|
-
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 ${
|
|
5165
|
+
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)}`;
|
|
5156
5166
|
case "invalid_value":
|
|
5157
5167
|
if (issue2.values.length === 1)
|
|
5158
5168
|
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])}`;
|
|
@@ -5210,9 +5220,141 @@ function be_default() {
|
|
|
5210
5220
|
};
|
|
5211
5221
|
}
|
|
5212
5222
|
|
|
5213
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5223
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/bg.js
|
|
5214
5224
|
init_react_import();
|
|
5225
|
+
var parsedType = (data) => {
|
|
5226
|
+
const t = typeof data;
|
|
5227
|
+
switch (t) {
|
|
5228
|
+
case "number": {
|
|
5229
|
+
return Number.isNaN(data) ? "NaN" : "\u0447\u0438\u0441\u043B\u043E";
|
|
5230
|
+
}
|
|
5231
|
+
case "object": {
|
|
5232
|
+
if (Array.isArray(data)) {
|
|
5233
|
+
return "\u043C\u0430\u0441\u0438\u0432";
|
|
5234
|
+
}
|
|
5235
|
+
if (data === null) {
|
|
5236
|
+
return "null";
|
|
5237
|
+
}
|
|
5238
|
+
if (Object.getPrototypeOf(data) !== Object.prototype && data.constructor) {
|
|
5239
|
+
return data.constructor.name;
|
|
5240
|
+
}
|
|
5241
|
+
}
|
|
5242
|
+
}
|
|
5243
|
+
return t;
|
|
5244
|
+
};
|
|
5215
5245
|
var error4 = () => {
|
|
5246
|
+
const Sizable = {
|
|
5247
|
+
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
5248
|
+
file: { unit: "\u0431\u0430\u0439\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
5249
|
+
array: { unit: "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
5250
|
+
set: { unit: "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" }
|
|
5251
|
+
};
|
|
5252
|
+
function getSizing(origin) {
|
|
5253
|
+
var _a17;
|
|
5254
|
+
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
5255
|
+
}
|
|
5256
|
+
const Nouns = {
|
|
5257
|
+
regex: "\u0432\u0445\u043E\u0434",
|
|
5258
|
+
email: "\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",
|
|
5259
|
+
url: "URL",
|
|
5260
|
+
emoji: "\u0435\u043C\u043E\u0434\u0436\u0438",
|
|
5261
|
+
uuid: "UUID",
|
|
5262
|
+
uuidv4: "UUIDv4",
|
|
5263
|
+
uuidv6: "UUIDv6",
|
|
5264
|
+
nanoid: "nanoid",
|
|
5265
|
+
guid: "GUID",
|
|
5266
|
+
cuid: "cuid",
|
|
5267
|
+
cuid2: "cuid2",
|
|
5268
|
+
ulid: "ULID",
|
|
5269
|
+
xid: "XID",
|
|
5270
|
+
ksuid: "KSUID",
|
|
5271
|
+
datetime: "ISO \u0432\u0440\u0435\u043C\u0435",
|
|
5272
|
+
date: "ISO \u0434\u0430\u0442\u0430",
|
|
5273
|
+
time: "ISO \u0432\u0440\u0435\u043C\u0435",
|
|
5274
|
+
duration: "ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",
|
|
5275
|
+
ipv4: "IPv4 \u0430\u0434\u0440\u0435\u0441",
|
|
5276
|
+
ipv6: "IPv6 \u0430\u0434\u0440\u0435\u0441",
|
|
5277
|
+
cidrv4: "IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",
|
|
5278
|
+
cidrv6: "IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",
|
|
5279
|
+
base64: "base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",
|
|
5280
|
+
base64url: "base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",
|
|
5281
|
+
json_string: "JSON \u043D\u0438\u0437",
|
|
5282
|
+
e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
|
|
5283
|
+
jwt: "JWT",
|
|
5284
|
+
template_literal: "\u0432\u0445\u043E\u0434"
|
|
5285
|
+
};
|
|
5286
|
+
return (issue2) => {
|
|
5287
|
+
var _a17, _b, _c, _d;
|
|
5288
|
+
switch (issue2.code) {
|
|
5289
|
+
case "invalid_type":
|
|
5290
|
+
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)}`;
|
|
5291
|
+
case "invalid_value":
|
|
5292
|
+
if (issue2.values.length === 1)
|
|
5293
|
+
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])}`;
|
|
5294
|
+
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, "|")}`;
|
|
5295
|
+
case "too_big": {
|
|
5296
|
+
const adj = issue2.inclusive ? "<=" : "<";
|
|
5297
|
+
const sizing = getSizing(issue2.origin);
|
|
5298
|
+
if (sizing)
|
|
5299
|
+
return `\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${(_a17 = issue2.origin) != null ? _a17 : "\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${adj}${issue2.maximum.toString()} ${(_b = sizing.unit) != null ? _b : "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`;
|
|
5300
|
+
return `\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${(_c = issue2.origin) != null ? _c : "\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${adj}${issue2.maximum.toString()}`;
|
|
5301
|
+
}
|
|
5302
|
+
case "too_small": {
|
|
5303
|
+
const adj = issue2.inclusive ? ">=" : ">";
|
|
5304
|
+
const sizing = getSizing(issue2.origin);
|
|
5305
|
+
if (sizing) {
|
|
5306
|
+
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}`;
|
|
5307
|
+
}
|
|
5308
|
+
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()}`;
|
|
5309
|
+
}
|
|
5310
|
+
case "invalid_format": {
|
|
5311
|
+
const _issue = issue2;
|
|
5312
|
+
if (_issue.format === "starts_with") {
|
|
5313
|
+
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}"`;
|
|
5314
|
+
}
|
|
5315
|
+
if (_issue.format === "ends_with")
|
|
5316
|
+
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}"`;
|
|
5317
|
+
if (_issue.format === "includes")
|
|
5318
|
+
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}"`;
|
|
5319
|
+
if (_issue.format === "regex")
|
|
5320
|
+
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}`;
|
|
5321
|
+
let invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";
|
|
5322
|
+
if (_issue.format === "emoji")
|
|
5323
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E";
|
|
5324
|
+
if (_issue.format === "datetime")
|
|
5325
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E";
|
|
5326
|
+
if (_issue.format === "date")
|
|
5327
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430";
|
|
5328
|
+
if (_issue.format === "time")
|
|
5329
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E";
|
|
5330
|
+
if (_issue.format === "duration")
|
|
5331
|
+
invalid_adj = "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430";
|
|
5332
|
+
return `${invalid_adj} ${(_d = Nouns[_issue.format]) != null ? _d : issue2.format}`;
|
|
5333
|
+
}
|
|
5334
|
+
case "not_multiple_of":
|
|
5335
|
+
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}`;
|
|
5336
|
+
case "unrecognized_keys":
|
|
5337
|
+
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, ", ")}`;
|
|
5338
|
+
case "invalid_key":
|
|
5339
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${issue2.origin}`;
|
|
5340
|
+
case "invalid_union":
|
|
5341
|
+
return "\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";
|
|
5342
|
+
case "invalid_element":
|
|
5343
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${issue2.origin}`;
|
|
5344
|
+
default:
|
|
5345
|
+
return `\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434`;
|
|
5346
|
+
}
|
|
5347
|
+
};
|
|
5348
|
+
};
|
|
5349
|
+
function bg_default() {
|
|
5350
|
+
return {
|
|
5351
|
+
localeError: error4()
|
|
5352
|
+
};
|
|
5353
|
+
}
|
|
5354
|
+
|
|
5355
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ca.js
|
|
5356
|
+
init_react_import();
|
|
5357
|
+
var error5 = () => {
|
|
5216
5358
|
const Sizable = {
|
|
5217
5359
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
5218
5360
|
file: { unit: "bytes", verb: "contenir" },
|
|
@@ -5223,7 +5365,7 @@ var error4 = () => {
|
|
|
5223
5365
|
var _a17;
|
|
5224
5366
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
5225
5367
|
}
|
|
5226
|
-
const
|
|
5368
|
+
const parsedType8 = (data) => {
|
|
5227
5369
|
const t = typeof data;
|
|
5228
5370
|
switch (t) {
|
|
5229
5371
|
case "number": {
|
|
@@ -5277,7 +5419,7 @@ var error4 = () => {
|
|
|
5277
5419
|
var _a17, _b, _c, _d;
|
|
5278
5420
|
switch (issue2.code) {
|
|
5279
5421
|
case "invalid_type":
|
|
5280
|
-
return `Tipus inv\xE0lid: s'esperava ${issue2.expected}, s'ha rebut ${
|
|
5422
|
+
return `Tipus inv\xE0lid: s'esperava ${issue2.expected}, s'ha rebut ${parsedType8(issue2.input)}`;
|
|
5281
5423
|
// return `Tipus invàlid: s'esperava ${issue.expected}, s'ha rebut ${util.getParsedType(issue.input)}`;
|
|
5282
5424
|
case "invalid_value":
|
|
5283
5425
|
if (issue2.values.length === 1)
|
|
@@ -5329,13 +5471,13 @@ var error4 = () => {
|
|
|
5329
5471
|
};
|
|
5330
5472
|
function ca_default() {
|
|
5331
5473
|
return {
|
|
5332
|
-
localeError:
|
|
5474
|
+
localeError: error5()
|
|
5333
5475
|
};
|
|
5334
5476
|
}
|
|
5335
5477
|
|
|
5336
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5478
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/cs.js
|
|
5337
5479
|
init_react_import();
|
|
5338
|
-
var
|
|
5480
|
+
var error6 = () => {
|
|
5339
5481
|
const Sizable = {
|
|
5340
5482
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
5341
5483
|
file: { unit: "bajt\u016F", verb: "m\xEDt" },
|
|
@@ -5346,7 +5488,7 @@ var error5 = () => {
|
|
|
5346
5488
|
var _a17;
|
|
5347
5489
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
5348
5490
|
}
|
|
5349
|
-
const
|
|
5491
|
+
const parsedType8 = (data) => {
|
|
5350
5492
|
const t = typeof data;
|
|
5351
5493
|
switch (t) {
|
|
5352
5494
|
case "number": {
|
|
@@ -5418,7 +5560,7 @@ var error5 = () => {
|
|
|
5418
5560
|
var _a17, _b, _c, _d, _e, _f, _g;
|
|
5419
5561
|
switch (issue2.code) {
|
|
5420
5562
|
case "invalid_type":
|
|
5421
|
-
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${issue2.expected}, obdr\u017Eeno ${
|
|
5563
|
+
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${issue2.expected}, obdr\u017Eeno ${parsedType8(issue2.input)}`;
|
|
5422
5564
|
case "invalid_value":
|
|
5423
5565
|
if (issue2.values.length === 1)
|
|
5424
5566
|
return `Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5468,13 +5610,13 @@ var error5 = () => {
|
|
|
5468
5610
|
};
|
|
5469
5611
|
function cs_default() {
|
|
5470
5612
|
return {
|
|
5471
|
-
localeError:
|
|
5613
|
+
localeError: error6()
|
|
5472
5614
|
};
|
|
5473
5615
|
}
|
|
5474
5616
|
|
|
5475
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5617
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/da.js
|
|
5476
5618
|
init_react_import();
|
|
5477
|
-
var
|
|
5619
|
+
var error7 = () => {
|
|
5478
5620
|
const Sizable = {
|
|
5479
5621
|
string: { unit: "tegn", verb: "havde" },
|
|
5480
5622
|
file: { unit: "bytes", verb: "havde" },
|
|
@@ -5498,7 +5640,7 @@ var error6 = () => {
|
|
|
5498
5640
|
var _a17;
|
|
5499
5641
|
return (_a17 = TypeNames[type]) != null ? _a17 : type;
|
|
5500
5642
|
}
|
|
5501
|
-
const
|
|
5643
|
+
const parsedType8 = (data) => {
|
|
5502
5644
|
const t = typeof data;
|
|
5503
5645
|
switch (t) {
|
|
5504
5646
|
case "number": {
|
|
@@ -5553,7 +5695,7 @@ var error6 = () => {
|
|
|
5553
5695
|
var _a17, _b;
|
|
5554
5696
|
switch (issue2.code) {
|
|
5555
5697
|
case "invalid_type":
|
|
5556
|
-
return `Ugyldigt input: forventede ${getTypeName(issue2.expected)}, fik ${getTypeName(
|
|
5698
|
+
return `Ugyldigt input: forventede ${getTypeName(issue2.expected)}, fik ${getTypeName(parsedType8(issue2.input))}`;
|
|
5557
5699
|
case "invalid_value":
|
|
5558
5700
|
if (issue2.values.length === 1)
|
|
5559
5701
|
return `Ugyldig v\xE6rdi: forventede ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5604,13 +5746,13 @@ var error6 = () => {
|
|
|
5604
5746
|
};
|
|
5605
5747
|
function da_default() {
|
|
5606
5748
|
return {
|
|
5607
|
-
localeError:
|
|
5749
|
+
localeError: error7()
|
|
5608
5750
|
};
|
|
5609
5751
|
}
|
|
5610
5752
|
|
|
5611
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5753
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/de.js
|
|
5612
5754
|
init_react_import();
|
|
5613
|
-
var
|
|
5755
|
+
var error8 = () => {
|
|
5614
5756
|
const Sizable = {
|
|
5615
5757
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
5616
5758
|
file: { unit: "Bytes", verb: "zu haben" },
|
|
@@ -5621,7 +5763,7 @@ var error7 = () => {
|
|
|
5621
5763
|
var _a17;
|
|
5622
5764
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
5623
5765
|
}
|
|
5624
|
-
const
|
|
5766
|
+
const parsedType8 = (data) => {
|
|
5625
5767
|
const t = typeof data;
|
|
5626
5768
|
switch (t) {
|
|
5627
5769
|
case "number": {
|
|
@@ -5675,7 +5817,7 @@ var error7 = () => {
|
|
|
5675
5817
|
var _a17, _b, _c, _d;
|
|
5676
5818
|
switch (issue2.code) {
|
|
5677
5819
|
case "invalid_type":
|
|
5678
|
-
return `Ung\xFCltige Eingabe: erwartet ${issue2.expected}, erhalten ${
|
|
5820
|
+
return `Ung\xFCltige Eingabe: erwartet ${issue2.expected}, erhalten ${parsedType8(issue2.input)}`;
|
|
5679
5821
|
case "invalid_value":
|
|
5680
5822
|
if (issue2.values.length === 1)
|
|
5681
5823
|
return `Ung\xFCltige Eingabe: erwartet ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5724,13 +5866,13 @@ var error7 = () => {
|
|
|
5724
5866
|
};
|
|
5725
5867
|
function de_default() {
|
|
5726
5868
|
return {
|
|
5727
|
-
localeError:
|
|
5869
|
+
localeError: error8()
|
|
5728
5870
|
};
|
|
5729
5871
|
}
|
|
5730
5872
|
|
|
5731
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5873
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/en.js
|
|
5732
5874
|
init_react_import();
|
|
5733
|
-
var
|
|
5875
|
+
var parsedType2 = (data) => {
|
|
5734
5876
|
const t = typeof data;
|
|
5735
5877
|
switch (t) {
|
|
5736
5878
|
case "number": {
|
|
@@ -5750,7 +5892,7 @@ var parsedType = (data) => {
|
|
|
5750
5892
|
}
|
|
5751
5893
|
return t;
|
|
5752
5894
|
};
|
|
5753
|
-
var
|
|
5895
|
+
var error9 = () => {
|
|
5754
5896
|
const Sizable = {
|
|
5755
5897
|
string: { unit: "characters", verb: "to have" },
|
|
5756
5898
|
file: { unit: "bytes", verb: "to have" },
|
|
@@ -5795,7 +5937,7 @@ var error8 = () => {
|
|
|
5795
5937
|
var _a17, _b, _c, _d;
|
|
5796
5938
|
switch (issue2.code) {
|
|
5797
5939
|
case "invalid_type":
|
|
5798
|
-
return `Invalid input: expected ${issue2.expected}, received ${
|
|
5940
|
+
return `Invalid input: expected ${issue2.expected}, received ${parsedType2(issue2.input)}`;
|
|
5799
5941
|
case "invalid_value":
|
|
5800
5942
|
if (issue2.values.length === 1)
|
|
5801
5943
|
return `Invalid input: expected ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5845,13 +5987,13 @@ var error8 = () => {
|
|
|
5845
5987
|
};
|
|
5846
5988
|
function en_default() {
|
|
5847
5989
|
return {
|
|
5848
|
-
localeError:
|
|
5990
|
+
localeError: error9()
|
|
5849
5991
|
};
|
|
5850
5992
|
}
|
|
5851
5993
|
|
|
5852
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
5994
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/eo.js
|
|
5853
5995
|
init_react_import();
|
|
5854
|
-
var
|
|
5996
|
+
var parsedType3 = (data) => {
|
|
5855
5997
|
const t = typeof data;
|
|
5856
5998
|
switch (t) {
|
|
5857
5999
|
case "number": {
|
|
@@ -5871,7 +6013,7 @@ var parsedType2 = (data) => {
|
|
|
5871
6013
|
}
|
|
5872
6014
|
return t;
|
|
5873
6015
|
};
|
|
5874
|
-
var
|
|
6016
|
+
var error10 = () => {
|
|
5875
6017
|
const Sizable = {
|
|
5876
6018
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
5877
6019
|
file: { unit: "bajtojn", verb: "havi" },
|
|
@@ -5916,7 +6058,7 @@ var error9 = () => {
|
|
|
5916
6058
|
var _a17, _b, _c, _d;
|
|
5917
6059
|
switch (issue2.code) {
|
|
5918
6060
|
case "invalid_type":
|
|
5919
|
-
return `Nevalida enigo: atendi\u011Dis ${issue2.expected}, ricevi\u011Dis ${
|
|
6061
|
+
return `Nevalida enigo: atendi\u011Dis ${issue2.expected}, ricevi\u011Dis ${parsedType3(issue2.input)}`;
|
|
5920
6062
|
case "invalid_value":
|
|
5921
6063
|
if (issue2.values.length === 1)
|
|
5922
6064
|
return `Nevalida enigo: atendi\u011Dis ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -5965,13 +6107,13 @@ var error9 = () => {
|
|
|
5965
6107
|
};
|
|
5966
6108
|
function eo_default() {
|
|
5967
6109
|
return {
|
|
5968
|
-
localeError:
|
|
6110
|
+
localeError: error10()
|
|
5969
6111
|
};
|
|
5970
6112
|
}
|
|
5971
6113
|
|
|
5972
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6114
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/es.js
|
|
5973
6115
|
init_react_import();
|
|
5974
|
-
var
|
|
6116
|
+
var error11 = () => {
|
|
5975
6117
|
const Sizable = {
|
|
5976
6118
|
string: { unit: "caracteres", verb: "tener" },
|
|
5977
6119
|
file: { unit: "bytes", verb: "tener" },
|
|
@@ -6012,7 +6154,7 @@ var error10 = () => {
|
|
|
6012
6154
|
var _a17;
|
|
6013
6155
|
return (_a17 = TypeNames[type]) != null ? _a17 : type;
|
|
6014
6156
|
}
|
|
6015
|
-
const
|
|
6157
|
+
const parsedType8 = (data) => {
|
|
6016
6158
|
const t = typeof data;
|
|
6017
6159
|
switch (t) {
|
|
6018
6160
|
case "number": {
|
|
@@ -6067,7 +6209,7 @@ var error10 = () => {
|
|
|
6067
6209
|
var _a17, _b;
|
|
6068
6210
|
switch (issue2.code) {
|
|
6069
6211
|
case "invalid_type":
|
|
6070
|
-
return `Entrada inv\xE1lida: se esperaba ${getTypeName(issue2.expected)}, recibido ${getTypeName(
|
|
6212
|
+
return `Entrada inv\xE1lida: se esperaba ${getTypeName(issue2.expected)}, recibido ${getTypeName(parsedType8(issue2.input))}`;
|
|
6071
6213
|
// return `Entrada inválida: se esperaba ${issue.expected}, recibido ${util.getParsedType(issue.input)}`;
|
|
6072
6214
|
case "invalid_value":
|
|
6073
6215
|
if (issue2.values.length === 1)
|
|
@@ -6119,13 +6261,13 @@ var error10 = () => {
|
|
|
6119
6261
|
};
|
|
6120
6262
|
function es_default() {
|
|
6121
6263
|
return {
|
|
6122
|
-
localeError:
|
|
6264
|
+
localeError: error11()
|
|
6123
6265
|
};
|
|
6124
6266
|
}
|
|
6125
6267
|
|
|
6126
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6268
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/fa.js
|
|
6127
6269
|
init_react_import();
|
|
6128
|
-
var
|
|
6270
|
+
var error12 = () => {
|
|
6129
6271
|
const Sizable = {
|
|
6130
6272
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
6131
6273
|
file: { unit: "\u0628\u0627\u06CC\u062A", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -6136,7 +6278,7 @@ var error11 = () => {
|
|
|
6136
6278
|
var _a17;
|
|
6137
6279
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6138
6280
|
}
|
|
6139
|
-
const
|
|
6281
|
+
const parsedType8 = (data) => {
|
|
6140
6282
|
const t = typeof data;
|
|
6141
6283
|
switch (t) {
|
|
6142
6284
|
case "number": {
|
|
@@ -6190,7 +6332,7 @@ var error11 = () => {
|
|
|
6190
6332
|
var _a17, _b, _c, _d;
|
|
6191
6333
|
switch (issue2.code) {
|
|
6192
6334
|
case "invalid_type":
|
|
6193
|
-
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 ${
|
|
6335
|
+
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`;
|
|
6194
6336
|
case "invalid_value":
|
|
6195
6337
|
if (issue2.values.length === 1) {
|
|
6196
6338
|
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`;
|
|
@@ -6245,13 +6387,13 @@ var error11 = () => {
|
|
|
6245
6387
|
};
|
|
6246
6388
|
function fa_default() {
|
|
6247
6389
|
return {
|
|
6248
|
-
localeError:
|
|
6390
|
+
localeError: error12()
|
|
6249
6391
|
};
|
|
6250
6392
|
}
|
|
6251
6393
|
|
|
6252
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6394
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/fi.js
|
|
6253
6395
|
init_react_import();
|
|
6254
|
-
var
|
|
6396
|
+
var error13 = () => {
|
|
6255
6397
|
const Sizable = {
|
|
6256
6398
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
6257
6399
|
file: { unit: "tavua", subject: "tiedoston" },
|
|
@@ -6266,7 +6408,7 @@ var error12 = () => {
|
|
|
6266
6408
|
var _a17;
|
|
6267
6409
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6268
6410
|
}
|
|
6269
|
-
const
|
|
6411
|
+
const parsedType8 = (data) => {
|
|
6270
6412
|
const t = typeof data;
|
|
6271
6413
|
switch (t) {
|
|
6272
6414
|
case "number": {
|
|
@@ -6320,7 +6462,7 @@ var error12 = () => {
|
|
|
6320
6462
|
var _a17;
|
|
6321
6463
|
switch (issue2.code) {
|
|
6322
6464
|
case "invalid_type":
|
|
6323
|
-
return `Virheellinen tyyppi: odotettiin ${issue2.expected}, oli ${
|
|
6465
|
+
return `Virheellinen tyyppi: odotettiin ${issue2.expected}, oli ${parsedType8(issue2.input)}`;
|
|
6324
6466
|
case "invalid_value":
|
|
6325
6467
|
if (issue2.values.length === 1)
|
|
6326
6468
|
return `Virheellinen sy\xF6te: t\xE4ytyy olla ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6371,13 +6513,13 @@ var error12 = () => {
|
|
|
6371
6513
|
};
|
|
6372
6514
|
function fi_default() {
|
|
6373
6515
|
return {
|
|
6374
|
-
localeError:
|
|
6516
|
+
localeError: error13()
|
|
6375
6517
|
};
|
|
6376
6518
|
}
|
|
6377
6519
|
|
|
6378
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6520
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/fr.js
|
|
6379
6521
|
init_react_import();
|
|
6380
|
-
var
|
|
6522
|
+
var error14 = () => {
|
|
6381
6523
|
const Sizable = {
|
|
6382
6524
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
6383
6525
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -6388,7 +6530,7 @@ var error13 = () => {
|
|
|
6388
6530
|
var _a17;
|
|
6389
6531
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6390
6532
|
}
|
|
6391
|
-
const
|
|
6533
|
+
const parsedType8 = (data) => {
|
|
6392
6534
|
const t = typeof data;
|
|
6393
6535
|
switch (t) {
|
|
6394
6536
|
case "number": {
|
|
@@ -6442,7 +6584,7 @@ var error13 = () => {
|
|
|
6442
6584
|
var _a17, _b, _c, _d;
|
|
6443
6585
|
switch (issue2.code) {
|
|
6444
6586
|
case "invalid_type":
|
|
6445
|
-
return `Entr\xE9e invalide : ${issue2.expected} attendu, ${
|
|
6587
|
+
return `Entr\xE9e invalide : ${issue2.expected} attendu, ${parsedType8(issue2.input)} re\xE7u`;
|
|
6446
6588
|
case "invalid_value":
|
|
6447
6589
|
if (issue2.values.length === 1)
|
|
6448
6590
|
return `Entr\xE9e invalide : ${stringifyPrimitive(issue2.values[0])} attendu`;
|
|
@@ -6491,13 +6633,13 @@ var error13 = () => {
|
|
|
6491
6633
|
};
|
|
6492
6634
|
function fr_default() {
|
|
6493
6635
|
return {
|
|
6494
|
-
localeError:
|
|
6636
|
+
localeError: error14()
|
|
6495
6637
|
};
|
|
6496
6638
|
}
|
|
6497
6639
|
|
|
6498
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6640
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/fr-CA.js
|
|
6499
6641
|
init_react_import();
|
|
6500
|
-
var
|
|
6642
|
+
var error15 = () => {
|
|
6501
6643
|
const Sizable = {
|
|
6502
6644
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
6503
6645
|
file: { unit: "octets", verb: "avoir" },
|
|
@@ -6508,7 +6650,7 @@ var error14 = () => {
|
|
|
6508
6650
|
var _a17;
|
|
6509
6651
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6510
6652
|
}
|
|
6511
|
-
const
|
|
6653
|
+
const parsedType8 = (data) => {
|
|
6512
6654
|
const t = typeof data;
|
|
6513
6655
|
switch (t) {
|
|
6514
6656
|
case "number": {
|
|
@@ -6562,7 +6704,7 @@ var error14 = () => {
|
|
|
6562
6704
|
var _a17, _b, _c;
|
|
6563
6705
|
switch (issue2.code) {
|
|
6564
6706
|
case "invalid_type":
|
|
6565
|
-
return `Entr\xE9e invalide : attendu ${issue2.expected}, re\xE7u ${
|
|
6707
|
+
return `Entr\xE9e invalide : attendu ${issue2.expected}, re\xE7u ${parsedType8(issue2.input)}`;
|
|
6566
6708
|
case "invalid_value":
|
|
6567
6709
|
if (issue2.values.length === 1)
|
|
6568
6710
|
return `Entr\xE9e invalide : attendu ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6612,13 +6754,13 @@ var error14 = () => {
|
|
|
6612
6754
|
};
|
|
6613
6755
|
function fr_CA_default() {
|
|
6614
6756
|
return {
|
|
6615
|
-
localeError:
|
|
6757
|
+
localeError: error15()
|
|
6616
6758
|
};
|
|
6617
6759
|
}
|
|
6618
6760
|
|
|
6619
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6761
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/he.js
|
|
6620
6762
|
init_react_import();
|
|
6621
|
-
var
|
|
6763
|
+
var error16 = () => {
|
|
6622
6764
|
const Sizable = {
|
|
6623
6765
|
string: { unit: "\u05D0\u05D5\u05EA\u05D9\u05D5\u05EA", verb: "\u05DC\u05DB\u05DC\u05D5\u05DC" },
|
|
6624
6766
|
file: { unit: "\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD", verb: "\u05DC\u05DB\u05DC\u05D5\u05DC" },
|
|
@@ -6629,7 +6771,7 @@ var error15 = () => {
|
|
|
6629
6771
|
var _a17;
|
|
6630
6772
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6631
6773
|
}
|
|
6632
|
-
const
|
|
6774
|
+
const parsedType8 = (data) => {
|
|
6633
6775
|
const t = typeof data;
|
|
6634
6776
|
switch (t) {
|
|
6635
6777
|
case "number": {
|
|
@@ -6683,7 +6825,7 @@ var error15 = () => {
|
|
|
6683
6825
|
var _a17, _b, _c, _d;
|
|
6684
6826
|
switch (issue2.code) {
|
|
6685
6827
|
case "invalid_type":
|
|
6686
|
-
return `\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${issue2.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${
|
|
6828
|
+
return `\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${issue2.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${parsedType8(issue2.input)}`;
|
|
6687
6829
|
// return `Invalid input: expected ${issue.expected}, received ${util.getParsedType(issue.input)}`;
|
|
6688
6830
|
case "invalid_value":
|
|
6689
6831
|
if (issue2.values.length === 1)
|
|
@@ -6733,13 +6875,13 @@ var error15 = () => {
|
|
|
6733
6875
|
};
|
|
6734
6876
|
function he_default() {
|
|
6735
6877
|
return {
|
|
6736
|
-
localeError:
|
|
6878
|
+
localeError: error16()
|
|
6737
6879
|
};
|
|
6738
6880
|
}
|
|
6739
6881
|
|
|
6740
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
6882
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/hu.js
|
|
6741
6883
|
init_react_import();
|
|
6742
|
-
var
|
|
6884
|
+
var error17 = () => {
|
|
6743
6885
|
const Sizable = {
|
|
6744
6886
|
string: { unit: "karakter", verb: "legyen" },
|
|
6745
6887
|
file: { unit: "byte", verb: "legyen" },
|
|
@@ -6750,7 +6892,7 @@ var error16 = () => {
|
|
|
6750
6892
|
var _a17;
|
|
6751
6893
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6752
6894
|
}
|
|
6753
|
-
const
|
|
6895
|
+
const parsedType8 = (data) => {
|
|
6754
6896
|
const t = typeof data;
|
|
6755
6897
|
switch (t) {
|
|
6756
6898
|
case "number": {
|
|
@@ -6804,7 +6946,7 @@ var error16 = () => {
|
|
|
6804
6946
|
var _a17, _b, _c, _d;
|
|
6805
6947
|
switch (issue2.code) {
|
|
6806
6948
|
case "invalid_type":
|
|
6807
|
-
return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${issue2.expected}, a kapott \xE9rt\xE9k ${
|
|
6949
|
+
return `\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${issue2.expected}, a kapott \xE9rt\xE9k ${parsedType8(issue2.input)}`;
|
|
6808
6950
|
// return `Invalid input: expected ${issue.expected}, received ${util.getParsedType(issue.input)}`;
|
|
6809
6951
|
case "invalid_value":
|
|
6810
6952
|
if (issue2.values.length === 1)
|
|
@@ -6854,13 +6996,13 @@ var error16 = () => {
|
|
|
6854
6996
|
};
|
|
6855
6997
|
function hu_default() {
|
|
6856
6998
|
return {
|
|
6857
|
-
localeError:
|
|
6999
|
+
localeError: error17()
|
|
6858
7000
|
};
|
|
6859
7001
|
}
|
|
6860
7002
|
|
|
6861
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7003
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/id.js
|
|
6862
7004
|
init_react_import();
|
|
6863
|
-
var
|
|
7005
|
+
var error18 = () => {
|
|
6864
7006
|
const Sizable = {
|
|
6865
7007
|
string: { unit: "karakter", verb: "memiliki" },
|
|
6866
7008
|
file: { unit: "byte", verb: "memiliki" },
|
|
@@ -6871,7 +7013,7 @@ var error17 = () => {
|
|
|
6871
7013
|
var _a17;
|
|
6872
7014
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
6873
7015
|
}
|
|
6874
|
-
const
|
|
7016
|
+
const parsedType8 = (data) => {
|
|
6875
7017
|
const t = typeof data;
|
|
6876
7018
|
switch (t) {
|
|
6877
7019
|
case "number": {
|
|
@@ -6925,7 +7067,7 @@ var error17 = () => {
|
|
|
6925
7067
|
var _a17, _b, _c, _d;
|
|
6926
7068
|
switch (issue2.code) {
|
|
6927
7069
|
case "invalid_type":
|
|
6928
|
-
return `Input tidak valid: diharapkan ${issue2.expected}, diterima ${
|
|
7070
|
+
return `Input tidak valid: diharapkan ${issue2.expected}, diterima ${parsedType8(issue2.input)}`;
|
|
6929
7071
|
case "invalid_value":
|
|
6930
7072
|
if (issue2.values.length === 1)
|
|
6931
7073
|
return `Input tidak valid: diharapkan ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -6974,13 +7116,13 @@ var error17 = () => {
|
|
|
6974
7116
|
};
|
|
6975
7117
|
function id_default() {
|
|
6976
7118
|
return {
|
|
6977
|
-
localeError:
|
|
7119
|
+
localeError: error18()
|
|
6978
7120
|
};
|
|
6979
7121
|
}
|
|
6980
7122
|
|
|
6981
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7123
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/is.js
|
|
6982
7124
|
init_react_import();
|
|
6983
|
-
var
|
|
7125
|
+
var parsedType4 = (data) => {
|
|
6984
7126
|
const t = typeof data;
|
|
6985
7127
|
switch (t) {
|
|
6986
7128
|
case "number": {
|
|
@@ -7000,7 +7142,7 @@ var parsedType3 = (data) => {
|
|
|
7000
7142
|
}
|
|
7001
7143
|
return t;
|
|
7002
7144
|
};
|
|
7003
|
-
var
|
|
7145
|
+
var error19 = () => {
|
|
7004
7146
|
const Sizable = {
|
|
7005
7147
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
7006
7148
|
file: { unit: "b\xE6ti", verb: "a\xF0 hafa" },
|
|
@@ -7045,7 +7187,7 @@ var error18 = () => {
|
|
|
7045
7187
|
var _a17, _b, _c, _d;
|
|
7046
7188
|
switch (issue2.code) {
|
|
7047
7189
|
case "invalid_type":
|
|
7048
|
-
return `Rangt gildi: \xDE\xFA sl\xF3st inn ${
|
|
7190
|
+
return `Rangt gildi: \xDE\xFA sl\xF3st inn ${parsedType4(issue2.input)} \xFEar sem \xE1 a\xF0 vera ${issue2.expected}`;
|
|
7049
7191
|
case "invalid_value":
|
|
7050
7192
|
if (issue2.values.length === 1)
|
|
7051
7193
|
return `Rangt gildi: gert r\xE1\xF0 fyrir ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7095,13 +7237,13 @@ var error18 = () => {
|
|
|
7095
7237
|
};
|
|
7096
7238
|
function is_default() {
|
|
7097
7239
|
return {
|
|
7098
|
-
localeError:
|
|
7240
|
+
localeError: error19()
|
|
7099
7241
|
};
|
|
7100
7242
|
}
|
|
7101
7243
|
|
|
7102
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7244
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/it.js
|
|
7103
7245
|
init_react_import();
|
|
7104
|
-
var
|
|
7246
|
+
var error20 = () => {
|
|
7105
7247
|
const Sizable = {
|
|
7106
7248
|
string: { unit: "caratteri", verb: "avere" },
|
|
7107
7249
|
file: { unit: "byte", verb: "avere" },
|
|
@@ -7112,7 +7254,7 @@ var error19 = () => {
|
|
|
7112
7254
|
var _a17;
|
|
7113
7255
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
7114
7256
|
}
|
|
7115
|
-
const
|
|
7257
|
+
const parsedType8 = (data) => {
|
|
7116
7258
|
const t = typeof data;
|
|
7117
7259
|
switch (t) {
|
|
7118
7260
|
case "number": {
|
|
@@ -7166,7 +7308,7 @@ var error19 = () => {
|
|
|
7166
7308
|
var _a17, _b, _c, _d;
|
|
7167
7309
|
switch (issue2.code) {
|
|
7168
7310
|
case "invalid_type":
|
|
7169
|
-
return `Input non valido: atteso ${issue2.expected}, ricevuto ${
|
|
7311
|
+
return `Input non valido: atteso ${issue2.expected}, ricevuto ${parsedType8(issue2.input)}`;
|
|
7170
7312
|
// return `Input non valido: atteso ${issue.expected}, ricevuto ${util.getParsedType(issue.input)}`;
|
|
7171
7313
|
case "invalid_value":
|
|
7172
7314
|
if (issue2.values.length === 1)
|
|
@@ -7216,13 +7358,13 @@ var error19 = () => {
|
|
|
7216
7358
|
};
|
|
7217
7359
|
function it_default() {
|
|
7218
7360
|
return {
|
|
7219
|
-
localeError:
|
|
7361
|
+
localeError: error20()
|
|
7220
7362
|
};
|
|
7221
7363
|
}
|
|
7222
7364
|
|
|
7223
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7365
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ja.js
|
|
7224
7366
|
init_react_import();
|
|
7225
|
-
var
|
|
7367
|
+
var error21 = () => {
|
|
7226
7368
|
const Sizable = {
|
|
7227
7369
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
7228
7370
|
file: { unit: "\u30D0\u30A4\u30C8", verb: "\u3067\u3042\u308B" },
|
|
@@ -7233,7 +7375,7 @@ var error20 = () => {
|
|
|
7233
7375
|
var _a17;
|
|
7234
7376
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
7235
7377
|
}
|
|
7236
|
-
const
|
|
7378
|
+
const parsedType8 = (data) => {
|
|
7237
7379
|
const t = typeof data;
|
|
7238
7380
|
switch (t) {
|
|
7239
7381
|
case "number": {
|
|
@@ -7287,7 +7429,7 @@ var error20 = () => {
|
|
|
7287
7429
|
var _a17, _b, _c, _d;
|
|
7288
7430
|
switch (issue2.code) {
|
|
7289
7431
|
case "invalid_type":
|
|
7290
|
-
return `\u7121\u52B9\u306A\u5165\u529B: ${issue2.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${
|
|
7432
|
+
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`;
|
|
7291
7433
|
case "invalid_value":
|
|
7292
7434
|
if (issue2.values.length === 1)
|
|
7293
7435
|
return `\u7121\u52B9\u306A\u5165\u529B: ${stringifyPrimitive(issue2.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`;
|
|
@@ -7335,13 +7477,13 @@ var error20 = () => {
|
|
|
7335
7477
|
};
|
|
7336
7478
|
function ja_default() {
|
|
7337
7479
|
return {
|
|
7338
|
-
localeError:
|
|
7480
|
+
localeError: error21()
|
|
7339
7481
|
};
|
|
7340
7482
|
}
|
|
7341
7483
|
|
|
7342
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7484
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ka.js
|
|
7343
7485
|
init_react_import();
|
|
7344
|
-
var
|
|
7486
|
+
var parsedType5 = (data) => {
|
|
7345
7487
|
var _a17;
|
|
7346
7488
|
const t = typeof data;
|
|
7347
7489
|
switch (t) {
|
|
@@ -7370,7 +7512,7 @@ var parsedType4 = (data) => {
|
|
|
7370
7512
|
};
|
|
7371
7513
|
return (_a17 = typeMap[t]) != null ? _a17 : t;
|
|
7372
7514
|
};
|
|
7373
|
-
var
|
|
7515
|
+
var error22 = () => {
|
|
7374
7516
|
const Sizable = {
|
|
7375
7517
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
7376
7518
|
file: { unit: "\u10D1\u10D0\u10D8\u10E2\u10D8", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -7415,7 +7557,7 @@ var error21 = () => {
|
|
|
7415
7557
|
var _a17, _b, _c;
|
|
7416
7558
|
switch (issue2.code) {
|
|
7417
7559
|
case "invalid_type":
|
|
7418
|
-
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 ${
|
|
7560
|
+
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)}`;
|
|
7419
7561
|
case "invalid_value":
|
|
7420
7562
|
if (issue2.values.length === 1)
|
|
7421
7563
|
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])}`;
|
|
@@ -7465,16 +7607,16 @@ var error21 = () => {
|
|
|
7465
7607
|
};
|
|
7466
7608
|
function ka_default() {
|
|
7467
7609
|
return {
|
|
7468
|
-
localeError:
|
|
7610
|
+
localeError: error22()
|
|
7469
7611
|
};
|
|
7470
7612
|
}
|
|
7471
7613
|
|
|
7472
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7614
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/kh.js
|
|
7473
7615
|
init_react_import();
|
|
7474
7616
|
|
|
7475
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7617
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/km.js
|
|
7476
7618
|
init_react_import();
|
|
7477
|
-
var
|
|
7619
|
+
var error23 = () => {
|
|
7478
7620
|
const Sizable = {
|
|
7479
7621
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
7480
7622
|
file: { unit: "\u1794\u17C3", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -7485,7 +7627,7 @@ var error22 = () => {
|
|
|
7485
7627
|
var _a17;
|
|
7486
7628
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
7487
7629
|
}
|
|
7488
|
-
const
|
|
7630
|
+
const parsedType8 = (data) => {
|
|
7489
7631
|
const t = typeof data;
|
|
7490
7632
|
switch (t) {
|
|
7491
7633
|
case "number": {
|
|
@@ -7539,7 +7681,7 @@ var error22 = () => {
|
|
|
7539
7681
|
var _a17, _b, _c, _d;
|
|
7540
7682
|
switch (issue2.code) {
|
|
7541
7683
|
case "invalid_type":
|
|
7542
|
-
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 ${
|
|
7684
|
+
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)}`;
|
|
7543
7685
|
case "invalid_value":
|
|
7544
7686
|
if (issue2.values.length === 1)
|
|
7545
7687
|
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])}`;
|
|
@@ -7589,18 +7731,18 @@ var error22 = () => {
|
|
|
7589
7731
|
};
|
|
7590
7732
|
function km_default() {
|
|
7591
7733
|
return {
|
|
7592
|
-
localeError:
|
|
7734
|
+
localeError: error23()
|
|
7593
7735
|
};
|
|
7594
7736
|
}
|
|
7595
7737
|
|
|
7596
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7738
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/kh.js
|
|
7597
7739
|
function kh_default() {
|
|
7598
7740
|
return km_default();
|
|
7599
7741
|
}
|
|
7600
7742
|
|
|
7601
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7743
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ko.js
|
|
7602
7744
|
init_react_import();
|
|
7603
|
-
var
|
|
7745
|
+
var error24 = () => {
|
|
7604
7746
|
const Sizable = {
|
|
7605
7747
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
7606
7748
|
file: { unit: "\uBC14\uC774\uD2B8", verb: "to have" },
|
|
@@ -7611,7 +7753,7 @@ var error23 = () => {
|
|
|
7611
7753
|
var _a17;
|
|
7612
7754
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
7613
7755
|
}
|
|
7614
|
-
const
|
|
7756
|
+
const parsedType8 = (data) => {
|
|
7615
7757
|
const t = typeof data;
|
|
7616
7758
|
switch (t) {
|
|
7617
7759
|
case "number": {
|
|
@@ -7665,7 +7807,7 @@ var error23 = () => {
|
|
|
7665
7807
|
var _a17, _b, _c, _d, _e, _f, _g;
|
|
7666
7808
|
switch (issue2.code) {
|
|
7667
7809
|
case "invalid_type":
|
|
7668
|
-
return `\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${issue2.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${
|
|
7810
|
+
return `\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${issue2.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${parsedType8(issue2.input)}\uC785\uB2C8\uB2E4`;
|
|
7669
7811
|
case "invalid_value":
|
|
7670
7812
|
if (issue2.values.length === 1)
|
|
7671
7813
|
return `\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${stringifyPrimitive(issue2.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`;
|
|
@@ -7719,13 +7861,13 @@ var error23 = () => {
|
|
|
7719
7861
|
};
|
|
7720
7862
|
function ko_default() {
|
|
7721
7863
|
return {
|
|
7722
|
-
localeError:
|
|
7864
|
+
localeError: error24()
|
|
7723
7865
|
};
|
|
7724
7866
|
}
|
|
7725
7867
|
|
|
7726
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
7868
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/lt.js
|
|
7727
7869
|
init_react_import();
|
|
7728
|
-
var
|
|
7870
|
+
var parsedType6 = (data) => {
|
|
7729
7871
|
const t = typeof data;
|
|
7730
7872
|
return parsedTypeFromType(t, data);
|
|
7731
7873
|
};
|
|
@@ -7785,7 +7927,7 @@ function getUnitTypeFromNumber(number4) {
|
|
|
7785
7927
|
return "one";
|
|
7786
7928
|
return "few";
|
|
7787
7929
|
}
|
|
7788
|
-
var
|
|
7930
|
+
var error25 = () => {
|
|
7789
7931
|
const Sizable = {
|
|
7790
7932
|
string: {
|
|
7791
7933
|
unit: {
|
|
@@ -7900,7 +8042,7 @@ var error24 = () => {
|
|
|
7900
8042
|
var _a17, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
7901
8043
|
switch (issue2.code) {
|
|
7902
8044
|
case "invalid_type":
|
|
7903
|
-
return `Gautas tipas ${
|
|
8045
|
+
return `Gautas tipas ${parsedType6(issue2.input)}, o tik\u0117tasi - ${parsedTypeFromType(issue2.expected)}`;
|
|
7904
8046
|
case "invalid_value":
|
|
7905
8047
|
if (issue2.values.length === 1)
|
|
7906
8048
|
return `Privalo b\u016Bti ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -7953,13 +8095,13 @@ var error24 = () => {
|
|
|
7953
8095
|
};
|
|
7954
8096
|
function lt_default() {
|
|
7955
8097
|
return {
|
|
7956
|
-
localeError:
|
|
8098
|
+
localeError: error25()
|
|
7957
8099
|
};
|
|
7958
8100
|
}
|
|
7959
8101
|
|
|
7960
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8102
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/mk.js
|
|
7961
8103
|
init_react_import();
|
|
7962
|
-
var
|
|
8104
|
+
var error26 = () => {
|
|
7963
8105
|
const Sizable = {
|
|
7964
8106
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
7965
8107
|
file: { unit: "\u0431\u0430\u0458\u0442\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -7970,7 +8112,7 @@ var error25 = () => {
|
|
|
7970
8112
|
var _a17;
|
|
7971
8113
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
7972
8114
|
}
|
|
7973
|
-
const
|
|
8115
|
+
const parsedType8 = (data) => {
|
|
7974
8116
|
const t = typeof data;
|
|
7975
8117
|
switch (t) {
|
|
7976
8118
|
case "number": {
|
|
@@ -8024,7 +8166,7 @@ var error25 = () => {
|
|
|
8024
8166
|
var _a17, _b, _c, _d;
|
|
8025
8167
|
switch (issue2.code) {
|
|
8026
8168
|
case "invalid_type":
|
|
8027
|
-
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 ${
|
|
8169
|
+
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)}`;
|
|
8028
8170
|
// return `Invalid input: expected ${issue.expected}, received ${util.getParsedType(issue.input)}`;
|
|
8029
8171
|
case "invalid_value":
|
|
8030
8172
|
if (issue2.values.length === 1)
|
|
@@ -8075,13 +8217,13 @@ var error25 = () => {
|
|
|
8075
8217
|
};
|
|
8076
8218
|
function mk_default() {
|
|
8077
8219
|
return {
|
|
8078
|
-
localeError:
|
|
8220
|
+
localeError: error26()
|
|
8079
8221
|
};
|
|
8080
8222
|
}
|
|
8081
8223
|
|
|
8082
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8224
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ms.js
|
|
8083
8225
|
init_react_import();
|
|
8084
|
-
var
|
|
8226
|
+
var error27 = () => {
|
|
8085
8227
|
const Sizable = {
|
|
8086
8228
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
8087
8229
|
file: { unit: "bait", verb: "mempunyai" },
|
|
@@ -8092,7 +8234,7 @@ var error26 = () => {
|
|
|
8092
8234
|
var _a17;
|
|
8093
8235
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8094
8236
|
}
|
|
8095
|
-
const
|
|
8237
|
+
const parsedType8 = (data) => {
|
|
8096
8238
|
const t = typeof data;
|
|
8097
8239
|
switch (t) {
|
|
8098
8240
|
case "number": {
|
|
@@ -8146,7 +8288,7 @@ var error26 = () => {
|
|
|
8146
8288
|
var _a17, _b, _c, _d;
|
|
8147
8289
|
switch (issue2.code) {
|
|
8148
8290
|
case "invalid_type":
|
|
8149
|
-
return `Input tidak sah: dijangka ${issue2.expected}, diterima ${
|
|
8291
|
+
return `Input tidak sah: dijangka ${issue2.expected}, diterima ${parsedType8(issue2.input)}`;
|
|
8150
8292
|
case "invalid_value":
|
|
8151
8293
|
if (issue2.values.length === 1)
|
|
8152
8294
|
return `Input tidak sah: dijangka ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -8195,13 +8337,13 @@ var error26 = () => {
|
|
|
8195
8337
|
};
|
|
8196
8338
|
function ms_default() {
|
|
8197
8339
|
return {
|
|
8198
|
-
localeError:
|
|
8340
|
+
localeError: error27()
|
|
8199
8341
|
};
|
|
8200
8342
|
}
|
|
8201
8343
|
|
|
8202
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8344
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/nl.js
|
|
8203
8345
|
init_react_import();
|
|
8204
|
-
var
|
|
8346
|
+
var error28 = () => {
|
|
8205
8347
|
const Sizable = {
|
|
8206
8348
|
string: { unit: "tekens" },
|
|
8207
8349
|
file: { unit: "bytes" },
|
|
@@ -8212,7 +8354,7 @@ var error27 = () => {
|
|
|
8212
8354
|
var _a17;
|
|
8213
8355
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8214
8356
|
}
|
|
8215
|
-
const
|
|
8357
|
+
const parsedType8 = (data) => {
|
|
8216
8358
|
const t = typeof data;
|
|
8217
8359
|
switch (t) {
|
|
8218
8360
|
case "number": {
|
|
@@ -8266,7 +8408,7 @@ var error27 = () => {
|
|
|
8266
8408
|
var _a17, _b, _c, _d;
|
|
8267
8409
|
switch (issue2.code) {
|
|
8268
8410
|
case "invalid_type":
|
|
8269
|
-
return `Ongeldige invoer: verwacht ${issue2.expected}, ontving ${
|
|
8411
|
+
return `Ongeldige invoer: verwacht ${issue2.expected}, ontving ${parsedType8(issue2.input)}`;
|
|
8270
8412
|
case "invalid_value":
|
|
8271
8413
|
if (issue2.values.length === 1)
|
|
8272
8414
|
return `Ongeldige invoer: verwacht ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -8316,13 +8458,13 @@ var error27 = () => {
|
|
|
8316
8458
|
};
|
|
8317
8459
|
function nl_default() {
|
|
8318
8460
|
return {
|
|
8319
|
-
localeError:
|
|
8461
|
+
localeError: error28()
|
|
8320
8462
|
};
|
|
8321
8463
|
}
|
|
8322
8464
|
|
|
8323
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8465
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/no.js
|
|
8324
8466
|
init_react_import();
|
|
8325
|
-
var
|
|
8467
|
+
var error29 = () => {
|
|
8326
8468
|
const Sizable = {
|
|
8327
8469
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
8328
8470
|
file: { unit: "bytes", verb: "\xE5 ha" },
|
|
@@ -8333,7 +8475,7 @@ var error28 = () => {
|
|
|
8333
8475
|
var _a17;
|
|
8334
8476
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8335
8477
|
}
|
|
8336
|
-
const
|
|
8478
|
+
const parsedType8 = (data) => {
|
|
8337
8479
|
const t = typeof data;
|
|
8338
8480
|
switch (t) {
|
|
8339
8481
|
case "number": {
|
|
@@ -8387,7 +8529,7 @@ var error28 = () => {
|
|
|
8387
8529
|
var _a17, _b, _c, _d;
|
|
8388
8530
|
switch (issue2.code) {
|
|
8389
8531
|
case "invalid_type":
|
|
8390
|
-
return `Ugyldig input: forventet ${issue2.expected}, fikk ${
|
|
8532
|
+
return `Ugyldig input: forventet ${issue2.expected}, fikk ${parsedType8(issue2.input)}`;
|
|
8391
8533
|
case "invalid_value":
|
|
8392
8534
|
if (issue2.values.length === 1)
|
|
8393
8535
|
return `Ugyldig verdi: forventet ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -8436,13 +8578,13 @@ var error28 = () => {
|
|
|
8436
8578
|
};
|
|
8437
8579
|
function no_default() {
|
|
8438
8580
|
return {
|
|
8439
|
-
localeError:
|
|
8581
|
+
localeError: error29()
|
|
8440
8582
|
};
|
|
8441
8583
|
}
|
|
8442
8584
|
|
|
8443
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8585
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ota.js
|
|
8444
8586
|
init_react_import();
|
|
8445
|
-
var
|
|
8587
|
+
var error30 = () => {
|
|
8446
8588
|
const Sizable = {
|
|
8447
8589
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
8448
8590
|
file: { unit: "bayt", verb: "olmal\u0131d\u0131r" },
|
|
@@ -8453,7 +8595,7 @@ var error29 = () => {
|
|
|
8453
8595
|
var _a17;
|
|
8454
8596
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8455
8597
|
}
|
|
8456
|
-
const
|
|
8598
|
+
const parsedType8 = (data) => {
|
|
8457
8599
|
const t = typeof data;
|
|
8458
8600
|
switch (t) {
|
|
8459
8601
|
case "number": {
|
|
@@ -8507,7 +8649,7 @@ var error29 = () => {
|
|
|
8507
8649
|
var _a17, _b, _c, _d;
|
|
8508
8650
|
switch (issue2.code) {
|
|
8509
8651
|
case "invalid_type":
|
|
8510
|
-
return `F\xE2sit giren: umulan ${issue2.expected}, al\u0131nan ${
|
|
8652
|
+
return `F\xE2sit giren: umulan ${issue2.expected}, al\u0131nan ${parsedType8(issue2.input)}`;
|
|
8511
8653
|
// return `Fâsit giren: umulan ${issue.expected}, alınan ${util.getParsedType(issue.input)}`;
|
|
8512
8654
|
case "invalid_value":
|
|
8513
8655
|
if (issue2.values.length === 1)
|
|
@@ -8557,13 +8699,13 @@ var error29 = () => {
|
|
|
8557
8699
|
};
|
|
8558
8700
|
function ota_default() {
|
|
8559
8701
|
return {
|
|
8560
|
-
localeError:
|
|
8702
|
+
localeError: error30()
|
|
8561
8703
|
};
|
|
8562
8704
|
}
|
|
8563
8705
|
|
|
8564
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8706
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ps.js
|
|
8565
8707
|
init_react_import();
|
|
8566
|
-
var
|
|
8708
|
+
var error31 = () => {
|
|
8567
8709
|
const Sizable = {
|
|
8568
8710
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
8569
8711
|
file: { unit: "\u0628\u0627\u06CC\u067C\u0633", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -8574,7 +8716,7 @@ var error30 = () => {
|
|
|
8574
8716
|
var _a17;
|
|
8575
8717
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8576
8718
|
}
|
|
8577
|
-
const
|
|
8719
|
+
const parsedType8 = (data) => {
|
|
8578
8720
|
const t = typeof data;
|
|
8579
8721
|
switch (t) {
|
|
8580
8722
|
case "number": {
|
|
@@ -8628,7 +8770,7 @@ var error30 = () => {
|
|
|
8628
8770
|
var _a17, _b, _c, _d;
|
|
8629
8771
|
switch (issue2.code) {
|
|
8630
8772
|
case "invalid_type":
|
|
8631
|
-
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${issue2.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${
|
|
8773
|
+
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`;
|
|
8632
8774
|
case "invalid_value":
|
|
8633
8775
|
if (issue2.values.length === 1) {
|
|
8634
8776
|
return `\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${stringifyPrimitive(issue2.values[0])} \u0648\u0627\u06CC`;
|
|
@@ -8683,13 +8825,13 @@ var error30 = () => {
|
|
|
8683
8825
|
};
|
|
8684
8826
|
function ps_default() {
|
|
8685
8827
|
return {
|
|
8686
|
-
localeError:
|
|
8828
|
+
localeError: error31()
|
|
8687
8829
|
};
|
|
8688
8830
|
}
|
|
8689
8831
|
|
|
8690
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8832
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/pl.js
|
|
8691
8833
|
init_react_import();
|
|
8692
|
-
var
|
|
8834
|
+
var error32 = () => {
|
|
8693
8835
|
const Sizable = {
|
|
8694
8836
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
8695
8837
|
file: { unit: "bajt\xF3w", verb: "mie\u0107" },
|
|
@@ -8700,7 +8842,7 @@ var error31 = () => {
|
|
|
8700
8842
|
var _a17;
|
|
8701
8843
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8702
8844
|
}
|
|
8703
|
-
const
|
|
8845
|
+
const parsedType8 = (data) => {
|
|
8704
8846
|
const t = typeof data;
|
|
8705
8847
|
switch (t) {
|
|
8706
8848
|
case "number": {
|
|
@@ -8754,7 +8896,7 @@ var error31 = () => {
|
|
|
8754
8896
|
var _a17, _b, _c, _d, _e, _f, _g;
|
|
8755
8897
|
switch (issue2.code) {
|
|
8756
8898
|
case "invalid_type":
|
|
8757
|
-
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${issue2.expected}, otrzymano ${
|
|
8899
|
+
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${issue2.expected}, otrzymano ${parsedType8(issue2.input)}`;
|
|
8758
8900
|
case "invalid_value":
|
|
8759
8901
|
if (issue2.values.length === 1)
|
|
8760
8902
|
return `Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -8804,13 +8946,13 @@ var error31 = () => {
|
|
|
8804
8946
|
};
|
|
8805
8947
|
function pl_default() {
|
|
8806
8948
|
return {
|
|
8807
|
-
localeError:
|
|
8949
|
+
localeError: error32()
|
|
8808
8950
|
};
|
|
8809
8951
|
}
|
|
8810
8952
|
|
|
8811
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
8953
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/pt.js
|
|
8812
8954
|
init_react_import();
|
|
8813
|
-
var
|
|
8955
|
+
var error33 = () => {
|
|
8814
8956
|
const Sizable = {
|
|
8815
8957
|
string: { unit: "caracteres", verb: "ter" },
|
|
8816
8958
|
file: { unit: "bytes", verb: "ter" },
|
|
@@ -8821,7 +8963,7 @@ var error32 = () => {
|
|
|
8821
8963
|
var _a17;
|
|
8822
8964
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8823
8965
|
}
|
|
8824
|
-
const
|
|
8966
|
+
const parsedType8 = (data) => {
|
|
8825
8967
|
const t = typeof data;
|
|
8826
8968
|
switch (t) {
|
|
8827
8969
|
case "number": {
|
|
@@ -8875,7 +9017,7 @@ var error32 = () => {
|
|
|
8875
9017
|
var _a17, _b, _c, _d;
|
|
8876
9018
|
switch (issue2.code) {
|
|
8877
9019
|
case "invalid_type":
|
|
8878
|
-
return `Tipo inv\xE1lido: esperado ${issue2.expected}, recebido ${
|
|
9020
|
+
return `Tipo inv\xE1lido: esperado ${issue2.expected}, recebido ${parsedType8(issue2.input)}`;
|
|
8879
9021
|
case "invalid_value":
|
|
8880
9022
|
if (issue2.values.length === 1)
|
|
8881
9023
|
return `Entrada inv\xE1lida: esperado ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -8924,11 +9066,11 @@ var error32 = () => {
|
|
|
8924
9066
|
};
|
|
8925
9067
|
function pt_default() {
|
|
8926
9068
|
return {
|
|
8927
|
-
localeError:
|
|
9069
|
+
localeError: error33()
|
|
8928
9070
|
};
|
|
8929
9071
|
}
|
|
8930
9072
|
|
|
8931
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9073
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ru.js
|
|
8932
9074
|
init_react_import();
|
|
8933
9075
|
function getRussianPlural(count, one, few, many) {
|
|
8934
9076
|
const absCount = Math.abs(count);
|
|
@@ -8945,7 +9087,7 @@ function getRussianPlural(count, one, few, many) {
|
|
|
8945
9087
|
}
|
|
8946
9088
|
return many;
|
|
8947
9089
|
}
|
|
8948
|
-
var
|
|
9090
|
+
var error34 = () => {
|
|
8949
9091
|
const Sizable = {
|
|
8950
9092
|
string: {
|
|
8951
9093
|
unit: {
|
|
@@ -8984,7 +9126,7 @@ var error33 = () => {
|
|
|
8984
9126
|
var _a17;
|
|
8985
9127
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
8986
9128
|
}
|
|
8987
|
-
const
|
|
9129
|
+
const parsedType8 = (data) => {
|
|
8988
9130
|
const t = typeof data;
|
|
8989
9131
|
switch (t) {
|
|
8990
9132
|
case "number": {
|
|
@@ -9038,7 +9180,7 @@ var error33 = () => {
|
|
|
9038
9180
|
var _a17, _b, _c;
|
|
9039
9181
|
switch (issue2.code) {
|
|
9040
9182
|
case "invalid_type":
|
|
9041
|
-
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 ${
|
|
9183
|
+
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)}`;
|
|
9042
9184
|
case "invalid_value":
|
|
9043
9185
|
if (issue2.values.length === 1)
|
|
9044
9186
|
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])}`;
|
|
@@ -9092,13 +9234,13 @@ var error33 = () => {
|
|
|
9092
9234
|
};
|
|
9093
9235
|
function ru_default() {
|
|
9094
9236
|
return {
|
|
9095
|
-
localeError:
|
|
9237
|
+
localeError: error34()
|
|
9096
9238
|
};
|
|
9097
9239
|
}
|
|
9098
9240
|
|
|
9099
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9241
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/sl.js
|
|
9100
9242
|
init_react_import();
|
|
9101
|
-
var
|
|
9243
|
+
var error35 = () => {
|
|
9102
9244
|
const Sizable = {
|
|
9103
9245
|
string: { unit: "znakov", verb: "imeti" },
|
|
9104
9246
|
file: { unit: "bajtov", verb: "imeti" },
|
|
@@ -9109,7 +9251,7 @@ var error34 = () => {
|
|
|
9109
9251
|
var _a17;
|
|
9110
9252
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9111
9253
|
}
|
|
9112
|
-
const
|
|
9254
|
+
const parsedType8 = (data) => {
|
|
9113
9255
|
const t = typeof data;
|
|
9114
9256
|
switch (t) {
|
|
9115
9257
|
case "number": {
|
|
@@ -9163,7 +9305,7 @@ var error34 = () => {
|
|
|
9163
9305
|
var _a17, _b, _c, _d;
|
|
9164
9306
|
switch (issue2.code) {
|
|
9165
9307
|
case "invalid_type":
|
|
9166
|
-
return `Neveljaven vnos: pri\u010Dakovano ${issue2.expected}, prejeto ${
|
|
9308
|
+
return `Neveljaven vnos: pri\u010Dakovano ${issue2.expected}, prejeto ${parsedType8(issue2.input)}`;
|
|
9167
9309
|
case "invalid_value":
|
|
9168
9310
|
if (issue2.values.length === 1)
|
|
9169
9311
|
return `Neveljaven vnos: pri\u010Dakovano ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -9213,13 +9355,13 @@ var error34 = () => {
|
|
|
9213
9355
|
};
|
|
9214
9356
|
function sl_default() {
|
|
9215
9357
|
return {
|
|
9216
|
-
localeError:
|
|
9358
|
+
localeError: error35()
|
|
9217
9359
|
};
|
|
9218
9360
|
}
|
|
9219
9361
|
|
|
9220
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9362
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/sv.js
|
|
9221
9363
|
init_react_import();
|
|
9222
|
-
var
|
|
9364
|
+
var error36 = () => {
|
|
9223
9365
|
const Sizable = {
|
|
9224
9366
|
string: { unit: "tecken", verb: "att ha" },
|
|
9225
9367
|
file: { unit: "bytes", verb: "att ha" },
|
|
@@ -9230,7 +9372,7 @@ var error35 = () => {
|
|
|
9230
9372
|
var _a17;
|
|
9231
9373
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9232
9374
|
}
|
|
9233
|
-
const
|
|
9375
|
+
const parsedType8 = (data) => {
|
|
9234
9376
|
const t = typeof data;
|
|
9235
9377
|
switch (t) {
|
|
9236
9378
|
case "number": {
|
|
@@ -9284,7 +9426,7 @@ var error35 = () => {
|
|
|
9284
9426
|
var _a17, _b, _c, _d, _e, _f, _g, _h;
|
|
9285
9427
|
switch (issue2.code) {
|
|
9286
9428
|
case "invalid_type":
|
|
9287
|
-
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${issue2.expected}, fick ${
|
|
9429
|
+
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${issue2.expected}, fick ${parsedType8(issue2.input)}`;
|
|
9288
9430
|
case "invalid_value":
|
|
9289
9431
|
if (issue2.values.length === 1)
|
|
9290
9432
|
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -9335,13 +9477,13 @@ var error35 = () => {
|
|
|
9335
9477
|
};
|
|
9336
9478
|
function sv_default() {
|
|
9337
9479
|
return {
|
|
9338
|
-
localeError:
|
|
9480
|
+
localeError: error36()
|
|
9339
9481
|
};
|
|
9340
9482
|
}
|
|
9341
9483
|
|
|
9342
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9484
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ta.js
|
|
9343
9485
|
init_react_import();
|
|
9344
|
-
var
|
|
9486
|
+
var error37 = () => {
|
|
9345
9487
|
const Sizable = {
|
|
9346
9488
|
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" },
|
|
9347
9489
|
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" },
|
|
@@ -9352,7 +9494,7 @@ var error36 = () => {
|
|
|
9352
9494
|
var _a17;
|
|
9353
9495
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9354
9496
|
}
|
|
9355
|
-
const
|
|
9497
|
+
const parsedType8 = (data) => {
|
|
9356
9498
|
const t = typeof data;
|
|
9357
9499
|
switch (t) {
|
|
9358
9500
|
case "number": {
|
|
@@ -9406,7 +9548,7 @@ var error36 = () => {
|
|
|
9406
9548
|
var _a17, _b, _c, _d;
|
|
9407
9549
|
switch (issue2.code) {
|
|
9408
9550
|
case "invalid_type":
|
|
9409
|
-
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 ${
|
|
9551
|
+
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)}`;
|
|
9410
9552
|
case "invalid_value":
|
|
9411
9553
|
if (issue2.values.length === 1)
|
|
9412
9554
|
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])}`;
|
|
@@ -9456,13 +9598,13 @@ var error36 = () => {
|
|
|
9456
9598
|
};
|
|
9457
9599
|
function ta_default() {
|
|
9458
9600
|
return {
|
|
9459
|
-
localeError:
|
|
9601
|
+
localeError: error37()
|
|
9460
9602
|
};
|
|
9461
9603
|
}
|
|
9462
9604
|
|
|
9463
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9605
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/th.js
|
|
9464
9606
|
init_react_import();
|
|
9465
|
-
var
|
|
9607
|
+
var error38 = () => {
|
|
9466
9608
|
const Sizable = {
|
|
9467
9609
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
9468
9610
|
file: { unit: "\u0E44\u0E1A\u0E15\u0E4C", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -9473,7 +9615,7 @@ var error37 = () => {
|
|
|
9473
9615
|
var _a17;
|
|
9474
9616
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9475
9617
|
}
|
|
9476
|
-
const
|
|
9618
|
+
const parsedType8 = (data) => {
|
|
9477
9619
|
const t = typeof data;
|
|
9478
9620
|
switch (t) {
|
|
9479
9621
|
case "number": {
|
|
@@ -9527,7 +9669,7 @@ var error37 = () => {
|
|
|
9527
9669
|
var _a17, _b, _c, _d;
|
|
9528
9670
|
switch (issue2.code) {
|
|
9529
9671
|
case "invalid_type":
|
|
9530
|
-
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 ${
|
|
9672
|
+
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)}`;
|
|
9531
9673
|
case "invalid_value":
|
|
9532
9674
|
if (issue2.values.length === 1)
|
|
9533
9675
|
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])}`;
|
|
@@ -9577,13 +9719,13 @@ var error37 = () => {
|
|
|
9577
9719
|
};
|
|
9578
9720
|
function th_default() {
|
|
9579
9721
|
return {
|
|
9580
|
-
localeError:
|
|
9722
|
+
localeError: error38()
|
|
9581
9723
|
};
|
|
9582
9724
|
}
|
|
9583
9725
|
|
|
9584
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9726
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/tr.js
|
|
9585
9727
|
init_react_import();
|
|
9586
|
-
var
|
|
9728
|
+
var parsedType7 = (data) => {
|
|
9587
9729
|
const t = typeof data;
|
|
9588
9730
|
switch (t) {
|
|
9589
9731
|
case "number": {
|
|
@@ -9603,7 +9745,7 @@ var parsedType6 = (data) => {
|
|
|
9603
9745
|
}
|
|
9604
9746
|
return t;
|
|
9605
9747
|
};
|
|
9606
|
-
var
|
|
9748
|
+
var error39 = () => {
|
|
9607
9749
|
const Sizable = {
|
|
9608
9750
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
9609
9751
|
file: { unit: "bayt", verb: "olmal\u0131" },
|
|
@@ -9648,7 +9790,7 @@ var error38 = () => {
|
|
|
9648
9790
|
var _a17, _b, _c, _d;
|
|
9649
9791
|
switch (issue2.code) {
|
|
9650
9792
|
case "invalid_type":
|
|
9651
|
-
return `Ge\xE7ersiz de\u011Fer: beklenen ${issue2.expected}, al\u0131nan ${
|
|
9793
|
+
return `Ge\xE7ersiz de\u011Fer: beklenen ${issue2.expected}, al\u0131nan ${parsedType7(issue2.input)}`;
|
|
9652
9794
|
case "invalid_value":
|
|
9653
9795
|
if (issue2.values.length === 1)
|
|
9654
9796
|
return `Ge\xE7ersiz de\u011Fer: beklenen ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -9696,16 +9838,16 @@ var error38 = () => {
|
|
|
9696
9838
|
};
|
|
9697
9839
|
function tr_default() {
|
|
9698
9840
|
return {
|
|
9699
|
-
localeError:
|
|
9841
|
+
localeError: error39()
|
|
9700
9842
|
};
|
|
9701
9843
|
}
|
|
9702
9844
|
|
|
9703
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9845
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ua.js
|
|
9704
9846
|
init_react_import();
|
|
9705
9847
|
|
|
9706
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9848
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/uk.js
|
|
9707
9849
|
init_react_import();
|
|
9708
|
-
var
|
|
9850
|
+
var error40 = () => {
|
|
9709
9851
|
const Sizable = {
|
|
9710
9852
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
9711
9853
|
file: { unit: "\u0431\u0430\u0439\u0442\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -9716,7 +9858,7 @@ var error39 = () => {
|
|
|
9716
9858
|
var _a17;
|
|
9717
9859
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9718
9860
|
}
|
|
9719
|
-
const
|
|
9861
|
+
const parsedType8 = (data) => {
|
|
9720
9862
|
const t = typeof data;
|
|
9721
9863
|
switch (t) {
|
|
9722
9864
|
case "number": {
|
|
@@ -9770,7 +9912,7 @@ var error39 = () => {
|
|
|
9770
9912
|
var _a17, _b, _c, _d;
|
|
9771
9913
|
switch (issue2.code) {
|
|
9772
9914
|
case "invalid_type":
|
|
9773
|
-
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 ${
|
|
9915
|
+
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)}`;
|
|
9774
9916
|
// return `Неправильні вхідні дані: очікується ${issue.expected}, отримано ${util.getParsedType(issue.input)}`;
|
|
9775
9917
|
case "invalid_value":
|
|
9776
9918
|
if (issue2.values.length === 1)
|
|
@@ -9820,18 +9962,18 @@ var error39 = () => {
|
|
|
9820
9962
|
};
|
|
9821
9963
|
function uk_default() {
|
|
9822
9964
|
return {
|
|
9823
|
-
localeError:
|
|
9965
|
+
localeError: error40()
|
|
9824
9966
|
};
|
|
9825
9967
|
}
|
|
9826
9968
|
|
|
9827
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9969
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ua.js
|
|
9828
9970
|
function ua_default() {
|
|
9829
9971
|
return uk_default();
|
|
9830
9972
|
}
|
|
9831
9973
|
|
|
9832
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
9974
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/ur.js
|
|
9833
9975
|
init_react_import();
|
|
9834
|
-
var
|
|
9976
|
+
var error41 = () => {
|
|
9835
9977
|
const Sizable = {
|
|
9836
9978
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
9837
9979
|
file: { unit: "\u0628\u0627\u0626\u0679\u0633", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -9842,7 +9984,7 @@ var error40 = () => {
|
|
|
9842
9984
|
var _a17;
|
|
9843
9985
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9844
9986
|
}
|
|
9845
|
-
const
|
|
9987
|
+
const parsedType8 = (data) => {
|
|
9846
9988
|
const t = typeof data;
|
|
9847
9989
|
switch (t) {
|
|
9848
9990
|
case "number": {
|
|
@@ -9896,7 +10038,7 @@ var error40 = () => {
|
|
|
9896
10038
|
var _a17, _b, _c, _d;
|
|
9897
10039
|
switch (issue2.code) {
|
|
9898
10040
|
case "invalid_type":
|
|
9899
|
-
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${issue2.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${
|
|
10041
|
+
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`;
|
|
9900
10042
|
case "invalid_value":
|
|
9901
10043
|
if (issue2.values.length === 1)
|
|
9902
10044
|
return `\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${stringifyPrimitive(issue2.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;
|
|
@@ -9946,13 +10088,13 @@ var error40 = () => {
|
|
|
9946
10088
|
};
|
|
9947
10089
|
function ur_default() {
|
|
9948
10090
|
return {
|
|
9949
|
-
localeError:
|
|
10091
|
+
localeError: error41()
|
|
9950
10092
|
};
|
|
9951
10093
|
}
|
|
9952
10094
|
|
|
9953
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10095
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/vi.js
|
|
9954
10096
|
init_react_import();
|
|
9955
|
-
var
|
|
10097
|
+
var error42 = () => {
|
|
9956
10098
|
const Sizable = {
|
|
9957
10099
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
9958
10100
|
file: { unit: "byte", verb: "c\xF3" },
|
|
@@ -9963,7 +10105,7 @@ var error41 = () => {
|
|
|
9963
10105
|
var _a17;
|
|
9964
10106
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
9965
10107
|
}
|
|
9966
|
-
const
|
|
10108
|
+
const parsedType8 = (data) => {
|
|
9967
10109
|
const t = typeof data;
|
|
9968
10110
|
switch (t) {
|
|
9969
10111
|
case "number": {
|
|
@@ -10017,7 +10159,7 @@ var error41 = () => {
|
|
|
10017
10159
|
var _a17, _b, _c, _d;
|
|
10018
10160
|
switch (issue2.code) {
|
|
10019
10161
|
case "invalid_type":
|
|
10020
|
-
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${issue2.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${
|
|
10162
|
+
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${issue2.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${parsedType8(issue2.input)}`;
|
|
10021
10163
|
case "invalid_value":
|
|
10022
10164
|
if (issue2.values.length === 1)
|
|
10023
10165
|
return `\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -10066,13 +10208,13 @@ var error41 = () => {
|
|
|
10066
10208
|
};
|
|
10067
10209
|
function vi_default() {
|
|
10068
10210
|
return {
|
|
10069
|
-
localeError:
|
|
10211
|
+
localeError: error42()
|
|
10070
10212
|
};
|
|
10071
10213
|
}
|
|
10072
10214
|
|
|
10073
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10215
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/zh-CN.js
|
|
10074
10216
|
init_react_import();
|
|
10075
|
-
var
|
|
10217
|
+
var error43 = () => {
|
|
10076
10218
|
const Sizable = {
|
|
10077
10219
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
10078
10220
|
file: { unit: "\u5B57\u8282", verb: "\u5305\u542B" },
|
|
@@ -10083,7 +10225,7 @@ var error42 = () => {
|
|
|
10083
10225
|
var _a17;
|
|
10084
10226
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
10085
10227
|
}
|
|
10086
|
-
const
|
|
10228
|
+
const parsedType8 = (data) => {
|
|
10087
10229
|
const t = typeof data;
|
|
10088
10230
|
switch (t) {
|
|
10089
10231
|
case "number": {
|
|
@@ -10137,7 +10279,7 @@ var error42 = () => {
|
|
|
10137
10279
|
var _a17, _b, _c, _d;
|
|
10138
10280
|
switch (issue2.code) {
|
|
10139
10281
|
case "invalid_type":
|
|
10140
|
-
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${issue2.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${
|
|
10282
|
+
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${issue2.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${parsedType8(issue2.input)}`;
|
|
10141
10283
|
case "invalid_value":
|
|
10142
10284
|
if (issue2.values.length === 1)
|
|
10143
10285
|
return `\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -10186,13 +10328,13 @@ var error42 = () => {
|
|
|
10186
10328
|
};
|
|
10187
10329
|
function zh_CN_default() {
|
|
10188
10330
|
return {
|
|
10189
|
-
localeError:
|
|
10331
|
+
localeError: error43()
|
|
10190
10332
|
};
|
|
10191
10333
|
}
|
|
10192
10334
|
|
|
10193
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10335
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/zh-TW.js
|
|
10194
10336
|
init_react_import();
|
|
10195
|
-
var
|
|
10337
|
+
var error44 = () => {
|
|
10196
10338
|
const Sizable = {
|
|
10197
10339
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
10198
10340
|
file: { unit: "\u4F4D\u5143\u7D44", verb: "\u64C1\u6709" },
|
|
@@ -10203,7 +10345,7 @@ var error43 = () => {
|
|
|
10203
10345
|
var _a17;
|
|
10204
10346
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
10205
10347
|
}
|
|
10206
|
-
const
|
|
10348
|
+
const parsedType8 = (data) => {
|
|
10207
10349
|
const t = typeof data;
|
|
10208
10350
|
switch (t) {
|
|
10209
10351
|
case "number": {
|
|
@@ -10257,7 +10399,7 @@ var error43 = () => {
|
|
|
10257
10399
|
var _a17, _b, _c, _d;
|
|
10258
10400
|
switch (issue2.code) {
|
|
10259
10401
|
case "invalid_type":
|
|
10260
|
-
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${issue2.expected}\uFF0C\u4F46\u6536\u5230 ${
|
|
10402
|
+
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${issue2.expected}\uFF0C\u4F46\u6536\u5230 ${parsedType8(issue2.input)}`;
|
|
10261
10403
|
case "invalid_value":
|
|
10262
10404
|
if (issue2.values.length === 1)
|
|
10263
10405
|
return `\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -10307,13 +10449,13 @@ var error43 = () => {
|
|
|
10307
10449
|
};
|
|
10308
10450
|
function zh_TW_default() {
|
|
10309
10451
|
return {
|
|
10310
|
-
localeError:
|
|
10452
|
+
localeError: error44()
|
|
10311
10453
|
};
|
|
10312
10454
|
}
|
|
10313
10455
|
|
|
10314
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10456
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/locales/yo.js
|
|
10315
10457
|
init_react_import();
|
|
10316
|
-
var
|
|
10458
|
+
var error45 = () => {
|
|
10317
10459
|
const Sizable = {
|
|
10318
10460
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
10319
10461
|
file: { unit: "bytes", verb: "n\xED" },
|
|
@@ -10324,7 +10466,7 @@ var error44 = () => {
|
|
|
10324
10466
|
var _a17;
|
|
10325
10467
|
return (_a17 = Sizable[origin]) != null ? _a17 : null;
|
|
10326
10468
|
}
|
|
10327
|
-
const
|
|
10469
|
+
const parsedType8 = (data) => {
|
|
10328
10470
|
const t = typeof data;
|
|
10329
10471
|
switch (t) {
|
|
10330
10472
|
case "number": {
|
|
@@ -10378,7 +10520,7 @@ var error44 = () => {
|
|
|
10378
10520
|
var _a17, _b;
|
|
10379
10521
|
switch (issue2.code) {
|
|
10380
10522
|
case "invalid_type":
|
|
10381
|
-
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${issue2.expected}, \xE0m\u1ECD\u0300 a r\xED ${
|
|
10523
|
+
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)}`;
|
|
10382
10524
|
case "invalid_value":
|
|
10383
10525
|
if (issue2.values.length === 1)
|
|
10384
10526
|
return `\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${stringifyPrimitive(issue2.values[0])}`;
|
|
@@ -10426,11 +10568,11 @@ var error44 = () => {
|
|
|
10426
10568
|
};
|
|
10427
10569
|
function yo_default() {
|
|
10428
10570
|
return {
|
|
10429
|
-
localeError:
|
|
10571
|
+
localeError: error45()
|
|
10430
10572
|
};
|
|
10431
10573
|
}
|
|
10432
10574
|
|
|
10433
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10575
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/registries.js
|
|
10434
10576
|
init_react_import();
|
|
10435
10577
|
var $output = Symbol("ZodOutput");
|
|
10436
10578
|
var $input = Symbol("ZodInput");
|
|
@@ -10483,7 +10625,7 @@ function registry() {
|
|
|
10483
10625
|
}
|
|
10484
10626
|
var globalRegistry = /* @__PURE__ */ registry();
|
|
10485
10627
|
|
|
10486
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
10628
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.js
|
|
10487
10629
|
init_react_import();
|
|
10488
10630
|
function _string(Class2, params) {
|
|
10489
10631
|
return new Class2(__spreadValues({
|
|
@@ -11295,7 +11437,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
11295
11437
|
return inst;
|
|
11296
11438
|
}
|
|
11297
11439
|
|
|
11298
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
11440
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/to-json-schema.js
|
|
11299
11441
|
init_react_import();
|
|
11300
11442
|
var JSONSchemaGenerator = class {
|
|
11301
11443
|
constructor(params) {
|
|
@@ -12109,17 +12251,17 @@ function isTransforming(_schema, _ctx) {
|
|
|
12109
12251
|
throw new Error(`Unknown schema type: ${def.type}`);
|
|
12110
12252
|
}
|
|
12111
12253
|
|
|
12112
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12254
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/json-schema.js
|
|
12113
12255
|
var json_schema_exports = {};
|
|
12114
12256
|
init_react_import();
|
|
12115
12257
|
|
|
12116
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12258
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js
|
|
12117
12259
|
init_react_import();
|
|
12118
12260
|
|
|
12119
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12261
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/checks.js
|
|
12120
12262
|
init_react_import();
|
|
12121
12263
|
|
|
12122
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12264
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/iso.js
|
|
12123
12265
|
var iso_exports = {};
|
|
12124
12266
|
__export(iso_exports, {
|
|
12125
12267
|
ZodISODate: () => ZodISODate,
|
|
@@ -12161,10 +12303,10 @@ function duration2(params) {
|
|
|
12161
12303
|
return _isoDuration(ZodISODuration, params);
|
|
12162
12304
|
}
|
|
12163
12305
|
|
|
12164
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12306
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.js
|
|
12165
12307
|
init_react_import();
|
|
12166
12308
|
|
|
12167
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12309
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/errors.js
|
|
12168
12310
|
init_react_import();
|
|
12169
12311
|
var initializer2 = (inst, issues) => {
|
|
12170
12312
|
$ZodError.init(inst, issues);
|
|
@@ -12205,7 +12347,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
12205
12347
|
Parent: Error
|
|
12206
12348
|
});
|
|
12207
12349
|
|
|
12208
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12350
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.js
|
|
12209
12351
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
12210
12352
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
12211
12353
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -12219,7 +12361,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
12219
12361
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
12220
12362
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
12221
12363
|
|
|
12222
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
12364
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js
|
|
12223
12365
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
12224
12366
|
$ZodType.init(inst, def);
|
|
12225
12367
|
inst.def = def;
|
|
@@ -12227,15 +12369,12 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
12227
12369
|
Object.defineProperty(inst, "_def", { value: def });
|
|
12228
12370
|
inst.check = (...checks) => {
|
|
12229
12371
|
var _a17;
|
|
12230
|
-
return inst.clone(
|
|
12231
|
-
|
|
12232
|
-
checks: [
|
|
12233
|
-
|
|
12234
|
-
|
|
12235
|
-
|
|
12236
|
-
})
|
|
12237
|
-
// { parent: true }
|
|
12238
|
-
);
|
|
12372
|
+
return inst.clone(util_exports.mergeDefs(def, {
|
|
12373
|
+
checks: [
|
|
12374
|
+
...(_a17 = def.checks) != null ? _a17 : [],
|
|
12375
|
+
...checks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
|
|
12376
|
+
]
|
|
12377
|
+
}));
|
|
12239
12378
|
};
|
|
12240
12379
|
inst.clone = (def2, params) => clone(inst, def2, params);
|
|
12241
12380
|
inst.brand = () => inst;
|
|
@@ -12710,7 +12849,9 @@ function keyof(schema) {
|
|
|
12710
12849
|
var ZodObject = /* @__PURE__ */ $constructor("ZodObject", (inst, def) => {
|
|
12711
12850
|
$ZodObjectJIT.init(inst, def);
|
|
12712
12851
|
ZodType.init(inst, def);
|
|
12713
|
-
util_exports.defineLazy(inst, "shape", () =>
|
|
12852
|
+
util_exports.defineLazy(inst, "shape", () => {
|
|
12853
|
+
return def.shape;
|
|
12854
|
+
});
|
|
12714
12855
|
inst.keyof = () => _enum2(Object.keys(inst._zod.def.shape));
|
|
12715
12856
|
inst.catchall = (catchall) => inst.clone(__spreadProps(__spreadValues({}, inst._zod.def), { catchall }));
|
|
12716
12857
|
inst.passthrough = () => inst.clone(__spreadProps(__spreadValues({}, inst._zod.def), { catchall: unknown() }));
|
|
@@ -12732,30 +12873,21 @@ var ZodObject = /* @__PURE__ */ $constructor("ZodObject", (inst, def) => {
|
|
|
12732
12873
|
function object(shape, params) {
|
|
12733
12874
|
const def = __spreadValues({
|
|
12734
12875
|
type: "object",
|
|
12735
|
-
|
|
12736
|
-
util_exports.assignProp(this, "shape", shape ? util_exports.objectClone(shape) : {});
|
|
12737
|
-
return this.shape;
|
|
12738
|
-
}
|
|
12876
|
+
shape: shape != null ? shape : {}
|
|
12739
12877
|
}, util_exports.normalizeParams(params));
|
|
12740
12878
|
return new ZodObject(def);
|
|
12741
12879
|
}
|
|
12742
12880
|
function strictObject(shape, params) {
|
|
12743
12881
|
return new ZodObject(__spreadValues({
|
|
12744
12882
|
type: "object",
|
|
12745
|
-
|
|
12746
|
-
util_exports.assignProp(this, "shape", util_exports.objectClone(shape));
|
|
12747
|
-
return this.shape;
|
|
12748
|
-
},
|
|
12883
|
+
shape,
|
|
12749
12884
|
catchall: never()
|
|
12750
12885
|
}, util_exports.normalizeParams(params)));
|
|
12751
12886
|
}
|
|
12752
12887
|
function looseObject(shape, params) {
|
|
12753
12888
|
return new ZodObject(__spreadValues({
|
|
12754
12889
|
type: "object",
|
|
12755
|
-
|
|
12756
|
-
util_exports.assignProp(this, "shape", util_exports.objectClone(shape));
|
|
12757
|
-
return this.shape;
|
|
12758
|
-
},
|
|
12890
|
+
shape,
|
|
12759
12891
|
catchall: unknown()
|
|
12760
12892
|
}, util_exports.normalizeParams(params)));
|
|
12761
12893
|
}
|
|
@@ -13199,7 +13331,7 @@ function preprocess(fn, schema) {
|
|
|
13199
13331
|
return pipe(transform(fn), schema);
|
|
13200
13332
|
}
|
|
13201
13333
|
|
|
13202
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13334
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/compat.js
|
|
13203
13335
|
init_react_import();
|
|
13204
13336
|
var ZodIssueCode = {
|
|
13205
13337
|
invalid_type: "invalid_type",
|
|
@@ -13226,7 +13358,7 @@ var ZodFirstPartyTypeKind;
|
|
|
13226
13358
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind3) {
|
|
13227
13359
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
13228
13360
|
|
|
13229
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13361
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/coerce.js
|
|
13230
13362
|
var coerce_exports = {};
|
|
13231
13363
|
__export(coerce_exports, {
|
|
13232
13364
|
bigint: () => bigint3,
|
|
@@ -13252,25 +13384,25 @@ function date4(params) {
|
|
|
13252
13384
|
return _coercedDate(ZodDate, params);
|
|
13253
13385
|
}
|
|
13254
13386
|
|
|
13255
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13387
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/external.js
|
|
13256
13388
|
config(en_default());
|
|
13257
13389
|
|
|
13258
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13390
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/index.js
|
|
13259
13391
|
init_react_import();
|
|
13260
13392
|
|
|
13261
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13393
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/external.js
|
|
13262
13394
|
init_react_import();
|
|
13263
13395
|
|
|
13264
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13396
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/errors.js
|
|
13265
13397
|
init_react_import();
|
|
13266
13398
|
|
|
13267
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13399
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/locales/en.js
|
|
13268
13400
|
init_react_import();
|
|
13269
13401
|
|
|
13270
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13402
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/ZodError.js
|
|
13271
13403
|
init_react_import();
|
|
13272
13404
|
|
|
13273
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13405
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/helpers/util.js
|
|
13274
13406
|
init_react_import();
|
|
13275
13407
|
var util;
|
|
13276
13408
|
(function(util2) {
|
|
@@ -13401,7 +13533,7 @@ var getParsedType2 = (data) => {
|
|
|
13401
13533
|
}
|
|
13402
13534
|
};
|
|
13403
13535
|
|
|
13404
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13536
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/ZodError.js
|
|
13405
13537
|
var ZodIssueCode2 = util.arrayToEnum([
|
|
13406
13538
|
"invalid_type",
|
|
13407
13539
|
"invalid_literal",
|
|
@@ -13447,8 +13579,8 @@ var ZodError2 = class _ZodError extends Error {
|
|
|
13447
13579
|
return issue2.message;
|
|
13448
13580
|
};
|
|
13449
13581
|
const fieldErrors = { _errors: [] };
|
|
13450
|
-
const processError = (
|
|
13451
|
-
for (const issue2 of
|
|
13582
|
+
const processError = (error46) => {
|
|
13583
|
+
for (const issue2 of error46.issues) {
|
|
13452
13584
|
if (issue2.code === "invalid_union") {
|
|
13453
13585
|
issue2.unionErrors.map(processError);
|
|
13454
13586
|
} else if (issue2.code === "invalid_return_type") {
|
|
@@ -13493,7 +13625,7 @@ var ZodError2 = class _ZodError extends Error {
|
|
|
13493
13625
|
return this.issues.length === 0;
|
|
13494
13626
|
}
|
|
13495
13627
|
flatten(mapper = (issue2) => issue2.message) {
|
|
13496
|
-
const fieldErrors =
|
|
13628
|
+
const fieldErrors = /* @__PURE__ */ Object.create(null);
|
|
13497
13629
|
const formErrors = [];
|
|
13498
13630
|
for (const sub of this.issues) {
|
|
13499
13631
|
if (sub.path.length > 0) {
|
|
@@ -13511,11 +13643,11 @@ var ZodError2 = class _ZodError extends Error {
|
|
|
13511
13643
|
}
|
|
13512
13644
|
};
|
|
13513
13645
|
ZodError2.create = (issues) => {
|
|
13514
|
-
const
|
|
13515
|
-
return
|
|
13646
|
+
const error46 = new ZodError2(issues);
|
|
13647
|
+
return error46;
|
|
13516
13648
|
};
|
|
13517
13649
|
|
|
13518
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13650
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/locales/en.js
|
|
13519
13651
|
var errorMap = (issue2, _ctx) => {
|
|
13520
13652
|
let message;
|
|
13521
13653
|
switch (issue2.code) {
|
|
@@ -13618,13 +13750,13 @@ var errorMap = (issue2, _ctx) => {
|
|
|
13618
13750
|
};
|
|
13619
13751
|
var en_default2 = errorMap;
|
|
13620
13752
|
|
|
13621
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13753
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/errors.js
|
|
13622
13754
|
var overrideErrorMap = en_default2;
|
|
13623
13755
|
function getErrorMap2() {
|
|
13624
13756
|
return overrideErrorMap;
|
|
13625
13757
|
}
|
|
13626
13758
|
|
|
13627
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13759
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/helpers/parseUtil.js
|
|
13628
13760
|
init_react_import();
|
|
13629
13761
|
var makeIssue = (params) => {
|
|
13630
13762
|
const { data, path, errorMaps, issueData } = params;
|
|
@@ -13733,13 +13865,13 @@ var isDirty = (x) => x.status === "dirty";
|
|
|
13733
13865
|
var isValid = (x) => x.status === "valid";
|
|
13734
13866
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
13735
13867
|
|
|
13736
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13868
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/helpers/typeAliases.js
|
|
13737
13869
|
init_react_import();
|
|
13738
13870
|
|
|
13739
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13871
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/types.js
|
|
13740
13872
|
init_react_import();
|
|
13741
13873
|
|
|
13742
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13874
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/helpers/errorUtil.js
|
|
13743
13875
|
init_react_import();
|
|
13744
13876
|
var errorUtil;
|
|
13745
13877
|
(function(errorUtil2) {
|
|
@@ -13747,7 +13879,7 @@ var errorUtil;
|
|
|
13747
13879
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message == null ? void 0 : message.message;
|
|
13748
13880
|
})(errorUtil || (errorUtil = {}));
|
|
13749
13881
|
|
|
13750
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
13882
|
+
// ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v3/types.js
|
|
13751
13883
|
var ParseInputLazyPath = class {
|
|
13752
13884
|
constructor(parent, value, path, key) {
|
|
13753
13885
|
this._cachedPath = [];
|
|
@@ -13779,8 +13911,8 @@ var handleResult = (ctx2, result) => {
|
|
|
13779
13911
|
get error() {
|
|
13780
13912
|
if (this._error)
|
|
13781
13913
|
return this._error;
|
|
13782
|
-
const
|
|
13783
|
-
this._error =
|
|
13914
|
+
const error46 = new ZodError2(ctx2.common.issues);
|
|
13915
|
+
this._error = error46;
|
|
13784
13916
|
return this._error;
|
|
13785
13917
|
}
|
|
13786
13918
|
};
|
|
@@ -14178,8 +14310,8 @@ var ZodString2 = class _ZodString2 extends ZodType2 {
|
|
|
14178
14310
|
if (this._def.coerce) {
|
|
14179
14311
|
input.data = String(input.data);
|
|
14180
14312
|
}
|
|
14181
|
-
const
|
|
14182
|
-
if (
|
|
14313
|
+
const parsedType8 = this._getType(input);
|
|
14314
|
+
if (parsedType8 !== ZodParsedType.string) {
|
|
14183
14315
|
const ctx3 = this._getOrReturnCtx(input);
|
|
14184
14316
|
addIssueToContext(ctx3, {
|
|
14185
14317
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -14724,8 +14856,8 @@ var ZodNumber2 = class _ZodNumber extends ZodType2 {
|
|
|
14724
14856
|
if (this._def.coerce) {
|
|
14725
14857
|
input.data = Number(input.data);
|
|
14726
14858
|
}
|
|
14727
|
-
const
|
|
14728
|
-
if (
|
|
14859
|
+
const parsedType8 = this._getType(input);
|
|
14860
|
+
if (parsedType8 !== ZodParsedType.number) {
|
|
14729
14861
|
const ctx3 = this._getOrReturnCtx(input);
|
|
14730
14862
|
addIssueToContext(ctx3, {
|
|
14731
14863
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -14956,8 +15088,8 @@ var ZodBigInt2 = class _ZodBigInt extends ZodType2 {
|
|
|
14956
15088
|
return this._getInvalidInput(input);
|
|
14957
15089
|
}
|
|
14958
15090
|
}
|
|
14959
|
-
const
|
|
14960
|
-
if (
|
|
15091
|
+
const parsedType8 = this._getType(input);
|
|
15092
|
+
if (parsedType8 !== ZodParsedType.bigint) {
|
|
14961
15093
|
return this._getInvalidInput(input);
|
|
14962
15094
|
}
|
|
14963
15095
|
let ctx2 = void 0;
|
|
@@ -15117,8 +15249,8 @@ var ZodBoolean2 = class extends ZodType2 {
|
|
|
15117
15249
|
if (this._def.coerce) {
|
|
15118
15250
|
input.data = Boolean(input.data);
|
|
15119
15251
|
}
|
|
15120
|
-
const
|
|
15121
|
-
if (
|
|
15252
|
+
const parsedType8 = this._getType(input);
|
|
15253
|
+
if (parsedType8 !== ZodParsedType.boolean) {
|
|
15122
15254
|
const ctx2 = this._getOrReturnCtx(input);
|
|
15123
15255
|
addIssueToContext(ctx2, {
|
|
15124
15256
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15141,8 +15273,8 @@ var ZodDate2 = class _ZodDate extends ZodType2 {
|
|
|
15141
15273
|
if (this._def.coerce) {
|
|
15142
15274
|
input.data = new Date(input.data);
|
|
15143
15275
|
}
|
|
15144
|
-
const
|
|
15145
|
-
if (
|
|
15276
|
+
const parsedType8 = this._getType(input);
|
|
15277
|
+
if (parsedType8 !== ZodParsedType.date) {
|
|
15146
15278
|
const ctx3 = this._getOrReturnCtx(input);
|
|
15147
15279
|
addIssueToContext(ctx3, {
|
|
15148
15280
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15245,8 +15377,8 @@ ZodDate2.create = (params) => {
|
|
|
15245
15377
|
};
|
|
15246
15378
|
var ZodSymbol2 = class extends ZodType2 {
|
|
15247
15379
|
_parse(input) {
|
|
15248
|
-
const
|
|
15249
|
-
if (
|
|
15380
|
+
const parsedType8 = this._getType(input);
|
|
15381
|
+
if (parsedType8 !== ZodParsedType.symbol) {
|
|
15250
15382
|
const ctx2 = this._getOrReturnCtx(input);
|
|
15251
15383
|
addIssueToContext(ctx2, {
|
|
15252
15384
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15265,8 +15397,8 @@ ZodSymbol2.create = (params) => {
|
|
|
15265
15397
|
};
|
|
15266
15398
|
var ZodUndefined2 = class extends ZodType2 {
|
|
15267
15399
|
_parse(input) {
|
|
15268
|
-
const
|
|
15269
|
-
if (
|
|
15400
|
+
const parsedType8 = this._getType(input);
|
|
15401
|
+
if (parsedType8 !== ZodParsedType.undefined) {
|
|
15270
15402
|
const ctx2 = this._getOrReturnCtx(input);
|
|
15271
15403
|
addIssueToContext(ctx2, {
|
|
15272
15404
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15285,8 +15417,8 @@ ZodUndefined2.create = (params) => {
|
|
|
15285
15417
|
};
|
|
15286
15418
|
var ZodNull2 = class extends ZodType2 {
|
|
15287
15419
|
_parse(input) {
|
|
15288
|
-
const
|
|
15289
|
-
if (
|
|
15420
|
+
const parsedType8 = this._getType(input);
|
|
15421
|
+
if (parsedType8 !== ZodParsedType.null) {
|
|
15290
15422
|
const ctx2 = this._getOrReturnCtx(input);
|
|
15291
15423
|
addIssueToContext(ctx2, {
|
|
15292
15424
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15349,8 +15481,8 @@ ZodNever2.create = (params) => {
|
|
|
15349
15481
|
};
|
|
15350
15482
|
var ZodVoid2 = class extends ZodType2 {
|
|
15351
15483
|
_parse(input) {
|
|
15352
|
-
const
|
|
15353
|
-
if (
|
|
15484
|
+
const parsedType8 = this._getType(input);
|
|
15485
|
+
if (parsedType8 !== ZodParsedType.undefined) {
|
|
15354
15486
|
const ctx2 = this._getOrReturnCtx(input);
|
|
15355
15487
|
addIssueToContext(ctx2, {
|
|
15356
15488
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -15504,8 +15636,8 @@ var ZodObject2 = class _ZodObject extends ZodType2 {
|
|
|
15504
15636
|
return this._cached;
|
|
15505
15637
|
}
|
|
15506
15638
|
_parse(input) {
|
|
15507
|
-
const
|
|
15508
|
-
if (
|
|
15639
|
+
const parsedType8 = this._getType(input);
|
|
15640
|
+
if (parsedType8 !== ZodParsedType.object) {
|
|
15509
15641
|
const ctx3 = this._getOrReturnCtx(input);
|
|
15510
15642
|
addIssueToContext(ctx3, {
|
|
15511
15643
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -16368,25 +16500,25 @@ var ZodFunction2 = class _ZodFunction extends ZodType2 {
|
|
|
16368
16500
|
});
|
|
16369
16501
|
return INVALID;
|
|
16370
16502
|
}
|
|
16371
|
-
function makeArgsIssue(args,
|
|
16503
|
+
function makeArgsIssue(args, error46) {
|
|
16372
16504
|
return makeIssue({
|
|
16373
16505
|
data: args,
|
|
16374
16506
|
path: ctx2.path,
|
|
16375
16507
|
errorMaps: [ctx2.common.contextualErrorMap, ctx2.schemaErrorMap, getErrorMap2(), en_default2].filter((x) => !!x),
|
|
16376
16508
|
issueData: {
|
|
16377
16509
|
code: ZodIssueCode2.invalid_arguments,
|
|
16378
|
-
argumentsError:
|
|
16510
|
+
argumentsError: error46
|
|
16379
16511
|
}
|
|
16380
16512
|
});
|
|
16381
16513
|
}
|
|
16382
|
-
function makeReturnsIssue(returns,
|
|
16514
|
+
function makeReturnsIssue(returns, error46) {
|
|
16383
16515
|
return makeIssue({
|
|
16384
16516
|
data: returns,
|
|
16385
16517
|
path: ctx2.path,
|
|
16386
16518
|
errorMaps: [ctx2.common.contextualErrorMap, ctx2.schemaErrorMap, getErrorMap2(), en_default2].filter((x) => !!x),
|
|
16387
16519
|
issueData: {
|
|
16388
16520
|
code: ZodIssueCode2.invalid_return_type,
|
|
16389
|
-
returnTypeError:
|
|
16521
|
+
returnTypeError: error46
|
|
16390
16522
|
}
|
|
16391
16523
|
});
|
|
16392
16524
|
}
|
|
@@ -16396,15 +16528,15 @@ var ZodFunction2 = class _ZodFunction extends ZodType2 {
|
|
|
16396
16528
|
const me = this;
|
|
16397
16529
|
return OK(function(...args) {
|
|
16398
16530
|
return __async(this, null, function* () {
|
|
16399
|
-
const
|
|
16531
|
+
const error46 = new ZodError2([]);
|
|
16400
16532
|
const parsedArgs = yield me._def.args.parseAsync(args, params).catch((e) => {
|
|
16401
|
-
|
|
16402
|
-
throw
|
|
16533
|
+
error46.addIssue(makeArgsIssue(args, e));
|
|
16534
|
+
throw error46;
|
|
16403
16535
|
});
|
|
16404
16536
|
const result = yield Reflect.apply(fn, this, parsedArgs);
|
|
16405
16537
|
const parsedReturns = yield me._def.returns._def.type.parseAsync(result, params).catch((e) => {
|
|
16406
|
-
|
|
16407
|
-
throw
|
|
16538
|
+
error46.addIssue(makeReturnsIssue(result, e));
|
|
16539
|
+
throw error46;
|
|
16408
16540
|
});
|
|
16409
16541
|
return parsedReturns;
|
|
16410
16542
|
});
|
|
@@ -16766,8 +16898,8 @@ ZodEffects.createWithPreprocess = (preprocess2, schema, params) => {
|
|
|
16766
16898
|
};
|
|
16767
16899
|
var ZodOptional2 = class extends ZodType2 {
|
|
16768
16900
|
_parse(input) {
|
|
16769
|
-
const
|
|
16770
|
-
if (
|
|
16901
|
+
const parsedType8 = this._getType(input);
|
|
16902
|
+
if (parsedType8 === ZodParsedType.undefined) {
|
|
16771
16903
|
return OK(void 0);
|
|
16772
16904
|
}
|
|
16773
16905
|
return this._def.innerType._parse(input);
|
|
@@ -16784,8 +16916,8 @@ ZodOptional2.create = (type, params) => {
|
|
|
16784
16916
|
};
|
|
16785
16917
|
var ZodNullable2 = class extends ZodType2 {
|
|
16786
16918
|
_parse(input) {
|
|
16787
|
-
const
|
|
16788
|
-
if (
|
|
16919
|
+
const parsedType8 = this._getType(input);
|
|
16920
|
+
if (parsedType8 === ZodParsedType.null) {
|
|
16789
16921
|
return OK(null);
|
|
16790
16922
|
}
|
|
16791
16923
|
return this._def.innerType._parse(input);
|
|
@@ -16874,8 +17006,8 @@ ZodCatch2.create = (type, params) => {
|
|
|
16874
17006
|
};
|
|
16875
17007
|
var ZodNaN2 = class extends ZodType2 {
|
|
16876
17008
|
_parse(input) {
|
|
16877
|
-
const
|
|
16878
|
-
if (
|
|
17009
|
+
const parsedType8 = this._getType(input);
|
|
17010
|
+
if (parsedType8 !== ZodParsedType.nan) {
|
|
16879
17011
|
const ctx2 = this._getOrReturnCtx(input);
|
|
16880
17012
|
addIssueToContext(ctx2, {
|
|
16881
17013
|
code: ZodIssueCode2.invalid_type,
|
|
@@ -17060,7 +17192,7 @@ var nullableType = ZodNullable2.create;
|
|
|
17060
17192
|
var preprocessType = ZodEffects.createWithPreprocess;
|
|
17061
17193
|
var pipelineType = ZodPipeline.create;
|
|
17062
17194
|
|
|
17063
|
-
// ../../node_modules/.pnpm/@ai-sdk+provider-utils@3.0.7_zod@4.1.
|
|
17195
|
+
// ../../node_modules/.pnpm/@ai-sdk+provider-utils@3.0.7_zod@4.1.12/node_modules/@ai-sdk/provider-utils/dist/index.mjs
|
|
17064
17196
|
var createIdGenerator = ({
|
|
17065
17197
|
prefix,
|
|
17066
17198
|
size = 16,
|
|
@@ -17183,10 +17315,10 @@ function safeValidateTypes(_0) {
|
|
|
17183
17315
|
error: TypeValidationError.wrap({ value, cause: result.error }),
|
|
17184
17316
|
rawValue: value
|
|
17185
17317
|
};
|
|
17186
|
-
} catch (
|
|
17318
|
+
} catch (error46) {
|
|
17187
17319
|
return {
|
|
17188
17320
|
success: false,
|
|
17189
|
-
error: TypeValidationError.wrap({ value, cause:
|
|
17321
|
+
error: TypeValidationError.wrap({ value, cause: error46 }),
|
|
17190
17322
|
rawValue: value
|
|
17191
17323
|
};
|
|
17192
17324
|
}
|
|
@@ -17203,10 +17335,10 @@ function safeParseJSON(_0) {
|
|
|
17203
17335
|
return { success: true, value, rawValue: value };
|
|
17204
17336
|
}
|
|
17205
17337
|
return yield safeValidateTypes({ value, schema });
|
|
17206
|
-
} catch (
|
|
17338
|
+
} catch (error46) {
|
|
17207
17339
|
return {
|
|
17208
17340
|
success: false,
|
|
17209
|
-
error: JSONParseError.isInstance(
|
|
17341
|
+
error: JSONParseError.isInstance(error46) ? error46 : new JSONParseError({ text: text2, cause: error46 }),
|
|
17210
17342
|
rawValue: void 0
|
|
17211
17343
|
};
|
|
17212
17344
|
}
|
|
@@ -17420,14 +17552,14 @@ function parseIntersectionDef(def, refs) {
|
|
|
17420
17552
|
return mergedAllOf.length ? { allOf: mergedAllOf } : void 0;
|
|
17421
17553
|
}
|
|
17422
17554
|
function parseLiteralDef(def) {
|
|
17423
|
-
const
|
|
17424
|
-
if (
|
|
17555
|
+
const parsedType8 = typeof def.value;
|
|
17556
|
+
if (parsedType8 !== "bigint" && parsedType8 !== "number" && parsedType8 !== "boolean" && parsedType8 !== "string") {
|
|
17425
17557
|
return {
|
|
17426
17558
|
type: Array.isArray(def.value) ? "array" : "object"
|
|
17427
17559
|
};
|
|
17428
17560
|
}
|
|
17429
17561
|
return {
|
|
17430
|
-
type:
|
|
17562
|
+
type: parsedType8 === "bigint" ? "integer" : parsedType8,
|
|
17431
17563
|
const: def.value
|
|
17432
17564
|
};
|
|
17433
17565
|
}
|
|
@@ -18373,7 +18505,7 @@ function asSchema(schema) {
|
|
|
18373
18505
|
}
|
|
18374
18506
|
var { btoa: btoa2, atob: atob2 } = globalThis;
|
|
18375
18507
|
|
|
18376
|
-
// ../../node_modules/.pnpm/ai@5.0.29_zod@4.1.
|
|
18508
|
+
// ../../node_modules/.pnpm/ai@5.0.29_zod@4.1.12/node_modules/ai/dist/index.mjs
|
|
18377
18509
|
var __defProp2 = Object.defineProperty;
|
|
18378
18510
|
var __export2 = (target, all) => {
|
|
18379
18511
|
for (var name17 in all)
|
|
@@ -18429,8 +18561,8 @@ var NoObjectGeneratedError = class extends AISDKError {
|
|
|
18429
18561
|
this.usage = usage;
|
|
18430
18562
|
this.finishReason = finishReason;
|
|
18431
18563
|
}
|
|
18432
|
-
static isInstance(
|
|
18433
|
-
return AISDKError.hasMarker(
|
|
18564
|
+
static isInstance(error46) {
|
|
18565
|
+
return AISDKError.hasMarker(error46, marker72);
|
|
18434
18566
|
}
|
|
18435
18567
|
};
|
|
18436
18568
|
_a72 = symbol72;
|
|
@@ -19612,8 +19744,8 @@ function consumeStream(_0) {
|
|
|
19612
19744
|
if (done)
|
|
19613
19745
|
break;
|
|
19614
19746
|
}
|
|
19615
|
-
} catch (
|
|
19616
|
-
onError == null ? void 0 : onError(
|
|
19747
|
+
} catch (error46) {
|
|
19748
|
+
onError == null ? void 0 : onError(error46);
|
|
19617
19749
|
} finally {
|
|
19618
19750
|
reader.releaseLock();
|
|
19619
19751
|
}
|
|
@@ -19649,8 +19781,8 @@ var SerialJobExecutor = class {
|
|
|
19649
19781
|
try {
|
|
19650
19782
|
yield job();
|
|
19651
19783
|
resolve2();
|
|
19652
|
-
} catch (
|
|
19653
|
-
reject(
|
|
19784
|
+
} catch (error46) {
|
|
19785
|
+
reject(error46);
|
|
19654
19786
|
}
|
|
19655
19787
|
}));
|
|
19656
19788
|
void this.processQueue();
|
|
@@ -19886,7 +20018,7 @@ function convertFileListToFileUIParts(files) {
|
|
|
19886
20018
|
var _a17;
|
|
19887
20019
|
resolve2((_a17 = readerEvent.target) == null ? void 0 : _a17.result);
|
|
19888
20020
|
};
|
|
19889
|
-
reader.onerror = (
|
|
20021
|
+
reader.onerror = (error46) => reject(error46);
|
|
19890
20022
|
reader.readAsDataURL(file2);
|
|
19891
20023
|
});
|
|
19892
20024
|
return {
|
|
@@ -20189,12 +20321,12 @@ var AbstractChat = class {
|
|
|
20189
20321
|
}
|
|
20190
20322
|
setStatus({
|
|
20191
20323
|
status,
|
|
20192
|
-
error:
|
|
20324
|
+
error: error46
|
|
20193
20325
|
}) {
|
|
20194
20326
|
if (this.status === status)
|
|
20195
20327
|
return;
|
|
20196
20328
|
this.state.status = status;
|
|
20197
|
-
this.state.error =
|
|
20329
|
+
this.state.error = error46;
|
|
20198
20330
|
}
|
|
20199
20331
|
get error() {
|
|
20200
20332
|
return this.state.error;
|
|
@@ -20288,12 +20420,12 @@ var AbstractChat = class {
|
|
|
20288
20420
|
messageMetadataSchema: this.messageMetadataSchema,
|
|
20289
20421
|
dataPartSchemas: this.dataPartSchemas,
|
|
20290
20422
|
runUpdateMessageJob,
|
|
20291
|
-
onError: (
|
|
20292
|
-
throw
|
|
20423
|
+
onError: (error46) => {
|
|
20424
|
+
throw error46;
|
|
20293
20425
|
}
|
|
20294
20426
|
}),
|
|
20295
|
-
onError: (
|
|
20296
|
-
throw
|
|
20427
|
+
onError: (error46) => {
|
|
20428
|
+
throw error46;
|
|
20297
20429
|
}
|
|
20298
20430
|
});
|
|
20299
20431
|
this.setStatus({ status: "ready" });
|
|
@@ -20478,7 +20610,7 @@ var uiMessageSchema = external_exports.object({
|
|
|
20478
20610
|
)
|
|
20479
20611
|
});
|
|
20480
20612
|
|
|
20481
|
-
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.1.
|
|
20613
|
+
// ../../node_modules/.pnpm/@ai-sdk+react@2.0.29_react@19.1.1_zod@4.1.12/node_modules/@ai-sdk/react/dist/index.mjs
|
|
20482
20614
|
var import_throttleit = __toESM(require_throttleit(), 1);
|
|
20483
20615
|
var import_react5 = require("react");
|
|
20484
20616
|
var import_react6 = require("react");
|
|
@@ -20645,7 +20777,7 @@ function useChat(_a17 = {}) {
|
|
|
20645
20777
|
() => chatRef.current.status,
|
|
20646
20778
|
() => chatRef.current.status
|
|
20647
20779
|
);
|
|
20648
|
-
const
|
|
20780
|
+
const error46 = (0, import_react4.useSyncExternalStore)(
|
|
20649
20781
|
chatRef.current["~registerErrorCallback"],
|
|
20650
20782
|
() => chatRef.current.error,
|
|
20651
20783
|
() => chatRef.current.error
|
|
@@ -20672,7 +20804,7 @@ function useChat(_a17 = {}) {
|
|
|
20672
20804
|
regenerate: chatRef.current.regenerate,
|
|
20673
20805
|
clearError: chatRef.current.clearError,
|
|
20674
20806
|
stop: chatRef.current.stop,
|
|
20675
|
-
error:
|
|
20807
|
+
error: error46,
|
|
20676
20808
|
resumeStream: chatRef.current.resumeStream,
|
|
20677
20809
|
status,
|
|
20678
20810
|
addToolResult: chatRef.current.addToolResult
|
|
@@ -21418,7 +21550,7 @@ function ChatBody({
|
|
|
21418
21550
|
inputRef,
|
|
21419
21551
|
messages = [],
|
|
21420
21552
|
status,
|
|
21421
|
-
error:
|
|
21553
|
+
error: error46,
|
|
21422
21554
|
handleRetry
|
|
21423
21555
|
}) {
|
|
21424
21556
|
const { scrollRef, contentRef } = (0, import_use_stick_to_bottom.useStickToBottom)();
|
|
@@ -21428,7 +21560,7 @@ function ChatBody({
|
|
|
21428
21560
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: cx6("inner"), ref: scrollRef, children: [
|
|
21429
21561
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: cx6("messages"), ref: contentRef, children: messages.toReversed().map((message) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ChatMessage, { message }, message.id)) }),
|
|
21430
21562
|
status === "submitted" && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: cx6("loader"), children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Loader, { size: 14 }) }),
|
|
21431
|
-
|
|
21563
|
+
error46 && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: cx6("error"), children: [
|
|
21432
21564
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: cx6("errorLabel"), children: "Something went wrong." }),
|
|
21433
21565
|
handleRetry && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: cx6("errorAction"), children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(IconButton, { title: "Retry", onClick: handleRetry, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(RotateCcw, { size: "14" }) }) })
|
|
21434
21566
|
] }),
|
|
@@ -21527,22 +21659,18 @@ var BENCHMARK = false;
|
|
|
21527
21659
|
var prefixedUlid = (prefix = "") => `${prefix ? `${prefix}_` : ""}${(0, import_ulid.ulid)()}`;
|
|
21528
21660
|
var getClassName16 = getClassNameFactory("Chat", styles_module_default);
|
|
21529
21661
|
var usePuck = (0, import_puck2.createUsePuck)();
|
|
21530
|
-
function Chat2({
|
|
21531
|
-
|
|
21532
|
-
examplePrompts,
|
|
21533
|
-
host = "/api/puck/chat",
|
|
21534
|
-
initialMessages = []
|
|
21535
|
-
}) {
|
|
21662
|
+
function Chat2({ chat, host = "/api/puck/chat" }) {
|
|
21663
|
+
const { examplePrompts } = chat != null ? chat : {};
|
|
21536
21664
|
const puckDispatch = usePuck((s) => s.dispatch);
|
|
21537
21665
|
const getPuck = (0, import_puck2.useGetPuck)();
|
|
21538
|
-
const localChatId = (0, import_react20.useRef)(
|
|
21666
|
+
const localChatId = (0, import_react20.useRef)("");
|
|
21539
21667
|
const inputRef = (0, import_react20.useRef)(null);
|
|
21540
21668
|
const pluginRef = (0, import_react20.useRef)(null);
|
|
21541
|
-
const [
|
|
21669
|
+
const [error46, setError] = (0, import_react20.useState)();
|
|
21542
21670
|
const [toolStatus, setToolStatus] = (0, import_react20.useState)({});
|
|
21543
21671
|
const { messages, status, sendMessage, regenerate } = useChat({
|
|
21544
21672
|
generateId: () => prefixedUlid("msg"),
|
|
21545
|
-
messages:
|
|
21673
|
+
messages: [],
|
|
21546
21674
|
transport: new DefaultChatTransport({
|
|
21547
21675
|
api: host,
|
|
21548
21676
|
prepareSendMessagesRequest: (opts) => {
|
|
@@ -21555,7 +21683,7 @@ function Chat2({
|
|
|
21555
21683
|
fields: {
|
|
21556
21684
|
title: {
|
|
21557
21685
|
type: "text",
|
|
21558
|
-
|
|
21686
|
+
ai: { instructions: "The title for the page" }
|
|
21559
21687
|
}
|
|
21560
21688
|
}
|
|
21561
21689
|
};
|
|
@@ -21771,7 +21899,7 @@ function Chat2({
|
|
|
21771
21899
|
inputRef,
|
|
21772
21900
|
status,
|
|
21773
21901
|
examplePrompts: examplePrompts == null ? void 0 : examplePrompts.map(({ label, href }) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ExamplePrompt, { label, href }, label)),
|
|
21774
|
-
error:
|
|
21902
|
+
error: error46,
|
|
21775
21903
|
handleRetry: () => {
|
|
21776
21904
|
setError("");
|
|
21777
21905
|
regenerate();
|
|
@@ -21844,7 +21972,7 @@ function isScrolledIntoView(el) {
|
|
|
21844
21972
|
|
|
21845
21973
|
// src/index.tsx
|
|
21846
21974
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
21847
|
-
function
|
|
21975
|
+
function createAiPlugin(opts) {
|
|
21848
21976
|
return {
|
|
21849
21977
|
label: "AI",
|
|
21850
21978
|
name: "ai",
|
|
@@ -21853,10 +21981,9 @@ function createAIPlugin(opts) {
|
|
|
21853
21981
|
mobilePanelHeight: "min-content"
|
|
21854
21982
|
};
|
|
21855
21983
|
}
|
|
21856
|
-
var src_default = createAIPlugin;
|
|
21857
21984
|
// Annotate the CommonJS export names for ESM import in node:
|
|
21858
21985
|
0 && (module.exports = {
|
|
21859
|
-
|
|
21986
|
+
createAiPlugin
|
|
21860
21987
|
});
|
|
21861
21988
|
/*! Bundled license information:
|
|
21862
21989
|
|