canvas-parent-mcp 2.1.0 → 2.1.1

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/bundle.js CHANGED
@@ -773,9 +773,6 @@ var require_util = __commonJS({
773
773
  else
774
774
  defineBound2(proto, key, desc.value);
775
775
  }
776
- for (const sym of Object.getOwnPropertySymbols(table)) {
777
- defineBound2(proto, sym, table[sym]);
778
- }
779
776
  }
780
777
  function own2(inst, key, value, enumerable = true) {
781
778
  Object.defineProperty(inst, key, { configurable: true, writable: true, enumerable, value });
@@ -952,8 +949,7 @@ var require_core = __commonJS({
952
949
  } finally {
953
950
  _zodDesc2.value = void 0;
954
951
  }
955
- }
956
- if (inst._zod.traits.has(name)) {
952
+ } else if (inst._zod.traits.has(name)) {
957
953
  return;
958
954
  }
959
955
  inst._zod.traits.add(name);
@@ -1556,8 +1552,8 @@ var require_regexes = __commonJS({
1556
1552
  return result;
1557
1553
  };
1558
1554
  Object.defineProperty(exports, "__esModule", { value: true });
1559
- exports.sha1_base64url = exports.sha1_base64 = exports.sha1_hex = exports.md5_base64url = exports.md5_base64 = exports.md5_hex = exports.hex = exports.uppercase = exports.lowercase = exports.undefined = exports.null = exports.boolean = exports.number = exports.integer = exports.bigint = exports.string = exports.anyString = exports.date = exports.iban = exports.creditCard = exports.e164 = exports.httpProtocol = exports.domain = exports.hostname = exports.base64url = exports.base64 = exports.cidrv6 = exports.cidrv4 = exports.mac = exports.ipv6 = exports.ipv4 = exports.browserEmail = exports.idnEmail = exports.unicodeEmail = exports.rfc5322Email = exports.html5Email = exports.email = exports.uuid7 = exports.uuid6 = exports.uuid4 = exports.uuid = exports.guid = exports.extendedDuration = exports.duration = exports.nanoid = exports.ksuid = exports.xid = exports.ulid = exports.cuid2 = exports.cuid = void 0;
1560
- exports.sha512_base64url = exports.sha512_base64 = exports.sha512_hex = exports.sha384_base64url = exports.sha384_base64 = exports.sha384_hex = exports.sha256_base64url = exports.sha256_base64 = exports.sha256_hex = void 0;
1555
+ exports.sha1_base64 = exports.sha1_hex = exports.md5_base64url = exports.md5_base64 = exports.md5_hex = exports.hex = exports.uppercase = exports.lowercase = exports.undefined = exports.null = exports.boolean = exports.number = exports.integer = exports.bigint = exports.string = exports.anyString = exports.date = exports.iban = exports.currencyCode = exports.creditCard = exports.e164 = exports.httpProtocol = exports.domain = exports.hostname = exports.base64url = exports.base64 = exports.cidrv6 = exports.cidrv4 = exports.mac = exports.ipv6 = exports.ipv4 = exports.browserEmail = exports.idnEmail = exports.unicodeEmail = exports.rfc5322Email = exports.html5Email = exports.email = exports.uuid7 = exports.uuid6 = exports.uuid4 = exports.uuid = exports.guid = exports.extendedDuration = exports.duration = exports.nanoid = exports.ksuid = exports.xid = exports.ulid = exports.cuid2 = exports.cuid = void 0;
1556
+ exports.sha512_base64url = exports.sha512_base64 = exports.sha512_hex = exports.sha384_base64url = exports.sha384_base64 = exports.sha384_hex = exports.sha256_base64url = exports.sha256_base64 = exports.sha256_hex = exports.sha1_base64url = void 0;
1561
1557
  exports.nanoidOfLength = nanoidOfLength2;
1562
1558
  exports.emoji = emoji3;
1563
1559
  exports.time = time3;
@@ -1610,6 +1606,7 @@ var require_regexes = __commonJS({
1610
1606
  exports.httpProtocol = /^https?$/;
1611
1607
  exports.e164 = /^\+[1-9]\d{6,14}$/;
1612
1608
  exports.creditCard = /^\d(?:[ -]?\d){11,18}$/;
1609
+ exports.currencyCode = /^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/;
1613
1610
  exports.iban = /^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/;
1614
1611
  var dateSource2 = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
1615
1612
  function anchor2(source) {
@@ -1721,7 +1718,7 @@ var require_checks = __commonJS({
1721
1718
  return result;
1722
1719
  };
1723
1720
  Object.defineProperty(exports, "__esModule", { value: true });
1724
- exports.$ZodCheckOverwrite = exports.$ZodCheckMimeType = exports.$ZodCheckProperty = exports.$ZodCheckEndsWith = exports.$ZodCheckStartsWith = exports.$ZodCheckIncludes = exports.$ZodCheckUpperCase = exports.$ZodCheckLowerCase = exports.$ZodCheckRegex = exports.$ZodCheckStringFormat = exports.$ZodCheckLengthEquals = exports.$ZodCheckMinLength = exports.$ZodCheckMaxLength = exports.$ZodCheckSizeEquals = exports.$ZodCheckMinSize = exports.$ZodCheckMaxSize = exports.$ZodCheckBigIntFormat = exports.$ZodCheckNumberFormat = exports.$ZodCheckMultipleOf = exports.$ZodCheckGreaterThan = exports.$ZodCheckLessThan = exports.$ZodCheck = void 0;
1721
+ exports.$ZodCheckOverwrite = exports.$ZodCheckMimeType = exports.$ZodCheckProperties = exports.$ZodCheckProperty = exports.$ZodCheckEndsWith = exports.$ZodCheckStartsWith = exports.$ZodCheckIncludes = exports.$ZodCheckUpperCase = exports.$ZodCheckLowerCase = exports.$ZodCheckRegex = exports.$ZodCheckStringFormat = exports.$ZodCheckLengthEquals = exports.$ZodCheckMinLength = exports.$ZodCheckMaxLength = exports.$ZodCheckSizeEquals = exports.$ZodCheckMinSize = exports.$ZodCheckMaxSize = exports.$ZodCheckBigIntFormat = exports.$ZodCheckNumberFormat = exports.$ZodCheckMultipleOf = exports.$ZodCheckGreaterThan = exports.$ZodCheckLessThan = exports.$ZodCheck = void 0;
1725
1722
  var core = __importStar(require_core());
1726
1723
  var regexes = __importStar(require_regexes());
1727
1724
  var util = __importStar(require_util());
@@ -2150,6 +2147,34 @@ var require_checks = __commonJS({
2150
2147
  return;
2151
2148
  };
2152
2149
  });
2150
+ exports.$ZodCheckProperties = core.$constructor("$ZodCheckProperties", (inst, def) => {
2151
+ exports.$ZodCheck.init(inst, def);
2152
+ util.hide(inst, Symbol.iterator, function* () {
2153
+ yield inst;
2154
+ });
2155
+ let entries;
2156
+ inst._zod.check = (payload) => {
2157
+ if (payload.value == null) {
2158
+ payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
2159
+ return void 0;
2160
+ }
2161
+ entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
2162
+ const input2 = payload.value;
2163
+ let proms;
2164
+ for (const [key, schema] of entries) {
2165
+ const result = schema._zod.run({ value: input2[key], issues: [] }, {});
2166
+ if (result instanceof Promise) {
2167
+ proms ?? (proms = []);
2168
+ proms.push(result.then((result2) => handleCheckPropertyResult2(result2, payload, key)));
2169
+ } else {
2170
+ handleCheckPropertyResult2(result, payload, key);
2171
+ }
2172
+ }
2173
+ if (proms)
2174
+ return Promise.all(proms).then(() => void 0);
2175
+ return void 0;
2176
+ };
2177
+ });
2153
2178
  exports.$ZodCheckMimeType = core.$constructor("$ZodCheckMimeType", (inst, def) => {
2154
2179
  exports.$ZodCheck.init(inst, def);
2155
2180
  const mimeSet = new Set(def.mime);
@@ -2264,7 +2289,7 @@ var require_versions = __commonJS({
2264
2289
  exports.version = {
2265
2290
  major: 4,
2266
2291
  minor: 6,
2267
- patch: 2
2292
+ patch: 5
2268
2293
  };
2269
2294
  (function() {
2270
2295
  var keys = Object.getOwnPropertyNames(exports);
@@ -2318,8 +2343,10 @@ var require_schemas = __commonJS({
2318
2343
  };
2319
2344
  Object.defineProperty(exports, "__esModule", { value: true });
2320
2345
  exports.$ZodObject = exports.$ZodArray = exports.$ZodDate = exports.$ZodVoid = exports.$ZodNever = exports.$ZodUnknown = exports.$ZodAny = exports.$ZodNull = exports.$ZodUndefined = exports.$ZodSymbol = exports.$ZodBigIntFormat = exports.$ZodBigInt = exports.$ZodBoolean = exports.$ZodNumberFormat = exports.$ZodNumber = exports.$ZodCustomStringFormat = exports.$ZodJWT = exports.$ZodIBAN = exports.$ZodCreditCard = exports.$ZodE164 = exports.$ZodBase64URL = exports.base64urlCharset = exports.$ZodBase64 = exports.base64Charset = exports.$ZodCIDRv6 = exports.$ZodCIDRv4 = exports.$ZodMAC = exports.$ZodIPv6 = exports.$ZodIPv4 = exports.$ZodISODuration = exports.$ZodISOTime = exports.$ZodISODate = exports.$ZodISODateTime = exports.$ZodKSUID = exports.$ZodXID = exports.$ZodULID = exports.$ZodCUID2 = exports.$ZodCUID = exports.$ZodNanoID = exports.$ZodEmoji = exports.$ZodURL = exports.URL_UNPARSEABLE = exports.URL_BAD_FORMAT = exports.$ZodEmail = exports.$ZodUUID = exports.$ZodGUID = exports.$ZodStringFormat = exports.$ZodString = exports.clone = exports.$ZodType = void 0;
2321
- exports.$ZodProperties = exports.$ZodCustom = exports.$ZodLazy = exports.$ZodPromise = exports.$ZodFunction = exports.$ZodTemplateLiteral = exports.$ZodReadonly = exports.$ZodPreprocess = exports.$ZodCodec = exports.$ZodPipe = exports.$ZodNaN = exports.$ZodCatch = exports.$ZodSuccess = exports.$ZodNonOptional = exports.$ZodPrefault = exports.$ZodDefault = exports.$ZodNullable = exports.$ZodExactOptional = exports.$ZodOptional = exports.$ZodTransform = exports.$ZodFile = exports.$ZodLiteral = exports.$ZodEnum = exports.$ZodSet = exports.$ZodMap = exports.$ZodRecord = exports.$ZodTuple = exports.$ZodIntersection = exports.$ZodDiscriminatedUnion = exports.$ZodXor = exports.$ZodUnion = exports.$ZodObjectJIT = void 0;
2346
+ exports.$ZodCustom = exports.$ZodLazy = exports.$ZodPromise = exports.$ZodFunction = exports.$ZodTemplateLiteral = exports.$ZodReadonly = exports.$ZodPreprocess = exports.$ZodCodec = exports.$ZodPipe = exports.$ZodNaN = exports.$ZodCatch = exports.$ZodSuccess = exports.$ZodNonOptional = exports.$ZodPrefault = exports.$ZodDefault = exports.$ZodNullable = exports.$ZodExactOptional = exports.$ZodOptional = exports.$ZodTransform = exports.$ZodFile = exports.$ZodLiteral = exports.$ZodEnum = exports.$ZodSet = exports.$ZodMap = exports.$ZodRecord = exports.$ZodTuple = exports.$ZodIntersection = exports.$ZodDiscriminatedUnion = exports.$ZodXor = exports.$ZodUnion = exports.$ZodObjectJIT = void 0;
2322
2347
  exports.standardProps = standardProps2;
2348
+ exports.canParseURL = canParseURL2;
2349
+ exports.validateURL = validateURL2;
2323
2350
  exports.parseURLObject = parseURLObject2;
2324
2351
  exports.stripTabAndNewline = stripTabAndNewline2;
2325
2352
  exports.urlHostnameOk = urlHostnameOk2;
@@ -2528,11 +2555,32 @@ var require_schemas = __commonJS({
2528
2555
  });
2529
2556
  exports.URL_BAD_FORMAT = 1;
2530
2557
  exports.URL_UNPARSEABLE = 2;
2558
+ function canParseURL2(input2) {
2559
+ try {
2560
+ if (typeof URL !== "undefined" && typeof URL.canParse === "function")
2561
+ return URL.canParse(input2);
2562
+ new URL(input2);
2563
+ return true;
2564
+ } catch {
2565
+ return false;
2566
+ }
2567
+ }
2568
+ function validateURL2(trimmed, def) {
2569
+ if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
2570
+ return canParseURL2(trimmed) || exports.URL_UNPARSEABLE;
2571
+ }
2572
+ return parseURLObject2(trimmed, def);
2573
+ }
2531
2574
  function parseURLObject2(trimmed, def) {
2532
2575
  if (!def.normalize && def.protocol?.source === regexes.httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
2533
2576
  return exports.URL_BAD_FORMAT;
2534
2577
  }
2535
2578
  try {
2579
+ if (typeof URL !== "undefined") {
2580
+ const URLStatic = URL;
2581
+ if (typeof URLStatic.parse === "function")
2582
+ return URLStatic.parse(trimmed) ?? exports.URL_UNPARSEABLE;
2583
+ }
2536
2584
  return new URL(trimmed);
2537
2585
  } catch {
2538
2586
  return exports.URL_UNPARSEABLE;
@@ -2555,7 +2603,7 @@ var require_schemas = __commonJS({
2555
2603
  inst._zod.check = (payload) => {
2556
2604
  try {
2557
2605
  const trimmed = payload.value.trim();
2558
- const url4 = parseURLObject2(trimmed, def);
2606
+ const url4 = validateURL2(trimmed, def);
2559
2607
  if (url4 === exports.URL_BAD_FORMAT) {
2560
2608
  payload.issues.push({
2561
2609
  code: "invalid_format",
@@ -2577,6 +2625,10 @@ var require_schemas = __commonJS({
2577
2625
  });
2578
2626
  return;
2579
2627
  }
2628
+ if (url4 === true) {
2629
+ payload.value = stripTabAndNewline2(trimmed);
2630
+ return;
2631
+ }
2580
2632
  if (def.hostname && !urlHostnameOk2(url4, def.hostname)) {
2581
2633
  payload.issues.push({
2582
2634
  code: "invalid_format",
@@ -2666,12 +2718,7 @@ var require_schemas = __commonJS({
2666
2718
  function isValidIPv62(value) {
2667
2719
  if (!ipv6Alphabet2.test(value))
2668
2720
  return false;
2669
- try {
2670
- new URL(`http://[${value}]`);
2671
- return true;
2672
- } catch {
2673
- return false;
2674
- }
2721
+ return canParseURL2(`http://[${value}]`);
2675
2722
  }
2676
2723
  exports.$ZodIPv6 = core.$constructor("$ZodIPv6", (inst, def) => {
2677
2724
  def.pattern ?? (def.pattern = regexes.ipv6);
@@ -4736,59 +4783,6 @@ var require_schemas = __commonJS({
4736
4783
  payload.issues.push(util.issue(_iss));
4737
4784
  }
4738
4785
  }
4739
- function handlePropertiesResult2(result, payload, key) {
4740
- if (result.issues.length) {
4741
- payload.issues.push(...util.prefixIssues(key, result.issues));
4742
- }
4743
- }
4744
- exports.$ZodProperties = core.$constructor("$ZodProperties", (inst, def) => {
4745
- exports.$ZodType.init(inst, def);
4746
- checks.$ZodCheck.init(inst, def);
4747
- const memo3 = core.globalConfig.memoizer;
4748
- memo3?.attach(inst);
4749
- let entries;
4750
- const runShape = (payload, ctx) => {
4751
- entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
4752
- const input2 = payload.value;
4753
- let proms;
4754
- for (const [key, schema] of entries) {
4755
- const result = schema._zod.run({ value: input2[key], issues: [] }, ctx);
4756
- if (result instanceof Promise) {
4757
- proms ?? (proms = []);
4758
- proms.push(result.then((result2) => handlePropertiesResult2(result2, payload, key)));
4759
- } else {
4760
- handlePropertiesResult2(result, payload, key);
4761
- }
4762
- }
4763
- if (proms)
4764
- return Promise.all(proms).then(() => void 0);
4765
- return void 0;
4766
- };
4767
- inst._zod.parse = (payload, ctx) => {
4768
- const input2 = payload.value;
4769
- if (input2 === null || typeof input2 !== "object" && typeof input2 !== "function") {
4770
- payload.issues.push({ expected: "object", code: "invalid_type", input: input2, inst });
4771
- return payload;
4772
- }
4773
- if (ctx.direction === "backward")
4774
- ctx = { ...ctx, direction: "forward" };
4775
- if (memo3)
4776
- memo3.alloc(inst, payload, input2, ctx);
4777
- const result = runShape(payload, ctx);
4778
- return result instanceof Promise ? result.then(() => payload) : payload;
4779
- };
4780
- inst._zod.check = (payload) => {
4781
- if (payload.value == null) {
4782
- payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
4783
- return void 0;
4784
- }
4785
- return runShape(payload, {});
4786
- };
4787
- }, {
4788
- *[Symbol.iterator]() {
4789
- yield this;
4790
- }
4791
- });
4792
4786
  (function() {
4793
4787
  var keys = Object.getOwnPropertyNames(exports);
4794
4788
  for (var i = 0; i < keys.length; i++) {
@@ -4855,7 +4849,7 @@ var require_memoizer = __commonJS({
4855
4849
  var STATE2 = "~memo";
4856
4850
  var NO_ISSUES2 = [];
4857
4851
  function isRef2(value) {
4858
- return value !== null && (typeof value === "object" || typeof value === "function");
4852
+ return value !== null && typeof value === "object";
4859
4853
  }
4860
4854
  function cloneIssues2(issues) {
4861
4855
  return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
@@ -4904,9 +4898,6 @@ var require_memoizer = __commonJS({
4904
4898
  check2(def.catchall);
4905
4899
  break;
4906
4900
  }
4907
- case "properties":
4908
- merge2(shape(def.shape, false));
4909
- break;
4910
4901
  case "array":
4911
4902
  check2(def.element);
4912
4903
  break;
@@ -5217,6 +5208,7 @@ var require_ar = __commonJS({
5217
5208
  json_string: "\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",
5218
5209
  e164: "\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",
5219
5210
  credit_card: "\u0631\u0642\u0645 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646",
5211
+ currency_code: "\u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",
5220
5212
  iban: "IBAN",
5221
5213
  jwt: "JWT",
5222
5214
  template_literal: "\u0645\u062F\u062E\u0644"
@@ -5364,6 +5356,7 @@ var require_az = __commonJS({
5364
5356
  json_string: "JSON string",
5365
5357
  e164: "E.164 number",
5366
5358
  credit_card: "kredit kart\u0131 n\xF6mr\u0259si",
5359
+ currency_code: "valyuta kodu",
5367
5360
  iban: "IBAN",
5368
5361
  jwt: "JWT",
5369
5362
  template_literal: "input"
@@ -5560,6 +5553,7 @@ var require_be = __commonJS({
5560
5553
  json_string: "JSON \u0440\u0430\u0434\u043E\u043A",
5561
5554
  e164: "\u043D\u0443\u043C\u0430\u0440 E.164",
5562
5555
  credit_card: "\u043D\u0443\u043C\u0430\u0440 \u043A\u0440\u044D\u0434\u044B\u0442\u043D\u0430\u0439 \u043A\u0430\u0440\u0442\u044B",
5556
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
5563
5557
  iban: "IBAN",
5564
5558
  jwt: "JWT",
5565
5559
  template_literal: "\u0443\u0432\u043E\u0434"
@@ -5714,6 +5708,7 @@ var require_bg = __commonJS({
5714
5708
  json_string: "JSON \u043D\u0438\u0437",
5715
5709
  e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
5716
5710
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0430",
5711
+ currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
5717
5712
  iban: "IBAN",
5718
5713
  jwt: "JWT",
5719
5714
  template_literal: "\u0432\u0445\u043E\u0434"
@@ -5875,6 +5870,7 @@ var require_bn = __commonJS({
5875
5870
  json_string: "JSON \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",
5876
5871
  e164: "E.164 \u09A8\u09AE\u09CD\u09AC\u09B0",
5877
5872
  credit_card: "\u0995\u09CD\u09B0\u09C7\u09A1\u09BF\u099F \u0995\u09BE\u09B0\u09CD\u09A1 \u09A8\u09AE\u09CD\u09AC\u09B0",
5873
+ currency_code: "\u09AE\u09C1\u09A6\u09CD\u09B0\u09BE \u0995\u09CB\u09A1",
5878
5874
  iban: "IBAN",
5879
5875
  jwt: "JWT",
5880
5876
  template_literal: "\u0987\u09A8\u09AA\u09C1\u099F"
@@ -6024,6 +6020,7 @@ var require_ca = __commonJS({
6024
6020
  json_string: "cadena JSON",
6025
6021
  e164: "n\xFAmero E.164",
6026
6022
  credit_card: "n\xFAmero de targeta de cr\xE8dit",
6023
+ currency_code: "codi de moneda",
6027
6024
  iban: "IBAN",
6028
6025
  jwt: "JWT",
6029
6026
  template_literal: "entrada"
@@ -6173,6 +6170,7 @@ var require_ckb = __commonJS({
6173
6170
  json_string: "\u062F\u06D5\u0642\u06CC JSON",
6174
6171
  e164: "\u0698\u0645\u0627\u0631\u06D5\u06CC E.164",
6175
6172
  credit_card: "\u0698\u0645\u0627\u0631\u06D5\u06CC \u06A9\u0627\u0631\u062A\u06CC \u06A9\u0631\u06CE\u062F\u06CC\u062A",
6173
+ currency_code: "\u06A9\u06C6\u062F\u06CC \u062F\u0631\u0627\u0648",
6176
6174
  iban: "IBAN",
6177
6175
  jwt: "JWT",
6178
6176
  template_literal: "\u062A\u06CE\u06A9\u0631\u062F\u06D5"
@@ -6341,6 +6339,7 @@ var require_cs = __commonJS({
6341
6339
  json_string: "\u0159et\u011Bzec ve form\xE1tu JSON",
6342
6340
  e164: "\u010D\xEDslo E.164",
6343
6341
  credit_card: "\u010D\xEDslo kreditn\xED karty",
6342
+ currency_code: "k\xF3d m\u011Bny",
6344
6343
  iban: "IBAN",
6345
6344
  jwt: "JWT",
6346
6345
  template_literal: "vstup"
@@ -6493,6 +6492,7 @@ var require_da = __commonJS({
6493
6492
  json_string: "JSON-streng",
6494
6493
  e164: "E.164-nummer",
6495
6494
  credit_card: "kreditkortnummer",
6495
+ currency_code: "valutakode",
6496
6496
  iban: "IBAN",
6497
6497
  jwt: "JWT",
6498
6498
  template_literal: "input"
@@ -6649,6 +6649,7 @@ var require_de = __commonJS({
6649
6649
  json_string: "JSON-String",
6650
6650
  e164: "E.164-Nummer",
6651
6651
  credit_card: "Kreditkartennummer",
6652
+ currency_code: "W\xE4hrungscode",
6652
6653
  iban: "IBAN",
6653
6654
  jwt: "JWT",
6654
6655
  template_literal: "Eingabe"
@@ -6798,6 +6799,7 @@ var require_el = __commonJS({
6798
6799
  json_string: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",
6799
6800
  e164: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",
6800
6801
  credit_card: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE\u03C2 \u03BA\u03AC\u03C1\u03C4\u03B1\u03C2",
6802
+ currency_code: "\u03BA\u03C9\u03B4\u03B9\u03BA\u03CC\u03C2 \u03BD\u03BF\u03BC\u03AF\u03C3\u03BC\u03B1\u03C4\u03BF\u03C2",
6801
6803
  iban: "IBAN",
6802
6804
  jwt: "JWT",
6803
6805
  template_literal: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"
@@ -6945,6 +6947,7 @@ var require_en = __commonJS({
6945
6947
  base64url: "base64url-encoded string",
6946
6948
  json_string: "JSON string",
6947
6949
  e164: "E.164 number",
6950
+ currency_code: "currency code",
6948
6951
  credit_card: "credit card number",
6949
6952
  iban: "IBAN",
6950
6953
  jwt: "JWT",
@@ -7106,6 +7109,7 @@ var require_eo = __commonJS({
7106
7109
  json_string: "JSON-karaktraro",
7107
7110
  e164: "E.164-nombro",
7108
7111
  credit_card: "kreditkarta numero",
7112
+ currency_code: "valuta kodo",
7109
7113
  iban: "IBAN",
7110
7114
  jwt: "JWT",
7111
7115
  template_literal: "enigo"
@@ -7255,6 +7259,7 @@ var require_es = __commonJS({
7255
7259
  json_string: "cadena JSON",
7256
7260
  e164: "n\xFAmero E.164",
7257
7261
  credit_card: "n\xFAmero de tarjeta de cr\xE9dito",
7262
+ currency_code: "c\xF3digo de moneda",
7258
7263
  iban: "IBAN",
7259
7264
  jwt: "JWT",
7260
7265
  template_literal: "entrada"
@@ -7428,6 +7433,7 @@ var require_fa = __commonJS({
7428
7433
  json_string: "JSON \u0631\u0634\u062A\u0647",
7429
7434
  e164: "E.164 \u0639\u062F\u062F",
7430
7435
  credit_card: "\u0634\u0645\u0627\u0631\u0647 \u06A9\u0627\u0631\u062A \u0627\u0639\u062A\u0628\u0627\u0631\u06CC",
7436
+ currency_code: "\u06A9\u062F \u0627\u0631\u0632",
7431
7437
  iban: "IBAN",
7432
7438
  jwt: "JWT",
7433
7439
  template_literal: "\u0648\u0631\u0648\u062F\u06CC"
@@ -7587,6 +7593,7 @@ var require_fi = __commonJS({
7587
7593
  json_string: "JSON-merkkijono",
7588
7594
  e164: "E.164-luku",
7589
7595
  credit_card: "luottokortin numero",
7596
+ currency_code: "valuuttakoodi",
7590
7597
  iban: "IBAN",
7591
7598
  jwt: "JWT",
7592
7599
  template_literal: "templaattimerkkijono"
@@ -7735,6 +7742,7 @@ var require_fr = __commonJS({
7735
7742
  json_string: "cha\xEEne de caract\xE8res JSON",
7736
7743
  e164: "num\xE9ro au format E.164",
7737
7744
  credit_card: "num\xE9ro de carte de cr\xE9dit",
7745
+ currency_code: "code de devise",
7738
7746
  iban: "IBAN",
7739
7747
  jwt: "JWT",
7740
7748
  template_literal: "entr\xE9e"
@@ -7901,6 +7909,7 @@ var require_fr_CA = __commonJS({
7901
7909
  json_string: "cha\xEEne JSON",
7902
7910
  e164: "num\xE9ro E.164",
7903
7911
  credit_card: "num\xE9ro de carte de cr\xE9dit",
7912
+ currency_code: "code de devise",
7904
7913
  iban: "IBAN",
7905
7914
  jwt: "JWT",
7906
7915
  template_literal: "entr\xE9e"
@@ -8049,6 +8058,7 @@ var require_gu = __commonJS({
8049
8058
  json_string: "JSON \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",
8050
8059
  e164: "E.164 \u0AA8\u0A82\u0AAC\u0AB0",
8051
8060
  credit_card: "\u0A95\u0ACD\u0AB0\u0AC7\u0AA1\u0ABF\u0A9F \u0A95\u0ABE\u0AB0\u0ACD\u0AA1 \u0AA8\u0A82\u0AAC\u0AB0",
8061
+ currency_code: "\u0A9A\u0AB2\u0AA3 \u0A95\u0ACB\u0AA1",
8052
8062
  iban: "IBAN",
8053
8063
  jwt: "JWT",
8054
8064
  template_literal: "\u0A87\u0AA8\u0AAA\u0AC1\u0A9F"
@@ -8234,6 +8244,7 @@ var require_he = __commonJS({
8234
8244
  json_string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON", gender: "f" },
8235
8245
  e164: { label: "\u05DE\u05E1\u05E4\u05E8 E.164", gender: "m" },
8236
8246
  credit_card: { label: "\u05DE\u05E1\u05E4\u05E8 \u05DB\u05E8\u05D8\u05D9\u05E1 \u05D0\u05E9\u05E8\u05D0\u05D9", gender: "m" },
8247
+ currency_code: { label: "\u05E7\u05D5\u05D3 \u05DE\u05D8\u05D1\u05E2", gender: "m" },
8237
8248
  iban: { label: "IBAN", gender: "m" },
8238
8249
  jwt: { label: "JWT", gender: "m" },
8239
8250
  template_literal: { label: "\u05E7\u05DC\u05D8", gender: "m" },
@@ -8435,6 +8446,7 @@ var require_hi = __commonJS({
8435
8446
  json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",
8436
8447
  e164: "E.164 \u0938\u0902\u0916\u094D\u092F\u093E",
8437
8448
  credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0938\u0902\u0916\u094D\u092F\u093E",
8449
+ currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
8438
8450
  iban: "IBAN",
8439
8451
  jwt: "JWT",
8440
8452
  template_literal: "\u0907\u0928\u092A\u0941\u091F"
@@ -8581,6 +8593,7 @@ var require_hr = __commonJS({
8581
8593
  json_string: "JSON tekst",
8582
8594
  e164: "E.164 broj",
8583
8595
  credit_card: "broj kreditne kartice",
8596
+ currency_code: "kod valute",
8584
8597
  iban: "IBAN",
8585
8598
  jwt: "JWT",
8586
8599
  template_literal: "unos"
@@ -8744,6 +8757,7 @@ var require_hu = __commonJS({
8744
8757
  json_string: "JSON string",
8745
8758
  e164: "E.164 sz\xE1m",
8746
8759
  credit_card: "hitelk\xE1rtyasz\xE1m",
8760
+ currency_code: "p\xE9nznemk\xF3d",
8747
8761
  iban: "IBAN",
8748
8762
  jwt: "JWT",
8749
8763
  template_literal: "bemenet"
@@ -8933,6 +8947,7 @@ var require_hy = __commonJS({
8933
8947
  json_string: "JSON \u057F\u0578\u0572",
8934
8948
  e164: "E.164 \u0570\u0561\u0574\u0561\u0580",
8935
8949
  credit_card: "\u056F\u0580\u0565\u0564\u056B\u057F \u0584\u0561\u0580\u057F\u056B \u0570\u0561\u0574\u0561\u0580",
8950
+ currency_code: "\u0561\u0580\u056A\u0578\u0582\u0575\u0569\u056B \u056F\u0578\u0564",
8936
8951
  iban: "IBAN",
8937
8952
  jwt: "JWT",
8938
8953
  template_literal: "\u0574\u0578\u0582\u057F\u0584"
@@ -9087,6 +9102,7 @@ var require_id = __commonJS({
9087
9102
  json_string: "string JSON",
9088
9103
  e164: "angka E.164",
9089
9104
  credit_card: "nomor kartu kredit",
9105
+ currency_code: "kode mata uang",
9090
9106
  iban: "IBAN",
9091
9107
  jwt: "JWT",
9092
9108
  template_literal: "input"
@@ -9234,6 +9250,7 @@ var require_is = __commonJS({
9234
9250
  json_string: "JSON strengur",
9235
9251
  e164: "E.164 t\xF6lugildi",
9236
9252
  credit_card: "kreditkortan\xFAmer",
9253
+ currency_code: "gjaldmi\xF0ilsk\xF3\xF0i",
9237
9254
  iban: "IBAN",
9238
9255
  jwt: "JWT",
9239
9256
  template_literal: "gildi"
@@ -9384,6 +9401,7 @@ var require_it = __commonJS({
9384
9401
  json_string: "stringa JSON",
9385
9402
  e164: "numero E.164",
9386
9403
  credit_card: "numero di carta di credito",
9404
+ currency_code: "codice valuta",
9387
9405
  iban: "IBAN",
9388
9406
  jwt: "JWT",
9389
9407
  template_literal: "input"
@@ -9533,6 +9551,7 @@ var require_ja = __commonJS({
9533
9551
  json_string: "JSON\u6587\u5B57\u5217",
9534
9552
  e164: "E.164\u756A\u53F7",
9535
9553
  credit_card: "\u30AF\u30EC\u30B8\u30C3\u30C8\u30AB\u30FC\u30C9\u756A\u53F7",
9554
+ currency_code: "\u901A\u8CA8\u30B3\u30FC\u30C9",
9536
9555
  iban: "IBAN",
9537
9556
  jwt: "JWT",
9538
9557
  template_literal: "\u5165\u529B\u5024"
@@ -9681,6 +9700,7 @@ var require_ka = __commonJS({
9681
9700
  json_string: "JSON \u10D5\u10D4\u10DA\u10D8",
9682
9701
  e164: "E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
9683
9702
  credit_card: "\u10E1\u10D0\u10D9\u10E0\u10D4\u10D3\u10D8\u10E2\u10DD \u10D1\u10D0\u10E0\u10D0\u10D7\u10D8\u10E1 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
9703
+ currency_code: "\u10D5\u10D0\u10DA\u10E3\u10E2\u10D8\u10E1 \u10D9\u10DD\u10D3\u10D8",
9684
9704
  iban: "IBAN",
9685
9705
  jwt: "JWT",
9686
9706
  template_literal: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"
@@ -9834,6 +9854,7 @@ var require_km = __commonJS({
9834
9854
  json_string: "\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",
9835
9855
  e164: "\u179B\u17C1\u1781 E.164",
9836
9856
  credit_card: "\u179B\u17C1\u1781\u1794\u17D0\u178E\u17D2\u178E\u17A5\u178E\u1791\u17B6\u1793",
9857
+ currency_code: "\u1780\u17BC\u178A\u179A\u17BC\u1794\u17B7\u1799\u1794\u17D0\u178E\u17D2\u178E",
9837
9858
  iban: "IBAN",
9838
9859
  jwt: "JWT",
9839
9860
  template_literal: "\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"
@@ -10002,6 +10023,7 @@ var require_kn = __commonJS({
10002
10023
  json_string: "JSON\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",
10003
10024
  e164: "E.164 \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
10004
10025
  credit_card: "\u0C95\u0CCD\u0CB0\u0CC6\u0CA1\u0CBF\u0C9F\u0CCD \u0C95\u0CBE\u0CB0\u0CCD\u0CA1\u0CCD \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
10026
+ currency_code: "\u0C95\u0CB0\u0CC6\u0CA8\u0CCD\u0CB8\u0CBF \u0C95\u0CCB\u0CA1\u0CCD",
10005
10027
  iban: "IBAN",
10006
10028
  jwt: "JWT",
10007
10029
  template_literal: "\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD"
@@ -10153,6 +10175,7 @@ var require_ko = __commonJS({
10153
10175
  json_string: "JSON \uBB38\uC790\uC5F4",
10154
10176
  e164: "E.164 \uBC88\uD638",
10155
10177
  credit_card: "\uC2E0\uC6A9\uCE74\uB4DC \uBC88\uD638",
10178
+ currency_code: "\uD1B5\uD654 \uCF54\uB4DC",
10156
10179
  iban: "IBAN",
10157
10180
  jwt: "JWT",
10158
10181
  template_literal: "\uC785\uB825"
@@ -10387,6 +10410,7 @@ var require_lt = __commonJS({
10387
10410
  json_string: "JSON eilut\u0117",
10388
10411
  e164: "E.164 numeris",
10389
10412
  credit_card: "kredito kortel\u0117s numeris",
10413
+ currency_code: "valiutos kodas",
10390
10414
  iban: "IBAN",
10391
10415
  jwt: "JWT",
10392
10416
  template_literal: "\u012Fvestis"
@@ -10548,6 +10572,7 @@ var require_mk = __commonJS({
10548
10572
  json_string: "JSON \u043D\u0438\u0437\u0430",
10549
10573
  e164: "E.164 \u0431\u0440\u043E\u0458",
10550
10574
  credit_card: "\u0431\u0440\u043E\u0458 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u0447\u043A\u0430",
10575
+ currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
10551
10576
  iban: "IBAN",
10552
10577
  jwt: "JWT",
10553
10578
  template_literal: "\u0432\u043D\u0435\u0441"
@@ -10698,6 +10723,7 @@ var require_ms = __commonJS({
10698
10723
  json_string: "string JSON",
10699
10724
  e164: "nombor E.164",
10700
10725
  credit_card: "nombor kad kredit",
10726
+ currency_code: "kod mata wang",
10701
10727
  iban: "IBAN",
10702
10728
  jwt: "JWT",
10703
10729
  template_literal: "input"
@@ -10846,6 +10872,7 @@ var require_ne = __commonJS({
10846
10872
  json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0919",
10847
10873
  e164: "E.164 \u0928\u092E\u094D\u092C\u0930",
10848
10874
  credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0928\u092E\u094D\u092C\u0930",
10875
+ currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
10849
10876
  iban: "IBAN",
10850
10877
  jwt: "JWT",
10851
10878
  template_literal: "\u0907\u0928\u092A\u0941\u091F"
@@ -10993,6 +11020,7 @@ var require_nl = __commonJS({
10993
11020
  json_string: "JSON string",
10994
11021
  e164: "E.164-nummer",
10995
11022
  credit_card: "creditcardnummer",
11023
+ currency_code: "valutacode",
10996
11024
  iban: "IBAN",
10997
11025
  jwt: "JWT",
10998
11026
  template_literal: "invoer"
@@ -11144,6 +11172,7 @@ var require_nn = __commonJS({
11144
11172
  json_string: "JSON-streng",
11145
11173
  e164: "E.164-nummer",
11146
11174
  credit_card: "kredittkortnummer",
11175
+ currency_code: "valutakode",
11147
11176
  iban: "IBAN",
11148
11177
  jwt: "JWT",
11149
11178
  template_literal: "input"
@@ -11293,6 +11322,7 @@ var require_no = __commonJS({
11293
11322
  json_string: "JSON-streng",
11294
11323
  e164: "E.164-nummer",
11295
11324
  credit_card: "kredittkortnummer",
11325
+ currency_code: "valutakode",
11296
11326
  iban: "IBAN",
11297
11327
  jwt: "JWT",
11298
11328
  template_literal: "input"
@@ -11442,6 +11472,7 @@ var require_ota = __commonJS({
11442
11472
  json_string: "JSON metin",
11443
11473
  e164: "E.164 say\u0131s\u0131",
11444
11474
  credit_card: "i'tib\xE2r kart\u0131 numaras\u0131",
11475
+ currency_code: "para birimi kodu",
11445
11476
  iban: "IBAN",
11446
11477
  jwt: "JWT",
11447
11478
  template_literal: "giren"
@@ -11592,6 +11623,7 @@ var require_ps = __commonJS({
11592
11623
  json_string: "JSON \u0645\u062A\u0646",
11593
11624
  e164: "\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",
11594
11625
  credit_card: "\u062F \u06A9\u0631\u06CC\u0689\u06CC\u067C \u06A9\u0627\u0631\u062A \u0634\u0645\u06CC\u0631\u0647",
11626
+ currency_code: "\u062F \u0627\u0633\u0639\u0627\u0631\u0648 \u06A9\u0648\u0689",
11595
11627
  iban: "IBAN",
11596
11628
  jwt: "JWT",
11597
11629
  template_literal: "\u0648\u0631\u0648\u062F\u064A"
@@ -11747,6 +11779,7 @@ var require_pl = __commonJS({
11747
11779
  json_string: "ci\u0105g znak\xF3w w formacie JSON",
11748
11780
  e164: "liczba E.164",
11749
11781
  credit_card: "numer karty kredytowej",
11782
+ currency_code: "kod waluty",
11750
11783
  iban: "IBAN",
11751
11784
  jwt: "JWT",
11752
11785
  template_literal: "wej\u015Bcie"
@@ -11897,6 +11930,7 @@ var require_pt = __commonJS({
11897
11930
  json_string: "o texto JSON",
11898
11931
  e164: "o n\xFAmero E.164",
11899
11932
  credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
11933
+ currency_code: "o c\xF3digo de moeda",
11900
11934
  iban: "o IBAN",
11901
11935
  jwt: "o JWT",
11902
11936
  template_literal: "a entrada"
@@ -12076,6 +12110,7 @@ var require_pt_BR = __commonJS({
12076
12110
  json_string: "o texto JSON",
12077
12111
  e164: "o n\xFAmero E.164",
12078
12112
  credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
12113
+ currency_code: "o c\xF3digo de moeda",
12079
12114
  iban: "o IBAN",
12080
12115
  jwt: "o JWT",
12081
12116
  template_literal: "a entrada"
@@ -12256,6 +12291,7 @@ var require_ro = __commonJS({
12256
12291
  json_string: "\u0219ir JSON",
12257
12292
  e164: "num\u0103r E.164",
12258
12293
  credit_card: "num\u0103r de card de credit",
12294
+ currency_code: "cod valutar",
12259
12295
  iban: "IBAN",
12260
12296
  jwt: "JWT",
12261
12297
  template_literal: "intrare"
@@ -12464,6 +12500,7 @@ var require_ru = __commonJS({
12464
12500
  json_string: "JSON \u0441\u0442\u0440\u043E\u043A\u0430",
12465
12501
  e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
12466
12502
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0439 \u043A\u0430\u0440\u0442\u044B",
12503
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
12467
12504
  iban: "IBAN",
12468
12505
  jwt: "JWT",
12469
12506
  template_literal: "\u0432\u0432\u043E\u0434"
@@ -12618,6 +12655,7 @@ var require_sk = __commonJS({
12618
12655
  json_string: "re\u0165azec vo form\xE1te JSON",
12619
12656
  e164: "\u010D\xEDslo E.164",
12620
12657
  credit_card: "\u010D\xEDslo kreditnej karty",
12658
+ currency_code: "k\xF3d meny",
12621
12659
  iban: "IBAN",
12622
12660
  jwt: "JWT",
12623
12661
  template_literal: "vstup"
@@ -12770,6 +12808,7 @@ var require_sl = __commonJS({
12770
12808
  json_string: "JSON niz",
12771
12809
  e164: "E.164 \u0161tevilka",
12772
12810
  credit_card: "\u0161tevilka kreditne kartice",
12811
+ currency_code: "koda valute",
12773
12812
  iban: "IBAN",
12774
12813
  jwt: "JWT",
12775
12814
  template_literal: "vnos"
@@ -12920,6 +12959,7 @@ var require_sv = __commonJS({
12920
12959
  json_string: "JSON-str\xE4ng",
12921
12960
  e164: "E.164-nummer",
12922
12961
  credit_card: "kreditkortsnummer",
12962
+ currency_code: "valutakod",
12923
12963
  iban: "IBAN",
12924
12964
  jwt: "JWT",
12925
12965
  template_literal: "mall-literal"
@@ -13071,6 +13111,7 @@ var require_ta = __commonJS({
13071
13111
  json_string: "JSON \u0B9A\u0BB0\u0BAE\u0BCD",
13072
13112
  e164: "E.164 \u0B8E\u0BA3\u0BCD",
13073
13113
  credit_card: "\u0B95\u0B9F\u0BA9\u0BCD \u0B85\u0B9F\u0BCD\u0B9F\u0BC8 \u0B8E\u0BA3\u0BCD",
13114
+ currency_code: "\u0BA8\u0BBE\u0BA3\u0BAF\u0B95\u0BCD \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BC1",
13074
13115
  iban: "IBAN",
13075
13116
  jwt: "JWT",
13076
13117
  template_literal: "input"
@@ -13222,6 +13263,7 @@ var require_tg = __commonJS({
13222
13263
  json_string: "\u0441\u0430\u0442\u0440\u0438 JSON",
13223
13264
  e164: "\u0440\u0430\u049B\u0430\u043C\u0438 E.164",
13224
13265
  credit_card: "\u0440\u0430\u049B\u0430\u043C\u0438 \u043A\u043E\u0440\u0442\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u04E3",
13266
+ currency_code: "\u0440\u0430\u043C\u0437\u0438 \u0430\u0441\u044A\u043E\u0440",
13225
13267
  iban: "IBAN",
13226
13268
  jwt: "JWT",
13227
13269
  template_literal: "\u0432\u0443\u0440\u0443\u0434"
@@ -13374,6 +13416,7 @@ var require_th = __commonJS({
13374
13416
  json_string: "\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",
13375
13417
  e164: "\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",
13376
13418
  credit_card: "\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15",
13419
+ currency_code: "\u0E23\u0E2B\u0E31\u0E2A\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19",
13377
13420
  iban: "IBAN",
13378
13421
  jwt: "\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",
13379
13422
  template_literal: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"
@@ -13525,6 +13568,7 @@ var require_tk = __commonJS({
13525
13568
  json_string: "JSON setiri",
13526
13569
  e164: "E.164 nomeri",
13527
13570
  credit_card: "kredit kartyny\u0148 nomeri",
13571
+ currency_code: "wal\xFDuta kody",
13528
13572
  iban: "IBAN",
13529
13573
  jwt: "JWT",
13530
13574
  template_literal: "\u015Fablon"
@@ -13668,6 +13712,7 @@ var require_tr = __commonJS({
13668
13712
  json_string: "JSON dizesi",
13669
13713
  e164: "E.164 say\u0131s\u0131",
13670
13714
  credit_card: "kredi kart\u0131 numaras\u0131",
13715
+ currency_code: "para birimi kodu",
13671
13716
  iban: "IBAN",
13672
13717
  jwt: "JWT",
13673
13718
  template_literal: "\u015Eablon dizesi"
@@ -13814,6 +13859,7 @@ var require_uk = __commonJS({
13814
13859
  json_string: "\u0440\u044F\u0434\u043E\u043A JSON",
13815
13860
  e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
13816
13861
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0457 \u043A\u0430\u0440\u0442\u043A\u0438",
13862
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u0438",
13817
13863
  iban: "IBAN",
13818
13864
  jwt: "JWT",
13819
13865
  template_literal: "\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"
@@ -13980,6 +14026,7 @@ var require_ur = __commonJS({
13980
14026
  json_string: "\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",
13981
14027
  e164: "\u0627\u06CC 164 \u0646\u0645\u0628\u0631",
13982
14028
  credit_card: "\u06A9\u0631\u06CC\u0688\u0679 \u06A9\u0627\u0631\u0688 \u0646\u0645\u0628\u0631",
14029
+ currency_code: "\u06A9\u0631\u0646\u0633\u06CC \u06A9\u0648\u0688",
13983
14030
  iban: "IBAN",
13984
14031
  jwt: "\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",
13985
14032
  template_literal: "\u0627\u0646 \u067E\u0679"
@@ -14131,6 +14178,7 @@ var require_uz = __commonJS({
14131
14178
  json_string: "JSON satr",
14132
14179
  e164: "E.164 raqam",
14133
14180
  credit_card: "kredit karta raqami",
14181
+ currency_code: "valyuta kodi",
14134
14182
  iban: "IBAN",
14135
14183
  jwt: "JWT",
14136
14184
  template_literal: "kirish"
@@ -14280,6 +14328,7 @@ var require_vi = __commonJS({
14280
14328
  json_string: "chu\u1ED7i JSON",
14281
14329
  e164: "s\u1ED1 E.164",
14282
14330
  credit_card: "s\u1ED1 th\u1EBB t\xEDn d\u1EE5ng",
14331
+ currency_code: "m\xE3 ti\u1EC1n t\u1EC7",
14283
14332
  iban: "IBAN",
14284
14333
  jwt: "JWT",
14285
14334
  template_literal: "\u0111\u1EA7u v\xE0o"
@@ -14429,6 +14478,7 @@ var require_zh_CN = __commonJS({
14429
14478
  json_string: "JSON\u5B57\u7B26\u4E32",
14430
14479
  e164: "E.164\u53F7\u7801",
14431
14480
  credit_card: "\u4FE1\u7528\u5361\u53F7",
14481
+ currency_code: "\u8D27\u5E01\u4EE3\u7801",
14432
14482
  iban: "IBAN",
14433
14483
  jwt: "JWT",
14434
14484
  template_literal: "\u8F93\u5165"
@@ -14579,6 +14629,7 @@ var require_zh_TW = __commonJS({
14579
14629
  json_string: "JSON \u5B57\u4E32",
14580
14630
  e164: "E.164 \u6578\u503C",
14581
14631
  credit_card: "\u4FE1\u7528\u5361\u865F",
14632
+ currency_code: "\u8CA8\u5E63\u4EE3\u78BC",
14582
14633
  iban: "IBAN",
14583
14634
  jwt: "JWT",
14584
14635
  template_literal: "\u8F38\u5165"
@@ -14727,6 +14778,7 @@ var require_yo = __commonJS({
14727
14778
  json_string: "\u1ECD\u0300r\u1ECD\u0300 JSON",
14728
14779
  e164: "n\u1ECD\u0301mb\xE0 E.164",
14729
14780
  credit_card: "n\u1ECDmba kaadi gbese",
14781
+ currency_code: "koodu ow\xF3",
14730
14782
  iban: "IBAN",
14731
14783
  jwt: "JWT",
14732
14784
  template_literal: "\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"
@@ -15457,7 +15509,7 @@ ${code}
15457
15509
  generatePropertyCheck2(doc, ctx, def, currentAccessor);
15458
15510
  break;
15459
15511
  case "properties":
15460
- generatePropertiesChecks2(doc, ctx, def, currentAccessor, false);
15512
+ generatePropertiesChecks2(doc, ctx, def, currentAccessor);
15461
15513
  break;
15462
15514
  case "overwrite": {
15463
15515
  const newAccessor = newVar2(ctx);
@@ -15567,11 +15619,11 @@ ${code}
15567
15619
  doc.write(`if (!${mimeSet}.has(${accessor}.type)) return INVALID;`);
15568
15620
  }
15569
15621
  }
15570
- function generatePropertiesChecks2(doc, ctx, def, accessor, schemaRole) {
15622
+ function generatePropertiesChecks2(doc, ctx, def, accessor) {
15571
15623
  if (def.when) {
15572
15624
  throw new ZodCompileUnsupportedError2(`check with a custom "when" condition`);
15573
15625
  }
15574
- doc.write(schemaRole ? `if (${accessor} === null || (typeof ${accessor} !== "object" && typeof ${accessor} !== "function")) return INVALID;` : `if (${accessor} == null) return INVALID;`);
15626
+ doc.write(`if (${accessor} == null) return INVALID;`);
15575
15627
  const shape = def.shape;
15576
15628
  for (const key of Reflect.ownKeys(shape)) {
15577
15629
  const keyExpr = typeof key === "symbol" ? addConstant2(ctx, key) : util.esc(key);
@@ -15661,7 +15713,7 @@ ${code}
15661
15713
  "uuid",
15662
15714
  "xid"
15663
15715
  ]);
15664
- function generateStringFormatCheck2(doc, ctx, def, accessor) {
15716
+ function generateStringFormatCheck2(doc, ctx, def, accessor, needsValue = true) {
15665
15717
  const fmt = def.format;
15666
15718
  if (fmt === "base64") {
15667
15719
  const validator = addConstant2(ctx, schemas_js_1.isValidBase64);
@@ -15701,7 +15753,7 @@ ${code}
15701
15753
  }
15702
15754
  const formatDef = def;
15703
15755
  if (fmt === "url" || fmt === "httpurl" || formatDef.normalize || formatDef.hostname !== void 0 || formatDef.protocol !== void 0) {
15704
- const parseConst = addConstant2(ctx, schemas_js_1.parseURLObject);
15756
+ const parseConst = addConstant2(ctx, schemas_js_1.validateURL);
15705
15757
  const defConst = addConstant2(ctx, def);
15706
15758
  const trimVar = newVar2(ctx);
15707
15759
  const urlVar = newVar2(ctx);
@@ -15716,6 +15768,8 @@ ${code}
15716
15768
  const protocolConst = addConstant2(ctx, schemas_js_1.urlProtocolOk);
15717
15769
  doc.write(`if (!${protocolConst}(${urlVar}, ${defConst}.protocol)) return INVALID;`);
15718
15770
  }
15771
+ if (!needsValue)
15772
+ return null;
15719
15773
  const outputVar = newVar2(ctx);
15720
15774
  const outputExpr = formatDef.normalize ? `${urlVar}.href` : `${addConstant2(ctx, schemas_js_1.stripTabAndNewline)}(${trimVar})`;
15721
15775
  doc.write(`const ${outputVar} = ${outputExpr};`);
@@ -15775,7 +15829,7 @@ ${code}
15775
15829
  let typeAccessor;
15776
15830
  switch (type) {
15777
15831
  case "string":
15778
- typeAccessor = generateStringCheck2(doc, ctx, schema, accessor);
15832
+ typeAccessor = generateStringCheck2(doc, ctx, schema, accessor, buildsValue);
15779
15833
  break;
15780
15834
  case "number":
15781
15835
  typeAccessor = generateNumberCheck2(doc, schema, accessor);
@@ -15881,10 +15935,6 @@ ${code}
15881
15935
  case "custom":
15882
15936
  typeAccessor = generateCustomCheck2(doc, ctx, schema, accessor);
15883
15937
  break;
15884
- case "properties":
15885
- generatePropertiesChecks2(doc, ctx, schema._zod.def, accessor, true);
15886
- typeAccessor = accessor;
15887
- break;
15888
15938
  case "transform":
15889
15939
  typeAccessor = generateTransformCheck2(doc, ctx, schema, accessor);
15890
15940
  break;
@@ -15900,12 +15950,12 @@ ${code}
15900
15950
  return null;
15901
15951
  return generateChecks2(doc, ctx, schema, typeAccessor);
15902
15952
  }
15903
- function generateStringCheck2(doc, ctx, schema, accessor) {
15953
+ function generateStringCheck2(doc, ctx, schema, accessor, needsValue = true) {
15904
15954
  doc.write(`if (typeof ${accessor} !== "string") return INVALID;`);
15905
15955
  const def = schema._zod.def;
15906
15956
  if (def.format === void 0)
15907
15957
  return accessor;
15908
- return generateStringFormatCheck2(doc, ctx, def, accessor);
15958
+ return generateStringFormatCheck2(doc, ctx, def, accessor, needsValue);
15909
15959
  }
15910
15960
  function generateNumberCheck2(doc, schema, accessor) {
15911
15961
  doc.write(`if (typeof ${accessor} !== "number" || !Number.isFinite(${accessor})) return INVALID;`);
@@ -16982,20 +17032,18 @@ var require_api = __commonJS({
16982
17032
  var registries = __importStar(require_registries());
16983
17033
  var schemas = __importStar(require_schemas());
16984
17034
  var util = __importStar(require_util());
17035
+ function snapshotChecks2(def) {
17036
+ if (def.checks)
17037
+ def.checks = [...def.checks];
17038
+ return def;
17039
+ }
16985
17040
  // @__NO_SIDE_EFFECTS__
16986
17041
  function _string2(Class2, params) {
16987
- return new Class2({
16988
- type: "string",
16989
- ...util.normalizeParams(params)
16990
- });
17042
+ return new Class2(snapshotChecks2({ type: "string", ...util.normalizeParams(params) }));
16991
17043
  }
16992
17044
  // @__NO_SIDE_EFFECTS__
16993
17045
  function _coercedString2(Class2, params) {
16994
- return new Class2({
16995
- type: "string",
16996
- coerce: true,
16997
- ...util.normalizeParams(params)
16998
- });
17046
+ return new Class2(snapshotChecks2({ type: "string", coerce: true, ...util.normalizeParams(params) }));
16999
17047
  }
17000
17048
  // @__NO_SIDE_EFFECTS__
17001
17049
  function _email2(Class2, params) {
@@ -17299,20 +17347,11 @@ var require_api = __commonJS({
17299
17347
  }
17300
17348
  // @__NO_SIDE_EFFECTS__
17301
17349
  function _number2(Class2, params) {
17302
- return new Class2({
17303
- type: "number",
17304
- checks: [],
17305
- ...util.normalizeParams(params)
17306
- });
17350
+ return new Class2(snapshotChecks2({ type: "number", checks: [], ...util.normalizeParams(params) }));
17307
17351
  }
17308
17352
  // @__NO_SIDE_EFFECTS__
17309
17353
  function _coercedNumber2(Class2, params) {
17310
- return new Class2({
17311
- type: "number",
17312
- coerce: true,
17313
- checks: [],
17314
- ...util.normalizeParams(params)
17315
- });
17354
+ return new Class2(snapshotChecks2({ type: "number", coerce: true, checks: [], ...util.normalizeParams(params) }));
17316
17355
  }
17317
17356
  // @__NO_SIDE_EFFECTS__
17318
17357
  function _int2(Class2, params) {
@@ -17654,9 +17693,8 @@ var require_api = __commonJS({
17654
17693
  });
17655
17694
  }
17656
17695
  // @__NO_SIDE_EFFECTS__
17657
- function _properties2(Class2, shape, params) {
17658
- return new Class2({
17659
- type: "properties",
17696
+ function _properties2(shape, params) {
17697
+ return new checks.$ZodCheckProperties({
17660
17698
  check: "properties",
17661
17699
  shape,
17662
17700
  ...util.normalizeParams(params)
@@ -18084,7 +18122,6 @@ var require_to_json_schema = __commonJS({
18084
18122
  exports.process = processSchema2;
18085
18123
  exports.extractDefs = extractDefs2;
18086
18124
  exports.finalize = finalize2;
18087
- exports.isTransforming = isTransforming2;
18088
18125
  var registries_js_1 = require_registries();
18089
18126
  var util_js_1 = require_util();
18090
18127
  function assignProps2(target, ...sources) {
@@ -18325,11 +18362,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
18325
18362
  }
18326
18363
  objects.push(member);
18327
18364
  }
18328
- const properties2 = {};
18365
+ const properties = {};
18329
18366
  const required2 = /* @__PURE__ */ new Set();
18330
18367
  for (const object4 of objects) {
18331
18368
  for (const key in object4.properties) {
18332
- if (Object.prototype.hasOwnProperty.call(properties2, key))
18369
+ if (Object.prototype.hasOwnProperty.call(properties, key))
18333
18370
  continue;
18334
18371
  const parts = [];
18335
18372
  for (const other of objects) {
@@ -18340,12 +18377,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
18340
18377
  parts.push(part);
18341
18378
  }
18342
18379
  const merged = parts.length === 1 ? parts[0] : foldObjects2(parts) ?? { allOf: parts };
18343
- (0, util_js_1.assignProp)(properties2, key, merged);
18380
+ (0, util_js_1.assignProp)(properties, key, merged);
18344
18381
  }
18345
18382
  for (const key of object4.required ?? [])
18346
18383
  required2.add(key);
18347
18384
  }
18348
- const folded = { type: "object", properties: properties2 };
18385
+ const folded = { type: "object", properties };
18349
18386
  if (required2.size)
18350
18387
  folded.required = [...required2];
18351
18388
  if (objects.every((object4) => object4.additionalProperties === false)) {
@@ -18668,7 +18705,7 @@ var require_json_schema_processors = __commonJS({
18668
18705
  return result;
18669
18706
  };
18670
18707
  Object.defineProperty(exports, "__esModule", { value: true });
18671
- exports.allProcessors = exports.lazyProcessor = exports.optionalProcessor = exports.promiseProcessor = exports.readonlyProcessor = exports.pipeProcessor = exports.catchProcessor = exports.prefaultProcessor = exports.defaultProcessor = exports.nonoptionalProcessor = exports.nullableProcessor = exports.recordProcessor = exports.tupleProcessor = exports.intersectionProcessor = exports.unionProcessor = exports.propertiesProcessor = exports.objectProcessor = exports.arrayProcessor = exports.setProcessor = exports.mapProcessor = exports.transformProcessor = exports.functionProcessor = exports.customProcessor = exports.successProcessor = exports.fileProcessor = exports.templateLiteralProcessor = exports.nanProcessor = exports.literalProcessor = exports.enumProcessor = exports.dateProcessor = exports.unknownProcessor = exports.anyProcessor = exports.neverProcessor = exports.voidProcessor = exports.undefinedProcessor = exports.nullProcessor = exports.symbolProcessor = exports.bigintProcessor = exports.booleanProcessor = exports.numberProcessor = exports.stringProcessor = void 0;
18708
+ exports.allProcessors = exports.lazyProcessor = exports.optionalProcessor = exports.promiseProcessor = exports.readonlyProcessor = exports.pipeProcessor = exports.catchProcessor = exports.prefaultProcessor = exports.defaultProcessor = exports.nonoptionalProcessor = exports.nullableProcessor = exports.recordProcessor = exports.tupleProcessor = exports.intersectionProcessor = exports.unionProcessor = exports.objectProcessor = exports.arrayProcessor = exports.setProcessor = exports.mapProcessor = exports.transformProcessor = exports.functionProcessor = exports.customProcessor = exports.successProcessor = exports.fileProcessor = exports.templateLiteralProcessor = exports.nanProcessor = exports.literalProcessor = exports.enumProcessor = exports.dateProcessor = exports.unknownProcessor = exports.anyProcessor = exports.neverProcessor = exports.voidProcessor = exports.undefinedProcessor = exports.nullProcessor = exports.symbolProcessor = exports.bigintProcessor = exports.booleanProcessor = exports.numberProcessor = exports.stringProcessor = void 0;
18672
18709
  exports.aggregateChecks = aggregateChecks2;
18673
18710
  exports.toJSONSchema = toJSONSchema3;
18674
18711
  var regexes = __importStar(require_regexes());
@@ -19049,17 +19086,15 @@ var require_json_schema_processors = __commonJS({
19049
19086
  path: [...params.path, "properties", key]
19050
19087
  }));
19051
19088
  }
19052
- const allKeys = new Set(Object.keys(shape));
19053
- const requiredKeys = new Set([...allKeys].filter((key) => {
19089
+ const requiredKeys = [];
19090
+ for (const key of Object.keys(shape)) {
19054
19091
  const field = def.shape[key];
19055
- if (ctx.io === "input") {
19056
- return inputOptin2(field) === void 0;
19057
- } else {
19058
- return field._zod.optout === void 0;
19092
+ if (ctx.io === "input" ? inputOptin2(field) === void 0 : field._zod.optout === void 0) {
19093
+ requiredKeys.push(key);
19059
19094
  }
19060
- }));
19061
- if (requiredKeys.size > 0) {
19062
- json2.required = Array.from(requiredKeys);
19095
+ }
19096
+ if (requiredKeys.length > 0) {
19097
+ json2.required = requiredKeys;
19063
19098
  }
19064
19099
  if (def.catchall?._zod.def.type === "never") {
19065
19100
  json2.additionalProperties = false;
@@ -19074,32 +19109,6 @@ var require_json_schema_processors = __commonJS({
19074
19109
  }
19075
19110
  };
19076
19111
  exports.objectProcessor = objectProcessor2;
19077
- var propertiesProcessor2 = (schema, ctx, _json, params) => {
19078
- const json2 = _json;
19079
- const def = schema._zod.def;
19080
- if (Object.getOwnPropertySymbols(def.shape).length && (0, to_json_schema_js_1.handleUnrepresentable)(schema, ctx, json2, params, "Symbol keys cannot be represented in JSON Schema")) {
19081
- return;
19082
- }
19083
- if (ctx.io === "output") {
19084
- for (const key in def.shape) {
19085
- if ((0, to_json_schema_js_1.isTransforming)(def.shape[key]) && (0, to_json_schema_js_1.handleUnrepresentable)(schema, ctx, json2, params, `z.properties() returns its input, so the output of a transforming schema at key "${key}" cannot be represented in JSON Schema`)) {
19086
- return;
19087
- }
19088
- }
19089
- }
19090
- json2.type = "object";
19091
- json2.properties = {};
19092
- for (const key in def.shape) {
19093
- (0, util_js_1.assignProp)(json2.properties, key, (0, to_json_schema_js_1.processSchema)(def.shape[key], ctx, {
19094
- ...params,
19095
- path: [...params.path, "properties", key]
19096
- }));
19097
- }
19098
- const required2 = Object.keys(def.shape).filter((key) => inputOptin2(def.shape[key]) === void 0);
19099
- if (required2.length > 0)
19100
- json2.required = required2;
19101
- };
19102
- exports.propertiesProcessor = propertiesProcessor2;
19103
19112
  var unionProcessor2 = (schema, ctx, json2, params) => {
19104
19113
  const def = schema._zod.def;
19105
19114
  const isExclusive = def.inclusive === false;
@@ -19433,7 +19442,6 @@ var require_json_schema_processors = __commonJS({
19433
19442
  file: exports.fileProcessor,
19434
19443
  success: exports.successProcessor,
19435
19444
  custom: exports.customProcessor,
19436
- properties: exports.propertiesProcessor,
19437
19445
  function: exports.functionProcessor,
19438
19446
  transform: exports.transformProcessor,
19439
19447
  map: exports.mapProcessor,
@@ -19724,7 +19732,7 @@ var require_checks2 = __commonJS({
19724
19732
  "node_modules/zod/v4/classic/checks.cjs"(exports) {
19725
19733
  "use strict";
19726
19734
  Object.defineProperty(exports, "__esModule", { value: true });
19727
- exports.slugify = exports.toUpperCase = exports.toLowerCase = exports.trim = exports.normalize = exports.overwrite = exports.mime = exports.property = exports.endsWith = exports.startsWith = exports.includes = exports.uppercase = exports.lowercase = exports.regex = exports.length = exports.minLength = exports.maxLength = exports.size = exports.minSize = exports.maxSize = exports.multipleOf = exports.nonnegative = exports.nonpositive = exports.negative = exports.positive = exports.gte = exports.gt = exports.lte = exports.lt = void 0;
19735
+ exports.slugify = exports.toUpperCase = exports.toLowerCase = exports.trim = exports.normalize = exports.overwrite = exports.mime = exports.properties = exports.property = exports.endsWith = exports.startsWith = exports.includes = exports.uppercase = exports.lowercase = exports.regex = exports.length = exports.minLength = exports.maxLength = exports.size = exports.minSize = exports.maxSize = exports.multipleOf = exports.nonnegative = exports.nonpositive = exports.negative = exports.positive = exports.gte = exports.gt = exports.lte = exports.lt = void 0;
19728
19736
  var index_js_1 = require_core2();
19729
19737
  Object.defineProperty(exports, "lt", { enumerable: true, get: function() {
19730
19738
  return index_js_1._lt;
@@ -19792,6 +19800,9 @@ var require_checks2 = __commonJS({
19792
19800
  Object.defineProperty(exports, "property", { enumerable: true, get: function() {
19793
19801
  return index_js_1._property;
19794
19802
  } });
19803
+ Object.defineProperty(exports, "properties", { enumerable: true, get: function() {
19804
+ return index_js_1._properties;
19805
+ } });
19795
19806
  Object.defineProperty(exports, "mime", { enumerable: true, get: function() {
19796
19807
  return index_js_1._mime;
19797
19808
  } });
@@ -20040,7 +20051,7 @@ var require_schemas2 = __commonJS({
20040
20051
  };
20041
20052
  Object.defineProperty(exports, "__esModule", { value: true });
20042
20053
  exports.ZodIntersection = exports.ZodDiscriminatedUnion = exports.ZodXor = exports.ZodUnion = exports.ZodObject = exports.ZodArray = exports.ZodDate = exports.ZodVoid = exports.ZodNever = exports.ZodUnknown = exports.ZodAny = exports.ZodNull = exports.ZodUndefined = exports.ZodSymbol = exports.ZodBigIntFormat = exports.ZodBigInt = exports.ZodBoolean = exports.ZodNumberFormat = exports.ZodNumber = exports.ZodCustomStringFormat = exports.ZodJWT = exports.ZodIBAN = exports.ZodCreditCard = exports.ZodE164 = exports.ZodBase64URL = exports.ZodBase64 = exports.ZodCIDRv6 = exports.ZodCIDRv4 = exports.ZodIPv6 = exports.ZodMAC = exports.ZodIPv4 = exports.ZodKSUID = exports.ZodXID = exports.ZodULID = exports.ZodCUID2 = exports.ZodCUID = exports.ZodNanoID = exports.ZodEmoji = exports.ZodURL = exports.ZodUUID = exports.ZodGUID = exports.ZodEmail = exports.ZodISODuration = exports.ZodISOTime = exports.ZodISODate = exports.ZodISODateTime = exports.ZodStringFormat = exports.ZodString = exports._ZodString = exports.ZodType = void 0;
20043
- exports.stringbool = exports.ZodInstanceOf = exports.meta = exports.describe = exports.ZodProperties = exports.ZodCustom = exports.ZodFunction = exports.ZodPromise = exports.ZodLazy = exports.ZodTemplateLiteral = exports.ZodReadonly = exports.ZodPreprocess = exports.ZodCodec = exports.ZodPipe = exports.ZodNaN = exports.ZodCatch = exports.ZodSuccess = exports.ZodNonOptional = exports.ZodPrefault = exports.ZodDefault = exports.ZodNullable = exports.ZodExactOptional = exports.ZodOptional = exports.ZodTransform = exports.ZodFile = exports.ZodLiteral = exports.ZodEnum = exports.ZodSet = exports.ZodMap = exports.ZodRecord = exports.ZodTuple = void 0;
20054
+ exports.stringbool = exports.ZodInstanceOf = exports.meta = exports.describe = exports.ZodCustom = exports.ZodFunction = exports.ZodPromise = exports.ZodLazy = exports.ZodTemplateLiteral = exports.ZodReadonly = exports.ZodPreprocess = exports.ZodCodec = exports.ZodPipe = exports.ZodNaN = exports.ZodCatch = exports.ZodSuccess = exports.ZodNonOptional = exports.ZodPrefault = exports.ZodDefault = exports.ZodNullable = exports.ZodExactOptional = exports.ZodOptional = exports.ZodTransform = exports.ZodFile = exports.ZodLiteral = exports.ZodEnum = exports.ZodSet = exports.ZodMap = exports.ZodRecord = exports.ZodTuple = void 0;
20044
20055
  exports.string = string6;
20045
20056
  exports.email = email4;
20046
20057
  exports.guid = guid3;
@@ -20071,6 +20082,7 @@ var require_schemas2 = __commonJS({
20071
20082
  exports.stringFormat = stringFormat2;
20072
20083
  exports.hostname = hostname3;
20073
20084
  exports.hex = hex3;
20085
+ exports.currencyCode = currencyCode3;
20074
20086
  exports.hash = hash2;
20075
20087
  exports.number = number6;
20076
20088
  exports.int = int2;
@@ -20131,7 +20143,6 @@ var require_schemas2 = __commonJS({
20131
20143
  exports.function = _function2;
20132
20144
  exports._function = _function2;
20133
20145
  exports.function = _function2;
20134
- exports.properties = properties2;
20135
20146
  exports.check = check2;
20136
20147
  exports.custom = custom2;
20137
20148
  exports.refine = refine2;
@@ -20142,6 +20153,7 @@ var require_schemas2 = __commonJS({
20142
20153
  var core = __importStar(require_core2());
20143
20154
  var index_js_1 = require_core2();
20144
20155
  var processors = __importStar(require_json_schema_processors());
20156
+ var regexes = __importStar(require_regexes());
20145
20157
  var to_json_schema_js_1 = require_to_json_schema();
20146
20158
  var en_js_1 = __importDefault(require_en());
20147
20159
  var checks = __importStar(require_checks2());
@@ -20533,8 +20545,8 @@ var require_schemas2 = __commonJS({
20533
20545
  }
20534
20546
  function httpUrl2(params) {
20535
20547
  return core._url(exports.ZodURL, {
20536
- protocol: core.regexes.httpProtocol,
20537
- hostname: core.regexes.domain,
20548
+ protocol: regexes.httpProtocol,
20549
+ hostname: regexes.domain,
20538
20550
  ...index_js_1.util.normalizeParams(params)
20539
20551
  });
20540
20552
  }
@@ -20672,10 +20684,13 @@ var require_schemas2 = __commonJS({
20672
20684
  return core._stringFormat(exports.ZodCustomStringFormat, format, fnOrRegex, _params);
20673
20685
  }
20674
20686
  function hostname3(_params) {
20675
- return core._stringFormat(exports.ZodCustomStringFormat, "hostname", core.regexes.hostname, _params);
20687
+ return core._stringFormat(exports.ZodCustomStringFormat, "hostname", regexes.hostname, _params);
20676
20688
  }
20677
20689
  function hex3(_params) {
20678
- return core._stringFormat(exports.ZodCustomStringFormat, "hex", core.regexes.hex, _params);
20690
+ return core._stringFormat(exports.ZodCustomStringFormat, "hex", regexes.hex, _params);
20691
+ }
20692
+ function currencyCode3(_params) {
20693
+ return core._stringFormat(exports.ZodCustomStringFormat, "currency_code", regexes.currencyCode, _params);
20679
20694
  }
20680
20695
  function hash2(alg, params) {
20681
20696
  const enc6 = params?.enc ?? "hex";
@@ -21540,14 +21555,6 @@ var require_schemas2 = __commonJS({
21540
21555
  exports.ZodType.init(inst, def);
21541
21556
  inst._zod.processJSONSchema = (ctx, json3, params) => processors.customProcessor(inst, ctx, json3, params);
21542
21557
  });
21543
- exports.ZodProperties = core.$constructor("ZodProperties", (inst, def) => {
21544
- _ensureDefaultMemoizer2();
21545
- core.$ZodProperties.init(inst, def);
21546
- exports.ZodType.init(inst, def);
21547
- });
21548
- function properties2(shape, params) {
21549
- return core._properties(exports.ZodProperties, shape, params);
21550
- }
21551
21558
  function check2(fn) {
21552
21559
  const ch = new core.$ZodCheck({
21553
21560
  check: "custom"
@@ -21571,7 +21578,7 @@ var require_schemas2 = __commonJS({
21571
21578
  exports.ZodCustom.init(inst, def);
21572
21579
  }, {
21573
21580
  properties(shape, params) {
21574
- return this.check(properties2(shape, params));
21581
+ return this.check(core._properties(shape, params));
21575
21582
  }
21576
21583
  });
21577
21584
  function _instanceof2(cls, params = {}) {
@@ -22332,10 +22339,10 @@ var require_from_json_schema = __commonJS({
22332
22339
  }
22333
22340
  case "object": {
22334
22341
  const shape = {};
22335
- const properties2 = schema.properties || {};
22342
+ const properties = schema.properties || {};
22336
22343
  const requiredSet = new Set(schema.required || []);
22337
22344
  const additionalSchema = typeof schema.additionalProperties === "object" ? convertSchema2(schema.additionalProperties, ctx) : void 0;
22338
- for (const [key, propSchema] of Object.entries(properties2)) {
22345
+ for (const [key, propSchema] of Object.entries(properties)) {
22339
22346
  const propZodSchema = convertSchema2(propSchema, ctx);
22340
22347
  (0, util_js_1.assignProp)(shape, key, requiredSet.has(key) ? propZodSchema : propZodSchema.optional());
22341
22348
  }
@@ -22748,18 +22755,6 @@ var require_visit = __commonJS({
22748
22755
  const { _cachedInner, ...rest } = def;
22749
22756
  return (0, util_js_1.clone)(s, { ...rest, getter: () => run(original()) });
22750
22757
  }
22751
- case "properties": {
22752
- const oldShape = def.shape;
22753
- let changed = false;
22754
- const newShape = {};
22755
- for (const k of Reflect.ownKeys(oldShape)) {
22756
- const mapped = run(oldShape[k]);
22757
- if (mapped !== oldShape[k])
22758
- changed = true;
22759
- newShape[k] = mapped;
22760
- }
22761
- return changed ? (0, util_js_1.clone)(s, { ...def, shape: newShape }) : s;
22762
- }
22763
22758
  // A leaf by choice: `parts` are regex fragments, not data positions.
22764
22759
  case "template_literal":
22765
22760
  // Leaves.
@@ -30950,8 +30945,8 @@ function scanXMcpHeaderDeclarations(inputSchema) {
30950
30945
  type
30951
30946
  });
30952
30947
  }
30953
- const properties2 = schema.properties;
30954
- if (properties2 !== null && typeof properties2 === "object") for (const [key, child] of Object.entries(properties2)) {
30948
+ const properties = schema.properties;
30949
+ if (properties !== null && typeof properties === "object") for (const [key, child] of Object.entries(properties)) {
30955
30950
  const fault$1 = visit2(child, [...path, key], reachable);
30956
30951
  if (fault$1 !== void 0) return fault$1;
30957
30952
  }
@@ -31245,9 +31240,9 @@ function isLibraryFormatPattern(format, pattern, vendor) {
31245
31240
  }
31246
31241
  function promptArgumentsFromStandardSchema(schema) {
31247
31242
  const jsonSchema = standardSchemaToJsonSchema(schema, "input");
31248
- const properties2 = jsonSchema.properties || {};
31243
+ const properties = jsonSchema.properties || {};
31249
31244
  const required2 = jsonSchema.required || [];
31250
- return Object.entries(properties2).map(([name, prop]) => ({
31245
+ return Object.entries(properties).map(([name, prop]) => ({
31251
31246
  name,
31252
31247
  description: prop?.description,
31253
31248
  required: required2.includes(name)
@@ -34094,8 +34089,8 @@ var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
34094
34089
  const codegen_1 = require_codegen();
34095
34090
  const util_1 = require_util2();
34096
34091
  function assignDefaults(it, ty) {
34097
- const { properties: properties2, items } = it.schema;
34098
- if (ty === "object" && properties2) for (const key in properties2) assignDefault(it, key, properties2[key].default);
34092
+ const { properties, items } = it.schema;
34093
+ if (ty === "object" && properties) for (const key in properties) assignDefault(it, key, properties[key].default);
34099
34094
  else if (ty === "array" && Array.isArray(items)) items.forEach((sch, i) => assignDefault(it, i, sch.default));
34100
34095
  }
34101
34096
  exports.assignDefaults = assignDefaults;
@@ -34127,8 +34122,8 @@ var require_code = /* @__PURE__ */ __commonJSMin(((exports) => {
34127
34122
  });
34128
34123
  }
34129
34124
  exports.checkReportMissingProp = checkReportMissingProp;
34130
- function checkMissingProp({ gen, data, it: { opts } }, properties2, missing) {
34131
- return (0, codegen_1.or)(...properties2.map((prop) => (0, codegen_1.and)(noPropertyInData(gen, data, prop, opts.ownProperties), (0, codegen_1._)`${missing} = ${prop}`)));
34125
+ function checkMissingProp({ gen, data, it: { opts } }, properties, missing) {
34126
+ return (0, codegen_1.or)(...properties.map((prop) => (0, codegen_1.and)(noPropertyInData(gen, data, prop, opts.ownProperties), (0, codegen_1._)`${missing} = ${prop}`)));
34132
34127
  }
34133
34128
  exports.checkMissingProp = checkMissingProp;
34134
34129
  function reportMissingProp(cxt, missing) {
@@ -37404,10 +37399,10 @@ var require_properties = /* @__PURE__ */ __commonJSMin(((exports) => {
37404
37399
  const allProps = (0, code_1.allSchemaProperties)(schema);
37405
37400
  for (const prop of allProps) it.definedProperties.add(prop);
37406
37401
  if (it.opts.unevaluated && allProps.length && it.props !== true) it.props = util_1.mergeEvaluated.props(gen, (0, util_1.toHash)(allProps), it.props);
37407
- const properties2 = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));
37408
- if (properties2.length === 0) return;
37402
+ const properties = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));
37403
+ if (properties.length === 0) return;
37409
37404
  const valid = gen.name("valid");
37410
- for (const prop of properties2) {
37405
+ for (const prop of properties) {
37411
37406
  if (hasDefault(prop)) applyPropertySchema(prop);
37412
37407
  else {
37413
37408
  gen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties));
@@ -41758,7 +41753,6 @@ __export(external_exports, {
41758
41753
  ZodPrefault: () => ZodPrefault,
41759
41754
  ZodPreprocess: () => ZodPreprocess,
41760
41755
  ZodPromise: () => ZodPromise,
41761
- ZodProperties: () => ZodProperties,
41762
41756
  ZodReadonly: () => ZodReadonly,
41763
41757
  ZodRealError: () => ZodRealError,
41764
41758
  ZodRecord: () => ZodRecord,
@@ -41802,6 +41796,7 @@ __export(external_exports, {
41802
41796
  creditCard: () => creditCard2,
41803
41797
  cuid: () => cuid3,
41804
41798
  cuid2: () => cuid22,
41799
+ currencyCode: () => currencyCode2,
41805
41800
  custom: () => custom,
41806
41801
  date: () => date2,
41807
41802
  decode: () => decode2,
@@ -41895,7 +41890,7 @@ __export(external_exports, {
41895
41890
  preprocess: () => preprocess3,
41896
41891
  prettifyError: () => prettifyError,
41897
41892
  promise: () => promise,
41898
- properties: () => properties,
41893
+ properties: () => _properties,
41899
41894
  property: () => _property,
41900
41895
  readonly: () => readonly,
41901
41896
  record: () => record3,
@@ -41983,6 +41978,7 @@ __export(core_exports2, {
41983
41978
  $ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
41984
41979
  $ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
41985
41980
  $ZodCheckOverwrite: () => $ZodCheckOverwrite,
41981
+ $ZodCheckProperties: () => $ZodCheckProperties,
41986
41982
  $ZodCheckProperty: () => $ZodCheckProperty,
41987
41983
  $ZodCheckRegex: () => $ZodCheckRegex,
41988
41984
  $ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
@@ -42036,7 +42032,6 @@ __export(core_exports2, {
42036
42032
  $ZodPrefault: () => $ZodPrefault,
42037
42033
  $ZodPreprocess: () => $ZodPreprocess,
42038
42034
  $ZodPromise: () => $ZodPromise,
42039
- $ZodProperties: () => $ZodProperties,
42040
42035
  $ZodReadonly: () => $ZodReadonly,
42041
42036
  $ZodRealError: () => $ZodRealError,
42042
42037
  $ZodRecord: () => $ZodRecord,
@@ -42204,6 +42199,7 @@ __export(core_exports2, {
42204
42199
  _xor: () => _xor,
42205
42200
  base64Charset: () => base64Charset,
42206
42201
  base64urlCharset: () => base64urlCharset,
42202
+ canParseURL: () => canParseURL,
42207
42203
  clone: () => clone,
42208
42204
  compile: () => compile,
42209
42205
  compileFn: () => compileFn,
@@ -42226,7 +42222,6 @@ __export(core_exports2, {
42226
42222
  initializeContext: () => initializeContext,
42227
42223
  isBackEdge: () => isBackEdge,
42228
42224
  isRecursiveSchema: () => isRecursiveSchema,
42229
- isTransforming: () => isTransforming,
42230
42225
  isValidBase64: () => isValidBase64,
42231
42226
  isValidBase64URL: () => isValidBase64URL,
42232
42227
  isValidCIDRv6: () => isValidCIDRv6,
@@ -42263,6 +42258,7 @@ __export(core_exports2, {
42263
42258
  util: () => util_exports,
42264
42259
  validate: () => validate,
42265
42260
  validateAsync: () => validateAsync,
42261
+ validateURL: () => validateURL,
42266
42262
  version: () => version,
42267
42263
  withParser: () => withParser
42268
42264
  });
@@ -43004,9 +43000,6 @@ function members(proto, table) {
43004
43000
  else
43005
43001
  defineBound(proto, key, desc.value);
43006
43002
  }
43007
- for (const sym of Object.getOwnPropertySymbols(table)) {
43008
- defineBound(proto, sym, table[sym]);
43009
- }
43010
43003
  }
43011
43004
  function own(inst, key, value, enumerable = true) {
43012
43005
  Object.defineProperty(inst, key, { configurable: true, writable: true, enumerable, value });
@@ -43159,8 +43152,7 @@ function $constructor(name, initializer3, proto, params) {
43159
43152
  } finally {
43160
43153
  _zodDesc.value = void 0;
43161
43154
  }
43162
- }
43163
- if (inst._zod.traits.has(name)) {
43155
+ } else if (inst._zod.traits.has(name)) {
43164
43156
  return;
43165
43157
  }
43166
43158
  inst._zod.traits.add(name);
@@ -43602,6 +43594,7 @@ __export(regexes_exports, {
43602
43594
  creditCard: () => creditCard,
43603
43595
  cuid: () => cuid,
43604
43596
  cuid2: () => cuid2,
43597
+ currencyCode: () => currencyCode,
43605
43598
  date: () => date,
43606
43599
  datetime: () => datetime,
43607
43600
  domain: () => domain,
@@ -43700,6 +43693,7 @@ var domain = /^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a
43700
43693
  var httpProtocol = /^https?$/;
43701
43694
  var e164 = /^\+[1-9]\d{6,14}$/;
43702
43695
  var creditCard = /^\d(?:[ -]?\d){11,18}$/;
43696
+ var currencyCode = /^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/;
43703
43697
  var iban = /^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/;
43704
43698
  var dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
43705
43699
  function anchor(source) {
@@ -44184,6 +44178,34 @@ var $ZodCheckProperty = /* @__PURE__ */ $constructor("$ZodCheckProperty", (inst,
44184
44178
  return;
44185
44179
  };
44186
44180
  });
44181
+ var $ZodCheckProperties = /* @__PURE__ */ $constructor("$ZodCheckProperties", (inst, def) => {
44182
+ $ZodCheck.init(inst, def);
44183
+ hide(inst, Symbol.iterator, function* () {
44184
+ yield inst;
44185
+ });
44186
+ let entries;
44187
+ inst._zod.check = (payload) => {
44188
+ if (payload.value == null) {
44189
+ payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
44190
+ return void 0;
44191
+ }
44192
+ entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
44193
+ const input2 = payload.value;
44194
+ let proms;
44195
+ for (const [key, schema] of entries) {
44196
+ const result = schema._zod.run({ value: input2[key], issues: [] }, {});
44197
+ if (result instanceof Promise) {
44198
+ proms ?? (proms = []);
44199
+ proms.push(result.then((result2) => handleCheckPropertyResult(result2, payload, key)));
44200
+ } else {
44201
+ handleCheckPropertyResult(result, payload, key);
44202
+ }
44203
+ }
44204
+ if (proms)
44205
+ return Promise.all(proms).then(() => void 0);
44206
+ return void 0;
44207
+ };
44208
+ });
44187
44209
  var $ZodCheckMimeType = /* @__PURE__ */ $constructor("$ZodCheckMimeType", (inst, def) => {
44188
44210
  $ZodCheck.init(inst, def);
44189
44211
  const mimeSet = new Set(def.mime);
@@ -44251,7 +44273,7 @@ ${content.join("\n")}
44251
44273
  var version = {
44252
44274
  major: 4,
44253
44275
  minor: 6,
44254
- patch: 2
44276
+ patch: 5
44255
44277
  };
44256
44278
 
44257
44279
  // node_modules/zod/v4/core/schemas.js
@@ -44439,11 +44461,32 @@ var $ZodEmail = /* @__PURE__ */ $constructor("$ZodEmail", (inst, def) => {
44439
44461
  });
44440
44462
  var URL_BAD_FORMAT = 1;
44441
44463
  var URL_UNPARSEABLE = 2;
44464
+ function canParseURL(input2) {
44465
+ try {
44466
+ if (typeof URL !== "undefined" && typeof URL.canParse === "function")
44467
+ return URL.canParse(input2);
44468
+ new URL(input2);
44469
+ return true;
44470
+ } catch {
44471
+ return false;
44472
+ }
44473
+ }
44474
+ function validateURL(trimmed, def) {
44475
+ if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
44476
+ return canParseURL(trimmed) || URL_UNPARSEABLE;
44477
+ }
44478
+ return parseURLObject(trimmed, def);
44479
+ }
44442
44480
  function parseURLObject(trimmed, def) {
44443
44481
  if (!def.normalize && def.protocol?.source === httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
44444
44482
  return URL_BAD_FORMAT;
44445
44483
  }
44446
44484
  try {
44485
+ if (typeof URL !== "undefined") {
44486
+ const URLStatic = URL;
44487
+ if (typeof URLStatic.parse === "function")
44488
+ return URLStatic.parse(trimmed) ?? URL_UNPARSEABLE;
44489
+ }
44447
44490
  return new URL(trimmed);
44448
44491
  } catch {
44449
44492
  return URL_UNPARSEABLE;
@@ -44466,7 +44509,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
44466
44509
  inst._zod.check = (payload) => {
44467
44510
  try {
44468
44511
  const trimmed = payload.value.trim();
44469
- const url4 = parseURLObject(trimmed, def);
44512
+ const url4 = validateURL(trimmed, def);
44470
44513
  if (url4 === URL_BAD_FORMAT) {
44471
44514
  payload.issues.push({
44472
44515
  code: "invalid_format",
@@ -44488,6 +44531,10 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
44488
44531
  });
44489
44532
  return;
44490
44533
  }
44534
+ if (url4 === true) {
44535
+ payload.value = stripTabAndNewline(trimmed);
44536
+ return;
44537
+ }
44491
44538
  if (def.hostname && !urlHostnameOk(url4, def.hostname)) {
44492
44539
  payload.issues.push({
44493
44540
  code: "invalid_format",
@@ -44577,12 +44624,7 @@ var ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
44577
44624
  function isValidIPv6(value) {
44578
44625
  if (!ipv6Alphabet.test(value))
44579
44626
  return false;
44580
- try {
44581
- new URL(`http://[${value}]`);
44582
- return true;
44583
- } catch {
44584
- return false;
44585
- }
44627
+ return canParseURL(`http://[${value}]`);
44586
44628
  }
44587
44629
  var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
44588
44630
  def.pattern ?? (def.pattern = ipv6);
@@ -46647,59 +46689,6 @@ function handleRefineResult(result, payload, input2, inst) {
46647
46689
  payload.issues.push(issue(_iss));
46648
46690
  }
46649
46691
  }
46650
- function handlePropertiesResult(result, payload, key) {
46651
- if (result.issues.length) {
46652
- payload.issues.push(...prefixIssues(key, result.issues));
46653
- }
46654
- }
46655
- var $ZodProperties = /* @__PURE__ */ $constructor("$ZodProperties", (inst, def) => {
46656
- $ZodType.init(inst, def);
46657
- $ZodCheck.init(inst, def);
46658
- const memo3 = globalConfig.memoizer;
46659
- memo3?.attach(inst);
46660
- let entries;
46661
- const runShape = (payload, ctx) => {
46662
- entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
46663
- const input2 = payload.value;
46664
- let proms;
46665
- for (const [key, schema] of entries) {
46666
- const result = schema._zod.run({ value: input2[key], issues: [] }, ctx);
46667
- if (result instanceof Promise) {
46668
- proms ?? (proms = []);
46669
- proms.push(result.then((result2) => handlePropertiesResult(result2, payload, key)));
46670
- } else {
46671
- handlePropertiesResult(result, payload, key);
46672
- }
46673
- }
46674
- if (proms)
46675
- return Promise.all(proms).then(() => void 0);
46676
- return void 0;
46677
- };
46678
- inst._zod.parse = (payload, ctx) => {
46679
- const input2 = payload.value;
46680
- if (input2 === null || typeof input2 !== "object" && typeof input2 !== "function") {
46681
- payload.issues.push({ expected: "object", code: "invalid_type", input: input2, inst });
46682
- return payload;
46683
- }
46684
- if (ctx.direction === "backward")
46685
- ctx = { ...ctx, direction: "forward" };
46686
- if (memo3)
46687
- memo3.alloc(inst, payload, input2, ctx);
46688
- const result = runShape(payload, ctx);
46689
- return result instanceof Promise ? result.then(() => payload) : payload;
46690
- };
46691
- inst._zod.check = (payload) => {
46692
- if (payload.value == null) {
46693
- payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
46694
- return void 0;
46695
- }
46696
- return runShape(payload, {});
46697
- };
46698
- }, {
46699
- *[Symbol.iterator]() {
46700
- yield this;
46701
- }
46702
- });
46703
46692
 
46704
46693
  // node_modules/zod/v4/core/memoizer.js
46705
46694
  var $ZodCyclicError = class extends Error {
@@ -46711,7 +46700,7 @@ var $ZodCyclicError = class extends Error {
46711
46700
  var STATE = "~memo";
46712
46701
  var NO_ISSUES = [];
46713
46702
  function isRef(value) {
46714
- return value !== null && (typeof value === "object" || typeof value === "function");
46703
+ return value !== null && typeof value === "object";
46715
46704
  }
46716
46705
  function cloneIssues(issues) {
46717
46706
  return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
@@ -46760,9 +46749,6 @@ function isRecursive(inst, stack, resolve2) {
46760
46749
  check2(def.catchall);
46761
46750
  break;
46762
46751
  }
46763
- case "properties":
46764
- merge2(shape(def.shape, false));
46765
- break;
46766
46752
  case "array":
46767
46753
  check2(def.element);
46768
46754
  break;
@@ -47090,6 +47076,7 @@ var error = () => {
47090
47076
  json_string: "\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",
47091
47077
  e164: "\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",
47092
47078
  credit_card: "\u0631\u0642\u0645 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646",
47079
+ currency_code: "\u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",
47093
47080
  iban: "IBAN",
47094
47081
  jwt: "JWT",
47095
47082
  template_literal: "\u0645\u062F\u062E\u0644"
@@ -47201,6 +47188,7 @@ var error2 = () => {
47201
47188
  json_string: "JSON string",
47202
47189
  e164: "E.164 number",
47203
47190
  credit_card: "kredit kart\u0131 n\xF6mr\u0259si",
47191
+ currency_code: "valyuta kodu",
47204
47192
  iban: "IBAN",
47205
47193
  jwt: "JWT",
47206
47194
  template_literal: "input"
@@ -47361,6 +47349,7 @@ var error3 = () => {
47361
47349
  json_string: "JSON \u0440\u0430\u0434\u043E\u043A",
47362
47350
  e164: "\u043D\u0443\u043C\u0430\u0440 E.164",
47363
47351
  credit_card: "\u043D\u0443\u043C\u0430\u0440 \u043A\u0440\u044D\u0434\u044B\u0442\u043D\u0430\u0439 \u043A\u0430\u0440\u0442\u044B",
47352
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
47364
47353
  iban: "IBAN",
47365
47354
  jwt: "JWT",
47366
47355
  template_literal: "\u0443\u0432\u043E\u0434"
@@ -47479,6 +47468,7 @@ var error4 = () => {
47479
47468
  json_string: "JSON \u043D\u0438\u0437",
47480
47469
  e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
47481
47470
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0430",
47471
+ currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
47482
47472
  iban: "IBAN",
47483
47473
  jwt: "JWT",
47484
47474
  template_literal: "\u0432\u0445\u043E\u0434"
@@ -47604,6 +47594,7 @@ var error5 = () => {
47604
47594
  json_string: "JSON \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",
47605
47595
  e164: "E.164 \u09A8\u09AE\u09CD\u09AC\u09B0",
47606
47596
  credit_card: "\u0995\u09CD\u09B0\u09C7\u09A1\u09BF\u099F \u0995\u09BE\u09B0\u09CD\u09A1 \u09A8\u09AE\u09CD\u09AC\u09B0",
47597
+ currency_code: "\u09AE\u09C1\u09A6\u09CD\u09B0\u09BE \u0995\u09CB\u09A1",
47607
47598
  iban: "IBAN",
47608
47599
  jwt: "JWT",
47609
47600
  template_literal: "\u0987\u09A8\u09AA\u09C1\u099F"
@@ -47717,6 +47708,7 @@ var error6 = () => {
47717
47708
  json_string: "cadena JSON",
47718
47709
  e164: "n\xFAmero E.164",
47719
47710
  credit_card: "n\xFAmero de targeta de cr\xE8dit",
47711
+ currency_code: "codi de moneda",
47720
47712
  iban: "IBAN",
47721
47713
  jwt: "JWT",
47722
47714
  template_literal: "entrada"
@@ -47830,6 +47822,7 @@ var error7 = () => {
47830
47822
  json_string: "\u062F\u06D5\u0642\u06CC JSON",
47831
47823
  e164: "\u0698\u0645\u0627\u0631\u06D5\u06CC E.164",
47832
47824
  credit_card: "\u0698\u0645\u0627\u0631\u06D5\u06CC \u06A9\u0627\u0631\u062A\u06CC \u06A9\u0631\u06CE\u062F\u06CC\u062A",
47825
+ currency_code: "\u06A9\u06C6\u062F\u06CC \u062F\u0631\u0627\u0648",
47833
47826
  iban: "IBAN",
47834
47827
  jwt: "JWT",
47835
47828
  template_literal: "\u062A\u06CE\u06A9\u0631\u062F\u06D5"
@@ -47962,6 +47955,7 @@ var error8 = () => {
47962
47955
  json_string: "\u0159et\u011Bzec ve form\xE1tu JSON",
47963
47956
  e164: "\u010D\xEDslo E.164",
47964
47957
  credit_card: "\u010D\xEDslo kreditn\xED karty",
47958
+ currency_code: "k\xF3d m\u011Bny",
47965
47959
  iban: "IBAN",
47966
47960
  jwt: "JWT",
47967
47961
  template_literal: "vstup"
@@ -48078,6 +48072,7 @@ var error9 = () => {
48078
48072
  json_string: "JSON-streng",
48079
48073
  e164: "E.164-nummer",
48080
48074
  credit_card: "kreditkortnummer",
48075
+ currency_code: "valutakode",
48081
48076
  iban: "IBAN",
48082
48077
  jwt: "JWT",
48083
48078
  template_literal: "input"
@@ -48198,6 +48193,7 @@ var error10 = () => {
48198
48193
  json_string: "JSON-String",
48199
48194
  e164: "E.164-Nummer",
48200
48195
  credit_card: "Kreditkartennummer",
48196
+ currency_code: "W\xE4hrungscode",
48201
48197
  iban: "IBAN",
48202
48198
  jwt: "JWT",
48203
48199
  template_literal: "Eingabe"
@@ -48311,6 +48307,7 @@ var error11 = () => {
48311
48307
  json_string: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",
48312
48308
  e164: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",
48313
48309
  credit_card: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE\u03C2 \u03BA\u03AC\u03C1\u03C4\u03B1\u03C2",
48310
+ currency_code: "\u03BA\u03C9\u03B4\u03B9\u03BA\u03CC\u03C2 \u03BD\u03BF\u03BC\u03AF\u03C3\u03BC\u03B1\u03C4\u03BF\u03C2",
48314
48311
  iban: "IBAN",
48315
48312
  jwt: "JWT",
48316
48313
  template_literal: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"
@@ -48422,6 +48419,7 @@ var error12 = () => {
48422
48419
  base64url: "base64url-encoded string",
48423
48420
  json_string: "JSON string",
48424
48421
  e164: "E.164 number",
48422
+ currency_code: "currency code",
48425
48423
  credit_card: "credit card number",
48426
48424
  iban: "IBAN",
48427
48425
  jwt: "JWT",
@@ -48547,6 +48545,7 @@ var error13 = () => {
48547
48545
  json_string: "JSON-karaktraro",
48548
48546
  e164: "E.164-nombro",
48549
48547
  credit_card: "kreditkarta numero",
48548
+ currency_code: "valuta kodo",
48550
48549
  iban: "IBAN",
48551
48550
  jwt: "JWT",
48552
48551
  template_literal: "enigo"
@@ -48660,6 +48659,7 @@ var error14 = () => {
48660
48659
  json_string: "cadena JSON",
48661
48660
  e164: "n\xFAmero E.164",
48662
48661
  credit_card: "n\xFAmero de tarjeta de cr\xE9dito",
48662
+ currency_code: "c\xF3digo de moneda",
48663
48663
  iban: "IBAN",
48664
48664
  jwt: "JWT",
48665
48665
  template_literal: "entrada"
@@ -48797,6 +48797,7 @@ var error15 = () => {
48797
48797
  json_string: "JSON \u0631\u0634\u062A\u0647",
48798
48798
  e164: "E.164 \u0639\u062F\u062F",
48799
48799
  credit_card: "\u0634\u0645\u0627\u0631\u0647 \u06A9\u0627\u0631\u062A \u0627\u0639\u062A\u0628\u0627\u0631\u06CC",
48800
+ currency_code: "\u06A9\u062F \u0627\u0631\u0632",
48800
48801
  iban: "IBAN",
48801
48802
  jwt: "JWT",
48802
48803
  template_literal: "\u0648\u0631\u0648\u062F\u06CC"
@@ -48920,6 +48921,7 @@ var error16 = () => {
48920
48921
  json_string: "JSON-merkkijono",
48921
48922
  e164: "E.164-luku",
48922
48923
  credit_card: "luottokortin numero",
48924
+ currency_code: "valuuttakoodi",
48923
48925
  iban: "IBAN",
48924
48926
  jwt: "JWT",
48925
48927
  template_literal: "templaattimerkkijono"
@@ -49032,6 +49034,7 @@ var error17 = () => {
49032
49034
  json_string: "cha\xEEne de caract\xE8res JSON",
49033
49035
  e164: "num\xE9ro au format E.164",
49034
49036
  credit_card: "num\xE9ro de carte de cr\xE9dit",
49037
+ currency_code: "code de devise",
49035
49038
  iban: "IBAN",
49036
49039
  jwt: "JWT",
49037
49040
  template_literal: "entr\xE9e"
@@ -49162,6 +49165,7 @@ var error18 = () => {
49162
49165
  json_string: "cha\xEEne JSON",
49163
49166
  e164: "num\xE9ro E.164",
49164
49167
  credit_card: "num\xE9ro de carte de cr\xE9dit",
49168
+ currency_code: "code de devise",
49165
49169
  iban: "IBAN",
49166
49170
  jwt: "JWT",
49167
49171
  template_literal: "entr\xE9e"
@@ -49274,6 +49278,7 @@ var error19 = () => {
49274
49278
  json_string: "JSON \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",
49275
49279
  e164: "E.164 \u0AA8\u0A82\u0AAC\u0AB0",
49276
49280
  credit_card: "\u0A95\u0ACD\u0AB0\u0AC7\u0AA1\u0ABF\u0A9F \u0A95\u0ABE\u0AB0\u0ACD\u0AA1 \u0AA8\u0A82\u0AAC\u0AB0",
49281
+ currency_code: "\u0A9A\u0AB2\u0AA3 \u0A95\u0ACB\u0AA1",
49277
49282
  iban: "IBAN",
49278
49283
  jwt: "JWT",
49279
49284
  template_literal: "\u0A87\u0AA8\u0AAA\u0AC1\u0A9F"
@@ -49423,6 +49428,7 @@ var error20 = () => {
49423
49428
  json_string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON", gender: "f" },
49424
49429
  e164: { label: "\u05DE\u05E1\u05E4\u05E8 E.164", gender: "m" },
49425
49430
  credit_card: { label: "\u05DE\u05E1\u05E4\u05E8 \u05DB\u05E8\u05D8\u05D9\u05E1 \u05D0\u05E9\u05E8\u05D0\u05D9", gender: "m" },
49431
+ currency_code: { label: "\u05E7\u05D5\u05D3 \u05DE\u05D8\u05D1\u05E2", gender: "m" },
49426
49432
  iban: { label: "IBAN", gender: "m" },
49427
49433
  jwt: { label: "JWT", gender: "m" },
49428
49434
  template_literal: { label: "\u05E7\u05DC\u05D8", gender: "m" },
@@ -49588,6 +49594,7 @@ var error21 = () => {
49588
49594
  json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",
49589
49595
  e164: "E.164 \u0938\u0902\u0916\u094D\u092F\u093E",
49590
49596
  credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0938\u0902\u0916\u094D\u092F\u093E",
49597
+ currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
49591
49598
  iban: "IBAN",
49592
49599
  jwt: "JWT",
49593
49600
  template_literal: "\u0907\u0928\u092A\u0941\u091F"
@@ -49698,6 +49705,7 @@ var error22 = () => {
49698
49705
  json_string: "JSON tekst",
49699
49706
  e164: "E.164 broj",
49700
49707
  credit_card: "broj kreditne kartice",
49708
+ currency_code: "kod valute",
49701
49709
  iban: "IBAN",
49702
49710
  jwt: "JWT",
49703
49711
  template_literal: "unos"
@@ -49825,6 +49833,7 @@ var error23 = () => {
49825
49833
  json_string: "JSON string",
49826
49834
  e164: "E.164 sz\xE1m",
49827
49835
  credit_card: "hitelk\xE1rtyasz\xE1m",
49836
+ currency_code: "p\xE9nznemk\xF3d",
49828
49837
  iban: "IBAN",
49829
49838
  jwt: "JWT",
49830
49839
  template_literal: "bemenet"
@@ -49978,6 +49987,7 @@ var error24 = () => {
49978
49987
  json_string: "JSON \u057F\u0578\u0572",
49979
49988
  e164: "E.164 \u0570\u0561\u0574\u0561\u0580",
49980
49989
  credit_card: "\u056F\u0580\u0565\u0564\u056B\u057F \u0584\u0561\u0580\u057F\u056B \u0570\u0561\u0574\u0561\u0580",
49990
+ currency_code: "\u0561\u0580\u056A\u0578\u0582\u0575\u0569\u056B \u056F\u0578\u0564",
49981
49991
  iban: "IBAN",
49982
49992
  jwt: "JWT",
49983
49993
  template_literal: "\u0574\u0578\u0582\u057F\u0584"
@@ -50096,6 +50106,7 @@ var error25 = () => {
50096
50106
  json_string: "string JSON",
50097
50107
  e164: "angka E.164",
50098
50108
  credit_card: "nomor kartu kredit",
50109
+ currency_code: "kode mata uang",
50099
50110
  iban: "IBAN",
50100
50111
  jwt: "JWT",
50101
50112
  template_literal: "input"
@@ -50207,6 +50218,7 @@ var error26 = () => {
50207
50218
  json_string: "JSON strengur",
50208
50219
  e164: "E.164 t\xF6lugildi",
50209
50220
  credit_card: "kreditkortan\xFAmer",
50221
+ currency_code: "gjaldmi\xF0ilsk\xF3\xF0i",
50210
50222
  iban: "IBAN",
50211
50223
  jwt: "JWT",
50212
50224
  template_literal: "gildi"
@@ -50321,6 +50333,7 @@ var error27 = () => {
50321
50333
  json_string: "stringa JSON",
50322
50334
  e164: "numero E.164",
50323
50335
  credit_card: "numero di carta di credito",
50336
+ currency_code: "codice valuta",
50324
50337
  iban: "IBAN",
50325
50338
  jwt: "JWT",
50326
50339
  template_literal: "input"
@@ -50434,6 +50447,7 @@ var error28 = () => {
50434
50447
  json_string: "JSON\u6587\u5B57\u5217",
50435
50448
  e164: "E.164\u756A\u53F7",
50436
50449
  credit_card: "\u30AF\u30EC\u30B8\u30C3\u30C8\u30AB\u30FC\u30C9\u756A\u53F7",
50450
+ currency_code: "\u901A\u8CA8\u30B3\u30FC\u30C9",
50437
50451
  iban: "IBAN",
50438
50452
  jwt: "JWT",
50439
50453
  template_literal: "\u5165\u529B\u5024"
@@ -50546,6 +50560,7 @@ var error29 = () => {
50546
50560
  json_string: "JSON \u10D5\u10D4\u10DA\u10D8",
50547
50561
  e164: "E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
50548
50562
  credit_card: "\u10E1\u10D0\u10D9\u10E0\u10D4\u10D3\u10D8\u10E2\u10DD \u10D1\u10D0\u10E0\u10D0\u10D7\u10D8\u10E1 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
50563
+ currency_code: "\u10D5\u10D0\u10DA\u10E3\u10E2\u10D8\u10E1 \u10D9\u10DD\u10D3\u10D8",
50549
50564
  iban: "IBAN",
50550
50565
  jwt: "JWT",
50551
50566
  template_literal: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"
@@ -50663,6 +50678,7 @@ var error30 = () => {
50663
50678
  json_string: "\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",
50664
50679
  e164: "\u179B\u17C1\u1781 E.164",
50665
50680
  credit_card: "\u179B\u17C1\u1781\u1794\u17D0\u178E\u17D2\u178E\u17A5\u178E\u1791\u17B6\u1793",
50681
+ currency_code: "\u1780\u17BC\u178A\u179A\u17BC\u1794\u17B7\u1799\u1794\u17D0\u178E\u17D2\u178E",
50666
50682
  iban: "IBAN",
50667
50683
  jwt: "JWT",
50668
50684
  template_literal: "\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"
@@ -50783,6 +50799,7 @@ var error31 = () => {
50783
50799
  json_string: "JSON\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",
50784
50800
  e164: "E.164 \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
50785
50801
  credit_card: "\u0C95\u0CCD\u0CB0\u0CC6\u0CA1\u0CBF\u0C9F\u0CCD \u0C95\u0CBE\u0CB0\u0CCD\u0CA1\u0CCD \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
50802
+ currency_code: "\u0C95\u0CB0\u0CC6\u0CA8\u0CCD\u0CB8\u0CBF \u0C95\u0CCB\u0CA1\u0CCD",
50786
50803
  iban: "IBAN",
50787
50804
  jwt: "JWT",
50788
50805
  template_literal: "\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD"
@@ -50898,6 +50915,7 @@ var error32 = () => {
50898
50915
  json_string: "JSON \uBB38\uC790\uC5F4",
50899
50916
  e164: "E.164 \uBC88\uD638",
50900
50917
  credit_card: "\uC2E0\uC6A9\uCE74\uB4DC \uBC88\uD638",
50918
+ currency_code: "\uD1B5\uD654 \uCF54\uB4DC",
50901
50919
  iban: "IBAN",
50902
50920
  jwt: "JWT",
50903
50921
  template_literal: "\uC785\uB825"
@@ -51096,6 +51114,7 @@ var error33 = () => {
51096
51114
  json_string: "JSON eilut\u0117",
51097
51115
  e164: "E.164 numeris",
51098
51116
  credit_card: "kredito kortel\u0117s numeris",
51117
+ currency_code: "valiutos kodas",
51099
51118
  iban: "IBAN",
51100
51119
  jwt: "JWT",
51101
51120
  template_literal: "\u012Fvestis"
@@ -51221,6 +51240,7 @@ var error34 = () => {
51221
51240
  json_string: "JSON \u043D\u0438\u0437\u0430",
51222
51241
  e164: "E.164 \u0431\u0440\u043E\u0458",
51223
51242
  credit_card: "\u0431\u0440\u043E\u0458 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u0447\u043A\u0430",
51243
+ currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
51224
51244
  iban: "IBAN",
51225
51245
  jwt: "JWT",
51226
51246
  template_literal: "\u0432\u043D\u0435\u0441"
@@ -51335,6 +51355,7 @@ var error35 = () => {
51335
51355
  json_string: "string JSON",
51336
51356
  e164: "nombor E.164",
51337
51357
  credit_card: "nombor kad kredit",
51358
+ currency_code: "kod mata wang",
51338
51359
  iban: "IBAN",
51339
51360
  jwt: "JWT",
51340
51361
  template_literal: "input"
@@ -51447,6 +51468,7 @@ var error36 = () => {
51447
51468
  json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0919",
51448
51469
  e164: "E.164 \u0928\u092E\u094D\u092C\u0930",
51449
51470
  credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0928\u092E\u094D\u092C\u0930",
51471
+ currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
51450
51472
  iban: "IBAN",
51451
51473
  jwt: "JWT",
51452
51474
  template_literal: "\u0907\u0928\u092A\u0941\u091F"
@@ -51558,6 +51580,7 @@ var error37 = () => {
51558
51580
  json_string: "JSON string",
51559
51581
  e164: "E.164-nummer",
51560
51582
  credit_card: "creditcardnummer",
51583
+ currency_code: "valutacode",
51561
51584
  iban: "IBAN",
51562
51585
  jwt: "JWT",
51563
51586
  template_literal: "invoer"
@@ -51673,6 +51696,7 @@ var error38 = () => {
51673
51696
  json_string: "JSON-streng",
51674
51697
  e164: "E.164-nummer",
51675
51698
  credit_card: "kredittkortnummer",
51699
+ currency_code: "valutakode",
51676
51700
  iban: "IBAN",
51677
51701
  jwt: "JWT",
51678
51702
  template_literal: "input"
@@ -51786,6 +51810,7 @@ var error39 = () => {
51786
51810
  json_string: "JSON-streng",
51787
51811
  e164: "E.164-nummer",
51788
51812
  credit_card: "kredittkortnummer",
51813
+ currency_code: "valutakode",
51789
51814
  iban: "IBAN",
51790
51815
  jwt: "JWT",
51791
51816
  template_literal: "input"
@@ -51899,6 +51924,7 @@ var error40 = () => {
51899
51924
  json_string: "JSON metin",
51900
51925
  e164: "E.164 say\u0131s\u0131",
51901
51926
  credit_card: "i'tib\xE2r kart\u0131 numaras\u0131",
51927
+ currency_code: "para birimi kodu",
51902
51928
  iban: "IBAN",
51903
51929
  jwt: "JWT",
51904
51930
  template_literal: "giren"
@@ -52013,6 +52039,7 @@ var error41 = () => {
52013
52039
  json_string: "JSON \u0645\u062A\u0646",
52014
52040
  e164: "\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",
52015
52041
  credit_card: "\u062F \u06A9\u0631\u06CC\u0689\u06CC\u067C \u06A9\u0627\u0631\u062A \u0634\u0645\u06CC\u0631\u0647",
52042
+ currency_code: "\u062F \u0627\u0633\u0639\u0627\u0631\u0648 \u06A9\u0648\u0689",
52016
52043
  iban: "IBAN",
52017
52044
  jwt: "JWT",
52018
52045
  template_literal: "\u0648\u0631\u0648\u062F\u064A"
@@ -52132,6 +52159,7 @@ var error42 = () => {
52132
52159
  json_string: "ci\u0105g znak\xF3w w formacie JSON",
52133
52160
  e164: "liczba E.164",
52134
52161
  credit_card: "numer karty kredytowej",
52162
+ currency_code: "kod waluty",
52135
52163
  iban: "IBAN",
52136
52164
  jwt: "JWT",
52137
52165
  template_literal: "wej\u015Bcie"
@@ -52246,6 +52274,7 @@ var error43 = () => {
52246
52274
  json_string: "o texto JSON",
52247
52275
  e164: "o n\xFAmero E.164",
52248
52276
  credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
52277
+ currency_code: "o c\xF3digo de moeda",
52249
52278
  iban: "o IBAN",
52250
52279
  jwt: "o JWT",
52251
52280
  template_literal: "a entrada"
@@ -52389,6 +52418,7 @@ var error44 = () => {
52389
52418
  json_string: "o texto JSON",
52390
52419
  e164: "o n\xFAmero E.164",
52391
52420
  credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
52421
+ currency_code: "o c\xF3digo de moeda",
52392
52422
  iban: "o IBAN",
52393
52423
  jwt: "o JWT",
52394
52424
  template_literal: "a entrada"
@@ -52533,6 +52563,7 @@ var error45 = () => {
52533
52563
  json_string: "\u0219ir JSON",
52534
52564
  e164: "num\u0103r E.164",
52535
52565
  credit_card: "num\u0103r de card de credit",
52566
+ currency_code: "cod valutar",
52536
52567
  iban: "IBAN",
52537
52568
  jwt: "JWT",
52538
52569
  template_literal: "intrare"
@@ -52705,6 +52736,7 @@ var error46 = () => {
52705
52736
  json_string: "JSON \u0441\u0442\u0440\u043E\u043A\u0430",
52706
52737
  e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
52707
52738
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0439 \u043A\u0430\u0440\u0442\u044B",
52739
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
52708
52740
  iban: "IBAN",
52709
52741
  jwt: "JWT",
52710
52742
  template_literal: "\u0432\u0432\u043E\u0434"
@@ -52823,6 +52855,7 @@ var error47 = () => {
52823
52855
  json_string: "re\u0165azec vo form\xE1te JSON",
52824
52856
  e164: "\u010D\xEDslo E.164",
52825
52857
  credit_card: "\u010D\xEDslo kreditnej karty",
52858
+ currency_code: "k\xF3d meny",
52826
52859
  iban: "IBAN",
52827
52860
  jwt: "JWT",
52828
52861
  template_literal: "vstup"
@@ -52939,6 +52972,7 @@ var error48 = () => {
52939
52972
  json_string: "JSON niz",
52940
52973
  e164: "E.164 \u0161tevilka",
52941
52974
  credit_card: "\u0161tevilka kreditne kartice",
52975
+ currency_code: "koda valute",
52942
52976
  iban: "IBAN",
52943
52977
  jwt: "JWT",
52944
52978
  template_literal: "vnos"
@@ -53053,6 +53087,7 @@ var error49 = () => {
53053
53087
  json_string: "JSON-str\xE4ng",
53054
53088
  e164: "E.164-nummer",
53055
53089
  credit_card: "kreditkortsnummer",
53090
+ currency_code: "valutakod",
53056
53091
  iban: "IBAN",
53057
53092
  jwt: "JWT",
53058
53093
  template_literal: "mall-literal"
@@ -53168,6 +53203,7 @@ var error50 = () => {
53168
53203
  json_string: "JSON \u0B9A\u0BB0\u0BAE\u0BCD",
53169
53204
  e164: "E.164 \u0B8E\u0BA3\u0BCD",
53170
53205
  credit_card: "\u0B95\u0B9F\u0BA9\u0BCD \u0B85\u0B9F\u0BCD\u0B9F\u0BC8 \u0B8E\u0BA3\u0BCD",
53206
+ currency_code: "\u0BA8\u0BBE\u0BA3\u0BAF\u0B95\u0BCD \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BC1",
53171
53207
  iban: "IBAN",
53172
53208
  jwt: "JWT",
53173
53209
  template_literal: "input"
@@ -53283,6 +53319,7 @@ var error51 = () => {
53283
53319
  json_string: "\u0441\u0430\u0442\u0440\u0438 JSON",
53284
53320
  e164: "\u0440\u0430\u049B\u0430\u043C\u0438 E.164",
53285
53321
  credit_card: "\u0440\u0430\u049B\u0430\u043C\u0438 \u043A\u043E\u0440\u0442\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u04E3",
53322
+ currency_code: "\u0440\u0430\u043C\u0437\u0438 \u0430\u0441\u044A\u043E\u0440",
53286
53323
  iban: "IBAN",
53287
53324
  jwt: "JWT",
53288
53325
  template_literal: "\u0432\u0443\u0440\u0443\u0434"
@@ -53399,6 +53436,7 @@ var error52 = () => {
53399
53436
  json_string: "\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",
53400
53437
  e164: "\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",
53401
53438
  credit_card: "\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15",
53439
+ currency_code: "\u0E23\u0E2B\u0E31\u0E2A\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19",
53402
53440
  iban: "IBAN",
53403
53441
  jwt: "\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",
53404
53442
  template_literal: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"
@@ -53514,6 +53552,7 @@ var error53 = () => {
53514
53552
  json_string: "JSON setiri",
53515
53553
  e164: "E.164 nomeri",
53516
53554
  credit_card: "kredit kartyny\u0148 nomeri",
53555
+ currency_code: "wal\xFDuta kody",
53517
53556
  iban: "IBAN",
53518
53557
  jwt: "JWT",
53519
53558
  template_literal: "\u015Fablon"
@@ -53621,6 +53660,7 @@ var error54 = () => {
53621
53660
  json_string: "JSON dizesi",
53622
53661
  e164: "E.164 say\u0131s\u0131",
53623
53662
  credit_card: "kredi kart\u0131 numaras\u0131",
53663
+ currency_code: "para birimi kodu",
53624
53664
  iban: "IBAN",
53625
53665
  jwt: "JWT",
53626
53666
  template_literal: "\u015Eablon dizesi"
@@ -53731,6 +53771,7 @@ var error55 = () => {
53731
53771
  json_string: "\u0440\u044F\u0434\u043E\u043A JSON",
53732
53772
  e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
53733
53773
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0457 \u043A\u0430\u0440\u0442\u043A\u0438",
53774
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u0438",
53734
53775
  iban: "IBAN",
53735
53776
  jwt: "JWT",
53736
53777
  template_literal: "\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"
@@ -53849,6 +53890,7 @@ var error56 = () => {
53849
53890
  json_string: "\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",
53850
53891
  e164: "\u0627\u06CC 164 \u0646\u0645\u0628\u0631",
53851
53892
  credit_card: "\u06A9\u0631\u06CC\u0688\u0679 \u06A9\u0627\u0631\u0688 \u0646\u0645\u0628\u0631",
53893
+ currency_code: "\u06A9\u0631\u0646\u0633\u06CC \u06A9\u0648\u0688",
53852
53894
  iban: "IBAN",
53853
53895
  jwt: "\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",
53854
53896
  template_literal: "\u0627\u0646 \u067E\u0679"
@@ -53964,6 +54006,7 @@ var error57 = () => {
53964
54006
  json_string: "JSON satr",
53965
54007
  e164: "E.164 raqam",
53966
54008
  credit_card: "kredit karta raqami",
54009
+ currency_code: "valyuta kodi",
53967
54010
  iban: "IBAN",
53968
54011
  jwt: "JWT",
53969
54012
  template_literal: "kirish"
@@ -54077,6 +54120,7 @@ var error58 = () => {
54077
54120
  json_string: "chu\u1ED7i JSON",
54078
54121
  e164: "s\u1ED1 E.164",
54079
54122
  credit_card: "s\u1ED1 th\u1EBB t\xEDn d\u1EE5ng",
54123
+ currency_code: "m\xE3 ti\u1EC1n t\u1EC7",
54080
54124
  iban: "IBAN",
54081
54125
  jwt: "JWT",
54082
54126
  template_literal: "\u0111\u1EA7u v\xE0o"
@@ -54190,6 +54234,7 @@ var error59 = () => {
54190
54234
  json_string: "JSON\u5B57\u7B26\u4E32",
54191
54235
  e164: "E.164\u53F7\u7801",
54192
54236
  credit_card: "\u4FE1\u7528\u5361\u53F7",
54237
+ currency_code: "\u8D27\u5E01\u4EE3\u7801",
54193
54238
  iban: "IBAN",
54194
54239
  jwt: "JWT",
54195
54240
  template_literal: "\u8F93\u5165"
@@ -54304,6 +54349,7 @@ var error60 = () => {
54304
54349
  json_string: "JSON \u5B57\u4E32",
54305
54350
  e164: "E.164 \u6578\u503C",
54306
54351
  credit_card: "\u4FE1\u7528\u5361\u865F",
54352
+ currency_code: "\u8CA8\u5E63\u4EE3\u78BC",
54307
54353
  iban: "IBAN",
54308
54354
  jwt: "JWT",
54309
54355
  template_literal: "\u8F38\u5165"
@@ -54416,6 +54462,7 @@ var error61 = () => {
54416
54462
  json_string: "\u1ECD\u0300r\u1ECD\u0300 JSON",
54417
54463
  e164: "n\u1ECD\u0301mb\xE0 E.164",
54418
54464
  credit_card: "n\u1ECDmba kaadi gbese",
54465
+ currency_code: "koodu ow\xF3",
54419
54466
  iban: "IBAN",
54420
54467
  jwt: "JWT",
54421
54468
  template_literal: "\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"
@@ -54794,7 +54841,7 @@ function generateChecks(doc, ctx, schema, accessor) {
54794
54841
  generatePropertyCheck(doc, ctx, def, currentAccessor);
54795
54842
  break;
54796
54843
  case "properties":
54797
- generatePropertiesChecks(doc, ctx, def, currentAccessor, false);
54844
+ generatePropertiesChecks(doc, ctx, def, currentAccessor);
54798
54845
  break;
54799
54846
  case "overwrite": {
54800
54847
  const newAccessor = newVar(ctx);
@@ -54904,11 +54951,11 @@ function generateMimeTypeCheck(doc, ctx, def, accessor) {
54904
54951
  doc.write(`if (!${mimeSet}.has(${accessor}.type)) return INVALID;`);
54905
54952
  }
54906
54953
  }
54907
- function generatePropertiesChecks(doc, ctx, def, accessor, schemaRole) {
54954
+ function generatePropertiesChecks(doc, ctx, def, accessor) {
54908
54955
  if (def.when) {
54909
54956
  throw new ZodCompileUnsupportedError(`check with a custom "when" condition`);
54910
54957
  }
54911
- doc.write(schemaRole ? `if (${accessor} === null || (typeof ${accessor} !== "object" && typeof ${accessor} !== "function")) return INVALID;` : `if (${accessor} == null) return INVALID;`);
54958
+ doc.write(`if (${accessor} == null) return INVALID;`);
54912
54959
  const shape = def.shape;
54913
54960
  for (const key of Reflect.ownKeys(shape)) {
54914
54961
  const keyExpr = typeof key === "symbol" ? addConstant(ctx, key) : esc(key);
@@ -54998,7 +55045,7 @@ var PATTERN_IS_COMPLETE = /* @__PURE__ */ new Set([
54998
55045
  "uuid",
54999
55046
  "xid"
55000
55047
  ]);
55001
- function generateStringFormatCheck(doc, ctx, def, accessor) {
55048
+ function generateStringFormatCheck(doc, ctx, def, accessor, needsValue = true) {
55002
55049
  const fmt = def.format;
55003
55050
  if (fmt === "base64") {
55004
55051
  const validator = addConstant(ctx, isValidBase64);
@@ -55038,7 +55085,7 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
55038
55085
  }
55039
55086
  const formatDef = def;
55040
55087
  if (fmt === "url" || fmt === "httpurl" || formatDef.normalize || formatDef.hostname !== void 0 || formatDef.protocol !== void 0) {
55041
- const parseConst = addConstant(ctx, parseURLObject);
55088
+ const parseConst = addConstant(ctx, validateURL);
55042
55089
  const defConst = addConstant(ctx, def);
55043
55090
  const trimVar = newVar(ctx);
55044
55091
  const urlVar = newVar(ctx);
@@ -55053,6 +55100,8 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
55053
55100
  const protocolConst = addConstant(ctx, urlProtocolOk);
55054
55101
  doc.write(`if (!${protocolConst}(${urlVar}, ${defConst}.protocol)) return INVALID;`);
55055
55102
  }
55103
+ if (!needsValue)
55104
+ return null;
55056
55105
  const outputVar = newVar(ctx);
55057
55106
  const outputExpr = formatDef.normalize ? `${urlVar}.href` : `${addConstant(ctx, stripTabAndNewline)}(${trimVar})`;
55058
55107
  doc.write(`const ${outputVar} = ${outputExpr};`);
@@ -55112,7 +55161,7 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
55112
55161
  let typeAccessor;
55113
55162
  switch (type) {
55114
55163
  case "string":
55115
- typeAccessor = generateStringCheck(doc, ctx, schema, accessor);
55164
+ typeAccessor = generateStringCheck(doc, ctx, schema, accessor, buildsValue);
55116
55165
  break;
55117
55166
  case "number":
55118
55167
  typeAccessor = generateNumberCheck(doc, schema, accessor);
@@ -55218,10 +55267,6 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
55218
55267
  case "custom":
55219
55268
  typeAccessor = generateCustomCheck(doc, ctx, schema, accessor);
55220
55269
  break;
55221
- case "properties":
55222
- generatePropertiesChecks(doc, ctx, schema._zod.def, accessor, true);
55223
- typeAccessor = accessor;
55224
- break;
55225
55270
  case "transform":
55226
55271
  typeAccessor = generateTransformCheck(doc, ctx, schema, accessor);
55227
55272
  break;
@@ -55237,12 +55282,12 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
55237
55282
  return null;
55238
55283
  return generateChecks(doc, ctx, schema, typeAccessor);
55239
55284
  }
55240
- function generateStringCheck(doc, ctx, schema, accessor) {
55285
+ function generateStringCheck(doc, ctx, schema, accessor, needsValue = true) {
55241
55286
  doc.write(`if (typeof ${accessor} !== "string") return INVALID;`);
55242
55287
  const def = schema._zod.def;
55243
55288
  if (def.format === void 0)
55244
55289
  return accessor;
55245
- return generateStringFormatCheck(doc, ctx, def, accessor);
55290
+ return generateStringFormatCheck(doc, ctx, def, accessor, needsValue);
55246
55291
  }
55247
55292
  function generateNumberCheck(doc, schema, accessor) {
55248
55293
  doc.write(`if (typeof ${accessor} !== "number" || !Number.isFinite(${accessor})) return INVALID;`);
@@ -56142,20 +56187,18 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
56142
56187
  }
56143
56188
 
56144
56189
  // node_modules/zod/v4/core/api.js
56190
+ function snapshotChecks(def) {
56191
+ if (def.checks)
56192
+ def.checks = [...def.checks];
56193
+ return def;
56194
+ }
56145
56195
  // @__NO_SIDE_EFFECTS__
56146
56196
  function _string(Class2, params) {
56147
- return new Class2({
56148
- type: "string",
56149
- ...normalizeParams(params)
56150
- });
56197
+ return new Class2(snapshotChecks({ type: "string", ...normalizeParams(params) }));
56151
56198
  }
56152
56199
  // @__NO_SIDE_EFFECTS__
56153
56200
  function _coercedString(Class2, params) {
56154
- return new Class2({
56155
- type: "string",
56156
- coerce: true,
56157
- ...normalizeParams(params)
56158
- });
56201
+ return new Class2(snapshotChecks({ type: "string", coerce: true, ...normalizeParams(params) }));
56159
56202
  }
56160
56203
  // @__NO_SIDE_EFFECTS__
56161
56204
  function _email(Class2, params) {
@@ -56459,20 +56502,11 @@ function _isoDuration(Class2, params) {
56459
56502
  }
56460
56503
  // @__NO_SIDE_EFFECTS__
56461
56504
  function _number(Class2, params) {
56462
- return new Class2({
56463
- type: "number",
56464
- checks: [],
56465
- ...normalizeParams(params)
56466
- });
56505
+ return new Class2(snapshotChecks({ type: "number", checks: [], ...normalizeParams(params) }));
56467
56506
  }
56468
56507
  // @__NO_SIDE_EFFECTS__
56469
56508
  function _coercedNumber(Class2, params) {
56470
- return new Class2({
56471
- type: "number",
56472
- coerce: true,
56473
- checks: [],
56474
- ...normalizeParams(params)
56475
- });
56509
+ return new Class2(snapshotChecks({ type: "number", coerce: true, checks: [], ...normalizeParams(params) }));
56476
56510
  }
56477
56511
  // @__NO_SIDE_EFFECTS__
56478
56512
  function _int(Class2, params) {
@@ -56814,9 +56848,8 @@ function _property(property, schema, params) {
56814
56848
  });
56815
56849
  }
56816
56850
  // @__NO_SIDE_EFFECTS__
56817
- function _properties(Class2, shape, params) {
56818
- return new Class2({
56819
- type: "properties",
56851
+ function _properties(shape, params) {
56852
+ return new $ZodCheckProperties({
56820
56853
  check: "properties",
56821
56854
  shape,
56822
56855
  ...normalizeParams(params)
@@ -57451,11 +57484,11 @@ function foldObjects(members2) {
57451
57484
  }
57452
57485
  objects.push(member);
57453
57486
  }
57454
- const properties2 = {};
57487
+ const properties = {};
57455
57488
  const required2 = /* @__PURE__ */ new Set();
57456
57489
  for (const object4 of objects) {
57457
57490
  for (const key in object4.properties) {
57458
- if (Object.prototype.hasOwnProperty.call(properties2, key))
57491
+ if (Object.prototype.hasOwnProperty.call(properties, key))
57459
57492
  continue;
57460
57493
  const parts = [];
57461
57494
  for (const other of objects) {
@@ -57466,12 +57499,12 @@ function foldObjects(members2) {
57466
57499
  parts.push(part);
57467
57500
  }
57468
57501
  const merged = parts.length === 1 ? parts[0] : foldObjects(parts) ?? { allOf: parts };
57469
- assignProp(properties2, key, merged);
57502
+ assignProp(properties, key, merged);
57470
57503
  }
57471
57504
  for (const key of object4.required ?? [])
57472
57505
  required2.add(key);
57473
57506
  }
57474
- const folded = { type: "object", properties: properties2 };
57507
+ const folded = { type: "object", properties };
57475
57508
  if (required2.size)
57476
57509
  folded.required = [...required2];
57477
57510
  if (objects.every((object4) => object4.additionalProperties === false)) {
@@ -58093,17 +58126,15 @@ var objectProcessor = (schema, ctx, _json, params) => {
58093
58126
  path: [...params.path, "properties", key]
58094
58127
  }));
58095
58128
  }
58096
- const allKeys = new Set(Object.keys(shape));
58097
- const requiredKeys = new Set([...allKeys].filter((key) => {
58129
+ const requiredKeys = [];
58130
+ for (const key of Object.keys(shape)) {
58098
58131
  const field = def.shape[key];
58099
- if (ctx.io === "input") {
58100
- return inputOptin(field) === void 0;
58101
- } else {
58102
- return field._zod.optout === void 0;
58132
+ if (ctx.io === "input" ? inputOptin(field) === void 0 : field._zod.optout === void 0) {
58133
+ requiredKeys.push(key);
58103
58134
  }
58104
- }));
58105
- if (requiredKeys.size > 0) {
58106
- json2.required = Array.from(requiredKeys);
58135
+ }
58136
+ if (requiredKeys.length > 0) {
58137
+ json2.required = requiredKeys;
58107
58138
  }
58108
58139
  if (def.catchall?._zod.def.type === "never") {
58109
58140
  json2.additionalProperties = false;
@@ -58117,31 +58148,6 @@ var objectProcessor = (schema, ctx, _json, params) => {
58117
58148
  });
58118
58149
  }
58119
58150
  };
58120
- var propertiesProcessor = (schema, ctx, _json, params) => {
58121
- const json2 = _json;
58122
- const def = schema._zod.def;
58123
- if (Object.getOwnPropertySymbols(def.shape).length && handleUnrepresentable(schema, ctx, json2, params, "Symbol keys cannot be represented in JSON Schema")) {
58124
- return;
58125
- }
58126
- if (ctx.io === "output") {
58127
- for (const key in def.shape) {
58128
- if (isTransforming(def.shape[key]) && handleUnrepresentable(schema, ctx, json2, params, `z.properties() returns its input, so the output of a transforming schema at key "${key}" cannot be represented in JSON Schema`)) {
58129
- return;
58130
- }
58131
- }
58132
- }
58133
- json2.type = "object";
58134
- json2.properties = {};
58135
- for (const key in def.shape) {
58136
- assignProp(json2.properties, key, processSchema(def.shape[key], ctx, {
58137
- ...params,
58138
- path: [...params.path, "properties", key]
58139
- }));
58140
- }
58141
- const required2 = Object.keys(def.shape).filter((key) => inputOptin(def.shape[key]) === void 0);
58142
- if (required2.length > 0)
58143
- json2.required = required2;
58144
- };
58145
58151
  var unionProcessor = (schema, ctx, json2, params) => {
58146
58152
  const def = schema._zod.def;
58147
58153
  const isExclusive = def.inclusive === false;
@@ -58461,7 +58467,6 @@ var allProcessors = {
58461
58467
  file: fileProcessor,
58462
58468
  success: successProcessor,
58463
58469
  custom: customProcessor,
58464
- properties: propertiesProcessor,
58465
58470
  function: functionProcessor,
58466
58471
  transform: transformProcessor,
58467
58472
  map: mapProcessor,
@@ -58658,7 +58663,6 @@ __export(schemas_exports3, {
58658
58663
  ZodPrefault: () => ZodPrefault,
58659
58664
  ZodPreprocess: () => ZodPreprocess,
58660
58665
  ZodPromise: () => ZodPromise,
58661
- ZodProperties: () => ZodProperties,
58662
58666
  ZodReadonly: () => ZodReadonly,
58663
58667
  ZodRecord: () => ZodRecord,
58664
58668
  ZodSet: () => ZodSet,
@@ -58696,6 +58700,7 @@ __export(schemas_exports3, {
58696
58700
  creditCard: () => creditCard2,
58697
58701
  cuid: () => cuid3,
58698
58702
  cuid2: () => cuid22,
58703
+ currencyCode: () => currencyCode2,
58699
58704
  custom: () => custom,
58700
58705
  date: () => date2,
58701
58706
  describe: () => describe2,
@@ -58750,7 +58755,6 @@ __export(schemas_exports3, {
58750
58755
  prefault: () => prefault,
58751
58756
  preprocess: () => preprocess3,
58752
58757
  promise: () => promise,
58753
- properties: () => properties,
58754
58758
  readonly: () => readonly,
58755
58759
  record: () => record3,
58756
58760
  refine: () => refine,
@@ -58804,6 +58808,7 @@ __export(checks_exports2, {
58804
58808
  normalize: () => _normalize,
58805
58809
  overwrite: () => _overwrite,
58806
58810
  positive: () => _positive,
58811
+ properties: () => _properties,
58807
58812
  property: () => _property,
58808
58813
  regex: () => _regex,
58809
58814
  size: () => _size,
@@ -59263,8 +59268,8 @@ function url3(params) {
59263
59268
  }
59264
59269
  function httpUrl(params) {
59265
59270
  return _url(ZodURL, {
59266
- protocol: regexes_exports.httpProtocol,
59267
- hostname: regexes_exports.domain,
59271
+ protocol: httpProtocol,
59272
+ hostname: domain,
59268
59273
  ...util_exports.normalizeParams(params)
59269
59274
  });
59270
59275
  }
@@ -59402,10 +59407,13 @@ function stringFormat(format, fnOrRegex, _params = {}) {
59402
59407
  return _stringFormat(ZodCustomStringFormat, format, fnOrRegex, _params);
59403
59408
  }
59404
59409
  function hostname2(_params) {
59405
- return _stringFormat(ZodCustomStringFormat, "hostname", regexes_exports.hostname, _params);
59410
+ return _stringFormat(ZodCustomStringFormat, "hostname", hostname, _params);
59406
59411
  }
59407
59412
  function hex2(_params) {
59408
- return _stringFormat(ZodCustomStringFormat, "hex", regexes_exports.hex, _params);
59413
+ return _stringFormat(ZodCustomStringFormat, "hex", hex, _params);
59414
+ }
59415
+ function currencyCode2(_params) {
59416
+ return _stringFormat(ZodCustomStringFormat, "currency_code", currencyCode, _params);
59409
59417
  }
59410
59418
  function hash(alg, params) {
59411
59419
  const enc6 = params?.enc ?? "hex";
@@ -60270,14 +60278,6 @@ var ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
60270
60278
  ZodType.init(inst, def);
60271
60279
  inst._zod.processJSONSchema = (ctx, json2, params) => customProcessor(inst, ctx, json2, params);
60272
60280
  });
60273
- var ZodProperties = /* @__PURE__ */ $constructor("ZodProperties", (inst, def) => {
60274
- _ensureDefaultMemoizer();
60275
- $ZodProperties.init(inst, def);
60276
- ZodType.init(inst, def);
60277
- });
60278
- function properties(shape, params) {
60279
- return _properties(ZodProperties, shape, params);
60280
- }
60281
60281
  function check(fn) {
60282
60282
  const ch = new $ZodCheck({
60283
60283
  check: "custom"
@@ -60301,7 +60301,7 @@ var ZodInstanceOf = /* @__PURE__ */ $constructor("ZodInstanceOf", (inst, def) =>
60301
60301
  ZodCustom.init(inst, def);
60302
60302
  }, {
60303
60303
  properties(shape, params) {
60304
- return this.check(properties(shape, params));
60304
+ return this.check(_properties(shape, params));
60305
60305
  }
60306
60306
  });
60307
60307
  function _instanceof(cls, params = {}) {
@@ -60888,10 +60888,10 @@ function convertBaseSchema(schema, ctx) {
60888
60888
  }
60889
60889
  case "object": {
60890
60890
  const shape = {};
60891
- const properties2 = schema.properties || {};
60891
+ const properties = schema.properties || {};
60892
60892
  const requiredSet = new Set(schema.required || []);
60893
60893
  const additionalSchema = typeof schema.additionalProperties === "object" ? convertSchema(schema.additionalProperties, ctx) : void 0;
60894
- for (const [key, propSchema] of Object.entries(properties2)) {
60894
+ for (const [key, propSchema] of Object.entries(properties)) {
60895
60895
  const propZodSchema = convertSchema(propSchema, ctx);
60896
60896
  assignProp(shape, key, requiredSet.has(key) ? propZodSchema : propZodSchema.optional());
60897
60897
  }
@@ -61252,18 +61252,6 @@ function visit(schema, fnOrHandlers) {
61252
61252
  const { _cachedInner, ...rest } = def;
61253
61253
  return clone(s, { ...rest, getter: () => run(original()) });
61254
61254
  }
61255
- case "properties": {
61256
- const oldShape = def.shape;
61257
- let changed = false;
61258
- const newShape = {};
61259
- for (const k of Reflect.ownKeys(oldShape)) {
61260
- const mapped = run(oldShape[k]);
61261
- if (mapped !== oldShape[k])
61262
- changed = true;
61263
- newShape[k] = mapped;
61264
- }
61265
- return changed ? clone(s, { ...def, shape: newShape }) : s;
61266
- }
61267
61255
  // A leaf by choice: `parts` are regex fragments, not data positions.
61268
61256
  case "template_literal":
61269
61257
  // Leaves.
@@ -66899,7 +66887,7 @@ function loadAccount(env = process.env) {
66899
66887
  // package.json
66900
66888
  var package_default = {
66901
66889
  name: "canvas-parent-mcp",
66902
- version: "2.1.0",
66890
+ version: "2.1.1",
66903
66891
  mcpName: "io.github.chrischall/canvas-parent-mcp",
66904
66892
  description: "Canvas LMS (Instructure) MCP server \u2014 student/observer read access with optional file download",
66905
66893
  author: "Claude Code (AI) <https://www.anthropic.com/claude>",
@@ -66950,7 +66938,7 @@ var package_default = {
66950
66938
  "@fetchproxy/bootstrap": "^3.0.1",
66951
66939
  "@fetchproxy/server": "^3.0.1",
66952
66940
  "@modelcontextprotocol/server": "^2.0.0",
66953
- dotenv: "^17.4.2",
66941
+ dotenv: "^18.0.0",
66954
66942
  zod: "^4.6.2"
66955
66943
  },
66956
66944
  devDependencies: {
@@ -68370,7 +68358,7 @@ try {
68370
68358
  }
68371
68359
  await runMcp({
68372
68360
  name: "canvas",
68373
- version: "2.1.0",
68361
+ version: "2.1.1",
68374
68362
  // x-release-please-version
68375
68363
  tools: [
68376
68364
  // Outside the `if (resolved)` on purpose: an unconfigured server must