@spotlightjs/spotlight 4.11.2 → 4.11.4

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 (94) hide show
  1. package/dist/_virtual/index.js +3 -3
  2. package/dist/_virtual/index2.js +3 -3
  3. package/dist/_virtual/index3.js +3 -3
  4. package/dist/_virtual/index4.js +3 -3
  5. package/dist/_virtual/index5.js +3 -3
  6. package/dist/_virtual/index6.js +3 -3
  7. package/dist/_virtual/index7.js +3 -3
  8. package/dist/_virtual/index8.js +3 -3
  9. package/dist/_virtual/index9.js +3 -3
  10. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js +3 -3
  11. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js +2 -2
  12. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js +7 -9
  13. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js.map +1 -1
  14. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js +2 -2
  15. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js +2 -2
  16. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +18 -20
  17. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js.map +1 -1
  18. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js +2 -2
  19. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js +2 -2
  20. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -44
  21. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
  22. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js +2 -2
  23. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js +35 -29
  24. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
  25. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js +467 -465
  26. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
  27. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js +110 -104
  28. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
  29. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js +80 -74
  30. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
  31. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js +7 -9
  32. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js.map +1 -1
  33. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js +2 -2
  34. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js +17 -8
  35. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js.map +1 -1
  36. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +2 -2
  37. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +2 -2
  38. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +2 -2
  39. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +2 -2
  40. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js +2 -2
  41. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +2 -2
  42. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js +2 -2
  43. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +2 -2
  44. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +2 -2
  45. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +2 -2
  46. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +3 -4
  47. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
  48. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +2 -2
  49. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js +2 -2
  50. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +2 -2
  51. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js +3 -3
  52. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +4 -4
  53. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js +5 -5
  54. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js +2 -2
  55. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +2 -2
  56. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js +2 -2
  57. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js +2 -2
  58. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +2 -2
  59. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +2 -2
  60. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +2 -2
  61. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +2 -2
  62. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +2 -2
  63. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +2 -2
  64. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +2 -2
  65. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js +2 -2
  66. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +2 -2
  67. package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/index.js +54 -23
  68. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js.map +1 -0
  69. package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/lib/schemes.js.map +1 -1
  70. package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/lib/utils.js +76 -20
  71. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js.map +1 -0
  72. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/helper/streaming/sse.js.map +1 -0
  73. package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/middleware/cors/index.js +8 -8
  74. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/middleware/cors/index.js.map +1 -0
  75. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/html.js.map +1 -0
  76. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/stream.js.map +1 -0
  77. package/dist/sentry-config.js +2 -2
  78. package/dist/server/cli/run.js +2 -2
  79. package/dist/server/cli.js +2 -2
  80. package/dist/server/main.js +2 -2
  81. package/dist/server/mcp/mcp.js +2 -2
  82. package/dist/server/routes/stream/streaming.js +2 -2
  83. package/dist/ui/assets/instrumentation.js +2 -2
  84. package/package.json +6 -6
  85. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js.map +0 -1
  86. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js.map +0 -1
  87. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/helper/streaming/sse.js.map +0 -1
  88. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/middleware/cors/index.js.map +0 -1
  89. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/utils/html.js.map +0 -1
  90. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/utils/stream.js.map +0 -1
  91. /package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/lib/schemes.js +0 -0
  92. /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/helper/streaming/sse.js +0 -0
  93. /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/utils/html.js +0 -0
  94. /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/utils/stream.js +0 -0
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "42a9f4a6-0062-4f39-946b-9843c2cb882f", e._sentryDebugIdIdentifier = "sentry-dbid-42a9f4a6-0062-4f39-946b-9843c2cb882f");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "677747a1-7319-43c5-a006-61ab595c65a1", e._sentryDebugIdIdentifier = "sentry-dbid-677747a1-7319-43c5-a006-61ab595c65a1");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var validate = {};
9
+ var codegen = {};
10
10
  export {
11
- validate as __exports
11
+ codegen as __exports
12
12
  };
13
13
  //# sourceMappingURL=index.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "677747a1-7319-43c5-a006-61ab595c65a1", e._sentryDebugIdIdentifier = "sentry-dbid-677747a1-7319-43c5-a006-61ab595c65a1");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e20a70bc-7a8c-4b90-a482-a7dc323044ba", e._sentryDebugIdIdentifier = "sentry-dbid-e20a70bc-7a8c-4b90-a482-a7dc323044ba");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var codegen = {};
9
+ var discriminator = {};
10
10
  export {
11
- codegen as __exports
11
+ discriminator as __exports
12
12
  };
13
13
  //# sourceMappingURL=index2.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e20a70bc-7a8c-4b90-a482-a7dc323044ba", e._sentryDebugIdIdentifier = "sentry-dbid-e20a70bc-7a8c-4b90-a482-a7dc323044ba");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "60cc28d4-16de-46c2-a14b-245c2b94a7af", e._sentryDebugIdIdentifier = "sentry-dbid-60cc28d4-16de-46c2-a14b-245c2b94a7af");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var discriminator = {};
9
+ var dist = { exports: {} };
10
10
  export {
11
- discriminator as __exports
11
+ dist as __module
12
12
  };
13
13
  //# sourceMappingURL=index3.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "60cc28d4-16de-46c2-a14b-245c2b94a7af", e._sentryDebugIdIdentifier = "sentry-dbid-60cc28d4-16de-46c2-a14b-245c2b94a7af");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d04ff315-43c6-4691-8179-d1e13dc964b8", e._sentryDebugIdIdentifier = "sentry-dbid-d04ff315-43c6-4691-8179-d1e13dc964b8");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var dist = { exports: {} };
9
+ var compile = {};
10
10
  export {
11
- dist as __module
11
+ compile as __exports
12
12
  };
13
13
  //# sourceMappingURL=index4.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d04ff315-43c6-4691-8179-d1e13dc964b8", e._sentryDebugIdIdentifier = "sentry-dbid-d04ff315-43c6-4691-8179-d1e13dc964b8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f55ef64b-5dab-42bd-ad6c-8027af9a502a", e._sentryDebugIdIdentifier = "sentry-dbid-f55ef64b-5dab-42bd-ad6c-8027af9a502a");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var compile = {};
9
+ var core = {};
10
10
  export {
11
- compile as __exports
11
+ core as __exports
12
12
  };
13
13
  //# sourceMappingURL=index5.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f55ef64b-5dab-42bd-ad6c-8027af9a502a", e._sentryDebugIdIdentifier = "sentry-dbid-f55ef64b-5dab-42bd-ad6c-8027af9a502a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7c8c5265-8e9d-4515-8aeb-03412e002185", e._sentryDebugIdIdentifier = "sentry-dbid-7c8c5265-8e9d-4515-8aeb-03412e002185");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var core = {};
9
+ var validation = {};
10
10
  export {
11
- core as __exports
11
+ validation as __exports
12
12
  };
