@lokascript/i18n 7.0.0 → 7.2.0

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.cjs CHANGED
@@ -9952,7 +9952,7 @@ function getI18n() {
9952
9952
  return exports.runtimeI18n;
9953
9953
  }
9954
9954
 
9955
- // node_modules/zod/v4/classic/external.js
9955
+ // ../../node_modules/zod/v4/classic/external.js
9956
9956
  var external_exports = {};
9957
9957
  __export(external_exports, {
9958
9958
  $brand: () => $brand,
@@ -10215,7 +10215,7 @@ __export(external_exports, {
10215
10215
  xor: () => xor
10216
10216
  });
10217
10217
 
10218
- // node_modules/zod/v4/core/index.js
10218
+ // ../../node_modules/zod/v4/core/index.js
10219
10219
  var core_exports2 = {};
10220
10220
  __export(core_exports2, {
10221
10221
  $ZodAny: () => $ZodAny,
@@ -10532,7 +10532,7 @@ __export(core_exports2, {
10532
10532
  withParser: () => withParser
10533
10533
  });
10534
10534
 
10535
- // node_modules/zod/v4/core/util.js
10535
+ // ../../node_modules/zod/v4/core/util.js
10536
10536
  var util_exports = {};
10537
10537
  __export(util_exports, {
10538
10538
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -10603,6 +10603,7 @@ __export(util_exports, {
10603
10603
  required: () => required,
10604
10604
  safeExtend: () => safeExtend,
10605
10605
  shallowClone: () => shallowClone,
10606
+ sizeCaps: () => sizeCaps,
10606
10607
  slugify: () => slugify,
10607
10608
  stringifyPrimitive: () => stringifyPrimitive,
10608
10609
  toZod: () => toZod,
@@ -11122,6 +11123,18 @@ function prefixIssues(path, issues) {
11122
11123
  function unwrapMessage(message) {
11123
11124
  return typeof message === "string" ? message : message?.message;
11124
11125
  }
11126
+ function sizeCaps(defChecks) {
11127
+ const caps = [];
11128
+ for (const ch of defChecks ?? []) {
11129
+ const d = ch._zod.def;
11130
+ if (!/_(length|size)$|_equals$/.test(d.check))
11131
+ break;
11132
+ const max = d.maximum ?? d.length ?? d.size;
11133
+ if (max >= 0)
11134
+ caps.push([max, ch]);
11135
+ }
11136
+ return caps;
11137
+ }
11125
11138
  function attachSchema(issues, start, inst) {
11126
11139
  var _a3;
11127
11140
  for (let i = start; i < issues.length; i++) {
@@ -11375,7 +11388,7 @@ function constantCatch(value) {
11375
11388
  return fn;
11376
11389
  }
11377
11390
 
11378
- // node_modules/zod/v4/core/core.js
11391
+ // ../../node_modules/zod/v4/core/core.js
11379
11392
  var _a;
11380
11393
  var NEVER = /* @__PURE__ */ Object.freeze({
11381
11394
  status: "aborted"
@@ -11497,7 +11510,7 @@ function config(newConfig) {
11497
11510
  return globalConfig;
11498
11511
  }
11499
11512
 
11500
- // node_modules/zod/v4/core/errors.js
11513
+ // ../../node_modules/zod/v4/core/errors.js
11501
11514
  function _getMessage() {
11502
11515
  const internals = this._zod;
11503
11516
  internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
@@ -11689,7 +11702,7 @@ function prettifyError(error62) {
11689
11702
  return lines.join("\n");
11690
11703
  }
11691
11704
 
11692
- // node_modules/zod/v4/core/parse.js
11705
+ // ../../node_modules/zod/v4/core/parse.js
11693
11706
  function finalizeParams(callee, params) {
11694
11707
  return { callee: params?.callee ?? callee, Err: params?.Err };
11695
11708
  }
@@ -11849,7 +11862,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
11849
11862
  };
11850
11863
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
11851
11864
 
11852
- // node_modules/zod/v4/core/regexes.js
11865
+ // ../../node_modules/zod/v4/core/regexes.js
11853
11866
  var regexes_exports = {};
11854
11867
  __export(regexes_exports, {
11855
11868
  anyString: () => anyString,
@@ -12021,7 +12034,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
12021
12034
  var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
12022
12035
  var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
12023
12036
 
12024
- // node_modules/zod/v4/core/checks.js
12037
+ // ../../node_modules/zod/v4/core/checks.js
12025
12038
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
12026
12039
  var _a3;
12027
12040
  inst._zod ?? (inst._zod = {});
@@ -12497,7 +12510,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
12497
12510
  };
12498
12511
  });
12499
12512
 
12500
- // node_modules/zod/v4/core/doc.js
12513
+ // ../../node_modules/zod/v4/core/doc.js
12501
12514
  var Doc = class {
12502
12515
  constructor(args = [], closed = {}) {
12503
12516
  this.content = [];
@@ -12538,14 +12551,14 @@ ${content.join("\n")}
12538
12551
  }
12539
12552
  };
12540
12553
 
12541
- // node_modules/zod/v4/core/versions.js
12554
+ // ../../node_modules/zod/v4/core/versions.js
12542
12555
  var version = {
12543
12556
  major: 4,
12544
12557
  minor: 6,
12545
- patch: 5
12558
+ patch: 7
12546
12559
  };
12547
12560
 
12548
- // node_modules/zod/v4/core/schemas.js
12561
+ // ../../node_modules/zod/v4/core/schemas.js
12549
12562
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
12550
12563
  var _a3;
12551
12564
  inst ?? (inst = {});
@@ -13298,6 +13311,31 @@ var $ZodDate = /* @__PURE__ */ $constructor("$ZodDate", (inst, def) => {
13298
13311
  return payload;
13299
13312
  };
13300
13313
  });
13314
+ function capSize(inst, size) {
13315
+ const caps = sizeCaps(inst._zod.def.checks);
13316
+ if (!caps.length)
13317
+ return;
13318
+ const cap = Math.min(...caps.map((c) => c[0]));
13319
+ const parse5 = inst._zod.parse;
13320
+ inst._zod.parse = (payload, ctx) => {
13321
+ const n = size(payload.value);
13322
+ if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
13323
+ for (const [max, ch] of sizeCaps(inst._zod.def.checks)) {
13324
+ if (n > max && ch._zod.def.when(payload)) {
13325
+ const start = payload.issues.length;
13326
+ ch._zod.check(payload);
13327
+ payload.issues[start].continue = false;
13328
+ attachSchema(payload.issues, start, inst);
13329
+ return payload;
13330
+ }
13331
+ }
13332
+ }
13333
+ return parse5(payload, ctx);
13334
+ };
13335
+ }
13336
+ var arraySize = (input2) => Array.isArray(input2) ? input2.length : -1;
13337
+ var mapSize = (input2) => input2 instanceof Map ? input2.size : -1;
13338
+ var setSize = (input2) => input2 instanceof Set ? input2.size : -1;
13301
13339
  function handleArrayResult(result, final, index) {
13302
13340
  if (result.issues.length) {
13303
13341
  final.issues.push(...prefixIssues(index, result.issues));
@@ -13341,6 +13379,7 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
13341
13379
  }
13342
13380
  return payload;
13343
13381
  };
13382
+ capSize(inst, arraySize);
13344
13383
  });
13345
13384
  function handlePropertyResult(result, final, key, input2, optin, optout) {
13346
13385
  const isPresent = key in input2;
@@ -14297,6 +14336,7 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
14297
14336
  return Promise.all(proms).then(() => payload);
14298
14337
  return payload;
14299
14338
  };
14339
+ capSize(inst, mapSize);
14300
14340
  });
14301
14341
  function handleMapResult(keyResult, valueResult, final, key, input2, inst, ctx) {
14302
14342
  if (keyResult.issues.length) {
@@ -14363,6 +14403,7 @@ var $ZodSet = /* @__PURE__ */ $constructor("$ZodSet", (inst, def) => {
14363
14403
  return Promise.all(proms).then(() => payload);
14364
14404
  return payload;
14365
14405
  };
14406
+ capSize(inst, setSize);
14366
14407
  });
14367
14408
  function handleSetResult(result, final) {
14368
14409
  if (result.issues.length) {
@@ -14959,7 +15000,7 @@ function handleRefineResult(result, payload, input2, inst) {
14959
15000
  }
14960
15001
  }
14961
15002
 
14962
- // node_modules/zod/v4/core/memoizer.js
15003
+ // ../../node_modules/zod/v4/core/memoizer.js
14963
15004
  var $ZodCyclicError = class extends Error {
14964
15005
  constructor() {
14965
15006
  super(`Cannot parse a reference cycle that closes through a transform`);
@@ -15235,7 +15276,7 @@ function isBackEdge(ctx, value) {
15235
15276
  return backEdges !== void 0 && isRef(value) && backEdges.has(value);
15236
15277
  }
15237
15278
 
15238
- // node_modules/zod/v4/locales/index.js
15279
+ // ../../node_modules/zod/v4/locales/index.js
15239
15280
  var locales_exports = {};
15240
15281
  __export(locales_exports, {
15241
15282
  ar: () => ar_default,
@@ -15303,7 +15344,7 @@ __export(locales_exports, {
15303
15344
  zhTW: () => zh_TW_default
15304
15345
  });
15305
15346
 
15306
- // node_modules/zod/v4/locales/ar.js
15347
+ // ../../node_modules/zod/v4/locales/ar.js
15307
15348
  var error = () => {
15308
15349
  const Sizable = {
15309
15350
  string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
@@ -15415,7 +15456,7 @@ function ar_default() {
15415
15456
  };
15416
15457
  }
15417
15458
 
15418
- // node_modules/zod/v4/locales/az.js
15459
+ // ../../node_modules/zod/v4/locales/az.js
15419
15460
  var error2 = () => {
15420
15461
  const Sizable = {
15421
15462
  string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
@@ -15526,7 +15567,7 @@ function az_default() {
15526
15567
  };
15527
15568
  }
15528
15569
 
15529
- // node_modules/zod/v4/locales/be.js
15570
+ // ../../node_modules/zod/v4/locales/be.js
15530
15571
  function getBelarusianPlural(count, one, few, many) {
15531
15572
  const absCount = Math.abs(count);
15532
15573
  const lastDigit = absCount % 10;
@@ -15695,7 +15736,7 @@ function be_default() {
15695
15736
  };
15696
15737
  }
15697
15738
 
15698
- // node_modules/zod/v4/locales/bg.js
15739
+ // ../../node_modules/zod/v4/locales/bg.js
15699
15740
  var error4 = () => {
15700
15741
  const Sizable = {
15701
15742
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
@@ -15821,7 +15862,7 @@ function bg_default() {
15821
15862
  };
15822
15863
  }
15823
15864
 
15824
- // node_modules/zod/v4/locales/bn.js
15865
+ // ../../node_modules/zod/v4/locales/bn.js
15825
15866
  var error5 = () => {
15826
15867
  const Sizable = {
15827
15868
  string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
@@ -15935,7 +15976,7 @@ function bn_default() {
15935
15976
  };
15936
15977
  }
15937
15978
 
15938
- // node_modules/zod/v4/locales/ca.js
15979
+ // ../../node_modules/zod/v4/locales/ca.js
15939
15980
  var error6 = () => {
15940
15981
  const Sizable = {
15941
15982
  string: { unit: "car\xE0cters", verb: "contenir" },
@@ -16049,7 +16090,7 @@ function ca_default() {
16049
16090
  };
16050
16091
  }
16051
16092
 
16052
- // node_modules/zod/v4/locales/ckb.js
16093
+ // ../../node_modules/zod/v4/locales/ckb.js
16053
16094
  var error7 = () => {
16054
16095
  const Sizable = {
16055
16096
  string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
@@ -16182,7 +16223,7 @@ function ckb_default() {
16182
16223
  };
16183
16224
  }
16184
16225
 
16185
- // node_modules/zod/v4/locales/cs.js
16226
+ // ../../node_modules/zod/v4/locales/cs.js
16186
16227
  var error8 = () => {
16187
16228
  const Sizable = {
16188
16229
  string: { unit: "znak\u016F", verb: "m\xEDt" },
@@ -16299,7 +16340,7 @@ function cs_default() {
16299
16340
  };
16300
16341
  }
16301
16342
 
16302
- // node_modules/zod/v4/locales/da.js
16343
+ // ../../node_modules/zod/v4/locales/da.js
16303
16344
  var error9 = () => {
16304
16345
  const Sizable = {
16305
16346
  string: { unit: "tegn", verb: "havde" },
@@ -16420,7 +16461,7 @@ function da_default() {
16420
16461
  };
16421
16462
  }
16422
16463
 
16423
- // node_modules/zod/v4/locales/de.js
16464
+ // ../../node_modules/zod/v4/locales/de.js
16424
16465
  var error10 = () => {
16425
16466
  const Sizable = {
16426
16467
  string: { unit: "Zeichen", verb: "zu haben" },
@@ -16534,7 +16575,7 @@ function de_default() {
16534
16575
  };
16535
16576
  }
16536
16577
 
16537
- // node_modules/zod/v4/locales/el.js
16578
+ // ../../node_modules/zod/v4/locales/el.js
16538
16579
  var error11 = () => {
16539
16580
  const Sizable = {
16540
16581
  string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
@@ -16647,7 +16688,7 @@ function el_default() {
16647
16688
  };
16648
16689
  }
16649
16690
 
16650
- // node_modules/zod/v4/locales/en.js
16691
+ // ../../node_modules/zod/v4/locales/en.js
16651
16692
  var error12 = () => {
16652
16693
  const Sizable = {
16653
16694
  string: { unit: "characters", verb: "to have" },
@@ -16772,7 +16813,7 @@ function en_default() {
16772
16813
  };
16773
16814
  }
16774
16815
 
16775
- // node_modules/zod/v4/locales/eo.js
16816
+ // ../../node_modules/zod/v4/locales/eo.js
16776
16817
  var error13 = () => {
16777
16818
  const Sizable = {
16778
16819
  string: { unit: "karaktrojn", verb: "havi" },
@@ -16887,7 +16928,7 @@ function eo_default() {
16887
16928
  };
16888
16929
  }
16889
16930
 
16890
- // node_modules/zod/v4/locales/es.js
16931
+ // ../../node_modules/zod/v4/locales/es.js
16891
16932
  var error14 = () => {
16892
16933
  const Sizable = {
16893
16934
  string: { unit: "caracteres", verb: "tener" },
@@ -17024,7 +17065,7 @@ function es_default() {
17024
17065
  };
17025
17066
  }
17026
17067
 
17027
- // node_modules/zod/v4/locales/fa.js
17068
+ // ../../node_modules/zod/v4/locales/fa.js
17028
17069
  var error15 = () => {
17029
17070
  const Sizable = {
17030
17071
  string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
@@ -17144,7 +17185,7 @@ function fa_default() {
17144
17185
  };
17145
17186
  }
17146
17187
 
17147
- // node_modules/zod/v4/locales/fi.js
17188
+ // ../../node_modules/zod/v4/locales/fi.js
17148
17189
  var error16 = () => {
17149
17190
  const Sizable = {
17150
17191
  string: { unit: "merkki\xE4", subject: "merkkijonon" },
@@ -17262,7 +17303,7 @@ function fi_default() {
17262
17303
  };
17263
17304
  }
17264
17305
 
17265
- // node_modules/zod/v4/locales/fr.js
17306
+ // ../../node_modules/zod/v4/locales/fr.js
17266
17307
  var error17 = () => {
17267
17308
  const Sizable = {
17268
17309
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -17392,7 +17433,7 @@ function fr_default() {
17392
17433
  };
17393
17434
  }
17394
17435
 
17395
- // node_modules/zod/v4/locales/fr-CA.js
17436
+ // ../../node_modules/zod/v4/locales/fr-CA.js
17396
17437
  var error18 = () => {
17397
17438
  const Sizable = {
17398
17439
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -17505,7 +17546,7 @@ function fr_CA_default() {
17505
17546
  };
17506
17547
  }
17507
17548
 
17508
- // node_modules/zod/v4/locales/gu.js
17549
+ // ../../node_modules/zod/v4/locales/gu.js
17509
17550
  var error19 = () => {
17510
17551
  const Sizable = {
17511
17552
  string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
@@ -17619,7 +17660,7 @@ function gu_default() {
17619
17660
  };
17620
17661
  }
17621
17662
 
17622
- // node_modules/zod/v4/locales/he.js
17663
+ // ../../node_modules/zod/v4/locales/he.js
17623
17664
  var error20 = () => {
17624
17665
  const TypeNames = {
17625
17666
  string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
@@ -17821,7 +17862,7 @@ function he_default() {
17821
17862
  };
17822
17863
  }
17823
17864
 
17824
- // node_modules/zod/v4/locales/hi.js
17865
+ // ../../node_modules/zod/v4/locales/hi.js
17825
17866
  var error21 = () => {
17826
17867
  const Sizable = {
17827
17868
  string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
@@ -17933,7 +17974,7 @@ function hi_default() {
17933
17974
  };
17934
17975
  }
17935
17976
 
17936
- // node_modules/zod/v4/locales/hr.js
17977
+ // ../../node_modules/zod/v4/locales/hr.js
17937
17978
  var error22 = () => {
17938
17979
  const Sizable = {
17939
17980
  string: { unit: "znakova", verb: "imati" },
@@ -18060,7 +18101,7 @@ function hr_default() {
18060
18101
  };
18061
18102
  }
18062
18103
 
18063
- // node_modules/zod/v4/locales/hu.js
18104
+ // ../../node_modules/zod/v4/locales/hu.js
18064
18105
  var error23 = () => {
18065
18106
  const Sizable = {
18066
18107
  string: { unit: "karakter", verb: "legyen" },
@@ -18174,7 +18215,7 @@ function hu_default() {
18174
18215
  };
18175
18216
  }
18176
18217
 
18177
- // node_modules/zod/v4/locales/hy.js
18218
+ // ../../node_modules/zod/v4/locales/hy.js
18178
18219
  function getArmenianPlural(count, one, many) {
18179
18220
  return Math.abs(count) === 1 ? one : many;
18180
18221
  }
@@ -18333,7 +18374,7 @@ function hy_default() {
18333
18374
  };
18334
18375
  }
18335
18376
 
18336
- // node_modules/zod/v4/locales/id.js
18377
+ // ../../node_modules/zod/v4/locales/id.js
18337
18378
  var error25 = () => {
18338
18379
  const Sizable = {
18339
18380
  string: { unit: "karakter", verb: "memiliki" },
@@ -18445,7 +18486,7 @@ function id_default() {
18445
18486
  };
18446
18487
  }
18447
18488
 
18448
- // node_modules/zod/v4/locales/is.js
18489
+ // ../../node_modules/zod/v4/locales/is.js
18449
18490
  var error26 = () => {
18450
18491
  const Sizable = {
18451
18492
  string: { unit: "stafi", verb: "a\xF0 hafa" },
@@ -18560,7 +18601,7 @@ function is_default() {
18560
18601
  };
18561
18602
  }
18562
18603
 
18563
- // node_modules/zod/v4/locales/it.js
18604
+ // ../../node_modules/zod/v4/locales/it.js
18564
18605
  var error27 = () => {
18565
18606
  const Sizable = {
18566
18607
  string: { unit: "caratteri", verb: "avere" },
@@ -18674,7 +18715,7 @@ function it_default() {
18674
18715
  };
18675
18716
  }
18676
18717
 
18677
- // node_modules/zod/v4/locales/ja.js
18718
+ // ../../node_modules/zod/v4/locales/ja.js
18678
18719
  var error28 = () => {
18679
18720
  const Sizable = {
18680
18721
  string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
@@ -18787,7 +18828,7 @@ function ja_default() {
18787
18828
  };
18788
18829
  }
18789
18830
 
18790
- // node_modules/zod/v4/locales/ka.js
18831
+ // ../../node_modules/zod/v4/locales/ka.js
18791
18832
  var error29 = () => {
18792
18833
  const Sizable = {
18793
18834
  string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
@@ -18905,7 +18946,7 @@ function ka_default() {
18905
18946
  };
18906
18947
  }
18907
18948
 
18908
- // node_modules/zod/v4/locales/km.js
18949
+ // ../../node_modules/zod/v4/locales/km.js
18909
18950
  var error30 = () => {
18910
18951
  const Sizable = {
18911
18952
  string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
@@ -19021,12 +19062,12 @@ function km_default() {
19021
19062
  };
19022
19063
  }
19023
19064
 
19024
- // node_modules/zod/v4/locales/kh.js
19065
+ // ../../node_modules/zod/v4/locales/kh.js
19025
19066
  function kh_default() {
19026
19067
  return km_default();
19027
19068
  }
19028
19069
 
19029
- // node_modules/zod/v4/locales/kn.js
19070
+ // ../../node_modules/zod/v4/locales/kn.js
19030
19071
  var error31 = () => {
19031
19072
  const Sizable = {
19032
19073
  string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
@@ -19142,7 +19183,7 @@ function kn_default() {
19142
19183
  };
19143
19184
  }
19144
19185
 
19145
- // node_modules/zod/v4/locales/ko.js
19186
+ // ../../node_modules/zod/v4/locales/ko.js
19146
19187
  var error32 = () => {
19147
19188
  const Sizable = {
19148
19189
  string: { unit: "\uBB38\uC790", verb: "to have" },
@@ -19259,7 +19300,7 @@ function ko_default() {
19259
19300
  };
19260
19301
  }
19261
19302
 
19262
- // node_modules/zod/v4/locales/lt.js
19303
+ // ../../node_modules/zod/v4/locales/lt.js
19263
19304
  var capitalizeFirstCharacter = (text) => {
19264
19305
  return text.charAt(0).toUpperCase() + text.slice(1);
19265
19306
  };
@@ -19467,7 +19508,7 @@ function lt_default() {
19467
19508
  };
19468
19509
  }
19469
19510
 
19470
- // node_modules/zod/v4/locales/mk.js
19511
+ // ../../node_modules/zod/v4/locales/mk.js
19471
19512
  var error34 = () => {
19472
19513
  const Sizable = {
19473
19514
  string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
@@ -19582,7 +19623,7 @@ function mk_default() {
19582
19623
  };
19583
19624
  }
19584
19625
 
19585
- // node_modules/zod/v4/locales/ms.js
19626
+ // ../../node_modules/zod/v4/locales/ms.js
19586
19627
  var error35 = () => {
19587
19628
  const Sizable = {
19588
19629
  string: { unit: "aksara", verb: "mempunyai" },
@@ -19695,7 +19736,7 @@ function ms_default() {
19695
19736
  };
19696
19737
  }
19697
19738
 
19698
- // node_modules/zod/v4/locales/ne.js
19739
+ // ../../node_modules/zod/v4/locales/ne.js
19699
19740
  var error36 = () => {
19700
19741
  const Sizable = {
19701
19742
  string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
@@ -19807,7 +19848,7 @@ function ne_default() {
19807
19848
  };
19808
19849
  }
19809
19850
 
19810
- // node_modules/zod/v4/locales/nl.js
19851
+ // ../../node_modules/zod/v4/locales/nl.js
19811
19852
  var error37 = () => {
19812
19853
  const Sizable = {
19813
19854
  string: { unit: "tekens", verb: "heeft" },
@@ -19923,7 +19964,7 @@ function nl_default() {
19923
19964
  };
19924
19965
  }
19925
19966
 
19926
- // node_modules/zod/v4/locales/nn.js
19967
+ // ../../node_modules/zod/v4/locales/nn.js
19927
19968
  var error38 = () => {
19928
19969
  const Sizable = {
19929
19970
  string: { unit: "teikn", verb: "\xE5 ha" },
@@ -20037,7 +20078,7 @@ function nn_default() {
20037
20078
  };
20038
20079
  }
20039
20080
 
20040
- // node_modules/zod/v4/locales/no.js
20081
+ // ../../node_modules/zod/v4/locales/no.js
20041
20082
  var error39 = () => {
20042
20083
  const Sizable = {
20043
20084
  string: { unit: "tegn", verb: "\xE5 ha" },
@@ -20151,7 +20192,7 @@ function no_default() {
20151
20192
  };
20152
20193
  }
20153
20194
 
20154
- // node_modules/zod/v4/locales/ota.js
20195
+ // ../../node_modules/zod/v4/locales/ota.js
20155
20196
  var error40 = () => {
20156
20197
  const Sizable = {
20157
20198
  string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
@@ -20266,7 +20307,7 @@ function ota_default() {
20266
20307
  };
20267
20308
  }
20268
20309
 
20269
- // node_modules/zod/v4/locales/ps.js
20310
+ // ../../node_modules/zod/v4/locales/ps.js
20270
20311
  var error41 = () => {
20271
20312
  const Sizable = {
20272
20313
  string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
@@ -20386,7 +20427,7 @@ function ps_default() {
20386
20427
  };
20387
20428
  }
20388
20429
 
20389
- // node_modules/zod/v4/locales/pl.js
20430
+ // ../../node_modules/zod/v4/locales/pl.js
20390
20431
  var error42 = () => {
20391
20432
  const Sizable = {
20392
20433
  string: { unit: "znak\xF3w", verb: "mie\u0107" },
@@ -20501,7 +20542,7 @@ function pl_default() {
20501
20542
  };
20502
20543
  }
20503
20544
 
20504
- // node_modules/zod/v4/locales/pt.js
20545
+ // ../../node_modules/zod/v4/locales/pt.js
20505
20546
  var error43 = () => {
20506
20547
  const Sizable = {
20507
20548
  string: { unit: "caracteres" },
@@ -20645,7 +20686,7 @@ function pt_default() {
20645
20686
  };
20646
20687
  }
20647
20688
 
20648
- // node_modules/zod/v4/locales/pt-BR.js
20689
+ // ../../node_modules/zod/v4/locales/pt-BR.js
20649
20690
  var error44 = () => {
20650
20691
  const Sizable = {
20651
20692
  string: { unit: "caracteres" },
@@ -20790,7 +20831,7 @@ function pt_BR_default() {
20790
20831
  };
20791
20832
  }
20792
20833
 
20793
- // node_modules/zod/v4/locales/ro.js
20834
+ // ../../node_modules/zod/v4/locales/ro.js
20794
20835
  var error45 = () => {
20795
20836
  const Sizable = {
20796
20837
  string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
@@ -20913,7 +20954,7 @@ function ro_default() {
20913
20954
  };
20914
20955
  }
20915
20956
 
20916
- // node_modules/zod/v4/locales/ru.js
20957
+ // ../../node_modules/zod/v4/locales/ru.js
20917
20958
  function getRussianPlural(count, one, few, many) {
20918
20959
  const absCount = Math.abs(count);
20919
20960
  const lastDigit = absCount % 10;
@@ -21082,7 +21123,7 @@ function ru_default() {
21082
21123
  };
21083
21124
  }
21084
21125
 
21085
- // node_modules/zod/v4/locales/sk.js
21126
+ // ../../node_modules/zod/v4/locales/sk.js
21086
21127
  var error47 = () => {
21087
21128
  const Sizable = {
21088
21129
  string: { unit: "znakov", verb: "ma\u0165" },
@@ -21199,7 +21240,7 @@ function sk_default() {
21199
21240
  };
21200
21241
  }
21201
21242
 
21202
- // node_modules/zod/v4/locales/sl.js
21243
+ // ../../node_modules/zod/v4/locales/sl.js
21203
21244
  var error48 = () => {
21204
21245
  const Sizable = {
21205
21246
  string: { unit: "znakov", verb: "imeti" },
@@ -21314,7 +21355,7 @@ function sl_default() {
21314
21355
  };
21315
21356
  }
21316
21357
 
21317
- // node_modules/zod/v4/locales/sv.js
21358
+ // ../../node_modules/zod/v4/locales/sv.js
21318
21359
  var error49 = () => {
21319
21360
  const Sizable = {
21320
21361
  string: { unit: "tecken", verb: "att ha" },
@@ -21430,7 +21471,7 @@ function sv_default() {
21430
21471
  };
21431
21472
  }
21432
21473
 
21433
- // node_modules/zod/v4/locales/ta.js
21474
+ // ../../node_modules/zod/v4/locales/ta.js
21434
21475
  var error50 = () => {
21435
21476
  const Sizable = {
21436
21477
  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" },
@@ -21546,7 +21587,7 @@ function ta_default() {
21546
21587
  };
21547
21588
  }
21548
21589
 
21549
- // node_modules/zod/v4/locales/tg.js
21590
+ // ../../node_modules/zod/v4/locales/tg.js
21550
21591
  var error51 = () => {
21551
21592
  const Sizable = {
21552
21593
  string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
@@ -21663,7 +21704,7 @@ function tg_default() {
21663
21704
  };
21664
21705
  }
21665
21706
 
21666
- // node_modules/zod/v4/locales/th.js
21707
+ // ../../node_modules/zod/v4/locales/th.js
21667
21708
  var error52 = () => {
21668
21709
  const Sizable = {
21669
21710
  string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
@@ -21779,7 +21820,7 @@ function th_default() {
21779
21820
  };
21780
21821
  }
21781
21822
 
21782
- // node_modules/zod/v4/locales/tk.js
21823
+ // ../../node_modules/zod/v4/locales/tk.js
21783
21824
  var error53 = () => {
21784
21825
  const Sizable = {
21785
21826
  string: { unit: "simwol", verb: "bolmaly" },
@@ -21887,7 +21928,7 @@ function tk_default() {
21887
21928
  };
21888
21929
  }
21889
21930
 
21890
- // node_modules/zod/v4/locales/tr.js
21931
+ // ../../node_modules/zod/v4/locales/tr.js
21891
21932
  var error54 = () => {
21892
21933
  const Sizable = {
21893
21934
  string: { unit: "karakter", verb: "olmal\u0131" },
@@ -21998,7 +22039,7 @@ function tr_default() {
21998
22039
  };
21999
22040
  }
22000
22041
 
22001
- // node_modules/zod/v4/locales/uk.js
22042
+ // ../../node_modules/zod/v4/locales/uk.js
22002
22043
  var error55 = () => {
22003
22044
  const Sizable = {
22004
22045
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
@@ -22112,12 +22153,12 @@ function uk_default() {
22112
22153
  };
22113
22154
  }
22114
22155
 
22115
- // node_modules/zod/v4/locales/ua.js
22156
+ // ../../node_modules/zod/v4/locales/ua.js
22116
22157
  function ua_default() {
22117
22158
  return uk_default();
22118
22159
  }
22119
22160
 
22120
- // node_modules/zod/v4/locales/ur.js
22161
+ // ../../node_modules/zod/v4/locales/ur.js
22121
22162
  var error56 = () => {
22122
22163
  const Sizable = {
22123
22164
  string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
@@ -22233,7 +22274,7 @@ function ur_default() {
22233
22274
  };
22234
22275
  }
22235
22276
 
22236
- // node_modules/zod/v4/locales/uz.js
22277
+ // ../../node_modules/zod/v4/locales/uz.js
22237
22278
  var error57 = () => {
22238
22279
  const Sizable = {
22239
22280
  string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
@@ -22347,7 +22388,7 @@ function uz_default() {
22347
22388
  };
22348
22389
  }
22349
22390
 
22350
- // node_modules/zod/v4/locales/vi.js
22391
+ // ../../node_modules/zod/v4/locales/vi.js
22351
22392
  var error58 = () => {
22352
22393
  const Sizable = {
22353
22394
  string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
@@ -22461,7 +22502,7 @@ function vi_default() {
22461
22502
  };
22462
22503
  }
22463
22504
 
22464
- // node_modules/zod/v4/locales/zh-CN.js
22505
+ // ../../node_modules/zod/v4/locales/zh-CN.js
22465
22506
  var error59 = () => {
22466
22507
  const Sizable = {
22467
22508
  string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
@@ -22576,7 +22617,7 @@ function zh_CN_default() {
22576
22617
  };
22577
22618
  }
22578
22619
 
22579
- // node_modules/zod/v4/locales/zh-TW.js
22620
+ // ../../node_modules/zod/v4/locales/zh-TW.js
22580
22621
  var error60 = () => {
22581
22622
  const Sizable = {
22582
22623
  string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
@@ -22689,7 +22730,7 @@ function zh_TW_default() {
22689
22730
  };
22690
22731
  }
22691
22732
 
22692
- // node_modules/zod/v4/locales/yo.js
22733
+ // ../../node_modules/zod/v4/locales/yo.js
22693
22734
  var error61 = () => {
22694
22735
  const Sizable = {
22695
22736
  string: { unit: "\xE0mi", verb: "n\xED" },
@@ -22802,7 +22843,7 @@ function yo_default() {
22802
22843
  };
22803
22844
  }
22804
22845
 
22805
- // node_modules/zod/v4/core/registries.js
22846
+ // ../../node_modules/zod/v4/core/registries.js
22806
22847
  var _a2;
22807
22848
  var $output = /* @__PURE__ */ Symbol("ZodOutput");
22808
22849
  var $input = /* @__PURE__ */ Symbol("ZodInput");
@@ -22852,7 +22893,7 @@ function registry() {
22852
22893
  (_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
22853
22894
  var globalRegistry = globalThis.__zod_globalRegistry;
22854
22895
 
22855
- // node_modules/zod/v4/core/compile.js
22896
+ // ../../node_modules/zod/v4/core/compile.js
22856
22897
  var INVALID = Symbol.for("zod.compile.invalid");
22857
22898
  var FALLBACK_FLAG = Symbol.for("zod.compile.fallback");
22858
22899
  var ZodCompileAsyncError = class extends Error {
@@ -23887,9 +23928,15 @@ function generateNullableCheck(doc, ctx, schema, accessor, buildsValue = true) {
23887
23928
  doc.write(`}`);
23888
23929
  return outputVar;
23889
23930
  }
23931
+ function generateSizeGate(doc, schema, size) {
23932
+ for (const [max, check2] of sizeCaps(schema._zod.def.checks)) {
23933
+ doc.write(`if (${size} > ${numericOperand(max, check2._zod.def.check)}) return INVALID;`);
23934
+ }
23935
+ }
23890
23936
  function generateArrayCheck(doc, ctx, schema, accessor, buildsValue = true) {
23891
23937
  const def = schema._zod.def;
23892
23938
  doc.write(`if (!Array.isArray(${accessor})) return INVALID;`);
23939
+ generateSizeGate(doc, schema, `${accessor}.length`);
23893
23940
  const outputVar = buildsValue ? newVar(ctx) : null;
23894
23941
  const iVar = newVar(ctx);
23895
23942
  const elemVar = newVar(ctx);
@@ -24289,6 +24336,7 @@ function literalPropertyKey(ctx, key) {
24289
24336
  function generateMapCheck(doc, ctx, schema, accessor) {
24290
24337
  const def = schema._zod.def;
24291
24338
  doc.write(`if (!(${accessor} instanceof Map)) return INVALID;`);
24339
+ generateSizeGate(doc, schema, `${accessor}.size`);
24292
24340
  const outputVar = newVar(ctx);
24293
24341
  const kVar = newVar(ctx);
24294
24342
  const valVar = newVar(ctx);
@@ -24305,6 +24353,7 @@ function generateMapCheck(doc, ctx, schema, accessor) {
24305
24353
  function generateSetCheck(doc, ctx, schema, accessor) {
24306
24354
  const def = schema._zod.def;
24307
24355
  doc.write(`if (!(${accessor} instanceof Set)) return INVALID;`);
24356
+ generateSizeGate(doc, schema, `${accessor}.size`);
24308
24357
  const outputVar = newVar(ctx);
24309
24358
  const valVar = newVar(ctx);
24310
24359
  doc.write(`const ${outputVar} = new Set();`);
@@ -24449,7 +24498,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
24449
24498
  return accessor;
24450
24499
  }
24451
24500
 
24452
- // node_modules/zod/v4/core/api.js
24501
+ // ../../node_modules/zod/v4/core/api.js
24453
24502
  function snapshotChecks(def) {
24454
24503
  if (def.checks)
24455
24504
  def.checks = [...def.checks];
@@ -25508,7 +25557,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
25508
25557
  return inst;
25509
25558
  }
25510
25559
 
25511
- // node_modules/zod/v4/core/to-json-schema.js
25560
+ // ../../node_modules/zod/v4/core/to-json-schema.js
25512
25561
  function assignProps(target, ...sources) {
25513
25562
  for (const source of sources) {
25514
25563
  for (const key of Reflect.ownKeys(source)) {
@@ -26035,7 +26084,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
26035
26084
  return finalize(ctx, schema);
26036
26085
  };
26037
26086
 
26038
- // node_modules/zod/v4/core/json-schema-processors.js
26087
+ // ../../node_modules/zod/v4/core/json-schema-processors.js
26039
26088
  var narrowMin = (agg, key, value) => {
26040
26089
  if (agg[key] === void 0 || value > agg[key])
26041
26090
  agg[key] = value;
@@ -26782,7 +26831,7 @@ function toJSONSchema(input2, params) {
26782
26831
  return finalize(ctx, input2);
26783
26832
  }
26784
26833
 
26785
- // node_modules/zod/v4/core/json-schema-generator.js
26834
+ // ../../node_modules/zod/v4/core/json-schema-generator.js
26786
26835
  var JSONSchemaGenerator = class {
26787
26836
  /** @deprecated Access via ctx instead */
26788
26837
  get metadataRegistry() {
@@ -26860,10 +26909,10 @@ var JSONSchemaGenerator = class {
26860
26909
  }
26861
26910
  };
26862
26911
 
26863
- // node_modules/zod/v4/core/json-schema.js
26912
+ // ../../node_modules/zod/v4/core/json-schema.js
26864
26913
  var json_schema_exports = {};
26865
26914
 
26866
- // node_modules/zod/v4/classic/schemas.js
26915
+ // ../../node_modules/zod/v4/classic/schemas.js
26867
26916
  var schemas_exports2 = {};
26868
26917
  __export(schemas_exports2, {
26869
26918
  ZodAny: () => ZodAny,
@@ -27044,7 +27093,7 @@ __export(schemas_exports2, {
27044
27093
  xor: () => xor
27045
27094
  });
27046
27095
 
27047
- // node_modules/zod/v4/classic/checks.js
27096
+ // ../../node_modules/zod/v4/classic/checks.js
27048
27097
  var checks_exports2 = {};
27049
27098
  __export(checks_exports2, {
27050
27099
  endsWith: () => _endsWith,
@@ -27079,7 +27128,7 @@ __export(checks_exports2, {
27079
27128
  uppercase: () => _uppercase
27080
27129
  });
27081
27130
 
27082
- // node_modules/zod/v4/classic/errors.js
27131
+ // ../../node_modules/zod/v4/classic/errors.js
27083
27132
  var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
27084
27133
  function _lazyMethod(proto, key, make) {
27085
27134
  Object.defineProperty(proto, key, {
@@ -27125,7 +27174,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
27125
27174
  Parent: Error
27126
27175
  });
27127
27176
 
27128
- // node_modules/zod/v4/classic/parse.js
27177
+ // ../../node_modules/zod/v4/classic/parse.js
27129
27178
  var parse4 = /* @__PURE__ */ _parse(ZodRealError);
27130
27179
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
27131
27180
  var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -27139,7 +27188,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
27139
27188
  var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
27140
27189
  var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
27141
27190
 
27142
- // node_modules/zod/v4/classic/schemas.js
27191
+ // ../../node_modules/zod/v4/classic/schemas.js
27143
27192
  function _ensureDefaultLocale() {
27144
27193
  if (!globalConfig.localeError)
27145
27194
  config(en_default());
@@ -28604,7 +28653,7 @@ function preprocess(fn, schema) {
28604
28653
  });
28605
28654
  }
28606
28655
 
28607
- // node_modules/zod/v4/classic/compat.js
28656
+ // ../../node_modules/zod/v4/classic/compat.js
28608
28657
  var ZodIssueCode = {
28609
28658
  invalid_type: "invalid_type",
28610
28659
  too_big: "too_big",
@@ -28630,7 +28679,7 @@ var ZodFirstPartyTypeKind;
28630
28679
  /* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
28631
28680
  })(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
28632
28681
 
28633
- // node_modules/zod/v4/classic/iso.js
28682
+ // ../../node_modules/zod/v4/classic/iso.js
28634
28683
  var iso_exports = {};
28635
28684
  __export(iso_exports, {
28636
28685
  ZodISODate: () => ZodISODate,
@@ -28655,7 +28704,7 @@ function duration2(params) {
28655
28704
  return _isoDuration(ZodISODuration, params);
28656
28705
  }
28657
28706
 
28658
- // node_modules/zod/v4/classic/from-json-schema.js
28707
+ // ../../node_modules/zod/v4/classic/from-json-schema.js
28659
28708
  var z = {
28660
28709
  ...schemas_exports2,
28661
28710
  ...checks_exports2,
@@ -29388,7 +29437,7 @@ function fromJSONSchema(schema, params) {
29388
29437
  return convertSchema(normalized, ctx);
29389
29438
  }
29390
29439
 
29391
- // node_modules/zod/v4/core/visit.js
29440
+ // ../../node_modules/zod/v4/core/visit.js
29392
29441
  var RESOLVING = Symbol("z.visit/resolving");
29393
29442
  function visit(schema, fnOrHandlers) {
29394
29443
  const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
@@ -29542,7 +29591,7 @@ function visit(schema, fnOrHandlers) {
29542
29591
  return run(schema);
29543
29592
  }
29544
29593
 
29545
- // node_modules/zod/v4/classic/deep-partial.js
29594
+ // ../../node_modules/zod/v4/classic/deep-partial.js
29546
29595
  function deepPartial(schema) {
29547
29596
  return visit(schema, {
29548
29597
  object: (s) => s.partial(),
@@ -29554,7 +29603,7 @@ function deepPartial(schema) {
29554
29603
  });
29555
29604
  }
29556
29605
 
29557
- // node_modules/zod/v4/classic/in-out.js
29606
+ // ../../node_modules/zod/v4/classic/in-out.js
29558
29607
  function withChecks(side, checks) {
29559
29608
  if (!checks?.length)
29560
29609
  return side;
@@ -29584,7 +29633,7 @@ function output(schema) {
29584
29633
  });
29585
29634
  }
29586
29635
 
29587
- // node_modules/zod/v4/classic/coerce.js
29636
+ // ../../node_modules/zod/v4/classic/coerce.js
29588
29637
  var coerce_exports = {};
29589
29638
  __export(coerce_exports, {
29590
29639
  bigint: () => bigint3,