@gobing-ai/knowledge-kit 0.0.17 → 0.0.19

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.
Files changed (76) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/README.md +74 -0
  3. package/dist/index.js +108 -107
  4. package/package.json +19 -1
  5. package/plugins/generations/content-gen/dist/index.js +42 -94
  6. package/plugins/generations/core-facts-gen/dist/index.js +51 -100
  7. package/plugins/generations/daily-article-gen/dist/index.js +57 -99
  8. package/plugins/generations/daily-article-gen/src/index.ts +12 -4
  9. package/plugins/generations/dailynews-gen/dist/index.js +57 -102
  10. package/plugins/generations/dailynews-gen/src/script-builder.ts +9 -1
  11. package/plugins/generations/episode-plan-gen/dist/index.js +120 -113
  12. package/plugins/generations/episode-plan-gen/src/index.ts +102 -22
  13. package/plugins/generations/image-gen/dist/index.js +63 -115
  14. package/plugins/generations/news-report-gen/dist/index.js +117 -99
  15. package/plugins/generations/news-report-gen/src/index.ts +117 -1
  16. package/plugins/generations/omni-voice-gen/src/omni_voice_gen/pipeline.py +1 -1
  17. package/plugins/generations/omni-voice-gen/src/omni_voice_gen/voicescript.py +8 -0
  18. package/plugins/generations/voice-gen/dist/index.js +161 -120
  19. package/plugins/generations/voice-gen/src/concat.ts +34 -0
  20. package/plugins/generations/voice-gen/src/index.ts +14 -4
  21. package/plugins/generations/voice-gen/src/voicebox-server.ts +91 -0
  22. package/plugins/generations/voice-gen/src/voicescript.ts +8 -0
  23. package/plugins/ingestions/aihot-ingest/dist/index.js +47 -97
  24. package/plugins/ingestions/horizon-ingest/dist/index.js +47 -96
  25. package/plugins/ingestions/karakeep-local/dist/index.js +217 -266
  26. package/plugins/ingestions/last30days-ingest/dist/index.js +42 -91
  27. package/plugins/ingestions/web-search/dist/index.js +68 -117
  28. package/plugins/kk/commands/workflow-run.md +10 -6
  29. package/plugins/kk/plugin.json +1 -1
  30. package/plugins/kk/scripts/kk-workflow-stages.ts +376 -70
  31. package/plugins/kk/skills/publish/SKILL.md +80 -0
  32. package/plugins/kk/workflows/kk-daily-ai-voice.yaml +136 -224
  33. package/plugins/kk/workflows/leftover-publish-fanout-example.yaml +53 -0
  34. package/plugins/publishings/emdash-pub/dist/index.js +42 -91
  35. package/plugins/publishings/infoq-pub/dist/index.js +21994 -0
  36. package/plugins/publishings/infoq-pub/package.json +17 -0
  37. package/plugins/publishings/infoq-pub/plugin.json +7 -0
  38. package/plugins/publishings/infoq-pub/src/index.ts +123 -0
  39. package/plugins/publishings/infoq-pub/tsconfig.json +4 -0
  40. package/plugins/publishings/juejin-pub/dist/index.js +21994 -0
  41. package/plugins/publishings/juejin-pub/package.json +17 -0
  42. package/plugins/publishings/juejin-pub/plugin.json +7 -0
  43. package/plugins/publishings/juejin-pub/src/index.ts +123 -0
  44. package/plugins/publishings/juejin-pub/tsconfig.json +4 -0
  45. package/plugins/publishings/medium-pub/dist/index.js +22041 -0
  46. package/plugins/publishings/medium-pub/package.json +17 -0
  47. package/plugins/publishings/medium-pub/plugin.json +7 -0
  48. package/plugins/publishings/medium-pub/src/index.ts +215 -0
  49. package/plugins/publishings/medium-pub/tsconfig.json +4 -0
  50. package/plugins/publishings/podcast-pub/dist/index.js +183 -123
  51. package/plugins/publishings/podcast-pub/src/index.ts +47 -3
  52. package/plugins/publishings/podcast-pub/src/show-notes.ts +153 -34
  53. package/plugins/publishings/qiita-pub/dist/index.js +42 -91
  54. package/plugins/publishings/substack-pub/dist/index.js +21994 -0
  55. package/plugins/publishings/substack-pub/package.json +17 -0
  56. package/plugins/publishings/substack-pub/plugin.json +7 -0
  57. package/plugins/publishings/substack-pub/src/index.ts +123 -0
  58. package/plugins/publishings/substack-pub/tsconfig.json +4 -0
  59. package/plugins/publishings/surfdash-pub/dist/index.js +172 -103
  60. package/plugins/publishings/surfdash-pub/src/index.ts +32 -2
  61. package/plugins/publishings/wechatmp-pub/dist/index.js +22119 -0
  62. package/plugins/publishings/wechatmp-pub/package.json +17 -0
  63. package/plugins/publishings/wechatmp-pub/plugin.json +7 -0
  64. package/plugins/publishings/wechatmp-pub/src/index.ts +304 -0
  65. package/plugins/publishings/wechatmp-pub/tsconfig.json +4 -0
  66. package/plugins/publishings/x-pub/dist/index.js +22110 -0
  67. package/plugins/publishings/x-pub/package.json +17 -0
  68. package/plugins/publishings/x-pub/plugin.json +7 -0
  69. package/plugins/publishings/x-pub/src/index.ts +222 -0
  70. package/plugins/publishings/x-pub/tsconfig.json +4 -0
  71. package/plugins/publishings/xhs-pub/dist/index.js +21994 -0
  72. package/plugins/publishings/xhs-pub/package.json +17 -0
  73. package/plugins/publishings/xhs-pub/plugin.json +7 -0
  74. package/plugins/publishings/xhs-pub/src/index.ts +123 -0
  75. package/plugins/publishings/xhs-pub/tsconfig.json +4 -0
  76. package/plugins/publishings/zenn-pub/dist/index.js +42 -91