13
13
  //# sourceMappingURL=index6.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7c8c5265-8e9d-4515-8aeb-03412e002185", e._sentryDebugIdIdentifier = "sentry-dbid-7c8c5265-8e9d-4515-8aeb-03412e002185");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c3f174db-b34a-4f42-b65a-21ecec032299", e._sentryDebugIdIdentifier = "sentry-dbid-c3f174db-b34a-4f42-b65a-21ecec032299");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var validation = {};
9
+ var format = {};
10
10
  export {
11
- validation as __exports
11
+ format as __exports
12
12
  };
13
13
  //# sourceMappingURL=index7.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c3f174db-b34a-4f42-b65a-21ecec032299", e._sentryDebugIdIdentifier = "sentry-dbid-c3f174db-b34a-4f42-b65a-21ecec032299");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ee898fdd-0d2f-40fe-9d7b-7815db645dca", e._sentryDebugIdIdentifier = "sentry-dbid-ee898fdd-0d2f-40fe-9d7b-7815db645dca");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var format = {};
9
+ var applicator = {};
10
10
  export {
11
- format as __exports
11
+ applicator as __exports
12
12
  };
13
13
  //# sourceMappingURL=index8.js.map
@@ -2,12 +2,12 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ee898fdd-0d2f-40fe-9d7b-7815db645dca", e._sentryDebugIdIdentifier = "sentry-dbid-ee898fdd-0d2f-40fe-9d7b-7815db645dca");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "42a9f4a6-0062-4f39-946b-9843c2cb882f", e._sentryDebugIdIdentifier = "sentry-dbid-42a9f4a6-0062-4f39-946b-9843c2cb882f");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- var applicator = {};
9
+ var validate = {};
10
10
  export {
11
- applicator as __exports
11
+ validate as __exports
12
12
  };
13
13
  //# sourceMappingURL=index9.js.map
@@ -2,16 +2,16 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "602fbdea-3ac7-4587-8b9f-49f363a64dc6", e._sentryDebugIdIdentifier = "sentry-dbid-602fbdea-3ac7-4587-8b9f-49f363a64dc6");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7f513474-564a-4ff5-8be2-8e50af76e3ef", e._sentryDebugIdIdentifier = "sentry-dbid-7f513474-564a-4ff5-8be2-8e50af76e3ef");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { getDefaultExportFromCjs } from "../../../../../../_virtual/_commonjsHelpers.js";
10
- import { __module as dist } from "../../../../../../_virtual/index4.js";
10
+ import { __module as dist } from "../../../../../../_virtual/index3.js";
11
11
  import "./formats.js";
12
12
  import "./limit.js";
13
13
  import "../../../../ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js";
14
- import { __exports as codegen } from "../../../../../../_virtual/index2.js";
14
+ import { __exports as codegen } from "../../../../../../_virtual/index.js";
15
15
  import { __exports as formats } from "../../../../../../_virtual/formats.js";
16
16
  import { __exports as limit } from "../../../../../../_virtual/limit.js";
