@bahmni/services 0.0.1-dev.165 → 0.0.1-dev.169

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,5 +1,5 @@
1
1
  import { initReactI18next as Ri } from "react-i18next";
2
- import { useTranslation as Iw } from "react-i18next";
2
+ import { useTranslation as Lw } from "react-i18next";
3
3
  import { useRef as _n, useCallback as Xr, useEffect as Sn } from "react";
4
4
  function fo(e, t) {
5
5
  return function() {
@@ -35,7 +35,7 @@ const Oi = Mr("string"), Se = Mr("function"), mo = Mr("number"), Ot = (e) => e !
35
35
  let t;
36
36
  return e && (typeof FormData == "function" && e instanceof FormData || Se(e.append) && ((t = kr(e)) === "formdata" || // detect form-data instance
37
37
  t === "object" && Se(e.toString) && e.toString() === "[object FormData]"));
38
- }, Mi = De("URLSearchParams"), [xi, qi, Ui, ji] = [
38
+ }, Mi = De("URLSearchParams"), [xi, Ui, qi, ji] = [
39
39
  "ReadableStream",
40
40
  "Request",
41
41
  "Response",
@@ -68,7 +68,7 @@ function go(e, t) {
68
68
  return s;
69
69
  return null;
70
70
  }
71
- const Ge = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, yo = (e) => !ct(e) && e !== Ge;
71
+ const Ke = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, yo = (e) => !ct(e) && e !== Ke;
72
72
  function Rn() {
73
73
  const { caseless: e, skipUndefined: t } = yo(this) && this || {}, r = {}, n = (s, a) => {
74
74
  if (a === "__proto__" || a === "constructor" || a === "prototype")
@@ -108,7 +108,7 @@ const Vi = (e, t, r, { allOwnKeys: n } = {}) => (Pt(
108
108
  }), Object.defineProperty(e, "super", {
109
109
  value: t.prototype
110
110
  }), r && Object.assign(e.prototype, r);
111
- }, Wi = (e, t, r, n) => {
111
+ }, zi = (e, t, r, n) => {
112
112
  let s, a, o;
113
113
  const i = {};
114
114
  if (t = t || {}, e == null) return t;
@@ -118,7 +118,7 @@ const Vi = (e, t, r, { allOwnKeys: n } = {}) => (Pt(
118
118
  e = r !== !1 && Ln(e);
119
119
  } while (e && (!r || r(e, t)) && e !== Object.prototype);
120
120
  return t;
121
- }, zi = (e, t, r) => {
121
+ }, Wi = (e, t, r) => {
122
122
  e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
123
123
  const n = e.indexOf(t, r);
124
124
  return n !== -1 && n === r;
@@ -198,15 +198,15 @@ const ac = (e) => {
198
198
  return n;
199
199
  };
200
200
  return r(e, 0);
201
- }, oc = De("AsyncFunction"), ic = (e) => e && (Ot(e) || Se(e)) && Se(e.then) && Se(e.catch), bo = ((e, t) => e ? setImmediate : t ? ((r, n) => (Ge.addEventListener(
201
+ }, oc = De("AsyncFunction"), ic = (e) => e && (Ot(e) || Se(e)) && Se(e.then) && Se(e.catch), bo = ((e, t) => e ? setImmediate : t ? ((r, n) => (Ke.addEventListener(
202
202
  "message",
203
203
  ({ source: s, data: a }) => {
204
- s === Ge && a === r && n.length && n.shift()();
204
+ s === Ke && a === r && n.length && n.shift()();
205
205
  },
206
206
  !1
207
207
  ), (s) => {
208
- n.push(s), Ge.postMessage(r, "*");
209
- }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(typeof setImmediate == "function", Se(Ge.postMessage)), cc = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ge) : typeof process < "u" && process.nextTick || bo, uc = (e) => e != null && Se(e[Lr]), I = {
208
+ n.push(s), Ke.postMessage(r, "*");
209
+ }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(typeof setImmediate == "function", Se(Ke.postMessage)), cc = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ke) : typeof process < "u" && process.nextTick || bo, uc = (e) => e != null && Se(e[Lr]), I = {
210
210
  isArray: ft,
211
211
  isArrayBuffer: ho,
212
212
  isBuffer: At,
@@ -219,8 +219,8 @@ const ac = (e) => {
219
219
  isPlainObject: Er,
220
220
  isEmptyObject: $i,
221
221
  isReadableStream: xi,
222
- isRequest: qi,
223
- isResponse: Ui,
222
+ isRequest: Ui,
223
+ isResponse: qi,
224
224
  isHeaders: ji,
225
225
  isUndefined: ct,
226
226
  isDate: Ni,
@@ -238,10 +238,10 @@ const ac = (e) => {
238
238
  trim: Fi,
239
239
  stripBOM: Hi,
240
240
  inherits: Bi,
241
- toFlatObject: Wi,
241
+ toFlatObject: zi,
242
242
  kindOf: kr,
243
243
  kindOfTest: De,
244
- endsWith: zi,
244
+ endsWith: Wi,
245
245
  toArray: Gi,
246
246
  forEachEntry: Yi,
247
247
  matchAll: Ji,
@@ -256,7 +256,7 @@ const ac = (e) => {
256
256
  noop: rc,
257
257
  toFiniteNumber: nc,
258
258
  findKey: go,
259
- global: Ge,
259
+ global: Ke,
260
260
  isContextDefined: yo,
261
261
  isSpecCompliantForm: sc,
262
262
  toJSONObject: ac,
@@ -965,15 +965,15 @@ const Ar = (e, t, r = 3) => {
965
965
  function xc(e) {
966
966
  return typeof e != "string" ? !1 : /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
967
967
  }
968
- function qc(e, t) {
968
+ function Uc(e, t) {
969
969
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
970
970
  }
971
971
  function Oo(e, t, r) {
972
972
  let n = !xc(t);
973
- return e && (n || r == !1) ? qc(e, t) : t;
973
+ return e && (n || r == !1) ? Uc(e, t) : t;
974
974
  }
975
975
  const as = (e) => e instanceof Re ? { ...e } : e;
976
- function Ye(e, t) {
976
+ function Je(e, t) {
977
977
  t = t || {};
978
978
  const r = {};
979
979
  function n(l, d, m, y) {
@@ -1043,7 +1043,7 @@ function Ye(e, t) {
1043
1043
  ), r;
1044
1044
  }
1045
1045
  const Po = (e) => {
1046
- const t = Ye({}, e);
1046
+ const t = Je({}, e);
1047
1047
  let { data: r, withXSRFToken: n, xsrfHeaderName: s, xsrfCookieName: a, headers: o, auth: i } = t;
1048
1048
  if (t.headers = o = Re.from(o), t.url = So(Oo(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), i && o.set(
1049
1049
  "Authorization",
@@ -1063,7 +1063,7 @@ const Po = (e) => {
1063
1063
  c && o.set(s, c);
1064
1064
  }
1065
1065
  return t;
1066
- }, Uc = typeof XMLHttpRequest < "u", jc = Uc && function(e) {
1066
+ }, qc = typeof XMLHttpRequest < "u", jc = qc && function(e) {
1067
1067
  return new Promise(function(r, n) {
1068
1068
  const s = Po(e);
1069
1069
  let a = s.data;
@@ -1201,7 +1201,7 @@ const Po = (e) => {
1201
1201
  }, {
1202
1202
  highWaterMark: 2
1203
1203
  });
1204
- }, is = 64 * 1024, { isFunction: Lt } = I, Wc = (({ Request: e, Response: t }) => ({
1204
+ }, is = 64 * 1024, { isFunction: Lt } = I, zc = (({ Request: e, Response: t }) => ({
1205
1205
  Request: e,
1206
1206
  Response: t
1207
1207
  }))(I.global), {
@@ -1213,10 +1213,10 @@ const Po = (e) => {
1213
1213
  } catch {
1214
1214
  return !1;
1215
1215
  }
1216
- }, zc = (e) => {
1216
+ }, Wc = (e) => {
1217
1217
  e = I.merge.call({
1218
1218
  skipUndefined: !0
1219
- }, Wc, e);
1219
+ }, zc, e);
1220
1220
  const { fetch: t, Request: r, Response: n } = e, s = t ? Lt(t) : typeof fetch == "function", a = Lt(r), o = Lt(n);
1221
1221
  if (!s)
1222
1222
  return !1;
@@ -1272,11 +1272,11 @@ const Po = (e) => {
1272
1272
  responseType: R,
1273
1273
  headers: P,
1274
1274
  withCredentials: k = "same-origin",
1275
- fetchOptions: U
1276
- } = Po(v), q = t || fetch;
1275
+ fetchOptions: q
1276
+ } = Po(v), U = t || fetch;
1277
1277
  R = R ? (R + "").toLowerCase() : "text";
1278
1278
  let j = Fc([u, h && h.toAbortSignal()], w), V = null;
1279
- const W = j && j.unsubscribe && (() => {
1279
+ const z = j && j.unsubscribe && (() => {
1280
1280
  j.unsubscribe();
1281
1281
  });
1282
1282
  let re;
@@ -1297,7 +1297,7 @@ const Po = (e) => {
1297
1297
  }
1298
1298
  I.isString(k) || (k = k ? "include" : "omit");
1299
1299
  const ne = a && "credentials" in r.prototype, he = {
1300
- ...U,
1300
+ ...q,
1301
1301
  signal: j,
1302
1302
  method: f.toUpperCase(),
1303
1303
  headers: P.normalize().toJSON(),
@@ -1306,9 +1306,9 @@ const Po = (e) => {
1306
1306
  credentials: ne ? k : void 0
1307
1307
  };
1308
1308
  V = a && new r(g, he);
1309
- let J = await (a ? q(V, U) : q(g, he));
1309
+ let J = await (a ? U(V, q) : U(g, he));
1310
1310
  const ce = d && (R === "stream" || R === "response");
1311
- if (d && (_ || ce && W)) {
1311
+ if (d && (_ || ce && z)) {
1312
1312
  const O = {};
1313
1313
  ["status", "statusText", "headers"].forEach((T) => {
1314
1314
  O[T] = J[T];
@@ -1319,14 +1319,14 @@ const Po = (e) => {
1319
1319
  ) || [];
1320
1320
  J = new n(
1321
1321
  os(J.body, is, N, () => {
1322
- b && b(), W && W();
1322
+ b && b(), z && z();
1323
1323
  }),
1324
1324
  O
1325
1325
  );
1326
1326
  }
1327
1327
  R = R || "text";
1328
1328
  let M = await m[I.findKey(m, R) || "text"](J, v);
1329
- return !ce && W && W(), await new Promise((O, C) => {
1329
+ return !ce && z && z(), await new Promise((O, C) => {
1330
1330
  Ao(O, C, {
1331
1331
  data: M,
1332
1332
  headers: Re.from(J.headers),
@@ -1337,7 +1337,7 @@ const Po = (e) => {
1337
1337
  });
1338
1338
  });
1339
1339
  } catch (ne) {
1340
- throw W && W(), ne && ne.name === "TypeError" && /Load failed|fetch/i.test(ne.message) ? Object.assign(
1340
+ throw z && z(), ne && ne.name === "TypeError" && /Load failed|fetch/i.test(ne.message) ? Object.assign(
1341
1341
  new G("Network Error", G.ERR_NETWORK, v, V, ne && ne.response),
1342
1342
  {
1343
1343
  cause: ne.cause || ne
@@ -1354,18 +1354,18 @@ const Po = (e) => {
1354
1354
  ];
1355
1355
  let o = a.length, i = o, c, l, d = Gc;
1356
1356
  for (; i--; )
1357
- c = a[i], l = d.get(c), l === void 0 && d.set(c, l = i ? /* @__PURE__ */ new Map() : zc(t)), d = l;
1357
+ c = a[i], l = d.get(c), l === void 0 && d.set(c, l = i ? /* @__PURE__ */ new Map() : Wc(t)), d = l;
1358
1358
  return l;
1359
1359
  };
1360
1360
  $o();
1361
- const qn = {
1361
+ const Un = {
1362
1362
  http: lc,
1363
1363
  xhr: jc,
1364
1364
  fetch: {
1365
1365
  get: $o
1366
1366
  }
1367
1367
  };
1368
- I.forEach(qn, (e, t) => {
1368
+ I.forEach(Un, (e, t) => {
1369
1369
  if (e) {
1370
1370
  try {
1371
1371
  Object.defineProperty(e, "name", { value: t });
@@ -1383,7 +1383,7 @@ function Yc(e, t) {
1383
1383
  for (let o = 0; o < r; o++) {
1384
1384
  n = e[o];
1385
1385
  let i;
1386
- if (s = n, !Kc(n) && (s = qn[(i = String(n)).toLowerCase()], s === void 0))
1386
+ if (s = n, !Kc(n) && (s = Un[(i = String(n)).toLowerCase()], s === void 0))
1387
1387
  throw new G(`Unknown adapter '${i}'`);
1388
1388
  if (s && (I.isFunction(s) || (s = s.get(t))))
1389
1389
  break;
@@ -1413,7 +1413,7 @@ const No = {
1413
1413
  * Exposes all known adapters
1414
1414
  * @type {Object<string, Function|Object>}
1415
1415
  */
1416
- adapters: qn
1416
+ adapters: Un
1417
1417
  };
1418
1418
  function en(e) {
1419
1419
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
@@ -1437,14 +1437,14 @@ function fs(e) {
1437
1437
  ), n.response.headers = Re.from(n.response.headers))), Promise.reject(n);
1438
1438
  });
1439
1439
  }
1440
- const Io = "1.13.5", qr = {};
1440
+ const Io = "1.13.5", Ur = {};
1441
1441
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1442
- qr[e] = function(n) {
1442
+ Ur[e] = function(n) {
1443
1443
  return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
1444
1444
  };
1445
1445
  });
1446
1446
  const ps = {};
1447
- qr.transitional = function(t, r, n) {
1447
+ Ur.transitional = function(t, r, n) {
1448
1448
  function s(a, o) {
1449
1449
  return "[Axios v" + Io + "] Transitional option '" + a + "'" + o + (n ? ". " + n : "");
1450
1450
  }
@@ -1462,7 +1462,7 @@ qr.transitional = function(t, r, n) {
1462
1462
  )), t ? t(a, o, i) : !0;
1463
1463
  };
1464
1464
  };
1465
- qr.spelling = function(t) {
1465
+ Ur.spelling = function(t) {
1466
1466
  return (r, n) => (console.warn(`${n} is likely a misspelling of ${t}`), !0);
1467
1467
  };
1468
1468
  function Jc(e, t, r) {
@@ -1484,9 +1484,9 @@ function Jc(e, t, r) {
1484
1484
  }
1485
1485
  const Sr = {
1486
1486
  assertOptions: Jc,
1487
- validators: qr
1487
+ validators: Ur
1488
1488
  }, Oe = Sr.validators;
1489
- let Ke = class {
1489
+ let Ye = class {
1490
1490
  constructor(t) {
1491
1491
  this.defaults = t || {}, this.interceptors = {
1492
1492
  request: new ts(),
@@ -1519,7 +1519,7 @@ let Ke = class {
1519
1519
  }
1520
1520
  }
1521
1521
  _request(t, r) {
1522
- typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Ye(this.defaults, r);
1522
+ typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Je(this.defaults, r);
1523
1523
  const { transitional: n, paramsSerializer: s, headers: a } = r;
1524
1524
  n !== void 0 && Sr.assertOptions(n, {
1525
1525
  silentJSONParsing: Oe.transitional(Oe.boolean),
@@ -1586,14 +1586,14 @@ let Ke = class {
1586
1586
  return d;
1587
1587
  }
1588
1588
  getUri(t) {
1589
- t = Ye(this.defaults, t);
1589
+ t = Je(this.defaults, t);
1590
1590
  const r = Oo(t.baseURL, t.url, t.allowAbsoluteUrls);
1591
1591
  return So(r, t.params, t.paramsSerializer);
1592
1592
  }
1593
1593
  };
1594
1594
  I.forEach(["delete", "get", "head", "options"], function(t) {
1595
- Ke.prototype[t] = function(r, n) {
1596
- return this.request(Ye(n || {}, {
1595
+ Ye.prototype[t] = function(r, n) {
1596
+ return this.request(Je(n || {}, {
1597
1597
  method: t,
1598
1598
  url: r,
1599
1599
  data: (n || {}).data
@@ -1603,7 +1603,7 @@ I.forEach(["delete", "get", "head", "options"], function(t) {
1603
1603
  I.forEach(["post", "put", "patch"], function(t) {
1604
1604
  function r(n) {
1605
1605
  return function(a, o, i) {
1606
- return this.request(Ye(i || {}, {
1606
+ return this.request(Je(i || {}, {
1607
1607
  method: t,
1608
1608
  headers: n ? {
1609
1609
  "Content-Type": "multipart/form-data"
@@ -1613,7 +1613,7 @@ I.forEach(["post", "put", "patch"], function(t) {
1613
1613
  }));
1614
1614
  };
1615
1615
  }
1616
- Ke.prototype[t] = r(), Ke.prototype[t + "Form"] = r(!0);
1616
+ Ye.prototype[t] = r(), Ye.prototype[t + "Form"] = r(!0);
1617
1617
  });
1618
1618
  let Xc = class Do {
1619
1619
  constructor(t) {
@@ -1771,13 +1771,13 @@ Object.entries(On).forEach(([e, t]) => {
1771
1771
  On[t] = e;
1772
1772
  });
1773
1773
  function Co(e) {
1774
- const t = new Ke(e), r = fo(Ke.prototype.request, t);
1775
- return I.extend(r, Ke.prototype, t, { allOwnKeys: !0 }), I.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(s) {
1776
- return Co(Ye(e, s));
1774
+ const t = new Ye(e), r = fo(Ye.prototype.request, t);
1775
+ return I.extend(r, Ye.prototype, t, { allOwnKeys: !0 }), I.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(s) {
1776
+ return Co(Je(e, s));
1777
1777
  }, r;
1778
1778
  }
1779
1779
  const ue = Co($t);
1780
- ue.Axios = Ke;
1780
+ ue.Axios = Ye;
1781
1781
  ue.CanceledError = Nt;
1782
1782
  ue.CancelToken = Xc;
1783
1783
  ue.isCancel = To;
@@ -1790,29 +1790,29 @@ ue.all = function(t) {
1790
1790
  };
1791
1791
  ue.spread = Qc;
1792
1792
  ue.isAxiosError = Zc;
1793
- ue.mergeConfig = Ye;
1793
+ ue.mergeConfig = Je;
1794
1794
  ue.AxiosHeaders = Re;
1795
1795
  ue.formToJSON = (e) => Ro(I.isHTMLForm(e) ? new FormData(e) : e);
1796
1796
  ue.getAdapter = No.getAdapter;
1797
1797
  ue.HttpStatusCode = On;
1798
1798
  ue.default = ue;
1799
1799
  const {
1800
- Axios: Hy,
1801
- AxiosError: By,
1800
+ Axios: By,
1801
+ AxiosError: zy,
1802
1802
  CanceledError: Wy,
1803
- isCancel: zy,
1804
- CancelToken: Gy,
1805
- VERSION: Ky,
1806
- all: Yy,
1807
- Cancel: Jy,
1808
- isAxiosError: Xy,
1809
- spread: Qy,
1810
- toFormData: Zy,
1811
- AxiosHeaders: ev,
1812
- HttpStatusCode: tv,
1813
- formToJSON: rv,
1814
- getAdapter: nv,
1815
- mergeConfig: sv
1803
+ isCancel: Gy,
1804
+ CancelToken: Ky,
1805
+ VERSION: Yy,
1806
+ all: Jy,
1807
+ Cancel: Xy,
1808
+ isAxiosError: Qy,
1809
+ spread: Zy,
1810
+ toFormData: ev,
1811
+ AxiosHeaders: tv,
1812
+ HttpStatusCode: rv,
1813
+ formToJSON: nv,
1814
+ getAdapter: sv,
1815
+ mergeConfig: av
1816
1816
  } = ue, eu = (e) => typeof e == "object" && e !== null && "resourceType" in e && e.resourceType === "OperationOutcome", tu = (e) => {
1817
1817
  if (!e.issue || !Array.isArray(e.issue))
1818
1818
  return null;
@@ -1874,7 +1874,7 @@ var it = function() {
1874
1874
  return e;
1875
1875
  }, it.apply(this, arguments);
1876
1876
  }, nu = "~", su = "~~";
1877
- function Un(e, t) {
1877
+ function qn(e, t) {
1878
1878
  for (var r = {}, n = {}, s = e.split(su), a = !1, o = 0; s.length > o; o++) {
1879
1879
  for (var i = s[o].split(nu), c = 0; c < i.length; c += 2) {
1880
1880
  var l = i[c], d = i[c + 1], m = "&" + l + ";";
@@ -1889,9 +1889,9 @@ var tn = {
1889
1889
  html4: /&notin;|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,
1890
1890
  html5: /&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g
1891
1891
  }, lt = {};
1892
- lt.xml = Un(`lt~<~gt~>~quot~"~apos~'~amp~&`);
1893
- lt.html4 = Un(`apos~'~OElig~Œ~oelig~œ~Scaron~Š~scaron~š~Yuml~Ÿ~circ~ˆ~tilde~˜~ensp~ ~emsp~ ~thinsp~ ~zwnj~‌~zwj~‍~lrm~‎~rlm~‏~ndash~–~mdash~—~lsquo~‘~rsquo~’~sbquo~‚~ldquo~“~rdquo~”~bdquo~„~dagger~†~Dagger~‡~permil~‰~lsaquo~‹~rsaquo~›~euro~€~fnof~ƒ~Alpha~Α~Beta~Β~Gamma~Γ~Delta~Δ~Epsilon~Ε~Zeta~Ζ~Eta~Η~Theta~Θ~Iota~Ι~Kappa~Κ~Lambda~Λ~Mu~Μ~Nu~Ν~Xi~Ξ~Omicron~Ο~Pi~Π~Rho~Ρ~Sigma~Σ~Tau~Τ~Upsilon~Υ~Phi~Φ~Chi~Χ~Psi~Ψ~Omega~Ω~alpha~α~beta~β~gamma~γ~delta~δ~epsilon~ε~zeta~ζ~eta~η~theta~θ~iota~ι~kappa~κ~lambda~λ~mu~μ~nu~ν~xi~ξ~omicron~ο~pi~π~rho~ρ~sigmaf~ς~sigma~σ~tau~τ~upsilon~υ~phi~φ~chi~χ~psi~ψ~omega~ω~thetasym~ϑ~upsih~ϒ~piv~ϖ~bull~•~hellip~…~prime~′~Prime~″~oline~‾~frasl~⁄~weierp~℘~image~ℑ~real~ℜ~trade~™~alefsym~ℵ~larr~←~uarr~↑~rarr~→~darr~↓~harr~↔~crarr~↵~lArr~⇐~uArr~⇑~rArr~⇒~dArr~⇓~hArr~⇔~forall~∀~part~∂~exist~∃~empty~∅~nabla~∇~isin~∈~notin~∉~ni~∋~prod~∏~sum~∑~minus~−~lowast~∗~radic~√~prop~∝~infin~∞~ang~∠~and~∧~or~∨~cap~∩~cup~∪~int~∫~there4~∴~sim~∼~cong~≅~asymp~≈~ne~≠~equiv~≡~le~≤~ge~≥~sub~⊂~sup~⊃~nsub~⊄~sube~⊆~supe~⊇~oplus~⊕~otimes~⊗~perp~⊥~sdot~⋅~lceil~⌈~rceil~⌉~lfloor~⌊~rfloor~⌋~lang~〈~rang~〉~loz~◊~spades~♠~clubs~♣~hearts~♥~diams~♦~~nbsp~ ~iexcl~¡~cent~¢~pound~£~curren~¤~yen~¥~brvbar~¦~sect~§~uml~¨~copy~©~ordf~ª~laquo~«~not~¬~shy~­~reg~®~macr~¯~deg~°~plusmn~±~sup2~²~sup3~³~acute~´~micro~µ~para~¶~middot~·~cedil~¸~sup1~¹~ordm~º~raquo~»~frac14~¼~frac12~½~frac34~¾~iquest~¿~Agrave~À~Aacute~Á~Acirc~Â~Atilde~Ã~Auml~Ä~Aring~Å~AElig~Æ~Ccedil~Ç~Egrave~È~Eacute~É~Ecirc~Ê~Euml~Ë~Igrave~Ì~Iacute~Í~Icirc~Î~Iuml~Ï~ETH~Ð~Ntilde~Ñ~Ograve~Ò~Oacute~Ó~Ocirc~Ô~Otilde~Õ~Ouml~Ö~times~×~Oslash~Ø~Ugrave~Ù~Uacute~Ú~Ucirc~Û~Uuml~Ü~Yacute~Ý~THORN~Þ~szlig~ß~agrave~à~aacute~á~acirc~â~atilde~ã~auml~ä~aring~å~aelig~æ~ccedil~ç~egrave~è~eacute~é~ecirc~ê~euml~ë~igrave~ì~iacute~í~icirc~î~iuml~ï~eth~ð~ntilde~ñ~ograve~ò~oacute~ó~ocirc~ô~otilde~õ~ouml~ö~divide~÷~oslash~ø~ugrave~ù~uacute~ú~ucirc~û~uuml~ü~yacute~ý~thorn~þ~yuml~ÿ~quot~"~amp~&~lt~<~gt~>`);
1894
- lt.html5 = Un('Abreve~Ă~Acy~А~Afr~𝔄~Amacr~Ā~And~⩓~Aogon~Ą~Aopf~𝔸~ApplyFunction~⁡~Ascr~𝒜~Assign~≔~Backslash~∖~Barv~⫧~Barwed~⌆~Bcy~Б~Because~∵~Bernoullis~ℬ~Bfr~𝔅~Bopf~𝔹~Breve~˘~Bscr~ℬ~Bumpeq~≎~CHcy~Ч~Cacute~Ć~Cap~⋒~CapitalDifferentialD~ⅅ~Cayleys~ℭ~Ccaron~Č~Ccirc~Ĉ~Cconint~∰~Cdot~Ċ~Cedilla~¸~CenterDot~·~Cfr~ℭ~CircleDot~⊙~CircleMinus~⊖~CirclePlus~⊕~CircleTimes~⊗~ClockwiseContourIntegral~∲~CloseCurlyDoubleQuote~”~CloseCurlyQuote~’~Colon~∷~Colone~⩴~Congruent~≡~Conint~∯~ContourIntegral~∮~Copf~ℂ~Coproduct~∐~CounterClockwiseContourIntegral~∳~Cross~⨯~Cscr~𝒞~Cup~⋓~CupCap~≍~DD~ⅅ~DDotrahd~⤑~DJcy~Ђ~DScy~Ѕ~DZcy~Џ~Darr~↡~Dashv~⫤~Dcaron~Ď~Dcy~Д~Del~∇~Dfr~𝔇~DiacriticalAcute~´~DiacriticalDot~˙~DiacriticalDoubleAcute~˝~DiacriticalGrave~`~DiacriticalTilde~˜~Diamond~⋄~DifferentialD~ⅆ~Dopf~𝔻~Dot~¨~DotDot~⃜~DotEqual~≐~DoubleContourIntegral~∯~DoubleDot~¨~DoubleDownArrow~⇓~DoubleLeftArrow~⇐~DoubleLeftRightArrow~⇔~DoubleLeftTee~⫤~DoubleLongLeftArrow~⟸~DoubleLongLeftRightArrow~⟺~DoubleLongRightArrow~⟹~DoubleRightArrow~⇒~DoubleRightTee~⊨~DoubleUpArrow~⇑~DoubleUpDownArrow~⇕~DoubleVerticalBar~∥~DownArrow~↓~DownArrowBar~⤓~DownArrowUpArrow~⇵~DownBreve~̑~DownLeftRightVector~⥐~DownLeftTeeVector~⥞~DownLeftVector~↽~DownLeftVectorBar~⥖~DownRightTeeVector~⥟~DownRightVector~⇁~DownRightVectorBar~⥗~DownTee~⊤~DownTeeArrow~↧~Downarrow~⇓~Dscr~𝒟~Dstrok~Đ~ENG~Ŋ~Ecaron~Ě~Ecy~Э~Edot~Ė~Efr~𝔈~Element~∈~Emacr~Ē~EmptySmallSquare~◻~EmptyVerySmallSquare~▫~Eogon~Ę~Eopf~𝔼~Equal~⩵~EqualTilde~≂~Equilibrium~⇌~Escr~ℰ~Esim~⩳~Exists~∃~ExponentialE~ⅇ~Fcy~Ф~Ffr~𝔉~FilledSmallSquare~◼~FilledVerySmallSquare~▪~Fopf~𝔽~ForAll~∀~Fouriertrf~ℱ~Fscr~ℱ~GJcy~Ѓ~Gammad~Ϝ~Gbreve~Ğ~Gcedil~Ģ~Gcirc~Ĝ~Gcy~Г~Gdot~Ġ~Gfr~𝔊~Gg~⋙~Gopf~𝔾~GreaterEqual~≥~GreaterEqualLess~⋛~GreaterFullEqual~≧~GreaterGreater~⪢~GreaterLess~≷~GreaterSlantEqual~⩾~GreaterTilde~≳~Gscr~𝒢~Gt~≫~HARDcy~Ъ~Hacek~ˇ~Hat~^~Hcirc~Ĥ~Hfr~ℌ~HilbertSpace~ℋ~Hopf~ℍ~HorizontalLine~─~Hscr~ℋ~Hstrok~Ħ~HumpDownHump~≎~HumpEqual~≏~IEcy~Е~IJlig~IJ~IOcy~Ё~Icy~И~Idot~İ~Ifr~ℑ~Im~ℑ~Imacr~Ī~ImaginaryI~ⅈ~Implies~⇒~Int~∬~Integral~∫~Intersection~⋂~InvisibleComma~⁣~InvisibleTimes~⁢~Iogon~Į~Iopf~𝕀~Iscr~ℐ~Itilde~Ĩ~Iukcy~І~Jcirc~Ĵ~Jcy~Й~Jfr~𝔍~Jopf~𝕁~Jscr~𝒥~Jsercy~Ј~Jukcy~Є~KHcy~Х~KJcy~Ќ~Kcedil~Ķ~Kcy~К~Kfr~𝔎~Kopf~𝕂~Kscr~𝒦~LJcy~Љ~Lacute~Ĺ~Lang~⟪~Laplacetrf~ℒ~Larr~↞~Lcaron~Ľ~Lcedil~Ļ~Lcy~Л~LeftAngleBracket~⟨~LeftArrow~←~LeftArrowBar~⇤~LeftArrowRightArrow~⇆~LeftCeiling~⌈~LeftDoubleBracket~⟦~LeftDownTeeVector~⥡~LeftDownVector~⇃~LeftDownVectorBar~⥙~LeftFloor~⌊~LeftRightArrow~↔~LeftRightVector~⥎~LeftTee~⊣~LeftTeeArrow~↤~LeftTeeVector~⥚~LeftTriangle~⊲~LeftTriangleBar~⧏~LeftTriangleEqual~⊴~LeftUpDownVector~⥑~LeftUpTeeVector~⥠~LeftUpVector~↿~LeftUpVectorBar~⥘~LeftVector~↼~LeftVectorBar~⥒~Leftarrow~⇐~Leftrightarrow~⇔~LessEqualGreater~⋚~LessFullEqual~≦~LessGreater~≶~LessLess~⪡~LessSlantEqual~⩽~LessTilde~≲~Lfr~𝔏~Ll~⋘~Lleftarrow~⇚~Lmidot~Ŀ~LongLeftArrow~⟵~LongLeftRightArrow~⟷~LongRightArrow~⟶~Longleftarrow~⟸~Longleftrightarrow~⟺~Longrightarrow~⟹~Lopf~𝕃~LowerLeftArrow~↙~LowerRightArrow~↘~Lscr~ℒ~Lsh~↰~Lstrok~Ł~Lt~≪~Map~⤅~Mcy~М~MediumSpace~ ~Mellintrf~ℳ~Mfr~𝔐~MinusPlus~∓~Mopf~𝕄~Mscr~ℳ~NJcy~Њ~Nacute~Ń~Ncaron~Ň~Ncedil~Ņ~Ncy~Н~NegativeMediumSpace~​~NegativeThickSpace~​~NegativeThinSpace~​~NegativeVeryThinSpace~​~NestedGreaterGreater~≫~NestedLessLess~≪~NewLine~\n~Nfr~𝔑~NoBreak~⁠~NonBreakingSpace~ ~Nopf~ℕ~Not~⫬~NotCongruent~≢~NotCupCap~≭~NotDoubleVerticalBar~∦~NotElement~∉~NotEqual~≠~NotEqualTilde~≂̸~NotExists~∄~NotGreater~≯~NotGreaterEqual~≱~NotGreaterFullEqual~≧̸~NotGreaterGreater~≫̸~NotGreaterLess~≹~NotGreaterSlantEqual~⩾̸~NotGreaterTilde~≵~NotHumpDownHump~≎̸~NotHumpEqual~≏̸~NotLeftTriangle~⋪~NotLeftTriangleBar~⧏̸~NotLeftTriangleEqual~⋬~NotLess~≮~NotLessEqual~≰~NotLessGreater~≸~NotLessLess~≪̸~NotLessSlantEqual~⩽̸~NotLessTilde~≴~NotNestedGreaterGreater~⪢̸~NotNestedLessLess~⪡̸~NotPrecedes~⊀~NotPrecedesEqual~⪯̸~NotPrecedesSlantEqual~⋠~NotReverseElement~∌~NotRightTriangle~⋫~NotRightTriangleBar~⧐̸~NotRightTriangleEqual~⋭~NotSquareSubset~⊏̸~NotSquareSubsetEqual~⋢~NotSquareSuperset~⊐̸~NotSquareSupersetEqual~⋣~NotSubset~⊂⃒~NotSubsetEqual~⊈~NotSucceeds~⊁~NotSucceedsEqual~⪰̸~NotSucceedsSlantEqual~⋡~NotSucceedsTilde~≿̸~NotSuperset~⊃⃒~NotSupersetEqual~⊉~NotTilde~≁~NotTildeEqual~≄~NotTildeFullEqual~≇~NotTildeTilde~≉~NotVerticalBar~∤~Nscr~𝒩~Ocy~О~Odblac~Ő~Ofr~𝔒~Omacr~Ō~Oopf~𝕆~OpenCurlyDoubleQuote~“~OpenCurlyQuote~‘~Or~⩔~Oscr~𝒪~Otimes~⨷~OverBar~‾~OverBrace~⏞~OverBracket~⎴~OverParenthesis~⏜~PartialD~∂~Pcy~П~Pfr~𝔓~PlusMinus~±~Poincareplane~ℌ~Popf~ℙ~Pr~⪻~Precedes~≺~PrecedesEqual~⪯~PrecedesSlantEqual~≼~PrecedesTilde~≾~Product~∏~Proportion~∷~Proportional~∝~Pscr~𝒫~Qfr~𝔔~Qopf~ℚ~Qscr~𝒬~RBarr~⤐~Racute~Ŕ~Rang~⟫~Rarr~↠~Rarrtl~⤖~Rcaron~Ř~Rcedil~Ŗ~Rcy~Р~Re~ℜ~ReverseElement~∋~ReverseEquilibrium~⇋~ReverseUpEquilibrium~⥯~Rfr~ℜ~RightAngleBracket~⟩~RightArrow~→~RightArrowBar~⇥~RightArrowLeftArrow~⇄~RightCeiling~⌉~RightDoubleBracket~⟧~RightDownTeeVector~⥝~RightDownVector~⇂~RightDownVectorBar~⥕~RightFloor~⌋~RightTee~⊢~RightTeeArrow~↦~RightTeeVector~⥛~RightTriangle~⊳~RightTriangleBar~⧐~RightTriangleEqual~⊵~RightUpDownVector~⥏~RightUpTeeVector~⥜~RightUpVector~↾~RightUpVectorBar~⥔~RightVector~⇀~RightVectorBar~⥓~Rightarrow~⇒~Ropf~ℝ~RoundImplies~⥰~Rrightarrow~⇛~Rscr~ℛ~Rsh~↱~RuleDelayed~⧴~SHCHcy~Щ~SHcy~Ш~SOFTcy~Ь~Sacute~Ś~Sc~⪼~Scedil~Ş~Scirc~Ŝ~Scy~С~Sfr~𝔖~ShortDownArrow~↓~ShortLeftArrow~←~ShortRightArrow~→~ShortUpArrow~↑~SmallCircle~∘~Sopf~𝕊~Sqrt~√~Square~□~SquareIntersection~⊓~SquareSubset~⊏~SquareSubsetEqual~⊑~SquareSuperset~⊐~SquareSupersetEqual~⊒~SquareUnion~⊔~Sscr~𝒮~Star~⋆~Sub~⋐~Subset~⋐~SubsetEqual~⊆~Succeeds~≻~SucceedsEqual~⪰~SucceedsSlantEqual~≽~SucceedsTilde~≿~SuchThat~∋~Sum~∑~Sup~⋑~Superset~⊃~SupersetEqual~⊇~Supset~⋑~TRADE~™~TSHcy~Ћ~TScy~Ц~Tab~ ~Tcaron~Ť~Tcedil~Ţ~Tcy~Т~Tfr~𝔗~Therefore~∴~ThickSpace~  ~ThinSpace~ ~Tilde~∼~TildeEqual~≃~TildeFullEqual~≅~TildeTilde~≈~Topf~𝕋~TripleDot~⃛~Tscr~𝒯~Tstrok~Ŧ~Uarr~↟~Uarrocir~⥉~Ubrcy~Ў~Ubreve~Ŭ~Ucy~У~Udblac~Ű~Ufr~𝔘~Umacr~Ū~UnderBar~_~UnderBrace~⏟~UnderBracket~⎵~UnderParenthesis~⏝~Union~⋃~UnionPlus~⊎~Uogon~Ų~Uopf~𝕌~UpArrow~↑~UpArrowBar~⤒~UpArrowDownArrow~⇅~UpDownArrow~↕~UpEquilibrium~⥮~UpTee~⊥~UpTeeArrow~↥~Uparrow~⇑~Updownarrow~⇕~UpperLeftArrow~↖~UpperRightArrow~↗~Upsi~ϒ~Uring~Ů~Uscr~𝒰~Utilde~Ũ~VDash~⊫~Vbar~⫫~Vcy~В~Vdash~⊩~Vdashl~⫦~Vee~⋁~Verbar~‖~Vert~‖~VerticalBar~∣~VerticalLine~|~VerticalSeparator~❘~VerticalTilde~≀~VeryThinSpace~ ~Vfr~𝔙~Vopf~𝕍~Vscr~𝒱~Vvdash~⊪~Wcirc~Ŵ~Wedge~⋀~Wfr~𝔚~Wopf~𝕎~Wscr~𝒲~Xfr~𝔛~Xopf~𝕏~Xscr~𝒳~YAcy~Я~YIcy~Ї~YUcy~Ю~Ycirc~Ŷ~Ycy~Ы~Yfr~𝔜~Yopf~𝕐~Yscr~𝒴~ZHcy~Ж~Zacute~Ź~Zcaron~Ž~Zcy~З~Zdot~Ż~ZeroWidthSpace~​~Zfr~ℨ~Zopf~ℤ~Zscr~𝒵~abreve~ă~ac~∾~acE~∾̳~acd~∿~acy~а~af~⁡~afr~𝔞~aleph~ℵ~amacr~ā~amalg~⨿~andand~⩕~andd~⩜~andslope~⩘~andv~⩚~ange~⦤~angle~∠~angmsd~∡~angmsdaa~⦨~angmsdab~⦩~angmsdac~⦪~angmsdad~⦫~angmsdae~⦬~angmsdaf~⦭~angmsdag~⦮~angmsdah~⦯~angrt~∟~angrtvb~⊾~angrtvbd~⦝~angsph~∢~angst~Å~angzarr~⍼~aogon~ą~aopf~𝕒~ap~≈~apE~⩰~apacir~⩯~ape~≊~apid~≋~approx~≈~approxeq~≊~ascr~𝒶~ast~*~asympeq~≍~awconint~∳~awint~⨑~bNot~⫭~backcong~≌~backepsilon~϶~backprime~‵~backsim~∽~backsimeq~⋍~barvee~⊽~barwed~⌅~barwedge~⌅~bbrk~⎵~bbrktbrk~⎶~bcong~≌~bcy~б~becaus~∵~because~∵~bemptyv~⦰~bepsi~϶~bernou~ℬ~beth~ℶ~between~≬~bfr~𝔟~bigcap~⋂~bigcirc~◯~bigcup~⋃~bigodot~⨀~bigoplus~⨁~bigotimes~⨂~bigsqcup~⨆~bigstar~★~bigtriangledown~▽~bigtriangleup~△~biguplus~⨄~bigvee~⋁~bigwedge~⋀~bkarow~⤍~blacklozenge~⧫~blacksquare~▪~blacktriangle~▴~blacktriangledown~▾~blacktriangleleft~◂~blacktriangleright~▸~blank~␣~blk12~▒~blk14~░~blk34~▓~block~█~bne~=⃥~bnequiv~≡⃥~bnot~⌐~bopf~𝕓~bot~⊥~bottom~⊥~bowtie~⋈~boxDL~╗~boxDR~╔~boxDl~╖~boxDr~╓~boxH~═~boxHD~╦~boxHU~╩~boxHd~╤~boxHu~╧~boxUL~╝~boxUR~╚~boxUl~╜~boxUr~╙~boxV~║~boxVH~╬~boxVL~╣~boxVR~╠~boxVh~╫~boxVl~╢~boxVr~╟~boxbox~⧉~boxdL~╕~boxdR~╒~boxdl~┐~boxdr~┌~boxh~─~boxhD~╥~boxhU~╨~boxhd~┬~boxhu~┴~boxminus~⊟~boxplus~⊞~boxtimes~⊠~boxuL~╛~boxuR~╘~boxul~┘~boxur~└~boxv~│~boxvH~╪~boxvL~╡~boxvR~╞~boxvh~┼~boxvl~┤~boxvr~├~bprime~‵~breve~˘~bscr~𝒷~bsemi~⁏~bsim~∽~bsime~⋍~bsol~\\~bsolb~⧅~bsolhsub~⟈~bullet~•~bump~≎~bumpE~⪮~bumpe~≏~bumpeq~≏~cacute~ć~capand~⩄~capbrcup~⩉~capcap~⩋~capcup~⩇~capdot~⩀~caps~∩︀~caret~⁁~caron~ˇ~ccaps~⩍~ccaron~č~ccirc~ĉ~ccups~⩌~ccupssm~⩐~cdot~ċ~cemptyv~⦲~centerdot~·~cfr~𝔠~chcy~ч~check~✓~checkmark~✓~cir~○~cirE~⧃~circeq~≗~circlearrowleft~↺~circlearrowright~↻~circledR~®~circledS~Ⓢ~circledast~⊛~circledcirc~⊚~circleddash~⊝~cire~≗~cirfnint~⨐~cirmid~⫯~cirscir~⧂~clubsuit~♣~colon~:~colone~≔~coloneq~≔~comma~,~commat~@~comp~∁~compfn~∘~complement~∁~complexes~ℂ~congdot~⩭~conint~∮~copf~𝕔~coprod~∐~copysr~℗~cross~✗~cscr~𝒸~csub~⫏~csube~⫑~csup~⫐~csupe~⫒~ctdot~⋯~cudarrl~⤸~cudarrr~⤵~cuepr~⋞~cuesc~⋟~cularr~↶~cularrp~⤽~cupbrcap~⩈~cupcap~⩆~cupcup~⩊~cupdot~⊍~cupor~⩅~cups~∪︀~curarr~↷~curarrm~⤼~curlyeqprec~⋞~curlyeqsucc~⋟~curlyvee~⋎~curlywedge~⋏~curvearrowleft~↶~curvearrowright~↷~cuvee~⋎~cuwed~⋏~cwconint~∲~cwint~∱~cylcty~⌭~dHar~⥥~daleth~ℸ~dash~‐~dashv~⊣~dbkarow~⤏~dblac~˝~dcaron~ď~dcy~д~dd~ⅆ~ddagger~‡~ddarr~⇊~ddotseq~⩷~demptyv~⦱~dfisht~⥿~dfr~𝔡~dharl~⇃~dharr~⇂~diam~⋄~diamond~⋄~diamondsuit~♦~die~¨~digamma~ϝ~disin~⋲~div~÷~divideontimes~⋇~divonx~⋇~djcy~ђ~dlcorn~⌞~dlcrop~⌍~dollar~$~dopf~𝕕~dot~˙~doteq~≐~doteqdot~≑~dotminus~∸~dotplus~∔~dotsquare~⊡~doublebarwedge~⌆~downarrow~↓~downdownarrows~⇊~downharpoonleft~⇃~downharpoonright~⇂~drbkarow~⤐~drcorn~⌟~drcrop~⌌~dscr~𝒹~dscy~ѕ~dsol~⧶~dstrok~đ~dtdot~⋱~dtri~▿~dtrif~▾~duarr~⇵~duhar~⥯~dwangle~⦦~dzcy~џ~dzigrarr~⟿~eDDot~⩷~eDot~≑~easter~⩮~ecaron~ě~ecir~≖~ecolon~≕~ecy~э~edot~ė~ee~ⅇ~efDot~≒~efr~𝔢~eg~⪚~egs~⪖~egsdot~⪘~el~⪙~elinters~⏧~ell~ℓ~els~⪕~elsdot~⪗~emacr~ē~emptyset~∅~emptyv~∅~emsp13~ ~emsp14~ ~eng~ŋ~eogon~ę~eopf~𝕖~epar~⋕~eparsl~⧣~eplus~⩱~epsi~ε~epsiv~ϵ~eqcirc~≖~eqcolon~≕~eqsim~≂~eqslantgtr~⪖~eqslantless~⪕~equals~=~equest~≟~equivDD~⩸~eqvparsl~⧥~erDot~≓~erarr~⥱~escr~ℯ~esdot~≐~esim~≂~excl~!~expectation~ℰ~exponentiale~ⅇ~fallingdotseq~≒~fcy~ф~female~♀~ffilig~ffi~fflig~ff~ffllig~ffl~ffr~𝔣~filig~fi~fjlig~fj~flat~♭~fllig~fl~fltns~▱~fopf~𝕗~fork~⋔~forkv~⫙~fpartint~⨍~frac13~⅓~frac15~⅕~frac16~⅙~frac18~⅛~frac23~⅔~frac25~⅖~frac35~⅗~frac38~⅜~frac45~⅘~frac56~⅚~frac58~⅝~frac78~⅞~frown~⌢~fscr~𝒻~gE~≧~gEl~⪌~gacute~ǵ~gammad~ϝ~gap~⪆~gbreve~ğ~gcirc~ĝ~gcy~г~gdot~ġ~gel~⋛~geq~≥~geqq~≧~geqslant~⩾~ges~⩾~gescc~⪩~gesdot~⪀~gesdoto~⪂~gesdotol~⪄~gesl~⋛︀~gesles~⪔~gfr~𝔤~gg~≫~ggg~⋙~gimel~ℷ~gjcy~ѓ~gl~≷~glE~⪒~gla~⪥~glj~⪤~gnE~≩~gnap~⪊~gnapprox~⪊~gne~⪈~gneq~⪈~gneqq~≩~gnsim~⋧~gopf~𝕘~grave~`~gscr~ℊ~gsim~≳~gsime~⪎~gsiml~⪐~gtcc~⪧~gtcir~⩺~gtdot~⋗~gtlPar~⦕~gtquest~⩼~gtrapprox~⪆~gtrarr~⥸~gtrdot~⋗~gtreqless~⋛~gtreqqless~⪌~gtrless~≷~gtrsim~≳~gvertneqq~≩︀~gvnE~≩︀~hairsp~ ~half~½~hamilt~ℋ~hardcy~ъ~harrcir~⥈~harrw~↭~hbar~ℏ~hcirc~ĥ~heartsuit~♥~hercon~⊹~hfr~𝔥~hksearow~⤥~hkswarow~⤦~hoarr~⇿~homtht~∻~hookleftarrow~↩~hookrightarrow~↪~hopf~𝕙~horbar~―~hscr~𝒽~hslash~ℏ~hstrok~ħ~hybull~⁃~hyphen~‐~ic~⁣~icy~и~iecy~е~iff~⇔~ifr~𝔦~ii~ⅈ~iiiint~⨌~iiint~∭~iinfin~⧜~iiota~℩~ijlig~ij~imacr~ī~imagline~ℐ~imagpart~ℑ~imath~ı~imof~⊷~imped~Ƶ~in~∈~incare~℅~infintie~⧝~inodot~ı~intcal~⊺~integers~ℤ~intercal~⊺~intlarhk~⨗~intprod~⨼~iocy~ё~iogon~į~iopf~𝕚~iprod~⨼~iscr~𝒾~isinE~⋹~isindot~⋵~isins~⋴~isinsv~⋳~isinv~∈~it~⁢~itilde~ĩ~iukcy~і~jcirc~ĵ~jcy~й~jfr~𝔧~jmath~ȷ~jopf~𝕛~jscr~𝒿~jsercy~ј~jukcy~є~kappav~ϰ~kcedil~ķ~kcy~к~kfr~𝔨~kgreen~ĸ~khcy~х~kjcy~ќ~kopf~𝕜~kscr~𝓀~lAarr~⇚~lAtail~⤛~lBarr~⤎~lE~≦~lEg~⪋~lHar~⥢~lacute~ĺ~laemptyv~⦴~lagran~ℒ~langd~⦑~langle~⟨~lap~⪅~larrb~⇤~larrbfs~⤟~larrfs~⤝~larrhk~↩~larrlp~↫~larrpl~⤹~larrsim~⥳~larrtl~↢~lat~⪫~latail~⤙~late~⪭~lates~⪭︀~lbarr~⤌~lbbrk~❲~lbrace~{~lbrack~[~lbrke~⦋~lbrksld~⦏~lbrkslu~⦍~lcaron~ľ~lcedil~ļ~lcub~{~lcy~л~ldca~⤶~ldquor~„~ldrdhar~⥧~ldrushar~⥋~ldsh~↲~leftarrow~←~leftarrowtail~↢~leftharpoondown~↽~leftharpoonup~↼~leftleftarrows~⇇~leftrightarrow~↔~leftrightarrows~⇆~leftrightharpoons~⇋~leftrightsquigarrow~↭~leftthreetimes~⋋~leg~⋚~leq~≤~leqq~≦~leqslant~⩽~les~⩽~lescc~⪨~lesdot~⩿~lesdoto~⪁~lesdotor~⪃~lesg~⋚︀~lesges~⪓~lessapprox~⪅~lessdot~⋖~lesseqgtr~⋚~lesseqqgtr~⪋~lessgtr~≶~lesssim~≲~lfisht~⥼~lfr~𝔩~lg~≶~lgE~⪑~lhard~↽~lharu~↼~lharul~⥪~lhblk~▄~ljcy~љ~ll~≪~llarr~⇇~llcorner~⌞~llhard~⥫~lltri~◺~lmidot~ŀ~lmoust~⎰~lmoustache~⎰~lnE~≨~lnap~⪉~lnapprox~⪉~lne~⪇~lneq~⪇~lneqq~≨~lnsim~⋦~loang~⟬~loarr~⇽~lobrk~⟦~longleftarrow~⟵~longleftrightarrow~⟷~longmapsto~⟼~longrightarrow~⟶~looparrowleft~↫~looparrowright~↬~lopar~⦅~lopf~𝕝~loplus~⨭~lotimes~⨴~lowbar~_~lozenge~◊~lozf~⧫~lpar~(~lparlt~⦓~lrarr~⇆~lrcorner~⌟~lrhar~⇋~lrhard~⥭~lrtri~⊿~lscr~𝓁~lsh~↰~lsim~≲~lsime~⪍~lsimg~⪏~lsqb~[~lsquor~‚~lstrok~ł~ltcc~⪦~ltcir~⩹~ltdot~⋖~lthree~⋋~ltimes~⋉~ltlarr~⥶~ltquest~⩻~ltrPar~⦖~ltri~◃~ltrie~⊴~ltrif~◂~lurdshar~⥊~luruhar~⥦~lvertneqq~≨︀~lvnE~≨︀~mDDot~∺~male~♂~malt~✠~maltese~✠~map~↦~mapsto~↦~mapstodown~↧~mapstoleft~↤~mapstoup~↥~marker~▮~mcomma~⨩~mcy~м~measuredangle~∡~mfr~𝔪~mho~℧~mid~∣~midast~*~midcir~⫰~minusb~⊟~minusd~∸~minusdu~⨪~mlcp~⫛~mldr~…~mnplus~∓~models~⊧~mopf~𝕞~mp~∓~mscr~𝓂~mstpos~∾~multimap~⊸~mumap~⊸~nGg~⋙̸~nGt~≫⃒~nGtv~≫̸~nLeftarrow~⇍~nLeftrightarrow~⇎~nLl~⋘̸~nLt~≪⃒~nLtv~≪̸~nRightarrow~⇏~nVDash~⊯~nVdash~⊮~nacute~ń~nang~∠⃒~nap~≉~napE~⩰̸~napid~≋̸~napos~ʼn~napprox~≉~natur~♮~natural~♮~naturals~ℕ~nbump~≎̸~nbumpe~≏̸~ncap~⩃~ncaron~ň~ncedil~ņ~ncong~≇~ncongdot~⩭̸~ncup~⩂~ncy~н~neArr~⇗~nearhk~⤤~nearr~↗~nearrow~↗~nedot~≐̸~nequiv~≢~nesear~⤨~nesim~≂̸~nexist~∄~nexists~∄~nfr~𝔫~ngE~≧̸~nge~≱~ngeq~≱~ngeqq~≧̸~ngeqslant~⩾̸~nges~⩾̸~ngsim~≵~ngt~≯~ngtr~≯~nhArr~⇎~nharr~↮~nhpar~⫲~nis~⋼~nisd~⋺~niv~∋~njcy~њ~nlArr~⇍~nlE~≦̸~nlarr~↚~nldr~‥~nle~≰~nleftarrow~↚~nleftrightarrow~↮~nleq~≰~nleqq~≦̸~nleqslant~⩽̸~nles~⩽̸~nless~≮~nlsim~≴~nlt~≮~nltri~⋪~nltrie~⋬~nmid~∤~nopf~𝕟~notinE~⋹̸~notindot~⋵̸~notinva~∉~notinvb~⋷~notinvc~⋶~notni~∌~notniva~∌~notnivb~⋾~notnivc~⋽~npar~∦~nparallel~∦~nparsl~⫽⃥~npart~∂̸~npolint~⨔~npr~⊀~nprcue~⋠~npre~⪯̸~nprec~⊀~npreceq~⪯̸~nrArr~⇏~nrarr~↛~nrarrc~⤳̸~nrarrw~↝̸~nrightarrow~↛~nrtri~⋫~nrtrie~⋭~nsc~⊁~nsccue~⋡~nsce~⪰̸~nscr~𝓃~nshortmid~∤~nshortparallel~∦~nsim~≁~nsime~≄~nsimeq~≄~nsmid~∤~nspar~∦~nsqsube~⋢~nsqsupe~⋣~nsubE~⫅̸~nsube~⊈~nsubset~⊂⃒~nsubseteq~⊈~nsubseteqq~⫅̸~nsucc~⊁~nsucceq~⪰̸~nsup~⊅~nsupE~⫆̸~nsupe~⊉~nsupset~⊃⃒~nsupseteq~⊉~nsupseteqq~⫆̸~ntgl~≹~ntlg~≸~ntriangleleft~⋪~ntrianglelefteq~⋬~ntriangleright~⋫~ntrianglerighteq~⋭~num~#~numero~№~numsp~ ~nvDash~⊭~nvHarr~⤄~nvap~≍⃒~nvdash~⊬~nvge~≥⃒~nvgt~>⃒~nvinfin~⧞~nvlArr~⤂~nvle~≤⃒~nvlt~<⃒~nvltrie~⊴⃒~nvrArr~⤃~nvrtrie~⊵⃒~nvsim~∼⃒~nwArr~⇖~nwarhk~⤣~nwarr~↖~nwarrow~↖~nwnear~⤧~oS~Ⓢ~oast~⊛~ocir~⊚~ocy~о~odash~⊝~odblac~ő~odiv~⨸~odot~⊙~odsold~⦼~ofcir~⦿~ofr~𝔬~ogon~˛~ogt~⧁~ohbar~⦵~ohm~Ω~oint~∮~olarr~↺~olcir~⦾~olcross~⦻~olt~⧀~omacr~ō~omid~⦶~ominus~⊖~oopf~𝕠~opar~⦷~operp~⦹~orarr~↻~ord~⩝~order~ℴ~orderof~ℴ~origof~⊶~oror~⩖~orslope~⩗~orv~⩛~oscr~ℴ~osol~⊘~otimesas~⨶~ovbar~⌽~par~∥~parallel~∥~parsim~⫳~parsl~⫽~pcy~п~percnt~%~period~.~pertenk~‱~pfr~𝔭~phiv~ϕ~phmmat~ℳ~phone~☎~pitchfork~⋔~planck~ℏ~planckh~ℎ~plankv~ℏ~plus~+~plusacir~⨣~plusb~⊞~pluscir~⨢~plusdo~∔~plusdu~⨥~pluse~⩲~plussim~⨦~plustwo~⨧~pm~±~pointint~⨕~popf~𝕡~pr~≺~prE~⪳~prap~⪷~prcue~≼~pre~⪯~prec~≺~precapprox~⪷~preccurlyeq~≼~preceq~⪯~precnapprox~⪹~precneqq~⪵~precnsim~⋨~precsim~≾~primes~ℙ~prnE~⪵~prnap~⪹~prnsim~⋨~profalar~⌮~profline~⌒~profsurf~⌓~propto~∝~prsim~≾~prurel~⊰~pscr~𝓅~puncsp~ ~qfr~𝔮~qint~⨌~qopf~𝕢~qprime~⁗~qscr~𝓆~quaternions~ℍ~quatint~⨖~quest~?~questeq~≟~rAarr~⇛~rAtail~⤜~rBarr~⤏~rHar~⥤~race~∽̱~racute~ŕ~raemptyv~⦳~rangd~⦒~range~⦥~rangle~⟩~rarrap~⥵~rarrb~⇥~rarrbfs~⤠~rarrc~⤳~rarrfs~⤞~rarrhk~↪~rarrlp~↬~rarrpl~⥅~rarrsim~⥴~rarrtl~↣~rarrw~↝~ratail~⤚~ratio~∶~rationals~ℚ~rbarr~⤍~rbbrk~❳~rbrace~}~rbrack~]~rbrke~⦌~rbrksld~⦎~rbrkslu~⦐~rcaron~ř~rcedil~ŗ~rcub~}~rcy~р~rdca~⤷~rdldhar~⥩~rdquor~”~rdsh~↳~realine~ℛ~realpart~ℜ~reals~ℝ~rect~▭~rfisht~⥽~rfr~𝔯~rhard~⇁~rharu~⇀~rharul~⥬~rhov~ϱ~rightarrow~→~rightarrowtail~↣~rightharpoondown~⇁~rightharpoonup~⇀~rightleftarrows~⇄~rightleftharpoons~⇌~rightrightarrows~⇉~rightsquigarrow~↝~rightthreetimes~⋌~ring~˚~risingdotseq~≓~rlarr~⇄~rlhar~⇌~rmoust~⎱~rmoustache~⎱~rnmid~⫮~roang~⟭~roarr~⇾~robrk~⟧~ropar~⦆~ropf~𝕣~roplus~⨮~rotimes~⨵~rpar~)~rpargt~⦔~rppolint~⨒~rrarr~⇉~rscr~𝓇~rsh~↱~rsqb~]~rsquor~’~rthree~⋌~rtimes~⋊~rtri~▹~rtrie~⊵~rtrif~▸~rtriltri~⧎~ruluhar~⥨~rx~℞~sacute~ś~sc~≻~scE~⪴~scap~⪸~sccue~≽~sce~⪰~scedil~ş~scirc~ŝ~scnE~⪶~scnap~⪺~scnsim~⋩~scpolint~⨓~scsim~≿~scy~с~sdotb~⊡~sdote~⩦~seArr~⇘~searhk~⤥~searr~↘~searrow~↘~semi~;~seswar~⤩~setminus~∖~setmn~∖~sext~✶~sfr~𝔰~sfrown~⌢~sharp~♯~shchcy~щ~shcy~ш~shortmid~∣~shortparallel~∥~sigmav~ς~simdot~⩪~sime~≃~simeq~≃~simg~⪞~simgE~⪠~siml~⪝~simlE~⪟~simne~≆~simplus~⨤~simrarr~⥲~slarr~←~smallsetminus~∖~smashp~⨳~smeparsl~⧤~smid~∣~smile~⌣~smt~⪪~smte~⪬~smtes~⪬︀~softcy~ь~sol~/~solb~⧄~solbar~⌿~sopf~𝕤~spadesuit~♠~spar~∥~sqcap~⊓~sqcaps~⊓︀~sqcup~⊔~sqcups~⊔︀~sqsub~⊏~sqsube~⊑~sqsubset~⊏~sqsubseteq~⊑~sqsup~⊐~sqsupe~⊒~sqsupset~⊐~sqsupseteq~⊒~squ~□~square~□~squarf~▪~squf~▪~srarr~→~sscr~𝓈~ssetmn~∖~ssmile~⌣~sstarf~⋆~star~☆~starf~★~straightepsilon~ϵ~straightphi~ϕ~strns~¯~subE~⫅~subdot~⪽~subedot~⫃~submult~⫁~subnE~⫋~subne~⊊~subplus~⪿~subrarr~⥹~subset~⊂~subseteq~⊆~subseteqq~⫅~subsetneq~⊊~subsetneqq~⫋~subsim~⫇~subsub~⫕~subsup~⫓~succ~≻~succapprox~⪸~succcurlyeq~≽~succeq~⪰~succnapprox~⪺~succneqq~⪶~succnsim~⋩~succsim~≿~sung~♪~supE~⫆~supdot~⪾~supdsub~⫘~supedot~⫄~suphsol~⟉~suphsub~⫗~suplarr~⥻~supmult~⫂~supnE~⫌~supne~⊋~supplus~⫀~supset~⊃~supseteq~⊇~supseteqq~⫆~supsetneq~⊋~supsetneqq~⫌~supsim~⫈~supsub~⫔~supsup~⫖~swArr~⇙~swarhk~⤦~swarr~↙~swarrow~↙~swnwar~⤪~target~⌖~tbrk~⎴~tcaron~ť~tcedil~ţ~tcy~т~tdot~⃛~telrec~⌕~tfr~𝔱~therefore~∴~thetav~ϑ~thickapprox~≈~thicksim~∼~thkap~≈~thksim~∼~timesb~⊠~timesbar~⨱~timesd~⨰~tint~∭~toea~⤨~top~⊤~topbot~⌶~topcir~⫱~topf~𝕥~topfork~⫚~tosa~⤩~tprime~‴~triangle~▵~triangledown~▿~triangleleft~◃~trianglelefteq~⊴~triangleq~≜~triangleright~▹~trianglerighteq~⊵~tridot~◬~trie~≜~triminus~⨺~triplus~⨹~trisb~⧍~tritime~⨻~trpezium~⏢~tscr~𝓉~tscy~ц~tshcy~ћ~tstrok~ŧ~twixt~≬~twoheadleftarrow~↞~twoheadrightarrow~↠~uHar~⥣~ubrcy~ў~ubreve~ŭ~ucy~у~udarr~⇅~udblac~ű~udhar~⥮~ufisht~⥾~ufr~𝔲~uharl~↿~uharr~↾~uhblk~▀~ulcorn~⌜~ulcorner~⌜~ulcrop~⌏~ultri~◸~umacr~ū~uogon~ų~uopf~𝕦~uparrow~↑~updownarrow~↕~upharpoonleft~↿~upharpoonright~↾~uplus~⊎~upsi~υ~upuparrows~⇈~urcorn~⌝~urcorner~⌝~urcrop~⌎~uring~ů~urtri~◹~uscr~𝓊~utdot~⋰~utilde~ũ~utri~▵~utrif~▴~uuarr~⇈~uwangle~⦧~vArr~⇕~vBar~⫨~vBarv~⫩~vDash~⊨~vangrt~⦜~varepsilon~ϵ~varkappa~ϰ~varnothing~∅~varphi~ϕ~varpi~ϖ~varpropto~∝~varr~↕~varrho~ϱ~varsigma~ς~varsubsetneq~⊊︀~varsubsetneqq~⫋︀~varsupsetneq~⊋︀~varsupsetneqq~⫌︀~vartheta~ϑ~vartriangleleft~⊲~vartriangleright~⊳~vcy~в~vdash~⊢~vee~∨~veebar~⊻~veeeq~≚~vellip~⋮~verbar~|~vert~|~vfr~𝔳~vltri~⊲~vnsub~⊂⃒~vnsup~⊃⃒~vopf~𝕧~vprop~∝~vrtri~⊳~vscr~𝓋~vsubnE~⫋︀~vsubne~⊊︀~vsupnE~⫌︀~vsupne~⊋︀~vzigzag~⦚~wcirc~ŵ~wedbar~⩟~wedge~∧~wedgeq~≙~wfr~𝔴~wopf~𝕨~wp~℘~wr~≀~wreath~≀~wscr~𝓌~xcap~⋂~xcirc~◯~xcup~⋃~xdtri~▽~xfr~𝔵~xhArr~⟺~xharr~⟷~xlArr~⟸~xlarr~⟵~xmap~⟼~xnis~⋻~xodot~⨀~xopf~𝕩~xoplus~⨁~xotime~⨂~xrArr~⟹~xrarr~⟶~xscr~𝓍~xsqcup~⨆~xuplus~⨄~xutri~△~xvee~⋁~xwedge~⋀~yacy~я~ycirc~ŷ~ycy~ы~yfr~𝔶~yicy~ї~yopf~𝕪~yscr~𝓎~yucy~ю~zacute~ź~zcaron~ž~zcy~з~zdot~ż~zeetrf~ℨ~zfr~𝔷~zhcy~ж~zigrarr~⇝~zopf~𝕫~zscr~𝓏~~AMP~&~COPY~©~GT~>~LT~<~QUOT~"~REG~®', lt.html4);
1892
+ lt.xml = qn(`lt~<~gt~>~quot~"~apos~'~amp~&`);
1893
+ lt.html4 = qn(`apos~'~OElig~Œ~oelig~œ~Scaron~Š~scaron~š~Yuml~Ÿ~circ~ˆ~tilde~˜~ensp~ ~emsp~ ~thinsp~ ~zwnj~‌~zwj~‍~lrm~‎~rlm~‏~ndash~–~mdash~—~lsquo~‘~rsquo~’~sbquo~‚~ldquo~“~rdquo~”~bdquo~„~dagger~†~Dagger~‡~permil~‰~lsaquo~‹~rsaquo~›~euro~€~fnof~ƒ~Alpha~Α~Beta~Β~Gamma~Γ~Delta~Δ~Epsilon~Ε~Zeta~Ζ~Eta~Η~Theta~Θ~Iota~Ι~Kappa~Κ~Lambda~Λ~Mu~Μ~Nu~Ν~Xi~Ξ~Omicron~Ο~Pi~Π~Rho~Ρ~Sigma~Σ~Tau~Τ~Upsilon~Υ~Phi~Φ~Chi~Χ~Psi~Ψ~Omega~Ω~alpha~α~beta~β~gamma~γ~delta~δ~epsilon~ε~zeta~ζ~eta~η~theta~θ~iota~ι~kappa~κ~lambda~λ~mu~μ~nu~ν~xi~ξ~omicron~ο~pi~π~rho~ρ~sigmaf~ς~sigma~σ~tau~τ~upsilon~υ~phi~φ~chi~χ~psi~ψ~omega~ω~thetasym~ϑ~upsih~ϒ~piv~ϖ~bull~•~hellip~…~prime~′~Prime~″~oline~‾~frasl~⁄~weierp~℘~image~ℑ~real~ℜ~trade~™~alefsym~ℵ~larr~←~uarr~↑~rarr~→~darr~↓~harr~↔~crarr~↵~lArr~⇐~uArr~⇑~rArr~⇒~dArr~⇓~hArr~⇔~forall~∀~part~∂~exist~∃~empty~∅~nabla~∇~isin~∈~notin~∉~ni~∋~prod~∏~sum~∑~minus~−~lowast~∗~radic~√~prop~∝~infin~∞~ang~∠~and~∧~or~∨~cap~∩~cup~∪~int~∫~there4~∴~sim~∼~cong~≅~asymp~≈~ne~≠~equiv~≡~le~≤~ge~≥~sub~⊂~sup~⊃~nsub~⊄~sube~⊆~supe~⊇~oplus~⊕~otimes~⊗~perp~⊥~sdot~⋅~lceil~⌈~rceil~⌉~lfloor~⌊~rfloor~⌋~lang~〈~rang~〉~loz~◊~spades~♠~clubs~♣~hearts~♥~diams~♦~~nbsp~ ~iexcl~¡~cent~¢~pound~£~curren~¤~yen~¥~brvbar~¦~sect~§~uml~¨~copy~©~ordf~ª~laquo~«~not~¬~shy~­~reg~®~macr~¯~deg~°~plusmn~±~sup2~²~sup3~³~acute~´~micro~µ~para~¶~middot~·~cedil~¸~sup1~¹~ordm~º~raquo~»~frac14~¼~frac12~½~frac34~¾~iquest~¿~Agrave~À~Aacute~Á~Acirc~Â~Atilde~Ã~Auml~Ä~Aring~Å~AElig~Æ~Ccedil~Ç~Egrave~È~Eacute~É~Ecirc~Ê~Euml~Ë~Igrave~Ì~Iacute~Í~Icirc~Î~Iuml~Ï~ETH~Ð~Ntilde~Ñ~Ograve~Ò~Oacute~Ó~Ocirc~Ô~Otilde~Õ~Ouml~Ö~times~×~Oslash~Ø~Ugrave~Ù~Uacute~Ú~Ucirc~Û~Uuml~Ü~Yacute~Ý~THORN~Þ~szlig~ß~agrave~à~aacute~á~acirc~â~atilde~ã~auml~ä~aring~å~aelig~æ~ccedil~ç~egrave~è~eacute~é~ecirc~ê~euml~ë~igrave~ì~iacute~í~icirc~î~iuml~ï~eth~ð~ntilde~ñ~ograve~ò~oacute~ó~ocirc~ô~otilde~õ~ouml~ö~divide~÷~oslash~ø~ugrave~ù~uacute~ú~ucirc~û~uuml~ü~yacute~ý~thorn~þ~yuml~ÿ~quot~"~amp~&~lt~<~gt~>`);
1894
+ lt.html5 = qn('Abreve~Ă~Acy~А~Afr~𝔄~Amacr~Ā~And~⩓~Aogon~Ą~Aopf~𝔸~ApplyFunction~⁡~Ascr~𝒜~Assign~≔~Backslash~∖~Barv~⫧~Barwed~⌆~Bcy~Б~Because~∵~Bernoullis~ℬ~Bfr~𝔅~Bopf~𝔹~Breve~˘~Bscr~ℬ~Bumpeq~≎~CHcy~Ч~Cacute~Ć~Cap~⋒~CapitalDifferentialD~ⅅ~Cayleys~ℭ~Ccaron~Č~Ccirc~Ĉ~Cconint~∰~Cdot~Ċ~Cedilla~¸~CenterDot~·~Cfr~ℭ~CircleDot~⊙~CircleMinus~⊖~CirclePlus~⊕~CircleTimes~⊗~ClockwiseContourIntegral~∲~CloseCurlyDoubleQuote~”~CloseCurlyQuote~’~Colon~∷~Colone~⩴~Congruent~≡~Conint~∯~ContourIntegral~∮~Copf~ℂ~Coproduct~∐~CounterClockwiseContourIntegral~∳~Cross~⨯~Cscr~𝒞~Cup~⋓~CupCap~≍~DD~ⅅ~DDotrahd~⤑~DJcy~Ђ~DScy~Ѕ~DZcy~Џ~Darr~↡~Dashv~⫤~Dcaron~Ď~Dcy~Д~Del~∇~Dfr~𝔇~DiacriticalAcute~´~DiacriticalDot~˙~DiacriticalDoubleAcute~˝~DiacriticalGrave~`~DiacriticalTilde~˜~Diamond~⋄~DifferentialD~ⅆ~Dopf~𝔻~Dot~¨~DotDot~⃜~DotEqual~≐~DoubleContourIntegral~∯~DoubleDot~¨~DoubleDownArrow~⇓~DoubleLeftArrow~⇐~DoubleLeftRightArrow~⇔~DoubleLeftTee~⫤~DoubleLongLeftArrow~⟸~DoubleLongLeftRightArrow~⟺~DoubleLongRightArrow~⟹~DoubleRightArrow~⇒~DoubleRightTee~⊨~DoubleUpArrow~⇑~DoubleUpDownArrow~⇕~DoubleVerticalBar~∥~DownArrow~↓~DownArrowBar~⤓~DownArrowUpArrow~⇵~DownBreve~̑~DownLeftRightVector~⥐~DownLeftTeeVector~⥞~DownLeftVector~↽~DownLeftVectorBar~⥖~DownRightTeeVector~⥟~DownRightVector~⇁~DownRightVectorBar~⥗~DownTee~⊤~DownTeeArrow~↧~Downarrow~⇓~Dscr~𝒟~Dstrok~Đ~ENG~Ŋ~Ecaron~Ě~Ecy~Э~Edot~Ė~Efr~𝔈~Element~∈~Emacr~Ē~EmptySmallSquare~◻~EmptyVerySmallSquare~▫~Eogon~Ę~Eopf~𝔼~Equal~⩵~EqualTilde~≂~Equilibrium~⇌~Escr~ℰ~Esim~⩳~Exists~∃~ExponentialE~ⅇ~Fcy~Ф~Ffr~𝔉~FilledSmallSquare~◼~FilledVerySmallSquare~▪~Fopf~𝔽~ForAll~∀~Fouriertrf~ℱ~Fscr~ℱ~GJcy~Ѓ~Gammad~Ϝ~Gbreve~Ğ~Gcedil~Ģ~Gcirc~Ĝ~Gcy~Г~Gdot~Ġ~Gfr~𝔊~Gg~⋙~Gopf~𝔾~GreaterEqual~≥~GreaterEqualLess~⋛~GreaterFullEqual~≧~GreaterGreater~⪢~GreaterLess~≷~GreaterSlantEqual~⩾~GreaterTilde~≳~Gscr~𝒢~Gt~≫~HARDcy~Ъ~Hacek~ˇ~Hat~^~Hcirc~Ĥ~Hfr~ℌ~HilbertSpace~ℋ~Hopf~ℍ~HorizontalLine~─~Hscr~ℋ~Hstrok~Ħ~HumpDownHump~≎~HumpEqual~≏~IEcy~Е~IJlig~IJ~IOcy~Ё~Icy~И~Idot~İ~Ifr~ℑ~Im~ℑ~Imacr~Ī~ImaginaryI~ⅈ~Implies~⇒~Int~∬~Integral~∫~Intersection~⋂~InvisibleComma~⁣~InvisibleTimes~⁢~Iogon~Į~Iopf~𝕀~Iscr~ℐ~Itilde~Ĩ~Iukcy~І~Jcirc~Ĵ~Jcy~Й~Jfr~𝔍~Jopf~𝕁~Jscr~𝒥~Jsercy~Ј~Jukcy~Є~KHcy~Х~KJcy~Ќ~Kcedil~Ķ~Kcy~К~Kfr~𝔎~Kopf~𝕂~Kscr~𝒦~LJcy~Љ~Lacute~Ĺ~Lang~⟪~Laplacetrf~ℒ~Larr~↞~Lcaron~Ľ~Lcedil~Ļ~Lcy~Л~LeftAngleBracket~⟨~LeftArrow~←~LeftArrowBar~⇤~LeftArrowRightArrow~⇆~LeftCeiling~⌈~LeftDoubleBracket~⟦~LeftDownTeeVector~⥡~LeftDownVector~⇃~LeftDownVectorBar~⥙~LeftFloor~⌊~LeftRightArrow~↔~LeftRightVector~⥎~LeftTee~⊣~LeftTeeArrow~↤~LeftTeeVector~⥚~LeftTriangle~⊲~LeftTriangleBar~⧏~LeftTriangleEqual~⊴~LeftUpDownVector~⥑~LeftUpTeeVector~⥠~LeftUpVector~↿~LeftUpVectorBar~⥘~LeftVector~↼~LeftVectorBar~⥒~Leftarrow~⇐~Leftrightarrow~⇔~LessEqualGreater~⋚~LessFullEqual~≦~LessGreater~≶~LessLess~⪡~LessSlantEqual~⩽~LessTilde~≲~Lfr~𝔏~Ll~⋘~Lleftarrow~⇚~Lmidot~Ŀ~LongLeftArrow~⟵~LongLeftRightArrow~⟷~LongRightArrow~⟶~Longleftarrow~⟸~Longleftrightarrow~⟺~Longrightarrow~⟹~Lopf~𝕃~LowerLeftArrow~↙~LowerRightArrow~↘~Lscr~ℒ~Lsh~↰~Lstrok~Ł~Lt~≪~Map~⤅~Mcy~М~MediumSpace~ ~Mellintrf~ℳ~Mfr~𝔐~MinusPlus~∓~Mopf~𝕄~Mscr~ℳ~NJcy~Њ~Nacute~Ń~Ncaron~Ň~Ncedil~Ņ~Ncy~Н~NegativeMediumSpace~​~NegativeThickSpace~​~NegativeThinSpace~​~NegativeVeryThinSpace~​~NestedGreaterGreater~≫~NestedLessLess~≪~NewLine~\n~Nfr~𝔑~NoBreak~⁠~NonBreakingSpace~ ~Nopf~ℕ~Not~⫬~NotCongruent~≢~NotCupCap~≭~NotDoubleVerticalBar~∦~NotElement~∉~NotEqual~≠~NotEqualTilde~≂̸~NotExists~∄~NotGreater~≯~NotGreaterEqual~≱~NotGreaterFullEqual~≧̸~NotGreaterGreater~≫̸~NotGreaterLess~≹~NotGreaterSlantEqual~⩾̸~NotGreaterTilde~≵~NotHumpDownHump~≎̸~NotHumpEqual~≏̸~NotLeftTriangle~⋪~NotLeftTriangleBar~⧏̸~NotLeftTriangleEqual~⋬~NotLess~≮~NotLessEqual~≰~NotLessGreater~≸~NotLessLess~≪̸~NotLessSlantEqual~⩽̸~NotLessTilde~≴~NotNestedGreaterGreater~⪢̸~NotNestedLessLess~⪡̸~NotPrecedes~⊀~NotPrecedesEqual~⪯̸~NotPrecedesSlantEqual~⋠~NotReverseElement~∌~NotRightTriangle~⋫~NotRightTriangleBar~⧐̸~NotRightTriangleEqual~⋭~NotSquareSubset~⊏̸~NotSquareSubsetEqual~⋢~NotSquareSuperset~⊐̸~NotSquareSupersetEqual~⋣~NotSubset~⊂⃒~NotSubsetEqual~⊈~NotSucceeds~⊁~NotSucceedsEqual~⪰̸~NotSucceedsSlantEqual~⋡~NotSucceedsTilde~≿̸~NotSuperset~⊃⃒~NotSupersetEqual~⊉~NotTilde~≁~NotTildeEqual~≄~NotTildeFullEqual~≇~NotTildeTilde~≉~NotVerticalBar~∤~Nscr~𝒩~Ocy~О~Odblac~Ő~Ofr~𝔒~Omacr~Ō~Oopf~𝕆~OpenCurlyDoubleQuote~“~OpenCurlyQuote~‘~Or~⩔~Oscr~𝒪~Otimes~⨷~OverBar~‾~OverBrace~⏞~OverBracket~⎴~OverParenthesis~⏜~PartialD~∂~Pcy~П~Pfr~𝔓~PlusMinus~±~Poincareplane~ℌ~Popf~ℙ~Pr~⪻~Precedes~≺~PrecedesEqual~⪯~PrecedesSlantEqual~≼~PrecedesTilde~≾~Product~∏~Proportion~∷~Proportional~∝~Pscr~𝒫~Qfr~𝔔~Qopf~ℚ~Qscr~𝒬~RBarr~⤐~Racute~Ŕ~Rang~⟫~Rarr~↠~Rarrtl~⤖~Rcaron~Ř~Rcedil~Ŗ~Rcy~Р~Re~ℜ~ReverseElement~∋~ReverseEquilibrium~⇋~ReverseUpEquilibrium~⥯~Rfr~ℜ~RightAngleBracket~⟩~RightArrow~→~RightArrowBar~⇥~RightArrowLeftArrow~⇄~RightCeiling~⌉~RightDoubleBracket~⟧~RightDownTeeVector~⥝~RightDownVector~⇂~RightDownVectorBar~⥕~RightFloor~⌋~RightTee~⊢~RightTeeArrow~↦~RightTeeVector~⥛~RightTriangle~⊳~RightTriangleBar~⧐~RightTriangleEqual~⊵~RightUpDownVector~⥏~RightUpTeeVector~⥜~RightUpVector~↾~RightUpVectorBar~⥔~RightVector~⇀~RightVectorBar~⥓~Rightarrow~⇒~Ropf~ℝ~RoundImplies~⥰~Rrightarrow~⇛~Rscr~ℛ~Rsh~↱~RuleDelayed~⧴~SHCHcy~Щ~SHcy~Ш~SOFTcy~Ь~Sacute~Ś~Sc~⪼~Scedil~Ş~Scirc~Ŝ~Scy~С~Sfr~𝔖~ShortDownArrow~↓~ShortLeftArrow~←~ShortRightArrow~→~ShortUpArrow~↑~SmallCircle~∘~Sopf~𝕊~Sqrt~√~Square~□~SquareIntersection~⊓~SquareSubset~⊏~SquareSubsetEqual~⊑~SquareSuperset~⊐~SquareSupersetEqual~⊒~SquareUnion~⊔~Sscr~𝒮~Star~⋆~Sub~⋐~Subset~⋐~SubsetEqual~⊆~Succeeds~≻~SucceedsEqual~⪰~SucceedsSlantEqual~≽~SucceedsTilde~≿~SuchThat~∋~Sum~∑~Sup~⋑~Superset~⊃~SupersetEqual~⊇~Supset~⋑~TRADE~™~TSHcy~Ћ~TScy~Ц~Tab~ ~Tcaron~Ť~Tcedil~Ţ~Tcy~Т~Tfr~𝔗~Therefore~∴~ThickSpace~  ~ThinSpace~ ~Tilde~∼~TildeEqual~≃~TildeFullEqual~≅~TildeTilde~≈~Topf~𝕋~TripleDot~⃛~Tscr~𝒯~Tstrok~Ŧ~Uarr~↟~Uarrocir~⥉~Ubrcy~Ў~Ubreve~Ŭ~Ucy~У~Udblac~Ű~Ufr~𝔘~Umacr~Ū~UnderBar~_~UnderBrace~⏟~UnderBracket~⎵~UnderParenthesis~⏝~Union~⋃~UnionPlus~⊎~Uogon~Ų~Uopf~𝕌~UpArrow~↑~UpArrowBar~⤒~UpArrowDownArrow~⇅~UpDownArrow~↕~UpEquilibrium~⥮~UpTee~⊥~UpTeeArrow~↥~Uparrow~⇑~Updownarrow~⇕~UpperLeftArrow~↖~UpperRightArrow~↗~Upsi~ϒ~Uring~Ů~Uscr~𝒰~Utilde~Ũ~VDash~⊫~Vbar~⫫~Vcy~В~Vdash~⊩~Vdashl~⫦~Vee~⋁~Verbar~‖~Vert~‖~VerticalBar~∣~VerticalLine~|~VerticalSeparator~❘~VerticalTilde~≀~VeryThinSpace~ ~Vfr~𝔙~Vopf~𝕍~Vscr~𝒱~Vvdash~⊪~Wcirc~Ŵ~Wedge~⋀~Wfr~𝔚~Wopf~𝕎~Wscr~𝒲~Xfr~𝔛~Xopf~𝕏~Xscr~𝒳~YAcy~Я~YIcy~Ї~YUcy~Ю~Ycirc~Ŷ~Ycy~Ы~Yfr~𝔜~Yopf~𝕐~Yscr~𝒴~ZHcy~Ж~Zacute~Ź~Zcaron~Ž~Zcy~З~Zdot~Ż~ZeroWidthSpace~​~Zfr~ℨ~Zopf~ℤ~Zscr~𝒵~abreve~ă~ac~∾~acE~∾̳~acd~∿~acy~а~af~⁡~afr~𝔞~aleph~ℵ~amacr~ā~amalg~⨿~andand~⩕~andd~⩜~andslope~⩘~andv~⩚~ange~⦤~angle~∠~angmsd~∡~angmsdaa~⦨~angmsdab~⦩~angmsdac~⦪~angmsdad~⦫~angmsdae~⦬~angmsdaf~⦭~angmsdag~⦮~angmsdah~⦯~angrt~∟~angrtvb~⊾~angrtvbd~⦝~angsph~∢~angst~Å~angzarr~⍼~aogon~ą~aopf~𝕒~ap~≈~apE~⩰~apacir~⩯~ape~≊~apid~≋~approx~≈~approxeq~≊~ascr~𝒶~ast~*~asympeq~≍~awconint~∳~awint~⨑~bNot~⫭~backcong~≌~backepsilon~϶~backprime~‵~backsim~∽~backsimeq~⋍~barvee~⊽~barwed~⌅~barwedge~⌅~bbrk~⎵~bbrktbrk~⎶~bcong~≌~bcy~б~becaus~∵~because~∵~bemptyv~⦰~bepsi~϶~bernou~ℬ~beth~ℶ~between~≬~bfr~𝔟~bigcap~⋂~bigcirc~◯~bigcup~⋃~bigodot~⨀~bigoplus~⨁~bigotimes~⨂~bigsqcup~⨆~bigstar~★~bigtriangledown~▽~bigtriangleup~△~biguplus~⨄~bigvee~⋁~bigwedge~⋀~bkarow~⤍~blacklozenge~⧫~blacksquare~▪~blacktriangle~▴~blacktriangledown~▾~blacktriangleleft~◂~blacktriangleright~▸~blank~␣~blk12~▒~blk14~░~blk34~▓~block~█~bne~=⃥~bnequiv~≡⃥~bnot~⌐~bopf~𝕓~bot~⊥~bottom~⊥~bowtie~⋈~boxDL~╗~boxDR~╔~boxDl~╖~boxDr~╓~boxH~═~boxHD~╦~boxHU~╩~boxHd~╤~boxHu~╧~boxUL~╝~boxUR~╚~boxUl~╜~boxUr~╙~boxV~║~boxVH~╬~boxVL~╣~boxVR~╠~boxVh~╫~boxVl~╢~boxVr~╟~boxbox~⧉~boxdL~╕~boxdR~╒~boxdl~┐~boxdr~┌~boxh~─~boxhD~╥~boxhU~╨~boxhd~┬~boxhu~┴~boxminus~⊟~boxplus~⊞~boxtimes~⊠~boxuL~╛~boxuR~╘~boxul~┘~boxur~└~boxv~│~boxvH~╪~boxvL~╡~boxvR~╞~boxvh~┼~boxvl~┤~boxvr~├~bprime~‵~breve~˘~bscr~𝒷~bsemi~⁏~bsim~∽~bsime~⋍~bsol~\\~bsolb~⧅~bsolhsub~⟈~bullet~•~bump~≎~bumpE~⪮~bumpe~≏~bumpeq~≏~cacute~ć~capand~⩄~capbrcup~⩉~capcap~⩋~capcup~⩇~capdot~⩀~caps~∩︀~caret~⁁~caron~ˇ~ccaps~⩍~ccaron~č~ccirc~ĉ~ccups~⩌~ccupssm~⩐~cdot~ċ~cemptyv~⦲~centerdot~·~cfr~𝔠~chcy~ч~check~✓~checkmark~✓~cir~○~cirE~⧃~circeq~≗~circlearrowleft~↺~circlearrowright~↻~circledR~®~circledS~Ⓢ~circledast~⊛~circledcirc~⊚~circleddash~⊝~cire~≗~cirfnint~⨐~cirmid~⫯~cirscir~⧂~clubsuit~♣~colon~:~colone~≔~coloneq~≔~comma~,~commat~@~comp~∁~compfn~∘~complement~∁~complexes~ℂ~congdot~⩭~conint~∮~copf~𝕔~coprod~∐~copysr~℗~cross~✗~cscr~𝒸~csub~⫏~csube~⫑~csup~⫐~csupe~⫒~ctdot~⋯~cudarrl~⤸~cudarrr~⤵~cuepr~⋞~cuesc~⋟~cularr~↶~cularrp~⤽~cupbrcap~⩈~cupcap~⩆~cupcup~⩊~cupdot~⊍~cupor~⩅~cups~∪︀~curarr~↷~curarrm~⤼~curlyeqprec~⋞~curlyeqsucc~⋟~curlyvee~⋎~curlywedge~⋏~curvearrowleft~↶~curvearrowright~↷~cuvee~⋎~cuwed~⋏~cwconint~∲~cwint~∱~cylcty~⌭~dHar~⥥~daleth~ℸ~dash~‐~dashv~⊣~dbkarow~⤏~dblac~˝~dcaron~ď~dcy~д~dd~ⅆ~ddagger~‡~ddarr~⇊~ddotseq~⩷~demptyv~⦱~dfisht~⥿~dfr~𝔡~dharl~⇃~dharr~⇂~diam~⋄~diamond~⋄~diamondsuit~♦~die~¨~digamma~ϝ~disin~⋲~div~÷~divideontimes~⋇~divonx~⋇~djcy~ђ~dlcorn~⌞~dlcrop~⌍~dollar~$~dopf~𝕕~dot~˙~doteq~≐~doteqdot~≑~dotminus~∸~dotplus~∔~dotsquare~⊡~doublebarwedge~⌆~downarrow~↓~downdownarrows~⇊~downharpoonleft~⇃~downharpoonright~⇂~drbkarow~⤐~drcorn~⌟~drcrop~⌌~dscr~𝒹~dscy~ѕ~dsol~⧶~dstrok~đ~dtdot~⋱~dtri~▿~dtrif~▾~duarr~⇵~duhar~⥯~dwangle~⦦~dzcy~џ~dzigrarr~⟿~eDDot~⩷~eDot~≑~easter~⩮~ecaron~ě~ecir~≖~ecolon~≕~ecy~э~edot~ė~ee~ⅇ~efDot~≒~efr~𝔢~eg~⪚~egs~⪖~egsdot~⪘~el~⪙~elinters~⏧~ell~ℓ~els~⪕~elsdot~⪗~emacr~ē~emptyset~∅~emptyv~∅~emsp13~ ~emsp14~ ~eng~ŋ~eogon~ę~eopf~𝕖~epar~⋕~eparsl~⧣~eplus~⩱~epsi~ε~epsiv~ϵ~eqcirc~≖~eqcolon~≕~eqsim~≂~eqslantgtr~⪖~eqslantless~⪕~equals~=~equest~≟~equivDD~⩸~eqvparsl~⧥~erDot~≓~erarr~⥱~escr~ℯ~esdot~≐~esim~≂~excl~!~expectation~ℰ~exponentiale~ⅇ~fallingdotseq~≒~fcy~ф~female~♀~ffilig~ffi~fflig~ff~ffllig~ffl~ffr~𝔣~filig~fi~fjlig~fj~flat~♭~fllig~fl~fltns~▱~fopf~𝕗~fork~⋔~forkv~⫙~fpartint~⨍~frac13~⅓~frac15~⅕~frac16~⅙~frac18~⅛~frac23~⅔~frac25~⅖~frac35~⅗~frac38~⅜~frac45~⅘~frac56~⅚~frac58~⅝~frac78~⅞~frown~⌢~fscr~𝒻~gE~≧~gEl~⪌~gacute~ǵ~gammad~ϝ~gap~⪆~gbreve~ğ~gcirc~ĝ~gcy~г~gdot~ġ~gel~⋛~geq~≥~geqq~≧~geqslant~⩾~ges~⩾~gescc~⪩~gesdot~⪀~gesdoto~⪂~gesdotol~⪄~gesl~⋛︀~gesles~⪔~gfr~𝔤~gg~≫~ggg~⋙~gimel~ℷ~gjcy~ѓ~gl~≷~glE~⪒~gla~⪥~glj~⪤~gnE~≩~gnap~⪊~gnapprox~⪊~gne~⪈~gneq~⪈~gneqq~≩~gnsim~⋧~gopf~𝕘~grave~`~gscr~ℊ~gsim~≳~gsime~⪎~gsiml~⪐~gtcc~⪧~gtcir~⩺~gtdot~⋗~gtlPar~⦕~gtquest~⩼~gtrapprox~⪆~gtrarr~⥸~gtrdot~⋗~gtreqless~⋛~gtreqqless~⪌~gtrless~≷~gtrsim~≳~gvertneqq~≩︀~gvnE~≩︀~hairsp~ ~half~½~hamilt~ℋ~hardcy~ъ~harrcir~⥈~harrw~↭~hbar~ℏ~hcirc~ĥ~heartsuit~♥~hercon~⊹~hfr~𝔥~hksearow~⤥~hkswarow~⤦~hoarr~⇿~homtht~∻~hookleftarrow~↩~hookrightarrow~↪~hopf~𝕙~horbar~―~hscr~𝒽~hslash~ℏ~hstrok~ħ~hybull~⁃~hyphen~‐~ic~⁣~icy~и~iecy~е~iff~⇔~ifr~𝔦~ii~ⅈ~iiiint~⨌~iiint~∭~iinfin~⧜~iiota~℩~ijlig~ij~imacr~ī~imagline~ℐ~imagpart~ℑ~imath~ı~imof~⊷~imped~Ƶ~in~∈~incare~℅~infintie~⧝~inodot~ı~intcal~⊺~integers~ℤ~intercal~⊺~intlarhk~⨗~intprod~⨼~iocy~ё~iogon~į~iopf~𝕚~iprod~⨼~iscr~𝒾~isinE~⋹~isindot~⋵~isins~⋴~isinsv~⋳~isinv~∈~it~⁢~itilde~ĩ~iukcy~і~jcirc~ĵ~jcy~й~jfr~𝔧~jmath~ȷ~jopf~𝕛~jscr~𝒿~jsercy~ј~jukcy~є~kappav~ϰ~kcedil~ķ~kcy~к~kfr~𝔨~kgreen~ĸ~khcy~х~kjcy~ќ~kopf~𝕜~kscr~𝓀~lAarr~⇚~lAtail~⤛~lBarr~⤎~lE~≦~lEg~⪋~lHar~⥢~lacute~ĺ~laemptyv~⦴~lagran~ℒ~langd~⦑~langle~⟨~lap~⪅~larrb~⇤~larrbfs~⤟~larrfs~⤝~larrhk~↩~larrlp~↫~larrpl~⤹~larrsim~⥳~larrtl~↢~lat~⪫~latail~⤙~late~⪭~lates~⪭︀~lbarr~⤌~lbbrk~❲~lbrace~{~lbrack~[~lbrke~⦋~lbrksld~⦏~lbrkslu~⦍~lcaron~ľ~lcedil~ļ~lcub~{~lcy~л~ldca~⤶~ldquor~„~ldrdhar~⥧~ldrushar~⥋~ldsh~↲~leftarrow~←~leftarrowtail~↢~leftharpoondown~↽~leftharpoonup~↼~leftleftarrows~⇇~leftrightarrow~↔~leftrightarrows~⇆~leftrightharpoons~⇋~leftrightsquigarrow~↭~leftthreetimes~⋋~leg~⋚~leq~≤~leqq~≦~leqslant~⩽~les~⩽~lescc~⪨~lesdot~⩿~lesdoto~⪁~lesdotor~⪃~lesg~⋚︀~lesges~⪓~lessapprox~⪅~lessdot~⋖~lesseqgtr~⋚~lesseqqgtr~⪋~lessgtr~≶~lesssim~≲~lfisht~⥼~lfr~𝔩~lg~≶~lgE~⪑~lhard~↽~lharu~↼~lharul~⥪~lhblk~▄~ljcy~љ~ll~≪~llarr~⇇~llcorner~⌞~llhard~⥫~lltri~◺~lmidot~ŀ~lmoust~⎰~lmoustache~⎰~lnE~≨~lnap~⪉~lnapprox~⪉~lne~⪇~lneq~⪇~lneqq~≨~lnsim~⋦~loang~⟬~loarr~⇽~lobrk~⟦~longleftarrow~⟵~longleftrightarrow~⟷~longmapsto~⟼~longrightarrow~⟶~looparrowleft~↫~looparrowright~↬~lopar~⦅~lopf~𝕝~loplus~⨭~lotimes~⨴~lowbar~_~lozenge~◊~lozf~⧫~lpar~(~lparlt~⦓~lrarr~⇆~lrcorner~⌟~lrhar~⇋~lrhard~⥭~lrtri~⊿~lscr~𝓁~lsh~↰~lsim~≲~lsime~⪍~lsimg~⪏~lsqb~[~lsquor~‚~lstrok~ł~ltcc~⪦~ltcir~⩹~ltdot~⋖~lthree~⋋~ltimes~⋉~ltlarr~⥶~ltquest~⩻~ltrPar~⦖~ltri~◃~ltrie~⊴~ltrif~◂~lurdshar~⥊~luruhar~⥦~lvertneqq~≨︀~lvnE~≨︀~mDDot~∺~male~♂~malt~✠~maltese~✠~map~↦~mapsto~↦~mapstodown~↧~mapstoleft~↤~mapstoup~↥~marker~▮~mcomma~⨩~mcy~м~measuredangle~∡~mfr~𝔪~mho~℧~mid~∣~midast~*~midcir~⫰~minusb~⊟~minusd~∸~minusdu~⨪~mlcp~⫛~mldr~…~mnplus~∓~models~⊧~mopf~𝕞~mp~∓~mscr~𝓂~mstpos~∾~multimap~⊸~mumap~⊸~nGg~⋙̸~nGt~≫⃒~nGtv~≫̸~nLeftarrow~⇍~nLeftrightarrow~⇎~nLl~⋘̸~nLt~≪⃒~nLtv~≪̸~nRightarrow~⇏~nVDash~⊯~nVdash~⊮~nacute~ń~nang~∠⃒~nap~≉~napE~⩰̸~napid~≋̸~napos~ʼn~napprox~≉~natur~♮~natural~♮~naturals~ℕ~nbump~≎̸~nbumpe~≏̸~ncap~⩃~ncaron~ň~ncedil~ņ~ncong~≇~ncongdot~⩭̸~ncup~⩂~ncy~н~neArr~⇗~nearhk~⤤~nearr~↗~nearrow~↗~nedot~≐̸~nequiv~≢~nesear~⤨~nesim~≂̸~nexist~∄~nexists~∄~nfr~𝔫~ngE~≧̸~nge~≱~ngeq~≱~ngeqq~≧̸~ngeqslant~⩾̸~nges~⩾̸~ngsim~≵~ngt~≯~ngtr~≯~nhArr~⇎~nharr~↮~nhpar~⫲~nis~⋼~nisd~⋺~niv~∋~njcy~њ~nlArr~⇍~nlE~≦̸~nlarr~↚~nldr~‥~nle~≰~nleftarrow~↚~nleftrightarrow~↮~nleq~≰~nleqq~≦̸~nleqslant~⩽̸~nles~⩽̸~nless~≮~nlsim~≴~nlt~≮~nltri~⋪~nltrie~⋬~nmid~∤~nopf~𝕟~notinE~⋹̸~notindot~⋵̸~notinva~∉~notinvb~⋷~notinvc~⋶~notni~∌~notniva~∌~notnivb~⋾~notnivc~⋽~npar~∦~nparallel~∦~nparsl~⫽⃥~npart~∂̸~npolint~⨔~npr~⊀~nprcue~⋠~npre~⪯̸~nprec~⊀~npreceq~⪯̸~nrArr~⇏~nrarr~↛~nrarrc~⤳̸~nrarrw~↝̸~nrightarrow~↛~nrtri~⋫~nrtrie~⋭~nsc~⊁~nsccue~⋡~nsce~⪰̸~nscr~𝓃~nshortmid~∤~nshortparallel~∦~nsim~≁~nsime~≄~nsimeq~≄~nsmid~∤~nspar~∦~nsqsube~⋢~nsqsupe~⋣~nsubE~⫅̸~nsube~⊈~nsubset~⊂⃒~nsubseteq~⊈~nsubseteqq~⫅̸~nsucc~⊁~nsucceq~⪰̸~nsup~⊅~nsupE~⫆̸~nsupe~⊉~nsupset~⊃⃒~nsupseteq~⊉~nsupseteqq~⫆̸~ntgl~≹~ntlg~≸~ntriangleleft~⋪~ntrianglelefteq~⋬~ntriangleright~⋫~ntrianglerighteq~⋭~num~#~numero~№~numsp~ ~nvDash~⊭~nvHarr~⤄~nvap~≍⃒~nvdash~⊬~nvge~≥⃒~nvgt~>⃒~nvinfin~⧞~nvlArr~⤂~nvle~≤⃒~nvlt~<⃒~nvltrie~⊴⃒~nvrArr~⤃~nvrtrie~⊵⃒~nvsim~∼⃒~nwArr~⇖~nwarhk~⤣~nwarr~↖~nwarrow~↖~nwnear~⤧~oS~Ⓢ~oast~⊛~ocir~⊚~ocy~о~odash~⊝~odblac~ő~odiv~⨸~odot~⊙~odsold~⦼~ofcir~⦿~ofr~𝔬~ogon~˛~ogt~⧁~ohbar~⦵~ohm~Ω~oint~∮~olarr~↺~olcir~⦾~olcross~⦻~olt~⧀~omacr~ō~omid~⦶~ominus~⊖~oopf~𝕠~opar~⦷~operp~⦹~orarr~↻~ord~⩝~order~ℴ~orderof~ℴ~origof~⊶~oror~⩖~orslope~⩗~orv~⩛~oscr~ℴ~osol~⊘~otimesas~⨶~ovbar~⌽~par~∥~parallel~∥~parsim~⫳~parsl~⫽~pcy~п~percnt~%~period~.~pertenk~‱~pfr~𝔭~phiv~ϕ~phmmat~ℳ~phone~☎~pitchfork~⋔~planck~ℏ~planckh~ℎ~plankv~ℏ~plus~+~plusacir~⨣~plusb~⊞~pluscir~⨢~plusdo~∔~plusdu~⨥~pluse~⩲~plussim~⨦~plustwo~⨧~pm~±~pointint~⨕~popf~𝕡~pr~≺~prE~⪳~prap~⪷~prcue~≼~pre~⪯~prec~≺~precapprox~⪷~preccurlyeq~≼~preceq~⪯~precnapprox~⪹~precneqq~⪵~precnsim~⋨~precsim~≾~primes~ℙ~prnE~⪵~prnap~⪹~prnsim~⋨~profalar~⌮~profline~⌒~profsurf~⌓~propto~∝~prsim~≾~prurel~⊰~pscr~𝓅~puncsp~ ~qfr~𝔮~qint~⨌~qopf~𝕢~qprime~⁗~qscr~𝓆~quaternions~ℍ~quatint~⨖~quest~?~questeq~≟~rAarr~⇛~rAtail~⤜~rBarr~⤏~rHar~⥤~race~∽̱~racute~ŕ~raemptyv~⦳~rangd~⦒~range~⦥~rangle~⟩~rarrap~⥵~rarrb~⇥~rarrbfs~⤠~rarrc~⤳~rarrfs~⤞~rarrhk~↪~rarrlp~↬~rarrpl~⥅~rarrsim~⥴~rarrtl~↣~rarrw~↝~ratail~⤚~ratio~∶~rationals~ℚ~rbarr~⤍~rbbrk~❳~rbrace~}~rbrack~]~rbrke~⦌~rbrksld~⦎~rbrkslu~⦐~rcaron~ř~rcedil~ŗ~rcub~}~rcy~р~rdca~⤷~rdldhar~⥩~rdquor~”~rdsh~↳~realine~ℛ~realpart~ℜ~reals~ℝ~rect~▭~rfisht~⥽~rfr~𝔯~rhard~⇁~rharu~⇀~rharul~⥬~rhov~ϱ~rightarrow~→~rightarrowtail~↣~rightharpoondown~⇁~rightharpoonup~⇀~rightleftarrows~⇄~rightleftharpoons~⇌~rightrightarrows~⇉~rightsquigarrow~↝~rightthreetimes~⋌~ring~˚~risingdotseq~≓~rlarr~⇄~rlhar~⇌~rmoust~⎱~rmoustache~⎱~rnmid~⫮~roang~⟭~roarr~⇾~robrk~⟧~ropar~⦆~ropf~𝕣~roplus~⨮~rotimes~⨵~rpar~)~rpargt~⦔~rppolint~⨒~rrarr~⇉~rscr~𝓇~rsh~↱~rsqb~]~rsquor~’~rthree~⋌~rtimes~⋊~rtri~▹~rtrie~⊵~rtrif~▸~rtriltri~⧎~ruluhar~⥨~rx~℞~sacute~ś~sc~≻~scE~⪴~scap~⪸~sccue~≽~sce~⪰~scedil~ş~scirc~ŝ~scnE~⪶~scnap~⪺~scnsim~⋩~scpolint~⨓~scsim~≿~scy~с~sdotb~⊡~sdote~⩦~seArr~⇘~searhk~⤥~searr~↘~searrow~↘~semi~;~seswar~⤩~setminus~∖~setmn~∖~sext~✶~sfr~𝔰~sfrown~⌢~sharp~♯~shchcy~щ~shcy~ш~shortmid~∣~shortparallel~∥~sigmav~ς~simdot~⩪~sime~≃~simeq~≃~simg~⪞~simgE~⪠~siml~⪝~simlE~⪟~simne~≆~simplus~⨤~simrarr~⥲~slarr~←~smallsetminus~∖~smashp~⨳~smeparsl~⧤~smid~∣~smile~⌣~smt~⪪~smte~⪬~smtes~⪬︀~softcy~ь~sol~/~solb~⧄~solbar~⌿~sopf~𝕤~spadesuit~♠~spar~∥~sqcap~⊓~sqcaps~⊓︀~sqcup~⊔~sqcups~⊔︀~sqsub~⊏~sqsube~⊑~sqsubset~⊏~sqsubseteq~⊑~sqsup~⊐~sqsupe~⊒~sqsupset~⊐~sqsupseteq~⊒~squ~□~square~□~squarf~▪~squf~▪~srarr~→~sscr~𝓈~ssetmn~∖~ssmile~⌣~sstarf~⋆~star~☆~starf~★~straightepsilon~ϵ~straightphi~ϕ~strns~¯~subE~⫅~subdot~⪽~subedot~⫃~submult~⫁~subnE~⫋~subne~⊊~subplus~⪿~subrarr~⥹~subset~⊂~subseteq~⊆~subseteqq~⫅~subsetneq~⊊~subsetneqq~⫋~subsim~⫇~subsub~⫕~subsup~⫓~succ~≻~succapprox~⪸~succcurlyeq~≽~succeq~⪰~succnapprox~⪺~succneqq~⪶~succnsim~⋩~succsim~≿~sung~♪~supE~⫆~supdot~⪾~supdsub~⫘~supedot~⫄~suphsol~⟉~suphsub~⫗~suplarr~⥻~supmult~⫂~supnE~⫌~supne~⊋~supplus~⫀~supset~⊃~supseteq~⊇~supseteqq~⫆~supsetneq~⊋~supsetneqq~⫌~supsim~⫈~supsub~⫔~supsup~⫖~swArr~⇙~swarhk~⤦~swarr~↙~swarrow~↙~swnwar~⤪~target~⌖~tbrk~⎴~tcaron~ť~tcedil~ţ~tcy~т~tdot~⃛~telrec~⌕~tfr~𝔱~therefore~∴~thetav~ϑ~thickapprox~≈~thicksim~∼~thkap~≈~thksim~∼~timesb~⊠~timesbar~⨱~timesd~⨰~tint~∭~toea~⤨~top~⊤~topbot~⌶~topcir~⫱~topf~𝕥~topfork~⫚~tosa~⤩~tprime~‴~triangle~▵~triangledown~▿~triangleleft~◃~trianglelefteq~⊴~triangleq~≜~triangleright~▹~trianglerighteq~⊵~tridot~◬~trie~≜~triminus~⨺~triplus~⨹~trisb~⧍~tritime~⨻~trpezium~⏢~tscr~𝓉~tscy~ц~tshcy~ћ~tstrok~ŧ~twixt~≬~twoheadleftarrow~↞~twoheadrightarrow~↠~uHar~⥣~ubrcy~ў~ubreve~ŭ~ucy~у~udarr~⇅~udblac~ű~udhar~⥮~ufisht~⥾~ufr~𝔲~uharl~↿~uharr~↾~uhblk~▀~ulcorn~⌜~ulcorner~⌜~ulcrop~⌏~ultri~◸~umacr~ū~uogon~ų~uopf~𝕦~uparrow~↑~updownarrow~↕~upharpoonleft~↿~upharpoonright~↾~uplus~⊎~upsi~υ~upuparrows~⇈~urcorn~⌝~urcorner~⌝~urcrop~⌎~uring~ů~urtri~◹~uscr~𝓊~utdot~⋰~utilde~ũ~utri~▵~utrif~▴~uuarr~⇈~uwangle~⦧~vArr~⇕~vBar~⫨~vBarv~⫩~vDash~⊨~vangrt~⦜~varepsilon~ϵ~varkappa~ϰ~varnothing~∅~varphi~ϕ~varpi~ϖ~varpropto~∝~varr~↕~varrho~ϱ~varsigma~ς~varsubsetneq~⊊︀~varsubsetneqq~⫋︀~varsupsetneq~⊋︀~varsupsetneqq~⫌︀~vartheta~ϑ~vartriangleleft~⊲~vartriangleright~⊳~vcy~в~vdash~⊢~vee~∨~veebar~⊻~veeeq~≚~vellip~⋮~verbar~|~vert~|~vfr~𝔳~vltri~⊲~vnsub~⊂⃒~vnsup~⊃⃒~vopf~𝕧~vprop~∝~vrtri~⊳~vscr~𝓋~vsubnE~⫋︀~vsubne~⊊︀~vsupnE~⫌︀~vsupne~⊋︀~vzigzag~⦚~wcirc~ŵ~wedbar~⩟~wedge~∧~wedgeq~≙~wfr~𝔴~wopf~𝕨~wp~℘~wr~≀~wreath~≀~wscr~𝓌~xcap~⋂~xcirc~◯~xcup~⋃~xdtri~▽~xfr~𝔵~xhArr~⟺~xharr~⟷~xlArr~⟸~xlarr~⟵~xmap~⟼~xnis~⋻~xodot~⨀~xopf~𝕩~xoplus~⨁~xotime~⨂~xrArr~⟹~xrarr~⟶~xscr~𝓍~xsqcup~⨆~xuplus~⨄~xutri~△~xvee~⋁~xwedge~⋀~yacy~я~ycirc~ŷ~ycy~ы~yfr~𝔶~yicy~ї~yopf~𝕪~yscr~𝓎~yucy~ю~zacute~ź~zcaron~ž~zcy~з~zdot~ż~zeetrf~ℨ~zfr~𝔷~zhcy~ж~zigrarr~⇝~zopf~𝕫~zscr~𝓏~~AMP~&~COPY~©~GT~>~LT~<~QUOT~"~REG~®', lt.html4);
1895
1895
  var au = {
1896
1896
  0: 65533,
1897
1897
  128: 8364,
@@ -2017,7 +2017,7 @@ Fe.interceptors.response.use(
2017
2017
  return r.startsWith("ERROR_") || /^[A-Z_]+$/.test(r) ? Promise.reject(new Error(r)) : Promise.reject(`${t}: ${r}`);
2018
2018
  }
2019
2019
  );
2020
- const z = async (e) => (await Fe.get(e)).data, Je = async (e, t) => (await Fe.post(e, t)).data, av = async (e, t) => (await Fe.put(e, t)).data, ov = async (e, t) => (await Fe.patch(e, t)).data, iv = async (e) => (await Fe.delete(e)).data, K = (e) => typeof e == "string", gt = () => {
2020
+ const W = async (e) => (await Fe.get(e)).data, Ve = async (e, t) => (await Fe.post(e, t)).data, ov = async (e, t) => (await Fe.put(e, t)).data, iv = async (e, t) => (await Fe.patch(e, t)).data, cv = async (e) => (await Fe.delete(e)).data, K = (e) => typeof e == "string", gt = () => {
2021
2021
  let e, t;
2022
2022
  const r = new Promise((n, s) => {
2023
2023
  e = n, t = s;
@@ -2184,7 +2184,7 @@ class $r {
2184
2184
  }
2185
2185
  }
2186
2186
  var Le = new $r();
2187
- class Ur {
2187
+ class qr {
2188
2188
  constructor() {
2189
2189
  this.observers = {};
2190
2190
  }
@@ -2218,7 +2218,7 @@ class Ur {
2218
2218
  });
2219
2219
  }
2220
2220
  }
2221
- class bs extends Ur {
2221
+ class bs extends qr {
2222
2222
  constructor(t) {
2223
2223
  let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2224
2224
  ns: ["translation"],
@@ -2303,7 +2303,7 @@ var Mo = {
2303
2303
  }
2304
2304
  };
2305
2305
  const ws = {}, Es = (e) => !K(e) && typeof e != "boolean" && typeof e != "number";
2306
- class Nr extends Ur {
2306
+ class Nr extends qr {
2307
2307
  constructor(t) {
2308
2308
  let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2309
2309
  super(), mu(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Le.create("translator");
@@ -2349,15 +2349,15 @@ class Nr extends Ur {
2349
2349
  } = this.extractFromKey(t[t.length - 1], r), c = i[i.length - 1], l = r.lng || this.language, d = r.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
2350
2350
  if (l?.toLowerCase() === "cimode") {
2351
2351
  if (d) {
2352
- const q = r.nsSeparator || this.options.nsSeparator;
2352
+ const U = r.nsSeparator || this.options.nsSeparator;
2353
2353
  return s ? {
2354
- res: `${c}${q}${o}`,
2354
+ res: `${c}${U}${o}`,
2355
2355
  usedKey: o,
2356
2356
  exactUsedKey: o,
2357
2357
  usedLng: l,
2358
2358
  usedNS: c,
2359
2359
  usedParams: this.getUsedParamsDetails(r)
2360
- } : `${c}${q}${o}`;
2360
+ } : `${c}${U}${o}`;
2361
2361
  }
2362
2362
  return s ? {
2363
2363
  res: o,
@@ -2375,41 +2375,41 @@ class Nr extends Ur {
2375
2375
  }) : "", E = u && !r.ordinal && r.count === 0, R = E && r[`defaultValue${this.options.pluralSeparator}zero`] || r[`defaultValue${w}`] || r[`defaultValue${_}`] || r.defaultValue;
2376
2376
  let P = y;
2377
2377
  p && !y && h && (P = R);
2378
- const k = Es(P), U = Object.prototype.toString.apply(P);
2379
- if (p && P && k && g.indexOf(U) < 0 && !(K(f) && Array.isArray(P))) {
2378
+ const k = Es(P), q = Object.prototype.toString.apply(P);
2379
+ if (p && P && k && g.indexOf(q) < 0 && !(K(f) && Array.isArray(P))) {
2380
2380
  if (!r.returnObjects && !this.options.returnObjects) {
2381
2381
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
2382
- const q = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(S, P, {
2382
+ const U = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(S, P, {
2383
2383
  ...r,
2384
2384
  ns: i
2385
2385
  }) : `key '${o} (${this.language})' returned an object instead of string.`;
2386
- return s ? (m.res = q, m.usedParams = this.getUsedParamsDetails(r), m) : q;
2386
+ return s ? (m.res = U, m.usedParams = this.getUsedParamsDetails(r), m) : U;
2387
2387
  }
2388
2388
  if (a) {
2389
- const q = Array.isArray(P), j = q ? [] : {}, V = q ? v : S;
2390
- for (const W in P)
2391
- if (Object.prototype.hasOwnProperty.call(P, W)) {
2392
- const re = `${V}${a}${W}`;
2393
- h && !y ? j[W] = this.translate(re, {
2389
+ const U = Array.isArray(P), j = U ? [] : {}, V = U ? v : S;
2390
+ for (const z in P)
2391
+ if (Object.prototype.hasOwnProperty.call(P, z)) {
2392
+ const re = `${V}${a}${z}`;
2393
+ h && !y ? j[z] = this.translate(re, {
2394
2394
  ...r,
2395
- defaultValue: Es(R) ? R[W] : void 0,
2395
+ defaultValue: Es(R) ? R[z] : void 0,
2396
2396
  joinArrays: !1,
2397
2397
  ns: i
2398
- }) : j[W] = this.translate(re, {
2398
+ }) : j[z] = this.translate(re, {
2399
2399
  ...r,
2400
2400
  joinArrays: !1,
2401
2401
  ns: i
2402
- }), j[W] === re && (j[W] = P[W]);
2402
+ }), j[z] === re && (j[z] = P[z]);
2403
2403
  }
2404
2404
  y = j;
2405
2405
  }
2406
2406
  } else if (p && K(f) && Array.isArray(y))
2407
2407
  y = y.join(f), y && (y = this.extendTranslation(y, t, r, n));
2408
2408
  else {
2409
- let q = !1, j = !1;
2410
- !this.isValidLookup(y) && h && (q = !0, y = R), this.isValidLookup(y) || (j = !0, y = o);
2411
- const W = (r.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && j ? void 0 : y, re = h && R !== y && this.options.updateMissing;
2412
- if (j || q || re) {
2409
+ let U = !1, j = !1;
2410
+ !this.isValidLookup(y) && h && (U = !0, y = R), this.isValidLookup(y) || (j = !0, y = o);
2411
+ const z = (r.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && j ? void 0 : y, re = h && R !== y && this.options.updateMissing;
2412
+ if (j || U || re) {
2413
2413
  if (this.logger.log(re ? "updateKey" : "missingKey", l, c, o, re ? R : y), a) {
2414
2414
  const ce = this.resolve(o, {
2415
2415
  ...r,
@@ -2424,7 +2424,7 @@ class Nr extends Ur {
2424
2424
  ne.push(he[ce]);
2425
2425
  else this.options.saveMissingTo === "all" ? ne = this.languageUtils.toResolveHierarchy(r.lng || this.language) : ne.push(r.lng || this.language);
2426
2426
  const J = (ce, M, O) => {
2427
- const C = h && O !== y ? O : W;
2427
+ const C = h && O !== y ? O : z;
2428
2428
  this.options.missingKeyHandler ? this.options.missingKeyHandler(ce, c, M, C, re, r) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(ce, c, M, C, re, r), this.emit("missingKey", ce, c, M, y);
2429
2429
  };
2430
2430
  this.options.saveMissing && (this.options.saveMissingPlurals && u ? ne.forEach((ce) => {
@@ -2434,7 +2434,7 @@ class Nr extends Ur {
2434
2434
  });
2435
2435
  }) : J(ne, o, R));
2436
2436
  }
2437
- y = this.extendTranslation(y, t, r, m, n), j && y === o && this.options.appendNamespaceToMissingKey && (y = `${c}:${o}`), (j || q) && this.options.parseMissingKeyHandler && (y = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}:${o}` : o, q ? y : void 0));
2437
+ y = this.extendTranslation(y, t, r, m, n), j && y === o && this.options.appendNamespaceToMissingKey && (y = `${c}:${o}`), (j || U) && this.options.parseMissingKeyHandler && (y = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}:${o}` : o, U ? y : void 0));
2438
2438
  }
2439
2439
  return s ? (m.res = y, m.usedParams = this.getUsedParamsDetails(r), m) : y;
2440
2440
  }
@@ -2921,7 +2921,7 @@ class $u {
2921
2921
  const Nu = (e, t) => {
2922
2922
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
2923
2923
  };
2924
- class Iu extends Ur {
2924
+ class Iu extends qr {
2925
2925
  constructor(t, r, n) {
2926
2926
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
2927
2927
  super(), this.backend = t, this.store = r, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = Le.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, s.backend, s);
@@ -3118,7 +3118,7 @@ const As = () => ({
3118
3118
  typeof e[r] == "function" && (e[r] = e[r].bind(e));
3119
3119
  });
3120
3120
  };
3121
- class Rt extends Ur {
3121
+ class Rt extends qr {
3122
3122
  constructor() {
3123
3123
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
3124
3124
  if (super(), this.options = Os(t), this.services = {}, this.logger = Le, this.modules = {
@@ -3461,7 +3461,7 @@ const Ps = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xu = function(e, t) {
3461
3461
  this.create(e, "", -1, t);
3462
3462
  }
3463
3463
  };
3464
- var qu = {
3464
+ var Uu = {
3465
3465
  name: "cookie",
3466
3466
  // Deconstruct the options object and extract the lookupCookie property
3467
3467
  lookup(e) {
@@ -3481,7 +3481,7 @@ var qu = {
3481
3481
  } = t;
3482
3482
  r && typeof document < "u" && $s.create(r, e, n, s, a);
3483
3483
  }
3484
- }, Uu = {
3484
+ }, qu = {
3485
3485
  name: "querystring",
3486
3486
  // Deconstruct the options object and extract the lookupQuerystring property
3487
3487
  lookup(e) {
@@ -3618,7 +3618,7 @@ var Vu = {
3618
3618
  const n = t || (typeof document < "u" ? document.documentElement : null);
3619
3619
  return n && typeof n.getAttribute == "function" && (r = n.getAttribute("lang")), r;
3620
3620
  }
3621
- }, Wu = {
3621
+ }, zu = {
3622
3622
  name: "path",
3623
3623
  // Deconstruct the options object and extract the lookupFromPathIndex property
3624
3624
  lookup(e) {
@@ -3629,7 +3629,7 @@ var Vu = {
3629
3629
  const r = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
3630
3630
  return Array.isArray(r) ? r[typeof t == "number" ? t : 0]?.replace("/", "") : void 0;
3631
3631
  }
3632
- }, zu = {
3632
+ }, Wu = {
3633
3633
  name: "subdomain",
3634
3634
  lookup(e) {
3635
3635
  let {
@@ -3645,10 +3645,10 @@ try {
3645
3645
  document.cookie, xo = !0;
3646
3646
  } catch {
3647
3647
  }
3648
- const qo = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
3649
- xo || qo.splice(1, 1);
3648
+ const Uo = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
3649
+ xo || Uo.splice(1, 1);
3650
3650
  const Gu = () => ({
3651
- order: qo,
3651
+ order: Uo,
3652
3652
  lookupQuerystring: "lng",
3653
3653
  lookupCookie: "i18next",
3654
3654
  lookupLocalStorage: "i18nextLng",
@@ -3660,7 +3660,7 @@ const Gu = () => ({
3660
3660
  // cookieDomain: 'myDomain'
3661
3661
  convertDetectedLanguage: (e) => e
3662
3662
  });
3663
- class Uo {
3663
+ class qo {
3664
3664
  constructor(t) {
3665
3665
  let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3666
3666
  this.type = "languageDetector", this.detectors = {}, this.init(t, r);
@@ -3669,7 +3669,7 @@ class Uo {
3669
3669
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
3670
3670
  languageUtils: {}
3671
3671
  }, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3672
- this.services = t, this.options = ku(r, this.options || {}, Gu()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (s) => s.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(qu), this.addDetector(Uu), this.addDetector(Fu), this.addDetector(Vu), this.addDetector(Hu), this.addDetector(Bu), this.addDetector(Wu), this.addDetector(zu), this.addDetector(ju);
3672
+ this.services = t, this.options = ku(r, this.options || {}, Gu()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (s) => s.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(Uu), this.addDetector(qu), this.addDetector(Fu), this.addDetector(Vu), this.addDetector(Hu), this.addDetector(Bu), this.addDetector(zu), this.addDetector(Wu), this.addDetector(ju);
3673
3673
  }
3674
3674
  addDetector(t) {
3675
3675
  return this.detectors[t.name] = t, this;
@@ -3690,10 +3690,10 @@ class Uo {
3690
3690
  }));
3691
3691
  }
3692
3692
  }
3693
- Uo.type = "languageDetector";
3694
- const Ku = process.env.PUBLIC_URL ?? "/", pe = "/openmrs/ws/fhir2/R4", ee = "/openmrs/ws/rest/v1", Yu = "/openmrs/ws/rest/v2", Ju = "bahmni.user", cv = "/bahmni/home/index.html", Xu = ee + "/bahmnicore/whoami", jo = ee + "/bahmnicore/sql", Qu = "en", Fo = "NG_TRANSLATE_LANG_KEY", Zu = (e, t) => Ku + `${e}/locales/locale_${t}.json`, el = (e, t) => `/bahmni_config/openmrs/i18n/${e}/locale_${t}.json`, It = () => localStorage.getItem(Fo) ?? Qu, Ds = async (e) => {
3693
+ qo.type = "languageDetector";
3694
+ const Ku = process.env.PUBLIC_URL ?? "/", pe = "/openmrs/ws/fhir2/R4", ee = "/openmrs/ws/rest/v1", Yu = "/openmrs/ws/rest/v2", Ju = "bahmni.user", uv = "/bahmni/home/index.html", Xu = ee + "/bahmnicore/whoami", jo = ee + "/bahmnicore/sql", Qu = "en", Fo = "NG_TRANSLATE_LANG_KEY", Zu = (e, t) => Ku + `${e}/locales/locale_${t}.json`, el = (e, t) => `/bahmni_config/openmrs/i18n/${e}/locale_${t}.json`, It = () => localStorage.getItem(Fo) ?? Qu, Ds = async (e) => {
3695
3695
  try {
3696
- const t = await z(e);
3696
+ const t = await W(e);
3697
3697
  return t || (console.error(`Invalid response from ${e}`), {});
3698
3698
  } catch (t) {
3699
3699
  return console.error(`Failed to load translations from ${e}:`, t), {};
@@ -3715,7 +3715,7 @@ const Ku = process.env.PUBLIC_URL ?? "/", pe = "/openmrs/ws/fhir2/R4", ee = "/op
3715
3715
  }, e !== "en" && (r.en = {
3716
3716
  [t]: await Cs(t, "en")
3717
3717
  }), r;
3718
- }, uv = (e, t) => {
3718
+ }, lv = (e, t) => {
3719
3719
  const r = e.toUpperCase(), n = t.toUpperCase().replace(/\s+/g, "_").replace(/[^A-Z0-9_]/g, "");
3720
3720
  return `${r}_${n}`;
3721
3721
  }, rl = (e, t) => {
@@ -3732,9 +3732,9 @@ const Ku = process.env.PUBLIC_URL ?? "/", pe = "/openmrs/ws/fhir2/R4", ee = "/op
3732
3732
  labels: n.labels ?? {},
3733
3733
  concepts: n.concepts ?? {}
3734
3734
  };
3735
- }, lv = async (e) => {
3735
+ }, dv = async (e) => {
3736
3736
  const t = It(), r = await tl(t, e);
3737
- return await ie.use(Uo).use(Ri).init({
3737
+ return await ie.use(qo).use(Ri).init({
3738
3738
  fallbackLng: "en",
3739
3739
  ns: [e],
3740
3740
  defaultNS: e,
@@ -3751,7 +3751,7 @@ const Ku = process.env.PUBLIC_URL ?? "/", pe = "/openmrs/ws/fhir2/R4", ee = "/op
3751
3751
  }
3752
3752
  }), ie;
3753
3753
  };
3754
- function dv() {
3754
+ function fv() {
3755
3755
  const e = _n(null), t = _n(null), r = Xr(async () => {
3756
3756
  t.current && (t.current.getTracks().forEach((o) => o.stop()), t.current = null);
3757
3757
  const a = await navigator.mediaDevices.getUserMedia({
@@ -3774,14 +3774,14 @@ function dv() {
3774
3774
  }, []);
3775
3775
  return Sn(() => () => n(), [n]), { videoRef: e, start: r, stop: n, capture: s };
3776
3776
  }
3777
- const nl = "bahmni.enableAuditLog", Vo = (e) => `${ee}/bahmnicore/sql/globalproperty?property=${e}`, Ho = 6048e5, sl = 864e5, Bo = 6e4, Wo = 36e5, Ls = /* @__PURE__ */ Symbol.for("constructDateFrom");
3777
+ const nl = "bahmni.enableAuditLog", Vo = (e) => `${ee}/bahmnicore/sql/globalproperty?property=${e}`, Ho = 6048e5, sl = 864e5, Bo = 6e4, zo = 36e5, Ls = /* @__PURE__ */ Symbol.for("constructDateFrom");
3778
3778
  function $e(e, t) {
3779
3779
  return typeof e == "function" ? e(t) : e && typeof e == "object" && Ls in e ? e[Ls](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
3780
3780
  }
3781
3781
  function fe(e, t) {
3782
3782
  return $e(t || e, e);
3783
3783
  }
3784
- function zo(e, t, r) {
3784
+ function Wo(e, t, r) {
3785
3785
  const n = fe(e, r?.in);
3786
3786
  return isNaN(t) ? $e(e, NaN) : (t && n.setDate(n.getDate() + t), n);
3787
3787
  }
@@ -4307,10 +4307,10 @@ const $l = /^(\d+)(th|st|nd|rd)?/i, Nl = /\d+/i, Il = {
4307
4307
  short: /^(su|mo|tu|we|th|fr|sa)/i,
4308
4308
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
4309
4309
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
4310
- }, ql = {
4310
+ }, Ul = {
4311
4311
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
4312
4312
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
4313
- }, Ul = {
4313
+ }, ql = {
4314
4314
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
4315
4315
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
4316
4316
  }, jl = {
@@ -4352,11 +4352,11 @@ const $l = /^(\d+)(th|st|nd|rd)?/i, Nl = /\d+/i, Il = {
4352
4352
  day: de({
4353
4353
  matchPatterns: xl,
4354
4354
  defaultMatchWidth: "wide",
4355
- parsePatterns: ql,
4355
+ parsePatterns: Ul,
4356
4356
  defaultParseWidth: "any"
4357
4357
  }),
4358
4358
  dayPeriod: de({
4359
- matchPatterns: Ul,
4359
+ matchPatterns: ql,
4360
4360
  defaultMatchWidth: "any",
4361
4361
  parsePatterns: jl,
4362
4362
  defaultParseWidth: "any"
@@ -4401,7 +4401,7 @@ function oe(e, t) {
4401
4401
  const r = e < 0 ? "-" : "", n = Math.abs(e).toString().padStart(t, "0");
4402
4402
  return r + n;
4403
4403
  }
4404
- const Ue = {
4404
+ const qe = {
4405
4405
  // Year
4406
4406
  y(e, t) {
4407
4407
  const r = e.getFullYear(), n = r > 0 ? r : 1 - r;
@@ -4461,7 +4461,7 @@ const Ue = {
4461
4461
  afternoon: "afternoon",
4462
4462
  evening: "evening",
4463
4463
  night: "night"
4464
- }, qs = {
4464
+ }, Us = {
4465
4465
  // Era
4466
4466
  G: function(e, t, r) {
4467
4467
  const n = e.getFullYear() > 0 ? 1 : 0;
@@ -4484,7 +4484,7 @@ const Ue = {
4484
4484
  const n = e.getFullYear(), s = n > 0 ? n : 1 - n;
4485
4485
  return r.ordinalNumber(s, { unit: "year" });
4486
4486
  }
4487
- return Ue.y(e, t);
4487
+ return qe.y(e, t);
4488
4488
  },
4489
4489
  // Local week-numbering year
4490
4490
  Y: function(e, t, r, n) {
@@ -4583,7 +4583,7 @@ const Ue = {
4583
4583
  switch (t) {
4584
4584
  case "M":
4585
4585
  case "MM":
4586
- return Ue.M(e, t);
4586
+ return qe.M(e, t);
4587
4587
  // 1st, 2nd, ..., 12th
4588
4588
  case "Mo":
4589
4589
  return r.ordinalNumber(n + 1, { unit: "month" });
@@ -4644,7 +4644,7 @@ const Ue = {
4644
4644
  },
4645
4645
  // Day of the month
4646
4646
  d: function(e, t, r) {
4647
- return t === "do" ? r.ordinalNumber(e.getDate(), { unit: "date" }) : Ue.d(e, t);
4647
+ return t === "do" ? r.ordinalNumber(e.getDate(), { unit: "date" }) : qe.d(e, t);
4648
4648
  },
4649
4649
  // Day of year
4650
4650
  D: function(e, t, r) {
@@ -4879,11 +4879,11 @@ const Ue = {
4879
4879
  let n = e.getHours() % 12;
4880
4880
  return n === 0 && (n = 12), r.ordinalNumber(n, { unit: "hour" });
4881
4881
  }
4882
- return Ue.h(e, t);
4882
+ return qe.h(e, t);
4883
4883
  },
4884
4884
  // Hour [0-23]
4885
4885
  H: function(e, t, r) {
4886
- return t === "Ho" ? r.ordinalNumber(e.getHours(), { unit: "hour" }) : Ue.H(e, t);
4886
+ return t === "Ho" ? r.ordinalNumber(e.getHours(), { unit: "hour" }) : qe.H(e, t);
4887
4887
  },
4888
4888
  // Hour [0-11]
4889
4889
  K: function(e, t, r) {
@@ -4897,15 +4897,15 @@ const Ue = {
4897
4897
  },
4898
4898
  // Minute
4899
4899
  m: function(e, t, r) {
4900
- return t === "mo" ? r.ordinalNumber(e.getMinutes(), { unit: "minute" }) : Ue.m(e, t);
4900
+ return t === "mo" ? r.ordinalNumber(e.getMinutes(), { unit: "minute" }) : qe.m(e, t);
4901
4901
  },
4902
4902
  // Second
4903
4903
  s: function(e, t, r) {
4904
- return t === "so" ? r.ordinalNumber(e.getSeconds(), { unit: "second" }) : Ue.s(e, t);
4904
+ return t === "so" ? r.ordinalNumber(e.getSeconds(), { unit: "second" }) : qe.s(e, t);
4905
4905
  },
4906
4906
  // Fraction of second
4907
4907
  S: function(e, t) {
4908
- return Ue.S(e, t);
4908
+ return qe.S(e, t);
4909
4909
  },
4910
4910
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
4911
4911
  X: function(e, t, r) {
@@ -4921,10 +4921,10 @@ const Ue = {
4921
4921
  // so this token always has the same output as `XX`
4922
4922
  case "XXXX":
4923
4923
  case "XX":
4924
- return ze(n);
4924
+ return Ge(n);
4925
4925
  // Hours and minutes with `:` delimiter
4926
4926
  default:
4927
- return ze(n, ":");
4927
+ return Ge(n, ":");
4928
4928
  }
4929
4929
  },
4930
4930
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -4939,10 +4939,10 @@ const Ue = {
4939
4939
  // so this token always has the same output as `xx`
4940
4940
  case "xxxx":
4941
4941
  case "xx":
4942
- return ze(n);
4942
+ return Ge(n);
4943
4943
  // Hours and minutes with `:` delimiter
4944
4944
  default:
4945
- return ze(n, ":");
4945
+ return Ge(n, ":");
4946
4946
  }
4947
4947
  },
4948
4948
  // Timezone (GMT)
@@ -4953,9 +4953,9 @@ const Ue = {
4953
4953
  case "O":
4954
4954
  case "OO":
4955
4955
  case "OOO":
4956
- return "GMT" + Us(n, ":");
4956
+ return "GMT" + qs(n, ":");
4957
4957
  default:
4958
- return "GMT" + ze(n, ":");
4958
+ return "GMT" + Ge(n, ":");
4959
4959
  }
4960
4960
  },
4961
4961
  // Timezone (specific non-location)
@@ -4966,9 +4966,9 @@ const Ue = {
4966
4966
  case "z":
4967
4967
  case "zz":
4968
4968
  case "zzz":
4969
- return "GMT" + Us(n, ":");
4969
+ return "GMT" + qs(n, ":");
4970
4970
  default:
4971
- return "GMT" + ze(n, ":");
4971
+ return "GMT" + Ge(n, ":");
4972
4972
  }
4973
4973
  },
4974
4974
  // Seconds timestamp
@@ -4981,14 +4981,14 @@ const Ue = {
4981
4981
  return oe(+e, t.length);
4982
4982
  }
4983
4983
  };
4984
- function Us(e, t = "") {
4984
+ function qs(e, t = "") {
4985
4985
  const r = e > 0 ? "-" : "+", n = Math.abs(e), s = Math.trunc(n / 60), a = n % 60;
4986
4986
  return a === 0 ? r + String(s) : r + String(s) + t + oe(a, 2);
4987
4987
  }
4988
4988
  function js(e, t) {
4989
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + oe(Math.abs(e) / 60, 2) : ze(e, t);
4989
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + oe(Math.abs(e) / 60, 2) : Ge(e, t);
4990
4990
  }
4991
- function ze(e, t = "") {
4991
+ function Ge(e, t = "") {
4992
4992
  const r = e > 0 ? "-" : "+", n = Math.abs(e), s = oe(Math.trunc(n / 60), 2), a = oe(n % 60, 2);
4993
4993
  return r + s + t + a;
4994
4994
  }
@@ -5014,7 +5014,7 @@ const Fs = (e, t) => {
5014
5014
  default:
5015
5015
  return t.time({ width: "full" });
5016
5016
  }
5017
- }, Wl = (e, t) => {
5017
+ }, zl = (e, t) => {
5018
5018
  const r = e.match(/(P+)(p+)?/) || [], n = r[1], s = r[2];
5019
5019
  if (!s)
5020
5020
  return Fs(e, t);
@@ -5034,9 +5034,9 @@ const Fs = (e, t) => {
5034
5034
  break;
5035
5035
  }
5036
5036
  return a.replace("{{date}}", Fs(n, t)).replace("{{time}}", ti(s, t));
5037
- }, zl = {
5037
+ }, Wl = {
5038
5038
  p: ti,
5039
- P: Wl
5039
+ P: zl
5040
5040
  }, Gl = /^D+$/, Kl = /^Y+$/, Yl = ["D", "DD", "YY", "YYYY"];
5041
5041
  function Jl(e) {
5042
5042
  return Gl.test(e);
@@ -5060,7 +5060,7 @@ function ad(e, t, r) {
5060
5060
  let c = t.match(td).map((d) => {
5061
5061
  const m = d[0];
5062
5062
  if (m === "p" || m === "P") {
5063
- const y = zl[m];
5063
+ const y = Wl[m];
5064
5064
  return y(d, s.formatLong);
5065
5065
  }
5066
5066
  return d;
@@ -5070,7 +5070,7 @@ function ad(e, t, r) {
5070
5070
  const m = d[0];
5071
5071
  if (m === "'")
5072
5072
  return { isToken: !1, value: od(d) };
5073
- if (qs[m])
5073
+ if (Us[m])
5074
5074
  return { isToken: !0, value: d };
5075
5075
  if (m.match(sd))
5076
5076
  throw new RangeError(
@@ -5088,7 +5088,7 @@ function ad(e, t, r) {
5088
5088
  if (!d.isToken) return d.value;
5089
5089
  const m = d.value;
5090
5090
  (!r?.useAdditionalWeekYearTokens && Xl(m) || !r?.useAdditionalDayOfYearTokens && Jl(m)) && Ql(m, t, String(e));
5091
- const y = qs[m[0]];
5091
+ const y = Us[m[0]];
5092
5092
  return y(i, m, s.localize, l);
5093
5093
  }).join("");
5094
5094
  }
@@ -5097,7 +5097,7 @@ function od(e) {
5097
5097
  return t ? t[1].replace(nd, "'") : e;
5098
5098
  }
5099
5099
  function id(e, t, r) {
5100
- return zo(e, -t, r);
5100
+ return Wo(e, -t, r);
5101
5101
  }
5102
5102
  function ri(e, t) {
5103
5103
  const r = () => $e(t?.in, NaN), s = dd(e);
@@ -5177,7 +5177,7 @@ function hd(e) {
5177
5177
  const t = e.match(ud);
5178
5178
  if (!t) return NaN;
5179
5179
  const r = an(t[1]), n = an(t[2]), s = an(t[3]);
5180
- return Ed(r, n, s) ? r * Wo + n * Bo + s * 1e3 : NaN;
5180
+ return Ed(r, n, s) ? r * zo + n * Bo + s * 1e3 : NaN;
5181
5181
  }
5182
5182
  function an(e) {
5183
5183
  return e && parseFloat(e.replace(",", ".")) || 0;
@@ -5187,7 +5187,7 @@ function md(e) {
5187
5187
  const t = e.match(ld);
5188
5188
  if (!t) return 0;
5189
5189
  const r = t[1] === "+" ? -1 : 1, n = parseInt(t[2]), s = t[3] && parseInt(t[3]) || 0;
5190
- return _d(n, s) ? r * (n * Wo + s * Bo) : NaN;
5190
+ return _d(n, s) ? r * (n * zo + s * Bo) : NaN;
5191
5191
  }
5192
5192
  function gd(e, t, r) {
5193
5193
  const n = /* @__PURE__ */ new Date(0);
@@ -5548,8 +5548,8 @@ const Vs = {
5548
5548
  evening: "abends",
5549
5549
  night: "nachts"
5550
5550
  }
5551
- }, qd = (e) => Number(e) + ".", Ud = {
5552
- ordinalNumber: qd,
5551
+ }, Ud = (e) => Number(e) + ".", qd = {
5552
+ ordinalNumber: Ud,
5553
5553
  era: le({
5554
5554
  values: Dd,
5555
5555
  defaultWidth: "wide"
@@ -5584,9 +5584,9 @@ const Vs = {
5584
5584
  narrow: /^[1234]/i,
5585
5585
  abbreviated: /^q[1234]/i,
5586
5586
  wide: /^[1234](\.)? Quartal/i
5587
- }, Wd = {
5588
- any: [/1/i, /2/i, /3/i, /4/i]
5589
5587
  }, zd = {
5588
+ any: [/1/i, /2/i, /3/i, /4/i]
5589
+ }, Wd = {
5590
5590
  narrow: /^[jfmasond]/i,
5591
5591
  abbreviated: /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,
5592
5592
  wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i
@@ -5658,12 +5658,12 @@ const Vs = {
5658
5658
  quarter: de({
5659
5659
  matchPatterns: Bd,
5660
5660
  defaultMatchWidth: "wide",
5661
- parsePatterns: Wd,
5661
+ parsePatterns: zd,
5662
5662
  defaultParseWidth: "any",
5663
5663
  valueCallback: (e) => e + 1
5664
5664
  }),
5665
5665
  month: de({
5666
- matchPatterns: zd,
5666
+ matchPatterns: Wd,
5667
5667
  defaultMatchWidth: "wide",
5668
5668
  parsePatterns: Gd,
5669
5669
  defaultParseWidth: "any"
@@ -5685,7 +5685,7 @@ const Vs = {
5685
5685
  formatDistance: Td,
5686
5686
  formatLong: $d,
5687
5687
  formatRelative: Id,
5688
- localize: Ud,
5688
+ localize: qd,
5689
5689
  match: Qd,
5690
5690
  options: {
5691
5691
  weekStartsOn: 1,
@@ -6086,7 +6086,7 @@ const Vs = {
6086
6086
  parsePatterns: Df,
6087
6087
  defaultParseWidth: "any"
6088
6088
  })
6089
- }, Ws = {
6089
+ }, zs = {
6090
6090
  code: "es",
6091
6091
  formatDistance: sf,
6092
6092
  formatLong: uf,
@@ -6173,12 +6173,12 @@ const Vs = {
6173
6173
  long: "HH:mm:ss z",
6174
6174
  medium: "HH:mm:ss",
6175
6175
  short: "HH:mm"
6176
- }, qf = {
6176
+ }, Uf = {
6177
6177
  full: "{{date}} 'à' {{time}}",
6178
6178
  long: "{{date}} 'à' {{time}}",
6179
6179
  medium: "{{date}}, {{time}}",
6180
6180
  short: "{{date}}, {{time}}"
6181
- }, Uf = {
6181
+ }, qf = {
6182
6182
  date: we({
6183
6183
  formats: Mf,
6184
6184
  defaultWidth: "full"
@@ -6188,7 +6188,7 @@ const Vs = {
6188
6188
  defaultWidth: "full"
6189
6189
  }),
6190
6190
  dateTime: we({
6191
- formats: qf,
6191
+ formats: Uf,
6192
6192
  defaultWidth: "full"
6193
6193
  })
6194
6194
  }, jf = {
@@ -6236,7 +6236,7 @@ const Vs = {
6236
6236
  "novembre",
6237
6237
  "décembre"
6238
6238
  ]
6239
- }, Wf = {
6239
+ }, zf = {
6240
6240
  narrow: ["D", "L", "M", "M", "J", "V", "S"],
6241
6241
  short: ["di", "lu", "ma", "me", "je", "ve", "sa"],
6242
6242
  abbreviated: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."],
@@ -6249,7 +6249,7 @@ const Vs = {
6249
6249
  "vendredi",
6250
6250
  "samedi"
6251
6251
  ]
6252
- }, zf = {
6252
+ }, Wf = {
6253
6253
  narrow: {
6254
6254
  am: "AM",
6255
6255
  pm: "PM",
@@ -6307,11 +6307,11 @@ const Vs = {
6307
6307
  defaultWidth: "wide"
6308
6308
  }),
6309
6309
  day: le({
6310
- values: Wf,
6310
+ values: zf,
6311
6311
  defaultWidth: "wide"
6312
6312
  }),
6313
6313
  dayPeriod: le({
6314
- values: zf,
6314
+ values: Wf,
6315
6315
  defaultWidth: "wide"
6316
6316
  })
6317
6317
  }, Jf = /^(\d+)(ième|ère|ème|er|e)?/i, Xf = /\d+/i, Qf = {
@@ -6418,10 +6418,10 @@ const Vs = {
6418
6418
  parsePatterns: ip,
6419
6419
  defaultParseWidth: "any"
6420
6420
  })
6421
- }, zs = {
6421
+ }, Ws = {
6422
6422
  code: "fr",
6423
6423
  formatDistance: kf,
6424
- formatLong: Uf,
6424
+ formatLong: qf,
6425
6425
  formatRelative: Ff,
6426
6426
  localize: Yf,
6427
6427
  match: cp,
@@ -6429,7 +6429,7 @@ const Vs = {
6429
6429
  weekStartsOn: 1,
6430
6430
  firstWeekContainsDate: 4
6431
6431
  }
6432
- }, up = "dd/MM/yyyy", fv = "MMMM dd, yyyy", pv = "do MMM, yyyy", lp = "dd/MM/yyyy HH:mm", hv = "yyyy-MM-dd", mv = "d/m/Y", Pe = {
6432
+ }, up = "dd/MM/yyyy", pv = "MMMM dd, yyyy", hv = "do MMM, yyyy", lp = "dd/MM/yyyy HH:mm", mv = "yyyy-MM-dd", gv = "d/m/Y", Pe = {
6433
6433
  PARSE_ERROR: "DATE_ERROR_PARSE",
6434
6434
  FORMAT_ERROR: "DATE_ERROR_FORMAT",
6435
6435
  EMPTY_OR_INVALID: "DATE_ERROR_EMPTY_OR_INVALID",
@@ -6439,10 +6439,10 @@ const Vs = {
6439
6439
  en: Bs,
6440
6440
  "en-US": Zo,
6441
6441
  "en-GB": Bs,
6442
- es: Ws,
6443
- "es-ES": Ws,
6444
- fr: zs,
6445
- "fr-FR": zs,
6442
+ es: zs,
6443
+ "es-ES": zs,
6444
+ fr: Ws,
6445
+ "fr-FR": Ws,
6446
6446
  de: Hs,
6447
6447
  "de-DE": Hs
6448
6448
  };
@@ -6509,13 +6509,13 @@ function ai(e, t, r) {
6509
6509
  const s = dp();
6510
6510
  return { formattedResult: ad(n, t, { locale: s }) };
6511
6511
  }
6512
- function gv(e, t) {
6512
+ function yv(e, t) {
6513
6513
  return ai(e, lp, t);
6514
6514
  }
6515
- function yv(e, t, r = up) {
6515
+ function vv(e, t, r = up) {
6516
6516
  return ai(e, r, t);
6517
6517
  }
6518
- function vv(e, t, r) {
6518
+ function bv(e, t, r) {
6519
6519
  if (!e || !Dt(e) || t === null || t === void 0 || !r || typeof t != "number")
6520
6520
  return;
6521
6521
  const n = new Date(e);
@@ -6530,7 +6530,7 @@ function vv(e, t, r) {
6530
6530
  return;
6531
6531
  }
6532
6532
  }
6533
- function bv(e, t) {
6533
+ function wv(e, t) {
6534
6534
  if (e == null)
6535
6535
  return {
6536
6536
  formattedResult: "",
@@ -6582,11 +6582,11 @@ function bv(e, t) {
6582
6582
  }
6583
6583
  return { formattedResult: c };
6584
6584
  }
6585
- const wv = () => {
6585
+ const Ev = () => {
6586
6586
  const e = /* @__PURE__ */ new Date();
6587
6587
  return e.setHours(0, 0, 0, 0), e;
6588
6588
  };
6589
- function Ev(e, t) {
6589
+ function _v(e, t) {
6590
6590
  const r = new Date(e), s = new Intl.DateTimeFormat("en-US", {
6591
6591
  day: "2-digit",
6592
6592
  month: "short",
@@ -6602,7 +6602,7 @@ function Ev(e, t) {
6602
6602
  }
6603
6603
  return c;
6604
6604
  }
6605
- function _v(e, t) {
6605
+ function Sv(e, t) {
6606
6606
  const r = new Date(e), n = /* @__PURE__ */ new Date(), s = Vn(n, r), a = jn(r, s), o = Fn(n, a), i = jr(a, o), c = Nn(n, i);
6607
6607
  if (s === 0 && o < 3) {
6608
6608
  const m = Nn(n, r);
@@ -6625,14 +6625,14 @@ const pp = {
6625
6625
  h: 1 / 24,
6626
6626
  min: 1 / 1440,
6627
6627
  s: 1 / 86400
6628
- }, Sv = (e, t, r) => {
6628
+ }, Rv = (e, t, r) => {
6629
6629
  const n = typeof e == "string" ? new Date(e) : e;
6630
6630
  if (isNaN(n.getTime()))
6631
6631
  throw new Error(`Invalid date: ${e}`);
6632
6632
  const s = pp[r] ?? 1, a = t * s;
6633
- return zo(n, a);
6634
- }, Rv = (e, t, r, n) => e <= n && r <= t;
6635
- function Tv(e, t, r = !1) {
6633
+ return Wo(n, a);
6634
+ }, Tv = (e, t, r, n) => e <= n && r <= t;
6635
+ function Av(e, t, r = !1) {
6636
6636
  return !e || !Array.isArray(e) ? [] : e.sort((n, s) => {
6637
6637
  const a = new Date(n[t]), o = new Date(s[t]);
6638
6638
  if (isNaN(a.getTime()) && isNaN(o.getTime())) return 0;
@@ -6642,11 +6642,11 @@ function Tv(e, t, r = !1) {
6642
6642
  return r ? i : -i;
6643
6643
  });
6644
6644
  }
6645
- const Av = async (e, t, r) => {
6645
+ const Ov = async (e, t, r) => {
6646
6646
  const { exact: n = !0, refetchActiveNow: s = !0 } = r ?? {};
6647
6647
  await e.cancelQueries({ queryKey: t, exact: n }), await e.removeQueries({ queryKey: t, exact: n }), await e.invalidateQueries({ queryKey: t, exact: n }), s && await e.refetchQueries({ queryKey: t, exact: n, type: "active" });
6648
6648
  }, hp = () => Math.random().toString(36).substring(2, 9);
6649
- function Ov(e, t = " -") {
6649
+ function Pv(e, t = " -") {
6650
6650
  return e ? e.toLowerCase().split(new RegExp(`[${t}]+`)).map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join(" ") : "";
6651
6651
  }
6652
6652
  function oi(e) {
@@ -6658,7 +6658,7 @@ function oi(e) {
6658
6658
  }
6659
6659
  return "";
6660
6660
  }
6661
- const Pv = (e) => !e || e.trim().length === 0, $v = (e, t) => {
6661
+ const $v = (e) => !e || e.trim().length === 0, Nv = (e, t) => {
6662
6662
  if (!e || !t || t.length === 0)
6663
6663
  return 999;
6664
6664
  const r = t.findIndex(
@@ -6666,7 +6666,7 @@ const Pv = (e) => !e || e.trim().length === 0, $v = (e, t) => {
6666
6666
  );
6667
6667
  return r === -1 ? 999 : r;
6668
6668
  };
6669
- function Nv(e, t) {
6669
+ function Iv(e, t) {
6670
6670
  if (!e || e.length === 0)
6671
6671
  return [];
6672
6672
  const r = /* @__PURE__ */ new Map();
@@ -6678,7 +6678,7 @@ function Nv(e, t) {
6678
6678
  items: s
6679
6679
  }));
6680
6680
  }
6681
- function Iv(e, t, r) {
6681
+ function Dv(e, t, r) {
6682
6682
  if (!e || e.length === 0)
6683
6683
  return [];
6684
6684
  const n = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
@@ -6699,7 +6699,7 @@ function mp(e) {
6699
6699
  a[n(o[1])] = n(o[2]);
6700
6700
  return a;
6701
6701
  }
6702
- function Dv(e, t, r) {
6702
+ function Cv(e, t, r) {
6703
6703
  const n = /{{([^}]*)}}/g, s = e.match(n);
6704
6704
  let a = e;
6705
6705
  const o = r ?? !1, i = o ? mp() : {};
@@ -6712,7 +6712,7 @@ function Dv(e, t, r) {
6712
6712
  const gp = (e) => new Promise((t, r) => {
6713
6713
  const n = new FileReader();
6714
6714
  n.onloadend = () => t(n.result), n.onerror = r, n.readAsDataURL(e);
6715
- }), Cv = (e) => {
6715
+ }), Lv = (e) => {
6716
6716
  if (typeof e == "number" && !isNaN(e))
6717
6717
  return "number";
6718
6718
  if (typeof e != "string")
@@ -6720,11 +6720,14 @@ const gp = (e) => new Promise((t, r) => {
6720
6720
  const t = e.toLowerCase();
6721
6721
  return t.endsWith(".pdf") ? "PDF" : [".png", ".jpg", ".jpeg", ".gif", ".bmp", ".svg"].some((s) => t.endsWith(s)) ? "Image" : [".mp4", ".ogg", ".webm", ".mkv", ".flv"].some((s) => t.endsWith(s)) ? "Video" : typeof e == "string" ? "string" : "object";
6722
6722
  };
6723
- function Lv(e) {
6723
+ function kv(e) {
6724
6724
  return e.replace(/\s+/g, "_").replace(/([a-z])([A-Z])/g, "$1_$2").replace(/([A-Z])([A-Z][a-z])/g, "$1_$2").toUpperCase();
6725
6725
  }
6726
+ function Mv(e) {
6727
+ return e ? e.replaceAll(/[_-]/g, " ").replaceAll(/([a-z])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z][a-z])/g, "$1 $2").replaceAll(/([a-z])(\d)/gi, "$1 $2").replaceAll(/(\d)([a-z])/gi, "$1 $2").replaceAll(/\s+/g, " ").trim().toLowerCase().replace(/^./, (t) => t.toUpperCase()) : "";
6728
+ }
6726
6729
  const yp = (e) => ee + `/user?username=${e}&v=custom:(username,uuid)`, vp = "bahmni.user.location";
6727
- async function kv() {
6730
+ async function xv() {
6728
6731
  const e = oi(Ju);
6729
6732
  if (!e)
6730
6733
  return null;
@@ -6732,7 +6735,7 @@ async function kv() {
6732
6735
  const t = decodeURIComponent(e).replace(
6733
6736
  /^"(.*)"$/,
6734
6737
  "$1"
6735
- ), r = await z(yp(t));
6738
+ ), r = await W(yp(t));
6736
6739
  return !r.results || r.results.length === 0 ? null : r.results[0];
6737
6740
  } catch {
6738
6741
  throw new Error(ie.t("ERROR_FETCHING_USER_DETAILS"));
@@ -6794,18 +6797,18 @@ const Hn = () => {
6794
6797
  }, ii = ee + "/idgen/identifiertype", Sp = (e) => ee + `/bahmni/app/setting?module=${e}`, Rp = "bahmni.primaryIdentifierType", Tp = ee + "/bahmnicore/patientprofile", Ap = (e) => ee + `/bahmnicore/patientprofile/${e}`, Op = (e) => ee + `/patientprofile/${e}?v=full`, Pp = (e, t, r = 20, n) => {
6795
6798
  let s = `/openmrs/module/addresshierarchy/ajax/getPossibleAddressHierarchyEntriesWithParents.form?addressField=${e}&limit=${r}&searchString=${encodeURIComponent(t)}`;
6796
6799
  return n && (s += `&parent=${n}`), s;
6797
- }, $p = "/openmrs/module/addresshierarchy/ajax/getOrderedAddressHierarchyLevels.form", Np = ee + "/relationshiptype?v=custom:(aIsToB,bIsToA,uuid)&limit=150", Ip = 20, Dp = 2, Mv = 120, xv = 50, qv = 15, Cp = /^[a-f0-9-]{36}$/i, Lp = (e) => Yu + `/patientImage?patientUuid=${e}`, kp = ee + "/personattributetype?v=custom:(uuid,name,sortWeight,description,format,concept:(uuid,display,answers:(uuid,name)))", Mp = async (e) => {
6800
+ }, $p = "/openmrs/module/addresshierarchy/ajax/getOrderedAddressHierarchyLevels.form", Np = ee + "/relationshiptype?v=custom:(aIsToB,bIsToA,uuid)&limit=150", Ip = 20, Dp = 2, Uv = 120, qv = 50, jv = 15, Cp = /^[a-f0-9-]{36}$/i, Lp = (e) => Yu + `/patientImage?patientUuid=${e}`, kp = ee + "/personattributetype?v=custom:(uuid,name,sortWeight,description,format,concept:(uuid,display,answers:(uuid,name)))", Mp = async (e) => {
6798
6801
  if (!e || e.trim() === "")
6799
6802
  throw new Error("Invalid patient UUID: UUID cannot be empty");
6800
6803
  if (!Cp.test(e))
6801
6804
  throw new Error(`Invalid patient UUID format: ${e}`);
6802
- return z(wp(e));
6803
- }, xp = (e) => !e.extension || !Array.isArray(e.extension) ? [] : e.extension.flatMap((t) => t.extension && Array.isArray(t.extension) ? t.extension.filter((r) => r.valueString).map((r) => r.valueString) : []), qp = (e) => {
6805
+ return W(wp(e));
6806
+ }, xp = (e) => !e.extension || !Array.isArray(e.extension) ? [] : e.extension.flatMap((t) => t.extension && Array.isArray(t.extension) ? t.extension.filter((r) => r.valueString).map((r) => r.valueString) : []), Up = (e) => {
6804
6807
  if (!e.name || e.name.length === 0)
6805
6808
  return null;
6806
6809
  const t = e.name[0], r = t.given?.join(" ") ?? "", n = t.family ?? "";
6807
6810
  return !r && !n ? null : `${r} ${n}`.trim();
6808
- }, Up = (e) => {
6811
+ }, qp = (e) => {
6809
6812
  if (!e) return null;
6810
6813
  const t = [
6811
6814
  ...e.line ?? [],
@@ -6815,14 +6818,14 @@ const Hn = () => {
6815
6818
  ], r = e.city ?? "", n = e.state ?? "", s = e.postalCode ?? "", a = t.filter(Boolean);
6816
6819
  return r && a.push(r), n && s ? a.push(`${n} ${s}`) : n ? a.push(n) : s && a.push(s), a.length > 0 ? a.join(", ").trim() : null;
6817
6820
  }, jp = (e) => !e?.system || !e.value ? null : `${e.system}: ${e.value}`, Fp = (e) => {
6818
- const t = e.address && e.address.length > 0 ? Up(e.address[0]) : null, r = e.telecom && e.telecom.length > 0 ? jp(e.telecom[0]) : null, n = e.identifier ?? [], s = /* @__PURE__ */ new Map();
6821
+ const t = e.address && e.address.length > 0 ? qp(e.address[0]) : null, r = e.telecom && e.telecom.length > 0 ? jp(e.telecom[0]) : null, n = e.identifier ?? [], s = /* @__PURE__ */ new Map();
6819
6822
  n.length > 0 && n.forEach((o) => {
6820
6823
  !o.type?.text || !o.value || s.set(o.type.text, o.value);
6821
6824
  });
6822
6825
  const a = e.birthDate ? fp(e.birthDate) : null;
6823
6826
  return {
6824
6827
  id: e.id ?? "",
6825
- fullName: qp(e),
6828
+ fullName: Up(e),
6826
6829
  gender: e.gender ?? null,
6827
6830
  birthDate: e.birthDate ?? null,
6828
6831
  formattedAddress: t,
@@ -6830,22 +6833,22 @@ const Hn = () => {
6830
6833
  identifiers: s,
6831
6834
  age: a
6832
6835
  };
6833
- }, Uv = async (e) => {
6836
+ }, Fv = async (e) => {
6834
6837
  const t = await Mp(e);
6835
6838
  return Fp(t);
6836
- }, jv = async (e) => {
6839
+ }, Vv = async (e) => {
6837
6840
  const t = await fetch(Lp(e));
6838
6841
  if (!t.ok) return null;
6839
6842
  const r = await t.blob();
6840
6843
  return await gp(r);
6841
- }, Fv = async (e, t) => {
6844
+ }, Hv = async (e, t) => {
6842
6845
  const r = Hn();
6843
- return await z(
6846
+ return await W(
6844
6847
  Ep(e, r.uuid, t)
6845
6848
  );
6846
- }, Vv = async (e, t, r, n, s) => {
6849
+ }, Bv = async (e, t, r, n, s) => {
6847
6850
  const a = Hn();
6848
- return await z(
6851
+ return await W(
6849
6852
  _p(
6850
6853
  e,
6851
6854
  t,
@@ -6854,11 +6857,11 @@ const Hn = () => {
6854
6857
  a.uuid
6855
6858
  )
6856
6859
  );
6857
- }, Hv = async () => z(ii), Vp = async () => (await z(Sp("core"))).find(
6860
+ }, zv = async () => W(ii), Vp = async () => (await W(Sp("core"))).find(
6858
6861
  (r) => r.property === Rp
6859
- )?.value ?? null, Bv = async () => {
6862
+ )?.value ?? null, Wv = async () => {
6860
6863
  const [e, t] = await Promise.all([
6861
- z(ii),
6864
+ W(ii),
6862
6865
  Vp()
6863
6866
  ]), r = [], n = /* @__PURE__ */ new Map();
6864
6867
  if (!t)
@@ -6873,14 +6876,14 @@ const Hn = () => {
6873
6876
  sourcesByPrefix: n,
6874
6877
  primaryIdentifierTypeUuid: t
6875
6878
  }) : { prefixes: r, sourcesByPrefix: n, primaryIdentifierTypeUuid: t };
6876
- }, Wv = async (e) => Je(Tp, e), zv = async (e, t) => Je(
6879
+ }, Gv = async (e) => Ve(Tp, e), Kv = async (e, t) => Ve(
6877
6880
  Ap(e),
6878
6881
  t
6879
- ), Gv = async () => z(Vo("mrs.genders")), Kv = async (e, t, r = Ip, n) => {
6882
+ ), Yv = async () => W(Vo("mrs.genders")), Jv = async (e, t, r = Ip, n) => {
6880
6883
  if (!t || t.length < Dp)
6881
6884
  return [];
6882
6885
  try {
6883
- return await z(
6886
+ return await W(
6884
6887
  Pp(e, t, r, n)
6885
6888
  );
6886
6889
  } catch (s) {
@@ -6888,9 +6891,9 @@ const Hn = () => {
6888
6891
  `Failed to fetch address hierarchy for field "${e}": ${s instanceof Error ? s.message : "Unknown error"}`
6889
6892
  );
6890
6893
  }
6891
- }, Yv = async () => z($p), Jv = async (e) => z(Op(e)), Xv = async () => {
6894
+ }, Xv = async () => W($p), Qv = async (e) => W(Op(e)), Zv = async () => {
6892
6895
  try {
6893
- return (await z(
6896
+ return (await W(
6894
6897
  Np
6895
6898
  )).results.map((t) => ({
6896
6899
  uuid: t.uuid,
@@ -6902,12 +6905,12 @@ const Hn = () => {
6902
6905
  `Failed to fetch relationship types: ${e instanceof Error ? e.message : "Unknown error"}`
6903
6906
  );
6904
6907
  }
6905
- }, Qv = async () => z(kp);
6908
+ }, eb = async () => W(kp);
6906
6909
  var Hp = /* @__PURE__ */ ((e) => (e.BOOLEAN = "java.lang.Boolean", e.BOOLEAN_DATATYPE = "org.openmrs.customdatatype.datatype.BooleanDatatype", e.CONCEPT = "org.openmrs.Concept", e.CODED_CONCEPT = "org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype", e.CONCEPT_DATATYPE = "org.openmrs.customdatatype.datatype.ConceptDatatype", e.STRING = "java.lang.String", e.FREE_TEXT = "org.openmrs.customdatatype.datatype.FreeTextDatatype", e.REGEX_VALIDATED_TEXT = "org.openmrs.customdatatype.datatype.RegexValidatedTextDatatype", e.INTEGER = "java.lang.Integer", e.FLOAT = "java.lang.Float", e.ATTRIBUTABLE_DATE = "org.openmrs.util.AttributableDate", e.DATE_DATATYPE = "org.openmrs.customdatatype.datatype.DateDatatype", e))(Hp || {}), Bp = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.DROPDOWN = "dropdown", e.TEXT = "text", e.NUMBER = "number", e.DATE = "date", e))(Bp || {});
6907
- const Zv = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype.datatype.BooleanDatatype" ? "checkbox" : e === "org.openmrs.Concept" || e === "org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype" || e === "org.openmrs.customdatatype.datatype.ConceptDatatype" ? "dropdown" : e === "java.lang.Integer" || e === "java.lang.Float" ? "number" : e === "org.openmrs.util.AttributableDate" || e === "org.openmrs.customdatatype.datatype.DateDatatype" ? "date" : "text", eb = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype.datatype.BooleanDatatype", tb = (e) => e === "org.openmrs.Concept" || e === "org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype" || e === "org.openmrs.customdatatype.datatype.ConceptDatatype", rb = (e) => e === "java.lang.Integer" || e === "java.lang.Float", nb = (e) => e === "org.openmrs.util.AttributableDate" || e === "org.openmrs.customdatatype.datatype.DateDatatype", sb = (e) => e === "java.lang.String" || e === "org.openmrs.customdatatype.datatype.FreeTextDatatype" || e === "org.openmrs.customdatatype.datatype.RegexValidatedTextDatatype", Wp = (e) => {
6910
+ const tb = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype.datatype.BooleanDatatype" ? "checkbox" : e === "org.openmrs.Concept" || e === "org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype" || e === "org.openmrs.customdatatype.datatype.ConceptDatatype" ? "dropdown" : e === "java.lang.Integer" || e === "java.lang.Float" ? "number" : e === "org.openmrs.util.AttributableDate" || e === "org.openmrs.customdatatype.datatype.DateDatatype" ? "date" : "text", rb = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype.datatype.BooleanDatatype", nb = (e) => e === "org.openmrs.Concept" || e === "org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype" || e === "org.openmrs.customdatatype.datatype.ConceptDatatype", sb = (e) => e === "java.lang.Integer" || e === "java.lang.Float", ab = (e) => e === "org.openmrs.util.AttributableDate" || e === "org.openmrs.customdatatype.datatype.DateDatatype", ob = (e) => e === "java.lang.String" || e === "org.openmrs.customdatatype.datatype.FreeTextDatatype" || e === "org.openmrs.customdatatype.datatype.RegexValidatedTextDatatype", zp = (e) => {
6908
6911
  const t = new CustomEvent("bahmni-audit-log", { detail: e });
6909
6912
  window.dispatchEvent(t);
6910
- }, zp = (e) => {
6913
+ }, Wp = (e) => {
6911
6914
  const t = (r) => {
6912
6915
  e(r.detail);
6913
6916
  };
@@ -6957,10 +6960,10 @@ const Zv = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype
6957
6960
  }
6958
6961
  }, Gp = ee + "/auditlog", Kp = {
6959
6962
  UNKNOWN_EVENT_TYPE: "AUDIT_LOG_ERROR_UNKNOWN_EVENT_TYPE"
6960
- }, Yp = () => ee + "/bahmnicore/config/bahmniencounter?callerContext=REGISTRATION_CONCEPTS", Jp = ee + "/visit", Xp = (e) => ee + `/visit?patient=${e}&includeInactive=false&v=custom:(uuid,visitType,startDatetime,stopDatetime)`, Qp = (e) => ee + `/bahmnicore/visitLocation/${e}`, ab = async () => z(Yp()), Zp = async (e) => z(Xp(e)), eh = async (e) => z(Qp(e)), th = async (e) => Je(Jp, e), ob = async (e) => {
6963
+ }, Yp = () => ee + "/bahmnicore/config/bahmniencounter?callerContext=REGISTRATION_CONCEPTS", Jp = ee + "/visit", Xp = (e) => ee + `/visit?patient=${e}&includeInactive=false&v=custom:(uuid,visitType,startDatetime,stopDatetime)`, Qp = (e) => ee + `/bahmnicore/visitLocation/${e}`, ib = async () => W(Yp()), Zp = async (e) => W(Xp(e)), eh = async (e) => W(Qp(e)), th = async (e) => Ve(Jp, e), cb = async (e) => {
6961
6964
  const t = await Zp(e);
6962
6965
  return t?.results && t.results.length > 0;
6963
- }, ib = async (e, t) => {
6966
+ }, ub = async (e, t) => {
6964
6967
  const r = await eh(
6965
6968
  Hn().uuid
6966
6969
  ), n = {
@@ -6968,13 +6971,13 @@ const Zv = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype
6968
6971
  visitType: t.uuid,
6969
6972
  location: r.uuid
6970
6973
  }, s = await th(n);
6971
- return Wp({
6974
+ return zp({
6972
6975
  eventType: Dn.OPEN_VISIT.eventType,
6973
6976
  patientUuid: e,
6974
6977
  messageParams: { visitType: t.name },
6975
6978
  module: Dn.OPEN_VISIT.module
6976
6979
  }), s;
6977
- }, rh = ee + "/appointments/search", ci = ee + "/appointments", nh = "bahmni.sqlGet.upComingAppointments", sh = "bahmni.sqlGet.pastAppointments", ah = (e) => `${ci}/${e}`, oh = (e) => `${jo}?patientUuid=${e}&q=${nh}&v=full`, ih = (e) => `${jo}?patientUuid=${e}&q=${sh}&v=full`, ch = (e) => `${ci}/${e}/status-change`, cb = async (e) => await Je(
6980
+ }, rh = ee + "/appointments/search", ci = ee + "/appointments", nh = "bahmni.sqlGet.upComingAppointments", sh = "bahmni.sqlGet.pastAppointments", ah = (e) => `${ci}/${e}`, oh = (e) => `${jo}?patientUuid=${e}&q=${nh}&v=full`, ih = (e) => `${jo}?patientUuid=${e}&q=${sh}&v=full`, ch = (e) => `${ci}/${e}/status-change`, lb = async (e) => await Ve(
6978
6981
  rh,
6979
6982
  e
6980
6983
  ), ui = (e) => {
@@ -7032,16 +7035,16 @@ const Zv = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype
7032
7035
  customAttributes: []
7033
7036
  }
7034
7037
  };
7035
- }, ub = async (e) => (await z(
7038
+ }, db = async (e) => (await W(
7036
7039
  oh(e)
7037
- ) || []).map(ui), lb = async (e) => (await z(
7040
+ ) || []).map(ui), fb = async (e) => (await W(
7038
7041
  ih(e)
7039
- ) || []).map(ui), db = async (e, t, r) => await Je(
7042
+ ) || []).map(ui), pb = async (e, t, r) => await Ve(
7040
7043
  ch(e),
7041
7044
  { toStatus: t, onDate: r }
7042
7045
  );
7043
- async function fb(e) {
7044
- return await z(ah(e));
7046
+ async function hb(e) {
7047
+ return await W(ah(e));
7045
7048
  }
7046
7049
  const uh = () => {
7047
7050
  let e = null;
@@ -7072,21 +7075,21 @@ const uh = () => {
7072
7075
  );
7073
7076
  }
7074
7077
  };
7075
- }, on = uh(), lh = (e) => pe + `/ValueSet/${e}/$expand`, dh = (e) => pe + `/ValueSet/$expand?filter=${encodeURIComponent(e)}`, fh = (e, t, r) => ee + `/bahmni/terminologies/concepts?limit=${t}&locale=${r}&term=${e}`, ph = (e) => ee + `/concept/${e}`, hh = (e) => `${ee}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(e)}`, mh = "SHORT", gh = "FULLY_SPECIFIED", pb = async (e, t = 20) => {
7078
+ }, on = uh(), lh = (e) => pe + `/ValueSet/${e}/$expand`, dh = (e) => pe + `/ValueSet/$expand?filter=${encodeURIComponent(e)}`, fh = (e, t, r) => ee + `/bahmni/terminologies/concepts?limit=${t}&locale=${r}&term=${e}`, ph = (e) => ee + `/concept/${e}`, hh = (e) => `${ee}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(e)}`, mh = "SHORT", gh = "FULLY_SPECIFIED", mb = async (e, t = 20) => {
7076
7079
  const r = It(), n = fh(e, t, r);
7077
- return z(n);
7080
+ return W(n);
7078
7081
  }, Rr = async (e) => {
7079
7082
  const t = lh(e);
7080
- return z(t);
7083
+ return W(t);
7081
7084
  }, yh = async (e) => {
7082
7085
  const t = `${dh(e)}`;
7083
- return z(t);
7086
+ return W(t);
7084
7087
  };
7085
- async function hb(e) {
7086
- return await z(ph(e));
7088
+ async function gb(e) {
7089
+ return await W(ph(e));
7087
7090
  }
7088
- async function mb(e) {
7089
- const t = hh(e), r = await z(t);
7091
+ async function yb(e) {
7092
+ const t = hh(e), r = await W(t);
7090
7093
  return !r.results || r.results.length === 0 ? null : r.results[0];
7091
7094
  }
7092
7095
  function vh(e) {
@@ -7121,7 +7124,7 @@ const bh = (e) => pe + `/AllergyIntolerance?patient=${e}&_count=100&_sort=-_last
7121
7124
  }), cn = (e, t) => {
7122
7125
  const r = e.expansion?.contains ?? [];
7123
7126
  return Eh(r).map((s) => _h(s, t));
7124
- }, gb = async (e, t, r) => {
7127
+ }, vb = async (e, t, r) => {
7125
7128
  const n = e ?? nt.MEDICATION.code, s = t ?? nt.FOOD.code, a = r ?? nt.ENVIRONMENT.code, [o, i, c] = await Promise.all([
7126
7129
  Rr(n),
7127
7130
  Rr(s),
@@ -7141,12 +7144,12 @@ const bh = (e) => pe + `/AllergyIntolerance?patient=${e}&_count=100&_sort=-_last
7141
7144
  nt.ENVIRONMENT.display
7142
7145
  )
7143
7146
  ];
7144
- }, yb = async (e) => {
7147
+ }, bb = async (e) => {
7145
7148
  const t = e ?? wh.code;
7146
7149
  return (await Rr(t)).compose?.include[0]?.concept ?? [];
7147
7150
  };
7148
7151
  async function Sh(e) {
7149
- return await z(`${bh(e)}`);
7152
+ return await W(`${bh(e)}`);
7150
7153
  }
7151
7154
  async function Rh(e) {
7152
7155
  return (await Sh(e)).entry?.map(
@@ -7175,19 +7178,19 @@ function Th(e) {
7175
7178
  };
7176
7179
  });
7177
7180
  }
7178
- async function vb(e) {
7181
+ async function wb(e) {
7179
7182
  const t = await Rh(e);
7180
7183
  return Th(t);
7181
7184
  }
7182
7185
  var Ah = /* @__PURE__ */ ((e) => (e.Active = "Active", e.Inactive = "Inactive", e))(Ah || {}), Oh = /* @__PURE__ */ ((e) => (e.mild = "mild", e.moderate = "moderate", e.severe = "severe", e))(Oh || {});
7183
- const bb = "http://fhir.openmrs.org/code-system/encounter-type", Ph = "problem-list-item", wb = "http://terminology.hl7.org/CodeSystem/condition-ver-status", $h = "encounter-diagnosis", Eb = "http://terminology.hl7.org/CodeSystem/condition-clinical", _b = "http://terminology.hl7.org/CodeSystem/condition-category", Sb = "http://fhir.bahmni.org/ext/lab-order-concept-type", Rb = "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", Tb = "http://fhir.bahmni.org/ext/observation/form-namespace-path", Ab = "http://fhir.bahmni.org/ext/observation/obs-value-attachment", Ob = "Numeric", Pb = "Complex", $b = "final", Nb = "Observation", Ib = /^\d{4}-\d{2}-\d{2}/, Nh = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/, Db = {
7186
+ const Eb = "http://fhir.openmrs.org/code-system/encounter-type", Ph = "problem-list-item", _b = "http://terminology.hl7.org/CodeSystem/condition-ver-status", $h = "encounter-diagnosis", Sb = "http://terminology.hl7.org/CodeSystem/condition-clinical", Rb = "http://terminology.hl7.org/CodeSystem/condition-category", Tb = "http://fhir.bahmni.org/ext/lab-order-concept-type", Ab = "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", Ob = "http://fhir.bahmni.org/ext/observation/form-namespace-path", Pb = "http://fhir.bahmni.org/ext/observation/obs-value-attachment", $b = "Numeric", Nb = "Complex", Ib = "final", Db = "Observation", Cb = /^\d{4}-\d{2}-\d{2}/, Nh = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/, Lb = {
7184
7187
  ABNORMAL: { code: "A", display: "Abnormal" },
7185
7188
  NORMAL: { code: "N", display: "Normal" }
7186
7189
  }, Ih = (e) => pe + `/Condition?category=${Ph}&patient=${e}&_count=100&_sort=-_lastUpdated`;
7187
7190
  async function Dh(e) {
7188
- return await z(`${Ih(e)}`);
7191
+ return await W(`${Ih(e)}`);
7189
7192
  }
7190
- async function Cb(e) {
7193
+ async function kb(e) {
7191
7194
  return (await Dh(e)).entry?.filter((n) => n.resource?.resourceType === "Condition").map((n) => n.resource) ?? [];
7192
7195
  }
7193
7196
  const Ch = (e) => pe + `/Condition?category=${$h}&patient=${e}&_count=100&_sort=-_lastUpdated`, un = [
@@ -7204,7 +7207,7 @@ const Ch = (e) => pe + `/Condition?category=${$h}&patient=${e}&_count=100&_sort=
7204
7207
  ], Lh = "confirmed", kh = "provisional";
7205
7208
  async function Mh(e) {
7206
7209
  const t = Ch(e);
7207
- return await z(t);
7210
+ return await W(t);
7208
7211
  }
7209
7212
  const xh = (e) => {
7210
7213
  switch (e.verificationStatus?.coding?.[0]?.code) {
@@ -7215,10 +7218,10 @@ const xh = (e) => {
7215
7218
  default:
7216
7219
  return un[1];
7217
7220
  }
7218
- }, qh = (e) => !!(e.id && e.code && e.recordedDate);
7219
- function Uh(e) {
7221
+ }, Uh = (e) => !!(e.id && e.code && e.recordedDate);
7222
+ function qh(e) {
7220
7223
  return (e.entry?.filter((r) => r.resource?.resourceType === "Condition").map((r) => r.resource) ?? []).map((r) => {
7221
- if (!qh(r))
7224
+ if (!Uh(r))
7222
7225
  throw new Error("Incomplete diagnosis data");
7223
7226
  const n = xh(r), s = r.recordedDate;
7224
7227
  return {
@@ -7243,11 +7246,11 @@ function jh(e) {
7243
7246
  }
7244
7247
  return Array.from(t.values());
7245
7248
  }
7246
- async function Lb(e) {
7247
- const t = await Mh(e), r = Uh(t);
7249
+ async function Mb(e) {
7250
+ const t = await Mh(e), r = qh(t);
7248
7251
  return jh(r);
7249
7252
  }
7250
- var qe = /* @__PURE__ */ ((e) => (e.Active = "active", e.OnHold = "on-hold", e.Completed = "completed", e.Stopped = "stopped", e.Cancelled = "cancelled", e.EnteredInError = "entered-in-error", e.Draft = "draft", e.Unknown = "unknown", e))(qe || {});
7253
+ var Ue = /* @__PURE__ */ ((e) => (e.Active = "active", e.OnHold = "on-hold", e.Completed = "completed", e.Stopped = "stopped", e.Cancelled = "cancelled", e.EnteredInError = "entered-in-error", e.Draft = "draft", e.Unknown = "unknown", e))(Ue || {});
7251
7254
  const St = {
7252
7255
  // Base parameters for all medication request queries
7253
7256
  SORT: "_sort=-_lastUpdated",
@@ -7262,24 +7265,24 @@ const St = {
7262
7265
  }, Vh = (e, t, r) => {
7263
7266
  let s = `${pe + "/MedicationRequest?" + St.SORT + "&" + St.COUNT + "&" + St.INCLUDE_MEDICATION}&patient=${e}`;
7264
7267
  return t && (s += `&code=${t}`), r && (s += `&encounter=${r}`), s;
7265
- }, Hh = ee + "/bahmnicore/config/drugOrders", Bh = (e, t) => pe + `/Medication?name=${encodeURIComponent(e)}&_count=${t}&_sort=-_lastUpdated`, Wh = pe + "/Medication?code=http://hl7.org/fhir/sid/cvx|&_count=100", zh = (e) => {
7268
+ }, Hh = ee + "/bahmnicore/config/drugOrders", Bh = (e, t) => pe + `/Medication?name=${encodeURIComponent(e)}&_count=${t}&_sort=-_lastUpdated`, zh = pe + "/Medication?code=http://hl7.org/fhir/sid/cvx|&_count=100", Wh = (e) => {
7266
7269
  switch (e.status) {
7267
7270
  case "active":
7268
- return qe.Active;
7271
+ return Ue.Active;
7269
7272
  case "on-hold":
7270
- return qe.OnHold;
7273
+ return Ue.OnHold;
7271
7274
  case "cancelled":
7272
- return qe.Cancelled;
7275
+ return Ue.Cancelled;
7273
7276
  case "completed":
7274
- return qe.Completed;
7277
+ return Ue.Completed;
7275
7278
  case "entered-in-error":
7276
- return qe.EnteredInError;
7279
+ return Ue.EnteredInError;
7277
7280
  case "stopped":
7278
- return qe.Stopped;
7281
+ return Ue.Stopped;
7279
7282
  case "draft":
7280
- return qe.Draft;
7283
+ return Ue.Draft;
7281
7284
  case "unknown":
7282
- return qe.Unknown;
7285
+ return Ue.Unknown;
7283
7286
  }
7284
7287
  };
7285
7288
  async function Gh(e, t, r, n = !1) {
@@ -7288,7 +7291,7 @@ async function Gh(e, t, r, n = !1) {
7288
7291
  let a;
7289
7292
  t && t.length > 0 && (a = t.join(","));
7290
7293
  const i = (n ? Vh : Fh)(e, a, s);
7291
- return await z(i);
7294
+ return await W(i);
7292
7295
  }
7293
7296
  function Kh(e) {
7294
7297
  const t = e?.[0]?.doseAndRate?.[0]?.doseQuantity;
@@ -7376,7 +7379,7 @@ function sm(e) {
7376
7379
  const s = n.resource;
7377
7380
  s.resourceType === "Medication" && r.set(s.id, s);
7378
7381
  }), t.map((n) => {
7379
- const s = n.medicationReference, a = n.requester, o = zh(n), i = rm(
7382
+ const s = n.medicationReference, a = n.requester, o = Wh(n), i = rm(
7380
7383
  s,
7381
7384
  n,
7382
7385
  r
@@ -7410,7 +7413,7 @@ function sm(e) {
7410
7413
  });
7411
7414
  }
7412
7415
  const Ks = (e) => e.priority === "stat" || e.dosageInstruction?.[0]?.timing?.code?.text === "Immediately" || !1;
7413
- async function kb(e, t, r, n = !1) {
7416
+ async function xb(e, t, r, n = !1) {
7414
7417
  const s = await Gh(
7415
7418
  e,
7416
7419
  t,
@@ -7419,18 +7422,18 @@ async function kb(e, t, r, n = !1) {
7419
7422
  );
7420
7423
  return sm(s);
7421
7424
  }
7422
- async function Mb() {
7423
- return await z(
7425
+ async function Ub() {
7426
+ return await W(
7424
7427
  Hh
7425
7428
  );
7426
7429
  }
7427
- async function xb(e, t = 20) {
7428
- return await z(
7430
+ async function qb(e, t = 20) {
7431
+ return await W(
7429
7432
  Bh(e, t)
7430
7433
  );
7431
7434
  }
7432
- async function qb() {
7433
- return await z(Wh);
7435
+ async function jb() {
7436
+ return await W(zh);
7434
7437
  }
7435
7438
  const am = (e, t, r, n, s) => {
7436
7439
  let o = `${pe + "/ServiceRequest?_sort=-_lastUpdated"}&category=${e}&patient=${t}`;
@@ -7451,7 +7454,7 @@ function om(e) {
7451
7454
  async function Ct(e, t, r, n, s) {
7452
7455
  let a;
7453
7456
  r && r.length > 0 && (a = r.join(","));
7454
- const o = await z(
7457
+ const o = await W(
7455
7458
  am(
7456
7459
  e,
7457
7460
  t,
@@ -7462,7 +7465,7 @@ async function Ct(e, t, r, n, s) {
7462
7465
  );
7463
7466
  return o.entry && (o.entry = om(o.entry), o.total = o.entry.length), o;
7464
7467
  }
7465
- async function Ub(e, t, r, n) {
7468
+ async function Fb(e, t, r, n) {
7466
7469
  return await Ct(
7467
7470
  t,
7468
7471
  e,
@@ -7470,7 +7473,7 @@ async function Ub(e, t, r, n) {
7470
7473
  n
7471
7474
  );
7472
7475
  }
7473
- async function jb(e, t, r, n) {
7476
+ async function Vb(e, t, r, n) {
7474
7477
  return await Ct(
7475
7478
  t,
7476
7479
  e,
@@ -7479,7 +7482,7 @@ async function jb(e, t, r, n) {
7479
7482
  "ImagingStudy:basedon"
7480
7483
  );
7481
7484
  }
7482
- async function Fb(e, t, r, n) {
7485
+ async function Hb(e, t, r, n) {
7483
7486
  return (await Ct(
7484
7487
  t,
7485
7488
  e,
@@ -7487,7 +7490,7 @@ async function Fb(e, t, r, n) {
7487
7490
  n
7488
7491
  )).entry?.filter((o) => o.resource?.resourceType === "ServiceRequest").map((o) => o.resource) ?? [];
7489
7492
  }
7490
- async function Vb(e, t, r, n) {
7493
+ async function Bb(e, t, r, n) {
7491
7494
  return await Ct(
7492
7495
  t,
7493
7496
  e,
@@ -7498,29 +7501,33 @@ async function Vb(e, t, r, n) {
7498
7501
  const im = (e, t) => {
7499
7502
  const r = `${pe}/DiagnosticReport?patient=${e}`;
7500
7503
  return t ? `${r}&based-on=${t}` : r;
7501
- }, cm = (e) => `${pe}/DiagnosticReport/${e}/$fetch-bundle`;
7502
- async function Hb(e, t = []) {
7504
+ }, cm = (e) => `${pe}/DiagnosticReport/${e}/$fetch-bundle`, um = (e) => `${pe}/DiagnosticReport/${e}/$update-bundle`;
7505
+ async function zb(e, t = []) {
7503
7506
  const r = t.length > 0 ? t.join(",") : void 0, n = im(e, r);
7504
- return await z(n);
7507
+ return await W(n);
7505
7508
  }
7506
- async function Bb(e) {
7509
+ async function Wb(e) {
7507
7510
  const t = cm(e);
7508
- return await z(t);
7511
+ return await W(t);
7509
7512
  }
7510
- const Wb = [
7513
+ async function Gb(e, t) {
7514
+ const r = um(e);
7515
+ return await Ve(r, t);
7516
+ }
7517
+ const Kb = [
7511
7518
  "preliminary",
7512
7519
  "final",
7513
7520
  "amended",
7514
7521
  "corrected",
7515
7522
  "appended"
7516
- ], zb = [
7523
+ ], Yb = [
7517
7524
  "registered",
7518
7525
  "unknown",
7519
7526
  "partial"
7520
- ], um = "All Orderables", lm = "/openmrs/ws/rest/v1/ordertype?v=custom:(uuid,display,conceptClasses:(uuid,name))", dm = "LabSet", fm = "http://fhir.bahmni.org/ext/ValueSet/concept-class", Gb = ["orderTypes"], pm = async () => await yh(um), Wn = async () => await z(lm), hm = (e) => {
7527
+ ], lm = "All Orderables", dm = "/openmrs/ws/rest/v1/ordertype?v=custom:(uuid,display,conceptClasses:(uuid,name))", fm = "LabSet", pm = "http://fhir.bahmni.org/ext/ValueSet/concept-class", Jb = ["orderTypes"], hm = async () => await yh(lm), zn = async () => await W(dm), mm = (e) => {
7521
7528
  let t = e.display ?? "Unknown investigation";
7522
- return li(e) === dm && (t += ` (${ie.t("INVESTIGATION_PANEL")})`), t;
7523
- }, mm = (e) => {
7529
+ return li(e) === fm && (t += ` (${ie.t("INVESTIGATION_PANEL")})`), t;
7530
+ }, gm = (e) => {
7524
7531
  const t = /* @__PURE__ */ new Map();
7525
7532
  return e.results.forEach((r) => {
7526
7533
  r.conceptClasses.forEach((n) => {
@@ -7529,10 +7536,10 @@ const Wb = [
7529
7536
  }), t;
7530
7537
  }, li = (e) => {
7531
7538
  const t = e.extension?.find(
7532
- (r) => r.url === fm
7539
+ (r) => r.url === pm
7533
7540
  );
7534
7541
  return t ? t.valueString ?? "" : "";
7535
- }, gm = (e, t) => {
7542
+ }, ym = (e, t) => {
7536
7543
  const r = [];
7537
7544
  return !e.expansion?.contains || e.expansion.contains.length === 0 || t.size === 0 || e.expansion.contains.forEach((n) => {
7538
7545
  n.contains?.forEach((s) => {
@@ -7542,19 +7549,19 @@ const Wb = [
7542
7549
  return;
7543
7550
  r.filter((l) => l.code === a.code && l.categoryCode === i.uuid).length > 0 || r.push({
7544
7551
  code: a.code ?? "",
7545
- display: hm(a),
7552
+ display: mm(a),
7546
7553
  category: i.display,
7547
7554
  categoryCode: i.uuid
7548
7555
  });
7549
7556
  });
7550
7557
  });
7551
7558
  }), r;
7552
- }, Kb = async () => {
7553
- const e = await pm(), t = await Wn();
7554
- return gm(e, mm(t));
7555
- }, Yb = async (e) => e ? (await Wn()).results.find(
7559
+ }, Xb = async () => {
7560
+ const e = await hm(), t = await zn();
7561
+ return ym(e, gm(t));
7562
+ }, Qb = async (e) => e ? (await zn()).results.find(
7556
7563
  (n) => n.display.toLowerCase() === e.toLowerCase()
7557
- )?.uuid : void 0, Jb = async () => (await Wn()).results.map((t) => t.display), Xb = async (e, t, r) => {
7564
+ )?.uuid : void 0, Zb = async () => (await zn()).results.map((t) => t.display), ew = async (e, t, r) => {
7558
7565
  const n = [];
7559
7566
  for (const s of e) {
7560
7567
  const a = s.uuid;
@@ -7574,10 +7581,10 @@ const Wb = [
7574
7581
  }
7575
7582
  return n;
7576
7583
  };
7577
- function ym(e) {
7584
+ function vm(e) {
7578
7585
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
7579
7586
  }
7580
- var xt = { exports: {} }, ln = {}, ke = {}, He = {}, dn = {}, fn = {}, pn = {}, Ys;
7587
+ var xt = { exports: {} }, ln = {}, ke = {}, Be = {}, dn = {}, fn = {}, pn = {}, Ys;
7581
7588
  function Dr() {
7582
7589
  return Ys || (Ys = 1, (function(e) {
7583
7590
  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;
@@ -7885,7 +7892,7 @@ function Q() {
7885
7892
  }
7886
7893
  optimizeNames(b, T) {
7887
7894
  if (b[this.name.str])
7888
- return this.rhs && (this.rhs = W(this.rhs, b, T)), this;
7895
+ return this.rhs && (this.rhs = z(this.rhs, b, T)), this;
7889
7896
  }
7890
7897
  get names() {
7891
7898
  return this.rhs instanceof t._CodeOrName ? this.rhs.names : {};
@@ -7900,7 +7907,7 @@ function Q() {
7900
7907
  }
7901
7908
  optimizeNames(b, T) {
7902
7909
  if (!(this.lhs instanceof t.Name && !b[this.lhs.str] && !this.sideEffects))
7903
- return this.rhs = W(this.rhs, b, T), this;
7910
+ return this.rhs = z(this.rhs, b, T), this;
7904
7911
  }
7905
7912
  get names() {
7906
7913
  const b = this.lhs instanceof t.Name ? {} : { ...this.lhs.names };
@@ -7953,7 +7960,7 @@ function Q() {
7953
7960
  return `${this.code}` ? this : void 0;
7954
7961
  }
7955
7962
  optimizeNames(b, T) {
7956
- return this.code = W(this.code, b, T), this;
7963
+ return this.code = z(this.code, b, T), this;
7957
7964
  }
7958
7965
  get names() {
7959
7966
  return this.code instanceof t._CodeOrName ? this.code.names : {};
@@ -8024,7 +8031,7 @@ function Q() {
8024
8031
  optimizeNames(b, T) {
8025
8032
  var D;
8026
8033
  if (this.else = (D = this.else) === null || D === void 0 ? void 0 : D.optimizeNames(b, T), !!(super.optimizeNames(b, T) || this.else))
8027
- return this.condition = W(this.condition, b, T), this;
8034
+ return this.condition = z(this.condition, b, T), this;
8028
8035
  }
8029
8036
  get names() {
8030
8037
  const b = super.names;
@@ -8044,7 +8051,7 @@ function Q() {
8044
8051
  }
8045
8052
  optimizeNames(b, T) {
8046
8053
  if (super.optimizeNames(b, T))
8047
- return this.iteration = W(this.iteration, b, T), this;
8054
+ return this.iteration = z(this.iteration, b, T), this;
8048
8055
  }
8049
8056
  get names() {
8050
8057
  return j(super.names, this.iteration.names);
@@ -8072,7 +8079,7 @@ function Q() {
8072
8079
  }
8073
8080
  optimizeNames(b, T) {
8074
8081
  if (super.optimizeNames(b, T))
8075
- return this.iterable = W(this.iterable, b, T), this;
8082
+ return this.iterable = z(this.iterable, b, T), this;
8076
8083
  }
8077
8084
  get names() {
8078
8085
  return j(super.names, this.iterable.names);
@@ -8120,13 +8127,13 @@ function Q() {
8120
8127
  }
8121
8128
  }
8122
8129
  k.kind = "catch";
8123
- class U extends v {
8130
+ class q extends v {
8124
8131
  render(b) {
8125
8132
  return "finally" + super.render(b);
8126
8133
  }
8127
8134
  }
8128
- U.kind = "finally";
8129
- class q {
8135
+ q.kind = "finally";
8136
+ class U {
8130
8137
  constructor(b, T = {}) {
8131
8138
  this._values = {}, this._blockStarts = [], this._constants = {}, this.opts = { ...T, _n: T.lines ? `
8132
8139
  ` : "" }, this._extScope = b, this._scope = new r.Scope({ parent: b }), this._nodes = [new g()];
@@ -8274,7 +8281,7 @@ function Q() {
8274
8281
  const B = this.name("e");
8275
8282
  this._currNode = F.catch = new k(B), T(B);
8276
8283
  }
8277
- return D && (this._currNode = F.finally = new U(), this.code(D)), this._endBlockNode(k, U);
8284
+ return D && (this._currNode = F.finally = new q(), this.code(D)), this._endBlockNode(k, q);
8278
8285
  }
8279
8286
  // `throw` statement
8280
8287
  throw(b) {
@@ -8336,7 +8343,7 @@ function Q() {
8336
8343
  T[T.length - 1] = b;
8337
8344
  }
8338
8345
  }
8339
- e.CodeGen = q;
8346
+ e.CodeGen = U;
8340
8347
  function j(N, b) {
8341
8348
  for (const T in b)
8342
8349
  N[T] = (N[T] || 0) + (b[T] || 0);
@@ -8345,7 +8352,7 @@ function Q() {
8345
8352
  function V(N, b) {
8346
8353
  return b instanceof t._CodeOrName ? j(N, b.names) : N;
8347
8354
  }
8348
- function W(N, b, T) {
8355
+ function z(N, b, T) {
8349
8356
  if (N instanceof t.Name)
8350
8357
  return D(N);
8351
8358
  if (!F(N))
@@ -8406,8 +8413,8 @@ function te() {
8406
8413
  if (!R.strictSchema || typeof E == "boolean")
8407
8414
  return;
8408
8415
  const k = P.RULES.keywords;
8409
- for (const U in E)
8410
- k[U] || w(_, `unknown keyword: "${U}"`);
8416
+ for (const q in E)
8417
+ k[q] || w(_, `unknown keyword: "${q}"`);
8411
8418
  }
8412
8419
  Y.checkUnknownRules = s;
8413
8420
  function a(_, E) {
@@ -8463,8 +8470,8 @@ function te() {
8463
8470
  }
8464
8471
  Y.eachItem = y;
8465
8472
  function S({ mergeNames: _, mergeToName: E, mergeValues: R, resultToName: P }) {
8466
- return (k, U, q, j) => {
8467
- const V = q === void 0 ? U : q instanceof e.Name ? (U instanceof e.Name ? _(k, U, q) : E(k, U, q), q) : U instanceof e.Name ? (E(k, q, U), U) : R(U, q);
8473
+ return (k, q, U, j) => {
8474
+ const V = U === void 0 ? q : U instanceof e.Name ? (q instanceof e.Name ? _(k, q, U) : E(k, q, U), U) : q instanceof e.Name ? (E(k, U, q), q) : R(q, U);
8468
8475
  return j === e.Name && !(V instanceof e.Name) ? P(k, V) : V;
8469
8476
  };
8470
8477
  }
@@ -8526,10 +8533,10 @@ function te() {
8526
8533
  }
8527
8534
  return Y.checkStrictMode = w, Y;
8528
8535
  }
8529
- var qt = {}, ea;
8530
- function Ve() {
8531
- if (ea) return qt;
8532
- ea = 1, Object.defineProperty(qt, "__esModule", { value: !0 });
8536
+ var Ut = {}, ea;
8537
+ function He() {
8538
+ if (ea) return Ut;
8539
+ ea = 1, Object.defineProperty(Ut, "__esModule", { value: !0 });
8533
8540
  const e = Q(), t = {
8534
8541
  // validation function arguments
8535
8542
  data: new e.Name("data"),
@@ -8559,13 +8566,13 @@ function Ve() {
8559
8566
  jsonLen: new e.Name("jsonLen"),
8560
8567
  jsonPart: new e.Name("jsonPart")
8561
8568
  };
8562
- return qt.default = t, qt;
8569
+ return Ut.default = t, Ut;
8563
8570
  }
8564
8571
  var ta;
8565
8572
  function Hr() {
8566
8573
  return ta || (ta = 1, (function(e) {
8567
8574
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
8568
- const t = Q(), r = te(), n = Ve();
8575
+ const t = Q(), r = te(), n = He();
8569
8576
  e.keywordError = {
8570
8577
  message: ({ keyword: f }) => (0, t.str)`must pass "${f}" keyword validation`
8571
8578
  }, e.keyword$DataError = {
@@ -8632,28 +8639,28 @@ function Hr() {
8632
8639
  return u && (w = (0, t.str)`${w}${(0, r.getErrorPath)(u, r.Type.Str)}`), [d.schemaPath, w];
8633
8640
  }
8634
8641
  function g(f, { params: p, message: u }, h) {
8635
- const { keyword: w, data: _, schemaValue: E, it: R } = f, { opts: P, propertyName: k, topSchemaRef: U, schemaPath: q } = R;
8636
- h.push([d.keyword, w], [d.params, typeof p == "function" ? p(f) : p || (0, t._)`{}`]), P.messages && h.push([d.message, typeof u == "function" ? u(f) : u]), P.verbose && h.push([d.schema, E], [d.parentSchema, (0, t._)`${U}${q}`], [n.default.data, _]), k && h.push([d.propertyName, k]);
8642
+ const { keyword: w, data: _, schemaValue: E, it: R } = f, { opts: P, propertyName: k, topSchemaRef: q, schemaPath: U } = R;
8643
+ h.push([d.keyword, w], [d.params, typeof p == "function" ? p(f) : p || (0, t._)`{}`]), P.messages && h.push([d.message, typeof u == "function" ? u(f) : u]), P.verbose && h.push([d.schema, E], [d.parentSchema, (0, t._)`${q}${U}`], [n.default.data, _]), k && h.push([d.propertyName, k]);
8637
8644
  }
8638
8645
  })(dn)), dn;
8639
8646
  }
8640
8647
  var ra;
8641
- function vm() {
8642
- if (ra) return He;
8643
- ra = 1, Object.defineProperty(He, "__esModule", { value: !0 }), He.boolOrEmptySchema = He.topBoolOrEmptySchema = void 0;
8644
- const e = Hr(), t = Q(), r = Ve(), n = {
8648
+ function bm() {
8649
+ if (ra) return Be;
8650
+ ra = 1, Object.defineProperty(Be, "__esModule", { value: !0 }), Be.boolOrEmptySchema = Be.topBoolOrEmptySchema = void 0;
8651
+ const e = Hr(), t = Q(), r = He(), n = {
8645
8652
  message: "boolean schema is false"
8646
8653
  };
8647
8654
  function s(i) {
8648
8655
  const { gen: c, schema: l, validateName: d } = i;
8649
8656
  l === !1 ? o(i, !1) : typeof l == "object" && l.$async === !0 ? c.return(r.default.data) : (c.assign((0, t._)`${d}.errors`, null), c.return(!0));
8650
8657
  }
8651
- He.topBoolOrEmptySchema = s;
8658
+ Be.topBoolOrEmptySchema = s;
8652
8659
  function a(i, c) {
8653
8660
  const { gen: l, schema: d } = i;
8654
8661
  d === !1 ? (l.var(c, !1), o(i)) : l.var(c, !0);
8655
8662
  }
8656
- He.boolOrEmptySchema = a;
8663
+ Be.boolOrEmptySchema = a;
8657
8664
  function o(i, c) {
8658
8665
  const { gen: l, data: d } = i, m = {
8659
8666
  gen: l,
@@ -8667,17 +8674,17 @@ function vm() {
8667
8674
  };
8668
8675
  (0, e.reportError)(m, n, void 0, c);
8669
8676
  }
8670
- return He;
8677
+ return Be;
8671
8678
  }
8672
- var ye = {}, Be = {}, na;
8679
+ var ye = {}, ze = {}, na;
8673
8680
  function di() {
8674
- if (na) return Be;
8675
- na = 1, Object.defineProperty(Be, "__esModule", { value: !0 }), Be.getRules = Be.isJSONType = void 0;
8681
+ if (na) return ze;
8682
+ na = 1, Object.defineProperty(ze, "__esModule", { value: !0 }), ze.getRules = ze.isJSONType = void 0;
8676
8683
  const e = ["string", "number", "integer", "boolean", "null", "object", "array"], t = new Set(e);
8677
8684
  function r(s) {
8678
8685
  return typeof s == "string" && t.has(s);
8679
8686
  }
8680
- Be.isJSONType = r;
8687
+ ze.isJSONType = r;
8681
8688
  function n() {
8682
8689
  const s = {
8683
8690
  number: { type: "number", rules: [] },
@@ -8693,7 +8700,7 @@ function di() {
8693
8700
  keywords: {}
8694
8701
  };
8695
8702
  }
8696
- return Be.getRules = n, Be;
8703
+ return ze.getRules = n, ze;
8697
8704
  }
8698
8705
  var Me = {}, sa;
8699
8706
  function fi() {
@@ -8761,13 +8768,13 @@ function Cr() {
8761
8768
  function m(u, h, w) {
8762
8769
  const { gen: _, data: E, opts: R } = u, P = _.let("dataType", (0, n._)`typeof ${E}`), k = _.let("coerced", (0, n._)`undefined`);
8763
8770
  R.coerceTypes === "array" && _.if((0, n._)`${P} == 'object' && Array.isArray(${E}) && ${E}.length == 1`, () => _.assign(E, (0, n._)`${E}[0]`).assign(P, (0, n._)`typeof ${E}`).if(v(h, E, R.strictNumbers), () => _.assign(k, E))), _.if((0, n._)`${k} !== undefined`);
8764
- for (const q of w)
8765
- (l.has(q) || q === "array" && R.coerceTypes === "array") && U(q);
8771
+ for (const U of w)
8772
+ (l.has(U) || U === "array" && R.coerceTypes === "array") && q(U);
8766
8773
  _.else(), f(u), _.endIf(), _.if((0, n._)`${k} !== undefined`, () => {
8767
8774
  _.assign(E, k), y(u, k);
8768
8775
  });
8769
- function U(q) {
8770
- switch (q) {
8776
+ function q(U) {
8777
+ switch (U) {
8771
8778
  case "string":
8772
8779
  _.elseIf((0, n._)`${P} == "number" || ${P} == "boolean"`).assign(k, (0, n._)`"" + ${E}`).elseIf((0, n._)`${E} === null`).assign(k, (0, n._)`""`);
8773
8780
  return;
@@ -8863,7 +8870,7 @@ function Cr() {
8863
8870
  return ye;
8864
8871
  }
8865
8872
  var vt = {}, oa;
8866
- function bm() {
8873
+ function wm() {
8867
8874
  if (oa) return vt;
8868
8875
  oa = 1, Object.defineProperty(vt, "__esModule", { value: !0 }), vt.assignDefaults = void 0;
8869
8876
  const e = Q(), t = te();
@@ -8893,7 +8900,7 @@ var Ie = {}, ae = {}, ia;
8893
8900
  function Ce() {
8894
8901
  if (ia) return ae;
8895
8902
  ia = 1, Object.defineProperty(ae, "__esModule", { value: !0 }), ae.validateUnion = ae.validateArray = ae.usePattern = ae.callValidateCode = ae.schemaProperties = ae.allSchemaProperties = ae.noPropertyInData = ae.propertyInData = ae.isOwnProperty = ae.hasPropFunc = ae.reportMissingProp = ae.checkMissingProp = ae.checkReportMissingProp = void 0;
8896
- const e = Q(), t = te(), r = Ve(), n = te();
8903
+ const e = Q(), t = te(), r = He(), n = te();
8897
8904
  function s(u, h) {
8898
8905
  const { gen: w, data: _, it: E } = u;
8899
8906
  w.if(d(w, _, h, E.opts.ownProperties), () => {
@@ -8939,16 +8946,16 @@ function Ce() {
8939
8946
  return m(h).filter((w) => !(0, t.alwaysValidSchema)(u, h[w]));
8940
8947
  }
8941
8948
  ae.schemaProperties = y;
8942
- function S({ schemaCode: u, data: h, it: { gen: w, topSchemaRef: _, schemaPath: E, errorPath: R }, it: P }, k, U, q) {
8943
- const j = q ? (0, e._)`${u}, ${h}, ${_}${E}` : h, V = [
8949
+ function S({ schemaCode: u, data: h, it: { gen: w, topSchemaRef: _, schemaPath: E, errorPath: R }, it: P }, k, q, U) {
8950
+ const j = U ? (0, e._)`${u}, ${h}, ${_}${E}` : h, V = [
8944
8951
  [r.default.instancePath, (0, e.strConcat)(r.default.instancePath, R)],
8945
8952
  [r.default.parentData, P.parentData],
8946
8953
  [r.default.parentDataProperty, P.parentDataProperty],
8947
8954
  [r.default.rootData, r.default.rootData]
8948
8955
  ];
8949
8956
  P.opts.dynamicRef && V.push([r.default.dynamicAnchors, r.default.dynamicAnchors]);
8950
- const W = (0, e._)`${j}, ${w.object(...V)}`;
8951
- return U !== e.nil ? (0, e._)`${k}.call(${U}, ${W})` : (0, e._)`${k}(${W})`;
8957
+ const z = (0, e._)`${j}, ${w.object(...V)}`;
8958
+ return q !== e.nil ? (0, e._)`${k}.call(${q}, ${z})` : (0, e._)`${k}(${z})`;
8952
8959
  }
8953
8960
  ae.callValidateCode = S;
8954
8961
  const v = (0, e._)`new RegExp`;
@@ -8969,11 +8976,11 @@ function Ce() {
8969
8976
  }
8970
8977
  return h.var(R, !0), P(() => h.break()), R;
8971
8978
  function P(k) {
8972
- const U = h.const("len", (0, e._)`${w}.length`);
8973
- h.forRange("i", 0, U, (q) => {
8979
+ const q = h.const("len", (0, e._)`${w}.length`);
8980
+ h.forRange("i", 0, q, (U) => {
8974
8981
  u.subschema({
8975
8982
  keyword: _,
8976
- dataProp: q,
8983
+ dataProp: U,
8977
8984
  dataPropType: t.Type.Num
8978
8985
  }, R), h.if((0, e.not)(R), k);
8979
8986
  });
@@ -8984,13 +8991,13 @@ function Ce() {
8984
8991
  const { gen: h, schema: w, keyword: _, it: E } = u;
8985
8992
  if (!Array.isArray(w))
8986
8993
  throw new Error("ajv implementation error");
8987
- if (w.some((U) => (0, t.alwaysValidSchema)(E, U)) && !E.opts.unevaluated)
8994
+ if (w.some((q) => (0, t.alwaysValidSchema)(E, q)) && !E.opts.unevaluated)
8988
8995
  return;
8989
8996
  const P = h.let("valid", !1), k = h.name("_valid");
8990
- h.block(() => w.forEach((U, q) => {
8997
+ h.block(() => w.forEach((q, U) => {
8991
8998
  const j = u.subschema({
8992
8999
  keyword: _,
8993
- schemaProp: q,
9000
+ schemaProp: U,
8994
9001
  compositeRule: !0
8995
9002
  }, k);
8996
9003
  h.assign(P, (0, e._)`${P} || ${k}`), u.mergeValidEvaluated(j, k) || h.if((0, e.not)(P));
@@ -8999,10 +9006,10 @@ function Ce() {
8999
9006
  return ae.validateUnion = p, ae;
9000
9007
  }
9001
9008
  var ca;
9002
- function wm() {
9009
+ function Em() {
9003
9010
  if (ca) return Ie;
9004
9011
  ca = 1, Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.validateKeywordUsage = Ie.validSchemaType = Ie.funcKeywordCode = Ie.macroKeywordCode = void 0;
9005
- const e = Q(), t = Ve(), r = Ce(), n = Hr();
9012
+ const e = Q(), t = He(), r = Ce(), n = Hr();
9006
9013
  function s(y, S) {
9007
9014
  const { gen: v, keyword: g, schema: f, parentSchema: p, it: u } = y, h = S.macro.call(u.self, f, p, u), w = l(v, g, h);
9008
9015
  u.opts.validateSchema !== !1 && u.self.validateSchema(h, !0);
@@ -9024,27 +9031,27 @@ function wm() {
9024
9031
  y.block$data(R, P), y.ok((v = S.valid) !== null && v !== void 0 ? v : R);
9025
9032
  function P() {
9026
9033
  if (S.errors === !1)
9027
- q(), S.modifying && o(y), j(() => y.error());
9034
+ U(), S.modifying && o(y), j(() => y.error());
9028
9035
  else {
9029
- const V = S.async ? k() : U();
9036
+ const V = S.async ? k() : q();
9030
9037
  S.modifying && o(y), j(() => i(y, V));
9031
9038
  }
9032
9039
  }
9033
9040
  function k() {
9034
9041
  const V = g.let("ruleErrs", null);
9035
- return g.try(() => q((0, e._)`await `), (W) => g.assign(R, !1).if((0, e._)`${W} instanceof ${w.ValidationError}`, () => g.assign(V, (0, e._)`${W}.errors`), () => g.throw(W))), V;
9042
+ return g.try(() => U((0, e._)`await `), (z) => g.assign(R, !1).if((0, e._)`${z} instanceof ${w.ValidationError}`, () => g.assign(V, (0, e._)`${z}.errors`), () => g.throw(z))), V;
9036
9043
  }
9037
- function U() {
9044
+ function q() {
9038
9045
  const V = (0, e._)`${E}.errors`;
9039
- return g.assign(V, null), q(e.nil), V;
9046
+ return g.assign(V, null), U(e.nil), V;
9040
9047
  }
9041
- function q(V = S.async ? (0, e._)`await ` : e.nil) {
9042
- const W = w.opts.passContext ? t.default.this : t.default.self, re = !("compile" in S && !h || S.schema === !1);
9043
- g.assign(R, (0, e._)`${V}${(0, r.callValidateCode)(y, E, W, re)}`, S.modifying);
9048
+ function U(V = S.async ? (0, e._)`await ` : e.nil) {
9049
+ const z = w.opts.passContext ? t.default.this : t.default.self, re = !("compile" in S && !h || S.schema === !1);
9050
+ g.assign(R, (0, e._)`${V}${(0, r.callValidateCode)(y, E, z, re)}`, S.modifying);
9044
9051
  }
9045
9052
  function j(V) {
9046
- var W;
9047
- g.if((0, e.not)((W = S.valid) !== null && W !== void 0 ? W : R), V);
9053
+ var z;
9054
+ g.if((0, e.not)((z = S.valid) !== null && z !== void 0 ? z : R), V);
9048
9055
  }
9049
9056
  }
9050
9057
  Ie.funcKeywordCode = a;
@@ -9088,7 +9095,7 @@ function wm() {
9088
9095
  return Ie.validateKeywordUsage = m, Ie;
9089
9096
  }
9090
9097
  var xe = {}, ua;
9091
- function Em() {
9098
+ function _m() {
9092
9099
  if (ua) return xe;
9093
9100
  ua = 1, Object.defineProperty(xe, "__esModule", { value: !0 }), xe.extendSubschemaMode = xe.extendSubschemaData = xe.getSubschema = void 0;
9094
9101
  const e = Q(), t = te();
@@ -9172,7 +9179,7 @@ function pi() {
9172
9179
  }), mn;
9173
9180
  }
9174
9181
  var gn = { exports: {} }, da;
9175
- function _m() {
9182
+ function Sm() {
9176
9183
  if (da) return gn.exports;
9177
9184
  da = 1;
9178
9185
  var e = gn.exports = function(n, s, a) {
@@ -9250,7 +9257,7 @@ var fa;
9250
9257
  function Br() {
9251
9258
  if (fa) return be;
9252
9259
  fa = 1, Object.defineProperty(be, "__esModule", { value: !0 }), be.getSchemaRefs = be.resolveUrl = be.normalizeId = be._getFullPath = be.getFullPath = be.inlineRef = void 0;
9253
- const e = te(), t = pi(), r = _m(), n = /* @__PURE__ */ new Set([
9260
+ const e = te(), t = pi(), r = Sm(), n = /* @__PURE__ */ new Set([
9254
9261
  "type",
9255
9262
  "format",
9256
9263
  "pattern",
@@ -9323,19 +9330,19 @@ function Br() {
9323
9330
  if (typeof g == "boolean")
9324
9331
  return {};
9325
9332
  const { schemaId: p, uriResolver: u } = this.opts, h = m(g[p] || f), w = { "": h }, _ = c(u, h, !1), E = {}, R = /* @__PURE__ */ new Set();
9326
- return r(g, { allKeys: !0 }, (U, q, j, V) => {
9333
+ return r(g, { allKeys: !0 }, (q, U, j, V) => {
9327
9334
  if (V === void 0)
9328
9335
  return;
9329
- const W = _ + q;
9336
+ const z = _ + U;
9330
9337
  let re = w[V];
9331
- typeof U[p] == "string" && (re = ne.call(this, U[p])), he.call(this, U.$anchor), he.call(this, U.$dynamicAnchor), w[q] = re;
9338
+ typeof q[p] == "string" && (re = ne.call(this, q[p])), he.call(this, q.$anchor), he.call(this, q.$dynamicAnchor), w[U] = re;
9332
9339
  function ne(J) {
9333
9340
  const ce = this.opts.uriResolver.resolve;
9334
9341
  if (J = m(re ? ce(re, J) : J), R.has(J))
9335
9342
  throw k(J);
9336
9343
  R.add(J);
9337
9344
  let M = this.refs[J];
9338
- return typeof M == "string" && (M = this.refs[M]), typeof M == "object" ? P(U, M.schema, J) : J !== m(W) && (J[0] === "#" ? (P(U, E[J], J), E[J] = U) : this.refs[J] = W), J;
9345
+ return typeof M == "string" && (M = this.refs[M]), typeof M == "object" ? P(q, M.schema, J) : J !== m(z) && (J[0] === "#" ? (P(q, E[J], J), E[J] = q) : this.refs[J] = z), J;
9339
9346
  }
9340
9347
  function he(J) {
9341
9348
  if (typeof J == "string") {
@@ -9345,21 +9352,21 @@ function Br() {
9345
9352
  }
9346
9353
  }
9347
9354
  }), E;
9348
- function P(U, q, j) {
9349
- if (q !== void 0 && !t(U, q))
9355
+ function P(q, U, j) {
9356
+ if (U !== void 0 && !t(q, U))
9350
9357
  throw k(j);
9351
9358
  }
9352
- function k(U) {
9353
- return new Error(`reference "${U}" resolves to more than one schema`);
9359
+ function k(q) {
9360
+ return new Error(`reference "${q}" resolves to more than one schema`);
9354
9361
  }
9355
9362
  }
9356
9363
  return be.getSchemaRefs = v, be;
9357
9364
  }
9358
9365
  var pa;
9359
- function Wr() {
9366
+ function zr() {
9360
9367
  if (pa) return ke;
9361
9368
  pa = 1, Object.defineProperty(ke, "__esModule", { value: !0 }), ke.getData = ke.KeywordCxt = ke.validateFunctionCode = void 0;
9362
- const e = vm(), t = Cr(), r = fi(), n = Cr(), s = bm(), a = wm(), o = Em(), i = Q(), c = Ve(), l = Br(), d = te(), m = Hr();
9369
+ const e = bm(), t = Cr(), r = fi(), n = Cr(), s = wm(), a = Em(), o = _m(), i = Q(), c = He(), l = Br(), d = te(), m = Hr();
9363
9370
  function y(A) {
9364
9371
  if (_(A) && (R(A), w(A))) {
9365
9372
  f(A);
@@ -9386,7 +9393,7 @@ function Wr() {
9386
9393
  function f(A) {
9387
9394
  const { schema: $, opts: L, gen: x } = A;
9388
9395
  S(A, () => {
9389
- L.$comment && $.$comment && V(A), U(A), x.let(c.default.vErrors, null), x.let(c.default.errors, 0), L.unevaluated && p(A), P(A), W(A);
9396
+ L.$comment && $.$comment && V(A), q(A), x.let(c.default.vErrors, null), x.let(c.default.errors, 0), L.unevaluated && p(A), P(A), z(A);
9390
9397
  });
9391
9398
  }
9392
9399
  function p(A) {
@@ -9417,7 +9424,7 @@ function Wr() {
9417
9424
  }
9418
9425
  function E(A, $) {
9419
9426
  const { schema: L, gen: x, opts: H } = A;
9420
- H.$comment && L.$comment && V(A), q(A), j(A);
9427
+ H.$comment && L.$comment && V(A), U(A), j(A);
9421
9428
  const X = x.const("_errs", c.default.errors);
9422
9429
  P(A, X), x.var($, (0, i._)`${X} === ${c.default.errors}`);
9423
9430
  }
@@ -9434,11 +9441,11 @@ function Wr() {
9434
9441
  const { schema: $, errSchemaPath: L, opts: x, self: H } = A;
9435
9442
  $.$ref && x.ignoreKeywordsWithRef && (0, d.schemaHasRulesButRef)($, H.RULES) && H.logger.warn(`$ref: keywords ignored in schema at path "${L}"`);
9436
9443
  }
9437
- function U(A) {
9444
+ function q(A) {
9438
9445
  const { schema: $, opts: L } = A;
9439
9446
  $.default !== void 0 && L.useDefaults && L.strictSchema && (0, d.checkStrictMode)(A, "default is ignored in the schema root");
9440
9447
  }
9441
- function q(A) {
9448
+ function U(A) {
9442
9449
  const $ = A.schema[A.opts.schemaId];
9443
9450
  $ && (A.baseId = (0, l.resolveUrl)(A.opts.uriResolver, A.baseId, $));
9444
9451
  }
@@ -9455,7 +9462,7 @@ function Wr() {
9455
9462
  A.code((0, i._)`${c.default.self}.opts.$comment(${X}, ${me}, ${Ne}.schema)`);
9456
9463
  }
9457
9464
  }
9458
- function W(A) {
9465
+ function z(A) {
9459
9466
  const { gen: $, schemaEnv: L, validateName: x, ValidationError: H, opts: X } = A;
9460
9467
  L.$async ? $.if((0, i._)`${c.default.errors} === 0`, () => $.return(c.default.data), () => $.throw((0, i._)`new ${H}(${c.default.vErrors})`)) : ($.assign((0, i._)`${x}.errors`, c.default.vErrors), X.unevaluated && re(A), $.return((0, i._)`${c.default.errors} === 0`));
9461
9468
  }
@@ -9668,19 +9675,19 @@ function Wr() {
9668
9675
  }
9669
9676
  return ke.getData = Z, ke;
9670
9677
  }
9671
- var Ut = {}, ha;
9672
- function zn() {
9673
- if (ha) return Ut;
9674
- ha = 1, Object.defineProperty(Ut, "__esModule", { value: !0 });
9678
+ var qt = {}, ha;
9679
+ function Wn() {
9680
+ if (ha) return qt;
9681
+ ha = 1, Object.defineProperty(qt, "__esModule", { value: !0 });
9675
9682
  class e extends Error {
9676
9683
  constructor(r) {
9677
9684
  super("validation failed"), this.errors = r, this.ajv = this.validation = !0;
9678
9685
  }
9679
9686
  }
9680
- return Ut.default = e, Ut;
9687
+ return qt.default = e, qt;
9681
9688
  }
9682
9689
  var jt = {}, ma;
9683
- function zr() {
9690
+ function Wr() {
9684
9691
  if (ma) return jt;
9685
9692
  ma = 1, Object.defineProperty(jt, "__esModule", { value: !0 });
9686
9693
  const e = Br();
@@ -9695,7 +9702,7 @@ var Te = {}, ga;
9695
9702
  function Gn() {
9696
9703
  if (ga) return Te;
9697
9704
  ga = 1, Object.defineProperty(Te, "__esModule", { value: !0 }), Te.resolveSchema = Te.getCompilingSchema = Te.resolveRef = Te.compileSchema = Te.SchemaEnv = void 0;
9698
- const e = Q(), t = zn(), r = Ve(), n = Br(), s = te(), a = Wr();
9705
+ const e = Q(), t = Wn(), r = He(), n = Br(), s = te(), a = zr();
9699
9706
  class o {
9700
9707
  constructor(p) {
9701
9708
  var u;
@@ -9742,24 +9749,24 @@ function Gn() {
9742
9749
  opts: this.opts,
9743
9750
  self: this
9744
9751
  };
9745
- let U;
9752
+ let q;
9746
9753
  try {
9747
9754
  this._compilations.add(f), (0, a.validateFunctionCode)(k), E.optimize(this.opts.code.optimize);
9748
- const q = E.toString();
9749
- U = `${E.scopeRefs(r.default.scope)}return ${q}`, this.opts.code.process && (U = this.opts.code.process(U, f));
9750
- const V = new Function(`${r.default.self}`, `${r.default.scope}`, U)(this, this.scope.get());
9751
- if (this.scope.value(P, { ref: V }), V.errors = null, V.schema = f.schema, V.schemaEnv = f, f.$async && (V.$async = !0), this.opts.code.source === !0 && (V.source = { validateName: P, validateCode: q, scopeValues: E._values }), this.opts.unevaluated) {
9752
- const { props: W, items: re } = k;
9755
+ const U = E.toString();
9756
+ q = `${E.scopeRefs(r.default.scope)}return ${U}`, this.opts.code.process && (q = this.opts.code.process(q, f));
9757
+ const V = new Function(`${r.default.self}`, `${r.default.scope}`, q)(this, this.scope.get());
9758
+ if (this.scope.value(P, { ref: V }), V.errors = null, V.schema = f.schema, V.schemaEnv = f, f.$async && (V.$async = !0), this.opts.code.source === !0 && (V.source = { validateName: P, validateCode: U, scopeValues: E._values }), this.opts.unevaluated) {
9759
+ const { props: z, items: re } = k;
9753
9760
  V.evaluated = {
9754
- props: W instanceof e.Name ? void 0 : W,
9761
+ props: z instanceof e.Name ? void 0 : z,
9755
9762
  items: re instanceof e.Name ? void 0 : re,
9756
- dynamicProps: W instanceof e.Name,
9763
+ dynamicProps: z instanceof e.Name,
9757
9764
  dynamicItems: re instanceof e.Name
9758
9765
  }, V.source && (V.source.evaluated = (0, e.stringify)(V.evaluated));
9759
9766
  }
9760
9767
  return f.validate = V, f;
9761
- } catch (q) {
9762
- throw delete f.validate, delete f.validateName, U && this.logger.error("Error compiling schema, function code:", U), q;
9768
+ } catch (U) {
9769
+ throw delete f.validate, delete f.validateName, q && this.logger.error("Error compiling schema, function code:", q), U;
9763
9770
  } finally {
9764
9771
  this._compilations.delete(f);
9765
9772
  }
@@ -9849,16 +9856,16 @@ function Gn() {
9849
9856
  }
9850
9857
  return Te;
9851
9858
  }
9852
- const Sm = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Rm = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Tm = "object", Am = ["$data"], Om = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, Pm = !1, $m = {
9853
- $id: Sm,
9854
- description: Rm,
9855
- type: Tm,
9856
- required: Am,
9857
- properties: Om,
9858
- additionalProperties: Pm
9859
+ const Rm = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Tm = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Am = "object", Om = ["$data"], Pm = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, $m = !1, Nm = {
9860
+ $id: Rm,
9861
+ description: Tm,
9862
+ type: Am,
9863
+ required: Om,
9864
+ properties: Pm,
9865
+ additionalProperties: $m
9859
9866
  };
9860
9867
  var Ft = {}, bt = { exports: {} }, yn, ya;
9861
- function Nm() {
9868
+ function Im() {
9862
9869
  return ya || (ya = 1, yn = {
9863
9870
  HEX: {
9864
9871
  0: 0,
@@ -9887,10 +9894,10 @@ function Nm() {
9887
9894
  }), yn;
9888
9895
  }
9889
9896
  var vn, va;
9890
- function Im() {
9897
+ function Dm() {
9891
9898
  if (va) return vn;
9892
9899
  va = 1;
9893
- const { HEX: e } = Nm(), t = /^(?:(?: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;
9900
+ const { HEX: e } = Im(), t = /^(?:(?: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;
9894
9901
  function r(g) {
9895
9902
  if (i(g, ".") < 3)
9896
9903
  return { host: g, isIPV4: !1 };
@@ -10022,7 +10029,7 @@ function Im() {
10022
10029
  }, vn;
10023
10030
  }
10024
10031
  var bn, ba;
10025
- function Dm() {
10032
+ function Cm() {
10026
10033
  if (ba) return bn;
10027
10034
  ba = 1;
10028
10035
  const e = /^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu, t = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -10114,10 +10121,10 @@ function Dm() {
10114
10121
  return bn = p, bn;
10115
10122
  }
10116
10123
  var wa;
10117
- function Cm() {
10124
+ function Lm() {
10118
10125
  if (wa) return bt.exports;
10119
10126
  wa = 1;
10120
- const { normalizeIPv6: e, normalizeIPv4: t, removeDotSegments: r, recomposeAuthority: n, normalizeComponentEncoding: s } = Im(), a = Dm();
10127
+ const { normalizeIPv6: e, normalizeIPv4: t, removeDotSegments: r, recomposeAuthority: n, normalizeComponentEncoding: s } = Dm(), a = Cm();
10121
10128
  function o(f, p) {
10122
10129
  return typeof f == "string" ? f = d(v(f, p), p) : typeof f == "object" && (f = v(d(f, p), p)), f;
10123
10130
  }
@@ -10213,17 +10220,17 @@ function Cm() {
10213
10220
  return bt.exports = g, bt.exports.default = g, bt.exports.fastUri = g, bt.exports;
10214
10221
  }
10215
10222
  var Ea;
10216
- function Lm() {
10223
+ function km() {
10217
10224
  if (Ea) return Ft;
10218
10225
  Ea = 1, Object.defineProperty(Ft, "__esModule", { value: !0 });
10219
- const e = Cm();
10226
+ const e = Lm();
10220
10227
  return e.code = 'require("ajv/dist/runtime/uri").default', Ft.default = e, Ft;
10221
10228
  }
10222
10229
  var _a;
10223
- function km() {
10230
+ function Mm() {
10224
10231
  return _a || (_a = 1, (function(e) {
10225
10232
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
10226
- var t = Wr();
10233
+ var t = zr();
10227
10234
  Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
10228
10235
  return t.KeywordCxt;
10229
10236
  } });
@@ -10241,7 +10248,7 @@ function km() {
10241
10248
  } }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
10242
10249
  return r.CodeGen;
10243
10250
  } });
10244
- const n = zn(), s = zr(), a = di(), o = Gn(), i = Q(), c = Br(), l = Cr(), d = te(), m = $m, y = Lm(), S = (M, O) => new RegExp(M, O);
10251
+ const n = Wn(), s = Wr(), a = di(), o = Gn(), i = Q(), c = Br(), l = Cr(), d = te(), m = Nm, y = km(), S = (M, O) => new RegExp(M, O);
10245
10252
  S.code = "new RegExp";
10246
10253
  const v = ["removeAdditional", "useDefaults", "coerceTypes"], g = /* @__PURE__ */ new Set([
10247
10254
  "validate",
@@ -10308,7 +10315,7 @@ function km() {
10308
10315
  const { es5: C, lines: N } = this.opts.code;
10309
10316
  this.scope = new i.ValueScope({ scope: {}, prefixes: g, es5: C, lines: N }), this.logger = j(O.logger);
10310
10317
  const b = O.validateFormats;
10311
- O.validateFormats = !1, this.RULES = (0, a.getRules)(), _.call(this, f, O, "NOT SUPPORTED"), _.call(this, p, O, "DEPRECATED", "warn"), this._metaOpts = U.call(this), O.formats && P.call(this), this._addVocabularies(), this._addDefaultMetaSchema(), O.keywords && k.call(this, O.keywords), typeof O.meta == "object" && this.addMetaSchema(O.meta), R.call(this), O.validateFormats = b;
10318
+ O.validateFormats = !1, this.RULES = (0, a.getRules)(), _.call(this, f, O, "NOT SUPPORTED"), _.call(this, p, O, "DEPRECATED", "warn"), this._metaOpts = q.call(this), O.formats && P.call(this), this._addVocabularies(), this._addDefaultMetaSchema(), O.keywords && k.call(this, O.keywords), typeof O.meta == "object" && this.addMetaSchema(O.meta), R.call(this), O.validateFormats = b;
10312
10319
  }
10313
10320
  _addVocabularies() {
10314
10321
  this.addKeyword("$async");
@@ -10469,7 +10476,7 @@ function km() {
10469
10476
  throw new Error("addKeywords: keyword must be string or non-empty array");
10470
10477
  } else
10471
10478
  throw new Error("invalid addKeywords parameters");
10472
- if (W.call(this, N, C), !C)
10479
+ if (z.call(this, N, C), !C)
10473
10480
  return (0, d.eachItem)(N, (T) => re.call(this, T)), this;
10474
10481
  he.call(this, C);
10475
10482
  const b = {
@@ -10597,19 +10604,19 @@ function km() {
10597
10604
  C.keyword || (C.keyword = O), this.addKeyword(C);
10598
10605
  }
10599
10606
  }
10600
- function U() {
10607
+ function q() {
10601
10608
  const M = { ...this.opts };
10602
10609
  for (const O of v)
10603
10610
  delete M[O];
10604
10611
  return M;
10605
10612
  }
10606
- const q = { log() {
10613
+ const U = { log() {
10607
10614
  }, warn() {
10608
10615
  }, error() {
10609
10616
  } };
10610
10617
  function j(M) {
10611
10618
  if (M === !1)
10612
- return q;
10619
+ return U;
10613
10620
  if (M === void 0)
10614
10621
  return console;
10615
10622
  if (M.log && M.warn && M.error)
@@ -10617,7 +10624,7 @@ function km() {
10617
10624
  throw new Error("logger must implement log, warn and error methods");
10618
10625
  }
10619
10626
  const V = /^[a-z_$][a-z0-9_$:-]*$/i;
10620
- function W(M, O) {
10627
+ function z(M, O) {
10621
10628
  const { RULES: C } = this;
10622
10629
  if ((0, d.eachItem)(M, (N) => {
10623
10630
  if (C.keywords[N])
@@ -10663,7 +10670,7 @@ function km() {
10663
10670
  })(ln)), ln;
10664
10671
  }
10665
10672
  var Vt = {}, Ht = {}, Bt = {}, Sa;
10666
- function Mm() {
10673
+ function xm() {
10667
10674
  if (Sa) return Bt;
10668
10675
  Sa = 1, Object.defineProperty(Bt, "__esModule", { value: !0 });
10669
10676
  const e = {
@@ -10675,10 +10682,10 @@ function Mm() {
10675
10682
  return Bt.default = e, Bt;
10676
10683
  }
10677
10684
  var je = {}, Ra;
10678
- function xm() {
10685
+ function Um() {
10679
10686
  if (Ra) return je;
10680
10687
  Ra = 1, Object.defineProperty(je, "__esModule", { value: !0 }), je.callRef = je.getValidate = void 0;
10681
- const e = zr(), t = Ce(), r = Q(), n = Ve(), s = Gn(), a = te(), o = {
10688
+ const e = Wr(), t = Ce(), r = Q(), n = He(), s = Gn(), a = te(), o = {
10682
10689
  keyword: "$ref",
10683
10690
  schemaType: "string",
10684
10691
  code(l) {
@@ -10702,14 +10709,14 @@ function xm() {
10702
10709
  c(l, P, R, R.$async);
10703
10710
  }
10704
10711
  function E(R) {
10705
- const P = d.scopeValue("schema", f.code.source === !0 ? { ref: R, code: (0, r.stringify)(R) } : { ref: R }), k = d.name("valid"), U = l.subschema({
10712
+ const P = d.scopeValue("schema", f.code.source === !0 ? { ref: R, code: (0, r.stringify)(R) } : { ref: R }), k = d.name("valid"), q = l.subschema({
10706
10713
  schema: R,
10707
10714
  dataTypes: [],
10708
10715
  schemaPath: r.nil,
10709
10716
  topSchemaRef: P,
10710
10717
  errSchemaPath: m
10711
10718
  }, k);
10712
- l.mergeEvaluated(U), l.ok(k);
10719
+ l.mergeEvaluated(q), l.ok(k);
10713
10720
  }
10714
10721
  }
10715
10722
  };
@@ -10747,15 +10754,15 @@ function xm() {
10747
10754
  if (k && !k.dynamicProps)
10748
10755
  k.props !== void 0 && (v.props = a.mergeEvaluated.props(S, k.props, v.props));
10749
10756
  else {
10750
- const U = S.var("props", (0, r._)`${R}.evaluated.props`);
10751
- v.props = a.mergeEvaluated.props(S, U, v.props, r.Name);
10757
+ const q = S.var("props", (0, r._)`${R}.evaluated.props`);
10758
+ v.props = a.mergeEvaluated.props(S, q, v.props, r.Name);
10752
10759
  }
10753
10760
  if (v.items !== !0)
10754
10761
  if (k && !k.dynamicItems)
10755
10762
  k.items !== void 0 && (v.items = a.mergeEvaluated.items(S, k.items, v.items));
10756
10763
  else {
10757
- const U = S.var("items", (0, r._)`${R}.evaluated.items`);
10758
- v.items = a.mergeEvaluated.items(S, U, v.items, r.Name);
10764
+ const q = S.var("items", (0, r._)`${R}.evaluated.items`);
10765
+ v.items = a.mergeEvaluated.items(S, q, v.items, r.Name);
10759
10766
  }
10760
10767
  }
10761
10768
  }
@@ -10765,7 +10772,7 @@ var Ta;
10765
10772
  function qm() {
10766
10773
  if (Ta) return Ht;
10767
10774
  Ta = 1, Object.defineProperty(Ht, "__esModule", { value: !0 });
10768
- const e = Mm(), t = xm(), r = [
10775
+ const e = xm(), t = Um(), r = [
10769
10776
  "$schema",
10770
10777
  "$id",
10771
10778
  "$defs",
@@ -10777,10 +10784,10 @@ function qm() {
10777
10784
  ];
10778
10785
  return Ht.default = r, Ht;
10779
10786
  }
10780
- var Wt = {}, zt = {}, Aa;
10781
- function Um() {
10782
- if (Aa) return zt;
10783
- Aa = 1, Object.defineProperty(zt, "__esModule", { value: !0 });
10787
+ var zt = {}, Wt = {}, Aa;
10788
+ function jm() {
10789
+ if (Aa) return Wt;
10790
+ Aa = 1, Object.defineProperty(Wt, "__esModule", { value: !0 });
10784
10791
  const e = Q(), t = e.operators, r = {
10785
10792
  maximum: { okStr: "<=", ok: t.LTE, fail: t.GT },
10786
10793
  minimum: { okStr: ">=", ok: t.GTE, fail: t.LT },
@@ -10800,10 +10807,10 @@ function Um() {
10800
10807
  a.fail$data((0, e._)`${i} ${r[o].fail} ${c} || isNaN(${i})`);
10801
10808
  }
10802
10809
  };
10803
- return zt.default = s, zt;
10810
+ return Wt.default = s, Wt;
10804
10811
  }
10805
10812
  var Gt = {}, Oa;
10806
- function jm() {
10813
+ function Fm() {
10807
10814
  if (Oa) return Gt;
10808
10815
  Oa = 1, Object.defineProperty(Gt, "__esModule", { value: !0 });
10809
10816
  const e = Q(), r = {
@@ -10823,7 +10830,7 @@ function jm() {
10823
10830
  return Gt.default = r, Gt;
10824
10831
  }
10825
10832
  var Kt = {}, Yt = {}, Pa;
10826
- function Fm() {
10833
+ function Vm() {
10827
10834
  if (Pa) return Yt;
10828
10835
  Pa = 1, Object.defineProperty(Yt, "__esModule", { value: !0 });
10829
10836
  function e(t) {
@@ -10836,10 +10843,10 @@ function Fm() {
10836
10843
  return Yt.default = e, e.code = 'require("ajv/dist/runtime/ucs2length").default', Yt;
10837
10844
  }
10838
10845
  var $a;
10839
- function Vm() {
10846
+ function Hm() {
10840
10847
  if ($a) return Kt;
10841
10848
  $a = 1, Object.defineProperty(Kt, "__esModule", { value: !0 });
10842
- const e = Q(), t = te(), r = Fm(), s = {
10849
+ const e = Q(), t = te(), r = Vm(), s = {
10843
10850
  keyword: ["maxLength", "minLength"],
10844
10851
  type: "string",
10845
10852
  schemaType: "number",
@@ -10859,7 +10866,7 @@ function Vm() {
10859
10866
  return Kt.default = s, Kt;
10860
10867
  }
10861
10868
  var Jt = {}, Na;
10862
- function Hm() {
10869
+ function Bm() {
10863
10870
  if (Na) return Jt;
10864
10871
  Na = 1, Object.defineProperty(Jt, "__esModule", { value: !0 });
10865
10872
  const e = Ce(), t = Q(), n = {
@@ -10879,7 +10886,7 @@ function Hm() {
10879
10886
  return Jt.default = n, Jt;
10880
10887
  }
10881
10888
  var Xt = {}, Ia;
10882
- function Bm() {
10889
+ function zm() {
10883
10890
  if (Ia) return Xt;
10884
10891
  Ia = 1, Object.defineProperty(Xt, "__esModule", { value: !0 });
10885
10892
  const e = Q(), r = {
@@ -10959,7 +10966,7 @@ function Wm() {
10959
10966
  return Qt.default = s, Qt;
10960
10967
  }
10961
10968
  var Zt = {}, Ca;
10962
- function zm() {
10969
+ function Gm() {
10963
10970
  if (Ca) return Zt;
10964
10971
  Ca = 1, Object.defineProperty(Zt, "__esModule", { value: !0 });
10965
10972
  const e = Q(), r = {
@@ -10989,7 +10996,7 @@ function Kn() {
10989
10996
  return e.code = 'require("ajv/dist/runtime/equal").default', tr.default = e, tr;
10990
10997
  }
10991
10998
  var ka;
10992
- function Gm() {
10999
+ function Km() {
10993
11000
  if (ka) return er;
10994
11001
  ka = 1, Object.defineProperty(er, "__esModule", { value: !0 });
10995
11002
  const e = Cr(), t = Q(), r = te(), n = Kn(), a = {
@@ -11033,7 +11040,7 @@ function Gm() {
11033
11040
  return er.default = a, er;
11034
11041
  }
11035
11042
  var rr = {}, Ma;
11036
- function Km() {
11043
+ function Ym() {
11037
11044
  if (Ma) return rr;
11038
11045
  Ma = 1, Object.defineProperty(rr, "__esModule", { value: !0 });
11039
11046
  const e = Q(), t = te(), r = Kn(), s = {
@@ -11051,7 +11058,7 @@ function Km() {
11051
11058
  return rr.default = s, rr;
11052
11059
  }
11053
11060
  var nr = {}, xa;
11054
- function Ym() {
11061
+ function Jm() {
11055
11062
  if (xa) return nr;
11056
11063
  xa = 1, Object.defineProperty(nr, "__esModule", { value: !0 });
11057
11064
  const e = Q(), t = te(), r = Kn(), s = {
@@ -11090,11 +11097,11 @@ function Ym() {
11090
11097
  };
11091
11098
  return nr.default = s, nr;
11092
11099
  }
11093
- var qa;
11094
- function Jm() {
11095
- if (qa) return Wt;
11096
- qa = 1, Object.defineProperty(Wt, "__esModule", { value: !0 });
11097
- const e = Um(), t = jm(), r = Vm(), n = Hm(), s = Bm(), a = Wm(), o = zm(), i = Gm(), c = Km(), l = Ym(), d = [
11100
+ var Ua;
11101
+ function Xm() {
11102
+ if (Ua) return zt;
11103
+ Ua = 1, Object.defineProperty(zt, "__esModule", { value: !0 });
11104
+ const e = jm(), t = Fm(), r = Hm(), n = Bm(), s = zm(), a = Wm(), o = Gm(), i = Km(), c = Ym(), l = Jm(), d = [
11098
11105
  // number
11099
11106
  e.default,
11100
11107
  t.default,
@@ -11113,12 +11120,12 @@ function Jm() {
11113
11120
  c.default,
11114
11121
  l.default
11115
11122
  ];
11116
- return Wt.default = d, Wt;
11123
+ return zt.default = d, zt;
11117
11124
  }
11118
- var sr = {}, st = {}, Ua;
11125
+ var sr = {}, st = {}, qa;
11119
11126
  function hi() {
11120
- if (Ua) return st;
11121
- Ua = 1, Object.defineProperty(st, "__esModule", { value: !0 }), st.validateAdditionalItems = void 0;
11127
+ if (qa) return st;
11128
+ qa = 1, Object.defineProperty(st, "__esModule", { value: !0 }), st.validateAdditionalItems = void 0;
11122
11129
  const e = Q(), t = te(), n = {
11123
11130
  keyword: "additionalItems",
11124
11131
  type: "array",
@@ -11193,7 +11200,7 @@ function mi() {
11193
11200
  return at.validateTuple = s, at.default = n, at;
11194
11201
  }
11195
11202
  var Fa;
11196
- function Xm() {
11203
+ function Qm() {
11197
11204
  if (Fa) return ar;
11198
11205
  Fa = 1, Object.defineProperty(ar, "__esModule", { value: !0 });
11199
11206
  const e = mi(), t = {
@@ -11206,7 +11213,7 @@ function Xm() {
11206
11213
  return ar.default = t, ar;
11207
11214
  }
11208
11215
  var or = {}, Va;
11209
- function Qm() {
11216
+ function Zm() {
11210
11217
  if (Va) return or;
11211
11218
  Va = 1, Object.defineProperty(or, "__esModule", { value: !0 });
11212
11219
  const e = Q(), t = te(), r = Ce(), n = hi(), a = {
@@ -11226,7 +11233,7 @@ function Qm() {
11226
11233
  return or.default = a, or;
11227
11234
  }
11228
11235
  var ir = {}, Ha;
11229
- function Zm() {
11236
+ function eg() {
11230
11237
  if (Ha) return ir;
11231
11238
  Ha = 1, Object.defineProperty(ir, "__esModule", { value: !0 });
11232
11239
  const e = Q(), t = te(), n = {
@@ -11283,7 +11290,7 @@ function Zm() {
11283
11290
  return ir.default = n, ir;
11284
11291
  }
11285
11292
  var wn = {}, Ba;
11286
- function eg() {
11293
+ function tg() {
11287
11294
  return Ba || (Ba = 1, (function(e) {
11288
11295
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
11289
11296
  const t = Q(), r = te(), n = Ce();
@@ -11355,10 +11362,10 @@ function eg() {
11355
11362
  e.validateSchemaDeps = i, e.default = s;
11356
11363
  })(wn)), wn;
11357
11364
  }
11358
- var cr = {}, Wa;
11359
- function tg() {
11360
- if (Wa) return cr;
11361
- Wa = 1, Object.defineProperty(cr, "__esModule", { value: !0 });
11365
+ var cr = {}, za;
11366
+ function rg() {
11367
+ if (za) return cr;
11368
+ za = 1, Object.defineProperty(cr, "__esModule", { value: !0 });
11362
11369
  const e = Q(), t = te(), n = {
11363
11370
  keyword: "propertyNames",
11364
11371
  type: "object",
@@ -11387,11 +11394,11 @@ function tg() {
11387
11394
  };
11388
11395
  return cr.default = n, cr;
11389
11396
  }
11390
- var ur = {}, za;
11397
+ var ur = {}, Wa;
11391
11398
  function gi() {
11392
- if (za) return ur;
11393
- za = 1, Object.defineProperty(ur, "__esModule", { value: !0 });
11394
- const e = Ce(), t = Q(), r = Ve(), n = te(), a = {
11399
+ if (Wa) return ur;
11400
+ Wa = 1, Object.defineProperty(ur, "__esModule", { value: !0 });
11401
+ const e = Ce(), t = Q(), r = He(), n = te(), a = {
11395
11402
  keyword: "additionalProperties",
11396
11403
  type: ["object"],
11397
11404
  schemaType: ["boolean", "object"],
@@ -11459,10 +11466,10 @@ function gi() {
11459
11466
  return ur.default = a, ur;
11460
11467
  }
11461
11468
  var lr = {}, Ga;
11462
- function rg() {
11469
+ function ng() {
11463
11470
  if (Ga) return lr;
11464
11471
  Ga = 1, Object.defineProperty(lr, "__esModule", { value: !0 });
11465
- const e = Wr(), t = Ce(), r = te(), n = gi(), s = {
11472
+ const e = zr(), t = Ce(), r = te(), n = gi(), s = {
11466
11473
  keyword: "properties",
11467
11474
  type: "object",
11468
11475
  schemaType: "object",
@@ -11494,7 +11501,7 @@ function rg() {
11494
11501
  return lr.default = s, lr;
11495
11502
  }
11496
11503
  var dr = {}, Ka;
11497
- function ng() {
11504
+ function sg() {
11498
11505
  if (Ka) return dr;
11499
11506
  Ka = 1, Object.defineProperty(dr, "__esModule", { value: !0 });
11500
11507
  const e = Ce(), t = Q(), r = te(), n = te(), s = {
@@ -11535,7 +11542,7 @@ function ng() {
11535
11542
  return dr.default = s, dr;
11536
11543
  }
11537
11544
  var fr = {}, Ya;
11538
- function sg() {
11545
+ function ag() {
11539
11546
  if (Ya) return fr;
11540
11547
  Ya = 1, Object.defineProperty(fr, "__esModule", { value: !0 });
11541
11548
  const e = te(), t = {
@@ -11561,7 +11568,7 @@ function sg() {
11561
11568
  return fr.default = t, fr;
11562
11569
  }
11563
11570
  var pr = {}, Ja;
11564
- function ag() {
11571
+ function og() {
11565
11572
  if (Ja) return pr;
11566
11573
  Ja = 1, Object.defineProperty(pr, "__esModule", { value: !0 });
11567
11574
  const t = {
@@ -11574,7 +11581,7 @@ function ag() {
11574
11581
  return pr.default = t, pr;
11575
11582
  }
11576
11583
  var hr = {}, Xa;
11577
- function og() {
11584
+ function ig() {
11578
11585
  if (Xa) return hr;
11579
11586
  Xa = 1, Object.defineProperty(hr, "__esModule", { value: !0 });
11580
11587
  const e = Q(), t = te(), n = {
@@ -11610,7 +11617,7 @@ function og() {
11610
11617
  return hr.default = n, hr;
11611
11618
  }
11612
11619
  var mr = {}, Qa;
11613
- function ig() {
11620
+ function cg() {
11614
11621
  if (Qa) return mr;
11615
11622
  Qa = 1, Object.defineProperty(mr, "__esModule", { value: !0 });
11616
11623
  const e = te(), t = {
@@ -11632,7 +11639,7 @@ function ig() {
11632
11639
  return mr.default = t, mr;
11633
11640
  }
11634
11641
  var gr = {}, Za;
11635
- function cg() {
11642
+ function ug() {
11636
11643
  if (Za) return gr;
11637
11644
  Za = 1, Object.defineProperty(gr, "__esModule", { value: !0 });
11638
11645
  const e = Q(), t = te(), n = {
@@ -11679,7 +11686,7 @@ function cg() {
11679
11686
  return gr.default = n, gr;
11680
11687
  }
11681
11688
  var yr = {}, eo;
11682
- function ug() {
11689
+ function lg() {
11683
11690
  if (eo) return yr;
11684
11691
  eo = 1, Object.defineProperty(yr, "__esModule", { value: !0 });
11685
11692
  const e = te(), t = {
@@ -11692,10 +11699,10 @@ function ug() {
11692
11699
  return yr.default = t, yr;
11693
11700
  }
11694
11701
  var to;
11695
- function lg() {
11702
+ function dg() {
11696
11703
  if (to) return sr;
11697
11704
  to = 1, Object.defineProperty(sr, "__esModule", { value: !0 });
11698
- const e = hi(), t = Xm(), r = mi(), n = Qm(), s = Zm(), a = eg(), o = tg(), i = gi(), c = rg(), l = ng(), d = sg(), m = ag(), y = og(), S = ig(), v = cg(), g = ug();
11705
+ const e = hi(), t = Qm(), r = mi(), n = Zm(), s = eg(), a = tg(), o = rg(), i = gi(), c = ng(), l = sg(), d = ag(), m = og(), y = ig(), S = cg(), v = ug(), g = lg();
11699
11706
  function f(p = !1) {
11700
11707
  const u = [
11701
11708
  // any
@@ -11717,7 +11724,7 @@ function lg() {
11717
11724
  return sr.default = f, sr;
11718
11725
  }
11719
11726
  var vr = {}, br = {}, ro;
11720
- function dg() {
11727
+ function fg() {
11721
11728
  if (ro) return br;
11722
11729
  ro = 1, Object.defineProperty(br, "__esModule", { value: !0 });
11723
11730
  const e = Q(), r = {
@@ -11769,8 +11776,8 @@ function dg() {
11769
11776
  }
11770
11777
  }
11771
11778
  function E(P) {
11772
- const k = P instanceof RegExp ? (0, e.regexpCode)(P) : m.code.formats ? (0, e._)`${m.code.formats}${(0, e.getProperty)(c)}` : void 0, U = a.scopeValue("formats", { key: c, ref: P, code: k });
11773
- return typeof P == "object" && !(P instanceof RegExp) ? [P.type || "string", P.validate, (0, e._)`${U}.validate`] : ["string", P, U];
11779
+ const k = P instanceof RegExp ? (0, e.regexpCode)(P) : m.code.formats ? (0, e._)`${m.code.formats}${(0, e.getProperty)(c)}` : void 0, q = a.scopeValue("formats", { key: c, ref: P, code: k });
11780
+ return typeof P == "object" && !(P instanceof RegExp) ? [P.type || "string", P.validate, (0, e._)`${q}.validate`] : ["string", P, q];
11774
11781
  }
11775
11782
  function R() {
11776
11783
  if (typeof p == "object" && !(p instanceof RegExp) && p.async) {
@@ -11786,14 +11793,14 @@ function dg() {
11786
11793
  return br.default = r, br;
11787
11794
  }
11788
11795
  var no;
11789
- function fg() {
11796
+ function pg() {
11790
11797
  if (no) return vr;
11791
11798
  no = 1, Object.defineProperty(vr, "__esModule", { value: !0 });
11792
- const t = [dg().default];
11799
+ const t = [fg().default];
11793
11800
  return vr.default = t, vr;
11794
11801
  }
11795
11802
  var We = {}, so;
11796
- function pg() {
11803
+ function hg() {
11797
11804
  return so || (so = 1, Object.defineProperty(We, "__esModule", { value: !0 }), We.contentVocabulary = We.metadataVocabulary = void 0, We.metadataVocabulary = [
11798
11805
  "title",
11799
11806
  "description",
@@ -11809,10 +11816,10 @@ function pg() {
11809
11816
  ]), We;
11810
11817
  }
11811
11818
  var ao;
11812
- function hg() {
11819
+ function mg() {
11813
11820
  if (ao) return Vt;
11814
11821
  ao = 1, Object.defineProperty(Vt, "__esModule", { value: !0 });
11815
- const e = qm(), t = Jm(), r = lg(), n = fg(), s = pg(), a = [
11822
+ const e = qm(), t = Xm(), r = dg(), n = pg(), s = hg(), a = [
11816
11823
  e.default,
11817
11824
  t.default,
11818
11825
  (0, r.default)(),
@@ -11823,7 +11830,7 @@ function hg() {
11823
11830
  return Vt.default = a, Vt;
11824
11831
  }
11825
11832
  var wr = {}, wt = {}, oo;
11826
- function mg() {
11833
+ function gg() {
11827
11834
  if (oo) return wt;
11828
11835
  oo = 1, Object.defineProperty(wt, "__esModule", { value: !0 }), wt.DiscrError = void 0;
11829
11836
  var e;
@@ -11832,10 +11839,10 @@ function mg() {
11832
11839
  })(e || (wt.DiscrError = e = {})), wt;
11833
11840
  }
11834
11841
  var io;
11835
- function gg() {
11842
+ function yg() {
11836
11843
  if (io) return wr;
11837
11844
  io = 1, Object.defineProperty(wr, "__esModule", { value: !0 });
11838
- const e = Q(), t = mg(), r = Gn(), n = zr(), s = te(), o = {
11845
+ const e = Q(), t = gg(), r = Gn(), n = Wr(), s = te(), o = {
11839
11846
  keyword: "discriminator",
11840
11847
  type: "object",
11841
11848
  schemaType: "object",
@@ -11871,57 +11878,57 @@ function gg() {
11871
11878
  var w;
11872
11879
  const _ = {}, E = P(m);
11873
11880
  let R = !0;
11874
- for (let q = 0; q < S.length; q++) {
11875
- let j = S[q];
11881
+ for (let U = 0; U < S.length; U++) {
11882
+ let j = S[U];
11876
11883
  if (j?.$ref && !(0, s.schemaHasRulesButRef)(j, y.self.RULES)) {
11877
- const W = j.$ref;
11878
- if (j = r.resolveRef.call(y.self, y.schemaEnv.root, y.baseId, W), j instanceof r.SchemaEnv && (j = j.schema), j === void 0)
11879
- throw new n.default(y.opts.uriResolver, y.baseId, W);
11884
+ const z = j.$ref;
11885
+ if (j = r.resolveRef.call(y.self, y.schemaEnv.root, y.baseId, z), j instanceof r.SchemaEnv && (j = j.schema), j === void 0)
11886
+ throw new n.default(y.opts.uriResolver, y.baseId, z);
11880
11887
  }
11881
11888
  const V = (w = j?.properties) === null || w === void 0 ? void 0 : w[v];
11882
11889
  if (typeof V != "object")
11883
11890
  throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${v}"`);
11884
- R = R && (E || P(j)), k(V, q);
11891
+ R = R && (E || P(j)), k(V, U);
11885
11892
  }
11886
11893
  if (!R)
11887
11894
  throw new Error(`discriminator: "${v}" must be required`);
11888
11895
  return _;
11889
- function P({ required: q }) {
11890
- return Array.isArray(q) && q.includes(v);
11896
+ function P({ required: U }) {
11897
+ return Array.isArray(U) && U.includes(v);
11891
11898
  }
11892
- function k(q, j) {
11893
- if (q.const)
11894
- U(q.const, j);
11895
- else if (q.enum)
11896
- for (const V of q.enum)
11897
- U(V, j);
11899
+ function k(U, j) {
11900
+ if (U.const)
11901
+ q(U.const, j);
11902
+ else if (U.enum)
11903
+ for (const V of U.enum)
11904
+ q(V, j);
11898
11905
  else
11899
11906
  throw new Error(`discriminator: "properties/${v}" must have "const" or "enum"`);
11900
11907
  }
11901
- function U(q, j) {
11902
- if (typeof q != "string" || q in _)
11908
+ function q(U, j) {
11909
+ if (typeof U != "string" || U in _)
11903
11910
  throw new Error(`discriminator: "${v}" values must be unique strings`);
11904
- _[q] = j;
11911
+ _[U] = j;
11905
11912
  }
11906
11913
  }
11907
11914
  }
11908
11915
  };
11909
11916
  return wr.default = o, wr;
11910
11917
  }
11911
- const yg = "http://json-schema.org/draft-07/schema#", vg = "http://json-schema.org/draft-07/schema#", bg = "Core schema meta-schema", wg = { 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: [] } }, Eg = ["object", "boolean"], _g = { $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: "#" } }, Sg = {
11912
- $schema: yg,
11913
- $id: vg,
11914
- title: bg,
11915
- definitions: wg,
11916
- type: Eg,
11917
- properties: _g,
11918
+ const vg = "http://json-schema.org/draft-07/schema#", bg = "http://json-schema.org/draft-07/schema#", wg = "Core schema meta-schema", Eg = { 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: [] } }, _g = ["object", "boolean"], Sg = { $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: "#" } }, Rg = {
11919
+ $schema: vg,
11920
+ $id: bg,
11921
+ title: wg,
11922
+ definitions: Eg,
11923
+ type: _g,
11924
+ properties: Sg,
11918
11925
  default: !0
11919
11926
  };
11920
11927
  var co;
11921
- function Rg() {
11928
+ function Tg() {
11922
11929
  return co || (co = 1, (function(e, t) {
11923
11930
  Object.defineProperty(t, "__esModule", { value: !0 }), t.MissingRefError = t.ValidationError = t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = t.Ajv = void 0;
11924
- const r = km(), n = hg(), s = gg(), a = Sg, o = ["/properties"], i = "http://json-schema.org/draft-07/schema";
11931
+ const r = Mm(), n = mg(), s = yg(), a = Rg, o = ["/properties"], i = "http://json-schema.org/draft-07/schema";
11925
11932
  class c extends r.default {
11926
11933
  _addVocabularies() {
11927
11934
  super._addVocabularies(), n.default.forEach((v) => this.addVocabulary(v)), this.opts.discriminator && this.addKeyword(s.default);
@@ -11937,7 +11944,7 @@ function Rg() {
11937
11944
  }
11938
11945
  }
11939
11946
  t.Ajv = c, e.exports = t = c, e.exports.Ajv = c, Object.defineProperty(t, "__esModule", { value: !0 }), t.default = c;
11940
- var l = Wr();
11947
+ var l = zr();
11941
11948
  Object.defineProperty(t, "KeywordCxt", { enumerable: !0, get: function() {
11942
11949
  return l.KeywordCxt;
11943
11950
  } });
@@ -11955,18 +11962,18 @@ function Rg() {
11955
11962
  } }), Object.defineProperty(t, "CodeGen", { enumerable: !0, get: function() {
11956
11963
  return d.CodeGen;
11957
11964
  } });
11958
- var m = zn();
11965
+ var m = Wn();
11959
11966
  Object.defineProperty(t, "ValidationError", { enumerable: !0, get: function() {
11960
11967
  return m.default;
11961
11968
  } });
11962
- var y = zr();
11969
+ var y = Wr();
11963
11970
  Object.defineProperty(t, "MissingRefError", { enumerable: !0, get: function() {
11964
11971
  return y.default;
11965
11972
  } });
11966
11973
  })(xt, xt.exports)), xt.exports;
11967
11974
  }
11968
- var Tg = Rg();
11969
- const Ag = /* @__PURE__ */ ym(Tg), Yn = "/bahmni_config/openmrs/apps/clinical/v2", Og = "/bahmni_config/openmrs/apps/registration/v2", Pg = Yn + "/app.json", $g = Og + "/app.json", Ng = Yn + "/medication.json", Ig = (e) => `${Yn}/dashboards/${e}`, uo = {
11975
+ var Ag = Tg();
11976
+ const Og = /* @__PURE__ */ vm(Ag), Yn = "/bahmni_config/openmrs/apps/clinical/v2", Pg = "/bahmni_config/openmrs/apps/registration/v2", $g = Yn + "/app.json", Ng = Pg + "/app.json", Ig = Yn + "/medication.json", Dg = (e) => `${Yn}/dashboards/${e}`, uo = {
11970
11977
  CONFIG_NOT_FOUND: "CONFIG_ERROR_NOT_FOUND",
11971
11978
  VALIDATION_FAILED: "CONFIG_ERROR_VALIDATION_FAILED",
11972
11979
  SCHEMA_VALIDATION_FAILED: "CONFIG_ERROR_SCHEMA_VALIDATION_FAILED"
@@ -11974,54 +11981,54 @@ const Ag = /* @__PURE__ */ ym(Tg), Yn = "/bahmni_config/openmrs/apps/clinical/v2
11974
11981
  CONFIG_ERROR: "ERROR_CONFIG_TITLE",
11975
11982
  VALIDATION_ERROR: "ERROR_VALIDATION_TITLE",
11976
11983
  DASHBOARD_ERROR: "ERROR_DASHBOARD_CONFIG_TITLE"
11977
- }, Dg = "http://json-schema.org/draft-07/schema#", Cg = "Clinical App Configuration Schema", Lg = "Schema for global clinical app configuration including patient information, actions and available dashboards", kg = "object", Mg = ["patientInformation", "actions", "dashboards", "consultationPad"], xg = !1, qg = { patientInformation: { type: "object", description: "Patient information configuration", additionalProperties: !1 }, contextInformation: { type: "object", description: "Context information configuration for displaying additional patient context", additionalProperties: !1, properties: { program: { type: "object", description: "Program details configuration", required: ["fields"], additionalProperties: !1, properties: { fields: { type: "array", description: "List of fields to display in program details", items: { type: "string" } } } } } }, actions: { type: "array", description: "List of available actions" }, dashboards: { type: "array", description: "List of available dashboards", items: { type: "object", required: ["name", "requiredPrivileges", "url"], additionalProperties: !1, properties: { name: { type: "string", description: "Display name of the dashboard" }, requiredPrivileges: { type: "array", items: { type: "string" }, description: "List of permissions required to access this dashboard" }, icon: { type: "string", description: "Icon class name for the dashboard" }, default: { type: "boolean", description: "Whether this is the default dashboard" }, url: { type: "string", description: "URL to access the dashboard data" } } } }, consultationPad: { type: "object", description: "Configuration for consultation pad forms", required: ["allergyConceptMap"], additionalProperties: !0, properties: { allergyConceptMap: { type: "object", description: "UUID mappings for allergy concepts", required: ["medicationAllergenUuid", "foodAllergenUuid", "environmentalAllergenUuid", "allergyReactionUuid"], additionalProperties: !0, properties: { medicationAllergenUuid: { type: "string", description: "UUID for medication allergen concept" }, foodAllergenUuid: { type: "string", description: "UUID for food allergen concept" }, environmentalAllergenUuid: { type: "string", description: "UUID for environmental allergen concept" }, allergyReactionUuid: { type: "string", description: "UUID for allergy reaction concept" } } }, statDurationInHours: { type: "number", description: "Duration in hours for which a STAT order is valid" } } } }, Ug = {
11978
- $schema: Dg,
11979
- title: Cg,
11980
- description: Lg,
11981
- type: kg,
11982
- required: Mg,
11983
- additionalProperties: xg,
11984
+ }, Cg = "http://json-schema.org/draft-07/schema#", Lg = "Clinical App Configuration Schema", kg = "Schema for global clinical app configuration including patient information, actions and available dashboards", Mg = "object", xg = ["patientInformation", "actions", "dashboards", "consultationPad"], Ug = !1, qg = { patientInformation: { type: "object", description: "Patient information configuration", additionalProperties: !1 }, contextInformation: { type: "object", description: "Context information configuration for displaying additional patient context", additionalProperties: !1, properties: { program: { type: "object", description: "Program details configuration", required: ["fields"], additionalProperties: !1, properties: { fields: { type: "array", description: "List of fields to display in program details", items: { type: "string" } } } } } }, actions: { type: "array", description: "List of available actions" }, dashboards: { type: "array", description: "List of available dashboards", items: { type: "object", required: ["name", "requiredPrivileges", "url"], additionalProperties: !1, properties: { name: { type: "string", description: "Display name of the dashboard" }, requiredPrivileges: { type: "array", items: { type: "string" }, description: "List of permissions required to access this dashboard" }, icon: { type: "string", description: "Icon class name for the dashboard" }, default: { type: "boolean", description: "Whether this is the default dashboard" }, url: { type: "string", description: "URL to access the dashboard data" } } } }, consultationPad: { type: "object", description: "Configuration for consultation pad forms", required: ["allergyConceptMap"], additionalProperties: !0, properties: { allergyConceptMap: { type: "object", description: "UUID mappings for allergy concepts", required: ["medicationAllergenUuid", "foodAllergenUuid", "environmentalAllergenUuid", "allergyReactionUuid"], additionalProperties: !0, properties: { medicationAllergenUuid: { type: "string", description: "UUID for medication allergen concept" }, foodAllergenUuid: { type: "string", description: "UUID for food allergen concept" }, environmentalAllergenUuid: { type: "string", description: "UUID for environmental allergen concept" }, allergyReactionUuid: { type: "string", description: "UUID for allergy reaction concept" } } }, statDurationInHours: { type: "number", description: "Duration in hours for which a STAT order is valid" } } } }, jg = {
11985
+ $schema: Cg,
11986
+ title: Lg,
11987
+ description: kg,
11988
+ type: Mg,
11989
+ required: xg,
11990
+ additionalProperties: Ug,
11984
11991
  properties: qg
11985
- }, jg = "http://json-schema.org/draft-07/schema#", Fg = "Clinical Dashboard Configuration Schema", Vg = "Schema for dashboards in clinical app which contains sections and associated controls", Hg = "object", Bg = !1, Wg = ["sections"], zg = { sections: { type: "array", description: "Section in a dashboard", items: { type: "object", additionalProperties: !1, required: ["name", "icon", "controls"], properties: { name: { type: "string", description: "Display name of the section" }, translationKey: { type: "string", description: "Translation key for the section name" }, icon: { type: "string", description: "Fontawesome Icon name for the section" }, controls: { type: "array", description: "List of controls in the section", items: [{ type: "object", additionalProperties: !1, required: ["type"], properties: { type: { type: "string", description: "Type of the control" }, config: { type: "object", description: "Configuration for the control" } } }] } } } } }, Gg = {
11986
- $schema: jg,
11987
- title: Fg,
11988
- description: Vg,
11989
- type: Hg,
11990
- additionalProperties: Bg,
11992
+ }, Fg = "http://json-schema.org/draft-07/schema#", Vg = "Clinical Dashboard Configuration Schema", Hg = "Schema for dashboards in clinical app which contains sections and associated controls", Bg = "object", zg = !1, Wg = ["sections"], Gg = { sections: { type: "array", description: "Section in a dashboard", items: { type: "object", additionalProperties: !1, required: ["name", "icon", "controls"], properties: { name: { type: "string", description: "Display name of the section" }, translationKey: { type: "string", description: "Translation key for the section name" }, icon: { type: "string", description: "Fontawesome Icon name for the section" }, controls: { type: "array", description: "List of controls in the section", items: [{ type: "object", additionalProperties: !1, required: ["type"], properties: { type: { type: "string", description: "Type of the control" }, config: { type: "object", description: "Configuration for the control" } } }] } } } } }, Kg = {
11993
+ $schema: Fg,
11994
+ title: Vg,
11995
+ description: Hg,
11996
+ type: Bg,
11997
+ additionalProperties: zg,
11991
11998
  required: Wg,
11992
- properties: zg
11993
- }, Kg = "http://json-schema.org/draft-07/schema#", Yg = "Medication Configuration Schema", Jg = "object", Xg = !1, Qg = { defaultDurationUnit: { type: "string", enum: ["min", "h", "d", "wk", "mo"], description: "Default unit for medication duration" }, defaultInstructions: { type: "string", description: "Default instructions for medication" }, drugFormDefaults: { type: "object", description: "Default dose units and routes for different drug forms", patternProperties: { "^.*$": { type: "object", additionalProperties: !1, properties: { doseUnits: { type: "string", description: "Default dose units for this drug form" }, route: { type: "string", description: "Default route of administration for this drug form" } } } } } }, Zg = {
11994
- $schema: Kg,
11995
- title: Yg,
11996
- type: Jg,
11997
- additionalProperties: Xg,
11998
- properties: Qg
11999
- }, ey = "http://json-schema.org/draft-07/schema#", ty = "Registration Configuration Schema", ry = "Schema for validating registration app configuration", ny = "object", sy = !1, ay = { id: { type: "string", description: "Unique identifier for the registration configuration" }, contextModel: { type: "array", description: "Array of context model configurations", items: { type: "string" } }, patientSearch: { type: "object", description: "Patient search configuration", additionalProperties: !1, properties: { customAttributes: { type: "array", description: "Array of available search fields", items: { type: "object", additionalProperties: !1, properties: { translationKey: { type: "string", description: "Translation key for the dropdown label" }, fields: { type: "array", description: "Array of field names to search against", items: { type: "string" } }, expectedFields: { type: "array", description: "Array of fields configurations with translation keys to display on table headers", items: { type: "object", additionalProperties: !1, properties: { field: { type: "string", description: "field corresponding to table header" }, translationKey: { type: "string", description: "Translation key for the table header" } } } }, type: { type: "string", enum: ["person", "address", "program", "appointment"], description: "Type of the search field (person, address, program, appointment)" } } } }, appointment: { type: "array", description: "Array of available search fields for appointments", items: { type: "object", additionalProperties: !0, required: ["translationKey", "fields"], properties: { translationKey: { type: "string", description: "Translation key for the field label" }, fields: { type: "array", description: "Array of field names to search against", items: { type: "string" } }, expectedFields: { type: "array", description: "Array of expected fields with optional types", items: { type: "object", required: ["field", "translationKey"], properties: { field: { type: "string", description: "The field name (e.g., apptNumber, apptDate)" }, translationKey: { type: "string", description: "Translation key for the field's display label" }, type: { type: "string", description: "Optional field type (e.g., date, string)" } } } }, type: { type: "string", enum: ["appointment"], description: "Type of the search field (appointment)" }, actions: { type: "array", description: "Array of actions allowed on this search field", items: { type: "object", required: ["translationKey", "type", "enabledRule", "onAction"], properties: { translationKey: { type: "string", description: "Translation key for the action button label" }, type: { type: "string", enum: ["changeStatus", "navigate"], description: "Type of action to perform" }, enabledRule: { type: "array", description: "Conditions to enable this action (rules)", items: { type: "object", properties: { type: { type: "string", enum: ["privilegeCheck", "statusCheck", "appDateCheck"], description: "Type of rule to evaluate" }, values: { type: "array", items: { type: "string" }, description: "Values to check against for the rule" } } } }, onAction: { type: "object", description: "What happens when action is triggered", additionalProperties: !0, properties: { status: { type: "string", description: "Status to set (for changeStatus type)" }, navigation: { type: "string", description: "URL path to navigate to (for navigate type)" } } }, onSuccess: { type: "object", description: "Notification or other success response", additionalProperties: !0, properties: { notification: { type: "string", description: "Translation key for success notification message" } } } } } } } } } } }, defaultVisitType: { type: "string", description: "Default visit type for patient registration" }, patientInformation: { type: "object", description: "Patient name related fields configuration", additionalProperties: !0, properties: { defaultIdentifierPrefix: { type: "string", description: "Default prefix for patient identifiers" }, showEnterManually: { type: "boolean" }, showMiddleName: { type: "boolean" }, showLastName: { type: "boolean" }, isFirstNameMandatory: { type: "boolean" }, isMiddleNameMandatory: { type: "boolean" }, isGenderMandatory: { type: "boolean" }, isDateOfBirthMandatory: { type: "boolean" }, isLastNameMandatory: { type: "boolean" }, patientNameDisplayOrder: { type: "array", description: "Order in which patient name fields should be displayed", items: { type: "string" } }, showBirthTime: { type: "boolean" }, showDOBEstimated: { type: "boolean" }, addressHierarchy: { type: "object", description: "Address hierarchy levels to be displayed", additionalProperties: !1, properties: { showAddressFieldsTopDown: { type: "boolean" }, strictAutocompleteFromLevel: { type: "string" }, expectedFields: { type: "array", description: "Array of expected fields with translation keys", items: { type: "object", properties: { addressField: { type: "string", description: "Field name" }, translationKey: { type: "string", description: "Translation key for the field label" } } } } } }, additionalPatientInformation: { type: "object", description: "Additional patient information configuration", additionalProperties: !0, properties: { translationKey: { type: "string", description: "Translation key for the section title" }, attributes: { type: "array", description: "Array of attribute fields with translation keys", items: { type: "object", required: ["field", "translationKey"], properties: { field: { type: "string", description: "Field name" }, translationKey: { type: "string", description: "Translation key for the field label" } } } } } }, contactInformation: { type: "object", additionalProperties: !0, properties: { translationKey: { type: "string", description: "Translation key for the section title" }, attributes: { type: "array", description: "Array of attribute fields with translation keys", items: { type: "object", required: ["field", "translationKey"], properties: { field: { type: "string", description: "Field name" }, translationKey: { type: "string", description: "Translation key for the field label" } } } } } }, showExtraPatientIdentifiersSection: { type: "boolean", description: "Whether to show extra patient identifiers section" } } }, fieldValidation: { type: "object", description: "Field validation rules with regex patterns and error messages", additionalProperties: !0, patternProperties: { "^.*$": { type: "object", properties: { pattern: { type: "string", description: "Regular expression pattern for field validation" }, errorMessage: { type: "string", description: "Error message to display when validation fails" } } } } }, extensionPoints: { type: "array", description: "Array of extension point definitions that extensions can attach to", items: { type: "object", required: ["id"], additionalProperties: !1, properties: { id: { type: "string", description: "Unique identifier for the extension point (e.g., 'org.bahmni.registration.navigation')" }, description: { type: "string", description: "Human-readable description of what this extension point is for" } } } }, registrationAppExtensions: { type: "array", description: "Array of app extension configurations for registration", items: { type: "object", description: "Extension configuration", additionalProperties: !1, required: ["id", "extensionPointId", "type", "requiredPrivilege"], properties: { id: { type: "string", description: "Unique identifier for the extension" }, extensionPointId: { type: "string", description: "Extension point identifier this extension attaches to" }, type: { type: "string", enum: ["link", "startVisit"], description: "Type of extension (e.g., 'link', 'startVisit')" }, translationKey: { type: "string", description: "Translation key for the extension label" }, url: { type: "string", description: "URL path for the extension" }, shortcutKey: { type: "string", description: "Keyboard shortcut key for the extension" }, icon: { type: "string", description: "Icon class name (e.g., FontAwesome class like 'fa-search')" }, order: { type: "number", description: "Display order of the extension" }, kind: { type: "string", enum: ["primary", "secondary", "tertiary", "ghost", "danger"], description: "Button kind/variant (defaults to 'primary' if not specified)" }, requiredPrivilege: { type: "string", description: "Required privilege to access this extension" } } } } }, oy = {
12000
- $schema: ey,
12001
- title: ty,
12002
- description: ry,
12003
- type: ny,
12004
- additionalProperties: sy,
12005
- properties: ay
12006
- }, Qb = async () => Gr(Pg, Ug), Zb = async (e) => {
11999
+ properties: Gg
12000
+ }, Yg = "http://json-schema.org/draft-07/schema#", Jg = "Medication Configuration Schema", Xg = "object", Qg = !1, Zg = { defaultDurationUnit: { type: "string", enum: ["min", "h", "d", "wk", "mo"], description: "Default unit for medication duration" }, defaultInstructions: { type: "string", description: "Default instructions for medication" }, drugFormDefaults: { type: "object", description: "Default dose units and routes for different drug forms", patternProperties: { "^.*$": { type: "object", additionalProperties: !1, properties: { doseUnits: { type: "string", description: "Default dose units for this drug form" }, route: { type: "string", description: "Default route of administration for this drug form" } } } } } }, ey = {
12001
+ $schema: Yg,
12002
+ title: Jg,
12003
+ type: Xg,
12004
+ additionalProperties: Qg,
12005
+ properties: Zg
12006
+ }, ty = "http://json-schema.org/draft-07/schema#", ry = "Registration Configuration Schema", ny = "Schema for validating registration app configuration", sy = "object", ay = !1, oy = { id: { type: "string", description: "Unique identifier for the registration configuration" }, contextModel: { type: "array", description: "Array of context model configurations", items: { type: "string" } }, patientSearch: { type: "object", description: "Patient search configuration", additionalProperties: !1, properties: { customAttributes: { type: "array", description: "Array of available search fields", items: { type: "object", additionalProperties: !1, properties: { translationKey: { type: "string", description: "Translation key for the dropdown label" }, fields: { type: "array", description: "Array of field names to search against", items: { type: "string" } }, expectedFields: { type: "array", description: "Array of fields configurations with translation keys to display on table headers", items: { type: "object", additionalProperties: !1, properties: { field: { type: "string", description: "field corresponding to table header" }, translationKey: { type: "string", description: "Translation key for the table header" } } } }, type: { type: "string", enum: ["person", "address", "program", "appointment"], description: "Type of the search field (person, address, program, appointment)" } } } }, appointment: { type: "array", description: "Array of available search fields for appointments", items: { type: "object", additionalProperties: !0, required: ["translationKey", "fields"], properties: { translationKey: { type: "string", description: "Translation key for the field label" }, fields: { type: "array", description: "Array of field names to search against", items: { type: "string" } }, expectedFields: { type: "array", description: "Array of expected fields with optional types", items: { type: "object", required: ["field", "translationKey"], properties: { field: { type: "string", description: "The field name (e.g., apptNumber, apptDate)" }, translationKey: { type: "string", description: "Translation key for the field's display label" }, type: { type: "string", description: "Optional field type (e.g., date, string)" } } } }, type: { type: "string", enum: ["appointment"], description: "Type of the search field (appointment)" }, actions: { type: "array", description: "Array of actions allowed on this search field", items: { type: "object", required: ["translationKey", "type", "enabledRule", "onAction"], properties: { translationKey: { type: "string", description: "Translation key for the action button label" }, type: { type: "string", enum: ["changeStatus", "navigate"], description: "Type of action to perform" }, enabledRule: { type: "array", description: "Conditions to enable this action (rules)", items: { type: "object", properties: { type: { type: "string", enum: ["privilegeCheck", "statusCheck", "appDateCheck"], description: "Type of rule to evaluate" }, values: { type: "array", items: { type: "string" }, description: "Values to check against for the rule" } } } }, onAction: { type: "object", description: "What happens when action is triggered", additionalProperties: !0, properties: { status: { type: "string", description: "Status to set (for changeStatus type)" }, navigation: { type: "string", description: "URL path to navigate to (for navigate type)" } } }, onSuccess: { type: "object", description: "Notification or other success response", additionalProperties: !0, properties: { notification: { type: "string", description: "Translation key for success notification message" } } } } } } } } } } }, defaultVisitType: { type: "string", description: "Default visit type for patient registration" }, patientInformation: { type: "object", description: "Patient name related fields configuration", additionalProperties: !0, properties: { defaultIdentifierPrefix: { type: "string", description: "Default prefix for patient identifiers" }, showEnterManually: { type: "boolean" }, showMiddleName: { type: "boolean" }, showLastName: { type: "boolean" }, isFirstNameMandatory: { type: "boolean" }, isMiddleNameMandatory: { type: "boolean" }, isGenderMandatory: { type: "boolean" }, isDateOfBirthMandatory: { type: "boolean" }, isLastNameMandatory: { type: "boolean" }, patientNameDisplayOrder: { type: "array", description: "Order in which patient name fields should be displayed", items: { type: "string" } }, showBirthTime: { type: "boolean" }, showDOBEstimated: { type: "boolean" }, addressHierarchy: { type: "object", description: "Address hierarchy levels to be displayed", additionalProperties: !1, properties: { showAddressFieldsTopDown: { type: "boolean" }, strictAutocompleteFromLevel: { type: "string" }, expectedFields: { type: "array", description: "Array of expected fields with translation keys", items: { type: "object", properties: { addressField: { type: "string", description: "Field name" }, translationKey: { type: "string", description: "Translation key for the field label" } } } } } }, additionalPatientInformation: { type: "object", description: "Additional patient information configuration", additionalProperties: !0, properties: { translationKey: { type: "string", description: "Translation key for the section title" }, attributes: { type: "array", description: "Array of attribute fields with translation keys", items: { type: "object", required: ["field", "translationKey"], properties: { field: { type: "string", description: "Field name" }, translationKey: { type: "string", description: "Translation key for the field label" } } } } } }, contactInformation: { type: "object", additionalProperties: !0, properties: { translationKey: { type: "string", description: "Translation key for the section title" }, attributes: { type: "array", description: "Array of attribute fields with translation keys", items: { type: "object", required: ["field", "translationKey"], properties: { field: { type: "string", description: "Field name" }, translationKey: { type: "string", description: "Translation key for the field label" } } } } } }, showExtraPatientIdentifiersSection: { type: "boolean", description: "Whether to show extra patient identifiers section" } } }, fieldValidation: { type: "object", description: "Field validation rules with regex patterns and error messages", additionalProperties: !0, patternProperties: { "^.*$": { type: "object", properties: { pattern: { type: "string", description: "Regular expression pattern for field validation" }, errorMessage: { type: "string", description: "Error message to display when validation fails" } } } } }, extensionPoints: { type: "array", description: "Array of extension point definitions that extensions can attach to", items: { type: "object", required: ["id"], additionalProperties: !1, properties: { id: { type: "string", description: "Unique identifier for the extension point (e.g., 'org.bahmni.registration.navigation')" }, description: { type: "string", description: "Human-readable description of what this extension point is for" } } } }, registrationAppExtensions: { type: "array", description: "Array of app extension configurations for registration", items: { type: "object", description: "Extension configuration", additionalProperties: !1, required: ["id", "extensionPointId", "type", "requiredPrivilege"], properties: { id: { type: "string", description: "Unique identifier for the extension" }, extensionPointId: { type: "string", description: "Extension point identifier this extension attaches to" }, type: { type: "string", enum: ["link", "startVisit"], description: "Type of extension (e.g., 'link', 'startVisit')" }, translationKey: { type: "string", description: "Translation key for the extension label" }, url: { type: "string", description: "URL path for the extension" }, shortcutKey: { type: "string", description: "Keyboard shortcut key for the extension" }, icon: { type: "string", description: "Icon class name (e.g., FontAwesome class like 'fa-search')" }, order: { type: "number", description: "Display order of the extension" }, kind: { type: "string", enum: ["primary", "secondary", "tertiary", "ghost", "danger"], description: "Button kind/variant (defaults to 'primary' if not specified)" }, requiredPrivilege: { type: "string", description: "Required privilege to access this extension" } } } } }, iy = {
12007
+ $schema: ty,
12008
+ title: ry,
12009
+ description: ny,
12010
+ type: sy,
12011
+ additionalProperties: ay,
12012
+ properties: oy
12013
+ }, tw = async () => Gr($g, jg), rw = async (e) => {
12007
12014
  const t = await Gr(
12008
- Ig(e),
12009
- Gg
12015
+ Dg(e),
12016
+ Kg
12010
12017
  );
12011
12018
  return t && t.sections && t.sections.length > 0 && (t.sections = t.sections.map((r) => r.id ? r : {
12012
12019
  ...r,
12013
12020
  id: hp()
12014
12021
  })), t;
12015
- }, ew = async () => Gr(
12022
+ }, nw = async () => Gr(
12023
+ Ig,
12024
+ ey
12025
+ ), sw = async () => Gr(
12016
12026
  Ng,
12017
- Zg
12018
- ), tw = async () => Gr(
12019
- $g,
12020
- oy
12027
+ iy
12021
12028
  ), Gr = async (e, t) => {
12022
12029
  try {
12023
- const r = await iy(e);
12024
- return r ? await cy(r, t) ? r : (on.showError(
12030
+ const r = await cy(e);
12031
+ return r ? await uy(r, t) ? r : (on.showError(
12025
12032
  ie.t(lo.VALIDATION_ERROR),
12026
12033
  ie.t(uo.VALIDATION_FAILED)
12027
12034
  ), null) : (on.showError(
@@ -12032,80 +12039,80 @@ const Ag = /* @__PURE__ */ ym(Tg), Yn = "/bahmni_config/openmrs/apps/clinical/v2
12032
12039
  const { title: n, message: s } = ut(r);
12033
12040
  return on.showError(n, s), null;
12034
12041
  }
12035
- }, iy = async (e) => {
12042
+ }, cy = async (e) => {
12036
12043
  try {
12037
- return await z(e);
12044
+ return await W(e);
12038
12045
  } catch (t) {
12039
12046
  const { message: r } = ut(t);
12040
12047
  throw new Error(r);
12041
12048
  }
12042
- }, cy = async (e, t) => new Ag().compile(t)(e), uy = (e) => ee + `/form/${e}?v=custom:(resources:(value))`, ly = (e) => {
12049
+ }, uy = async (e, t) => new Og().compile(t)(e), ly = (e) => ee + `/form/${e}?v=custom:(resources:(value))`, dy = (e) => {
12043
12050
  const t = ee + "/bahmniie/form/latestPublishedForms";
12044
12051
  return e ? t + `?episodeUuid=${e}` : t;
12045
- }, rw = (e) => ee + `/user/${e}?v=full`, dy = (e, t, r, n) => ee + `/bahmniie/form/translations?formName=${encodeURIComponent(e)}&formUuid=${t}&formVersion=${r}&locale=${n}`, Tr = "Bahmni", fy = (e, t, r) => {
12052
+ }, aw = (e) => ee + `/user/${e}?v=full`, fy = (e, t, r, n) => ee + `/bahmniie/form/translations?formName=${encodeURIComponent(e)}&formUuid=${t}&formVersion=${r}&locale=${n}`, Tr = "Bahmni", py = (e, t, r) => {
12046
12053
  let s = ee + "/bahmnicore/patient/" + e + "/forms";
12047
12054
  return r ? s += `?patientProgramUuid=${r}` : t && (s += `?numberOfVisits=${t}`), s;
12048
- }, py = (e, t) => {
12055
+ }, hy = (e, t) => {
12049
12056
  const r = t.join(",");
12050
12057
  return `${pe}/Observation?patient=${e}&code=${r}&_include=Observation:has-member&_sort=-_lastUpdated`;
12051
- }, hy = (e, t) => {
12058
+ }, my = (e, t) => {
12052
12059
  const r = t.join(",");
12053
12060
  return `${pe}/Observation?patient=${e}&code=${r}&_include=Observation:has-member&_include=Observation:encounter&_sort=-_lastUpdated`;
12054
12061
  };
12055
- async function my(e, t) {
12056
- const r = py(e, t);
12057
- return await z(r);
12058
- }
12059
- async function nw(e, t) {
12062
+ async function gy(e, t) {
12060
12063
  const r = hy(e, t);
12061
- return await z(r);
12064
+ return await W(r);
12062
12065
  }
12063
- async function sw(e, t) {
12064
- return (await my(e, t)).entry?.filter((s) => s.resource?.resourceType === "Observation").map((s) => s.resource) ?? [];
12066
+ async function ow(e, t) {
12067
+ const r = my(e, t);
12068
+ return await W(r);
12065
12069
  }
12066
- const gy = (e) => ee + `/provider?user=${e}&v=custom:(uuid,display,person)`;
12067
- async function aw(e) {
12068
- const t = await z(
12069
- gy(e)
12070
+ async function iw(e, t) {
12071
+ return (await gy(e, t)).entry?.filter((s) => s.resource?.resourceType === "Observation").map((s) => s.resource) ?? [];
12072
+ }
12073
+ const yy = (e) => ee + `/provider?user=${e}&v=custom:(uuid,display,person)`;
12074
+ async function cw(e) {
12075
+ const t = await W(
12076
+ yy(e)
12070
12077
  );
12071
12078
  return !t.results || t.results.length === 0 ? null : t.results[0];
12072
12079
  }
12073
- const yy = (e) => pe + `/Encounter?subject:Patient=${e}&_tag=visit`, vy = (e) => `${pe}/Observation?encounter=${e}`;
12074
- async function by(e) {
12075
- return await z(yy(e));
12076
- }
12080
+ const vy = (e) => pe + `/Encounter?subject:Patient=${e}&_tag=visit`, by = (e) => `${pe}/Observation?encounter=${e}`;
12077
12081
  async function wy(e) {
12078
- return (await by(e)).entry?.map((r) => r.resource).filter((r) => r !== void 0) ?? [];
12082
+ return await W(vy(e));
12079
12083
  }
12080
12084
  async function Ey(e) {
12081
- return (await wy(e)).find((r) => !r.period?.end) ?? null;
12085
+ return (await wy(e)).entry?.map((r) => r.resource).filter((r) => r !== void 0) ?? [];
12082
12086
  }
12083
- async function ow(e) {
12084
- return await z(vy(e));
12087
+ async function _y(e) {
12088
+ return (await Ey(e)).find((r) => !r.period?.end) ?? null;
12085
12089
  }
12086
- const iw = (e, t) => e?.length === 0 ? !1 : t?.length === 0, _y = pe + "/Encounter", Sy = ee + "/systemsetting/bahmni.encountersession.duration", Ry = "d34fe3ab-5e07-11ef-8f7c-0242ac120002";
12087
- async function Ty(e) {
12090
+ async function uw(e) {
12091
+ return await W(by(e));
12092
+ }
12093
+ const lw = (e, t) => e?.length === 0 ? !1 : t?.length === 0, Sy = pe + "/Encounter", Ry = ee + "/systemsetting/bahmni.encountersession.duration", Ty = "d34fe3ab-5e07-11ef-8f7c-0242ac120002";
12094
+ async function Ay(e) {
12088
12095
  const t = new URLSearchParams();
12089
12096
  Object.entries(e).forEach(([s, a]) => {
12090
12097
  a && t.append(s, a);
12091
12098
  });
12092
- const r = `${_y}?${t.toString()}`;
12093
- return (await z(r)).entry?.map((s) => s.resource).filter((s) => s !== void 0) ?? [];
12099
+ const r = `${Sy}?${t.toString()}`;
12100
+ return (await W(r)).entry?.map((s) => s.resource).filter((s) => s !== void 0) ?? [];
12094
12101
  }
12095
- async function Ay() {
12102
+ async function Oy() {
12096
12103
  try {
12097
- const e = await z(
12098
- Sy
12104
+ const e = await W(
12105
+ Ry
12099
12106
  ), t = Number(e.value);
12100
12107
  return !isNaN(t) && t > 0 ? t : 60;
12101
12108
  } catch {
12102
12109
  return 30;
12103
12110
  }
12104
12111
  }
12105
- async function Oy(e, t) {
12112
+ async function Py(e, t) {
12106
12113
  if (!e.length) return null;
12107
12114
  try {
12108
- const r = await Ey(t);
12115
+ const r = await _y(t);
12109
12116
  return r ? e.find((n) => {
12110
12117
  const s = n.partOf?.reference?.split("/")[1];
12111
12118
  return r.id === s;
@@ -12114,25 +12121,25 @@ async function Oy(e, t) {
12114
12121
  return null;
12115
12122
  }
12116
12123
  }
12117
- async function cw(e, t, r) {
12124
+ async function dw(e, t, r) {
12118
12125
  try {
12119
12126
  if (!e) return null;
12120
- const n = r ?? await Ay(), a = `ge${new Date(Date.now() - n * 60 * 1e3).toISOString()}`, o = {
12127
+ const n = r ?? await Oy(), a = `ge${new Date(Date.now() - n * 60 * 1e3).toISOString()}`, o = {
12121
12128
  patient: e,
12122
12129
  _tag: "encounter",
12123
12130
  _lastUpdated: a,
12124
- type: Ry
12131
+ type: Ty
12125
12132
  };
12126
12133
  t && (o.participant = t);
12127
- const i = await Ty(o);
12128
- return i.length === 0 ? null : await Oy(i, e);
12134
+ const i = await Ay(o);
12135
+ return i.length === 0 ? null : await Py(i, e);
12129
12136
  } catch {
12130
12137
  return null;
12131
12138
  }
12132
12139
  }
12133
- const Py = (e) => pe + `/EpisodeOfCare?_revinclude=Encounter:episode-of-care&_id=${e}`;
12134
- async function uw(e) {
12135
- const t = e.join(","), r = await z(Py(t));
12140
+ const $y = (e) => pe + `/EpisodeOfCare?_revinclude=Encounter:episode-of-care&_id=${e}`;
12141
+ async function fw(e) {
12142
+ const t = e.join(","), r = await W($y(t));
12136
12143
  if (r.total === 0)
12137
12144
  throw new Error(
12138
12145
  "No episode of care found for the provided UUIDs: " + e.join(", ")
@@ -12144,13 +12151,13 @@ async function uw(e) {
12144
12151
  c && s.add(c);
12145
12152
  }), { visitUuids: Array.from(s), encounterUuids: a };
12146
12153
  }
12147
- const En = /* @__PURE__ */ new Map(), $y = async (e) => {
12154
+ const En = /* @__PURE__ */ new Map(), Ny = async (e) => {
12148
12155
  if (En.has(e))
12149
12156
  return En.get(e) ?? null;
12150
- const t = await z(Vo(e)), r = t ? String(t) : null;
12157
+ const t = await W(Vo(e)), r = t ? String(t) : null;
12151
12158
  return En.set(e, r), r;
12152
- }, Ny = async () => await $y(nl) === "true", Iy = async (e, t, r, n = ot.CLINICAL) => {
12153
- if (!await Ny())
12159
+ }, Iy = async () => await Ny(nl) === "true", Dy = async (e, t, r, n = ot.CLINICAL) => {
12160
+ if (!await Iy())
12154
12161
  return { logged: !1 };
12155
12162
  const a = Dn[t];
12156
12163
  if (!a)
@@ -12166,32 +12173,32 @@ const En = /* @__PURE__ */ new Map(), $y = async (e) => {
12166
12173
  message: r ? `${a.message}~${JSON.stringify(r)}` : a.message,
12167
12174
  module: n
12168
12175
  };
12169
- return await Je(Gp, o), { logged: !0 };
12170
- }, lw = () => zp(async (t) => {
12171
- await Iy(
12176
+ return await Ve(Gp, o), { logged: !0 };
12177
+ }, pw = () => Wp(async (t) => {
12178
+ await Dy(
12172
12179
  t.patientUuid,
12173
12180
  t.eventType,
12174
12181
  t.messageParams,
12175
12182
  t.module
12176
12183
  );
12177
- }), dw = async () => {
12184
+ }), hw = async () => {
12178
12185
  try {
12179
- return await z(Xu);
12186
+ return await W(Xu);
12180
12187
  } catch (e) {
12181
12188
  const { message: t } = ut(e);
12182
12189
  throw new Error(t);
12183
12190
  }
12184
- }, fw = (e, t) => !e || e.length === 0 ? !1 : e.some((r) => r.name === t), Dy = async (e) => {
12191
+ }, mw = (e, t) => !e || e.length === 0 ? !1 : e.some((r) => r.name === t), Cy = async (e) => {
12185
12192
  let t;
12186
12193
  e && e.length > 0 && (t = e.join(","));
12187
- const r = await fetch(ly(t));
12194
+ const r = await fetch(dy(t));
12188
12195
  if (!r.ok)
12189
12196
  throw new Error(
12190
12197
  `HTTP error! status for latestPublishedForms: ${r.status}`
12191
12198
  );
12192
12199
  const n = await r.json();
12193
12200
  return Array.isArray(n) ? n : [];
12194
- }, Cy = (e, t) => {
12201
+ }, Ly = (e, t) => {
12195
12202
  const r = JSON.parse(e.nameTranslation);
12196
12203
  if (Array.isArray(r) && r.length > 0) {
12197
12204
  const n = r.find(
@@ -12201,8 +12208,8 @@ const En = /* @__PURE__ */ new Map(), $y = async (e) => {
12201
12208
  return n.display;
12202
12209
  }
12203
12210
  return e.name;
12204
- }, Ly = (e, t) => {
12205
- const r = Cy(e, t);
12211
+ }, ky = (e, t) => {
12212
+ const r = Ly(e, t);
12206
12213
  return {
12207
12214
  uuid: e.uuid,
12208
12215
  name: r,
@@ -12212,13 +12219,13 @@ const En = /* @__PURE__ */ new Map(), $y = async (e) => {
12212
12219
  editable: n.editable
12213
12220
  }))
12214
12221
  };
12215
- }, pw = async (e) => {
12216
- const t = await Dy(e), r = It();
12222
+ }, gw = async (e) => {
12223
+ const t = await Cy(e), r = It();
12217
12224
  return t.map(
12218
- (n) => Ly(n, r)
12225
+ (n) => ky(n, r)
12219
12226
  );
12220
- }, hw = async (e) => {
12221
- const t = await fetch(uy(e));
12227
+ }, yw = async (e) => {
12228
+ const t = await fetch(ly(e));
12222
12229
  if (!t.ok)
12223
12230
  throw new Error(
12224
12231
  `Failed to fetch form metadata for ${e}: ${t.status}`
@@ -12229,7 +12236,7 @@ const En = /* @__PURE__ */ new Map(), $y = async (e) => {
12229
12236
  const n = JSON.parse(r.resources[0].value), s = It(), a = r.name ?? n.name, o = r.uuid ?? n.uuid, i = r.version ?? n.version ?? "1", c = r.published ?? !1;
12230
12237
  let l = { labels: {}, concepts: {} };
12231
12238
  if (n && typeof n == "object" && "translationsUrl" in n && typeof n.translationsUrl == "string") {
12232
- const d = dy(
12239
+ const d = fy(
12233
12240
  a,
12234
12241
  o,
12235
12242
  i,
@@ -12251,10 +12258,10 @@ const En = /* @__PURE__ */ new Map(), $y = async (e) => {
12251
12258
  schema: n,
12252
12259
  translations: l
12253
12260
  };
12254
- }, mw = async (e, t, r) => {
12261
+ }, vw = async (e, t, r) => {
12255
12262
  let n;
12256
12263
  t && t.length > 0 && (n = t.join(","));
12257
- const s = fy(e, r, n), a = await z(s);
12264
+ const s = py(e, r, n), a = await W(s);
12258
12265
  return Array.isArray(a) ? a : [];
12259
12266
  };
12260
12267
  function yi(e) {
@@ -12296,7 +12303,7 @@ function bi(e, t) {
12296
12303
  };
12297
12304
  return n(r.controls);
12298
12305
  }
12299
- function gw(e, t) {
12306
+ function bw(e, t) {
12300
12307
  if (!e.controls || e.controls.length === 0)
12301
12308
  return [];
12302
12309
  const r = [], n = (/* @__PURE__ */ new Date()).toISOString();
@@ -12341,7 +12348,7 @@ function gw(e, t) {
12341
12348
  s.interpretation && (o.interpretation = s.interpretation), s.comment && (o.comment = s.comment), r.push(o);
12342
12349
  }), r;
12343
12350
  }
12344
- function yw(e, t) {
12351
+ function ww(e, t) {
12345
12352
  if (!e || e.length === 0)
12346
12353
  return {
12347
12354
  controls: [],
@@ -12374,7 +12381,7 @@ function yw(e, t) {
12374
12381
  metadata: { formMetadata: t }
12375
12382
  };
12376
12383
  }
12377
- function vw(e) {
12384
+ function Ew(e) {
12378
12385
  const t = (n) => {
12379
12386
  const s = (l) => l == null ? null : typeof l == "string" || typeof l == "number" || typeof l == "boolean" || typeof l == "object" ? l : null, a = n.concept, o = typeof a == "object" && a !== null && "uuid" in a ? a.uuid : a, i = typeof a == "object" && a !== null && "datatype" in a ? a.datatype : void 0, c = {
12380
12387
  concept: {
@@ -12394,11 +12401,11 @@ function vw(e) {
12394
12401
  };
12395
12402
  return (e?.filter((n) => n.uuid && n.voided ? !0 : !(!n.uuid && n.voided || n.value && typeof n.value == "string" && n.value.endsWith("voided"))) ?? []).map(t);
12396
12403
  }
12397
- function bw(e) {
12404
+ function _w(e) {
12398
12405
  if (!(!e || typeof e != "object"))
12399
12406
  return "toJS" in e && typeof e.toJS == "function" ? e.toJS() : e;
12400
12407
  }
12401
- function ww(e, t) {
12408
+ function Sw(e, t) {
12402
12409
  !e || !Array.isArray(e.children) || e.children.forEach((r) => {
12403
12410
  r && typeof r == "object" && wi(
12404
12411
  r,
@@ -12428,7 +12435,7 @@ function wi(e, t) {
12428
12435
  );
12429
12436
  });
12430
12437
  }
12431
- const ky = ee + "/bahmnicore/diseaseSummaryData?", Ew = async (e, t, r, n) => {
12438
+ const My = ee + "/bahmnicore/diseaseSummaryData?", Rw = async (e, t, r, n) => {
12432
12439
  const s = new URLSearchParams({
12433
12440
  groupBy: n,
12434
12441
  latestCount: t.toString(),
@@ -12437,9 +12444,9 @@ const ky = ee + "/bahmnicore/diseaseSummaryData?", Ew = async (e, t, r, n) => {
12437
12444
  r.forEach((o) => {
12438
12445
  s.append("obsConcepts", o);
12439
12446
  });
12440
- const a = ky + s.toString();
12441
- return z(a);
12442
- }, Ei = "custom:(uuid,episodeUuid,patient,program,display,dateEnrolled,dateCompleted,location,voided,allowedStates,outcome,states:(uuid,startDate,endDate,voided,state:(uuid,concept:(uuid,display,name,names)),auditInfo),auditInfo,attributes)", My = (e) => `${ee}/bahmniprogramenrollment?patient=${e}&v=${Ei}`, _i = (e) => `${ee}/bahmniprogramenrollment/${e}`, xy = (e) => `${_i(e)}?v=${Ei}`, _w = async (e) => await z(My(e)), Sw = async (e) => await z(xy(e)), Rw = async (e, t) => {
12447
+ const a = My + s.toString();
12448
+ return W(a);
12449
+ }, Ei = "custom:(uuid,episodeUuid,patient,program,display,dateEnrolled,dateCompleted,location,voided,allowedStates,outcome,states:(uuid,startDate,endDate,voided,state:(uuid,concept:(uuid,display,name,names)),auditInfo),auditInfo,attributes)", xy = (e) => `${ee}/bahmniprogramenrollment?patient=${e}&v=${Ei}`, _i = (e) => `${ee}/bahmniprogramenrollment/${e}`, Uy = (e) => `${_i(e)}?v=${Ei}`, Tw = async (e) => await W(xy(e)), Aw = async (e) => await W(Uy(e)), Ow = async (e, t) => {
12443
12450
  const r = {
12444
12451
  uuid: e,
12445
12452
  states: [
@@ -12448,12 +12455,12 @@ const ky = ee + "/bahmnicore/diseaseSummaryData?", Ew = async (e, t, r, n) => {
12448
12455
  }
12449
12456
  ]
12450
12457
  };
12451
- return await Je(
12458
+ return await Ve(
12452
12459
  _i(e),
12453
12460
  r
12454
12461
  );
12455
12462
  };
12456
- function Tw(e) {
12463
+ function Pw(e) {
12457
12464
  if (e.states.length === 0)
12458
12465
  return null;
12459
12466
  let t;
@@ -12469,7 +12476,7 @@ function Tw(e) {
12469
12476
  t = e.states.find((r) => r.endDate === null);
12470
12477
  return t ? vh(t.state.concept.names) ?? t.state.concept.display : null;
12471
12478
  }
12472
- function Aw(e, t) {
12479
+ function $w(e, t) {
12473
12480
  if (t.length === 0)
12474
12481
  return {};
12475
12482
  const r = {};
@@ -12481,12 +12488,12 @@ function Aw(e, t) {
12481
12488
  }
12482
12489
  return r;
12483
12490
  }
12484
- const Cn = "consultation:saved", Ow = (e) => {
12491
+ const Cn = "consultation:saved", Nw = (e) => {
12485
12492
  const t = new CustomEvent(Cn, {
12486
12493
  detail: e
12487
12494
  });
12488
12495
  window.dispatchEvent(t);
12489
- }, Pw = (e, t = []) => {
12496
+ }, Iw = (e, t = []) => {
12490
12497
  const r = _n(e);
12491
12498
  Sn(() => {
12492
12499
  r.current = e;
@@ -12506,170 +12513,172 @@ export {
12506
12513
  Ah as AllergyStatus,
12507
12514
  Hp as AttributeFormat,
12508
12515
  Bp as AttributeInputType,
12509
- cv as BAHMNI_HOME_PATH,
12510
- Pb as CONCEPT_DATATYPE_COMPLEX,
12511
- Ob as CONCEPT_DATATYPE_NUMERIC,
12516
+ uv as BAHMNI_HOME_PATH,
12517
+ Nb as CONCEPT_DATATYPE_COMPLEX,
12518
+ $b as CONCEPT_DATATYPE_NUMERIC,
12512
12519
  Cn as CONSULTATION_SAVED_EVENT,
12513
12520
  Nh as DATETIME_REGEX_PATTERN,
12514
12521
  up as DATE_FORMAT,
12515
- mv as DATE_PICKER_INPUT_FORMAT,
12516
- Ib as DATE_REGEX_PATTERN,
12522
+ gv as DATE_PICKER_INPUT_FORMAT,
12523
+ Cb as DATE_REGEX_PATTERN,
12517
12524
  lp as DATE_TIME_FORMAT,
12518
12525
  pp as DURATION_UNIT_TO_DAYS,
12519
- bb as FHIR_ENCOUNTER_TYPE_CODE_SYSTEM,
12520
- Sb as FHIR_LAB_ORDER_CONCEPT_TYPE_EXTENSION_URL,
12521
- Tb as FHIR_OBSERVATION_FORM_NAMESPACE_PATH_URL,
12522
- Rb as FHIR_OBSERVATION_INTERPRETATION_SYSTEM,
12523
- $b as FHIR_OBSERVATION_STATUS_FINAL,
12524
- Ab as FHIR_OBSERVATION_VALUE_ATTACHMENT_URL,
12525
- Nb as FHIR_RESOURCE_TYPE_OBSERVATION,
12526
- fv as FULL_MONTH_DATE_FORMAT,
12527
- _b as HL7_CONDITION_CATEGORY_CODE_SYSTEM,
12526
+ Eb as FHIR_ENCOUNTER_TYPE_CODE_SYSTEM,
12527
+ Tb as FHIR_LAB_ORDER_CONCEPT_TYPE_EXTENSION_URL,
12528
+ Ob as FHIR_OBSERVATION_FORM_NAMESPACE_PATH_URL,
12529
+ Ab as FHIR_OBSERVATION_INTERPRETATION_SYSTEM,
12530
+ Ib as FHIR_OBSERVATION_STATUS_FINAL,
12531
+ Pb as FHIR_OBSERVATION_VALUE_ATTACHMENT_URL,
12532
+ Db as FHIR_RESOURCE_TYPE_OBSERVATION,
12533
+ pv as FULL_MONTH_DATE_FORMAT,
12534
+ Rb as HL7_CONDITION_CATEGORY_CODE_SYSTEM,
12528
12535
  Ph as HL7_CONDITION_CATEGORY_CONDITION_CODE,
12529
12536
  $h as HL7_CONDITION_CATEGORY_DIAGNOSIS_CODE,
12530
- Eb as HL7_CONDITION_CLINICAL_STATUS_CODE_SYSTEM,
12531
- wb as HL7_CONDITION_VERIFICATION_STATUS_CODE_SYSTEM,
12532
- Db as INTERPRETATION_TO_CODE,
12533
- hv as ISO_DATE_FORMAT,
12534
- xv as MAX_NAME_LENGTH,
12535
- Mv as MAX_PATIENT_AGE_YEARS,
12536
- qv as MAX_PHONE_NUMBER_LENGTH,
12537
- qe as MedicationStatus,
12537
+ Sb as HL7_CONDITION_CLINICAL_STATUS_CODE_SYSTEM,
12538
+ _b as HL7_CONDITION_VERIFICATION_STATUS_CODE_SYSTEM,
12539
+ Lb as INTERPRETATION_TO_CODE,
12540
+ mv as ISO_DATE_FORMAT,
12541
+ qv as MAX_NAME_LENGTH,
12542
+ Uv as MAX_PATIENT_AGE_YEARS,
12543
+ jv as MAX_PHONE_NUMBER_LENGTH,
12544
+ Ue as MedicationStatus,
12538
12545
  pe as OPENMRS_FHIR_R4,
12539
12546
  ee as OPENMRS_REST_V1,
12540
- Gb as ORDER_TYPE_QUERY_KEY,
12541
- zb as PENDING_REPORT_STATUSES,
12542
- Wb as PROCESSED_REPORT_STATUSES,
12543
- pv as REGISTRATION_DATE_FORMAT,
12544
- rw as USER_PINNED_PREFERENCE_URL,
12547
+ Jb as ORDER_TYPE_QUERY_KEY,
12548
+ Yb as PENDING_REPORT_STATUSES,
12549
+ Kb as PROCESSED_REPORT_STATUSES,
12550
+ hv as REGISTRATION_DATE_FORMAT,
12551
+ aw as USER_PINNED_PREFERENCE_URL,
12545
12552
  fp as calculateAge,
12546
- _v as calculateAgeinYearsAndMonths,
12547
- Sv as calculateEndDate,
12548
- vv as calculateOnsetDate,
12549
- Lv as camelToScreamingSnakeCase,
12550
- Ov as capitalize,
12551
- ob as checkIfActiveVisitExists,
12552
- bw as convertImmutableToPlainObject,
12553
- Wv as createPatient,
12554
- ib as createVisitForPatient,
12555
- iv as del,
12556
- Wp as dispatchAuditEvent,
12557
- Ow as dispatchConsultationSaved,
12558
- Rv as doDateRangesOverlap,
12559
- Aw as extractAttributes,
12560
- ww as extractNotesFromFormData,
12561
- gb as fetchAndFormatAllergenConcepts,
12562
- hw as fetchFormMetadata,
12563
- Mb as fetchMedicationOrdersMetadata,
12564
- pw as fetchObservationForms,
12565
- yb as fetchReactionConcepts,
12566
- Iv as filterReplacementEntries,
12567
- cw as findActiveEncounterInSession,
12568
- yv as formatDate,
12569
- Ev as formatDateAndTime,
12570
- bv as formatDateDistance,
12571
- gv as formatDateTime,
12572
- Dv as formatUrl,
12553
+ Sv as calculateAgeinYearsAndMonths,
12554
+ Rv as calculateEndDate,
12555
+ bv as calculateOnsetDate,
12556
+ kv as camelToScreamingSnakeCase,
12557
+ Pv as capitalize,
12558
+ cb as checkIfActiveVisitExists,
12559
+ _w as convertImmutableToPlainObject,
12560
+ Mv as convertToSentenceCase,
12561
+ Gv as createPatient,
12562
+ ub as createVisitForPatient,
12563
+ cv as del,
12564
+ zp as dispatchAuditEvent,
12565
+ Nw as dispatchConsultationSaved,
12566
+ Tv as doDateRangesOverlap,
12567
+ $w as extractAttributes,
12568
+ Sw as extractNotesFromFormData,
12569
+ vb as fetchAndFormatAllergenConcepts,
12570
+ yw as fetchFormMetadata,
12571
+ Ub as fetchMedicationOrdersMetadata,
12572
+ gw as fetchObservationForms,
12573
+ bb as fetchReactionConcepts,
12574
+ Dv as filterReplacementEntries,
12575
+ dw as findActiveEncounterInSession,
12576
+ vv as formatDate,
12577
+ _v as formatDateAndTime,
12578
+ wv as formatDateDistance,
12579
+ yv as formatDateTime,
12580
+ Cv as formatUrl,
12573
12581
  hp as generateId,
12574
- z as get,
12575
- Ey as getActiveVisit,
12582
+ W as get,
12583
+ _y as getActiveVisit,
12576
12584
  Zp as getActiveVisitByPatient,
12577
- Kv as getAddressHierarchyEntries,
12585
+ Jv as getAddressHierarchyEntries,
12578
12586
  Rh as getAllergies,
12579
- fb as getAppointmentById,
12580
- Yb as getCategoryUuidFromOrderTypes,
12581
- Qb as getClinicalConfig,
12582
- hb as getConceptById,
12583
- Cb as getConditions,
12587
+ hb as getAppointmentById,
12588
+ Qb as getCategoryUuidFromOrderTypes,
12589
+ tw as getClinicalConfig,
12590
+ gb as getConceptById,
12591
+ kb as getConditions,
12584
12592
  oi as getCookieByName,
12585
- aw as getCurrentProvider,
12586
- Tw as getCurrentStateName,
12587
- kv as getCurrentUser,
12588
- dw as getCurrentUserPrivileges,
12589
- Zb as getDashboardConfig,
12590
- Bb as getDiagnosticReportBundle,
12591
- Hb as getDiagnosticReports,
12592
- uw as getEncountersAndVisitsForEOC,
12593
- Xb as getExistingServiceRequestsForAllCategories,
12594
- Kb as getFlattenedInvestigations,
12595
- vb as getFormattedAllergies,
12593
+ cw as getCurrentProvider,
12594
+ Pw as getCurrentStateName,
12595
+ xv as getCurrentUser,
12596
+ hw as getCurrentUserPrivileges,
12597
+ rw as getDashboardConfig,
12598
+ Wb as getDiagnosticReportBundle,
12599
+ zb as getDiagnosticReports,
12600
+ fw as getEncountersAndVisitsForEOC,
12601
+ ew as getExistingServiceRequestsForAllCategories,
12602
+ Xb as getFlattenedInvestigations,
12603
+ wb as getFormattedAllergies,
12596
12604
  ut as getFormattedError,
12597
- Uv as getFormattedPatientById,
12598
- Gv as getGenders,
12599
- Bv as getIdentifierData,
12600
- Hv as getIdentifierTypes,
12601
- Zv as getInputTypeForFormat,
12602
- Vb as getLabInvestigationsBundle,
12603
- ew as getMedicationConfig,
12604
- ow as getObservationsBundleByEncounterUuid,
12605
- Jb as getOrderTypeNames,
12606
- Wn as getOrderTypes,
12607
- Yv as getOrderedAddressHierarchyLevels,
12608
- lb as getPastAppointments,
12605
+ Fv as getFormattedPatientById,
12606
+ Yv as getGenders,
12607
+ Wv as getIdentifierData,
12608
+ zv as getIdentifierTypes,
12609
+ tb as getInputTypeForFormat,
12610
+ Bb as getLabInvestigationsBundle,
12611
+ nw as getMedicationConfig,
12612
+ uw as getObservationsBundleByEncounterUuid,
12613
+ Zb as getOrderTypeNames,
12614
+ zn as getOrderTypes,
12615
+ Xv as getOrderedAddressHierarchyLevels,
12616
+ fb as getPastAppointments,
12609
12617
  Mp as getPatientById,
12610
- Lb as getPatientDiagnoses,
12611
- mw as getPatientFormData,
12612
- jv as getPatientImageAsDataUrl,
12618
+ Mb as getPatientDiagnoses,
12619
+ vw as getPatientFormData,
12620
+ Vv as getPatientImageAsDataUrl,
12613
12621
  Gh as getPatientMedicationBundle,
12614
- kb as getPatientMedications,
12615
- sw as getPatientObservations,
12616
- my as getPatientObservationsBundle,
12617
- nw as getPatientObservationsWithEncounterBundle,
12618
- Jv as getPatientProfile,
12619
- _w as getPatientPrograms,
12620
- Ub as getPatientRadiologyInvestigationBundle,
12621
- jb as getPatientRadiologyInvestigationBundleWithImagingStudy,
12622
- Fb as getPatientRadiologyInvestigations,
12623
- Qv as getPersonAttributeTypes,
12622
+ xb as getPatientMedications,
12623
+ iw as getPatientObservations,
12624
+ gy as getPatientObservationsBundle,
12625
+ ow as getPatientObservationsWithEncounterBundle,
12626
+ Qv as getPatientProfile,
12627
+ Tw as getPatientPrograms,
12628
+ Fb as getPatientRadiologyInvestigationBundle,
12629
+ Vb as getPatientRadiologyInvestigationBundleWithImagingStudy,
12630
+ Hb as getPatientRadiologyInvestigations,
12631
+ eb as getPersonAttributeTypes,
12624
12632
  Vp as getPrimaryIdentifierType,
12625
- $v as getPriorityByOrder,
12626
- Sw as getProgramByUUID,
12627
- tw as getRegistrationConfig,
12628
- Xv as getRelationshipTypes,
12633
+ Nv as getPriorityByOrder,
12634
+ Aw as getProgramByUUID,
12635
+ sw as getRegistrationConfig,
12636
+ Zv as getRelationshipTypes,
12629
12637
  Ct as getServiceRequests,
12630
- wv as getTodayDate,
12631
- ub as getUpcomingAppointments,
12638
+ Ev as getTodayDate,
12639
+ db as getUpcomingAppointments,
12632
12640
  Hn as getUserLoginLocation,
12633
12641
  It as getUserPreferredLocale,
12634
- qb as getVaccinations,
12635
- Cv as getValueType,
12636
- ab as getVisitTypes,
12637
- Ew as getVitalFlowSheetData,
12638
- Nv as groupByDate,
12639
- fw as hasPrivilege,
12640
- lv as initAppI18n,
12641
- lw as initializeAuditListener,
12642
- eb as isBooleanFormat,
12643
- tb as isConceptFormat,
12644
- nb as isDateFormat,
12645
- rb as isNumberFormat,
12646
- Pv as isStringEmpty,
12647
- sb as isTextFormat,
12648
- Iy as logAuditEvent,
12649
- uv as normalizeTranslationKey,
12642
+ jb as getVaccinations,
12643
+ Lv as getValueType,
12644
+ ib as getVisitTypes,
12645
+ Rw as getVitalFlowSheetData,
12646
+ Iv as groupByDate,
12647
+ mw as hasPrivilege,
12648
+ dv as initAppI18n,
12649
+ pw as initializeAuditListener,
12650
+ rb as isBooleanFormat,
12651
+ nb as isConceptFormat,
12652
+ ab as isDateFormat,
12653
+ sb as isNumberFormat,
12654
+ $v as isStringEmpty,
12655
+ ob as isTextFormat,
12656
+ Dy as logAuditEvent,
12657
+ lv as normalizeTranslationKey,
12650
12658
  on as notificationService,
12651
12659
  mp as parseQueryParams,
12652
- ov as patch,
12653
- Je as post,
12654
- av as put,
12655
- Av as refreshQueries,
12656
- cb as searchAppointmentsByAttribute,
12657
- mb as searchConceptByName,
12658
- pb as searchConcepts,
12660
+ iv as patch,
12661
+ Ve as post,
12662
+ ov as put,
12663
+ Ov as refreshQueries,
12664
+ lb as searchAppointmentsByAttribute,
12665
+ yb as searchConceptByName,
12666
+ mb as searchConcepts,
12659
12667
  Rr as searchFHIRConcepts,
12660
12668
  yh as searchFHIRConceptsByName,
12661
- xb as searchMedications,
12662
- Vv as searchPatientByCustomAttribute,
12663
- Fv as searchPatientByNameOrId,
12664
- iw as shouldEnableEncounterFilter,
12665
- Tv as sortByDate,
12666
- vw as transformContainerObservationsToForm2Observations,
12667
- gw as transformFormDataToObservations,
12668
- yw as transformObservationsToFormData,
12669
- db as updateAppointmentStatus,
12670
- zv as updatePatient,
12671
- Rw as updateProgramState,
12672
- dv as useCamera,
12673
- Pw as useSubscribeConsultationSaved,
12674
- Iw as useTranslation
12669
+ qb as searchMedications,
12670
+ Bv as searchPatientByCustomAttribute,
12671
+ Hv as searchPatientByNameOrId,
12672
+ lw as shouldEnableEncounterFilter,
12673
+ Av as sortByDate,
12674
+ Ew as transformContainerObservationsToForm2Observations,
12675
+ bw as transformFormDataToObservations,
12676
+ ww as transformObservationsToFormData,
12677
+ pb as updateAppointmentStatus,
12678
+ Gb as updateDiagnosticReportBundle,
12679
+ Kv as updatePatient,
12680
+ Ow as updateProgramState,
12681
+ fv as useCamera,
12682
+ Iw as useSubscribeConsultationSaved,
12683
+ Lw as useTranslation
12675
12684
  };