@@ -17,72 +17,6 @@ var __export = (target, all) => {
17
17
  var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
18
18
  var __require = import.meta.require;
19
19
 
20
- // ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.39/node_modules/@gobing-ai/ts-utils/dist/errors.js
21
- var ErrorCode;
22
- var init_errors = __esm(() => {
23
- ErrorCode = {
24
- NotFound: "NOT_FOUND",
25
- Validation: "VALIDATION",
26
- Conflict: "CONFLICT",
27
- Internal: "INTERNAL"
28
- };
29
- });
30
-
31
- // ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.39/node_modules/@gobing-ai/ts-utils/dist/api-response.js
32
- var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
33
- var init_api_response = __esm(() => {
34
- init_errors();
35
- API_ERROR_CODES = {
36
- SUCCESS: 0,
37
- NOT_FOUND: 404,
38
- VALIDATION_ERROR: 422,
39
- BAD_REQUEST: 400,
40
- UNAUTHORIZED: 401,
41
- FORBIDDEN: 403,
42
- CONFLICT: 409,
43
- INTERNAL_ERROR: 500
44
- };
45
- ERROR_CODE_TO_HTTP = {
46
- [ErrorCode.NotFound]: API_ERROR_CODES.NOT_FOUND,
47
- [ErrorCode.Validation]: API_ERROR_CODES.VALIDATION_ERROR,
48
- [ErrorCode.Conflict]: API_ERROR_CODES.CONFLICT,
49
- [ErrorCode.Internal]: API_ERROR_CODES.INTERNAL_ERROR
50
- };
51
- CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
52
- });
53
-
54
- // ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.39/node_modules/@gobing-ai/ts-utils/dist/cursor.js
55
- var init_cursor = () => {};
56
-
57
- // ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.39/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
58
- var init_event_severity = () => {};
59
-
60
- // ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.39/node_modules/@gobing-ai/ts-utils/dist/output.js
61
- function processStream(name) {
62
- const proc = globalThis.process;
63
- const stream = proc?.[name];
64
- if (stream === undefined) {
65
- throw new Error(`No ${name} target available: set one via setDefaultOutputTargets or pass an explicit target`);
66
- }
67
- return stream;
68
- }
69
- function writeLine(message, target) {
70
- target.write(`${message}
71
- `);
72
- }
73
- function echoError(message, target = defaultStderrTarget ?? processStream("stderr")) {
74
- writeLine(message, target);
75
- }
76
- var defaultStderrTarget;
77
-
78
- // ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.39/node_modules/@gobing-ai/ts-utils/dist/index.js
79
- var init_dist = __esm(() => {
80
- init_api_response();
81
- init_cursor();
82
- init_errors();
83
- init_event_severity();
84
- });
85
-
86
20
  // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
87
21
  var require_identity = __commonJS((exports) => {
88
22
  var ALIAS = Symbol.for("yaml.alias");
@@ -2987,15 +2921,15 @@ var require_timestamp = __commonJS((exports) => {
2987
2921
  throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");
2988
2922
  const [, year, month, day, hour, minute, second] = match.map(Number);
2989
2923
  const millisec = match[7] ? Number((match[7] + "00").substr(1, 3)) : 0;
2990
- let date2 = Date.UTC(year, month - 1, day, hour || 0, minute || 0, second || 0, millisec);
2924
+ let date = Date.UTC(year, month - 1, day, hour || 0, minute || 0, second || 0, millisec);
2991
2925
  const tz = match[8];
2992
2926
  if (tz && tz !== "Z") {
2993
2927
  let d = parseSexagesimal(tz, false);
2994
2928
  if (Math.abs(d) < 30)
2995
2929
  d *= 60;
2996
- date2 -= 60000 * d;
2930
+ date -= 60000 * d;
2997
2931
  }
2998
- return new Date(date2);
2932
+ return new Date(date);
2999
2933
  },
3000
2934
  stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
3001
2935
  };
@@ -4855,7 +4789,7 @@ var require_composer = __commonJS((exports) => {
4855
4789
  var node_process = __require("process");
4856
4790
  var directives = require_directives();
4857
4791
  var Document = require_Document();
4858
- var errors2 = require_errors();
4792
+ var errors = require_errors();
4859
4793
  var identity = require_identity();
4860
4794
  var composeDoc = require_compose_doc();
4861
4795
  var resolveEnd = require_resolve_end();
@@ -4906,9 +4840,9 @@ var require_composer = __commonJS((exports) => {
4906
4840
  this.onError = (source, code, message, warning) => {
4907
4841
  const pos = getErrorPos(source);
4908
4842
  if (warning)
4909
- this.warnings.push(new errors2.YAMLWarning(pos, code, message));
4843
+ this.warnings.push(new errors.YAMLWarning(pos, code, message));
4910
4844
  else
4911
- this.errors.push(new errors2.YAMLParseError(pos, code, message));
4845
+ this.errors.push(new errors.YAMLParseError(pos, code, message));
4912
4846
  };
4913
4847
  this.directives = new directives.Directives({ version: options.version || "1.2" });
4914
4848
  this.options = options;
@@ -4994,7 +4928,7 @@ ${cb}` : comment;
4994
4928
  break;
4995
4929
  case "error": {
4996
4930
  const msg = token.source ? `${token.message}: ${JSON.stringify(token.source)}` : token.message;
4997
- const error = new errors2.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg);
4931
+ const error = new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg);
4998
4932
  if (this.atDirectives || !this.doc)
4999
4933
  this.errors.push(error);
5000
4934
  else
@@ -5004,7 +4938,7 @@ ${cb}` : comment;
5004
4938
  case "doc-end": {
5005
4939
  if (!this.doc) {
5006
4940
  const msg = "Unexpected doc-end without preceding document";
5007
- this.errors.push(new errors2.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg));
4941
+ this.errors.push(new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg));
5008
4942
  break;
5009
4943
  }
5010
4944
  this.doc.directives.docEnd = true;
@@ -5019,7 +4953,7 @@ ${end.comment}` : end.comment;
5019
4953
  break;
5020
4954
  }
5021
4955
  default:
5022
- this.errors.push(new errors2.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", `Unsupported token ${token.type}`));
4956
+ this.errors.push(new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", `Unsupported token ${token.type}`));
5023
4957
  }
5024
4958
  }
5025
4959
  *end(forceDoc = false, endOffset = -1) {
@@ -5045,7 +4979,7 @@ ${end.comment}` : end.comment;
5045
4979
  var require_cst_scalar = __commonJS((exports) => {
5046
4980
  var resolveBlockScalar = require_resolve_block_scalar();
5047
4981
  var resolveFlowScalar = require_resolve_flow_scalar();
5048
- var errors2 = require_errors();
4982
+ var errors = require_errors();
5049
4983
  var stringifyString = require_stringifyString();
5050
4984
  function resolveAsScalar(token, strict = true, onError) {
5051
4985
  if (token) {
@@ -5054,7 +4988,7 @@ var require_cst_scalar = __commonJS((exports) => {
5054
4988
  if (onError)
5055
4989
  onError(offset, code, message);
5056
4990
  else
5057
- throw new errors2.YAMLParseError([offset, offset + 1], code, message);
4991
+ throw new errors.YAMLParseError([offset, offset + 1], code, message);
5058
4992
  };
5059
4993
  switch (token.type) {
5060
4994
  case "scalar":
@@ -6934,7 +6868,7 @@ var require_parser = __commonJS((exports) => {
6934
6868
  var require_public_api = __commonJS((exports) => {
6935
6869
  var composer = require_composer();
6936
6870
  var Document = require_Document();
6937
- var errors2 = require_errors();
6871
+ var errors = require_errors();
6938
6872
  var log = require_log();
6939
6873
  var identity = require_identity();
6940
6874
  var lineCounter = require_line_counter();
@@ -6951,8 +6885,8 @@ var require_public_api = __commonJS((exports) => {
6951
6885
  const docs = Array.from(composer$1.compose(parser$1.parse(source)));
6952
6886
  if (prettyErrors && lineCounter2)
6953
6887
  for (const doc of docs) {
6954
- doc.errors.forEach(errors2.prettifyError(source, lineCounter2));
6955
- doc.warnings.forEach(errors2.prettifyError(source, lineCounter2));
6888
+ doc.errors.forEach(errors.prettifyError(source, lineCounter2));
6889
+ doc.warnings.forEach(errors.prettifyError(source, lineCounter2));
6956
6890
  }
6957
6891
  if (docs.length > 0)
6958
6892
  return docs;
@@ -6967,13 +6901,13 @@ var require_public_api = __commonJS((exports) => {
6967
6901
  if (!doc)
6968
6902
  doc = _doc;
6969
6903
  else if (doc.options.logLevel !== "silent") {
6970
- doc.errors.push(new errors2.YAMLParseError(_doc.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
6904
+ doc.errors.push(new errors.YAMLParseError(_doc.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
6971
6905
  break;
6972
6906
  }
6973
6907
  }
6974
6908
  if (prettyErrors && lineCounter2) {
6975
- doc.errors.forEach(errors2.prettifyError(source, lineCounter2));
6976
- doc.warnings.forEach(errors2.prettifyError(source, lineCounter2));
6909
+ doc.errors.forEach(errors.prettifyError(source, lineCounter2));
6910
+ doc.warnings.forEach(errors.prettifyError(source, lineCounter2));
6977
6911
  }
6978
6912
  return doc;
6979
6913
  }
@@ -7025,12 +6959,12 @@ var require_public_api = __commonJS((exports) => {
7025
6959
  });
7026
6960
 
7027
6961
  // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/index.js
7028
- var composer, Document, Schema, errors2, Alias, identity, Pair, Scalar, YAMLMap, YAMLSeq, cst, lexer, lineCounter, parser, publicApi, visit, $Composer, $Document, $Schema, $YAMLError, $YAMLParseError, $YAMLWarning, $Alias, $isAlias, $isCollection, $isDocument, $isMap, $isNode, $isPair, $isScalar, $isSeq, $Pair, $Scalar, $YAMLMap, $YAMLSeq, $Lexer, $LineCounter, $Parser, $parse, $parseAllDocuments, $parseDocument, $stringify, $visit, $visitAsync;
7029
- var init_dist2 = __esm(() => {
6962
+ var composer, Document, Schema, errors, Alias, identity, Pair, Scalar, YAMLMap, YAMLSeq, cst, lexer, lineCounter, parser, publicApi, visit, $Composer, $Document, $Schema, $YAMLError, $YAMLParseError, $YAMLWarning, $Alias, $isAlias, $isCollection, $isDocument, $isMap, $isNode, $isPair, $isScalar, $isSeq, $Pair, $Scalar, $YAMLMap, $YAMLSeq, $Lexer, $LineCounter, $Parser, $parse, $parseAllDocuments, $parseDocument, $stringify, $visit, $visitAsync;
6963
+ var init_dist = __esm(() => {
7030
6964
  composer = require_composer();
7031
6965
  Document = require_Document();
7032
6966
  Schema = require_Schema();
7033
- errors2 = require_errors();
6967
+ errors = require_errors();
7034
6968
  Alias = require_Alias();
7035
6969
  identity = require_identity();
7036
6970
  Pair = require_Pair();
@@ -7046,9 +6980,9 @@ var init_dist2 = __esm(() => {
7046
6980
  $Composer = composer.Composer;
7047
6981
  $Document = Document.Document;
7048
6982
  $Schema = Schema.Schema;
7049
- $YAMLError = errors2.YAMLError;
7050
- $YAMLParseError = errors2.YAMLParseError;
7051
- $YAMLWarning = errors2.YAMLWarning;
6983
+ $YAMLError = errors.YAMLError;
6984
+ $YAMLParseError = errors.YAMLParseError;
6985
+ $YAMLWarning = errors.YAMLWarning;
7052
6986
  $Alias = Alias.Alias;
7053
6987
  $isAlias = identity.isAlias;
7054
6988
  $isCollection = identity.isCollection;
@@ -7272,9 +7206,9 @@ function floatSafeRemainder(val, step) {
7272
7206
  return 0;
7273
7207
  return ratio - roundedRatio;
7274
7208
  }
7275
- function defineLazy(object2, key, getter) {
7209
+ function defineLazy(object, key, getter) {
7276
7210
  let value = undefined;
7277
- Object.defineProperty(object2, key, {
7211
+ Object.defineProperty(object, key, {
7278
7212
  get() {
7279
7213
  if (value === EVALUATING) {
7280
7214
  return;
@@ -7286,7 +7220,7 @@ function defineLazy(object2, key, getter) {
7286
7220
  return value;
7287
7221
  },
7288
7222
  set(v) {
7289
- Object.defineProperty(object2, key, {
7223
+ Object.defineProperty(object, key, {
7290
7224
  value: v
7291
7225
  });
7292
7226
  },
@@ -7984,7 +7918,7 @@ var initializer = (inst, def) => {
7984
7918
  enumerable: false
7985
7919
  });
7986
7920
  }, $ZodError, $ZodRealError;
7987
- var init_errors2 = __esm(() => {
7921
+ var init_errors = __esm(() => {
7988
7922
  init_core();
7989
7923
  init_util();
7990
7924
  $ZodError = $constructor("$ZodError", initializer);
@@ -8057,7 +7991,7 @@ var _parse = (_Err) => (schema, value, _ctx, _params) => {
8057
7991
  }, safeDecodeAsync;
8058
7992
  var init_parse = __esm(() => {
8059
7993
  init_core();
8060
- init_errors2();
7994
+ init_errors();
8061
7995
  init_util();
8062
7996
  parse = /* @__PURE__ */ _parse($ZodRealError);
8063
7997
  parseAsync = /* @__PURE__ */ _parseAsync($ZodRealError);
@@ -8125,7 +8059,7 @@ __export(exports_regexes, {
8125
8059
  duration: () => duration,
8126
8060
  domain: () => domain,
8127
8061
  datetime: () => datetime,
8128
- date: () => date2,
8062
+ date: () => date,
8129
8063
  cuid2: () => cuid2,
8130
8064
  cuid: () => cuid,
8131
8065
  cidrv6: () => cidrv6,
@@ -8170,7 +8104,7 @@ var cuid, cuid2, ulid, xid, ksuid, nanoid, duration, extendedDuration, guid, uui
8170
8104
  }, uuid4, uuid6, uuid7, email, html5Email, rfc5322Email, unicodeEmail, idnEmail, browserEmail, _emoji = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`, ipv4, ipv6, mac = (delimiter) => {
8171
8105
  const escapedDelim = escapeRegex(delimiter ?? ":");
8172
8106
  return new RegExp(`^(?:[0-9A-F]{2}${escapedDelim}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${escapedDelim}){5}[0-9a-f]{2}$`);
8173
- }, cidrv4, cidrv6, base64, base64url, hostname, domain, httpProtocol, e164, 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])))`, date2, string = (params) => {
8107
+ }, cidrv4, cidrv6, base64, base64url, hostname, domain, httpProtocol, e164, 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])))`, date, string = (params) => {
8174
8108
  const regex = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
8175
8109
  return new RegExp(`^${regex}$`);
8176
8110
  }, bigint, integer, number, boolean, _null, _undefined, lowercase, uppercase, hex, md5_hex, md5_base64, md5_base64url, sha1_hex, sha1_base64, sha1_base64url, sha256_hex, sha256_base64, sha256_base64url, sha384_hex, sha384_base64, sha384_base64url, sha512_hex, sha512_base64, sha512_base64url;
@@ -8204,7 +8138,7 @@ var init_regexes = __esm(() => {
8204
8138
  domain = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/;
8205
8139
  httpProtocol = /^https?$/;
8206
8140
  e164 = /^\+[1-9]\d{6,14}$/;
8207
- date2 = /* @__PURE__ */ new RegExp(`^${dateSource}$`);
8141
+ date = /* @__PURE__ */ new RegExp(`^${dateSource}$`);
8208
8142
  bigint = /^-?\d+n?$/;
8209
8143
  integer = /^-?\d+$/;
8210
8144
  number = /^-?\d+(?:\.\d+)?$/;
@@ -8255,7 +8189,7 @@ var init_checks = __esm(() => {
8255
8189
  };
8256
8190
  $ZodCheckLessThan = /* @__PURE__ */ $constructor("$ZodCheckLessThan", (inst, def) => {
8257
8191
  $ZodCheck.init(inst, def);
8258
- const origin2 = numericOriginMap[typeof def.value];
8192
+ const origin = numericOriginMap[typeof def.value];
8259
8193
  inst._zod.onattach.push((inst2) => {
8260
8194
  const bag = inst2._zod.bag;
8261
8195
  const curr = (def.inclusive ? bag.maximum : bag.exclusiveMaximum) ?? Number.POSITIVE_INFINITY;
@@ -8271,7 +8205,7 @@ var init_checks = __esm(() => {
8271
8205
  return;
8272
8206
  }
8273
8207
  payload.issues.push({
8274
- origin: origin2,
8208
+ origin,
8275
8209
  code: "too_big",
8276
8210
  maximum: typeof def.value === "object" ? def.value.getTime() : def.value,
8277
8211
  input: payload.value,
@@ -8283,7 +8217,7 @@ var init_checks = __esm(() => {
8283
8217
  });
8284
8218
  $ZodCheckGreaterThan = /* @__PURE__ */ $constructor("$ZodCheckGreaterThan", (inst, def) => {
8285
8219
  $ZodCheck.init(inst, def);
8286
- const origin2 = numericOriginMap[typeof def.value];
8220
+ const origin = numericOriginMap[typeof def.value];
8287
8221
  inst._zod.onattach.push((inst2) => {
8288
8222
  const bag = inst2._zod.bag;
8289
8223
  const curr = (def.inclusive ? bag.minimum : bag.exclusiveMinimum) ?? Number.NEGATIVE_INFINITY;
@@ -8299,7 +8233,7 @@ var init_checks = __esm(() => {
8299
8233
  return;
8300
8234
  }
8301
8235
  payload.issues.push({
8302
- origin: origin2,
8236
+ origin,
8303
8237
  code: "too_small",
8304
8238
  minimum: typeof def.value === "object" ? def.value.getTime() : def.value,
8305
8239
  input: payload.value,
@@ -8335,7 +8269,7 @@ var init_checks = __esm(() => {
8335
8269
  $ZodCheck.init(inst, def);
8336
8270
  def.format = def.format || "float64";
8337
8271
  const isInt = def.format?.includes("int");
8338
- const origin2 = isInt ? "int" : "number";
8272
+ const origin = isInt ? "int" : "number";
8339
8273
  const [minimum, maximum] = NUMBER_FORMAT_RANGES[def.format];
8340
8274
  inst._zod.onattach.push((inst2) => {
8341
8275
  const bag = inst2._zod.bag;
@@ -8350,7 +8284,7 @@ var init_checks = __esm(() => {
8350
8284
  if (isInt) {
8351
8285
  if (!Number.isInteger(input)) {
8352
8286
  payload.issues.push({
8353
- expected: origin2,
8287
+ expected: origin,
8354
8288
  format: def.format,
8355
8289
  code: "invalid_type",
8356
8290
  continue: false,
@@ -8367,7 +8301,7 @@ var init_checks = __esm(() => {
8367
8301
  maximum: Number.MAX_SAFE_INTEGER,
8368
8302
  note: "Integers must be within the safe integer range.",
8369
8303
  inst,
8370
- origin: origin2,
8304
+ origin,
8371
8305
  inclusive: true,
8372
8306
  continue: !def.abort
8373
8307
  });
@@ -8378,7 +8312,7 @@ var init_checks = __esm(() => {
8378
8312
  minimum: Number.MIN_SAFE_INTEGER,
8379
8313
  note: "Integers must be within the safe integer range.",
8380
8314
  inst,
8381
- origin: origin2,
8315
+ origin,
8382
8316
  inclusive: true,
8383
8317
  continue: !def.abort
8384
8318
  });
@@ -8548,9 +8482,9 @@ var init_checks = __esm(() => {
8548
8482
  const length = input.length;
8549
8483
  if (length <= def.maximum)
8550
8484
  return;
8551
- const origin2 = getLengthableOrigin(input);
8485
+ const origin = getLengthableOrigin(input);
8552
8486
  payload.issues.push({
8553
- origin: origin2,
8487
+ origin,
8554
8488
  code: "too_big",
8555
8489
  maximum: def.maximum,
8556
8490
  inclusive: true,
@@ -8577,9 +8511,9 @@ var init_checks = __esm(() => {
8577
8511
  const length = input.length;
8578
8512
  if (length >= def.minimum)
8579
8513
  return;
8580
- const origin2 = getLengthableOrigin(input);
8514
+ const origin = getLengthableOrigin(input);
8581
8515
  payload.issues.push({
8582
- origin: origin2,
8516
+ origin,
8583
8517
  code: "too_small",
8584
8518
  minimum: def.minimum,
8585
8519
  inclusive: true,
@@ -8607,10 +8541,10 @@ var init_checks = __esm(() => {
8607
8541
  const length = input.length;
8608
8542
  if (length === def.length)
8609
8543
  return;
8610
- const origin2 = getLengthableOrigin(input);
8544
+ const origin = getLengthableOrigin(input);
8611
8545
  const tooBig = length > def.length;
8612
8546
  payload.issues.push({
8613
- origin: origin2,
8547
+ origin,
8614
8548
  ...tooBig ? { code: "too_big", maximum: def.length } : { code: "too_small", minimum: def.length },
8615
8549
  inclusive: true,
8616
8550
  exact: true,
@@ -9501,7 +9435,7 @@ var init_schemas = __esm(() => {
9501
9435
  $ZodStringFormat.init(inst, def);
9502
9436
  });
9503
9437
  $ZodISODate = /* @__PURE__ */ $constructor("$ZodISODate", (inst, def) => {
9504
- def.pattern ?? (def.pattern = date2);
9438
+ def.pattern ?? (def.pattern = date);
9505
9439
  $ZodStringFormat.init(inst, def);
9506
9440
  });
9507
9441
  $ZodISOTime = /* @__PURE__ */ $constructor("$ZodISOTime", (inst, def) => {
@@ -10514,9 +10448,9 @@ var init_schemas = __esm(() => {
10514
10448
  }
10515
10449
  const _out = def.transform(payload.value, payload);
10516
10450
  if (ctx.async) {
10517
- const output2 = _out instanceof Promise ? _out : Promise.resolve(_out);
10518
- return output2.then((output3) => {
10519
- payload.value = output3;
10451
+ const output = _out instanceof Promise ? _out : Promise.resolve(_out);
10452
+ return output.then((output2) => {
10453
+ payload.value = output2;
10520
10454
  payload.fallback = true;
10521
10455
  return payload;
10522
10456
  });
@@ -10876,12 +10810,12 @@ var init_schemas = __esm(() => {
10876
10810
  output: inst._def.output
10877
10811
  });
10878
10812
  };
10879
- inst.output = (output2) => {
10813
+ inst.output = (output) => {
10880
10814
  const F = inst.constructor;
10881
10815
  return new F({
10882
10816
  type: "function",
10883
10817
  input: inst._def.input,
10884
- output: output2
10818
+ output
10885
10819
  });
10886
10820
  };
10887
10821
  return inst;
@@ -10940,8 +10874,8 @@ var error = () => {
10940
10874
  array: { unit: "\u0639\u0646\u0635\u0631", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
10941
10875
  set: { unit: "\u0639\u0646\u0635\u0631", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" }
10942
10876
  };
10943
- function getSizing(origin2) {
10944
- return Sizable[origin2] ?? null;
10877
+ function getSizing(origin) {
10878
+ return Sizable[origin] ?? null;
10945
10879
  }
10946
10880
  const FormatDictionary = {
10947
10881
  regex: "\u0645\u062F\u062E\u0644",
@@ -11050,8 +10984,8 @@ var error2 = () => {
11050
10984
  array: { unit: "element", verb: "olmal\u0131d\u0131r" },
11051
10985
  set: { unit: "element", verb: "olmal\u0131d\u0131r" }
11052
10986
  };
11053
- function getSizing(origin2) {
11054
- return Sizable[origin2] ?? null;
10987
+ function getSizing(origin) {
10988
+ return Sizable[origin] ?? null;
11055
10989
  }
11056
10990
  const FormatDictionary = {
11057
10991
  regex: "input",
@@ -11202,8 +11136,8 @@ var error3 = () => {
11202
11136
  verb: "\u043C\u0435\u0446\u044C"
11203
11137
  }
11204
11138
  };
11205
- function getSizing(origin2) {
11206
- return Sizable[origin2] ?? null;
11139
+ function getSizing(origin) {
11140
+ return Sizable[origin] ?? null;
11207
11141
  }
11208
11142
  const FormatDictionary = {
11209
11143
  regex: "\u0443\u0432\u043E\u0434",
@@ -11319,8 +11253,8 @@ var error4 = () => {
11319
11253
  array: { unit: "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
11320
11254
  set: { unit: "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" }
11321
11255
  };
11322
- function getSizing(origin2) {
11323
- return Sizable[origin2] ?? null;
11256
+ function getSizing(origin) {
11257
+ return Sizable[origin] ?? null;
11324
11258
  }
11325
11259
  const FormatDictionary = {
11326
11260
  regex: "\u0432\u0445\u043E\u0434",
@@ -11443,8 +11377,8 @@ var error5 = () => {
11443
11377
  array: { unit: "elements", verb: "contenir" },
11444
11378
  set: { unit: "elements", verb: "contenir" }
11445
11379
  };
11446
- function getSizing(origin2) {
11447
- return Sizable[origin2] ?? null;
11380
+ function getSizing(origin) {
11381
+ return Sizable[origin] ?? null;
11448
11382
  }
11449
11383
  const FormatDictionary = {
11450
11384
  regex: "entrada",
@@ -11554,8 +11488,8 @@ var error6 = () => {
11554
11488
  array: { unit: "prvk\u016F", verb: "m\xEDt" },
11555
11489
  set: { unit: "prvk\u016F", verb: "m\xEDt" }
11556
11490
  };
11557
- function getSizing(origin2) {
11558
- return Sizable[origin2] ?? null;
11491
+ function getSizing(origin) {
11492
+ return Sizable[origin] ?? null;
11559
11493
  }
11560
11494
  const FormatDictionary = {
11561
11495
  regex: "regul\xE1rn\xED v\xFDraz",
@@ -11669,8 +11603,8 @@ var error7 = () => {
11669
11603
  array: { unit: "elementer", verb: "indeholdt" },
11670
11604
  set: { unit: "elementer", verb: "indeholdt" }
11671
11605
  };
11672
- function getSizing(origin2) {
11673
- return Sizable[origin2] ?? null;
11606
+ function getSizing(origin) {
11607
+ return Sizable[origin] ?? null;
11674
11608
  }
11675
11609
  const FormatDictionary = {
11676
11610
  regex: "input",
@@ -11730,19 +11664,19 @@ var error7 = () => {
11730
11664
  case "too_big": {
11731
11665
  const adj = issue2.inclusive ? "<=" : "<";
11732
11666
  const sizing = getSizing(issue2.origin);
11733
- const origin2 = TypeDictionary[issue2.origin] ?? issue2.origin;
11667
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
11734
11668
  if (sizing)
11735
- return `For stor: forventede ${origin2 ?? "value"} ${sizing.verb} ${adj} ${issue2.maximum.toString()} ${sizing.unit ?? "elementer"}`;
11736
- return `For stor: forventede ${origin2 ?? "value"} havde ${adj} ${issue2.maximum.toString()}`;
11669
+ return `For stor: forventede ${origin ?? "value"} ${sizing.verb} ${adj} ${issue2.maximum.toString()} ${sizing.unit ?? "elementer"}`;
11670
+ return `For stor: forventede ${origin ?? "value"} havde ${adj} ${issue2.maximum.toString()}`;
11737
11671
  }
11738
11672
  case "too_small": {
11739
11673
  const adj = issue2.inclusive ? ">=" : ">";
11740
11674
  const sizing = getSizing(issue2.origin);
11741
- const origin2 = TypeDictionary[issue2.origin] ?? issue2.origin;
11675
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
11742
11676
  if (sizing) {
11743
- return `For lille: forventede ${origin2} ${sizing.verb} ${adj} ${issue2.minimum.toString()} ${sizing.unit}`;
11677
+ return `For lille: forventede ${origin} ${sizing.verb} ${adj} ${issue2.minimum.toString()} ${sizing.unit}`;
11744
11678
  }
11745
- return `For lille: forventede ${origin2} havde ${adj} ${issue2.minimum.toString()}`;
11679
+ return `For lille: forventede ${origin} havde ${adj} ${issue2.minimum.toString()}`;
11746
11680
  }
11747
11681
  case "invalid_format": {
11748
11682
  const _issue = issue2;
@@ -11788,8 +11722,8 @@ var error8 = () => {
11788
11722
  array: { unit: "Elemente", verb: "zu haben" },
11789
11723
  set: { unit: "Elemente", verb: "zu haben" }
11790
11724
  };
11791
- function getSizing(origin2) {
11792
- return Sizable[origin2] ?? null;
11725
+ function getSizing(origin) {
11726
+ return Sizable[origin] ?? null;
11793
11727
  }
11794
11728
  const FormatDictionary = {
11795
11729
  regex: "Eingabe",
@@ -11901,8 +11835,8 @@ var error9 = () => {
11901
11835
  set: { unit: "\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
11902
11836
  map: { unit: "\u03BA\u03B1\u03C4\u03B1\u03C7\u03C9\u03C1\u03AE\u03C3\u03B5\u03B9\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" }
11903
11837
  };
11904
- function getSizing(origin2) {
11905
- return Sizable[origin2] ?? null;
11838
+ function getSizing(origin) {
11839
+ return Sizable[origin] ?? null;
11906
11840
  }
11907
11841
  const FormatDictionary = {
11908
11842
  regex: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2",
@@ -12014,8 +11948,8 @@ var error10 = () => {
12014
11948
  set: { unit: "items", verb: "to have" },
12015
11949
  map: { unit: "entries", verb: "to have" }
12016
11950
  };
12017
- function getSizing(origin2) {
12018
- return Sizable[origin2] ?? null;
11951
+ function getSizing(origin) {
11952
+ return Sizable[origin] ?? null;
12019
11953
  }
12020
11954
  const FormatDictionary = {
12021
11955
  regex: "input",
@@ -12127,8 +12061,8 @@ var error11 = () => {
12127
12061
  array: { unit: "elementojn", verb: "havi" },
12128
12062
  set: { unit: "elementojn", verb: "havi" }
12129
12063
  };
12130
- function getSizing(origin2) {
12131
- return Sizable[origin2] ?? null;
12064
+ function getSizing(origin) {
12065
+ return Sizable[origin] ?? null;
12132
12066
  }
12133
12067
  const FormatDictionary = {
12134
12068
  regex: "enigo",
@@ -12240,8 +12174,8 @@ var error12 = () => {
12240
12174
  array: { unit: "elementos", verb: "tener" },
12241
12175
  set: { unit: "elementos", verb: "tener" }
12242
12176
  };
12243
- function getSizing(origin2) {
12244
- return Sizable[origin2] ?? null;
12177
+ function getSizing(origin) {
12178
+ return Sizable[origin] ?? null;
12245
12179
  }
12246
12180
  const FormatDictionary = {
12247
12181
  regex: "entrada",
@@ -12318,19 +12252,19 @@ var error12 = () => {
12318
12252
  case "too_big": {
12319
12253
  const adj = issue2.inclusive ? "<=" : "<";
12320
12254
  const sizing = getSizing(issue2.origin);
12321
- const origin2 = TypeDictionary[issue2.origin] ?? issue2.origin;
12255
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
12322
12256
  if (sizing)
12323
- return `Demasiado grande: se esperaba que ${origin2 ?? "valor"} tuviera ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elementos"}`;
12324
- return `Demasiado grande: se esperaba que ${origin2 ?? "valor"} fuera ${adj}${issue2.maximum.toString()}`;
12257
+ return `Demasiado grande: se esperaba que ${origin ?? "valor"} tuviera ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elementos"}`;
12258
+ return `Demasiado grande: se esperaba que ${origin ?? "valor"} fuera ${adj}${issue2.maximum.toString()}`;
12325
12259
  }
12326
12260
  case "too_small": {
12327
12261
  const adj = issue2.inclusive ? ">=" : ">";
12328
12262
  const sizing = getSizing(issue2.origin);
12329
- const origin2 = TypeDictionary[issue2.origin] ?? issue2.origin;
12263
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
12330
12264
  if (sizing) {
12331
- return `Demasiado peque\xF1o: se esperaba que ${origin2} tuviera ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
12265
+ return `Demasiado peque\xF1o: se esperaba que ${origin} tuviera ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
12332
12266
  }
12333
- return `Demasiado peque\xF1o: se esperaba que ${origin2} fuera ${adj}${issue2.minimum.toString()}`;
12267
+ return `Demasiado peque\xF1o: se esperaba que ${origin} fuera ${adj}${issue2.minimum.toString()}`;
12334
12268
  }
12335
12269
  case "invalid_format": {
12336
12270
  const _issue = issue2;
@@ -12376,8 +12310,8 @@ var error13 = () => {
12376
12310
  array: { unit: "\u0622\u06CC\u062A\u0645", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
12377
12311
  set: { unit: "\u0622\u06CC\u062A\u0645", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" }
12378
12312
  };
12379
- function getSizing(origin2) {
12380
- return Sizable[origin2] ?? null;
12313
+ function getSizing(origin) {
12314
+ return Sizable[origin] ?? null;
12381
12315
  }
12382
12316
  const FormatDictionary = {
12383
12317
  regex: "\u0648\u0631\u0648\u062F\u06CC",
@@ -12498,8 +12432,8 @@ var error14 = () => {
12498
12432
  int: { unit: "", subject: "kokonaisluvun" },
12499
12433
  date: { unit: "", subject: "p\xE4iv\xE4m\xE4\xE4r\xE4n" }
12500
12434
  };
12501
- function getSizing(origin2) {
12502
- return Sizable[origin2] ?? null;
12435
+ function getSizing(origin) {
12436
+ return Sizable[origin] ?? null;
12503
12437
  }
12504
12438
  const FormatDictionary = {
12505
12439
  regex: "s\xE4\xE4nn\xF6llinen lauseke",
@@ -12610,8 +12544,8 @@ var error15 = () => {
12610
12544
  array: { unit: "\xE9l\xE9ments", verb: "avoir" },
12611
12545
  set: { unit: "\xE9l\xE9ments", verb: "avoir" }
12612
12546
  };
12613
- function getSizing(origin2) {
12614
- return Sizable[origin2] ?? null;
12547
+ function getSizing(origin) {
12548
+ return Sizable[origin] ?? null;
12615
12549
  }
12616
12550
  const FormatDictionary = {
12617
12551
  regex: "entr\xE9e",
@@ -12739,8 +12673,8 @@ var error16 = () => {
12739
12673
  array: { unit: "\xE9l\xE9ments", verb: "avoir" },
12740
12674
  set: { unit: "\xE9l\xE9ments", verb: "avoir" }
12741
12675
  };
12742
- function getSizing(origin2) {
12743
- return Sizable[origin2] ?? null;
12676
+ function getSizing(origin) {
12677
+ return Sizable[origin] ?? null;
12744
12678
  }
12745
12679
  const FormatDictionary = {
12746
12680
  regex: "entr\xE9e",
@@ -12884,10 +12818,10 @@ var error17 = () => {
12884
12818
  const gender = e?.gender ?? "m";
12885
12819
  return gender === "f" ? "\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA" : "\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA";
12886
12820
  };
12887
- const getSizing = (origin2) => {
12888
- if (!origin2)
12821
+ const getSizing = (origin) => {
12822
+ if (!origin)
12889
12823
  return null;
12890
- return Sizable[origin2] ?? null;
12824
+ return Sizable[origin] ?? null;
12891
12825
  };
12892
12826
  const FormatDictionary = {
12893
12827
  regex: { label: "\u05E7\u05DC\u05D8", gender: "m" },
@@ -13047,8 +12981,8 @@ var error18 = () => {
13047
12981
  array: { unit: "stavki", verb: "imati" },
13048
12982
  set: { unit: "stavki", verb: "imati" }
13049
12983
  };
13050
- function getSizing(origin2) {
13051
- return Sizable[origin2] ?? null;
12984
+ function getSizing(origin) {
12985
+ return Sizable[origin] ?? null;
13052
12986
  }
13053
12987
  const FormatDictionary = {
13054
12988
  regex: "unos",
@@ -13115,19 +13049,19 @@ var error18 = () => {
13115
13049
  case "too_big": {
13116
13050
  const adj = issue2.inclusive ? "<=" : "<";
13117
13051
  const sizing = getSizing(issue2.origin);
13118
- const origin2 = TypeDictionary[issue2.origin] ?? issue2.origin;
13052
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
13119
13053
  if (sizing)
13120
- return `Preveliko: o\u010Dekivano da ${origin2 ?? "vrijednost"} ima ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemenata"}`;
13121
- return `Preveliko: o\u010Dekivano da ${origin2 ?? "vrijednost"} bude ${adj}${issue2.maximum.toString()}`;
13054
+ return `Preveliko: o\u010Dekivano da ${origin ?? "vrijednost"} ima ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemenata"}`;
13055
+ return `Preveliko: o\u010Dekivano da ${origin ?? "vrijednost"} bude ${adj}${issue2.maximum.toString()}`;
13122
13056
  }
13123
13057
  case "too_small": {
13124
13058
  const adj = issue2.inclusive ? ">=" : ">";
13125
13059
  const sizing = getSizing(issue2.origin);
13126
- const origin2 = TypeDictionary[issue2.origin] ?? issue2.origin;
13060
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
13127
13061
  if (sizing) {
13128
- return `Premalo: o\u010Dekivano da ${origin2} ima ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
13062
+ return `Premalo: o\u010Dekivano da ${origin} ima ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
13129
13063
  }
13130
- return `Premalo: o\u010Dekivano da ${origin2} bude ${adj}${issue2.minimum.toString()}`;
13064
+ return `Premalo: o\u010Dekivano da ${origin} bude ${adj}${issue2.minimum.toString()}`;
13131
13065
  }
13132
13066
  case "invalid_format": {
13133
13067
  const _issue = issue2;
@@ -13173,8 +13107,8 @@ var error19 = () => {
13173
13107
  array: { unit: "elem", verb: "legyen" },
13174
13108
  set: { unit: "elem", verb: "legyen" }
13175
13109
  };
13176
- function getSizing(origin2) {
13177
- return Sizable[origin2] ?? null;
13110
+ function getSizing(origin) {
13111
+ return Sizable[origin] ?? null;
13178
13112
  }
13179
13113
  const FormatDictionary = {
13180
13114
  regex: "bemenet",
@@ -13319,8 +13253,8 @@ var error20 = () => {
13319
13253
  verb: "\u0578\u0582\u0576\u0565\u0576\u0561\u056C"
13320
13254
  }
13321
13255
  };
13322
- function getSizing(origin2) {
13323
- return Sizable[origin2] ?? null;
13256
+ function getSizing(origin) {
13257
+ return Sizable[origin] ?? null;
13324
13258
  }
13325
13259
  const FormatDictionary = {
13326
13260
  regex: "\u0574\u0578\u0582\u057F\u0584",
@@ -13436,8 +13370,8 @@ var error21 = () => {
13436
13370
  array: { unit: "item", verb: "memiliki" },
13437
13371
  set: { unit: "item", verb: "memiliki" }
13438
13372
  };
13439
- function getSizing(origin2) {
13440
- return Sizable[origin2] ?? null;
13373
+ function getSizing(origin) {
13374
+ return Sizable[origin] ?? null;
13441
13375
  }
13442
13376
  const FormatDictionary = {
13443
13377
  regex: "input",
@@ -13546,8 +13480,8 @@ var error22 = () => {
13546
13480
  array: { unit: "hluti", verb: "a\xF0 hafa" },
13547
13481
  set: { unit: "hluti", verb: "a\xF0 hafa" }
13548
13482
  };
13549
- function getSizing(origin2) {
13550
- return Sizable[origin2] ?? null;
13483
+ function getSizing(origin) {
13484
+ return Sizable[origin] ?? null;
13551
13485
  }
13552
13486
  const FormatDictionary = {
13553
13487
  regex: "gildi",
@@ -13659,8 +13593,8 @@ var error23 = () => {
13659
13593
  array: { unit: "elementi", verb: "avere" },
13660
13594
  set: { unit: "elementi", verb: "avere" }
13661
13595
  };
13662
- function getSizing(origin2) {
13663
- return Sizable[origin2] ?? null;
13596
+ function getSizing(origin) {
13597
+ return Sizable[origin] ?? null;
13664
13598
  }
13665
13599
  const FormatDictionary = {
13666
13600
  regex: "input",
@@ -13771,8 +13705,8 @@ var error24 = () => {
13771
13705
  array: { unit: "\u8981\u7D20", verb: "\u3067\u3042\u308B" },
13772
13706
  set: { unit: "\u8981\u7D20", verb: "\u3067\u3042\u308B" }
13773
13707
  };
13774
- function getSizing(origin2) {
13775
- return Sizable[origin2] ?? null;
13708
+ function getSizing(origin) {
13709
+ return Sizable[origin] ?? null;
13776
13710
  }
13777
13711
  const FormatDictionary = {
13778
13712
  regex: "\u5165\u529B\u5024",
@@ -13882,8 +13816,8 @@ var error25 = () => {
13882
13816
  array: { unit: "\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
13883
13817
  set: { unit: "\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" }
13884
13818
  };
13885
- function getSizing(origin2) {
13886
- return Sizable[origin2] ?? null;
13819
+ function getSizing(origin) {
13820
+ return Sizable[origin] ?? null;
13887
13821
  }
13888
13822
  const FormatDictionary = {
13889
13823
  regex: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",
@@ -13998,8 +13932,8 @@ var error26 = () => {
13998
13932
  array: { unit: "\u1792\u17B6\u178F\u17BB", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
13999
13933
  set: { unit: "\u1792\u17B6\u178F\u17BB", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" }
14000
13934
  };
14001
- function getSizing(origin2) {
14002
- return Sizable[origin2] ?? null;
13935
+ function getSizing(origin) {
13936
+ return Sizable[origin] ?? null;
14003
13937
  }
14004
13938
  const FormatDictionary = {
14005
13939
  regex: "\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",
@@ -14120,8 +14054,8 @@ var error27 = () => {
14120
14054
  array: { unit: "\uAC1C", verb: "to have" },
14121
14055
  set: { unit: "\uAC1C", verb: "to have" }
14122
14056
  };
14123
- function getSizing(origin2) {
14124
- return Sizable[origin2] ?? null;
14057
+ function getSizing(origin) {
14058
+ return Sizable[origin] ?? null;
14125
14059
  }
14126
14060
  const FormatDictionary = {
14127
14061
  regex: "\uC785\uB825",
@@ -14311,8 +14245,8 @@ var capitalizeFirstCharacter = (text) => {
14311
14245
  }
14312
14246
  }
14313
14247
  };
14314
- function getSizing(origin2, unitType, inclusive, targetShouldBe) {
14315
- const result = Sizable[origin2] ?? null;
14248
+ function getSizing(origin, unitType, inclusive, targetShouldBe) {
14249
+ const result = Sizable[origin] ?? null;
14316
14250
  if (result === null)
14317
14251
  return result;
14318
14252
  return {
@@ -14379,20 +14313,20 @@ var capitalizeFirstCharacter = (text) => {
14379
14313
  return `Privalo b\u016Bti ${stringifyPrimitive(issue2.values[0])}`;
14380
14314
  return `Privalo b\u016Bti vienas i\u0161 ${joinValues(issue2.values, "|")} pasirinkim\u0173`;
14381
14315
  case "too_big": {
14382
- const origin2 = TypeDictionary[issue2.origin] ?? issue2.origin;
14316
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
14383
14317
  const sizing = getSizing(issue2.origin, getUnitTypeFromNumber(Number(issue2.maximum)), issue2.inclusive ?? false, "smaller");
14384
14318
  if (sizing?.verb)
14385
- return `${capitalizeFirstCharacter(origin2 ?? issue2.origin ?? "reik\u0161m\u0117")} ${sizing.verb} ${issue2.maximum.toString()} ${sizing.unit ?? "element\u0173"}`;
14319
+ return `${capitalizeFirstCharacter(origin ?? issue2.origin ?? "reik\u0161m\u0117")} ${sizing.verb} ${issue2.maximum.toString()} ${sizing.unit ?? "element\u0173"}`;
14386
14320
  const adj = issue2.inclusive ? "ne didesnis kaip" : "ma\u017Eesnis kaip";
14387
- return `${capitalizeFirstCharacter(origin2 ?? issue2.origin ?? "reik\u0161m\u0117")} turi b\u016Bti ${adj} ${issue2.maximum.toString()} ${sizing?.unit}`;
14321
+ return `${capitalizeFirstCharacter(origin ?? issue2.origin ?? "reik\u0161m\u0117")} turi b\u016Bti ${adj} ${issue2.maximum.toString()} ${sizing?.unit}`;
14388
14322
  }
14389
14323
  case "too_small": {
14390
- const origin2 = TypeDictionary[issue2.origin] ?? issue2.origin;
14324
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
14391
14325
  const sizing = getSizing(issue2.origin, getUnitTypeFromNumber(Number(issue2.minimum)), issue2.inclusive ?? false, "bigger");
14392
14326
  if (sizing?.verb)
14393
- return `${capitalizeFirstCharacter(origin2 ?? issue2.origin ?? "reik\u0161m\u0117")} ${sizing.verb} ${issue2.minimum.toString()} ${sizing.unit ?? "element\u0173"}`;
14327
+ return `${capitalizeFirstCharacter(origin ?? issue2.origin ?? "reik\u0161m\u0117")} ${sizing.verb} ${issue2.minimum.toString()} ${sizing.unit ?? "element\u0173"}`;
14394
14328
  const adj = issue2.inclusive ? "ne ma\u017Eesnis kaip" : "didesnis kaip";
14395
- return `${capitalizeFirstCharacter(origin2 ?? issue2.origin ?? "reik\u0161m\u0117")} turi b\u016Bti ${adj} ${issue2.minimum.toString()} ${sizing?.unit}`;
14329
+ return `${capitalizeFirstCharacter(origin ?? issue2.origin ?? "reik\u0161m\u0117")} turi b\u016Bti ${adj} ${issue2.minimum.toString()} ${sizing?.unit}`;
14396
14330
  }
14397
14331
  case "invalid_format": {
14398
14332
  const _issue = issue2;
@@ -14416,8 +14350,8 @@ var capitalizeFirstCharacter = (text) => {
14416
14350
  case "invalid_union":
14417
14351
  return "Klaidinga \u012Fvestis";
14418
14352
  case "invalid_element": {
14419
- const origin2 = TypeDictionary[issue2.origin] ?? issue2.origin;
14420
- return `${capitalizeFirstCharacter(origin2 ?? issue2.origin ?? "reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`;
14353
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
14354
+ return `${capitalizeFirstCharacter(origin ?? issue2.origin ?? "reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`;
14421
14355
  }
14422
14356
  default:
14423
14357
  return "Klaidinga \u012Fvestis";
@@ -14441,8 +14375,8 @@ var error29 = () => {
14441
14375
  array: { unit: "\u0441\u0442\u0430\u0432\u043A\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
14442
14376
  set: { unit: "\u0441\u0442\u0430\u0432\u043A\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" }
14443
14377
  };
14444
- function getSizing(origin2) {
14445
- return Sizable[origin2] ?? null;
14378
+ function getSizing(origin) {
14379
+ return Sizable[origin] ?? null;
14446
14380
  }
14447
14381
  const FormatDictionary = {
14448
14382
  regex: "\u0432\u043D\u0435\u0441",
@@ -14554,8 +14488,8 @@ var error30 = () => {
14554
14488
  array: { unit: "elemen", verb: "mempunyai" },
14555
14489
  set: { unit: "elemen", verb: "mempunyai" }
14556
14490
  };
14557
- function getSizing(origin2) {
14558
- return Sizable[origin2] ?? null;
14491
+ function getSizing(origin) {
14492
+ return Sizable[origin] ?? null;
14559
14493
  }
14560
14494
  const FormatDictionary = {
14561
14495
  regex: "input",
@@ -14665,8 +14599,8 @@ var error31 = () => {
14665
14599
  array: { unit: "elementen", verb: "heeft" },
14666
14600
  set: { unit: "elementen", verb: "heeft" }
14667
14601
  };
14668
- function getSizing(origin2) {
14669
- return Sizable[origin2] ?? null;
14602
+ function getSizing(origin) {
14603
+ return Sizable[origin] ?? null;
14670
14604
  }
14671
14605
  const FormatDictionary = {
14672
14606
  regex: "invoer",
@@ -14779,8 +14713,8 @@ var error32 = () => {
14779
14713
  array: { unit: "elementer", verb: "\xE5 inneholde" },
14780
14714
  set: { unit: "elementer", verb: "\xE5 inneholde" }
14781
14715
  };
14782
- function getSizing(origin2) {
14783
- return Sizable[origin2] ?? null;
14716
+ function getSizing(origin) {
14717
+ return Sizable[origin] ?? null;
14784
14718
  }
14785
14719
  const FormatDictionary = {
14786
14720
  regex: "input",
@@ -14891,8 +14825,8 @@ var error33 = () => {
14891
14825
  array: { unit: "unsur", verb: "olmal\u0131d\u0131r" },
14892
14826
  set: { unit: "unsur", verb: "olmal\u0131d\u0131r" }
14893
14827
  };
14894
- function getSizing(origin2) {
14895
- return Sizable[origin2] ?? null;
14828
+ function getSizing(origin) {
14829
+ return Sizable[origin] ?? null;
14896
14830
  }
14897
14831
  const FormatDictionary = {
14898
14832
  regex: "giren",
@@ -15004,8 +14938,8 @@ var error34 = () => {
15004
14938
  array: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
15005
14939
  set: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" }
15006
14940
  };
15007
- function getSizing(origin2) {
15008
- return Sizable[origin2] ?? null;
14941
+ function getSizing(origin) {
14942
+ return Sizable[origin] ?? null;
15009
14943
  }
15010
14944
  const FormatDictionary = {
15011
14945
  regex: "\u0648\u0631\u0648\u062F\u064A",
@@ -15122,8 +15056,8 @@ var error35 = () => {
15122
15056
  array: { unit: "element\xF3w", verb: "mie\u0107" },
15123
15057
  set: { unit: "element\xF3w", verb: "mie\u0107" }
15124
15058
  };
15125
- function getSizing(origin2) {
15126
- return Sizable[origin2] ?? null;
15059
+ function getSizing(origin) {
15060
+ return Sizable[origin] ?? null;
15127
15061
  }
15128
15062
  const FormatDictionary = {
15129
15063
  regex: "wyra\u017Cenie",
@@ -15235,8 +15169,8 @@ var error36 = () => {
15235
15169
  array: { unit: "itens", verb: "ter" },
15236
15170
  set: { unit: "itens", verb: "ter" }
15237
15171
  };
15238
- function getSizing(origin2) {
15239
- return Sizable[origin2] ?? null;
15172
+ function getSizing(origin) {
15173
+ return Sizable[origin] ?? null;
15240
15174
  }
15241
15175
  const FormatDictionary = {
15242
15176
  regex: "padr\xE3o",
@@ -15348,8 +15282,8 @@ var error37 = () => {
15348
15282
  set: { unit: "elemente", verb: "s\u0103 aib\u0103" },
15349
15283
  map: { unit: "intr\u0103ri", verb: "s\u0103 aib\u0103" }
15350
15284
  };
15351
- function getSizing(origin2) {
15352
- return Sizable[origin2] ?? null;
15285
+ function getSizing(origin) {
15286
+ return Sizable[origin] ?? null;
15353
15287
  }
15354
15288
  const FormatDictionary = {
15355
15289
  regex: "intrare",
@@ -15513,8 +15447,8 @@ var error38 = () => {
15513
15447
  verb: "\u0438\u043C\u0435\u0442\u044C"
15514
15448
  }
15515
15449
  };
15516
- function getSizing(origin2) {
15517
- return Sizable[origin2] ?? null;
15450
+ function getSizing(origin) {
15451
+ return Sizable[origin] ?? null;
15518
15452
  }
15519
15453
  const FormatDictionary = {
15520
15454
  regex: "\u0432\u0432\u043E\u0434",
@@ -15630,8 +15564,8 @@ var error39 = () => {
15630
15564
  array: { unit: "elementov", verb: "imeti" },
15631
15565
  set: { unit: "elementov", verb: "imeti" }
15632
15566
  };
15633
- function getSizing(origin2) {
15634
- return Sizable[origin2] ?? null;
15567
+ function getSizing(origin) {
15568
+ return Sizable[origin] ?? null;
15635
15569
  }
15636
15570
  const FormatDictionary = {
15637
15571
  regex: "vnos",
@@ -15743,8 +15677,8 @@ var error40 = () => {
15743
15677
  array: { unit: "objekt", verb: "att inneh\xE5lla" },
15744
15678
  set: { unit: "objekt", verb: "att inneh\xE5lla" }
15745
15679
  };
15746
- function getSizing(origin2) {
15747
- return Sizable[origin2] ?? null;
15680
+ function getSizing(origin) {
15681
+ return Sizable[origin] ?? null;
15748
15682
  }
15749
15683
  const FormatDictionary = {
15750
15684
  regex: "regulj\xE4rt uttryck",
@@ -15857,8 +15791,8 @@ var error41 = () => {
15857
15791
  array: { unit: "\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
15858
15792
  set: { unit: "\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" }
15859
15793
  };
15860
- function getSizing(origin2) {
15861
- return Sizable[origin2] ?? null;
15794
+ function getSizing(origin) {
15795
+ return Sizable[origin] ?? null;
15862
15796
  }
15863
15797
  const FormatDictionary = {
15864
15798
  regex: "\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",
@@ -15971,8 +15905,8 @@ var error42 = () => {
15971
15905
  array: { unit: "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
15972
15906
  set: { unit: "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" }
15973
15907
  };
15974
- function getSizing(origin2) {
15975
- return Sizable[origin2] ?? null;
15908
+ function getSizing(origin) {
15909
+ return Sizable[origin] ?? null;
15976
15910
  }
15977
15911
  const FormatDictionary = {
15978
15912
  regex: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",
@@ -16085,8 +16019,8 @@ var error43 = () => {
16085
16019
  array: { unit: "\xF6\u011Fe", verb: "olmal\u0131" },
16086
16020
  set: { unit: "\xF6\u011Fe", verb: "olmal\u0131" }
16087
16021
  };
16088
- function getSizing(origin2) {
16089
- return Sizable[origin2] ?? null;
16022
+ function getSizing(origin) {
16023
+ return Sizable[origin] ?? null;
16090
16024
  }
16091
16025
  const FormatDictionary = {
16092
16026
  regex: "girdi",
@@ -16194,8 +16128,8 @@ var error44 = () => {
16194
16128
  array: { unit: "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
16195
16129
  set: { unit: "\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" }
16196
16130
  };
16197
- function getSizing(origin2) {
16198
- return Sizable[origin2] ?? null;
16131
+ function getSizing(origin) {
16132
+ return Sizable[origin] ?? null;
16199
16133
  }
16200
16134
  const FormatDictionary = {
16201
16135
  regex: "\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",
@@ -16314,8 +16248,8 @@ var error45 = () => {
16314
16248
  array: { unit: "\u0622\u0626\u0679\u0645\u0632", verb: "\u06C1\u0648\u0646\u0627" },
16315
16249
  set: { unit: "\u0622\u0626\u0679\u0645\u0632", verb: "\u06C1\u0648\u0646\u0627" }
16316
16250
  };
16317
- function getSizing(origin2) {
16318
- return Sizable[origin2] ?? null;
16251
+ function getSizing(origin) {
16252
+ return Sizable[origin] ?? null;
16319
16253
  }
16320
16254
  const FormatDictionary = {
16321
16255
  regex: "\u0627\u0646 \u067E\u0679",
@@ -16429,8 +16363,8 @@ var error46 = () => {
16429
16363
  set: { unit: "element", verb: "bo\u2018lishi kerak" },
16430
16364
  map: { unit: "yozuv", verb: "bo\u2018lishi kerak" }
16431
16365
  };
16432
- function getSizing(origin2) {
16433
- return Sizable[origin2] ?? null;
16366
+ function getSizing(origin) {
16367
+ return Sizable[origin] ?? null;
16434
16368
  }
16435
16369
  const FormatDictionary = {
16436
16370
  regex: "kirish",
@@ -16542,8 +16476,8 @@ var error47 = () => {
16542
16476
  array: { unit: "ph\u1EA7n t\u1EED", verb: "c\xF3" },
16543
16477
  set: { unit: "ph\u1EA7n t\u1EED", verb: "c\xF3" }
16544
16478
  };
16545
- function getSizing(origin2) {
16546
- return Sizable[origin2] ?? null;
16479
+ function getSizing(origin) {
16480
+ return Sizable[origin] ?? null;
16547
16481
  }
16548
16482
  const FormatDictionary = {
16549
16483
  regex: "\u0111\u1EA7u v\xE0o",
@@ -16654,8 +16588,8 @@ var error48 = () => {
16654
16588
  array: { unit: "\u9879", verb: "\u5305\u542B" },
16655
16589
  set: { unit: "\u9879", verb: "\u5305\u542B" }
16656
16590
  };
16657
- function getSizing(origin2) {
16658
- return Sizable[origin2] ?? null;
16591
+ function getSizing(origin) {
16592
+ return Sizable[origin] ?? null;
16659
16593
  }
16660
16594
  const FormatDictionary = {
16661
16595
  regex: "\u8F93\u5165",
@@ -16767,8 +16701,8 @@ var error49 = () => {
16767
16701
  array: { unit: "\u9805\u76EE", verb: "\u64C1\u6709" },
16768
16702
  set: { unit: "\u9805\u76EE", verb: "\u64C1\u6709" }
16769
16703
  };
16770
- function getSizing(origin2) {
16771
- return Sizable[origin2] ?? null;
16704
+ function getSizing(origin) {
16705
+ return Sizable[origin] ?? null;
16772
16706
  }
16773
16707
  const FormatDictionary = {
16774
16708
  regex: "\u8F38\u5165",
@@ -16878,8 +16812,8 @@ var error50 = () => {
16878
16812
  array: { unit: "nkan", verb: "n\xED" },
16879
16813
  set: { unit: "nkan", verb: "n\xED" }
16880
16814
  };
16881
- function getSizing(origin2) {
16882
- return Sizable[origin2] ?? null;
16815
+ function getSizing(origin) {
16816
+ return Sizable[origin] ?? null;
16883
16817
  }
16884
16818
  const FormatDictionary = {
16885
16819
  regex: "\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",
@@ -19282,7 +19216,7 @@ var init_core2 = __esm(() => {
19282
19216
  init_json_schema();
19283
19217
  init_core();
19284
19218
  init_parse();
19285
- init_errors2();
19219
+ init_errors();
19286
19220
  init_schemas();
19287
19221
  init_checks();
19288
19222
  init_versions();
@@ -19334,7 +19268,7 @@ __export(exports_iso, {
19334
19268
  time: () => time2,
19335
19269
  duration: () => duration2,
19336
19270
  datetime: () => datetime2,
19337
- date: () => date3,
19271
+ date: () => date2,
19338
19272
  ZodISOTime: () => ZodISOTime,
19339
19273
  ZodISODuration: () => ZodISODuration,
19340
19274
  ZodISODateTime: () => ZodISODateTime,
@@ -19343,7 +19277,7 @@ __export(exports_iso, {
19343
19277
  function datetime2(params) {
19344
19278
  return _isoDateTime(ZodISODateTime, params);
19345
19279
  }
19346
- function date3(params) {
19280
+ function date2(params) {
19347
19281
  return _isoDate(ZodISODate, params);
19348
19282
  }
19349
19283
  function time2(params) {
@@ -19404,7 +19338,7 @@ var initializer2 = (inst, issues) => {
19404
19338
  }
19405
19339
  });
19406
19340
  }, ZodError, ZodRealError;
19407
- var init_errors3 = __esm(() => {
19341
+ var init_errors2 = __esm(() => {
19408
19342
  init_core2();
19409
19343
  init_core2();
19410
19344
  init_util();
@@ -19418,7 +19352,7 @@ var init_errors3 = __esm(() => {
19418
19352
  var parse3, parseAsync2, safeParse2, safeParseAsync2, encode2, decode2, encodeAsync2, decodeAsync2, safeEncode2, safeDecode2, safeEncodeAsync2, safeDecodeAsync2;
19419
19353
  var init_parse2 = __esm(() => {
19420
19354
  init_core2();
19421
- init_errors3();
19355
+ init_errors2();
19422
19356
  parse3 = /* @__PURE__ */ _parse(ZodRealError);
19423
19357
  parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
19424
19358
  safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -19470,7 +19404,7 @@ __export(exports_schemas2, {
19470
19404
  pipe: () => pipe,
19471
19405
  partialRecord: () => partialRecord,
19472
19406
  optional: () => optional,
19473
- object: () => object2,
19407
+ object: () => object,
19474
19408
  number: () => number2,
19475
19409
  nullish: () => nullish2,
19476
19410
  nullable: () => nullable,
@@ -19515,7 +19449,7 @@ __export(exports_schemas2, {
19515
19449
  e164: () => e1642,
19516
19450
  discriminatedUnion: () => discriminatedUnion,
19517
19451
  describe: () => describe2,
19518
- date: () => date4,
19452
+ date: () => date3,
19519
19453
  custom: () => custom,
19520
19454
  cuid2: () => cuid22,
19521
19455
  cuid: () => cuid3,
@@ -19786,7 +19720,7 @@ function never(params) {
19786
19720
  function _void2(params) {
19787
19721
  return _void(ZodVoid, params);
19788
19722
  }
19789
- function date4(params) {
19723
+ function date3(params) {
19790
19724
  return _date(ZodDate, params);
19791
19725
  }
19792
19726
  function array(element, params) {
@@ -19796,7 +19730,7 @@ function keyof(schema) {
19796
19730
  const shape = schema._zod.def.shape;
19797
19731
  return _enum2(Object.keys(shape));
19798
19732
  }
19799
- function object2(shape, params) {
19733
+ function object(shape, params) {
19800
19734
  const def = {
19801
19735
  type: "object",
19802
19736
  shape: shape ?? {},
@@ -20339,7 +20273,7 @@ var init_schemas2 = __esm(() => {
20339
20273
  inst.cidrv6 = (params) => inst.check(_cidrv6(ZodCIDRv6, params));
20340
20274
  inst.e164 = (params) => inst.check(_e164(ZodE164, params));
20341
20275
  inst.datetime = (params) => inst.check(datetime2(params));
20342
- inst.date = (params) => inst.check(date3(params));
20276
+ inst.date = (params) => inst.check(date2(params));
20343
20277
  inst.time = (params) => inst.check(time2(params));
20344
20278
  inst.duration = (params) => inst.check(duration2(params));
20345
20279
  });
@@ -20779,15 +20713,15 @@ var init_schemas2 = __esm(() => {
20779
20713
  payload.issues.push(exports_util.issue(_issue));
20780
20714
  }
20781
20715
  };
20782
- const output2 = def.transform(payload.value, payload);
20783
- if (output2 instanceof Promise) {
20784
- return output2.then((output3) => {
20785
- payload.value = output3;
20716
+ const output = def.transform(payload.value, payload);
20717
+ if (output instanceof Promise) {
20718
+ return output.then((output2) => {
20719
+ payload.value = output2;
20786
20720
  payload.fallback = true;
20787
20721
  return payload;
20788
20722
  });
20789
20723
  }
20790
- payload.value = output2;
20724
+ payload.value = output;
20791
20725
  payload.fallback = true;
20792
20726
  return payload;
20793
20727
  };
@@ -21407,7 +21341,7 @@ var exports_coerce = {};
21407
21341
  __export(exports_coerce, {
21408
21342
  string: () => string3,
21409
21343
  number: () => number3,
21410
- date: () => date5,
21344
+ date: () => date4,
21411
21345
  boolean: () => boolean3,
21412
21346
  bigint: () => bigint3
21413
21347
  });
@@ -21423,7 +21357,7 @@ function boolean3(params) {
21423
21357
  function bigint3(params) {
21424
21358
  return _coercedBigint(ZodBigInt, params);
21425
21359
  }
21426
- function date5(params) {
21360
+ function date4(params) {
21427
21361
  return _coercedDate(ZodDate, params);
21428
21362
  }
21429
21363
  var init_coerce = __esm(() => {
@@ -21494,7 +21428,7 @@ __export(exports_external, {
21494
21428
  parse: () => parse3,
21495
21429
  overwrite: () => _overwrite,
21496
21430
  optional: () => optional,
21497
- object: () => object2,
21431
+ object: () => object,
21498
21432
  number: () => number2,
21499
21433
  nullish: () => nullish2,
21500
21434
  nullable: () => nullable,
@@ -21568,7 +21502,7 @@ __export(exports_external, {
21568
21502
  describe: () => describe2,
21569
21503
  decodeAsync: () => decodeAsync2,
21570
21504
  decode: () => decode2,
21571
- date: () => date4,
21505
+ date: () => date3,
21572
21506
  custom: () => custom,
21573
21507
  cuid2: () => cuid22,
21574
21508
  cuid: () => cuid3,
@@ -21686,7 +21620,7 @@ var init_external = __esm(() => {
21686
21620
  init_coerce();
21687
21621
  init_schemas2();
21688
21622
  init_checks2();
21689
- init_errors3();
21623
+ init_errors2();
21690
21624
  init_parse2();
21691
21625
  init_compat();
21692
21626
  config(en_default());
@@ -21701,7 +21635,7 @@ var init_zod = __esm(() => {
21701
21635
  // ../../node_modules/.bun/@gobing-ai+ts-runtime@0.4.39/node_modules/@gobing-ai/ts-runtime/dist/config.js
21702
21636
  var configSchema;
21703
21637
  var init_config = __esm(() => {
21704
- init_dist2();
21638
+ init_dist();
21705
21639
  init_zod();
21706
21640
  configSchema = exports_external.object({
21707
21641
  app: exports_external.object({
@@ -24064,8 +23998,25 @@ async function walkDirInto(path, fs, exclude, startReal, visited, result) {
24064
23998
  }
24065
23999
  }
24066
24000
  }
24001
+ // ../../node_modules/.bun/@gobing-ai+ts-utils@0.4.67/node_modules/@gobing-ai/ts-utils/dist/output.js
24002
+ var defaultStderrTarget;
24003
+ function processStream(name) {
24004
+ const proc = globalThis.process;
24005
+ const stream = proc?.[name];
24006
+ if (stream === undefined) {
24007
+ throw new Error(`No ${name} target available: set one via setDefaultOutputTargets or pass an explicit target`);
24008
+ }
24009
+ return stream;
24010
+ }
24011
+ function writeLine(message, target) {
24012
+ target.write(`${message}
24013
+ `);
24014
+ }
24015
+ function echoError(message, target = defaultStderrTarget ?? processStream("stderr")) {
24016
+ writeLine(message, target);
24017
+ }
24018
+
24067
24019
  // ../../plugins/ingestions/karakeep-local/src/index.ts
24068
- init_dist();
24069
24020
  var log = getLogger2("kk.ingestion.karakeep-local");
24070
24021
  function computeHash(str) {
24071
24022
  return createHash("sha256").update(str).digest("hex").slice(0, 16);