17
17
  (function(module, exports$1) {
@@ -2,14 +2,14 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "afd2d132-a3e6-4c5c-9141-0e564f9354a8", e._sentryDebugIdIdentifier = "sentry-dbid-afd2d132-a3e6-4c5c-9141-0e564f9354a8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "56574c06-42ec-4d13-a0a2-e589783cf0cf", e._sentryDebugIdIdentifier = "sentry-dbid-56574c06-42ec-4d13-a0a2-e589783cf0cf");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as limit } from "../../../../../../_virtual/limit.js";
10
10
  import { a as ajvExports } from "../../../../ajv@8.18.0/node_modules/ajv/dist/ajv.js";
11
11
  import "../../../../ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js";
12
- import { __exports as codegen } from "../../../../../../_virtual/index2.js";
12
+ import { __exports as codegen } from "../../../../../../_virtual/index.js";
13
13
  (function(exports$1) {
14
14
  Object.defineProperty(exports$1, "__esModule", { value: true });
15
15
  exports$1.formatLimitDefinition = void 0;
@@ -2,7 +2,7 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7f47876e-7367-45c9-83d1-48eacce41a2b", e._sentryDebugIdIdentifier = "sentry-dbid-7f47876e-7367-45c9-83d1-48eacce41a2b");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3e0851aa-37fd-4d24-8726-936da6d57633", e._sentryDebugIdIdentifier = "sentry-dbid-3e0851aa-37fd-4d24-8726-936da6d57633");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
@@ -12,17 +12,15 @@ import "./core.js";
12
12
  import "./vocabularies/draft7.js";
13
13
  import "./vocabularies/discriminator/index.js";
14
14
  import require$$3 from "./refs/json-schema-draft-07.json.js";
15
- import "./compile/validate/index.js";
15
+ import { __require as requireValidate } from "./compile/validate/index.js";
16
16
  import "./compile/codegen/index.js";
17
- import "./runtime/validation_error.js";
17
+ import { __require as requireValidation_error } from "./runtime/validation_error.js";
18
18
  import "./compile/ref_error.js";
19
- import { __exports as validate } from "../../../../../../_virtual/index.js";
20
- import { __exports as codegen } from "../../../../../../_virtual/index2.js";
21
- import { __exports as validation_error } from "../../../../../../_virtual/validation_error.js";
19
+ import { __exports as codegen } from "../../../../../../_virtual/index.js";
22
20
  import { __exports as ref_error } from "../../../../../../_virtual/ref_error.js";
23
21
  import { __exports as core } from "../../../../../../_virtual/core.js";
24
22
  import { __exports as draft7 } from "../../../../../../_virtual/draft7.js";
25
- import { __exports as discriminator } from "../../../../../../_virtual/index3.js";
23
+ import { __exports as discriminator } from "../../../../../../_virtual/index2.js";
26
24
  (function(module, exports$1) {
27
25
  Object.defineProperty(exports$1, "__esModule", { value: true });
28
26
  exports$1.MissingRefError = exports$1.ValidationError = exports$1.CodeGen = exports$1.Name = exports$1.nil = exports$1.stringify = exports$1.str = exports$1._ = exports$1.KeywordCxt = exports$1.Ajv = void 0;
@@ -56,7 +54,7 @@ import { __exports as discriminator } from "../../../../../../_virtual/index3.js
56
54
  module.exports.Ajv = Ajv2;
57
55
  Object.defineProperty(exports$1, "__esModule", { value: true });
58
56
  exports$1.default = Ajv2;
59
- var validate_1 = validate;
57
+ var validate_1 = requireValidate();
60
58
  Object.defineProperty(exports$1, "KeywordCxt", { enumerable: true, get: function() {
61
59
  return validate_1.KeywordCxt;
62
60
  } });
@@ -79,7 +77,7 @@ import { __exports as discriminator } from "../../../../../../_virtual/index3.js
79
77
  Object.defineProperty(exports$1, "CodeGen", { enumerable: true, get: function() {
80
78
  return codegen_1.CodeGen;
81
79
  } });
82
- var validation_error_1 = validation_error;
80
+ var validation_error_1 = requireValidation_error();
83
81
  Object.defineProperty(exports$1, "ValidationError", { enumerable: true, get: function() {
84
82
  return validation_error_1.default;
85
83
  } });
@@ -1 +1 @@
1
- {"version":3,"file":"ajv.js","sources":["../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;\nconst core_1 = require(\"./core\");\nconst draft7_1 = require(\"./vocabularies/draft7\");\nconst discriminator_1 = require(\"./vocabularies/discriminator\");\nconst draft7MetaSchema = require(\"./refs/json-schema-draft-07.json\");\nconst META_SUPPORT_DATA = [\"/properties\"];\nconst META_SCHEMA_ID = \"http://json-schema.org/draft-07/schema\";\nclass Ajv extends core_1.default {\n _addVocabularies() {\n super._addVocabularies();\n draft7_1.default.forEach((v) => this.addVocabulary(v));\n if (this.opts.discriminator)\n this.addKeyword(discriminator_1.default);\n }\n _addDefaultMetaSchema() {\n super._addDefaultMetaSchema();\n if (!this.opts.meta)\n return;\n const metaSchema = this.opts.$data\n ? this.$dataMetaSchema(draft7MetaSchema, META_SUPPORT_DATA)\n : draft7MetaSchema;\n this.addMetaSchema(metaSchema, META_SCHEMA_ID, false);\n this.refs[\"http://json-schema.org/schema\"] = META_SCHEMA_ID;\n }\n defaultMeta() {\n return (this.opts.defaultMeta =\n super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));\n }\n}\nexports.Ajv = Ajv;\nmodule.exports = exports = Ajv;\nmodule.exports.Ajv = Ajv;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = Ajv;\nvar validate_1 = require(\"./compile/validate\");\nObject.defineProperty(exports, \"KeywordCxt\", { enumerable: true, get: function () { return validate_1.KeywordCxt; } });\nvar codegen_1 = require(\"./compile/codegen\");\nObject.defineProperty(exports, \"_\", { enumerable: true, get: function () { return codegen_1._; } });\nObject.defineProperty(exports, \"str\", { enumerable: true, get: function () { return codegen_1.str; } });\nObject.defineProperty(exports, \"stringify\", { enumerable: true, get: function () { return codegen_1.stringify; } });\nObject.defineProperty(exports, \"nil\", { enumerable: true, get: function () { return codegen_1.nil; } });\nObject.defineProperty(exports, \"Name\", { enumerable: true, get: function () { return codegen_1.Name; } });\nObject.defineProperty(exports, \"CodeGen\", { enumerable: true, get: function () { return codegen_1.CodeGen; } });\nvar validation_error_1 = require(\"./runtime/validation_error\");\nObject.defineProperty(exports, \"ValidationError\", { enumerable: true, get: function () { return validation_error_1.default; } });\nvar ref_error_1 = require(\"./compile/ref_error\");\nObject.defineProperty(exports, \"MissingRefError\", { enumerable: true, get: function () { return ref_error_1.default; } });\n//# sourceMappingURL=ajv.js.map"],"names":["exports","require$$0","require$$1","require$$2","Ajv","require$$4","require$$5","require$$6","require$$7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAO,eAAcA,WAAU,cAAc,EAAE,OAAO,MAAM;AAC5DA,YAAA,kBAA0BA,UAAA,kBAA0BA,UAAA,UAAkBA,UAAA,OAAeA,UAAA,MAAcA,UAAA,YAAoBA,UAAA,MAAcA,UAAA,IAAYA,UAAA,aAAqBA,UAAA,MAAc;AACpL,QAAM,SAASC;AACf,QAAM,WAAWC;AACjB,QAAM,kBAAkBC;AACxB,QAAM,mBAAmB;AACzB,QAAM,oBAAoB,CAAC,aAAa;AACxC,QAAM,iBAAiB;AAAA,EACvB,MAAMC,aAAY,OAAO,QAAQ;AAAA,IAC7B,mBAAmB;AACf,YAAM,iBAAgB;AACtB,eAAS,QAAQ,QAAQ,CAAC,MAAM,KAAK,cAAc,CAAC,CAAC;AACrD,UAAI,KAAK,KAAK;AACV,aAAK,WAAW,gBAAgB,OAAO;AAAA,IACnD;AAAA,IACI,wBAAwB;AACpB,YAAM,sBAAqB;AAC3B,UAAI,CAAC,KAAK,KAAK;AACX;AACJ,YAAM,aAAa,KAAK,KAAK,QACvB,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AY;AAAE,WAAO,mBAAmB;AAAA,EAAQ,EAAE,CAAE;AAC/H,MAAI,cAAcQ;AAClB,SAAO,eAAeR,WAAS,mBAAmB,EAAE,YAAY,MAAM,KAAK,WAAY;AAAE,WAAO,YAAY;AAAA,EAAQ,EAAE,CAAE;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"ajv.js","sources":["../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;\nconst core_1 = require(\"./core\");\nconst draft7_1 = require(\"./vocabularies/draft7\");\nconst discriminator_1 = require(\"./vocabularies/discriminator\");\nconst draft7MetaSchema = require(\"./refs/json-schema-draft-07.json\");\nconst META_SUPPORT_DATA = [\"/properties\"];\nconst META_SCHEMA_ID = \"http://json-schema.org/draft-07/schema\";\nclass Ajv extends core_1.default {\n _addVocabularies() {\n super._addVocabularies();\n draft7_1.default.forEach((v) => this.addVocabulary(v));\n if (this.opts.discriminator)\n this.addKeyword(discriminator_1.default);\n }\n _addDefaultMetaSchema() {\n super._addDefaultMetaSchema();\n if (!this.opts.meta)\n return;\n const metaSchema = this.opts.$data\n ? this.$dataMetaSchema(draft7MetaSchema, META_SUPPORT_DATA)\n : draft7MetaSchema;\n this.addMetaSchema(metaSchema, META_SCHEMA_ID, false);\n this.refs[\"http://json-schema.org/schema\"] = META_SCHEMA_ID;\n }\n defaultMeta() {\n return (this.opts.defaultMeta =\n super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));\n }\n}\nexports.Ajv = Ajv;\nmodule.exports = exports = Ajv;\nmodule.exports.Ajv = Ajv;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = Ajv;\nvar validate_1 = require(\"./compile/validate\");\nObject.defineProperty(exports, \"KeywordCxt\", { enumerable: true, get: function () { return validate_1.KeywordCxt; } });\nvar codegen_1 = require(\"./compile/codegen\");\nObject.defineProperty(exports, \"_\", { enumerable: true, get: function () { return codegen_1._; } });\nObject.defineProperty(exports, \"str\", { enumerable: true, get: function () { return codegen_1.str; } });\nObject.defineProperty(exports, \"stringify\", { enumerable: true, get: function () { return codegen_1.stringify; } });\nObject.defineProperty(exports, \"nil\", { enumerable: true, get: function () { return codegen_1.nil; } });\nObject.defineProperty(exports, \"Name\", { enumerable: true, get: function () { return codegen_1.Name; } });\nObject.defineProperty(exports, \"CodeGen\", { enumerable: true, get: function () { return codegen_1.CodeGen; } });\nvar validation_error_1 = require(\"./runtime/validation_error\");\nObject.defineProperty(exports, \"ValidationError\", { enumerable: true, get: function () { return validation_error_1.default; } });\nvar ref_error_1 = require(\"./compile/ref_error\");\nObject.defineProperty(exports, \"MissingRefError\", { enumerable: true, get: function () { return ref_error_1.default; } });\n//# sourceMappingURL=ajv.js.map"],"names":["exports","require$$0","require$$1","require$$2","Ajv","require$$4","require$$5","require$$6","require$$7"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAO,eAAcA,WAAU,cAAc,EAAE,OAAO,MAAM;AAC5DA,YAAA,kBAA0BA,UAAA,kBAA0BA,UAAA,UAAkBA,UAAA,OAAeA,UAAA,MAAcA,UAAA,YAAoBA,UAAA,MAAcA,UAAA,IAAYA,UAAA,aAAqBA,UAAA,MAAc;AACpL,QAAM,SAASC;AACf,QAAM,WAAWC;AACjB,QAAM,kBAAkBC;AACxB,QAAM,mBAAmB;AACzB,QAAM,oBAAoB,CAAC,aAAa;AACxC,QAAM,iBAAiB;AAAA,EACvB,MAAMC,aAAY,OAAO,QAAQ;AAAA,IAC7B,mBAAmB;AACf,YAAM,iBAAgB;AACtB,eAAS,QAAQ,QAAQ,CAAC,MAAM,KAAK,cAAc,CAAC,CAAC;AACrD,UAAI,KAAK,KAAK;AACV,aAAK,WAAW,gBAAg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,KAAK,WAAY;AAAE,WAAO,UAAU;AAAA,EAAQ,EAAE,CAAE;AAC9G,MAAI,qBAAqBO,wBAAA;AACzB,SAAO,eAAeP,WAAS,mBAAmB,EAAE,YAAY,MAAM,KAAK,WAAY;AAAE,WAAO,mBAAmB;AAAA,EAAQ,EAAE,CAAE;AAC/H,MAAI,cAAcQ;AAClB,SAAO,eAAeR,WAAS,mBAAmB,EAAE,YAAY,MAAM,KAAK,WAAY;AAAE,WAAO,YAAY;AAAA,EAAQ,EAAE,CAAE;;;;","x_google_ignoreList":[0]}
@@ -2,11 +2,11 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "63bc1a73-061b-4026-862d-c4d1b8b12fce", e._sentryDebugIdIdentifier = "sentry-dbid-63bc1a73-061b-4026-862d-c4d1b8b12fce");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "baa08684-4c73-4b60-b4af-7250c6e38c3d", e._sentryDebugIdIdentifier = "sentry-dbid-baa08684-4c73-4b60-b4af-7250c6e38c3d");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- import { __exports as codegen } from "../../../../../../../../_virtual/index2.js";
9
+ import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
10
10
  import "./code.js";
11
11
  import "./scope.js";
12
12
  import { __exports as code } from "../../../../../../../../_virtual/code.js";
@@ -2,7 +2,7 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "62003c2c-e57c-46c9-b748-60134a35aa1a", e._sentryDebugIdIdentifier = "sentry-dbid-62003c2c-e57c-46c9-b748-60134a35aa1a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "acbc95cc-bc3b-4052-9ba7-7ff06c958b8e", e._sentryDebugIdIdentifier = "sentry-dbid-acbc95cc-bc3b-4052-9ba7-7ff06c958b8e");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
@@ -10,7 +10,7 @@ import { __exports as errors } from "../../../../../../../_virtual/errors.js";
10
10
  import "./codegen/index.js";
11
11
  import "./util.js";
12
12
  import "./names.js";
13
- import { __exports as codegen } from "../../../../../../../_virtual/index2.js";
13
+ import { __exports as codegen } from "../../../../../../../_virtual/index.js";
14
14
  import { __exports as names } from "../../../../../../../_virtual/names.js";
15
15
  import { __exports as util } from "../../../../../../../_virtual/util.js";
16
16
  (function(exports$1) {
@@ -2,31 +2,29 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bdb5367a-bc94-4a9f-9810-555bcef086af", e._sentryDebugIdIdentifier = "sentry-dbid-bdb5367a-bc94-4a9f-9810-555bcef086af");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8e3f4f5f-d0f0-498e-9e58-a356e092a888", e._sentryDebugIdIdentifier = "sentry-dbid-8e3f4f5f-d0f0-498e-9e58-a356e092a888");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- import { __exports as compile } from "../../../../../../../_virtual/index5.js";
9
+ import { __exports as compile } from "../../../../../../../_virtual/index4.js";
10
10
  import "./codegen/index.js";
11
- import "../runtime/validation_error.js";
11
+ import { __require as requireValidation_error } from "../runtime/validation_error.js";
12
12
  import "./names.js";
13
13
  import "./resolve.js";
14
14
  import "./util.js";
15
- import "./validate/index.js";
15
+ import { __require as requireValidate } from "./validate/index.js";
16
16
  import { __exports as resolve$1 } from "../../../../../../../_virtual/resolve.js";
17
- import { __exports as codegen } from "../../../../../../../_virtual/index2.js";
18
- import { __exports as validation_error } from "../../../../../../../_virtual/validation_error.js";
17
+ import { __exports as codegen } from "../../../../../../../_virtual/index.js";
19
18
  import { __exports as names } from "../../../../../../../_virtual/names.js";
20
- import { __exports as validate } from "../../../../../../../_virtual/index.js";
21
19
  import { __exports as util } from "../../../../../../../_virtual/util.js";
22
20
  Object.defineProperty(compile, "__esModule", { value: true });
23
21
  compile.resolveSchema = compile.getCompilingSchema = compile.resolveRef = compile.compileSchema = compile.SchemaEnv = void 0;
24
22
  const codegen_1 = codegen;
25
- const validation_error_1 = validation_error;
23
+ const validation_error_1 = requireValidation_error();
26
24
  const names_1 = names;
27
25
  const resolve_1 = resolve$1;
28
26
  const util_1 = util;
29
- const validate_1 = validate;
27
+ const validate_1 = requireValidate();
30
28
  class SchemaEnv {
31
29
  constructor(env) {
32
30
  var _a;
@@ -99,28 +97,28 @@ function compileSchema(sch) {
99
97
  if (this.opts.code.process)
100
98
  sourceCode = this.opts.code.process(sourceCode, sch);
101
99
  const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode);
102
- const validate2 = makeValidate(this, this.scope.get());
103
- this.scope.value(validateName, { ref: validate2 });
104
- validate2.errors = null;
105
- validate2.schema = sch.schema;
106
- validate2.schemaEnv = sch;
100
+ const validate = makeValidate(this, this.scope.get());
101
+ this.scope.value(validateName, { ref: validate });
102
+ validate.errors = null;
103
+ validate.schema = sch.schema;
104
+ validate.schemaEnv = sch;
107
105
  if (sch.$async)
108
- validate2.$async = true;
106
+ validate.$async = true;
109
107
  if (this.opts.code.source === true) {
110
- validate2.source = { validateName, validateCode, scopeValues: gen._values };
108
+ validate.source = { validateName, validateCode, scopeValues: gen._values };
111
109
  }
112
110
  if (this.opts.unevaluated) {
113
111
  const { props, items } = schemaCxt;
114
- validate2.evaluated = {
112
+ validate.evaluated = {
115
113
  props: props instanceof codegen_1.Name ? void 0 : props,
116
114
  items: items instanceof codegen_1.Name ? void 0 : items,
117
115
  dynamicProps: props instanceof codegen_1.Name,
118
116
  dynamicItems: items instanceof codegen_1.Name
119
117
  };
120
- if (validate2.source)
121
- validate2.source.evaluated = (0, codegen_1.stringify)(validate2.evaluated);
118
+ if (validate.source)
119
+ validate.source.evaluated = (0, codegen_1.stringify)(validate.evaluated);
122
120
  }
123
- sch.validate = validate2;
121
+ sch.validate = validate;
124
122
  return sch;
125
123
  } catch (e) {
126
124
  delete sch.validate;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;\nconst codegen_1 = require(\"./codegen\");\nconst validation_error_1 = require(\"../runtime/validation_error\");\nconst names_1 = require(\"./names\");\nconst resolve_1 = require(\"./resolve\");\nconst util_1 = require(\"./util\");\nconst validate_1 = require(\"./validate\");\nclass SchemaEnv {\n constructor(env) {\n var _a;\n this.refs = {};\n this.dynamicAnchors = {};\n let schema;\n if (typeof env.schema == \"object\")\n schema = env.schema;\n this.schema = env.schema;\n this.schemaId = env.schemaId;\n this.root = env.root || this;\n this.baseId = (_a = env.baseId) !== null && _a !== void 0 ? _a : (0, resolve_1.normalizeId)(schema === null || schema === void 0 ? void 0 : schema[env.schemaId || \"$id\"]);\n this.schemaPath = env.schemaPath;\n this.localRefs = env.localRefs;\n this.meta = env.meta;\n this.$async = schema === null || schema === void 0 ? void 0 : schema.$async;\n this.refs = {};\n }\n}\nexports.SchemaEnv = SchemaEnv;\n// let codeSize = 0\n// let nodeCount = 0\n// Compiles schema in SchemaEnv\nfunction compileSchema(sch) {\n // TODO refactor - remove compilations\n const _sch = getCompilingSchema.call(this, sch);\n if (_sch)\n return _sch;\n const rootId = (0, resolve_1.getFullPath)(this.opts.uriResolver, sch.root.baseId); // TODO if getFullPath removed 1 tests fails\n const { es5, lines } = this.opts.code;\n const { ownProperties } = this.opts;\n const gen = new codegen_1.CodeGen(this.scope, { es5, lines, ownProperties });\n let _ValidationError;\n if (sch.$async) {\n _ValidationError = gen.scopeValue(\"Error\", {\n ref: validation_error_1.default,\n code: (0, codegen_1._) `require(\"ajv/dist/runtime/validation_error\").default`,\n });\n }\n const validateName = gen.scopeName(\"validate\");\n sch.validateName = validateName;\n const schemaCxt = {\n gen,\n allErrors: this.opts.allErrors,\n data: names_1.default.data,\n parentData: names_1.default.parentData,\n parentDataProperty: names_1.default.parentDataProperty,\n dataNames: [names_1.default.data],\n dataPathArr: [codegen_1.nil], // TODO can its length be used as dataLevel if nil is removed?\n dataLevel: 0,\n dataTypes: [],\n definedProperties: new Set(),\n topSchemaRef: gen.scopeValue(\"schema\", this.opts.code.source === true\n ? { ref: sch.schema, code: (0, codegen_1.stringify)(sch.schema) }\n : { ref: sch.schema }),\n validateName,\n ValidationError: _ValidationError,\n schema: sch.schema,\n schemaEnv: sch,\n rootId,\n baseId: sch.baseId || rootId,\n schemaPath: codegen_1.nil,\n errSchemaPath: sch.schemaPath || (this.opts.jtd ? \"\" : \"#\"),\n errorPath: (0, codegen_1._) `\"\"`,\n opts: this.opts,\n self: this,\n };\n let sourceCode;\n try {\n this._compilations.add(sch);\n (0, validate_1.validateFunctionCode)(schemaCxt);\n gen.optimize(this.opts.code.optimize);\n // gen.optimize(1)\n const validateCode = gen.toString();\n sourceCode = `${gen.scopeRefs(names_1.default.scope)}return ${validateCode}`;\n // console.log((codeSize += sourceCode.length), (nodeCount += gen.nodeCount))\n if (this.opts.code.process)\n sourceCode = this.opts.code.process(sourceCode, sch);\n // console.log(\"\\n\\n\\n *** \\n\", sourceCode)\n const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode);\n const validate = makeValidate(this, this.scope.get());\n this.scope.value(validateName, { ref: validate });\n validate.errors = null;\n validate.schema = sch.schema;\n validate.schemaEnv = sch;\n if (sch.$async)\n validate.$async = true;\n if (this.opts.code.source === true) {\n validate.source = { validateName, validateCode, scopeValues: gen._values };\n }\n if (this.opts.unevaluated) {\n const { props, items } = schemaCxt;\n validate.evaluated = {\n props: props instanceof codegen_1.Name ? undefined : props,\n items: items instanceof codegen_1.Name ? undefined : items,\n dynamicProps: props instanceof codegen_1.Name,\n dynamicItems: items instanceof codegen_1.Name,\n };\n if (validate.source)\n validate.source.evaluated = (0, codegen_1.stringify)(validate.evaluated);\n }\n sch.validate = validate;\n return sch;\n }\n catch (e) {\n delete sch.validate;\n delete sch.validateName;\n if (sourceCode)\n this.logger.error(\"Error compiling schema, function code:\", sourceCode);\n // console.log(\"\\n\\n\\n *** \\n\", sourceCode, this.opts)\n throw e;\n }\n finally {\n this._compilations.delete(sch);\n }\n}\nexports.compileSchema = compileSchema;\nfunction resolveRef(root, baseId, ref) {\n var _a;\n ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, ref);\n const schOrFunc = root.refs[ref];\n if (schOrFunc)\n return schOrFunc;\n let _sch = resolve.call(this, root, ref);\n if (_sch === undefined) {\n const schema = (_a = root.localRefs) === null || _a === void 0 ? void 0 : _a[ref]; // TODO maybe localRefs should hold SchemaEnv\n const { schemaId } = this.opts;\n if (schema)\n _sch = new SchemaEnv({ schema, schemaId, root, baseId });\n }\n if (_sch === undefined)\n return;\n return (root.refs[ref] = inlineOrCompile.call(this, _sch));\n}\nexports.resolveRef = resolveRef;\nfunction inlineOrCompile(sch) {\n if ((0, resolve_1.inlineRef)(sch.schema, this.opts.inlineRefs))\n return sch.schema;\n return sch.validate ? sch : compileSchema.call(this, sch);\n}\n// Index of schema compilation in the currently compiled list\nfunction getCompilingSchema(schEnv) {\n for (const sch of this._compilations) {\n if (sameSchemaEnv(sch, schEnv))\n return sch;\n }\n}\nexports.getCompilingSchema = getCompilingSchema;\nfunction sameSchemaEnv(s1, s2) {\n return s1.schema === s2.schema && s1.root === s2.root && s1.baseId === s2.baseId;\n}\n// resolve and compile the references ($ref)\n// TODO returns AnySchemaObject (if the schema can be inlined) or validation function\nfunction resolve(root, // information about the root schema for the current schema\nref // reference to resolve\n) {\n let sch;\n while (typeof (sch = this.refs[ref]) == \"string\")\n ref = sch;\n return sch || this.schemas[ref] || resolveSchema.call(this, root, ref);\n}\n// Resolve schema, its root and baseId\nfunction resolveSchema(root, // root object with properties schema, refs TODO below SchemaEnv is assigned to it\nref // reference to resolve\n) {\n const p = this.opts.uriResolver.parse(ref);\n const refPath = (0, resolve_1._getFullPath)(this.opts.uriResolver, p);\n let baseId = (0, resolve_1.getFullPath)(this.opts.uriResolver, root.baseId, undefined);\n // TODO `Object.keys(root.schema).length > 0` should not be needed - but removing breaks 2 tests\n if (Object.keys(root.schema).length > 0 && refPath === baseId) {\n return getJsonPointer.call(this, p, root);\n }\n const id = (0, resolve_1.normalizeId)(refPath);\n const schOrRef = this.refs[id] || this.schemas[id];\n if (typeof schOrRef == \"string\") {\n const sch = resolveSchema.call(this, root, schOrRef);\n if (typeof (sch === null || sch === void 0 ? void 0 : sch.schema) !== \"object\")\n return;\n return getJsonPointer.call(this, p, sch);\n }\n if (typeof (schOrRef === null || schOrRef === void 0 ? void 0 : schOrRef.schema) !== \"object\")\n return;\n if (!schOrRef.validate)\n compileSchema.call(this, schOrRef);\n if (id === (0, resolve_1.normalizeId)(ref)) {\n const { schema } = schOrRef;\n const { schemaId } = this.opts;\n const schId = schema[schemaId];\n if (schId)\n baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);\n return new SchemaEnv({ schema, schemaId, root, baseId });\n }\n return getJsonPointer.call(this, p, schOrRef);\n}\nexports.resolveSchema = resolveSchema;\nconst PREVENT_SCOPE_CHANGE = new Set([\n \"properties\",\n \"patternProperties\",\n \"enum\",\n \"dependencies\",\n \"definitions\",\n]);\nfunction getJsonPointer(parsedRef, { baseId, schema, root }) {\n var _a;\n if (((_a = parsedRef.fragment) === null || _a === void 0 ? void 0 : _a[0]) !== \"/\")\n return;\n for (const part of parsedRef.fragment.slice(1).split(\"/\")) {\n if (typeof schema === \"boolean\")\n return;\n const partSchema = schema[(0, util_1.unescapeFragment)(part)];\n if (partSchema === undefined)\n return;\n schema = partSchema;\n // TODO PREVENT_SCOPE_CHANGE could be defined in keyword def?\n const schId = typeof schema === \"object\" && schema[this.opts.schemaId];\n if (!PREVENT_SCOPE_CHANGE.has(part) && schId) {\n baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);\n }\n }\n let env;\n if (typeof schema != \"boolean\" && schema.$ref && !(0, util_1.schemaHasRulesButRef)(schema, this.RULES)) {\n const $ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schema.$ref);\n env = resolveSchema.call(this, root, $ref);\n }\n // even though resolution failed we need to return SchemaEnv to throw exception\n // so that compileAsync loads missing schema.\n const { schemaId } = this.opts;\n env = env || new SchemaEnv({ schema, schemaId, root, baseId });\n if (env.schema !== env.root.schema)\n return env;\n return undefined;\n}\n//# sourceMappingURL=index.js.map"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","validate"],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,QAAA,gBAAwB,QAAA,qBAA6B,QAAA,aAAqB,QAAA,gBAAwB,QAAA,YAAoB;AACtH,MAAM,YAAYA;AAClB,MAAM,qBAAqBC;AAC3B,MAAM,UAAUC;AAChB,MAAM,YAAYC;AAClB,MAAM,SAASC;AACf,MAAM,aAAaC;AACnB,MAAM,UAAU;AAAA,EACZ,YAAY,KAAK;AACb,QAAI;AACJ,SAAK,OAAO,CAAA;AACZ,SAAK,iBAAiB,CAAA;AACtB,QAAI;AACJ,QAAI,OAAO,IAAI,UAAU;AACrB,eAAS,IAAI;AACjB,SAAK,SAAS,IAAI;AACl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B,QAAM,OAAO,IAAI,UAAU,EAAE,QAAQ,UAAU,MAAM,QAAQ;AAC7D,MAAI,IAAI,WAAW,IAAI,KAAK;AACxB,WAAO;AACX,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;\nconst codegen_1 = require(\"./codegen\");\nconst validation_error_1 = require(\"../runtime/validation_error\");\nconst names_1 = require(\"./names\");\nconst resolve_1 = require(\"./resolve\");\nconst util_1 = require(\"./util\");\nconst validate_1 = require(\"./validate\");\nclass SchemaEnv {\n constructor(env) {\n var _a;\n this.refs = {};\n this.dynamicAnchors = {};\n let schema;\n if (typeof env.schema == \"object\")\n schema = env.schema;\n this.schema = env.schema;\n this.schemaId = env.schemaId;\n this.root = env.root || this;\n this.baseId = (_a = env.baseId) !== null && _a !== void 0 ? _a : (0, resolve_1.normalizeId)(schema === null || schema === void 0 ? void 0 : schema[env.schemaId || \"$id\"]);\n this.schemaPath = env.schemaPath;\n this.localRefs = env.localRefs;\n this.meta = env.meta;\n this.$async = schema === null || schema === void 0 ? void 0 : schema.$async;\n this.refs = {};\n }\n}\nexports.SchemaEnv = SchemaEnv;\n// let codeSize = 0\n// let nodeCount = 0\n// Compiles schema in SchemaEnv\nfunction compileSchema(sch) {\n // TODO refactor - remove compilations\n const _sch = getCompilingSchema.call(this, sch);\n if (_sch)\n return _sch;\n const rootId = (0, resolve_1.getFullPath)(this.opts.uriResolver, sch.root.baseId); // TODO if getFullPath removed 1 tests fails\n const { es5, lines } = this.opts.code;\n const { ownProperties } = this.opts;\n const gen = new codegen_1.CodeGen(this.scope, { es5, lines, ownProperties });\n let _ValidationError;\n if (sch.$async) {\n _ValidationError = gen.scopeValue(\"Error\", {\n ref: validation_error_1.default,\n code: (0, codegen_1._) `require(\"ajv/dist/runtime/validation_error\").default`,\n });\n }\n const validateName = gen.scopeName(\"validate\");\n sch.validateName = validateName;\n const schemaCxt = {\n gen,\n allErrors: this.opts.allErrors,\n data: names_1.default.data,\n parentData: names_1.default.parentData,\n parentDataProperty: names_1.default.parentDataProperty,\n dataNames: [names_1.default.data],\n dataPathArr: [codegen_1.nil], // TODO can its length be used as dataLevel if nil is removed?\n dataLevel: 0,\n dataTypes: [],\n definedProperties: new Set(),\n topSchemaRef: gen.scopeValue(\"schema\", this.opts.code.source === true\n ? { ref: sch.schema, code: (0, codegen_1.stringify)(sch.schema) }\n : { ref: sch.schema }),\n validateName,\n ValidationError: _ValidationError,\n schema: sch.schema,\n schemaEnv: sch,\n rootId,\n baseId: sch.baseId || rootId,\n schemaPath: codegen_1.nil,\n errSchemaPath: sch.schemaPath || (this.opts.jtd ? \"\" : \"#\"),\n errorPath: (0, codegen_1._) `\"\"`,\n opts: this.opts,\n self: this,\n };\n let sourceCode;\n try {\n this._compilations.add(sch);\n (0, validate_1.validateFunctionCode)(schemaCxt);\n gen.optimize(this.opts.code.optimize);\n // gen.optimize(1)\n const validateCode = gen.toString();\n sourceCode = `${gen.scopeRefs(names_1.default.scope)}return ${validateCode}`;\n // console.log((codeSize += sourceCode.length), (nodeCount += gen.nodeCount))\n if (this.opts.code.process)\n sourceCode = this.opts.code.process(sourceCode, sch);\n // console.log(\"\\n\\n\\n *** \\n\", sourceCode)\n const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode);\n const validate = makeValidate(this, this.scope.get());\n this.scope.value(validateName, { ref: validate });\n validate.errors = null;\n validate.schema = sch.schema;\n validate.schemaEnv = sch;\n if (sch.$async)\n validate.$async = true;\n if (this.opts.code.source === true) {\n validate.source = { validateName, validateCode, scopeValues: gen._values };\n }\n if (this.opts.unevaluated) {\n const { props, items } = schemaCxt;\n validate.evaluated = {\n props: props instanceof codegen_1.Name ? undefined : props,\n items: items instanceof codegen_1.Name ? undefined : items,\n dynamicProps: props instanceof codegen_1.Name,\n dynamicItems: items instanceof codegen_1.Name,\n };\n if (validate.source)\n validate.source.evaluated = (0, codegen_1.stringify)(validate.evaluated);\n }\n sch.validate = validate;\n return sch;\n }\n catch (e) {\n delete sch.validate;\n delete sch.validateName;\n if (sourceCode)\n this.logger.error(\"Error compiling schema, function code:\", sourceCode);\n // console.log(\"\\n\\n\\n *** \\n\", sourceCode, this.opts)\n throw e;\n }\n finally {\n this._compilations.delete(sch);\n }\n}\nexports.compileSchema = compileSchema;\nfunction resolveRef(root, baseId, ref) {\n var _a;\n ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, ref);\n const schOrFunc = root.refs[ref];\n if (schOrFunc)\n return schOrFunc;\n let _sch = resolve.call(this, root, ref);\n if (_sch === undefined) {\n const schema = (_a = root.localRefs) === null || _a === void 0 ? void 0 : _a[ref]; // TODO maybe localRefs should hold SchemaEnv\n const { schemaId } = this.opts;\n if (schema)\n _sch = new SchemaEnv({ schema, schemaId, root, baseId });\n }\n if (_sch === undefined)\n return;\n return (root.refs[ref] = inlineOrCompile.call(this, _sch));\n}\nexports.resolveRef = resolveRef;\nfunction inlineOrCompile(sch) {\n if ((0, resolve_1.inlineRef)(sch.schema, this.opts.inlineRefs))\n return sch.schema;\n return sch.validate ? sch : compileSchema.call(this, sch);\n}\n// Index of schema compilation in the currently compiled list\nfunction getCompilingSchema(schEnv) {\n for (const sch of this._compilations) {\n if (sameSchemaEnv(sch, schEnv))\n return sch;\n }\n}\nexports.getCompilingSchema = getCompilingSchema;\nfunction sameSchemaEnv(s1, s2) {\n return s1.schema === s2.schema && s1.root === s2.root && s1.baseId === s2.baseId;\n}\n// resolve and compile the references ($ref)\n// TODO returns AnySchemaObject (if the schema can be inlined) or validation function\nfunction resolve(root, // information about the root schema for the current schema\nref // reference to resolve\n) {\n let sch;\n while (typeof (sch = this.refs[ref]) == \"string\")\n ref = sch;\n return sch || this.schemas[ref] || resolveSchema.call(this, root, ref);\n}\n// Resolve schema, its root and baseId\nfunction resolveSchema(root, // root object with properties schema, refs TODO below SchemaEnv is assigned to it\nref // reference to resolve\n) {\n const p = this.opts.uriResolver.parse(ref);\n const refPath = (0, resolve_1._getFullPath)(this.opts.uriResolver, p);\n let baseId = (0, resolve_1.getFullPath)(this.opts.uriResolver, root.baseId, undefined);\n // TODO `Object.keys(root.schema).length > 0` should not be needed - but removing breaks 2 tests\n if (Object.keys(root.schema).length > 0 && refPath === baseId) {\n return getJsonPointer.call(this, p, root);\n }\n const id = (0, resolve_1.normalizeId)(refPath);\n const schOrRef = this.refs[id] || this.schemas[id];\n if (typeof schOrRef == \"string\") {\n const sch = resolveSchema.call(this, root, schOrRef);\n if (typeof (sch === null || sch === void 0 ? void 0 : sch.schema) !== \"object\")\n return;\n return getJsonPointer.call(this, p, sch);\n }\n if (typeof (schOrRef === null || schOrRef === void 0 ? void 0 : schOrRef.schema) !== \"object\")\n return;\n if (!schOrRef.validate)\n compileSchema.call(this, schOrRef);\n if (id === (0, resolve_1.normalizeId)(ref)) {\n const { schema } = schOrRef;\n const { schemaId } = this.opts;\n const schId = schema[schemaId];\n if (schId)\n baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);\n return new SchemaEnv({ schema, schemaId, root, baseId });\n }\n return getJsonPointer.call(this, p, schOrRef);\n}\nexports.resolveSchema = resolveSchema;\nconst PREVENT_SCOPE_CHANGE = new Set([\n \"properties\",\n \"patternProperties\",\n \"enum\",\n \"dependencies\",\n \"definitions\",\n]);\nfunction getJsonPointer(parsedRef, { baseId, schema, root }) {\n var _a;\n if (((_a = parsedRef.fragment) === null || _a === void 0 ? void 0 : _a[0]) !== \"/\")\n return;\n for (const part of parsedRef.fragment.slice(1).split(\"/\")) {\n if (typeof schema === \"boolean\")\n return;\n const partSchema = schema[(0, util_1.unescapeFragment)(part)];\n if (partSchema === undefined)\n return;\n schema = partSchema;\n // TODO PREVENT_SCOPE_CHANGE could be defined in keyword def?\n const schId = typeof schema === \"object\" && schema[this.opts.schemaId];\n if (!PREVENT_SCOPE_CHANGE.has(part) && schId) {\n baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);\n }\n }\n let env;\n if (typeof schema != \"boolean\" && schema.$ref && !(0, util_1.schemaHasRulesButRef)(schema, this.RULES)) {\n const $ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schema.$ref);\n env = resolveSchema.call(this, root, $ref);\n }\n // even though resolution failed we need to return SchemaEnv to throw exception\n // so that compileAsync loads missing schema.\n const { schemaId } = this.opts;\n env = env || new SchemaEnv({ schema, schemaId, root, baseId });\n if (env.schema !== env.root.schema)\n return env;\n return undefined;\n}\n//# sourceMappingURL=index.js.map"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5"],"mappings":";;;;;;;;;;;;;;;;;;;AACA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,QAAA,gBAAwB,QAAA,qBAA6B,QAAA,aAAqB,QAAA,gBAAwB,QAAA,YAAoB;AACtH,MAAM,YAAYA;AAClB,MAAM,qBAAqBC,wBAAA;AAC3B,MAAM,UAAUC;AAChB,MAAM,YAAYC;AAClB,MAAM,SAASC;AACf,MAAM,aAAaC,gBAAA;AACnB,MAAM,UAAU;AAAA,EACZ,YAAY,KAAK;AACb,QAAI;AACJ,SAAK,OAAO,CAAA;AACZ,SAAK,iBAAiB,CAAA;AACtB,QAAI;AACJ,QAAI,OAAO,IAAI,UAAU;AACrB,eAAS,IAAI;AACjB,SAAK,SAAS,IAAI;AAClB,SAAK,WAAW,IAAI;AACpB,SAAK,OAAO,IAAI,QAAQ;AACxB,SAAK,UAAU,KAAK,IAAI,YAAY,QAAQ,OAAO,SAAS,MAAK,GAAI,UAAU,aAAa,WAAW,QAAQ,WAAW,SAAS,SAAS,OAAO,IAAI,YAAY,KAAK,CAAC;AACzK,SAAK,aAAa,IAAI;AACtB,SAAK,Y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e,KAAK,MAAM,GAAG,QAAQ;AAChD;AACA,QAAA,gBAAwB;AACxB,MAAM,uBAAuB,oBAAI,IAAI;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,CAAC;AACD,SAAS,eAAe,WAAW,EAAE,QAAQ,QAAQ,KAAI,GAAI;AACzD,MAAI;AACJ,QAAM,KAAK,UAAU,cAAc,QAAQ,OAAO,SAAS,SAAS,GAAG,CAAC,OAAO;AAC3E;AACJ,aAAW,QAAQ,UAAU,SAAS,MAAM,CAAC,EAAE,MAAM,GAAG,GAAG;AACvD,QAAI,OAAO,WAAW;AAClB;AACJ,UAAM,aAAa,QAAO,GAAI,OAAO,kBAAkB,IAAI,CAAC;AAC5D,QAAI,eAAe;AACf;AACJ,aAAS;AAET,UAAM,QAAQ,OAAO,WAAW,YAAY,OAAO,KAAK,KAAK,QAAQ;AACrE,QAAI,CAAC,qBAAqB,IAAI,IAAI,KAAK,OAAO;AAC1C,gBAAS,GAAI,UAAU,YAAY,KAAK,KAAK,aAAa,QAAQ,KAAK;AAAA,IACnF;AAAA,EACA;AACI,MAAI;AACJ,MAAI,OAAO,UAAU,aAAa,OAAO,QAAQ,KAAK,OAAO,sBAAsB,QAAQ,KAAK,KAAK,GAAG;AACpG,UAAM,WAAW,UAAU,YAAY,KAAK,KAAK,aAAa,QAAQ,OAAO,IAAI;AACjF,UAAM,cAAc,KAAK,MAAM,MAAM,IAAI;AAAA,EACjD;AAGI,QAAM,EAAE,aAAa,KAAK;AAC1B,QAAM,OAAO,IAAI,UAAU,EAAE,QAAQ,UAAU,MAAM,QAAQ;AAC7D,MAAI,IAAI,WAAW,IAAI,KAAK;AACxB,WAAO;AACX,SAAO;AACX;","x_google_ignoreList":[0]}
@@ -2,13 +2,13 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a33503e8-3382-4df5-8cef-50d17b3ae18c", e._sentryDebugIdIdentifier = "sentry-dbid-a33503e8-3382-4df5-8cef-50d17b3ae18c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b389f475-8dd1-480e-81d9-77262bbfc256", e._sentryDebugIdIdentifier = "sentry-dbid-b389f475-8dd1-480e-81d9-77262bbfc256");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as names$1 } from "../../../../../../../_virtual/names.js";
10
10
  import "./codegen/index.js";
11
- import { __exports as codegen } from "../../../../../../../_virtual/index2.js";
11
+ import { __exports as codegen } from "../../../../../../../_virtual/index.js";
12
12
  Object.defineProperty(names$1, "__esModule", { value: true });
13
13
  const codegen_1 = codegen;
14
14
  const names = {
@@ -2,14 +2,14 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "880b731f-37f1-4e5f-b967-d7ca4d67607f", e._sentryDebugIdIdentifier = "sentry-dbid-880b731f-37f1-4e5f-b967-d7ca4d67607f");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "01118070-ebce-46d1-841f-49a310a162e0", e._sentryDebugIdIdentifier = "sentry-dbid-01118070-ebce-46d1-841f-49a310a162e0");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as util } from "../../../../../../../_virtual/util.js";
10
10
  import "./codegen/index.js";
11
11
  import "./codegen/code.js";
12
- import { __exports as codegen } from "../../../../../../../_virtual/index2.js";
12
+ import { __exports as codegen } from "../../../../../../../_virtual/index.js";
13
13
  import { __exports as code } from "../../../../../../../_virtual/code.js";
14
14
  Object.defineProperty(util, "__esModule", { value: true });
15
15
  util.checkStrictMode = util.getErrorPath = util.Type = util.useFunc = util.setEvaluated = util.evaluatedPropsToName = util.mergeEvaluated = util.eachItem = util.unescapeJsonPointer = util.escapeJsonPointer = util.escapeFragment = util.unescapeFragment = util.schemaRefOrVal = util.schemaHasRulesButRef = util.schemaHasRules = util.checkUnknownRules = util.alwaysValidSchema = util.toHash = void 0;