@oceanum/eidos 0.9.2 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,12 +1,13 @@
1
- import { createContext as En, useContext as Sn, useRef as Jt, useState as Pn, useEffect as Rn } from "react";
2
- const Nn = Symbol(), Wt = Object.getPrototypeOf, Vt = /* @__PURE__ */ new WeakMap(), On = (e) => e && (Vt.has(e) ? Vt.get(e) : Wt(e) === Object.prototype || Wt(e) === Array.prototype), jn = (e) => On(e) && e[Nn] || null, Bt = (e, a = !0) => {
1
+ import { jsxs as Sn, jsx as Jt } from "react/jsx-runtime";
2
+ import { createContext as Pn, useContext as Rn, useRef as Wt, useState as Nn, useEffect as On } from "react";
3
+ const jn = Symbol(), Bt = Object.getPrototypeOf, Vt = /* @__PURE__ */ new WeakMap(), kn = (e) => e && (Vt.has(e) ? Vt.get(e) : Bt(e) === Object.prototype || Bt(e) === Array.prototype), In = (e) => kn(e) && e[jn] || null, Xt = (e, a = !0) => {
3
4
  Vt.set(e, a);
4
- }, mt = {}, zt = (e) => typeof e == "object" && e !== null, kn = (e) => zt(e) && !Ut.has(e) && (Array.isArray(e) || !(Symbol.iterator in e)) && !(e instanceof WeakMap) && !(e instanceof WeakSet) && !(e instanceof Error) && !(e instanceof Number) && !(e instanceof Date) && !(e instanceof String) && !(e instanceof RegExp) && !(e instanceof ArrayBuffer) && !(e instanceof Promise), hn = (e, a) => {
5
- const g = Xt.get(e);
5
+ }, mt = {}, zt = (e) => typeof e == "object" && e !== null, Tn = (e) => zt(e) && !Ut.has(e) && (Array.isArray(e) || !(Symbol.iterator in e)) && !(e instanceof WeakMap) && !(e instanceof WeakSet) && !(e instanceof Error) && !(e instanceof Number) && !(e instanceof Date) && !(e instanceof String) && !(e instanceof RegExp) && !(e instanceof ArrayBuffer) && !(e instanceof Promise), pn = (e, a) => {
6
+ const g = Qt.get(e);
6
7
  if (g?.[0] === a)
7
8
  return g[1];
8
9
  const u = Array.isArray(e) ? [] : Object.create(Object.getPrototypeOf(e));
9
- return Bt(u, !0), Xt.set(e, [a, u]), Reflect.ownKeys(e).forEach((v) => {
10
+ return Xt(u, !0), Qt.set(e, [a, u]), Reflect.ownKeys(e).forEach((v) => {
10
11
  if (Object.getOwnPropertyDescriptor(u, v))
11
12
  return;
12
13
  const o = Reflect.get(e, v), { enumerable: l } = Reflect.getOwnPropertyDescriptor(
@@ -20,16 +21,16 @@ const Nn = Symbol(), Wt = Object.getPrototypeOf, Vt = /* @__PURE__ */ new WeakMa
20
21
  configurable: !0
21
22
  };
22
23
  if (Ut.has(o))
23
- Bt(o, !1);
24
+ Xt(o, !1);
24
25
  else if (be.has(o)) {
25
26
  const [d, _] = be.get(
26
27
  o
27
28
  );
28
- c.value = hn(d, _());
29
+ c.value = pn(d, _());
29
30
  }
30
31
  Object.defineProperty(u, v, c);
31
32
  }), Object.preventExtensions(u);
32
- }, In = (e, a, g, u) => ({
33
+ }, qn = (e, a, g, u) => ({
33
34
  deleteProperty(v, o) {
34
35
  Reflect.get(v, o), g(o);
35
36
  const l = Reflect.deleteProperty(v, o);
@@ -37,15 +38,15 @@ const Nn = Symbol(), Wt = Object.getPrototypeOf, Vt = /* @__PURE__ */ new WeakMa
37
38
  },
38
39
  set(v, o, l, c) {
39
40
  const d = !e() && Reflect.has(v, o), _ = Reflect.get(v, o, c);
40
- if (d && (Qt(_, l) || yt.has(l) && Qt(_, yt.get(l))))
41
+ if (d && (Yt(_, l) || yt.has(l) && Yt(_, yt.get(l))))
41
42
  return !0;
42
- g(o), zt(l) && (l = jn(l) || l);
43
- const h = !be.has(l) && qn(l) ? pn(l) : l;
43
+ g(o), zt(l) && (l = In(l) || l);
44
+ const h = !be.has(l) && An(l) ? mn(l) : l;
44
45
  return a(o, h), Reflect.set(v, o, h, c), u(void 0), !0;
45
46
  }
46
- }), be = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakSet(), Xt = /* @__PURE__ */ new WeakMap(), Rt = [1], yt = /* @__PURE__ */ new WeakMap();
47
- let Qt = Object.is, Tn = (e, a) => new Proxy(e, a), qn = kn, Cn = hn, An = In;
48
- function pn(e = {}) {
47
+ }), be = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakSet(), Qt = /* @__PURE__ */ new WeakMap(), Rt = [1], yt = /* @__PURE__ */ new WeakMap();
48
+ let Yt = Object.is, Cn = (e, a) => new Proxy(e, a), An = Tn, Mn = pn, Dn = qn;
49
+ function mn(e = {}) {
49
50
  if (!zt(e))
50
51
  throw new Error("object required");
51
52
  const a = yt.get(e);
@@ -88,12 +89,12 @@ function pn(e = {}) {
88
89
  });
89
90
  });
90
91
  let R = !0;
91
- const E = An(
92
+ const E = Dn(
92
93
  () => R,
93
94
  _,
94
95
  h,
95
96
  v
96
- ), b = Tn(e, E);
97
+ ), b = Cn(e, E);
97
98
  yt.set(e, b);
98
99
  const y = [e, l, S];
99
100
  return be.set(b, y), Reflect.ownKeys(e).forEach((n) => {
@@ -104,7 +105,7 @@ function pn(e = {}) {
104
105
  "value" in r && r.writable && (b[n] = e[n]);
105
106
  }), R = !1, b;
106
107
  }
107
- function Mn(e, a, g) {
108
+ function Vn(e, a, g) {
108
109
  const u = be.get(e);
109
110
  (mt ? "production" : void 0) !== "production" && !u && console.warn("Please use proxy object");
110
111
  let v;
@@ -119,18 +120,18 @@ function Mn(e, a, g) {
119
120
  c = !1, _();
120
121
  };
121
122
  }
122
- function Dn(e) {
123
+ function zn(e) {
123
124
  const a = be.get(e);
124
125
  (mt ? "production" : void 0) !== "production" && !a && console.warn("Please use proxy object");
125
126
  const [g, u] = a;
126
- return Cn(g, u());
127
+ return Mn(g, u());
127
128
  }
128
- function Vn(e) {
129
+ function Un(e) {
129
130
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
130
131
  }
131
- var Ie = { exports: {} }, Nt = {}, he = {}, ge = {}, Ot = {}, jt = {}, kt = {}, Yt;
132
+ var Ie = { exports: {} }, Nt = {}, he = {}, ge = {}, Ot = {}, jt = {}, kt = {}, Zt;
132
133
  function vt() {
133
- return Yt || (Yt = 1, function(e) {
134
+ return Zt || (Zt = 1, function(e) {
134
135
  Object.defineProperty(e, "__esModule", { value: !0 }), e.regexpCode = e.getEsmExportName = e.getProperty = e.safeStringify = e.stringify = e.strConcat = e.addCodeArg = e.str = e._ = e.nil = e._Code = e.Name = e.IDENTIFIER = e._CodeOrName = void 0;
135
136
  class a {
136
137
  }
@@ -251,9 +252,9 @@ function vt() {
251
252
  e.regexpCode = n;
252
253
  }(kt)), kt;
253
254
  }
254
- var It = {}, Zt;
255
- function xt() {
256
- return Zt || (Zt = 1, function(e) {
255
+ var It = {}, xt;
256
+ function er() {
257
+ return xt || (xt = 1, function(e) {
257
258
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
258
259
  const a = vt();
259
260
  class g extends Error {
@@ -374,11 +375,11 @@ function xt() {
374
375
  e.ValueScope = c;
375
376
  }(It)), It;
376
377
  }
377
- var er;
378
+ var tr;
378
379
  function J() {
379
- return er || (er = 1, function(e) {
380
+ return tr || (tr = 1, function(e) {
380
381
  Object.defineProperty(e, "__esModule", { value: !0 }), e.or = e.and = e.not = e.CodeGen = e.operators = e.varKinds = e.ValueScopeName = e.ValueScope = e.Scope = e.Name = e.regexpCode = e.stringify = e.getProperty = e.nil = e.strConcat = e.str = e._ = void 0;
381
- const a = vt(), g = xt();
382
+ const a = vt(), g = er();
382
383
  var u = vt();
383
384
  Object.defineProperty(e, "_", { enumerable: !0, get: function() {
384
385
  return u._;
@@ -397,7 +398,7 @@ function J() {
397
398
  } }), Object.defineProperty(e, "Name", { enumerable: !0, get: function() {
398
399
  return u.Name;
399
400
  } });
400
- var v = xt();
401
+ var v = er();
401
402
  Object.defineProperty(e, "Scope", { enumerable: !0, get: function() {
402
403
  return v.Scope;
403
404
  } }), Object.defineProperty(e, "ValueScope", { enumerable: !0, get: function() {
@@ -936,10 +937,10 @@ function J() {
936
937
  }
937
938
  }(jt)), jt;
938
939
  }
939
- var H = {}, tr;
940
+ var H = {}, rr;
940
941
  function X() {
941
- if (tr) return H;
942
- tr = 1, Object.defineProperty(H, "__esModule", { value: !0 }), H.checkStrictMode = H.getErrorPath = H.Type = H.useFunc = H.setEvaluated = H.evaluatedPropsToName = H.mergeEvaluated = H.eachItem = H.unescapeJsonPointer = H.escapeJsonPointer = H.escapeFragment = H.unescapeFragment = H.schemaRefOrVal = H.schemaHasRulesButRef = H.schemaHasRules = H.checkUnknownRules = H.alwaysValidSchema = H.toHash = void 0;
942
+ if (rr) return H;
943
+ rr = 1, Object.defineProperty(H, "__esModule", { value: !0 }), H.checkStrictMode = H.getErrorPath = H.Type = H.useFunc = H.setEvaluated = H.evaluatedPropsToName = H.mergeEvaluated = H.eachItem = H.unescapeJsonPointer = H.escapeJsonPointer = H.escapeFragment = H.unescapeFragment = H.schemaRefOrVal = H.schemaHasRulesButRef = H.schemaHasRules = H.checkUnknownRules = H.alwaysValidSchema = H.toHash = void 0;
943
944
  const e = J(), a = vt();
944
945
  function g(m) {
945
946
  const p = {};
@@ -1077,10 +1078,10 @@ function X() {
1077
1078
  }
1078
1079
  return H.checkStrictMode = f, H;
1079
1080
  }
1080
- var Te = {}, rr;
1081
+ var Te = {}, nr;
1081
1082
  function _e() {
1082
- if (rr) return Te;
1083
- rr = 1, Object.defineProperty(Te, "__esModule", { value: !0 });
1083
+ if (nr) return Te;
1084
+ nr = 1, Object.defineProperty(Te, "__esModule", { value: !0 });
1084
1085
  const e = J(), a = {
1085
1086
  // validation function arguments
1086
1087
  data: new e.Name("data"),
@@ -1112,9 +1113,9 @@ function _e() {
1112
1113
  };
1113
1114
  return Te.default = a, Te;
1114
1115
  }
1115
- var nr;
1116
+ var sr;
1116
1117
  function gt() {
1117
- return nr || (nr = 1, function(e) {
1118
+ return sr || (sr = 1, function(e) {
1118
1119
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
1119
1120
  const a = J(), g = X(), u = _e();
1120
1121
  e.keywordError = {
@@ -1188,10 +1189,10 @@ function gt() {
1188
1189
  }
1189
1190
  }(Ot)), Ot;
1190
1191
  }
1191
- var sr;
1192
- function zn() {
1193
- if (sr) return ge;
1194
- sr = 1, Object.defineProperty(ge, "__esModule", { value: !0 }), ge.boolOrEmptySchema = ge.topBoolOrEmptySchema = void 0;
1192
+ var ar;
1193
+ function Ln() {
1194
+ if (ar) return ge;
1195
+ ar = 1, Object.defineProperty(ge, "__esModule", { value: !0 }), ge.boolOrEmptySchema = ge.topBoolOrEmptySchema = void 0;
1195
1196
  const e = gt(), a = J(), g = _e(), u = {
1196
1197
  message: "boolean schema is false"
1197
1198
  };
@@ -1220,10 +1221,10 @@ function zn() {
1220
1221
  }
1221
1222
  return ge;
1222
1223
  }
1223
- var re = {}, $e = {}, ar;
1224
- function mn() {
1225
- if (ar) return $e;
1226
- ar = 1, Object.defineProperty($e, "__esModule", { value: !0 }), $e.getRules = $e.isJSONType = void 0;
1224
+ var re = {}, $e = {}, or;
1225
+ function yn() {
1226
+ if (or) return $e;
1227
+ or = 1, Object.defineProperty($e, "__esModule", { value: !0 }), $e.getRules = $e.isJSONType = void 0;
1227
1228
  const e = ["string", "number", "integer", "boolean", "null", "object", "array"], a = new Set(e);
1228
1229
  function g(v) {
1229
1230
  return typeof v == "string" && a.has(v);
@@ -1246,10 +1247,10 @@ function mn() {
1246
1247
  }
1247
1248
  return $e.getRules = u, $e;
1248
1249
  }
1249
- var pe = {}, or;
1250
- function yn() {
1251
- if (or) return pe;
1252
- or = 1, Object.defineProperty(pe, "__esModule", { value: !0 }), pe.shouldUseRule = pe.shouldUseGroup = pe.schemaHasRulesForType = void 0;
1250
+ var pe = {}, ir;
1251
+ function vn() {
1252
+ if (ir) return pe;
1253
+ ir = 1, Object.defineProperty(pe, "__esModule", { value: !0 }), pe.shouldUseRule = pe.shouldUseGroup = pe.schemaHasRulesForType = void 0;
1253
1254
  function e({ schema: u, self: v }, o) {
1254
1255
  const l = v.RULES.types[o];
1255
1256
  return l && l !== !0 && a(u, l);
@@ -1265,11 +1266,11 @@ function yn() {
1265
1266
  }
1266
1267
  return pe.shouldUseRule = g, pe;
1267
1268
  }
1268
- var ir;
1269
+ var cr;
1269
1270
  function _t() {
1270
- if (ir) return re;
1271
- ir = 1, Object.defineProperty(re, "__esModule", { value: !0 }), re.reportTypeError = re.checkDataTypes = re.checkDataType = re.coerceAndCheckDataType = re.getJSONTypes = re.getSchemaTypes = re.DataType = void 0;
1272
- const e = mn(), a = yn(), g = gt(), u = J(), v = X();
1271
+ if (cr) return re;
1272
+ cr = 1, Object.defineProperty(re, "__esModule", { value: !0 }), re.reportTypeError = re.checkDataTypes = re.checkDataType = re.coerceAndCheckDataType = re.getJSONTypes = re.getSchemaTypes = re.DataType = void 0;
1273
+ const e = yn(), a = vn(), g = gt(), u = J(), v = X();
1273
1274
  var o;
1274
1275
  (function(t) {
1275
1276
  t[t.Correct = 0] = "Correct", t[t.Wrong = 1] = "Wrong";
@@ -1413,10 +1414,10 @@ function _t() {
1413
1414
  }
1414
1415
  return re;
1415
1416
  }
1416
- var Ne = {}, cr;
1417
- function Un() {
1418
- if (cr) return Ne;
1419
- cr = 1, Object.defineProperty(Ne, "__esModule", { value: !0 }), Ne.assignDefaults = void 0;
1417
+ var Ne = {}, ur;
1418
+ function Fn() {
1419
+ if (ur) return Ne;
1420
+ ur = 1, Object.defineProperty(Ne, "__esModule", { value: !0 }), Ne.assignDefaults = void 0;
1420
1421
  const e = J(), a = X();
1421
1422
  function g(v, o) {
1422
1423
  const { properties: l, items: c } = v.schema;
@@ -1440,10 +1441,10 @@ function Un() {
1440
1441
  }
1441
1442
  return Ne;
1442
1443
  }
1443
- var ue = {}, Y = {}, ur;
1444
+ var ue = {}, Y = {}, lr;
1444
1445
  function le() {
1445
- if (ur) return Y;
1446
- ur = 1, Object.defineProperty(Y, "__esModule", { value: !0 }), Y.validateUnion = Y.validateArray = Y.usePattern = Y.callValidateCode = Y.schemaProperties = Y.allSchemaProperties = Y.noPropertyInData = Y.propertyInData = Y.isOwnProperty = Y.hasPropFunc = Y.reportMissingProp = Y.checkMissingProp = Y.checkReportMissingProp = void 0;
1446
+ if (lr) return Y;
1447
+ lr = 1, Object.defineProperty(Y, "__esModule", { value: !0 }), Y.validateUnion = Y.validateArray = Y.usePattern = Y.callValidateCode = Y.schemaProperties = Y.allSchemaProperties = Y.noPropertyInData = Y.propertyInData = Y.isOwnProperty = Y.hasPropFunc = Y.reportMissingProp = Y.checkMissingProp = Y.checkReportMissingProp = void 0;
1447
1448
  const e = J(), a = X(), g = _e(), u = X();
1448
1449
  function v(t, s) {
1449
1450
  const { gen: f, data: m, it: p } = t;
@@ -1549,10 +1550,10 @@ function le() {
1549
1550
  }
1550
1551
  return Y.validateUnion = r, Y;
1551
1552
  }
1552
- var lr;
1553
- function Ln() {
1554
- if (lr) return ue;
1555
- lr = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.validateKeywordUsage = ue.validSchemaType = ue.funcKeywordCode = ue.macroKeywordCode = void 0;
1553
+ var dr;
1554
+ function Kn() {
1555
+ if (dr) return ue;
1556
+ dr = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.validateKeywordUsage = ue.validSchemaType = ue.funcKeywordCode = ue.macroKeywordCode = void 0;
1556
1557
  const e = J(), a = _e(), g = le(), u = gt();
1557
1558
  function v(R, E) {
1558
1559
  const { gen: b, keyword: y, schema: n, parentSchema: r, it: t } = R, s = E.macro.call(t.self, n, r, t), f = _(b, y, s);
@@ -1638,10 +1639,10 @@ function Ln() {
1638
1639
  }
1639
1640
  return ue.validateKeywordUsage = S, ue;
1640
1641
  }
1641
- var me = {}, dr;
1642
- function Fn() {
1643
- if (dr) return me;
1644
- dr = 1, Object.defineProperty(me, "__esModule", { value: !0 }), me.extendSubschemaMode = me.extendSubschemaData = me.getSubschema = void 0;
1642
+ var me = {}, fr;
1643
+ function Hn() {
1644
+ if (fr) return me;
1645
+ fr = 1, Object.defineProperty(me, "__esModule", { value: !0 }), me.extendSubschemaMode = me.extendSubschemaData = me.getSubschema = void 0;
1645
1646
  const e = J(), a = X();
1646
1647
  function g(o, { keyword: l, schemaProp: c, schema: d, schemaPath: _, errSchemaPath: h, topSchemaRef: S }) {
1647
1648
  if (l !== void 0 && d !== void 0)
@@ -1694,9 +1695,9 @@ function Fn() {
1694
1695
  }
1695
1696
  return me.extendSubschemaMode = v, me;
1696
1697
  }
1697
- var ne = {}, Tt, fr;
1698
- function vn() {
1699
- return fr || (fr = 1, Tt = function e(a, g) {
1698
+ var ne = {}, Tt, hr;
1699
+ function _n() {
1700
+ return hr || (hr = 1, Tt = function e(a, g) {
1700
1701
  if (a === g) return !0;
1701
1702
  if (a && g && typeof a == "object" && typeof g == "object") {
1702
1703
  if (a.constructor !== g.constructor) return !1;
@@ -1722,10 +1723,10 @@ function vn() {
1722
1723
  return a !== a && g !== g;
1723
1724
  }), Tt;
1724
1725
  }
1725
- var qt = { exports: {} }, hr;
1726
- function Kn() {
1727
- if (hr) return qt.exports;
1728
- hr = 1;
1726
+ var qt = { exports: {} }, pr;
1727
+ function Gn() {
1728
+ if (pr) return qt.exports;
1729
+ pr = 1;
1729
1730
  var e = qt.exports = function(u, v, o) {
1730
1731
  typeof v == "function" && (o = v, v = {}), o = v.cb || o;
1731
1732
  var l = typeof o == "function" ? o : o.pre || function() {
@@ -1797,11 +1798,11 @@ function Kn() {
1797
1798
  }
1798
1799
  return qt.exports;
1799
1800
  }
1800
- var pr;
1801
+ var mr;
1801
1802
  function $t() {
1802
- if (pr) return ne;
1803
- pr = 1, Object.defineProperty(ne, "__esModule", { value: !0 }), ne.getSchemaRefs = ne.resolveUrl = ne.normalizeId = ne._getFullPath = ne.getFullPath = ne.inlineRef = void 0;
1804
- const e = X(), a = vn(), g = Kn(), u = /* @__PURE__ */ new Set([
1803
+ if (mr) return ne;
1804
+ mr = 1, Object.defineProperty(ne, "__esModule", { value: !0 }), ne.getSchemaRefs = ne.resolveUrl = ne.normalizeId = ne._getFullPath = ne.getFullPath = ne.inlineRef = void 0;
1805
+ const e = X(), a = _n(), g = Gn(), u = /* @__PURE__ */ new Set([
1805
1806
  "type",
1806
1807
  "format",
1807
1808
  "pattern",
@@ -1906,11 +1907,11 @@ function $t() {
1906
1907
  }
1907
1908
  return ne.getSchemaRefs = b, ne;
1908
1909
  }
1909
- var mr;
1910
+ var yr;
1910
1911
  function wt() {
1911
- if (mr) return he;
1912
- mr = 1, Object.defineProperty(he, "__esModule", { value: !0 }), he.getData = he.KeywordCxt = he.validateFunctionCode = void 0;
1913
- const e = zn(), a = _t(), g = yn(), u = _t(), v = Un(), o = Ln(), l = Fn(), c = J(), d = _e(), _ = $t(), h = X(), S = gt();
1912
+ if (yr) return he;
1913
+ yr = 1, Object.defineProperty(he, "__esModule", { value: !0 }), he.getData = he.KeywordCxt = he.validateFunctionCode = void 0;
1914
+ const e = Ln(), a = _t(), g = vn(), u = _t(), v = Fn(), o = Kn(), l = Hn(), c = J(), d = _e(), _ = $t(), h = X(), S = gt();
1914
1915
  function R(P) {
1915
1916
  if (m(P) && ($(P), f(P))) {
1916
1917
  n(P);
@@ -2219,10 +2220,10 @@ function wt() {
2219
2220
  }
2220
2221
  return he.getData = W, he;
2221
2222
  }
2222
- var qe = {}, yr;
2223
+ var qe = {}, vr;
2223
2224
  function Lt() {
2224
- if (yr) return qe;
2225
- yr = 1, Object.defineProperty(qe, "__esModule", { value: !0 });
2225
+ if (vr) return qe;
2226
+ vr = 1, Object.defineProperty(qe, "__esModule", { value: !0 });
2226
2227
  class e extends Error {
2227
2228
  constructor(g) {
2228
2229
  super("validation failed"), this.errors = g, this.ajv = this.validation = !0;
@@ -2230,10 +2231,10 @@ function Lt() {
2230
2231
  }
2231
2232
  return qe.default = e, qe;
2232
2233
  }
2233
- var Ce = {}, vr;
2234
+ var Ce = {}, _r;
2234
2235
  function bt() {
2235
- if (vr) return Ce;
2236
- vr = 1, Object.defineProperty(Ce, "__esModule", { value: !0 });
2236
+ if (_r) return Ce;
2237
+ _r = 1, Object.defineProperty(Ce, "__esModule", { value: !0 });
2237
2238
  const e = $t();
2238
2239
  class a extends Error {
2239
2240
  constructor(u, v, o, l) {
@@ -2242,10 +2243,10 @@ function bt() {
2242
2243
  }
2243
2244
  return Ce.default = a, Ce;
2244
2245
  }
2245
- var oe = {}, _r;
2246
+ var oe = {}, gr;
2246
2247
  function Ft() {
2247
- if (_r) return oe;
2248
- _r = 1, Object.defineProperty(oe, "__esModule", { value: !0 }), oe.resolveSchema = oe.getCompilingSchema = oe.resolveRef = oe.compileSchema = oe.SchemaEnv = void 0;
2248
+ if (gr) return oe;
2249
+ gr = 1, Object.defineProperty(oe, "__esModule", { value: !0 }), oe.resolveSchema = oe.getCompilingSchema = oe.resolveRef = oe.compileSchema = oe.SchemaEnv = void 0;
2249
2250
  const e = J(), a = Lt(), g = _e(), u = $t(), v = X(), o = wt();
2250
2251
  class l {
2251
2252
  constructor(r) {
@@ -2400,17 +2401,17 @@ function Ft() {
2400
2401
  }
2401
2402
  return oe;
2402
2403
  }
2403
- const Hn = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Gn = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Jn = "object", Wn = ["$data"], Bn = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, Xn = !1, Qn = {
2404
- $id: Hn,
2405
- description: Gn,
2406
- type: Jn,
2407
- required: Wn,
2408
- properties: Bn,
2409
- additionalProperties: Xn
2404
+ const Jn = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Wn = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Bn = "object", Xn = ["$data"], Qn = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, Yn = !1, Zn = {
2405
+ $id: Jn,
2406
+ description: Wn,
2407
+ type: Bn,
2408
+ required: Xn,
2409
+ properties: Qn,
2410
+ additionalProperties: Yn
2410
2411
  };
2411
- var Ae = {}, Oe = { exports: {} }, Ct, gr;
2412
- function Yn() {
2413
- return gr || (gr = 1, Ct = {
2412
+ var Ae = {}, Oe = { exports: {} }, Ct, $r;
2413
+ function xn() {
2414
+ return $r || ($r = 1, Ct = {
2414
2415
  HEX: {
2415
2416
  0: 0,
2416
2417
  1: 1,
@@ -2437,11 +2438,11 @@ function Yn() {
2437
2438
  }
2438
2439
  }), Ct;
2439
2440
  }
2440
- var At, $r;
2441
- function Zn() {
2442
- if ($r) return At;
2443
- $r = 1;
2444
- const { HEX: e } = Yn(), a = /^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;
2441
+ var At, wr;
2442
+ function es() {
2443
+ if (wr) return At;
2444
+ wr = 1;
2445
+ const { HEX: e } = xn(), a = /^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;
2445
2446
  function g(y) {
2446
2447
  if (c(y, ".") < 3)
2447
2448
  return { host: y, isIPV4: !1 };
@@ -2572,10 +2573,10 @@ function Zn() {
2572
2573
  stringArrayToHexStripped: u
2573
2574
  }, At;
2574
2575
  }
2575
- var Mt, wr;
2576
- function xn() {
2577
- if (wr) return Mt;
2578
- wr = 1;
2576
+ var Mt, br;
2577
+ function ts() {
2578
+ if (br) return Mt;
2579
+ br = 1;
2579
2580
  const e = /^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu, a = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
2580
2581
  function g(t) {
2581
2582
  return typeof t.secure == "boolean" ? t.secure : String(t.scheme).toLowerCase() === "wss";
@@ -2664,11 +2665,11 @@ function xn() {
2664
2665
  };
2665
2666
  return Mt = r, Mt;
2666
2667
  }
2667
- var br;
2668
- function es() {
2669
- if (br) return Oe.exports;
2670
- br = 1;
2671
- const { normalizeIPv6: e, normalizeIPv4: a, removeDotSegments: g, recomposeAuthority: u, normalizeComponentEncoding: v } = Zn(), o = xn();
2668
+ var Er;
2669
+ function rs() {
2670
+ if (Er) return Oe.exports;
2671
+ Er = 1;
2672
+ const { normalizeIPv6: e, normalizeIPv4: a, removeDotSegments: g, recomposeAuthority: u, normalizeComponentEncoding: v } = es(), o = ts();
2672
2673
  function l(n, r) {
2673
2674
  return typeof n == "string" ? n = h(b(n, r), r) : typeof n == "object" && (n = b(h(n, r), r)), n;
2674
2675
  }
@@ -2763,16 +2764,16 @@ function es() {
2763
2764
  };
2764
2765
  return Oe.exports = y, Oe.exports.default = y, Oe.exports.fastUri = y, Oe.exports;
2765
2766
  }
2766
- var Er;
2767
- function ts() {
2768
- if (Er) return Ae;
2769
- Er = 1, Object.defineProperty(Ae, "__esModule", { value: !0 });
2770
- const e = es();
2767
+ var Sr;
2768
+ function ns() {
2769
+ if (Sr) return Ae;
2770
+ Sr = 1, Object.defineProperty(Ae, "__esModule", { value: !0 });
2771
+ const e = rs();
2771
2772
  return e.code = 'require("ajv/dist/runtime/uri").default', Ae.default = e, Ae;
2772
2773
  }
2773
- var Sr;
2774
- function rs() {
2775
- return Sr || (Sr = 1, function(e) {
2774
+ var Pr;
2775
+ function ss() {
2776
+ return Pr || (Pr = 1, function(e) {
2776
2777
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
2777
2778
  var a = wt();
2778
2779
  Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
@@ -2792,7 +2793,7 @@ function rs() {
2792
2793
  } }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
2793
2794
  return g.CodeGen;
2794
2795
  } });
2795
- const u = Lt(), v = bt(), o = mn(), l = Ft(), c = J(), d = $t(), _ = _t(), h = X(), S = Qn, R = ts(), E = (A, N) => new RegExp(A, N);
2796
+ const u = Lt(), v = bt(), o = yn(), l = Ft(), c = J(), d = $t(), _ = _t(), h = X(), S = Zn, R = ns(), E = (A, N) => new RegExp(A, N);
2796
2797
  E.code = "new RegExp";
2797
2798
  const b = ["removeAdditional", "useDefaults", "coerceTypes"], y = /* @__PURE__ */ new Set([
2798
2799
  "validate",
@@ -2831,7 +2832,7 @@ function rs() {
2831
2832
  }, t = 200;
2832
2833
  function s(A) {
2833
2834
  var N, q, j, i, w, I, V, L, Q, W, P, O, T, M, U, G, ee, ce, se, ae, te, Ee, ie, Et, St;
2834
- const Re = A.strict, Pt = (N = A.code) === null || N === void 0 ? void 0 : N.optimize, Ht = Pt === !0 || Pt === void 0 ? 1 : Pt || 0, Gt = (j = (q = A.code) === null || q === void 0 ? void 0 : q.regExp) !== null && j !== void 0 ? j : E, bn = (i = A.uriResolver) !== null && i !== void 0 ? i : R.default;
2835
+ const Re = A.strict, Pt = (N = A.code) === null || N === void 0 ? void 0 : N.optimize, Ht = Pt === !0 || Pt === void 0 ? 1 : Pt || 0, Gt = (j = (q = A.code) === null || q === void 0 ? void 0 : q.regExp) !== null && j !== void 0 ? j : E, En = (i = A.uriResolver) !== null && i !== void 0 ? i : R.default;
2835
2836
  return {
2836
2837
  strictSchema: (I = (w = A.strictSchema) !== null && w !== void 0 ? w : Re) !== null && I !== void 0 ? I : !0,
2837
2838
  strictNumbers: (L = (V = A.strictNumbers) !== null && V !== void 0 ? V : Re) !== null && L !== void 0 ? L : !0,
@@ -2850,7 +2851,7 @@ function rs() {
2850
2851
  validateFormats: (ie = A.validateFormats) !== null && ie !== void 0 ? ie : !0,
2851
2852
  unicodeRegExp: (Et = A.unicodeRegExp) !== null && Et !== void 0 ? Et : !0,
2852
2853
  int32range: (St = A.int32range) !== null && St !== void 0 ? St : !0,
2853
- uriResolver: bn
2854
+ uriResolver: En
2854
2855
  };
2855
2856
  }
2856
2857
  class f {
@@ -3213,10 +3214,10 @@ function rs() {
3213
3214
  }
3214
3215
  }(Nt)), Nt;
3215
3216
  }
3216
- var Me = {}, De = {}, Ve = {}, Pr;
3217
- function ns() {
3218
- if (Pr) return Ve;
3219
- Pr = 1, Object.defineProperty(Ve, "__esModule", { value: !0 });
3217
+ var Me = {}, De = {}, Ve = {}, Rr;
3218
+ function as() {
3219
+ if (Rr) return Ve;
3220
+ Rr = 1, Object.defineProperty(Ve, "__esModule", { value: !0 });
3220
3221
  const e = {
3221
3222
  keyword: "id",
3222
3223
  code() {
@@ -3225,10 +3226,10 @@ function ns() {
3225
3226
  };
3226
3227
  return Ve.default = e, Ve;
3227
3228
  }
3228
- var ve = {}, Rr;
3229
- function ss() {
3230
- if (Rr) return ve;
3231
- Rr = 1, Object.defineProperty(ve, "__esModule", { value: !0 }), ve.callRef = ve.getValidate = void 0;
3229
+ var ve = {}, Nr;
3230
+ function os() {
3231
+ if (Nr) return ve;
3232
+ Nr = 1, Object.defineProperty(ve, "__esModule", { value: !0 }), ve.callRef = ve.getValidate = void 0;
3232
3233
  const e = bt(), a = le(), g = J(), u = _e(), v = Ft(), o = X(), l = {
3233
3234
  keyword: "$ref",
3234
3235
  schemaType: "string",
@@ -3312,11 +3313,11 @@ function ss() {
3312
3313
  }
3313
3314
  return ve.callRef = d, ve.default = l, ve;
3314
3315
  }
3315
- var Nr;
3316
- function as() {
3317
- if (Nr) return De;
3318
- Nr = 1, Object.defineProperty(De, "__esModule", { value: !0 });
3319
- const e = ns(), a = ss(), g = [
3316
+ var Or;
3317
+ function is() {
3318
+ if (Or) return De;
3319
+ Or = 1, Object.defineProperty(De, "__esModule", { value: !0 });
3320
+ const e = as(), a = os(), g = [
3320
3321
  "$schema",
3321
3322
  "$id",
3322
3323
  "$defs",
@@ -3328,10 +3329,10 @@ function as() {
3328
3329
  ];
3329
3330
  return De.default = g, De;
3330
3331
  }
3331
- var ze = {}, Ue = {}, Or;
3332
- function os() {
3333
- if (Or) return Ue;
3334
- Or = 1, Object.defineProperty(Ue, "__esModule", { value: !0 });
3332
+ var ze = {}, Ue = {}, jr;
3333
+ function cs() {
3334
+ if (jr) return Ue;
3335
+ jr = 1, Object.defineProperty(Ue, "__esModule", { value: !0 });
3335
3336
  const e = J(), a = e.operators, g = {
3336
3337
  maximum: { okStr: "<=", ok: a.LTE, fail: a.GT },
3337
3338
  minimum: { okStr: ">=", ok: a.GTE, fail: a.LT },
@@ -3353,10 +3354,10 @@ function os() {
3353
3354
  };
3354
3355
  return Ue.default = v, Ue;
3355
3356
  }
3356
- var Le = {}, jr;
3357
- function is() {
3358
- if (jr) return Le;
3359
- jr = 1, Object.defineProperty(Le, "__esModule", { value: !0 });
3357
+ var Le = {}, kr;
3358
+ function us() {
3359
+ if (kr) return Le;
3360
+ kr = 1, Object.defineProperty(Le, "__esModule", { value: !0 });
3360
3361
  const e = J(), g = {
3361
3362
  keyword: "multipleOf",
3362
3363
  type: "number",
@@ -3373,10 +3374,10 @@ function is() {
3373
3374
  };
3374
3375
  return Le.default = g, Le;
3375
3376
  }
3376
- var Fe = {}, Ke = {}, kr;
3377
- function cs() {
3378
- if (kr) return Ke;
3379
- kr = 1, Object.defineProperty(Ke, "__esModule", { value: !0 });
3377
+ var Fe = {}, Ke = {}, Ir;
3378
+ function ls() {
3379
+ if (Ir) return Ke;
3380
+ Ir = 1, Object.defineProperty(Ke, "__esModule", { value: !0 });
3380
3381
  function e(a) {
3381
3382
  const g = a.length;
3382
3383
  let u = 0, v = 0, o;
@@ -3386,11 +3387,11 @@ function cs() {
3386
3387
  }
3387
3388
  return Ke.default = e, e.code = 'require("ajv/dist/runtime/ucs2length").default', Ke;
3388
3389
  }
3389
- var Ir;
3390
- function us() {
3391
- if (Ir) return Fe;
3392
- Ir = 1, Object.defineProperty(Fe, "__esModule", { value: !0 });
3393
- const e = J(), a = X(), g = cs(), v = {
3390
+ var Tr;
3391
+ function ds() {
3392
+ if (Tr) return Fe;
3393
+ Tr = 1, Object.defineProperty(Fe, "__esModule", { value: !0 });
3394
+ const e = J(), a = X(), g = ls(), v = {
3394
3395
  keyword: ["maxLength", "minLength"],
3395
3396
  type: "string",
3396
3397
  schemaType: "number",
@@ -3409,10 +3410,10 @@ function us() {
3409
3410
  };
3410
3411
  return Fe.default = v, Fe;
3411
3412
  }
3412
- var He = {}, Tr;
3413
- function ls() {
3414
- if (Tr) return He;
3415
- Tr = 1, Object.defineProperty(He, "__esModule", { value: !0 });
3413
+ var He = {}, qr;
3414
+ function fs() {
3415
+ if (qr) return He;
3416
+ qr = 1, Object.defineProperty(He, "__esModule", { value: !0 });
3416
3417
  const e = le(), a = J(), u = {
3417
3418
  keyword: "pattern",
3418
3419
  type: "string",
@@ -3429,10 +3430,10 @@ function ls() {
3429
3430
  };
3430
3431
  return He.default = u, He;
3431
3432
  }
3432
- var Ge = {}, qr;
3433
- function ds() {
3434
- if (qr) return Ge;
3435
- qr = 1, Object.defineProperty(Ge, "__esModule", { value: !0 });
3433
+ var Ge = {}, Cr;
3434
+ function hs() {
3435
+ if (Cr) return Ge;
3436
+ Cr = 1, Object.defineProperty(Ge, "__esModule", { value: !0 });
3436
3437
  const e = J(), g = {
3437
3438
  keyword: ["maxProperties", "minProperties"],
3438
3439
  type: "object",
@@ -3452,10 +3453,10 @@ function ds() {
3452
3453
  };
3453
3454
  return Ge.default = g, Ge;
3454
3455
  }
3455
- var Je = {}, Cr;
3456
- function fs() {
3457
- if (Cr) return Je;
3458
- Cr = 1, Object.defineProperty(Je, "__esModule", { value: !0 });
3456
+ var Je = {}, Ar;
3457
+ function ps() {
3458
+ if (Ar) return Je;
3459
+ Ar = 1, Object.defineProperty(Je, "__esModule", { value: !0 });
3459
3460
  const e = le(), a = J(), g = X(), v = {
3460
3461
  keyword: "required",
3461
3462
  type: "object",
@@ -3509,10 +3510,10 @@ function fs() {
3509
3510
  };
3510
3511
  return Je.default = v, Je;
3511
3512
  }
3512
- var We = {}, Ar;
3513
- function hs() {
3514
- if (Ar) return We;
3515
- Ar = 1, Object.defineProperty(We, "__esModule", { value: !0 });
3513
+ var We = {}, Mr;
3514
+ function ms() {
3515
+ if (Mr) return We;
3516
+ Mr = 1, Object.defineProperty(We, "__esModule", { value: !0 });
3516
3517
  const e = J(), g = {
3517
3518
  keyword: ["maxItems", "minItems"],
3518
3519
  type: "array",
@@ -3532,17 +3533,17 @@ function hs() {
3532
3533
  };
3533
3534
  return We.default = g, We;
3534
3535
  }
3535
- var Be = {}, Xe = {}, Mr;
3536
+ var Be = {}, Xe = {}, Dr;
3536
3537
  function Kt() {
3537
- if (Mr) return Xe;
3538
- Mr = 1, Object.defineProperty(Xe, "__esModule", { value: !0 });
3539
- const e = vn();
3538
+ if (Dr) return Xe;
3539
+ Dr = 1, Object.defineProperty(Xe, "__esModule", { value: !0 });
3540
+ const e = _n();
3540
3541
  return e.code = 'require("ajv/dist/runtime/equal").default', Xe.default = e, Xe;
3541
3542
  }
3542
- var Dr;
3543
- function ps() {
3544
- if (Dr) return Be;
3545
- Dr = 1, Object.defineProperty(Be, "__esModule", { value: !0 });
3543
+ var Vr;
3544
+ function ys() {
3545
+ if (Vr) return Be;
3546
+ Vr = 1, Object.defineProperty(Be, "__esModule", { value: !0 });
3546
3547
  const e = _t(), a = J(), g = X(), u = Kt(), o = {
3547
3548
  keyword: "uniqueItems",
3548
3549
  type: "array",
@@ -3583,10 +3584,10 @@ function ps() {
3583
3584
  };
3584
3585
  return Be.default = o, Be;
3585
3586
  }
3586
- var Qe = {}, Vr;
3587
- function ms() {
3588
- if (Vr) return Qe;
3589
- Vr = 1, Object.defineProperty(Qe, "__esModule", { value: !0 });
3587
+ var Qe = {}, zr;
3588
+ function vs() {
3589
+ if (zr) return Qe;
3590
+ zr = 1, Object.defineProperty(Qe, "__esModule", { value: !0 });
3590
3591
  const e = J(), a = X(), g = Kt(), v = {
3591
3592
  keyword: "const",
3592
3593
  $data: !0,
@@ -3601,10 +3602,10 @@ function ms() {
3601
3602
  };
3602
3603
  return Qe.default = v, Qe;
3603
3604
  }
3604
- var Ye = {}, zr;
3605
- function ys() {
3606
- if (zr) return Ye;
3607
- zr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 });
3605
+ var Ye = {}, Ur;
3606
+ function _s() {
3607
+ if (Ur) return Ye;
3608
+ Ur = 1, Object.defineProperty(Ye, "__esModule", { value: !0 });
3608
3609
  const e = J(), a = X(), g = Kt(), v = {
3609
3610
  keyword: "enum",
3610
3611
  schemaType: "array",
@@ -3641,11 +3642,11 @@ function ys() {
3641
3642
  };
3642
3643
  return Ye.default = v, Ye;
3643
3644
  }
3644
- var Ur;
3645
- function vs() {
3646
- if (Ur) return ze;
3647
- Ur = 1, Object.defineProperty(ze, "__esModule", { value: !0 });
3648
- const e = os(), a = is(), g = us(), u = ls(), v = ds(), o = fs(), l = hs(), c = ps(), d = ms(), _ = ys(), h = [
3645
+ var Lr;
3646
+ function gs() {
3647
+ if (Lr) return ze;
3648
+ Lr = 1, Object.defineProperty(ze, "__esModule", { value: !0 });
3649
+ const e = cs(), a = us(), g = ds(), u = fs(), v = hs(), o = ps(), l = ms(), c = ys(), d = vs(), _ = _s(), h = [
3649
3650
  // number
3650
3651
  e.default,
3651
3652
  a.default,
@@ -3666,10 +3667,10 @@ function vs() {
3666
3667
  ];
3667
3668
  return ze.default = h, ze;
3668
3669
  }
3669
- var Ze = {}, Se = {}, Lr;
3670
- function _n() {
3671
- if (Lr) return Se;
3672
- Lr = 1, Object.defineProperty(Se, "__esModule", { value: !0 }), Se.validateAdditionalItems = void 0;
3670
+ var Ze = {}, Se = {}, Fr;
3671
+ function gn() {
3672
+ if (Fr) return Se;
3673
+ Fr = 1, Object.defineProperty(Se, "__esModule", { value: !0 }), Se.validateAdditionalItems = void 0;
3673
3674
  const e = J(), a = X(), u = {
3674
3675
  keyword: "additionalItems",
3675
3676
  type: "array",
@@ -3706,10 +3707,10 @@ function _n() {
3706
3707
  }
3707
3708
  return Se.validateAdditionalItems = v, Se.default = u, Se;
3708
3709
  }
3709
- var xe = {}, Pe = {}, Fr;
3710
- function gn() {
3711
- if (Fr) return Pe;
3712
- Fr = 1, Object.defineProperty(Pe, "__esModule", { value: !0 }), Pe.validateTuple = void 0;
3710
+ var xe = {}, Pe = {}, Kr;
3711
+ function $n() {
3712
+ if (Kr) return Pe;
3713
+ Kr = 1, Object.defineProperty(Pe, "__esModule", { value: !0 }), Pe.validateTuple = void 0;
3713
3714
  const e = J(), a = X(), g = le(), u = {
3714
3715
  keyword: "items",
3715
3716
  type: "array",
@@ -3743,11 +3744,11 @@ function gn() {
3743
3744
  }
3744
3745
  return Pe.validateTuple = v, Pe.default = u, Pe;
3745
3746
  }
3746
- var Kr;
3747
- function _s() {
3748
- if (Kr) return xe;
3749
- Kr = 1, Object.defineProperty(xe, "__esModule", { value: !0 });
3750
- const e = gn(), a = {
3747
+ var Hr;
3748
+ function $s() {
3749
+ if (Hr) return xe;
3750
+ Hr = 1, Object.defineProperty(xe, "__esModule", { value: !0 });
3751
+ const e = $n(), a = {
3751
3752
  keyword: "prefixItems",
3752
3753
  type: "array",
3753
3754
  schemaType: ["array"],
@@ -3756,11 +3757,11 @@ function _s() {
3756
3757
  };
3757
3758
  return xe.default = a, xe;
3758
3759
  }
3759
- var et = {}, Hr;
3760
- function gs() {
3761
- if (Hr) return et;
3762
- Hr = 1, Object.defineProperty(et, "__esModule", { value: !0 });
3763
- const e = J(), a = X(), g = le(), u = _n(), o = {
3760
+ var et = {}, Gr;
3761
+ function ws() {
3762
+ if (Gr) return et;
3763
+ Gr = 1, Object.defineProperty(et, "__esModule", { value: !0 });
3764
+ const e = J(), a = X(), g = le(), u = gn(), o = {
3764
3765
  keyword: "items",
3765
3766
  type: "array",
3766
3767
  schemaType: ["object", "boolean"],
@@ -3776,10 +3777,10 @@ function gs() {
3776
3777
  };
3777
3778
  return et.default = o, et;
3778
3779
  }
3779
- var tt = {}, Gr;
3780
- function $s() {
3781
- if (Gr) return tt;
3782
- Gr = 1, Object.defineProperty(tt, "__esModule", { value: !0 });
3780
+ var tt = {}, Jr;
3781
+ function bs() {
3782
+ if (Jr) return tt;
3783
+ Jr = 1, Object.defineProperty(tt, "__esModule", { value: !0 });
3783
3784
  const e = J(), a = X(), u = {
3784
3785
  keyword: "contains",
3785
3786
  type: "array",
@@ -3833,9 +3834,9 @@ function $s() {
3833
3834
  };
3834
3835
  return tt.default = u, tt;
3835
3836
  }
3836
- var Dt = {}, Jr;
3837
- function ws() {
3838
- return Jr || (Jr = 1, function(e) {
3837
+ var Dt = {}, Wr;
3838
+ function Es() {
3839
+ return Wr || (Wr = 1, function(e) {
3839
3840
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
3840
3841
  const a = J(), g = X(), u = le();
3841
3842
  e.error = {
@@ -3906,10 +3907,10 @@ function ws() {
3906
3907
  e.validateSchemaDeps = c, e.default = v;
3907
3908
  }(Dt)), Dt;
3908
3909
  }
3909
- var rt = {}, Wr;
3910
- function bs() {
3911
- if (Wr) return rt;
3912
- Wr = 1, Object.defineProperty(rt, "__esModule", { value: !0 });
3910
+ var rt = {}, Br;
3911
+ function Ss() {
3912
+ if (Br) return rt;
3913
+ Br = 1, Object.defineProperty(rt, "__esModule", { value: !0 });
3913
3914
  const e = J(), a = X(), u = {
3914
3915
  keyword: "propertyNames",
3915
3916
  type: "object",
@@ -3938,10 +3939,10 @@ function bs() {
3938
3939
  };
3939
3940
  return rt.default = u, rt;
3940
3941
  }
3941
- var nt = {}, Br;
3942
- function $n() {
3943
- if (Br) return nt;
3944
- Br = 1, Object.defineProperty(nt, "__esModule", { value: !0 });
3942
+ var nt = {}, Xr;
3943
+ function wn() {
3944
+ if (Xr) return nt;
3945
+ Xr = 1, Object.defineProperty(nt, "__esModule", { value: !0 });
3945
3946
  const e = le(), a = J(), g = _e(), u = X(), o = {
3946
3947
  keyword: "additionalProperties",
3947
3948
  type: ["object"],
@@ -4009,11 +4010,11 @@ function $n() {
4009
4010
  };
4010
4011
  return nt.default = o, nt;
4011
4012
  }
4012
- var st = {}, Xr;
4013
- function Es() {
4014
- if (Xr) return st;
4015
- Xr = 1, Object.defineProperty(st, "__esModule", { value: !0 });
4016
- const e = wt(), a = le(), g = X(), u = $n(), v = {
4013
+ var st = {}, Qr;
4014
+ function Ps() {
4015
+ if (Qr) return st;
4016
+ Qr = 1, Object.defineProperty(st, "__esModule", { value: !0 });
4017
+ const e = wt(), a = le(), g = X(), u = wn(), v = {
4017
4018
  keyword: "properties",
4018
4019
  type: "object",
4019
4020
  schemaType: "object",
@@ -4044,10 +4045,10 @@ function Es() {
4044
4045
  };
4045
4046
  return st.default = v, st;
4046
4047
  }
4047
- var at = {}, Qr;
4048
- function Ss() {
4049
- if (Qr) return at;
4050
- Qr = 1, Object.defineProperty(at, "__esModule", { value: !0 });
4048
+ var at = {}, Yr;
4049
+ function Rs() {
4050
+ if (Yr) return at;
4051
+ Yr = 1, Object.defineProperty(at, "__esModule", { value: !0 });
4051
4052
  const e = le(), a = J(), g = X(), u = X(), v = {
4052
4053
  keyword: "patternProperties",
4053
4054
  type: "object",
@@ -4085,10 +4086,10 @@ function Ss() {
4085
4086
  };
4086
4087
  return at.default = v, at;
4087
4088
  }
4088
- var ot = {}, Yr;
4089
- function Ps() {
4090
- if (Yr) return ot;
4091
- Yr = 1, Object.defineProperty(ot, "__esModule", { value: !0 });
4089
+ var ot = {}, Zr;
4090
+ function Ns() {
4091
+ if (Zr) return ot;
4092
+ Zr = 1, Object.defineProperty(ot, "__esModule", { value: !0 });
4092
4093
  const e = X(), a = {
4093
4094
  keyword: "not",
4094
4095
  schemaType: ["object", "boolean"],
@@ -4111,10 +4112,10 @@ function Ps() {
4111
4112
  };
4112
4113
  return ot.default = a, ot;
4113
4114
  }
4114
- var it = {}, Zr;
4115
- function Rs() {
4116
- if (Zr) return it;
4117
- Zr = 1, Object.defineProperty(it, "__esModule", { value: !0 });
4115
+ var it = {}, xr;
4116
+ function Os() {
4117
+ if (xr) return it;
4118
+ xr = 1, Object.defineProperty(it, "__esModule", { value: !0 });
4118
4119
  const a = {
4119
4120
  keyword: "anyOf",
4120
4121
  schemaType: "array",
@@ -4124,10 +4125,10 @@ function Rs() {
4124
4125
  };
4125
4126
  return it.default = a, it;
4126
4127
  }
4127
- var ct = {}, xr;
4128
- function Ns() {
4129
- if (xr) return ct;
4130
- xr = 1, Object.defineProperty(ct, "__esModule", { value: !0 });
4128
+ var ct = {}, en;
4129
+ function js() {
4130
+ if (en) return ct;
4131
+ en = 1, Object.defineProperty(ct, "__esModule", { value: !0 });
4131
4132
  const e = J(), a = X(), u = {
4132
4133
  keyword: "oneOf",
4133
4134
  schemaType: "array",
@@ -4160,10 +4161,10 @@ function Ns() {
4160
4161
  };
4161
4162
  return ct.default = u, ct;
4162
4163
  }
4163
- var ut = {}, en;
4164
- function Os() {
4165
- if (en) return ut;
4166
- en = 1, Object.defineProperty(ut, "__esModule", { value: !0 });
4164
+ var ut = {}, tn;
4165
+ function ks() {
4166
+ if (tn) return ut;
4167
+ tn = 1, Object.defineProperty(ut, "__esModule", { value: !0 });
4167
4168
  const e = X(), a = {
4168
4169
  keyword: "allOf",
4169
4170
  schemaType: "array",
@@ -4182,10 +4183,10 @@ function Os() {
4182
4183
  };
4183
4184
  return ut.default = a, ut;
4184
4185
  }
4185
- var lt = {}, tn;
4186
- function js() {
4187
- if (tn) return lt;
4188
- tn = 1, Object.defineProperty(lt, "__esModule", { value: !0 });
4186
+ var lt = {}, rn;
4187
+ function Is() {
4188
+ if (rn) return lt;
4189
+ rn = 1, Object.defineProperty(lt, "__esModule", { value: !0 });
4189
4190
  const e = J(), a = X(), u = {
4190
4191
  keyword: "if",
4191
4192
  schemaType: ["object", "boolean"],
@@ -4229,10 +4230,10 @@ function js() {
4229
4230
  }
4230
4231
  return lt.default = u, lt;
4231
4232
  }
4232
- var dt = {}, rn;
4233
- function ks() {
4234
- if (rn) return dt;
4235
- rn = 1, Object.defineProperty(dt, "__esModule", { value: !0 });
4233
+ var dt = {}, nn;
4234
+ function Ts() {
4235
+ if (nn) return dt;
4236
+ nn = 1, Object.defineProperty(dt, "__esModule", { value: !0 });
4236
4237
  const e = X(), a = {
4237
4238
  keyword: ["then", "else"],
4238
4239
  schemaType: ["object", "boolean"],
@@ -4242,11 +4243,11 @@ function ks() {
4242
4243
  };
4243
4244
  return dt.default = a, dt;
4244
4245
  }
4245
- var nn;
4246
- function Is() {
4247
- if (nn) return Ze;
4248
- nn = 1, Object.defineProperty(Ze, "__esModule", { value: !0 });
4249
- const e = _n(), a = _s(), g = gn(), u = gs(), v = $s(), o = ws(), l = bs(), c = $n(), d = Es(), _ = Ss(), h = Ps(), S = Rs(), R = Ns(), E = Os(), b = js(), y = ks();
4246
+ var sn;
4247
+ function qs() {
4248
+ if (sn) return Ze;
4249
+ sn = 1, Object.defineProperty(Ze, "__esModule", { value: !0 });
4250
+ const e = gn(), a = $s(), g = $n(), u = ws(), v = bs(), o = Es(), l = Ss(), c = wn(), d = Ps(), _ = Rs(), h = Ns(), S = Os(), R = js(), E = ks(), b = Is(), y = Ts();
4250
4251
  function n(r = !1) {
4251
4252
  const t = [
4252
4253
  // any
@@ -4267,10 +4268,10 @@ function Is() {
4267
4268
  }
4268
4269
  return Ze.default = n, Ze;
4269
4270
  }
4270
- var ft = {}, ht = {}, sn;
4271
- function Ts() {
4272
- if (sn) return ht;
4273
- sn = 1, Object.defineProperty(ht, "__esModule", { value: !0 });
4271
+ var ft = {}, ht = {}, an;
4272
+ function Cs() {
4273
+ if (an) return ht;
4274
+ an = 1, Object.defineProperty(ht, "__esModule", { value: !0 });
4274
4275
  const e = J(), g = {
4275
4276
  keyword: "format",
4276
4277
  type: ["number", "string"],
@@ -4336,16 +4337,16 @@ function Ts() {
4336
4337
  };
4337
4338
  return ht.default = g, ht;
4338
4339
  }
4339
- var an;
4340
- function qs() {
4341
- if (an) return ft;
4342
- an = 1, Object.defineProperty(ft, "__esModule", { value: !0 });
4343
- const a = [Ts().default];
4340
+ var on;
4341
+ function As() {
4342
+ if (on) return ft;
4343
+ on = 1, Object.defineProperty(ft, "__esModule", { value: !0 });
4344
+ const a = [Cs().default];
4344
4345
  return ft.default = a, ft;
4345
4346
  }
4346
- var we = {}, on;
4347
- function Cs() {
4348
- return on || (on = 1, Object.defineProperty(we, "__esModule", { value: !0 }), we.contentVocabulary = we.metadataVocabulary = void 0, we.metadataVocabulary = [
4347
+ var we = {}, cn;
4348
+ function Ms() {
4349
+ return cn || (cn = 1, Object.defineProperty(we, "__esModule", { value: !0 }), we.contentVocabulary = we.metadataVocabulary = void 0, we.metadataVocabulary = [
4349
4350
  "title",
4350
4351
  "description",
4351
4352
  "default",
@@ -4359,11 +4360,11 @@ function Cs() {
4359
4360
  "contentSchema"
4360
4361
  ]), we;
4361
4362
  }
4362
- var cn;
4363
- function As() {
4364
- if (cn) return Me;
4365
- cn = 1, Object.defineProperty(Me, "__esModule", { value: !0 });
4366
- const e = as(), a = vs(), g = Is(), u = qs(), v = Cs(), o = [
4363
+ var un;
4364
+ function Ds() {
4365
+ if (un) return Me;
4366
+ un = 1, Object.defineProperty(Me, "__esModule", { value: !0 });
4367
+ const e = is(), a = gs(), g = qs(), u = As(), v = Ms(), o = [
4367
4368
  e.default,
4368
4369
  a.default,
4369
4370
  (0, g.default)(),
@@ -4373,20 +4374,20 @@ function As() {
4373
4374
  ];
4374
4375
  return Me.default = o, Me;
4375
4376
  }
4376
- var pt = {}, je = {}, un;
4377
- function Ms() {
4378
- if (un) return je;
4379
- un = 1, Object.defineProperty(je, "__esModule", { value: !0 }), je.DiscrError = void 0;
4377
+ var pt = {}, je = {}, ln;
4378
+ function Vs() {
4379
+ if (ln) return je;
4380
+ ln = 1, Object.defineProperty(je, "__esModule", { value: !0 }), je.DiscrError = void 0;
4380
4381
  var e;
4381
4382
  return function(a) {
4382
4383
  a.Tag = "tag", a.Mapping = "mapping";
4383
4384
  }(e || (je.DiscrError = e = {})), je;
4384
4385
  }
4385
- var ln;
4386
- function Ds() {
4387
- if (ln) return pt;
4388
- ln = 1, Object.defineProperty(pt, "__esModule", { value: !0 });
4389
- const e = J(), a = Ms(), g = Ft(), u = bt(), v = X(), l = {
4386
+ var dn;
4387
+ function zs() {
4388
+ if (dn) return pt;
4389
+ dn = 1, Object.defineProperty(pt, "__esModule", { value: !0 });
4390
+ const e = J(), a = Vs(), g = Ft(), u = bt(), v = X(), l = {
4390
4391
  keyword: "discriminator",
4391
4392
  type: "object",
4392
4393
  schemaType: "object",
@@ -4459,20 +4460,20 @@ function Ds() {
4459
4460
  };
4460
4461
  return pt.default = l, pt;
4461
4462
  }
4462
- const Vs = "http://json-schema.org/draft-07/schema#", zs = "http://json-schema.org/draft-07/schema#", Us = "Core schema meta-schema", Ls = { schemaArray: { type: "array", minItems: 1, items: { $ref: "#" } }, nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { allOf: [{ $ref: "#/definitions/nonNegativeInteger" }, { default: 0 }] }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, Fs = ["object", "boolean"], Ks = { $id: { type: "string", format: "uri-reference" }, $schema: { type: "string", format: "uri" }, $ref: { type: "string", format: "uri-reference" }, $comment: { type: "string" }, title: { type: "string" }, description: { type: "string" }, default: !0, readOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/definitions/nonNegativeInteger" }, minLength: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, additionalItems: { $ref: "#" }, items: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }], default: !0 }, maxItems: { $ref: "#/definitions/nonNegativeInteger" }, minItems: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, contains: { $ref: "#" }, maxProperties: { $ref: "#/definitions/nonNegativeInteger" }, minProperties: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, required: { $ref: "#/definitions/stringArray" }, additionalProperties: { $ref: "#" }, definitions: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, properties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $ref: "#" }, propertyNames: { format: "regex" }, default: {} }, dependencies: { type: "object", additionalProperties: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }] } }, propertyNames: { $ref: "#" }, const: !0, enum: { type: "array", items: !0, minItems: 1, uniqueItems: !0 }, type: { anyOf: [{ $ref: "#/definitions/simpleTypes" }, { type: "array", items: { $ref: "#/definitions/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, format: { type: "string" }, contentMediaType: { type: "string" }, contentEncoding: { type: "string" }, if: { $ref: "#" }, then: { $ref: "#" }, else: { $ref: "#" }, allOf: { $ref: "#/definitions/schemaArray" }, anyOf: { $ref: "#/definitions/schemaArray" }, oneOf: { $ref: "#/definitions/schemaArray" }, not: { $ref: "#" } }, Hs = {
4463
- $schema: Vs,
4464
- $id: zs,
4465
- title: Us,
4466
- definitions: Ls,
4467
- type: Fs,
4468
- properties: Ks,
4463
+ const Us = "http://json-schema.org/draft-07/schema#", Ls = "http://json-schema.org/draft-07/schema#", Fs = "Core schema meta-schema", Ks = { schemaArray: { type: "array", minItems: 1, items: { $ref: "#" } }, nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { allOf: [{ $ref: "#/definitions/nonNegativeInteger" }, { default: 0 }] }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, Hs = ["object", "boolean"], Gs = { $id: { type: "string", format: "uri-reference" }, $schema: { type: "string", format: "uri" }, $ref: { type: "string", format: "uri-reference" }, $comment: { type: "string" }, title: { type: "string" }, description: { type: "string" }, default: !0, readOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/definitions/nonNegativeInteger" }, minLength: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, additionalItems: { $ref: "#" }, items: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }], default: !0 }, maxItems: { $ref: "#/definitions/nonNegativeInteger" }, minItems: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, contains: { $ref: "#" }, maxProperties: { $ref: "#/definitions/nonNegativeInteger" }, minProperties: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, required: { $ref: "#/definitions/stringArray" }, additionalProperties: { $ref: "#" }, definitions: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, properties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $ref: "#" }, propertyNames: { format: "regex" }, default: {} }, dependencies: { type: "object", additionalProperties: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }] } }, propertyNames: { $ref: "#" }, const: !0, enum: { type: "array", items: !0, minItems: 1, uniqueItems: !0 }, type: { anyOf: [{ $ref: "#/definitions/simpleTypes" }, { type: "array", items: { $ref: "#/definitions/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, format: { type: "string" }, contentMediaType: { type: "string" }, contentEncoding: { type: "string" }, if: { $ref: "#" }, then: { $ref: "#" }, else: { $ref: "#" }, allOf: { $ref: "#/definitions/schemaArray" }, anyOf: { $ref: "#/definitions/schemaArray" }, oneOf: { $ref: "#/definitions/schemaArray" }, not: { $ref: "#" } }, Js = {
4464
+ $schema: Us,
4465
+ $id: Ls,
4466
+ title: Fs,
4467
+ definitions: Ks,
4468
+ type: Hs,
4469
+ properties: Gs,
4469
4470
  default: !0
4470
4471
  };
4471
- var dn;
4472
- function Gs() {
4473
- return dn || (dn = 1, function(e, a) {
4472
+ var fn;
4473
+ function Ws() {
4474
+ return fn || (fn = 1, function(e, a) {
4474
4475
  Object.defineProperty(a, "__esModule", { value: !0 }), a.MissingRefError = a.ValidationError = a.CodeGen = a.Name = a.nil = a.stringify = a.str = a._ = a.KeywordCxt = a.Ajv = void 0;
4475
- const g = rs(), u = As(), v = Ds(), o = Hs, l = ["/properties"], c = "http://json-schema.org/draft-07/schema";
4476
+ const g = ss(), u = Ds(), v = zs(), o = Js, l = ["/properties"], c = "http://json-schema.org/draft-07/schema";
4476
4477
  class d extends g.default {
4477
4478
  _addVocabularies() {
4478
4479
  super._addVocabularies(), u.default.forEach((b) => this.addVocabulary(b)), this.opts.discriminator && this.addKeyword(v.default);
@@ -4516,23 +4517,23 @@ function Gs() {
4516
4517
  } });
4517
4518
  }(Ie, Ie.exports)), Ie.exports;
4518
4519
  }
4519
- var Js = Gs();
4520
- const Ws = /* @__PURE__ */ Vn(Js), Bs = "https://schemas.oceanum.io/eidos/root.json";
4520
+ var Bs = Ws();
4521
+ const Xs = /* @__PURE__ */ Un(Bs), Qs = "https://schemas.oceanum.io/eidos/root.json";
4521
4522
  let ke = null;
4522
- const fn = async (e) => {
4523
+ const hn = async (e) => {
4523
4524
  const a = await fetch(e);
4524
4525
  if (a.statusCode >= 400)
4525
4526
  throw new Error("Loading error: " + a.statusCode);
4526
4527
  return a.body;
4527
- }, Xs = async (e) => {
4528
+ }, Ys = async (e) => {
4528
4529
  if (!ke) {
4529
- const g = await fn(Bs);
4530
- ke = await new Ws({
4530
+ const g = await hn(Qs);
4531
+ ke = await new Xs({
4531
4532
  allErrors: !0,
4532
4533
  verbose: !0,
4533
4534
  strict: !1,
4534
4535
  // Allow additional properties for flexibility
4535
- loadSchema: fn
4536
+ loadSchema: hn
4536
4537
  }).compileAsync(g);
4537
4538
  }
4538
4539
  if (!ke(e) && ke.errors) {
@@ -4542,17 +4543,17 @@ const fn = async (e) => {
4542
4543
  throw new Error(`EIDOS spec validation failed: ${g}`);
4543
4544
  }
4544
4545
  return !0;
4545
- }, Qs = "https://render.eidos.oceanum.io", Ys = async (e, a, g = {}) => {
4546
- const { id: u, eventListener: v, renderer: o = Qs, authToken: l } = g, c = e.querySelector("iframe[data-eidos-renderer]"), d = e.getAttribute("data-eidos-initialized") === "true";
4546
+ }, Zs = "https://render.eidos.oceanum.io", xs = async (e, a, g = {}) => {
4547
+ const { id: u, eventListener: v, renderer: o = Zs, authToken: l } = g, c = e.querySelector("iframe[data-eidos-renderer]"), d = e.getAttribute("data-eidos-initialized") === "true";
4547
4548
  if (c || d)
4548
4549
  throw new Error("EIDOS renderer already mounted in this container. Call destroy() before re-rendering.");
4549
4550
  e.setAttribute("data-eidos-initialized", "true");
4550
4551
  try {
4551
- await Xs(a);
4552
+ await Ys(a);
4552
4553
  } catch (S) {
4553
4554
  throw new Error(`Invalid Eidos Spec: ${S.message}`);
4554
4555
  }
4555
- const _ = pn(structuredClone(a)), h = u || a.id;
4556
+ const _ = mn(structuredClone(a)), h = u || a.id;
4556
4557
  return new Promise((S, R) => {
4557
4558
  const E = document.createElement("iframe");
4558
4559
  E.src = `${o}?id=${h}`, E.width = "100%", E.height = "100%", E.frameBorder = "0", E.setAttribute("data-eidos-renderer", "true"), e.appendChild(E);
@@ -4578,12 +4579,12 @@ const fn = async (e) => {
4578
4579
  },
4579
4580
  "*"
4580
4581
  ), l && r(l)) : (t.data.type || t.data.action || t.data.control) && v?.(t.data)));
4581
- }, window.addEventListener("message", b), y = Mn(_, () => {
4582
+ }, window.addEventListener("message", b), y = Vn(_, () => {
4582
4583
  n?.postMessage(
4583
4584
  {
4584
4585
  id: h,
4585
4586
  type: "spec",
4586
- payload: Dn(_)
4587
+ payload: zn(_)
4587
4588
  },
4588
4589
  "*"
4589
4590
  );
@@ -4599,33 +4600,36 @@ const fn = async (e) => {
4599
4600
  R(new Error("Failed to load EIDOS renderer"));
4600
4601
  };
4601
4602
  });
4602
- }, wn = En(null), xs = () => {
4603
- const e = Sn(wn);
4603
+ }, bn = Pn(null), ra = () => {
4604
+ const e = Rn(bn);
4604
4605
  if (!e)
4605
4606
  throw new Error("useEidosSpec must be used within an EidosProvider");
4606
4607
  return e;
4607
- }, ea = ({
4608
+ }, na = ({
4608
4609
  children: e,
4609
4610
  initialSpec: a,
4610
4611
  options: g = {},
4611
4612
  containerStyle: u = { width: "100%", height: "100%", position: "absolute" },
4612
4613
  onInitialized: v
4613
4614
  }) => {
4614
- const o = Jt(null), [l, c] = Pn(null), d = Jt(!1);
4615
- return Rn(() => {
4615
+ const o = Wt(null), [l, c] = Nn(null), d = Wt(!1);
4616
+ return On(() => {
4616
4617
  if (!o.current || d.current) return;
4617
4618
  d.current = !0, (async () => {
4618
4619
  try {
4619
- const h = await Ys(o.current, a, g);
4620
+ const h = await xs(o.current, a, g);
4620
4621
  c(h.spec), v?.(h.spec);
4621
4622
  } catch (h) {
4622
4623
  console.error("Failed to initialize EIDOS:", h), d.current = !1;
4623
4624
  }
4624
4625
  })();
4625
- }, [a, g, v]), /* @__PURE__ */ React.createElement("div", { style: { position: "relative", width: "100%", height: "100%" } }, /* @__PURE__ */ React.createElement("div", { ref: o, style: u }), l && /* @__PURE__ */ React.createElement(wn.Provider, { value: l }, e));
4626
+ }, [a, g, v]), /* @__PURE__ */ Sn("div", { style: { position: "relative", width: "100%", height: "100%" }, children: [
4627
+ /* @__PURE__ */ Jt("div", { ref: o, style: u }),
4628
+ l && /* @__PURE__ */ Jt(bn.Provider, { value: l, children: e })
4629
+ ] });
4626
4630
  };
4627
4631
  export {
4628
- ea as EidosProvider,
4629
- Ys as render,
4630
- xs as useEidosSpec
4632
+ na as EidosProvider,
4633
+ xs as render,
4634
+ ra as useEidosSpec
4631
4635
  };