@lokascript/i18n 7.0.0 → 7.1.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.js CHANGED
@@ -9950,7 +9950,7 @@ function getI18n() {
9950
9950
  return runtimeI18n;
9951
9951
  }
9952
9952
 
9953
- // node_modules/zod/v4/classic/external.js
9953
+ // ../../node_modules/zod/v4/classic/external.js
9954
9954
  var external_exports = {};
9955
9955
  __export(external_exports, {
9956
9956
  $brand: () => $brand,
@@ -10213,7 +10213,7 @@ __export(external_exports, {
10213
10213
  xor: () => xor
10214
10214
  });
10215
10215
 
10216
- // node_modules/zod/v4/core/index.js
10216
+ // ../../node_modules/zod/v4/core/index.js
10217
10217
  var core_exports2 = {};
10218
10218
  __export(core_exports2, {
10219
10219
  $ZodAny: () => $ZodAny,
@@ -10530,7 +10530,7 @@ __export(core_exports2, {
10530
10530
  withParser: () => withParser
10531
10531
  });
10532
10532
 
10533
- // node_modules/zod/v4/core/util.js
10533
+ // ../../node_modules/zod/v4/core/util.js
10534
10534
  var util_exports = {};
10535
10535
  __export(util_exports, {
10536
10536
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -10601,6 +10601,7 @@ __export(util_exports, {
10601
10601
  required: () => required,
10602
10602
  safeExtend: () => safeExtend,
10603
10603
  shallowClone: () => shallowClone,
10604
+ sizeCaps: () => sizeCaps,
10604
10605
  slugify: () => slugify,
10605
10606
  stringifyPrimitive: () => stringifyPrimitive,
10606
10607
  toZod: () => toZod,
@@ -11120,6 +11121,18 @@ function prefixIssues(path, issues) {
11120
11121
  function unwrapMessage(message) {
11121
11122
  return typeof message === "string" ? message : message?.message;
11122
11123
  }
11124
+ function sizeCaps(defChecks) {
11125
+ const caps = [];
11126
+ for (const ch of defChecks ?? []) {
11127
+ const d = ch._zod.def;
11128
+ if (!/_(length|size)$|_equals$/.test(d.check))
11129
+ break;
11130
+ const max = d.maximum ?? d.length ?? d.size;
11131
+ if (max >= 0)
11132
+ caps.push([max, ch]);
11133
+ }
11134
+ return caps;
11135
+ }
11123
11136
  function attachSchema(issues, start, inst) {
11124
11137
  var _a3;
11125
11138
  for (let i = start; i < issues.length; i++) {
@@ -11373,7 +11386,7 @@ function constantCatch(value) {
11373
11386
  return fn;
11374
11387
  }
11375
11388
 
11376
- // node_modules/zod/v4/core/core.js
11389
+ // ../../node_modules/zod/v4/core/core.js
11377
11390
  var _a;
11378
11391
  var NEVER = /* @__PURE__ */ Object.freeze({
11379
11392
  status: "aborted"
@@ -11495,7 +11508,7 @@ function config(newConfig) {
11495
11508
  return globalConfig;
11496
11509
  }
11497
11510
 
11498
- // node_modules/zod/v4/core/errors.js
11511
+ // ../../node_modules/zod/v4/core/errors.js
11499
11512
  function _getMessage() {
11500
11513
  const internals = this._zod;
11501
11514
  internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
@@ -11687,7 +11700,7 @@ function prettifyError(error62) {
11687
11700
  return lines.join("\n");
11688
11701
  }
11689
11702
 
11690
- // node_modules/zod/v4/core/parse.js
11703
+ // ../../node_modules/zod/v4/core/parse.js
11691
11704
  function finalizeParams(callee, params) {
11692
11705
  return { callee: params?.callee ?? callee, Err: params?.Err };
11693
11706
  }
@@ -11847,7 +11860,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
11847
11860
  };
11848
11861
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
11849
11862
 
11850
- // node_modules/zod/v4/core/regexes.js
11863
+ // ../../node_modules/zod/v4/core/regexes.js
11851
11864
  var regexes_exports = {};
11852
11865
  __export(regexes_exports, {
11853
11866
  anyString: () => anyString,
@@ -12019,7 +12032,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
12019
12032
  var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
12020
12033
  var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
12021
12034
 
12022
- // node_modules/zod/v4/core/checks.js
12035
+ // ../../node_modules/zod/v4/core/checks.js
12023
12036
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
12024
12037
  var _a3;
12025
12038
  inst._zod ?? (inst._zod = {});
@@ -12495,7 +12508,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
12495
12508
  };
12496
12509
  });
12497
12510
 
12498
- // node_modules/zod/v4/core/doc.js
12511
+ // ../../node_modules/zod/v4/core/doc.js
12499
12512
  var Doc = class {
12500
12513
  constructor(args = [], closed = {}) {
12501
12514
  this.content = [];
@@ -12536,14 +12549,14 @@ ${content.join("\n")}
12536
12549
  }
12537
12550
  };
12538
12551
 
12539
- // node_modules/zod/v4/core/versions.js
12552
+ // ../../node_modules/zod/v4/core/versions.js
12540
12553
  var version = {
12541
12554
  major: 4,
12542
12555
  minor: 6,
12543
- patch: 5
12556
+ patch: 7
12544
12557
  };
12545
12558
 
12546
- // node_modules/zod/v4/core/schemas.js
12559
+ // ../../node_modules/zod/v4/core/schemas.js
12547
12560
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
12548
12561
  var _a3;
12549
12562
  inst ?? (inst = {});
@@ -13296,6 +13309,31 @@ var $ZodDate = /* @__PURE__ */ $constructor("$ZodDate", (inst, def) => {
13296
13309
  return payload;
13297
13310
  };
13298
13311
  });
13312
+ function capSize(inst, size) {
13313
+ const caps = sizeCaps(inst._zod.def.checks);
13314
+ if (!caps.length)
13315
+ return;
13316
+ const cap = Math.min(...caps.map((c) => c[0]));
13317
+ const parse5 = inst._zod.parse;
13318
+ inst._zod.parse = (payload, ctx) => {
13319
+ const n = size(payload.value);
13320
+ if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
13321
+ for (const [max, ch] of sizeCaps(inst._zod.def.checks)) {
13322
+ if (n > max && ch._zod.def.when(payload)) {
13323
+ const start = payload.issues.length;
13324
+ ch._zod.check(payload);
13325
+ payload.issues[start].continue = false;
13326
+ attachSchema(payload.issues, start, inst);
13327
+ return payload;
13328
+ }
13329
+ }
13330
+ }
13331
+ return parse5(payload, ctx);
13332
+ };
13333
+ }
13334
+ var arraySize = (input2) => Array.isArray(input2) ? input2.length : -1;
13335
+ var mapSize = (input2) => input2 instanceof Map ? input2.size : -1;
13336
+ var setSize = (input2) => input2 instanceof Set ? input2.size : -1;
13299
13337
  function handleArrayResult(result, final, index) {
13300
13338
  if (result.issues.length) {
13301
13339
  final.issues.push(...prefixIssues(index, result.issues));
@@ -13339,6 +13377,7 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
13339
13377
  }
13340
13378
  return payload;
13341
13379
  };
13380
+ capSize(inst, arraySize);
13342
13381
  });
13343
13382
  function handlePropertyResult(result, final, key, input2, optin, optout) {
13344
13383
  const isPresent = key in input2;
@@ -14295,6 +14334,7 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
14295
14334
  return Promise.all(proms).then(() => payload);
14296
14335
  return payload;
14297
14336
  };
14337
+ capSize(inst, mapSize);
14298
14338
  });
14299
14339
  function handleMapResult(keyResult, valueResult, final, key, input2, inst, ctx) {
14300
14340
  if (keyResult.issues.length) {
@@ -14361,6 +14401,7 @@ var $ZodSet = /* @__PURE__ */ $constructor("$ZodSet", (inst, def) => {
14361
14401
  return Promise.all(proms).then(() => payload);
14362
14402
  return payload;
14363
14403
  };
14404
+ capSize(inst, setSize);
14364
14405
  });
14365
14406
  function handleSetResult(result, final) {
14366
14407
  if (result.issues.length) {
@@ -14957,7 +14998,7 @@ function handleRefineResult(result, payload, input2, inst) {
14957
14998
  }
14958
14999
  }
14959
15000
 
14960
- // node_modules/zod/v4/core/memoizer.js
15001
+ // ../../node_modules/zod/v4/core/memoizer.js
14961
15002
  var $ZodCyclicError = class extends Error {
14962
15003
  constructor() {
14963
15004
  super(`Cannot parse a reference cycle that closes through a transform`);
@@ -15233,7 +15274,7 @@ function isBackEdge(ctx, value) {
15233
15274
  return backEdges !== void 0 && isRef(value) && backEdges.has(value);
15234
15275
  }
15235
15276
 
15236
- // node_modules/zod/v4/locales/index.js
15277
+ // ../../node_modules/zod/v4/locales/index.js
15237
15278
  var locales_exports = {};
15238
15279
  __export(locales_exports, {
15239
15280
  ar: () => ar_default,
@@ -15301,7 +15342,7 @@ __export(locales_exports, {
15301
15342
  zhTW: () => zh_TW_default
15302
15343
  });
15303
15344
 
15304
- // node_modules/zod/v4/locales/ar.js
15345
+ // ../../node_modules/zod/v4/locales/ar.js
15305
15346
  var error = () => {
15306
15347
  const Sizable = {
15307
15348
  string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
@@ -15413,7 +15454,7 @@ function ar_default() {
15413
15454
  };
15414
15455
  }
15415
15456
 
15416
- // node_modules/zod/v4/locales/az.js
15457
+ // ../../node_modules/zod/v4/locales/az.js
15417
15458
  var error2 = () => {
15418
15459
  const Sizable = {
15419
15460
  string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
@@ -15524,7 +15565,7 @@ function az_default() {
15524
15565
  };
15525
15566
  }
15526
15567
 
15527
- // node_modules/zod/v4/locales/be.js
15568
+ // ../../node_modules/zod/v4/locales/be.js
15528
15569
  function getBelarusianPlural(count, one, few, many) {
15529
15570
  const absCount = Math.abs(count);
15530
15571
  const lastDigit = absCount % 10;
@@ -15693,7 +15734,7 @@ function be_default() {
15693
15734
  };
15694
15735
  }
15695
15736
 
15696
- // node_modules/zod/v4/locales/bg.js
15737
+ // ../../node_modules/zod/v4/locales/bg.js
15697
15738
  var error4 = () => {
15698
15739
  const Sizable = {
15699
15740
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
@@ -15819,7 +15860,7 @@ function bg_default() {
15819
15860
  };
15820
15861
  }
15821
15862
 
15822
- // node_modules/zod/v4/locales/bn.js
15863
+ // ../../node_modules/zod/v4/locales/bn.js
15823
15864
  var error5 = () => {
15824
15865
  const Sizable = {
15825
15866
  string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
@@ -15933,7 +15974,7 @@ function bn_default() {
15933
15974
  };
15934
15975
  }
15935
15976
 
15936
- // node_modules/zod/v4/locales/ca.js
15977
+ // ../../node_modules/zod/v4/locales/ca.js
15937
15978
  var error6 = () => {
15938
15979
  const Sizable = {
15939
15980
  string: { unit: "car\xE0cters", verb: "contenir" },
@@ -16047,7 +16088,7 @@ function ca_default() {
16047
16088
  };
16048
16089
  }
16049
16090
 
16050
- // node_modules/zod/v4/locales/ckb.js
16091
+ // ../../node_modules/zod/v4/locales/ckb.js
16051
16092
  var error7 = () => {
16052
16093
  const Sizable = {
16053
16094
  string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
@@ -16180,7 +16221,7 @@ function ckb_default() {
16180
16221
  };
16181
16222
  }
16182
16223
 
16183
- // node_modules/zod/v4/locales/cs.js
16224
+ // ../../node_modules/zod/v4/locales/cs.js
16184
16225
  var error8 = () => {
16185
16226
  const Sizable = {
16186
16227
  string: { unit: "znak\u016F", verb: "m\xEDt" },
@@ -16297,7 +16338,7 @@ function cs_default() {
16297
16338
  };
16298
16339
  }
16299
16340
 
16300
- // node_modules/zod/v4/locales/da.js
16341
+ // ../../node_modules/zod/v4/locales/da.js
16301
16342
  var error9 = () => {
16302
16343
  const Sizable = {
16303
16344
  string: { unit: "tegn", verb: "havde" },
@@ -16418,7 +16459,7 @@ function da_default() {
16418
16459
  };
16419
16460
  }
16420
16461
 
16421
- // node_modules/zod/v4/locales/de.js
16462
+ // ../../node_modules/zod/v4/locales/de.js
16422
16463
  var error10 = () => {
16423
16464
  const Sizable = {
16424
16465
  string: { unit: "Zeichen", verb: "zu haben" },
@@ -16532,7 +16573,7 @@ function de_default() {
16532
16573
  };
16533
16574
  }
16534
16575
 
16535
- // node_modules/zod/v4/locales/el.js
16576
+ // ../../node_modules/zod/v4/locales/el.js
16536
16577
  var error11 = () => {
16537
16578
  const Sizable = {
16538
16579
  string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
@@ -16645,7 +16686,7 @@ function el_default() {
16645
16686
  };
16646
16687
  }
16647
16688
 
16648
- // node_modules/zod/v4/locales/en.js
16689
+ // ../../node_modules/zod/v4/locales/en.js
16649
16690
  var error12 = () => {
16650
16691
  const Sizable = {
16651
16692
  string: { unit: "characters", verb: "to have" },
@@ -16770,7 +16811,7 @@ function en_default() {
16770
16811
  };
16771
16812
  }
16772
16813
 
16773
- // node_modules/zod/v4/locales/eo.js
16814
+ // ../../node_modules/zod/v4/locales/eo.js
16774
16815
  var error13 = () => {
16775
16816
  const Sizable = {
16776
16817
  string: { unit: "karaktrojn", verb: "havi" },
@@ -16885,7 +16926,7 @@ function eo_default() {
16885
16926
  };
16886
16927
  }
16887
16928
 
16888
- // node_modules/zod/v4/locales/es.js
16929
+ // ../../node_modules/zod/v4/locales/es.js
16889
16930
  var error14 = () => {
16890
16931
  const Sizable = {
16891
16932
  string: { unit: "caracteres", verb: "tener" },
@@ -17022,7 +17063,7 @@ function es_default() {
17022
17063
  };
17023
17064
  }
17024
17065
 
17025
- // node_modules/zod/v4/locales/fa.js
17066
+ // ../../node_modules/zod/v4/locales/fa.js
17026
17067
  var error15 = () => {
17027
17068
  const Sizable = {
17028
17069
  string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
@@ -17142,7 +17183,7 @@ function fa_default() {
17142
17183
  };
17143
17184
  }
17144
17185
 
17145
- // node_modules/zod/v4/locales/fi.js
17186
+ // ../../node_modules/zod/v4/locales/fi.js
17146
17187
  var error16 = () => {
17147
17188
  const Sizable = {
17148
17189
  string: { unit: "merkki\xE4", subject: "merkkijonon" },
@@ -17260,7 +17301,7 @@ function fi_default() {
17260
17301
  };
17261
17302
  }
17262
17303
 
17263
- // node_modules/zod/v4/locales/fr.js
17304
+ // ../../node_modules/zod/v4/locales/fr.js
17264
17305
  var error17 = () => {
17265
17306
  const Sizable = {
17266
17307
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -17390,7 +17431,7 @@ function fr_default() {
17390
17431
  };
17391
17432
  }
17392
17433
 
17393
- // node_modules/zod/v4/locales/fr-CA.js
17434
+ // ../../node_modules/zod/v4/locales/fr-CA.js
17394
17435
  var error18 = () => {
17395
17436
  const Sizable = {
17396
17437
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -17503,7 +17544,7 @@ function fr_CA_default() {
17503
17544
  };
17504
17545
  }
17505
17546
 
17506
- // node_modules/zod/v4/locales/gu.js
17547
+ // ../../node_modules/zod/v4/locales/gu.js
17507
17548
  var error19 = () => {
17508
17549
  const Sizable = {
17509
17550
  string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
@@ -17617,7 +17658,7 @@ function gu_default() {
17617
17658
  };
17618
17659
  }
17619
17660
 
17620
- // node_modules/zod/v4/locales/he.js
17661
+ // ../../node_modules/zod/v4/locales/he.js
17621
17662
  var error20 = () => {
17622
17663
  const TypeNames = {
17623
17664
  string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
@@ -17819,7 +17860,7 @@ function he_default() {
17819
17860
  };
17820
17861
  }
17821
17862
 
17822
- // node_modules/zod/v4/locales/hi.js
17863
+ // ../../node_modules/zod/v4/locales/hi.js
17823
17864
  var error21 = () => {
17824
17865
  const Sizable = {
17825
17866
  string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
@@ -17931,7 +17972,7 @@ function hi_default() {
17931
17972
  };
17932
17973
  }
17933
17974
 
17934
- // node_modules/zod/v4/locales/hr.js
17975
+ // ../../node_modules/zod/v4/locales/hr.js
17935
17976
  var error22 = () => {
17936
17977
  const Sizable = {
17937
17978
  string: { unit: "znakova", verb: "imati" },
@@ -18058,7 +18099,7 @@ function hr_default() {
18058
18099
  };
18059
18100
  }
18060
18101
 
18061
- // node_modules/zod/v4/locales/hu.js
18102
+ // ../../node_modules/zod/v4/locales/hu.js
18062
18103
  var error23 = () => {
18063
18104
  const Sizable = {
18064
18105
  string: { unit: "karakter", verb: "legyen" },
@@ -18172,7 +18213,7 @@ function hu_default() {
18172
18213
  };
18173
18214
  }
18174
18215
 
18175
- // node_modules/zod/v4/locales/hy.js
18216
+ // ../../node_modules/zod/v4/locales/hy.js
18176
18217
  function getArmenianPlural(count, one, many) {
18177
18218
  return Math.abs(count) === 1 ? one : many;
18178
18219
  }
@@ -18331,7 +18372,7 @@ function hy_default() {
18331
18372
  };
18332
18373
  }
18333
18374
 
18334
- // node_modules/zod/v4/locales/id.js
18375
+ // ../../node_modules/zod/v4/locales/id.js
18335
18376
  var error25 = () => {
18336
18377
  const Sizable = {
18337
18378
  string: { unit: "karakter", verb: "memiliki" },
@@ -18443,7 +18484,7 @@ function id_default() {
18443
18484
  };
18444
18485
  }
18445
18486
 
18446
- // node_modules/zod/v4/locales/is.js
18487
+ // ../../node_modules/zod/v4/locales/is.js
18447
18488
  var error26 = () => {
18448
18489
  const Sizable = {
18449
18490
  string: { unit: "stafi", verb: "a\xF0 hafa" },
@@ -18558,7 +18599,7 @@ function is_default() {
18558
18599
  };
18559
18600
  }
18560
18601
 
18561
- // node_modules/zod/v4/locales/it.js
18602
+ // ../../node_modules/zod/v4/locales/it.js
18562
18603
  var error27 = () => {
18563
18604
  const Sizable = {
18564
18605
  string: { unit: "caratteri", verb: "avere" },
@@ -18672,7 +18713,7 @@ function it_default() {
18672
18713
  };
18673
18714
  }
18674
18715
 
18675
- // node_modules/zod/v4/locales/ja.js
18716
+ // ../../node_modules/zod/v4/locales/ja.js
18676
18717
  var error28 = () => {
18677
18718
  const Sizable = {
18678
18719
  string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
@@ -18785,7 +18826,7 @@ function ja_default() {
18785
18826
  };
18786
18827
  }
18787
18828
 
18788
- // node_modules/zod/v4/locales/ka.js
18829
+ // ../../node_modules/zod/v4/locales/ka.js
18789
18830
  var error29 = () => {
18790
18831
  const Sizable = {
18791
18832
  string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
@@ -18903,7 +18944,7 @@ function ka_default() {
18903
18944
  };
18904
18945
  }
18905
18946
 
18906
- // node_modules/zod/v4/locales/km.js
18947
+ // ../../node_modules/zod/v4/locales/km.js
18907
18948
  var error30 = () => {
18908
18949
  const Sizable = {
18909
18950
  string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
@@ -19019,12 +19060,12 @@ function km_default() {
19019
19060
  };
19020
19061
  }
19021
19062
 
19022
- // node_modules/zod/v4/locales/kh.js
19063
+ // ../../node_modules/zod/v4/locales/kh.js
19023
19064
  function kh_default() {
19024
19065
  return km_default();
19025
19066
  }
19026
19067
 
19027
- // node_modules/zod/v4/locales/kn.js
19068
+ // ../../node_modules/zod/v4/locales/kn.js
19028
19069
  var error31 = () => {
19029
19070
  const Sizable = {
19030
19071
  string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
@@ -19140,7 +19181,7 @@ function kn_default() {
19140
19181
  };
19141
19182
  }
19142
19183
 
19143
- // node_modules/zod/v4/locales/ko.js
19184
+ // ../../node_modules/zod/v4/locales/ko.js
19144
19185
  var error32 = () => {
19145
19186
  const Sizable = {
19146
19187
  string: { unit: "\uBB38\uC790", verb: "to have" },
@@ -19257,7 +19298,7 @@ function ko_default() {
19257
19298
  };
19258
19299
  }
19259
19300
 
19260
- // node_modules/zod/v4/locales/lt.js
19301
+ // ../../node_modules/zod/v4/locales/lt.js
19261
19302
  var capitalizeFirstCharacter = (text) => {
19262
19303
  return text.charAt(0).toUpperCase() + text.slice(1);
19263
19304
  };
@@ -19465,7 +19506,7 @@ function lt_default() {
19465
19506
  };
19466
19507
  }
19467
19508
 
19468
- // node_modules/zod/v4/locales/mk.js
19509
+ // ../../node_modules/zod/v4/locales/mk.js
19469
19510
  var error34 = () => {
19470
19511
  const Sizable = {
19471
19512
  string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
@@ -19580,7 +19621,7 @@ function mk_default() {
19580
19621
  };
19581
19622
  }
19582
19623
 
19583
- // node_modules/zod/v4/locales/ms.js
19624
+ // ../../node_modules/zod/v4/locales/ms.js
19584
19625
  var error35 = () => {
19585
19626
  const Sizable = {
19586
19627
  string: { unit: "aksara", verb: "mempunyai" },
@@ -19693,7 +19734,7 @@ function ms_default() {
19693
19734
  };
19694
19735
  }
19695
19736
 
19696
- // node_modules/zod/v4/locales/ne.js
19737
+ // ../../node_modules/zod/v4/locales/ne.js
19697
19738
  var error36 = () => {
19698
19739
  const Sizable = {
19699
19740
  string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
@@ -19805,7 +19846,7 @@ function ne_default() {
19805
19846
  };
19806
19847
  }
19807
19848
 
19808
- // node_modules/zod/v4/locales/nl.js
19849
+ // ../../node_modules/zod/v4/locales/nl.js
19809
19850
  var error37 = () => {
19810
19851
  const Sizable = {
19811
19852
  string: { unit: "tekens", verb: "heeft" },
@@ -19921,7 +19962,7 @@ function nl_default() {
19921
19962
  };
19922
19963
  }
19923
19964
 
19924
- // node_modules/zod/v4/locales/nn.js
19965
+ // ../../node_modules/zod/v4/locales/nn.js
19925
19966
  var error38 = () => {
19926
19967
  const Sizable = {
19927
19968
  string: { unit: "teikn", verb: "\xE5 ha" },
@@ -20035,7 +20076,7 @@ function nn_default() {
20035
20076
  };
20036
20077
  }
20037
20078
 
20038
- // node_modules/zod/v4/locales/no.js
20079
+ // ../../node_modules/zod/v4/locales/no.js
20039
20080
  var error39 = () => {
20040
20081
  const Sizable = {
20041
20082
  string: { unit: "tegn", verb: "\xE5 ha" },
@@ -20149,7 +20190,7 @@ function no_default() {
20149
20190
  };
20150
20191
  }
20151
20192
 
20152
- // node_modules/zod/v4/locales/ota.js
20193
+ // ../../node_modules/zod/v4/locales/ota.js
20153
20194
  var error40 = () => {
20154
20195
  const Sizable = {
20155
20196
  string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
@@ -20264,7 +20305,7 @@ function ota_default() {
20264
20305
  };
20265
20306
  }
20266
20307
 
20267
- // node_modules/zod/v4/locales/ps.js
20308
+ // ../../node_modules/zod/v4/locales/ps.js
20268
20309
  var error41 = () => {
20269
20310
  const Sizable = {
20270
20311
  string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
@@ -20384,7 +20425,7 @@ function ps_default() {
20384
20425
  };
20385
20426
  }
20386
20427
 
20387
- // node_modules/zod/v4/locales/pl.js
20428
+ // ../../node_modules/zod/v4/locales/pl.js
20388
20429
  var error42 = () => {
20389
20430
  const Sizable = {
20390
20431
  string: { unit: "znak\xF3w", verb: "mie\u0107" },
@@ -20499,7 +20540,7 @@ function pl_default() {
20499
20540
  };
20500
20541
  }
20501
20542
 
20502
- // node_modules/zod/v4/locales/pt.js
20543
+ // ../../node_modules/zod/v4/locales/pt.js
20503
20544
  var error43 = () => {
20504
20545
  const Sizable = {
20505
20546
  string: { unit: "caracteres" },
@@ -20643,7 +20684,7 @@ function pt_default() {
20643
20684
  };
20644
20685
  }
20645
20686
 
20646
- // node_modules/zod/v4/locales/pt-BR.js
20687
+ // ../../node_modules/zod/v4/locales/pt-BR.js
20647
20688
  var error44 = () => {
20648
20689
  const Sizable = {
20649
20690
  string: { unit: "caracteres" },
@@ -20788,7 +20829,7 @@ function pt_BR_default() {
20788
20829
  };
20789
20830
  }
20790
20831
 
20791
- // node_modules/zod/v4/locales/ro.js
20832
+ // ../../node_modules/zod/v4/locales/ro.js
20792
20833
  var error45 = () => {
20793
20834
  const Sizable = {
20794
20835
  string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
@@ -20911,7 +20952,7 @@ function ro_default() {
20911
20952
  };
20912
20953
  }
20913
20954
 
20914
- // node_modules/zod/v4/locales/ru.js
20955
+ // ../../node_modules/zod/v4/locales/ru.js
20915
20956
  function getRussianPlural(count, one, few, many) {
20916
20957
  const absCount = Math.abs(count);
20917
20958
  const lastDigit = absCount % 10;
@@ -21080,7 +21121,7 @@ function ru_default() {
21080
21121
  };
21081
21122
  }
21082
21123
 
21083
- // node_modules/zod/v4/locales/sk.js
21124
+ // ../../node_modules/zod/v4/locales/sk.js
21084
21125
  var error47 = () => {
21085
21126
  const Sizable = {
21086
21127
  string: { unit: "znakov", verb: "ma\u0165" },
@@ -21197,7 +21238,7 @@ function sk_default() {
21197
21238
  };
21198
21239
  }
21199
21240
 
21200
- // node_modules/zod/v4/locales/sl.js
21241
+ // ../../node_modules/zod/v4/locales/sl.js
21201
21242
  var error48 = () => {
21202
21243
  const Sizable = {
21203
21244
  string: { unit: "znakov", verb: "imeti" },
@@ -21312,7 +21353,7 @@ function sl_default() {
21312
21353
  };
21313
21354
  }
21314
21355
 
21315
- // node_modules/zod/v4/locales/sv.js
21356
+ // ../../node_modules/zod/v4/locales/sv.js
21316
21357
  var error49 = () => {
21317
21358
  const Sizable = {
21318
21359
  string: { unit: "tecken", verb: "att ha" },
@@ -21428,7 +21469,7 @@ function sv_default() {
21428
21469
  };
21429
21470
  }
21430
21471
 
21431
- // node_modules/zod/v4/locales/ta.js
21472
+ // ../../node_modules/zod/v4/locales/ta.js
21432
21473
  var error50 = () => {
21433
21474
  const Sizable = {
21434
21475
  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" },
@@ -21544,7 +21585,7 @@ function ta_default() {
21544
21585
  };
21545
21586
  }
21546
21587
 
21547
- // node_modules/zod/v4/locales/tg.js
21588
+ // ../../node_modules/zod/v4/locales/tg.js
21548
21589
  var error51 = () => {
21549
21590
  const Sizable = {
21550
21591
  string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
@@ -21661,7 +21702,7 @@ function tg_default() {
21661
21702
  };
21662
21703
  }
21663
21704
 
21664
- // node_modules/zod/v4/locales/th.js
21705
+ // ../../node_modules/zod/v4/locales/th.js
21665
21706
  var error52 = () => {
21666
21707
  const Sizable = {
21667
21708
  string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
@@ -21777,7 +21818,7 @@ function th_default() {
21777
21818
  };
21778
21819
  }
21779
21820
 
21780
- // node_modules/zod/v4/locales/tk.js
21821
+ // ../../node_modules/zod/v4/locales/tk.js
21781
21822
  var error53 = () => {
21782
21823
  const Sizable = {
21783
21824
  string: { unit: "simwol", verb: "bolmaly" },
@@ -21885,7 +21926,7 @@ function tk_default() {
21885
21926
  };
21886
21927
  }
21887
21928
 
21888
- // node_modules/zod/v4/locales/tr.js
21929
+ // ../../node_modules/zod/v4/locales/tr.js
21889
21930
  var error54 = () => {
21890
21931
  const Sizable = {
21891
21932
  string: { unit: "karakter", verb: "olmal\u0131" },
@@ -21996,7 +22037,7 @@ function tr_default() {
21996
22037
  };
21997
22038
  }
21998
22039
 
21999
- // node_modules/zod/v4/locales/uk.js
22040
+ // ../../node_modules/zod/v4/locales/uk.js
22000
22041
  var error55 = () => {
22001
22042
  const Sizable = {
22002
22043
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
@@ -22110,12 +22151,12 @@ function uk_default() {
22110
22151
  };
22111
22152
  }
22112
22153
 
22113
- // node_modules/zod/v4/locales/ua.js
22154
+ // ../../node_modules/zod/v4/locales/ua.js
22114
22155
  function ua_default() {
22115
22156
  return uk_default();
22116
22157
  }
22117
22158
 
22118
- // node_modules/zod/v4/locales/ur.js
22159
+ // ../../node_modules/zod/v4/locales/ur.js
22119
22160
  var error56 = () => {
22120
22161
  const Sizable = {
22121
22162
  string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
@@ -22231,7 +22272,7 @@ function ur_default() {
22231
22272
  };
22232
22273
  }
22233
22274
 
22234
- // node_modules/zod/v4/locales/uz.js
22275
+ // ../../node_modules/zod/v4/locales/uz.js
22235
22276
  var error57 = () => {
22236
22277
  const Sizable = {
22237
22278
  string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
@@ -22345,7 +22386,7 @@ function uz_default() {
22345
22386
  };
22346
22387
  }
22347
22388
 
22348
- // node_modules/zod/v4/locales/vi.js
22389
+ // ../../node_modules/zod/v4/locales/vi.js
22349
22390
  var error58 = () => {
22350
22391
  const Sizable = {
22351
22392
  string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
@@ -22459,7 +22500,7 @@ function vi_default() {
22459
22500
  };
22460
22501
  }
22461
22502
 
22462
- // node_modules/zod/v4/locales/zh-CN.js
22503
+ // ../../node_modules/zod/v4/locales/zh-CN.js
22463
22504
  var error59 = () => {
22464
22505
  const Sizable = {
22465
22506
  string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
@@ -22574,7 +22615,7 @@ function zh_CN_default() {
22574
22615
  };
22575
22616
  }
22576
22617
 
22577
- // node_modules/zod/v4/locales/zh-TW.js
22618
+ // ../../node_modules/zod/v4/locales/zh-TW.js
22578
22619
  var error60 = () => {
22579
22620
  const Sizable = {
22580
22621
  string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
@@ -22687,7 +22728,7 @@ function zh_TW_default() {
22687
22728
  };
22688
22729
  }
22689
22730
 
22690
- // node_modules/zod/v4/locales/yo.js
22731
+ // ../../node_modules/zod/v4/locales/yo.js
22691
22732
  var error61 = () => {
22692
22733
  const Sizable = {
22693
22734
  string: { unit: "\xE0mi", verb: "n\xED" },
@@ -22800,7 +22841,7 @@ function yo_default() {
22800
22841
  };
22801
22842
  }
22802
22843
 
22803
- // node_modules/zod/v4/core/registries.js
22844
+ // ../../node_modules/zod/v4/core/registries.js
22804
22845
  var _a2;
22805
22846
  var $output = /* @__PURE__ */ Symbol("ZodOutput");
22806
22847
  var $input = /* @__PURE__ */ Symbol("ZodInput");
@@ -22850,7 +22891,7 @@ function registry() {
22850
22891
  (_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
22851
22892
  var globalRegistry = globalThis.__zod_globalRegistry;
22852
22893
 
22853
- // node_modules/zod/v4/core/compile.js
22894
+ // ../../node_modules/zod/v4/core/compile.js
22854
22895
  var INVALID = Symbol.for("zod.compile.invalid");
22855
22896
  var FALLBACK_FLAG = Symbol.for("zod.compile.fallback");
22856
22897
  var ZodCompileAsyncError = class extends Error {
@@ -23885,9 +23926,15 @@ function generateNullableCheck(doc, ctx, schema, accessor, buildsValue = true) {
23885
23926
  doc.write(`}`);
23886
23927
  return outputVar;
23887
23928
  }
23929
+ function generateSizeGate(doc, schema, size) {
23930
+ for (const [max, check2] of sizeCaps(schema._zod.def.checks)) {
23931
+ doc.write(`if (${size} > ${numericOperand(max, check2._zod.def.check)}) return INVALID;`);
23932
+ }
23933
+ }
23888
23934
  function generateArrayCheck(doc, ctx, schema, accessor, buildsValue = true) {
23889
23935
  const def = schema._zod.def;
23890
23936
  doc.write(`if (!Array.isArray(${accessor})) return INVALID;`);
23937
+ generateSizeGate(doc, schema, `${accessor}.length`);
23891
23938
  const outputVar = buildsValue ? newVar(ctx) : null;
23892
23939
  const iVar = newVar(ctx);
23893
23940
  const elemVar = newVar(ctx);
@@ -24287,6 +24334,7 @@ function literalPropertyKey(ctx, key) {
24287
24334
  function generateMapCheck(doc, ctx, schema, accessor) {
24288
24335
  const def = schema._zod.def;
24289
24336
  doc.write(`if (!(${accessor} instanceof Map)) return INVALID;`);
24337
+ generateSizeGate(doc, schema, `${accessor}.size`);
24290
24338
  const outputVar = newVar(ctx);
24291
24339
  const kVar = newVar(ctx);
24292
24340
  const valVar = newVar(ctx);
@@ -24303,6 +24351,7 @@ function generateMapCheck(doc, ctx, schema, accessor) {
24303
24351
  function generateSetCheck(doc, ctx, schema, accessor) {
24304
24352
  const def = schema._zod.def;
24305
24353
  doc.write(`if (!(${accessor} instanceof Set)) return INVALID;`);
24354
+ generateSizeGate(doc, schema, `${accessor}.size`);
24306
24355
  const outputVar = newVar(ctx);
24307
24356
  const valVar = newVar(ctx);
24308
24357
  doc.write(`const ${outputVar} = new Set();`);
@@ -24447,7 +24496,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
24447
24496
  return accessor;
24448
24497
  }
24449
24498
 
24450
- // node_modules/zod/v4/core/api.js
24499
+ // ../../node_modules/zod/v4/core/api.js
24451
24500
  function snapshotChecks(def) {
24452
24501
  if (def.checks)
24453
24502
  def.checks = [...def.checks];
@@ -25506,7 +25555,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
25506
25555
  return inst;
25507
25556
  }
25508
25557
 
25509
- // node_modules/zod/v4/core/to-json-schema.js
25558
+ // ../../node_modules/zod/v4/core/to-json-schema.js
25510
25559
  function assignProps(target, ...sources) {
25511
25560
  for (const source of sources) {
25512
25561
  for (const key of Reflect.ownKeys(source)) {
@@ -26033,7 +26082,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
26033
26082
  return finalize(ctx, schema);
26034
26083
  };
26035
26084
 
26036
- // node_modules/zod/v4/core/json-schema-processors.js
26085
+ // ../../node_modules/zod/v4/core/json-schema-processors.js
26037
26086
  var narrowMin = (agg, key, value) => {
26038
26087
  if (agg[key] === void 0 || value > agg[key])
26039
26088
  agg[key] = value;
@@ -26780,7 +26829,7 @@ function toJSONSchema(input2, params) {
26780
26829
  return finalize(ctx, input2);
26781
26830
  }
26782
26831
 
26783
- // node_modules/zod/v4/core/json-schema-generator.js
26832
+ // ../../node_modules/zod/v4/core/json-schema-generator.js
26784
26833
  var JSONSchemaGenerator = class {
26785
26834
  /** @deprecated Access via ctx instead */
26786
26835
  get metadataRegistry() {
@@ -26858,10 +26907,10 @@ var JSONSchemaGenerator = class {
26858
26907
  }
26859
26908
  };
26860
26909
 
26861
- // node_modules/zod/v4/core/json-schema.js
26910
+ // ../../node_modules/zod/v4/core/json-schema.js
26862
26911
  var json_schema_exports = {};
26863
26912
 
26864
- // node_modules/zod/v4/classic/schemas.js
26913
+ // ../../node_modules/zod/v4/classic/schemas.js
26865
26914
  var schemas_exports2 = {};
26866
26915
  __export(schemas_exports2, {
26867
26916
  ZodAny: () => ZodAny,
@@ -27042,7 +27091,7 @@ __export(schemas_exports2, {
27042
27091
  xor: () => xor
27043
27092
  });
27044
27093
 
27045
- // node_modules/zod/v4/classic/checks.js
27094
+ // ../../node_modules/zod/v4/classic/checks.js
27046
27095
  var checks_exports2 = {};
27047
27096
  __export(checks_exports2, {
27048
27097
  endsWith: () => _endsWith,
@@ -27077,7 +27126,7 @@ __export(checks_exports2, {
27077
27126
  uppercase: () => _uppercase
27078
27127
  });
27079
27128
 
27080
- // node_modules/zod/v4/classic/errors.js
27129
+ // ../../node_modules/zod/v4/classic/errors.js
27081
27130
  var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
27082
27131
  function _lazyMethod(proto, key, make) {
27083
27132
  Object.defineProperty(proto, key, {
@@ -27123,7 +27172,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
27123
27172
  Parent: Error
27124
27173
  });
27125
27174
 
27126
- // node_modules/zod/v4/classic/parse.js
27175
+ // ../../node_modules/zod/v4/classic/parse.js
27127
27176
  var parse4 = /* @__PURE__ */ _parse(ZodRealError);
27128
27177
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
27129
27178
  var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -27137,7 +27186,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
27137
27186
  var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
27138
27187
  var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
27139
27188
 
27140
- // node_modules/zod/v4/classic/schemas.js
27189
+ // ../../node_modules/zod/v4/classic/schemas.js
27141
27190
  function _ensureDefaultLocale() {
27142
27191
  if (!globalConfig.localeError)
27143
27192
  config(en_default());
@@ -28602,7 +28651,7 @@ function preprocess(fn, schema) {
28602
28651
  });
28603
28652
  }
28604
28653
 
28605
- // node_modules/zod/v4/classic/compat.js
28654
+ // ../../node_modules/zod/v4/classic/compat.js
28606
28655
  var ZodIssueCode = {
28607
28656
  invalid_type: "invalid_type",
28608
28657
  too_big: "too_big",
@@ -28628,7 +28677,7 @@ var ZodFirstPartyTypeKind;
28628
28677
  /* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
28629
28678
  })(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
28630
28679
 
28631
- // node_modules/zod/v4/classic/iso.js
28680
+ // ../../node_modules/zod/v4/classic/iso.js
28632
28681
  var iso_exports = {};
28633
28682
  __export(iso_exports, {
28634
28683
  ZodISODate: () => ZodISODate,
@@ -28653,7 +28702,7 @@ function duration2(params) {
28653
28702
  return _isoDuration(ZodISODuration, params);
28654
28703
  }
28655
28704
 
28656
- // node_modules/zod/v4/classic/from-json-schema.js
28705
+ // ../../node_modules/zod/v4/classic/from-json-schema.js
28657
28706
  var z = {
28658
28707
  ...schemas_exports2,
28659
28708
  ...checks_exports2,
@@ -29386,7 +29435,7 @@ function fromJSONSchema(schema, params) {
29386
29435
  return convertSchema(normalized, ctx);
29387
29436
  }
29388
29437
 
29389
- // node_modules/zod/v4/core/visit.js
29438
+ // ../../node_modules/zod/v4/core/visit.js
29390
29439
  var RESOLVING = Symbol("z.visit/resolving");
29391
29440
  function visit(schema, fnOrHandlers) {
29392
29441
  const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
@@ -29540,7 +29589,7 @@ function visit(schema, fnOrHandlers) {
29540
29589
  return run(schema);
29541
29590
  }
29542
29591
 
29543
- // node_modules/zod/v4/classic/deep-partial.js
29592
+ // ../../node_modules/zod/v4/classic/deep-partial.js
29544
29593
  function deepPartial(schema) {
29545
29594
  return visit(schema, {
29546
29595
  object: (s) => s.partial(),
@@ -29552,7 +29601,7 @@ function deepPartial(schema) {
29552
29601
  });
29553
29602
  }
29554
29603
 
29555
- // node_modules/zod/v4/classic/in-out.js
29604
+ // ../../node_modules/zod/v4/classic/in-out.js
29556
29605
  function withChecks(side, checks) {
29557
29606
  if (!checks?.length)
29558
29607
  return side;
@@ -29582,7 +29631,7 @@ function output(schema) {
29582
29631
  });
29583
29632
  }
29584
29633
 
29585
- // node_modules/zod/v4/classic/coerce.js
29634
+ // ../../node_modules/zod/v4/classic/coerce.js
29586
29635
  var coerce_exports = {};
29587
29636
  __export(coerce_exports, {
29588
29637
  bigint: () => bigint3,