@gobing-ai/knowledge-kit 0.0.22 → 0.0.24

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